/* =========================================================
   Kinetik Athletic Club — styles
   Palette: purple system replacing the reference's greens
   ========================================================= */
:root {
  --purple: #7028D8;
  --purple-d: #32105F;
  --purple-l: #A875F5;
  --lav: #E8D9FF;
  --bg-d: #160D24;
  --bg-l: #F8F5FC;
  --ink: #21172D;
  --white: #FFFFFF;
  --muted: #6d6279;
  --line: rgba(33, 23, 45, .12);
  --line-l: rgba(255, 255, 255, .14);
  --radius: 22px;
  --gutter: clamp(16px, 4.2vw, 72px);
  --maxw: 1360px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg-l);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 22px; border-radius: 999px;
  transition: transform .4s var(--ease), background-color .3s, color .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; transition: transform .35s var(--ease); color: var(--purple); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--pill { background: #fff; box-shadow: 0 6px 24px rgba(50, 16, 95, .10); }
.btn--pill:hover { background: var(--lav); }
.btn--primary { background: var(--purple); color: #fff; box-shadow: 0 10px 30px rgba(112, 40, 216, .35); }
.btn--primary svg { color: #fff; }
.btn--primary:hover { background: #5d1fc0; }
.btn--dark { background: var(--ink); color: #fff; padding: 11px 18px; font-size: 14px; }
.btn--dark svg { color: var(--purple-l); }
.btn--dark:hover { background: var(--purple-d); }
.btn--outline { border: 1px solid var(--line); background: #fff; padding: 12px 18px; font-size: 14px; }
.btn--outline:hover { border-color: var(--purple-l); }
.btn--glass {
  background: rgba(33, 23, 45, .82); color: #fff; font-size: 18px; padding: 20px 30px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(22, 13, 36, .25), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.btn--glass svg { color: var(--purple-l); }
.btn--glass:hover { background: var(--purple-d); }
.link-u { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-u:hover { color: var(--purple); }

.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); font-weight: 500; }
.eyebrow i { width: 56px; height: 1px; background: currentColor; opacity: .5; }
.eyebrow--sm { font-size: 12px; gap: 8px; }
.eyebrow--light { color: rgba(255, 255, 255, .6); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--gutter);
  transition: transform .6s var(--ease);
  pointer-events: none;
}
.header > * { pointer-events: auto; }
.header.is-hidden { transform: translateY(-110%); }
@media (max-width: 860px) {
  .header.is-scrolled { background: rgba(248, 245, 252, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .header.is-scrolled.on-dark { background: rgba(22, 13, 36, .7); }
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; letter-spacing: -.03em; justify-self: start; }
.brand__mark { width: 28px; height: 28px; color: var(--purple); }
.nav {
  display: flex; gap: 4px; padding: 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(50, 16, 95, .06);
}
.nav a { font-size: 14px; padding: 9px 16px; border-radius: 999px; color: #4b405a; transition: background .3s, color .3s; }
.nav a:hover, .nav a.is-current { background: #fff; color: var(--ink); }
.header__cta { justify-self: end; }
.header.on-dark .brand, .header.on-dark .burger { color: #fff; }
.header.on-dark .nav { background: rgba(22, 13, 36, .55); }
.header.on-dark .nav a { color: rgba(255, 255, 255, .75); }
.header.on-dark .nav a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; position: relative; justify-self: end; box-shadow: 0 6px 24px rgba(50, 16, 95, .12); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg-l);
  display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 100px var(--gutter) 40px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a { font-size: clamp(34px, 10vw, 54px); font-weight: 700; letter-spacing: -.04em; line-height: 1.15; }
.mobile-menu .btn { align-self: flex-start; }

/* ---------- Scroll rail ---------- */
.rail { position: fixed; right: 22px; top: 30vh; height: 40vh; width: 2px; background: rgba(112, 40, 216, .14); z-index: 40; border-radius: 2px; }
.rail__fill { position: absolute; inset: 0; background: var(--purple); transform-origin: top; transform: scaleY(0); border-radius: 2px; }
.rail__dot { position: absolute; left: 50%; top: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--purple); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 42%, #ffffff 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(40% 40% at 85% 15%, rgba(168, 117, 245, .16), transparent 70%),
    radial-gradient(40% 40% at 10% 80%, rgba(232, 217, 255, .7), transparent 70%),
    var(--bg-l);
  z-index: 0;
}
.hero__orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(0.5px); }
.hero__orb--l { width: 190px; height: 190px; left: -40px; top: -50px; background: radial-gradient(circle at 35% 30%, #fff 0%, var(--lav) 25%, var(--purple-l) 60%, var(--purple) 100%); opacity: .9; box-shadow: 0 30px 60px rgba(112, 40, 216, .25); }
.hero__orb--r { width: 120px; height: 120px; right: 6%; top: 9%; background: radial-gradient(circle at 35% 30%, #fff 0%, var(--lav) 30%, var(--purple-l) 75%, var(--purple) 100%); opacity: .85; box-shadow: 0 24px 50px rgba(112, 40, 216, .22); }

.hero__title {
  position: absolute; left: 0; right: 0; top: 10.5vh; text-align: center;
  font-weight: 700; letter-spacing: -.065em; line-height: .86;
  font-size: clamp(64px, 12.2vw, 196px);
  z-index: 1; user-select: none;
}
.hero__line { display: block; white-space: nowrap; }
.hero__line .split { display: inline-block; }
.hero__line--1 .split {
  background: linear-gradient(180deg, #2b1f3a 0%, #4f4262 70%, #6f6582 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 18px rgba(33, 23, 45, .18));
}
.hero__line--2 .split {
  background: linear-gradient(180deg, #b9aecb 0%, #8e819f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 14px rgba(33, 23, 45, .10));
}
.hero__line--2 .w1 { margin-right: .02em; }

.hero__figure {
  position: absolute; left: 50%; bottom: 3vh; width: min(46vw, 640px); transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center;
}
.hero__float { position: relative; width: 62%; margin-bottom: -9%; z-index: 2; }
.hero__athlete, .cta__figure img {
  width: 100%; height: auto; object-fit: contain;
  /* source photo crops the extended arm at the frame edge: feather it out */
  -webkit-mask-image: linear-gradient(to right, #000 86%, transparent 100%);
  mask-image: linear-gradient(to right, #000 86%, transparent 100%);
}
.platform { position: relative; width: 100%; aspect-ratio: 3 / 1; z-index: 1; }
/* cheap baked shadow instead of an animated filter */
.platform::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -14%; height: 26%; border-radius: 50%; background: radial-gradient(closest-side, rgba(50, 16, 95, .35), transparent); z-index: -1; }
.platform > svg:first-child { width: 100%; height: 100%; }
.platform__kb { position: absolute; width: 8%; height: auto; aspect-ratio: 1; color: var(--purple); right: 18%; top: 4%; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .3)); }

.spot {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 30px; height: 30px; border-radius: 50%; background: #fff; font-size: 10px; font-weight: 700;
  box-shadow: 0 4px 14px rgba(22, 13, 36, .25); z-index: 3;
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.spot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .8); opacity: 0; }
.spot.is-active { background: var(--purple); color: #fff; transform: translate(-50%, -50%) scale(1.12); }
.spot.is-active::after { animation: ping 1.6s var(--ease) infinite; border-color: var(--purple-l); }
@keyframes ping { 0% { opacity: .9; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.6); } }
.spot-card {
  position: absolute; left: calc(var(--cx, 60%) + 28px); top: var(--cy, 58%); transform: translateY(-50%);
  width: 220px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .95);
  box-shadow: 0 16px 40px rgba(22, 13, 36, .16); z-index: 4; font-size: 12px; color: var(--muted);
  transition: left .6s var(--ease), top .6s var(--ease), opacity .3s;
}
.spot-card strong { display: block; color: var(--ink); font-size: 15px; margin: 2px 0 4px; letter-spacing: -.01em; }
.spot-card__idx { font-size: 10px; font-weight: 600; color: var(--purple); letter-spacing: .06em; }
.spot-card p { line-height: 1.4; }
.spot-card.is-swap { opacity: 0; }

.hero__ui { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero__ui > * { position: absolute; z-index: 3; pointer-events: auto; }
.hero__quote { left: var(--gutter); top: 40vh; width: 250px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ico-circle { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(50, 16, 95, .12); color: var(--purple); }
.ico-circle svg { width: 20px; height: 20px; }
.hero__quote blockquote { font-size: 14px; line-height: 1.5; color: #3c3249; }
.hero__quote figcaption { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero__feature { left: calc(var(--gutter) + 20px); bottom: 7vh; width: 210px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hero__feature-ico { width: 46px; height: 46px; color: var(--purple-d); transform: rotate(-14deg); filter: drop-shadow(0 8px 10px rgba(50, 16, 95, .25)); }
.hero__feature strong { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.hero__feature p { font-size: 13.5px; color: #3c3249; }
.hero__metric { right: calc(var(--gutter) + 40px); top: 34vh; width: 200px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__metric-ball { width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--lav) 55%, var(--purple-l)); box-shadow: 0 10px 30px rgba(112, 40, 216, .3); margin-bottom: 22px; }
.hero__metric-label { font-size: 14px; color: #3c3249; }
.hero__metric-value { font-size: 34px; font-weight: 700; letter-spacing: -.04em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.hero__metric-value small { font-size: .7em; letter-spacing: -.02em; }
.hero__metric-line { width: 1px; height: 11vh; background: linear-gradient(var(--ink), transparent); opacity: .4; margin-top: 14px; }
.hero__demo { right: calc(var(--gutter) + 20px); bottom: 6vh; width: 240px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero__demo-row { display: flex; align-items: center; }
.hero__demo-row img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; margin-left: -8px; border: 3px solid var(--bg-l); }
.play { width: 46px; height: 46px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(112, 40, 216, .4); transition: transform .4s var(--ease); position: relative; z-index: 1; }
.play svg { width: 16px; height: 16px; margin-left: 2px; }
.play:hover { transform: scale(1.08); }
.hero__demo p { font-size: 13.5px; color: #3c3249; line-height: 1.4; }
.hero__cta { left: 50%; bottom: 4.5vh; transform: translateX(-50%); }

/* =========================================================
   SHEET (slides over the pinned hero)
   ========================================================= */
.sheet {
  --sheet-bg: var(--bg-l);
  position: relative; z-index: 5; background: var(--sheet-bg);
  border-radius: 34px 34px 0 0; margin-top: -1px;
  box-shadow: 0 -30px 60px rgba(22, 13, 36, .08);
}
.sheet__handle { position: absolute; left: 50%; top: 12px; width: 44px; height: 4px; border-radius: 4px; background: rgba(33, 23, 45, .15); transform: translateX(-50%); }

/* ---------- 01 Club ---------- */
.club { padding: clamp(80px, 14vh, 150px) 0 clamp(40px, 7vh, 80px); overflow: hidden; }
.club__statement {
  margin-top: 36px; max-width: 1180px;
  font-size: clamp(34px, 5.2vw, 82px); font-weight: 600; letter-spacing: -.045em; line-height: 1.04;
}
.club__statement .w { color: #cfc6dc; transition: none; }
.pill-img { display: inline-block; vertical-align: middle; width: 1.9em; height: .88em; border-radius: 999px; overflow: hidden; margin: -.1em .06em 0; transform-origin: center; }
.pill-img img { width: 100%; height: 100%; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.chips li { font-size: 13px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.marquee { margin-top: clamp(60px, 12vh, 130px); overflow: hidden; }
.marquee__track { display: flex; align-items: center; gap: .32em; width: max-content; font-size: clamp(64px, 10vw, 168px); font-weight: 800; font-style: italic; letter-spacing: -.05em; line-height: 1.1; padding: 0 .2em; will-change: transform; }
.marquee__track span { white-space: nowrap; }
.marquee__track .o { color: transparent; -webkit-text-stroke: 1.5px var(--ink); font-weight: 600; }
.marquee__track svg { width: .34em; height: .34em; color: var(--purple); flex: none; }

/* ---------- 02 Programs ---------- */
.programs { position: relative; }
.programs__viewport { height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; perspective: 1400px; }
.programs__track { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 28px); padding: 0 var(--gutter); will-change: transform; }
.programs__intro { flex: none; width: clamp(260px, 26vw, 400px); padding-right: 2vw; }
.programs__intro h2 { font-size: clamp(52px, 6.4vw, 104px); font-weight: 700; letter-spacing: -.055em; line-height: .95; margin: 18px 0 22px; }
.programs__intro > p { font-size: 15px; color: #4b405a; max-width: 300px; }
.programs__progress { display: flex; align-items: center; gap: 6px; margin-top: 34px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.programs__progress span { color: var(--ink); font-weight: 600; }
.programs__progress i { position: relative; width: 140px; height: 2px; background: var(--line); margin-left: 12px; border-radius: 2px; overflow: hidden; }
.programs__progress b { position: absolute; inset: 0; background: var(--purple); transform-origin: left; transform: scaleX(.25); }
.pcard {
  position: relative; flex: none; width: clamp(260px, 25vw, 380px); aspect-ratio: 3 / 4; border-radius: var(--radius);
  overflow: hidden; color: #fff; transform-style: preserve-3d; will-change: transform;
  box-shadow: 0 30px 60px rgba(22, 13, 36, .18);
}
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover img { transform: scale(1.05); }
.pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 13, 36, .2) 0%, transparent 30%, transparent 45%, rgba(22, 13, 36, .85) 100%); }
.pcard__num { position: absolute; left: 18px; top: 16px; z-index: 1; font-size: 14px; font-weight: 600; }
.pcard__tag { position: absolute; right: 14px; top: 14px; z-index: 1; font-size: 11px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pcard__body { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 1; }
.pcard__body h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.pcard__body p { font-size: 13px; opacity: .8; margin: 6px 0 14px; }
.pcard__link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.pcard__link svg { width: 13px; height: 13px; color: var(--purple-l); transition: transform .3s var(--ease); }
.pcard__link:hover svg { transform: translateX(3px); }

/* ---------- 03 Experts ---------- */
.experts { color: #fff; position: relative; }
.experts__pin { min-height: 100vh; padding-top: clamp(70px, 11vh, 120px); padding-bottom: 60px; }
.experts__head { position: relative; display: grid; grid-template-columns: 1fr 1.7fr auto; align-items: start; gap: 24px; }
.experts__head .eyebrow { padding-top: 14px; }
.experts__head h2 { font-size: clamp(38px, 4.6vw, 72px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; }
.badge { position: relative; width: 116px; height: 116px; }
.badge__text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.badge__text text { fill: #fff; font-size: 10px; font-weight: 700; letter-spacing: .28em; }
.badge__core { position: absolute; inset: 34px; border-radius: 50%; background: var(--purple); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(112, 40, 216, .18); transition: transform .4s var(--ease); }
.badge:hover .badge__core { transform: scale(1.1); }
.badge__core svg { width: 16px; height: 16px; margin-left: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.experts__grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: 24px; margin-top: clamp(30px, 6vh, 60px); align-items: start; }
.experts__photo { position: relative; width: min(100%, 380px); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--purple-d); }
.experts__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.experts__photo img.is-active { opacity: 1; transform: none; }
.experts__photo figcaption { position: absolute; left: 14px; bottom: 14px; font-size: 11px; padding: 6px 12px; border-radius: 999px; background: rgba(22, 13, 36, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.coaches { border-top: 1px solid var(--line-l); will-change: transform; }
.coach { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; border-bottom: 1px solid var(--line-l); padding: 18px 0; }
.coach__i { font-size: 11px; color: rgba(255, 255, 255, .35); }
.coach h3 { font-size: clamp(26px, 2.6vw, 40px); font-weight: 600; letter-spacing: -.04em; color: rgba(255, 255, 255, .3); transition: color .5s, transform .6s var(--ease); transform-origin: left; }
.coach__y { font-size: 11px; color: rgba(255, 255, 255, .35); transition: color .5s; }
.coach__more { grid-column: 2 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease), opacity .5s; opacity: 0; }
.coach__more > div { overflow: hidden; }
.coach__role { display: block; margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--purple-l); }
.coach__more p { font-size: 14px; color: rgba(255, 255, 255, .72); max-width: 440px; margin: 8px 0 12px; }
.coach__link { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 600; }
.coach__link svg { width: 13px; height: 13px; color: var(--purple-l); }
.coach__thumb { display: none; }
.coach.is-active h3 { color: #fff; transform: translateX(6px); }
.coach.is-active .coach__y, .coach.is-active .coach__i { color: rgba(255, 255, 255, .8); }
.coach.is-active .coach__more { grid-template-rows: 1fr; opacity: 1; }

/* ---------- 04 Results ---------- */
.results { position: relative; color: #fff; padding: clamp(90px, 16vh, 170px) 0 clamp(80px, 12vh, 130px); overflow: hidden; }
.results__bg { position: absolute; right: -6vw; bottom: -8vw; width: 46vw; height: 46vw; color: rgba(255, 255, 255, .05); transform: rotate(-12deg); pointer-events: none; }
.results__top { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: end; }
.results h2 { font-size: clamp(46px, 5.6vw, 92px); font-weight: 600; letter-spacing: -.05em; line-height: .98; margin-top: 18px; }
.chart { width: 100%; }
.chart__svg { width: 100%; height: auto; overflow: visible; }
.chart__grid line { stroke: rgba(255, 255, 255, .1); }
.chart__y text, .chart__x text { fill: rgba(255, 255, 255, .45); font-size: 10px; font-family: var(--font); }
.chart__line { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }
.chart__dot { fill: #fff; stroke: var(--purple-l); stroke-width: 4; }
.chart__tip rect { fill: rgba(255, 255, 255, .95); }
.chart__tip text { fill: var(--ink); font-size: 11px; font-weight: 600; font-family: var(--font); }
.chart figcaption { font-size: 11px; color: rgba(255, 255, 255, .45); margin-top: 8px; text-align: right; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: clamp(50px, 9vh, 100px); }
.stats > div { border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 28px; }
.stats dt { font-size: clamp(56px, 7.4vw, 120px); font-weight: 600; letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats dd { font-size: 13px; color: rgba(255, 255, 255, .7); margin-top: 14px; max-width: 220px; }

/* ---------- 05 Events ---------- */
.events { padding: clamp(90px, 15vh, 160px) 0 clamp(60px, 10vh, 110px); }
.events__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: clamp(30px, 6vh, 56px); }
.events__head h2 { font-size: clamp(44px, 6vw, 100px); font-weight: 600; letter-spacing: -.055em; line-height: 1; }
.ev-list { border-top: 1px solid var(--line); }
.ev { display: grid; grid-template-columns: 110px 1fr 120px 200px auto; align-items: center; gap: 0 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ev__date b { display: block; font-size: clamp(40px, 3.8vw, 58px); font-weight: 600; letter-spacing: -.05em; line-height: .9; }
.ev__date span { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ev h3 { font-size: clamp(18px, 1.7vw, 24px); font-weight: 600; letter-spacing: -.03em; }
.ev__tag { justify-self: start; font-size: 11px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); transition: background .4s, border-color .4s, color .4s; }
.ev__meta { font-size: 12px; color: var(--muted); }
.ev__more { grid-column: 2 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease), opacity .5s; opacity: 0; }
.ev__more > div { overflow: hidden; }
.ev__inner { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 28px; align-items: center; padding-top: 0; }
.ev__inner > img { width: 100%; height: auto; aspect-ratio: 1.8; object-fit: cover; border-radius: 16px; margin-top: 18px; }
.ev__inner p { font-size: 15px; color: #4b405a; max-width: 380px; }
.ev__cap { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: 11px; color: var(--muted); }
.ev__cap i { width: 120px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.ev__cap b { display: block; height: 100%; background: var(--purple); border-radius: 3px; }
.ev.is-active .ev__more { grid-template-rows: 1fr; opacity: 1; }
.ev.is-active .ev__tag { background: var(--lav); border-color: var(--lav); color: var(--purple-d); font-weight: 600; }

/* ---------- 06 Reviews ---------- */
.reviews { padding: clamp(60px, 10vh, 120px) 0 clamp(60px, 10vh, 110px); overflow: hidden; }
.reviews h2 { text-align: center; font-size: clamp(36px, 4.4vw, 70px); font-weight: 600; letter-spacing: -.05em; padding: 0 var(--gutter); }
.reviews__rows { margin-top: clamp(36px, 7vh, 70px); display: flex; flex-direction: column; gap: 20px; }
.rrow { display: flex; gap: 20px; width: max-content; will-change: transform; }
.rcard { width: 300px; flex: none; background: #fff; border-radius: 18px; padding: 22px; box-shadow: 0 14px 40px rgba(50, 16, 95, .07); transition: transform .4s var(--ease), box-shadow .4s; }
.rcard:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(50, 16, 95, .14); }
.rcard__stars { display: flex; gap: 2px; color: var(--purple); }
.rcard__stars svg { width: 13px; height: 13px; }
.rcard q { display: block; font-size: 14px; line-height: 1.45; margin: 12px 0 16px; quotes: "“" "”"; }
.rcard__who { display: flex; align-items: center; gap: 10px; }
.rcard__who img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.rcard__who b { display: block; font-size: 13px; }
.rcard__who span { font-size: 11px; color: var(--muted); }

/* ---------- 07 CTA ---------- */
.cta { position: relative; height: 130vh; min-height: 760px; overflow: hidden; }
.cta__sky {
  position: absolute; inset: -10% 0 0;
  background:
    radial-gradient(30% 14% at 20% 40%, rgba(255, 255, 255, .8), transparent 70%),
    radial-gradient(26% 10% at 70% 55%, rgba(255, 255, 255, .7), transparent 70%),
    radial-gradient(40% 18% at 50% 75%, rgba(255, 255, 255, .6), transparent 70%),
    radial-gradient(22% 8% at 85% 30%, rgba(255, 255, 255, .6), transparent 70%),
    linear-gradient(180deg, var(--bg-l) 0%, #ebe0fb 28%, #d6c1f7 60%, #c4a5f3 100%);
}
.cta__title { position: absolute; inset: 14vh 0 auto; font-size: clamp(56px, 9vw, 150px); font-weight: 700; letter-spacing: -.065em; line-height: 1; }
.cta__l1 { display: block; padding-left: var(--gutter); background: linear-gradient(180deg, #2b1f3a, #4f4262); -webkit-background-clip: text; background-clip: text; color: transparent; width: max-content; }
.cta__l2 { display: block; text-align: right; padding-right: var(--gutter); margin-top: .18em; background: linear-gradient(180deg, #fff 0%, #a99bbd 100%); -webkit-background-clip: text; background-clip: text; color: transparent; width: max-content; margin-left: auto; filter: drop-shadow(0 6px 12px rgba(50, 16, 95, .15)); }
.cta__arc { position: absolute; inset: 20% 0 0; width: 100%; height: 70%; }
.cta__arc path { fill: none; stroke: var(--purple-d); stroke-opacity: .45; stroke-width: 2.2; stroke-dasharray: 2 9; stroke-linecap: round; }
.cta__btn { position: absolute; left: var(--gutter); bottom: 22vh; z-index: 3; }
.cta__figure { position: absolute; left: 50%; bottom: -1px; width: min(34vw, 460px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; z-index: 2; }
.cta__figure img { width: 58%; height: auto; margin-bottom: -9%; position: relative; z-index: 1; filter: drop-shadow(0 20px 26px rgba(22, 13, 36, .25)); }
.platform--sm { aspect-ratio: 3 / 0.9; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-d); color: #fff; padding-top: clamp(60px, 10vh, 100px); overflow: hidden; position: relative; z-index: 6; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr) 1.6fr; gap: 30px; }
.footer h3 { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin-bottom: 18px; }
.footer li + li { margin-top: 9px; }
.footer li a { font-size: 14px; color: rgba(255, 255, 255, .85); transition: color .3s; }
.footer li a:hover { color: var(--purple-l); }
.footer__news > p { font-size: 14px; color: rgba(255, 255, 255, .8); max-width: 300px; }
.news { position: relative; margin-top: 18px; max-width: 380px; }
.news input { width: 100%; height: 52px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06); color: #fff; padding: 0 64px 0 20px; font: inherit; font-size: 14px; outline: none; transition: border-color .3s; }
.news input::placeholder { color: rgba(255, 255, 255, .4); }
.news input:focus { border-color: var(--purple-l); }
.news button { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; border-radius: 50%; background: var(--purple); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.news button:hover { transform: scale(1.06); background: var(--purple-l); }
.news button svg { width: 15px; height: 15px; color: #fff; }
.news__msg { font-size: 12px; margin-top: 8px; min-height: 18px; color: var(--purple-l); }
.news__msg.is-err { color: #ff9bb3; }
.footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(50px, 9vh, 90px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; color: rgba(255, 255, 255, .55); }
.footer__bar a:hover { color: #fff; }
.footer__word { font-size: clamp(120px, 27vw, 440px); font-weight: 700; letter-spacing: -.075em; line-height: .78; text-align: center; color: var(--lav); margin-top: 3vw; margin-bottom: -.2em; white-space: nowrap; user-select: none; will-change: transform; }

/* ---------- Modals ---------- */
.modal { border: 0; padding: 0; border-radius: 28px; background: var(--bg-l); color: var(--ink); width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; box-shadow: 0 40px 100px rgba(22, 13, 36, .4); }
.modal::backdrop { background: rgba(22, 13, 36, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.modal__x { position: absolute; right: 16px; top: 14px; width: 40px; height: 40px; border-radius: 50%; background: #fff; font-size: 24px; line-height: 1; z-index: 2; }
.modal__x:hover { background: var(--lav); }
.join { position: relative; padding: clamp(24px, 4vw, 40px); }
.join h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; margin: 10px 0 22px; padding-right: 40px; }
.plans { border: 0; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.plan input { position: absolute; opacity: 0; }
.plan > span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px; border-radius: 16px; background: #fff; border: 1.5px solid transparent; cursor: pointer; transition: border-color .3s, box-shadow .3s; }
.plan b { font-size: 13px; }
.plan em { font-style: normal; font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.plan em small { font-size: 12px; font-weight: 500; color: var(--muted); }
.plan > span > small { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.plan input:checked + span { border-color: var(--purple); box-shadow: 0 10px 26px rgba(112, 40, 216, .16); }
.plan input:focus-visible + span { outline: 2px solid var(--purple); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; font-size: 12px; font-weight: 600; }
.field input, .field select { height: 48px; border-radius: 14px; border: 1px solid var(--line); background: #fff; padding: 0 14px; font: inherit; font-weight: 400; font-size: 15px; color: var(--ink); outline: none; transition: border-color .3s; }
.field input:focus, .field select:focus { border-color: var(--purple); }
.field .err { display: none; color: #c0264f; font-weight: 500; font-size: 11.5px; }
.field.is-invalid input { border-color: #c0264f; }
.field.is-invalid .err { display: block; }
.join__submit { width: 100%; justify-content: center; margin-top: 8px; padding: 17px; }
.join__note { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 12px; }
.join__ok { position: absolute; inset: 0; background: var(--bg-l); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 40px; }
.join__ok[hidden] { display: none; }
.join__ok strong { font-size: 30px; letter-spacing: -.04em; }
.join__ok p { color: var(--muted); max-width: 340px; margin-bottom: 8px; }
.modal--video { width: min(860px, calc(100vw - 32px)); }
.demo { display: grid; grid-template-columns: 1fr 1.2fr; }
.demo img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.demo > div { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.demo h2 { font-size: 28px; letter-spacing: -.04em; line-height: 1.05; padding-right: 30px; }
.demo ol { list-style: decimal; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; color: #4b405a; }
.demo .btn { align-self: flex-start; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .hero__quote { width: 210px; top: 36vh; }
  .hero__metric { right: var(--gutter); }
  .ev { grid-template-columns: 90px 1fr 110px auto; }
  .ev__meta { display: none; }
  .footer__cols { grid-template-columns: repeat(4, 1fr); }
  .footer__news { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .header { grid-template-columns: 1fr auto; padding: 14px var(--gutter); }
  .rail { right: 8px; }
  .hero { min-height: 600px; }
  .hero__orb--l { width: 120px; height: 120px; }
  .hero__orb--r { width: 70px; height: 70px; top: 13%; }
  .hero__title { top: 15vh; font-size: clamp(54px, 15vw, 120px); }
  .hero__figure { width: min(92vw, 520px); bottom: 13vh; }
  .hero__float { width: 64%; }
  .hero__quote, .hero__feature { display: none; }
  .hero__metric { top: auto; bottom: 4.5vh; right: var(--gutter); width: auto; align-items: flex-end; text-align: right; }
  .hero__metric-ball, .hero__metric-line { display: none; }
  .hero__metric-value { font-size: 22px; }
  .hero__metric-label { font-size: 11px; }
  .hero__demo { right: auto; left: var(--gutter); bottom: calc(4.5vh + 4px); width: auto; align-items: flex-start; }
  .hero__demo p, .hero__demo .link-u { display: none; }
  .hero__demo-row img { display: none; }
  .hero__cta { bottom: 4.5vh; font-size: 15px; padding: 16px 22px; }
  .spot { width: 24px; height: 24px; font-size: 9px; }
  .spot-card { width: 150px; padding: 10px 12px; left: auto !important; right: -14%; top: -14% !important; transform: none; }
  .spot-card p { display: none; }
  .rail { display: none; }
  .experts__head { grid-template-columns: 1fr auto; }
  .experts__head .eyebrow { grid-column: 1 / -1; padding: 0; }
  .badge { width: 92px; height: 92px; }
  .badge__core { inset: 26px; }
  .experts__grid { grid-template-columns: 1fr; }
  .experts__photo { display: none; }
  .coach__thumb { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 25%; border-radius: 16px; margin-top: 14px; }
  .coach { grid-template-columns: 42px 1fr auto; padding: 14px 0; }
  .results__top { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 0; }
  .stats > div { padding: 22px 0; display: flex; align-items: baseline; gap: 18px; }
  .stats dd { margin: 0; }
  .ev { grid-template-columns: 70px 1fr auto; gap: 6px 14px; }
  .ev__tag { grid-column: 2; grid-row: 2; }
  .ev__btn { grid-column: 3; grid-row: 1 / span 2; }
  .ev__more { grid-column: 1 / -1; }
  .ev__inner { grid-template-columns: 1fr; gap: 0; }
  .ev__inner p { margin-top: 14px; }
  .cta { height: 110vh; min-height: 640px; }
  .cta__title { top: 16vh; font-size: clamp(46px, 13vw, 100px); }
  .cta__l2 { margin-top: .3em; }
  .cta__btn { left: 50%; transform: translateX(-50%); bottom: auto; top: 50vh; }
  .cta__figure { width: min(70vw, 360px); }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .plans { grid-template-columns: 1fr; }
  .plan > span { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .demo { grid-template-columns: 1fr; }
  .demo img { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .pcard { width: 76vw; }
  .programs__intro { width: 78vw; }
  .events__head { flex-direction: column; align-items: flex-start; }
  .rcard { width: 260px; }
}

/* No-JS-animation fallback (reduced motion or CDN failure): everything reachable */
.no-motion .programs__viewport { height: auto; overflow-x: auto; padding: 100px 0; scroll-snap-type: x mandatory; }
.no-motion .pcard { scroll-snap-align: center; }
.no-motion .club__statement .w { color: var(--ink); }
.no-motion .chart__line { stroke-dasharray: none; }

/* Reduced motion: keep layout, remove movement */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .club__statement .w { color: var(--ink); }
}
