/* OMNI GYM BEYOND — Premium Performance Fitness Club
   Cinematic scroll experience. Swap Unsplash URLs for real photography when ready.
*/

:root {
  --bg: #070706;
  --bg-2: #100f0d;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f7f4ec;
  --muted: rgba(247, 244, 236, 0.66);
  --faint: rgba(247, 244, 236, 0.12);
  --line: rgba(247, 244, 236, 0.16);
  --accent: #e7b24a;
  --accent-2: #ffd789;
  --accent-3: #d6ff63;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  --radius: 26px;
  --container: min(1280px, calc(100vw - 48px));
  --thai: "Noto Sans Thai", system-ui, sans-serif;
  --latin: "Inter", "Noto Sans Thai", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--thai);
  color: var(--text);
  background:
    radial-gradient(circle at 20% 6%, rgba(231, 178, 74, 0.18), transparent 36vw),
    radial-gradient(circle at 88% 14%, rgba(214, 255, 99, 0.06), transparent 28vw),
    linear-gradient(180deg, #070706 0%, #100f0d 54%, #070706 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::selection { color: #070706; background: var(--accent); }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  opacity: 0.05;
  mix-blend-mode: soft-light;
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 22%),
    repeating-radial-gradient(circle at 0 0, rgba(255, 255, 255, .2) 0 1px, transparent 1px 6px);
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 120;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 24px rgba(231, 178, 74, 0.8);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ===================== POLYGON BACKDROP ===================== */
.poly-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.poly {
  position: absolute;
  opacity: .12;
  filter: blur(1px);
  will-change: transform;
  background: linear-gradient(135deg, rgba(231,178,74,.85), rgba(214,255,99,.35));
}

.poly-1 {
  top: 8%; left: -5%;
  width: 38vmin; height: 38vmin;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation: polyFloatA 56s ease-in-out infinite;
}
.poly-2 {
  top: 52%; right: -6%;
  width: 50vmin; height: 50vmin;
  opacity: .1;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: polyFloatB 72s ease-in-out infinite;
}
.poly-3 {
  top: 26%; right: 18%;
  width: 26vmin; height: 26vmin;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  animation: polyFloatC 64s ease-in-out infinite;
}
.poly-4 {
  bottom: 6%; left: 12%;
  width: 32vmin; height: 32vmin;
  opacity: .09;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  animation: polyFloatA 80s ease-in-out infinite reverse;
}
.poly-5 {
  top: 70%; left: 44%;
  width: 22vmin; height: 22vmin;
  clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
  animation: polyFloatC 90s ease-in-out infinite reverse;
}

@keyframes polyFloatA {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(40px, 36px, 0) rotate(40deg); }
}
@keyframes polyFloatB {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-50px, -30px, 0) rotate(-32deg); }
}
@keyframes polyFloatC {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(30px, -44px, 0) rotate(28deg); }
}

.section { position: relative; padding: clamp(90px, 11vw, 168px) 0; }
.panel { min-height: 100svh; position: relative; overflow: hidden; }

/* ===================== HEADER (full-width, scroll-aware) ===================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s ease, border-color .4s ease, backdrop-filter .4s ease, box-shadow .4s ease, transform .45s cubic-bezier(.2,.8,.2,1);
}

.header-inner {
  width: var(--container);
  margin-inline: auto;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: height .4s ease;
}

.site-header.is-scrolled {
  background: rgba(8, 8, 7, 0.72);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
}

.site-header.is-scrolled .header-inner { height: 72px; }

/* hide header when scrolling down, reveal scrolling up */
.site-header.is-hidden { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: center; min-width: max-content; }

.brand-logo {
  height: 60px;
  width: auto;
  transition: height .4s ease;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35));
}

.site-header.is-scrolled .brand-logo { height: 50px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 40px);
  margin-left: auto;
}

.site-nav a {
  position: relative;
  color: rgba(247, 244, 236, .82);
  font-family: var(--latin);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 6px 2px;
  transition: color .2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .3s cubic-bezier(.2,.8,.2,1);
}

.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.header-cta,
.btn,
.price-body a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: var(--latin);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.header-cta,
.btn-primary,
.price-card.highlight .price-body a {
  color: #0e0e0c;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 34px rgba(231, 178, 74, 0.26);
}

.header-cta:hover,
.btn:hover,
.price-body a:hover,
.contact-cards a:hover { transform: translateY(-2px); }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--text);
  transition: transform .24s ease;
}

/* ===================== HERO ===================== */
.hero {
  min-height: 100svh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 0 64px;
}

.parallax-media,
.hero-media {
  position: absolute;
  inset: -8vh 0;
  z-index: 0;
  background-image: var(--bg);
  background-position: center;
  background-size: cover;
  transform: translate3d(0, 0, 0) scale(1.05);
  will-change: transform;
}

.hero-overlay,
.panel-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 7, 6, .9) 0%, rgba(7, 7, 6, .38) 52%, rgba(7, 7, 6, .72) 100%),
    linear-gradient(0deg, rgba(7, 7, 6, .94) 0%, transparent 44%, rgba(7, 7, 6, .4) 100%);
}

/* dicut athlete cutout (transparent PNG) */
.hero-cutout {
  position: absolute;
  right: clamp(40px, 11vw, 250px);
  bottom: 0;
  z-index: 2;
  height: min(88vh, 900px);
  width: auto;
  max-width: 52vw;
  object-fit: contain;
  object-position: bottom center;
  filter:
    contrast(1.05) saturate(1.06)
    drop-shadow(0 26px 50px rgba(0, 0, 0, .6))
    drop-shadow(0 0 70px rgba(231, 178, 74, .14));
  -webkit-mask-image: linear-gradient(to bottom, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 90%, transparent 100%);
  pointer-events: none;
}

/* soft radial glow behind the athlete */
.hero-cutout-glow {
  position: absolute;
  right: clamp(6vw, 17vw, 360px);
  bottom: 6vh;
  z-index: 1;
  width: min(46vw, 620px);
  height: min(46vw, 620px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 178, 74, .26) 0%, rgba(231, 178, 74, .08) 38%, transparent 68%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-content,
.hero-stats,
.scroll-cue,
.panel-content { position: relative; z-index: 3; }

.hero-content { padding-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--accent);
  font-family: var(--latin);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero-title {
  display: grid;
  gap: 0;
  margin: 0;
  max-width: 1100px;
  font-family: var(--latin);
  font-size: clamp(44px, 7.6vw, 108px);
  line-height: .92;
  letter-spacing: -0.05em;
  font-weight: 900;
  text-transform: uppercase;
  perspective: 800px;
}

.hero-title span { display: block; overflow: hidden; }
.hero-title i { font-style: normal; }

.hero-title .txt-stroke {
  -webkit-text-stroke: 2px rgba(247, 244, 236, 0.85);
  text-stroke: 2px rgba(247, 244, 236, 0.85);
}

.hero-copy {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(247, 244, 236, 0.8);
  font-size: clamp(15px, 1.45vw, 19px);
  line-height: 1.75;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.hero-stats {
  margin-top: clamp(28px, 4.5vh, 56px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
}

.hero-stats article {
  min-height: 100px;
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, .055);
  backdrop-filter: blur(18px);
}

.hero-stats strong {
  display: block;
  font-family: var(--latin);
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero-stats span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--latin);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(247,244,236,.72);
  font-family: var(--latin);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 999px;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
  animation: cue 1.5s infinite;
}

@keyframes cue {
  0% { transform: translate(-50%, 0); opacity: 1; }
  80% { transform: translate(-50%, 18px); opacity: 0; }
  100% { opacity: 0; }
}

/* ===================== MARQUEE ===================== */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 26px 0;
  border-top: 1px solid var(--faint);
  border-bottom: 1px solid var(--faint);
  background: rgba(255,255,255,.015);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  will-change: transform;
}

.marquee-track span {
  font-family: var(--latin);
  font-size: clamp(34px, 6vw, 78px);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(247,244,236,.4);
}

.marquee-track i {
  color: var(--accent);
  font-size: clamp(18px, 2.6vw, 32px);
  font-style: normal;
}

@keyframes marqueeMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===================== SHARED ===================== */
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(36px, 6vw, 90px);
}
.align-center { align-items: center; }

.section-title {
  margin: 0;
  max-width: 940px;
  font-size: clamp(34px, 5.4vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.section-title em {
  font-style: normal;
  color: var(--accent);
}

.txt-stroke {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(247, 244, 236, 0.66);
  text-stroke: 1.5px rgba(247, 244, 236, 0.66);
}

.section-desc {
  margin: 24px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.9;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .6fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 52px;
}
.section-head .section-desc { margin-top: 0; }
.section-head.compact { display: block; max-width: 820px; margin-bottom: 0; }

/* ===================== ABOUT ===================== */
.about-visual { position: relative; min-height: 600px; }

.visual-main {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(.94) contrast(1.05);
  box-shadow: var(--shadow);
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 28px -22px -22px 32px;
  z-index: -1;
  border: 1px solid rgba(231, 178, 74, .3);
  border-radius: var(--radius);
}

.visual-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  min-width: 220px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  background: rgba(8,8,7,.6);
  backdrop-filter: blur(18px);
}

.visual-card strong {
  display: block;
  color: var(--accent);
  font-family: var(--latin);
  font-size: 12px;
  letter-spacing: .16em;
}

.visual-card span {
  display: block;
  margin-top: 8px;
  font-family: var(--latin);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.visual-badge {
  position: absolute;
  left: -10px;
  top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0e0e0c;
  box-shadow: 0 18px 40px rgba(231,178,74,.3);
}

.visual-badge em {
  font-family: var(--latin);
  font-style: normal;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
}

.visual-badge small {
  font-family: var(--latin);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.feature-list { display: grid; gap: 14px; margin-top: 38px; }

.feature-list div,
.contact-cards a {
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
}

.feature-list div { padding: 22px; border-radius: 20px; }

.feature-list span,
.facility-card span,
.program-body span,
.price-body span,
.contact-cards span {
  color: var(--accent);
  font-family: var(--latin);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.feature-list strong { display: block; margin-top: 8px; font-size: 19px; }
.feature-list p { margin: 8px 0 0; color: var(--muted); line-height: 1.75; }

.counter-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--faint);
}

.counter-row strong {
  display: block;
  font-family: var(--latin);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.counter-row span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--latin);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ===================== CINEMATIC ===================== */
.cinematic { display: grid; place-items: center; }
.panel-content { padding-block: 20vh; text-align: center; }
.panel-content .eyebrow { justify-content: center; }
.panel-content .eyebrow::before { display: none; }
.panel-content .section-desc { margin-inline: auto; }

.display-title {
  margin: 14px auto 0;
  max-width: 1100px;
  font-family: var(--latin);
  font-size: clamp(46px, 8.6vw, 140px);
  line-height: .9;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.display-title .word { display: inline-block; }

/* ===================== FACILITIES ===================== */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.facility-card {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #14120f;
  isolation: isolate;
}

.facility-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
  filter: saturate(.9) contrast(1.05);
}

.facility-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(7,7,6,.94) 0%, rgba(7,7,6,.24) 56%, rgba(7,7,6,.2) 100%),
    radial-gradient(circle at 30% 82%, rgba(231, 178, 74, .2), transparent 44%);
}

.facility-card:hover img { transform: scale(1.1); }

.facility-card > div { position: absolute; left: 26px; right: 26px; bottom: 26px; }

.facility-card h3 {
  margin: 10px 0 0;
  font-family: var(--latin);
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: .95;
  letter-spacing: -0.05em;
}

.facility-card p {
  max-width: 520px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

/* ===================== STORY (pinned crossfade) ===================== */
.story { position: relative; padding: 0; background: #000; }

.story-pin {
  position: relative;
  height: 100svh;
  overflow: hidden;
}

.scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: opacity;
  transition: opacity .6s ease;
}
.scene.is-active { opacity: 1; }

.scene-bg {
  position: absolute;
  inset: -6vh 0;
  background-image: var(--bg);
  background-position: center;
  background-size: cover;
  transform: scale(1.12);
  filter: saturate(.9) contrast(1.06);
  will-change: transform;
}

.scene-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 18% 70%, rgba(231,178,74,.22), transparent 36%),
    linear-gradient(90deg, rgba(7,7,6,.9), rgba(7,7,6,.28) 56%, rgba(7,7,6,.86)),
    linear-gradient(0deg, rgba(7,7,6,.88), transparent 44%, rgba(7,7,6,.5));
}

.story-copy {
  position: absolute;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(80px, 14vh, 160px);
}

.story-slide {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(80px, 14vh, 160px);
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}

.story-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.story-slide span {
  color: var(--accent);
  font-family: var(--latin);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .2em;
}

.story-slide h3 {
  max-width: 1000px;
  margin: 16px 0 0;
  font-family: var(--latin);
  font-size: clamp(52px, 10vw, 150px);
  line-height: .82;
  letter-spacing: -0.07em;
  font-weight: 900;
  text-transform: uppercase;
}

.story-slide p {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(247,244,236,.82);
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.8;
}

.story-progress {
  position: absolute;
  right: max(24px, calc((100vw - 1280px) / 2));
  bottom: clamp(80px, 14vh, 160px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--latin);
  font-weight: 900;
  letter-spacing: .1em;
  color: var(--muted);
}

.story-progress span:first-child { color: var(--text); font-size: 20px; }
.story-progress i {
  display: block;
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,.2);
  border-radius: 2px;
  overflow: hidden;
}
.story-progress b {
  display: block;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .5s cubic-bezier(.2,.8,.2,1);
}

/* ===================== PROGRAMS ===================== */
.programs { overflow: hidden; }

.program-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 400px);
  gap: 18px;
  overflow-x: auto;
  padding: 38px max(24px, calc((100vw - 1280px) / 2)) 22px;
  scrollbar-width: none;
  cursor: grab;
}

.program-track::-webkit-scrollbar { display: none; }
.program-track.is-dragging { cursor: grabbing; scroll-behavior: auto; }

.program-card {
  position: relative;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: var(--radius);
  background: #14120f;
  isolation: isolate;
}

.program-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
  filter: saturate(.92) contrast(1.04);
}

.program-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(7,7,6,.95) 0%, rgba(7,7,6,.3) 55%, rgba(7,7,6,.25) 100%),
    radial-gradient(circle at 20% 0%, rgba(231, 178, 74, .2), transparent 42%);
}

.program-card:hover img { transform: scale(1.1); }
.program-body { padding: 26px; }

.program-body h3 {
  margin: 14px 0 0;
  font-family: var(--latin);
  font-size: 38px;
  line-height: .95;
  letter-spacing: -0.05em;
}

.program-body p { margin: 12px 0 0; color: var(--muted); line-height: 1.75; }

/* ===================== MEMBERSHIP ===================== */
.membership {
  border-top: 1px solid var(--faint);
  border-bottom: 1px solid var(--faint);
  background:
    radial-gradient(circle at 90% 12%, rgba(231, 178, 74, .12), transparent 30vw),
    rgba(255,255,255,.014);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  background: #110f0d;
  box-shadow: var(--shadow);
}

.price-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: saturate(.92) contrast(1.04);
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}

.price-card:hover img { transform: scale(1.06); }

.price-card.highlight {
  border-color: rgba(231, 178, 74, .45);
  box-shadow: 0 30px 90px rgba(231,178,74,.16);
}

.price-body { padding: 26px; }

.price-body h3 {
  margin: 10px 0 0;
  font-family: var(--latin);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.price-body .price {
  margin: 14px 0 0;
  font-family: var(--latin);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.price-body .price small {
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0;
}

.price-body p:not(.price) { margin: 14px 0 22px; color: var(--muted); line-height: 1.75; }

.price-body a {
  width: 100%;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.07);
}

/* ===================== GALLERY ===================== */
.gallery-section { overflow: hidden; padding: 18px 0; }

.gallery-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 32vw);
  gap: 14px;
  padding-inline: 14px;
}

.gallery-strip img {
  width: 100%;
  height: clamp(260px, 36vw, 500px);
  object-fit: cover;
  border-radius: 24px;
  filter: saturate(.92) contrast(1.03);
}

/* ===================== CONTACT ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: stretch;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 36px;
}

.contact-cards a {
  padding: 22px;
  border-radius: 20px;
  transition: transform .2s ease, border-color .2s ease;
}

.contact-cards a:hover { border-color: rgba(231,178,74,.42); }

.contact-cards strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.map-card {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-radius: var(--radius);
  background: #0c0b0a;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.65) brightness(0.92) contrast(0.95);
}

.map-gradient {
  position: absolute;
  inset: auto 0 0 0;
  height: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 92%, rgba(231, 178, 74, .18), transparent 42%),
    linear-gradient(0deg, rgba(7,7,6,.96), transparent);
}

.map-info {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  background: rgba(7,7,6,.62);
  backdrop-filter: blur(18px);
}

.map-info strong,
.map-info span,
.map-info em,
.map-info .map-cta { display: block; }

.map-cta {
  margin-top: 14px;
  color: var(--accent);
  font-family: var(--latin);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  transition: opacity .2s ease;
}
.map-cta:hover { opacity: .75; }

.map-info strong {
  font-family: var(--latin);
  font-size: clamp(28px, 4vw, 52px);
  line-height: .95;
  letter-spacing: -0.05em;
}

.map-info span, .map-info em { margin-top: 10px; color: var(--muted); font-style: normal; }

/* ===================== FLOATING + FOOTER ===================== */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  color: #0e0e0c;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 40px rgba(231, 178, 74, .3);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px) scale(.9);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, box-shadow .2s ease;
}

.back-to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 18px 48px rgba(231, 178, 74, .42); }
.back-to-top svg { display: block; }

.site-footer { padding: 40px 0; color: var(--muted); border-top: 1px solid var(--faint); }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand img { height: 56px; width: auto; }
.footer-inner p { margin: 0; flex: 1; text-align: center; }
.footer-top { color: var(--text); font-weight: 800; font-family: var(--latin); }

/* ===================== REVEAL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===================== MOTION LAYER ===================== */
.motion-orb {
  pointer-events: none;
  position: fixed;
  z-index: 70;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  left: -100px;
  top: -100px;
  opacity: .2;
  background: radial-gradient(circle, rgba(231,178,74,.95) 0%, rgba(231,178,74,.3) 24%, transparent 62%);
  mix-blend-mode: screen;
  filter: blur(4px);
  transform: translate3d(-50%, -50%, 0);
}

.section-dots {
  position: fixed;
  z-index: 90;
  right: 22px;
  top: 50%;
  display: grid;
  gap: 12px;
  transform: translateY(-50%);
}

.section-dots a {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(247,244,236,.32);
  border: 1px solid rgba(247,244,236,.26);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.section-dots a.is-active,
.section-dots a:hover {
  transform: scale(1.8);
  background: var(--accent);
  box-shadow: 0 0 22px rgba(231,178,74,.6);
}

.hero-kinetic {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-kinetic span {
  position: absolute;
  display: block;
  border: 1.5px solid rgba(231,178,74,.42);
  border-radius: 999px;
  opacity: .9;
}

.hero-kinetic span:nth-child(1) { width: 42vw; height: 42vw; right: -12vw; top: 14vh; box-shadow: 0 0 60px rgba(231,178,74,.12) inset; }
.hero-kinetic span:nth-child(2) { width: 26vw; height: 26vw; right: 18vw; bottom: 10vh; border-color: rgba(214,255,99,.32); }
.hero-kinetic span:nth-child(3) {
  width: 720px; height: 2px; left: 8vw; top: 28vh;
  transform: rotate(-18deg);
  background: linear-gradient(90deg, transparent, rgba(231,178,74,.85), transparent);
  border: 0;
}

.facility-card,
.program-card,
.price-card,
.contact-cards a { will-change: transform; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .hero-cutout { opacity: .55; width: clamp(300px, 50vw, 480px); }
}

@media (max-width: 900px) {
  :root { --container: min(100vw - 32px, 760px); }

  .header-inner { height: 70px; }
  .site-header.is-scrolled .header-inner { height: 62px; }
  .brand-logo, .site-header.is-scrolled .brand-logo { height: 42px; }

  .nav-toggle { display: block; }

  .site-nav {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 24px;
    background: rgba(8,8,7,.96);
    backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .24s ease, transform .24s ease;
  }

  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .site-nav a { padding: 14px 12px; border-radius: 14px; font-size: 15px; }
  .site-nav a::after { display: none; }
  .site-nav a:hover { background: rgba(255,255,255,.06); }

  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .hero { height: auto; min-height: 100svh; justify-content: flex-end; padding: 120px 0 64px; }
  .hero-title { font-size: clamp(50px, 15vw, 96px); }
  .hero-cutout { display: none; }

  .hero-stats { max-width: none; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-stats article { min-height: auto; padding: 16px; }

  .grid-2, .section-head, .facility-grid, .contact-grid, .pricing-grid { grid-template-columns: 1fr; }

  .scroll-cue { display: none; }
  .about-visual, .visual-main, .map-card { min-height: 440px; }
  .facility-card { min-height: 440px; }
  .gallery-strip { grid-auto-columns: 72vw; }

  .counter-row { gap: 12px; }

  .story-slide { bottom: 96px; }
  .story-slide p { font-size: 15px; line-height: 1.65; max-width: 100%; }
  .story-progress { left: 16px; right: auto; bottom: 32px; gap: 10px; }
  .story-progress span:first-child { font-size: 16px; }
  .story-progress i { width: 72px; }

  .footer-inner { flex-direction: column; }
  .footer-inner p { text-align: center; }
}

@media (max-width: 560px) {
  .hero-actions { display: grid; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats strong { font-size: 34px; }
  .section { padding: 76px 0; }
  .section-title { font-size: clamp(32px, 11vw, 50px); }
  .counter-row { grid-template-columns: 1fr; text-align: left; }
  .contact-cards { grid-template-columns: 1fr; }
  .visual-card { left: 16px; right: 16px; min-width: 0; }
  .facility-card { min-height: 380px; }
  .program-track { grid-auto-columns: minmax(260px, 84vw); }
  .marquee-track span { -webkit-text-stroke-width: 1px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  .parallax-media, .scene-bg { transform: none !important; }
  .motion-orb, .hero-kinetic, .poly-bg { display: none; }
  .scene { opacity: 1; }
  .scene + .scene { display: none; }
  .story-slide { position: relative; opacity: 1; transform: none; }
}
