/* Ordo Upcyclum grimdark-parchment theme.
   Black + brand red + parchment, blackletter wordmark, engraved serif headings.
   Matches the Ordo Upcyclum brand imagery (cog-and-skull seal, gothic scroll). */
:root {
  --bg: #f3ecdb;
  --bg-soft: #ece0c8;
  --card: #f8f2e3;
  --text: #17120b;
  --muted: #6b5e49;
  --red: #9e1b1b;
  --red-dark: #7a1414;
  --ink: #141210;
  --cream: #efe4cc;
  --border: #d8ccb0;
  --btn: #9e1b1b;
  --btn-fg: #f3ecdb;
  --maxw: 46rem;

  --font-display: "Pirata One", "UnifrakturCook", "Cinzel", serif;
  --font-head: "Cinzel", Georgia, "Times New Roman", serif;
  --font-body: "EB Garamond", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  font-size: 19px;
}

a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--red-dark); }

/* Header: black banner with blackletter wordmark */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.25rem;
  background: var(--ink);
  border-bottom: 3px solid var(--red);
}
.brand {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: .5px;
}
.brand:hover { color: #fff; }
.site-nav a { margin-left: 1.1rem; font-size: 1rem; color: var(--cream); text-decoration: none; opacity: .85; }
.site-nav a:hover { opacity: 1; color: #fff; }

main { max-width: var(--maxw); margin: 0 auto; padding: 2rem 1.25rem 4rem; }

/* Footer */
.site-footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .95rem;
}
.disclaimer { color: var(--muted); font-style: italic; font-size: .85rem; }

/* Typography */
h1 { font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; line-height: 1.15; margin: .4rem 0 1rem; }
h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 2.3rem 0 .8rem;
  padding-bottom: .3rem;
  border-bottom: 2px solid var(--red);
}
h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.2rem; margin: 1.6rem 0 .5rem; }
p { margin: 0 0 1.1rem; }
.post-body a { font-weight: 600; }

/* Breadcrumbs */
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; font-family: var(--font-head); letter-spacing: .3px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs .sep { margin: 0 .4rem; color: var(--border); }
.breadcrumbs [aria-current="page"] { color: var(--text); }

/* TL;DR callout */
.tldr {
  display: block;
  background: var(--bg-soft);
  border-left: 4px solid var(--red);
  padding: .9rem 1.1rem;
  margin: 0 0 1.8rem;
  font-size: 1rem;
  color: var(--text);
}
.tldr strong { color: var(--red); }

/* FAQ */
.faq { margin-top: 2.5rem; border-top: 2px solid var(--red); padding-top: 1.5rem; }
.faq-item { margin-bottom: 1.2rem; }
.faq-item h3 { margin: 0 0 .3rem; font-size: 1.12rem; color: var(--red); }
.faq-item p { margin: 0; }

/* CTA */
.cta {
  margin-top: 2.5rem;
  border: 1px solid var(--red);
  background: rgba(158, 27, 27, 0.05);
  padding: 1.2rem 1.3rem;
  border-radius: 2px;
}
.cta p { margin: 0; }
.cta a { font-weight: 700; }

/* Hero (home + guides): black panel, blackletter title */
.hero {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 3rem 1.5rem;
  border: 3px solid var(--red);
  border-radius: 2px;
  margin-bottom: 2.5rem;
}
.hero h1 { font-family: var(--font-display); font-weight: 400; color: var(--cream); margin: 0 0 .5rem; font-size: 2.6rem; border: 0; }
.lede { color: #cdbfa2; font-size: 1.15rem; margin: 0; }

/* Home cards */
.card {
  display: block;
  text-decoration: none;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 1.1rem 1.2rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: var(--red); box-shadow: 0 2px 12px rgba(122, 20, 20, .12); }
.card h2, .card h3 { font-family: var(--font-head); margin: .2rem 0 .4rem; color: var(--text); border: 0; padding: 0; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.card-pillar { border-color: var(--red); border-width: 2px; background: rgba(158, 27, 27, 0.05); margin-bottom: 2.5rem; }
.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .3rem;
}
.cluster { margin-bottom: 2.5rem; }
.cluster-title { font-family: var(--font-head); border-bottom: 2px solid var(--red); padding-bottom: .4rem; color: var(--text); }
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .card-grid { grid-template-columns: 1fr 1fr; } }

img { max-width: 100%; height: auto; }
