:root {
  --black: #080808;
  --black-soft: #111111;
  --bone: #eeeae1;
  --white: #faf8f3;
  --red: #ff2a18;
  --silver: #a7a9a7;
  --line: rgba(238, 234, 225, .18);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --p: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--black); color: var(--bone); scroll-behavior: auto; }

/* Lenis smooth-scroll required base styles */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0;
  background: var(--black);
  color: var(--bone);
  font-family: "Manrope", Arial, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
button, input { font: inherit; }
button, a { color: inherit; }
button { cursor: pointer; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--red); color: var(--white); }

.eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 24px;
  background: var(--red);
  color: var(--black);
  overflow: hidden;
}
.loader__grid {
  position: absolute;
  inset: 0;
  opacity: .17;
  background-image:
    linear-gradient(rgba(0,0,0,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.5) 1px, transparent 1px);
  background-size: 8vw 8vw;
  transform: perspective(600px) rotateX(50deg) scale(1.5);
}
.loader__top, .loader__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
}
.loader__center { position: relative; z-index: 1; place-self: center; text-align: center; }
.loader__mark {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(80px, 15vw, 220px);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.08em;
}
.loader__mark i { width: 12vw; height: 4px; background: var(--black); }
.loader__center p { margin: 28px 0 0; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.loader__bar { width: min(480px, 70vw); height: 2px; background: rgba(0,0,0,.25); }
.loader__bar span { display: block; width: 100%; height: 100%; background: var(--black); transform: scaleX(0); transform-origin: left; }

#performance-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.no-webgl #performance-canvas { display: none; }
.no-webgl .method__frame { background: radial-gradient(circle at 62% 50%, #2b100d 0, #0b0b0b 37%, #050505 72%); }
.canvas-vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 35%, rgba(0,0,0,.42) 100%);
}
.grain { display: none; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 42px;
  padding: 20px 28px;
  color: var(--white);
  transition: background .45s, backdrop-filter .45s;
}
.site-header.is-scrolled {
  background: rgba(8,8,8,.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  mix-blend-mode: normal;
  color: var(--bone);
}
.brand {
  display: flex;
  align-items: center;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -.06em;
}
.brand__arc { letter-spacing: -.08em; }
.brand__slash { margin: 0 2px; color: var(--red); }
.header__status { display: flex; align-items: center; gap: 9px; font-size: 8.8px; font-weight: 800; letter-spacing: .18em; }
#header-credit { color: inherit; text-decoration: none; transition: opacity .2s; }
#header-credit:hover { opacity: .7; }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 14px var(--red); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; transform: scale(.65); } }
.desktop-nav { display: flex; gap: 28px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: currentColor; transition: right .4s var(--ease); }
.desktop-nav a:hover::after { right: 0; }
.header__cta {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 11px 14px;
  border: 1px solid currentColor;
  background: transparent;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.header__cta b { color: var(--red); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 11px; border: 1px solid var(--line); background: rgba(0,0,0,.35); }
.menu-toggle span { display: block; width: 100%; height: 1px; margin: 5px 0; background: var(--bone); transition: transform .3s; }
.mobile-menu { display: none; }

.progress-rail {
  position: fixed;
  right: 21px;
  top: 50%;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateY(-50%);
  mix-blend-mode: difference;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
}
.progress-rail__label { writing-mode: vertical-rl; }
.progress-rail__track { width: 1px; height: 100px; background: rgba(255,255,255,.2); }
.progress-rail__track i { display: block; width: 1px; height: 100%; background: var(--white); transform: scaleY(0); transform-origin: top; }

main, footer { position: relative; z-index: 2; }
.chapter { position: relative; height: 220vh; }
.sticky-frame {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.chapter-index {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}
.chapter-index span { color: var(--red); }
.chapter-index i { width: 48px; height: 1px; background: currentColor; opacity: .35; }
.chapter-index--light { color: var(--bone); }

.hero { height: 100vh; }
.hero__frame { background: #050505; }
/* One-shot boot scanline — fixed to the frame, never scroll-driven. */
.hero__frame::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  z-index: 1;
  height: 2px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255,42,24,.9) 25%, rgba(255,154,24,.95) 50%, rgba(255,42,24,.9) 75%, transparent);
  box-shadow: 0 0 24px rgba(255,42,24,.55);
}
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: none;
}
.hero__image-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 42%, rgba(0,0,0,.1) 65%, rgba(0,0,0,.5) 100%),
    linear-gradient(0deg, rgba(0,0,0,.72), transparent 52%);
}
.hero__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 7vw 42px;
}
.hero__copy > .eyebrow { margin: 0 0 22px 6px; color: rgba(255,255,255,.7); }
.hero h1 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(84px, 15vw, 230px);
  font-weight: 800;
  line-height: .69;
  letter-spacing: -.04em;
  text-transform: uppercase;
  position: relative;
  isolation: isolate;
}
/* Red glow spotlight sweeps across the headline — transform only, compositor path. */
.hero h1::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 55%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,42,24,.55) 0%, rgba(255,42,24,.18) 45%, transparent 75%);
  filter: blur(38px);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  will-change: transform;
}
.hero-line { display: block; backface-visibility: hidden; }
.hero-line--one { transform: none; }
.hero-line--two { margin-left: 9vw; color: transparent; -webkit-text-stroke: 2px var(--bone); transform: none; }
@supports not (-webkit-text-stroke: 1px #000) {
  .hero-line--two { color: var(--bone); }
}
.hero-line--three { margin-left: 21vw; color: var(--red); transform: none; }
.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-top: 4vh;
  padding-left: 22vw;
}
.hero__bottom p { max-width: 470px; margin: 0; color: rgba(255,255,255,.68); font-size: 17.5px; line-height: 1.7; }
.magnetic-button {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 220px;
  padding: 16px;
  border: 0;
  background: var(--red);
  color: var(--black);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: transform .35s var(--ease), background .35s;
}
.magnetic-button:hover { background: transparent; border: 1px solid var(--bone); color: var(--bone); }
.magnetic-button i { font-style: normal; font-size: 15px; }
.hero__hud { position: absolute; z-index: 2; top: 14%; display: flex; flex-direction: column; gap: 4px; font-size: 9px; letter-spacing: .18em; }
.hero__hud span { color: rgba(255,255,255,.45); }
.hero__hud strong { font-size: 11px; }
.hero__hud--left { left: 28px; }
.hero__hud--right { right: 28px; text-align: right; }
.scroll-cue {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  transform: rotate(-90deg) translateX(100%);
  transform-origin: left bottom;
}
.scroll-cue i { display: block; width: 60px; height: 1px; background: rgba(255,255,255,.45); overflow: hidden; }
.scroll-cue i::after { content: ""; display: block; width: 50%; height: 100%; background: var(--red); animation: scrollcue 1.8s var(--ease) infinite; }
@keyframes scrollcue { from { transform: translateX(-110%); } to { transform: translateX(210%); } }

.manifesto {
  min-height: 100vh;
  min-height: 100svh;
  padding: 14vh 8vw 12vh;
  background: var(--bone);
  color: var(--black);
}
.manifesto__line { width: 100%; height: 1px; margin-bottom: 10vh; background: rgba(0,0,0,.25); transform: scaleX(var(--reveal, 0)); transform-origin: left; transition: transform .9s var(--ease); }
.manifesto__statement {
  max-width: 1280px;
  margin: 7vh 0 11vh;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(58px, 9vw, 145px);
  font-weight: 700;
  line-height: .84;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.manifesto__statement em { color: var(--red); font-style: italic; }
.manifesto__proof { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(0,0,0,.25); }
.manifesto__proof div { display: flex; flex-direction: column; gap: 7px; padding: 24px 20px 0 0; border-right: 1px solid rgba(0,0,0,.2); }
.manifesto__proof strong { font-family: "Barlow Condensed", sans-serif; font-size: clamp(50px, 6vw, 90px); font-weight: 600; letter-spacing: -.04em; }
.manifesto__proof span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.scan__frame { background: var(--bone); color: var(--black); }
.scan__frame > .chapter-index { position: absolute; z-index: 4; top: 90px; left: 7vw; }
.scan__visual {
  position: absolute;
  left: 0;
  top: 0;
  width: 54%;
  height: 100%;
  overflow: hidden;
  clip-path: inset(calc(var(--p) * 5%) calc(var(--p) * 6%) calc(var(--p) * 5%) 0);
}
.scan__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 35% top; transform: scale(calc(1.15 - var(--p) * .08)); }
.scan__thermal {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: calc(.1 + var(--p) * .75);
  mix-blend-mode: color;
}
.scan__thermal::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 220%;
  top: 0;
  background: linear-gradient(180deg, transparent 0 35%, #ff2a18 48%, #ff9a18 55%, transparent 68%);
  transform: translateY(calc((1 - var(--p)) * -55%));
}
.scan__line { position: absolute; left: 0; right: 0; top: calc(var(--p) * 100%); height: 2px; background: var(--red); box-shadow: 0 0 20px var(--red), 0 -20px 60px rgba(255,42,24,.5); }
.scan__crosshair { position: absolute; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; opacity: clamp(0, calc(var(--p) * 3 - .1), 1); transform-origin: center; }
.scan__crosshair::before, .scan__crosshair::after { content: ""; position: absolute; background: rgba(255,255,255,.7); }
.scan__crosshair::before { left: 50%; top: -12px; bottom: -12px; width: 1px; }
.scan__crosshair::after { top: 50%; left: -12px; right: -12px; height: 1px; }
.scan__crosshair--a { left: 62%; top: 32%; transform: scale(clamp(.7, calc(1.5 - var(--p) * .5), 1.5)) rotate(calc(var(--p) * 45deg)); }
.scan__crosshair--b { left: 43%; top: 67%; transform: scale(clamp(.7, calc(1.5 - var(--p) * .5), 1.5)) rotate(calc(var(--p) * -32deg)); }
.scan__headline { position: absolute; z-index: 3; top: 19%; left: 56%; right: 4vw; width: auto; }
.scan__headline h2 {
  margin: 18px 0 20px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(80px, 10vw, 158px);
  font-weight: 800;
  line-height: .72;
  letter-spacing: -.06em;
}
.scan__headline h2 em { color: var(--red); font-style: italic; }
.scan__headline > p:last-child { max-width: 390px; margin-left: 9vw; font-size: 17.5px; line-height: 1.65; }
.metrics-panel { position: absolute; z-index: 4; left: 56%; right: 4vw; bottom: 7vh; display: grid; grid-template-columns: repeat(3, minmax(110px, 1fr)); border-top: 1px solid rgba(0,0,0,.25); }
.metric { padding: 16px 15px 0 0; border-right: 1px solid rgba(0,0,0,.2); }
.metric > span { display: block; height: 25px; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.metric strong { display: flex; align-items: baseline; font-family: "Barlow Condensed", sans-serif; font-size: clamp(42px, 4vw, 70px); font-weight: 600; line-height: 1; }
.metric small { font-size: 12px; }
.metric i { display: block; width: 100%; height: 3px; margin-top: 7px; background: rgba(0,0,0,.12); }
.metric i::after { content: ""; display: block; width: 100%; height: 100%; background: var(--red); transform: scaleX(calc(var(--target) * var(--p))); transform-origin: left; }

.method { height: 360vh; }
.method__frame { background: transparent; }
.method__frame::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0, calc(.28 + var(--p) * .25)); }
.method__frame > .chapter-index { position: absolute; z-index: 3; left: 7vw; top: 90px; }
.method__intro { position: absolute; z-index: 3; top: 18%; left: 7vw; }
.method__intro h2 { margin: 15px 0 0; font-family: "Barlow Condensed", sans-serif; font-size: clamp(70px, 9vw, 140px); font-weight: 700; line-height: .77; letter-spacing: -.055em; }
.method__modes { position: absolute; z-index: 3; inset: 0; }
.mode {
  position: absolute;
  right: 6vw;
  top: 18%;
  width: min(570px, 43vw);
  padding: 30px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(8,8,8,.72);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translate3d(8vw, 0, 0) scale(.94);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.mode.is-active { opacity: 1; transform: translate3d(0,0,0) scale(1); }
.mode.was-active { transform: translate3d(-6vw, 0, 0) scale(.94); }
.mode__num { margin-bottom: 12vh; color: var(--red); font-family: "Barlow Condensed", sans-serif; font-size: 18px; }
.mode span { font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.mode h3 { margin: 12px 0 22px; font-family: "Barlow Condensed", sans-serif; font-size: clamp(64px, 7vw, 106px); line-height: .77; letter-spacing: -.055em; }
.mode p { max-width: 400px; color: rgba(255,255,255,.6); font-size: 16px; line-height: 1.7; }
.mode > b { display: block; margin-top: 7vh; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); font-size: 9px; letter-spacing: .18em; }
.method__counter { position: absolute; z-index: 3; left: 7vw; bottom: 7vh; display: flex; align-items: center; gap: 10px; font-family: "Barlow Condensed", sans-serif; font-size: 17px; }
.method__scroll-hint { display: none; } /* shown only on mobile via media query */
.method__counter i { width: 80px; height: 1px; background: rgba(255,255,255,.3); }

.coaching__frame { background: var(--bone); color: var(--black); }
.coaching__image { position: absolute; left: 0; top: 0; width: 62%; height: 100%; object-fit: cover; object-position: center; transform: scale(calc(1.08 - var(--p) * .05)); }
.coaching__wipe { position: absolute; inset: 0 38% 0 0; background: var(--red); transform: scaleX(clamp(0, 1 - var(--p) * 1.25, 1)); transform-origin: right; mix-blend-mode: multiply; }
.coaching__copy { position: absolute; z-index: 3; top: 15%; left: 64%; right: 4vw; width: auto; }
.coaching__copy > .eyebrow { margin-top: 8vh; }
.coaching__copy h2 { margin: 18px 0 24px; font-family: "Barlow Condensed", sans-serif; font-size: clamp(72px, 8vw, 125px); font-weight: 800; line-height: .73; letter-spacing: -.06em; }
.coaching__copy h2 em { color: var(--red); font-style: italic; }
.coaching__copy > p:not(.eyebrow) { max-width: 430px; margin-left: 7vw; font-size: 16px; line-height: 1.7; }
.coach-signature { display: flex; flex-direction: column; gap: 4px; margin: 6vh 0 0 7vw; padding-top: 16px; border-top: 1px solid rgba(0,0,0,.25); }
.coach-signature strong { font-family: "Barlow Condensed", sans-serif; font-size: 28px; }
.coach-signature span { font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.coaching__path { position: absolute; z-index: 4; left: 0; bottom: 0; width: 62%; height: 100%; pointer-events: none; stroke: var(--red); stroke-width: 2; stroke-dasharray: 1200; stroke-dashoffset: calc(1200 - var(--p) * 1200); }
.coaching__path circle { fill: var(--red); stroke: none; transform-origin: center; transform-box: fill-box; }
.coaching__path circle:nth-child(2) { opacity: clamp(0, calc((var(--p) - .36) * 7), 1); transform: scale(clamp(0, calc((var(--p) - .36) * 5), 1.25)); }
.coaching__path circle:nth-child(3) { opacity: clamp(0, calc((var(--p) - .62) * 7), 1); transform: scale(clamp(0, calc((var(--p) - .62) * 5), 1.25)); }
.annotation { position: absolute; z-index: 5; display: flex; flex-direction: column; gap: 3px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.45); background: rgba(0,0,0,.7); color: var(--white); opacity: calc(var(--p) * 2); transform: translateY(calc((1 - var(--p)) * 30px)); }
.annotation span { font-size: 11px; letter-spacing: .18em; }
.annotation b { font-family: "Barlow Condensed", sans-serif; font-size: 20px; }
.annotation--one { left: 23%; top: 31%; }
.annotation--two { left: 42%; top: 56%; }

.recovery__frame { background: #0a0a0a; }
.recovery__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transform: scale(calc(1.12 - var(--p) * .07)); }
.recovery__glass { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.1), rgba(0,0,0,.75) 57%, rgba(0,0,0,.9)); }
.recovery__steam { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.steam__wisp {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(180,210,255,.55) 0%, rgba(180,210,255,.15) 45%, transparent 70%);
  filter: blur(28px);
  opacity: 0;
  transform: translateY(0px);
  will-change: opacity, transform;
}
.steam__wisp--1 { width: 18vw; height: 28vw; left: 28%; bottom: 38%; opacity: calc(var(--p) * 0.55); transform: translateY(calc(var(--p) * -18vh)); }
.steam__wisp--2 { width: 14vw; height: 22vw; left: 44%; bottom: 35%; opacity: calc(var(--p) * 0.4); transform: translateY(calc(var(--p) * -24vh)); }
.steam__wisp--3 { width: 20vw; height: 30vw; left: 16%; bottom: 40%; opacity: calc(var(--p) * 0.35); transform: translateY(calc(var(--p) * -14vh)); }
.steam__wisp--4 { width: 12vw; height: 20vw; left: 56%; bottom: 36%; opacity: calc(var(--p) * 0.3); transform: translateY(calc(var(--p) * -20vh)); }
@keyframes breathe { 50% { opacity: .2; } }
.recovery__copy { position: absolute; z-index: 3; left: 6vw; bottom: 12%; width: 60%; }
.recovery__copy > .eyebrow { margin-top: 0; }
.recovery__copy h2 { margin: 18px 0; font-family: "Barlow Condensed", sans-serif; font-size: clamp(72px, 9vw, 145px); line-height: .75; letter-spacing: -.06em; }
.recovery__copy h2 em { color: var(--red); font-style: italic; }
.recovery__readout { position: absolute; z-index: 4; right: 6vw; bottom: 10vh; display: flex; flex-direction: column; align-items: flex-end; }
.recovery__readout span, .recovery__readout small { font-size: 9px; font-weight: 800; letter-spacing: .17em; }
.recovery__readout strong { font-family: "Barlow Condensed", sans-serif; font-size: clamp(70px, 8vw, 120px); font-weight: 500; color: var(--red); letter-spacing: -.05em; line-height: 1; }
.breath-guide { position: absolute; right: 6vw; top: 18%; display: flex; align-items: center; gap: 10px; font-size: 9px; letter-spacing: .15em; }
.breath-guide i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: breathe 4s ease-in-out infinite; }

.arena { height: 250vh; }
.arena__frame { background: #060606; }
.arena__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.18 - var(--p) * .14)); }
.arena__grid { position: absolute; inset: 0; opacity: calc(.05 + var(--p) * .24); background-image: linear-gradient(rgba(255,42,24,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,42,24,.6) 1px, transparent 1px); background-size: 6vw 6vw; perspective: 500px; mix-blend-mode: screen; }
.arena__shutter { position: absolute; left: 0; right: 0; height: 50%; background: var(--black); z-index: 2; }
.arena__shutter--top { top: 0; transform: translateY(calc(var(--p) * -100%)); opacity: calc(1 - var(--p) * .15); }
.arena__shutter--bottom { bottom: 0; transform: translateY(calc(var(--p) * 100%)); opacity: calc(1 - var(--p) * .15); }
.arena__title { position: absolute; z-index: 3; left: 6vw; top: 12%; }
.arena__title h2 { margin: 9vh 0 0; font-family: "Barlow Condensed", sans-serif; font-size: clamp(74px, 9vw, 140px); line-height: .74; letter-spacing: -.06em; text-shadow: 0 3px 30px rgba(0,0,0,.6); }
.arena__title h2 em { color: var(--red); font-style: italic; }
.arena__zones { position: absolute; z-index: 4; right: 5vw; bottom: 8vh; display: grid; grid-template-columns: 1fr 1fr; width: min(520px, 44vw); }
.arena__zones button { display: flex; gap: 15px; padding: 15px 12px; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.58); backdrop-filter: blur(10px); color: var(--white); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-align: left; }
.arena__zones button:hover, .arena__zones button.is-selected { background: var(--red); color: var(--black); }
.arena__zones span { color: var(--red); }
.arena__zones button:hover span, .arena__zones button.is-selected span { color: var(--black); }
.arena__reticle { position: absolute; z-index: 4; left: 50%; top: 50%; width: 16vw; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; transform: translate(-50%,-50%) rotate(calc(var(--p) * 180deg)); }
.arena__reticle i { position: absolute; background: rgba(255,255,255,.5); }
.arena__reticle i:first-child { left: 50%; top: -12%; bottom: -12%; width: 1px; }
.arena__reticle i:last-child { top: 50%; left: -12%; right: -12%; height: 1px; }

/* ── Proof: horizontal scroll-driven panels ── */
.proof { height: 300vh; }
.proof__frame { background: var(--black); color: var(--bone); overflow: hidden; }

.proof__label { position: absolute; z-index: 10; top: 42px; left: 6vw; }

.proof__track {
  position: absolute; inset: 0;
  display: flex;
  width: 300vw;
  transform: translateX(calc(-200vw * clamp(0, (var(--p) - 0.30) / 0.70, 1)));
}

.proof__panel {
  position: relative;
  flex: 0 0 100vw; width: 100vw;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: flex; align-items: flex-end;
}

.proof__panel-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.proof__panel-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(8,8,8,.82) 38%, rgba(8,8,8,.45) 65%, rgba(8,8,8,.72) 100%),
              linear-gradient(to top, rgba(8,8,8,.9) 18%, transparent 55%);
}
.proof__panel--one .proof__panel-bg   { background-image: url("assets/images/proof-power.webp"); }
.proof__panel--two .proof__panel-bg   { background-image: url("assets/images/proof-velocity.webp"); }
.proof__panel--three .proof__panel-bg { background-image: url("assets/images/proof-acceleration.webp"); }

.proof__panel--one::before  { content: "18"; }
.proof__panel--two::before  { content: "21"; }
.proof__panel--three::before { content: ".24"; }
.proof__panel--one::before, .proof__panel--two::before, .proof__panel--three::before {
  position: absolute; z-index: 2; right: -2vw; top: -4vh;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(280px, 38vw, 560px);
  font-weight: 900; line-height: .78; letter-spacing: -.08em;
  pointer-events: none; user-select: none;
}
.proof__panel--one::before, .proof__panel--three::before { color: rgba(255,42,24,.08); }
.proof__panel--two::before { color: rgba(238,234,225,.06); }

.proof__panel--two::after, .proof__panel--three::after {
  content: "";
  position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--red) 40%, var(--red) 60%, transparent);
  opacity: .35;
}

.proof__panel-content { position: relative; z-index: 3; padding: 0 7vw 8vh; max-width: 900px; }
.proof__panel-content .eyebrow { color: var(--red); font-size: 12px; letter-spacing: .22em; margin: 0 0 3vh; }

.proof__number { display: flex; align-items: baseline; gap: .02em; line-height: .78; font-family: "Barlow Condensed", sans-serif; font-weight: 900; letter-spacing: -.06em; }
.proof__number b { font-size: clamp(110px, 18vw, 260px); font-weight: 900; color: var(--bone); font-style: normal; }
.proof__number small { font-size: clamp(36px, 5vw, 80px); font-weight: 900; color: var(--red); letter-spacing: 0; align-self: flex-end; padding-bottom: .06em; }

.proof__rule { width: 72px; height: 1px; background: var(--red); margin: 4vh 0 3vh; opacity: .6; }
.proof__descriptor { margin: 0; max-width: 520px; font-size: 16px; line-height: 1.7; color: rgba(238,234,225,.55); }

.proof__annotation {
  position: absolute; z-index: 4; top: 10vh; right: 6vw;
  display: flex; flex-direction: column; gap: 5px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(8,8,8,.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  text-align: right;
}
.proof__annotation span { font-size: 11px; font-weight: 800; letter-spacing: .18em; color: rgba(238,234,225,.45); text-transform: uppercase; }
.proof__annotation b { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--bone); text-transform: uppercase; }

.proof__panel-index {
  position: absolute; z-index: 4; right: 6vw; bottom: 8vh;
  font-family: "Barlow Condensed", sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: .2em; color: rgba(238,234,225,.28); text-transform: uppercase;
}

.proof__pips {
  position: absolute; z-index: 10; bottom: 8vh; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px;
}
.proof__pip { display: block; width: 24px; height: 2px; background: rgba(238,234,225,.2); transition: background .3s, width .3s; }

.proof__scroll-hint {
  position: absolute; z-index: 10; bottom: 8vh; right: 6vw;
  display: flex; align-items: center; gap: 12px;
  font-size: 9px; font-weight: 800; letter-spacing: .16em; color: rgba(238,234,225,.4);
  opacity: clamp(0, calc(1 - var(--p) * 5), 1);
  transform: rotate(-90deg) translateX(100%); transform-origin: right bottom;
}
.proof__scroll-hint i { display: block; width: 48px; height: 1px; background: rgba(238,234,225,.35); overflow: hidden; }
.proof__scroll-hint i::after { content: ""; display: block; width: 50%; height: 100%; background: var(--red); animation: scrollcue 1.6s var(--ease) infinite; }

.proof__disclaimer { position: absolute; z-index: 10; left: 6vw; bottom: 3.5vh; max-width: 480px; margin: 0; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(238,234,225,.3); }

.network {
  position: relative;
  min-height: auto;
  padding: 8vh 7vw 7vh;
  overflow: hidden;
  background: var(--black);
  color: var(--bone);
}
.network__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}
.network__map img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .45; filter: saturate(1.2) contrast(1.1); }
.network__map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.6) 50%, rgba(0,0,0,.25) 100%);
}
.network__copy { position: relative; z-index: 2; width: 48%; }
.network__copy h2 { margin: 3vh 0 2vh; font-family: "Barlow Condensed", sans-serif; font-size: clamp(80px, 10vw, 150px); line-height: .73; letter-spacing: -.06em; }
.network__copy h2 em { color: var(--red); font-style: italic; }
.network__copy > p:last-child { max-width: 430px; margin-left: 8vw; font-size: 16px; line-height: 1.7; }
.network__locations { position: relative; z-index: 3; width: 48%; margin-top: 4vh; }
.network__locations div { display: grid; grid-template-columns: 45px 1fr auto; align-items: center; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.18); }
.network__locations span, .network__locations b { font-size: 9px; letter-spacing: .15em; }
.network__locations strong { font-family: "Barlow Condensed", sans-serif; font-size: 25px; }
.network__locations b { color: var(--red); }

/* Network animated arcs */
.network__arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}
.arc-hub {
  fill: var(--red);
  opacity: 0.9;
}
.arc-line {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.5px;
  opacity: 0.55;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  transition: none;
}
.arc-dot {
  fill: var(--red);
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
}
@media (prefers-reduced-motion: no-preference) {
  .network__arcs.is-revealed .arc-line--1 { animation: arcDraw 1.1s var(--ease) 0.1s forwards; }
  .network__arcs.is-revealed .arc-line--2 { animation: arcDraw 1.1s var(--ease) 0.4s forwards; }
  .network__arcs.is-revealed .arc-line--3 { animation: arcDraw 1.1s var(--ease) 0.7s forwards; }
  .network__arcs.is-revealed .arc-dot--1 { animation: dotPop 0.4s var(--ease) 1.2s forwards; }
  .network__arcs.is-revealed .arc-dot--2 { animation: dotPop 0.4s var(--ease) 1.5s forwards; }
  .network__arcs.is-revealed .arc-dot--3 { animation: dotPop 0.4s var(--ease) 1.8s forwards; }
}
@keyframes arcDraw { to { stroke-dashoffset: 0; } }
@keyframes cardIdleTilt {
  0%   { transform: translateX(-50%) translateY(0) rotate(0deg) scale(1) rotateX(0deg) rotateY(0deg); }
  25%  { transform: translateX(-50%) translateY(-3px) rotate(0deg) scale(1) rotateX(2deg) rotateY(-3deg); }
  50%  { transform: translateX(-50%) translateY(0) rotate(0deg) scale(1) rotateX(0deg) rotateY(0deg); }
  75%  { transform: translateX(-50%) translateY(2px) rotate(0deg) scale(1) rotateX(-2deg) rotateY(3deg); }
  100% { transform: translateX(-50%) translateY(0) rotate(0deg) scale(1) rotateX(0deg) rotateY(0deg); }
}
@keyframes dotPop { 0% { opacity: 0; transform: scale(0); } 60% { opacity: 1; transform: scale(1.5); } 100% { opacity: 1; transform: scale(1); } }

.membership { height: 170vh; }
.membership__frame { background: #090909; }
.membership__header { position: absolute; left: 6vw; top: 10%; }
.membership__header > .eyebrow { margin-top: 7vh; }
.membership__header h2 { margin: 18px 0 0; font-family: "Barlow Condensed", sans-serif; font-size: clamp(72px, 9vw, 135px); line-height: .72; letter-spacing: -.06em; }
.membership__header h2 em { color: var(--red); font-style: italic; }
.membership__cards { position: absolute; right: 5vw; top: 15%; width: 58%; height: 70%; perspective: 1600px; transition: width .7s var(--ease), left .7s var(--ease), right .7s var(--ease); }
.membership__cards.is-spread { left: 5vw; right: 5vw; width: auto; }
.membership__cards.is-spread .access-card { position: relative; top: auto; right: auto; width: calc(33.33% - 2vw); aspect-ratio: .66; float: left; margin: 0 1vw; transform: none !important; transition: transform .7s var(--ease); }
.access-card {
  position: absolute;
  top: 6%;
  right: 4%;
  width: min(420px, 32vw);
  aspect-ratio: .66;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px;
  background: linear-gradient(145deg, #222, #080808 55%, #191919);
  box-shadow: -24px 40px 80px rgba(0,0,0,.48);
  transform-style: preserve-3d;
  transition: transform .6s var(--ease), filter .5s, opacity .5s;
}
/* Cards start fanned (visible stack), spread out as --p increases */
.access-card--one { transform: translate3d(calc(-8vw + -24vw * var(--p)), calc(-3vh + 18vh * var(--p)), -100px) rotateY(calc(-18deg + var(--p) * -10deg)) rotateZ(calc(-3deg + var(--p) * -3deg)); }
.access-card--two { z-index: 2; transform: translate3d(calc(-3vw + -11vw * var(--p)), calc(-1vh + 6vh * var(--p)), 0px) rotateY(calc(-8deg + var(--p) * 3deg)); background: linear-gradient(145deg, #302825, #130c0a 55%, #2a1510); }
.access-card--three { z-index: 3; transform: translate3d(calc(2vw + 2vw * var(--p)), calc(1vh + -5vh * var(--p)), 80px) rotateY(calc(-3deg + var(--p) * 14deg)) rotateZ(calc(1deg + var(--p) * 4deg)); background: linear-gradient(145deg, #b7b3ab, #5e5e5a 55%, #d5d0c7); color: var(--black); }
.access-card:focus { outline: none; }
.access-card__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border-radius: 20px;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .22s var(--ease);
  overflow: hidden;
}
.access-card__shine { position: absolute; inset: -100%; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.28) 49%, transparent 56%); transform: translateX(calc(var(--mx, 0) * 30%)) translateY(calc(var(--my, 0) * 30%)); }
.access-card__index { align-self: flex-end; font-family: "Barlow Condensed", sans-serif; font-size: 19px; }
.access-card small { font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.access-card h3 { margin: 12px 0 0; font-family: "Barlow Condensed", sans-serif; font-size: clamp(58px, 6vw, 90px); line-height: .76; letter-spacing: -.06em; }
.access-card p { margin: 0; font-size: 12px; line-height: 1.6; text-transform: uppercase; }
.access-card button { position: relative; z-index: 2; padding: 13px; border: 1px solid currentColor; background: transparent; color: inherit; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.membership__hint { position: absolute; left: 6vw; bottom: 6vh; font-size: 9px; font-weight: 800; letter-spacing: .16em; color: rgba(255,255,255,.45); }
.hint-desktop { display: inline; }
.hint-mobile { display: none; }

.gate {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 125vh;
  min-height: 125svh;
  overflow: hidden;
  background: var(--red);
  color: var(--black);
  text-align: center;
}
@keyframes ringRot  { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes ringRotR { to { transform: rotate(-360deg); } }
@keyframes ringRotS { to { transform: rotate(360deg); } }
.gate__rings { position: absolute; left: 50%; top: 50%; width: 70vw; aspect-ratio: 1; border: 1px solid rgba(0,0,0,.5); border-radius: 50%; transform: translate(-50%,-50%); animation: sonarPingOuter 3s var(--ease) infinite; }
.gate__rings i { position: absolute; inset: 17%; border: 1px solid rgba(0,0,0,.5); border-radius: 50%; }
.gate__rings i:first-child  { animation: sonarPing 3s var(--ease) .8s infinite; }
.gate__rings i:nth-child(2) { inset: 34%; animation: sonarPing 3s var(--ease) 1.6s infinite; }
.gate__rings i:nth-child(3) { inset: 45%; background: var(--black); border: 0; transform: scale(var(--reveal, .2)); animation: none; }
@keyframes sonarPingOuter { 0% { opacity: .4; transform: translate(-50%,-50%) scale(.88); } 60% { opacity: .9; transform: translate(-50%,-50%) scale(1); } 100% { opacity: .4; transform: translate(-50%,-50%) scale(.88); } }
@keyframes sonarPing { 0% { opacity: .4; transform: scale(.88); } 60% { opacity: .9; transform: scale(1); } 100% { opacity: .4; transform: scale(.88); } }
.gate__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.gate__copy .reveal { --reveal: 1; opacity: 1; transform: none; }
.gate__copy h2 { margin: 5vh 0 3vh; font-family: "Barlow Condensed", sans-serif; font-size: clamp(110px, 17vw, 260px); line-height: .63; letter-spacing: -.08em; }
.gate__copy h2 em { color: var(--bone); font-style: italic; }
.gate__copy > p:not(.eyebrow) { max-width: 470px; font-size: 16px; font-weight: 600; line-height: 1.7; }
.gate__button { display: flex; justify-content: space-between; align-items: center; width: min(360px, 80vw); margin-top: 5vh; padding: 17px 18px; border: 1px solid var(--black); background: var(--black); color: var(--bone); font-size: 12px; font-weight: 800; letter-spacing: .15em; }
.gate__button i { color: var(--red); font-style: normal; font-size: 16px; }
.gate__meta { position: absolute; left: 25px; right: 25px; bottom: 24px; display: flex; justify-content: space-between; font-size: 9px; font-weight: 800; letter-spacing: .14em; }

footer {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr auto;
  gap: 4vw;
  align-items: end;
  padding: 7vh 3vw 4vh;
  background: var(--black);
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.6;
}
.footer__brand { font-family: "Barlow Condensed", sans-serif; font-size: 58px; font-weight: 900; letter-spacing: -.07em; }
.footer__brand span { color: var(--red); }
footer p { max-width: 600px; color: rgba(255,255,255,.48); }
footer a { text-decoration: underline; text-underline-offset: 4px; }

.assessment { position: fixed; inset: 0; z-index: 500; visibility: hidden; opacity: 0; transition: opacity .35s, visibility .35s; }
.assessment.is-open { visibility: visible; opacity: 1; }
.assessment__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(10px); }
.assessment__panel { position: absolute; top: 0; right: 0; width: min(760px, 92vw); height: 100%; padding: 24px 36px 40px; overflow-y: auto; background: var(--bone); color: var(--black); transform: translateX(100%); transition: transform .7s var(--ease); }
.assessment.is-open .assessment__panel { transform: translateX(0); }
.assessment__top { display: flex; justify-content: space-between; align-items: flex-start; }
.assessment__top > div { width: 55%; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.assessment__top b { display: block; width: 100%; height: 2px; margin-top: 9px; background: rgba(0,0,0,.15); }
.assessment__top b i { display: block; width: 25%; height: 100%; background: var(--red); transition: width .5s var(--ease); }
.assessment__top button { border: 0; background: transparent; font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.assessment-step, .assessment-result { display: none; min-height: calc(100% - 70px); padding-top: 11vh; }
.assessment-step.is-active, .assessment-result.is-active { display: block; animation: stepin .65s var(--ease) both; }
@keyframes stepin { from { opacity: 0; transform: translateY(35px); } }
.assessment-step__number { font-family: "Barlow Condensed", sans-serif; font-size: 16px; color: var(--red); }
.assessment-step .eyebrow, .assessment-result .eyebrow { margin-top: 8vh; }
.assessment-step h2, .assessment-result h2 { margin: 17px 0 5vh; font-family: "Barlow Condensed", sans-serif; font-size: clamp(62px, 7vw, 105px); font-weight: 800; line-height: .75; letter-spacing: -.055em; }
.assessment-step h2 em, .assessment-result h2 em { color: var(--red); font-style: italic; }
.assessment-options { display: grid; grid-template-columns: 1fr 1fr; }
.assessment-options button { display: flex; justify-content: space-between; gap: 12px; padding: 17px 14px; border: 1px solid rgba(0,0,0,.22); background: transparent; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-align: left; text-transform: uppercase; transition: background .25s, color .25s; }
.assessment-options button:hover, .assessment-options button.is-selected { background: var(--black); color: var(--bone); }
.assessment-options button span { color: var(--red); }
.assessment-back { margin-top: 25px; padding: 0; border: 0; background: transparent; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.assessment-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.assessment-fields label { display: flex; flex-direction: column; gap: 8px; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.assessment-fields input { width: 100%; padding: 15px 0; border: 0; border-bottom: 1px solid rgba(0,0,0,.4); outline: 0; background: transparent; color: var(--black); font-family: "Barlow Condensed", sans-serif; font-size: 26px; }
.assessment-fields input:focus { border-color: var(--red); }
.assessment__privacy { margin: 25px 0; font-size: 11px; line-height: 1.6; }
.assessment-submit, .assessment-result > button { width: 100%; display: flex; justify-content: space-between; padding: 17px; border: 0; background: var(--red); color: var(--black); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 5vh 0; border-top: 1px solid rgba(0,0,0,.25); }
.result-grid div { display: flex; flex-direction: column; gap: 8px; padding: 16px 10px 16px 0; border-right: 1px solid rgba(0,0,0,.2); }
.result-grid span { font-size: 9px; letter-spacing: .13em; }
.result-grid strong { font-family: "Barlow Condensed", sans-serif; font-size: 23px; }
.assessment-result > p { margin-bottom: 4vh; font-size: 12px; line-height: 1.6; }

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 700;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 50%;
  will-change: transform;
  transition: width .3s var(--ease), height .3s var(--ease), background .3s;
}
.cursor span { width: 3px; height: 3px; border-radius: 50%; background: var(--white); }
.cursor b { display: none; font-size: 8px; letter-spacing: .14em; }
.cursor.is-hover { width: 72px; height: 72px; background: rgba(255,255,255,.5); color: var(--black); }
.cursor.is-hover span { display: none; }
.cursor.is-hover b { display: block; }

.reveal { --reveal: 0; opacity: calc(.18 + var(--reveal) * .82); transform: translateY(calc((1 - var(--reveal)) * 55px)); transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* GPU layers are promoted ONLY while a chapter is on screen (toggled by JS).
   Off-screen, will-change is dropped so the compositor can release the layer. */
.is-live .hero__image,
.is-live .scan__visual img,
.is-live .coaching__image,
.is-live .recovery__frame > img,
.is-live .arena__frame > img,
.is-live .hero-line,
.is-live .proof__track,
.is-live .scan__thermal::before { will-change: transform; }

@keyframes arcIn {
  from { opacity: 0; transform: translateY(44px); }
}

/* ── Hero "kinetic HUD boot-up" — all compositor-only (transform/opacity/
   clip-path). One-shot on is-loaded, then a single tiny idle pulse. ── */
@keyframes hudCornerDraw {
  from { opacity: 0; transform: scale(.6); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes hudFlicker {
  0%   { opacity: 0; }
  20%  { opacity: .35; }
  35%  { opacity: .08; }
  55%  { opacity: 1; }
  70%  { opacity: .5; }
  100% { opacity: 1; }
}
@keyframes scanSweep {
  0%   { opacity: 0; transform: translateY(0); }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(100vh); }
}
@keyframes lineSnap {
  from { opacity: 0; clip-path: inset(110% 0 0 0); transform: translateY(18px); }
  60%  { opacity: 1; }
  to   { opacity: 1; clip-path: inset(0 0 0 0); transform: translateY(0); }
}
@keyframes hudPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .35; transform: scale(.7); }
}
@keyframes glowSweep {
  0%   { transform: translateX(0);    opacity: 0; }
  15%  { opacity: 1; }
  50%  { transform: translateX(90%);  opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateX(0);    opacity: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  /* HUD frame boots first */
  html.is-loaded .hud-corner            { animation: hudCornerDraw .6s var(--ease) .10s both; }
  html.is-loaded .hero__hud--left       { animation: hudFlicker .7s steps(12, end) .25s both; }
  html.is-loaded .hero__hud--right      { animation: hudFlicker .7s steps(12, end) .35s both; }
  html.is-loaded .hud-readout           { animation: hudFlicker .7s steps(12, end) .40s both; }
  html.is-loaded .hero__frame::after    { animation: scanSweep .9s linear .30s 1 both; }

  /* Copy locks in */
  html.is-loaded .hero__copy > .eyebrow { animation: arcIn .8s var(--ease) .45s both; }
  html.is-loaded .hero-line--one        { animation: lineSnap .7s var(--ease) .55s both; }
  html.is-loaded .hero-line--two        { animation: lineSnap .7s var(--ease) .68s both; }
  html.is-loaded .hero-line--three      { animation: lineSnap .7s var(--ease) .81s both; }
  html.is-loaded .hero__bottom          { animation: arcIn .9s var(--ease) .95s both; }
  html.is-loaded .scroll-cue            { animation: arcIn .7s var(--ease) 1.15s both; }

  /* Red glow sweeps across headline — starts after boot, loops forever. */
  html.is-loaded .hero h1::before { animation: glowSweep 6s ease-in-out 1.3s infinite; }

  /* The single persistent idle loop — a HUD status dot breathing. */
  html.is-loaded .hero__hud span::before {
    content: "";
    display: inline-block;
    width: 5px; height: 5px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 8px var(--red);
    vertical-align: middle;
    animation: hudPulse 4s ease-in-out 1.3s infinite;
  }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto 1fr auto; padding: 15px 16px; }
  .scan__frame, .coaching__frame, .recovery__frame, .arena__frame { top: 60px; height: calc(100svh - 60px); }
  .header__status, .desktop-nav, .header__cta { display: none; }
  .menu-toggle { display: block; justify-self: end; }
  .menu-toggle.is-open span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle.is-open span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px 24px 30px;
    background: var(--red);
    color: var(--black);
    visibility: hidden;
    clip-path: circle(0 at calc(100% - 35px) 35px);
    transition: clip-path .7s var(--ease), visibility .7s;
  }
  .mobile-menu.is-open { visibility: visible; clip-path: circle(150% at calc(100% - 35px) 35px); }
  .mobile-menu__index { margin-bottom: 8vh; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
  .mobile-menu a { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,.25); font-family: "Barlow Condensed", sans-serif; font-size: 14vw; font-weight: 800; line-height: 1; text-transform: uppercase; }
  .mobile-menu a span { font-family: "Manrope", sans-serif; font-size: 11px; letter-spacing: .12em; }
  .mobile-menu button { margin-top: auto; padding: 16px; border: 1px solid var(--black); background: var(--black); color: var(--bone); font-size: 9px; font-weight: 800; letter-spacing: .13em; }
  .progress-rail, .cursor { display: none; }
  .chapter { height: 180vh; }
  .hero { height: 100vh; }
  .hero__image { object-position: 65% center; }
  .hero__image-mask { background: linear-gradient(0deg, rgba(0,0,0,.88), transparent 68%), linear-gradient(90deg, rgba(0,0,0,.5), transparent); }
  .hero__copy { justify-content: flex-end; padding: 90px 20px 50px; }
  .hero h1 { font-size: clamp(78px, 25vw, 125px); line-height: .72; }
  .hero-line--two { margin-left: 2vw; }
  .hero-line--three { margin-left: 11vw; }
  .hero__bottom { display: block; padding-left: 12vw; margin-top: 5vh; }
  .hero__bottom p { margin-bottom: 24px; }
  /* Keep the HUD labels on mobile (smaller) so the boot-up reads on phones too. */
  .hero__hud { top: 88px; font-size: 8px; }
  .hero__hud--left { left: 16px; }
  .hero__hud--right { right: 16px; top: 38%; }
  .scroll-cue { display: none; }
  .manifesto { padding: 12vh 20px 10vh; }
  .manifesto__statement { font-size: clamp(55px, 17vw, 90px); }
  .manifesto__proof { grid-template-columns: 1fr; }
  .manifesto__proof div { border-right: 0; border-bottom: 1px solid rgba(0,0,0,.18); }
  .scan__frame { display: flex; flex-direction: column; height: auto; min-height: 100svh; padding-bottom: 40px; }
  .scan__visual { position: relative; top: auto; left: auto; width: 100%; height: 56vw; min-height: 260px; flex-shrink: 0; margin-top: 68px; clip-path: none; }
  .scan__visual img { object-position: center 20%; transform: none; }
  .scan__frame > .chapter-index { left: 20px; top: 75px; }
  .scan__headline { position: relative; top: auto; left: auto; right: auto; bottom: auto; width: auto; z-index: 2; padding: 24px 20px 0; }
  .scan__headline h2 { font-size: 22vw; margin: 10px 0 14px; }
  .scan__headline > p:last-child { margin-left: 0; font-size: 15px; }
  .metrics-panel { position: relative; left: auto; right: auto; bottom: auto; width: auto; display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 20px 0; border-top: 1px solid rgba(0,0,0,.25); color: var(--black); }
  .metric i { background: rgba(0,0,0,.12); }
  .method { height: 300vh; }
  .method__frame > .chapter-index { left: 20px; top: 80px; }
  .method__intro { left: 20px; top: 18%; }
  .method__intro h2 { font-size: 17vw; }
  .method__scroll-hint { display: flex; flex-direction: row; align-items: center; gap: 10px; position: absolute; left: 20px; top: 48%; font-size: 11px; font-weight: 800; letter-spacing: .18em; color: #ffffff; pointer-events: none; z-index: 10; animation: swipeHintFade 2.4s ease-in-out infinite; }
  .method__scroll-hint i { display: block; width: 1px; height: 38px; background: currentColor; position: relative; }
  .method__scroll-hint i::after { content: ""; position: absolute; bottom: 0; left: -3px; width: 8px; height: 8px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
  .mode { right: 20px; left: 20px; top: auto; bottom: 5%; width: auto; padding: 22px; max-height: 62vh; overflow: hidden; }
  .mode__num { margin-bottom: 3vh; }
  .mode h3 { font-size: 14vw; }
  .mode > b { margin-top: 3vh; }
  .method__counter { left: 20px; bottom: 3vh; }
  .coaching__frame { height: auto; min-height: 100svh; display: flex; flex-direction: column; }
  .coaching__image { position: relative; width: 100%; height: 56vw; min-height: 240px; flex-shrink: 0; object-fit: cover; object-position: center 15%; transform: none !important; }
  .coaching__frame::after { content: ""; position: absolute; top: calc(56vw - 60px); left: 0; right: 0; height: 80px; background: linear-gradient(0deg, rgba(238,234,225,1) 0%, transparent 100%); z-index: 2; pointer-events: none; }
  .coaching__wipe { inset: 0 0 calc(100% - 56vw) 0; }
  .coaching__path { width: 100%; height: 56vw; bottom: auto; top: 0; }
  .coaching__copy { position: relative; top: auto; left: auto; right: auto; bottom: auto; width: auto; z-index: 3; padding: 20px 20px 40px; background: var(--bone); }
  .coaching__copy .chapter-index { margin-bottom: 14px; }
  .coaching__copy > .eyebrow { margin-top: 0; }
  .coaching__copy h2 { font-size: 16vw; margin: 10px 0 14px; }
  .coaching__copy > p:not(.eyebrow) { margin-left: 0; font-size: 15px; }
  .coach-signature { margin: 3vh 0 0 0; }
  .annotation--one { left: 8%; top: calc(56vw * 0.3); z-index: 3; }
  .annotation--two { left: 50%; top: calc(56vw * 0.55); z-index: 3; }
  .recovery__frame > img { object-position: 40% 25%; }
  .recovery__glass { background: linear-gradient(0deg, rgba(0,0,0,.9), transparent 75%); }
  .recovery__copy { left: 20px; top: auto; bottom: 9%; width: auto; }
  .recovery__copy h2 { font-size: 19vw; }
  .recovery__readout { right: 20px; top: 10%; bottom: auto; }
  .breath-guide { display: none; }
  .steam__wisp--1 { width: 40vw; height: 55vw; left: 20%; }
  .steam__wisp--2 { width: 30vw; height: 44vw; left: 48%; }
  .steam__wisp--3 { width: 45vw; height: 60vw; left: 8%; }
  .steam__wisp--4 { width: 28vw; height: 40vw; left: 60%; }
  .arena__title { left: 20px; top: 10%; }
  .arena__title h2 { font-size: 19vw; margin-top: 7vh; }
  .arena__zones { left: 20px; right: 20px; bottom: 6%; width: auto; }
  .arena__reticle { width: 42vw; }
  .proof { height: auto; position: relative; z-index: 1; }
  .proof__frame { position: relative; min-height: 100svh; overflow: hidden; }
  .proof__track {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100vw;
    max-width: 100vw;
    height: 92svh;
    transform: none !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .proof__track::-webkit-scrollbar { display: none; }
  .proof__panel { flex: 0 0 100vw; width: 100vw; height: 92svh; scroll-snap-align: start; }
  .proof__frame { min-height: 92svh; }
  .proof__panel::before { font-size: 42vw; right: -4vw; top: 10vh; opacity: .04; }
  .proof__number b { font-size: clamp(90px, 28vw, 160px); }
  .proof__number small { font-size: clamp(28px, 9vw, 52px); }
  .proof__panel-content { padding: 0 20px 9vh; }
  .proof__annotation { top: 8vh; right: 20px; }
  .proof__panel-index { right: 20px; bottom: 5vh; }
  .proof__pips { display: none; }
  .proof__scroll-hint { display: none; }
  .proof__label { top: 28px; left: 20px; }
  .proof__disclaimer { left: 20px; right: 20px; bottom: 2vh; display: none; }
  .proof__swipe-hint { display: flex; align-items: center; gap: 10px; position: absolute; z-index: 10; bottom: 50%; left: 50%; transform: translate(-50%, 50%); color: rgba(238,234,225,.55); font-size: 11px; font-weight: 800; letter-spacing: .18em; pointer-events: none; animation: swipeHintFade 2.4s ease-in-out infinite; }
  .proof__swipe-hint i { display: block; width: 38px; height: 1px; background: currentColor; position: relative; }
  .proof__swipe-hint i::after { content: ""; position: absolute; right: 0; top: -3px; width: 8px; height: 8px; border-right: 1px solid currentColor; border-top: 1px solid currentColor; transform: rotate(45deg); animation: swipeArrow 2.4s ease-in-out infinite; }
  @keyframes swipeArrow { 0%, 100% { transform: rotate(45deg) translate(0,0); opacity: .4; } 50% { transform: rotate(45deg) translate(4px,-4px); opacity: 1; } }
  @keyframes swipeHintFade { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
  .network__arcs { display: none; }
  .network { padding: 7vh 20px 6vh; }
  .network__map { inset: 0; width: 100%; }
  .network__copy, .network__locations { width: 100%; }
  .network__copy h2 { font-size: 22vw; }
  .network__copy > p:last-child { margin-left: 16vw; max-width: 75%; }
  .membership { height: auto !important; min-height: 0; position: relative; z-index: 2; padding-bottom: 8vh; }
  .membership__frame { position: relative !important; height: auto !important; min-height: 0; overflow: visible; }
  .membership__header { position: relative; left: auto; top: auto; padding: 72px 20px 0; }
  .membership__header h2 { font-size: 20vw; }

  /* ── Mobile membership: stacked deck, contents change ── */
  .membership__cards {
    position: relative;
    width: 100%;
    height: 115vw;
    overflow: visible;
    margin-top: 32px;
    padding: 0;
    perspective: 700px;
  }
  /* Hide the raw access-card elements — JS builds virtual cards */
  .access-card { display: none !important; }

  /* All three cards absolutely centred — stack via z-index + tiny offsets */
  .mc-peek, .mc-card {
    position: absolute;
    left: 50%;
    top: 0;
    width: min(70vw, 300px);
    aspect-ratio: .66;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.18);
  }
  /* Back card — furthest behind, rotated left */
  .mc-peek--back {
    transform: translateX(calc(-50% - 18px)) translateY(14px) rotate(-7deg) scale(.91);
    opacity: .5;
    z-index: 1;
  }
  /* Mid card — slightly behind, slight right tilt */
  .mc-peek--mid {
    transform: translateX(calc(-50% + 8px)) translateY(8px) rotate(4deg) scale(.95);
    opacity: .7;
    z-index: 2;
  }
  /* Front card — perfectly upright, gyro tilts it */
  .mc-card {
    transform: translateX(-50%);
    z-index: 3;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06);
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform .08s ease-out;
    cursor: default;
  }
  /* Background layer — crossfades on cycle */
  .mc-bg {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    transition: opacity .7s cubic-bezier(.4,0,.2,1);
    opacity: 1;
  }
  .mc-bg.is-leaving { opacity: 0; }
  /* Shine */
  .mc-shine {
    position: absolute;
    inset: -100%;
    background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.22) 49%, transparent 56%);
    pointer-events: none;
    z-index: 5;
    transition: transform .1s ease-out;
  }
  /* Content */
  .mc-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    z-index: 2;
  }
  .mc-index {
    align-self: flex-end;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 17px;
    font-weight: 700;
    transition: opacity .45s ease;
  }
  .mc-tier {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    transition: opacity .45s ease;
  }
  .mc-title {
    margin: 8px 0 0;
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(52px, 16vw, 80px);
    line-height: .78;
    letter-spacing: -.04em;
    /* fixed height = 2 lines — prevents reflow between short/long titles */
    min-height: calc(clamp(52px, 16vw, 80px) * .78 * 2);
    transition: opacity .45s ease;
  }
  .mc-desc {
    font-size: 11px;
    line-height: 1.55;
    text-transform: uppercase;
    height: calc(11px * 1.55 * 3);
    overflow: hidden;
    transition: opacity .45s ease;
  }
  .mc-cta {
    position: relative;
    z-index: 3;
    padding: 13px;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    transition: opacity .4s;
  }
  /* Dots indicator */
  .mc-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 20px;
  }
  .mc-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,.3);
    transition: background .3s, transform .3s;
  }
  .mc-dot.is-active { background: var(--bone); transform: scale(1.3); }

  .membership__hint { position: relative; left: auto; bottom: auto; padding: 0 20px; margin-top: 14px; }
  .hint-desktop { display: none; }
  .hint-mobile  { display: inline; }
  .gate__rings { width: 140vw; }
  .gate__copy h2 { font-size: 27vw; }
  .gate__copy > p:not(.eyebrow) { padding: 0 24px; }
  footer { grid-template-columns: 1fr; padding: 7vh 20px 4vh; }
  .assessment__panel { width: 100%; padding: 20px; }
  .assessment-step, .assessment-result { padding-top: 8vh; }
  .assessment-step h2, .assessment-result h2 { font-size: 16vw; }
}

@media (max-width: 560px) {
  .loader { padding: 16px; }
  .loader__mark { font-size: 25vw; }
  .loader__mark i { width: 17vw; }
  .hero__bottom p { font-size: 13.5px; }
  .metric > span { font-size: 8px; }
  .metric strong { font-size: 8vw; }
  .metric small { font-size: 9px; }
  .arena__zones { grid-template-columns: 1fr; }
  .proof__number b { font-size: 22vw; }
  .proof__number small { font-size: 7vw; }
  .proof__descriptor { font-size: 12px; }
  .assessment-options, .assessment-fields { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  #performance-canvas, .coaching__wipe, .arena__shutter { display: none; }
  .chapter { height: auto; }
  .sticky-frame { position: relative; min-height: 100vh; min-height: 100svh; }
  .hero__image, .scan__visual img, .coaching__image, .recovery__frame > img, .arena__frame > img { transform: none; }
  .hero-line, .access-card { transform: none !important; }
  .proof__track { transform: none !important; }
  .proof__panel::before { display: none; }
  .annotation { opacity: 1; transform: none; }
  .scan__crosshair { opacity: 1; }
  .mode { position: relative; opacity: 1; transform: none; margin: 20px; top: auto; right: auto; width: auto; }
  .method { height: auto; }
  .method__frame { height: auto; min-height: 100vh; min-height: 100svh; padding: 260px 0 40px; }
  .method__modes { position: relative; }
}

/* Static fallback when app.js has not run (scripts disabled, blocked or failed).
   The module adds the "js" class as its first statement; the inline failsafe in
   index.html only handles loader removal when scripts do run. */
.no-js .loader { display: none; }
html:not(.js) #performance-canvas,
html:not(.js) .cursor,
html:not(.js) .progress-rail,
html:not(.js) .coaching__wipe,
html:not(.js) .arena__shutter { display: none; }
html:not(.js) .reveal,
html:not(.js) .manifesto__line,
html:not(.js) .gate__rings { --reveal: 1; }
html:not(.js) [data-chapter] { --p: 1; }
html:not(.js) .hero { --p: 0; }
html:not(.js) .chapter { height: auto; }
html:not(.js) .sticky-frame { position: relative; min-height: 100vh; min-height: 100svh; }
html:not(.js) .mode { position: relative; opacity: 1; transform: none; margin: 20px; top: auto; right: auto; width: auto; }
html:not(.js) .method__frame { height: auto; min-height: 100vh; min-height: 100svh; padding: 260px 0 40px; }
html:not(.js) .method__modes { position: relative; }

.scanlines { display: none; }

/* ── Cursor ring ───────────────────────────────────────────── */
#cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255,42,24,.4);
  pointer-events: none;
  z-index: 699;
  will-change: transform;
  transition: width .4s var(--ease), height .4s var(--ease), border-color .3s, opacity .3s;
  opacity: 0;
}
html.is-loaded #cursor-ring { opacity: 1; }
.cursor.is-hover ~ #cursor-ring { width: 90px; height: 90px; border-color: rgba(255,42,24,.8); }

/* ── HUD corner brackets ───────────────────────────────────── */
.hud-corner {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s;
}
.hud-corner--tl { top: 90px; left: 20px; }
.hud-corner--br { bottom: 20px; right: 20px; }
html.is-loaded .hud-corner { opacity: calc(1 - var(--p, 0) * 6); }

/* ── HUD readout ───────────────────────────────────────────── */
.hud-readout {
  position: absolute;
  bottom: 38px;
  right: 20px;
  font-family: "Manrope", monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .14em;
  color: rgba(255,255,255,.2);
  line-height: 1.9;
  pointer-events: none;
  opacity: calc(1 - var(--p, 0) * 5);
  text-align: right;
}

/* ── Section sidebar ───────────────────────────────────────── */
.section-sidebar {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 14px;
  pointer-events: auto;
  opacity: 0;
  transition: opacity .4s;
}
html.is-loaded .section-sidebar { opacity: 1; }
.section-sidebar__dot {
  width: 20px;
  height: 1px;
  padding: 0;
  border: 0;
  background: rgba(255,255,255,.2);
  cursor: pointer;
  transition: width .35s var(--ease), background .35s;
}
.section-sidebar__dot.is-active {
  width: 32px;
  background: var(--red);
}
@media (max-width: 767px) {
  .section-sidebar, #cursor-ring { display: none; }
}
