/* PulseHaus — luxury wellness landing page */
:root {
  --forest: #142318;
  --forest-2: #1c2c20;
  --forest-3: #243528;
  --olive: #3d4e30;
  --sage: #9aae89;
  --sage-2: #b7c4a8;
  --beige: #ece3d0;
  --beige-2: #ddd2bc;
  --cream: #f6f0e3;
  --offwhite: #faf7ee;
  --charcoal: #1d1d1a;
  --ink: #2a2a26;
  --ink-2: rgba(42, 42, 38, 0.62);
  --gold: #b3946a;
  --shadow-soft: 0 30px 80px -40px rgba(20, 35, 24, 0.35);
  --shadow-card: 0 2px 4px rgba(20,35,24,.04), 0 18px 40px -24px rgba(20, 35, 24, 0.25);
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-2xl: 48px;
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Geist', 'Söhne', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.serif-italic {
  font-family: 'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ─── layout shell ─── */
.app { width: 100%; overflow-x: hidden; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 32px; }
.wrap-wide { width: 100%; max-width: 1520px; margin: 0 auto; padding: 0 24px; }

/* ─── typography ─── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-2); font-weight: 500;
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sage);
}
.eyebrow.dark { color: rgba(246, 240, 227, 0.65); }
.eyebrow.dark::before { background: var(--sage); }

.h-display {
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
}
.h-section {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
}
.h-card {
  font-size: 22px; line-height: 1.15; letter-spacing: -0.018em;
  font-weight: 500; margin: 0;
}
.subtle { color: var(--ink-2); }
.subtle-dark { color: rgba(246, 240, 227, 0.7); }

/* ─── buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px 14px 24px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
  border: 0.5px solid transparent;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background .25s, color .25s, box-shadow .35s;
}
.btn-sage { background: var(--sage); color: var(--forest); }
.btn-sage:hover { background: #a8bd96; transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(154,174,137,.6); }
.btn-forest { background: var(--forest); color: var(--cream); }
.btn-forest:hover { background: #1c2c20; transform: translateY(-1px); }
.btn-cream { background: var(--cream); color: var(--forest); }
.btn-cream:hover { background: #fff8ea; transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--forest);
  border-color: rgba(20,35,24,.18);
}
.btn-ghost:hover { background: rgba(20,35,24,.04); transform: translateY(-1px); }
.btn-ghost.dark {
  color: var(--cream); border-color: rgba(246,240,227,.25);
}
.btn-ghost.dark:hover { background: rgba(246,240,227,.06); }
.btn .arrow {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--forest); color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: -10px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.btn-forest .arrow, .btn-ghost.dark .arrow { background: var(--cream); color: var(--forest); }
.btn:hover .arrow { transform: rotate(45deg); }

.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(246,240,227,.92); color: var(--forest);
  border: 0.5px solid rgba(20,35,24,.06);
  transition: transform .3s, background .25s;
  backdrop-filter: blur(12px);
}
.icon-btn:hover { transform: translateY(-2px); background: var(--cream); }
.icon-btn.ghost-dark {
  background: rgba(246,240,227,.08); color: var(--cream);
  border-color: rgba(246,240,227,.18); backdrop-filter: blur(12px);
}
.icon-btn.ghost-dark:hover { background: rgba(246,240,227,.14); }

/* ─── nav ─── */
.nav-wrap {
  position: absolute; top: 36px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; padding: 0 44px;
  pointer-events: none;
}
.nav-wrap > * { pointer-events: auto; }

.nav-logo {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--cream);
  font-size: 18px; font-weight: 500; letter-spacing: -0.02em;
  filter: drop-shadow(0 1px 8px rgba(20,35,24,.35));
}
.nav-logo .brand-mark {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(246,240,227,.14);
  border: 0.5px solid rgba(246,240,227,.3);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  position: relative;
}
.nav-logo .brand-mark::after {
  content: ''; position: absolute; inset: 7px; border-radius: 50%;
  border: 1px solid var(--sage); opacity: .9;
}
.nav-logo .brand-mark::before {
  content: ''; position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: var(--sage); top: 50%; left: 50%; transform: translate(-50%,-50%);
  box-shadow: 0 0 0 3px rgba(154,174,137,.25);
}
.nav-logo .wm { letter-spacing: -0.015em; }

.nav-pill {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 6px;
  background: rgba(20,35,24,.32);
  border: 0.5px solid rgba(246,240,227,.16);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(246,240,227,.12) inset,
    0 8px 28px -10px rgba(20,35,24,.35);
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-pill a {
  padding: 9px 16px; border-radius: 999px;
  color: rgba(246,240,227,.82);
  font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
  transition: background .2s, color .2s;
}
.nav-pill a:hover { background: rgba(246,240,227,.08); color: var(--cream); }
.nav-pill a.active {
  background: var(--cream);
  color: var(--forest);
}

.nav-actions {
  display: flex; gap: 10px; align-items: center;
}
.nav-actions .btn-ghost.dark {
  background: rgba(20,35,24,.22);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-color: rgba(246,240,227,.3);
  box-shadow: 0 6px 20px -10px rgba(20,35,24,.4);
}
.nav-actions .btn-sage {
  box-shadow: 0 6px 20px -8px rgba(154,174,137,.55), 0 1px 0 rgba(255,255,255,.4) inset;
}

/* ─── hamburger / mobile nav ─── */
.nav-ham {
  display: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(20,35,24,.32); border: 0.5px solid rgba(246,240,227,.22);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  cursor: pointer; flex-shrink: 0;
}
.nav-ham span {
  display: block; width: 18px; height: 1.5px;
  background: var(--cream); border-radius: 999px;
  transition: transform .25s, opacity .25s;
}
.nav-ham.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-ham.open span:nth-child(2) { opacity: 0; }
.nav-ham.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20,35,24,.96); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 32px; font-weight: 500; letter-spacing: -.02em;
  color: rgba(246,240,227,.85); padding: 10px 24px; border-radius: 12px;
  transition: color .2s, background .2s;
}
.mobile-nav a:hover { color: var(--cream); background: rgba(246,240,227,.06); }
.mobile-nav .mob-close {
  position: absolute; top: 28px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(246,240,227,.08); border: 0.5px solid rgba(246,240,227,.18);
  color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 20px;
}
.mobile-nav .mob-cta {
  margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 12px;
}

/* ─── footer/brand reused outside the hero nav ─── */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 17px; letter-spacing: -0.02em;
  color: var(--cream);
}
.brand .brand-mark {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(246,240,227,.1);
  border: 0.5px solid rgba(246,240,227,.22);
  position: relative;
}
.brand .brand-mark::after {
  content: ''; position: absolute; inset: 6px; border-radius: 50%;
  border: 1px solid var(--sage); opacity: .9;
}
.brand .brand-mark::before {
  content: ''; position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: var(--sage); top: 50%; left: 50%; transform: translate(-50%,-50%);
}

/* ─── hero ─── */
.hero {
  position: relative;
  height: calc(100vh - 0px);
  min-height: 760px;
  padding: 16px;
}
.hero-frame {
  position: relative; height: 100%; width: 100%;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--forest-2);
  isolation: isolate;
}
.hero-img-wrap {
  position: absolute; inset: 0;
  background: #1c2c20;
}
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
  z-index: 1;
}
.hero-img {
  position: absolute; inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(20,35,24,.05) 0%, rgba(20,35,24,.0) 35%, rgba(20,35,24,.65) 100%),
    linear-gradient(110deg, rgba(20,35,24,.55) 0%, rgba(20,35,24,.1) 45%, rgba(20,35,24,.05) 75%);
}
.hero-content, .hero-side, .hero-scroll { z-index: 4 !important; }
.hero-img .ph-label {
  position: absolute; bottom: 22px; right: 26px;
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .04em;
  color: rgba(246,240,227,.5);
}
.hero-content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 56px 60px 56px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end;
  color: var(--cream);
}
.hero-title { color: var(--cream); }
.hero-title em { color: var(--sage-2); }
.hero-sub {
  max-width: 460px; color: rgba(246,240,227,.78); margin-top: 28px;
  font-size: 17px; line-height: 1.55;
}
.hero-cta-row { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta {
  align-self: end;
  display: flex; flex-direction: column; gap: 18px; align-items: flex-end;
  padding-bottom: 4px;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  background: rgba(246,240,227,.1); backdrop-filter: blur(14px);
  border: 0.5px solid rgba(246,240,227,.18);
  font-size: 12px; color: rgba(246,240,227,.85);
}
.hero-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px rgba(154,174,137,.2); }
.hero-mini-card {
  width: 280px;
  padding: 18px;
  background: rgba(20,35,24,.55);
  border: 0.5px solid rgba(246,240,227,.18);
  border-radius: 22px;
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  box-shadow:
    0 1px 0 rgba(246,240,227,.1) inset,
    0 16px 40px -12px rgba(20,35,24,.6);
  color: var(--cream);
}
.hero-mini-card .mini-row { display: flex; gap: 10px; align-items: center; }
.hero-mini-card .avatars { display: flex; }
.hero-mini-card .avatars .av {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #9aae89, #3d4e30);
  border: 2px solid rgba(20,35,24,.6);
  margin-left: -8px;
}
.hero-mini-card .avatars .av:first-child { margin-left: 0; }
.hero-mini-card .label { font-size: 12px; color: rgba(246,240,227,.9); }
.hero-mini-card .num { font-size: 26px; letter-spacing: -.02em; margin-top: 8px; color: var(--cream); }

/* hero side icons */
.hero-side {
  position: absolute; right: 36px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px; z-index: 5;
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(246,240,227,.7);
}
.hero-scroll .line {
  width: 32px; height: 1px; background: rgba(246,240,227,.5); position: relative; overflow: hidden;
}
.hero-scroll .line::after {
  content: ''; position: absolute; left: -32px; top: 0; width: 16px; height: 1px;
  background: var(--sage);
  animation: scrolldash 2.4s cubic-bezier(.6,.2,.4,1) infinite;
}
@keyframes scrolldash {
  0% { left: -16px; } 100% { left: 32px; }
}
.hero-scroll .line-left {
  width: 32px; height: 1px; background: rgba(246,240,227,.5); position: relative; overflow: hidden;
}
.hero-scroll .line-left::after {
  content: ''; position: absolute; right: -32px; top: 0; width: 16px; height: 1px;
  background: var(--sage);
  animation: scrolldash-left 2.4s cubic-bezier(.6,.2,.4,1) infinite;
}
@keyframes scrolldash-left {
  0% { right: -16px; } 100% { right: 32px; }
}

/* ─── about / wellness ─── */
.about {
  position: relative; padding: 140px 0 120px;
  background: var(--cream);
  overflow: hidden;
}
.about .blob-1 {
  position: absolute; left: -120px; top: 220px; width: 520px; height: 520px;
  background: radial-gradient(closest-side, rgba(154,174,137,.35), transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.about .blob-2 {
  position: absolute; right: -160px; bottom: 80px; width: 560px; height: 560px;
  background: radial-gradient(closest-side, rgba(179,148,106,.18), transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.about-head { text-align: center; max-width: 980px; margin: 0 auto; position: relative; z-index: 2; }
.about-head p { color: var(--ink-2); max-width: 580px; margin: 22px auto 0; font-size: 17px; }
.about-grid {
  margin-top: 80px;
  display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 28px;
  align-items: end; position: relative; z-index: 2;
}
.about-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--forest-2); box-shadow: var(--shadow-card);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.about-card:hover { transform: translateY(-6px); }
.about-card .ph { aspect-ratio: 3/4; }
.about-card.tall .ph { aspect-ratio: 4/5.6; }
.about-card .meta {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--cream); font-size: 13px;
}
.about-card .tag {
  padding: 6px 12px; border-radius: 999px;
  background: rgba(246,240,227,.16); backdrop-filter: blur(12px);
  border: 0.5px solid rgba(246,240,227,.22);
}
.about-stats {
  margin-top: 80px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  align-items: center; text-align: center;
  position: relative; z-index: 2;
}
.stat { padding: 0 24px; border-right: 1px solid rgba(20,35,24,.08); }
.stat:last-child { border-right: 0; }
.stat .num {
  font-size: clamp(48px, 5vw, 72px); line-height: 1; font-weight: 500;
  letter-spacing: -0.04em; color: var(--forest);
}
.stat .num sup { font-size: 0.45em; vertical-align: super; color: var(--sage); margin-left: 4px; font-weight: 400; }
.stat .lbl { margin-top: 14px; color: var(--ink-2); font-size: 14px; text-wrap: balance; }
.stat.center {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 0;
  border-right: 1px solid rgba(20,35,24,.08);
}

.about-cta { text-align: center; margin-top: 72px; position: relative; z-index: 2; }

/* ─── programs ─── */
.programs {
  position: relative;
  background: var(--forest);
  color: var(--cream);
  padding: 120px 0 140px;
  border-top-left-radius: var(--radius-2xl);
  border-top-right-radius: var(--radius-2xl);
  overflow: hidden;
}
.programs::before {
  content: ''; position: absolute; top: -20%; left: -10%; width: 60%; height: 80%;
  background: radial-gradient(closest-side, rgba(154,174,137,.18), transparent 70%);
  pointer-events: none;
}
.programs::after {
  content: ''; position: absolute; bottom: -30%; right: -10%; width: 60%; height: 80%;
  background: radial-gradient(closest-side, rgba(179,148,106,.13), transparent 70%);
  pointer-events: none;
}
.programs-head {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: end;
  position: relative; z-index: 2; margin-bottom: 60px;
}
.programs-head h2 em { color: var(--sage); }
.programs-head .side { color: rgba(246,240,227,.7); max-width: 380px; }
.programs-head .side p { margin: 0 0 24px; font-size: 16px; }
.program-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 20px; position: relative; z-index: 2;
}
.prog-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: rgba(246,240,227,.04); border: 0.5px solid rgba(246,240,227,.08);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), border-color .3s;
  isolation: isolate;
}
.prog-card:hover { transform: translateY(-6px); border-color: rgba(246,240,227,.18); }
.prog-card .ph { position: absolute; inset: 0; }
.prog-card .scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,35,24,0) 30%, rgba(20,35,24,.78) 100%);
}
.prog-card .body {
  position: relative; z-index: 2; padding: 28px 72px 28px 28px;
  height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--cream);
}
.prog-card .meta-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  position: absolute; top: 20px; left: 24px; right: 24px; z-index: 3;
}
.prog-card .meta-row .num {
  font-family: 'Instrument Serif', serif; font-style: italic; font-size: 18px;
  color: rgba(246,240,227,.7);
}
.prog-card .grow {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(246,240,227,.6); padding: 6px 12px;
  border: 0.5px solid rgba(246,240,227,.2); border-radius: 999px;
  background: rgba(20,35,24,.4); backdrop-filter: blur(10px);
}
.prog-card h3 { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 8px; line-height: 1.05; }
.prog-card p { margin: 0; color: rgba(246,240,227,.78); font-size: 14px; max-width: 32ch; }
.prog-card .open {
  position: absolute; bottom: 20px; right: 20px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(246,240,227,.9); color: var(--forest);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.prog-card:hover .open { transform: rotate(45deg); }

.prog-card.span-5 { grid-column: span 5; aspect-ratio: 5/5; }
.prog-card.span-4 { grid-column: span 4; aspect-ratio: 4/4.6; }
.prog-card.span-3 { grid-column: span 3; aspect-ratio: 3/4; }
.prog-card.span-7 { grid-column: span 7; aspect-ratio: 7/4.4; }
.prog-card.span-6 { grid-column: span 6; aspect-ratio: 6/4.2; }

/* ─── trainers ─── */
.trainers {
  background: var(--beige);
  padding: 140px 0 120px;
  position: relative; overflow: hidden;
}
.trainers .pulse-mark {
  position: absolute; right: -60px; top: 80px; opacity: .07;
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 240px; color: var(--forest); letter-spacing: -.03em; line-height: 1;
  pointer-events: none;
}
.trainers-head { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: end; margin-bottom: 80px; position: relative; z-index: 2; }
.trainers-head h2 em { color: var(--olive); }
.trainers-head .left p { color: var(--ink-2); max-width: 320px; margin: 0 0 22px; }
.trainers-list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  position: relative; z-index: 2;
}
.trainer {
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.trainer.offset { margin-top: 64px; }
.trainer .photo {
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; position: relative;
  box-shadow: var(--shadow-card);
}
.trainer .badge {
  position: absolute; top: 16px; left: 16px;
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 30px; color: var(--cream); letter-spacing: -.02em;
  text-shadow: 0 2px 12px rgba(20,35,24,.4);
}
.trainer .photo .open {
  position: absolute; bottom: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--cream); color: var(--forest);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.trainer:hover .photo .open { transform: rotate(45deg); }
.trainer .info { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.trainer .info h3 { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -.015em; color: var(--forest); }
.trainer .info .spec { margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.trainer .info .socials { display: flex; gap: 6px; }
.trainer .info .socials a {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(20,35,24,.06); color: var(--forest);
  transition: background .2s;
}
.trainer .info .socials a:hover { background: rgba(20,35,24,.12); }

/* ─── testimonials ─── */
.testimonials {
  background: var(--cream);
  padding: 140px 0;
  position: relative; overflow: hidden;
}
.testi-head {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end;
  margin-bottom: 70px;
}
.testi-head h2 em { color: var(--olive); }
.testi-head .right { color: var(--ink-2); max-width: 380px; }
.testi-track {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px;
  align-items: stretch;
}
.testi-main {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  background: var(--forest-2); min-height: 540px;
  box-shadow: var(--shadow-card);
}
.testi-main .ph { position: absolute; inset: 0; }
.testi-main .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,35,24,0) 35%, rgba(20,35,24,.7) 100%);
}
.testi-main .quote-card {
  position: absolute; left: 24px; bottom: 24px; right: 24px;
  padding: 22px 24px;
  background: rgba(246,240,227,.92); backdrop-filter: blur(14px);
  border-radius: 22px;
  display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: end;
}
.testi-main .quote-card .qt {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 22px; line-height: 1.2; color: var(--forest);
  letter-spacing: -.01em; max-width: 38ch;
}
.testi-main .quote-card .who { margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.testi-main .quote-card .who b { font-weight: 500; color: var(--forest); display: block; font-size: 14px; }
.testi-main .stars { color: var(--gold); font-size: 13px; letter-spacing: 3px; }
.testi-side { display: flex; flex-direction: column; gap: 20px; }
.testi-small {
  flex: 1; padding: 26px; border-radius: var(--radius-lg);
  background: var(--offwhite); border: 0.5px solid rgba(20,35,24,.06);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .4s;
}
.testi-small:hover { transform: translateY(-4px); }
.testi-small .top { display: flex; justify-content: space-between; align-items: center; }
.testi-small .stars { color: var(--gold); font-size: 12px; letter-spacing: 2px; }
.testi-small .qt {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 22px; line-height: 1.2; color: var(--forest); margin: 0;
  letter-spacing: -.01em;
}
.testi-small .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-small .who .av {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #9aae89, #3d4e30);
  flex: 0 0 38px;
}
.testi-small .who b { font-weight: 500; font-size: 14px; color: var(--forest); display: block; }
.testi-small .who span { font-size: 12px; color: var(--ink-2); }
.testi-controls { display: flex; gap: 10px; margin-top: 28px; align-items: center; justify-content: space-between; }
.testi-controls .pages { display: flex; gap: 6px; }
.testi-controls .pages .p {
  width: 32px; height: 4px; border-radius: 999px;
  background: rgba(20,35,24,.1); transition: background .25s;
}
.testi-controls .pages .p.active { background: var(--forest); }
.testi-controls .arrows { display: flex; gap: 10px; }
.testi-controls .arr {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--offwhite); border: 0.5px solid rgba(20,35,24,.08);
  color: var(--forest);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .25s, background .25s;
}
.testi-controls .arr:hover { background: var(--sage); transform: translateY(-2px); }

/* ─── final CTA ─── */
.final-cta {
  position: relative;
  background: var(--forest);
  color: var(--cream);
  padding: 140px 16px 16px;
  overflow: hidden;
}
.final-cta .frame {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--forest-3) 0%, var(--forest) 60%);
  padding: 110px 60px 100px;
  text-align: center;
  isolation: isolate;
}
.final-cta .glow-a {
  position: absolute; top: -20%; left: -10%; width: 60%; height: 110%;
  background: radial-gradient(closest-side, rgba(154,174,137,.45), transparent 70%);
  filter: blur(40px); pointer-events: none; z-index: -1;
}
.final-cta .glow-b {
  position: absolute; bottom: -30%; right: -10%; width: 60%; height: 110%;
  background: radial-gradient(closest-side, rgba(179,148,106,.3), transparent 70%);
  filter: blur(40px); pointer-events: none; z-index: -1;
}
.final-cta .vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.35) 100%);
  pointer-events: none; z-index: -1;
}
.final-cta h2 { color: var(--cream); }
.final-cta h2 em { color: var(--sage-2); }
.final-cta .sub {
  margin: 28px auto 0; max-width: 540px; color: rgba(246,240,227,.7);
  font-size: 17px;
}
.final-cta .cta-row {
  display: flex; gap: 14px; justify-content: center; margin-top: 44px; flex-wrap: wrap;
}
.final-cta .legend {
  margin-top: 60px; display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 16px 10px 12px; border-radius: 999px;
  background: rgba(246,240,227,.08); border: 0.5px solid rgba(246,240,227,.14);
  font-size: 13px; color: rgba(246,240,227,.85);
}
.final-cta .legend .av { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #9aae89, #3d4e30); border: 1.5px solid var(--forest); margin-left: -10px; }
.final-cta .legend .av:first-child { margin-left: 0; }
.final-cta .legend b { color: var(--cream); font-weight: 500; }

/* ─── footer ─── */
.footer {
  background: var(--forest);
  color: var(--cream);
  padding: 100px 0 0;
  position: relative; overflow: hidden;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 80px;
}
.footer h4 {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(246,240,227,.55); font-weight: 500; margin: 0 0 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer ul a { color: rgba(246,240,227,.85); transition: color .2s; }
.footer ul a:hover { color: var(--sage); }
.footer .brand-block { max-width: 360px; }
.footer .brand-block p { color: rgba(246,240,227,.65); font-size: 14px; line-height: 1.55; margin: 18px 0 24px; }
.footer .news {
  display: flex; align-items: center; gap: 8px;
  background: rgba(246,240,227,.08); border: 0.5px solid rgba(246,240,227,.14);
  padding: 6px 6px 6px 16px; border-radius: 999px; max-width: 340px;
}
.footer .news input {
  flex: 1; background: transparent; border: 0; outline: 0;
  color: var(--cream); font: inherit; font-size: 14px; padding: 8px 0;
}
.footer .news input::placeholder { color: rgba(246,240,227,.45); }
.footer .news button {
  border: 0; padding: 9px 16px; border-radius: 999px;
  background: var(--sage); color: var(--forest); font-weight: 500; font-size: 13px;
  transition: background .2s;
}
.footer .news button:hover { background: var(--sage-2); }
.footer .socials { display: flex; gap: 8px; margin-top: 22px; }
.footer .socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(246,240,227,.06); border: 0.5px solid rgba(246,240,227,.12);
  color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.footer .socials a:hover { background: rgba(246,240,227,.14); }
.footer-mega {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-weight: 400;
  font-size: clamp(140px, 22vw, 320px);
  line-height: 0.85; letter-spacing: -.04em;
  color: rgba(246,240,227,.06);
  text-align: center;
  padding: 0 0 40px;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}
.footer-bottom {
  border-top: 1px solid rgba(246,240,227,.1);
  padding: 22px 0 30px;
  display: flex; justify-content: space-between; align-items: center;
  color: rgba(246,240,227,.55); font-size: 13px;
}
.footer-bottom .legal { display: flex; gap: 22px; }

/* ─── image placeholders ─── */
.ph {
  width: 100%; height: 100%; min-height: 60px;
  background:
    repeating-linear-gradient(135deg,
      rgba(20,35,24,.06) 0 1px,
      transparent 1px 12px),
    linear-gradient(160deg, var(--ph-a, #cdd6c1) 0%, var(--ph-b, #8fa37c) 100%);
  position: relative; overflow: hidden;
  display: block;
}
.ph.dark {
  background:
    repeating-linear-gradient(135deg,
      rgba(246,240,227,.05) 0 1px,
      transparent 1px 12px),
    linear-gradient(160deg, var(--ph-a, #2d4030) 0%, var(--ph-b, #16261c) 100%);
}
.ph.warm {
  background:
    repeating-linear-gradient(135deg,
      rgba(20,35,24,.05) 0 1px,
      transparent 1px 12px),
    linear-gradient(160deg, var(--ph-a, #e8dcc4) 0%, var(--ph-b, #c4ad88) 100%);
}
.ph .lbl {
  position: absolute; left: 14px; bottom: 12px;
  font-family: ui-monospace, 'JetBrains Mono', 'Geist Mono', monospace;
  font-size: 10px; letter-spacing: .04em;
  color: rgba(20,35,24,.55);
  text-transform: lowercase;
}
.ph.dark .lbl { color: rgba(246,240,227,.55); }

/* ─── reveal animation ─── */
/* .reveal = scroll-triggered (JS adds .is-in). .reveal.in = animates on page load. */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal.in {
  animation: revealIn .9s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes revealIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
.reveal.d1 { transition-delay: .06s; }
.reveal.d2 { transition-delay: .12s; }
.reveal.d3 { transition-delay: .18s; }
.reveal.d4 { transition-delay: .24s; }
/* .in delay uses animation-delay instead of transition-delay */
.reveal.in.d1 { animation-delay: .15s; }
.reveal.in.d2 { animation-delay: .3s; }

/* ─── responsive ─── */
@media (max-width: 1100px) {
  .hero-content { grid-template-columns: 1fr; gap: 24px; padding: 36px; }
  .hero-meta { align-items: flex-start; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-card:nth-child(3) { display: none; }
  .about-stats { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .stat { border-right: 0; }
  .programs-head, .trainers-head, .testi-head { grid-template-columns: 1fr; }
  .trainers-list { grid-template-columns: 1fr 1fr; }
  .testi-track { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: repeat(6, 1fr); }
  .prog-card.span-5, .prog-card.span-7 { grid-column: span 6; }
  .prog-card.span-4, .prog-card.span-3, .prog-card.span-6 { grid-column: span 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-wrap { padding: 0 20px; top: 20px; }
  .nav-pill, .nav-actions { display: none; }
  .nav-ham { display: flex; }

  /* Hero */
  .hero { padding: 10px; min-height: 100dvh; }
  .hero-frame { border-radius: 24px; }
  .hero-content {
    grid-template-columns: 1fr; gap: 16px;
    padding: 24px 24px 80px;
  }
  .hero-meta { display: none; }
  .hero-side { display: none; }
  .hero-pill-wrap { top: 80px !important; left: 20px !important; }
  .h-display { font-size: clamp(36px, 10vw, 56px); }
  .hero-sub { font-size: 15px; margin-top: 16px; }
  .hero-cta-row { flex-direction: column; gap: 10px; margin-top: 24px; }
  .hero-cta-row .btn { width: 100%; justify-content: center; }
  .hero-scroll { bottom: 16px; }

  /* About */
  .about { padding: 80px 0 72px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-card:nth-child(3) { display: block; }
  .about-card.tall { aspect-ratio: 4/3; }
  .about-stats { grid-template-columns: 1fr 1fr; row-gap: 32px; }

  /* Programs */
  .programs { padding: 80px 0 100px; border-top-left-radius: 24px; border-top-right-radius: 24px; }
  .programs-head { margin-bottom: 36px; }
  .program-grid { grid-template-columns: 1fr; gap: 16px; }
  .prog-card.span-5, .prog-card.span-7,
  .prog-card.span-4, .prog-card.span-3,
  .prog-card.span-6 { grid-column: span 1; aspect-ratio: 4/3; }
  .prog-card .body { padding: 20px 68px 20px 20px; }
  .prog-card h3 { font-size: 20px; }
  .prog-card .open { bottom: 16px; right: 16px; width: 34px; height: 34px; }

  /* Trainers */
  .trainers { padding: 80px 0 80px; }
  .trainers-list { grid-template-columns: 1fr 1fr; gap: 16px; }
  .trainer .info { padding: 16px; }

  /* Testimonials */
  .testimonials { padding: 80px 0; }
  .testi-track { grid-template-columns: 1fr; }
  .testi-main { display: none; }
  .testi-side { display: flex; flex-direction: column; gap: 16px; }
  .testi-small .qt { font-size: 18px; }

  /* Final CTA */
  .final-cta { padding: 60px 10px 10px; }
  .final-cta .frame { padding: 60px 24px 60px; border-radius: 24px; }
  .final-cta .cta-row { flex-direction: column; align-items: center; }
  .final-cta .cta-row .btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer { padding: 72px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
  .footer .brand-block { max-width: 100%; }
  .footer .news { max-width: 100%; }
  .footer-bottom {
    flex-direction: column; gap: 16px; text-align: center;
    padding: 20px 0 28px;
  }
  .footer-bottom .legal { flex-wrap: wrap; justify-content: center; gap: 14px; }
  .footer-mega { font-size: clamp(80px, 22vw, 140px); }
  .pulse-mark { font-size: clamp(80px, 22vw, 140px); }
}

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .h-section { font-size: clamp(32px, 8vw, 48px); }
  .trainers-list { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(20,35,24,.08); padding: 24px 0; }
  .stat:last-child { border-bottom: 0; }
}
