/*
Theme Name: Team8 Active
Theme URI: https://dev.redro.com.au
Author: Ryan Dagasuhan
Description: Custom WordPress Theme for Team8 Active
Version: 1.0
Text Domain: team8active
*/


/* ============================================
   TEAM8 ACTIVE — Design System
   Inspired by editorial wellness aesthetics
   ============================================ */

/* Fonts loaded via <link> in HTML head for faster parallel download.
   Type system: Inter (Google Fonts). A modern, screen-optimised sans-serif
   chosen for exceptional legibility — important for an over-50s audience —
   and a clean, neutral voice that lets the layout and colour carry the design. */


:root {
  /* Brand colours */
  --white: #ffffff;
  --off-white: #faf9f5;
  --cream: #f4f1e8;
  --paper: #efece2;
  --black: #0a0a0a;
  --charcoal: #1a1a1a;
  --graphite: #4a4a4a;
  --grey: #8a8a85;
  --light-grey: #d8d5cc;

  --yellow: #f9ec00;
  --yellow-bright: #fbf239;
  --yellow-soft: #fdf6a8;
  --yellow-pale: #fefbd6;

  /* Typography */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;
  --space-11: 12rem;

  /* Radii */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  /* Container */
  --container: 1280px;
  --container-narrow: 1080px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 200ms;
  --t-med: 400ms;
  --t-slow: 700ms;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--off-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--t-fast) var(--ease);
}

a:hover {
  opacity: 0.7;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   TYPOGRAPHY
   Display headlines run at 600 because Inter at huge sizes
   reads light at 400-500. Negative letter-spacing tightens
   the screen-wide negative space Inter inherits from its
   UI-optimised metrics.
   ============================================ */

.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.display-xl {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
}

.display-lg {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
}

.display-md {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.display-sm {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.italic {
  font-style: italic;
  font-weight: 500;
  color: var(--black);
}

/* On dark sections, italic accents flip to bright brand yellow so they stay legible
   and gain a stronger highlight effect than the mustard tone they used to have. */
.section-dark .italic,
.hero .italic,
.cta-block .italic {
  color: var(--yellow);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--graphite);
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.55);
}

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.5;
  color: var(--graphite);
  font-weight: 400;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.section {
  padding: var(--space-8) 0;
}

.section-sm {
  padding: var(--space-7) 0;
}

.section-lg {
  padding: var(--space-9) 0;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 1.1rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--r-pill);
  transition: all var(--t-med) var(--ease);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--black);
  color: var(--yellow);
  opacity: 1;
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--yellow);
  color: var(--black);
  opacity: 1;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  opacity: 1;
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  padding: 1.1rem 0;
  border-bottom: 1.5px solid currentColor;
  border-radius: 0;
}

.btn-ghost:hover {
  opacity: 1;
  color: var(--black);
}

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--yellow);
  color: var(--yellow);
  opacity: 1;
}

.btn .arrow {
  transition: transform var(--t-med) var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid transparent;
  transition: background var(--t-med) var(--ease), border-bottom-color var(--t-med) var(--ease);
}

.header.scrolled {
  background: rgba(250, 249, 245, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(10, 10, 10, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  max-width: var(--container);
  margin: 0 auto;
  gap: var(--space-6);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--black);
  flex-shrink: 0;
  position: relative;
}

.logo:hover {
  opacity: 0.85;
}

.logo-wordmark {
  height: 30px;
  width: auto;
  display: block;
  transition: opacity var(--t-med) var(--ease);
}

/* Logo variants — light is default (on black header), dark fades in when scrolled */
.logo-dark {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
}

.header.scrolled .logo-light {
  opacity: 0;
}

.header.scrolled .logo-dark {
  opacity: 1;
}

.footer .logo-wordmark {
  height: 32px;
}

@media (max-width: 640px) {
  .logo-wordmark { height: 26px; }
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--white);
  position: relative;
  padding: var(--space-2) 0;
  transition: color var(--t-med) var(--ease);
}

.header.scrolled .nav-link {
  color: var(--charcoal);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width var(--t-med) var(--ease);
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.75rem 1.4rem;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  background: var(--yellow);
  color: var(--black);
  border: none;
  transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease);
}

.header.scrolled .menu-toggle {
  background: var(--yellow);
  color: var(--black);
}

.menu-toggle-box {
  position: relative;
  display: block;
  width: 22px;
  height: 14px;
}

.menu-toggle-bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
  transition:
    top var(--t-med) cubic-bezier(0.68, -0.3, 0.32, 1.3),
    bottom var(--t-med) cubic-bezier(0.68, -0.3, 0.32, 1.3),
    width var(--t-med) var(--ease),
    transform var(--t-med) cubic-bezier(0.68, -0.3, 0.32, 1.3),
    opacity var(--t-fast) var(--ease);
}

.menu-toggle-bar:nth-child(1) { top: 0; }
.menu-toggle-bar:nth-child(2) { top: 50%; transform: translateY(-50%); width: 70%; }
.menu-toggle-bar:nth-child(3) { bottom: 0; }

/* Hover: middle bar extends to full width */
.menu-toggle:hover .menu-toggle-bar:nth-child(2) { width: 100%; }

/* Open state → morph to an X (driven by aria-expanded set in main.js) */
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
  width: 70%;
  opacity: 0;
  transform: translateY(-50%) scaleX(0.2);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle-bar { transition: opacity var(--t-fast) var(--ease); }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  color: var(--white);
  z-index: 99;
  padding: 100px var(--space-5) var(--space-5);
  transform: translateY(-100%);
  transition: transform var(--t-slow) var(--ease);
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu-link {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  letter-spacing: -0.02em;
}

.mobile-menu-link:hover {
  color: var(--yellow);
  opacity: 1;
}

.mobile-menu .btn {
  margin-top: var(--space-6);
  width: 100%;
  justify-content: center;
}

/* Staggered slide-in for menu items as the panel opens */
.mobile-menu > a {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.mobile-menu.open > a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open > a:nth-child(1) { transition-delay: 0.12s; }
.mobile-menu.open > a:nth-child(2) { transition-delay: 0.17s; }
.mobile-menu.open > a:nth-child(3) { transition-delay: 0.22s; }
.mobile-menu.open > a:nth-child(4) { transition-delay: 0.27s; }
.mobile-menu.open > a:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu.open > a:nth-child(6) { transition-delay: 0.37s; }
.mobile-menu.open > a:nth-child(7) { transition-delay: 0.42s; }
.mobile-menu.open > a:nth-child(8) { transition-delay: 0.47s; }
.mobile-menu.open > a:nth-child(9) { transition-delay: 0.54s; }

@media (prefers-reduced-motion: reduce) {
  .mobile-menu > a {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================
   HERO
   ============================================ */

.hero {
  padding: 140px 0 var(--space-8);
  position: relative;
  overflow: hidden;
}

/* ----- Full-bleed video hero variant ----- */
.hero-video {
  min-height: clamp(640px, 92vh, 880px);
  display: flex;
  align-items: center;
  padding: 160px 0 var(--space-9);
  /* Dark fallback so the hero never looks broken if the video is missing or still loading */
  background:
    radial-gradient(ellipse at 80% 20%, rgba(249, 236, 0, 0.18), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(249, 236, 0, 0.08), transparent 60%),
    linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  color: var(--white);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.25) 0%, rgba(10,10,10,0.4) 60%, rgba(10,10,10,0.65) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0.1) 60%, transparent 100%);
}

.hero-video .container {
  position: relative;
  z-index: 2;
}

/* Single-column layout: video takes the right side as backdrop */
.hero-video .hero-grid {
  grid-template-columns: 1fr;
  max-width: 720px;
}

/* Light-on-dark recolouring of all hero content elements */
.hero-video .hero-eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-video .hero-eyebrow .dot {
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(249, 236, 0, 0.25);
}

.hero-video .hero-headline {
  color: var(--white);
}

.hero-video .hero-headline .accent {
  color: var(--yellow);
}

.hero-video .hero-description {
  color: rgba(255, 255, 255, 0.82);
}

/* Scroll-cue arrow at the bottom of the video hero */
@media (max-width: 768px) {
  .hero-video {
    min-height: 88vh;
    padding-top: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-bg { display: none; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.55rem 1.1rem;
  background: var(--yellow-soft);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: var(--space-6);
}

.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  background: var(--black);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 5.2vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: var(--space-5);
}

.hero-headline .accent {
  color: var(--yellow);
  font-style: italic;
  font-weight: 500;
}

.hero-description {
  max-width: 480px;
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: var(--space-7);
}

.hero-ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--cream);
}

.hero-visual-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, var(--yellow-soft) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, var(--yellow) 0%, transparent 40%),
    var(--cream);
}

.hero-visual-card {
  position: absolute;
  background: var(--white);
  padding: var(--space-4);
  border-radius: var(--r-md);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.15);
}

.hero-card-1 {
  top: 8%;
  right: -10%;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background: var(--white);
  border-radius: var(--r-pill);
  animation: float 6s ease-in-out infinite;
}

.hero-card-2 {
  bottom: 12%;
  left: -8%;
  padding: var(--space-5);
  min-width: 220px;
  animation: float 6s ease-in-out infinite reverse;
}

.hero-card-3 {
  top: 45%;
  right: 5%;
  padding: var(--space-4);
  background: var(--black);
  color: var(--white);
  animation: float 7s ease-in-out 1s infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

.hero-card-sub {
  font-size: 12px;
  color: var(--graphite);
  margin-top: 2px;
}

/* Big "8" in hero visual */
.hero-eight {
  position: absolute;
  width: 78%;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-2deg);
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
  filter: brightness(0);
}

.hero-badge {
  position: absolute;
  top: -28px;
  right: -28px;
  width: 138px;
  height: 138px;
  z-index: 3;
  animation: badge-spin 30s linear infinite;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.18));
}

@keyframes badge-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
  .hero-badge { width: 112px; height: 112px; top: -20px; right: -10px; }
}
@media (max-width: 640px) {
  .hero-badge { width: 92px; height: 92px; top: -16px; right: 8px; }
}

/* ============================================
   MARQUEE
   ============================================ */

.marquee {
  background: var(--black);
  color: var(--white);
  padding: var(--space-4) 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.marquee-track {
  display: flex;
  gap: var(--space-7);
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: var(--space-7);
}

.marquee-item .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--yellow);
  border-radius: 50%;
  flex-shrink: 0;
}

.marquee-item .italic {
  color: var(--yellow);
  font-style: italic;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================
   SECTIONS — Generic
   ============================================ */

.section-header {
  margin-bottom: var(--space-8);
  max-width: 760px;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header .eyebrow {
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.section-header.centered .eyebrow {
  justify-content: center;
}

.section-header .eyebrow::before {
  content: '';
  width: 30px;
  height: 1.5px;
  background: var(--black);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

/* ============================================
   THE TEAM8 DIFFERENCE — dark 8-cell grid
   ============================================ */

.difference {
  background: var(--black);
  color: var(--white);
  padding: clamp(var(--space-8), 8vw, var(--space-9)) 0;
  position: relative;
  overflow: hidden;
}

/* Subtle yellow atmospheric wash in the top-right corner */
.difference::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(249, 236, 0, 0.06), transparent 65%);
  pointer-events: none;
}

.difference .container {
  position: relative;
  z-index: 1;
}

/* Section header — left title, right description */
.difference-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-8);
  align-items: end;
  margin-bottom: clamp(var(--space-8), 9vw, var(--space-10));
}

.difference-head .eyebrow-light {
  color: rgba(255, 255, 255, 0.5);
}

.difference-head-title h2 {
  margin-top: var(--space-3);
  color: var(--white);
}

.difference-head-title h2 .italic {
  font-style: italic;
  font-weight: 500;
  color: var(--yellow);
}

.difference-head-desc {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  max-width: 380px;
  justify-self: end;
  margin: 0;
}

/* 4-column grid with hairline dividers */
.difference-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.difference-item {
  padding: var(--space-8) var(--space-6);  /* generous breathing room — keeps icons + text well away from dividers */
  display: flex;
  flex-direction: column;
}

/* Vertical dividers between columns — drawn on the right of each cell except the last column */
.difference-item:not(:nth-child(4n)) {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

/* Horizontal divider between rows — drawn at the bottom of row 1 cells */
.difference-item:nth-child(-n+4) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.difference-icon {
  width: 30px;
  height: 30px;
  color: var(--yellow);
  margin-bottom: var(--space-8);  /* big gap between icon and title */
}

.difference-icon svg {
  width: 100%;
  height: 100%;
}

.difference-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.difference-title .italic {
  font-style: italic;
  font-weight: 500;
  color: var(--yellow);
  margin-left: 0.05em;
}

.difference-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
}

/* Responsive layout */
@media (max-width: 1100px) {
  .difference-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Reset all border rules and re-apply for 2-column grid */
  .difference-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  }
  .difference-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.14) !important;
  }
  .difference-item:nth-last-child(-n+2) {
    border-bottom: none !important;
  }
}

@media (max-width: 700px) {
  .difference-head {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    align-items: start;
  }
  .difference-head-desc {
    justify-self: start;
    max-width: 100%;
  }
  .difference-grid {
    grid-template-columns: 1fr;
  }
  .difference-item {
    border-right: none !important;
    padding: var(--space-7) 0;
  }
  .difference-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  }
  .difference-item:last-child {
    border-bottom: none !important;
  }
}

/* ============================================
   FOUNDERS — about page (Ali & Rhea)
   ============================================ */

.founders {
  background: var(--cream);
  padding: clamp(var(--space-8), 8vw, var(--space-9)) 0;
}

.founders-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-8);
  align-items: end;
  margin-bottom: clamp(var(--space-8), 8vw, var(--space-9));
}

.founders-head-title h2 {
  margin-top: var(--space-3);
}

.founders-head-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--graphite);
  max-width: 480px;
  justify-self: end;
  margin: 0;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(var(--space-6), 5vw, var(--space-8));
}

.founder-card {
  display: flex;
  flex-direction: column;
}

/* The portrait container — fixed 3:4 aspect, ready to receive an <img> */
.founder-photo {
  aspect-ratio: 3 / 4;
  background: var(--yellow-soft);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  margin-bottom: var(--space-6);
  transition: transform var(--t-med) var(--ease);
}

.founder-card:hover .founder-photo {
  transform: translateY(-3px);
}

/* When an <img> is added, it fills the photo container properly */
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder shown when no photo has been added yet */
.founder-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--yellow-soft) 0%, var(--yellow-pale) 100%);
}

.founder-photo-placeholder::after {
  /* Soft diagonal yellow accent in the background */
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(249, 236, 0, 0.35), transparent 60%);
  pointer-events: none;
}

.founder-initials {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(6rem, 14vw, 11rem);
  color: var(--black);
  line-height: 1;
  letter-spacing: -0.05em;
  position: relative;
  z-index: 1;
}

/* Bio section below the photo */
.founder-content {
  display: flex;
  flex-direction: column;
}

.founder-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.founder-role::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--black);
  flex-shrink: 0;
}

.founder-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--black);
  margin: 0 0 var(--space-4);
}

.founder-bio {
  font-size: 16px;
  line-height: 1.65;
  color: var(--graphite);
  margin: 0;
  max-width: 52ch;
}

/* Responsive — stack on smaller screens */
@media (max-width: 880px) {
  .founders-head {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    align-items: start;
  }
  .founders-head-desc {
    justify-self: start;
    max-width: 100%;
  }
  .founders-grid {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }
}

/* ============================================
   ORIGIN STORY — chapter system (about page)
   ============================================ */

.origin-story {
  background: var(--cream);
}

.origin-chapters {
  margin-top: clamp(var(--space-7), 8vw, var(--space-9));
  position: relative;
}

.origin-chapter {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-7);
  padding: clamp(var(--space-6), 5vw, var(--space-8)) 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.1);
  align-items: start;
}

.origin-chapter:first-child {
  padding-top: 0;
}

.origin-chapter:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Left column — chapter marker */
.origin-chapter-marker {
  position: relative;
}

.origin-chapter-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: var(--space-4);
}

.origin-chapter-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(4.5rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--black);
  font-variant-numeric: lining-nums;
}

/* Animated marker-style underline under the chapter number — drawn on scroll (see inline script) */
.origin-chapter-num-inner {
  position: relative;
  display: inline-block;
}
.origin-chapter-underline {
  position: absolute;
  left: -2%;
  top: calc(100% + 0.06em);
  width: 104%;
  height: 0.22em;
  overflow: visible;
  pointer-events: none;
  transform: rotate(-1.2deg);
}
.origin-chapter-underline-path {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
}
@media (prefers-reduced-motion: reduce) {
  .origin-chapter-underline-path { stroke-dashoffset: 0; }
}

/* Right column — content */
.origin-chapter-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--black);
  margin: 0 0 var(--space-5);
}

.origin-chapter-title .italic {
  font-style: italic;
  font-weight: 500;
  color: var(--black);
}

.origin-chapter-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--graphite);
  margin: 0;
  max-width: 62ch;
}

/* Responsive — stack on smaller screens */
@media (max-width: 760px) {
  .origin-chapter {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    padding: var(--space-6) 0;
  }
  .origin-chapter-num {
    font-size: 4.5rem;
    margin-bottom: var(--space-2);
  }
  .origin-chapter-label {
    margin-bottom: var(--space-2);
  }
}

/* ============================================
   TRIAL PAGE — MEDICAL PROGRAMS
   ============================================ */

.medical-programs {
  background: var(--off-white);
  padding: clamp(var(--space-8), 8vw, var(--space-9)) 0;
}

.medical-programs-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-8);
  align-items: end;
  margin-bottom: clamp(var(--space-7), 8vw, var(--space-9));
}

.medical-programs-head-title h2 {
  margin-top: var(--space-3);
}

.medical-programs-head-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--graphite);
  max-width: 480px;
  justify-self: end;
  margin: 0;
}

/* 3×2 grid of program cards */
.medical-programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.medical-program {
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: var(--r-xl);
  padding: clamp(var(--space-5), 3vw, var(--space-6));
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}

.medical-program:hover {
  transform: translateY(-3px);
  border-color: rgba(249, 236, 0, 0.45);
  box-shadow: 0 18px 40px -22px rgba(10, 10, 10, 0.12);
}

.medical-program-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yellow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  margin-bottom: var(--space-5);
  transition: background var(--t-med) var(--ease);
}

.medical-program-icon svg {
  width: 26px;
  height: 26px;
}

.medical-program:hover .medical-program-icon {
  background: var(--yellow);
}

.medical-program-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--black);
  margin: 0 0 var(--space-3);
}

.medical-program-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--graphite);
  margin: 0;
}

/* Dark "Every program includes" banner */
.medical-programs-includes {
  margin-top: clamp(var(--space-6), 5vw, var(--space-8));
  background: var(--black);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: clamp(var(--space-6), 4vw, var(--space-7)) clamp(var(--space-6), 5vw, var(--space-8));
  position: relative;
  overflow: hidden;
}

/* Yellow atmospheric wash from the right */
.medical-programs-includes::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(249, 236, 0, 0.08), transparent 60%);
  pointer-events: none;
}

.medical-programs-includes > * {
  position: relative;
  z-index: 1;
}

.medical-programs-includes-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white);
  margin: 0 0 clamp(var(--space-5), 4vw, var(--space-6));
}
.medical-programs-includes-title .italic { font-style: italic; color: var(--yellow); }

.medical-programs-includes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(var(--space-4), 2vw, var(--space-5));
}

/* CTA row merged into the same black card, below the grid */
.medical-programs-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-7);
  margin-top: clamp(var(--space-6), 4vw, var(--space-8));
  padding-top: clamp(var(--space-6), 4vw, var(--space-7));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.medical-programs-cta-text {
  max-width: 640px;
}

.medical-programs-cta .program-cta-eyebrow {
  color: var(--yellow);
  margin-bottom: var(--space-4);
}

.medical-programs-cta h2 {
  color: var(--white);
  margin-bottom: var(--space-3);
}

.medical-programs-cta h2 .italic {
  color: var(--yellow);
}

.medical-programs-cta p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.medical-programs-cta-btn {
  flex-shrink: 0;
}

@media (max-width: 880px) {
  .medical-programs-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-6);
  }
}

.includes-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: clamp(var(--space-4), 2.5vw, var(--space-5));
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r-lg);
}

.includes-icon {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}
.includes-icon svg { width: 25px; height: 25px; }

.includes-body { min-width: 0; }

.includes-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: 7px;
}
.includes-head strong {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  line-height: 1.2;
}

.includes-pill {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.includes-pill-yes { background: var(--yellow); color: var(--black); }
.includes-pill-rebate { color: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.28); }

.includes-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

/* Responsive */
@media (max-width: 1024px) {
  .medical-programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .medical-programs-includes-list {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }
}

@media (max-width: 700px) {
  .medical-programs-head {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    align-items: start;
  }
  .medical-programs-head-desc {
    justify-self: start;
    max-width: 100%;
  }
  .medical-programs-grid,
  .medical-programs-includes-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   TRIAL PAGE — KEY PILLARS
   ============================================ */

.trial-pillars-section {
  padding: clamp(var(--space-7), 8vw, var(--space-9)) 0;
}

.trial-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.trial-pillar {
  background: var(--off-white);
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: var(--r-xl);
  padding: var(--space-6) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}

.trial-pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(10, 10, 10, 0.12);
  border-color: rgba(10, 10, 10, 0.1);
}

/* Icon — small, in a yellow-soft circle */
.trial-pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yellow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--black);
  /* Initial state for icon animation */
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

.trial-pillar-icon svg {
  width: 26px;
  height: 26px;
}

/* When the parent card reveals, the icon pops in with a soft overshoot */
.trial-pillar.reveal.in .trial-pillar-icon {
  transform: scale(1);
  opacity: 1;
}

.trial-pillar:hover .trial-pillar-icon {
  background: var(--yellow);
}

.trial-pillar-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--black);
  margin: 0 0 var(--space-3);
}

.trial-pillar-title .italic {
  font-style: italic;
  font-weight: 500;
  color: var(--black);
  margin-left: 0.05em;
}

.trial-pillar-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--graphite);
  margin: 0;
}

/* Featured price card spans full width */
.trial-pillar-featured {
  grid-column: 1 / -1;
  background: var(--black);
  color: var(--white);
  border: none;
  position: relative;
  overflow: hidden;
  flex-direction: row;
  align-items: center;
  gap: var(--space-7);
  padding: var(--space-7) clamp(var(--space-6), 5vw, var(--space-8));
}

/* Yellow atmospheric wash */
.trial-pillar-featured::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 55%;
  height: 160%;
  background: radial-gradient(ellipse at center, rgba(249, 236, 0, 0.1), transparent 60%);
  pointer-events: none;
}

.trial-pillar-featured > * {
  position: relative;
  z-index: 1;
}

.trial-pillar-featured-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s, opacity 0.4s ease 0.1s;
}

.trial-pillar-featured.reveal.in .trial-pillar-featured-icon {
  transform: scale(1);
  opacity: 1;
}

.trial-pillar-featured-icon svg {
  width: 28px;
  height: 28px;
}

.trial-pillar-featured-content {
  flex: 1;
  min-width: 0;
}

.trial-pillar-featured-content .trial-pillar-title {
  color: var(--white);
  font-size: 1.7rem;
  margin-bottom: var(--space-3);
}

.trial-pillar-featured-content .trial-pillar-title .italic {
  color: var(--yellow);
}

.trial-pillar-featured-content .trial-pillar-desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  max-width: 60ch;
}

.trial-pillar-featured-price {
  flex-shrink: 0;
  text-align: right;
  padding-left: var(--space-6);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.trial-pillar-featured-price-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: -0.02em;
  line-height: 0.92;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.trial-pillar-featured-price-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* Responsive */
@media (max-width: 1024px) {
  .trial-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .trial-pillars-grid {
    grid-template-columns: 1fr;
  }
  .trial-pillar-featured {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
    gap: var(--space-5);
  }
  .trial-pillar-featured-price {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: var(--space-5);
    text-align: left;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trial-pillar-icon,
  .trial-pillar-featured-icon {
    transform: none;
    opacity: 1;
  }
}

/* ============================================
   OUTCOMES — animated progress rings (journey page)
   ============================================ */

.outcomes {
  background: var(--cream);
  padding: clamp(var(--space-8), 8vw, var(--space-9)) 0;
}

.outcomes-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-8);
  align-items: end;
  margin-bottom: clamp(var(--space-7), 8vw, var(--space-9));
}

.outcomes-head-title h2 {
  margin-top: var(--space-3);
}

.outcomes-head-title h2 .italic {
  color: var(--black);
}

.outcomes-head-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--graphite);
  max-width: 380px;
  justify-self: end;
  margin: 0;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.outcome-card {
  background: var(--off-white);
  border-radius: var(--r-xl);
  padding: var(--space-7) var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}

.outcome-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(10, 10, 10, 0.16);
}

.outcome-ring {
  position: relative;
  width: 180px;
  max-width: 80%;
  aspect-ratio: 1;
  margin-bottom: var(--space-5);
}

.outcome-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);  /* Start fill from the 12-o'clock position */
}

.outcome-ring-track {
  fill: none;
  stroke: rgba(10, 10, 10, 0.08);
  stroke-width: 7;
}

.outcome-ring-progress {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 339.292;       /* circumference of r=54 circle */
  stroke-dashoffset: 339.292;      /* start at fully empty */
  transition: stroke-dashoffset 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Subtle yellow glow under the ring once it's filled */
.outcome-ring::after {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 236, 0, 0.06), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease 0.6s;
}

.outcome-card.animated .outcome-ring::after {
  opacity: 1;
}

.outcome-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--black);
  line-height: 1;
}

.outcome-num-value {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-variant-numeric: tabular-nums;  /* keeps width stable while counting */
}

.outcome-num-unit {
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  font-weight: 500;
  color: var(--graphite);
  margin-left: 1px;
}

.outcome-label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--graphite);
  margin: 0;
  max-width: 22ch;
}

@media (max-width: 1024px) {
  .outcomes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
}

@media (max-width: 700px) {
  .outcomes-head {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    align-items: start;
  }
  .outcomes-head-desc {
    justify-self: start;
    max-width: 100%;
  }
  .outcome-ring {
    width: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .outcome-ring-progress {
    transition: none;
  }
}

/* ============================================
   FAQ — REAL QUESTIONS
   ============================================ */

.faq {
  background: var(--cream);
  padding: clamp(var(--space-8), 8vw, var(--space-9)) 0;
}

/* Header — left title, right description (same pattern as comparison/programs/difference) */
.faq-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-8);
  align-items: end;
  margin-bottom: clamp(var(--space-7), 8vw, var(--space-9));
}

.faq-head-title h2 {
  margin-top: var(--space-3);
}

.faq-head-title h2 .italic {
  color: var(--black);
}

.faq-head-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--graphite);
  max-width: 380px;
  justify-self: end;
  margin: 0;
}

/* === Featured Q&A cards === */

.faq-featured {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: clamp(var(--space-8), 9vw, var(--space-10));
}

.faq-card {
  background: var(--off-white);
  border-radius: var(--r-xl);
  padding: clamp(var(--space-5), 4vw, var(--space-7)) clamp(var(--space-5), 5vw, var(--space-8));
}

.faq-card-meta {
  font-size: 13px;
  font-weight: 500;
  color: var(--graphite);
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.faq-card-meta::before {
  content: '—';
  font-weight: 400;
  opacity: 0.6;
}

.faq-card-q {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--black);
  margin: 0 0 var(--space-5);
}

.faq-card-q .italic {
  font-style: italic;
  font-weight: 500;
  color: var(--black);
}

.faq-card-a {
  font-size: 16px;
  line-height: 1.65;
  color: var(--graphite);
  max-width: 75ch;
  margin: 0;
}

/* === Accordion "the rest of the picture" === */

.faq-rest-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--black);
  margin: 0 0 var(--space-6);
}

.faq-rest-title .italic {
  font-style: italic;
  font-weight: 500;
  color: var(--black);
}

.faq-accordion {
  border-top: 1px solid rgba(10, 10, 10, 0.12);
}

.faq-item {
  border-bottom: 1px solid rgba(10, 10, 10, 0.12);
}

.faq-item-q {
  list-style: none;
  cursor: pointer;
  padding: var(--space-5) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--black);
}

.faq-item-q::-webkit-details-marker { display: none; }
.faq-item-q::marker { display: none; }

.faq-item-q > span:first-child {
  transition: opacity var(--t-fast) var(--ease);
}

.faq-item-q:hover > span:first-child {
  opacity: 0.7;
}

.faq-item-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  position: relative;
  color: var(--black);
  font-size: 20px;
  line-height: 1;
}

.faq-item-icon::before {
  content: '+';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  transition: transform var(--t-med) var(--ease);
}

.faq-item[open] .faq-item-icon::before {
  content: '\00d7';  /* multiplication sign — visually a slim × */
  transform: rotate(0deg);
}

.faq-item-a {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--graphite);
  padding: 0 0 var(--space-5);
  max-width: 75ch;
}

/* Responsive */
@media (max-width: 880px) {
  .faq-head {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    align-items: start;
  }
  .faq-head-desc {
    justify-self: start;
    max-width: 100%;
  }
  .faq-card {
    padding: var(--space-5);
  }
  .faq-item-q {
    gap: var(--space-4);
  }
}

/* ============================================
   YOUR CARE TEAM — periodic-table-style cards
   ============================================ */

.care-team {
  background: var(--cream);
  padding: clamp(var(--space-8), 8vw, var(--space-9)) 0;
}

.care-team-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-8);
  align-items: end;
  margin-bottom: clamp(var(--space-7), 8vw, var(--space-9));
}

.care-team-head-title h2 {
  margin-top: var(--space-3);
}

.care-team-head-title h2 .italic {
  color: var(--black);
}

.care-team-head-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--graphite);
  max-width: 380px;
  justify-self: end;
  margin: 0;
}

.care-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.care-card {
  background: var(--off-white);
  border-radius: var(--r-xl);
  padding: var(--space-7) var(--space-6);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med) var(--ease);
}

.care-card:hover {
  transform: translateY(-3px);
}

.care-circle {
  width: 75%;
  aspect-ratio: 1;
  border-radius: 50%;
  margin: 0 auto var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Soft outer ambient shadow on each sphere */
.care-circle::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 18px 40px -20px rgba(10, 10, 10, 0.18);
}

/* Four distinct gradient spheres — all brand-aligned */
.care-circle-1 {
  background: radial-gradient(circle at 30% 28%, #fffae8 0%, #fef590 60%, #ead87a 100%);
  color: var(--charcoal);
}

.care-circle-2 {
  background: radial-gradient(circle at 30% 28%, #fef590 0%, #f9ec00 50%, #c9bd00 100%);
  color: var(--black);
}

.care-circle-3 {
  background: radial-gradient(circle at 30% 28%, #5a5a5a 0%, #1a1a1a 55%, #050505 100%);
  color: var(--yellow);
}

.care-circle-4 {
  background: radial-gradient(circle at 30% 28%, #fbfaf3 0%, #ebe2c4 55%, #c8b97e 100%);
  color: var(--charcoal);
}

.care-icon {
  width: 46%;
  height: 46%;
  position: relative;
  z-index: 1;
  display: block;
}

.care-card-text {
  text-align: left;
}

.care-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--black);
  margin: 0 0 4px;
}

.care-card-label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: var(--space-4);
}

.care-card-desc {
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--graphite);
  margin: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .care-team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }
  .care-circle {
    width: 55%;
  }
}

@media (max-width: 700px) {
  .care-team-head {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    align-items: start;
  }
  .care-team-head-desc {
    justify-self: start;
    max-width: 100%;
  }
  .care-team-grid {
    grid-template-columns: 1fr;
  }
  .care-circle {
    width: 45%;
  }
}

/* ============================================
   TEAM8 PHYSIO CROSS-LINK BANNER
   ============================================ */

.physio-banner {
  display: grid;
  grid-template-columns: 1.6fr auto;
  align-items: center;
  gap: var(--space-7);
  margin-top: clamp(var(--space-6), 6vw, var(--space-8));
  padding: clamp(var(--space-6), 4vw, var(--space-7)) clamp(var(--space-6), 5vw, var(--space-8));
  background: var(--black);
  color: var(--white);
  border-radius: var(--r-xl);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}

/* Yellow atmospheric glow from the upper-right */
.physio-banner::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 180%;
  background: radial-gradient(ellipse at center, rgba(249, 236, 0, 0.12), transparent 60%);
  pointer-events: none;
}

.physio-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -20px rgba(10, 10, 10, 0.35);
}

.physio-banner-content {
  position: relative;
  z-index: 1;
}

.physio-banner-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: var(--space-3);
}

.physio-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 var(--space-3);
}

.physio-banner-title .italic {
  font-style: italic;
  font-weight: 500;
  color: var(--yellow);
}

.physio-banner-desc {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  max-width: 60ch;
}

.physio-banner-cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-5);
}

.physio-banner-logo {
  height: 32px;
  width: auto;
  display: block;
  opacity: 0.85;
  transition: opacity var(--t-fast) var(--ease);
}

.physio-banner:hover .physio-banner-logo {
  opacity: 1;
}

.physio-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 1rem 1.5rem;
  background: var(--yellow);
  color: var(--black);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--r-pill);
  transition: gap var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  white-space: nowrap;
}

.physio-banner:hover .physio-banner-btn {
  gap: var(--space-4);
  background: var(--yellow-bright);
}

@media (max-width: 880px) {
  .physio-banner {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .physio-banner-cta {
    justify-self: start;
    align-items: flex-start;
    gap: var(--space-4);
  }
}

/* ============================================
   NAV PHYSIO LINK (header) — small external link
   ============================================ */

.nav-physio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  letter-spacing: -0.005em;
  padding: 0.5rem 0;
  margin-right: var(--space-3);
  transition: color var(--t-fast) var(--ease);
}

.nav-physio-link:hover {
  color: var(--white);
}

.header.scrolled .nav-physio-link {
  color: var(--graphite);
}

.header.scrolled .nav-physio-link:hover {
  color: var(--black);
}

.nav-physio-link svg {
  opacity: 0.55;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}

.nav-physio-link:hover svg {
  opacity: 1;
  transform: translate(1px, -1px);
}

@media (max-width: 1024px) {
  .nav-physio-link {
    display: none;
  }
}

/* Mobile menu external link variant */
.mobile-menu-external {
  display: inline-flex !important;
  align-items: center;
  gap: var(--space-2);
  color: var(--graphite) !important;
}

/* ============================================
   FOOTER GROUP / SISTER BRAND (Team8 Physio)
   ============================================ */

.footer-group {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-group-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--space-3);
}

.footer-physio-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity var(--t-fast) var(--ease);
}

.footer-physio-link:hover {
  opacity: 1;
}

.footer-physio-logo {
  height: 24px;
  width: auto;
  display: block;
}

.footer-physio-arrow {
  color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
  transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.footer-physio-link:hover .footer-physio-arrow {
  color: var(--white);
  transform: translate(2px, -2px);
}

/* ============================================
   PHILOSOPHY / WHY US (legacy — kept for safety)
   ============================================ */

.philosophy {
  background: var(--cream);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: clamp(var(--space-7), 6vw, var(--space-8));
}

.philosophy-card {
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.05);
  border-radius: var(--r-xl);
  padding: clamp(var(--space-6), 3vw, var(--space-7));
  position: relative;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  display: flex;
  flex-direction: column;
}

.philosophy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -28px rgba(10, 10, 10, 0.18);
  border-color: rgba(249, 236, 0, 0.4);
}

.philosophy-card.featured {
  background: var(--black);
  color: var(--white);
  grid-column: span 2;
  grid-row: span 1;
  border-color: transparent;
}

/* Soft yellow atmospheric wash on the featured card */
.philosophy-card.featured::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 70%;
  height: 160%;
  background: radial-gradient(ellipse at center, rgba(249, 236, 0, 0.08), transparent 60%);
  pointer-events: none;
}

.philosophy-card.featured > * {
  position: relative;
  z-index: 1;
}

.philosophy-card.featured:hover {
  border-color: transparent;
  box-shadow: 0 24px 50px -28px rgba(10, 10, 10, 0.5);
}

/* Thematic label — small uppercase tag with a yellow accent dash */
.philosophy-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: clamp(var(--space-5), 4vw, var(--space-7));
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.philosophy-card-label::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--black);
  flex-shrink: 0;
}

.philosophy-card.featured .philosophy-card-label {
  color: var(--yellow);
}

.philosophy-card.featured .philosophy-card-label::before {
  background: var(--yellow);
}

.philosophy-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-4);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--black);
}

.philosophy-card.featured .philosophy-title {
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  color: var(--white);
}

.philosophy-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--graphite);
  margin: 0;
}

.philosophy-card.featured .philosophy-desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.65;
}

/* ============================================
   COMPARISON — OLD WAY vs TEAM8 WAY
   ============================================ */

.comparison-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-8);
  align-items: end;
  margin-bottom: var(--space-8);
}

.comparison-head-title h2 {
  margin-top: var(--space-3);
}

.comparison-head-title .italic {
  font-weight: 500;
}

.comparison-head-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--graphite);
  max-width: 360px;
  justify-self: end;
  margin: 0;
}

.comparison-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--cream);
  position: relative;
}

.comparison-col {
  padding: clamp(var(--space-6), 4vw, var(--space-8));
}

.comparison-col-old {
  background: var(--cream);
  color: var(--black);
}

.comparison-col-new {
  background: var(--black);
  color: var(--white);
  position: relative;
}

/* Subtle yellow radial wash to give the dark side warmth */
.comparison-col-new::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 100% 0%, rgba(249, 236, 0, 0.08), transparent 55%);
  pointer-events: none;
}

.comparison-col-new > * {
  position: relative;
}

.comparison-col-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--graphite);
  padding-bottom: var(--space-5);
}

.comparison-col-new .comparison-col-label {
  color: rgba(255, 255, 255, 0.55);
}

.comparison-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comparison-list li {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px dashed rgba(10, 10, 10, 0.18);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.comparison-list li:last-child {
  border-bottom: 1px dashed rgba(10, 10, 10, 0.18);
}

.comparison-list li::before {
  content: '\2014';  /* em dash */
  flex-shrink: 0;
  color: var(--graphite);
  font-weight: 400;
  opacity: 0.6;
}

.comparison-col-new .comparison-list li {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.comparison-col-new .comparison-list li:last-child {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.comparison-col-new .comparison-list li::before {
  content: '\2713';  /* check mark */
  color: var(--yellow);
  opacity: 1;
  font-size: 0.95em;
  font-weight: 600;
}

.comparison-main {
  color: inherit;
}

.comparison-italic {
  font-style: italic;
  font-weight: 400;
  color: var(--yellow);
  margin-left: 0.4em;
  letter-spacing: -0.005em;
}

/* Mobile stack */
@media (max-width: 880px) {
  .comparison-head {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    align-items: start;
  }
  .comparison-head-desc {
    justify-self: start;
    max-width: 100%;
  }
  .comparison-card {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PROGRAMS — THREE WAYS IN
   ============================================ */

.programs-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-8);
  align-items: end;
  margin-bottom: var(--space-9);
}

.programs-head-title h2 {
  margin-top: var(--space-3);
}

.programs-head-title .italic {
  font-weight: 500;
  color: var(--graphite);
}

.programs-head-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--graphite);
  max-width: 380px;
  justify-self: end;
  margin: 0;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.program-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  border: 1px solid var(--light-grey);
}

.program-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px -20px rgba(10, 10, 10, 0.15);
}

.program-card-visual {
  aspect-ratio: 5 / 4;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  position: relative;
  overflow: hidden;
}

.program-card-visual svg {
  width: 42%;
  height: auto;
  position: relative;
  z-index: 1;
}

/* Subtle directional sheen across the visual panel */
.program-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 55%);
  pointer-events: none;
}

.program-card-visual-cream {
  background: linear-gradient(135deg, #f4f1e8 0%, #ebe7d8 100%);
  color: var(--black);
}

.program-card-visual-yellow {
  background: linear-gradient(135deg, #f9ec00 0%, #e6d700 100%);
  color: var(--black);
}

.program-card-visual-dark {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  color: var(--yellow);
}

.program-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 var(--space-2);
}

.program-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: var(--space-4);
}

.program-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: var(--space-4);
  color: var(--black);
}

.program-card-title .italic {
  font-style: italic;
  font-weight: 500;
  color: var(--graphite);
}

.program-card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--graphite);
  margin-bottom: var(--space-5);
}

.program-card-badge {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--black);
  padding: var(--space-4) 0;
  border-top: 1px dashed rgba(10, 10, 10, 0.18);
  margin-bottom: var(--space-5);
}

.program-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.85rem 1.4rem;
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: var(--r-pill);
  align-self: flex-start;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), gap var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.program-card-link:hover {
  background: var(--yellow);
  color: var(--black);
  gap: var(--space-4);
}

.program-card-link .arrow {
  transition: transform var(--t-fast) var(--ease);
}

.program-card-link:hover .arrow {
  transform: translateX(2px);
}

/* Responsive */
@media (max-width: 1024px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .programs-grid > :nth-child(3) {
    grid-column: span 2;
    max-width: calc(50% - var(--space-3));
  }
}

@media (max-width: 880px) {
  .programs-head {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    align-items: start;
  }
  .programs-head-desc {
    justify-self: start;
    max-width: 100%;
  }
  .programs-grid {
    grid-template-columns: 1fr;
  }
  .programs-grid > :nth-child(3) {
    grid-column: auto;
    max-width: 100%;
  }
}

/* ============================================
   MEMBERSHIPS
   ============================================ */

.memberships-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.membership-card {
  background: var(--white);
  border: 1.5px solid var(--light-grey);
  border-radius: var(--r-lg);
  padding: var(--space-7);
  position: relative;
  transition: all var(--t-med) var(--ease);
}

.membership-card:hover {
  border-color: var(--black);
  transform: translateY(-4px);
}

.membership-card.featured {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.membership-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  background: var(--yellow);
  color: var(--black);
  padding: 0.4rem 0.9rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: var(--r-pill);
}

.membership-tier {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: var(--space-3);
}

.membership-card.featured .membership-tier {
  color: var(--yellow);
}

.membership-name {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
  line-height: 1;
}

.membership-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin: var(--space-5) 0;
  padding: var(--space-5) 0;
  border-top: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
}

.membership-card.featured .membership-price {
  border-color: rgba(255,255,255,0.15);
}

.membership-price-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.membership-price-unit {
  font-size: 16px;
  color: var(--graphite);
}

.membership-card.featured .membership-price-unit {
  color: rgba(255,255,255,0.6);
}

.membership-price-currency {
  font-family: var(--font-display);
  font-size: 1.4rem;
  align-self: flex-start;
  margin-top: 8px;
}

.membership-features {
  list-style: none;
  margin: var(--space-5) 0;
}

.membership-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  font-size: 15px;
}

.membership-features svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--black);
}

.membership-card.featured .membership-features svg {
  color: var(--yellow);
}

.membership-card .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================
   CLASSES
   ============================================ */

.classes {
  background: var(--white);
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-7);
}

/* ----- Focus card → schedule linking ----- */
.page-hero-cta {
  margin-top: var(--space-6);
}
#schedule {
  scroll-margin-top: 90px;
}

.focus-instruction {
  margin-top: var(--space-4);
  font-size: 18px;
  line-height: 1.6;
  color: var(--graphite);
  max-width: 54ch;
}

.class-card[data-class-type] { cursor: pointer; }

.class-card.focus-active {
  border-color: var(--yellow);
  box-shadow: 0 0 0 2px var(--yellow);
}

.class-card-link-hint {
  margin-top: auto;
  align-self: flex-start;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--black);
  background: transparent;
  border: 1.5px solid var(--black);
  border-radius: var(--r-pill);
  transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease);
}
.class-card-link-hint svg {
  width: 13px;
  height: 13px;
  transition: transform var(--t-med) var(--ease);
}

/* Hover / selected: fill the pill and nudge the arrow */
.class-card:hover .class-card-link-hint,
.class-card.focus-active .class-card-link-hint {
  background: var(--black);
  color: var(--white);
}
.class-card:hover .class-card-link-hint svg {
  transform: translateX(3px);
}

/* Status banner above the timetable */
/* In-place focus filter at the schedule (dropdown + helper line) */
.schedule-focus-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-3) var(--space-4);
  max-width: 680px;
  margin: 0 auto var(--space-6);
  text-align: center;
}
.schedule-focus-filter-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
}
.schedule-focus-select {
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  background-color: var(--white);
  border: 1.5px solid var(--black);
  border-radius: var(--r-pill);
  padding: 11px 44px 11px 20px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230a0a0a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px;
  transition: box-shadow var(--t-fast) var(--ease);
}
.schedule-focus-select:hover { box-shadow: 0 0 0 2px var(--yellow); }
.schedule-focus-select:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.schedule-focus-helper {
  flex-basis: 100%;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--graphite);
  display: none;
}
.schedule-focus-helper.active { display: block; }
.schedule-focus-helper strong { color: var(--black); font-weight: 600; }

/* When filtering, dim non-matching slots and accent matches */
#schedule.focus-filtering .schedule-item {
  opacity: 0.32;
  transition: opacity var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
#schedule.focus-filtering .schedule-item.match {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--yellow);
}

.class-card {
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.07);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
  transition: all var(--t-med) var(--ease);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.class-card:hover {
  border-color: rgba(249, 236, 0, 0.5);
}

.class-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-soft) 100%);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
}

.class-card:hover::before {
  opacity: 1;
}

.class-card > * {
  position: relative;
  z-index: 1;
}

.class-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-pill);
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--black);
  /* Initial state for scale-in animation */
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease, background var(--t-med) var(--ease), color var(--t-med) var(--ease);
}

/* When the parent card reveals, the icon pops in */
.class-card.reveal.in .class-icon {
  transform: scale(1);
  opacity: 1;
}

.class-card:hover .class-icon {
  background: var(--black);
  color: var(--yellow);
}

/* Inline SVGs inside the icon — pick up parent color via fill=currentColor */
.class-icon svg {
  width: 44px;
  height: 44px;
  display: block;
  transition: transform var(--t-med) var(--ease);
}

.class-card:hover .class-icon svg {
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .class-icon {
    transform: none;
    opacity: 1;
  }
  .class-icon svg {
    transition: none;
  }
}

.class-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.class-desc {
  font-size: 15px;
  color: var(--graphite);
  line-height: 1.55;
  flex-grow: 1;
  margin-bottom: var(--space-5);
}

.class-card:hover .class-desc {
  color: var(--charcoal);
}

.class-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-5);
  margin-top: var(--space-5);
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 13px;
  font-weight: 600;
  color: var(--graphite);
}

.class-card:hover .class-meta {
  color: var(--black);
  border-color: rgba(0,0,0,0.2);
}

/* ============================================
   FEATURE BIG (HealthPlus-style alternating sections)
   ============================================ */

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-9);
  align-items: center;
  padding: var(--space-8) 0;
}

.feature-block.reverse .feature-image {
  order: 2;
}

.feature-image {
  aspect-ratio: 5/4;
  border-radius: var(--r-xl);
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.feature-image-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, var(--yellow-soft) 0%, transparent 50%),
    var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image-bg.dark {
  background:
    radial-gradient(circle at 70% 30%, rgba(249, 236, 0,0.2) 0%, transparent 50%),
    var(--black);
}

.feature-content .eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.feature-content .eyebrow::before {
  content: '';
  width: 30px;
  height: 1.5px;
  background: var(--black);
}

.feature-content h2 {
  margin-bottom: var(--space-5);
}

.feature-content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--graphite);
  margin-bottom: var(--space-5);
}

.feature-list {
  list-style: none;
  margin: var(--space-6) 0;
}

.feature-list li {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--light-grey);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  font-size: 16px;
}

.feature-list li:last-child {
  border-bottom: none;
}

/* Number → circular black badge with yellow numeral inside */
.feature-list-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--black);
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;  /* nudge to align with the first line of the title */
}

/* Content wrapper to the right of the badge */
.feature-list li > div {
  flex: 1;
  min-width: 0;
}

.feature-list strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}

.feature-list li > div > span {
  display: block;
  font-size: 15px;
  line-height: 1.55;
  color: var(--graphite);
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials {
  background: var(--black);
  color: var(--white);
}

.testimonials .section-header h2,
.testimonials .eyebrow {
  color: var(--white);
}

.testimonials .eyebrow::before {
  background: var(--yellow);
}

.testimonials-track {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  padding-bottom: var(--space-5);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonial {
  flex: 0 0 420px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  scroll-snap-align: start;
  transition: all var(--t-med) var(--ease);
}

.testimonial:hover {
  background: rgba(249, 236, 0, 0.08);
  border-color: var(--yellow);
}

.testimonial-quote-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 4rem;
  color: var(--yellow);
  line-height: 0.5;
  margin-bottom: var(--space-5);
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: var(--space-6);
  letter-spacing: -0.01em;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.testimonial-name {
  font-size: 15px;
  font-weight: 600;
}

.testimonial-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.testimonials-controls {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
  justify-content: center;
}

.testimonial-arrow {
  width: 56px;
  height: 56px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast) var(--ease);
}

.testimonial-arrow:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

/* ============================================
   TRIAL-PAGE TESTIMONIALS — dark section, 3-up grid
   ============================================ */

/* Generic dark-section utility (used on trial page) */
.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-dark .eyebrow,
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

/* Section header on a dark background */
.section-head-light h2,
.section-head-light h3 {
  color: var(--white);
}

.section-head-light .eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

/* Grid layout for trial testimonials (3 cards, not the homepage carousel) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: clamp(var(--space-7), 6vw, var(--space-8));
}

/* Cards in the grid don't need the flex sizing the carousel uses */
.testimonials-grid .testimonial {
  flex: initial;
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  transition: background var(--t-med) var(--ease), border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}

.testimonials-grid .testimonial:hover {
  background: rgba(249, 236, 0, 0.06);
  border-color: rgba(249, 236, 0, 0.35);
  transform: translateY(-2px);
}

/* The quote — readable serif weight, clear off-white */
.testimonial-quote {
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 var(--space-6);
  flex: 1;
}

/* Override .testimonial-meta colour for the grid context (high enough contrast on dark) */
.testimonials-grid .testimonial-meta {
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}

.testimonials-grid .testimonial-name {
  color: var(--white);
}

/* Stack on small screens */
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* ============================================
   STATS BAR
   ============================================ */

.stats {
  padding: var(--space-8) 0;
  background: var(--yellow);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.stat {
  text-align: left;
  padding-right: var(--space-5);
  border-right: 1px solid rgba(0,0,0,0.15);
}

.stat:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-3);
  color: var(--black);
}

.stat-num .italic-soft {
  font-style: italic;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.4;
}

/* Animated stat icons (draw-in on scroll reveal) */
.stat-icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-4);
  color: var(--black);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.stat-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.stat-icon svg :is(path, circle, rect, line, polyline) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.15s cubic-bezier(0.65, 0, 0.35, 1);
}

.stats.in .stat-icon {
  opacity: 1;
  transform: none;
}

.stats.in .stat-icon svg :is(path, circle, rect, line, polyline) {
  stroke-dashoffset: 0;
}

.stats.in .stat:nth-child(1) .stat-icon,
.stats.in .stat:nth-child(1) .stat-icon svg :is(path, circle, rect, line, polyline) { transition-delay: 0.05s; }
.stats.in .stat:nth-child(2) .stat-icon,
.stats.in .stat:nth-child(2) .stat-icon svg :is(path, circle, rect, line, polyline) { transition-delay: 0.25s; }
.stats.in .stat:nth-child(3) .stat-icon,
.stats.in .stat:nth-child(3) .stat-icon svg :is(path, circle, rect, line, polyline) { transition-delay: 0.45s; }
.stats.in .stat:nth-child(4) .stat-icon,
.stats.in .stat:nth-child(4) .stat-icon svg :is(path, circle, rect, line, polyline) { transition-delay: 0.65s; }

@media (prefers-reduced-motion: reduce) {
  .stat-icon,
  .stats.in .stat-icon { opacity: 1; transform: none; transition: none; }
  .stat-icon svg :is(path, circle, rect, line, polyline),
  .stats.in .stat-icon svg :is(path, circle, rect, line, polyline) {
    stroke-dashoffset: 0;
    transition: none;
  }
}

/* ============================================
   CTA BLOCK
   ============================================ */

.cta-block {
  padding: var(--space-8) 0;
}

.cta-card {
  background: var(--black);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: clamp(var(--space-7), 6vw, var(--space-10));
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--yellow) 0%, transparent 70%);
  opacity: 0.25;
  filter: blur(20px);
}

.cta-card-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-7);
  align-items: end;
}

.cta-card h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: var(--space-5);
}

.cta-card h2 .italic {
  color: var(--yellow);
}

.cta-card-text p {
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  line-height: 1.6;
  max-width: 480px;
}

.cta-card-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.cta-card-actions .btn {
  width: 100%;
  justify-content: space-between;
}

/* ============================================
   LOCATION / HOURS
   ============================================ */

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-7);
}

.location-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--space-7);
  border: 1px solid var(--light-grey);
}

.location-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: var(--space-5);
  letter-spacing: -0.02em;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.location-info-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--light-grey);
}

.location-info-row:last-child {
  border-bottom: none;
}

.location-info-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  background: var(--yellow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-info-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--graphite);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.location-info-value {
  font-size: 16px;
  color: var(--black);
  font-weight: 500;
}

.hours-list {
  list-style: none;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--light-grey);
  font-size: 15px;
}

.hours-row:last-child { border-bottom: none; }

.hours-day {
  font-weight: 600;
  color: var(--black);
}

.hours-time {
  color: var(--graphite);
  font-variant-numeric: tabular-nums;
}

.hours-row.closed .hours-time {
  color: var(--black);
  font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--black);
  color: var(--white);
  padding: var(--space-9) 0 var(--space-6);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.15fr;
  gap: var(--space-6) var(--space-5);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-text-main {
  color: var(--white);
}

.footer-brand .logo-text-sub {
  color: var(--yellow);
}

.footer-tagline {
  margin-top: var(--space-5);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--yellow);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
  color: rgba(255,255,255,0.5);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
}

.footer-col li {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  line-height: 1.4;
}

.footer-col a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease), gap var(--t-fast) var(--ease);
}

.footer-col a:hover {
  color: var(--yellow);
  opacity: 1;
}

/* Featured link (e.g. 6-week trial) — slightly bolder, more prominent */
.footer-col a.footer-link-feature {
  color: var(--white);
  font-weight: 600;
}

.footer-col a.footer-link-feature:hover {
  color: var(--yellow);
}

/* External booking link */
.footer-col a.footer-link-external svg {
  color: rgba(255,255,255,0.5);
  transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.footer-col a.footer-link-external:hover svg {
  color: var(--yellow);
  transform: translate(2px, -2px);
}

/* Visit column gets a slightly different rhythm — address lines unclickable, hours block below */
.footer-col-visit a {
  text-decoration: none;
}

.footer-col-visit {
  min-width: 0;
}

.footer-col-visit a {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-hours-block {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-hours-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-3);
}

.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.footer-hours li span:first-child {
  color: rgba(255,255,255,0.5);
}

@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1.6fr 1fr 1fr;
    row-gap: var(--space-8);
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* Opening hours — two columns within each row */
.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  color: rgba(255,255,255,0.85);
  font-size: 14.5px;
}

.footer-hours li span:first-child {
  color: rgba(255,255,255,0.6);
}

/* Opening hours — horizontal bar below the footer columns */
.footer-hours-bar {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  padding: var(--space-5) 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-hours-bar-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-right: var(--space-2);
}

.footer-hours-bar .footer-hours {
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  align-items: baseline;
}

.footer-hours-bar .footer-hours li {
  justify-content: flex-start;
  gap: var(--space-3);
  font-size: 14px;
}

.footer-hours-bar .footer-hours li span:first-child {
  color: rgba(255,255,255,0.5);
}

.footer-hours-bar .footer-hours li span:last-child {
  color: rgba(255,255,255,0.9);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-5);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.footer-credit {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

.footer-credit a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--t-fast) var(--ease);
}

.footer-credit a:hover {
  color: var(--yellow);
}

.footer-socials {
  display: flex;
  gap: var(--space-3);
}

.footer-social {
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--t-fast) var(--ease);
}

.footer-social:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  opacity: 1;
}

.footer-legal {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.footer-legal a:hover {
  color: var(--yellow);
}

/* ============================================
   PAGE HERO (smaller hero for inner pages)
   ============================================ */

.page-hero {
  padding: 160px 0 var(--space-8);
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: var(--space-5);
}

.page-hero-eyebrow::before {
  content: '';
  width: 30px;
  height: 1.5px;
  background: var(--black);
}

.page-hero h1 {
  margin-bottom: var(--space-5);
}

.page-hero p {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.55;
  color: var(--graphite);
  max-width: 680px;
}

/* Dark page-hero variant (programs.html): reversed out on black, the 8 stays bright yellow */
.page-hero.page-hero-dark {
  background: var(--black);
  color: var(--white);
}
.page-hero.page-hero-dark .page-hero-eyebrow { color: var(--white); }
.page-hero.page-hero-dark .page-hero-eyebrow::before { background: rgba(255, 255, 255, 0.55); }
.page-hero.page-hero-dark h1,
.page-hero.page-hero-dark .display-xl,
.page-hero.page-hero-dark .display-xl .italic { color: var(--white); }
.page-hero.page-hero-dark p { color: rgba(255, 255, 255, 0.74); }
.page-hero.page-hero-dark .page-hero-decoration { opacity: 0.92; }
@media (max-width: 768px) {
  .page-hero.page-hero-dark .page-hero-decoration { opacity: 0.45; }
}

.page-hero-decoration {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  transform-origin: center;
  width: 480px;
  height: auto;
  max-width: 50vw;
  opacity: 0.95;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  animation: hero8Float 9s ease-in-out infinite;
}

@media (max-width: 1024px) {
  .page-hero-decoration {
    width: 360px;
    right: -100px;
    opacity: 0.55;
  }
}

@media (max-width: 768px) {
  .page-hero-decoration {
    width: 260px;
    right: -80px;
    opacity: 0.35;
  }
}

/* ============================================
   FORM
   ============================================ */

.form-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--space-8);
  border: 1px solid var(--light-grey);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: var(--space-3);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  padding-right: calc(var(--space-5) + 28px);
  font-family: inherit;
  font-size: 16px;
  background-color: var(--off-white);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3e%3cpath d='M3.5 5l3.5 3.5L10.5 5' stroke='%230a0a0a' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right var(--space-5) center;
  border: 1.5px solid var(--light-grey);
  border-radius: var(--r-md);
  transition: all var(--t-fast) var(--ease);
  color: var(--black);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--black);
  background-color: var(--white);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  font-family: inherit;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 14px;
  color: var(--graphite);
  line-height: 1.5;
  cursor: pointer;
}

.form-checkbox input {
  margin-top: 4px;
  flex-shrink: 0;
}

/* ============================================
   CLASS SCHEDULE TABLE
   ============================================ */

.schedule-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-7);
  flex-wrap: wrap;
  padding: var(--space-2);
  background: var(--cream);
  border-radius: var(--r-pill);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.schedule-tab {
  padding: 0.75rem 1.5rem;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r-pill);
  color: var(--graphite);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}

.schedule-tab.active {
  background: var(--black);
  color: var(--white);
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.schedule-item {
  display: grid;
  grid-template-columns: 100px 1fr 1fr 100px;
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--r-md);
  transition: all var(--t-fast) var(--ease);
}

.schedule-item:hover {
  border-color: var(--black);
  transform: translateX(4px);
}

.schedule-time {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--black);
}

.schedule-class-name {
  font-weight: 600;
  font-size: 17px;
  color: var(--black);
}

.schedule-class-desc {
  font-size: 13px;
  color: var(--graphite);
}

.schedule-instructor {
  font-size: 14px;
  color: var(--graphite);
}

.schedule-duration {
  font-size: 13px;
  color: var(--graphite);
  text-align: center;
  padding: var(--space-2) var(--space-3);
  background: var(--cream);
  border-radius: var(--r-pill);
  font-weight: 600;
}

.schedule-action {
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast) var(--ease);
}

.schedule-action:hover {
  background: var(--black);
  color: var(--yellow);
  opacity: 1;
}

/* ============================================
   TEAM
   ============================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-7);
}

.team-card {
  text-align: left;
}

.team-photo {
  aspect-ratio: 4/5;
  background: var(--cream);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: var(--space-5);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-med) var(--ease);
}

.team-card:hover .team-photo {
  transform: translateY(-6px);
}

.team-photo-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, var(--yellow-soft) 0%, var(--cream) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-initials {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 6rem;
  color: var(--black);
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.team-role {
  font-size: 14px;
  color: var(--black);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.team-bio {
  font-size: 15px;
  color: var(--graphite);
  line-height: 1.55;
}

/* ============================================
   JOURNEY / STEPS
   ============================================ */

.journey-list {
  margin-top: var(--space-7);
  position: relative;
}

.journey-step {
  display: grid;
  grid-template-columns: 100px 1fr 1.2fr;
  gap: var(--space-6);
  padding: var(--space-7) 0;
  border-top: 1px solid var(--light-grey);
  align-items: start;
  position: relative;
}

.journey-step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(3rem, 5vw, 4.2rem);
  color: var(--black);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: lining-nums tabular-nums;
  position: relative;
}

/* Vertical timeline hairline below each number, connecting to the next step */
.journey-step-num::after {
  content: '';
  position: absolute;
  left: 0.35em;
  top: calc(0.9em + var(--space-3));
  bottom: calc(-1 * var(--space-7));
  width: 1px;
  background: linear-gradient(to bottom, rgba(249, 236, 0, 0.5), rgba(10, 10, 10, 0.08));
}

/* Trial page "How the trial works" — yellow circles instead of italic numerals */
#how-it-works .journey-step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  line-height: 1;
  flex-shrink: 0;
}

#how-it-works .journey-step-num::after {
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + var(--space-3));
  background: linear-gradient(to bottom, rgba(249, 236, 0, 0.6), rgba(10, 10, 10, 0.08));
}

.journey-step:last-child .journey-step-num::after {
  display: none;
}

.journey-step-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.journey-step-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--yellow-soft);
  color: var(--black);
  border-radius: var(--r-pill);
  margin-bottom: var(--space-4);
}

.journey-step-desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--graphite);
}

.journey-step-desc strong {
  color: var(--black);
  font-weight: 600;
}

/* ============================================
   HERO VIDEO TOUR BUTTON
   ============================================ */

.hero-video-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  margin-left: var(--space-3);
  transition: opacity var(--t-fast) var(--ease);
}

.hero-video-btn-play {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--t-med) var(--ease), border-color var(--t-med) var(--ease), transform var(--t-med) var(--ease), color var(--t-med) var(--ease);
  position: relative;
}

.hero-video-btn-play svg {
  margin-left: 2px;
  transition: transform var(--t-fast) var(--ease);
}

/* Soft pulsing ring to draw attention to the play action */
.hero-video-btn-play::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  animation: video-btn-pulse 2.4s ease-out infinite;
  opacity: 0;
}

@keyframes video-btn-pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 0; }
}

.hero-video-btn:hover .hero-video-btn-play {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
  transform: scale(1.06);
}

.hero-video-btn:hover .hero-video-btn-play svg {
  transform: scale(1.1);
}

.hero-video-btn:focus-visible {
  outline: none;
}

.hero-video-btn:focus-visible .hero-video-btn-play {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

.hero-video-btn-label {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--t-fast) var(--ease);
}

.hero-video-btn:hover .hero-video-btn-label {
  color: var(--white);
}

@media (max-width: 640px) {
  .hero-video-btn {
    margin-left: 0;
    margin-top: var(--space-3);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-btn-play::before {
    animation: none;
  }
}

/* ============================================
   VIDEO TOUR MODAL
   ============================================ */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.video-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 1100px;
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}

.video-modal.open .video-modal-dialog {
  transform: scale(1);
  opacity: 1;
}

.video-modal-close {
  position: absolute;
  top: calc(-1 * var(--space-7));
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast) ease, border-color var(--t-fast) ease, color var(--t-fast) ease;
  z-index: 2;
}

.video-modal-close:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

/* 16:9 aspect ratio wrapper */
.video-modal-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--black);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.6);
}

.video-modal-frame iframe,
.video-modal-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Placeholder shown until a real video is wired up */
.video-modal-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  background: linear-gradient(160deg, #2a2a2a 0%, #0a0a0a 80%);
  text-align: center;
  padding: var(--space-6);
}

.video-modal-placeholder::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 70%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(249, 236, 0, 0.12), transparent 70%);
  pointer-events: none;
}

.video-modal-placeholder-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}

.video-modal-placeholder-icon svg {
  margin-left: 5px;
}

.video-modal-placeholder-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  position: relative;
  z-index: 1;
  margin: 0;
}

.video-modal-placeholder-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 460px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
  margin: 0;
}

@media (max-width: 768px) {
  .video-modal {
    padding: var(--space-3);
  }
  .video-modal-close {
    top: calc(-1 * var(--space-6));
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-modal,
  .video-modal-dialog {
    transition: none;
  }
}

/* ============================================
   TRIAL SIGNUP MODAL
   ============================================ */

.trial-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.trial-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.trial-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.trial-modal-dialog {
  position: relative;
  background: var(--off-white);
  border-radius: var(--r-xl);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.4);
}

.trial-modal.open .trial-modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.trial-modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.1);
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast) ease, border-color var(--t-fast) ease, color var(--t-fast) ease;
  z-index: 2;
}

.trial-modal-close:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.trial-modal-content {
  padding: clamp(var(--space-6), 5vw, var(--space-8));
}

.trial-modal-header {
  margin-bottom: var(--space-6);
  padding-right: var(--space-7);
}

.trial-modal-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--black);
  margin: var(--space-3) 0 var(--space-3);
}

.trial-modal-header p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--graphite);
  margin: 0;
}

/* Form */
.trial-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.trial-form[hidden] { display: none; }

.trial-form-field {
  display: flex;
  flex-direction: column;
}

.trial-form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.trial-form-optional {
  font-weight: 400;
  color: var(--graphite);
  font-size: 12px;
}

.trial-form-field input,
.trial-form-field select,
.trial-form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--black);
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.14);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
  -webkit-appearance: none;
  appearance: none;
}

.trial-form-field input:focus,
.trial-form-field select:focus,
.trial-form-field textarea:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(249, 236, 0, 0.35);
}

.trial-form-field input.invalid,
.trial-form-field select.invalid,
.trial-form-field textarea.invalid {
  border-color: #c44545;
  background: rgba(196, 69, 69, 0.04);
}

.trial-form-field textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

.trial-form-field select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3e%3cpath d='M3 4.5l3 3 3-3' stroke='%230a0a0a' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.trial-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.trial-form-actions {
  margin-top: var(--space-3);
}

.trial-form-submit {
  width: 100%;
  justify-content: center;
}

.trial-form-privacy {
  font-size: 12px;
  color: var(--graphite);
  margin: var(--space-3) 0 0;
  text-align: center;
  line-height: 1.5;
}

/* Success state */
.trial-form-success {
  text-align: center;
  padding: var(--space-5) 0 var(--space-3);
}

.trial-form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
}

.trial-form-success h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--black);
  margin: 0 0 var(--space-3);
}

.trial-form-success p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--graphite);
  margin: 0 0 var(--space-6);
}

@media (max-width: 600px) {
  .trial-modal {
    padding: var(--space-3);
    align-items: flex-end;
  }
  .trial-modal-dialog {
    max-height: 95vh;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
  }
  .trial-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .trial-modal,
  .trial-modal-dialog {
    transition: none;
  }
}

/* ============================================
   REVIEWS PAGE
   ============================================ */

/* Hero rating bar — used on reviews.html hero */
.hero-rating {
  margin-top: var(--space-6);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: var(--r-pill);
  font-size: 14px;
  color: var(--charcoal);
  text-decoration: none;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), background var(--t-med) var(--ease);
}

.hero-rating strong {
  color: var(--black);
  font-weight: 700;
}

.hero-rating-stars {
  display: flex;
  gap: 2px;
  color: var(--yellow);
}

.hero-rating-stars svg {
  display: block;
}

/* ============================================
   HERO RATING BADGE — slim pill, right-aligned with CTAs
   ============================================ */

.hero-video .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
}

.hero-rating-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1.1rem 1.25rem;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  animation: badge-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}

@keyframes badge-in {
  0% { opacity: 0; transform: translateY(8px) scale(0.94); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-rating-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

.hero-rating-badge-stars {
  display: inline-flex;
  gap: 1px;
  color: var(--yellow);
}

.hero-rating-badge-stars svg {
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.hero-rating-badge-score {
  font-weight: 700;
  color: var(--white);
  font-size: 14px;
  letter-spacing: -0.01em;
}

.hero-rating-badge-meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.65);
  position: relative;
  padding-left: 11px;
}

.hero-rating-badge-meta::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.hero-rating-badge-meta svg {
  display: block;
  flex-shrink: 0;
}

/* On smaller screens drop the badge below the hero CTAs */
@media (max-width: 900px) {
  .hero-video .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-rating-badge {
    margin-top: var(--space-6);
    animation: none;
  }
}

@media (max-width: 480px) {
  .hero-rating-badge {
    font-size: 12px;
    padding: 0.9rem 1.1rem;
    gap: 8px;
  }
  .hero-rating-badge-meta {
    padding-left: 9px;
  }
}

/* Video reviews — portrait 9:16 placeholders */
.video-reviews {
  background: var(--off-white);
}

.video-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

/* Extra video reviews beyond the first 3 — hidden until "View more" */
.video-review-extra {
  display: none;
}
.video-reviews-grid.show-all .video-review-extra {
  display: block;
}

.video-reviews-more {
  display: flex;
  justify-content: center;
  margin-top: var(--space-7);
}
.video-reviews-more.is-hidden {
  display: none;
}
.video-reviews-more-icon {
  transition: transform var(--t-fast) var(--ease);
}
.video-reviews-more[hidden] {
  display: none;
}

.video-review {
  aspect-ratio: 9 / 16;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg, #2a2a2a 0%, #0a0a0a 80%);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}

/* Subtle yellow atmospheric wash from top-right */
.video-review::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(249, 236, 0, 0.12), transparent 70%);
  pointer-events: none;
}

.video-review:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -22px rgba(10, 10, 10, 0.4);
}

/* Top metadata row — VIDEO label + duration */
.video-review-meta {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  right: var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.video-review-label {
  color: var(--yellow);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-review-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.video-review-duration {
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 3px 9px;
  border-radius: var(--r-pill);
}

/* Centered play button */
.video-review-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.97);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-med) var(--ease), transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  z-index: 2;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.video-review-play svg {
  width: 22px;
  height: 22px;
  margin-left: 4px;
  color: var(--black);
  transition: transform var(--t-med) var(--ease);
}

.video-review:hover .video-review-play {
  background: var(--yellow);
  transform: translate(-50%, -50%) scale(1.08);
}

.video-review-play:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

/* Bottom caption — quote + name + context */
.video-review-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-8) var(--space-5) var(--space-5);
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.85));
  z-index: 2;
}

.video-review-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--yellow);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: var(--space-3);
}

.video-review-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
}

.video-review-context {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

/* Written reviews */
.written-reviews {
  background: var(--cream);
}

.written-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: var(--space-5);
}

.review-card {
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: var(--r-xl);
  padding: clamp(var(--space-5), 3vw, var(--space-6));
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}

.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(249, 236, 0, 0.45);
  box-shadow: 0 18px 40px -22px rgba(10, 10, 10, 0.12);
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
  color: var(--yellow);
}

.review-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

.review-quote {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--charcoal);
  margin: 0 0 var(--space-5);
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}

.review-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
}

.review-context {
  font-size: 12.5px;
  color: var(--graphite);
  margin-top: 1px;
}

@media (max-width: 600px) {
  .written-reviews-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .review-card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .review-quote,
  .review-author,
  .review-author > div {
    min-width: 0;
  }

  .review-quote {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .video-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .video-reviews-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
  .hero-rating {
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
  }
}

.articles-index {
  background: var(--off-white);
}

/* Topic filter — pill buttons */
.articles-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: clamp(var(--space-6), 6vw, var(--space-8));
  justify-content: center;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(10, 10, 10, 0.15);
  color: var(--charcoal);
  padding: 0.65rem 1.4rem;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.filter-btn:hover {
  border-color: var(--black);
  color: var(--black);
}

.filter-btn.active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

/* Articles grid */
.articles-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-5);
}

/* Individual article card */
.article-card {
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: var(--r-xl);
  padding: clamp(var(--space-5), 3vw, var(--space-6));
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(249, 236, 0, 0.45);
  box-shadow: 0 18px 40px -22px rgba(10, 10, 10, 0.12);
}

.article-card-topic {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.article-card-topic::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--yellow);
  flex-shrink: 0;
}

.article-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--black);
  margin: 0 0 var(--space-4);
}

.article-card-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--graphite);
  margin: 0 0 var(--space-5);
  flex: 1;
}

.article-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--graphite);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.article-card-author {
  font-weight: 600;
  color: var(--black);
}

.article-card-readtime {
  color: var(--graphite);
}

.article-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-4);
  padding: 10px 16px;
  background: transparent;
  border: 1px solid rgba(10, 10, 10, 0.15);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--black);
  align-self: flex-start;
  transition: background var(--t-med) var(--ease), border-color var(--t-med) var(--ease), gap var(--t-fast) var(--ease);
}

.article-card-cta-arrow {
  transition: transform var(--t-med) var(--ease);
}

.article-card:hover .article-card-cta {
  background: var(--yellow);
  border-color: var(--yellow);
  gap: 9px;
}

.article-card:hover .article-card-cta-arrow {
  transform: translateX(2px);
}

/* Empty state */
.articles-empty {
  text-align: center;
  padding: var(--space-8) var(--space-5);
  color: var(--graphite);
  font-size: 16px;
}

/* Mobile filter — horizontal scroll on tight screens */
@media (max-width: 700px) {
  .articles-filter {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-left: calc(-1 * var(--space-5));
    margin-right: calc(-1 * var(--space-5));
    padding: 0 var(--space-5) var(--space-2);
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .articles-filter::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; }
  .articles-list {
    grid-template-columns: 1fr;
  }
}

.article-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--light-grey);
  transition: all var(--t-med) var(--ease);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: var(--black);
}

.article-image {
  aspect-ratio: 4/3;
  background: var(--cream);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-image-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-image-1 {
  background:
    radial-gradient(circle at 30% 40%, var(--yellow) 0%, transparent 50%),
    var(--cream);
}

.article-image-2 {
  background:
    radial-gradient(circle at 70% 30%, var(--yellow-soft) 0%, transparent 60%),
    var(--paper);
}

.article-image-3 {
  background:
    radial-gradient(circle at 50% 60%, var(--yellow-bright) 0%, transparent 50%),
    var(--cream);
}

.article-content {
  padding: var(--space-5);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-meta {
  display: flex;
  gap: var(--space-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: var(--space-3);
}

.article-meta-tag {
  color: var(--black);
}

.article-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
  line-height: 1.2;
  flex-grow: 1;
}

.article-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: auto;
}

.article-link:hover {
  color: var(--black);
  opacity: 1;
}

.article-link svg {
  transition: transform var(--t-fast) var(--ease);
}

.article-card:hover .article-link svg {
  transform: translateX(4px);
}

/* ============================================
   ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 700ms var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ============================================
   UTILS
   ============================================ */

.text-center { text-align: center; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-7 { margin-bottom: var(--space-7); }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

  .hero-eight {
    width: 70%;
  }

  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .philosophy-card.featured {
    grid-column: span 2;
  }

  .classes-grid,
  .team-grid,
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .feature-block.reverse .feature-image {
    order: -1;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .cta-card-content {
    grid-template-columns: 1fr;
  }

  .cta-card-actions .btn {
    white-space: normal;
    min-width: 0;
    text-align: left;
  }
}

@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
     .location-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .location-card {
    width: 100%;
    min-width: 0;
    padding: var(--space-5);
    box-sizing: border-box;
  }

  .location-info-value,
  .location-info-value a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .hero {
    padding: 110px 0 var(--space-6);
  }

  .hero-card-1,
  .hero-card-2,
  .hero-card-3 {
    display: none;
  }

  .memberships-grid {
    grid-template-columns: 1fr;
  }

  .classes-grid,
  .team-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-card.featured {
    grid-column: span 1;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    border-right: none;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .marquee-item {
    font-size: 1.3rem;
  }

  .testimonial {
    flex: 0 0 85%;
  }

  .schedule-item {
    grid-template-columns: 80px 1fr;
    gap: var(--space-3);
  }

  .schedule-class-desc,
  .schedule-instructor,
  .schedule-duration {
    display: none;
  }

  .journey-step {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .form-card {
    padding: var(--space-5);
  }
}

/* Membership cards */
.memberships-grid {
  gap: var(--space-5);
}

.membership-card {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: var(--space-5);
}

.membership-card.featured::before {
  top: var(--space-4);
  right: var(--space-4);
  font-size: 10px;
  padding: 0.35rem 0.75rem;
}

.membership-name {
  font-size: 2rem;
}

.membership-price-num {
  font-size: 3.2rem;
}

.membership-features li {
  min-width: 0;
  overflow-wrap: break-word;
}

/* ============================================
   ARTICLE PAGE — individual article template
   ============================================ */

/* Hero */
.article-page-hero {
  background: var(--cream);
  padding: 140px 0 var(--space-8);
  position: relative;
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--graphite);
  text-decoration: none;
  margin-bottom: var(--space-6);
  transition: color var(--t-fast) var(--ease), gap var(--t-fast) var(--ease);
}

.article-back-link:hover {
  color: var(--black);
  gap: 10px;
}

.article-page-hero-inner {
  max-width: 820px;
}

.article-page-topic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: var(--space-5);
}

.article-page-topic::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--yellow);
}

.article-page-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--black);
  margin-bottom: var(--space-6);
}

.article-page-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.article-page-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-page-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-bright));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
}

.article-page-author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.2;
}

.article-page-author-role {
  font-size: 12px;
  color: var(--graphite);
  line-height: 1.3;
  margin-top: 2px;
}

.article-page-meta-divider {
  width: 1px;
  height: 32px;
  background: rgba(10, 10, 10, 0.12);
}

.article-page-readtime {
  font-size: 13px;
  color: var(--graphite);
  letter-spacing: 0.02em;
}

/* Body */
.article-page-body {
  background: var(--white);
  padding: var(--space-8) 0;
}

.article-page-body-inner {
  max-width: 720px;
}

.article-lede {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.1vw, 1.5rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--black);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

.article-page-body-inner h2.article-body-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.7rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--black);
  margin: var(--space-7) 0 var(--space-4);
}

.article-page-body-inner p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--graphite);
  margin-bottom: var(--space-4);
  letter-spacing: -0.005em;
}

.article-page-body-inner p:last-child {
  margin-bottom: 0;
}

.article-page-body-inner ul {
  margin: 0 0 var(--space-4);
  padding-left: 1.3em;
}

.article-page-body-inner li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--graphite);
  margin-bottom: var(--space-2);
  letter-spacing: -0.005em;
}

.article-pull-quote {
  margin: var(--space-7) 0;
  padding: var(--space-5) var(--space-6);
  border-left: 3px solid var(--yellow);
  background: var(--off-white);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.article-pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: var(--black);
  margin: 0;
  letter-spacing: -0.01em;
}

/* CTA card after body */
.article-cta-card {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  padding: clamp(var(--space-7), 5vw, var(--space-9));
  border-radius: var(--r-xl);
  border: none;
}

/* Soft yellow atmospheric glow, top-right */
.article-cta-card::before {
  content: '';
  position: absolute;
  top: -35%;
  right: -8%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, var(--yellow) 0%, transparent 70%);
  opacity: 0.22;
  filter: blur(20px);
  pointer-events: none;
}

.article-cta-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.article-cta-card .eyebrow {
  color: var(--yellow);
}

.article-cta-card h2 {
  color: var(--white);
  margin-bottom: var(--space-5);
}

.article-cta-card .lead {
  color: rgba(255, 255, 255, 0.72);
}

.article-cta-actions {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
  align-items: center;
  margin-top: var(--space-7);
  position: relative;
  z-index: 1;
}

.article-cta-card .btn-dark {
  background: var(--yellow);
  color: var(--black);
}
.article-cta-card .btn-dark:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.article-cta-card .btn-ghost {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.4);
}
.article-cta-card .btn-ghost:hover {
  color: var(--yellow);
}

/* Related articles */
.article-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.article-related-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--charcoal);
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}

.article-related-card:hover {
  transform: translateY(-3px);
  border-color: var(--yellow);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.15);
}

.article-related-topic {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: var(--space-3);
}

.article-related-topic::before {
  content: '';
  width: 18px;
  height: 1.5px;
  background: var(--yellow);
}

.article-related-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--black);
  margin-bottom: var(--space-5);
  flex: 1;
}

.article-related-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--graphite);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(10, 10, 10, 0.06);
}

/* Articles index — make wrapped card link clickable hover state */
.article-card {
  position: relative;
  cursor: pointer;
}

.article-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.article-card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

@media (max-width: 880px) {
  .article-related-grid {
    grid-template-columns: 1fr;
  }
  .article-page-hero {
    padding: 110px 0 var(--space-7);
  }
  .article-page-body {
    padding: var(--space-7) 0;
  }
  .article-page-body-inner p {
    font-size: 16px;
  }
  .article-cta-card {
    padding: var(--space-6);
  }
}

/* ============================================
   MAP — custom brand-styled illustration
   ============================================ */

.map-illustration {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(10, 10, 10, 0.06);
  background: #faf9f5;
  display: block;
}

.map-illustration svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
}

.map-illustration .map-embed {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  border: 0;
}

.map-directions-btn {
  position: absolute;
  bottom: var(--space-5);
  right: var(--space-5);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  border-radius: var(--r-pill);
  text-decoration: none;
  box-shadow: 0 12px 30px -10px rgba(10, 10, 10, 0.35);
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.map-directions-btn:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-2px);
}

.map-directions-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .map-illustration svg,
  .map-illustration .map-embed {
    aspect-ratio: 4 / 3;
  }
  .map-directions-btn {
    bottom: var(--space-4);
    right: var(--space-4);
    padding: 9px 15px;
    font-size: 12px;
  }
}

/* ============================================
   PRE-FOOTER IMAGE — full-width hero strip before footer
   ============================================ */

.pre-footer-image {
  width: 100%;
  display: block;
}

.pre-footer-image-img,
.pre-footer-image-placeholder {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 6;
}

.pre-footer-image-img {
  object-fit: cover;
  height: auto;
}

/* Atmospheric placeholder — visible until a real <img> replaces it */
.pre-footer-image-placeholder {
  position: relative;
  background:
    radial-gradient(ellipse at 75% 25%, rgba(249, 236, 0, 0.22), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(249, 236, 0, 0.10), transparent 60%),
    linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  display: flex;
  align-items: end;
  justify-content: end;
  padding: var(--space-6);
}

.pre-footer-image-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

@media (max-width: 768px) {
  .pre-footer-image-img,
  .pre-footer-image-placeholder {
    aspect-ratio: 4 / 3;
  }
  .pre-footer-image-placeholder {
    padding: var(--space-5);
  }
}

/* ============================================
   INLINE VIDEO FACADE — poster + play, iframe on click
   ============================================ */

.inline-video {
  cursor: pointer;
}

.inline-video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inline-video.is-playing .member-journey-play,
.inline-video.is-playing .member-journey-runtime,
.inline-video.is-playing .inline-video-thumb {
  opacity: 0;
  pointer-events: none;
}

.inline-video .member-journey-play {
  z-index: 2;
}

.inline-video:hover .member-journey-play {
  background: var(--yellow);
  transform: scale(1.06);
}

.inline-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 3;
}

/* ============================================
   PHOTO BAND — full-width strip breaking up text sections
   ============================================ */

.photo-band {
  width: 100%;
  display: block;
  line-height: 0;
}

.photo-band-img,
.photo-band-placeholder {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 7;
}

.photo-band-img {
  object-fit: cover;
  height: auto;
}

.photo-band-placeholder {
  position: relative;
  background:
    radial-gradient(ellipse at 75% 25%, rgba(249, 236, 0, 0.22), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(249, 236, 0, 0.10), transparent 60%),
    linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  display: flex;
  align-items: end;
  justify-content: end;
  padding: var(--space-6);
  line-height: 1.4;
}

.photo-band-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

@media (max-width: 768px) {
  .photo-band-img,
  .photo-band-placeholder {
    aspect-ratio: 4 / 3;
  }
  .photo-band-placeholder {
    padding: var(--space-5);
  }
}

/* ============================================
   FEATURE VIDEO PLACEHOLDER — member journey video slot
   ============================================ */

/* When a real <video> or <iframe> goes in, this class on the wrapper or those
   elements directly will make them fill the feature image frame. */
.feature-video-placeholder video,
.feature-video-placeholder iframe,
.feature-video-frame video,
.feature-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.feature-video-placeholder {
  position: absolute;
  inset: 0;
  /* Layer a soft vignette + a hint of yellow atmosphere on top of the dark base */
  background:
    radial-gradient(ellipse at 70% 30%, rgba(249, 236, 0, 0.18), transparent 55%),
    radial-gradient(ellipse at 30% 80%, rgba(249, 236, 0, 0.08), transparent 60%),
    linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  display: block;
  overflow: hidden;
}

.feature-video-placeholder::after {
  /* Subtle inner vignette to suggest a video thumbnail frame */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

.feature-video-tag {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(249, 236, 0, 0.15);
  color: var(--yellow);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(249, 236, 0, 0.35);
  border-radius: var(--r-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.feature-video-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  animation: feature-video-pulse-dot 2s ease-in-out infinite;
}

@keyframes feature-video-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.feature-video-play-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.feature-video-play {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: not-allowed;
  position: relative;
  padding-left: 4px; /* optical center for the play triangle */
  box-shadow: 0 18px 50px -16px rgba(249, 236, 0, 0.55), 0 8px 24px -8px rgba(0, 0, 0, 0.5);
  transition: transform var(--t-med) var(--ease);
}

.feature-video-play[disabled] {
  opacity: 0.95;
}

.feature-video-play::before,
.feature-video-play::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(249, 236, 0, 0.4);
  pointer-events: none;
}

.feature-video-play::before {
  animation: feature-video-pulse 2.4s ease-out infinite;
}

.feature-video-play::after {
  animation: feature-video-pulse 2.4s ease-out infinite;
  animation-delay: 1.2s;
}

@keyframes feature-video-pulse {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-video-play::before,
  .feature-video-play::after,
  .feature-video-tag::before {
    animation: none;
  }
}

.feature-video-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-6);
  z-index: 2;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.65) 100%);
}

.feature-video-caption-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}

.feature-video-caption-title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--white);
}

.feature-video-caption-title .italic {
  font-style: italic;
  color: var(--yellow);
  font-weight: 400;
}

.feature-video-caption-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .feature-video-play {
    width: 72px;
    height: 72px;
  }
  .feature-video-caption {
    padding: var(--space-5);
  }
  .feature-video-tag {
    top: var(--space-4);
    right: var(--space-4);
  }
}

/* ============================================
   SECTION-HEAD — used on contact / journey / reviews / trial / memberships
   ============================================ */

.section-head {
  margin-bottom: var(--space-7);
  max-width: 760px;
}
.section-head.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head .eyebrow {
  margin-bottom: var(--space-4);
}

.section-head h2,
.section-head h3 {
  margin-bottom: var(--space-5);
}

.section-head-desc {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.55;
  color: var(--graphite);
  max-width: 680px;
}

/* ============================================
   MEDICAL PROGRAM PAGE — individual program template
   ============================================ */

/* Hero */
.program-page-hero {
  background: var(--cream);
  padding: 140px 0 var(--space-8);
  position: relative;
}

.program-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--graphite);
  text-decoration: none;
  margin-bottom: var(--space-6);
  transition: color var(--t-fast) var(--ease), gap var(--t-fast) var(--ease);
}

.program-back-link:hover {
  color: var(--black);
  gap: 10px;
}

.program-page-hero-inner {
  max-width: 880px;
}

.program-page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: var(--space-5);
}

.program-page-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--yellow);
}

.program-page-title-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-5);
  align-items: start;
}

.program-page-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.program-page-icon svg {
  width: 38px;
  height: 38px;
}

.program-page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--black);
  margin-bottom: var(--space-3);
}

.program-page-title .italic {
  font-style: italic;
  color: var(--graphite);
  font-weight: 400;
}

.program-page-tagline {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--graphite);
  line-height: 1.4;
}

/* Body */
.program-page-body {
  background: var(--white);
  padding: var(--space-8) 0;
}

.program-page-body-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: var(--space-8);
  align-items: start;
}

.program-page-body-inner {
  max-width: 720px;
}

.program-page-media {
  position: sticky;
  top: 96px;
}

.program-page-media-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  /* Sticky column: never taller than a screen, so it can't outrun the copy */
  max-height: calc(100vh - 140px);
  object-fit: cover;
  border-radius: var(--r-xl);
  border: 1px solid rgba(10, 10, 10, 0.06);
  background: var(--cream);
}

@media (max-width: 880px) {
  .program-page-body-layout {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }
  .program-page-media {
    position: static;
    order: -1;
  }
  .program-page-media-img {
    aspect-ratio: 16 / 9;
    max-height: none;
    /* Portrait sources put people high in frame, so a centred crop
       cuts heads off. Bias the visible band upward. */
    object-position: center 20%;
  }
}

.program-lede {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.1vw, 1.5rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--black);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

.program-page-body-inner p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--graphite);
  margin-bottom: var(--space-4);
  letter-spacing: -0.005em;
}

.program-page-body-inner p:last-child {
  margin-bottom: 0;
}

.program-pull-quote {
  margin: var(--space-7) 0 0;
  padding: var(--space-5) var(--space-6);
  border-left: 3px solid var(--yellow);
  background: var(--off-white);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.program-pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: var(--black);
  margin: 0;
  letter-spacing: -0.01em;
}

/* Inclusions section */
.program-inclusions-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-9);
  align-items: start;
}

.program-inclusions-head .eyebrow {
  margin-bottom: var(--space-4);
}

.program-inclusions-head h2 {
  margin-bottom: var(--space-5);
}

.program-inclusions-head p {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.55;
  color: var(--graphite);
}

.program-inclusions-list {
  margin: 0;
}

@media (max-width: 880px) {
  .program-inclusions-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

/* Dual CTA */
.program-cta-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--space-5);
}

.program-cta-card {
  padding: var(--space-7);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
}

.program-cta-primary {
  background: var(--black);
  color: var(--white);
}

.program-cta-primary .program-cta-eyebrow {
  color: var(--yellow);
}

.program-cta-primary h2 {
  color: var(--white);
}

.program-cta-primary h2 .italic {
  color: var(--yellow);
}

.program-cta-primary p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-6);
  font-size: 15px;
  line-height: 1.55;
}

.program-cta-secondary {
  background: var(--cream);
  border: 1px solid rgba(10, 10, 10, 0.06);
}

.program-cta-secondary .program-cta-eyebrow {
  color: var(--black);
}

.program-cta-secondary h2 {
  color: var(--black);
}

.program-cta-secondary h2 .italic {
  color: var(--graphite);
  font-weight: 400;
}

.program-cta-secondary p {
  color: var(--graphite);
  margin-bottom: var(--space-6);
  font-size: 15px;
  line-height: 1.55;
}

.program-cta-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.program-cta-card h2 {
  margin-bottom: var(--space-3);
}

.program-cta-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Single free-tour CTA banner */
.program-cta-banner {
  background: var(--black);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-7);
}

.program-cta-banner-text {
  max-width: 640px;
}

.program-cta-banner .program-cta-eyebrow {
  color: var(--yellow);
}

.program-cta-banner h2 {
  color: var(--white);
  margin-bottom: var(--space-3);
}

.program-cta-banner h2 .italic {
  color: var(--yellow);
}

.program-cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 0;
}

.program-cta-banner-btn {
  flex-shrink: 0;
}

@media (max-width: 880px) {
  .program-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-7);
    gap: var(--space-6);
  }
}

@media (max-width: 880px) {
  .program-cta-grid {
    grid-template-columns: 1fr;
  }
}

/* Related programs grid */
.program-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.program-related-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--charcoal);
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}

.program-related-card:hover {
  transform: translateY(-3px);
  border-color: var(--yellow);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.15);
}

.program-related-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--yellow-soft);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.program-related-icon svg {
  width: 26px;
  height: 26px;
}

.program-related-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--black);
  margin-bottom: 8px;
}

.program-related-tagline {
  font-size: 14px;
  color: var(--graphite);
  line-height: 1.45;
  margin-bottom: var(--space-5);
  flex: 1;
}

.program-related-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.01em;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(10, 10, 10, 0.06);
  transition: gap var(--t-fast) var(--ease);
}

.program-related-card:hover .program-related-arrow {
  gap: 10px;
}

@media (max-width: 880px) {
  .program-related-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   MEDICAL PROGRAM CARDS on trial.html — now clickable
   ============================================ */

.medical-program {
  position: relative;
  cursor: pointer;
}

.medical-program-link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.medical-program-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.medical-program-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-4);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--black);
  align-self: flex-start;
  transition: gap var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.medical-program:hover .medical-program-cta {
  gap: 10px;
  color: var(--black);
}

/* ============================================
   ICON ANIMATIONS — thematic motion per icon type
   ============================================ */

/* Override the generic scale-on-hover with per-type animations.
   Selector specificity beats the existing .class-card:hover .class-icon svg rule. */

.class-card[data-class-type] .class-icon svg,
.care-card[data-care-type] .care-icon {
  transform-origin: center;
  /* keep a smooth idle state so animations can interrupt cleanly */
}

/* ===== Class category icons ===== */

/* Strength — barbell lift: tilt and rise */
@keyframes icon-strength {
  0%   { transform: rotate(0) translateY(0); }
  50%  { transform: rotate(-7deg) translateY(-4px); }
  100% { transform: rotate(0) translateY(0); }
}
.class-card[data-class-type="strength"]:hover .class-icon svg {
  animation: icon-strength 0.6s ease-in-out;
  transform: none;
}

/* Cardio — heartbeat double pulse */
@keyframes icon-cardio {
  0%   { transform: scale(1); }
  20%  { transform: scale(1.15); }
  40%  { transform: scale(1.02); }
  60%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.class-card[data-class-type="cardio"]:hover .class-icon svg {
  animation: icon-cardio 0.7s ease-out;
  transform: none;
}

/* Reformer — tilt rotation */
@keyframes icon-reformer {
  0%   { transform: rotate(0); }
  50%  { transform: rotate(-8deg); }
  100% { transform: rotate(0); }
}
.class-card[data-class-type="reformer"]:hover .class-icon svg {
  animation: icon-reformer 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: none;
}

/* Pilates — slow gentle rotation */
@keyframes icon-pilates {
  0%   { transform: rotate(0); }
  50%  { transform: rotate(5deg); }
  100% { transform: rotate(0); }
}
.class-card[data-class-type="pilates"]:hover .class-icon svg {
  animation: icon-pilates 0.7s ease-in-out;
  transform: none;
}

/* Bones — firm scale up with bounce */
@keyframes icon-bones {
  0%   { transform: scale(1); }
  60%  { transform: scale(1.18); }
  80%  { transform: scale(0.96); }
  100% { transform: scale(1.08); }
}
.class-card[data-class-type="bones"]:hover .class-icon svg {
  animation: icon-bones 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  transform: none;
}
.class-card[data-class-type="bones"] .class-icon svg {
  transition: transform 0.3s ease;
}

/* Balance — side-to-side wobble */
@keyframes icon-balance {
  0%   { transform: rotate(0); }
  20%  { transform: rotate(-6deg); }
  40%  { transform: rotate(5deg); }
  60%  { transform: rotate(-3deg); }
  80%  { transform: rotate(2deg); }
  100% { transform: rotate(0); }
}
.class-card[data-class-type="balance"]:hover .class-icon svg {
  animation: icon-balance 0.7s ease-out;
  transform: none;
}

/* Sweat — rapid pulse (two quick beats) */
@keyframes icon-sweat {
  0%   { transform: scale(1) translateY(0); }
  25%  { transform: scale(1.08) translateY(-2px); }
  50%  { transform: scale(1) translateY(0); }
  75%  { transform: scale(1.08) translateY(-2px); }
  100% { transform: scale(1) translateY(0); }
}
.class-card[data-class-type="sweat"]:hover .class-icon svg {
  animation: icon-sweat 0.55s ease-out;
  transform: none;
}

/* Hips & legs — bounce */
@keyframes icon-hips {
  0%   { transform: translateY(0); }
  35%  { transform: translateY(-6px); }
  65%  { transform: translateY(2px); }
  100% { transform: translateY(0); }
}
.class-card[data-class-type="hips"]:hover .class-icon svg {
  animation: icon-hips 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: none;
}

/* Groove — rhythmic sway, slightly playful */
@keyframes icon-groove {
  0%   { transform: rotate(0); }
  20%  { transform: rotate(-7deg); }
  40%  { transform: rotate(6deg); }
  60%  { transform: rotate(-4deg); }
  80%  { transform: rotate(3deg); }
  100% { transform: rotate(0); }
}
.class-card[data-class-type="groove"]:hover .class-icon svg {
  animation: icon-groove 0.8s ease-in-out;
  transform: none;
}

/* Flexibility — vertical stretch */
@keyframes icon-flexibility {
  0%   { transform: scaleY(1) scaleX(1); }
  50%  { transform: scaleY(1.18) scaleX(0.92); }
  100% { transform: scaleY(1) scaleX(1); }
}
.class-card[data-class-type="flexibility"]:hover .class-icon svg {
  animation: icon-flexibility 0.55s ease-in-out;
  transform: none;
}

/* ===== Care team icons (target the whole .care-icon since icons sit inside gradient spheres) ===== */

/* Physio — gentle rotation (knowing, considered) */
@keyframes care-physio {
  0%   { transform: scale(1) rotate(0); }
  50%  { transform: scale(1.06) rotate(4deg); }
  100% { transform: scale(1) rotate(0); }
}
.care-card[data-care-type="physio"]:hover .care-icon {
  animation: care-physio 0.7s ease-in-out;
}

/* EP — scale with slight bounce */
@keyframes care-ep {
  0%   { transform: scale(1) translateY(0); }
  50%  { transform: scale(1.1) translateY(-3px); }
  100% { transform: scale(1.05) translateY(0); }
}
.care-card[data-care-type="ep"]:hover .care-icon {
  animation: care-ep 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Strength coach — firm scale up, slight overshoot */
@keyframes care-strength {
  0%   { transform: scale(1); }
  60%  { transform: scale(1.14); }
  100% { transform: scale(1.06); }
}
.care-card[data-care-type="strength"]:hover .care-icon {
  animation: care-strength 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Remedial — gentle rotation tilt + scale */
@keyframes care-remedial {
  0%   { transform: scale(1) rotate(0); }
  50%  { transform: scale(1.06) rotate(-5deg); }
  100% { transform: scale(1) rotate(0); }
}
.care-card[data-care-type="remedial"]:hover .care-icon {
  animation: care-remedial 0.65s ease-in-out;
}

/* Accessibility — respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .class-card[data-class-type]:hover .class-icon svg,
  .care-card[data-care-type]:hover .care-icon {
    animation: none;
  }
}

/* ============================================
   HOMEPAGE PROGRAMS PREVIEW — surfaces the 6 medical programs
   ============================================ */

.programs-preview {
  background: var(--cream);
}

.programs-preview-head {
  max-width: 760px;
  margin-bottom: var(--space-8);
}

.programs-preview-title-main {
  margin-top: var(--space-4);
}

.programs-preview-desc {
  margin-top: var(--space-5);
  color: var(--graphite);
  max-width: 620px;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.55;
}

.programs-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-7);
}

.program-preview-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--charcoal);
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}

.program-preview-card:hover {
  transform: translateY(-4px);
  border-color: var(--yellow);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.18);
}

.program-preview-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  transition: transform var(--t-med) var(--ease);
}

.program-preview-card:hover .program-preview-icon {
  transform: scale(1.08) rotate(-4deg);
}

.program-preview-icon svg {
  width: 30px;
  height: 30px;
}

.program-preview-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--black);
  margin-bottom: 8px;
}

.program-preview-tagline {
  font-size: 14px;
  color: var(--graphite);
  line-height: 1.5;
  margin-bottom: var(--space-5);
  flex: 1;
}

.program-preview-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.01em;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(10, 10, 10, 0.06);
  transition: gap var(--t-fast) var(--ease);
}

.program-preview-card:hover .program-preview-cta {
  gap: 10px;
}

.programs-preview-foot {
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .programs-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .programs-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   MEMBER JOURNEY VIDEO — cinematic feature section
   ============================================ */

.section-member-journey {
  background: var(--black);
  padding: var(--space-9) 0;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow behind the video for depth */
.section-member-journey::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  background: radial-gradient(ellipse at center, rgba(249, 236, 0, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.section-member-journey > .container {
  position: relative;
  z-index: 1;
}

/* Header — centered, max-width */
.member-journey-head {
  max-width: 740px;
  margin: 0 auto var(--space-8);
  text-align: center;
}

.member-journey-head .eyebrow-light {
  color: var(--yellow);
  justify-content: center;
}

.member-journey-title {
  color: var(--white);
  margin: var(--space-4) 0 var(--space-5);
}

.member-journey-title .italic {
  color: var(--yellow);
}

.member-journey-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

/* Video frame — 16:9, prominent */
.member-journey-video {
  margin: 0 auto var(--space-8);
  max-width: 1200px;
}

.member-journey-placeholder,
.member-journey-iframe,
.member-journey-html5 {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  overflow: hidden;
  display: block;
}

.member-journey-iframe,
.member-journey-html5 {
  border: 0;
  object-fit: cover;
}

.member-journey-placeholder {
  position: relative;
  background:
    radial-gradient(ellipse at center, rgba(40, 40, 40, 0.9) 0%, rgba(15, 15, 15, 1) 70%),
    linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 30px 80px -30px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Subtle film-grain texture on the placeholder */
.member-journey-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(249, 236, 0, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(249, 236, 0, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

.member-journey-tag {
  position: absolute;
  top: var(--space-5);
  left: var(--space-5);
  background: rgba(249, 236, 0, 0.95);
  color: var(--black);
  padding: 6px 12px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}

.member-journey-runtime {
  position: absolute;
  bottom: var(--space-5);
  right: var(--space-5);
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
}

.member-journey-play {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding-left: 5px; /* optical centering of triangle */
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  box-shadow: 0 0 0 0 rgba(249, 236, 0, 0.4), 0 18px 40px -12px rgba(249, 236, 0, 0.3);
  animation: journey-play-pulse 2.8s ease-in-out infinite;
}

.member-journey-play:disabled {
  cursor: default;
  animation: journey-play-pulse 3.4s ease-in-out infinite;
}

.member-journey-play:not(:disabled):hover {
  transform: scale(1.06);
  animation: none;
  box-shadow: 0 0 0 12px rgba(249, 236, 0, 0.15), 0 20px 50px -10px rgba(249, 236, 0, 0.45);
}

@keyframes journey-play-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249, 236, 0, 0.35), 0 18px 40px -12px rgba(249, 236, 0, 0.3); }
  50%      { box-shadow: 0 0 0 22px rgba(249, 236, 0, 0), 0 18px 40px -12px rgba(249, 236, 0, 0.3); }
}

/* Milestones — 3-column journey markers below the video */
.member-journey-milestones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: 1100px;
  margin: 0 auto var(--space-7);
}

.milestone {
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}

.milestone::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--yellow);
}

.milestone-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: var(--space-3);
}

.milestone-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

.milestone-title .italic {
  color: var(--yellow);
  font-weight: 400;
}

.milestone-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.member-journey-cta {
  display: flex;
  justify-content: center;
}

/* Responsive */
@media (max-width: 880px) {
  .member-journey-milestones {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .member-journey-play {
    width: 72px;
    height: 72px;
  }
}

/* ============================================
   MID-PAGE IMAGE BREAK — full-width visual rest
   ============================================ */

.image-break {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.image-break-img,
.image-break-placeholder {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.image-break-placeholder {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(249, 236, 0, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(249, 236, 0, 0.04) 0%, transparent 50%),
    linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 70%, #1a1a1a 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: var(--space-7) var(--space-6);
}

.image-break-tag {
  position: absolute;
  top: var(--space-5);
  right: var(--space-6);
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 10px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
}

.image-break-caption {
  max-width: 540px;
  z-index: 2;
}

.image-break-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: var(--space-3);
}

.image-break-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--yellow);
}

.image-break-text {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.image-break-text .italic {
  font-style: italic;
  font-weight: 400;
  color: var(--yellow);
}

@media (max-width: 700px) {
  .image-break-img,
  .image-break-placeholder {
    aspect-ratio: 4 / 3;
  }
  .image-break-placeholder {
    padding: var(--space-6) var(--space-5);
  }
}

/* ============================================
   TRIAL GRADUATES — video + written testimonials on trial.html
   ============================================ */

.trial-graduates .section-head {
  max-width: 760px;
  margin-bottom: var(--space-8);
}

/* Video tiles — 2 column grid */
.trial-graduates-videos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.grad-video {
  display: flex;
  flex-direction: column;
}

.grad-video-frame,
.grad-video-iframe,
.grad-video-html5 {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: block;
}

.grad-video-iframe,
.grad-video-html5 {
  border: 0;
  object-fit: cover;
}

.grad-video-frame {
  position: relative;
  background:
    radial-gradient(ellipse at center, rgba(40, 40, 40, 0.85) 0%, rgba(15, 15, 15, 1) 70%),
    linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 20px 50px -20px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  margin-bottom: var(--space-5);
}

.grad-video-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(249, 236, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.grad-video-tag {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: rgba(249, 236, 0, 0.95);
  color: var(--black);
  padding: 5px 10px;
  border-radius: var(--r-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}

.grad-video-runtime {
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  z-index: 2;
}

.grad-video-play {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding-left: 4px;
  transition: transform var(--t-med) var(--ease);
  box-shadow: 0 14px 30px -10px rgba(249, 236, 0, 0.3);
  animation: grad-play-pulse 3s ease-in-out infinite;
}

.grad-video-play:disabled { cursor: default; }

.grad-video-play:not(:disabled):hover {
  transform: scale(1.08);
  animation: none;
}

@keyframes grad-play-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249, 236, 0, 0.3), 0 14px 30px -10px rgba(249, 236, 0, 0.3); }
  50%      { box-shadow: 0 0 0 16px rgba(249, 236, 0, 0), 0 14px 30px -10px rgba(249, 236, 0, 0.3); }
}

.grad-video-info {
  padding: 0 var(--space-2);
}

.grad-video-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: var(--space-3);
}

.grad-video-pull {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--black);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0;
}

/* Written quote cards */
.trial-graduates-written {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.grad-quote {
  display: flex;
  flex-direction: column;
  padding: var(--space-6) var(--space-6) var(--space-5);
  background: var(--off-white);
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: var(--r-lg);
  position: relative;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}

.grad-quote:hover {
  transform: translateY(-2px);
  border-color: rgba(249, 236, 0, 0.5);
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.12);
}

.grad-quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 600;
  color: var(--yellow);
  line-height: 0.6;
  margin-bottom: var(--space-2);
  user-select: none;
}

.grad-quote-text {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--charcoal);
  margin-bottom: var(--space-5);
  flex: 1;
}

.grad-quote-meta {
  padding-top: var(--space-4);
  border-top: 1px solid rgba(10, 10, 10, 0.06);
}

.grad-quote-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.grad-quote-program {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--graphite);
}

@media (max-width: 880px) {
  .trial-graduates-videos {
    grid-template-columns: 1fr;
  }
  .trial-graduates-written {
    grid-template-columns: 1fr;
  }
  .grad-video-play {
    width: 60px;
    height: 60px;
  }
}

/* ============================================
   TRIAL PAGE — larger, clearer program cards for over-50s legibility
   (.medical-program* classes are used only on trial.html)
   ============================================ */
.medical-programs-grid { gap: var(--space-5); }
.medical-program { padding: clamp(var(--space-5), 3vw, var(--space-7)); }
.medical-program-icon { width: 64px; height: 64px; margin-bottom: var(--space-4); }
.medical-program-icon svg { width: 30px; height: 30px; }
.medical-program-title { font-size: 1.55rem; margin-bottom: var(--space-3); }
.medical-program-desc { font-size: 16.5px; line-height: 1.6; }
.medical-program-cta { font-size: 15px; margin-top: var(--space-5); }
.medical-program-cta svg { width: 16px; height: 16px; }

/* ---- Program card actions: Learn more + Book free tour ---- */
.medical-program { cursor: default; }
.medical-program-actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}
.medical-program-actions .btn {
  flex: 1 1 130px;
  justify-content: center;
  padding: 0.85rem 1.1rem;
  font-size: 14.5px;
  gap: var(--space-2);
}
.medical-program-actions .btn .arrow { width: 13px; height: 13px; }

/* Simple "how to start" note inside each card */
.medical-program-note {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(10, 10, 10, 0.08);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--graphite);
}
.medical-program-note svg { flex: none; width: 18px; height: 18px; color: var(--black); }

/* Wider 2-column program grid so Learn more + Book free tour sit side by side */
.medical-programs-grid { grid-template-columns: repeat(2, 1fr); }
.medical-program-actions .btn { flex: 1 1 0; min-width: 0; }
@media (max-width: 680px) {
  .medical-programs-grid { grid-template-columns: 1fr; }
  .medical-program-actions { flex-direction: column; }
  .medical-program-actions .btn { flex: 1 1 auto; }
}

/* ============================================
   TRIAL HERO — two columns: content + program quick-jump list
   ============================================ */
.hero-trial .hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
  max-width: var(--container);
  width: 100%;
  gap: clamp(var(--space-6), 5vw, var(--space-9));
  align-items: center;
}

.hero-program-list {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-lg);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
}

.hero-program-list-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  padding: var(--space-3) var(--space-4) var(--space-3);
}

.hero-program-list-note {
  margin: 0;
  padding: 0 var(--space-4) var(--space-4);
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}
.hero-program-list-note strong { color: var(--white); font-weight: 600; }

.hero-program-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-4);
  border-radius: var(--r-md);
  color: var(--white);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}
.hero-program-link:first-of-type { border-top: none; }

/* Program icon badge inside the trial quick-jump menu */
.hero-program-link > span:not(.hero-program-icon) { flex: 1 1 auto; min-width: 0; }
.hero-program-link .hero-program-icon svg { width: 22px; height: 22px; opacity: 1; }
.hero-program-link:hover .hero-program-icon,
.hero-program-link:focus-visible .hero-program-icon { background: rgba(10, 10, 10, 0.12); color: var(--black); }

.hero-program-link svg {
  width: 16px;
  height: 16px;
  flex: none;
  opacity: 0.6;
  transition: opacity var(--t-fast) var(--ease);
}

.hero-program-link:hover,
.hero-program-link:focus-visible {
  background: var(--yellow);
  color: var(--black);
  padding-left: var(--space-5);
  outline: none;
}
.hero-program-link:hover svg,
.hero-program-link:focus-visible svg { opacity: 1; }

/* Offset jump targets so the fixed header doesn't cover the card */
.medical-program { scroll-margin-top: 100px; }

/* Stack on smaller screens: list moves below the hero content */
@media (max-width: 900px) {
  .hero-trial .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    align-items: start;
  }
  .hero-program-list { width: 100%; }
}

/* ---- Homepage hero program menu: name + Book / Find out more ---- */
.hero-program-note-link {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  transition: text-decoration-color var(--t-fast) var(--ease);
}
.hero-program-note-link:hover,
.hero-program-note-link:focus-visible { text-decoration-color: var(--yellow); outline: none; }

/* Each program is one clean, full-row link to its page */
.hero-program-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: background var(--t-fast) var(--ease);
}
.hero-program-row:hover,
.hero-program-row:focus-visible { background: rgba(255, 255, 255, 0.05); outline: none; }

.hero-program-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease);
}
.hero-program-icon svg { width: 22px; height: 22px; }
.hero-program-row:hover .hero-program-icon,
.hero-program-row:focus-visible .hero-program-icon { background: var(--yellow); color: var(--black); }

.hero-program-name {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--white);
}

.hero-program-chevron {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.4);
  transition: transform var(--t-med) var(--ease), color var(--t-med) var(--ease);
}
.hero-program-row:hover .hero-program-chevron,
.hero-program-row:focus-visible .hero-program-chevron { color: var(--yellow); transform: translateX(3px); }

/* ---- Homepage condensed classes teaser ---- */
.classes-teaser-lead {
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--graphite);
  margin: var(--space-5) 0 var(--space-6);
}
.classes-teaser-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.classes-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  border: 1.5px solid rgba(10, 10, 10, 0.14);
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  color: var(--black);
  text-decoration: none;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.classes-chip:hover,
.classes-chip:focus-visible {
  background: var(--yellow);
  border-color: var(--black);
  transform: translateY(-2px);
  outline: none;
}

/* ============================================
   HOMEPAGE — "Choose your program" section (below hero)
   ============================================ */
.choose-program-section {
  background: var(--black);
  color: var(--white);
}
.choose-program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-6), 5vw, var(--space-9));
  align-items: center;
}
.choose-program-section .display-lg { color: var(--white); }
.choose-program-section .display-lg .accent { color: var(--yellow); }
.choose-program-lead {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 46ch;
  margin: var(--space-5) 0 var(--space-6);
}
.choose-program-intro .eyebrow-light { margin-bottom: var(--space-4); }

@media (max-width: 900px) {
  .choose-program-grid { grid-template-columns: 1fr; gap: var(--space-7); align-items: start; }
}

/* ============================================
   MISSION — homepage teaser + about page essay
   ============================================ */
.mission-teaser-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.mission-teaser-inner .eyebrow { justify-content: center; }
.mission-teaser-statement {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  line-height: 1.07;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--black);
  margin: var(--space-4) 0 var(--space-5);
}
.mission-teaser-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--graphite);
  max-width: 56ch;
  margin: 0 auto var(--space-7);
}

/* About page mission essay */
.mission-essay { max-width: 760px; margin: 0 auto; }
.mission-essay .eyebrow { text-align: center; }
.mission-essay h2 { margin: var(--space-4) 0 var(--space-6); text-align: center; }
.mission-essay-body p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--graphite);
  margin-bottom: var(--space-5);
}

/* Best type of exercising essay (about page) */
.best-exercise .essay {
  max-width: 720px;
  margin: 0 auto;
}

.best-exercise .essay p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--graphite);
  margin-bottom: var(--space-5);
}

.essay-lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.4;
  color: var(--black) !important;
  letter-spacing: -0.01em;
}

.essay-subhead {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--black);
  margin: var(--space-7) 0 var(--space-4);
}

.essay-list {
  list-style: none;
  margin: 0 0 var(--space-5);
  padding: 0;
}

.essay-list li {
  position: relative;
  padding-left: var(--space-5);
  font-size: 17px;
  line-height: 1.7;
  color: var(--graphite);
  margin-bottom: var(--space-3);
}

.essay-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
}

.essay-close {
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 18px !important;
  color: var(--black) !important;
}

.essay-readmore {
  margin-top: var(--space-6);
}
.mission-essay-body p:last-child { margin-bottom: 0; }
.mission-signoff {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--black);
  margin: var(--space-7) 0 var(--space-3);
}
.mission-author { font-size: 15px; color: var(--grey); font-style: italic; }

/* ---- Story of Team8 pull-quote (About page) ---- */
.origin-quote {
  margin: clamp(var(--space-7), 6vw, var(--space-9)) auto 0;
  max-width: 24ch;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--black);
  position: relative;
  padding-top: var(--space-6);
}
.origin-quote::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 3px;
  background: var(--yellow);
}

/* ---- Real Google rating link in testimonials header (dark section) ---- */
.reviews-google {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-5);
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 15px;
}
.reviews-google-stars {
  color: var(--yellow);
  font-size: 18px;
  letter-spacing: 2px;
  line-height: 1;
}
.reviews-google strong { color: var(--white); font-weight: 700; }
.reviews-google-more {
  color: var(--yellow);
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: border-color var(--t-fast) var(--ease);
}
.reviews-google:hover .reviews-google-more,
.reviews-google:focus-visible .reviews-google-more { border-bottom-color: var(--yellow); }

/* ============================================
   REVIEWS PAGE — black hero with animated "8" graphic
   ============================================ */
.page-hero.reviews-hero {
  background-color: var(--black);
  color: var(--white);
  overflow: hidden;
}
.page-hero.reviews-hero .page-hero-eyebrow { color: var(--yellow); }
.page-hero.reviews-hero .page-hero-eyebrow::before { background: var(--yellow); }
.page-hero.reviews-hero .display-xl { color: var(--white); }
.page-hero.reviews-hero .display-xl .italic { color: var(--yellow); }
.page-hero.reviews-hero p { color: rgba(255, 255, 255, 0.72); }
.page-hero.reviews-hero .hero-rating {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.85);
}
.page-hero.reviews-hero .hero-rating-stars { color: var(--yellow); }
.page-hero.reviews-hero .hero-rating span { color: rgba(255, 255, 255, 0.8); }
.page-hero.reviews-hero .hero-rating strong { color: var(--white); }

.page-hero.reviews-hero .page-hero-decoration {
  display: block;
  opacity: 0.72;
}
@keyframes hero8Float {
  0%, 100% { transform: translateY(-50%) rotate(-5deg); }
  50%      { transform: translateY(calc(-50% - 18px)) rotate(5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero-decoration { animation: none; }
}

/* ============================================
   PROGRAMS LISTING PAGE
   ============================================ */
.programs-intro {
  max-width: 760px;
  margin-bottom: clamp(var(--space-6), 5vw, var(--space-8));
}
.programs-intro p {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--graphite);
  margin: 0;
}
.programs-intro strong { color: var(--black); font-weight: 600; }
.programs-intro-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(10, 10, 10, 0.25);
  white-space: nowrap;
  transition: text-decoration-color var(--t-fast) var(--ease);
}
.programs-intro-link:hover,
.programs-intro-link:focus-visible { text-decoration-color: var(--black); outline: none; }
.programs-intro-link .arrow { width: 13px; height: 13px; }

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(var(--space-5), 3vw, var(--space-6));
}

.program-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding: clamp(var(--space-5), 3vw, var(--space-6));
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: var(--r-xl);
  text-decoration: none;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.program-card:hover,
.program-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(10, 10, 10, 0.10);
  border-color: rgba(10, 10, 10, 0.14);
  outline: none;
}

.program-card-icon {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-med) var(--ease);
}
.program-card-icon svg { width: 30px; height: 30px; }
.program-card:hover .program-card-icon,
.program-card:focus-visible .program-card-icon { transform: scale(1.08) rotate(-4deg); }

.program-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--black);
  margin: 0;
}
.program-card-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--graphite);
  margin: 0;
  flex: 1 1 auto;
}
.program-card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin-top: var(--space-2);
}
.program-card-more svg { width: 14px; height: 14px; transition: transform var(--t-fast) var(--ease); }
.program-card:hover .program-card-more svg,
.program-card:focus-visible .program-card-more svg { transform: translateX(4px); }

@media (max-width: 980px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .programs-grid { grid-template-columns: 1fr; }
}

/* ===== Trial page — animated brand "8" with program icons ===== */
.medical-programs-intro {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(var(--space-6), 5vw, var(--space-9));
  align-items: center;
  margin-bottom: clamp(var(--space-7), 5vw, var(--space-8));
}
.medical-programs-intro .section-head { margin-bottom: 0; }

.programs-eight { position: relative; }
.programs-eight-svg {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  margin: 0 auto;
  overflow: visible;
}

.programs-eight .eight-outline {
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.7s var(--ease) 0.15s;
}
.programs-eight.in .eight-outline { stroke-dashoffset: 0; }

.programs-eight .eight-fill { opacity: 0; transition: opacity 0.9s ease 0.55s; }
.programs-eight.in .eight-fill { opacity: 1; }

.programs-eight .eight-badge {
  opacity: 0;
  transform: scale(0.4);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.programs-eight.in .eight-badge { opacity: 1; transform: scale(1); }

.eight-float { animation: eightFloat 5s ease-in-out infinite; }
@keyframes eightFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 900px) {
  .medical-programs-intro { display: block; }
  .programs-eight { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .programs-eight .eight-outline { stroke-dashoffset: 0; transition: none; }
  .programs-eight .eight-fill,
  .programs-eight .eight-badge { opacity: 1; transform: none; transition: none; }
  .eight-float { animation: none; }
}

/* Beating heart beside "love." on the about story heading */
.heart-beat {
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  margin-left: 0.22em;
  color: var(--yellow);
  vertical-align: -0.02em;
  transform-origin: center;
  animation: heartbeat 1.4s ease-in-out infinite;
}
.heart-beat path {
  stroke: var(--black);
  stroke-width: 1.6;
  stroke-linejoin: round;
  paint-order: stroke;
}
@keyframes heartbeat {
  0%   { transform: scale(1); }
  10%  { transform: scale(1.25); }
  20%  { transform: scale(1); }
  30%  { transform: scale(1.18); }
  42%  { transform: scale(1); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .heart-beat { animation: none; }
}

/* Journey intro eyebrow — match the reviews hero: yellow with a visible dash.
   Scoped under .journey-dark to outrank the page's inline .journey-dark .eyebrow rule. */
.journey-dark .journey-intro .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--yellow);
  margin-bottom: var(--space-5);
}
.journey-dark .journey-intro .eyebrow::before {
  content: '';
  width: 30px;
  height: 1.5px;
  background: var(--yellow);
}

/* Persistent mobile "Book a free tour" bar (homepage) — keeps the primary CTA one tap away */
.mobile-sticky-cta { display: none; }
@media (max-width: 768px) {
  .mobile-sticky-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 12px 18px;
    background: var(--yellow);
    color: var(--black);
    border-radius: var(--r-pill);
    text-decoration: none;
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.55);
    transform: translateY(150%);
    opacity: 0;
    transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  }
  .mobile-sticky-cta.visible { transform: translateY(0); opacity: 1; }
  .mobile-sticky-cta-text { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
  .mobile-sticky-cta-sub { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.72; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-sticky-cta { transition: opacity 0.3s ease; }
}

/* Hero tour-reassurance microcopy */
.hero-reassure {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: var(--space-4);
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 500;
}
.hero-reassure svg { width: 16px; height: 16px; color: var(--yellow); flex-shrink: 0; }

/* Demoted memberships teaser (alternate homepage) */
.membership-teaser-section { padding-top: clamp(var(--space-6), 6vw, var(--space-7)); padding-bottom: clamp(var(--space-6), 6vw, var(--space-7)); }
.membership-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: clamp(1.1rem, 2.5vw, 1.5rem) clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: var(--r-xl);
  background: var(--off-white);
  text-decoration: none;
  color: var(--black);
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.membership-teaser:hover { border-color: var(--black); transform: translateY(-1px); }
.membership-teaser-text { font-size: clamp(15px, 2vw, 17px); color: var(--graphite); }
.membership-teaser-text strong { color: var(--black); font-weight: 700; }
.membership-teaser-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; }
.membership-teaser-link svg { width: 15px; height: 15px; flex-shrink: 0; }
@media (max-width: 600px) {
  .membership-teaser { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
}

/* ========================================================================
   MOBILE LAYOUT FIXES (June 2026) — tighter section gaps, one-line headings,
   and a non-overlapping "Most popular" badge on narrow membership cards.
   ======================================================================== */
@media (max-width: 700px) {
  .section { padding: var(--space-7) 0; }     /* 64px -> 48px */
  .section-lg { padding: var(--space-8) 0; }  /* 96px -> 64px */
  .cta-block { padding: var(--space-7) 0; }    /* CTA wrappers (memberships/contact) */
  .section .cta-block { padding-block: 0; }    /* contact nests .section > .cta-block — avoid doubled padding */
}

@media (max-width: 600px) {
  /* Headings flagged to collapse onto a single line on phones */
  .br-mobile-hide { display: none; }

  /* "Most popular" badge was overlapping the eyebrow on the narrow Flexi card —
     drop it into normal flow as a pill above the card content instead. */
  .membership-card.featured::before {
    position: static;
    display: inline-block;
    top: auto;
    right: auto;
    margin-bottom: var(--space-4);
  }
}

@media (max-width: 480px) {
  .section { padding: var(--space-6) 0; }      /* 48px -> 32px on small phones */
  .cta-block { padding: var(--space-6) 0; }
}

/* ============================================
   VIDEO REVIEWS — inline playback
   Added with the ACF video review fields. The card plays in place
   rather than opening a popup.
   ============================================ */

.video-review-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Keeps the quote and name readable over a photo poster */
.video-review-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Light. Just enough for the play button and duration badge to read
     against a bright frame. No caption to protect any more. */
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.35) 0%,
    rgba(10, 10, 10, 0.05) 40%,
    rgba(10, 10, 10, 0.35) 100%
  );
  transition: background var(--t-med) var(--ease);
}

.video-review:hover .video-review-scrim {
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.45) 0%,
    rgba(10, 10, 10, 0.10) 40%,
    rgba(10, 10, 10, 0.45) 100%
  );
}

.video-review-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 4;
  background: #000;
}

/* While playing, everything else gets out of the way */
.video-review.is-playing .video-review-meta,
.video-review.is-playing .video-review-play,
.video-review.is-playing .video-review-scrim {
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast) var(--ease);
}

.video-review.is-playing::before {
  opacity: 0;
}

.video-review.is-playing:hover {
  transform: none;
  box-shadow: none;
}

/* Cards with no video link yet: no pointer, no hover lift */
.video-review:not([data-video-embed]) {
  cursor: default;
}

.video-review:not([data-video-embed]):hover {
  transform: none;
  box-shadow: none;
}

/* ============================================
   RELATED PROGRAMS — horizontal scroller
   Was a fixed 3-up grid. Now shows every other program in a
   swipeable row, so nothing is hidden and the current page
   excludes itself.
   ============================================ */

.program-related-scroller {
  margin-top: var(--space-7);
  /* Bleed to the viewport edges so cards run off-screen rather than
     stopping short at the container, which reads as "there is more". */
  margin-left: calc(-1 * var(--space-5));
  margin-right: calc(-1 * var(--space-5));
  padding-left: var(--space-5);
  padding-right: var(--space-5);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--space-5);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(10, 10, 10, 0.2) transparent;
}

.program-related-scroller:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
  border-radius: var(--r-lg);
}

.program-related-scroller::-webkit-scrollbar {
  height: 6px;
}

.program-related-scroller::-webkit-scrollbar-track {
  background: transparent;
}

.program-related-scroller::-webkit-scrollbar-thumb {
  background: rgba(10, 10, 10, 0.18);
  border-radius: 99px;
}

.program-related-scroller:hover::-webkit-scrollbar-thumb {
  background: rgba(10, 10, 10, 0.32);
}

/* Override the old 3-up grid: a single row that overflows */
.program-related-scroller .program-related-grid {
  display: flex;
  grid-template-columns: none;
  margin-top: 0;
  padding-bottom: var(--space-4);
}

.program-related-scroller .program-related-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
}

@media (max-width: 900px) {
  .program-related-scroller .program-related-grid {
    grid-template-columns: none;
  }

  .program-related-scroller .program-related-card {
    flex: 0 0 78vw;
    max-width: 320px;
  }
}

/* Lifting a card inside a scroller clips against overflow, so drop the
   translate and keep the border and shadow cues. */
.program-related-scroller .program-related-card:hover {
  transform: none;
}

.contact-form-message {
  margin-bottom: var(--space-5);
  padding: var(--space-4);
  border-radius: var(--r-md);
  font-size: 14px;
  line-height: 1.55;
}

.contact-form-success {
  background: #eef8ef;
  border: 1px solid #b9ddb9;
  color: #234d28;
}

.contact-form-error {
  background: #fff1f1;
  border: 1px solid #e3b5b5;
  color: #752626;
}

