/* =========================================================
   MASAWAY NUTRITION — Landing page
   "Weigh-In Gold": warm near-black ground, Belt Gold accent. Oswald + Archivo.
   Gold is deployed flat and matte — never gradients, foils, or bevels.
   Companion bone (light) ground tokens live in masaway-gold-tokens.css.
   Design tokens grounded in WCAG AA; all ratios verified 2026-07-02.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces — warm near-black, amber undertone (not neutral or blue-black) */
  --bg: #0F0D0A;
  --surface: #1A1712;
  --surface-2: #26211A;
  --surface-3: #2F2820;

  /* Text — warm bone-white tiers */
  --text: #F2EFE7;          /* 16.9:1 on --bg */
  --text-muted: #A9A192;    /* 7.6:1 on --bg */
  --text-faint: #94897A;    /* ~5:1 on --bg — readable for small print (disclaimer, notes) */
  --hairline-faint: #6E675C; /* decorative-only, large/bold labels */

  /* Accent — Belt Gold (9.0:1 on --bg; legal as text at any size) */
  --accent: #E8A33D;
  --accent-hover: #F0AD3E;
  --accent-pressed: #C98A2B;
  --accent-soft: rgba(232, 163, 61, 0.12);

  /* Accent 2 — Cut Warning coral (6.9:1 on --bg; semantic warning voice only) */
  --accent-2: #FF6B5C;

  /* Bone ground — light companion (final CTA band here; PDFs + emails elsewhere) */
  --bone: #F3EEE3;
  --paper: #FAF7EF;
  --ink: #201812;    /* 15.1:1 on --bone */
  --bronze: #8A5C10; /* 5.0:1 on --bone — the ONLY gold legal as text on bone; #E8A33D is fills-only there */

  /* Lines & states */
  --border: #2A241C;
  --border-strong: #463D2F;
  --focus-ring: #E8A33D;
  --success: #53C57D;  /* 8.9:1 on --bg */
  --error: #FF6B5C;

  /* Type */
  --font-display: 'Oswald', system-ui, sans-serif;
  --font-body: 'Archivo', system-ui, -apple-system, sans-serif;

  --fs-display: clamp(3.25rem, 2.2rem + 5.2vw, 6rem);
  --fs-h1: clamp(2.5rem, 1.9rem + 3vw, 4rem);
  --fs-h2: clamp(1.875rem, 1.4rem + 2.4vw, 3.5rem);
  --fs-h3: clamp(1.375rem, 1.2rem + 0.9vw, 1.75rem);
  --fs-stat: clamp(2.25rem, 1.6rem + 3.2vw, 3.75rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --fs-body: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --fs-sm: clamp(0.875rem, 0.86rem + 0.07vw, 0.9375rem);
  --fs-label: clamp(0.75rem, 0.74rem + 0.05vw, 0.8125rem);

  /* Spacing — three density tiers: compact for data/objections, open for the
     conversion moment, default elsewhere. Rhythm should back the accent hierarchy. */
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --container: 1200px;
  --section-y: clamp(4rem, 2.5rem + 6vw, 8rem);
  --section-y-sm: clamp(3rem, 2rem + 4vw, 5.5rem);
  --section-y-lg: clamp(5rem, 3rem + 8vw, 10rem);

  /* Letterspacing — two label registers only (drift breeds slop) */
  --track-label: 0.16em;  /* eyebrows, tags, microlabels */
  --track-brand: 0.30em;  /* the widest "stamped" register: brand sub, cover brand */

  /* Radii — poster-hard system: 0 on structural surfaces, 2px on interactive
     elements (inputs, buttons). The logo tile's rx is the ONE sanctioned rounding.
     Fight-print artifacts (posters, tape sheets, scorecards) are square-cornered. */
  --r-sm: 2px;
  --r-md: 2px;

  /* Motion */
  --dur-fast: 120ms;
  --dur-base: 220ms;
  --dur-slow: 420ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: 0.01em; }
/* Condensed poster faces want tight-to-negative tracking at display sizes */
h1, h2 { letter-spacing: -0.01em; line-height: 0.98; }

a { color: inherit; text-decoration: none; }

p { color: var(--text-muted); }
p strong { color: var(--text); font-weight: 600; }

::selection { background: var(--accent); color: var(--bg); }

/* Accessibility helpers */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--accent); color: var(--bg); padding: 0.6rem 1rem;
  border-radius: var(--r-md); font-weight: 600; transition: top var(--dur-base);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 2px;
}
/* On the bone band, the gold focus ring is invisible — use the dark ink */
.cta-band :focus-visible { outline-color: var(--bg); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}
.container--narrow { max-width: 820px; }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--surface); border-block: 1px solid var(--border); }
/* Density rhythm backs the accent hierarchy: the conversion moment breathes,
   the objection-handling compresses */
#guide { padding-block: var(--section-y-lg); }
#faq { padding-block: var(--section-y-sm); }

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--text-muted); /* neutral by default — gold is reserved for key moments */
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
/* Reserve the accent for the two conversion moments + the "danger" framing */
.hero .eyebrow, #guide .eyebrow { color: var(--accent); }
#problem .eyebrow { color: var(--accent-2); }
.eyebrow .dot { width: 7px; height: 7px; background: var(--accent); } /* flat gold square — a tape mark, not an LED */

.section__title { font-size: var(--fs-h2); text-transform: uppercase; max-width: 18ch; }
.section__lead { font-size: var(--fs-lead); color: var(--text-muted); max-width: 60ch; margin-top: 1.1rem; }
.section__note {
  margin-top: 2.5rem; padding: 1.1rem 1.4rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: var(--text-muted); font-size: var(--fs-sm); max-width: 70ch;
}
.text-accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  letter-spacing: 0.03em; text-transform: uppercase;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent; border-radius: var(--r-md);
  cursor: pointer; white-space: nowrap; line-height: 1;
  transition: transform var(--dur-fast) var(--ease-std),
              background var(--dur-fast), color var(--dur-fast);
}
.btn--primary { background: var(--accent); color: var(--bg); }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn--primary:active { background: var(--accent-pressed); transform: translateY(1px) scale(0.99); }

.btn--dark { background: var(--bg); color: var(--text); border-color: var(--bg); }
.btn--dark:hover { transform: translateY(-2px); }
.btn--dark:active { transform: translateY(1px) scale(0.99); }

.btn--ghost {
  background: transparent; color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn--sm { padding: 0.7rem 1.1rem; font-size: 0.875rem; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 13, 10, 0.72);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-base), border-color var(--dur-base);
}
.nav.is-scrolled { background: rgba(20, 17, 12, 0.9); border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand__mark { display: inline-flex; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: 0.06em; }
.brand__sub { font-family: var(--font-display); font-weight: 500; font-size: 0.62rem; letter-spacing: var(--track-brand); color: var(--accent); }

.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a {
  font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
  position: relative; padding: 0.4rem 0; transition: color var(--dur-fast);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { margin-left: 0; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px; margin-left: auto;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--text); transition: var(--dur-base); border-radius: 2px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 1rem var(--gutter) 1.5rem;
  background: var(--surface-2); border-bottom: 1px solid var(--border);
}
.mobile-menu[hidden] { display: none; }
@media (min-width: 981px) { .mobile-menu { display: none !important; } }
.mobile-menu a { padding: 0.85rem 0.25rem; color: var(--text); font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-menu a.btn { margin-top: 0.75rem; border-bottom: 0; color: var(--bg); justify-content: center; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 1.5rem + 7vw, 7rem) var(--section-y); }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hero__title { font-size: var(--fs-display); text-transform: uppercase; margin: 0.4rem 0 1.3rem; }
.hero__lead { font-size: var(--fs-lead); color: var(--text-muted); max-width: 54ch; }
.hero__lead strong { color: var(--text); }

.hero__offer {
  display: flex; align-items: center; gap: 0.8rem;
  margin-top: 1.7rem; padding: 0.85rem 1.05rem;
  background: var(--accent-soft); border: 1px solid rgba(232, 163, 61, 0.28);
  font-size: var(--fs-sm); color: var(--text); max-width: 560px;
}
.hero__offer-tag {
  flex: none; align-self: flex-start; font-family: var(--font-display); font-size: 0.68rem; font-weight: 700;
  letter-spacing: var(--track-label); text-transform: uppercase; background: var(--accent); color: var(--bg);
  padding: 0.32rem 0.6rem;
}
.hero__offer + .signup-form { margin-top: 0.9rem; }

/* Tale-of-the-tape trust line — ruled data row, not check-icon furniture */
.tape-line {
  list-style: none; padding: 0.85rem 0; margin: 1.8rem 0 0;
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.7rem;
  border-block: 1px solid var(--border-strong);
}
.tape-line li {
  display: inline-flex; align-items: baseline; gap: 0.55rem;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text);
}
.tape-line li span { color: var(--text-faint); font-weight: 500; }

/* Hero media */
.hero__media { position: relative; }
.media-frame {
  position: relative; aspect-ratio: 4 / 5;
  background: var(--surface-2);
  border: 1px solid var(--border); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
/* double hairline — the classic fight-poster frame */
.media-frame::before {
  content: ""; position: absolute; inset: 8px;
  border: 1px solid var(--border-strong); pointer-events: none; z-index: 2;
}
.media-frame--portrait { aspect-ratio: 4 / 5; }

/* Hero poster — typographic fight-poster stack */
.poster {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 1.05rem; text-align: center; padding: 2rem 1.6rem;
}
.poster__kicker {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 500;
  letter-spacing: var(--track-brand); text-transform: uppercase; color: var(--text-muted);
}
.poster__main {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem); line-height: 0.95;
  letter-spacing: -0.01em; color: var(--text);
}
.poster__meta {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: var(--track-label); text-transform: uppercase; color: var(--accent);
  padding-top: 1rem; border-top: 1px solid var(--border-strong);
}
.poster__footer {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1rem;
  font-family: var(--font-display); font-size: 0.62rem; font-weight: 500;
  letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-faint);
}
.poster__footer span + span { border-left: 1px solid var(--border-strong); padding-left: 1rem; }
.media-frame__brand {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
  text-align: center; padding: 1.5rem 2rem;
}
.media-frame__word {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.5rem); line-height: 1.08; letter-spacing: 0.03em;
  color: var(--text);
}
.media-frame__brand--quote { gap: 0.9rem; }
.media-frame__brand--quote .media-frame__word {
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.7rem); max-width: 15ch;
}
.media-frame__tag {
  font-size: 0.75rem; font-weight: 600; letter-spacing: var(--track-label);
  text-transform: uppercase; color: var(--accent);
}

.media-frame__hint {
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  color: var(--text-faint); text-align: center; padding: 1.5rem;
}
.media-frame__hint svg { stroke: var(--text-faint); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.media-frame__hint span { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.95rem; color: var(--text-muted); display: flex; flex-direction: column; gap: 0.3rem; }
.media-frame__hint small { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 0.78rem; color: var(--text-faint); max-width: 22ch; }

.cut-motif { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 45%; }

.stat-chip {
  position: absolute; left: -22px; bottom: 26px;
  background: var(--accent); color: var(--bg);
  padding: 0.7rem 1rem;
  box-shadow: 0 0 0 3px var(--bg); /* hard matte ring — the one on-doctrine separator */
  display: flex; flex-direction: column; max-width: 62%;
}
.stat-chip__num { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1; text-transform: uppercase; }
.stat-chip__label { font-size: 0.72rem; font-weight: 600; line-height: 1.2; }

/* ---------- Failure ledger — the cut's rap sheet: ruled rows, no boxes ---------- */
.ledger { margin-top: 2.6rem; }
.ledger__heading {
  font-family: var(--font-display); font-size: var(--fs-label); font-weight: 600;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--accent-2); margin: 2.4rem 0 0.5rem;
}
.ledger__heading:first-child { margin-top: 0; }
.ledger__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 3.5rem;
  border-bottom: 1px solid var(--border-strong); /* close each ledger group's ruled frame */
}
.ledger__row {
  display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start;
  border-top: 1px solid var(--border-strong); padding: 1.2rem 0 1.5rem;
}
.ledger__num {
  font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1;
  color: var(--accent-2); font-feature-settings: 'tnum' 1; font-variant-numeric: tabular-nums;
}
.ledger__title {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.05; margin-bottom: 0.45rem;
}
.ledger__body p { font-size: var(--fs-sm); max-width: 44ch; }

/* ---------- Stats band — evidence register: static figures, left-aligned,
   records-table voice. Data that doesn't perform is data you can trust. ---------- */
.stats { background: var(--surface); border-block: 1px solid var(--border); padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.stats__title {
  font-family: var(--font-display); font-size: var(--fs-label); font-weight: 600;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 1.8rem;
}
.stats__grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 3rem;
}
.stat { text-align: left; padding: 0; }
.stat__num {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-feature-settings: 'tnum' 1; font-variant-numeric: tabular-nums;
  font-size: var(--fs-stat); color: var(--accent); line-height: 1; letter-spacing: 0.01em;
}
.stat__unit { font-size: 0.55em; }
.stat__label { display: block; margin-top: 0.7rem; font-size: var(--fs-sm); color: var(--text-muted); max-width: 34ch; }
.stat__label em { color: var(--accent-2); font-style: normal; font-weight: 600; } /* chains the danger voice from #problem */
.stats__source { margin-top: 1.8rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--text-faint); }

/* ---------- Who it's for (tracks) ---------- */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2.6rem; }
.track {
  background: var(--surface-2); border: 1px solid var(--border-strong);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.4rem);
  position: relative;
}
.track--primary { border-color: var(--accent); }
.track--primary::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--accent);
}
.track__tag {
  display: inline-block; font-family: var(--font-display); font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: var(--track-label); padding: 0.3rem 0.7rem;
  background: var(--accent); color: var(--bg); margin-bottom: 1rem; /* square slug — a corner patch, not a pill */
}
.track__tag--alt { background: var(--surface-3); color: var(--text-muted); }
.track__title { font-size: var(--fs-h3); text-transform: uppercase; margin-bottom: 0.6rem; }
.track__desc { font-size: var(--fs-sm); }

.checklist { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; gap: 0.75rem; }
.checklist li { position: relative; padding-left: 1.9rem; font-size: var(--fs-sm); color: var(--text-muted); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px;
  background: var(--accent-soft); /* flat square tick field — tape mark, not a badge */
}
.checklist li::after {
  content: ""; position: absolute; left: 6px; top: 6px; width: 8px; height: 5px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.checklist li em { color: var(--text); font-style: normal; font-weight: 600; }
.checklist--lg li { font-size: var(--fs-body); padding-left: 2.1rem; }

/* ---------- The Method — a camp timeline on a gold spine, not step-cards ---------- */
.steps { list-style: none; padding: 0 0 0 1.6rem; margin: 2.8rem 0 0; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px;
  background: var(--accent);
}
.step {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start;
  padding: 1.5rem 0 1.7rem; border-top: 1px solid var(--border);
}
.step:first-child { border-top: 0; padding-top: 0.2rem; }
.step::before { /* station marker on the spine */
  content: ""; position: absolute; left: calc(-1.6rem - 3px); top: calc(1.5rem + 0.5em);
  width: 8px; height: 8px; background: var(--accent);
}
.step:first-child::before { top: calc(0.2rem + 0.5em); }
.step__num {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 1.5rem + 2vw, 3.2rem);
  color: var(--accent); line-height: 0.85; min-width: 1.8em; /* solid matte gold — doctrine applies to type too */
  font-feature-settings: 'tnum' 1; font-variant-numeric: tabular-nums;
}
.step__title { font-size: var(--fs-h3); text-transform: uppercase; margin-bottom: 0.3rem; }
.step__body p { font-size: var(--fs-sm); max-width: 68ch; }
.step__body em { color: var(--accent); font-style: normal; font-weight: 600; }
.step__artifact {
  margin-top: 0.65rem; font-family: var(--font-display); font-size: var(--fs-label);
  font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-faint);
}
.step__artifact strong { color: var(--text-muted); font-weight: 600; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.about__media { position: relative; }
.about__copy p { margin-bottom: 1rem; max-width: 60ch; }
.about__honest {
  padding: 1.2rem 1.4rem; background: var(--accent-soft);
  border-left: 3px solid var(--accent);
}
.cred-badge {
  position: absolute; right: -16px; bottom: 24px;
  background: var(--surface-3); border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-display); font-weight: 700; font-size: 1.6rem;
  display: flex; flex-direction: column; align-items: center; line-height: 1;
  padding: 0.8rem 1rem; box-shadow: 0 0 0 3px var(--bg); /* hard matte ring */
}
.cred-badge strong { color: var(--text); }
.cred-badge small { font-family: var(--font-body); font-weight: 500; font-size: 0.58rem; color: var(--text-muted); text-align: center; margin-top: 0.35rem; letter-spacing: 0.04em; }
/* Coach record — credentials as a ruled spec table (verifiable facts, no badges) */
.record { margin: 1.5rem 0 1.8rem; max-width: 34rem; }
.record__row {
  display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem;
  padding: 0.65rem 0; border-top: 1px solid var(--border-strong);
}
.record__row:last-child { border-bottom: 1px solid var(--border-strong); }
.record__row dt {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 600;
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--text-faint); padding-top: 0.18em;
}
.record__row dd { margin: 0; font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------- Lead magnet feature ---------- */
.guide__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.guide__sub { font-family: var(--font-display); font-size: 1.3rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.02em; margin: 0.3rem 0 1.1rem; }
.guide__copy > p { max-width: 56ch; }

.optin {
  background: var(--surface-2); border: 1px solid var(--border-strong);
  padding: clamp(1.5rem, 1rem + 2vw, 2.4rem);
}
/* Specimen — a real page from the guide: demonstration is the proof channel */
.specimen {
  margin: 0 0 1.5rem; background: var(--surface-3);
  border: 1px solid var(--border);
  padding: 1.2rem 1.4rem 1.1rem; position: relative;
}
.specimen::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent);
}
.specimen__cap {
  font-family: var(--font-display); font-size: 0.7rem; letter-spacing: var(--track-label);
  text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 0.9rem;
}
.specimen__table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.specimen__table thead th {
  font-family: var(--font-display); font-weight: 600; font-size: 0.66rem;
  letter-spacing: var(--track-label); text-transform: uppercase; text-align: left;
  color: var(--text-muted); border-bottom: 1px solid var(--border-strong);
  padding: 0 0.6rem 0.45rem 0;
}
.specimen__table td {
  border-bottom: 1px solid var(--border); padding: 0.55rem 0.6rem 0.55rem 0;
  color: var(--text-muted); vertical-align: top;
}
.specimen__table th[scope="row"] {
  font-family: var(--font-display); font-weight: 600; color: var(--accent);
  font-variant-numeric: tabular-nums; white-space: nowrap;
  text-align: left; border-bottom: 1px solid var(--border);
  padding: 0.55rem 0.6rem 0.55rem 0; vertical-align: top;
}
.specimen__note { margin-top: 0.85rem; font-size: 0.72rem; color: var(--text-muted); } /* AA: 5.67:1 on surface-3 */
.optin__title { font-size: var(--fs-h3); text-transform: uppercase; margin-bottom: 1.2rem; }

/* ---------- Forms ---------- */
.signup-form { display: grid; gap: 0.9rem; }
.signup-form--inline { grid-template-columns: 1fr auto; gap: 0.7rem; max-width: 540px; margin-top: 1.6rem; }
.signup-form--inline .form-status { grid-column: 1 / -1; }

.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--text); }
.field .opt { color: var(--text-faint); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--text);
  background: var(--surface-3); border: 1px solid #6E7A88; /* ≥3:1 boundary vs fill (WCAG 1.4.11) */
  border-radius: var(--r-sm); padding: 0.85rem 1rem; transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field textarea { resize: vertical; min-height: 2.5em; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A9A192' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgba(255,92,92,0.15); }

.form-status { font-size: var(--fs-sm); font-weight: 500; min-height: 1.2em; margin: 0; }
.form-status.is-error { color: var(--error); }
.form-status.is-success { color: var(--success); }
.form-note { font-size: 0.78rem; color: var(--text-faint); margin-top: 0.8rem; }
.form-note strong { color: var(--text-muted); }

/* on-color form (final band) — white field with ink text on the bone ground */
.signup-form--oncolor input { background: #FFFFFF; border-color: rgba(32,24,18,0.35); color: var(--ink); }
.signup-form--oncolor input::placeholder { color: rgba(32,24,18,0.5); }
.signup-form--oncolor input:focus { border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(138,92,16,0.25); }
.signup-form--oncolor .form-status { color: var(--ink); font-weight: 700; }
.signup-form--oncolor .form-status.is-error { color: #A32D2D; }

/* ---------- FAQ — ruled document rows, "straight answers" in document voice:
   no boxes, hairline rules, questions in quiet sentence-case Archivo ---------- */
.faq { margin-top: 2.4rem; }
.faq details { border-top: 1px solid var(--border-strong); }
.faq details:last-child { border-bottom: 1px solid var(--border-strong); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.15rem 0.2rem;
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-body);
  color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transition: color var(--dur-fast);
}
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--accent);
  transition: transform var(--dur-base) var(--ease-out);
}
.faq__icon::before { left: 0; right: 0; top: 7px; height: 2px; }
.faq__icon::after { top: 0; bottom: 0; left: 7px; width: 2px; }
.faq details[open] .faq__icon::after { transform: scaleY(0); }
.faq__a { padding: 0 0.2rem 1.3rem; }
.faq__a p { font-size: var(--fs-sm); max-width: 65ch; }
.faq__a em { color: var(--text); font-style: normal; font-weight: 600; }

/* ---------- Final CTA band — bone "trust register" (light slice of the brand's paper ground).
   The descent-curve seam on its top edge is the page landing on the scale. ---------- */
.cta-band {
  position: relative; background: var(--bone); color: var(--ink);
  padding-block: calc(clamp(3rem, 2rem + 4vw, 5rem) + 90px) clamp(3rem, 2rem + 4vw, 5rem);
}
.cta-band__seam { position: absolute; top: -1px; left: 0; right: 0; height: 90px; pointer-events: none; }
.cta-band__seam svg { width: 100%; height: 100%; display: block; }
.cta-band__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-band__title { font-size: var(--fs-h1); text-transform: uppercase; color: var(--ink); }
.cta-band__lead { color: rgba(32,24,18,0.78); font-weight: 500; max-width: 48ch; margin-top: 0.8rem; font-size: var(--fs-lead); }
.cta-band .signup-form--inline { margin-top: 1.8rem; }
.cta-band .btn--primary { border-color: rgba(28, 17, 6, 0.45); } /* gold fill is 1.86:1 vs bone — the dark edge carries the button boundary */
.cta-band__note { margin-top: 1rem; font-size: 0.8rem; color: rgba(32,24,18,0.62); font-weight: 600; letter-spacing: 0.02em; }

/* ---------- Fighter intake (apply.html) — commission-paperwork register ---------- */
.nav__back { margin-left: auto; font-size: 0.9rem; font-weight: 500; color: var(--text-muted); transition: color var(--dur-fast); }
.nav__back:hover { color: var(--accent); }

.intake-head { padding-block: clamp(3rem, 1.5rem + 5vw, 5.5rem) 0; }
.intake-head .eyebrow { color: var(--accent); }
.intake-scope {
  margin-top: 1.6rem; padding: 1.1rem 1.4rem;
  border-left: 3px solid var(--accent-2); background: rgba(255, 107, 92, 0.08);
  color: var(--text-muted); font-size: var(--fs-sm); max-width: 70ch;
}
.intake-body { padding-block: clamp(2rem, 1rem + 3vw, 3.5rem) var(--section-y); }

.intake { display: grid; gap: 2.8rem; }
.intake__section { border: 0; padding: 0; margin: 0; min-width: 0; }
.intake__legend {
  float: left; /* pulls the legend inside the fieldset box so section backgrounds contain it */
  display: flex; align-items: baseline; gap: 0.9rem; width: 100%;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3);
  text-transform: uppercase; letter-spacing: 0.01em;
  border-bottom: 2px solid var(--text); padding-bottom: 0.6rem; margin-bottom: 1.4rem;
}
.intake__grid, .intake__note, .intake__consents { clear: both; }
.intake__num {
  font-size: 1.1em; color: var(--accent);
  font-feature-settings: 'tnum' 1; font-variant-numeric: tabular-nums;
}
.intake__note { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: 1.3rem; max-width: 60ch; }
.intake__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem 1.6rem; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: var(--fs-sm); font-weight: 600; color: var(--text); }

.intake__checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.6rem; margin-top: 0.5rem; }
.check {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-size: var(--fs-sm); color: var(--text-muted); cursor: pointer;
}
.check input {
  width: 18px; height: 18px; flex: none; margin-top: 0.1em;
  accent-color: var(--accent); cursor: pointer;
}

/* Sign-on block — the bone slice: consent happens in the bright room */
.intake__section--consent {
  background: var(--bone); color: var(--ink);
  padding: clamp(1.6rem, 1rem + 2vw, 2.4rem); margin-top: 0.4rem;
}
.intake__section--consent .intake__legend { border-bottom-color: var(--ink); color: var(--ink); padding: 0 0 0.6rem; margin-bottom: 1.2rem; }
.intake__section--consent .intake__num { color: var(--bronze); }
.intake__consents { display: grid; gap: 0.9rem; margin-bottom: 1.6rem; }
.check--consent { color: rgba(32, 24, 18, 0.85); }
.check--consent .opt { color: rgba(32, 24, 18, 0.6); font-weight: 400; }
.check--consent input { accent-color: var(--bronze); }
.intake__section--consent .btn--primary { border-color: rgba(28, 17, 6, 0.45); }
.intake__section--consent .form-status { color: var(--ink); font-weight: 600; }
.intake__section--consent .form-status.is-error { color: #A32D2D; }
.intake__section--consent .form-note { color: rgba(32, 24, 18, 0.62); }
.intake__section--consent :focus-visible { outline-color: var(--ink); }

.intake__done h2 { font-size: var(--fs-h2); text-transform: uppercase; margin-bottom: 1rem; }
.intake__done p { max-width: 55ch; margin-bottom: 1.6rem; }
.intake__done:focus { outline: none; }

@media (max-width: 620px) {
  .intake__grid, .intake__checks { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem) 1.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--border); }
.footer__tag { font-size: var(--fs-sm); max-width: 42ch; margin-top: 1rem; }
.footer__nav, .footer__connect { display: flex; flex-direction: column; gap: 0.6rem; }
.footer h3 { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.4rem; }
.footer__nav a { font-size: var(--fs-sm); color: var(--text-muted); transition: color var(--dur-fast); width: fit-content; }
.footer__nav a:hover { color: var(--accent); }
.socials { display: flex; gap: 0.7rem; margin-bottom: 0.5rem; }
.socials a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--border-strong); border-radius: var(--r-sm); color: var(--text-muted);
  transition: var(--dur-fast);
}
.socials a:hover { color: var(--accent); border-color: var(--accent); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; justify-content: space-between; padding-top: 1.5rem; }
.footer__bottom p { font-size: 0.76rem; color: var(--text-faint); }
.footer__disclaimer { max-width: 60ch; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1160px) {
  .cut-motif { height: 34%; } /* keeps the descent curve below the poster footer in the 621-1160px range */
}

@media (max-width: 480px) {
  .poster__footer span + span { border-left: 0; padding-left: 0; } /* no dangling divider when the microtype wraps */
}

@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 420px; margin-top: 2.4rem; } /* headline leads on mobile; poster follows the copy */
  .stat-chip { left: 8px; } /* keep the chip inside the frame for the whole stacked-hero range */
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 360px; }
  .guide__grid { grid-template-columns: 1fr; }
  .ledger__list { grid-template-columns: 1fr; }
  .tracks { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .stats__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .record__row { grid-template-columns: 7.5rem 1fr; gap: 0.8rem; }
  .cta-band__seam { height: 56px; }
  .cta-band { padding-block: calc(clamp(3rem, 2rem + 4vw, 5rem) + 56px) clamp(3rem, 2rem + 4vw, 5rem); }
  .signup-form--inline { grid-template-columns: 1fr; }
  .signup-form--inline .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .step { grid-template-columns: 1fr; gap: 0.5rem; }
  .hero__media { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
