/* GROWMORE. Motion: preloader, pinned 3D scenes driven by --p (0→1, set in script.js), reveals. */
:root {
  --bg: #0b0b0c;
  --surface: #151517;
  --surface-2: #1e1e21;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .18);
  --text: #f3f3ef;
  --text-2: #b6b6ae;
  --text-3: #7a7a72;
  --accent: #ff3340;    /* red for text, lines and strokes on black (5.4:1) */
  --accent-bg: #d90f22; /* deeper red for fills under white text (5.2:1) */
  --ink: #fff;          /* text on accent fills */
  --f-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --f-sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --pop: cubic-bezier(.34, 1.56, .64, 1); /* small overshoot for hover/press feedback */
  --nav-h: 76px;
  --gutter: clamp(16px, 4vw, 48px);
  --wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Lenis smooth scroll (the two rules from its lenis.css that this page needs) */
html.lenis { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--f-sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
html.loading, html.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--accent-bg); color: var(--ink); border-radius: 8px; }
.skip:focus { top: 16px; }
main { overflow-x: clip; } /* contains the tilted ticker; clip (not hidden) keeps sticky scenes working and can't be scrolled */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font: 500 12px var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ''; width: 24px; height: 1.5px; background: currentColor; }
.h2 { font: 400 clamp(44px, 7vw, 104px)/.95 var(--f-display); text-transform: uppercase; letter-spacing: .005em; margin: 0; }
em { font-style: normal; color: var(--accent); }
.mask { display: block; overflow: hidden; padding-bottom: .04em; }
.mask > span { display: inline-block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 30px; border-radius: 999px; border: 1px solid var(--accent-bg);
  background: var(--accent-bg); color: var(--ink); font-weight: 600; font-size: 15px; letter-spacing: .01em; cursor: pointer;
  transition: transform .35s var(--pop), translate .45s var(--ease), box-shadow .3s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-3px); background: var(--accent); border-color: var(--accent); box-shadow: 0 14px 40px -12px rgba(255, 51, 64, .7); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .12s; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); box-shadow: none; }
.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ---------- Preloader (mark draws itself, letters rise, panel slides up) ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--bg);
  animation: pl-fallback .6s var(--ease) 4.5s forwards; /* hides itself even if JS never runs */
}
.preloader.done { transform: translateY(-100%); transition: transform .9s var(--ease-io) .2s; pointer-events: none; }
.pl-center { display: grid; justify-items: center; gap: 22px; }
.pl-center, .pl-meta { transition: opacity .35s var(--ease), transform .45s var(--ease); }
.preloader.done .pl-center, .preloader.done .pl-meta { opacity: 0; transform: translateY(-36px); } /* content lifts out before the panel leaves */
.pl-mark { width: min(150px, 38vw); height: auto; aspect-ratio: 1; color: var(--text); }
.pl-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--ease) .1s forwards; }
.pl-mark path + path { animation-delay: .7s; }
.pl-mark path + path + path { animation-delay: .95s; }
.pl-word { display: flex; overflow: hidden; margin: 0; font: 400 clamp(30px, 6vw, 48px)/1 var(--f-display); letter-spacing: .08em; }
.pl-word span { transform: translateY(110%); animation: rise .8s var(--ease) forwards; }
.pl-word span:nth-child(n+5) { color: var(--accent); }
.pl-word span:nth-child(1) { animation-delay: .5s; } .pl-word span:nth-child(2) { animation-delay: .55s; }
.pl-word span:nth-child(3) { animation-delay: .6s; } .pl-word span:nth-child(4) { animation-delay: .65s; }
.pl-word span:nth-child(5) { animation-delay: .7s; } .pl-word span:nth-child(6) { animation-delay: .75s; }
.pl-word span:nth-child(7) { animation-delay: .8s; } .pl-word span:nth-child(8) { animation-delay: .85s; }
.pl-meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; display: flex; justify-content: space-between; gap: 16px;
  font: 500 12px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3);
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { to { transform: none; } }
@keyframes pl-fallback { to { opacity: 0; visibility: hidden; } }

/* ---------- Nav + hamburger menu ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 max(var(--gutter), calc((100% - var(--wrap)) / 2));
  border-bottom: 1px solid transparent;
  transition: transform .5s var(--ease), background .3s, border-color .3s;
}
.nav.scrolled { background: rgba(11, 11, 12, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line); }
.nav.hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 400 22px/1 var(--f-display); letter-spacing: .06em; }
.brand b { font-weight: 400; color: var(--accent); }
.brand .mark { width: 34px; height: 34px; color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 12px; }
/* Desktop navbar links; under 900px they hide and the hamburger takes over */
.nav-links { display: flex; gap: clamp(20px, 2.6vw, 40px); list-style: none; margin: 0 auto 0 clamp(24px, 5vw, 72px); padding: 0; font-size: 15px; font-weight: 500; color: var(--text-2); }
.nav-links a { position: relative; display: block; padding: 8px 0; transition: color .25s; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .35s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); transform-origin: 0 50%; }
.menu-btn { position: relative; z-index: 2; display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(11, 11, 12, .4); cursor: pointer; }
.menu-btn i { width: 18px; height: 2px; background: currentColor; transition: transform .4s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Fullscreen menu: circle reveal grows out of the hamburger, links rise in a stagger */
.menu {
  --origin: calc(100% - max(var(--gutter), calc((100% - var(--wrap)) / 2)) - 24px) calc(var(--nav-h) / 2);
  position: fixed; inset: 0; z-index: 55; background: var(--bg);
  padding: calc(var(--nav-h) + 32px) max(var(--gutter), calc((100% - var(--wrap)) / 2)) 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px; overflow-y: auto;
  clip-path: circle(0 at var(--origin)); visibility: hidden;
  transition: clip-path .5s var(--ease-io), visibility 0s linear .5s;
}
.menu.open { clip-path: circle(150% at var(--origin)); visibility: visible; transition: clip-path .7s var(--ease-io); }
.menu-links { list-style: none; margin: 0; padding: 0; perspective: 800px; }
.menu-links li { border-bottom: 1px solid var(--line); }
.menu-links a { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; font: 400 clamp(28px, 7.5vw, 40px)/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; transition: color .25s, transform .35s var(--pop); }
.menu-links a:hover { color: var(--accent); transform: translateX(10px); }
.menu-links small { font: 500 11px var(--f-mono); letter-spacing: .1em; color: var(--accent); }
.menu.open li { transform-origin: 0 100%; animation: menu-in .7s var(--ease) both .18s; }
.menu.open li:nth-child(2) { animation-delay: .23s; } .menu.open li:nth-child(3) { animation-delay: .28s; }
.menu.open li:nth-child(4) { animation-delay: .33s; } .menu.open li:nth-child(5) { animation-delay: .38s; }
@keyframes menu-in { from { opacity: 0; transform: translateY(32px) rotateX(-40deg); } }
.menu-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; opacity: 0; transition: opacity .3s; }
.menu.open .menu-foot { opacity: 1; transition: opacity .5s var(--ease) .45s; }
.socials { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; font: 500 13px var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); }
.socials a:hover { color: var(--accent); }

/* ---------- Hero (pinned): headline splits apart, then "loading the bar" ----------
   Timeline on --p: --m 0→1 (p 0→.33) the bar glides from the right to the centre and turns to a 3/4 view while
   "Train hard." slides off left and "Grow more." off right; plates fly in from p .2 (--at each); the slogan
   fades up at p .68 and simply stays (normal ending). No opacity/filter on the preserve-3d wrappers. */
.hero { height: 300vh; --m: clamp(0, var(--p, 0) * 3, 1); --out: clamp(0, var(--p, 0) * 3.2, 1); --s: clamp(0, (var(--p, 0) - .68) * 5, 1); }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; perspective: 1200px; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(calc(1.05 + var(--p, 0) * .25)); translate: calc(var(--mx, 0) * -16px) calc(var(--my, 0) * -10px); }
/* --mx/--my (-1..1): eased pointer / phone-tilt position, set on .hero-stage and .lift-stage by script.js */
.hero-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 55% at 85% 105%, rgba(255, 51, 64, .22), transparent 70%), linear-gradient(90deg, rgba(11, 11, 12, .9) 0%, rgba(11, 11, 12, .55) 55%, rgba(11, 11, 12, .3) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 40%); }
.hero-dim { position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, rgba(255, 51, 64, .16), transparent 55%), var(--bg); opacity: clamp(0, var(--p, 0) * 2 - .1, .82); }
.hero-a { position: relative; z-index: 2; translate: calc(var(--mx, 0) * 8px) calc(var(--my, 0) * 5px); }
.hero-title { font: 400 clamp(64px, 13vw, 196px)/.9 var(--f-display); text-transform: uppercase; margin: 0; }
/* the two headline lines part like doors: line 1 left, line 2 right (translate, so the entrance transform stays free) */
.hero-title .mask > span { translate: calc(var(--out) * var(--out) * -115vw) 0; }
.hero-title .mask + .mask > span { translate: calc(var(--out) * var(--out) * 115vw) 0; }
.hero-a .fade { translate: 0 calc(var(--out) * 40px); filter: opacity(clamp(0, 1 - var(--out) * 2.5, 1)); } /* filter, not opacity: the entrance owns opacity */
.hero-a.gone .fade { visibility: hidden; } /* faded buttons must not stay clickable */
.lede { max-width: 46ch; margin: 28px 0 0; color: var(--text-2); font-size: clamp(16px, 1.4vw, 19px); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
/* Slogan: three structured columns (rows on phones). Each arrives in turn (--v) with a red line drawing across its top. */
.hero-b {
  position: absolute; left: 0; right: 0; bottom: clamp(32px, 9vh, 100px); z-index: 2; margin: 0 auto; padding-block: 0; list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.hero-b li {
  --v: clamp(0, (var(--p, 0) - .66 - var(--j) * .05) * 7, 1);
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px 0 0;
  border-top: 1px solid var(--line-2);
  font: 400 clamp(34px, 4.4vw, 72px)/1 var(--f-display); text-transform: uppercase;
  opacity: var(--v); translate: 0 calc((1 - var(--v)) * 24px);
}
.hero-b li + li { padding-left: clamp(16px, 3vw, 40px); border-left: 1px solid var(--line); }
.hero-b li::before { content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--v)); }
.hero-b small { font: 500 11px var(--f-mono); letter-spacing: .16em; color: var(--accent); }
.scroll-cue { position: absolute; left: 50%; bottom: 24px; translate: -50% 0; z-index: 2; display: grid; justify-items: center; gap: 10px; font: 500 11px var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); opacity: calc(1 - var(--p, 0) * 6); }
.scroll-cue i { width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent); transform-origin: top; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Loading the bar (CSS 3D). Sizes in em from the font-size on .bar3d. */
.bar3d {
  position: absolute; left: calc(50% + (1 - var(--m)) * 27vw); top: 44%; width: 0; height: 0; z-index: 1;
  font-size: clamp(7px, min(1.75vw, 1.9vh), 18px); transform-style: preserve-3d;
  animation: bob 6s ease-in-out infinite;
}
.bar3d-rot {
  position: absolute; transform-style: preserve-3d;
  transform: rotateX(calc(var(--m) * -14deg + var(--my, 0) * -8deg)) rotateY(calc(-90deg + var(--m) * 52deg + var(--p, 0) * 10deg + var(--mx, 0) * 16deg)) translateX(-2.6em);
}
@keyframes bob { 50% { translate: 0 -14px; } }
/* the bar waits hidden behind the logo plate, then slides out through it as the bar turns (--m) */
.sleeve { position: absolute; transform-style: preserve-3d; transform: translateX(calc((1 - var(--m)) * -16em)); }
.sleeve i {
  position: absolute; width: 34em; height: 1.5em; margin: -.75em 0 0 -26em;
  transform: rotateX(calc(var(--k) * 60deg)) translateZ(1.3em);
  background: linear-gradient(90deg, #4a4b50, #b9bac0 55%, #d6d7db); filter: brightness(calc(1.1 - var(--k) * .1));
}
.lp {
  --k: clamp(0, (var(--p, 0) - var(--at)) * 7, 1);
  --e: calc(1 - (1 - var(--k)) * (1 - var(--k))); /* ease-out: fast throw, soft dock */
  position: absolute; transform-style: preserve-3d;
  /* --sz/--sy: launch point (local z reads as screen left/right once the bar is turned) */
  transform: translate3d(0, calc((1 - var(--e)) * var(--sy, 0em)), calc((1 - var(--e)) * var(--sz, 0em))) translateX(var(--ax))
             rotateZ(calc((1 - var(--e)) * var(--spin, 0deg) * .25)) rotateX(calc((1 - var(--e)) * var(--spin, 0deg)));
}
.lp i, .lp b {
  position: absolute; width: var(--d); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2); border-radius: 50%;
  transform: translateX(calc(var(--l, 2.4) * .5em)) rotateY(90deg);
  opacity: clamp(0, var(--k) * 10, 1); /* waiting plates stay invisible until launch (on the leaves: opacity on .lp would flatten it) */
  background: radial-gradient(circle, #c9cace 0 6%, #1b1b1f 6.5% 20%, #26262b 21% 74%, #1d1d21 75% 100%);
  border: .3em solid #34343a;
}
.lp-red i, .lp-red b { background: radial-gradient(circle, #c9cace 0 6%, #1b1b1f 6.5% 20%, #26262b 21% 70%, var(--accent-bg) 71% 76%, #1d1d21 77% 100%); }
.lp-steel i { background: radial-gradient(circle, #e2e3e6 0 6%, #3b3c41 6.5% 22%, #8c8d93 23% 100%); border-color: #6c6d72; }
.lp-collar i { background: radial-gradient(circle, #e2e3e6, #85868c); border-color: #6c6d72; }
.lp b { display: grid; place-items: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.lp b svg { width: 40%; height: auto; aspect-ratio: 1; color: var(--text); }
@media (min-width: 1000px) {
  .hero-title { font-size: min(9.6vw, 150px); } /* leaves room for the plate */
  .lede { max-width: 40ch; }
}
@media (max-width: 999px) {
  /* phones/tablets: the bar waits off-stage (scale 0) while the headline is up, then grows in at the centre */
  .bar3d { left: 50%; top: 40%; font-size: clamp(7px, min(3vw, 1.7vh), 14px); scale: var(--m); }
}

/* Hero entrance, after the preloader */
html.js .hero-a .mask > span { transform: translateY(105%); }
html.js .hero-a .fade { opacity: 0; transform: translateY(16px); }
html.js .bar3d-rot { scale: .6; }
html.js .hero-bg { scale: 1.18; opacity: 0; }
html.ready .hero-bg { scale: 1; opacity: 1; transition: scale 2.2s var(--ease), opacity 1.2s var(--ease); }
html.ready .hero-a .mask > span { transform: none; transition: transform 1.2s var(--ease) .35s; }
html.ready .hero-a .mask + .mask > span { transition-delay: .45s; }
html.ready .hero-a .fade { opacity: 1; transform: none; transition: opacity 1s var(--ease) .7s, transform 1s var(--ease) .7s; }
html.ready .bar3d-rot { scale: 1; transition: scale 1.6s var(--ease) .4s; }

/* ---------- Warm-up set (pinned): dumbbell flies in (--fly 0→1), then curls (--lift 0→1→0 per rep) ----------
   --fly, --lift, --set are written by script.js; defaults = resting dumbbell (reduced motion / no JS).
   The dumbbell is CSS 3D: a 6-face bar + stacked discs. Keep opacity/filter OFF the preserve-3d wrappers. */
.lift { height: 460vh; }
.lift-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--nav-h) + 16px) 0 28px; }
.lift-word {
  position: absolute; left: 50%; top: 50%; margin: 0; translate: -50% -50%; pointer-events: none; white-space: nowrap;
  font: 400 clamp(180px, 42vw, 640px)/.8 var(--f-display); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07);
  transform: translateX(calc(20vw - var(--p, 0) * 40vw));
}
.lift-hud { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.lift-title, .lift-cta { display: grid; }
.lift-title > span, .lift-cta > p { grid-area: 1 / 1; }
.lt-a, .lt-b { transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s; }
.lt-b { opacity: 0; transform: translateY(24px); visibility: hidden; transition-delay: 0s, 0s, .45s; }
.lift.done .lt-a { opacity: 0; transform: translateY(-24px); visibility: hidden; transition-delay: 0s, 0s, .45s; }
.lift.done .lt-b { opacity: 1; transform: none; visibility: visible; transition-delay: .1s, .1s, 0s; }
.reps { margin: 0; display: grid; justify-items: end; font: 500 12px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.reps b { display: block; font: 400 clamp(64px, 9vw, 132px)/.9 var(--f-display); letter-spacing: 0; color: var(--text); }
.lift.done .reps b { color: var(--accent); }

.db-scene { position: absolute; inset: 0; perspective: 1100px; font-size: clamp(7px, min(2.3vw, 1.5vh), 15px); pointer-events: none; }
.db-glow { position: absolute; left: 50%; top: 52%; width: 70em; height: 70em; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 51, 64, .35), transparent 60%); opacity: calc(var(--fly, 1) * (.35 + var(--lift, 0) * .65)); }
.db-ring { position: absolute; left: 50%; top: 52%; width: 30em; height: 30em; margin: -15em 0 0 -15em; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.lift.done .db-ring { animation: shock 1.1s var(--ease) both; }
@keyframes shock { from { transform: scale(.4); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.db-shadow { position: absolute; left: 50%; top: calc(52% + 15em); width: 36em; height: 5em; margin-left: -18em; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .85), transparent); transform: scale(calc(var(--fly, 1) * (1 - var(--lift, 0) * .4))); }
.db-streaks i {
  position: absolute; right: -10vw; height: 2px; width: 46vw; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 60%, #fff);
  transform-origin: 100% 50%; rotate: -38deg;
  opacity: calc(min(var(--fly, 1) * 6, 1) * (1 - var(--fly, 1)) * 1.6);
  translate: calc(var(--fly, 1) * -40vw) calc(var(--fly, 1) * 30vh);
}
.db-streaks i:nth-child(1) { top: 8%; } .db-streaks i:nth-child(2) { top: 18%; width: 30vw; }
.db-streaks i:nth-child(3) { top: 26%; width: 52vw; } .db-streaks i:nth-child(4) { top: 36%; width: 24vw; }
.db-streaks i:nth-child(5) { top: 44%; width: 38vw; }

.db-fly, .db-lift, .db, .db-bar, .db-end { position: absolute; left: 50%; top: 52%; width: 0; height: 0; transform-style: preserve-3d; }
.db-lift, .db, .db-bar, .db-end { left: 0; top: 0; }
.db-fly {
  transform: translate3d(calc((1 - var(--fly, 1)) * 75vw), calc((1 - var(--fly, 1)) * -70vh), calc((1 - var(--fly, 1)) * -1400px))
             rotateZ(calc((1 - var(--fly, 1)) * 720deg));
}
.db-lift { transform: translateY(calc(var(--lift, 0) * -15vh)) rotateZ(calc(var(--lift, 0) * -9deg)) scale(calc(1 + var(--lift, 0) * .08)); }
/* Stays in a 3/4 view (35–60deg) during reps: edge-on hides the plates' thickness, end-on hides the bar */
.db { transform: rotateX(calc(-20deg + var(--my, 0) * -10deg)) rotateY(calc(35deg + var(--set, 0) * 25deg + var(--mx, 0) * 14deg + (1 - var(--fly, 1)) * 540deg)); }
.db-bar i {
  position: absolute; width: 34em; height: 1.3em; margin: -.65em 0 0 -17em;
  transform: rotateX(calc(var(--k) * 60deg)) translateZ(1.1em);
  background: linear-gradient(90deg, #b9bac0 0 30%, #3d3e43 30% 70%, #b9bac0 70%);
  filter: brightness(calc(1.15 - var(--k) * .12));
}
.db-end i {
  --d: 15em;
  position: absolute; width: var(--d); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2); border-radius: 50%;
  transform: translateX(calc(var(--side) * (8.6em + var(--k) * 1em))) rotateY(90deg);
  background: radial-gradient(circle, #c9cace 0 7%, #1b1b1f 7.5% 30%, #26262b 31% 72%, var(--accent-bg) 73% 77%, #1d1d21 78% 100%);
  border: .3em solid #34343a;
}
.db-end i:nth-child(n+4) { --d: 12em; }
.db-end .db-collar { --d: 4.4em; background: radial-gradient(circle, #e2e3e6, #85868c); border-color: #6c6d72; }
@media (max-width: 600px) {
  .lift { height: 420vh; }
  .lift-hud { flex-direction: column; }
  .reps { justify-items: start; grid-auto-flow: column; align-items: baseline; gap: 10px; }
  .reps b { font-size: 56px; }
}

.lift-foot { position: relative; z-index: 2; display: grid; gap: 18px; }
.set-bar { height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.set-bar i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--set, 0)); }
.lift-cta { font: 500 13px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.lift-cta p { margin: 0; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lift-hint span { display: inline-block; color: var(--accent); animation: nudge 1.2s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateY(6px); } }

/* ---------- Ticker ---------- */
.ticker { position: relative; z-index: 3; margin: 0 -5%; padding: 18px 0; background: var(--accent-bg); color: var(--ink); transform: rotate(-2deg); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
/* --v = smoothed scroll velocity (-1..1, set in script.js): letters lean into the scroll */
.ticker span { display: flex; align-items: center; gap: 36px; padding-right: 36px; font: 400 clamp(28px, 4vw, 52px)/1 var(--f-display); text-transform: uppercase; white-space: nowrap; transform: skewX(calc(var(--v, 0) * -16deg)); transition: transform .35s var(--ease); }
.ticker span::after { content: ''; width: .45em; height: .45em; background: var(--ink); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Statement (pinned, word-by-word) ---------- */
.statement { height: 220vh; }
.statement-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow-x: clip; display: flex; flex-direction: column; justify-content: center; }
.statement-text { font: 500 clamp(28px, 3.8vw, 58px)/1.14 var(--f-sans); letter-spacing: -.025em; max-width: 1100px; margin: 0; }
/* Sentence assembles: every word flies in from the screen side it ends up on (--from ±1, --dy set in script.js)
   and locks into place. --r 0→1 per word, ~4 words in flight at once, finished by 85% of the pin. */
.statement-text .w {
  --r: clamp(0, (var(--p, 0) * 1.18 * (var(--n) + 4) - var(--i)) / 4, 1);
  --t: calc((1 - var(--r)) * (1 - var(--r))); /* eased distance still to travel */
  display: inline-block; opacity: clamp(0, var(--r) * 1.6, 1);
  transform: translate(calc(var(--t) * var(--from, 1) * 55vw), calc(var(--t) * var(--dy, 0em))) rotate(calc(var(--t) * var(--from, 1) * 10deg));
  filter: blur(calc((1 - var(--r)) * 3px));
}
/* "keep showing up": a red highlighter stroke sweeps under it once it has landed */
.statement-text mark { color: inherit; padding: 0 .06em; background: linear-gradient(var(--accent-bg), var(--accent-bg)) no-repeat 0 88% / calc(clamp(0, (var(--r) - .7) * 3.4, 1) * 100%) .3em; }

/* ---------- Stats ---------- */
.stats { padding-block: clamp(40px, 8vw, 100px); }
.stats-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stats-list li { padding: 32px 24px 0 0; }
.stats-list b { display: block; font: 400 clamp(56px, 7vw, 110px)/1 var(--f-display); color: var(--accent); }
.stats-list span { font: 500 12px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }

/* ---------- Programs (pinned 3D carousel turned by scroll) ---------- */
.programs { height: 420vh; }
.pg-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; padding-top: calc(var(--nav-h) + 16px); }
.pg-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.pg-count { font: 500 13px var(--f-mono); color: var(--text-3); letter-spacing: .1em; margin: 0 0 10px; }
.pg-count b { color: var(--accent); font-weight: 500; }
.ring-wrap { flex: 1; display: grid; place-items: center; perspective: 1400px; }
.ring {
  --w: clamp(210px, min(25vw, 42vh), 360px);
  --r: calc(var(--w) / (2 * tan(180deg / var(--n, 6))) + 48px);
  position: relative; width: var(--w); height: calc(var(--w) * 1.36); transform-style: preserve-3d;
  transform: translateZ(calc(var(--r) * -1)) rotateX(-4deg) rotateY(calc(var(--p, 0) * -360deg * (var(--n, 6) - 1) / var(--n, 6)));
}
.pg-card {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: 22px; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-2);
  transform: rotateY(calc(var(--i) * 360deg / var(--n, 6))) translateZ(var(--r)); backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.pg-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; scale: 1.12; transition: scale .9s var(--ease); }
.pg-card.is-active img { scale: 1; }
.pg-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(11, 11, 12, .95)); }
.pg-card::after { content: ''; position: absolute; inset: 0; background: rgba(11, 11, 12, .55); transition: opacity .6s var(--ease); }
.pg-card > :not(img) { position: relative; z-index: 1; }
.pg-no { font: 500 12px var(--f-mono); color: var(--accent); letter-spacing: .12em; }
.pg-card h3 { margin: 0; font: 400 clamp(30px, 3vw, 42px)/1 var(--f-display); text-transform: uppercase; }
.pg-card p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.pg-card.is-active { border-color: var(--accent); }
.pg-card.is-active::after { opacity: 0; }

/* ---------- Plans ---------- */
.plans, .how { padding-block: clamp(80px, 12vw, 160px); }
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); }
.plan-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; perspective: 1200px; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 22px; padding: 36px 30px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  transition: transform .6s var(--ease), border-color .3s;
}
.plan:hover { transform: translateY(-8px) rotateX(4deg); border-color: var(--line-2); }
.plan.featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(255, 51, 64, .09), var(--surface) 60%); }
.badge { position: absolute; top: -13px; left: 30px; padding: 5px 12px; border-radius: 999px; background: var(--accent-bg); color: var(--ink); font: 500 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.plan h3 { margin: 0; font: 500 13px var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.price { margin: 0; font: 400 clamp(48px, 5vw, 68px)/1 var(--f-display); }
.price small { font: 500 14px var(--f-sans); color: var(--text-3); margin-left: 6px; }
.plan ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; color: var(--text-2); }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: '✓'; color: var(--accent); font-weight: 600; }
.plan .btn { margin-top: 6px; }

/* ---------- How it works (CSS sticky stacking cards) ---------- */
.stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.card {
  position: sticky; top: calc(var(--nav-h) + 24px);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 5vw, 80px); align-items: start;
  min-height: 280px; padding: clamp(28px, 4vw, 56px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .8);
}
.card:nth-child(2) { top: calc(var(--nav-h) + 44px); background: var(--surface-2); }
.card:nth-child(3) { top: calc(var(--nav-h) + 64px); }
.card:nth-child(4) { top: calc(var(--nav-h) + 84px); background: var(--accent-bg); color: var(--ink); }
.card:nth-child(4) p, .card:nth-child(4) .card-no { color: var(--ink); }
.card-no { font: 400 clamp(56px, 8vw, 120px)/.8 var(--f-display); color: var(--accent); }
.card h3 { margin: 0 0 12px; font: 400 clamp(32px, 4vw, 56px)/1 var(--f-display); text-transform: uppercase; }
.card p { margin: 0; max-width: 48ch; color: var(--text-2); }

/* ---------- Booking ---------- */
.book { position: relative; padding-block: clamp(90px, 12vw, 160px); overflow: hidden; }
.book-bg { position: absolute; inset: 0; }
.book-bg img { width: 100%; height: 100%; object-fit: cover; }
.book-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 12, .94), rgba(11, 11, 12, .8)); }
.book-inner { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.book-text { color: var(--text-2); max-width: 40ch; margin: 28px 0 0; }
.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px); border-radius: 24px; background: rgba(21, 21, 23, .78); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font: 500 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.opt { text-transform: none; letter-spacing: 0; color: var(--text-3); }
.form input, .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(11, 11, 12, .6);
  font: 400 16px var(--f-sans); letter-spacing: 0; text-transform: none; color: var(--text); color-scheme: dark; transition: border-color .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form .invalid { border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.status { min-height: 1.5em; margin: 0; font-size: 15px; }
.status.ok { color: #5ee08a; } /* success stays green so it never reads as the red error state */
.status.err { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { padding: 80px 0 28px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr 1fr; gap: 32px; }
.foot-brand p { color: var(--text-2); margin: 16px 0 0; }
.foot-h { margin: 0 0 16px; font: 500 12px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--text-2); font-size: 15px; }
.foot-list a:hover { color: var(--accent); }
.foot-contact li { display: grid; gap: 2px; }
.foot-contact span:first-child { font: 500 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.foot-word { margin: 64px 0 0; font: 400 clamp(64px, 19.5vw, 300px)/.8 var(--f-display); text-align: center; color: transparent; -webkit-text-stroke: 1px var(--line-2); user-select: none; }
.legal { margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font: 500 12px var(--f-mono); letter-spacing: .08em; color: var(--text-3); text-align: center; }

/* ---------- Back to top (round, progress ring) ---------- */
.to-top {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 50;
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(21, 21, 23, .85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--accent);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: opacity .3s var(--ease), transform .45s var(--pop), background .25s, color .25s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent-bg); color: var(--ink); transform: scale(1.08); }
.to-top:active { transform: scale(.94); transition-duration: .12s; }
.to-top svg { grid-area: 1 / 1; }
.to-top-ring { width: 56px; height: 56px; transform: rotate(-90deg); fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--progress, 0)); }
.to-top-arrow { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.to-top:hover .to-top-arrow { transform: translateY(-3px); }

/* ---------- Reveal pattern ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.js .mask[data-reveal] { opacity: 1; transform: none; }
html.js .mask[data-reveal] > span { transform: translateY(105%); transition: transform 1.1s var(--ease); }
html.js .mask[data-reveal] + .mask[data-reveal] > span { transition-delay: .08s; }
html.js [data-reveal].in, html.js .mask[data-reveal].in > span { opacity: 1; transform: none; }
/* siblings in a row arrive one after another */
html.js li[data-reveal]:nth-child(2) { transition-delay: .08s; }
html.js li[data-reveal]:nth-child(3) { transition-delay: .16s; }
html.js li[data-reveal]:nth-child(4) { transition-delay: .24s; }
/* Hover tilt follows the cursor (--tx/--ty set by script.js); beats the reveal's transform: none */
html.js .plan.in:hover { transform: translateY(-8px) rotateX(calc(var(--ty, 0) * -9deg)) rotateY(calc(var(--tx, 0) * 11deg)); transition: transform .25s var(--ease), border-color .3s; transition-delay: 0s; }

/* Cursor spotlight on cards and the form */
.form { position: relative; }
.plan::after, .card::after, .form::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 51, 64, .14), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.plan:hover::after, .card:hover::after, .form:hover::after { opacity: 1; }
.card:nth-child(4)::after { background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .16), transparent 60%); }

/* Recommended plan: a shine sweeps its button every few seconds */
.plan.featured .btn { position: relative; overflow: hidden; }
.plan.featured .btn::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .4) 50%, transparent 65%);
  transform: translateX(-120%); animation: shine 3.4s var(--ease) 1.2s infinite;
}
@keyframes shine { 40%, 100% { transform: translateX(120%); } }

.status.ok { animation: pop .5s var(--pop); }
@keyframes pop { from { transform: scale(.9); opacity: 0; } }

/* Reaching the end: the giant footer wordmark fills red, left to right */
html.js .foot-word[data-reveal] {
  opacity: 1; transform: none;
  background: linear-gradient(90deg, var(--accent-bg), var(--accent)) no-repeat 0 0 / 0% 100%;
  -webkit-background-clip: text; background-clip: text;
  transition: background-size 1.8s var(--ease-io) .2s;
}
html.js .foot-word[data-reveal].in { background-size: 100% 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .plan-list, .book-inner { grid-template-columns: 1fr; }
  .plan.featured { order: -1; }
  .stats-list { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  :root { --nav-h: 66px; }
  .hero { height: 260vh; }
  .programs { height: 360vh; }
  .hero-bg img { object-position: 70% 50%; }
  .hero-b { grid-template-columns: 1fr; bottom: 6vh; }
  .hero-b li { flex-direction: row; align-items: baseline; gap: 14px; padding: 12px 0; font-size: clamp(30px, 9vw, 40px); }
  .hero-b li + li { padding-left: 0; border-left: 0; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(11, 11, 12, .3), rgba(11, 11, 12, .85) 65%, var(--bg)); }
  .footer { padding-bottom: 96px; } /* legal line clears the back-to-top button */
  .ctas .btn { flex: 1; padding: 0 18px; }
  .nav .btn-sm { padding: 0 14px; font-size: 13px; height: 40px; }
  .brand { font-size: 19px; }
  .brand .mark { width: 30px; height: 30px; }
  .row { grid-template-columns: 1fr; }
  .card { grid-template-columns: 1fr; gap: 12px; min-height: 240px; }
  .pl-meta span:first-child { display: none; }
}
@media (max-width: 360px) { .nav .btn-sm { display: none; } }

/* ---------- Reduced motion: no pinning, no 3D, everything visible ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero, .statement, .programs, .lift { height: auto; }
  .lift-stage { position: relative; min-height: 100svh; height: auto; }
  .db-streaks, .lift-hint { display: none; }
  .hero-stage { position: relative; min-height: 100svh; height: auto; padding-top: var(--nav-h); }
  .statement-stage, .pg-stage { position: static; height: auto; padding-block: 80px; }
  .hero-dim, .hero-b, .bar3d, .scroll-cue { display: none; }
  .statement-text .w { --r: 1; }
  .ring-wrap { perspective: none; padding-inline: var(--gutter); }
  .ring { width: 100%; max-width: var(--wrap); height: auto; transform: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
  .pg-card { position: relative; transform: none; aspect-ratio: 3 / 4; }
  .pg-card::after { opacity: 0; }
}
@media (min-width: 901px) { .menu { display: none; } } /* desktop uses the navbar */
