/* =====================
   CSS CUSTOM PROPERTIES
===================== */
:root {
  --bg: #080808;
  --bg2: #0d0d0d;
  --surface: #141414;
  --surface2: #1a1a1a;
  --accent: #3DD68C;
  --accent-dim: rgba(61, 214, 140, 0.10);
  --accent-glow: rgba(61, 214, 140, 0.22);
  --text: #f0f0f0;
  --text-muted: rgba(240,240,240,0.52);
  --text-faint: rgba(240,240,240,0.18);
  --border: rgba(255,255,255,0.07);
  --border-accent: rgba(61, 214, 140, 0.28);
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-theme="purple"] {
  --accent: #9B6DFF;
  --accent-dim: rgba(155, 109, 255, 0.10);
  --accent-glow: rgba(155, 109, 255, 0.22);
  --border-accent: rgba(155, 109, 255, 0.28);
}
[data-theme="gold"] {
  --accent: #F0B429;
  --accent-dim: rgba(240, 180, 41, 0.10);
  --accent-glow: rgba(240, 180, 41, 0.22);
  --border-accent: rgba(240, 180, 41, 0.28);
}

/* =====================
   RESET & BASE
===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* =====================
   REVEAL ANIMATIONS
   Default: visible. Gate motion behind media query.
===================== */
[data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
  }
  [data-reveal="left"]  { transform: translate(-48px, 0); }
  [data-reveal="right"] { transform: translate(48px, 0); }
  [data-reveal="scale"] { transform: scale(0.90); }
  [data-delay="1"] { transition-delay: 0.12s; }
  [data-delay="2"] { transition-delay: 0.22s; }
  [data-delay="3"] { transition-delay: 0.34s; }
  [data-delay="4"] { transition-delay: 0.46s; }
  [data-delay="5"] { transition-delay: 0.58s; }
  [data-delay="6"] { transition-delay: 0.70s; }
}
[data-reveal].visible { opacity: 1; transform: none; }

/* =====================
   TYPOGRAPHY
===================== */
.display {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 0.90;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.heading {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.overline {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--accent);
}

/* =====================
   LAYOUT
===================== */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}
.section { padding: 130px 0; }
.section-header { margin-bottom: 80px; }
.section-header .overline { margin-bottom: 18px; }

/* =====================
   BUTTONS
===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 40px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--accent);
  color: #000;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.18);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px var(--accent-glow); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* =====================
   NAV
===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 26px 0;
  transition: all 0.55s var(--ease);
}
.nav.scrolled {
  padding: 14px 0;
  background: rgba(8,8,8,0.94);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
}
.logo-wordmark { line-height: 1; }
.logo-main {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo-main em { font-style: normal; color: var(--accent); }
.logo-sub-text {
  font-size: 0.52rem;
  letter-spacing: 0.28em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.83rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Nav right group (CTA + hamburger) */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-cta { font-size: 0.78rem; padding: 13px 26px; }

/* =====================
   HAMBURGER TOGGLE
===================== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  transition: border-color 0.3s;
}
.nav-toggle:hover { border-color: var(--accent); }
.toggle-bar {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.35s var(--ease);
  transform-origin: center;
}

/* X state when open */
.nav.nav-open .toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.nav-open .toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav.nav-open .toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =====================
   HERO
===================== */
#hero {
  height: 100vh;
  min-height: 720px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  will-change: transform;
  background: var(--bg);
}

/* ---- Ken Burns slideshow ---- */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}

/* Ken Burns — only when motion is OK */
@media (prefers-reduced-motion: no-preference) {
  .hero-slide:nth-child(1).active { animation: kb1 9s ease-in-out forwards; }
  .hero-slide:nth-child(2).active { animation: kb2 9s ease-in-out forwards; }
  .hero-slide:nth-child(3).active { animation: kb3 9s ease-in-out forwards; }
  .hero-slide:nth-child(4).active { animation: kb4 9s ease-in-out forwards; }
  .hero-slide:nth-child(5).active { animation: kb5 9s ease-in-out forwards; }
}
@keyframes kb1 { from { transform: scale(1.12) translate(2%, 1%);  } to { transform: scale(1.0)  translate(0%,  0%);  } }
@keyframes kb2 { from { transform: scale(1.0)  translate(0%, 0%);  } to { transform: scale(1.12) translate(-2%, -1%); } }
@keyframes kb3 { from { transform: scale(1.10) translate(-1%, 2%); } to { transform: scale(1.0)  translate(1%,  0%);  } }
@keyframes kb4 { from { transform: scale(1.0)  translate(1%, -1%); } to { transform: scale(1.12) translate(-1%, 1%);  } }
@keyframes kb5 { from { transform: scale(1.12) translate(0%, 1%);  } to { transform: scale(1.0)  translate(0%, -1%);  } }

/* Dark overlay: uniform centre-weighted so centred text is always legible */
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    rgba(8,8,8,0.52),
    linear-gradient(to bottom, rgba(8,8,8,0.45) 0%, transparent 22%, transparent 68%, rgba(8,8,8,0.70) 100%),
    radial-gradient(ellipse 80% 70% at 50% 50%, var(--accent-dim) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 80% 80% at center, rgba(0,0,0,0.25) 0%, transparent 72%);
}
/* Hero container — full width, no side cap */
#hero > .container {
  width: 100%;
  max-width: none;
  padding-left: clamp(24px, 6vw, 96px);
  padding-right: clamp(24px, 6vw, 96px);
  display: flex;
  justify-content: center;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 980px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border: 1px solid var(--border-accent);
  background: var(--accent-dim);
  margin-bottom: 36px;
}
.hero-tag-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: dotPulse 2.2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}
.hero-title {
  font-size: clamp(80px, 11.5vw, 170px);
  margin-bottom: 28px;
}
.hero-title .accent-word { color: var(--accent); }
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.78;
  margin-bottom: 52px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-rotating-badge {
  position: absolute;
  right: 5%;
  bottom: 12%;
  width: 180px; height: 180px;
  opacity: 0.80;
}
/* Hero animations gate on JS class — first paint always shows content */
@media (prefers-reduced-motion: no-preference) {
  body.hero-ready .hero-tag          { animation: fadeUp 0.9s 0.00s both; }
  body.hero-ready .hero-title        { animation: fadeUp 1.0s 0.15s both; }
  body.hero-ready .hero-subtitle     { animation: fadeUp 0.9s 0.32s both; }
  body.hero-ready .hero-actions      { animation: fadeUp 0.9s 0.48s both; }
  body.hero-ready .hero-rotating-badge { animation: fadeUp 1.0s 0.60s both, badgeSpin 22s linear infinite; }
  body.hero-ready .hero-scroll-hint  { animation: fadeUp 0.8s 0.70s both; }
}
@keyframes badgeSpin { to { transform: rotate(360deg); } }
.hero-scroll-hint {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-label {
  font-family: var(--font-head);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.scroll-bar {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollAnim 2.4s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  30%  { opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: top; }
  61%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
@keyframes fadeUp {
  from { transform: translateY(26px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* =====================
   COUNTDOWN STRIP
===================== */
.countdown-strip {
  background: var(--surface);
  border-top: 1px solid var(--border-accent);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.countdown-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cd-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cd-units {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cd-unit { text-align: center; min-width: 64px; }
.cd-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.cd-sub {
  font-family: var(--font-head);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 4px;
}
.cd-sep {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2rem;
  color: var(--border-accent);
  line-height: 1;
  margin-bottom: 14px;
}
.cd-cta { font-size: 0.78rem; padding: 13px 26px; }
@media (max-width: 768px) {
  .countdown-inner { justify-content: center; }
  .cd-cta { display: none; }
  .cd-num { font-size: 2rem; }
  .cd-unit { min-width: 52px; }
}

/* =====================
   STATS BAR
===================== */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 40px 24px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 3.8rem;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
  font-family: var(--font-head);
  font-weight: 600;
}

/* =====================
   ABOUT
===================== */
#about { background: var(--bg2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
  align-items: center;
}
.about-visual { position: relative; }
.about-frame {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--accent-dim), transparent 55%);
  pointer-events: none;
}
.about-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.placeholder-inner {
  text-align: center;
  color: var(--text-faint);
  font-family: monospace;
  font-size: 0.7rem;
  position: relative;
  z-index: 1;
}
.placeholder-inner .big { font-size: 2.8rem; margin-bottom: 8px; }
.accent-bar-v {
  position: absolute;
  top: 28px; right: -22px;
  width: 3px; height: 90px;
  background: var(--accent);
}
.accent-bar-h {
  position: absolute;
  bottom: -22px; left: 28px;
  height: 3px; width: 90px;
  background: var(--accent);
}
.champ-badge {
  position: absolute;
  bottom: 28px; right: 28px;
  background: var(--bg);
  border: 1px solid var(--border-accent);
  padding: 14px 22px;
  text-align: center;
  min-width: 120px;
  z-index: 2;
}
.champ-badge .trophy { font-size: 1.8rem; line-height: 1; margin-bottom: 4px; }
.champ-badge .clabel {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-head);
}
.about-copy h2 { font-size: clamp(44px, 4.5vw, 70px); margin-bottom: 28px; }
.about-copy p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.82;
  margin-bottom: 18px;
}
.about-copy strong { color: var(--text); }
.opening-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  margin-top: 36px;
}
.opening-tag .ot-date {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
}
.opening-tag .ot-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

/* =====================
   PROGRAMS
===================== */
#programs { background: var(--bg); }
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}
.prog-card {
  background: var(--bg);
  padding: 52px 44px;
  position: relative;
  overflow: hidden;
  transition: background 0.45s var(--ease);
  cursor: default;
}
.prog-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.prog-card:hover { background: var(--surface); }
.prog-card:hover::after { transform: scaleX(1); }
.prog-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 5.5rem;
  color: var(--text-faint);
  line-height: 1;
  margin-bottom: 22px;
  transition: color 0.4s;
}
.prog-card:hover .prog-num { color: var(--accent-dim); }
.prog-icon {
  width: 50px; height: 50px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: background 0.4s;
  color: var(--accent);
}
.prog-card:hover .prog-icon { background: var(--accent); color: #000; }
.prog-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.prog-desc { color: var(--text-muted); font-size: 0.88rem; line-height: 1.75; }

/* =====================
   TRAINER
===================== */
#trainer { background: var(--bg2); }
.trainer-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 90px;
  align-items: center;
}
.trainer-frame {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.trainer-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg2) 0%, transparent 45%);
  z-index: 1;
  pointer-events: none;
}
.trainer-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.trainer-name-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 36px;
  z-index: 2;
}
.trainer-name { font-size: clamp(36px, 3.5vw, 54px); }
.trainer-role {
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 6px;
}
.trainer-copy h3 { font-size: clamp(32px, 3vw, 48px); margin-bottom: 20px; }
.trainer-copy p { color: var(--text-muted); line-height: 1.82; margin-bottom: 18px; }
.achievements { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; }
.ach-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 22px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
}
.ach-icon { font-size: 1.3rem; flex-shrink: 0; line-height: 1.4; }
.ach-text strong { display: block; font-family: var(--font-head); font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 2px; }
.ach-text span { font-size: 0.78rem; color: var(--text-muted); }

/* =====================
   PHYSIQUE
===================== */
#physique { background: var(--bg); }

.physique-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 340px 340px 300px 300px;
  gap: 4px;
  margin-bottom: 4px;
}

.ph-item {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
}
.ph-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s var(--ease);
  display: block;
}
.ph-item:hover img { transform: scale(1.05); }

.ph-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.75) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 22px;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.ph-item:hover .ph-overlay { opacity: 1; }
.ph-overlay:has(.ph-tag) { opacity: 1; }

.ph-tag {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(8,8,8,0.7);
  padding: 6px 14px;
  border-left: 2px solid var(--accent);
}

/* Grid placement */
.ph-feature { grid-row: span 2; }
.ph-tall    { grid-row: span 2; }
.ph-wide    { grid-column: span 2; }

/* Stats strip */
.physique-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px 48px;
  margin-top: 28px;
  text-align: center;
}
.ps-item { padding: 0 24px; }
.ps-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.6rem;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.ps-label {
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}
.ps-div {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* Responsive */
@media (max-width: 1100px) {
  .physique-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 280px 280px;
  }
  .ph-feature { grid-row: span 2; }
  .ph-tall { grid-row: span 1; }
  .ph-wide { grid-column: span 2; }
}
@media (max-width: 768px) {
  .physique-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .ph-item { height: 280px; }
  .ph-feature, .ph-tall, .ph-wide { grid-row: span 1; grid-column: span 1; }
  .physique-stats {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 28px;
    padding: 32px 24px;
  }
  .ps-div { display: none; }
}

/* =====================
   MEMBERSHIP
===================== */
#membership { background: var(--bg); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
}
.price-card {
  background: var(--bg);
  padding: 48px 32px;
  position: relative;
}
.price-save {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #000;
  background: var(--accent);
  padding: 4px 10px;
  margin-bottom: 14px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.p-total {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.price-card.featured {
  background: var(--surface);
  outline: 1px solid var(--accent);
  outline-offset: -1px;
}
.price-tier-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.price-tier-label.hl { color: var(--accent); }
.price-name { font-size: 2.2rem; margin-bottom: 6px; }
.price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 28px 0;
}
.p-cur { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--text-muted); }
.p-num { font-family: var(--font-head); font-weight: 900; font-size: 4.2rem; line-height: 1; color: var(--text); letter-spacing: -0.02em; }
.p-per { font-size: 0.85rem; color: var(--text-muted); }
.price-div { height: 1px; background: var(--border); margin: 24px 0; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 40px; }
.price-features li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.check-icon {
  width: 20px; height: 20px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.check-icon svg { width: 10px; height: 10px; }
.price-btn { width: 100%; justify-content: center; }

/* =====================
   NEW PRICING
===================== */
.pricing-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}
.price-card-new {
  background: var(--bg);
  padding: 48px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card-new.featured {
  background: var(--surface);
  outline: 1px solid var(--accent);
  outline-offset: -1px;
}
.pn-header { margin-bottom: 24px; }
.pn-tier-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.pn-tier-label.hl { color: var(--accent); }
.pn-title { font-size: 2rem; margin-bottom: 12px; }
.pn-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

/* Price rows */
.pn-rows { list-style: none; display: flex; flex-direction: column; gap: 0; margin-bottom: 24px; }
.pn-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.pn-row:first-child { border-top: none; }
.pn-duration {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.pn-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(255,255,255,0.15);
  margin: 0 8px;
  position: relative;
  top: -2px;
}
.pn-price {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.pn-row-highlight .pn-duration { color: var(--accent); }
.pn-row-highlight .pn-price { color: var(--accent); }

/* Notes */
.membership-notes {
  margin-top: 48px;
  padding: 32px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
}
.mn-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.mn-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 48px;
}
.mn-list li { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.mn-list li strong { color: var(--text); }

@media (max-width: 1100px) {
  .pricing-grid-new { grid-template-columns: 1fr; }
  .mn-list { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .price-card-new { padding: 36px 24px; }
  .membership-notes { padding: 24px; }
}

/* =====================
   GALLERY
===================== */
#gallery { background: var(--bg2); }
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 320px 280px;
  gap: 4px;
}
.g-item {
  background: var(--surface);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.g-item:first-child { grid-row: span 2; }
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.g-item:hover img { transform: scale(1.04); }
.g-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(145deg, var(--surface) 0%, var(--surface2) 100%);
  transition: transform 0.6s var(--ease);
}
.g-item:hover .g-placeholder { transform: scale(1.04); }
.g-ph-icon {
  width: 52px; height: 52px;
  border: 1px dashed var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--text-faint);
}
.g-ph-label {
  font-size: 0.65rem;
  font-family: monospace;
  color: var(--text-faint);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.g-hover {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.68);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: 2;
}
.g-item:hover .g-hover { opacity: 1; }
.g-hover-cross {
  font-size: 2.2rem;
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 300;
}

/* Gallery logo banner */
.g-logo-banner {
  grid-column: 1 / -1;
  background: var(--surface2);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 52px 48px;
  flex-wrap: wrap;
}
.g-logo-img {
  width: 260px;
  height: auto;
  display: block;
  flex-shrink: 0;
}
.g-logo-tagline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.g-logo-tagline .overline {
  font-size: 0.85rem;
}
.g-logo-tagline p {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =====================
   TESTIMONIALS
===================== */
#testimonials { background: var(--bg); }
/* =====================
   TRANSFORMATIONS
===================== */
.transform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 64px;
}
.transform-card {
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 1 / 1;
}
.transform-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.transform-card:hover img { transform: scale(1.04); }

/* =====================
   TESTIMONIALS
===================== */
.t-track { overflow: hidden; position: relative; }
.t-track::before, .t-track::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 180px;
  z-index: 2;
  pointer-events: none;
}
.t-track::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.t-track::after  { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.t-inner {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: tScroll 38s linear infinite;
}
.t-track:hover .t-inner { animation-play-state: paused; }
@keyframes tScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.t-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px 36px;
  width: 390px;
  flex-shrink: 0;
}
.t-stars { display: flex; gap: 5px; margin-bottom: 20px; color: var(--accent); font-size: 1rem; }
.t-text { color: var(--text-muted); font-size: 0.92rem; line-height: 1.82; margin-bottom: 28px; }
.t-author { display: flex; align-items: center; gap: 14px; }
.t-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--accent);
  flex-shrink: 0;
}
.t-name { font-family: var(--font-head); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; }
.t-role { font-size: 0.73rem; color: var(--text-muted); margin-top: 2px; }

/* =====================
   CONTACT
===================== */
#contact { background: var(--bg2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.contact-info h2 { font-size: clamp(42px, 4vw, 64px); margin-bottom: 22px; }
.contact-info > p { color: var(--text-muted); line-height: 1.8; margin-bottom: 44px; }
.c-details { display: flex; flex-direction: column; gap: 26px; }
.c-detail { display: flex; align-items: flex-start; gap: 17px; }
.c-icon {
  width: 42px; height: 42px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.c-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.c-text span { font-size: 0.92rem; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f-group { display: flex; flex-direction: column; gap: 8px; }
.f-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.f-input, .f-select, .f-textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 15px 18px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}
.f-input::placeholder, .f-textarea::placeholder { color: var(--text-faint); }
.f-input:focus, .f-select:focus, .f-textarea:focus { border-color: var(--accent); }
.f-select { appearance: none; cursor: pointer; }
.f-textarea { resize: vertical; min-height: 130px; }
.f-submit { width: 100%; justify-content: center; margin-top: 6px; }

.map-wrap {
  margin-top: 90px;
  height: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
/* When a real map iframe is used, make it fill the container */
.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-grid-lines {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 44px, var(--border) 44px, var(--border) 45px),
    repeating-linear-gradient(90deg, transparent, transparent 44px, var(--border) 44px, var(--border) 45px);
  opacity: 0.6;
}
.map-content { position: relative; text-align: center; }
.map-pin-icon { font-size: 2.2rem; margin-bottom: 10px; }
.map-content p { color: var(--text-muted); font-size: 0.88rem; }
.map-content small { color: var(--text-faint); font-size: 0.7rem; font-family: monospace; }

/* =====================
   BEFORE / AFTER SLIDER
===================== */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 64px;
}
.ba-card { position: relative; }
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  background: var(--surface);
}
.ba-after, .ba-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  pointer-events: none;
}
.ba-before-wrap {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  transition: width 0s;
}
.ba-before { width: auto; min-width: 100%; max-width: none; }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}
.ba-line {
  flex: 1;
  width: 2px;
  background: #fff;
}
.ba-btn {
  display: flex;
  align-items: center;
  gap: 2px;
  background: #fff;
  color: #000;
  width: 44px; height: 44px;
  border-radius: 50%;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.ba-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}
.ba-lbl {
  position: absolute;
  bottom: 18px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 12px;
  background: rgba(8,8,8,0.72);
}
.ba-lbl-before { left: 14px; color: var(--text-muted); }
.ba-lbl-after  { right: 14px; color: var(--accent); }

@media (max-width: 1100px) { .ba-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px)  { .ba-grid { grid-template-columns: 1fr; gap: 12px; } }

/* =====================
   FAQ
===================== */
#faq { background: var(--bg2); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 100px;
  align-items: start;
}
.faq-left .btn { margin-top: 32px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 0;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon { flex-shrink: 0; color: var(--accent); transition: transform 0.35s; }
.faq-item.open .faq-q { color: var(--accent); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 20px; }
.faq-a p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.82; }
.faq-a strong { color: var(--text); }

@media (max-width: 1100px) {
  .faq-grid { grid-template-columns: 1fr; gap: 52px; }
}

/* =====================
   FOOTER
===================== */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 90px 0 48px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 68px;
}
.footer-logo { width: 160px; height: auto; display: block; margin-bottom: 4px; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.75; margin-top: 18px; max-width: 270px; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a { font-size: 0.88rem; color: var(--text-muted); transition: color 0.3s; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 44px;
  border-top: 1px solid var(--border);
}
.footer-copy { font-size: 0.78rem; color: var(--text-faint); }
.footer-socials { display: flex; gap: 14px; }
.soc-btn {
  width: 38px; height: 38px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s;
}
.soc-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 1100px) {
  .about-grid, .trainer-grid, .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .programs-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .transform-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 280px 240px; }
  .g-item:first-child { grid-row: span 2; }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .hero-rotating-badge { width: 150px; height: 150px; right: 4%; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .section { padding: 90px 0; }

  /* Programs & Pricing → single column */
  .programs-grid, .pricing-grid, .transform-grid { grid-template-columns: 1fr; }

  /* Gallery → single column */
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .g-item { height: 240px; }
  .g-item:first-child { grid-row: span 1; }

  /* Hide rotating hero badge */
  .hero-rotating-badge { display: none; }

  /* Hide CTA in nav on very small screens — only show hamburger */
  .nav-cta { display: none; }

  /* Show hamburger, hide nav links */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(8,8,8,0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    z-index: 999;
    list-style: none;
  }
  .nav-links a {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: var(--text-muted);
  }
  .nav-links a:hover { color: var(--accent); }
  .nav-links a::after { display: none; }

  /* Show nav links when menu is open */
  .nav.nav-open .nav-links { display: flex; }

  /* Ensure toggle button sits above the overlay */
  .nav-toggle { position: relative; z-index: 1001; }
  .nav-right { position: relative; z-index: 1001; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(56px, 14vw, 80px); }
  .f-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
