/* ============================================================
   IRONTABLE — Prototype 1 "ARENA"
   Dark / warm off-white / gold. Geometry borrowed from the
   regulation table: hard edges, painted centre lines, chalk.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* palette */
  --bg:            #080808;
  --surface:       #0e0e0d;
  --surface-2:     #141312;
  --surface-3:     #1b1917;
  --felt:          #171512;   /* table-top tone — never a page background */
  --text:          #f2ede3;
  --muted:         #cfc7b8;
  --muted-2:       #948d80;
  --ink:           #0b0906;   /* the only colour allowed on top of gold */
  --line:          rgba(242, 237, 227, .10);
  --line-strong:   rgba(242, 237, 227, .20);
  --gold:          #f3d677;
  --gold-deep:     #c9a949;
  --gold-hi:       #ffda6d;
  --gold-lo:       #a28146;
  --gold-soft:     rgba(243, 214, 119, .12);
  --gold-line:     rgba(243, 214, 119, .32);
  --chalk:         #dce3e8;
  --chalk-dust:    rgba(220, 227, 232, .035);

  /* the champion ramp is rationed to exactly one element: .plan__badge */
  --grad-champion: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold-lo) 100%);

  /* type */
  --font-display: "Bebas Neue", "Oswald", "Haettenschweiler", "Arial Narrow", Impact, sans-serif;
  --font-body:    "Satoshi", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-hero:   clamp(3.6rem, 12vw, 9rem);
  --fs-h2:     clamp(2.6rem, 6.4vw, 4.5rem);
  --fs-h3:     clamp(1.6rem, 3vw, 2.2rem);
  --fs-lead:   clamp(1.02rem, 1.35vw, 1.18rem);
  --fs-body:   clamp(1rem, 1.15vw, 1.075rem);
  --fs-small:  .875rem;
  --fs-eyebrow:.75rem;

  /* shape — every real armwrestling site sits at 0–6px */
  --r-pill:  4px;
  --r-card:  10px;
  --r-chip:  2px;
  --r-flat:  0;

  /* space */
  --pad-x:      clamp(1.25rem, 5vw, 4.5rem);
  --sec-y:      clamp(4.5rem, 10vw, 9rem);
  --wrap:       1280px;
  --wrap-narrow: 860px;
  --nav-h:      68px;   /* re-measured by app.js */

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1.5rem);
  -webkit-text-size-adjust: 100%;
}

/* Author-level display rules would otherwise beat the UA [hidden] rule. */
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }

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

::selection { background: var(--gold); color: var(--ink); }

/* Figures read as record, not as marketing, when the digits line up. */
.tnum {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 200;
  padding: .75rem 1.25rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  border-radius: var(--r-pill);
  transform: translateY(-200%);
  transition: transform .2s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

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

/* ---------- 3. Atmosphere: chalk + vignette ---------- */
/* Fine, cool, low-contrast dust — not grunge, and never animated. */
.grain {
  position: fixed;
  inset: -10%;
  z-index: 90;
  pointer-events: none;
  opacity: .03;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

/* A second, coarser chalk layer — table-adjacent surfaces only. */
.section--alt, .marquee { position: relative; }
.section--alt::before,
.marquee::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23c)' fill='%23DCE3E8'/%3E%3C/svg%3E");
  background-size: 260px 260px;
}
.section--alt > .wrap,
.marquee__track { position: relative; z-index: 1; }

.vignette {
  position: fixed;
  inset: 0;
  z-index: 89;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 42%, rgba(0, 0, 0, .55) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, .45), transparent 18%, transparent 84%, rgba(0, 0, 0, .5));
}

/* ---------- 3a. The regulation table plate ---------- */
/* 260 × 188 user units = 91.4 × 66.0 cm at 2.845 px/cm. Elbow pads sit RIGHT
   of the painted centre line, pin pads LEFT, diagonally opposed — that
   asymmetry IS the handedness, which is why scaleX(-1) is a real left-arm
   table and not a mirror gimmick. */
.plate {
  transition: transform .22s var(--ease);
  transform-origin: 50% 50%;
}

/* Coach plates state a fact about that coach, so they do not follow the
   page-level arm toggle. */
.coach__art .plate { transform-box: fill-box; transform: none; }
.coach__art .plate--l { transform: scaleX(-1); }

.table-rule {
  position: relative;
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--gold-line);
  opacity: .5;
}
.table-rule::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -5px;
  width: 120px;
  height: 10px;
  transform: translateX(-50%);
  background: var(--felt);
  border: 1px solid var(--gold-line);
}
.table-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -2px;
  width: 530px;
  height: 5px;
  transform: translateX(-50%);
  opacity: .55;
  background:
    radial-gradient(circle 2.5px at 2.5px 2.5px, var(--gold) 98%, transparent) left center / 5px 5px no-repeat,
    radial-gradient(circle 2.5px at 2.5px 2.5px, var(--gold) 98%, transparent) right center / 5px 5px no-repeat;
}
/* The section already draws a border there — one line, not two. */
.table-rule + .section--alt { border-top-color: transparent; }
.section--alt + .table-rule { margin-top: -1px; }

/* ---------- 4. Layout primitives ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--sec-y); position: relative; }
.section--alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- 5. Typography helpers ---------- */
.eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--gold);
  opacity: .7;
}

/* Micro-label: body face, never Bebas. */
.stamp,
.tape__k,
.step__cue,
.armchip,
.hero__spec,
.plan__cadence,
.prog__facts span {
  font-family: var(--font-body);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.sec-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.sec-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: .92;
  letter-spacing: -.022em;
  text-transform: uppercase;
}
.sec-title em {
  font-style: normal;
  color: var(--gold);
  position: relative;
}
.sec-title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .08em;
  height: 3px;
  background: var(--gold);
  opacity: .35;
}

.sec-lead {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: var(--fs-lead);
  max-width: 44rem;
}

/* ---------- 6. Buttons ---------- */
.btn {
  --btn-py: .95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: var(--btn-py) 1.9rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  line-height: 1.1;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 0 0 0 rgba(243, 214, 119, .35);
}
.btn--gold:hover {
  background: #ffe89a;
  box-shadow: 0 12px 32px -12px rgba(243, 214, 119, .7);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--outline:hover { background: rgba(242, 237, 227, .06); border-color: var(--gold-line); }

.btn--sm { --btn-py: .65rem; padding-inline: 1.35rem; font-size: .85rem; }
.btn--lg { --btn-py: 1.15rem; padding-inline: 2.6rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- 7. Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 8, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(8, 8, 8, .92);
}

.nav__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 1rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
}
.brand__mark { display: flex; }
.brand__word {
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: .1em;
  line-height: 1;
  padding-top: .15em;
}

/* 7 links + CTA have to survive 1024px without wrapping — the gap and the
   link size are tuned so the row still fits inside .nav__inner there. */
.nav__links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(.85rem, 1.6vw, 1.6rem);
}
.nav__links > a:not(.btn) {
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding-block: .35rem;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.nav__links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .28s var(--ease);
}
.nav__links > a:not(.btn):hover,
.nav__links > a.is-active { color: var(--text); }
.nav__links > a:not(.btn):hover::after,
.nav__links > a.is-active::after { width: 100%; }

.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-chip);
  border: 1px solid var(--line-strong);
  position: relative;
  flex: none;
}
.nav__burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 26px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(640px, 92vh, 1000px);
  display: flex;
  align-items: center;
  padding-block: clamp(4rem, 10vh, 7rem) clamp(5rem, 12vh, 8rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__spot {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(70% 55% at 50% 30%, rgba(243, 214, 119, .09), transparent 65%),
    radial-gradient(120% 100% at 50% 0%, #141414 0%, #080808 60%);
}

/* The table, not a spotlight. */
.hero__table {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.hero__table .plate {
  position: absolute;
  left: 50%;
  bottom: -4%;
  width: min(1100px, 130vw);
  max-width: none;
  height: auto;
  opacity: .16;
  transform: translateX(-50%);
}
[data-arm="left"] .hero__table .plate { transform: translateX(-50%) scaleX(-1); }
.hero__table::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent,
    rgba(243, 214, 119, .16) 30%,
    rgba(243, 214, 119, .16) 70%,
    transparent);
}

.hero__inner { position: relative; text-align: center; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-hero);
  line-height: .84;
  letter-spacing: -.035em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.hero__title .line { display: block; }
.hero__title em {
  font-style: normal;
  color: var(--gold);
}

.hero__sub {
  max-width: 42rem;
  margin-inline: auto;
  color: var(--muted);
  font-size: var(--fs-lead);
}

.hero__ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  justify-content: center;
}

.hero__spec { margin-top: 1.5rem; }
.hero__spec .hero__spec-arms { color: var(--gold); }

.stats {
  margin-top: clamp(3rem, 7vw, 5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--line);
  border-inline: 0;
  border-radius: 0;
}
.stat {
  background: transparent;
  padding: clamp(1.25rem, 3vw, 2rem) 1rem;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: .35rem;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.75rem);
  line-height: 1;
  color: var(--gold);
  letter-spacing: -.02em;
}
.stat__num span { font-size: .6em; vertical-align: super; }
.stat__label {
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--muted-2);
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.hero__scroll svg { animation: bob 2.4s var(--ease) infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: .5; }
  50%      { transform: translateY(5px); opacity: 1; }
}

/* ---------- 9. Marquee as a table rail ---------- */
.marquee {
  border-block: 0;
  border-top: 2px solid var(--gold-line);
  border-bottom: 1px solid var(--line);
  background: var(--felt);
  overflow: hidden;
  padding-block: 1rem;
  user-select: none;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: slide 38s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding-right: 2.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__group b { font-weight: 400; color: var(--muted); }
.marquee__group i {
  font-style: normal;
  font-size: 0;
  display: inline-flex;
  align-items: center;
}
.marquee__group i::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  opacity: .55;
}
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- 10. Coaches ---------- */
.coach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.coach { display: flex; }

.coach__card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.coach__card:hover,
.coach__card:focus-within {
  transform: translateY(-8px);
  border-color: var(--gold-line);
  box-shadow: 0 26px 60px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(243, 214, 119, .12);
}

.coach__link {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

.coach__art {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-flat);
  overflow: hidden;
}
.coach__art svg { width: 100%; height: 100%; }
.coach__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(23, 21, 18, .35) 78%, var(--felt) 100%);
}

.coach__body {
  display: block;
  padding: 1.25rem 1.35rem 1.35rem;
  margin-top: -.5rem;
  position: relative;
}

.coach__flagrow {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .6rem;
}
.flag {
  display: inline-flex;
  border-radius: var(--r-chip);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line-strong);
}
.chip {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
  padding: .2rem .45rem;
  border-radius: var(--r-chip);
  border: 1px solid var(--gold-line);
  color: var(--gold);
  line-height: 1.3;
}
.coach__country {
  font-size: .78rem;
  color: var(--muted-2);
  letter-spacing: .04em;
}

.coach__name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.4vw, 2.35rem);
  line-height: 1;
  letter-spacing: -.015em;
  text-transform: uppercase;
  /* two lines reserved: a tale of the tape only reads as one if the rows line up
     across all four cards, and single-line names would lift their tape by 1em */
  min-height: 2em;
}
.coach__spec {
  display: block;
  margin-top: .35rem;
  color: var(--muted);
  font-size: .92rem;
}

/* Tale of the tape — always visible, outside the link, so a screen reader
   is not shut out by the link's own aria-label. */
.tape {
  margin: 0;
  padding: 0 1.35rem 1.15rem;
  background: var(--felt);
  border-top: 1px solid var(--line);
}
.tape__row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  align-items: baseline;
  gap: .75rem;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(242, 237, 227, .06);
}
.tape__row:last-child { border-bottom: 0; }
/* The "Best result" value is the only variable-height cell in the tape. The card is a
   fixed-height column flex whose link absorbs the slack, so a taller last row lifts the
   whole tape and the rows stop lining up across the four cards — which is the one thing
   a tale of the tape has to get right. Reserve the longest case (3 lines at 1.4). */
.tape__row:last-child .tape__v--txt { min-height: 4.2em; }
.tape__k { line-height: 1.4; }
.tape__v {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: .01em;
  color: var(--text);
}
.tape__v--txt {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted);
}

.coach__prog {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 1.35rem;
  background: var(--felt);
  border-top: 1px solid var(--line);
  color: var(--gold);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: background-color .25s var(--ease);
}
.coach__prog::after {
  content: "";
  flex: none;
  width: .45rem;
  height: .45rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s var(--ease);
}
.coach__prog:hover { background: var(--surface-3); }
.coach__prog:hover::after { transform: rotate(45deg) translate(2px, -2px); }

.stamp { margin-top: 1.75rem; }

/* ---------- 11. Programs ---------- */
/* Arm axis — left and right are separate competitive universes. */
.armbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  margin-top: -.75rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.armbar__switch {
  display: inline-flex;
  padding: .25rem;
  gap: .25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--felt);
}
.armbar__opt {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.2rem;
  border-radius: var(--r-pill);
  font-size: .875rem;
  font-weight: 600;
  color: var(--muted);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.armbar__opt:hover { color: var(--text); }
.armbar__opt.is-active { background: var(--gold); color: var(--ink); }
.armbar__glyph { display: inline-flex; }
.armbar__glyph--l svg { transform: scaleX(-1); }
.armbar__note {
  font-size: .82rem;
  color: var(--muted-2);
  letter-spacing: .06em;
  text-align: center;
}

.programs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.prog {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: var(--r-card);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  overflow: hidden;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
  scroll-margin-top: 110px;
}
.prog:hover,
.prog:target {
  border-color: var(--gold-line);
  border-left-color: var(--gold);
}

.prog__index {
  position: absolute;
  top: .25rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-size: 5.5rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 214, 119, .22);
}

.prog__head { position: relative; }
.prog__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h3);
  text-transform: uppercase;
  letter-spacing: -.015em;
  line-height: 1;
}
.prog__coach {
  margin-top: .4rem;
  color: var(--gold);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
}

.armchip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .6rem;
  color: var(--gold);
}
.prog__glyph {
  display: inline-flex;
  transform-origin: 50% 50%;
  transition: transform .22s var(--ease);
}
[data-arm="left"] .prog__glyph { transform: scaleX(-1); }

/* label · explanation · value — the explanation is what turns a number
   from jargon into evidence. */
.prog__facts {
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.prog__facts li {
  display: grid;
  grid-template-columns: 6rem 1fr auto;
  align-items: baseline;
  column-gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(242, 237, 227, .06);
  background: none;
  border-radius: 0;
}
.prog__facts span { line-height: 1.4; }
.prog__facts i {
  font-style: normal;
  font-size: .75rem;
  line-height: 1.35;
  color: var(--muted-2);
}
.prog__facts b {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: .01em;
  color: var(--text);
  justify-self: end;
}

.prog__list {
  margin-top: 1.5rem;
  display: grid;
  gap: .6rem;
}
.prog__list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted);
  font-size: .96rem;
}
.prog__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .5rem;
  height: .5rem;
  border-radius: var(--r-chip);
  border: 1.5px solid var(--gold);
}

.prog__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.75rem;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid transparent;
  padding-bottom: .15rem;
  transition: border-color .25s var(--ease), gap .25s var(--ease);
}
.prog__cta:hover { border-bottom-color: var(--gold); gap: .85rem; }

/* ---------- 12. Pricing ---------- */
.billing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.billing__switch {
  display: inline-flex;
  padding: .3rem;
  gap: .25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--felt);
}
.billing__opt {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.35rem;
  border-radius: var(--r-pill);
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.billing__opt:hover { color: var(--text); }
.billing__opt.is-active {
  background: var(--gold);
  color: var(--ink);
}
.billing__save {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .1rem .4rem;
  border-radius: var(--r-chip);
  border: 1px solid var(--gold-line);
  color: var(--gold);
}
.billing__opt.is-active .billing__save {
  border-color: rgba(11, 9, 6, .35);
  color: var(--ink);
}
.billing__note {
  font-size: .82rem;
  color: var(--muted-2);
  letter-spacing: .06em;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(1.75rem, 3vw, 2.35rem);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.plan:hover { transform: translateY(-4px); border-color: var(--line-strong); }

.plan--popular {
  border-color: var(--gold-line);
  background: var(--surface-2);
}
.plan--popular::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-champion);
}
.plan--popular:hover { border-color: var(--gold-line); }

.plan__badge {
  position: absolute;
  top: -.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-champion);
  color: var(--ink);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

.plan__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 2.4vw, 2.15rem);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -.015em;
}
.plan__desc {
  margin-top: .5rem;
  color: var(--muted-2);
  font-size: .88rem;
  min-height: 2.6em;
}

.plan__price {
  display: flex;
  align-items: flex-start;
  gap: .2rem;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  line-height: 1;
  color: var(--text);
}
.plan__cur {
  font-size: 1.75rem;
  padding-top: .35rem;
  color: var(--gold);
}
.plan__amt {
  font-size: clamp(3.25rem, 5.5vw, 4.25rem);
  letter-spacing: -.025em;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.plan__amt.is-swapping { opacity: 0; transform: translateY(-6px); }
.plan__per {
  align-self: flex-end;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted-2);
  padding-bottom: .55rem;
  margin-left: .35rem;
}
.plan__sub {
  margin-top: .35rem;
  font-size: .8rem;
  color: var(--muted-2);
  letter-spacing: .04em;
}
.plan__cadence { margin-top: .35rem; }

.plan__feats {
  margin: 1.5rem 0 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: .7rem;
  flex: 1;
}
.plan__feats li {
  position: relative;
  padding-left: 1.75rem;
  font-size: .93rem;
  color: var(--muted);
}
.plan__feats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 1rem;
  height: .55rem;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- 13. How it works ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
/* The four steps sit on one painted line — the table's own geometry
   doing the layout. */
.steps::before {
  content: "";
  position: absolute;
  top: 5.125rem;   /* the vertical centre of .step__num */
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-line);
  opacity: .45;
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem 1.75rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  transition: border-color .3s var(--ease);
}
.step:hover { border-color: var(--gold-line); }
.step__cue {
  display: block;
  margin-bottom: .75rem;
  color: var(--gold);
}
.step__num {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-chip);
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: .01em;
  padding-top: .2em;
  margin-bottom: 1.25rem;
}
.step__num::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -.4rem;
  width: 12px;
  height: 1px;
  transform: translateX(-50%);
  background: var(--gold-line);
}
.step__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.05;
  margin-bottom: .6rem;
}
.step p { color: var(--muted); font-size: .92rem; }

/* ---------- 14. Media: videos + follow row ---------- */
.videos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.video { display: flex; }

.video__link {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.video__link:hover,
.video__link:focus-visible {
  transform: translateY(-8px);
  border-color: var(--gold-line);
  box-shadow: 0 26px 60px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(243, 214, 119, .12);
}

.video__poster {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-flat);
  overflow: hidden;
}
.video__art { width: 100%; height: 100%; }
.video__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8, 8, 8, .18) 0%, transparent 40%, rgba(23, 21, 18, .55) 100%);
  pointer-events: none;
}

.video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  padding-left: .15rem;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  background: rgba(8, 8, 8, .68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--gold);
  transition: transform .3s var(--ease), background-color .3s var(--ease),
              color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.video__link:hover .video__play,
.video__link:focus-visible .video__play {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 12px 32px -12px rgba(243, 214, 119, .7);
}

.video__dur {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  z-index: 1;
  padding: .15rem .45rem;
  border-radius: var(--r-chip);
  border: 1px solid var(--line-strong);
  background: rgba(8, 8, 8, .78);
  color: var(--text);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.4;
}

.video__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
  padding: 1.15rem 1.35rem 1.5rem;
}
.video__tag {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .2rem .5rem;
  border-radius: var(--r-chip);
  border: 1px solid var(--gold-line);
  color: var(--gold);
  line-height: 1.3;
}
.video__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.08;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--text);
  transition: color .25s var(--ease);
}
.video__link:hover .video__title,
.video__link:focus-visible .video__title { color: var(--gold); }
.video__coach {
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}

.follow {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid var(--line);
}
.follow__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.follow__title em { font-style: normal; color: var(--gold); }

.follow__list {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .75rem;
}
.follow__item {
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem 1.1rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease);
}
.follow__item:hover,
.follow__item:focus-visible {
  transform: translateY(-3px);
  border-color: var(--gold-line);
  background: var(--surface-3);
}
.follow__item--guide {
  border-color: var(--gold-line);
  background: var(--felt);
}

.follow__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--r-chip);
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
  color: var(--gold);
}
.follow__body { display: block; min-width: 0; }
.follow__label {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.3;
}
.follow__ext { display: inline-flex; color: var(--muted-2); transition: color .25s var(--ease); }
.follow__item:hover .follow__ext,
.follow__item:focus-visible .follow__ext { color: var(--gold); }
.follow__desc {
  display: block;
  margin-top: .15rem;
  font-size: .82rem;
  line-height: 1.45;
  color: var(--muted-2);
}

/* ---------- 15. Testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.quote {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 2.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.quote__mark {
  position: absolute;
  top: 1.35rem;
  left: 1.75rem;
  display: flex;
  color: var(--gold);
  opacity: .8;
}
.quote blockquote p {
  font-size: 1.06rem;
  color: var(--text);
  line-height: 1.6;
}
.quote figcaption {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.quote figcaption b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.quote figcaption span { font-size: .8rem; color: var(--muted-2); letter-spacing: .06em; }

/* ---------- 16. Partners ---------- */
.tiers { display: grid; gap: clamp(1.75rem, 3.5vw, 2.75rem); }

.tier__label {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1rem;
}
.tier__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.logo-row { display: grid; gap: 1rem; }
.logo-row--main { grid-template-columns: minmax(0, 30rem); }
.logo-row--partners { grid-template-columns: repeat(4, 1fr); }
.logo-row--supporters { grid-template-columns: repeat(5, 1fr); }

/* Flat wells, not cards — the wall must not outweigh the coaches. */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 0;
  border-radius: var(--r-flat);
  background: none;
  color: var(--muted-2);
  transition: color .25s var(--ease);
}
.logo:hover { color: var(--muted); }
/* The dim sits on the <svg>, not on the <li>: every logo but the main one is
   also a .reveal, and `.reveal-off .reveal.is-visible { opacity: 1 }` outranks
   a single-class `.logo` rule — which left the main partner as the only
   de-emphasised logo on the wall. */
.logo svg {
  width: 100%;
  height: auto;
  opacity: .55;
  transition: opacity .25s var(--ease);
}
.logo:hover svg { opacity: 1; }

.logo--main { padding: clamp(1rem, 2.5vw, 1.5rem) 1rem; }
.logo--main svg { max-width: 22rem; }

.logo--partner svg { max-width: 13rem; }
.logo--supporter svg { max-width: 9.5rem; }

.partner-cta {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 3.25rem);
  border: 1px solid var(--gold-line);
  border-radius: var(--r-card);
  background: var(--surface-2);
}
.partner-cta__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: -.015em;
}
.partner-cta__title em { font-style: normal; color: var(--gold); }
.partner-cta__lead {
  margin-top: 1rem;
  margin-bottom: 1.75rem;
  color: var(--muted);
  font-size: var(--fs-lead);
  max-width: 34rem;
}

.stats--reach { margin-top: 0; }
.stats--reach .stat { background: var(--felt); }
.stats--reach .stat__num { color: var(--muted); }

/* ---------- 17. Newsletter ---------- */
.signup {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--gold-line);
  border-radius: var(--r-card);
  background: var(--surface-2);
  overflow: hidden;
}
.signup__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.signup__title em { font-style: normal; color: var(--gold); }
.signup__lead {
  margin-top: 1rem;
  color: var(--muted);
  font-size: var(--fs-lead);
}

.signup__form { width: 100%; }
.signup__label {
  display: block;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
  margin-bottom: .6rem;
}
.signup__row { display: flex; gap: .6rem; flex-wrap: wrap; }
.signup__input {
  flex: 1 1 14rem;
  min-width: 0;
  padding: .95rem 1.4rem;
  background: #0c0b0a;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  color: var(--text);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.signup__input::placeholder { color: #8d867a; }
.signup__input:focus { outline: none; border-color: var(--gold); background: var(--surface); }
.signup__input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.signup__input[aria-invalid="true"] { border-color: #ff6b6b; }

.signup__help { margin-top: .75rem; font-size: .8rem; color: var(--muted-2); }
.signup__error {
  margin-top: .5rem;
  font-size: .85rem;
  color: #ff8f8f;
  font-weight: 600;
}

.signup__success {
  margin-top: 1.25rem;
  display: flex;
  gap: .9rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
  border-radius: var(--r-card);
}
.signup__success b { display: block; margin-bottom: .3rem; }
.signup__success p { font-size: .88rem; color: var(--muted); }
.signup__success #success-email { color: var(--gold); font-weight: 600; word-break: break-all; }
.signup__check { color: var(--gold); flex: none; padding-top: .1rem; }

/* ---------- 18. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item h3 { margin: 0; font-size: inherit; font-weight: inherit; }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.15;
  color: var(--muted);
  transition: color .25s var(--ease);
}
.faq__q:hover { color: var(--text); }
.faq__q[aria-expanded="true"] { color: var(--gold); }

.faq__icon {
  position: relative;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-chip);
  transition: border-color .25s var(--ease), transform .35s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: opacity .25s var(--ease);
}
.faq__icon::before { width: .8rem; height: 1.5px; }
.faq__icon::after { width: 1.5px; height: .8rem; }
.faq__q[aria-expanded="true"] .faq__icon { border-color: var(--gold-line); transform: rotate(180deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { opacity: 0; }

.faq__a { padding-bottom: 1.75rem; max-width: 60ch; }
.faq__a p { color: var(--muted); }
.faq__a strong { color: var(--gold); font-weight: 700; }
.faq__a:not([hidden]) { animation: faqIn .32s var(--ease) both; }
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 19. End CTA ---------- */
.endcta {
  position: relative;
  padding-block: clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(70% 140% at 50% 100%, rgba(243, 214, 119, .10), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
  text-align: center;
}
.endcta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.endcta__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 8vw, 6rem);
  line-height: .9;
  text-transform: uppercase;
  letter-spacing: -.03em;
}
.endcta__title em { font-style: normal; color: var(--gold); }

/* ---------- 20. Footer ---------- */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.footer__tag {
  margin-top: 1rem;
  color: var(--muted-2);
  font-size: .92rem;
  max-width: 22rem;
}
.footer__mail {
  display: inline-block;
  margin-top: 1rem;
  color: var(--gold);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.footer__mail:hover { border-bottom-color: var(--gold); }

.footer__col { display: flex; flex-direction: column; gap: .7rem; }
.footer__h {
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
  margin-bottom: .3rem;
}
.footer__col a {
  color: var(--muted);
  font-size: .93rem;
  width: fit-content;
  transition: color .2s var(--ease);
}
.footer__col a:hover { color: var(--gold); }

.footer__bottom {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--muted-2);
}

/* ---------- 21. Scroll reveal ---------- */
/* The hidden start state is scoped to html.js, which the inline bootstrap in
   <head> sets. No JS (or a broken app.js) => no `js` class => full page. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Escape hatch used by the watchdog and by app.js when animating is unsafe
   (reduced motion, no IntersectionObserver, tab that never composites).
   Kills the transition too — a frozen transition can never resolve. */
.reveal-off .reveal,
.reveal-off .reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* staggered children in grids */
.coach-grid .reveal:nth-child(2),
.programs .reveal:nth-child(2),
.plans .reveal:nth-child(2),
.steps .reveal:nth-child(2),
.videos .reveal:nth-child(2),
.logo-row .reveal:nth-child(2),
.quotes .reveal:nth-child(2) { transition-delay: .08s; }
.coach-grid .reveal:nth-child(3),
.programs .reveal:nth-child(3),
.plans .reveal:nth-child(3),
.steps .reveal:nth-child(3),
.videos .reveal:nth-child(3),
.logo-row .reveal:nth-child(3),
.quotes .reveal:nth-child(3) { transition-delay: .16s; }
.coach-grid .reveal:nth-child(4),
.programs .reveal:nth-child(4),
.steps .reveal:nth-child(4),
.videos .reveal:nth-child(4),
.logo-row .reveal:nth-child(4) { transition-delay: .24s; }
.logo-row .reveal:nth-child(5) { transition-delay: .32s; }

/* hero copy cascade */
.hero .reveal:nth-child(2) { transition-delay: .05s; }
.hero .reveal:nth-child(3) { transition-delay: .1s; }
.hero .reveal:nth-child(4) { transition-delay: .18s; }
.hero .reveal:nth-child(5) { transition-delay: .26s; }
.hero .reveal:nth-child(6) { transition-delay: .34s; }

/* ---------- 22. Responsive ---------- */
@media (max-width: 1100px) {
  .coach-grid { grid-template-columns: repeat(2, 1fr); }
  .videos { grid-template-columns: repeat(2, 1fr); }
  .follow__list { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .tape__row { grid-template-columns: 6.5rem 1fr; }
}

@media (max-width: 980px) {
  html { scroll-padding-top: 80px; }

  .nav__burger { display: block; }

  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--pad-x) 2rem;
    background: rgba(8, 8, 8, .98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav__links > a:not(.btn) {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
    color: var(--text);
  }
  .nav__links > a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 1.5rem; justify-content: center; }

  .plans { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; }
  .plan--popular { order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .signup { grid-template-columns: 1fr; }
  .programs { grid-template-columns: 1fr; }

  .logo-row--partners { grid-template-columns: repeat(2, 1fr); }
  .logo-row--supporters { grid-template-columns: repeat(3, 1fr); }
  .partner-cta { grid-template-columns: 1fr; }
}

/* The centre line only makes sense while the steps are one row. */
@media (max-width: 900px) {
  .steps::before { display: none; }
}

@media (max-width: 760px) {
  .follow__list { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; }
  .stat {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-inline: 1.5rem;
    text-align: left;
  }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat__num { font-size: 2.4rem; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .quote blockquote p { font-size: 1rem; }
}

@media (max-width: 600px) {
  /* Two rows: label + value on the first, the explanation underneath.
     Without the explicit placement the auto-flow pushes <b> onto a third
     row and the value column collapses to 0. */
  .prog__facts li { grid-template-columns: 1fr auto; row-gap: .15rem; }
  .prog__facts span { grid-column: 1; grid-row: 1; }
  .prog__facts b { grid-column: 2; grid-row: 1; }
  .prog__facts i { grid-column: 1 / -1; grid-row: 2; }
  .table-rule::after { display: none; }
}

@media (max-width: 560px) {
  .coach-grid { grid-template-columns: 1fr; }
  .videos { grid-template-columns: 1fr; }
  .follow__list { grid-template-columns: 1fr; }
  .logo-row--supporters { grid-template-columns: repeat(2, 1fr); }
  /* Two-up supporters would otherwise render wider than the partner tier. */
  .logo--supporter svg { max-width: 7rem; }
  .hero { min-height: auto; padding-block: 3.5rem 5rem; }
  /* The hero collapses to its content here — the absolute scroll cue would
     land on top of the stats block. */
  .hero__scroll { display: none; }
  .hero__ctas .btn { width: 100%; }
  .btn { padding-inline: 1.5rem; }
  .prog__index { font-size: 4rem; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: .4rem; }
  .marquee__group { font-size: 1.35rem; gap: 1.5rem; padding-right: 1.5rem; }
  .signup__row .btn { width: 100%; }
  .armbar__switch { width: 100%; }
  .armbar__opt { flex: 1; justify-content: center; padding-inline: .75rem; }
}

@media (max-width: 400px) {
  :root { --pad-x: 1.125rem; }
  .faq__q { font-size: 1.1rem; gap: .75rem; }
  .plan__amt { font-size: 3rem; }
}

/* ---------- 23. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .js .reveal { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none !important; transform: none !important; }
  .plate, .prog__glyph { transition: none; }
  .btn:hover, .coach__card:hover, .plan:hover,
  .video__link:hover, .follow__item:hover { transform: none; }
  .video__link:hover .video__play,
  .video__link:focus-visible .video__play { transform: translate(-50%, -50%); }
}

/* ---------- 24. Print (courtesy) ---------- */
@media print {
  .nav, .grain, .vignette, .marquee, .hero__table, .hero__scroll, .table-rule { display: none !important; }
  body { background: #fff; color: #000; }
}
