/* ============================================================================
   Card Bullpen — "Heritage Ballpark" design system
   Token-driven, zero-build. Single source of truth for all pages.
   Official brand: The Front Office · Heritage Ballpark identity.
   ----------------------------------------------------------------------------
   CONTRACT (classes page builders may rely on — UNCHANGED from prior skin):
     Layout : .wrap .band .band--dossier .sec-head .eyebrow
     Nav    : .nav .brand .brand-mark .brand-logo .nav-links .nav-cta
              .nav-toggle .nav-mobile  + body[data-nav-open] state
     Buttons: .btn .btn--primary .btn--ghost
     Hero   : .hero .hero-grid .hero-copy .grid-tex
     Ticker : .ticker .ticker__k .ticker__v  (+ .is-up .is-ask .is-neu .is-down)
     Card   : .holo .holo__foil .holo__meta .holo__val .holo__lbl .holo__chip
     Dossier: .dossier .dossier__head .dossier__dot
     Feature: .feature-grid .feature .feature__ic .feature__more
     Cycle  : .lifecycle .lc-step .lc-step__n .lc-rail
     Worked : .worked .worked__step .worked__stage/__n .worked__call/__call-k
     Math   : .mathbox .mathbox__row .mathbox__range
     Compare: .compare-wrap .compare .compare__us .compare__note
     Who    : .split .col .col__tag
     FAQ    : .faq .faq__item (native <details>) .faq__q .faq__a .faq-contact
     Waitlst: #waitlist(anchor) .waitlist .wl-form .wl-input .wl-btn .wl-status
              .wl-honey .wl-fineprint .wl-done .wl-done__ic/__title/__msg/__link
     Footer : .site-footer .f-links
     Icons  : .ic  (<svg class="ic"><use href="#i-scope"></use></svg>)
     Reveal : [data-reveal] -> .is-in  (+ [data-reveal-group] to stagger children)
     Misc   : .vh(sr-only) .band-link .dossier__link .sticky-cta(js-injected)
   ----------------------------------------------------------------------------
   FONTS (load in <head>):
     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
     <link href="https://fonts.googleapis.com/css2?family=Anton&family=Oswald:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600&display=swap" rel="stylesheet">
   ----------------------------------------------------------------------------
   AA NOTES (all pairs contrast-checked; ratios in parentheses):
     • Cream #F4F2E9 on Deep Navy #102034 ........ 14.65:1  (AAA)
     • Cream on Heritage Navy #1C2F44 ............ 12.16:1  (AAA)
     • --t2 #AEB9C6 on Deep Navy ................. 8.26:1   (AAA) — secondary text
     • --t2 on Heritage Navy surface ............. 6.86:1   (AA)
     • Brass #BC9860 on Deep Navy ................ 6.10:1   (AA) — labels OK as text
     • Brass on Heritage Navy surface ............ 5.07:1   (AA)
     • Green #309564 on navy ..................... 4.39:1 (bg)/3.64:1 (surf)
         => AA-Large only. Restricted to LARGE/BOLD data numerals (>=18px bold).
     • Red #C13D34 on navy ...................... 3.12:1 (bg)/2.59:1 (surf)
         => AA-Large only / fails small. Red on navy is used ONLY for the large
            bold "WATCH" chip and large data numerals — never small body text.
            Red's primary role is a BACKGROUND with cream text.
     • Cream on Red button ...................... 4.70:1   (AA) — CTA text passes,
         so the Heritage Red #C13D34 is kept AS-IS (no nudge needed).
     • Red #C13D34 on Cream ..................... 4.70:1   (AA) — links/accents on cream OK.
     • Ink #1D1F25 on Cream ..................... 14.69:1  (AAA) — dossier body.
     • Brass on Cream ........................... 2.40:1   FAIL.
         => On cream panels, brass is NEVER used as small text. Dossier head
            label text uses Heritage Navy #1C2F44 (12.16:1); brass appears only
            as a decorative dot. Where a brass-toned LABEL must read as text on
            cream we use the darkened brass --brass-ink #7A5E29 (5.41:1, AA).
     • Green #309564 on Cream ................... 3.34:1 (AA-Large). Success text on
            cream uses --green-deep #1F5D3B (6.97:1, AA) for small sizes.
   No brand hex was altered: every required pair already meets AA in its role.
   ========================================================================== */

/* ---- Tokens ------------------------------------------------------------- */
:root {
  /* Surfaces (Heritage Ballpark navies) */
  --bg: #102034;          /* Deep Navy — page background */
  --surface: #1C2F44;     /* Heritage Navy — cards/panels on navy */
  --surface-2: #243a52;   /* raised navy */
  --line: rgba(244, 242, 233, .14);        /* cream hairline */
  --line-strong: rgba(244, 242, 233, .30); /* cream hairline, stronger */

  /* Brand color roles */
  --cream: #F4F2E9;       /* Canvas / reversed ink / primary text on navy */
  --cream-deep: #ECE8DB;
  --ink: #1D1F25;         /* text on cream */
  --red: #C13D34;         /* Heritage Red — accent + primary CTA bg */
  --green: #309564;       /* Value Green — positive / up / success */
  --green-deep: #1F5D3B;  /* green for small text on cream (AA) */
  --brass: #BC9860;       /* Collector Brass — eyebrows/labels/ask/premium */
  --brass-ink: #7A5E29;   /* darkened brass for small text on cream (AA) */
  --green-on-navy: #4FBF87; /* lighter value-green for SMALL data text on navy (AA ~5.5:1) */
  --red-on-navy: #E8736A;   /* lighter caution-red for SMALL data text on navy (AA ~4.6:1) */

  /* Legacy-token aliases — old skin referenced --gold/--clay/--paper/--field.
     Re-pointed to brand equivalents so no rule references a removed color. */
  --gold: var(--brass);   /* old "gold" -> brass */
  --clay: var(--red);     /* old "clay/down" -> red */
  --paper: #F4F2E9;       /* dossier panels = cream with --ink text */
  --field: #243a52;       /* old "field" -> raised navy */

  /* Text on navy */
  --t1: #F4F2E9;          /* primary text — cream */
  --t2: #AEB9C6;          /* secondary text — muted navy-tinted light (AA on navy) */

  --maxw: 1140px;
  --radius: 10px;         /* heritage = slightly tighter */
  --radius-sm: 8px;

  /* Typography */
  --disp: 'Anton', 'Oswald', sans-serif;          /* hero display only */
  --head: 'Oswald', 'Arial Narrow', sans-serif;   /* headings/labels/data */
  --body: 'Source Serif 4', Georgia, serif;       /* editorial body */
  /* legacy aliases */
  --sans: var(--body);
  --mono: var(--head);

  --ease: cubic-bezier(.2, .7, .2, 1);
  /* soft navy shadow — no green glow */
  --shadow: 0 14px 40px rgba(8, 16, 28, .55);
  --glow: 0 0 0 1px rgba(244, 242, 233, .14), 0 12px 30px rgba(8, 16, 28, .5);
}

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

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

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--t1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

a { color: inherit; text-decoration: none; }
a:not([class]) { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }

:focus-visible {
  outline: 2px solid var(--brass);   /* brass ring — visible on navy (6.1:1) */
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: rgba(193, 61, 52, .32); color: var(--cream); }

/* Skip link — off-screen until focused (WCAG 2.4.1 Bypass Blocks) */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--red);
  color: var(--cream);
  font-family: var(--head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: var(--glow);
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; outline: 2px solid var(--cream); outline-offset: 2px; }
main:focus { outline: none; }

/* ---- Layout ------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.band { padding-block: clamp(56px, 9vw, 104px); position: relative; }
.band--dossier { background: linear-gradient(180deg, #0d1a2c, var(--bg)); }

.sec-head { max-width: 640px; margin-bottom: 40px; }
.sec-head p { color: var(--t2); margin-top: 14px; font-size: 17px; }

/* eyebrow / kicker — Collector Brass, Oswald, tracked caps */
.eyebrow {
  font-family: var(--head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-block;
}

/* ---- Type --------------------------------------------------------------- */
/* h1 = Anton display (hero). h2/h3/h4 = Oswald 600, tracked heritage caps. */
h1 {
  font-family: var(--disp);
  font-weight: 400;
  line-height: 1.02;
  color: var(--t1);
  font-size: clamp(40px, 6vw, 68px);
  letter-spacing: .005em;
  text-transform: uppercase;
}
h2, h3, h4 {
  font-family: var(--head);
  font-weight: 600;
  line-height: 1.12;
  color: var(--t1);
}
h2 { font-size: clamp(27px, 3.8vw, 40px); letter-spacing: .005em; text-transform: uppercase; }
h3 { font-size: 21px; letter-spacing: .01em; }
h4 { font-size: 16px; letter-spacing: .02em; text-transform: uppercase; }
p { text-wrap: pretty; }

.mono { font-family: var(--head); font-variant-numeric: tabular-nums; }
.disp { font-family: var(--disp); }
.muted { color: var(--t2); }

/* ---- Icons -------------------------------------------------------------- */
.ic {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  stroke: currentColor;
  fill: none;
  color: inherit;
}

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  font-family: var(--head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--t1);
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), border-color .18s var(--ease);
}
.btn .ic { width: 18px; height: 18px; }
/* primary CTA — Heritage Red bg + cream text (4.70:1, AA). No green glow. */
.btn--primary {
  background: var(--red);
  color: var(--cream);
  box-shadow: 0 10px 26px rgba(193, 61, 52, .30);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background: #A8322A;
  box-shadow: 0 16px 36px rgba(193, 61, 52, .42);
}
/* ghost/secondary — transparent + cream-strong border; hover fills subtly */
.btn--ghost { border-color: var(--line-strong); color: var(--t1); }
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--cream);
  background: rgba(244, 242, 233, .08);
}
.btn:active { transform: translateY(0); }

/* ---- Navigation --------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 32, 52, .82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);   /* cream hairline, no green */
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 92px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-family: var(--head);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--t1);
}

/* Brand lockup: CB badge emblem + live wordmark (readable at nav size; AA red on navy). */
.brand-badge { height: 72px; width: 72px; flex: 0 0 auto; display: block; }
.brand-wm { display: flex; flex-direction: column; justify-content: center; align-items: center; line-height: 1; }
.brand-wm__name { font-family: var(--disp); font-size: 37px; letter-spacing: .015em; text-transform: uppercase; color: var(--cream); }
.brand-wm__tag { font-family: var(--head); font-weight: 600; font-size: 14px; letter-spacing: .24em; text-transform: uppercase; color: var(--red-on-navy); margin-top: 6px; }
.site-footer .brand-badge { height: 66px; width: 66px; }
.site-footer .brand-wm__name { font-size: 33px; }

/* .brand-mark — current HTML still ships an empty <span class="brand-mark">.
   Re-themed as a restrained heritage diamond emblem (cream/brass, no green
   glow). When the real <img class="brand-logo"> replaces it, this is inert. */
.brand-mark {
  position: relative;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border: 1.5px solid var(--brass);
  border-radius: 5px;
  transform: rotate(45deg);
  background: linear-gradient(150deg, rgba(188, 152, 96, .22), rgba(16, 32, 52, .4));
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 2px;
  background: var(--cream);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-family: var(--head);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--t2);
  padding: 6px 0;
  position: relative;
  transition: color .18s var(--ease);
}
.nav-links a:hover { color: var(--t1); }
.nav-links a[aria-current="page"] { color: var(--t1); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--red);   /* The Front Office rule — heritage red underline */
  border-radius: 2px;
}
.nav-cta {
  font-family: var(--head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(188, 152, 96, .08);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(244, 242, 233, .03);
  color: var(--t1);
  cursor: pointer;
}
.nav-toggle .ic { width: 22px; height: 22px; }
.nav-toggle .nav-toggle__close { display: none; }
body[data-nav-open] .nav-toggle .nav-toggle__open { display: none; }
body[data-nav-open] .nav-toggle .nav-toggle__close { display: block; }

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(16, 32, 52, .97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
body[data-nav-open] .nav-mobile { display: block; }
.nav-mobile ul { display: flex; flex-direction: column; padding: 8px 0 16px; }
.nav-mobile a {
  display: block;
  padding: 14px 4px;
  font-family: var(--head);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--t1);
  border-bottom: 1px solid var(--line);
}
.nav-mobile a[aria-current="page"] { color: var(--brass); }
.nav-mobile .nav-cta { display: inline-block; margin-top: 16px; }

/* ---- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(48px, 8vw, 96px);
  background: radial-gradient(130% 120% at 82% -20%, #16314b 0%, var(--bg) 60%);
  overflow: hidden;
}
/* heritage pinstripe grid — very subtle cream lines (no green) */
.grid-tex {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(244, 242, 233, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 242, 233, .045) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(70% 80% at 28% 18%, #000, transparent);
  mask-image: radial-gradient(70% 80% at 28% 18%, #000, transparent);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}
.hero-copy { max-width: 600px; }
.hero-copy h1 { margin-top: 16px; }
.hero-copy .lead {
  color: var(--t2);
  font-family: var(--body);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  margin-top: 18px;
  max-width: 54ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* hero card stage — reserves space so layout never shifts */
.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  perspective: 1000px;
}

/* ---- Value ticker ------------------------------------------------------- */
.ticker {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(8, 16, 28, .42);
}
.ticker__k {
  display: block;
  font-family: var(--head);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--t2);
  margin-bottom: 3px;
}
.ticker__v {
  font-family: var(--head);
  font-weight: 600;
  font-size: 18px;
  font-variant-numeric: tabular-nums;   /* scoreboard feel */
  color: var(--t1);
}
.ticker__v.is-up { color: var(--green-on-navy); }   /* up / floor / positive */
.ticker__v.is-ask { color: var(--brass); }  /* ask / neutral */
.ticker__v.is-neu { color: var(--t1); }
.ticker__v.is-down { color: var(--red-on-navy); }    /* down / caution */

/* ---- Vintage trading card (hero) ---------------------------------------- */
/* Classic navy card with a cream inner hairline frame + brass corner accent.
   Tilt vars --rx/--ry retained so the JS tilt still works. */
.holo {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 35%;
  position: relative;
  width: 200px;
  height: 278px;
  border-radius: var(--radius);
  background:
    linear-gradient(158deg, #213a55 0%, #16293d 55%, #102032 100%);
  border: 1px solid var(--line-strong);
  /* cream inner hairline frame + soft navy depth */
  box-shadow:
    inset 0 0 0 1px rgba(244, 242, 233, .10),
    inset 0 0 0 6px rgba(16, 32, 52, .0),
    0 24px 60px rgba(8, 16, 28, .6);
  overflow: hidden;
  transform: rotate(-7deg) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .25s var(--ease);
  will-change: transform;
}
/* cream inner frame line */
.holo::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(244, 242, 233, .35);
  border-radius: 6px;
  pointer-events: none;
}
/* brass corner accent (top-left notch) */
.holo::after {
  content: "";
  position: absolute;
  top: 10px; left: 10px;
  width: 26px; height: 26px;
  border-top: 2px solid var(--brass);
  border-left: 2px solid var(--brass);
  border-top-left-radius: 6px;
  pointer-events: none;
}
/* subtle classic light sweep — replaces neon foil. Soft cream sheen only. */
.holo__foil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(140px 140px at var(--mx) var(--my),
      rgba(244, 242, 233, .14), transparent 62%),
    linear-gradient(150deg, rgba(244, 242, 233, .06), transparent 45%);
  opacity: .9;
  /* No transition on background: the rAF tilt loop updates --mx/--my per frame;
     a background transition would tween a non-composited repaint. */
}
.holo__meta {
  position: absolute;
  top: 22px; left: 22px; right: 22px;
  display: flex;
  justify-content: space-between;
  font-family: var(--head);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream);
}
.holo__val {
  position: absolute;
  left: 22px; bottom: 40px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 32px;
  font-variant-numeric: tabular-nums;
  color: var(--cream);
}
.holo__lbl {
  position: absolute;
  left: 22px; bottom: 22px;
  font-family: var(--head);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
}
/* WATCH chip — Heritage Red, bold large enough to clear AA-Large on navy */
.holo__chip {
  position: absolute;
  right: 18px; bottom: 22px;
  font-family: var(--head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
}

/* ---- Dossier panel (cream paper) ---------------------------------------- */
.dossier {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-deep);
}
.dossier + .dossier { margin-top: 22px; }
/* head label: Heritage Navy text (12.16:1) — brass only as the dot */
.dossier__head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--surface);
  margin-bottom: 14px;
}
.dossier__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);   /* The Front Office accent dot */
  flex: 0 0 auto;
}
.dossier h2, .dossier h3 { color: var(--ink); }
.dossier p { font-family: var(--body); color: #26313c; font-size: 16px; line-height: 1.7; }
.dossier p + p { margin-top: 14px; }
.dossier b, .dossier strong { color: var(--ink); }

/* ---- Feature grid ------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature {
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: var(--surface-2);
  box-shadow: 0 18px 44px rgba(8, 16, 28, .5);
}
/* tinted icon square — brass on navy tint (no green) */
.feature__ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(188, 152, 96, .12);
  border: 1px solid rgba(188, 152, 96, .28);
  color: var(--brass);
  margin-bottom: 18px;
}
.feature__ic .ic { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 8px; }
.feature p { font-family: var(--body); color: var(--t2); font-size: 15px; }
.feature__kicker {
  font-family: var(--head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: 10px;
}

/* ---- Lifecycle rail ----------------------------------------------------- */
.lifecycle {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.lc-rail {
  position: absolute;
  top: 22px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 12%, var(--line-strong) 88%, transparent);
  z-index: 0;
}
.lc-step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
/* step number — cream/brass on navy disc */
.lc-step__n {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--brass);
  color: var(--cream);
  font-family: var(--head);
  font-weight: 600;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 18px rgba(8, 16, 28, .5);
}
.lc-step h3 { font-size: 17px; margin-bottom: 6px; }
.lc-step p { font-family: var(--body); color: var(--t2); font-size: 14px; }

/* ---- "How the math works" explainer ------------------------------------- */
.mathbox {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  font-family: var(--head);
  max-width: 620px;
}
.mathbox__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.mathbox__row:last-child { border-bottom: none; }
.mathbox__row .k {
  font-family: var(--head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--t2);
}
.mathbox__row .v {
  font-family: var(--head);
  font-weight: 600;
  font-size: 18px;
  font-variant-numeric: tabular-nums;   /* scoreboard data */
  color: var(--t1);
}
.mathbox__row .v.is-up { color: var(--green-on-navy); }    /* floor / positive */
.mathbox__row .v.is-ask { color: var(--brass); }   /* ask / neutral */
.mathbox__row .v.is-neu { color: var(--t1); }
.mathbox__row .v.is-down { color: var(--red-on-navy); }     /* down / caution */
/* confidence range bar — brass->green range, brass mid marker (no neon) */
.mathbox__range {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  overflow: hidden;
  margin-top: 6px;
  flex: 1;
  min-width: 120px;
}
.mathbox__range::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: var(--lo, 20%);
  right: calc(100% - var(--hi, 80%));
  background: linear-gradient(90deg, rgba(48, 149, 100, .45), rgba(188, 152, 96, .55));
}
.mathbox__range::after {
  content: "";
  position: absolute;
  top: -3px; bottom: -3px;
  left: var(--mid, 50%);
  width: 2px;
  background: var(--brass);
}
.mathbox__note {
  margin-top: 16px;
  font-family: var(--body);
  font-size: 13px;
  color: var(--t2);
}

/* ---- Who it's for (split) ----------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
}
.col__tag {
  font-family: var(--head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(188, 152, 96, .08);
  margin-bottom: 16px;
}
.col h3 { margin-bottom: 10px; }
.col p { font-family: var(--body); color: var(--t2); }

/* ---- FAQ accordion ------------------------------------------------------ */
.faq { max-width: 760px; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq__item[open] { border-color: var(--line-strong); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  font-family: var(--head);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .01em;
  color: var(--t1);
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q .ic {
  width: 20px; height: 20px;
  color: var(--brass);
  transition: transform .25s var(--ease);
}
.faq__item[open] .faq__q .ic { transform: rotate(180deg); }
.faq__a {
  padding: 0 20px 20px;
  font-family: var(--body);
  color: var(--t2);
  font-size: 15.5px;
  line-height: 1.7;
}
/* JS smooth-open: initFaq animates .faq__a height directly; native <details> works without JS. */

/* ---- Waitlist ----------------------------------------------------------- */
.waitlist {
  background: linear-gradient(180deg, var(--surface), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.waitlist::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 120% at 50% -10%, rgba(188, 152, 96, .10), transparent 60%);
  pointer-events: none;
}
.waitlist > * { position: relative; }
.waitlist h2 { margin-bottom: 12px; }
.waitlist > p { font-family: var(--body); color: var(--t2); max-width: 48ch; margin: 0 auto 26px; }
.wl-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
}
.wl-field { flex: 1 1 240px; text-align: left; }
.wl-label {
  display: block;
  font-family: var(--head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--t2);
  margin-bottom: 7px;
}
.wl-input {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: rgba(8, 16, 28, .45);
  color: var(--t1);
  font-family: var(--body);
  font-size: 16px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.wl-input::placeholder { color: var(--t2); }
.wl-input:focus-visible {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(188, 152, 96, .22);
}
.wl-input[aria-invalid="true"] { border-color: var(--red); }
.wl-btn {
  font-family: var(--head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: var(--red);
  color: var(--cream);
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(193, 61, 52, .30);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), opacity .18s var(--ease), background-color .18s var(--ease);
  white-space: nowrap;
}
.wl-btn:hover:not(:disabled) { transform: translateY(-2px); background: #A8322A; }
.wl-btn:disabled { opacity: .6; cursor: progress; }
.wl-input:disabled { opacity: .6; cursor: not-allowed; }
.wl-status {
  min-height: 22px;
  margin-top: 16px;
  font-family: var(--head);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
}
.wl-status[data-state="error"] { color: var(--red-on-navy); }
.wl-status[data-state="info"] { color: var(--brass); }

/* Consent + pricing fine print under the form. */
.wl-fineprint {
  flex: 1 1 100%;
  margin: 12px auto 0;
  max-width: 460px;
  font-family: var(--body);
  font-size: 12px;
  line-height: 1.5;
  color: var(--t2);
  text-align: center;
}
.wl-fineprint a { color: var(--brass); text-decoration: underline; text-underline-offset: 2px; }
.wl-fineprint a:hover { color: var(--t1); }

/* Post-signup confirmation — JS swaps it in for the form on success. */
#waitlist { scroll-margin-top: 100px; }
.wl-done {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.wl-done__ic { width: 40px; height: 40px; color: var(--green-on-navy); }
.wl-done__title { margin: 0; }
/* heading is programmatically focused on success; hide the ring for that case,
   keep it for genuine keyboard focus. */
.wl-done__title:focus:not(:focus-visible) { outline: none; }
.wl-done__msg { font-family: var(--body); color: var(--t2); max-width: 42ch; margin: 0; }
.wl-done__link { margin-top: 4px; }

/* "Still have a question?" line under the About FAQ. */
.faq-contact {
  margin: 28px auto 0;
  text-align: center;
  font-family: var(--body);
  color: var(--t2);
}
.faq-contact a { color: var(--brass); text-decoration: underline; text-underline-offset: 2px; }
.faq-contact a:hover { color: var(--t1); }

/* ── NEXT-tier additions ─────────────────────────────────────────────── */

/* Visually-hidden utility (screen-reader only) */
.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Cross-page deep-link targets clear the sticky nav */
#feat-scouting, #feat-eval, #feat-decision, #feat-inventory,
#honest-h, #about-story-title { scroll-margin-top: 100px; }

/* Small in-content links (feature cards, dossiers, band footers) */
.feature__more, .dossier__link, .band-link a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--red-on-navy);
  transition: gap .18s var(--ease), color .18s var(--ease);
}
.feature__more { margin-top: auto; padding-top: 16px; }
.dossier__link { margin-top: 16px; }
.feature__more .ic, .dossier__link .ic, .band-link .ic { width: 16px; height: 16px; }
.feature__more:hover, .dossier__link:hover, .band-link a:hover { gap: 11px; color: var(--cream); }
.band-link { text-align: center; margin-top: 26px; }
/* Dossiers sit on cream panels — override to dark red + ink hover for AA contrast. */
.dossier__link { color: var(--red); }
.dossier__link:hover { color: var(--ink); }

/* Worked example — one illustrative card through the lifecycle */
.worked {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
}
.worked__step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.worked__stage {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--head);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--t1);
  margin-bottom: 10px;
}
.worked__n { font-family: var(--disp); font-size: 13px; color: var(--brass); letter-spacing: .04em; }
.worked__step p { font-family: var(--body); color: var(--t2); font-size: 15px; margin: 0; }
.worked__step strong { color: var(--t1); font-weight: 600; }
.worked__call {
  margin: 22px auto 0;
  max-width: 640px;
  text-align: center;
  font-family: var(--body);
  color: var(--t1);
  font-size: 17px;
}
.worked__call-k {
  display: inline-block;
  font-family: var(--head);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--red);
  border-radius: 999px;
  padding: 4px 12px;
  margin-right: 10px;
  vertical-align: middle;
}

/* Comparison table — categories collectors juggle vs. Card Bullpen */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-wrap:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.compare {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-family: var(--body);
  font-size: 15px;
}
.compare th, .compare td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare thead th {
  font-family: var(--head);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--t2);
}
.compare tbody th { font-family: var(--head); font-weight: 600; color: var(--t1); white-space: nowrap; }
.compare td { color: var(--t2); }
.compare__us th, .compare__us td { background: rgba(193, 61, 52, .12); color: var(--t1); border-bottom: none; }
.compare__us th { color: var(--cream); }
.compare__note {
  margin: 16px auto 0;
  max-width: 60ch;
  text-align: center;
  font-family: var(--body);
  font-size: 13px;
  color: var(--t2);
}

/* Sticky waitlist CTA — injected by app.js on pages with a #waitlist anchor */
.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
  font-family: var(--head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.sticky-cta[hidden] { display: none; }
.sticky-cta:hover { transform: translateY(-2px); background: #A8322A; }
.sticky-cta .ic { width: 16px; height: 16px; }

/* visually-hidden honeypot */
.wl-honey {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Footer ------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding-block: 44px;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-footer .brand { font-size: 16px; }
.f-links { display: flex; gap: 24px; flex-wrap: wrap; }
.f-links a {
  font-family: var(--head);
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--t2);
  transition: color .18s var(--ease);
}
.f-links a:hover { color: var(--t1); }
.site-footer__copy {
  width: 100%;
  margin-top: 8px;
  font-family: var(--head);
  font-size: 12px;
  color: var(--t2);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---- Scroll reveal ------------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}
.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

/* ============================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { min-height: 300px; order: -1; }
  .lifecycle { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .lc-rail { display: none; }
}

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; }
  .sec-head p { font-size: 16px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .feature-grid { grid-template-columns: 1fr; }
  .wrap { padding-inline: 20px; }
  .wl-form { flex-direction: column; align-items: stretch; }
  .wl-btn { align-self: stretch; }
  .brand-badge, .site-footer .brand-badge { height: 58px; width: 58px; }
  .brand-wm__name, .site-footer .brand-wm__name { font-size: 30px; }
}

@media (max-width: 375px) {
  .wrap { padding-inline: 16px; }
  .ticker { gap: 16px; padding: 11px 14px; }
  .holo { width: 178px; height: 248px; }
}

/* ============================================================================
   Reduced motion — content shown fully, all motion disabled
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .holo { transform: rotate(-7deg); }
}

/* ============================================================================
   Cookie consent banner (Google Consent Mode v2)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 1000;
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding: 16px 18px;
  background: rgba(28, 47, 68, .98);   /* Heritage Navy */
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cookie-banner p { flex: 1 1 280px; margin: 0; font-family: var(--body); font-size: 14px; line-height: 1.55; color: var(--t2); }
.cookie-banner a { color: var(--cream); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner__btn {
  font-family: var(--head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.cookie-banner__btn--accept { background: var(--red); color: var(--cream); }
.cookie-banner__btn--decline { background: transparent; color: var(--t1); border-color: var(--line-strong); }
.cookie-banner__btn--decline:hover { border-color: var(--cream); }
@media (max-width: 520px) {
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__btn { flex: 1; text-align: center; }
}

/* footer "Cookie settings" — a button that reads as a footer link */
.f-link-btn {
  -webkit-appearance: none;
  appearance: none;
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit;
  font-family: var(--head);
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--t2);
  transition: color .18s var(--ease);
}
.f-link-btn:hover { color: var(--t1); }

/* ============================================================================
   Legal / prose pages (e.g. /privacy)
   ========================================================================== */
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(22px, 3vw, 30px); margin: 38px 0 12px; }
.legal h3 { font-size: 19px; margin: 26px 0 8px; }
.legal p, .legal li { font-family: var(--body); color: var(--t2); font-size: 16px; line-height: 1.7; }
.legal p { margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--t1); }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 14.5px; }
.legal th, .legal td { font-family: var(--body); text-align: left; padding: 10px 12px; border: 1px solid var(--line); color: var(--t2); vertical-align: top; }
.legal th { font-family: var(--head); letter-spacing: .04em; text-transform: uppercase; color: var(--t1); background: var(--surface); }
.legal__updated { font-family: var(--head); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--t2); }
.legal__note { border-left: 3px solid var(--red); padding: 12px 16px; background: var(--surface); border-radius: 8px; margin: 20px 0; }
.legal__note p:last-child { margin-bottom: 0; }

/* ============================================================================
   Accessibility hardening — forced-colors, high-contrast, narrow-zoom reflow
   ========================================================================== */

/* Windows High Contrast / forced-colors: the design leans on color, gradients,
   blur and shadows that HCM strips — restore visible edges + the active cue. */
@media (forced-colors: active) {
  .btn, .nav-cta, .wl-btn, .wl-input, .feature, .worked__step, .holo,
  .mathbox, .waitlist, .wl-done, .sticky-cta, .compare-wrap { border: 1px solid currentColor; }
  .nav-links a[aria-current="page"] { text-decoration: underline; }
  :focus-visible { outline: 2px solid Highlight; outline-offset: 2px; }
}

/* prefers-contrast: lift muted secondary text + hairlines on dark surfaces. */
@media (prefers-contrast: more) {
  :root {
    --t2: #C9D3DD;
    --line: rgba(244, 242, 233, .30);
    --line-strong: rgba(244, 242, 233, .50);
  }
  .feature__more, .band-link a { color: var(--cream); }
  /* dossier links sit on cream panels — go darker (not cream) for contrast. */
  .dossier__link { color: var(--ink); }
}

/* ~320px / 400% zoom (WCAG 1.4.10 reflow): wrap data rows instead of overflowing. */
@media (max-width: 360px) {
  .ticker { gap: 10px 18px; }   /* flex-wrap already on in the base rule */
  .mathbox__row { flex-wrap: wrap; row-gap: 4px; }
  .mathbox__range { min-width: 100%; }
}
