/* =============================================================
   MOTIVE ZONE: STYLES
   Brand: navy #203060 (main) + gold #d0b68a + black accents.
   Light and dark themes are set by data-theme on <html>.
   Motion & 3D effects follow the Brio concept site.
   ============================================================= */

/* ---------- Theme tokens ---------- */
:root {
  /* brand constants (same in both themes) */
  --navy: #203060;
  --navy-600: #2a3d78;
  --navy-800: #15214a;
  --navy-900: #0f1a3a;
  --navy-950: #0a1229;
  --gold: #d0b68a;
  --gold-light: #e4d2b2;
  --gold-deep: #b89a68;
  --black: #050608;
  --cream: #f3efe6;
  --white: #ffffff;
  --on-deep: #e8ecf6;
  --on-deep-muted: #a9b3d0;
  --line-gold: rgba(208, 182, 138, 0.28);

  --font-head: "Jost", "Futura", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-script: "Great Vibes", cursive;

  --radius: 12px;
  --radius-sm: 6px;
  --header-h: 80px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --intro: 2.3s;       /* when the intro screen starts fading out */
}

/* LIGHT: blue-tinted ivory, navy type, gold accents */
:root, [data-theme="light"] {
  color-scheme: light;
  --bg: #f8f9fc;
  --bg-alt: #eef2f9;
  --bg-deep: #203060;
  --surface: #ffffff;
  --field: #f3f6fb;
  --text: #1a2240;
  --heading: #203060;
  --muted: #5a6482;
  --line: #dde3ef;
  --accent-ink: #8a6a36;            /* gold that reads on light backgrounds */
  --shadow: 0 1px 2px rgba(20, 33, 74, .04), 0 12px 32px rgba(20, 33, 74, .06);
  --shadow-lg: 0 30px 60px -20px rgba(20, 33, 74, .25);

  --btn-bg: #203060;
  --btn-text: #ffffff;
  --btn-hover: #2a3d78;

  --hero-bg: #f3f6fb;
  --hero-glow: rgba(32, 48, 96, .16);
  --hero-glow-2: rgba(208, 182, 138, .30);
  --hero-overlay: rgba(243, 246, 251, .93);
  --hero-face: #203060;
  --hero-ext: #b89a68;
  --hero-accent: #8a6a36;
  --hero-text: #203060;
  --hero-muted: #5a6482;
  --outline: rgba(32, 48, 96, .35);

  --tunnel-bg: #15224d;

  --header-text: #203060;
  --header-scrolled: rgba(248, 249, 252, .96);
  --header-border: #dde3ef;
  --pill-bg: #203060;
  --pill-text: #ffffff;
  --badge-bg: #203060;
  --logo-dark: none;
  --logo-light: block;
}

/* DARK: deep midnight navy, gold highlights, black accents */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a1229;
  --bg-alt: #0d1733;
  --bg-deep: #13204a;
  --surface: #101b3a;
  --field: #15224a;
  --text: #e4e9f5;
  --heading: #ffffff;
  --muted: #98a3c4;
  --line: rgba(255, 255, 255, .08);
  --accent-ink: #d0b68a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 14px 36px rgba(0, 0, 0, .3);
  --shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, .6);

  --btn-bg: #d0b68a;
  --btn-text: #0a1229;
  --btn-hover: #e4d2b2;

  --hero-bg: #060b1c;
  --hero-glow: rgba(42, 61, 120, .75);
  --hero-glow-2: rgba(208, 182, 138, .12);
  --hero-overlay: rgba(6, 11, 28, .9);
  --hero-face: #f3efe6;
  --hero-ext: #d0b68a;
  --hero-accent: #d0b68a;
  --hero-text: #ffffff;
  --hero-muted: #a3aecb;
  --outline: rgba(255, 255, 255, .35);

  --tunnel-bg: #060b1c;

  --header-text: #eef1f8;
  --header-scrolled: rgba(10, 18, 41, .96);
  --header-border: rgba(255, 255, 255, .08);
  --pill-bg: #d0b68a;
  --pill-text: #0a1229;
  --badge-bg: #2a3d78;
  --logo-dark: block;
  --logo-light: none;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* clip (not hidden) so tilted/3D elements never cause sideways scroll, and sticky scenes keep working */
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; border-radius: 2px; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(1180px, 100% - 64px); } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--gold); color: var(--navy-950); padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.script { font-family: var(--font-script); font-weight: 400; color: var(--gold); line-height: 1; margin: 0; }

/* logo swaps with the theme */
.logo-for-light { display: var(--logo-light); }
.logo-for-dark { display: var(--logo-dark); }

/* ---------- Intro screen: black, logo fades in, then everything fades away ---------- */
.intro {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center; background: var(--black);
  animation: intro-out .9s var(--intro) var(--ease) forwards;
}
.intro img {
  width: min(520px, 76vw); height: auto;
  opacity: 0; animation: intro-logo 1.4s .25s var(--ease) forwards;
}
.intro::after {   /* thin gold hairline that grows under the logo */
  content: ""; position: absolute; left: 50%; top: calc(50% + min(46px, 7vw));
  width: min(220px, 40vw); height: 1px; margin-left: calc(min(220px, 40vw) / -2);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); animation: intro-line 1.2s .9s var(--ease) forwards;
}
@keyframes intro-logo {
  from { opacity: 0; transform: scale(.94); filter: blur(10px); }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}
@keyframes intro-line { to { transform: scaleX(1); } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
html.intro-lock, html.intro-lock body { overflow: hidden; }
/* Lenis smooth scrolling (inertia on mouse wheel / trackpad) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Global effects: progress bar + mouse glow ---------- */
#progress {
  position: fixed; top: 0; left: 0; z-index: 120; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
  transform: scaleX(0); transform-origin: 0 50%; will-change: transform;
}
#glow {
  position: fixed; left: 0; top: 0; z-index: 3; pointer-events: none;
  width: 560px; height: 560px; border-radius: 50%; transform: translate3d(-9999px, 0, 0); will-change: transform;
  background: radial-gradient(circle, rgba(208, 182, 138, .10), transparent 65%);
}
@media (hover: none) { #glow { display: none; } }
/* tilt cards only move under a mouse, so only then do they get their own GPU layer */
@media (hover: hover) and (pointer: fine) { .tilt { will-change: transform; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  padding: 16px 32px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-family: var(--font-head); font-weight: 500; font-size: .78rem;
  letter-spacing: .24em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn-sm { padding: 11px 22px; font-size: .7rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--btn-bg); color: var(--btn-text); box-shadow: 0 14px 30px -14px rgba(20, 33, 74, .6); }
.btn-primary:hover { background: var(--btn-hover); }
/* always gold on deep navy backgrounds */
.btn-gold,
.section-deep .btn-primary,
.plan.popular .btn-primary { background: var(--gold); color: var(--navy-950); box-shadow: 0 14px 30px -14px rgba(208, 182, 138, .7); }
.btn-gold:hover,
.section-deep .btn-primary:hover,
.plan.popular .btn-primary:hover { background: var(--gold-light); }

/* ---------- Header (blurs when scrolled, hides on scroll down) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; color: var(--header-text);
  transition: transform .5s var(--ease), background-color .3s;
}
.site-header.scrolled {
  background: var(--header-scrolled);
  border-bottom: 1px solid var(--header-border);
}
.site-header.hide { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 24px; }
.brand { flex: none; margin-right: auto; }
.brand img { width: clamp(150px, 17vw, 196px); height: auto; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) {
  color: var(--header-text); text-decoration: none; font-family: var(--font-head);
  font-weight: 400; font-size: .76rem; letter-spacing: .22em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.site-nav a:not(.btn):hover::after, .site-nav a.active::after { width: 100%; }
.site-nav a.active { color: var(--accent-ink); }

/* theme toggle */
.theme-toggle {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: transparent;
  border: 1px solid var(--header-border); color: var(--header-text);
  transition: border-color .25s, color .25s, transform .5s var(--ease);
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); transform: rotate(25deg); }
.theme-toggle svg { width: 18px; height: 18px; }
[data-theme="light"] .theme-toggle .i-sun,
[data-theme="dark"] .theme-toggle .i-moon { display: none; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; }
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: var(--header-text); margin: 7px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

@media (max-width: 1200px) {
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .theme-toggle { position: relative; z-index: 2; }
  .site-nav {
    position: fixed; inset: 0; z-index: 1; height: 100vh; height: 100dvh;
    flex-direction: column; justify-content: center; gap: 26px;
    background: var(--bg);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .site-nav.open { opacity: 1; visibility: visible; }
  .site-nav a:not(.btn) { font-size: 1rem; color: var(--heading); font-weight: 300; letter-spacing: .3em; }
  .nav-cta { margin-top: 10px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; }
}

/* ---------- 3D reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: perspective(900px) translateY(60px) rotateX(18deg);
  transition: opacity 1s ease, transform 1.1s var(--ease);
}
.js .reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

/* ---------- HERO: sticky 3D scene ---------- */
.hero { position: relative; height: 150vh; background: var(--hero-bg); color: var(--hero-text); }
.hero .stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  perspective: 1100px; display: grid; place-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1000px 560px at 50% 42%, var(--hero-glow), transparent 70%),
    radial-gradient(500px 300px at 50% 40%, var(--hero-glow-2), transparent 70%),
    linear-gradient(var(--hero-overlay), var(--hero-overlay)),
    url("../assets/img/hero.jpg") center / cover no-repeat;
}
.scene {
  position: relative; margin-top: -16vh;
  display: grid; place-items: center; text-align: center;
  transform-style: preserve-3d; will-change: transform;
}
.ring {
  position: absolute; left: 50%; top: 50%;
  width: 580px; height: 580px; margin: -290px 0 0 -290px;
  transform-style: preserve-3d; pointer-events: none;
}
.ring svg { width: 100%; height: 100%; overflow: visible; }
.ring circle { fill: none; stroke: var(--hero-ext); stroke-width: .9; }
.ring.r1 circle { stroke-width: .5; opacity: .45; stroke-dasharray: 214.4 23.6 63.6; }   /* gap at the top for the dumbbell */
.ring .dumbbell { fill: var(--hero-ext); }
.ring.r2 circle { stroke-width: .5; opacity: .55; stroke-dasharray: 1.5 6; }
.ring.r3 circle { stroke-width: .4; opacity: .35; }

.hero-script {
  font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: .05em; color: var(--hero-accent);
  transform: translateZ(90px);
}
.big { margin: 0; transform-style: preserve-3d; }
.big .word {
  position: relative; display: block; transform-style: preserve-3d;
  font-family: var(--font-head); font-weight: 300; line-height: .9; letter-spacing: .08em;
  font-size: clamp(58px, 14vw, 200px); padding-left: .08em;
}
.big .face { display: block; color: var(--hero-face); }
.big .ext { position: absolute; inset: 0; padding-left: inherit; color: transparent; -webkit-text-stroke: 1px var(--hero-ext); }
.big .e1 { transform: translateZ(-30px); opacity: .8; }
.big .e2 { transform: translateZ(-60px); opacity: .45; }
.big .zone {
  display: block; margin-top: .7em; padding-left: 1em;
  font-family: var(--font-head); font-weight: 400; color: var(--hero-accent);
  font-size: clamp(14px, 2.2vw, 26px); letter-spacing: 1em; line-height: 1;
  transform: translateZ(60px);
}
.swoosh {
  position: absolute; left: -7%; width: 114%; top: 40%; height: auto;
  overflow: visible; transform: translateZ(40px); pointer-events: none;
}
.swoosh path {
  fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round;
  stroke-dasharray: 900; stroke-dashoffset: 900;
  animation: draw 2.4s calc(var(--intro) + .3s) var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-copy {
  position: absolute; left: 0; right: 0; bottom: 10vh; z-index: 2;
  text-align: center; padding: 0 16px;
}
.hero-copy > * { animation: rise 1.1s var(--ease) both; }
.hero-copy > :nth-child(1) { animation-delay: calc(var(--intro) + .35s); }
.hero-copy > :nth-child(2) { animation-delay: calc(var(--intro) + .5s); }
.hero-copy > :nth-child(3) { animation-delay: calc(var(--intro) + .65s); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.tagline {
  font-family: var(--font-head); font-weight: 400; text-transform: uppercase; letter-spacing: .28em;
  font-size: clamp(.9rem, 1.7vw, 1.15rem); margin-bottom: .8em;
}
.tagline b { font-weight: 400; color: var(--hero-accent); }
.hero-sub { color: var(--hero-muted); font-weight: 300; max-width: 540px; margin: 0 auto 2em; font-size: clamp(.95rem, 1.35vw, 1.05rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  width: 1px; height: 48px; background: var(--outline); overflow: hidden;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 50%;
  background: var(--gold); animation: cue 2s infinite var(--ease);
}
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(200%); } }
@media (max-height: 700px) { .scroll-cue { display: none; } .hero-sub { display: none; } }
@media (max-width: 600px) {
  .scene { margin-top: -29vh; }                 /* room for the text + open-now badge below */
  .hero-copy { bottom: 13.5vh; }               /* clears the floating WhatsApp button */
  .ring { width: 330px; height: 330px; margin: -165px 0 0 -165px; }
  .hero-actions .btn { padding: 15px 26px; }
  .tagline { letter-spacing: .2em; }
}

/* ---------- Marquee strip (black in both themes) ---------- */
.marquee-wrap { background: linear-gradient(var(--hero-bg) 50%, var(--bg-alt) 50%); overflow: hidden; padding: 24px 0; }
.marquee {
  background: var(--black); border-block: 1px solid var(--line-gold);
  padding: 22px 0; transform: rotate(-2deg) scale(1.05);
}
.track {
  display: flex; gap: 56px; width: max-content; white-space: nowrap;
  animation: marquee 32s linear infinite;
  font-family: var(--font-head); font-weight: 300; text-transform: uppercase; letter-spacing: .14em;
  font-size: clamp(26px, 4.4vw, 50px); color: var(--cream);
}
.track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(96px, 12vw, 150px) 0; background: var(--bg); }
.section-alt { background: var(--bg-alt); }
.section-deep { background: var(--bg-deep); color: var(--on-deep); }
.section-deep .section-title { color: var(--white); }
.section-deep .section-lead { color: var(--on-deep-muted); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(48px, 6vw, 72px); }
.section-head::after {   /* thin gold divider */
  content: ""; display: block; width: 56px; height: 1px; margin: 28px auto 0;
  background: var(--gold);
}
.eyebrow-script { font-size: clamp(1.7rem, 3.4vw, 2.2rem); margin-bottom: .15em; color: var(--accent-ink); }
.section-deep .eyebrow-script, .tunnel .eyebrow-script { color: var(--gold); }
.section-title {
  font-size: clamp(1.9rem, 4.6vw, 3.3rem); font-weight: 300; color: var(--heading);
  text-transform: uppercase; letter-spacing: .14em; line-height: 1.12;
}
.section-lead { color: var(--muted); font-weight: 300; font-size: 1.05rem; margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: clamp(56px, 7vw, 96px); align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1.1fr; } }
.about-media { position: relative; transform-style: preserve-3d; transition: transform .2s ease-out; }
.about-stage { position: relative; }
/* the deck replaces the gold outline frame; leave room on the right for the peeking cards */
#about .about-frame { display: none; }
.about-media { padding-right: clamp(26px, 5vw, 46px); }

/* tour deck: stacked photo cards, the next ones peek out behind the top card.
   Drag/throw with mouse or finger (js: setupTour); touch-action keeps vertical page scrolling on phones */
.about-slider {
  position: relative; aspect-ratio: 5 / 6; isolation: isolate;   /* keeps card z-indexes under the 2-in-1 badge */
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
  cursor: grab;
}
.about-slider.is-dragging { cursor: grabbing; }
.about-slider:focus-visible { outline: 1px solid var(--gold); outline-offset: 6px; border-radius: var(--radius); }
.slide {
  position: absolute; inset: 0; margin: 0; overflow: hidden;
  border-radius: var(--radius); box-shadow: var(--shadow-lg); background: var(--navy-950);
  transform-origin: 50% 100%;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .45s ease;
}
.slide::after {   /* cards further back are dimmed */
  content: ""; position: absolute; inset: 0; background: var(--navy-950);
  opacity: 0; transition: opacity .45s ease; pointer-events: none;
}
.slide[data-depth="0"] { z-index: 4; }
.slide[data-depth="1"] { z-index: 3; transform: translateX(4%) rotate(3.5deg) scale(.96); }
.slide[data-depth="1"]::after { opacity: .28; }
.slide[data-depth="2"] { z-index: 2; transform: translateX(8%) rotate(7deg) scale(.92); }
.slide[data-depth="2"]::after { opacity: .5; }
.slide[data-depth="3"] { z-index: 1; transform: translateX(8%) rotate(7deg) scale(.88); opacity: 0; }
@media (max-width: 600px) {   /* tighter fan so the back card stays on screen */
  .about-media { padding-right: 30px; }
  .slide[data-depth="1"] { transform: translateX(4%) rotate(2.5deg) scale(.96); }
  .slide[data-depth="2"] { transform: translateX(7%) rotate(4.5deg) scale(.92); }
  .slide[data-depth="3"] { transform: translateX(7%) rotate(4.5deg) scale(.88); }
}
.slide[data-depth="back"] { display: none; }   /* not rendered, so lazy photos load only when near the top */
.slide[data-depth="thrown"] { z-index: 5; }
.slide.is-thrown { transition: transform .45s cubic-bezier(.4,0,.6,1), opacity .45s ease; opacity: 0; }
.slide.no-anim { transition: none !important; }
.slide.is-dealt { animation: deal-in .6s cubic-bezier(.2,.8,.2,1); }
@keyframes deal-in { from { transform: translateX(-60%) rotate(-12deg); opacity: 0; } }
.slide img {
  width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none;
  -webkit-user-drag: none;
}
.slide figcaption {
  position: absolute; top: 18px; right: 18px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(8, 14, 36, .55); border: 1px solid var(--line-gold);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; font-size: .68rem; font-weight: 400; text-transform: uppercase; letter-spacing: .2em;
  opacity: 0; transform: translateY(-6px); transition: opacity .5s .15s, transform .5s .15s;
}
.slide figcaption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.slide[data-depth="0"] figcaption { opacity: 1; transform: none; }

.tour-ui { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.tour-count { font-family: var(--font-head); font-weight: 300; font-size: .9rem; letter-spacing: .16em; color: var(--muted); min-width: 4.6em; }
.tour-count b { font-weight: 400; color: var(--heading); }
.tour-dots { display: flex; gap: 2px; flex: 1; min-width: 0; }
.tour-dots button {
  flex: 0 0 auto; width: 14px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.tour-dots button::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--line);
  box-shadow: inset 0 0 0 1px var(--line-gold); transition: width .35s, background .35s;
  flex: none;
}
.tour-dots button[aria-current="true"] { width: 26px; }
.tour-dots button[aria-current="true"]::before { width: 18px; background: var(--gold); }
.tour-arrows { display: flex; gap: 10px; flex: none; }
.tour-btn {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: transparent; border: 1px solid var(--line-gold); color: var(--heading);
  font-size: 1rem; line-height: 1; transition: border-color .25s, background .25s, color .25s;
}
.tour-btn:active { border-color: var(--gold); background: var(--gold); color: #0b1430; }
@media (hover: hover) { .tour-btn:hover { border-color: var(--gold); background: var(--gold); color: #0b1430; } }
@media (max-width: 600px) {
  .tour-ui { gap: 12px; margin-top: 28px; }
  .tour-btn { width: 42px; height: 42px; border-color: var(--gold); }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .slide figcaption { transition: none; }
  .slide.is-dealt { animation: none; }
}
.about-frame {
  position: absolute; inset: 26px -18px -18px 26px; z-index: -1;
  border: 1px solid var(--gold); border-radius: var(--radius); transform: translateZ(-40px);
}
@media (max-width: 600px) { .about-frame { inset: 16px -8px -10px 16px; } }
.about-badge {
  position: absolute; left: -12px; bottom: 32px;
  display: flex; align-items: center; gap: 14px;
  background: var(--badge-bg); color: var(--white); padding: 18px 24px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-gold); box-shadow: var(--shadow-lg); transform: translateZ(70px);
}
@media (min-width: 600px) { .about-badge { left: -24px; } }
.about-badge strong { font-family: var(--font-head); font-weight: 300; font-size: 2.4rem; color: var(--gold); line-height: 1; }
.about-badge span { font-size: .72rem; line-height: 1.4; text-transform: uppercase; letter-spacing: .18em; color: var(--on-deep-muted); }
.about-text .section-title { margin-bottom: .8em; }
.about-text p { color: var(--muted); font-weight: 300; font-size: 1.04rem; }

/* scroll-lit words (About heading) */
.words .w { opacity: .14; transition: opacity .3s, color .3s; }
.words .w.on { opacity: 1; }
.words .w.hl.on { color: var(--accent-ink); }

.stats { list-style: none; padding: 0; margin: 2.4em 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stats li { border-left: 1px solid var(--gold); padding-left: 16px; }
.stats strong { display: block; font-family: var(--font-head); font-weight: 300; font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: var(--heading); line-height: 1.1; }
.stats span { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .16em; }

/* ---------- FACILITIES: 3D tunnel (deep navy in both themes) ---------- */
.tunnel { position: relative; height: 480vh; background: var(--tunnel-bg); color: var(--on-deep); }
.tunnel .stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  perspective: 900px; perspective-origin: 50% 45%;
  background: radial-gradient(900px 560px at 50% 55%, rgba(42, 61, 120, .65), transparent 70%);
}
.tunnel .head { position: absolute; top: 96px; left: 0; right: 0; z-index: 3; text-align: center; pointer-events: none; padding: 0 16px; }
.tunnel .head .section-title { color: var(--white); font-size: clamp(1.5rem, 3.6vw, 2.4rem); margin-bottom: .35em; }
.tunnel .head .section-lead { color: var(--on-deep-muted); font-size: .95rem; }
.world { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.floor {
  position: absolute; left: 50%; top: 50%; width: 3000px; height: 9000px; margin-left: -1500px;
  transform: translateY(240px) rotateX(90deg); transform-origin: top center;
  background-image:
    linear-gradient(rgba(208,182,138,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(208,182,138,.18) 1px, transparent 1px);
  background-size: 120px 120px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%);
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
.panel {
  position: absolute; left: 50%; top: 50%;
  width: min(460px, 82vw); margin-left: calc(min(460px, 82vw) / -2); margin-top: -150px;
  padding: 38px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(42, 61, 120, .94), rgba(15, 26, 58, .97));
  border: 1px solid rgba(208, 182, 138, .35);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.panel .p-icon {
  width: 54px; height: 54px; border-radius: 50%; margin-bottom: 22px;
  display: grid; place-items: center; color: var(--gold);
  border: 1px solid rgba(208, 182, 138, .55);
}
.panel .p-icon svg { width: 24px; height: 24px; }
.panel .n { font-family: var(--font-head); font-weight: 400; color: var(--gold); font-size: .78rem; letter-spacing: .35em; }
.panel h3 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 300; text-transform: uppercase; letter-spacing: .1em; color: var(--white); line-height: 1.1; margin: 10px 0 14px; }
.panel p { color: var(--on-deep-muted); font-weight: 300; margin: 0; }
.tmeter {
  position: absolute; left: max(16px, calc((100% - 1180px) / 2)); bottom: 48px; z-index: 3;
  display: flex; align-items: center; gap: 18px;
  font-family: var(--font-head); font-size: .8rem; letter-spacing: .2em; color: var(--on-deep-muted);
}
.tbar { position: relative; width: 140px; height: 1px; background: rgba(255, 255, 255, .15); }
.tbar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }
.tmeter b { color: var(--white); font-weight: 300; font-size: 1.9rem; letter-spacing: .04em; }

/* ---------- POOL: "The Dive" (sticky scene, sink underwater on scroll) ---------- */
:root, [data-theme="light"] {
  --air-top: #f3f6fb; --air-bottom: #d9e6f5; --air-text: #203060; --air-muted: #5a6482;
}
[data-theme="dark"] {
  --air-top: #060b1c; --air-bottom: #0c1d45; --air-text: #ffffff; --air-muted: #a3aecb;
}
.pool-dive { position: relative; height: 260vh; background: #071634; }
.pool-dive .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; perspective: 1000px; }
.pool-air {
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 420px at 50% 38%, rgba(208,182,138,.18), transparent 70%),
    linear-gradient(var(--air-top), var(--air-bottom));
}
.pool-head {
  position: absolute; left: 0; right: 0; top: 19vh; z-index: 1;
  text-align: center; padding: 0 16px; color: var(--air-text); will-change: opacity, transform;
}
.pool-head .script { font-size: clamp(2rem, 4.4vw, 3.2rem); color: var(--accent-ink); }
.pool-title {
  margin: 0; font-family: var(--font-head); font-weight: 300; text-transform: uppercase;
  font-size: clamp(56px, 13vw, 190px); letter-spacing: .14em; padding-left: .14em; line-height: 1;
  color: var(--air-text);
}
.pool-sub { margin: 18px 0 0; font-family: var(--font-head); font-size: clamp(.8rem, 1.5vw, 1rem); letter-spacing: .32em; text-transform: uppercase; color: var(--air-muted); }

/* the water layer: its top edge (the surface) moves from 68vh up past the top */
.water { position: absolute; left: 0; right: 0; top: 0; height: 135vh; z-index: 2; transform: translateY(68vh); will-change: transform; }
.waves { position: absolute; left: 0; bottom: 100%; width: 100%; height: 90px; margin-bottom: -2px; overflow: hidden; }
.wave { animation: wave-drift linear infinite; }
.wave.w1 { fill: #2a78c2; animation-duration: 9s; }
.wave.w2 { fill: #4b93d4; opacity: .75; animation-duration: 14s; animation-direction: reverse; transform: translateY(-10px); }
.wave.w3 { fill: #7fb3e6; opacity: .45; animation-duration: 20s; transform: translateY(-20px); }
@keyframes wave-drift { from { translate: 0 0; } to { translate: -1440px 0; } }
.wave.w2 { animation-name: wave-drift-2; }
@keyframes wave-drift-2 { from { translate: -1440px 0; } to { translate: 0 0; } }

.water-body {
  position: absolute; inset: 0; overflow: hidden;
  background: linear-gradient(180deg, #2a78c2 0%, #1f63ad 10%, #144786 32%, #0d3168 55%, #0a2250 75%, #071634 100%);
}
.water-media { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; mix-blend-mode: luminosity; }
.water-media video { width: 100%; height: 100%; object-fit: cover; }
.caustic-wrap {   /* fixed window: fades the shimmer out with depth */
  position: absolute; inset: 0; overflow: hidden; mix-blend-mode: screen; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 0%, rgba(0,0,0,.45) 30%, transparent 58%);
  mask-image: linear-gradient(#000 0%, rgba(0,0,0,.45) 30%, transparent 58%);
}
.caustics {   /* oversized so its edges never slide into view while drifting */
  position: absolute; inset: -760px; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='520' height='520'><filter id='c' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='turbulence' baseFrequency='0.011 0.016' numOctaves='2' seed='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.72  0 0 0 0 0.88  0 0 0 0 1  0 0 0 -3.2 1.15'/></filter><rect width='100%25' height='100%25' filter='url(%23c)'/></svg>");
  background-size: 520px 520px;
}
.caustics.c1 { opacity: .36; animation: caustic-a 30s linear infinite; }
.caustics.c2 { opacity: .30; background-size: 700px 700px; animation: caustic-b 40s linear infinite; }
@keyframes caustic-a { from { transform: translate(0, 0); } to { transform: translate(-520px, 520px); } }
@keyframes caustic-b { from { transform: translate(-700px, 0) scaleX(-1); } to { transform: translate(0, 700px) scaleX(-1); } }
.rays {
  position: absolute; left: -20%; right: -20%; top: 0; height: 75%; pointer-events: none;
  background: repeating-linear-gradient(100deg, transparent 0 70px, rgba(200, 230, 255, .10) 100px 150px, transparent 190px 300px);
  -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent);
  filter: blur(5px); transform-origin: 50% 0; animation: rays-sway 10s ease-in-out infinite alternate;
}
@keyframes rays-sway { from { transform: skewX(-6deg); } to { transform: skewX(6deg); } }
.bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubble {
  position: absolute; bottom: -30px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .55);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.6), rgba(255,255,255,.08) 45%, transparent 70%);
  animation: bubble-rise linear infinite;
}
@keyframes bubble-rise {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: .9; }
  25% { transform: translate(10px, -35vh); }
  50% { transform: translate(-8px, -70vh); }
  75% { transform: translate(8px, -105vh); }
  100% { transform: translate(0, -140vh); opacity: 0; }
}

/* underwater content */
.pool-content {
  position: absolute; left: 0; right: 0; top: 96px; bottom: 56px; z-index: 3;
  display: grid; gap: 28px 56px; align-content: center; align-items: center;
  pointer-events: none;
}
.pool-content { justify-items: center; }
.pool-content > * { pointer-events: auto; }

.pool-offer {
  justify-self: center; width: min(440px, 100%);
  padding: 34px 34px 30px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(20, 52, 110, .72), rgba(7, 22, 52, .78));
  border: 1px solid rgba(208, 182, 138, .5);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
  color: #fff; opacity: 0; will-change: transform, opacity;
}
.pool-offer .script { font-size: 1.9rem; }
.pool-offer h3 { margin: 2px 0 20px; font-size: 1.35rem; font-weight: 300; letter-spacing: .2em; text-transform: uppercase; }
.po-rows { list-style: none; margin: 0 0 26px; padding: 0; }
.po-rows li {
  display: flex; align-items: baseline; gap: 10px; padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12); font-weight: 300;
}
.po-rows .po-name { flex: 1; letter-spacing: .04em; }
.po-rows .po-tag { font-family: var(--font-head); font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--navy-950); background: var(--gold); padding: 3px 8px; border-radius: 999px; }
.po-rows .po-price { font-family: var(--font-head); font-size: 1.6rem; font-weight: 300; line-height: 1; }
.po-rows .po-price .cur { font-size: .8rem; vertical-align: top; margin-right: 2px; }
.po-rows .po-period { font-size: .78rem; color: rgba(225, 236, 252, .7); min-width: 52px; }
.pool-offer .btn { width: 100%; }
.po-ask {
  display: block; margin-top: 16px; text-align: center; color: var(--gold-light);
  font-family: var(--font-head); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
}
.po-ask:hover { color: #fff; }

/* depth gauge */
.depth-gauge {
  position: absolute; left: max(16px, calc((100% - 1180px) / 2)); bottom: 40px; z-index: 3;
  display: flex; align-items: center; gap: 14px; opacity: 0;
  font-family: var(--font-head); font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(225, 236, 252, .75);
}
.dbar { position: relative; width: 110px; height: 1px; background: rgba(255,255,255,.2); }
.dbar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }
.depth-gauge b { font-weight: 300; font-size: 1.5rem; letter-spacing: .04em; color: #fff; text-transform: none; }

/* ripples where you move / tap */
.ripples { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.ripple {
  position: absolute; width: 140px; height: 140px; margin: -70px 0 0 -70px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(208,182,138,.25) inset;
  animation: ripple 1.4s var(--ease) forwards;
}
.ripple.on-air { border-color: rgba(32, 48, 96, .35); }
[data-theme="dark"] .ripple.on-air { border-color: rgba(255,255,255,.35); }
@keyframes ripple { from { transform: scale(.1); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* scroll-controlled POV walk-in (only when POOL.frames is set) */
.pool-dive.has-frames { height: 340vh; }
.pool-film {   /* clean deep-navy stage with a soft glow behind the video window */
  position: absolute; inset: 0; z-index: 1; display: none; overflow: hidden;
  background:
    radial-gradient(520px 640px at 50% 52%, rgba(43, 159, 174, .16), transparent 70%),
    radial-gradient(900px 700px at 50% 45%, rgba(42, 61, 120, .55), transparent 75%),
    #060b1c;
}
.has-frames .pool-film { display: block; }
.has-frames .pool-air { display: none; }
/* match the real pool's teal at the surface, then deepen into brand navy */
.has-frames .wave.w1 { fill: #2b9fae; }
.has-frames .wave.w2 { fill: #4fb7c2; }
.has-frames .wave.w3 { fill: #8fd3d8; }
.has-frames .water-body { background: linear-gradient(180deg, #2b9fae 0%, #22849f 10%, #1a5f91 28%, #144786 45%, #0d3168 62%, #0a2250 80%, #071634 100%); }
.pool-film-main {   /* sharp portrait window on wide screens */
  position: absolute; left: 50%; top: 50%;
  height: min(86vh, 900px); width: auto; aspect-ratio: 464 / 832; object-fit: cover;
  transform: translate(-50%, -50%) scale(var(--zoom, 1)); transform-origin: 50% 50%;
  border-radius: var(--radius); border: 1px solid rgba(208, 182, 138, .45);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .75); will-change: transform;
}
.pool-film-grade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 45%, transparent 45%, rgba(6, 11, 28, .55)),
    linear-gradient(rgba(6, 11, 28, .45), transparent 32%, transparent 62%, rgba(6, 11, 28, .55));
}
@media (max-aspect-ratio: 4/5) {   /* phones: the video fills the screen */
  .pool-film-main { left: 0; top: 0; width: 100%; height: 100%; transform: scale(var(--zoom, 1)); border: 0; border-radius: 0; box-shadow: none; }
}
.has-frames .pool-head { z-index: 3; top: 12vh; text-shadow: 0 2px 30px rgba(0, 0, 0, .45); }
.has-frames .pool-title, .has-frames .pool-sub { color: #fff; }
.has-frames .pool-head .script { color: var(--gold); }

.pool-captions { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.pool-caption {
  position: absolute; top: 50%; width: min(300px, 24vw); color: #fff; opacity: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .5); will-change: opacity, transform;
}
.pool-caption.left { right: calc(50% + min(24vh, 251px) + 48px); text-align: right; }
.pool-caption.right { left: calc(50% + min(24vh, 251px) + 48px); }
.pool-caption .pc-n { font-family: var(--font-head); font-size: .74rem; letter-spacing: .3em; color: var(--gold); }
.pool-caption .pc-line { display: block; width: 48px; height: 1px; background: var(--gold); margin: 12px 0 14px; }
.pool-caption.left .pc-line { margin-left: auto; }
.pool-caption h3 { margin: 0 0 8px; font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 300; letter-spacing: .16em; text-transform: uppercase; }
.pool-caption p { margin: 0; font-weight: 300; font-size: .95rem; color: rgba(232, 238, 250, .85); }
@media (max-aspect-ratio: 4/5) {
  .pool-caption, .pool-caption.left, .pool-caption.right { left: 20px; right: 20px; top: auto; bottom: 13vh; width: auto; text-align: center; }
  .pool-caption .pc-line, .pool-caption.left .pc-line { margin: 10px auto 12px; }
}

/* realistic WebGL water (replaces the CSS water layer when available) */
.pool-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; display: none; visibility: hidden; }
.has-gl .pool-gl { display: block; }
.has-gl .water { display: none; }
/* re-blurring moving WebGL water behind the price card every frame is very slow: use solid glass */
.has-gl .pool-offer { backdrop-filter: none; -webkit-backdrop-filter: none; background: linear-gradient(160deg, rgba(18, 48, 104, .92), rgba(6, 20, 48, .94)); }
.pool-dive.has-gl .stage { contain: paint; }
/* the header's live blur would also re-blur the moving water each frame */

/* wave edge flowing into Memberships */
.pool-edge { position: absolute; left: 0; bottom: -1px; width: 100%; height: 70px; z-index: 5; fill: var(--bg); }

@media (max-width: 899px) {
  /* phones: the tunnel's huge masked 3D floor and big blurred panel shadows are the heaviest paints */
  .floor { display: none; }
  .panel { box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06); }
  .pool-content { top: 88px; bottom: 40px; gap: 18px; align-content: center; }
  .pool-offer { padding: 24px 22px 22px; }
  .pool-offer .script { font-size: 1.5rem; }
  .pool-offer h3 { font-size: 1.05rem; margin-bottom: 10px; }
  .po-rows { margin-bottom: 18px; }
  .po-rows li { padding: 9px 0; }
  .depth-gauge { display: none; }
}
@media (max-width: 899px) and (max-height: 700px) { .pool-offer .script, .po-ask { display: none; } }

/* ---------- Coach Partnership (Swimming / Fitness coaches switch) ---------- */
.coaches-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 60px); }
.coaches-head .section-title { margin-bottom: .5em; }
.coaches-head .section-lead { margin-bottom: 30px; }
.seg-tabs {
  --tab: 0;
  position: relative; display: inline-grid; grid-template-columns: repeat(var(--n, 2), 1fr);
  padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.seg-tab {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 24px; border: 0; border-radius: 999px; background: none; color: var(--heading);
  font-family: var(--font-head); font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
  transition: color .35s;
}
.seg-tab .icon { width: 1.2em; height: 1.2em; }
.seg-tab[aria-selected="true"] { color: var(--pill-text); }
.seg-glider {   /* slides under the selected tab */
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / var(--n, 2)); border-radius: 999px;
  background: var(--pill-bg); transform: translateX(calc(var(--tab) * 100%)); transition: transform .5s var(--ease);
}
.seg-tab .t-short { display: none; }
@media (max-width: 520px) {
  .seg-tabs { display: grid; width: 100%; }
  .seg-tab { padding: 11px 8px; font-size: .66rem; letter-spacing: .1em; gap: 6px; }
  .seg-tab .t-long:has(+ .t-short) { display: none; }   /* use the short label when one exists */
  .seg-tab .t-short { display: inline; }
}

.coaches-grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 960px) { .coaches-grid { grid-template-columns: 1fr 1fr; } }
.coach-lead { color: var(--muted); font-weight: 300; font-size: 1.06rem; margin-bottom: 28px; max-width: 540px; }
.coach-benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 600px) { .coach-benefits { grid-template-columns: 1fr 1fr; gap: 14px 28px; } }
.coach-benefits li { display: flex; gap: 12px; align-items: flex-start; font-weight: 300; color: var(--text); }
.coach-benefits .icon { color: var(--accent-ink); margin-top: 5px; width: 1em; height: 1em; flex: none; }

/* switching tracks: text slides in, benefits ripple in one by one, card flips in */
.coach-lead.swap { animation: coach-in .6s var(--ease) backwards; }
.coach-benefits.swap li { animation: coach-in .55s var(--ease) backwards; animation-delay: calc(var(--k) * 55ms); }
#coach-card.swap .coach-card { animation: coach-card-in .75s var(--ease) backwards; }   /* "backwards" so the mouse tilt works afterwards */
@keyframes coach-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes coach-card-in { from { opacity: 0; transform: perspective(1000px) rotateY(-14deg) translateX(30px); } to { opacity: 1; transform: none; } }

.coach-card {
  padding: clamp(32px, 4vw, 48px); border-radius: var(--radius);
  background:
    radial-gradient(500px 260px at 90% 0%, rgba(208,182,138,.16), transparent 70%),
    linear-gradient(160deg, var(--navy-600), var(--navy-900) 75%);
  color: var(--on-deep); border: 1px solid rgba(208,182,138,.45);
  box-shadow: 0 40px 80px -30px rgba(15, 26, 58, .6);
  transform-style: preserve-3d; transition: transform .2s ease-out;
}
.coach-card > * { transform: translateZ(22px); }
.coach-card .script { font-size: 1.9rem; }
.coach-card h3 { margin: 4px 0 12px; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 300; letter-spacing: .14em; text-transform: uppercase; color: var(--white); }
.coach-card-text { color: var(--on-deep-muted); font-weight: 300; margin-bottom: 26px; }
.chips-label { font-family: var(--font-head); font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.chips { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(208,182,138,.45);
  font-size: .8rem; font-weight: 400; letter-spacing: .04em; color: var(--on-deep);
  transition: background-color .25s, color .25s;
}
.chip:hover { background: var(--gold); color: var(--navy-950); }
.coach-card .btn { width: 100%; }
.coach-call { display: block; margin-top: 14px; text-align: center; color: var(--gold-light); font-size: .85rem; text-decoration: none; }
.coach-call:hover { color: var(--white); }

.coach-note { display: flex; gap: 8px; align-items: flex-start; font-size: .84rem; font-weight: 300; color: var(--on-deep-muted); margin: -8px 0 24px; }
.coach-note .icon { color: var(--gold); margin-top: 3px; flex: none; }
.coach-note a { color: var(--gold-light); white-space: nowrap; }

/* live "open now" badge: colored status chip + detail */
.open-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; border-radius: 999px;
  font-size: .8rem; font-weight: 400; letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  border: 1px solid var(--line-gold);
}
.open-badge:empty { display: none; }
.ob-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px;
  font-family: var(--font-head); font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  background: #5a6482; color: #fff;
}
.open-badge.ladies .ob-chip { background: var(--gold); color: var(--navy-950); }
.open-badge.mixed .ob-chip { background: #1f9d55; color: #fff; }
.ob-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; position: relative; opacity: .9; }
.open-badge.ladies .ob-dot::after, .open-badge.mixed .ob-dot::after {   /* soft "live" pulse */
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ob-pulse 2s infinite;
}
@keyframes ob-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(2.8); opacity: 0; } }
.ob-detail { font-weight: 500; }
.ob-arrow { font-size: 1rem; line-height: 1; transition: transform .3s var(--ease); }

/* the hero version: bigger and easy to spot right under "View Memberships" */
.hero-copy .open-badge {
  margin-top: 22px; padding: 6px 20px 6px 6px; gap: 14px; font-size: .95rem;
  background: var(--surface); border: 1px solid var(--line); color: var(--heading);
  box-shadow: 0 14px 34px -14px rgba(13, 20, 50, .45);
  transition: border-color .3s, transform .3s var(--ease);
}
.hero-copy .open-badge .ob-chip { padding: 8px 14px; font-size: .74rem; }
.hero-copy .open-badge .ob-dot { width: 8px; height: 8px; }
.hero-copy .open-badge { position: relative; }
.hero-copy .open-badge.ladies { border-color: rgba(208, 182, 138, .8); }
.hero-copy .open-badge.mixed { border-color: rgba(31, 157, 85, .6); }
.hero-copy .open-badge.ladies::after, .hero-copy .open-badge.mixed::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 6px rgba(208, 182, 138, .2); opacity: 0; animation: ob-glow 2.6s ease-in-out infinite;
}
.hero-copy .open-badge.mixed::after { box-shadow: 0 0 0 6px rgba(31, 157, 85, .2); }
.hero-copy .open-badge:hover { transform: translateY(-2px); border-color: var(--gold); }
.hero-copy .open-badge:hover .ob-arrow { transform: translateX(4px); }
@keyframes ob-glow { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
.hero-copy > :nth-child(4) { animation-delay: calc(var(--intro) + .8s); }
.hours .open-badge { margin: 0 0 18px; background: rgba(255, 255, 255, .05); color: var(--on-deep); }
@media (max-width: 600px) {   /* compact hero badge on phones (kept after the desktop rules so it wins) */
  .hero-copy .open-badge { margin-top: 16px; font-size: .78rem; gap: 9px; padding: 4px 14px 4px 4px; max-width: 100%; }
  .hero-copy .open-badge .ob-chip { padding: 6px 10px; font-size: .6rem; letter-spacing: .12em; }
  .hero-copy .open-badge .ob-arrow { display: none; }
}

/* visual week bar: gold = ladies only, blue = mixed */
.week-bar { margin: 0 0 20px; }
.wb-row { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 12px; margin-bottom: 8px; }
.wb-day { font-family: var(--font-head); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--on-deep-muted); }
.wb-row.today .wb-day { color: var(--gold); font-weight: 500; }
.wb-track { position: relative; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.wb-row.today .wb-track { box-shadow: 0 0 0 1px rgba(208, 182, 138, .35); }
.wb-seg { position: absolute; top: 0; bottom: 0; border-radius: 999px; transform-origin: left center; }
.wb-seg.ladies { background: linear-gradient(90deg, var(--gold-deep), var(--gold-light)); }
.wb-seg.mixed { background: linear-gradient(90deg, #3d5ea8, #7896dc); }
.wb-seg + .wb-seg { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.wb-seg:has(+ .wb-seg) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.wb-closed { position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-deep-muted); padding-left: 2px; }
.wb-row:has(.wb-closed) .wb-track { background: none; box-shadow: none; }
.wb-now { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; border-radius: 2px; background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, .9); }
.wb-axis { display: grid; grid-template-columns: 40px 1fr; gap: 12px; margin-top: 4px; }
.wb-ticks { position: relative; height: 14px; }
.wb-ticks span { position: absolute; transform: translateX(-50%); font-size: .62rem; color: var(--on-deep-muted); white-space: nowrap; }
.wb-ticks span:first-child { transform: none; }
.wb-ticks span:last-child { transform: translateX(-100%); }
.wb-legend { display: flex; gap: 18px; margin-top: 10px; font-size: .72rem; color: var(--on-deep-muted); }
.wb-legend span { display: inline-flex; align-items: center; gap: 7px; }
.wb-legend i { width: 18px; height: 6px; border-radius: 999px; }
.wb-legend i.ladies { background: var(--gold); }
.wb-legend i.mixed { background: #6a8ad6; }
/* bars grow in once when the hours box appears */
.js .hours.reveal .wb-seg { transform: scaleX(0); }
.js .hours.reveal.visible .wb-seg { transform: scaleX(1); transition: transform .9s var(--ease) calc(.35s + var(--r) * 70ms); }

.hours dd { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.hours-tag {
  font-family: var(--font-head); font-size: .6rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line-gold); color: var(--on-deep-muted);
}
.hours-tag.ladies { color: var(--navy-950); background: var(--gold); border-color: var(--gold); }

.amenities-line { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line-gold); font-size: .8rem; color: var(--on-deep-muted); }
.po-coach { margin-top: 8px; color: var(--on-deep-muted); }

/* ---------- Memberships: 3D tilt cards ---------- */
.plans { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 46px 36px 36px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  transform-style: preserve-3d; transition: transform .2s ease-out, border-color .3s, box-shadow .3s;
}
.plan:hover { border-color: var(--gold); box-shadow: var(--shadow-lg); }
.plan.popular {
  background: linear-gradient(165deg, var(--navy-600), var(--navy-900) 70%);
  color: var(--on-deep); border-color: rgba(208, 182, 138, .6);
  box-shadow: 0 40px 80px -30px rgba(15, 26, 58, .7);
}
.plan > * { transform: translateZ(20px); }
.plan h3 { transform: translateZ(35px); }
.plan .plan-price { transform: translateZ(55px); }
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%) translateZ(60px);
  background: var(--gold); color: var(--navy-950); padding: 5px 16px; border-radius: 999px;
  font-family: var(--font-head); font-size: .66rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap;
}
.plan h3 { font-size: .9rem; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 18px; }
.plan.popular h3 { color: var(--gold); }
.plan-price { font-family: var(--font-head); font-weight: 300; font-size: 3.6rem; line-height: 1; color: var(--heading); letter-spacing: .02em; }
.plan.popular .plan-price { color: var(--white); }
.plan-price .cur { font-size: 1.3rem; vertical-align: top; margin-right: 4px; position: relative; top: 8px; }
.plan-period { color: var(--muted); font-size: .82rem; letter-spacing: .08em; margin: 8px 0 28px; }
.plan.popular .plan-period { color: var(--on-deep-muted); }
.plan ul { list-style: none; padding: 26px 0 0; margin: 0 0 32px; border-top: 1px solid var(--line); flex: 1; }
.plan.popular ul { border-color: var(--line-gold); }
.plan li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; font-size: .94rem; font-weight: 300; }
.plan li .icon { color: var(--accent-ink); margin-top: 4px; width: 1em; height: 1em; }
.plan.popular li .icon { color: var(--gold); }
.plan .btn { width: 100%; }
.plan:not(.popular) .btn { background: transparent; border-color: var(--heading); color: var(--heading); box-shadow: none; }
.plan:not(.popular) .btn:hover { background: var(--heading); color: var(--bg); }
.plan-note {
  display: inline-block; align-self: flex-start; margin: -14px 0 24px; padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--line-gold); color: var(--accent-ink);
  font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.plan.popular .plan-note { color: var(--gold); }

/* free-trial banner */
.trial-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  margin-bottom: 44px; padding: 28px 36px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-gold); box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.trial-banner::before {   /* gold edge accent */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(var(--gold-light), var(--gold-deep));
}
.trial-text { flex: 1 1 320px; }
.trial-text .script { font-size: 1.8rem; color: var(--accent-ink); }
.trial-text h3 { font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 300; letter-spacing: .14em; text-transform: uppercase; color: var(--heading); margin: 2px 0 6px; }
.trial-text p:last-child { color: var(--muted); font-weight: 300; margin: 0; }

/* THE MOTIVE OFFER: featured bundle */
#offer { margin-bottom: 40px; }
.offer-card {
  display: grid; gap: 28px 48px; align-items: center;
  padding: clamp(30px, 4vw, 46px); border-radius: var(--radius);
  background:
    radial-gradient(520px 300px at 88% 50%, rgba(208,182,138,.22), transparent 70%),
    linear-gradient(150deg, var(--navy-600), var(--navy-900) 70%);
  color: var(--on-deep); border: 1px solid rgba(208,182,138,.6);
  box-shadow: 0 40px 80px -30px rgba(15, 26, 58, .65), 0 0 0 6px rgba(208,182,138,.08);
  transform-style: preserve-3d; transition: transform .2s ease-out;
  position: relative; overflow: hidden;
}
@media (min-width: 860px) { .offer-card { grid-template-columns: 1fr auto; } }
.offer-card > * { transform: translateZ(25px); }
.offer-kicker {
  display: inline-block; margin: 0 0 10px; padding: 6px 14px; border-radius: 4px;
  background: var(--gold); color: var(--navy-950);
  font-family: var(--font-head); font-size: .74rem; letter-spacing: .26em; text-transform: uppercase;
}
.offer-kicker b { font-weight: 600; }
.offer-card h3 { margin: 6px 0 22px; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 300; letter-spacing: .12em; text-transform: uppercase; color: var(--white); }
.offer-items { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; }
.offer-item { display: grid; justify-items: center; text-align: center; gap: 2px; min-width: 96px; }
.offer-item .oi-icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px;
  border: 1px solid rgba(208,182,138,.6); color: var(--gold); background: rgba(255,255,255,.04);
}
.offer-item .oi-icon svg { width: 26px; height: 26px; }
.offer-item strong { font-family: var(--font-head); font-weight: 500; font-size: .9rem; letter-spacing: .06em; color: var(--white); }
.offer-item span:last-child { font-size: .78rem; font-weight: 300; color: var(--on-deep-muted); }
.offer-plus { font-family: var(--font-head); font-weight: 300; font-size: 1.8rem; color: var(--gold); align-self: flex-start; margin-top: 12px; }
.offer-price { text-align: center; padding-left: 0; }
@media (min-width: 860px) { .offer-price { padding-left: 44px; border-left: 1px solid var(--line-gold); } }
.offer-price .script { font-size: 2.2rem; margin-bottom: -6px; }
.offer-amount { font-family: var(--font-head); font-weight: 300; font-size: clamp(4rem, 9vw, 5.6rem); line-height: 1; color: var(--gold-light); margin-bottom: 20px; }
.offer-amount .cur { font-size: .4em; vertical-align: top; margin-right: 4px; position: relative; top: .35em; }
@media (max-width: 520px) {
  .offer-items { justify-content: space-between; gap: 10px 4px; }
  .offer-item { min-width: 0; flex: 1; }
  .offer-item .oi-icon { width: 46px; height: 46px; }
  .offer-plus { font-size: 1.3rem; margin-top: 10px; }
  .offer-price .btn { width: 100%; }
}

/* MORE WAYS TO TRAIN: tabbed price lists */
#more { margin-top: 64px; }
.more-head { text-align: center; margin-bottom: 28px; }
.more-title { font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 300; letter-spacing: .2em; text-transform: uppercase; color: var(--heading); margin-bottom: 20px; }
.more-panel {
  padding: clamp(26px, 4vw, 40px); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.more-intro { text-align: center; color: var(--muted); font-weight: 300; max-width: 620px; margin: 0 auto 30px; }
.more-groups { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: start; }
.more-group { padding: 22px 24px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg); }
.more-group h4 {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px;
  font-family: var(--font-head); font-size: .82rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-ink);
}
.more-group ul { list-style: none; padding: 0; margin: 0; }
.more-group li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.more-group li:first-child { border-top: 0; }
.mr-label { color: var(--text); font-weight: 400; }
.mr-label small { display: block; margin-top: 2px; font-size: .76rem; font-weight: 300; color: var(--muted); }
.mr-price { font-family: var(--font-head); font-size: 1.7rem; font-weight: 300; line-height: 1; color: var(--heading); white-space: nowrap; }
.mr-price .cur { font-size: .8rem; vertical-align: top; margin-right: 2px; }
.more-group.featured {
  background: linear-gradient(160deg, var(--navy-600), var(--navy-900) 75%); border-color: rgba(208,182,138,.55);
}
.more-group.featured h4 { color: var(--gold); }
.more-group.featured .mr-label, .more-group.featured .mr-price { color: var(--white); }
.more-group.featured .mr-label small { color: var(--on-deep-muted); }
.mg-tag { font-size: .58rem; letter-spacing: .2em; padding: 3px 9px; border-radius: 999px; background: var(--gold); color: var(--navy-950); }
.more-cta { display: flex; width: fit-content; margin: 30px auto 0; }
@media (max-width: 520px) { .more-cta { width: 100%; white-space: normal; letter-spacing: .14em; padding-inline: 16px; } .more-group { padding: 18px; } }
.more-panel.swap .more-intro, .more-panel.swap .more-group, .more-panel.swap .more-cta { animation: coach-in .55s var(--ease) backwards; }
.more-panel.swap .more-group:nth-child(2) { animation-delay: .07s; }
.more-panel.swap .more-group:nth-child(3) { animation-delay: .14s; }
.more-panel.swap .more-cta { animation-delay: .18s; }

/* ---------- Wellness & Recovery: spa-menu cards ---------- */
.wellness-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .wellness-grid { grid-template-columns: 1fr 1.25fr; } }
.well-card {
  padding: clamp(28px, 4vw, 42px); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  transform-style: preserve-3d; transition: transform .2s ease-out, border-color .3s;
}
.well-card:hover { border-color: var(--gold); }
.well-card > * { transform: translateZ(20px); }
.well-card.featured {
  background:
    radial-gradient(480px 260px at 95% 0%, rgba(208,182,138,.16), transparent 70%),
    linear-gradient(160deg, var(--navy-600), var(--navy-900) 75%);
  border-color: rgba(208,182,138,.5); color: var(--on-deep);
  box-shadow: 0 40px 80px -30px rgba(15, 26, 58, .6);
}
.well-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.well-card.featured .well-head { border-color: var(--line-gold); }
.well-icon {
  flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-gold); color: var(--accent-ink);
}
.well-card.featured .well-icon { color: var(--gold); border-color: rgba(208,182,138,.55); }
.well-icon svg { width: 24px; height: 24px; }
.well-head h3 { margin: 0; font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-weight: 300; letter-spacing: .14em; text-transform: uppercase; color: var(--heading); }
.well-card.featured .well-head h3 { color: var(--white); }
.well-head p { margin: 2px 0 0; font-family: var(--font-script); font-size: 1.35rem; line-height: 1.1; color: var(--accent-ink); }
.well-card.featured .well-head p { color: var(--gold); }
.well-list { list-style: none; padding: 0; margin: 0 0 28px; }
.well-row { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 12px; padding: 13px 0; }
.wr-text strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: .98rem; letter-spacing: .06em; color: var(--heading); }
.wr-text span { display: block; margin-top: 2px; font-size: .82rem; font-weight: 300; color: var(--muted); max-width: 34ch; }
.well-card.featured .wr-text strong { color: var(--white); }
.well-card.featured .wr-text span { color: var(--on-deep-muted); }
.wr-dots { align-self: end; margin-bottom: 7px; border-bottom: 1px dotted var(--line-gold); min-width: 20px; }
.wr-price { font-family: var(--font-head); font-weight: 300; font-size: 1.55rem; line-height: 1; color: var(--heading); white-space: nowrap; }
.wr-price .cur { font-size: .75rem; vertical-align: top; margin-right: 2px; }
.well-card.featured .wr-price { color: var(--gold-light); }
.well-card .btn { width: 100%; }
/* rows slide in one by one when the card appears */
.js .well-card.reveal .well-row { opacity: 0; transform: translateX(-16px); }
.js .well-card.reveal.visible .well-row { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(.35s + var(--i) * 80ms); }
.wellness-grid > * { min-width: 0; }
@media (max-width: 520px) {
  .well-row { grid-template-columns: 1fr auto; }
  .wr-dots { display: none; }
  .well-card .btn { white-space: normal; text-align: center; letter-spacing: .14em; padding-inline: 16px; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(48px, 6vw, 80px); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.contact-info .section-title { margin-bottom: .5em; font-size: clamp(2.2rem, 5.4vw, 3.8rem); }
.contact-list { list-style: none; padding: 0; margin: 36px 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: center; font-weight: 300; }
.contact-list .icon { color: var(--gold); width: 20px; height: 20px; }
.contact-list a { text-decoration: none; color: var(--on-deep); overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold); }

.hours { border: 1px solid var(--line-gold); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 30px; background: rgba(5, 8, 20, .18); }
.hours h3 { display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 400; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.hours dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; font-weight: 300; }
.hours dt { color: var(--on-deep-muted); }
.hours dd { margin: 0; color: var(--white); text-align: right; }

.contact-form {
  background: var(--surface); color: var(--text); padding: clamp(30px, 4vw, 48px); border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .5);
}
.contact-form h3 { color: var(--heading); font-size: 1.1rem; font-weight: 400; text-transform: uppercase; letter-spacing: .22em; margin-bottom: 28px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .7rem; font-weight: 500; color: var(--heading); margin-bottom: 8px; letter-spacing: .18em; text-transform: uppercase; }
.field .optional { font-weight: 400; color: var(--muted); text-transform: none; letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 1rem; font-weight: 300; color: var(--text);
  background: var(--field); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(208,182,138,.2);
}
.field-error { display: none; color: #d64545; font-size: .8rem; margin-top: 6px; }
.field.invalid input, .field.invalid textarea { border-color: #d64545; }
.field.invalid .field-error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { margin: 12px 0 0; text-align: center; font-size: .8rem; color: var(--muted); font-weight: 300; }
.form-status { margin: 16px 0 0; font-size: .9rem; min-height: 1.4em; text-align: center; }
.form-status.ok { color: #1f9d55; }
.form-status.err { color: #d64545; }
.contact-form button[disabled] { opacity: .7; cursor: wait; }

/* ---------- Footer (black in both themes) ---------- */
.site-footer { position: relative; background: var(--black); color: var(--on-deep-muted); padding: 64px 0 30px; border-top: 1px solid var(--line-gold); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.footer-brand img { width: 186px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 30px; }
.footer-nav a { text-decoration: none; font-family: var(--font-head); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; }
.footer-nav a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-gold); color: var(--gold); transition: background-color .25s, color .25s;
}
.socials a:hover { background: var(--gold); color: var(--black); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.07); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-right: 64px; }   /* clears the floating WhatsApp button */
.copyright, .credit { margin: 0; font-size: .74rem; letter-spacing: .12em; }
.credit { color: var(--on-deep-muted); }
.credit a, .credit strong { font-weight: 500; color: var(--on-deep); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: color .3s, background-size .35s var(--ease); }
.credit a:hover { color: var(--gold); background-size: 100% 1px; }
.credit a, .credit strong { white-space: nowrap; }
.credit-mark {   /* Mahdi's signature: the PNG is used as a mask, so it takes the text color (gold on hover) */
  display: inline-block; width: 3.5em; height: 1.75em; margin: 0 .35em 0 .15em; vertical-align: -.6em;
  background-color: currentColor;
  -webkit-mask: url("../assets/credit-mark.png") center / contain no-repeat;
  mask: url("../assets/credit-mark.png") center / contain no-repeat;
}
.credit a:hover .credit-mark { transform: rotate(-4deg); }
.credit-mark { transition: transform .4s var(--ease); }
@media (max-width: 700px) {
  .footer-bottom-inner { flex-direction: column; text-align: center; padding: 0; }
  .site-footer { padding-bottom: 96px; }   /* the last line ends above the floating WhatsApp button */
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,.3);
  transition: transform .25s var(--ease);
}
.whatsapp-float::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: #25d366;
  animation: wa-ring 2.6s ease-out infinite;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; position: relative; }
@keyframes wa-ring { from { transform: scale(1); opacity: .45; } 70%, to { transform: scale(1.55); opacity: 0; } }

/* ---------- Theme switch cross-fade ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }

/* ---------- Reduced motion: no intro, flatten all 3D scroll scenes ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .intro { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .swoosh path { stroke-dashoffset: 0; }
  .hero { height: auto; }
  .hero .stage { position: relative; }
  .tunnel { height: auto; padding: 110px 0; }
  .tunnel .stage { position: relative; height: auto; overflow: visible; perspective: none; background: none; }
  .tunnel .head { position: relative; top: 0; margin-bottom: 44px; }
  .world { position: relative; inset: auto; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); width: min(1180px, 100% - 32px); margin: 0 auto; }
  .panel { position: relative; left: auto; top: auto; margin: 0; width: auto; }
  .floor, .tmeter { display: none; }
  .words .w { opacity: 1; }
  .pool-dive { height: auto; }
  .pool-dive .stage { position: relative; height: auto; padding: 110px 0 130px; }
  .pool-air, .waves, .rays, .bubbles, .depth-gauge, .ripples { display: none; }
  .water { transform: none !important; height: 100%; }
  .pool-head { position: relative; top: 0; z-index: 3; color: #fff; margin-bottom: 48px; }
  .pool-title, .pool-sub { color: #fff; }
  .pool-head .script { color: var(--gold); }
  .pool-content { position: relative; inset: auto; }
  .js .hours.reveal .wb-seg { transform: none; }
  .js .well-card.reveal .well-row { opacity: 1; transform: none; }
}
