/* ============================================================
   SUNRISE FITNESS — concept redesign · Black Lion Digital
   The page is a day: pre-dawn hero → daylight → dusk footer.
   ============================================================ */

@font-face {
  font-family: 'Druk Wide';
  src: url('../assets/fonts/druk-wide-500.woff') format('woff');
  font-weight: 500; font-style: normal; font-display: block;
}
@font-face {
  font-family: 'Bw Nista';
  src: url('../assets/fonts/bw-nista-400.woff') format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bw Nista';
  src: url('../assets/fonts/bw-nista-700.woff') format('woff');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --navy: #132C45;
  --navy-deep: #0B1B2E;
  --navy-ink: #071220;
  --coral: #EC694A;
  --coral-ink: #C24A28;
  --coral-hot: #FF7A54;
  --peach: #F5A98B;
  --dawn: #FFD9C4;
  --grey: #CACFD4;
  --mist: #EEF1F4;
  --white: #FFFFFF;
  --druk: 'Druk Wide', 'Arial Black', sans-serif;
  --nista: 'Bw Nista', 'Helvetica Neue', Arial, sans-serif;
  --ease-out: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  font-family: var(--nista);
  background: var(--navy-ink);
  color: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--coral); color: var(--white); }
:focus-visible { outline: 2.5px solid var(--coral-hot); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { outline-offset: 5px; }

section[id] { scroll-margin-top: 72px; }

h1, h2, h3, .druk {
  font-family: var(--druk);
  font-weight: 500;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .01em;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

/* ---------- utilities ---------- */
.wrap { width: min(1240px, calc(100% - clamp(40px, 8vw, 128px))); margin-inline: auto; }
.kicker {
  font-family: var(--druk); font-size: clamp(11px, 1.1vw, 13px);
  text-transform: uppercase; letter-spacing: .32em; color: var(--coral);
  display: flex; align-items: center; gap: 14px;
}
.kicker::before {
  content: ''; width: 34px; height: 2px; background: var(--coral); flex: none;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; white-space: nowrap; max-width: 100%;
  font-family: var(--druk); font-size: 13px; letter-spacing: .18em;
  text-transform: uppercase; text-decoration: none;
  padding: 20px 34px; border-radius: 999px; border: 0;
  background: var(--coral); color: var(--white);
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease-out), transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--navy-ink); border-radius: inherit;
  transform: translateY(101%); transition: transform .45s var(--ease-io);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(236, 105, 74, .55); }
.btn:hover::after { transform: translateY(0); }
.btn .arr { transition: transform .35s var(--ease-out); }
.btn:hover .arr { transform: translateX(5px); }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn--ghost::after { background: var(--white); }
.btn--ghost:hover { color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--white); }
.btn--navy { background: var(--navy); }
.btn--navy::after { background: var(--coral); }

/* reveal-on-scroll primitives */
.rv { opacity: 0; transform: translateY(38px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }

/* line-mask headline reveal */
.lm { overflow: hidden; display: block; }
.lm > span { display: block; transform: translateY(110%); transition: transform 1.1s var(--ease-io); }
.in .lm > span, .lm.in > span { transform: none; }

/* ---------- progress rail (sun tracker) ---------- */
#rail {
  position: fixed; right: clamp(12px, 2.2vw, 30px); top: 50%;
  translate: 0 -50%; height: min(46vh, 420px); width: 2px;
  background: rgba(255,255,255,.14); z-index: 60; border-radius: 2px;
}
#rail .dot {
  position: absolute; left: 50%; top: 0; width: 14px; height: 14px;
  translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--coral-hot), var(--coral) 65%);
  box-shadow: 0 0 18px 2px rgba(236,105,74,.65);
}
#rail .lbl {
  position: absolute; right: 16px; font-family: var(--druk); font-size: 9px;
  letter-spacing: .22em; color: rgba(255,255,255,.55); white-space: nowrap;
  translate: 0 -50%; text-transform: uppercase; transition: color .4s;
}
#rail.on-light { background: rgba(19,44,69,.15); }
#rail.on-light .lbl { color: rgba(19,44,69,.55); }

/* ---------- nav ---------- */
#nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  transition: background .5s, box-shadow .5s, translate .45s var(--ease-out);
}
#nav .bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 56px);
}
#nav.hid { translate: 0 -100%; }
#nav.solid { background: rgba(7, 18, 32, .82); backdrop-filter: blur(18px); box-shadow: 0 1px 0 rgba(255,255,255,.07); }
.logo { display: inline-flex; align-items: center; text-decoration: none; position: relative; z-index: 90; }
.logo img { display: block; height: 36px; width: auto; }
footer .logo img { height: 40px; }
@media (max-width: 760px) { #nav .logo img { height: 30px; } }
#nav .links { display: flex; gap: clamp(16px, 2.6vw, 34px); align-items: center; }
#nav .links a:not(.btn) {
  font-family: var(--druk); font-size: 10.5px; letter-spacing: .22em;
  text-transform: uppercase; text-decoration: none; color: rgba(255,255,255,.72);
  padding: 8px 2px; position: relative; transition: color .3s;
}
#nav .links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: 2px; height: 1.5px; width: 100%;
  background: var(--coral); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-io);
}
#nav .links a:not(.btn):hover { color: var(--white); }
#nav .links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
#nav .links a.active { color: var(--white); }
#nav .links a.active::after { transform: scaleX(1); transform-origin: left; }
#nav .btn { padding: 13px 24px; font-size: 10.5px; }
#burger { display: none; }

/* ---------- hero ---------- */
#hero { position: relative; }
#hero .stage { position: relative; height: 100vh; height: 100svh; overflow: clip; }
#heroVideo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; background: var(--navy-ink);
}
#hero .stage::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(7,18,32,.62) 0%, rgba(7,18,32,.34) 38%, rgba(7,18,32,.38) 62%, rgba(7,18,32,.78) 100%),
    radial-gradient(120% 90% at 50% 42%, transparent 40%, rgba(7,18,32,.42) 100%);
}
#hero .stage::after { /* grain */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}
.hero-inner {
  position: absolute; inset: 0; display: grid; place-content: center;
  text-align: center; z-index: 3; padding: 96px 20px 90px;
}
#club .club-inner { z-index: 3; }
.hero-kick {
  font-family: var(--druk); font-size: clamp(10px, 1.3vw, 13px); letter-spacing: .42em;
  color: var(--dawn); text-transform: uppercase; margin-bottom: 26px; opacity: .92;
}
.hero-title {
  font-size: clamp(40px, min(8.2vw, 15.5vh), 118px); color: var(--white);
  text-shadow: 0 8px 60px rgba(7,18,32,.45);
}
.hero-title .lm:last-child > span {
  background: linear-gradient(94deg, var(--dawn) 8%, var(--coral-hot) 55%, var(--coral) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none;
}
.hero-title .lm > span { transition-duration: 1.35s; }
.hero-sub {
  max-width: 560px; margin: 34px auto 0; color: rgba(255,255,255,.82);
  font-size: clamp(15px, 1.6vw, 18px); line-height: 1.7;
}
.hero-cta { margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 0 clamp(20px, 4vw, 56px) 30px;
  font-family: var(--druk); font-size: 10px; letter-spacing: .28em;
  text-transform: uppercase; color: rgba(255,255,255,.62);
}
.hero-meta .scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-meta .scroll-cue i {
  width: 1.5px; height: 44px; background: linear-gradient(var(--coral), transparent);
  display: block; animation: cue 1.8s var(--ease-io) infinite;
}
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; } }
.hero-clock { font-variant-numeric: tabular-nums; }
.hero-clock b { color: var(--coral-hot); font-weight: 500; }

.club-risetime {
  position: absolute; right: clamp(20px, 4vw, 56px); bottom: clamp(24px, 5vh, 48px);
  z-index: 3; text-align: right; opacity: 0; pointer-events: none;
}
.club-risetime span {
  font-family: var(--druk); font-size: clamp(54px, 9vw, 132px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.8px rgba(255,217,196,.8);
  font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.club-risetime em {
  display: block; margin-top: 12px; font-style: normal; font-family: var(--druk);
  font-size: clamp(9px, 1.1vw, 12px); letter-spacing: .38em; text-transform: uppercase;
  color: var(--dawn); opacity: .9;
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--navy-ink); border-block: 1px solid rgba(255,255,255,.09);
  overflow: clip; padding: 22px 0; position: relative; z-index: 5;
}
.marquee .track { display: flex; width: max-content; gap: 0; animation: mq 26s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.marquee .seg {
  display: flex; align-items: center; gap: 38px; padding-right: 38px;
  font-family: var(--druk); font-size: clamp(18px, 2.6vw, 30px);
  text-transform: uppercase; white-space: nowrap;
}
.marquee .seg span { color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.5); transition: color .4s, -webkit-text-stroke-color .4s; }
.marquee .seg span:hover { color: var(--coral); -webkit-text-stroke-color: var(--coral); }
.marquee .sun {
  width: 13px; height: 13px; border-radius: 50%; background: var(--coral); flex: none;
}

/* coral text on light sections: AA-contrast ink variant */
#about .kicker, #training .kicker, #community .kicker, #membership .kicker, #studio .kicker { color: var(--coral-ink); }
#about .kicker::before, #training .kicker::before, #community .kicker::before, #membership .kicker::before, #studio .kicker::before { background: var(--coral-ink); }
.price-card:not(.hero-card) .tag { color: var(--coral-ink); }
.price-card:not(.hero-card) .amount .cur { color: var(--coral-ink); }
.stat .num sup { color: var(--coral-ink); }

/* ---------- generic section head ---------- */
.shead { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 72px); }
.shead h2 { font-size: clamp(34px, 5.6vw, 76px); }
.shead .lede { max-width: 620px; font-size: clamp(15px, 1.5vw, 18px); }

/* ---------- manifesto (morning mist) ---------- */
#about { background: var(--mist); color: var(--navy); padding: clamp(90px, 12vw, 170px) 0; position: relative; }
#about .grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.manifesto { font-size: clamp(30px, 4.4vw, 58px); }
.manifesto .row { display: block; }
.manifesto .w { display: inline-block; opacity: .14; transform: translateY(.28em); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.manifesto .w.lit { opacity: 1; transform: none; }
.manifesto .accent { color: var(--coral); }
#about .copy { margin-top: 34px; max-width: 520px; color: rgba(19,44,69,.78); font-size: 17px; }
#about .copy strong { color: var(--navy); }
#about .stat-strip { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 36px clamp(36px, 6vw, 90px); margin-top: 48px; }
.stat .num {
  font-family: var(--druk); font-size: clamp(34px, 4.4vw, 56px); color: var(--navy);
  display: flex; align-items: baseline; gap: 4px;
}
.stat .num sup { font-size: .45em; color: var(--coral); }
.stat .cap { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(19,44,69,.55); margin-top: 6px; }
.about-fig { position: relative; }
.about-fig .ph {
  border-radius: 22px; overflow: clip; aspect-ratio: 3/4.1;
  box-shadow: 0 40px 90px -30px rgba(11,27,46,.45);
}
.about-fig .ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.about-fig .badge {
  position: absolute; left: -34px; bottom: 42px; width: 128px; height: 128px;
  animation: spin 22s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }
.about-fig .badge .core {
  position: absolute; inset: 33px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--coral-hot), var(--coral) 70%);
  box-shadow: 0 18px 40px -12px rgba(236,105,74,.7);
}
@media (prefers-reduced-motion: reduce) { .about-fig .badge { animation: none; } }

/* ---------- training (daylight) ---------- */
#training { background: var(--white); color: var(--navy); padding: clamp(90px, 12vw, 170px) 0; }
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.tcard {
  position: relative; border-radius: 20px; overflow: clip; aspect-ratio: 3/4.4;
  background: var(--navy); transform-style: preserve-3d; perspective: 900px;
  cursor: default;
}
.tcard .im { position: absolute; inset: 0; }
.tcard .im img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) brightness(.68) contrast(1.1) sepia(.38) hue-rotate(175deg) saturate(2.4);
  transition: filter .8s var(--ease-out), transform 1.2s var(--ease-out);
  transform: scale(1.06);
}
.tcard:hover .im img { filter: none; transform: scale(1.01); }
.tcard::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,18,32,.88) 0%, rgba(7,18,32,.25) 45%, rgba(7,18,32,.05) 70%);
}
.tcard .inner { position: absolute; inset: 0; z-index: 2; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); }
.tcard .idx {
  position: absolute; top: 22px; left: 24px; font-family: var(--druk);
  font-size: 10.5px; letter-spacing: .24em; color: var(--dawn); text-transform: uppercase;
}
.tcard .idx::after { content: ''; display: block; width: 30px; height: 2px; background: var(--coral); margin-top: 8px; }
.tcard h3 { font-size: clamp(20px, 2.1vw, 27px); margin-bottom: 12px; }
.tcard p { font-size: 14.5px; color: rgba(255,255,255,.82); line-height: 1.6; max-width: 34ch; }

/* ---------- timetable: the sun arc ---------- */
#timetable { background: var(--white); color: var(--navy); padding: 0 0 clamp(90px, 12vw, 170px); }
#timetable .panel {
  background: var(--navy-deep); border-radius: 28px; color: var(--white);
  padding: clamp(36px, 5vw, 72px); position: relative; overflow: clip;
}
#timetable .panel::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 45% at 50% 108%, rgba(236,105,74,.32), transparent 70%),
    radial-gradient(40% 30% at 50% 112%, rgba(255,169,120,.25), transparent 70%);
  pointer-events: none;
}
#timetable .panel .shead { position: relative; z-index: 2; }
#timetable .panel .lede { color: rgba(255,255,255,.75); }
.tt-toggle { display: inline-flex; justify-self: start; background: rgba(255,255,255,.08); border-radius: 999px; padding: 5px; gap: 4px; position: relative; z-index: 2; }
.tt-toggle button {
  border: 0; background: transparent; color: rgba(255,255,255,.6);
  font-family: var(--druk); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  padding: 11px 22px; border-radius: 999px; transition: background .35s, color .35s;
  white-space: nowrap;
}
.tt-toggle button[aria-pressed="true"] { background: var(--coral); color: var(--white); }
#arcBox { position: relative; z-index: 2; margin-top: 10px; }
#arcSvg { width: 100%; height: auto; display: block; overflow: visible; }
#arcSvg .arcline { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1.5; stroke-dasharray: 3 7; }
#arcSvg .horizon { stroke: rgba(255,255,255,.22); stroke-width: 1; }
#arcSvg .sesh { cursor: pointer; }
#arcSvg .sesh circle.c {
  fill: var(--navy-deep); stroke: var(--coral); stroke-width: 2;
  transition: fill .3s, r .3s, stroke .3s;
}
#arcSvg .sesh:hover circle.c, #arcSvg .sesh.hot circle.c { fill: var(--coral-hot); stroke: var(--coral-hot); }
#arcSvg .sesh text {
  fill: rgba(255,255,255,.72); font-family: var(--nista); font-size: 12px; font-weight: 700;
  text-anchor: middle; transition: fill .3s;
}
#arcSvg .sesh:hover text, #arcSvg .sesh.hot text { fill: var(--white); }
#arcSvg .sunball { filter: drop-shadow(0 0 14px rgba(255,140,90,.85)); }
#arcSvg .dawnwash { pointer-events: none; }
#arcSvg .arclabel { fill: rgba(255,255,255,.62); font-family: var(--druk); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; }
.tt-chips { display: none; list-style: none; }

.tt-legend { position: relative; z-index: 2; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-top: 26px; align-items: center; }
.tt-legend .note { font-size: 13.5px; color: rgba(255,255,255,.65); max-width: 46ch; }
.tt-legend .druk-line { font-family: var(--druk); font-size: 12px; letter-spacing: .22em; color: var(--dawn); }

/* ---------- community (golden hour) ---------- */
#community {
  background: linear-gradient(180deg, var(--white) 0%, #FBE9DE 30%, var(--peach) 130%);
  color: var(--navy); padding: clamp(90px, 12vw, 170px) 0;
}
.quote-stage { position: relative; min-height: 380px; }
.quote-stage::before {
  content: '\201C'; position: absolute; top: -.28em; left: -.06em;
  font-family: var(--druk); font-size: clamp(120px, 16vw, 220px); line-height: 1;
  color: var(--coral); opacity: .14; pointer-events: none;
}
.bigq {
  position: absolute; inset: 0; opacity: 0; translate: 0 26px;
  transition: opacity .8s var(--ease-out), translate .8s var(--ease-out);
  pointer-events: none; display: grid; align-content: start; gap: 30px;
}
.bigq.show { opacity: 1; translate: none; pointer-events: auto; }
.bigq blockquote {
  font-family: var(--druk); text-transform: uppercase; line-height: 1.12;
  font-size: clamp(19px, 2.6vw, 34px); max-width: 24ch;
}
.bigq blockquote em { font-style: normal; color: var(--coral); }
.bigq cite { font-style: normal; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: rgba(19,44,69,.6); }
.bigq cite b { color: var(--navy); }
.q-nav { display: flex; gap: 10px; margin-top: 26px; }
.q-nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(19,44,69,.25);
  background: transparent; color: var(--navy); display: grid; place-items: center;
  transition: background .3s, color .3s, border-color .3s;
}
.q-nav button:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.q-count { font-family: var(--druk); font-size: 11px; letter-spacing: .2em; align-self: center; margin-left: 8px; color: rgba(19,44,69,.55); }
#community .grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.polas { position: relative; height: 520px; }
.pola {
  position: absolute; width: min(62%, 300px); background: var(--white); padding: 12px 12px 44px;
  border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(11,27,46,.35);
  transition: transform .6s var(--ease-out), z-index 0s .1s;
}
.pola img { border-radius: 3px; aspect-ratio: 1/1.15; object-fit: cover; width: 100%; }
.pola figcaption { position: absolute; bottom: 12px; left: 16px; font-family: var(--druk); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); }
.pola:nth-child(1) { top: 0; left: 0; rotate: -5deg; }
.pola:nth-child(2) { top: 90px; right: 0; rotate: 4deg; }
.pola:nth-child(3) { bottom: 0; left: 14%; rotate: -2deg; }
.pola:hover { transform: scale(1.05) rotate(0deg); z-index: 5; }
.g-rating { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.g-rating .stars { color: var(--coral); letter-spacing: 3px; font-size: 19px; }
.g-rating .lbl2 { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(19,44,69,.6); }

/* ---------- 5am club: scroll to rise (WebGL dawn) ---------- */
#club { position: relative; height: 210vh; background: var(--navy-ink); }
.club-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip;
  display: grid; align-items: center;
}
#skyCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.club-stage::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to right, rgba(7,18,32,.66) 0%, rgba(7,18,32,.24) 55%, transparent 80%);
}
.club-stage::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .07; z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}
.club-cue {
  position: absolute; left: 50%; bottom: 26px; translate: -50%; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--druk); font-size: 10px; letter-spacing: .28em;
  text-transform: uppercase; color: rgba(255,255,255,.62);
  transition: opacity .5s;
}
.club-cue i {
  width: 1.5px; height: 44px; background: linear-gradient(var(--coral), transparent);
  display: block; animation: cue 1.8s var(--ease-io) infinite;
}
.club-inner { position: relative; z-index: 2; padding-block: 0; }
.club-inner h2 { font-size: clamp(36px, 6.4vw, 92px); color: var(--white); margin-top: 22px; }
.club-inner p:last-child { max-width: 46ch; margin-top: 26px; color: rgba(255,255,255,.85); font-size: clamp(15px, 1.5vw, 17.5px); }
.club-inner .kicker { color: var(--dawn); }
.club-inner .kicker::before { background: var(--dawn); }

/* ---------- team ---------- */
#team { background: var(--navy); color: var(--white); padding: clamp(90px, 12vw, 170px) 0; position: relative; overflow: clip; }
#team::after {
  content: 'COACHES'; position: absolute; right: -1%; bottom: -4%; z-index: 0;
  font-family: var(--druk); font-size: clamp(90px, 17vw, 260px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07); pointer-events: none;
}
#team .grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); position: relative; z-index: 2; }
#team .teamfig { border-radius: 22px; overflow: clip; aspect-ratio: 3/4; position: relative; }
#team .teamfig img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); will-change: transform; }
#team .teamfig::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,18,32,.55), transparent 45%); }
.coach { border-top: 1px solid rgba(255,255,255,.14); padding: 26px 0; transition: padding-left .45s var(--ease-out); position: relative; }
.coach:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.coach:hover { padding-left: 18px; }
.coach::before {
  content: ''; position: absolute; left: 0; top: 50%; translate: 0 -50%;
  width: 6px; height: 6px; border-radius: 50%; background: var(--coral);
  opacity: 0; transition: opacity .3s;
}
.coach:hover::before { opacity: 1; }
.coach h3 { font-size: clamp(19px, 2vw, 25px); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.coach .role { font-family: var(--druk); font-size: 10px; letter-spacing: .22em; color: var(--coral-hot); white-space: nowrap; }
.coach p { margin-top: 12px; color: rgba(255,255,255,.72); font-size: 14.5px; max-width: 58ch; }

/* ---------- membership ---------- */
#membership { background: var(--mist); color: var(--navy); padding: clamp(90px, 12vw, 170px) 0; }
.pricing { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(18px, 2.6vw, 32px); perspective: 1400px; }
.price-card {
  border-radius: 24px; padding: clamp(30px, 3.6vw, 48px); position: relative;
  background: var(--white); border: 1px solid rgba(19,44,69,.1);
  transform-style: preserve-3d; transition: transform .18s ease-out, box-shadow .4s;
  overflow: clip;
}
.price-card.hero-card { background: var(--navy-deep); color: var(--white); border-color: transparent; }
.price-card.hero-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 85% 110%, rgba(236,105,74,.5), transparent 65%);
  pointer-events: none;
}
.price-card .tag { font-family: var(--druk); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--coral); }
.price-card h3 { font-size: clamp(20px, 2.2vw, 28px); margin-top: 14px; }
.price-card .amount { display: flex; align-items: baseline; gap: 8px; margin: 26px 0 6px; font-family: var(--druk); }
.price-card .amount .cur { font-size: 22px; color: var(--coral); }
.price-card .amount .val { font-size: clamp(56px, 6.5vw, 84px); line-height: 1; }
.price-card .amount .per { font-size: 12px; letter-spacing: .18em; color: currentColor; opacity: .55; }
.price-card ul { list-style: none; margin: 26px 0 34px; display: grid; gap: 12px; font-size: 14.5px; }
.price-card ul li { display: flex; gap: 12px; align-items: baseline; }
.price-card ul li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); flex: none; translate: 0 -1px; }
.price-card .shine {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.14), transparent 60%);
}
.price-card:hover .shine { opacity: 1; }
.trial-note {
  margin-top: clamp(28px, 4vw, 44px); display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; background: var(--navy); color: var(--white);
  border-radius: 20px; padding: clamp(24px, 3vw, 36px) clamp(24px, 3.4vw, 44px);
  position: relative; overflow: clip;
}
.trial-note::before {
  content: ''; position: absolute; left: -40px; top: 50%; translate: 0 -50%;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, var(--coral-hot), var(--coral) 70%);
  opacity: .9; filter: blur(2px);
}
.trial-note .txt { position: relative; z-index: 2; padding-left: clamp(120px, 14vw, 170px); flex: 1 1 420px; min-width: 0; }
.trial-note .txt p { max-width: 52ch; }
.trial-note .txt h3 { font-size: clamp(19px, 2.2vw, 27px); }
.trial-note .txt p { color: rgba(255,255,255,.78); font-size: 14.5px; margin-top: 8px; }
.trial-note .btn { position: relative; z-index: 2; flex: none; }

/* ---------- studio (gallery) ---------- */
#studio { background: var(--white); color: var(--navy); padding: clamp(90px, 12vw, 170px) 0 0; }
.gallery-shell { position: relative; }
.gallery-shell::before, .gallery-shell::after {
  content: ''; position: absolute; top: 0; bottom: 46px; width: clamp(16px, 4vw, 70px); z-index: 3; pointer-events: none;
}
.gallery-shell::before { left: 0; background: linear-gradient(90deg, var(--white), transparent); }
.gallery-shell::after { right: 0; background: linear-gradient(-90deg, var(--white), transparent); }
.drag-hint {
  position: absolute; right: clamp(20px, 8vw, 128px); top: -58px; z-index: 4;
  font-family: var(--druk); font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(19,44,69,.55); display: flex; align-items: center; gap: 10px;
}
.drag-hint::after { content: '⟶'; color: var(--coral); font-size: 15px; }
.gallery { display: flex; gap: clamp(14px, 1.8vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px clamp(20px, 8vw, 128px) 46px; scrollbar-width: none; cursor: grab; }
.gallery.dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery.dragging .gal-item { pointer-events: none; }
.gallery::-webkit-scrollbar { display: none; }
.gal-item { flex: none; width: min(72vw, 560px); scroll-snap-align: center; border-radius: 20px; overflow: clip; position: relative; aspect-ratio: 4/2.9; }
.gal-item.tall { width: min(52vw, 380px); aspect-ratio: 3/4; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.gal-item:hover img { transform: scale(1.045); }
.gal-item .cap {
  position: absolute; left: 18px; bottom: 16px; z-index: 2; color: var(--white);
  font-family: var(--druk); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  background: rgba(7,18,32,.5); backdrop-filter: blur(8px); padding: 9px 14px; border-radius: 999px;
}
.stud-feats { display: flex; gap: clamp(20px, 4vw, 54px); flex-wrap: wrap; padding-bottom: clamp(60px, 8vw, 110px); }
.stud-feats .f { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: rgba(19,44,69,.65); display: flex; gap: 10px; align-items: center; }
.stud-feats .f::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }

/* ---------- footer / dusk CTA ---------- */
#cta {
  position: relative; background: var(--navy-ink); color: var(--white);
  padding: clamp(110px, 15vw, 200px) 0 0; overflow: clip;
}
#cta .glow {
  position: absolute; left: 50%; bottom: -32vw; translate: -50%; width: 90vw; height: 64vw;
  background:
    radial-gradient(closest-side, rgba(255,122,84,.5), rgba(236,105,74,.22) 46%, transparent 72%);
  pointer-events: none; animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .75; transform: translateX(-50%) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { #cta .glow { animation: none; } }
#cta .big {
  text-align: center; font-size: clamp(44px, 9vw, 130px); position: relative; z-index: 2;
}
#cta .big .out { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.4); display: block; }
#cta .sub { text-align: center; margin: 30px auto 0; max-width: 480px; color: rgba(255,255,255,.75); position: relative; z-index: 2; }
#cta .cta-row { display: flex; justify-content: center; gap: 16px; margin-top: 44px; flex-wrap: wrap; position: relative; z-index: 2; }
footer { position: relative; z-index: 2; margin-top: clamp(80px, 10vw, 140px); border-top: 1px solid rgba(255,255,255,.1); background: rgba(7,18,32,.6); backdrop-filter: blur(6px); }
footer .cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 60px);
  padding: clamp(44px, 6vw, 70px) 0;
}
footer .fh { font-family: var(--druk); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--coral-hot); margin-bottom: 18px; }
footer ul { list-style: none; display: grid; gap: 10px; font-size: 14.5px; color: rgba(255,255,255,.75); }
footer a { text-decoration: none; transition: color .3s; }
footer a:hover { color: var(--coral-hot); }
footer .fine {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 22px 0 30px; border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12px; color: rgba(255,255,255,.45);
}
.times { font-variant-numeric: tabular-nums; }
.times li { display: flex; justify-content: space-between; gap: 14px; }
.times li span:last-child { color: var(--white); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  #rail { display: none; }
  #about .grid, #community .grid, #team .grid { grid-template-columns: 1fr; }
  .tcards { grid-template-columns: 1fr; }
  .tcard { aspect-ratio: 4/3.1; }
  .tcard p { max-width: 60ch; }
  .pricing { grid-template-columns: minmax(0,1fr); }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .about-fig .badge { left: auto; right: -18px; }
  .polas { height: 480px; }
}
@media (max-width: 900px) {
  #nav .links {
    position: fixed; inset: 0; background: rgba(7,18,32,.96); backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; gap: 30px;
    opacity: 0; pointer-events: none; transition: opacity .4s;
  }
  #nav .links.open { opacity: 1; pointer-events: auto; }
  #nav .links a:not(.btn) { font-size: 16px; }
  #burger {
    display: grid; gap: 5px; background: none; border: 0; padding: 10px; z-index: 90; position: relative;
  }
  #burger i { width: 26px; height: 2px; background: var(--white); display: block; transition: transform .35s var(--ease-io), opacity .3s; }
  #burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
  #burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 760px) {
  .hero-title { font-size: clamp(24px, 8.2vw, 40px); }
  .hero-cta .btn { width: min(100%, 340px); }
  .btn { padding: 17px 22px; font-size: clamp(10px, 3vw, 12px); letter-spacing: .12em; }
  .price-card .btn { width: 100%; }
  .trial-note .btn { width: 100%; }
  #arcSvg .arclabel { font-size: 15px; }
  #arcSvg .sesh text { display: none; }
  #arcSvg .sesh circle.c { r: 12px; }
  #arcSvg .sunball circle:first-child { r: 17px; }
  .tt-chips {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding: 0;
  }
  .tt-chips li {
    font-family: var(--druk); font-size: 10.5px; letter-spacing: .14em;
    color: var(--dawn); border: 1.5px solid rgba(236,105,74,.55);
    border-radius: 999px; padding: 8px 13px; text-transform: uppercase;
  }
  .pola { width: 62%; padding-bottom: 38px; }
  .pola:nth-child(2) { top: 150px; }
  .pola:nth-child(3) { bottom: -10px; left: 8%; }
  .hero-meta { justify-content: center; }
  .hero-meta .hero-clock, .hero-meta .loc { display: none; }
  .trial-note .txt { padding-left: 0; }
  .trial-note::before { left: auto; right: -44px; top: -44px; translate: none; width: 130px; height: 130px; opacity: .95; }
  .polas { height: 430px; }
  #club { height: 180vh; }
  .pola { width: 58%; }
  footer .cols { grid-template-columns: 1fr; }
  .drag-hint { display: none; }
  .club-stage::before {
    background: linear-gradient(to bottom, rgba(7,18,32,.6) 0%, rgba(7,18,32,.42) 55%, rgba(7,18,32,.5) 100%);
  }
  .gal-item { width: 84vw; }
  .gal-item.tall { width: 66vw; }
}

/* ?noanim review mode: freeze all motion at final state (also used for static screenshots) */
html.noanim { scroll-behavior: auto; }
html.noanim *, html.noanim *::before, html.noanim *::after { transition: none !important; animation: none !important; }
html.noanim .rv, html.noanim .lm > span, html.noanim .manifesto .w { opacity: 1 !important; transform: none !important; }

/* reduced motion: neutralize translations */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .lm > span, .manifesto .w { transition: none !important; transform: none !important; opacity: 1 !important; }
  .marquee .track { animation: none; }
}

