/* ============================================
   TOP PULSE — Design Tokens
   Spotify dark immersion + Nike athletic precision
   ============================================ */
:root {
  /* Palette */
  --bg:          #0E0E0E;
  --surface:     #1A1A1A;
  --panel:       #242424;
  --accent:      #FF4D00;
  --accent-hover:#E64400;
  --accent-glow: rgba(255, 77, 0, 0.15);
  --text:        #F5F5F5;
  --text-2:      #A0A0A0;
  --text-3:      #666666;
  --border:      rgba(255, 255, 255, 0.08);
  --border-active:rgba(255, 77, 0, 0.3);

  /* Typography */
  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-body:    'Inter', -apple-system, sans-serif;

  /* Spacing (8px grid) */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 20px; --s6: 24px; --s7: 32px; --s8: 40px;
  --s9: 48px; --s10: 64px; --s11: 80px; --s12: 120px;

  /* Radius */
  --r-pill: 9999px;
  --r-sm: 4px;
  --r-md: 8px;

  /* Shadows */
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-heavy: 0 16px 48px rgba(0,0,0,0.6);

  /* Safe area */
  --tab-bar-h: 64px;
  --nav-h: 60px;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  -webkit-text-size-adjust: 100%;
  overflow-y: scroll; /* always reserve scrollbar space to prevent layout shift */
  overflow-x: clip; /* prevent horizontal scroll without breaking sticky */
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; -webkit-tap-highlight-color: transparent; }
* { -webkit-tap-highlight-color: transparent; }
ul { list-style: none; }
img, video { display: block; max-width: 100%; }

/* Utility */
.text-accent { color: var(--accent); }

/* Custom cursor removed — felt laggy */

/* ============================================
   NOISE / GRAIN OVERLAY
   ============================================ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  z-index: 9997;
  transform-origin: left;
}

/* ============================================
   Placeholder images (replace with real photos)
   ============================================ */
.img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-3);
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  position: relative;
  overflow: hidden;
}
.img-placeholder::before {
  content: attr(data-label);
}
.img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,77,0,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.img-placeholder--portrait { aspect-ratio: 3 / 4; }
.img-placeholder--transform { aspect-ratio: 3 / 4; }
.img-placeholder--after { background: var(--surface); }
.img-placeholder--wide { aspect-ratio: 16 / 9; }

/* ============================================
   Animation setup classes
   ============================================ */
.anim       { opacity: 0; transform: translateY(30px); }
.anim-scale { opacity: 0; transform: scale(0.95); }
.anim-left  { opacity: 0; transform: translateX(-40px); }

/* Image reveal — GSAP controls clipPath, CSS handles inner scale */
.img-reveal {
  overflow: hidden;
  clip-path: inset(100% 0 0 0);
}
.img-reveal img {
  transform: scale(1.15);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: var(--s3) var(--s6);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--r-pill);
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.02);
}
.btn--lg {
  padding: var(--s4) var(--s7);
  font-size: 15px;
}

/* ============================================
   Section titles
   ============================================ */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s3);
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 10vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: var(--s4);
}
.section-sub {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: var(--s8);
  max-width: 400px;
}

/* ============================================
   S1. PRELOADER
   ============================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s6);
}
.preloader__brand {
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: 0.04em;
  color: var(--text);
}
.preloader__accent { color: var(--accent); }
.preloader__bar {
  width: 120px;
  height: 2px;
  background: var(--panel);
  border-radius: 1px;
  overflow: hidden;
}
.preloader__progress {
  width: 0%;
  height: 100%;
  background: var(--accent);
  border-radius: 1px;
}

/* ============================================
   NAVIGATION — Desktop top bar
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s4) var(--s6);
  transition: background 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(14, 14, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  z-index: 2;
}
.nav__logo-accent { color: var(--accent); }
.nav__links {
  display: none; /* hidden on mobile */
}
.nav__link {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-2);
  transition: color 0.3s;
  position: relative;
  padding-bottom: 4px;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { width: 100%; }
.nav__cta {
  display: none; /* hidden on mobile */
}

/* Hamburger */
.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  padding: 4px 0;
  z-index: 2;
}
.nav__burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.3s;
}
.nav__burger.open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger.open span:last-child  { transform: translateY(-4px) rotate(-45deg); }

/* ============================================
   MOBILE DRAWER
   ============================================ */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
}
.drawer.open { pointer-events: all; }
.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s;
}
.drawer.open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--surface);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: var(--s6);
  padding-bottom: calc(var(--tab-bar-h) + var(--s6));
  display: flex;
  flex-direction: column;
  gap: var(--s7);
  z-index: 101;
}
.drawer.open .drawer__panel { transform: translateX(0); }
.nav.hidden { opacity: 0; pointer-events: none; }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer__brand {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
}
.drawer__close {
  font-size: 28px;
  color: var(--text-2);
  line-height: 1;
}
.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}
.drawer__link {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.02em;
  color: var(--text);
  transition: color 0.2s;
}
.drawer__link:hover { color: var(--accent); }
.drawer__lang {
  display: flex;
  gap: var(--s2);
}
.drawer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--s3) var(--s6);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--r-pill);
  margin-top: auto;
}

/* Language buttons */
.lang-btn {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: var(--s1) var(--s3);
  border-radius: var(--r-pill);
  color: var(--text-3);
  transition: all 0.2s;
  border: 1px solid transparent;
}
.lang-btn.active {
  color: var(--text);
  border-color: rgba(255,255,255,0.15);
}
.lang-btn:hover { color: var(--text); }

/* ============================================
   S2. HERO
   ============================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--s6);
  padding-bottom: calc(var(--tab-bar-h) + var(--s8));
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--bg) 0%,
    rgba(14, 14, 14, 0.85) 15%,
    rgba(14, 14, 14, 0.4) 40%,
    rgba(14, 14, 14, 0.2) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(56px, 14vw, 120px);
  line-height: 0.90;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: var(--s4);
  visibility: hidden; /* hidden until GSAP animates it in */
  perspective: 600px;
}
.hero__title.ready { visibility: visible; }
.hero__title-line {
  display: block;
  perspective: 600px;
}
.hero__sub {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: var(--s6);
  max-width: 300px;
  visibility: hidden; /* hidden until GSAP — same as title */
}
.hero__sub.ready { visibility: visible; }
.hero__cta {
  visibility: hidden; /* hidden until GSAP — same as title */
}
.hero__cta.ready { visibility: visible; }
.hero__scroll-hint {
  position: absolute;
  bottom: calc(var(--tab-bar-h) + var(--s4));
  right: var(--s6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  z-index: 2;
  visibility: hidden;
}
.hero__scroll-hint.ready { visibility: visible; }
.hero__scroll-hint::before {
  content: '';
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollLine 1.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ============================================
   S3. MANIFESTO
   ============================================ */
.manifesto {
  padding: var(--s11) var(--s6);
  overflow: hidden;
}
.manifesto__inner {
  display: flex;
  flex-direction: column;
  gap: var(--s8);
}
.manifesto__text {
  max-width: 500px;
}
.manifesto__heading {
  font-family: var(--font-display);
  font-size: clamp(48px, 14vw, 120px);
  line-height: 0.88;
  text-transform: uppercase;
  margin-bottom: var(--s6);
  margin-left: -0.04em;
  perspective: 600px;
}
.manifesto__heading-line {
  display: block;
  perspective: 600px;
}
@media (min-width: 1024px) {
  .manifesto__heading {
    font-size: clamp(80px, 8vw, 140px);
    margin-left: -6px;
    /* Let the text overflow the container edge for editorial feel */
    white-space: nowrap;
    overflow: visible;
  }
}
.manifesto__body {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: var(--s4);
  max-width: 440px;
}
.manifesto__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
}
.manifesto__img {
  overflow: hidden;
}
.manifesto__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.manifesto__img--1 { grid-column: 1 / -1; }
.manifesto__img--2,
.manifesto__img--3 { /* default 1 col each */ }
.manifesto__img--4 { grid-column: 1 / -1; }

/* ============================================
   S4. CLASS SCHEDULE
   ============================================ */
.classes {
  padding: var(--s11) 0 var(--s11) var(--s6);
  overflow: hidden;
}
.classes__header {
  padding-right: var(--s6);
  margin-bottom: var(--s7);
}
.classes__filters {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
  margin-top: var(--s4);
}
.filter-pill {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--s2) var(--s4);
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  color: var(--text-3);
  transition: all 0.25s;
  cursor: pointer;
}
.filter-pill:hover,
.filter-pill.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

/* Horizontal drag track */
.classes__track {
  display: flex;
  gap: var(--s3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--s6);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-right: var(--s6);
  padding-bottom: var(--s4);
  cursor: grab;
}
.classes__track:active { cursor: grabbing; }
.classes__track::-webkit-scrollbar { display: none; }

.day-col {
  flex: 0 0 240px;
  scroll-snap-align: start;
  background: var(--surface);
  border-radius: var(--r-md);
  padding: var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.day-col__head {
  display: flex;
  align-items: baseline;
  gap: var(--s2);
  padding-bottom: var(--s3);
  border-bottom: 2px solid var(--border);
}
.day-col[data-today] .day-col__head {
  border-bottom-color: var(--accent);
}
.day-col__name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.04em;
}
.day-col__date {
  font-size: 14px;
  color: var(--text-3);
}

/* Class slot — GSAP handles initial opacity/x, CSS only handles hover colors */
.class-slot {
  padding: var(--s3);
  background: var(--panel);
  border-radius: var(--r-sm);
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 3px solid transparent;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.class-slot:hover {
  border-left-color: var(--accent);
  background: rgba(255, 77, 0, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 77, 0, 0.1);
}
.class-slot__time {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.class-slot__name {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.02em;
}
.class-slot__trainer {
  font-size: 12px;
  color: var(--text-3);
}
.class-slot__intensity {
  font-size: 11px;
  margin-top: 2px;
}

.class-slot.hidden { display: none; }

.classes__drag-hint {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-top: var(--s4);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

/* ============================================
   MARQUEE STRIP
   ============================================ */
.marquee {
  overflow: hidden;
  padding: var(--s7) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}
.marquee__text {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 56px);
  letter-spacing: 0.04em;
  color: var(--text-3);
  white-space: nowrap;
  padding-right: var(--s4);
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   S5. TRAINERS — Fan card deck
   ============================================ */
.trainers {
  padding: var(--s11) var(--s6);
  overflow: hidden;
}
.trainers__deck {
  display: flex;
  flex-direction: column;
  gap: var(--s6);
  margin-top: var(--s4);
}
.trainer-card {
  display: flex;
  gap: var(--s4);
  background: var(--surface);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.trainer-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.trainer-card__img {
  flex: 0 0 120px;
  overflow: hidden;
}
.trainer-card__img .img-placeholder,
.trainer-card__img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: auto;
}
.trainer-card__info {
  padding: var(--s4) var(--s4) var(--s4) 0;
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}
.trainer-card__name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
}
.trainer-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 2px 0;
}
.trainer-card__bio {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  margin-top: var(--s1);
}

/* ============================================
   S6. TRANSFORMATION STORIES
   ============================================ */
.transform {
  padding: var(--s11) var(--s6);
  overflow: hidden;
}
.transform__stories {
  display: flex;
  flex-direction: column;
  gap: var(--s10);
}
.transform__story {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}
.transform__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
  position: relative;
}
.transform__before,
.transform__after {
  position: relative;
  overflow: hidden;
}
.transform__before img,
.transform__after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 3 / 4;
}
.transform__label {
  position: absolute;
  bottom: var(--s3);
  left: var(--s3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(14, 14, 14, 0.7);
  padding: 4px 10px;
  border-radius: var(--r-sm);
}
.transform__after {
  clip-path: inset(0 100% 0 0);
}
.transform__meta {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}
.transform__name {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.02em;
}
.transform__duration {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.transform__quote {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
  font-style: italic;
  max-width: 500px;
}

/* ============================================
   S7. PRICING
   ============================================ */
.pricing {
  padding: var(--s11) var(--s6);
  overflow: hidden;
}
.pricing__cards {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}
.pricing__card {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: var(--s7);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  position: relative;
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.pricing__card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 77, 0, 0.2);
  box-shadow: 0 8px 40px rgba(255, 77, 0, 0.08);
}
.pricing__card--popular {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255,77,0,0.06) 0%, var(--surface) 40%);
}
.pricing__badge {
  position: absolute;
  top: calc(-1 * var(--s3));
  left: var(--s7);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: var(--r-pill);
}
.pricing__tier-label {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--text-2);
}
.pricing__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pricing__currency {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-2);
}
.pricing__amount {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.pricing__card--popular .pricing__amount {
  color: var(--accent);
}
.pricing__period {
  font-size: 14px;
  color: var(--text-3);
}
.pricing__features {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  padding: var(--s4) 0;
  border-top: 1px solid var(--border);
}
.pricing__features li {
  font-size: 14px;
  color: var(--text-2);
  padding-left: var(--s5);
  position: relative;
}
.pricing__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.pricing__card .btn {
  align-self: flex-start;
  margin-top: var(--s2);
}

/* ============================================
   S8. SPACE TOUR
   ============================================ */
.space {
  padding: var(--s11) var(--s6);
  overflow: hidden;
}
/* Mobile: vertical stack */
.space__wrap {
  overflow: hidden;
}
.space__track {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}
.space__panel {
  position: relative;
  overflow: hidden;
}
.space__panel > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  max-height: 220px;
}
@media (min-width: 768px) {
  .space__panel > img {
    max-height: none;
  }
}
.space__panel-text {
  padding: var(--s4) 0;
}
.space__panel-label {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: var(--s1);
}
.space__panel-text p {
  font-size: 13px;
  color: var(--text-2);
}

/* ============================================
   S9. FINAL CTA
   ============================================ */
.cta {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s11) var(--s6);
  text-align: center;
  background: var(--bg);
}
.cta__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 14, 0.75);
}
.cta__content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}
.cta__heading {
  font-family: var(--font-display);
  font-size: clamp(40px, 10vw, 72px);
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: var(--s4);
}
.cta__sub {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: var(--s7);
}
.cta__buttons {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  align-items: stretch;
  max-width: 280px;
  margin: 0 auto;
}
.cta__buttons .btn {
  text-align: center;
}

/* ============================================
   S10. FOOTER
   ============================================ */
.footer {
  padding: var(--s10) var(--s6);
  padding-bottom: calc(var(--tab-bar-h) + var(--s8));
  border-top: 1px solid var(--border);
  position: relative;
}
.footer__tagline {
  font-family: var(--font-display);
  font-size: clamp(24px, 6vw, 40px);
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: var(--s6);
  opacity: 0.4;
  text-align: center;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s5);
  text-align: center;
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.04em;
}
.footer__social {
  display: flex;
  gap: var(--s5);
}
.footer__social-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-3);
  transition: color 0.3s, transform 0.3s;
  position: relative;
}
.footer__social-link:hover {
  color: var(--accent);
  transform: translateY(-2px);
}
.footer__info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s2);
  font-size: 13px;
  color: var(--text-3);
}
.footer__info a {
  color: var(--text-2);
  transition: color 0.3s;
  position: relative;
}
.footer__info a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}
.footer__info a:hover { color: var(--accent); }
.footer__info a:hover::after { width: 100%; }
.footer__sep { color: var(--text-3); }
.footer__lang {
  display: flex;
  gap: var(--s2);
}
.footer__copy {
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  margin-top: var(--s5);
}

/* ============================================
   MOBILE BOTTOM TAB BAR
   ============================================ */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-around;
  background: rgba(14, 14, 14, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  height: var(--tab-bar-h);
  padding-bottom: env(safe-area-inset-bottom);
}
.tab-bar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-3);
  transition: color 0.2s;
  text-transform: uppercase;
}
.tab-bar__item.active {
  color: var(--accent);
}
.tab-bar__item svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   DESKTOP BREAKPOINT (1024px+)
   ============================================ */
@media (min-width: 1024px) {

  /* Hide mobile-only */
  .tab-bar { display: none; }
  .nav__burger { display: none; }
  .drawer { display: none; }

  /* Show desktop nav */
  .nav {
    padding: var(--s5) var(--s8);
  }
  .nav__links {
    display: flex;
    gap: var(--s7);
  }
  .nav__cta {
    display: inline-flex;
    align-items: center;
    padding: var(--s2) var(--s5);
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--r-pill);
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
  }
  .nav__cta:hover {
    background: var(--accent-hover);
    transform: scale(1.02);
  }

  /* Remove tab-bar spacing */
  :root {
    --tab-bar-h: 0px;
  }

  /* Hero */
  .hero {
    padding: var(--s12) var(--s8) var(--s10);
  }
  .hero__sub {
    font-size: 16px;
    max-width: 400px;
  }
  .hero__scroll-hint {
    bottom: var(--s8);
    right: var(--s8);
  }

  /* Manifesto — sticky left + parallax right */
  .manifesto {
    padding: var(--s12) var(--s8);
    overflow: visible; /* override mobile overflow:hidden — needed for sticky */
  }
  .manifesto__inner {
    flex-direction: row;
    gap: var(--s10);
    align-items: flex-start;
  }
  .manifesto__text {
    flex: 0 0 42%;
    position: sticky;
    top: 100px;
    align-self: flex-start;
  }
  .manifesto__images {
    flex: 1;
    grid-template-columns: 1fr 1fr;
    gap: var(--s5);
  }
  .manifesto__img--1 { grid-column: 1 / -1; }
  .manifesto__img--4 { grid-column: 1 / -1; }

  /* Classes */
  .classes {
    padding-left: var(--s8);
  }
  .classes__header {
    padding-right: var(--s8);
  }
  .day-col {
    flex: 0 0 280px;
  }

  /* Trainers — horizontal fan on desktop */
  .trainers {
    padding: var(--s12) var(--s8);
  }
  .trainers__deck {
    flex-direction: row;
    gap: var(--s5);
    position: relative;
  }
  .trainer-card {
    flex: 1;
    flex-direction: column;
  }
  .trainer-card__img {
    flex: 0 0 auto;
    height: 280px;
  }
  .trainer-card__img .img-placeholder {
    aspect-ratio: auto;
    width: 100%;
  }
  .trainer-card__info {
    padding: var(--s5);
  }

  /* Transformations — wider layout */
  .transform {
    padding: var(--s12) var(--s8);
  }
  .transform__story {
    flex-direction: row;
    align-items: center;
    gap: var(--s8);
  }
  .transform__pair {
    flex: 1;
  }
  .transform__meta {
    flex: 0 0 320px;
  }

  /* Pricing — 3 columns */
  .pricing {
    padding: var(--s12) var(--s8);
  }
  .pricing__cards {
    flex-direction: row;
    gap: var(--s5);
  }
  .pricing__card {
    flex: 1;
  }

  /* Space Tour — horizontal scroll */
  .space {
    padding: var(--s12) var(--s8) 0;
    overflow: hidden;
  }
  .space__wrap {
    overflow: visible;
  }
  .space__track {
    flex-direction: row;
    width: max-content;
    gap: var(--s5);
  }
  .space__panel {
    width: 60vw;
    flex-shrink: 0;
  }

  /* CTA */
  .cta {
    min-height: 80vh;
    padding: var(--s12);
  }
  .cta__buttons {
    flex-direction: row;
    gap: var(--s4);
    justify-content: center;
  }

  /* Footer */
  .footer {
    padding: var(--s8);
  }
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ============================================
   Tablet tweaks
   ============================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  .pricing__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .pricing__card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }
  .trainers__deck {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .trainer-card {
    flex-direction: column;
  }
  .trainer-card__img {
    flex: 0 0 auto;
    height: 200px;
  }
  .trainer-card__img .img-placeholder {
    aspect-ratio: auto;
    width: 100%;
  }
  .trainer-card__info {
    padding: var(--s4);
  }
}

/* ============================================
   Body locked (drawer open or preloader)
   ============================================ */
body.locked {
  overflow: hidden;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
/* Focus visible — keyboard users only */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
:focus:not(:focus-visible) {
  outline: none;
}

/* Prefers reduced motion — show content without scroll animations, keep marquee */
/* Reduced motion: only affect non-essential decorative animations.
   Keep ALL functional animations (GSAP scroll-triggered) intact
   because GSAP handles its own reduced-motion internally. */
@media (prefers-reduced-motion: reduce) {
  .hero__scroll-hint::before { animation: none; }
}

/* Preloader exit — handled by GSAP yPercent now */
