/* ==========================================================================
   HappyElite marketing site — "Podium" design system, marketing scale.
   Warm off-white field, maple red, restrained varsity pillar set.
   Light + dark. No frameworks; the craft is in the details.
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/fonts/bricolage-grotesque-var.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('/fonts/hanken-grotesk-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('/fonts/space-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('/fonts/space-mono-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #F6F5F3;
  --surface: #FFFFFF;
  --surface-2: #F0EFEC;
  --ink: #1A1B1D;
  --ink-soft: #585A5E;
  --ink-faint: #9A9CA0;
  --line: #E5E4E1;
  --line-strong: #D4D3CF;
  --brand: #D21F2E;
  --brand-deep: #A5121F;
  --brand-wash: #FBE6E8;
  --accent: #1D4E8F;
  --accent-deep: #143A6E;
  --accent-wash: #E6ECF4;
  --gold: #BE8420;
  --p-phys: #CE2233;  --p-phys-wash: #FBE6E8;
  --p-tac:  #23548F;  --p-tac-wash:  #E6ECF4;
  --p-psy:  #BE8420;  --p-psy-wash:  #F6EEDA;
  --p-soc:  #2E7D57;  --p-soc-wash:  #E3F0E9;
  --dark-bg: #141518;
  --dark-surface: #1D1F23;
  --dark-ink: #F2F3F4;
  --dark-ink-soft: #B3B6BB;
  --dark-line: #2C2F34;
  --shadow: 0 1px 2px rgba(20,22,26,.05), 0 6px 20px rgba(20,22,26,.08);
  --shadow-lg: 0 2px 4px rgba(20,22,26,.06), 0 24px 60px rgba(20,22,26,.14);
  --r-card: 14px;
  --r-btn: 10px;
  --font-display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --nav-h: 64px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141518;
    --surface: #1D1F23;
    --surface-2: #24272C;
    --ink: #F2F3F4;
    --ink-soft: #B3B6BB;
    --ink-faint: #82858B;
    --line: #2C2F34;
    --line-strong: #3A3E44;
    --brand: #D42233;
    --brand-deep: #F2818A;
    --brand-wash: #3A1C20;
    --accent: #6D9BD1;
    --accent-deep: #6D9BD1;
    --accent-wash: #182636;
    --gold: #DEB65A;
    --p-phys: #F06A76;  --p-phys-wash: #3A1C20;
    --p-tac:  #6D9BD1;  --p-tac-wash:  #182636;
    --p-psy:  #DEB65A;  --p-psy-wash:  #322913;
    --p-soc:  #6FB68C;  --p-soc-wash:  #16291F;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px rgba(0,0,0,.5);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.35), 0 24px 60px rgba(0,0,0,.55);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; }
a { color: var(--brand-deep); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* ---------- Type scale ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 18px;
}
.eyebrow.gold { color: var(--gold); }
h1 {
  font-size: clamp(44px, 7.2vw, 92px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
h1 em { font-style: normal; color: var(--brand); }
h2 {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.08;
}
.lede {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 26px auto 0;
}
.body-lg { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 640px; margin-top: 20px; }
.mono-note { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  color: #fff; background: var(--brand);
  padding: 15px 30px; border-radius: var(--r-btn);
  box-shadow: 0 4px 14px rgba(210,31,46,.24);
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--brand-deep); box-shadow: 0 6px 20px rgba(210,31,46,.3); }
.btn:active { transform: scale(.98); }
.btn-sm { padding: 9px 18px; font-size: 15px; box-shadow: none; }
.btn-lg { padding: 18px 40px; font-size: 19px; }
.btn.full, .btn-ghost.full { display: block; text-align: center; width: 100%; }
.btn-ghost {
  display: inline-block;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  color: var(--ink); background: none;
  padding: 14px 26px; border-radius: var(--r-btn);
  border: 1px solid var(--line-strong);
  transition: border-color .15s ease, background .15s ease;
}
.btn-ghost:hover { border-color: var(--ink-soft); background: var(--surface); }
.cta-row { display: flex; gap: 14px; justify-content: center; align-items: center; margin-top: 34px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }
.cta-note { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--ink-soft); margin-top: 18px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
/* Additive reveal modifiers: soft blur for text blocks, x-axis entries so
   movement follows the layout. Cards keep the default translateY(22px)/.7s. */
.reveal-soft {
  transform: translateY(14px);
  filter: blur(5px);
  transition-property: opacity, transform, filter;
  transition-duration: .55s;
  transition-timing-function: cubic-bezier(.2,.6,.2,1);
}
.reveal-soft.in { filter: none; }
.reveal-left { transform: translateX(-18px); }
.reveal-right { transform: translateX(18px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal-soft, .reveal-left, .reveal-right { opacity: 1; transform: none; filter: none; transition: none; }
  .hero-path path, .draw-on-view, .hero-star, .path-label, .phone { animation: none !important; transition: none !important; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
/* Compress once scrolled; sport pages set .scrolled statically, so this
   state must read as a complete resting nav, not a transition frame. */
.nav {
  transition:
    border-color .25s ease,
    height .34s cubic-bezier(.4,0,.2,1),
    background-color .34s cubic-bezier(.4,0,.2,1),
    -webkit-backdrop-filter .34s cubic-bezier(.4,0,.2,1),
    backdrop-filter .34s cubic-bezier(.4,0,.2,1);
}
.nav.scrolled {
  height: 56px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 28px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 34px; width: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .logo-light { display: none; }
  .logo-dark { display: block; }
}
.nav-links { display: flex; gap: 26px; margin: 0 auto; }
.nav-links a {
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav-signin { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.nav-signin:hover { color: var(--ink); }
@media (max-width: 860px) {
  .nav-links, .nav-signin { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + clamp(56px, 10vh, 110px)) 0 0; text-align: center; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; }
.hero-stage {
  position: relative;
  max-width: 1200px; margin: clamp(30px, 6vh, 60px) auto 0;
  padding: 0 24px;
}
.hero-path { width: 100%; display: block; }
.hero-path path#risingPath {
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: draw 2.2s cubic-bezier(.4,0,.2,1) .5s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-star { opacity: 0; transform-origin: 1150px 30px; animation: starIn .6s cubic-bezier(.2,.8,.3,1.4) 2.5s forwards; }
@keyframes starIn { from { opacity: 0; transform: scale(.2) rotate(-30deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
.path-label text {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em;
  fill: var(--ink-faint); text-transform: uppercase;
}
.label-now text { fill: var(--gold); text-anchor: end; }
.path-label { opacity: 0; animation: fadeIn .6s ease forwards; }
.label-then { animation-delay: .7s; }
.label-now { animation-delay: 2.7s; }
@keyframes fadeIn { to { opacity: 1; } }

/* Phone vignette */
.phone {
  position: absolute;
  right: clamp(24px, 12vw, 180px);
  bottom: -180px;
  width: 300px;
  border-radius: 42px;
  background: var(--ink);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
  animation: phoneIn 1s cubic-bezier(.2,.7,.2,1) 1.1s both;
}
@keyframes phoneIn { from { opacity: 0; transform: rotate(2deg) translateY(60px); } to { opacity: 1; transform: rotate(2deg) translateY(0); } }
@media (prefers-color-scheme: dark) { .phone { background: #000; } }
.phone-screen {
  background: var(--bg);
  border-radius: 32px;
  padding: 22px 16px 18px;
  display: flex; flex-direction: column; gap: 10px;
  text-align: left;
}
.ph-top { display: flex; flex-direction: column; gap: 8px; margin-bottom: 2px; }
.ph-greet { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.ph-kids { display: flex; gap: 6px; }
.kid {
  font-size: 12px; font-weight: 600; color: var(--ink-soft);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 10px;
}
.kid.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ph-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px; box-shadow: var(--shadow);
}
.ph-card.soft { opacity: .92; }
.ph-card-head { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.ph-card-tag { font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.ph-card-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; line-height: 1.3; }
.ph-card-meta { display: flex; gap: 6px; margin-top: 8px; }
.chip {
  font-size: 10.5px; font-weight: 600; color: var(--ink-soft);
  background: var(--surface-2); border-radius: 999px; padding: 3px 9px;
}
.ph-meter { display: flex; align-items: center; gap: 8px; padding: 4px 2px 0; }
.ph-meter-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.ph-meter-bars { display: flex; gap: 4px; }
.ph-meter-bars i { width: 22px; height: 6px; border-radius: 3px; background: var(--line-strong); }
.ph-meter-bars i.on { background: var(--p-soc); }
.ph-meter-note { font-size: 11px; color: var(--ink-soft); margin-left: auto; }
.pillar-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; display: inline-block; }
.pillar-dot.phys { background: var(--p-phys); }
.pillar-dot.tac  { background: var(--p-tac); }
.pillar-dot.psy  { background: var(--p-psy); }
.pillar-dot.soc  { background: var(--p-soc); }

@media (max-width: 760px) {
  .phone { position: relative; right: auto; bottom: auto; margin: 26px auto 0; transform: rotate(0); animation-name: phoneInMobile; }
  @keyframes phoneInMobile { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
  .hero-path { display: none; }
}
@media (min-width: 761px) {
  .hero { padding-bottom: 200px; }
}

/* ---------- Empathy ---------- */
.empathy { padding: clamp(90px, 14vh, 160px) 0; background: var(--surface); border-block: 1px solid var(--line); }
.big-line {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 3.4vw, 40px); line-height: 1.25;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.big-line + .big-line { margin-top: 34px; }
.big-line.dim { color: #82858B; }
.big-line.accent { color: var(--brand); }

/* ---------- Promise ---------- */
.promise { padding: clamp(90px, 14vh, 170px) 0; }
.promise-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
@media (max-width: 900px) { .promise-grid { grid-template-columns: 1fr; } }
.promise-list { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-direction: column; gap: 14px; }
.promise-list li { padding-left: 30px; position: relative; font-weight: 600; }
.promise-list li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 14px; height: 8px;
  border-left: 2.5px solid var(--p-soc); border-bottom: 2.5px solid var(--p-soc);
  transform: rotate(-45deg);
}
.promise-chart { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 26px 22px 20px; }
.promise-chart svg { width: 100%; height: auto; display: block; }
.promise-chart .grid line { stroke: var(--line); stroke-width: 1.5; }
.chart-line { stroke: var(--brand); stroke-width: 5; stroke-linecap: round; }
.chart-dot { fill: var(--brand); }
.chart-dot.now { fill: var(--gold); }
.chart-label { font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; fill: var(--ink-soft); }
.chart-label.now { fill: var(--gold); }
.promise-chart figcaption { margin-top: 14px; text-align: center; }

/* Long Game waypoints: visible by default (no-JS fallback); once the reveal
   adds .in, the "both" fill hides them until each delay elapses, so they
   surface in sequence as the drawn line passes each age. */
.chart-wp circle { stroke: var(--surface); stroke-width: 2; }
.chart-wp text {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em;
  text-transform: uppercase; fill: var(--ink-faint);
}
.chart-wp.wp-4 text { text-anchor: end; }
.promise-chart.in .chart-wp { animation: wpIn .6s ease both; }
.promise-chart.in .wp-1 { animation-delay: 1.2s; }
.promise-chart.in .wp-2 { animation-delay: 1.5s; }
.promise-chart.in .wp-3 { animation-delay: 1.8s; }
.promise-chart.in .wp-4 { animation-delay: 2.1s; }
@keyframes wpIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 480px) {
  .chart-wp.wp-2, .chart-wp.wp-3 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .chart-wp { animation: none !important; opacity: 1 !important; }
}

/* Draw-on-view paths (promise chart, final path). Visible by default so the
   page works without JS; script.js hides them with dashoffset, then animates
   the offset back to 0 when the section scrolls into view. */
.draw-on-view { transition: stroke-dashoffset 1.8s cubic-bezier(.4,0,.2,1) .2s; }

/* ---------- Pillars ---------- */
.pillars { padding-top: clamp(90px, 14vh, 170px); }
.pillars > .wrap { text-align: center; margin-bottom: clamp(48px, 8vh, 90px); }
.pillars > .wrap .body-lg { margin-inline: auto; }
.pillar-stack { display: flex; flex-direction: column; }
.pillar-panel {
  position: sticky;
  top: var(--nav-h);
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center;
  padding: 60px 0;
  border-top: 1px solid var(--line);
}
.pillar-panel.phys { background: linear-gradient(var(--bg) 0%, var(--p-phys-wash) 30%); }
.pillar-panel.tac  { background: linear-gradient(var(--bg) 0%, var(--p-tac-wash) 30%); }
.pillar-panel.psy  { background: linear-gradient(var(--bg) 0%, var(--p-psy-wash) 30%); }
.pillar-panel.soc  { background: linear-gradient(var(--bg) 0%, var(--p-soc-wash) 30%); }
@media (prefers-color-scheme: dark) {
  /* Dark wash tokens are saturated; blend them back toward the page
     background so the panels stay calm instead of moody. */
  .pillar-panel.phys { background: linear-gradient(var(--bg) 0%, color-mix(in srgb, var(--p-phys-wash) 55%, var(--bg)) 30%); }
  .pillar-panel.tac  { background: linear-gradient(var(--bg) 0%, color-mix(in srgb, var(--p-tac-wash) 55%, var(--bg)) 30%); }
  .pillar-panel.psy  { background: linear-gradient(var(--bg) 0%, color-mix(in srgb, var(--p-psy-wash) 55%, var(--bg)) 30%); }
  .pillar-panel.soc  { background: linear-gradient(var(--bg) 0%, color-mix(in srgb, var(--p-soc-wash) 55%, var(--bg)) 30%); }
}
.pillar-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(36px, 6vw, 80px); align-items: center; width: 100%;
}
@media (max-width: 860px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-panel { position: static; min-height: 0; padding: 70px 0; }
}
.pillar-eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px;
}
.phys .pillar-eyebrow { color: var(--p-phys); }
.tac  .pillar-eyebrow { color: var(--p-tac); }
.psy  .pillar-eyebrow { color: var(--p-psy); }
.soc  .pillar-eyebrow { color: var(--p-soc); }
.pillar-panel h3 {
  font-size: clamp(30px, 4vw, 50px); font-weight: 800; line-height: 1.08;
  margin-bottom: 18px;
}
.pillar-panel p:not(.pillar-eyebrow) { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-soft); max-width: 480px; }
.pillar-demo { display: flex; flex-direction: column; gap: 14px; }
.demo-card {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); box-shadow: var(--shadow);
  padding: 18px 20px;
}
.demo-card .pillar-dot { margin-top: 6px; }
.demo-card b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.demo-card span { display: block; font-size: 13.5px; color: var(--ink-soft); margin-top: 3px; }
.demo-card:nth-child(2) { margin-left: 26px; }
@media (max-width: 860px) { .demo-card:nth-child(2) { margin-left: 0; } }

/* ---------- How ---------- */
.how { padding: clamp(90px, 14vh, 170px) 0; background: var(--surface); border-block: 1px solid var(--line); text-align: center; }
.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(48px, 7vh, 80px);
  text-align: left;
}
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; } }
/* The steps climb left-to-right, echoing the rising path. */
@media (min-width: 861px) {
  .how-step:nth-child(1) { margin-top: 72px; }
  .how-step:nth-child(2) { margin-top: 36px; }
}
.how-step { position: relative; padding-top: 20px; }
.how-num {
  position: absolute; top: -34px; left: -8px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 120px; line-height: 1;
  color: var(--ink); opacity: .07;
  pointer-events: none;
}
.how-step h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; position: relative; }
.how-step p { color: var(--ink-soft); font-size: 16px; position: relative; }
.how-step::before {
  content: ''; display: block; width: 44px; height: 3px; border-radius: 2px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--p-phys), var(--p-tac), var(--p-psy), var(--p-soc));
}

/* ---------- Science (the one dark moment) ---------- */
.science {
  background: var(--dark-bg); color: var(--dark-ink);
  padding: clamp(100px, 15vh, 180px) 0;
}
/* Static ambient wash in the evidence blue; sits high above the citations. */
.science { background-image: radial-gradient(600px 400px at 20% 10%, rgba(29,78,143,.14), transparent 70%); }
.science h2 { color: var(--dark-ink); max-width: 760px; }
.science-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-top: clamp(44px, 6vh, 70px);
}
@media (max-width: 900px) { .science-grid { grid-template-columns: 1fr; } }
.science-card {
  background: var(--dark-surface); border: 1px solid var(--dark-line);
  border-radius: var(--r-card); padding: 28px 26px;
}
/* Lead card reads editorial: full row, title beside the body text. */
.science-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.5fr; gap: 26px; align-items: start; padding: 34px 30px; }
.science-card:first-child h3 { font-size: 26px; margin-bottom: 0; }
.science-card:first-child p { font-size: 17px; }
@media (max-width: 900px) {
  .science-card:first-child { grid-template-columns: 1fr; padding: 28px 26px; }
  .science-card:first-child h3 { font-size: 20px; }
  .science-card:first-child p { font-size: 15.5px; }
}
.science-card h3 { color: var(--dark-ink); font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.science-card p { color: var(--dark-ink-soft); font-size: 15.5px; line-height: 1.65; }
.science-card sup a { color: #DEB65A; font-family: var(--font-mono); font-size: 11px; }
.footnotes {
  margin: clamp(40px, 6vh, 60px) 0 0; padding: 24px 0 0 18px;
  border-top: 1px solid var(--dark-line);
  color: #82858B; font-size: 13px; line-height: 1.7;
  max-width: 720px;
}
.footnotes a { color: #DEB65A; }
.footnotes a:hover { text-decoration: underline; }

/* ---------- Memories ---------- */
.memories { padding: clamp(100px, 15vh, 180px) 0; overflow: hidden; }
.memories-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
@media (max-width: 900px) { .memories-grid { grid-template-columns: 1fr; } }
.memory-cards { position: relative; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.mem-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); box-shadow: var(--shadow-lg);
  padding: 14px 14px 16px; width: min(320px, 84%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .7s, box-shadow .35s;
}
.mem-card.tilt-l  { transform: rotate(-2.2deg) translateX(-34px); }
.mem-card.tilt-r  { transform: rotate(1.8deg) translateX(38px); }
.mem-card.tilt-l2 { transform: rotate(-1.4deg) translateX(-12px); }
.mem-card.reveal { opacity: 0; }
.mem-card.reveal.in { opacity: 1; }
.mem-card:hover { transform: rotate(0) translateX(0) scale(1.02); }
.mem-img { height: 150px; border-radius: 9px; margin-bottom: 12px; position: relative; overflow: hidden; }
.mem-img::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 20% 15%, rgba(255,255,255,.5), transparent 55%);
}
.mem-img.soc  { background: linear-gradient(135deg, var(--p-soc-wash), var(--p-soc)); }
.mem-img.tac  { background: linear-gradient(135deg, var(--p-tac-wash), var(--p-tac)); }
.mem-img.phys { background: linear-gradient(135deg, var(--p-psy-wash), var(--p-phys)); }
.mem-card p { font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1.35; }
.mem-date { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); display: block; margin-top: 6px; }
/* Entrance offsets extend each card's tilt transform along its own side;
   once .in lands these stop matching and the resting tilt + hover rules
   above take over unchanged. */
.mem-card.tilt-l.reveal-left:not(.in)   { transform: rotate(-2.2deg) translateX(-52px); }
.mem-card.tilt-r.reveal-right:not(.in)  { transform: rotate(1.8deg) translateX(56px); }
.mem-card.tilt-l2.reveal-left:not(.in)  { transform: rotate(-1.4deg) translateX(-30px); }
@media (prefers-reduced-motion: reduce) {
  .mem-card.tilt-l.reveal-left:not(.in)   { transform: rotate(-2.2deg) translateX(-34px); }
  .mem-card.tilt-r.reveal-right:not(.in)  { transform: rotate(1.8deg) translateX(38px); }
  .mem-card.tilt-l2.reveal-left:not(.in)  { transform: rotate(-1.4deg) translateX(-12px); }
}

/* ---------- Pricing ---------- */
.pricing { padding: clamp(90px, 14vh, 170px) 0; background: var(--surface); border-block: 1px solid var(--line); text-align: center; }
.pricing .body-lg { margin-inline: auto; }
.price-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 430px));
  gap: 24px; justify-content: center;
  margin-top: clamp(44px, 6vh, 70px);
  text-align: left;
}
@media (max-width: 820px) { .price-grid { grid-template-columns: minmax(0, 430px); } }
.price-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 18px; padding: 34px 30px;
  display: flex; flex-direction: column;
}
.price-card.family { border-color: var(--brand); border-width: 1.5px; background: var(--surface); box-shadow: var(--shadow-lg); }
.price-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 14px; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 4px; }
.price[hidden] { display: none; }
.price-num { font-family: var(--font-display); font-weight: 800; font-size: 52px; letter-spacing: -0.03em; }
.price-per { color: var(--ink-soft); font-size: 15px; }
.price-sub { color: var(--ink-soft); font-size: 15px; margin-bottom: 20px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-card li { padding-left: 26px; position: relative; font-size: 15.5px; }
.price-card li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 12px; height: 7px;
  border-left: 2.5px solid var(--p-soc); border-bottom: 2.5px solid var(--p-soc);
  transform: rotate(-45deg);
}
.price-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-soft); text-align: center; margin-top: 14px; }
.price-honesty { margin-top: 36px; color: var(--ink-soft); font-size: 15px; }
.toggle {
  display: inline-flex; gap: 4px; padding: 4px;
  background: var(--surface-2); border-radius: 999px;
  margin-bottom: 14px; align-self: flex-start;
}
.toggle button {
  font-family: var(--font-body); font-weight: 600; font-size: 13.5px;
  color: var(--ink-soft); background: none; border: none; cursor: pointer;
  padding: 7px 16px; border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.toggle button.on { background: var(--ink); color: var(--bg); }

/* ---------- Privacy ---------- */
.privacy { padding: clamp(130px, 22vh, 240px) 0; text-align: center; }
.privacy-line { font-size: clamp(34px, 5.4vw, 66px); font-weight: 800; line-height: 1.08; }
.privacy-sub { margin-top: 26px; color: var(--ink-soft); font-size: clamp(16px, 1.7vw, 20px); }

/* ---------- FAQ ---------- */
.faq { padding: 0 0 clamp(100px, 15vh, 170px); }
.faq .wrap-narrow > .eyebrow, .faq h2 { text-align: center; }
.faq-list { margin-top: clamp(40px, 6vh, 60px); display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); box-shadow: var(--shadow);
  padding: 0 24px;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  padding: 20px 30px 20px 0; cursor: pointer; list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 4px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2.5px solid var(--ink-faint); border-bottom: 2.5px solid var(--ink-faint);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { color: var(--ink-soft); font-size: 15.5px; padding: 0 0 22px; max-width: 660px; }

/* ---------- Final CTA ---------- */
.final { padding: clamp(90px, 14vh, 170px) 0 clamp(100px, 16vh, 180px); text-align: center; background: var(--surface); border-top: 1px solid var(--line); }
.final-path { width: min(600px, 88%); margin: 0 auto clamp(30px, 5vh, 50px); display: block; }
.final-path path.draw-on-view { stroke: var(--brand); stroke-width: 5; stroke-linecap: round; }
.final h2 { font-size: clamp(36px, 5.4vw, 64px); }

/* ---------- Footer ---------- */
.footer { background: #1A1B1D; color: #B3B6BB; padding: clamp(60px, 9vh, 90px) 0 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; max-width: 300px; line-height: 1.6; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col b { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #82858B; margin-bottom: 4px; }
.footer-col a { color: #B3B6BB; font-size: 14.5px; transition: color .15s ease; }
.footer-col a:hover { color: #F2F3F4; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: clamp(44px, 7vh, 70px); padding-top: 28px;
  border-top: 1px solid #2C2F34;
  font-size: 13px; color: #82858B;
}
.footer-tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; }

/* ---------- Real screens ---------- */
.screens { padding: clamp(90px, 14vh, 170px) 0; text-align: center; }
.screens .body-lg { margin-inline: auto; }
.screens-row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 320px));
  gap: clamp(24px, 3.5vw, 44px); justify-content: center;
  margin-top: clamp(44px, 6vh, 72px);
  text-align: left;
}
.screen-card { margin: 0; }
.screen-frame {
  border-radius: 40px;
  border: 8px solid var(--ink);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--ink);
}
@media (prefers-color-scheme: dark) { .screen-frame { border-color: #000; background: #000; } }
.screen-frame img { display: block; width: 100%; height: auto; border-radius: 32px; }
.screen-card figcaption {
  margin-top: 18px; padding: 0 6px;
  font-size: 15px; line-height: 1.55; color: var(--ink-soft);
}
.screen-card figcaption b { color: var(--ink); font-family: var(--font-display); font-weight: 700; }
.screens-dots { display: none; justify-content: center; gap: 8px; margin-top: 20px; }
.screens-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); transition: background .2s ease, transform .2s ease; }
.screens-dots i.on { background: var(--brand); transform: scale(1.2); }
@media (max-width: 860px) {
  .screens-row {
    display: grid; grid-template-columns: none;
    grid-auto-flow: column; grid-auto-columns: min(78%, 300px);
    /* the desktop justify-content: center would clip the first card into
       unreachable overflow on the left of the scroller */
    justify-content: start;
    overflow-x: auto; scroll-snap-type: x mandatory;
    /* start-aligned snap keeps scroll position 0 valid; center alignment
       makes the first card's snap point unreachable and iOS Safari then
       snaps to card two on load, hiding the first screen. */
    scroll-padding-inline-start: 24px;
    -webkit-overflow-scrolling: touch;
    padding: 4px 24px 8px; margin-inline: -24px;
    scrollbar-width: none;
  }
  .screens-row::-webkit-scrollbar { display: none; }
  .screen-card { scroll-snap-align: start; }
  /* Horizontally offscreen cards never intersect the viewport, so the
     scroll-reveal animation would leave them invisible mid-swipe. Inside
     the scroller, cards are always shown. */
  .screens-row .reveal { opacity: 1; transform: none; transition: none; }
  .screens-dots { display: flex; }
}

/* ---------- Sports band ---------- */
.sports-band { padding: clamp(90px, 14vh, 160px) 0; background: var(--surface); border-block: 1px solid var(--line); text-align: center; }
.sports-band .body-lg { margin-inline: auto; }
.sport-cloud {
  list-style: none; padding: 0; margin: clamp(36px, 5vh, 56px) auto 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  max-width: 880px;
}
.sport-cloud li {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 16px;
  transition: border-color .15s ease, transform .15s ease;
}
.sport-cloud li:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.sport-cloud li span { font-size: 17px; }
.sport-cloud a { color: var(--ink); display: inline-flex; align-items: center; gap: 7px; }
.sport-note { margin: 28px auto 0; color: var(--ink-soft); font-size: 15px; max-width: 560px; }
.sport-stats {
  display: flex; justify-content: center; align-items: baseline;
  gap: clamp(22px, 5vw, 52px); flex-wrap: wrap;
  margin: clamp(30px, 4vh, 44px) auto 0;
}
.sport-stats b {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.sport-stats .stat-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); margin-left: 8px;
}

/* ---------- Sport landing pages ---------- */
.sp-hero { padding: calc(var(--nav-h) + clamp(48px, 8vh, 90px)) 0 clamp(60px, 9vh, 100px); text-align: center; }
.sp-crumbs { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 26px; }
.sp-crumbs a { color: var(--ink-soft); }
.sp-emoji { font-size: 54px; line-height: 1; margin-bottom: 18px; }
.sp-hero h1 { font-size: clamp(38px, 6vw, 72px); }
.sp-hero .body-lg { margin-inline: auto; }
.sp-section { padding: clamp(70px, 11vh, 130px) 0; }
.sp-section:nth-of-type(odd) { background: var(--surface); border-block: 1px solid var(--line); }
.sp-section h2 { font-size: clamp(28px, 3.8vw, 44px); }
.sp-drills { display: flex; flex-direction: column; gap: 22px; margin-top: clamp(34px, 5vh, 52px); }
.sp-drill {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-card); box-shadow: var(--shadow);
  padding: 28px 30px; text-align: left;
}
.sp-section:nth-of-type(even) .sp-drill { background: var(--surface); }
.sp-drill h3 { font-size: 22px; font-weight: 800; margin: 4px 0 8px; }
.sp-drill__desc { color: var(--ink-soft); font-size: 16px; }
.sp-drill__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.sp-drill__chips .chip { font-size: 12px; padding: 5px 12px; background: var(--surface-2); }
.sp-drill__how { font-size: 15px; line-height: 1.65; color: var(--ink); margin-bottom: 14px; }
.sp-drill__cue {
  font-size: 14.5px; line-height: 1.6; color: var(--ink-soft);
  background: var(--accent-wash); border-radius: 10px; padding: 12px 16px;
}
.sp-drill__cue b { color: var(--accent-deep); font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-right: 6px; }
.pillar-eyebrow.phys { color: var(--p-phys); }
.pillar-eyebrow.tac { color: var(--p-tac); }
.pillar-eyebrow.psy { color: var(--p-psy); }
.pillar-eyebrow.soc { color: var(--p-soc); }
.sp-drill .pillar-eyebrow { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 4px; font-size: 11px; }
.sp-more { margin-top: 26px; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.sp-stage { font-size: 15px; font-family: var(--font-mono); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-deep); margin: 34px 0 12px; }
.sp-ms { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sp-ms li {
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); text-align: left;
}
.sp-ms li b { color: var(--ink); }
.sp-milestones .sp-ms li, .sp-section:nth-of-type(even) .sp-ms li { background: var(--surface); }
.sp-hero, .sp-section { text-align: center; }
.sp-others .sport-cloud a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
