/* ============================================================
   TAURUS FITNESS — Luxury B&W Editorial Design System
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

/* ---------- Tokens ---------- */
:root {
  --bg: #000000;
  --bg-soft: #060606;
  --surface: rgba(255, 255, 255, 0.04);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.07);
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.75);
  --muted: rgba(255, 255, 255, 0.45);
  --faint: rgba(255, 255, 255, 0.28);

  --display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', 'SF Mono', ui-monospace, monospace;

  --ease-lux: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --pad-x: clamp(20px, 5vw, 120px);
  --maxw: 1680px;
}

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

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
}

@media (max-width: 900px) { body { cursor: auto; } }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: #fff; color: #000; }

/* Scrollbar */
::-webkit-scrollbar { width: 0; height: 0; }

/* ---------- Type utilities ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: clamp(10px, 0.78vw, 13px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--border);
  display: inline-block;
}
.eyebrow.no-line::before { display: none; }
.eyebrow:empty { display: none; }

.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.balance { text-wrap: balance; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
section { position: relative; }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot,
.cursor-ring { display: none !important; }
.__unused-cursor {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-dot { width: 6px; height: 6px; background: #fff; }
.cursor-ring {
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), opacity 0.3s;
}
.cursor-ring.hover { width: 64px; height: 64px; background: rgba(255, 255, 255, 0.08); border-color: transparent; }
@media (max-width: 900px) { .cursor-dot, .cursor-ring { display: none; } }

/* ============================================================
   LOADER
   ============================================================ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background:
    radial-gradient(120% 90% at 50% 38%, #141414 0%, #000 62%);
  overflow: hidden;
  clip-path: inset(0 0 0 0);
}
.loader-ui {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(22px, 4.5vh, 54px) clamp(22px, 5vw, 72px);
  pointer-events: none;
}
.loader-top { display: flex; justify-content: space-between; }
.loader-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted);
}
.loader-center { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* ---- Logo emblem with chrome shine sweep ---- */
.loader-emblem {
  position: relative;
  width: clamp(110px, 16vw, 188px);
  margin-bottom: clamp(26px, 4vh, 46px);
  opacity: 0; transform: scale(0.82);
}
.loader-emblem img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 0 34px rgba(255, 255, 255, 0.18));
}
.loader-emblem::after {
  content: ''; position: absolute; left: 50%; top: 56%;
  width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 62%);
  z-index: -1; pointer-events: none;
}
.loader-shine {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-mask: url(logo-mark.webp) center / contain no-repeat;
  mask: url(logo-mark.webp) center / contain no-repeat;
  pointer-events: none;
}
.loader-shine i {
  position: absolute; top: -30%; left: -60%;
  width: 50%; height: 160%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  transform: skewX(-18deg) translateX(0);
  filter: blur(2px);
}

.loader-word {
  font-family: var(--display);
  font-size: clamp(54px, 13vw, 180px);
  letter-spacing: 0.16em;
  line-height: 1;
  display: flex;
  justify-content: center;
  padding-left: 0.16em;
}
.loader-word .lw { display: inline-block; overflow: hidden; }
.loader-word .lw i { display: inline-block; font-style: normal; transform: translateY(110%); }
.loader-sub {
  font-family: var(--mono); font-size: clamp(11px, 1vw, 13px); letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--text-2); margin-top: 18px;
}
.loader-bottom { display: flex; flex-direction: column; gap: 16px; }
.loader-status {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}
.loader-prog { display: flex; align-items: center; gap: 18px; }
.loader-line {
  flex: 1; height: 1px; background: rgba(255, 255, 255, 0.14);
  position: relative; overflow: hidden;
}
.loader-line i {
  position: absolute; inset: 0; background: #fff;
  transform: scaleX(0); transform-origin: left;
}
.loader-count {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em;
  color: #fff; font-variant-numeric: tabular-nums; flex: 0 0 auto;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  width: min(94vw, 1180px);
  transition: width 0.55s var(--ease-lux), top 0.55s var(--ease-lux);
}
.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 16px 14px 24px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(10, 10, 10, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  transition: padding 0.6s var(--ease-lux), background 0.4s;
}
.nav.shrunk { top: 12px; width: min(94vw, 1000px); }
.nav.shrunk .nav-pill {
  background: rgba(8, 8, 8, 0.82);
  padding: 9px 12px 9px 20px;
}
.nav.shrunk .nav-brand { font-size: 22px; }
.nav.shrunk .nav-links { gap: clamp(14px, 1.6vw, 22px); }
.nav.shrunk .nav-cta { padding: 9px 18px; }

.nav-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.nav-brand .brand-mark { width: 22px; height: 22px; }
.nav-links {
  display: flex; align-items: center; gap: clamp(18px, 2vw, 30px);
  overflow: hidden;
  transition: opacity 0.4s, width 0.6s var(--ease-lux), gap 0.6s var(--ease-lux);
}
.nav-links a {
  font-family: var(--mono);
  font-size: 13.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  position: relative;
  white-space: nowrap;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1px; background: #fff;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: #fff; }

.nav-cta {
  font-family: var(--mono);
  font-size: 13.5px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 100px;
  background: #fff; color: #000;
  white-space: nowrap;
  transition: transform 0.3s var(--ease-out), background 0.3s;
  will-change: transform;
}
.nav-burger { display: none; }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-pill { padding: 12px 14px 12px 20px; }
  .nav-burger {
    display: flex; flex-direction: column; gap: 5px;
    width: 44px; height: 44px; align-items: center; justify-content: center;
  }
  .nav-burger span { width: 22px; height: 1.5px; background: #fff; transition: transform 0.4s var(--ease-out), opacity 0.3s; }
  .nav.open .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav.open .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* Mobile fullscreen menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 850;
  background: #000;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--pad-x);
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}
.mobile-menu.open { pointer-events: auto; }
.mobile-menu a {
  font-family: var(--display);
  font-size: clamp(44px, 13vw, 90px);
  line-height: 1.02;
  letter-spacing: 0.02em;
  color: #fff;
  padding: 6px 0;
  display: flex; align-items: baseline; gap: 16px;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu a span { font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: 0.1em; }
.mobile-menu .mm-foot { margin-top: 40px; display: flex; gap: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.mobile-menu .mm-foot a { font-family: var(--mono); font-size: 12px; border: none; padding: 0; color: var(--muted); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 18px 30px;
  border-radius: 100px;
  white-space: nowrap;
  will-change: transform;
  transition: transform 0.4s var(--ease-out);
}
.btn .btn-label { position: relative; z-index: 2; transition: color 0.4s; }
.btn .btn-arrow { position: relative; z-index: 2; transition: transform 0.4s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(5px); }

.btn-solid { background: #fff; color: #000; overflow: hidden; }
.btn-solid::before {
  content: ''; position: absolute; inset: 0; background: #000;
  border-radius: inherit;
  transform: scaleY(0); transform-origin: bottom; z-index: 1;
  transition: transform 0.5s var(--ease-lux);
}
.btn-solid:hover::before { transform: scaleY(1); }
.btn-solid:hover { color: #fff; }
.btn-solid:hover .btn-label { color: #fff; }
.btn-solid { border: 1px solid #fff; }

.btn-ghost { border: 1px solid var(--border); color: #fff; background: var(--glass); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); overflow: hidden; }
.btn-ghost::before {
  content: ''; position: absolute; inset: 0; background: #fff; z-index: 1;
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease-lux);
}
.btn-ghost:hover { color: #000; }
.btn-ghost:hover .btn-label { color: #000; }
.btn-ghost:hover::before { transform: scaleY(1); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(40px, 6vh, 80px);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: -8% 0;
  z-index: 0;
  will-change: transform;
}
.hero-canvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.85) 100%),
    radial-gradient(120% 80% at 50% 40%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.5) 100%);
}
.hero-emblem {
  position: absolute;
  top: 42%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(220px, 34vw, 460px);
  z-index: 2;
  will-change: transform;
}
.hero-content { position: relative; z-index: 5; width: 100%; }
.hero-head {
  font-family: var(--display);
  font-size: clamp(60px, 13.2vw, 220px);
  line-height: 0.84;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.hero-head .line { display: block; overflow: hidden; }
.hero-head .line > span { display: inline-block; transform: translateY(0); will-change: transform; }
.hero-head .thin { -webkit-text-stroke: 1.4px rgba(255,255,255,0.85); color: transparent; }

.hero-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
  margin-top: clamp(26px, 4vh, 48px);
}
.hero-sub {
  max-width: 30ch;
  font-size: clamp(15px, 1.15vw, 19px);
  color: var(--text-2);
  line-height: 1.55;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 5;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-transform: uppercase;
}
.hero-scroll .line-y { width: 1px; height: 46px; background: linear-gradient(var(--muted), transparent); position: relative; overflow: hidden; }
.hero-scroll .line-y::after { content:''; position:absolute; top:0; left:0; width:100%; height:40%; background:#fff; animation: scrollLine 2s var(--ease-lux) infinite; }
@keyframes scrollLine { 0%{transform:translateY(-100%)} 60%,100%{transform:translateY(250%)} }

.hero-marquee {
  position: absolute; top: 0; left: 0; width: 100%; z-index: 5;
  padding-top: clamp(88px, 11vh, 120px);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; color: rgba(255,255,255,0.18);
  text-transform: uppercase; pointer-events: none;
  display: flex; gap: 60px; white-space: nowrap;
}

/* ============================================================
   IMAGE PLACEHOLDER FRAME
   ============================================================ */
.ph {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.045) 0 2px, transparent 2px 11px),
    linear-gradient(135deg, #0c0c0c, #161616 55%, #0a0a0a);
  isolation: isolate;
}
.ph::after {
  content: attr(data-label);
  position: absolute; left: 14px; bottom: 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--muted); text-transform: uppercase;
  border: 1px solid var(--border-soft); border-radius: 100px;
  padding: 5px 11px;
  background: rgba(0,0,0,0.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  z-index: 3;
}
.ph .ph-ico {
  position: absolute; inset: 0; margin: auto;
  width: 34px; height: 34px; opacity: 0.5;
}
.ph.zoom img, .ph.zoom .ph-fill { transition: transform 1.1s var(--ease-lux); }
.ph.zoom:hover img, .ph.zoom:hover .ph-fill { transform: scale(1.06); }
.ph-fill { position: absolute; inset: 0; }

/* ---------- Real photography ---------- */
.ph.filled::after { display: none; }
.media-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: contrast(1.03) saturate(1.02);
}
.ph.zoom:hover .media-img { transform: scale(1.06); }
.media-img { transition: transform 1.1s var(--ease-lux); }
.hero-img { filter: contrast(1.04) saturate(1.02) brightness(0.78); }
.ba-single { aspect-ratio: 1 / 1; }
.ba-single .media-img { filter: contrast(1.04) saturate(1.03); }

/* ---------- Brand logo (real mark) ---------- */
.brand-logo { width: auto; height: 26px; object-fit: contain; display: block; }
.nav.shrunk .brand-logo { height: 24px; }
img.loader-mark { width: auto; height: 60px; object-fit: contain; margin: 0 auto 30px; }
.brand-logo-lg { width: auto; height: clamp(58px, 13vw, 196px); object-fit: contain; flex: 0 0 auto; }

/* ---------- Contact map CTA ---------- */
.contact-map { display: block; text-decoration: none; }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section-pad { padding-block: clamp(90px, 13vh, 200px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(56px, 8vh, 104px); }
.section-title {
  font-family: var(--display);
  font-size: clamp(44px, 8vw, 150px);
  line-height: 1; text-transform: uppercase; letter-spacing: 0.01em;
}
.section-idx { font-family: var(--mono); font-size: clamp(11px, 0.9vw, 14px); color: var(--muted); letter-spacing: 0.2em; }

/* ---------- Statement / scroll storytelling ---------- */
.statement { padding-block: clamp(120px, 22vh, 320px); text-align: center; }
.statement p {
  font-family: var(--display);
  font-size: clamp(34px, 6.4vw, 118px);
  line-height: 1.05; text-transform: uppercase; letter-spacing: 0.01em;
  max-width: 18ch; margin-inline: auto;
}
.statement .word { display: inline; color: rgba(255,255,255,0.16); transition: color 0.1s; }
.statement em { font-style: normal; -webkit-text-stroke: 1.2px rgba(255,255,255,0.7); color: transparent; }

/* ============================================================
   PROGRAMS
   ============================================================ */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.pcard {
  position: relative;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: var(--surface);
  padding: 26px;
  min-height: 320px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.5s, background 0.5s;
  will-change: transform;
}
.pcard:hover { border-color: var(--border); background: var(--glass); }
.pcard .pcard-num { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.2em; }
.pcard .pcard-name { font-family: var(--display); font-size: clamp(30px, 3vw, 50px); line-height: 0.9; text-transform: uppercase; margin-top: auto; }
.pcard .pcard-desc { font-size: 13.5px; color: var(--text-2); margin-top: 10px; max-width: 28ch; line-height: 1.5; }
.pcard .pcard-glow {
  position: absolute; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 60%);
  pointer-events: none; opacity: 0; transition: opacity 0.4s; transform: translate(-50%, -50%);
  z-index: 0;
}
.pcard:hover .pcard-glow { opacity: 1; }
.pcard > * { position: relative; z-index: 1; }
.pcard.col-6 { grid-column: span 6; }
.pcard.col-4 { grid-column: span 4; }
.pcard.col-3 { grid-column: span 3; }
.pcard.col-8 { grid-column: span 8; }
.pcard.tall { min-height: 420px; }

/* ============================================================
   FACILITY HORIZONTAL SCROLL
   ============================================================ */
.facility { position: relative; }
/* Dynamic viewport height so the pinned track stays vertically centered as the
   mobile address bar shows/hides (svh locked the content to the small viewport,
   leaving the cards shifted up once the bar retracted). dvh == vh on desktop. */
.facility-track-wrap { position: relative; height: 100vh; height: 100dvh; overflow: hidden; }
.facility-track {
  display: flex; height: 100%; align-items: center;
  gap: clamp(20px, 3vw, 50px);
  padding-inline: var(--pad-x);
  will-change: transform;
}
.facility-intro {
  flex: 0 0 auto;
  width: clamp(300px, 36vw, 560px);
  height: 70vh;
  display: flex; flex-direction: column; justify-content: center;
}
.facility-intro .section-title { font-size: clamp(54px, 7vw, 120px); }
.fpanel {
  flex: 0 0 auto;
  width: clamp(320px, 42vw, 660px);
  height: 74vh;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
}
.fpanel .ph-fill { transform: scale(1.12); }
.fpanel-text {
  position: absolute; inset: 0; z-index: 3;
  padding: clamp(26px, 3vw, 46px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 55%);
}
.fpanel-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: rgba(255,255,255,0.7); }
.fpanel-name { font-family: var(--display); font-size: clamp(40px, 4.5vw, 86px); line-height: 0.9; text-transform: uppercase; margin-top: 8px; }
.fpanel-desc { font-size: 14px; color: var(--text-2); margin-top: 12px; max-width: 34ch; }
.facility-progress {
  position: absolute; bottom: 36px; left: var(--pad-x); z-index: 6;
  display: flex; align-items: center; gap: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--muted);
}
.facility-progress .bar { width: clamp(120px, 18vw, 280px); height: 1px; background: var(--border); position: relative; }
.facility-progress .bar i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }

/* ============================================================
   TRANSFORMATION
   ============================================================ */
.transform-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.ba {
  position: relative; aspect-ratio: 4/5; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border-soft); user-select: none; touch-action: pan-y;
}
.ba-layer { position: absolute; inset: 0; }
.ba-after { z-index: 1; }
.ba-before { z-index: 2; clip-path: inset(0 0 0 50%); }
.ba-tag {
  position: absolute; top: 18px; z-index: 4;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 100px; background: rgba(0,0,0,0.5);
  border: 1px solid var(--border-soft); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.ba-tag.before { right: 18px; }
.ba-tag.after { left: 18px; color: var(--muted); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: 5;
  width: 2px; background: #fff; transform: translateX(-50%);
  cursor: ew-resize;
}
.ba-handle .knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(0,0,0,0.4); border: 1px solid #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.1em;
}
.transform-stats { display: flex; flex-direction: column; gap: clamp(20px, 3vh, 40px); }
.tstat { border-top: 1px solid var(--border); padding-top: 18px; }
.tstat .num {
  font-family: var(--display); font-size: clamp(58px, 8vw, 128px); line-height: 0.84;
  letter-spacing: 0.01em; display: flex; align-items: baseline; gap: 8px;
}
.tstat .num .unit { font-size: 0.32em; color: var(--muted); -webkit-text-stroke: 0; }
.tstat .label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; margin-top: 8px; }
/* ============================================================
   MEMBERSHIP
   ============================================================ */
/* ---- Segmented toggle ---- */
.mem-toggle {
  position: relative;
  display: inline-flex; align-items: stretch;
  gap: 4px; padding: 5px;
  border: 1px solid var(--border); border-radius: 100px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  margin-bottom: clamp(36px, 5vh, 60px);
  max-width: 100%;
}
.mem-thumb {
  position: absolute; top: 5px; left: 5px; z-index: 0;
  height: calc(100% - 10px); border-radius: 100px;
  background: #fff;
  transition: transform 0.55s var(--ease-lux), width 0.55s var(--ease-lux);
  will-change: transform, width;
}
.mem-tab {
  position: relative; z-index: 1;
  font-family: var(--mono); font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 13px clamp(16px, 2vw, 28px);
  border-radius: 100px; white-space: nowrap;
  color: var(--text-2); transition: color 0.4s;
}
.mem-tab.active { color: #000; }

.mem-stage { position: relative; }
.mem-panel { display: none; }
.mem-panel.active { display: block; }

.price-grid { display: grid; gap: 16px; perspective: 1600px; }
.price-grid.four { grid-template-columns: repeat(4, 1fr); }
.price-grid.three { grid-template-columns: repeat(3, 1fr); }

.pricecard {
  position: relative;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  background: var(--surface);
  padding: clamp(24px, 2vw, 34px);
  display: flex; flex-direction: column;
  min-height: 300px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.5s, background 0.5s;
  will-change: transform;
}
.pricecard:hover { border-color: var(--border); }
.pricecard:hover .plan-sheen { opacity: 1; }
.pricecard > * { position: relative; z-index: 1; }
.pricecard.featured {
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.03));
  border-color: var(--border);
}
.pc-badge {
  align-self: flex-start;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px; background: #fff; color: #000;
  margin-bottom: 16px;
}
.pc-term {
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.pc-price { display: flex; align-items: baseline; gap: 7px; margin-top: 14px; flex-wrap: wrap; }
.pc-price .amt { font-family: var(--display); font-size: clamp(44px, 4.4vw, 68px); line-height: 1; letter-spacing: 0.01em; }
.pc-price .per { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.pc-note { font-size: 13px; color: var(--text-2); margin-top: 12px; line-height: 1.45; }
.pc-btn {
  margin-top: auto; padding-top: 22px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-2); transition: color 0.3s, gap 0.3s; will-change: transform;
}
.pc-btn span { transition: transform 0.3s var(--ease-out); }
.pc-btn:hover { color: #fff; } .pc-btn:hover span { transform: translateX(5px); }
.pc-btn.solid {
  align-self: stretch; justify-content: center; color: #000; background: #fff;
  padding: 15px; border-radius: 100px; margin-top: 22px;
}
.pc-btn.solid:hover { color: #000; }

.mem-foot {
  margin-top: clamp(28px, 4vh, 44px);
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; color: var(--muted);
  text-align: center;
}
.mem-foot strong { color: #fff; font-weight: 500; }

/* ---- Trial CTA highlight ---- */
.btn-trial { position: relative; box-shadow: 0 0 0 0 rgba(255,255,255,0.5); animation: trialPulse 2.8s var(--ease-out) infinite; }
@keyframes trialPulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.35); }
  70% { box-shadow: 0 0 0 14px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* legacy plan styles (kept for safety) */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1600px; }
.plan {
  position: relative;
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  background: var(--surface);
  padding: clamp(28px, 2.4vw, 44px);
  display: flex; flex-direction: column;
  min-height: 580px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.5s, background 0.5s, box-shadow 0.6s;
  will-change: transform;
}
.plan-sheen {
  position: absolute; inset: 0; z-index: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx,50%) var(--my,0%), rgba(255,255,255,0.10), transparent 45%);
  transition: opacity 0.4s;
}
.plan:hover .plan-sheen { opacity: 1; }
.plan > * { position: relative; z-index: 1; }
.plan.featured {
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
  border-color: var(--border);
}
.plan-badge {
  align-self: flex-start;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  white-space: nowrap;
  padding: 6px 12px; border-radius: 100px; border: 1px solid var(--border);
  color: var(--muted); margin-bottom: 22px;
}
.plan.featured .plan-badge { background: #fff; color: #000; border-color: #fff; }
.plan-name { font-family: var(--display); font-size: clamp(40px, 4vw, 64px); line-height: 0.9; text-transform: uppercase; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 16px; }
.plan-price .amt { font-family: var(--display); font-size: clamp(48px, 5vw, 78px); line-height: 1; }
.plan-price .per { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
.plan-line { height: 1px; background: var(--border); margin: 26px 0; }
.plan-feats { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.plan-feats li { list-style: none; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.plan-feats li .tick { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 2px; opacity: 0.7; }
.plan-feats li.off { color: var(--faint); }
.plan .btn { width: 100%; justify-content: center; margin-top: 28px; }

/* ============================================================
   INSTAGRAM
   ============================================================ */
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 12px; }
.ig-cell { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-soft); aspect-ratio: 1; }
.ig-cell.tall { grid-row: span 2; aspect-ratio: auto; }
.ig-cell .ig-ov {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; opacity: 0;
  background: rgba(0,0,0,0.4); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); transition: opacity 0.4s;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: #fff;
}
.ig-cell:hover .ig-ov { opacity: 1; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.contact-card {
  border: 1px solid var(--border-soft); border-radius: 20px; background: var(--surface);
  padding: clamp(28px, 3vw, 52px);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: flex; flex-direction: column;
}
.contact-map { position: relative; min-height: 460px; overflow: hidden; padding: 0; }
.map-embed {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: invert(0.92) hue-rotate(180deg) grayscale(0.45) contrast(0.92) brightness(0.95);
}
.contact-map .map-cta {
  position: absolute; right: 18px; bottom: 18px; z-index: 4;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #000; background: #fff; padding: 11px 16px; border-radius: 100px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4); pointer-events: none;
}

/* ---- Quick action buttons ---- */
.contact-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 28px; }
.cbtn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 15px 16px; border-radius: 100px;
  border: 1px solid var(--border); color: #fff; background: var(--glass);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: color 0.4s, border-color 0.4s; will-change: transform;
}
.cbtn svg { width: 17px; height: 17px; position: relative; z-index: 1; flex: 0 0 auto; }
.cbtn::before { content: ''; position: absolute; inset: 0; background: #fff; z-index: 0; transform: scaleY(0); transform-origin: bottom; transition: transform 0.45s var(--ease-lux); }
.cbtn > * , .cbtn { position: relative; }
.cbtn span, .cbtn svg { position: relative; z-index: 1; }
.cbtn:hover { color: #000; border-color: #fff; }
.cbtn:hover::before { transform: scaleY(1); }
.cbtn-wa:hover { color: #000; }
.cbtn-wa::before { background: #fff; }

/* ---- Google reviews panel ---- */
.reviews {
  margin-top: 18px;
  border: 1px solid var(--border-soft); border-radius: 20px; background: var(--surface);
  padding: clamp(26px, 3vw, 44px);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.reviews-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.reviews-score { display: flex; align-items: center; gap: 16px; }
.g-mark { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; flex: 0 0 auto; }
.g-mark svg { width: 22px; height: 22px; }
.reviews-rating { display: flex; align-items: baseline; gap: 10px; }
.reviews-rating .num { font-family: var(--display); font-size: 40px; line-height: 1; }
.reviews-rating .stars { color: #fff; letter-spacing: 2px; font-size: 15px; }
.reviews-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; margin-top: 6px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review { border: 1px solid var(--border-soft); border-radius: 16px; background: var(--glass); padding: 22px; display: flex; flex-direction: column; gap: 12px; transition: border-color 0.4s; }
.review:hover { border-color: var(--border); }
.r-stars { color: #fff; letter-spacing: 2px; font-size: 13px; }
.r-text { font-size: 14px; color: var(--text-2); line-height: 1.55; flex: 1; }
.r-by { display: flex; align-items: center; gap: 11px; }
.r-av { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; font-family: var(--display); font-size: 18px; flex: 0 0 auto; }
.r-name { font-size: 13.5px; color: #fff; display: flex; flex-direction: column; }
.r-name span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }

/* ---- WhatsApp CTA band ---- */
.wa-cta {
  margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border: 1px solid var(--border); border-radius: 20px;
  background: linear-gradient(100deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
  padding: clamp(24px, 3vw, 38px) clamp(26px, 3vw, 48px);
  transition: background 0.5s, border-color 0.5s; will-change: transform;
}
.wa-cta:hover { background: #fff; border-color: #fff; }
.wa-cta-l { display: flex; align-items: center; gap: 20px; }
.wa-cta-l svg { width: 40px; height: 40px; color: #fff; flex: 0 0 auto; transition: color 0.5s; }
.wa-cta:hover .wa-cta-l svg, .wa-cta:hover .wa-cta-k, .wa-cta:hover .wa-cta-t, .wa-cta:hover .wa-cta-arrow { color: #000; }
.wa-cta-k { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); transition: color 0.5s; }
.wa-cta-t { display: block; font-family: var(--display); font-size: clamp(26px, 3vw, 44px); line-height: 1; text-transform: uppercase; margin-top: 8px; color: #fff; transition: color 0.5s; }
.wa-cta-arrow { font-size: 30px; color: #fff; transition: color 0.5s, transform 0.4s var(--ease-out); }
.wa-cta:hover .wa-cta-arrow { transform: translateX(8px); }

.addr-line { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--border-soft); }
.addr-line .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; flex: 0 0 96px; padding-top: 3px; }
.addr-line .v { font-size: 16px; color: var(--text); line-height: 1.5; }
.addr-line .v .open { color: #fff; } .addr-line .v .small { color: var(--muted); font-size: 13px; }

.field { position: relative; margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--border);
  padding: 18px 0 12px; color: #fff; font-family: var(--sans); font-size: 16px; outline: none;
  transition: border-color 0.4s;
}
.field textarea { resize: none; min-height: 80px; }
.field label {
  position: absolute; left: 0; top: 18px; color: var(--muted); font-size: 16px; pointer-events: none;
  transition: transform 0.4s var(--ease-out), font-size 0.4s, color 0.4s;
  font-family: var(--mono); letter-spacing: 0.04em;
}
.field input:focus ~ label, .field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label {
  transform: translateY(-26px); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #fff;
}
.field input:focus, .field textarea:focus { border-color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding-top: clamp(60px, 8vh, 120px); padding-bottom: 40px; }
.footer-big {
  font-family: var(--display); font-size: clamp(80px, 22vw, 380px); line-height: 0.82;
  text-transform: uppercase; letter-spacing: 0.01em;
  display: flex; align-items: center; gap: clamp(20px, 4vw, 70px); overflow: hidden;
}
.footer-big .brand-mark { width: clamp(60px, 14vw, 220px); height: auto; flex: 0 0 auto; }
.footer-divider { height: 1px; background: var(--border); margin: clamp(36px, 5vh, 64px) 0 30px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-end; }
.footer-col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; font-size: 15px; color: var(--text-2); padding: 4px 0; transition: color 0.3s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--faint); text-transform: uppercase; }


/* ============================================================
   REVEAL HELPERS
   ============================================================ */
.reveal-up { opacity: 0; transform: translateY(40px); }
.clip-img { clip-path: inset(0 0 100% 0); }
.split-line { overflow: hidden; }
.split-line > span { display: inline-block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: clamp(40px, 6vh, 64px); }
  .section-head > p, .section-head > a { max-width: 46ch; }
}
@media (max-width: 1100px) {
  .pcard.col-6, .pcard.col-4, .pcard.col-3, .pcard.col-8 { grid-column: span 6; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan.featured { order: -1; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .price-grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .transform-grid { grid-template-columns: 1fr; }
  .trainer, .trainer:nth-child(even) { grid-template-columns: 1fr; }
  .trainer:nth-child(even) .trainer-media { order: 0; }
  .trainer-media { max-height: 70vh; }
  .contact-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: repeat(6, 1fr); }
  .price-grid.three { grid-template-columns: 1fr; max-width: 420px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .mem-toggle { width: 100%; }
  .mem-tab { flex: 1; padding-inline: 6px; }
}
@media (max-width: 560px) {
  .pcard.col-6, .pcard.col-4, .pcard.col-3, .pcard.col-8 { grid-column: span 6; }
  .programs-grid { grid-template-columns: repeat(6, 1fr); }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-row { flex-direction: column; align-items: flex-start; }
  .hero-actions { width: 100%; flex-wrap: nowrap; gap: 10px; }
  /* Equal side-by-side pills; shrink type/padding so long labels (e.g. "2 Days
     Free Trial") fit within the half-width on narrow phones without clipping. */
  .hero-actions .btn {
    flex: 1 1 0; min-width: 0; justify-content: center;
    padding: 16px 10px;
    font-size: clamp(10px, 3vw, 13px);
    letter-spacing: 0.04em;
    gap: 8px;
  }
  .fpanel { width: 84vw; height: 64vh; }
  .facility-intro { width: 80vw; }
  .price-grid.four { grid-template-columns: 1fr; max-width: 420px; }
  .contact-btns { grid-template-columns: 1fr; }
  .wa-cta { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal-up { opacity: 1; transform: none; }
  .clip-img { clip-path: none; }
}
