/* ═══════════════════════════════════════════════════
   1. DESIGN TOKENS
═══════════════════════════════════════════════════ */
:root {
  /* Brand */
  --brand: #1E6BFF;
  --brand-light: #38BDF8;
  --brand-deep: #0D52D6;
  --brand-glow: rgba(30, 107, 255, .32);
  --brand-soft: rgba(30, 107, 255, .12);
  --brand-line: rgba(30, 107, 255, .28);
  --ok: #00D68F;
  --ok-soft: rgba(0, 214, 143, .12);

  /* Surfaces */
  --bg: #08090B;
  --bg-2: #0E1013;
  --bg-3: #13161A;
  --card: #101317;
  --card-2: #15191E;

  /* Text */
  --tx: #FFFFFF;
  --tx-2: #A9B0B8;
  --tx-3: #6E7681;
  --tx-4: #454B52;

  /* Lines & glass */
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .13);
  --glass: rgba(255, 255, 255, .03);
  --glass-2: rgba(255, 255, 255, .055);

  /* Radii */
  --r-s: 10px;
  --r-m: 14px;
  --r-l: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* Elevation */
  --sh-s: 0 2px 10px rgba(0, 0, 0, .35);
  --sh-m: 0 14px 40px rgba(0, 0, 0, .45);
  --sh-l: 0 30px 80px rgba(0, 0, 0, .55);
  --sh-brand: 0 18px 60px rgba(30, 107, 255, .26);

  /* Type */
  --f-display: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Motion */
  --e-out: cubic-bezier(.22, 1, .36, 1);
  --e-spring: cubic-bezier(.34, 1.56, .64, 1);
  --t-fast: .2s var(--e-out);
  --t: .35s var(--e-out);
  --t-slow: .7s var(--e-out);
  --t-spring: .5s var(--e-spring);

  /* Layout */
  --nav-h: 76px;
  --ticker-h: 38px;
  --gutter: clamp(18px, 4.2vw, 72px);
  --max: 1240px;
}

/* ═══════════════════════════════════════════════════
   2. RESET & BASE
═══════════════════════════════════════════════════ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: calc(var(--nav-h) + var(--ticker-h) + 16px);
}

body {
  background: var(--bg);
  color: var(--tx-2);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100%;
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
  max-width: 100%
}

img {
  height: auto
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer
}

ul,
ol {
  list-style: none
}

input,
textarea,
select {
  font: inherit
}

::selection {
  background: var(--brand);
  color: #fff
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px
}



::-webkit-scrollbar {
  width: 10px;
  height: 10px
}

::-webkit-scrollbar-track {
  background: var(--bg)
}

::-webkit-scrollbar-thumb {
  background: #2A2F36;
  border-radius: 99px;
  border: 3px solid var(--bg)
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand)
}

.material-symbols-sharp {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  line-height: 1;
  user-select: none;
}

/* ═══════════════════════════════════════════════════
   3. KEYFRAMES
═══════════════════════════════════════════════════ */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(28px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-14px)
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .35
  }
}

@keyframes marquee {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(var(--dist, -50%))
  }
}

@keyframes shine {
  from {
    left: -90%
  }

  to {
    left: 130%
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: translateY(-14px) scale(1.06)
  }

  100% {
    opacity: 1;
    transform: none
  }
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false
}

@keyframes ringSpin {
  to {
    --angle: 360deg
  }
}

/* ═══════════════════════════════════════════════════
   4. REVEAL — progressive enhancement only
   Content is fully visible when JS is unavailable.
═══════════════════════════════════════════════════ */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s var(--e-out), transform .75s var(--e-out);
  will-change: opacity, transform;
}

html.js .reveal.visible {
  opacity: 1;
  transform: none
}

/* ═══════════════════════════════════════════════════
   5. LAYOUT HELPERS
═══════════════════════════════════════════════════ */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding: clamp(64px, 9vw, 132px) 0;
  position: relative
}

.section--tint {
  background: var(--bg-2)
}

.section--line {
  border-top: 1px solid var(--line)
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3.4px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}

.tag::before {
  content: '';
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), transparent);
}

.h-sec {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -.022em;
  text-transform: uppercase;
  color: var(--tx);
  margin-bottom: 16px;
}

.h-sec em {
  font-style: normal;
  background: linear-gradient(120deg, var(--brand), #38BDF8 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lede {
  font-size: clamp(14px, 1.15vw, 16.5px);
  color: var(--tx-2);
  line-height: 1.8;
  max-width: 58ch
}

.center {
  text-align: center
}

.center .lede {
  margin-inline: auto
}

.center .tag {
  justify-content: center
}

/* ═══════════════════════════════════════════════════
   6. BUTTONS
═══════════════════════════════════════════════════ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 16px 34px;
  border-radius: var(--r-s);
  overflow: hidden;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}

.btn span {
  position: relative;
  z-index: 1
}

.btn--solid {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 30px rgba(30, 107, 255, .28)
}

.btn--solid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, .28), transparent 58%);
  transform: translateX(-101%) skewX(-22deg);
  transition: transform 0s;
}

.btn--solid:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(30, 107, 255, .42)
}

.btn--solid:hover::after {
  transform: translateX(150%) skewX(-22deg);
  transition: transform .55s
}

.btn--solid:active {
  transform: translateY(-1px) scale(.985)
}

.btn--ghost {
  background: var(--glass);
  color: var(--tx);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn--ghost:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  transform: translateY(-3px)
}

.btn--sm {
  padding: 12px 24px;
  font-size: 11px;
  letter-spacing: 1.8px
}

/* ═══════════════════════════════════════════════════
   7. NAVBAR
═══════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-inline: var(--gutter);
  background: transparent;
  transition: background var(--t), border-color var(--t), backdrop-filter var(--t);
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(8, 9, 11, .78);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border-bottom-color: var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.01em;
  color: var(--tx);
  flex-shrink: 0;
}

.logo img {
  height: 36px;
  width: auto;
  object-fit: contain
}

.logo b {
  font-weight: 800
}

.logo b i {
  color: var(--brand);
  font-style: normal
}

/* Desktop nav: plain horizontal list. The drawer chrome (head / close button /
   footer CTA) and the per-item arrows are hidden here and appear only ≤820px. */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px
}

.nav-panel-head,
.nav-panel-cta,
.nav-arrow {
  display: none
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px
}

.nav-list a {
  position: relative;
  display: block;
  padding: 9px 14px;
  font-family: var(--f-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--tx-3);
  border-radius: var(--r-s);
  transition: color var(--t-fast), background var(--t-fast);
}

.nav-list a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--e-out);
}

.nav-list a:hover {
  color: var(--tx)
}

.nav-list a:hover::after,
.nav-list a.active::after {
  transform: scaleX(1)
}

.nav-list a.active {
  color: var(--tx)
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px
}

/* Dimmed backdrop behind the mobile drawer */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 850;
  background: rgba(4, 5, 6, .62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--e-out), visibility .3s;
}

.nav-scrim.open {
  opacity: 1;
  visibility: visible
}

#burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line-2);
  background: var(--glass);
  z-index: 2;
  transition: border-color var(--t-fast);
}

#burger:hover {
  border-color: var(--brand)
}

#burger i {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--tx);
  transition: transform .3s var(--e-out), opacity .2s
}

#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)
}

/* Scroll progress */
#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 901;
  background: linear-gradient(90deg, var(--brand), #38BDF8);
  box-shadow: 0 0 12px var(--brand-glow);
  transition: width .1s linear;
}

/* ═══════════════════════════════════════════════════
   8. TICKER
═══════════════════════════════════════════════════ */
#ticker {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 899;
  height: var(--ticker-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: rgba(8, 9, 11, .94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 100%;
  padding: 0 18px;
  border-right: 1px solid var(--line);
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
  animation: blink 2s ease-in-out infinite
}

.ticker-label span {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--tx-3)
}

.ticker-view {
  position: relative;
  flex: 1;
  overflow: hidden;
  height: 100%
}

.ticker-view::before,
.ticker-view::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  z-index: 2;
  pointer-events: none
}

.ticker-view::before {
  left: 0;
  background: linear-gradient(90deg, rgba(8, 9, 11, .96), transparent)
}

.ticker-view::after {
  right: 0;
  background: linear-gradient(270deg, rgba(8, 9, 11, .96), transparent)
}

.ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 42px;
  white-space: nowrap;
  font-size: 12.5px;
  color: var(--tx-3);
  transition: color var(--t-fast);
}

.ticker-item:hover {
  color: var(--tx-2)
}

.ticker-sep {
  width: 1px;
  height: 11px;
  background: var(--brand-line);
  flex-shrink: 0
}

.ticker-pct {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: .6px;
  padding: 2px 8px;
  border-radius: var(--r-full);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════
   9. HERO
═══════════════════════════════════════════════════ */
#home {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 100svh;
  min-height: 100dvh;
  padding-top: calc(var(--nav-h) + var(--ticker-h));
  padding-bottom: clamp(40px, 6vw, 80px);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-media img,
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  filter: brightness(.95) saturate(1.08) contrast(1.02);
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.4s cubic-bezier(.22, 1, .36, 1), transform 5s ease-out;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(8, 9, 11, .84) 0%, rgba(8, 9, 11, .58) 40%, rgba(8, 9, 11, .15) 80%, transparent 100%),
    linear-gradient(to top, rgba(8, 9, 11, .85) 0%, rgba(8, 9, 11, .35) 25%, transparent 55%);
}

/* Hero Slide Indicators */
.hero-indicators {
  position: absolute;
  bottom: clamp(16px, 3vw, 28px);
  right: max(var(--gutter), 24px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-dot {
  width: 22px;
  height: 3.5px;
  border-radius: 4px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, .28);
  cursor: pointer;
  transition: width var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, .6);
}

.hero-dot.active {
  width: 38px;
  background: var(--brand-light);
  box-shadow: 0 0 10px var(--brand-glow);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}

.hero-glow.a {
  width: min(46vw, 520px);
  aspect-ratio: 1;
  background: var(--brand);
  opacity: .16;
  top: -8%;
  right: 14%;
  animation: floatY 9s ease-in-out infinite
}

.hero-glow.b {
  width: min(32vw, 340px);
  aspect-ratio: 1;
  background: #38BDF8;
  opacity: .11;
  bottom: 4%;
  left: -4%;
  animation: floatY 12s ease-in-out infinite reverse
}

.hero-inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero-copy {
  max-width: 660px
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--glass);
  border: 1px solid var(--brand-line);
  border-radius: var(--r-full);
  padding: 8px 18px;
  margin-bottom: clamp(20px, 3vw, 30px);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--brand);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: riseIn .8s var(--e-out) both;
}

.pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 9px var(--brand);
  animation: blink 2s ease-in-out infinite
}

.hero-title {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(40px, 7.6vw, 92px);
  line-height: .94;
  letter-spacing: -.03em;
  color: var(--tx);
  animation: riseIn 1s .08s var(--e-out) both;
}

.hero-title .grad {
  background: linear-gradient(120deg, var(--brand), #38BDF8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .ghost {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.4px rgba(255, 255, 255, .32);
}

.hero-sub {
  margin: clamp(22px, 3vw, 30px) 0 clamp(28px, 4vw, 38px);
  font-size: clamp(14px, 1.2vw, 16.5px);
  font-weight: 300;
  line-height: 1.85;
  color: var(--tx-2);
  max-width: 52ch;
  animation: riseIn 1s .22s var(--e-out) both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: riseIn 1s .34s var(--e-out) both
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3.4vw, 44px);
  margin-top: clamp(34px, 5vw, 56px);
  animation: riseIn 1s .46s var(--e-out) both;
}

.stat {
  position: relative;
  padding-left: 15px
}

.stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--brand), transparent);
}

.stat b {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1;
  color: var(--tx)
}

.stat span {
  display: block;
  margin-top: 5px;
  font-size: 11.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--tx-3)
}

/* ═══════════════════════════════════════════════════
   10. ABOUT
═══════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center
}

.about-body p {
  color: var(--tx-2);
  line-height: 1.85;
  font-size: 15px;
  margin-bottom: 30px
}

.modes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px
}

.mode {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--r-m);
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform var(--t-spring), border-color var(--t), background var(--t);
}

.mode::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--t);
  background: linear-gradient(140deg, var(--brand-soft), transparent 55%);
}

.mode:hover {
  transform: translateY(-5px);
  border-color: var(--brand-line);
  background: var(--glass-2)
}

.mode:hover::before {
  opacity: 1
}

.mode>* {
  position: relative;
  z-index: 1
}

.mode .material-symbols-sharp {
  font-size: 26px;
  color: var(--brand);
  margin-bottom: 12px;
  /* inline-block so the box hugs the glyph: transform-origin then sits at the
 icon's centre instead of the centre of a full-width block (which made the
 glyph swing sideways on hover). */
  display: inline-block;
  transform-origin: 50% 50%;
  transition: transform .35s var(--e-spring);
}

.mode:hover .material-symbols-sharp {
  transform: scale(1.12) rotate(-6deg)
}

.mode h4 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--tx);
  margin-bottom: 7px;
  letter-spacing: .2px
}

.mode p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--tx-3)
}

.media-frame {
  position: relative;
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--brand-line);
  box-shadow: var(--sh-l);
  background: var(--card);
}

.media-frame::before,
.media-frame::after {
  content: '';
  position: absolute;
  z-index: 3;
  pointer-events: none;
  width: 42px;
  height: 42px;
  border: 2px solid var(--brand);
  transition: width .4s var(--e-out), height .4s var(--e-out);
}

.media-frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
  border-radius: var(--r-l) 0 0 0
}

.media-frame::after {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
  border-radius: 0 0 var(--r-l) 0
}

.media-frame:hover::before,
.media-frame:hover::after {
  width: 76px;
  height: 76px
}

.slides {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  max-height: 560px;
  overflow: hidden
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s var(--e-out);
  pointer-events: none
}

.slide.active {
  opacity: 1;
  pointer-events: auto
}

.slide-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .32);
  transition: all .3s var(--e-out)
}

.slide-dot.active {
  background: var(--brand);
  transform: scale(1.35);
  box-shadow: 0 0 12px var(--brand-glow)
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(8, 9, 11, .6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  color: var(--tx);
  font-size: 20px;
  line-height: 1;
  transition: background var(--t-fast), border-color var(--t-fast);
}

.slide-arrow:hover {
  background: var(--brand);
  border-color: var(--brand)
}

.slide-arrow.prev {
  left: 14px
}

.slide-arrow.next {
  right: 14px
}

/* ═══════════════════════════════════════════════════
   11. TRAINERS
═══════════════════════════════════════════════════ */
.team-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px
}

/* Trainers stay side-by-side (4 across) at every screen size */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(7px, 1.5vw, 20px);
  margin-top: clamp(34px, 4.5vw, 52px)
}

.coach {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-l);
  aspect-ratio: 3/4;
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform var(--t-spring), border-color var(--t);
}

.coach:hover {
  transform: translateY(-8px);
  border-color: var(--brand-line)
}

.coach img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.66) saturate(.94);
  transition: filter .5s, transform .6s var(--e-out)
}

.coach:hover img {
  filter: brightness(.30) saturate(.8);
  transform: scale(1.06)
}

/* Whole card is one link, so the profile is reachable by tap on touch devices
   (the hover overlay alone is not) and by keyboard. */
.coach-hit {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit
}

.coach-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(16px, 5.5vw, 52px) clamp(10px, 1.6vw, 22px) clamp(9px, 1.6vw, 22px);
  background: linear-gradient(to top, rgba(0, 0, 0, .92), transparent);
  transition: opacity .3s, transform .3s;
}

.coach-name h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(12.5px, 1.45vw, 19px);
  line-height: 1.25;
  color: var(--tx);
  letter-spacing: .1px
}

.coach-name span {
  display: block;
  margin-top: 3px;
  font-size: clamp(9px, .95vw, 11px);
  font-weight: 600;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: var(--brand)
}

.coach:hover .coach-name,
.coach:focus-within .coach-name {
  opacity: 0;
  transform: translateY(12px)
}

.coach-info {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 26px 22px;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .38s var(--e-out), transform .38s var(--e-out);
  background: linear-gradient(160deg, rgba(8, 9, 11, .55), rgba(8, 9, 11, .9));
}

.coach:hover .coach-info,
.coach:focus-within .coach-info {
  opacity: 1;
  transform: none;
  pointer-events: auto
}

.coach-info h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--tx);
  margin-bottom: 11px
}

.coach-info .rule {
  width: 38px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  margin-bottom: 13px
}

.coach-info p {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--tx-2);
  margin-bottom: 18px
}

/* ═══════════════════════════════════════════════════
   12. MEMBERSHIP / PLANS
═══════════════════════════════════════════════════ */
#membership {
  overflow: hidden
}

#membership::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 860px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(30, 107, 255, .09), transparent 62%);
}

#membership::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000, transparent 75%);
}

#membership>.wrap {
  position: relative;
  z-index: 1
}

/* Plans stay 3-across at every screen size; all type below is fluid so the
   cards remain legible from 320px phones up to desktop. */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1.5vw, 22px);
  align-items: stretch;
  max-width: 1120px;
  margin: clamp(38px, 5vw, 58px) auto 0;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: clamp(22px, 2.8vw, 38px) clamp(9px, 2vw, 30px) clamp(12px, 2.2vw, 30px);
  border-radius: clamp(12px, 1.5vw, 20px);
  background: var(--card);
  border: 1px solid var(--line);
  cursor: pointer;
  isolation: isolate;
  transition: transform var(--t-spring), border-color var(--t), box-shadow var(--t);
}

.plan::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--t);
  pointer-events: none;
  background: linear-gradient(165deg, rgba(30, 107, 255, .08), transparent 55%);
}

.plan:hover {
  transform: translateY(-8px);
  border-color: var(--line-2);
  box-shadow: var(--sh-l)
}

.plan:hover::before {
  opacity: 1
}

.plan>* {
  position: relative;
  z-index: 1
}

.plan--featured {
  border-color: var(--brand-line);
  background: linear-gradient(170deg, rgba(30, 107, 255, .10), var(--card) 34%);
}

.plan.picked {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--sh-brand);
  transform: translateY(-8px)
}

/* Animated conic hover border */
.plan-ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
  background: conic-gradient(from var(--angle, 0deg), transparent 0 62%, rgba(30, 107, 255, .60) 82%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: ringSpin 3s linear infinite;
}

.plan:hover .plan-ring {
  opacity: 1
}

.plan.picked .plan-ring {
  opacity: 0
}

.ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: clamp(4px, .6vw, 6px) clamp(11px, 1.3vw, 16px);
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--brand), #0284C7);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(8.5px, 1vw, 10.5px);
  letter-spacing: clamp(.8px, .15vw, 1.6px);
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 18px var(--brand-glow), 0 2px 6px rgba(0, 0, 0, .45);
  pointer-events: none;
}

.ribbon svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  fill: currentColor
}

.plan h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(9.5px, 1.9vw, 18px);
  letter-spacing: clamp(.3px, .2vw, 2.2px);
  text-transform: uppercase;
  color: var(--tx-3);
  margin-bottom: clamp(3px, .5vw, 7px);
  transition: color .3s;
}

.plan:hover h3,
.plan.picked h3 {
  color: var(--tx)
}

.plan .plan-sub {
  font-size: clamp(10px, 1.5vw, 12.5px);
  line-height: 1.6;
  color: var(--tx-3);
  min-height: clamp(0px, 2.6vw, 38px);
  margin-bottom: clamp(9px, 1.6vw, 22px)
}

.price {
  margin-bottom: 6px
}

.price-was {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(10px, 1.9vw, 16px);
  color: var(--tx-4);
  text-decoration: line-through;
  margin-bottom: clamp(2px, .35vw, 5px)
}

.price-now {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, .7vw, 10px);
  flex-wrap: wrap
}

.plan-price {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(17px, 4.7vw, 50px);
  line-height: 1;
  color: var(--brand);
  letter-spacing: -.02em;
  display: inline-block;
}

.plan-price .cur {
  font-size: .46em;
  vertical-align: super;
  margin-right: 1px
}

.plan-price.drop {
  animation: popIn .7s var(--e-spring)
}

.save {
  display: inline-block;
  padding: clamp(2px, .22vw, 3px) clamp(4px, .7vw, 10px);
  border-radius: var(--r-full);
  background: var(--ok-soft);
  color: var(--ok);
  font-size: clamp(7.5px, 1.3vw, 10.5px);
  font-weight: 700;
  letter-spacing: .4px;
}

.price-term {
  margin-top: clamp(3px, .5vw, 7px);
  font-size: clamp(8.5px, 1.4vw, 12.5px);
  color: var(--tx-3)
}

.plan-divider {
  height: 1px;
  margin: clamp(10px, 1.8vw, 22px) 0;
  background: linear-gradient(90deg, var(--brand-line), transparent)
}

.plan-note {
  display: flex;
  align-items: flex-start;
  gap: clamp(5px, .7vw, 10px);
  padding: clamp(8px, 1.2vw, 13px) clamp(8px, 1.2vw, 15px);
  border-radius: 0 var(--r-s) var(--r-s) 0;
  border-left: 2px solid var(--brand);
  background: var(--brand-soft);
  font-size: clamp(9.5px, 1.5vw, 12px);
  line-height: 1.6;
  color: var(--tx-2);
  margin-top: auto;
  text-align: left;
}

.plan-note .material-symbols-sharp {
  font-size: clamp(11px, 1.5vw, 16px);
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 1px
}

.plan-note strong {
  color: var(--tx);
  font-weight: 600
}

.plan-note.included {
  border-left-color: var(--ok);
  background: var(--ok-soft)
}

.plan-note.included .material-symbols-sharp {
  color: var(--ok)
}

.plan-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: clamp(9px, 1.3vw, 16px);
  padding: clamp(8px, 1.1vw, 14px) 4px;
  border-radius: var(--r-s);
  border: 1px solid var(--line-2);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(8.5px, 1.3vw, 12.5px);
  letter-spacing: clamp(.4px, .18vw, 2px);
  text-transform: uppercase;
  color: var(--tx-2);
  transition: color .3s, border-color .3s;
}

.plan-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brand);
  transform: translateY(101%);
  transition: transform .38s cubic-bezier(.7, 0, .3, 1);
}

.plan-btn span {
  position: relative;
  z-index: 1
}

.plan-btn:hover {
  color: #fff;
  border-color: var(--brand)
}

.plan-btn:hover::before {
  transform: translateY(0)
}

/* ═══════════════════════════════════════════════════
   13. MODAL
═══════════════════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  background: rgba(0, 0, 0, .82);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  animation: fadeIn .28s var(--e-out) both;
}

.modal.open {
  display: flex
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 470px;
  background: var(--bg-2);
  border: 1px solid var(--brand-line);
  border-radius: var(--r-l);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 0 90px rgba(30, 107, 255, .16), var(--sh-l);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  animation: riseIn .4s var(--e-out) both;
}

.modal-card h2 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(24px, 5vw, 30px);
  text-transform: uppercase;
  letter-spacing: -.01em;
  color: var(--tx);
  margin-bottom: 8px
}

.modal-card>p {
  font-size: 13.5px;
  color: var(--tx-2);
  line-height: 1.6;
  margin-bottom: 22px
}

.modal-plan {
  font-family: var(--f-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .4px;
  color: var(--brand-light);
  margin-bottom: 6px
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--tx-3);
  transition: color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}

.modal-close:hover {
  color: var(--tx);
  background: var(--glass-2);
  transform: rotate(90deg)
}

.field {
  margin-bottom: 14px
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--f-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand)
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--r-s);
  background: var(--glass);
  border: 1px solid var(--line);
  color: var(--tx);
  font-size: 14px;
  font-family: var(--f-body);
  resize: vertical;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--tx-4)
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 0 0 3px rgba(30, 107, 255, .14);
}

.field .err {
  display: block;
  min-height: 14px;
  margin-top: 4px;
  font-size: 11px;
  color: #F87171
}

.field input.bad,
.field textarea.bad {
  border-color: #EF4444
}

.submit {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--r-s);
  background: var(--brand);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: transform .2s, box-shadow .3s;
}

.submit::after {
  content: '';
  position: absolute;
  top: 0;
  left: -90%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
  animation: shine 2.6s ease-in-out infinite;
}

.submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px var(--brand-glow)
}

.submit:disabled {
  background: var(--bg-3);
  color: var(--tx-3);
  cursor: not-allowed;
  box-shadow: none;
  transform: none
}

.submit:disabled::after {
  display: none
}

.spinner {
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, .3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite
}

/* ═══════════════════════════════════════════════════
   14. TOAST
═══════════════════════════════════════════════════ */
#toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 300px;
  max-width: min(440px, calc(100vw - 32px));
  padding: 16px 20px;
  border-radius: var(--r-m);
  background: rgba(14, 16, 19, .94);
  border: 1px solid var(--line-2);
  box-shadow: var(--sh-l);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transform: translate(-50%, 120px);
  opacity: 0;
  pointer-events: none;
  transition: transform .5s var(--e-spring), opacity .4s;
}

#toast.show {
  transform: translate(-50%, 0);
  opacity: 1
}

#toast.ok {
  border-color: rgba(0, 214, 143, .42)
}

#toast.bad {
  border-color: rgba(239, 68, 68, .42)
}

.toast-icon {
  font-size: 25px;
  flex-shrink: 0
}

#toast.ok .toast-icon {
  color: var(--ok)
}

#toast.bad .toast-icon {
  color: #F87171
}

.toast-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--tx)
}

.toast-msg {
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--tx-3);
  line-height: 1.5
}

/* ═══════════════════════════════════════════════════
   16. FOOTER
═══════════════════════════════════════════════════ */
footer {
  position: relative;
  padding: clamp(52px, 6.5vw, 96px) 0 34px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, 80vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.5fr 1fr;
  gap: clamp(28px, 4vw, 52px);
}

.foot-brand p {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--tx-3)
}

.foot-col h5 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}

.foot-col li {
  margin-bottom: 12px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--tx-3)
}

.foot-col a {
  color: var(--tx-3);
  transition: color var(--t-fast)
}

.foot-col a:hover {
  color: var(--brand)
}

.foot-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start
}

.foot-contact a:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px
}

.foot-contact svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--brand)
}

.foot-bottom {
  margin-top: clamp(36px, 5vw, 54px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 12.5px;
  color: var(--tx-4);
}

/* ═══════════════════════════════════════════════════
   17. RESPONSIVE
═══════════════════════════════════════════════════ */

/* Large tablet / small laptop */
@media (max-width:1080px) {
  .plans {
    gap: clamp(9px, 1.5vw, 18px)
  }
}

/* Tablet */
@media (max-width:960px) {
  #home {
    min-height: 100svh;
    min-height: 100dvh;
    align-items: flex-end;
    padding-top: calc(var(--nav-h) + var(--ticker-h) + clamp(150px, 30vh, 320px));
    padding-bottom: clamp(36px, 5vw, 64px);
  }

  .hero-media img,
  .hero-slide {
    object-position: 36% 15%;
    filter: brightness(1) saturate(1.1) contrast(1.02);
  }

  .hero-media::after {
    background:
      linear-gradient(to bottom, rgba(8, 9, 11, .55) 0%, transparent 25%),
      linear-gradient(to top, rgba(8, 9, 11, .94) 0%, rgba(8, 9, 11, .75) 30%, rgba(8, 9, 11, .25) 60%, transparent 85%);
  }

  .hero-copy .pill {
    display: none;
  }

  .hero-copy {
    max-width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .about-media {
    order: -1
  }

  .slides {
    aspect-ratio: 16/11;
    max-height: none
  }

  .plans {
    grid-template-columns: repeat(3, 1fr);
    max-width: none
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px
  }

  .team-head {
    align-items: flex-start
  }
}

/* Mobile nav breakpoint */
@media (max-width:820px) {
  :root {
    --nav-h: 66px
  }

  #burger {
    display: flex
  }

  .nav-actions .btn {
    display: none
  }

  /* ── Mobile drawer: a floating rounded card over a blurred scrim ── */
  .nav-menu {
    position: fixed;
    top: calc(var(--nav-h) + var(--ticker-h) + 8px);
    left: 0;
    right: 0;
    width: min(360px, calc(100vw - 28px));
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: var(--r-l);
    background: linear-gradient(165deg, rgba(30, 107, 255, .10), transparent 42%), rgba(15, 17, 21, .94);
    -webkit-backdrop-filter: blur(26px) saturate(170%);
    backdrop-filter: blur(26px) saturate(170%);
    border: 1px solid var(--brand-line);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .62);
    transform-origin: top center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(.97);
    transition: opacity .26s var(--e-out), transform .32s var(--e-out), visibility .26s;
    z-index: 2;
    max-height: calc(100dvh - var(--nav-h) - var(--ticker-h) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: none
  }

  .nav-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 2px 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }

  .nav-panel-title {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 10.5px;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: var(--tx-3);
  }

  .nav-panel-close {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    color: var(--tx-2);
    transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast), transform var(--t-fast);
  }

  .nav-panel-close .material-symbols-sharp {
    font-size: 18px
  }

  .nav-panel-close:hover,
  .nav-panel-close:active {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
    transform: rotate(90deg)
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0
  }

  .nav-list li {
    border-bottom: 1px solid var(--line)
  }

  .nav-list li:last-child {
    border-bottom: 0
  }

  .nav-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 14px 10px;
    font-size: 13.5px;
    letter-spacing: 1.5px;
    color: var(--tx-2);
  }

  .nav-list a::after {
    display: none
  }

  .nav-list a:hover,
  .nav-list a.active {
    color: var(--tx);
    background: var(--brand-soft)
  }

  .nav-arrow {
    display: inline-flex;
    font-size: 16px;
    color: var(--tx-4);
    transition: color var(--t-fast), transform var(--t-fast);
  }

  .nav-list a:hover .nav-arrow,
  .nav-list a.active .nav-arrow {
    color: var(--brand);
    transform: translateX(3px)
  }

  .nav-panel-cta {
    display: inline-flex;
    width: 100%;
    margin-top: 10px
  }

  /* No-JS fallback: without script the drawer cannot be toggled, so expose the
 links as a plain wrapping strip under the ticker instead of hiding them. */
  html:not(.js) .nav-menu {
    position: absolute;
    top: calc(var(--nav-h) + var(--ticker-h));
    left: 0;
    right: 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
    width: auto;
    margin: 0;
    padding: 8px 12px;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: none;
    background: rgba(8, 9, 11, .96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: none;
    overflow: visible;
  }

  html:not(.js) .nav-panel-head,
  html:not(.js) .nav-panel-cta,
  html:not(.js) .nav-arrow,
  html:not(.js) #burger {
    display: none
  }

  html:not(.js) .nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px
  }

  html:not(.js) .nav-list li {
    border-bottom: 0;
    width: auto
  }

  html:not(.js) .nav-list a {
    padding: 8px 11px;
    font-size: 12px;
    border-radius: var(--r-s)
  }
}

/* Phone */
/* ── Swipeable rows ──────────────────────────────────────────────────────────
   Below these widths the cards become a scroll-snap carousel, so each card can
   stay a comfortable reading size instead of shrinking to fit. Swipe on touch,
   drag with a trackpad, or Tab in and use the arrow keys.                     */
@media (max-width:900px) {
  .team-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(38%, 190px);
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-block: 4px 14px;
  }

  .team-grid::-webkit-scrollbar {
    display: none
  }

  .coach {
    scroll-snap-align: start;
    scroll-snap-stop: always
  }
}

@media (max-width:768px) {
  .plans {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(62%, 300px);
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-block: 18px 14px;
  }

  .plans::-webkit-scrollbar {
    display: none
  }

  .plan {
    scroll-snap-align: start;
    scroll-snap-stop: always
  }
}

@media (max-width:640px) {
  body {
    font-size: 15px
  }

  #home {
    padding-top: calc(var(--nav-h) + var(--ticker-h) + clamp(170px, 34vh, 320px));
    padding-bottom: 44px;
    align-items: flex-end;
  }

  .hero-media img,
  .hero-slide {
    object-position: 36% top;
    filter: brightness(1) saturate(1.08) contrast(1.02);
  }

  .hero-media::after {
    background:
      linear-gradient(to bottom, rgba(8, 9, 11, .55) 0%, transparent 22%),
      linear-gradient(to top, rgba(8, 9, 11, .95) 0%, rgba(8, 9, 11, .78) 32%, rgba(8, 9, 11, .28) 65%, transparent 88%);
  }

  .hero-title {
    font-size: clamp(34px, 8.6vw, 54px);
    line-height: 1.0;
    letter-spacing: -.028em;
  }

  .hero-sub {
    margin: clamp(15px, 2.8vw, 22px) 0 clamp(22px, 3.8vw, 30px);
    font-size: clamp(13.5px, 3.6vw, 15px);
    line-height: 1.68;
    max-width: 44ch;
  }

  .hero-copy {
    max-width: 100%
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-cta .btn {
    width: 100%
  }

  .hero-stats {
    margin-top: clamp(22px, 4vw, 32px);
    gap: clamp(16px, 4vw, 28px);
  }

  /* Trainer cards keep their single row; the hover overlay is unusable at this
 size, so it is hidden - the whole card is already a link. */
  .coach-info {
    display: none
  }

  .modes {
    grid-template-columns: 1fr 1fr;
    gap: 10px
  }

  .mode {
    padding: 17px
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .foot-bottom {
    flex-direction: column;
    align-items: flex-start
  }

  .modal {
    padding: 0;
    align-items: flex-end
  }

  .modal-card {
    max-width: none;
    border-radius: var(--r-l) var(--r-l) 0 0;
    max-height: 92dvh
  }

  #toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
    min-width: 0;
    max-width: none;
    transform: translate(0, 140px)
  }

  #toast.show {
    transform: translate(0, 0)
  }
}

/* The carousel gives each plan card ~176-300px, so re-tune the type scale for the
   wider cards (the vw ramp was tuned for the old cramped 3-across layout). */
@media (max-width:560px) {
  .plan {
    padding: 24px 15px 16px
  }

  .plan h3 {
    font-size: 13px;
    letter-spacing: 1.2px
  }

  .plan .plan-sub {
    font-size: 11.5px;
    min-height: 0;
    margin-bottom: 12px
  }

  .price-was {
    font-size: 13px
  }

  .plan-price {
    font-size: 34px
  }

  .plan-price .cur {
    font-size: .42em
  }

  .save {
    font-size: 9.5px;
    padding: 3px 8px
  }

  .price-term {
    font-size: 10.5px
  }

  .plan-divider {
    margin: 14px 0
  }

  .plan-note {
    font-size: 11px;
    padding: 11px 12px;
    gap: 8px
  }

  .plan-note .material-symbols-sharp {
    font-size: 14px
  }

  .plan-btn {
    margin-top: 12px;
    padding: 12px 6px;
    font-size: 10.5px;
    letter-spacing: 1.4px
  }

  .ribbon {
    font-size: 9px;
    padding: 4px 11px
  }
}

/* Small phone */
@media (max-width:420px) {
  .modes {
    grid-template-columns: 1fr
  }

  .hero-stats {
    gap: 16px
  }

  .stat b {
    font-size: 22px
  }
}

/* Safe areas (iPhone notch / home indicator) */
@supports (padding:env(safe-area-inset-left)) {

  #navbar,
  #ticker {
    padding-left: max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right))
  }

  footer {
    padding-bottom: calc(34px + env(safe-area-inset-bottom))
  }

  .modal-card {
    padding-bottom: calc(clamp(24px, 4vw, 40px) + env(safe-area-inset-bottom))
  }
}

/* Landscape phones — keep hero usable */
@media (max-height:520px) and (orientation:landscape) {
  #home {
    min-height: auto;
    padding-top: calc(var(--nav-h) + var(--ticker-h) + 32px);
    padding-bottom: 32px
  }

  .hero-stats {
    margin-top: 24px
  }
}

@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important
  }

  html.js .reveal {
    opacity: 1;
    transform: none
  }
}



/* ═══════════════════════════════════════════════════
   TEAM & PLANS REFINEMENTS
═══════════════════════════════════════════════════ */
.team-grid--single {
  display: flex !important;
  justify-content: center !important;
  margin-top: clamp(34px, 4.5vw, 52px);
}

.team-grid--single .coach {
  width: 100%;
  max-width: 360px;
}

.ribbon--soon {
  background: linear-gradient(135deg, #0284C7, var(--brand)) !important;
}

/* Plans layout: flex-wrap to gracefully center 5 cards */
.plans {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: clamp(14px, 2vw, 24px) !important;
  max-width: 1200px;
  margin: clamp(38px, 5vw, 58px) auto 0;
}

.plan {
  flex: 1 1 280px !important;
  max-width: 360px !important;
  min-width: 260px !important;
}

/* ═══════════════════════════════════════════════════
   PROGRAMS (GYM, YOGA, ZUMBA) SECTION
═══════════════════════════════════════════════════ */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
  align-items: stretch;
  margin-top: clamp(34px, 4.5vw, 52px);
}

.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(22, 27, 34, 0.88) 0%, rgba(13, 16, 20, 0.96) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-m);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  isolation: isolate;
}

.program-card:hover {
  transform: translateY(-8px);
  border-color: rgba(30, 107, 255, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(30, 107, 255, 0.16);
}

.program-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-3);
}

.program-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--e-out);
}

.program-card:hover .program-media img {
  transform: scale(1.06);
}

.program-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 11, 0.08) 0%, rgba(8, 9, 11, 0.55) 75%, rgba(8, 9, 11, 0.95) 100%);
  pointer-events: none;
}

.program-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  z-index: 2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.program-badge.badge-now {
  background: rgba(0, 214, 143, 0.18);
  border: 1px solid rgba(0, 214, 143, 0.45);
  color: #00D68F;
}

.program-badge.badge-soon {
  background: rgba(30, 107, 255, 0.22);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #38BDF8;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.badge-dot.pulse {
  animation: badgePulse 1.8s infinite;
}

@keyframes badgePulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(0, 214, 143, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(0, 214, 143, 0);
  }

  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(0, 214, 143, 0);
  }
}

.program-body {
  padding: clamp(20px, 2.2vw, 28px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.prog-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--tx-2);
}

.program-title {
  font-family: var(--f-display);
  font-size: clamp(21px, 2.1vw, 26px);
  font-weight: 800;
  color: var(--tx);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 10px;
}

.program-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--tx-2);
  margin-bottom: 20px;
}

.program-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.program-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--tx-2);
  line-height: 1.45;
}

.program-features .material-symbols-sharp {
  color: var(--brand-light);
  font-size: 18px;
  line-height: 1.2;
  flex-shrink: 0;
}

.program-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.program-pricing {
  display: flex;
  flex-direction: column;
}

.program-price-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--tx-3);
  font-weight: 600;
}

.program-price-val {
  font-family: var(--f-display);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  color: var(--tx);
  letter-spacing: -0.01em;
}

.program-price-val small {
  font-size: 0.6em;
  color: var(--tx-2);
  font-weight: 600;
}

.program-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .program-card {
    border-radius: var(--r-l);
  }

  .program-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .program-actions {
    width: 100%;
  }

  .program-actions .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
}


/* ═══════════════════════════════════════════════════
   REVIEWS / TESTIMONIALS SECTION
═══════════════════════════════════════════════════ */
.reviews-trust-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  margin-top: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.google-badge-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #FFB800;
  font-size: 14px;
  letter-spacing: 1px;
}

.google-badge-text {
  font-size: 13px;
  color: var(--tx-2);
  font-weight: 500;
}

.google-badge-score {
  font-family: var(--f-display);
  font-weight: 800;
  color: var(--tx);
  font-size: 14px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
  margin-top: clamp(34px, 4.5vw, 52px);
}

.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(22, 27, 34, 0.78) 0%, rgba(13, 16, 20, 0.94) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(20px, 2.2vw, 28px);
  box-shadow: var(--sh-m);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  isolation: isolate;
}

.review-card:hover {
  transform: translateY(-6px);
  border-color: rgba(30, 107, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 28px rgba(30, 107, 255, 0.12);
}

.review-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #0284C7);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--brand-glow);
  flex-shrink: 0;
}

.reviewer-meta h4 {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--tx);
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-icon {
  color: #00D68F;
  font-size: 16px;
  line-height: 1;
}

.reviewer-tag {
  font-size: 11.5px;
  color: var(--tx-3);
  font-weight: 500;
  display: block;
  margin-top: 2px;
}

.review-rating {
  display: flex;
  gap: 1px;
  color: #FFB800;
  font-size: 13px;
  flex-shrink: 0;
}

.review-quote {
  position: relative;
  font-size: 14px;
  line-height: 1.65;
  color: var(--tx-2);
  margin-bottom: 18px;
  flex: 1;
}

.review-quote::before {
  content: '“';
  font-family: var(--f-display);
  font-size: 32px;
  line-height: 1;
  color: rgba(30, 107, 255, 0.45);
  display: block;
  margin-bottom: -10px;
}

.review-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--tx-3);
}

.review-source {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--tx-3);
}

.review-source svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.reviews-cta-box {
  margin-top: clamp(34px, 4.5vw, 48px);
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(30, 107, 255, 0.08) 0%, rgba(14, 16, 19, 0.8) 100%);
  border: 1px solid rgba(30, 107, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.reviews-cta-text h4 {
  font-family: var(--f-display);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 800;
  color: var(--tx);
  margin-bottom: 4px;
}

.reviews-cta-text p {
  font-size: 13.5px;
  color: var(--tx-2);
}

.reviews-cta-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .reviews-cta-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .reviews-cta-actions {
    justify-content: center;
  }

  .reviews-cta-actions .btn {
    flex: 1;
    justify-content: center;
  }
}
