/* ==========================================================================
   THRIVE — Athlete Optimization & Performance Lab
   1. Tokens   2. Base   3. Utilities & components   4. Navigation
   5. Hero     6. Sections   7. Footer   8. Responsive   9. Reduced motion
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  /* Brand palette (from THRIVE visual identity) */
  --royal: #1733b5;
  --electric: #1c4bf4;
  --sky: #22b0ff;
  --lime: #afff61;
  --mist: #ededed;

  /* Derived depth tones */
  --navy-990: #01051a;
  --navy-950: #020720;
  --navy-900: #050d33;
  --navy-800: #0a1650;
  --navy-700: #0f2170;

  --text: #eef1ff;
  --text-muted: rgba(220, 228, 255, 0.68);
  --text-faint: rgba(220, 228, 255, 0.42);
  --ink: #081245;
  --ink-muted: rgba(8, 18, 69, 0.66);
  --line: rgba(160, 185, 255, 0.14);
  --line-strong: rgba(160, 185, 255, 0.28);

  --font-display: "Adero", "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 4.5vw, 4rem);
  --section-y: clamp(96px, 13vw, 12.5rem);
  --radius: 1.375rem;
  --radius-lg: 2.25rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Adero is the brand display face; loaded if the licensed file is added. */
@font-face {
  font-family: "Adero";
  src: local("Adero"), local("Adero-Bold");
  font-weight: 700;
  font-display: swap;
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
body {
  margin: 0;
  background: var(--navy-950);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(15px, 0.95rem + 0.1vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; /* fallback: Safari < 16 */
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--lime); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: 6px; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  padding: 10px 18px; border-radius: 999px;
  background: var(--lime); color: var(--navy-950); font-weight: 700;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 16px; }

/* 3. UTILITIES & COMPONENTS ------------------------------------------------ */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.text-lime { color: var(--lime); }
.text-sky { color: var(--sky); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sky);
}
.eyebrow--ink { color: var(--electric); }
.eyebrow__dot {
  width: 0.4375rem; height: 0.4375rem; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(175, 255, 97, 0.14), 0 0 14px rgba(175, 255, 97, 0.7);
  flex: none;
}
.eyebrow--ink .eyebrow__dot { background: var(--electric); box-shadow: 0 0 0 4px rgba(28, 75, 244, 0.14); }

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 1.1rem + 3vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Split-text wrappers (created by JS) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.w > span { display: inline-block; will-change: transform; }

/* Buttons */
.btn {
  --h: 3.5rem;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px;
  height: var(--h); padding: 0 1.75rem;
  border-radius: 999px;
  font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em;
  transition: color .4s var(--ease-out), border-color .4s, transform .4s var(--ease-out), box-shadow .4s;
}
.btn--sm { --h: 2.875rem; padding: 0 1.25rem; font-size: 0.82rem; }
.btn__icon { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn--primary {
  background: var(--lime); color: var(--navy-950);
  box-shadow: 0 0 0 0 rgba(175, 255, 97, 0.5), 0 10px 40px -10px rgba(175, 255, 97, 0.55);
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: #fff; transform: translateY(101%); border-radius: inherit;
  transition: transform .5s var(--ease-out);
}
.btn--primary:hover::before { transform: translateY(0); }
.btn--primary:hover { box-shadow: 0 0 0 6px rgba(175, 255, 97, 0.14), 0 14px 50px -10px rgba(175, 255, 97, 0.7); }
.btn--ghost { color: var(--text); border: 1px solid var(--line-strong); background: rgba(10, 22, 80, 0.25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(90deg, rgba(34, 176, 255, .18), rgba(28, 75, 244, .3));
  opacity: 0; transition: opacity .4s;
}
.btn--ghost:hover { border-color: rgba(34, 176, 255, 0.6); }
.btn--ghost:hover::before { opacity: 1; }

.glass {
  background: linear-gradient(145deg, rgba(23, 51, 181, 0.32), rgba(5, 13, 51, 0.5));
  border: 1px solid rgba(160, 185, 255, 0.18);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 80px -30px rgba(0, 0, 0, 0.6);
}

/* HUD caption strip */
.hud-caption {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  margin-top: 18px;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint);
}
.hud-caption span { display: inline-flex; align-items: center; gap: 8px; }
.hud-caption span::before { content: ""; width: 14px; height: 1px; background: var(--sky); }

/* HUD corner brackets */
.hud-corners { position: absolute; inset: 14px; pointer-events: none; z-index: 2; }
.hud-corners::before, .hud-corners::after {
  content: ""; position: absolute; width: 22px; height: 22px;
  border: 1.5px solid rgba(175, 255, 97, 0.9);
}
.hud-corners::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud-corners::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* Goal block (shared across services) */
.goal {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start;
  padding: 28px 0 0; margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.goal__label {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(175, 255, 97, 0.1); border: 1px solid rgba(175, 255, 97, 0.35);
  color: var(--lime); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  white-space: nowrap;
}
.goal p { font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.35rem); line-height: 1.5; color: var(--text); max-width: 46ch; font-weight: 500; }
.goal--light { border-color: rgba(8, 18, 69, 0.14); }
.goal--light .goal__label { background: var(--navy-900); color: var(--lime); border-color: transparent; }
.goal--light p { color: var(--ink); }

/* Service head */
.svc-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 4rem); align-items: start; max-width: 66rem; }
.svc-head .eyebrow { margin-bottom: 22px; }
.svc-head__num {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(3rem, 2rem + 4vw, 6.5rem); line-height: 0.85;
  color: transparent; -webkit-text-stroke: 1px rgba(34, 176, 255, 0.55);
}
.svc-head--light .svc-head__num { -webkit-text-stroke-color: rgba(28, 75, 244, 0.45); }
.svc-head--light .h2 { color: var(--ink); }
.svc-head--stack { grid-template-columns: 1fr; gap: 18px; }

/* 4. NAVIGATION ------------------------------------------------------------ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: transform .6s var(--ease-out), background-color .5s, border-color .5s, backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.nav__inner { display: flex; align-items: center; gap: 2rem; height: 5.25rem; transition: height .5s var(--ease-out); }
.nav.is-scrolled {
  background: rgba(2, 7, 32, 0.66);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}
.nav.is-scrolled .nav__inner { height: 4.25rem; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nav__logo img { height: 2.625rem; width: auto; transition: height .5s var(--ease-out); }
.nav.is-scrolled .nav__logo img { height: 2.125rem; }
.nav__wordmark { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 600; letter-spacing: 0.32em; font-size: 0.9rem; line-height: 1.1; }
.nav__wordmark small { font-family: var(--font-body); font-weight: 500; font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-faint); margin-top: 4px; }
.nav__links { display: flex; gap: 6px; padding: 6px; border-radius: 999px; border: 1px solid var(--line); background: rgba(5, 13, 51, 0.35); }
.nav__links a {
  position: relative; padding: 8px 18px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 500; color: var(--text-muted);
  transition: color .3s, background-color .3s;
}
.nav__links a:hover { color: var(--text); }
.nav__links a.is-active { color: var(--navy-950); background: var(--text); }
.nav__toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; }
.nav__toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.nav__toggle span:first-child { top: 19px; }
.nav__toggle span:last-child { top: 26px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 22.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 22.5px; transform: rotate(-45deg); }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(110px + env(safe-area-inset-top, 0px)) var(--gutter) calc(36px + env(safe-area-inset-bottom, 0px));
  background: var(--navy-950);
  clip-path: circle(0% at calc(100% - 44px) 42px);
  transition: clip-path .8s var(--ease-io);
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  gap: 32px;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 42px); }
.menu__glow { position: absolute; width: 120vw; height: 120vw; right: -60vw; top: -40vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(28, 75, 244, 0.55), transparent); pointer-events: none; }
.menu__links { position: relative; display: flex; flex-direction: column; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 8vw, 2.6rem); letter-spacing: -0.02em;
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), color .3s;
}
.menu__links a span { font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--lime); }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: .25s; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .32s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .39s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .46s; }
.menu__foot { position: relative; display: flex; flex-direction: column; gap: 6px; color: var(--text-muted); font-size: 0.95rem; }
.menu__foot p { margin-top: 14px; font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lime); }

/* Preloader */
.preloader {
  position: fixed; inset: 0; z-index: 300;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: var(--navy-950);
}
.js .preloader { display: flex; }
.preloader__ecg { width: 220px; height: 60px; overflow: visible; }
.preloader__ecg path {
  stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 420; stroke-dashoffset: 420;
  filter: drop-shadow(0 0 6px rgba(175, 255, 97, 0.8));
  animation: draw 1.4s var(--ease-io) forwards;
}
.preloader__label { font-size: 0.66rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--text-faint); }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* 5. HERO ------------------------------------------------------------------ */
.hero {
  position: relative; isolation: isolate;
  min-height: 720px;
  min-height: max(100vh, 720px); /* fallback: no svh support */
  min-height: max(100svh, 720px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem 0 10.5rem;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 75% 20%, rgba(23, 51, 181, 0.55), transparent 60%),
    radial-gradient(90% 70% at 0% 100%, rgba(10, 22, 80, 0.9), transparent 70%),
    var(--navy-990);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; will-change: transform; }
/* Soft light sources: pre-blurred radial gradients (no filter: blur cost) */
.orb--royal { width: 70vw; height: 70vw; right: -18vw; top: -24vw; background: radial-gradient(closest-side, rgba(28, 75, 244, 0.62), rgba(28, 75, 244, 0.18) 55%, transparent); animation: drift-a 22s ease-in-out infinite alternate; }
.orb--sky { width: 42vw; height: 42vw; left: 26vw; bottom: -20vw; background: radial-gradient(closest-side, rgba(34, 176, 255, 0.32), transparent); animation: drift-b 26s ease-in-out infinite alternate; }
.orb--lime { width: 26vw; height: 26vw; left: -8vw; top: 18vh; background: radial-gradient(closest-side, rgba(175, 255, 97, 0.12), transparent); animation: drift-c 30s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate3d(-6vw, 5vw, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(8vw, -6vw, 0) scale(1.15); } }
@keyframes drift-c { to { transform: translate3d(6vw, 10vh, 0) scale(0.9); } }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(140, 170, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 170, 255, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000, transparent 75%);
}

.hero__athlete {
  position: absolute; z-index: -1;
  right: max(-4vw, calc((100vw - 1600px) / 2));
  top: 0; bottom: 0;
  width: min(58vw, 980px);
  --beat: 0;
}
.hero__athlete img {
  width: 100%; height: 100%; object-fit: cover; object-position: 55% 18%;
  -webkit-mask-image: radial-gradient(ellipse 62% 70% at 58% 40%, #000 38%, rgba(0,0,0,.55) 62%, transparent 82%);
  mask-image: radial-gradient(ellipse 62% 70% at 58% 40%, #000 38%, rgba(0,0,0,.55) 62%, transparent 82%);
  filter: brightness(calc(0.92 + var(--beat) * 0.18)) saturate(1.1);
  will-change: transform;
}
.hero__rings { position: absolute; left: 66%; top: 31%; width: 0; height: 0; pointer-events: none; }
.hero__rings i {
  position: absolute; left: 0; top: 0;
  width: 13.75rem; height: 13.75rem; margin: -6.875rem 0 0 -6.875rem;
  border-radius: 50%;
  border: 1px solid rgba(175, 255, 97, 0.55);
  box-shadow: 0 0 30px rgba(175, 255, 97, 0.18), inset 0 0 30px rgba(34, 176, 255, 0.15);
  opacity: 0;
}

.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

.hero__content { position: relative; z-index: 2; }
.hero__eyebrow { margin-bottom: clamp(22px, 3vw, 34px); }
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.7rem, 1rem + 5.6vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line--accent > span {
  color: var(--lime);
}
.hero__lead {
  max-width: 34ch; margin-top: clamp(22px, 3vw, 32px);
  font-size: clamp(1rem, 0.9rem + 0.35vw, 1.2rem); line-height: 1.6; color: var(--text-muted);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(28px, 4vw, 44px); }

.hero__systems {
  position: absolute; left: 0; right: 0; bottom: 34px; z-index: 2;
  display: grid; grid-template-columns: repeat(3, minmax(0, 13.75rem)); gap: 1.125rem;
}
.hero__systems li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, rgba(23, 51, 181, 0.22), rgba(2, 7, 32, 0.35));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.hero__systems svg { width: 4rem; height: 1.5rem; flex: none; overflow: visible; }
.hero__systems span { display: flex; flex-direction: column; font-size: 0.8rem; font-weight: 600; line-height: 1.3; }
.hero__systems small { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint); }
.spark { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60 200; animation: spark 2.6s linear infinite; }
.spark--ecg { stroke: var(--lime); }
.spark--breath { stroke: var(--sky); animation-duration: 3.6s; }
.spark--meta { stroke: var(--lime); animation-duration: 4.2s; }
.spark--meta2 { stroke: var(--sky); animation-duration: 4.2s; animation-delay: -2s; }
@keyframes spark { from { stroke-dashoffset: 260; } to { stroke-dashoffset: 0; } }

.hero__aside {
  position: absolute; right: calc(var(--gutter) * 0.6); top: 50%; z-index: 2;
  writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
  font-size: 0.64rem; letter-spacing: 0.5em; text-transform: uppercase; color: var(--text-faint);
  display: flex; align-items: center; gap: 16px;
}
.hero__aside::before { content: ""; width: 1px; height: 70px; background: linear-gradient(var(--sky), transparent); }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 40px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  font-size: 0.64rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--text-muted);
}
.hero__scroll-line { position: relative; width: 1px; height: 46px; background: var(--line-strong); overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--lime); animation: scrollcue 2s var(--ease-io) infinite; }
@keyframes scrollcue { to { top: 100%; } }

/* Hero intro initial states (JS present) */
.js .hero__title .line > span { transform: translateY(110%); }
.js [data-hero-in] { opacity: 0; transform: translateY(18px); }
.js .hero__athlete { opacity: 0; }

/* 6. SECTIONS -------------------------------------------------------------- */

/* --- For everyone --- */
.everyone { position: relative; padding: var(--section-y) 0 calc(var(--section-y) * 0.7); overflow: hidden; }
.everyone__glow {
  position: absolute; left: 50%; top: 0; width: 120vw; height: 60vw; transform: translate(-50%, -55%);
  background: radial-gradient(closest-side, rgba(28, 75, 244, 0.35), transparent);
  pointer-events: none;
}
.everyone .eyebrow { margin-bottom: 36px; }
.everyone__title {
  position: relative;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.2rem, 0.8rem + 5.4vw, 6.4rem);
  line-height: 1.02; letter-spacing: -0.035em;
  max-width: 14ch;
}
.everyone__title em { font-style: normal; color: var(--lime); }
.everyone__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 120px); margin-top: clamp(48px, 7vw, 96px); align-items: end; }
.everyone__lead { font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem); color: var(--text-muted); max-width: 52ch; }
.audience { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.audience li {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); font-weight: 500;
  transition: padding-left .5s var(--ease-out), color .3s;
}
.audience li:hover { padding-left: 14px; color: var(--lime); }
.audience__idx { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); font-family: var(--font-body); font-size: 0.68rem; color: var(--sky); }

/* --- Who we are --- */
.who { position: relative; padding: calc(var(--section-y) * 0.5) 0 var(--section-y); }
.who__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.who__media { position: relative; }
.who__frame {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5.4;
  border-radius: 220px 220px var(--radius) var(--radius);
  background: var(--navy-900);
}
.who__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(2, 7, 32, 0.7)); }
.who__frame img { width: 100%; height: 118%; object-fit: cover; position: absolute; top: -9%; }
.who__body .eyebrow { margin-bottom: 24px; }
.who__intro { margin-top: 28px; font-size: clamp(1rem, 0.95rem + 0.25vw, 1.15rem); color: var(--text-muted); max-width: 54ch; }
.insight { margin-top: 44px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(140deg, rgba(23, 51, 181, 0.18), rgba(2, 7, 32, 0)); }
.insight__label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint); }
.insight__list { margin-top: 12px; }
.insight__list li { display: flex; align-items: baseline; gap: 16px; padding: 6px 0; font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + 1vw, 2rem); font-weight: 500; letter-spacing: -0.02em; }
.insight__list span { font-family: var(--font-body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; color: var(--lime); }
.insight__text { margin-top: 14px; color: var(--text-muted); font-size: 0.95rem; }
.who__quote { margin-top: 36px; padding-left: 22px; border-left: 2px solid var(--lime); }
.who__quote p { font-size: 1.02rem; color: var(--text); font-style: italic; max-width: 56ch; }

/* --- Services index --- */
.services { position: relative; padding: var(--section-y) 0; background: linear-gradient(180deg, var(--navy-950), var(--navy-900) 60%, var(--navy-950)); }
.services__head { display: flex; flex-direction: column; gap: 22px; margin-bottom: clamp(40px, 6vw, 80px); }
.svc-list { border-top: 1px solid var(--line); counter-reset: svc; }
.svc-row {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 5rem minmax(0, 1.25fr) minmax(0, 1fr) 3.5rem; gap: 1.75rem; align-items: center;
  padding: clamp(26px, 3vw, 40px) 8px;
  border-bottom: 1px solid var(--line);
  transition: padding .6s var(--ease-out);
}
.svc-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(28, 75, 244, 0.28), rgba(34, 176, 255, 0.08) 60%, transparent);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-out);
}
.svc-row:hover::before, .svc-row:focus-visible::before { transform: scaleY(1); }
.svc-row:hover { padding-left: 28px; }
.svc-row__num { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; color: var(--sky); }
.svc-row__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 0.9rem + 1.5vw, 2.35rem); line-height: 1.08; letter-spacing: -0.025em; }
.svc-row__desc { color: var(--text-muted); font-size: 0.98rem; max-width: 34ch; }
.svc-row__arrow { width: 3.5rem; height: 3.5rem; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background-color .4s, border-color .4s, transform .5s var(--ease-out); }
.svc-row__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transform: rotate(45deg); transition: transform .5s var(--ease-out); }
.svc-row:hover .svc-row__arrow { background: var(--lime); border-color: var(--lime); color: var(--navy-950); }
.svc-row:hover .svc-row__arrow svg { transform: rotate(90deg); }
.svc-preview {
  position: fixed; left: 0; top: 0; z-index: 5; pointer-events: none;
  width: 17.5rem; height: 21.25rem; margin: -10.625rem 0 0 -8.75rem;
  border-radius: 140px 140px 18px 18px; overflow: hidden;
  opacity: 0; visibility: hidden; transform: scale(0.6);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(175, 255, 97, 0.25);
}
.svc-preview img { width: 100%; height: 100%; object-fit: cover; }

/* --- 01 VO2 --- */
.vo2 { position: relative; padding: var(--section-y) 0; overflow: hidden; }
.vo2::before {
  content: ""; position: absolute; right: -20vw; top: 10%; width: 70vw; height: 70vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(28, 75, 244, 0.3), transparent); pointer-events: none;
}
.vo2__mega {
  position: absolute; top: clamp(40px, 6vw, 90px); left: 0; white-space: nowrap; pointer-events: none;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(7rem, 22vw, 24rem); line-height: 0.8; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(34, 176, 255, 0.1);
}
.vo2 .container { position: relative; }
.vo2__lab { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 100px); margin-top: clamp(56px, 8vw, 110px); align-items: center; }
.vo2__photos { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 0; align-items: start; }
.lab-photo { position: relative; }
.lab-photo--b { margin-top: 38%; margin-left: -18%; z-index: 2; }
.lab-photo__frame { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 4; background: var(--navy-800); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8); }
.lab-photo--b .lab-photo__frame { aspect-ratio: 9 / 15; border: 6px solid var(--navy-950); }
.lab-photo__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lab-photo__raw { clip-path: circle(0% at var(--mx, 50%) var(--my, 50%)); transition: clip-path .8s var(--ease-out); }
.lab-photo:hover .lab-photo__raw { clip-path: circle(85% at var(--mx, 50%) var(--my, 50%)); }
.lab-photo--a figcaption { max-width: 74%; }
.lab-photo figcaption {
  display: flex; align-items: center; gap: 10px; margin-top: 14px;
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted);
}
.rec-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex: none; animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }

.vo2__lede { font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.35rem); line-height: 1.55; color: var(--text); }
.definition {
  position: relative; margin-top: 40px; padding: 30px 30px 32px; border-radius: var(--radius);
  background: linear-gradient(150deg, var(--electric), var(--royal) 60%, var(--navy-800));
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(28, 75, 244, 0.6);
}
.definition::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 200px; height: 200px; border-radius: 50%;
  border: 1px solid rgba(175, 255, 97, 0.35); box-shadow: 0 0 0 28px rgba(175, 255, 97, 0.05), 0 0 0 56px rgba(175, 255, 97, 0.03);
}
.definition__label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lime); }
.definition__text { margin-top: 14px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.55rem); line-height: 1.3; letter-spacing: -0.015em; }
.definition__simple { margin-top: 18px; color: rgba(238, 241, 255, 0.85); }
.definition__simple strong { color: var(--lime); font-weight: 700; }

/* Systems panel */
.systems {
  margin-top: clamp(80px, 10vw, 150px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(10, 22, 80, 0.7), rgba(2, 7, 32, 0.6));
  overflow: hidden;
}
.systems__tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.systems__tabs button {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 24px 28px; text-align: left;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(0.85rem, 0.75rem + 0.4vw, 1.05rem);
  color: var(--text-faint); transition: color .3s, background-color .3s;
}
.systems__tabs button + button { border-left: 1px solid var(--line); }
.systems__tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.systems__tabs button[aria-selected="true"] { color: var(--text); background: rgba(28, 75, 244, 0.12); }
.systems__tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.systems__tabs button:hover { color: var(--text); }
.systems__num { font-family: var(--font-body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; color: var(--sky); }
.systems__stage { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: 23.75rem; }
.systems__viz { position: relative; padding: 36px; border-right: 1px solid var(--line); }
.systems__viz svg { width: 100%; height: 18.75rem; overflow: visible; }
.viz-grid line { stroke: rgba(140, 170, 255, 0.08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.viz { opacity: 0; transition: opacity .6s; }
.viz.is-active { opacity: 1; }
.viz path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.viz .glow { stroke-width: 8; opacity: 0.16; }
.viz .main { stroke-width: 2.2; }
.viz text { font-family: var(--font-body); font-size: 11px; letter-spacing: 0.14em; fill: var(--text-faint); text-transform: uppercase; }
.systems__legend { display: flex; gap: 22px; margin-top: 10px; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.systems__legend span { display: inline-flex; align-items: center; gap: 8px; }
.systems__legend i { width: 18px; height: 2px; border-radius: 2px; }
.systems__panels { position: relative; padding: clamp(28px, 4vw, 52px); display: flex; align-items: center; }
.systems__panel h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 1.1rem + 1vw, 2.1rem); letter-spacing: -0.02em; line-height: 1.1; }
.systems__panel p { margin-top: 18px; color: var(--text-muted); font-size: 1.05rem; max-width: 38ch; }

/* Direct testing */
.direct {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px);
  margin-top: clamp(64px, 8vw, 120px); align-items: center;
}
.direct__kicker { font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1.2vw, 2.2rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 500; max-width: 18ch; }
.direct__but { margin-top: 8px; font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 2rem + 4vw, 6rem); line-height: 1; color: var(--lime); letter-spacing: -0.04em; }
.direct__but span { display: inline-grid; place-items: center; width: 1.45em; height: 1.45em; margin-left: 0.3em; border-radius: 50%; background: var(--lime); color: var(--navy-950); font-size: 0.42em; line-height: 1; vertical-align: 0.6em; box-shadow: 0 0 0 8px rgba(175, 255, 97, 0.12); }
.direct__note { margin-top: 14px; color: var(--text-muted); max-width: 36ch; }
.direct__label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sky); margin-bottom: 18px; }
.direct__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.direct__list li {
  display: flex; flex-direction: column; gap: 22px;
  padding: 22px; border-radius: 18px; border: 1px solid var(--line);
  background: rgba(10, 22, 80, 0.35);
  font-weight: 600; font-size: 0.98rem; line-height: 1.35;
  transition: border-color .4s, transform .5s var(--ease-out), background-color .4s;
}
.direct__list li:hover { border-color: rgba(175, 255, 97, 0.5); transform: translateY(-4px); background: rgba(23, 51, 181, 0.35); }
.direct__ico { display: grid; place-items: center; width: 2.875rem; height: 2.875rem; border-radius: 14px; background: rgba(175, 255, 97, 0.1); color: var(--lime); font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; }
.direct__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* --- 02 RMR (light, "at rest") --- */
.rmr {
  position: relative; z-index: 1;
  padding: var(--section-y) 0;
  background: var(--mist);
  color: var(--ink);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: 20px;
}
.rmr__stage { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); margin-top: clamp(56px, 8vw, 110px); }
.rmr__photo figcaption { margin-top: 14px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }
.rmr__frame { position: relative; overflow: hidden; border-radius: 999px 999px 26px 26px; aspect-ratio: 3 / 4; background: #dcdfe8; }
.rmr__frame img { position: absolute; top: -10%; left: 0; width: 100%; height: 120%; object-fit: cover; }
.rmr__photo--b { margin-top: 30%; }
.rmr__photo--b .rmr__frame { border-radius: 26px 26px 999px 999px; }

.breath { position: relative; width: clamp(200px, 22vw, 18.75rem); aspect-ratio: 1; display: grid; place-items: center; }
.breath__rings { position: absolute; inset: 0; }
.breath__rings span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(28, 75, 244, 0.22); animation: breathe 10s var(--ease-io) infinite; }
.breath__rings span:nth-child(2) { inset: 12%; animation-delay: -.3s; border-color: rgba(28, 75, 244, 0.32); }
.breath__rings span:nth-child(3) { inset: 24%; animation-delay: -.6s; border-color: rgba(28, 75, 244, 0.45); }
.breath__rings span:nth-child(4) { inset: 27%; animation-delay: -.9s; background: radial-gradient(circle, var(--electric), var(--royal)); border: 0; box-shadow: 0 20px 60px -10px rgba(28, 75, 244, 0.6); }
@keyframes breathe { 0%, 100% { transform: scale(0.82); } 50% { transform: scale(1.06); } }
.breath__core { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; color: #fff; text-align: center; }
.breath__state { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; letter-spacing: 0.04em; }
.breath__sub { font-size: 0.58rem; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.7; margin-top: 2px; }

.rmr__copy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); margin-top: clamp(56px, 7vw, 100px); align-items: start; }
.rmr__lede { font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.35rem); line-height: 1.55; color: var(--ink); }
.rmr__copy .goal { margin-top: 0; grid-template-columns: 1fr; gap: 16px; padding-top: 0; border-top: 0; }

/* --- 03 Nutrition --- */
.nutrition {
  position: relative; z-index: 2; padding: var(--section-y) 0; overflow: hidden;
  background: radial-gradient(90% 70% at 15% 40%, rgba(23, 51, 181, 0.45), transparent 70%), var(--navy-950);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: calc(var(--radius-lg) * -1);
}
.nutrition__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.plate { position: relative; width: min(100%, 35rem); aspect-ratio: 1; margin-inline: auto; }
.plate__orbit { position: absolute; inset: -6%; width: 112%; height: 112%; overflow: visible; }
.plate__orbit circle { fill: none; stroke: rgba(34, 176, 255, 0.25); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plate__orbit .plate__dash { stroke: rgba(175, 255, 97, 0.55); stroke-dasharray: 2 10; }
.plate__img { position: absolute; inset: 8%; border-radius: 50%; overflow: hidden; background: #e9eaec; box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.8), 0 0 0 10px rgba(255, 255, 255, 0.03), 0 0 120px rgba(28, 75, 244, 0.4); }
.plate__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.32); }
.plate__tag {
  position: absolute; z-index: 2; padding: 9px 16px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(2, 7, 32, 0.72); border: 1px solid rgba(175, 255, 97, 0.4); color: var(--lime);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.plate__tag::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); margin-right: 10px; vertical-align: 1px; }
.plate__tag--1 { top: 6%; left: -2%; }
.plate__tag--2 { top: 48%; right: -8%; }
.plate__tag--3 { bottom: 4%; left: 8%; }
.nutrition__lede { margin-top: 26px; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem); color: var(--text-muted); max-width: 46ch; }
.numbered { margin-top: 36px; counter-reset: n; border-top: 1px solid var(--line); }
.numbered li {
  counter-increment: n; display: flex; align-items: baseline; gap: 20px;
  padding: 15px 0; border-bottom: 1px solid var(--line); font-weight: 500;
  transition: color .3s, padding-left .5s var(--ease-out);
}
.numbered li::before { content: counter(n, decimal-leading-zero); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; color: var(--sky); min-width: 22px; }
.numbered li:hover { color: var(--lime); padding-left: 10px; }

/* --- 04 Recovery (sticky immersive) --- */
.recovery { position: relative; background: var(--navy-990); }
.recovery__media { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.recovery__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform-origin: 50% 40%; }
.recovery__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 5, 26, 0.92) 0%, rgba(1, 5, 26, 0.55) 48%, rgba(1, 5, 26, 0.2) 100%),
    linear-gradient(180deg, var(--navy-990) 0%, transparent 22%, transparent 70%, var(--navy-990) 100%);
}
.recovery__content { position: relative; margin-top: -100vh; margin-top: -100svh; padding-top: 22vh; padding-bottom: var(--section-y); }
.recovery__head { max-width: 56rem; }
.recovery__head .svc-head__num { display: block; margin-bottom: 26px; }
.recovery__head .eyebrow { margin-bottom: 24px; }
.recovery__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.3rem, 1rem + 5vw, 6rem); line-height: 1; letter-spacing: -0.035em;
}
.recovery__title em { font-style: normal; color: var(--lime); display: inline-block; }
.recovery__card { margin-top: clamp(60px, 22vh, 260px); max-width: 35rem; padding: clamp(28px, 3vw, 42px); border-radius: var(--radius-lg); }
.recovery__lede { font-size: 1.08rem; line-height: 1.6; }
.checklist { margin-top: 26px; display: grid; gap: 4px; }
.checklist li { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); color: var(--text); font-weight: 500; }
.checklist li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5' fill='none' stroke='%23020720' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.recovery__goal { max-width: 47.5rem; margin-top: clamp(80px, 20vh, 220px); margin-left: auto; }

/* --- Marquee --- */
.marquee-wrap { position: relative; z-index: 3; overflow: hidden; padding-block: clamp(30px, 4vw, 70px); margin-block: 10px -40px; }
.marquee { position: relative; overflow: hidden; padding: 30px 0; background: var(--lime); color: var(--navy-950); transform: rotate(-2deg) scale(1.04); }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 1rem + 3vw, 3.6rem); text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; }
.marquee i { width: 18px; height: 18px; border-radius: 50%; background: var(--navy-950); flex: none; }
@keyframes marquee { to { transform: translateX(-16.6667%); } }

/* --- Sports clubs --- */
.clubs { position: relative; padding-bottom: var(--section-y); background: var(--navy-990); }
.clubs__hero { position: relative; min-height: clamp(560px, 95vh, 980px); display: flex; align-items: flex-end; overflow: hidden; padding-bottom: clamp(64px, 8vw, 120px); }
.clubs__bg { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: 50% 60%; }
.clubs__veil { position: absolute; inset: 0; background: linear-gradient(180deg, var(--navy-990) 0%, rgba(1, 5, 26, 0.1) 30%, rgba(1, 5, 26, 0.35) 65%, var(--navy-990) 100%); }
.clubs__intro { position: relative; }
.clubs__intro .eyebrow { margin-bottom: 26px; }
.clubs__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 1rem + 5.2vw, 6.4rem); line-height: 0.98; letter-spacing: -0.04em; max-width: 12ch; }
.clubs__lede { margin-top: 26px; font-size: clamp(1rem, 0.95rem + 0.35vw, 1.25rem); color: var(--text-muted); max-width: 44ch; }
.club-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.club-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 2.875rem; min-height: 14.375rem;
  padding: 1.875rem; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(10, 22, 80, 0.6), rgba(2, 7, 32, 0.6));
  transition: border-color .5s, transform .6s var(--ease-out);
}
.club-card::before {
  content: ""; position: absolute; z-index: -1; width: 300px; height: 300px; border-radius: 50%;
  left: var(--mx, 50%); top: var(--my, 50%); transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(28, 75, 244, 0.45), transparent);
  opacity: 0; transition: opacity .5s;
}
.club-card:hover { border-color: rgba(34, 176, 255, 0.4); transform: translateY(-6px); }
.club-card:hover::before { opacity: 1; }
.club-card svg { width: 2.5rem; height: 2.5rem; fill: none; stroke: var(--lime); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.club-card__num { position: absolute; right: 26px; top: 28px; font-size: 0.7rem; letter-spacing: 0.14em; color: var(--text-faint); }
.club-card p { margin-top: auto; font-family: var(--font-display); font-weight: 500; font-size: clamp(1rem, 0.9rem + 0.35vw, 1.2rem); line-height: 1.3; letter-spacing: -0.01em; }

.value { margin-top: clamp(90px, 12vw, 180px); display: grid; gap: 34px; }
.value__text { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.45rem, 0.9rem + 2.3vw, 3.3rem); line-height: 1.18; letter-spacing: -0.025em; max-width: 26ch; }
.value__note { display: flex; gap: 16px; max-width: 40rem; padding: 20px 24px; border-radius: 18px; border: 1px dashed rgba(160, 185, 255, 0.3); color: var(--text-muted); font-size: 0.92rem; }
.value__note svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--sky); stroke-width: 1.6; stroke-linecap: round; }

/* --- Contact --- */
.contact { position: relative; isolation: isolate; overflow: hidden; padding: var(--section-y) 0; }
.contact__bg { position: absolute; inset: 0; z-index: -1; }
.contact__bg img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 50% 70%; }
.contact__veil { position: absolute; inset: 0; background: linear-gradient(180deg, var(--navy-990) 0%, rgba(1, 5, 26, 0.72) 35%, rgba(1, 5, 26, 0.86) 75%, var(--navy-990) 100%); }
.contact__inner .eyebrow { margin-bottom: 28px; }
.contact__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 1rem + 5.6vw, 7rem); line-height: 0.98; letter-spacing: -0.04em; max-width: 13ch; }
.contact__lede { margin-top: 26px; color: var(--text-muted); font-size: clamp(1rem, 0.95rem + 0.35vw, 1.25rem); max-width: 44ch; }
.contact-list { margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line-strong); }
.contact-list a {
  position: relative; display: grid; grid-template-columns: 10rem 1fr 3.25rem; gap: 1.5rem; align-items: center;
  padding: clamp(20px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--line-strong);
  transition: padding .6s var(--ease-out);
}
.contact-list a::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.contact-list a:hover::after { transform: scaleX(1); }
.contact-list a:hover { padding-left: 16px; }
.contact-list__label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sky); }
.contact-list__value { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem, 0.8rem + 1.2vw, 2rem); letter-spacing: -0.02em; line-height: 1.2; overflow-wrap: anywhere; }
.contact-list__arrow { width: 3.25rem; height: 3.25rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: background-color .4s, color .4s, border-color .4s; }
.contact-list__arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-list a:hover .contact-list__arrow { background: var(--lime); color: var(--navy-950); border-color: var(--lime); }

/* 7. FOOTER ---------------------------------------------------------------- */
.footer { position: relative; padding: 0 0 calc(32px + env(safe-area-inset-bottom, 0px)); background: var(--navy-990); }
.footer__ecg { width: 100%; height: 60px; }
.footer__ecg path { fill: none; stroke: var(--lime); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; opacity: 0.8; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-top: 56px; padding-bottom: 56px; }
.footer__brand img { width: 6.875rem; }
.footer__tag { margin-top: 22px; font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); }
.footer__nav { display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; color: var(--text-muted); }
.footer__nav a { width: fit-content; transition: color .3s; }
.footer__nav a:hover { color: var(--lime); }
.footer__head { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 8px; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--text-faint); }

/* 8. RESPONSIVE ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .svc-row { grid-template-columns: 56px minmax(0, 1fr) 52px; }
  .svc-row__desc { grid-column: 2; grid-row: 2; }
  .svc-row__arrow { grid-row: 1 / span 2; grid-column: 3; width: 52px; height: 52px; }
  .vo2__lab { grid-template-columns: 1fr; }
  .vo2__photos { max-width: 45rem; }
  .systems__stage { grid-template-columns: 1fr; }
  .systems__viz { border-right: 0; border-bottom: 1px solid var(--line); }
  .club-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  /* Hero recomposed: athlete fills the upper frame, type sits low */
  .hero { justify-content: flex-end; padding: 120px 0 150px; min-height: max(100vh, 680px); min-height: max(100svh, 680px); }
  .hero__athlete { left: -10vw; right: -10vw; width: auto; bottom: 22%; }
  .hero__athlete img {
    object-position: 60% 20%;
    -webkit-mask-image: radial-gradient(ellipse 70% 64% at 56% 38%, #000 40%, rgba(0,0,0,.5) 64%, transparent 84%);
    mask-image: radial-gradient(ellipse 70% 64% at 56% 38%, #000 40%, rgba(0,0,0,.5) 64%, transparent 84%);
  }
  .hero__rings { left: 64%; top: 32%; }
  .hero__title { font-size: clamp(2.5rem, 11.5vw, 4.4rem); }
  .hero__lead { max-width: 40ch; }
  .hero__systems { grid-template-columns: repeat(3, auto); gap: 8px; bottom: 26px; }
  .hero__systems li { padding: 10px 12px; gap: 10px; }
  .hero__systems svg { width: 34px; }
  .hero__aside, .hero__scroll { display: none; }
  .nav__cta { display: none; }

  .everyone__grid { grid-template-columns: 1fr; }
  .who__grid { grid-template-columns: 1fr; }
  .who__media { max-width: 32.5rem; }

  .direct { grid-template-columns: 1fr; }
  .rmr__stage { grid-template-columns: 1fr 1fr; }
  .breath { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .rmr__photo--b { margin-top: 26%; }
  .rmr__copy { grid-template-columns: 1fr; }

  .nutrition__grid { grid-template-columns: 1fr; }
  .nutrition__visual { max-width: 28.75rem; width: 86%; margin-inline: auto; }
  .plate__tag--2 { right: -4%; }

  .recovery__veil { background: linear-gradient(180deg, rgba(1, 5, 26, 0.6) 0%, rgba(1, 5, 26, 0.55) 50%, rgba(1, 5, 26, 0.85) 100%); }
  .recovery__content { padding-top: 16vh; }

  .contact-list a { grid-template-columns: 1fr 44px; gap: 6px 16px; }
  .contact-list__label { grid-column: 1; }
  .contact-list__value { grid-column: 1; }
  .contact-list__arrow { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; }
}

@media (max-width: 600px) {
  :root { --radius-lg: 26px; }
  .nav__inner { height: 72px; }
  .nav__wordmark small { display: none; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
  .hero__systems { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__systems li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero__systems svg { width: 48px; height: 18px; }
  .hero__systems span { font-size: 0.68rem; }
  .hero__systems small { font-size: 0.5rem; letter-spacing: 0.14em; }

  .svc-head { grid-template-columns: 1fr; gap: 10px; }
  .svc-head__num { font-size: 3.2rem; }
  .svc-row { grid-template-columns: minmax(0, 1fr) 44px; gap: 10px 16px; padding-inline: 0; }
  .svc-row:hover { padding-left: 0; }
  .svc-row__num { grid-column: 1; }
  .svc-row__title { grid-column: 1; grid-row: 2; }
  .svc-row__desc { grid-column: 1; grid-row: 3; font-size: 0.92rem; }
  .svc-row__arrow { grid-column: 2; grid-row: 1 / span 3; width: 44px; height: 44px; }

  .vo2__photos { grid-template-columns: 1.2fr 0.8fr; }
  .lab-photo figcaption { font-size: 0.58rem; letter-spacing: 0.1em; }
  .lab-photo--b figcaption { display: none; }
  .systems__tabs { grid-template-columns: 1fr; }
  .systems__tabs button + button { border-left: 0; border-top: 1px solid var(--line); }
  .systems__tabs button { padding: 16px 22px; }
  .systems__viz { padding: 22px 18px; }
  .systems__viz svg { height: 200px; }
  .direct__list { grid-template-columns: 1fr; }
  .direct__list li { flex-direction: row; align-items: center; gap: 16px; padding: 16px; }
  .goal { grid-template-columns: 1fr; gap: 16px; }

  .rmr__stage { gap: 16px; }
  .rmr__photo figcaption { font-size: 0.58rem; letter-spacing: 0.1em; }
  .plate__tag { font-size: 0.56rem; padding: 7px 12px; }

  .club-grid { grid-template-columns: 1fr; }
  .club-card { min-height: 0; gap: 26px; padding: 24px; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
}

/* Tablets in the stacked layout: wide arch banner instead of a narrow column */
@media (min-width: 601px) and (max-width: 860px) {
  .who__media { max-width: none; }
  .who__frame { aspect-ratio: 16 / 10; border-radius: 999px 999px var(--radius) var(--radius); }
  .who__frame img { object-position: 50% 30%; }
}

/* Short portrait phones (e.g. iPhone with Safari toolbars ≈ 660px tall):
   tighten the type stack so the heartbeat has room above the headline. */
@media (max-width: 860px) and (max-height: 720px) and (orientation: portrait) {
  .hero { padding-bottom: 128px; }
  .hero__title { font-size: clamp(2.1rem, 10vw, 3.4rem); }
  .hero__eyebrow { margin-bottom: 14px; }
  .hero__lead { margin-top: 14px; }
  .hero__ctas { margin-top: 20px; }
}

/* Small phones & folded foldables (Galaxy Fold cover screen ≈ 280px) */
@media (max-width: 380px) {
  :root { --gutter: 18px; }
  .hero { padding-top: 104px; }
  .hero__eyebrow { margin-bottom: 16px; font-size: 0.6rem; letter-spacing: 0.16em; }
  .hero__title { font-size: clamp(2rem, 11vw, 2.6rem); }
  .hero__lead { font-size: 0.92rem; margin-top: 16px; }
  .hero__ctas { margin-top: 22px; gap: 10px; }
  .btn { --h: 50px; padding: 0 20px; font-size: 0.86rem; white-space: nowrap; }
  .nav__wordmark { font-size: 0.78rem; letter-spacing: 0.24em; }
  .nav__logo img { height: 34px; }
  .hero__systems li { padding: 8px; }
  .hero__systems span { font-size: 0.6rem; }
  .eyebrow { letter-spacing: 0.16em; }
  .direct__but { font-size: 2.6rem; }
  .plate__tag--2 { right: -2%; }
  .contact-list__value { font-size: min(1rem, 4.6vw); }
  .contact-list a[href^="mailto"] .contact-list__value { overflow-wrap: normal; }
}
@media (max-width: 300px) {
  .hero__systems { display: none; }
  .hero { padding-bottom: 56px; }
  .nav__wordmark { display: none; }
  .btn { padding: 0 16px; font-size: 0.8rem; }
}

/* Short landscape screens (phones/foldables on their side, small laptops):
   restore the side-by-side composition, sized from the viewport height. */
@media (orientation: landscape) and (max-height: 560px) {
  .nav__inner, .nav.is-scrolled .nav__inner { height: 60px; }
  .nav__logo img { height: 32px; }
  .hero { justify-content: center; min-height: max(100vh, 360px); min-height: max(100svh, 360px); padding: 84px 0 36px; }
  .hero__athlete { left: auto; right: -6vw; bottom: 0; width: 56vw; }
  .hero__athlete img {
    object-position: 55% 18%;
    -webkit-mask-image: radial-gradient(ellipse 62% 70% at 58% 40%, #000 38%, rgba(0,0,0,.55) 62%, transparent 82%);
    mask-image: radial-gradient(ellipse 62% 70% at 58% 40%, #000 38%, rgba(0,0,0,.55) 62%, transparent 82%);
  }
  .hero__rings { left: 66%; top: 31%; }
  .hero__eyebrow { margin-bottom: 12px; }
  .hero__title { font-size: clamp(1.8rem, 11vh, 3.4rem); }
  .hero__lead { max-width: 36ch; font-size: 0.9rem; margin-top: 12px; }
  .hero__ctas { margin-top: 18px; }
  .hero__ctas .btn { --h: 44px; flex: none; }
  .hero__systems, .hero__aside, .hero__scroll { display: none; }
  .menu { padding-top: 76px; }
  .menu__links a { font-size: clamp(1.2rem, 7vh, 1.8rem); padding: 8px 0; }
  .recovery__content { padding-top: 14vh; }
  .breath { width: 160px; }
}

/* Large & ultra-wide displays: scale the system up instead of floating in space */
@media (min-width: 1920px) {
  :root { --container: 1560px; }
  html { font-size: 17px; }
}
@media (min-width: 2560px) {
  :root { --container: 1880px; }
  html { font-size: 20px; }
  .hero__athlete { width: min(56vw, 1500px); }
}
@media (min-width: 3400px) {
  :root { --container: 2600px; }
  html { font-size: 27px; }
  .hero__athlete { width: min(56vw, 2100px); }
}

/* Hover-capable devices only for the cursor preview */
@media (hover: none) { .svc-preview { display: none; } }

/* 9. REDUCED MOTION -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .marquee__track { animation: none; }
  .preloader { display: none !important; }
  .js .hero__title .line > span, .js [data-hero-in], .js .hero__athlete { opacity: 1; transform: none; }
  .preloader__ecg path { stroke-dashoffset: 0; }
}
