/* ==========================================================================
   The Butcher's Kitchen — site styles
   --------------------------------------------------------------------------
   Layout concept: an editorial split hero, a quiet cream body, and one deep
   brown "table" band (the signup) that carries the page's single moment of
   weight. Everything is built from the tokens below, so a colour or font
   change is a one-line edit.

   Contents
   1. Tokens (colour, type, spacing) + dark theme
   2. Base and typography
   3. Layout helpers
   4. Components (buttons, header, cards, forms)
   5. Sections (hero, book, founder, benefits, signup, footer)
   6. Legal / plain pages
   7. Motion and print
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* colour: light */
  --bg: #faf6ee;          /* warm ivory */
  --bg-alt: #f1e9da;      /* cream */
  --ink: #2a2623;         /* deep charcoal */
  --ink-soft: #5c544b;    /* secondary text */
  --line: #ddd2be;        /* hairlines */
  --bronze: #8a5a2b;      /* accent text and links */
  --gold: #b38b4d;        /* decorative accent */
  --btn-bg: #3b2a1e;      /* primary button */
  --btn-fg: #faf6ee;
  --btn-hover: #8a5a2b;
  --focus: #8a5a2b;
  --header-bg: rgba(250, 246, 238, 0.92);

  /* the deep "table" band (signup) and footer: same in both themes */
  --band-bg: #3b2a1e;
  --band-fg: #f4ebda;
  --band-soft: #d8c9b0;
  --band-accent: #e0b779;
  --footer-bg: #1f1a16;
  --footer-fg: #e9dfcc;
  --footer-soft: #b9ab94;

  /* paper card (form): ivory in both themes */
  --paper: #fffdf8;
  --paper-ink: #2a2623;
  --paper-soft: #5c544b;
  --paper-line: #cdbfa6;
  --paper-field: #ffffff;
  --paper-accent: #8a5a2b;
  --error: #9a2f1f;

  /* type */
  --font-display: "Libre Caslon Display", "Baskerville", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-serif: "Libre Caslon Text", "Baskerville", "Iowan Old Style", Georgia, serif;
  --font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* scale */
  --step-eyebrow: 0.75rem;
  --step-small: 0.9rem;
  --step-body: 1.0625rem;
  --step-lede: clamp(1.125rem, 1.02rem + 0.5vw, 1.3rem);
  --step-h3: 1.4rem;
  --step-h2: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
  --step-h1: clamp(2.55rem, 1.45rem + 4.9vw, 5.1rem);

  /* spacing */
  --gutter: 1.25rem;
  --section-pad: clamp(4rem, 3rem + 5vw, 7.5rem);
  --radius: 3px;
  --maxw: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #171310;
    --bg-alt: #1e1914;
    --ink: #f1e9da;
    --ink-soft: #bdb19f;
    --line: #3a3128;
    --bronze: #d6a96b;
    --gold: #c9a063;
    --btn-bg: #d6a96b;
    --btn-fg: #1b1510;
    --btn-hover: #e8c28a;
    --focus: #e0b779;
    --header-bg: rgba(23, 19, 16, 0.92);
    --band-bg: #2b2119;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #171310;
  --bg-alt: #1e1914;
  --ink: #f1e9da;
  --ink-soft: #bdb19f;
  --line: #3a3128;
  --bronze: #d6a96b;
  --gold: #c9a063;
  --btn-bg: #d6a96b;
  --btn-fg: #1b1510;
  --btn-hover: #e8c28a;
  --focus: #e0b779;
  --header-bg: rgba(23, 19, 16, 0.92);
  --band-bg: #2b2119;
  color-scheme: dark;
}

/* 2. Base and typography --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* paints the area above the sticky header on phones with a notch */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  background: var(--bg);
  z-index: 60;
}

/* author styles such as display:grid would otherwise override the hidden attribute */
[hidden] { display: none !important; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--step-h1); }
h2 { font-size: var(--step-h2); }
h3 { font-size: var(--step-h3); line-height: 1.2; }
p { margin: 0; }

a {
  color: var(--bronze);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--step-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--btn-bg);
  color: var(--btn-fg);
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 0.75rem); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 3. Layout helpers -------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { padding-block: var(--section-pad); }
.section-alt { background: var(--bg-alt); }
.section-head { display: grid; gap: 1rem; max-width: 46rem; }
.section-head p:not(.eyebrow) { font-size: var(--step-lede); color: var(--ink-soft); max-width: 40rem; }
section[id], [id="join"] { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 4.5rem); }

/* 4. Components ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--btn-fg); text-decoration: none; }
.btn svg { width: 1.1rem; height: 1.1rem; flex: none; transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn[disabled] { opacity: 0.65; cursor: progress; }
.btn-small { min-height: 2.5rem; padding: 0.5rem 1.1rem; font-size: 0.95rem; }
.btn-gold { background: #d9b27a; border-color: #d9b27a; color: #231a12; }
.btn-gold:hover { background: #e8c795; border-color: #e8c795; color: #231a12; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand-the { font-family: var(--font-serif); font-style: italic; font-size: 0.78em; color: var(--bronze); }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding-block: 0.4rem;
  background: linear-gradient(var(--bronze), var(--bronze)) left bottom / 0 1px no-repeat;
  transition: background-size 0.25s ease;
}
.nav a:not(.btn):hover { background-size: 100% 1px; }
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.9rem;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: 600 0.95rem var(--font-sans);
  cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 52rem) {
  .header-inner { flex-wrap: wrap; }
  .js .nav-toggle { display: inline-flex; }
  .nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 1rem; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li a:not(.btn) { display: block; padding: 0.9rem 0; border-top: 1px solid var(--line); background: none; font-size: 1.05rem; }
  .nav .btn { margin-top: 0.75rem; }
  .js .nav { display: none; }
  .js .nav.is-open { display: flex; }
}
@media (max-width: 26rem) {
  .brand { font-size: 1.2rem; }
}

/* cards */
.card { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.card-media { overflow: hidden; border-radius: var(--radius); background: var(--bg-alt); aspect-ratio: 4 / 3; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.card h3 { color: var(--ink); }
.card p { color: var(--ink-soft); }
@media (hover: hover) {
  .card:hover .card-media img { transform: scale(1.04); }
}

/* forms */
.field { display: grid; gap: 0.4rem; }
.field label, .field .label { font-size: 0.95rem; font-weight: 600; color: var(--paper-ink); }
.field .hint { font-weight: 400; color: var(--paper-soft); }
.field input[type="text"], .field input[type="email"] {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.7rem 0.9rem;
  background: var(--paper-field);
  color: var(--paper-ink);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  font: 400 1rem var(--font-sans); /* 16px+ stops iOS zooming on focus */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus-visible { outline: none; border-color: var(--paper-accent); box-shadow: 0 0 0 3px rgba(138, 90, 43, 0.28); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 0.9rem; font-weight: 500; }
.check { display: flex; gap: 0.8rem; align-items: flex-start; cursor: pointer; }
.check input { flex: none; width: 1.3rem; height: 1.3rem; margin: 0.15rem 0 0; accent-color: var(--paper-accent); cursor: pointer; }
.check span { font-size: 0.95rem; line-height: 1.5; color: var(--paper-ink); }
.check small { display: block; margin-top: 0.2rem; font-size: 0.85rem; color: var(--paper-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 5. Sections -------------------------------------------------------------- */

/* hero */
.hero { padding-block: clamp(2rem, 1rem + 4vw, 5rem) clamp(3rem, 2rem + 4vw, 6rem); }
.hero-grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hero-copy { display: grid; gap: 1.5rem; justify-items: start; min-width: 0; }
.hero h1 em { font-family: var(--font-serif); font-style: italic; color: var(--bronze); letter-spacing: -0.02em; }
.hero-lede { font-size: var(--step-lede); color: var(--ink-soft); max-width: 34rem; }
.hero-actions { display: grid; gap: 0.9rem; justify-items: start; margin-top: 0.5rem; }
.hero-note { font-size: var(--step-small); color: var(--ink-soft); }
.hero-media { position: relative; margin: 0; min-width: 0; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  pointer-events: none;
}
.hero-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg-alt);
}
@media (min-width: 56rem) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}
@media (max-width: 55.99rem) {
  .hero-media { margin-right: 1.1rem; }
  .hero-media img { aspect-ratio: 5 / 4; }
}

/* tagline strip */
.tagline { background: var(--bg-alt); border-block: 1px solid var(--line); }
.tagline-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
  margin: 0;
  padding: 1.6rem 0;
  list-style: none;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 0.95rem + 1vw, 1.65rem);
  color: var(--ink);
}
.tagline-list li { display: inline-flex; align-items: center; gap: 1.25rem; }
.tagline-list li + li::before {
  content: "";
  width: 0.4rem; height: 0.4rem;
  background: var(--gold);
  transform: rotate(45deg);
}
@media (max-width: 40rem) {
  .tagline-list { flex-direction: column; align-items: center; gap: 0.2rem; }
  .tagline-list li + li::before { display: none; }
}

/* book */
.book-grid { display: grid; gap: 2.5rem 2rem; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); grid-template-columns: 1fr; }
@media (min-width: 40rem) { .book-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 70rem) {
  .book-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem 1.5rem; }
  .book-grid .card:nth-child(even) { margin-top: 2.75rem; }
}

/* farm to fork journey */
.journey { margin-top: clamp(3.5rem, 3rem + 3vw, 6rem); display: grid; gap: 1.25rem; }
.journey-title { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: var(--ink); }
.journey-list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; position: relative; }
.journey-list::before {
  content: "";
  position: absolute;
  left: 0.5rem; right: 0.5rem; top: 0.45rem;
  height: 1px;
  background: var(--gold);
}
.journey-list li {
  position: relative;
  padding-top: 1.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  min-width: 0;
}
.journey-list li::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0.9rem; height: 0.9rem;
  background: var(--bg);
  border: 1px solid var(--gold);
  transform: rotate(45deg) scale(0.78);
}
.journey-list li:last-child::before { background: var(--gold); }
@media (max-width: 36rem) {
  .journey-list { grid-template-columns: 1fr; gap: 1rem; padding-left: 0.5rem; }
  .journey-list::before { left: 0.45rem; right: auto; top: 0.4rem; bottom: 0.4rem; width: 1px; height: auto; }
  .journey-list li { padding: 0 0 0 1.9rem; }
  .journey-list li::before { top: 0.15rem; left: -0.05rem; }
}

/* founder */
.founder-grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 56rem) { .founder-grid { grid-template-columns: 0.8fr 1.2fr; } }
.founder-photo { margin: 0; position: relative; max-width: 30rem; min-width: 0; }
.founder-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--bg-alt); }
.founder-copy { display: grid; gap: 1.4rem; min-width: 0; }
.founder-copy blockquote { margin: 0; display: grid; gap: 1.15rem; max-width: 38rem; }
.founder-copy blockquote p { color: var(--ink-soft); }
.founder-copy blockquote p:first-child { font-family: var(--font-serif); font-size: var(--step-lede); color: var(--ink); line-height: 1.6; }
.founder-copy blockquote p.founder-close {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem);
  line-height: 1.45;
  color: var(--bronze);
  padding-top: 0.4rem;
}
.signoff { display: grid; gap: 0.1rem; }
.signoff strong { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--ink); }
.signoff span { font-size: var(--step-small); color: var(--ink-soft); letter-spacing: 0.04em; }

/* benefits */
.benefits-grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4.5rem); }
@media (min-width: 56rem) { .benefits-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }
.benefit-list { display: grid; margin: 0; padding: 0; list-style: none; }
.benefit-list li { display: grid; grid-template-columns: 2.25rem 1fr; gap: 1rem; padding-block: 1.4rem; border-top: 1px solid var(--line); }
.benefit-list li:last-child { border-bottom: 1px solid var(--line); }
.benefit-list svg { width: 1.6rem; height: 1.6rem; margin-top: 0.2rem; color: var(--bronze); }
.benefit-list h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.benefit-list p { color: var(--ink-soft); }
.benefit-note { margin-top: 1.5rem; font-size: var(--step-small); color: var(--ink-soft); max-width: 34rem; }

/* signup band */
.join { background: var(--band-bg); color: var(--band-fg); }
.join-grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 56rem) { .join-grid { grid-template-columns: 1fr 1fr; } }
.join-copy { display: grid; gap: 1.25rem; min-width: 0; }
.join .eyebrow { color: var(--band-accent); }
.join h2 { color: var(--band-fg); }
.join-copy > p:not(.eyebrow) { font-size: var(--step-lede); color: var(--band-soft); max-width: 34rem; }
.join :focus-visible { outline-color: var(--band-accent); }
.join a { color: var(--band-accent); }

.signup-card {
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 6px;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.55);
  min-width: 0;
}
.signup-card a { color: var(--paper-accent); }
.signup-form { display: grid; gap: 1.2rem; }
.signup-form .btn { width: 100%; }
.privacy-note { font-size: 0.85rem; line-height: 1.55; color: var(--paper-soft); }
.form-status { min-height: 1.4rem; font-size: 0.95rem; font-weight: 500; color: var(--error); }
.form-status:empty { display: none; }
.form-status.is-info { color: var(--paper-ink); }
.turnstile-box:empty { display: none; }
.signup-success { display: grid; gap: 0.9rem; padding-block: 0.5rem; }
.signup-success:focus { outline: none; }
.signup-success h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem); }
.signup-success p { color: var(--paper-soft); }
.success-mark { width: 2.75rem; height: 2.75rem; color: var(--paper-accent); }

/* footer */
.site-footer { background: var(--footer-bg); color: var(--footer-fg); padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem) calc(2rem + env(safe-area-inset-bottom, 0px)); }
.site-footer a { color: var(--footer-fg); text-decoration-color: rgba(233, 223, 204, 0.4); }
.site-footer a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: var(--band-accent); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 52rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand .brand { color: var(--footer-fg); font-size: 1.6rem; }
.footer-brand .brand-the { color: var(--band-accent); }
.footer-brand p { margin-top: 0.8rem; font-family: var(--font-serif); font-style: italic; color: var(--footer-soft); max-width: 20rem; }
.footer-col h2 { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--band-accent); margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a { font-size: 0.95rem; }
.footer-col p { font-size: 0.95rem; color: var(--footer-soft); margin-bottom: 1rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(233, 223, 204, 0.16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; font-size: 0.85rem; color: var(--footer-soft); }
.placeholder-link { font-style: normal; }

/* 6. Legal / plain pages --------------------------------------------------- */
.page-head { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) 1.5rem; }
.page-head h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.75rem); }
.page-head .updated { margin-top: 1rem; color: var(--ink-soft); font-size: var(--step-small); }
.prose { max-width: 44rem; padding-bottom: var(--section-pad); }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin: 2.75rem 0 0.9rem; }
.prose h3 { font-size: 1.2rem; margin: 1.75rem 0 0.5rem; font-family: var(--font-sans); font-weight: 700; letter-spacing: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: 1rem; }
.prose ul { padding-left: 1.2rem; display: grid; gap: 0.5rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.7rem 0.8rem 0.7rem 0; border-bottom: 1px solid var(--line); }
.prose th { color: var(--ink); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.todo { background: var(--bg-alt); border: 1px dashed var(--gold); border-radius: var(--radius); padding: 1rem 1.15rem; margin-bottom: 2rem; color: var(--ink); font-size: 0.95rem; }
.fill-in { background: rgba(179, 139, 77, 0.22); padding: 0.05em 0.3em; border-radius: 2px; color: var(--ink); }
.center-page { min-height: 60vh; display: grid; place-content: center; justify-items: start; gap: 1.25rem; padding-block: 4rem; }

/* 7. Motion and print ------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: settle 1.4s ease-out both; }
  @keyframes settle { from { transform: scale(1.035); } to { transform: scale(1); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
@media print {
  .site-header, .join, .nav-toggle, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
}
