/* ============================================
   VATS & PARAM Ã¢â‚¬â€ Design System
   Premium Holistic Dentistry Website
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --color-navy: #5C0A0A;
  --color-navy-light: #7D1212;
  --color-navy-dark: #3A0606;
  --color-gold: #C6A75E;
  --color-gold-light: #d4bb7e;
  --color-gold-dark: #a8894a;
  /* Brighter gold + shadow tokens for text/labels sitting on top of video
     backgrounds (home.html / approach.html discovery sections) — the base
     --color-gold reads as muted/low-contrast against moving video, so
     these are reserved for that overlay use, not a sitewide gold swap. */
  --color-gold-bright: #F2C464;
  /* Explicitly no shadow, on request — plain flat colour only. */
  --video-text-shadow: none;
  --video-gold-shadow: none;
  --color-bg: #FFFFFF;
  --color-section-alt: #FDF5F5;
  --color-text: #1A1A1A;
  --color-text-light: #555555;
  --color-text-muted: #888888;
  --color-border: #EDE0E0;
  --color-overlay: rgba(92, 10, 10, 0.85);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font Sizes */
  --fs-hero: clamp(2.8rem, 5vw, 4.5rem);
  --fs-h1: clamp(2.2rem, 4vw, 3.5rem);
  --fs-h2: clamp(1.8rem, 3vw, 2.6rem);
  --fs-h3: clamp(1.3rem, 2vw, 1.6rem);
  --fs-h4: 1.15rem;
  --fs-body: 1.05rem;
  --fs-small: 0.92rem;
  --fs-caption: 0.82rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 900px;
  --container-wide: 1400px;
  --nav-height: 80px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.35s ease;
  --transition-slow: 0.6s ease;

  /* Shadows */
  --shadow-subtle: 0 2px 12px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-elevated: 0 8px 40px rgba(0, 0, 0, 0.1);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

/* ========== SPLASH SCREEN (Mobile) ========== */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.6s ease-out 2s, visibility 0s linear 2.6s;
  visibility: visible;
}

.splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.splash-screen__content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.splash-screen__logo {
  width: 80px;
  height: 80px;
  animation: logoFade 0.8s ease-in-out;
}

.splash-screen__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #802929;
  margin: 0;
  letter-spacing: 0.5px;
}

.splash-screen__subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: #5C0A0A;
  margin: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.splash-screen__tagline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #888888;
  margin: 0;
  line-height: 1.4;
  max-width: 280px;
}

@keyframes logoFade {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes wordFadeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.splash-screen__title .word,
.splash-screen__subtitle .word,
.splash-screen__tagline .word {
  display: inline-block;
  margin-right: 0.3em;
  opacity: 0;
  animation: wordFadeIn 0.6s ease-out forwards;
}

/* Per-word animation-delay is now set inline by wrapWordsInSpans() in assets/js/home.js,
   so it stays correct regardless of word count (see comment there). */

/* Hide splash screen on desktop */
@media (min-width: 769px) {
  .splash-screen {
    display: none;
  }
}

/* ----- About Page: Intro Loader (Mobile Only) ----- */
.about-intro-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff8f4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}

.about-intro-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.about-intro-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(92, 10, 10, 0.15);
  border-top-color: var(--color-navy);
  border-radius: 50%;
  animation: spinLoader 0.9s linear infinite;
  margin-top: 2rem;
}

.about-intro-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.35;
  color: var(--color-navy);
  text-align: center;
  max-width: 380px;
  margin: 0;
  padding: 0 2rem;
}

.about-intro-quote .about-intro-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  animation-name: aboutIntroWordFadeIn;
  animation-duration: 0.6s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

@keyframes aboutIntroWordFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hide entirely on desktop */
@media (min-width: 769px) {
  .about-intro-loader {
    display: none;
  }
}

/* Premium Bordered Content Box */
.premium-border-box {
  border: 4px solid var(--color-gold);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(92, 10, 10, 0.04);
  margin: var(--space-xl) 0;
  position: relative;
}

.premium-border-box::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: calc(var(--radius-lg) + 2px);
  pointer-events: none;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  margin: 0;
  padding: 0;
  background: #000;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  margin: 0;
  padding: 0;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

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

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--fs-h1);
  margin-bottom: var(--space-md);
}

h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-sm);
}

h4 {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-sm);
  color: var(--color-text-light);
}

.text-gold {
  color: var(--color-gold);
}

.text-navy {
  color: var(--color-navy);
}

.text-muted {
  color: var(--color-text-muted);
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
  display: block;
}

.section-subtitle {
  font-size: var(--fs-body);
  color: var(--color-text-light);
  max-width: 640px;
  line-height: 1.8;
}

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

/* ---------- Layout ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

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

.section--alt {
  background-color: var(--color-section-alt);
}

.section--navy {
  background-color: var(--color-navy);
  color: #ffffff;
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: #ffffff;
}

.section--navy p {
  color: rgba(255, 255, 255, 0.75);
}

.text-center {
  text-align: center;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background-color: #802929;
  color: #ffffff;
  border: 2px solid #802929;
}

.btn--primary:hover {
  background-color: #6a2020;
  border-color: #6a2020;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(128, 41, 41, 0.4);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}

.btn--secondary:hover {
  background-color: var(--color-navy);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn--white {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn--white:hover {
  background-color: #ffffff;
  color: var(--color-navy);
  transform: translateY(-1px);
}

.btn--gold-outline {
  background-color: transparent;
  color: var(--color-gold-bright);
  border: 2px solid var(--color-gold-bright);
  text-shadow: var(--video-gold-shadow);
}

.btn--gold-outline:hover {
  background-color: var(--color-gold-bright);
  color: var(--color-navy);
  text-shadow: none;
  transform: translateY(-1px);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  z-index: 1000;
  transition: background 0.4s ease,
              box-shadow 0.4s ease,
              opacity 0.3s ease;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.nav.nav--hidden {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  background: transparent !important;
  box-shadow: none !important;
}

.nav.nav--hidden .nav__inner {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Keep navbar visible at all times - show logo and links on desktop */
.nav--hidden .nav__logo {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
}

.nav--hidden .nav__link {
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block !important;
}

/* Burger menu hidden by default (desktop) */
/* Will be overridden to display: flex in mobile media query */

/* ========== MOBILE FEATURES - ABOUT PAGE ONLY ========== */
@media (max-width: 820px) {
  .nav__logo-tagline {
    display: block !important;
    font-size: 0.52rem !important;
  }

  /* ---- Mobile Burger Menu ---- */
  .nav__toggle {
    display: flex !important;
    position: relative !important;
    z-index: 6000 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Moved back inside the burger menu â€” see .nav__cta above */
  .nav__cta-mobile {
    display: none !important;
  }

  .nav__toggle span {
    background-color: var(--color-navy) !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nav.nav--transparent .nav__toggle span {
    background-color: #fff !important;
  }

  .nav__toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
    opacity: 1 !important;
    background-color: var(--color-navy) !important;
  }

  .nav__toggle.active span:nth-child(2) {
    opacity: 0 !important;
  }

  .nav__toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
    opacity: 1 !important;
    background-color: var(--color-navy) !important;
  }

  /* The adaptive-theme rules below (nav--over-dark/over-light/transparent) force
     white toggle bars for the hamburger icon over video heroes, but once the menu
     is open the toggle sits over the light slide-in panel and must stay navy
     regardless of theme. #mainNav boosts specificity so this always wins the tie. */
  #mainNav.nav--over-dark .nav__toggle.active span:nth-child(1),
  #mainNav.nav--over-dark .nav__toggle.active span:nth-child(3),
  #mainNav.nav--over-light .nav__toggle.active span:nth-child(1),
  #mainNav.nav--over-light .nav__toggle.active span:nth-child(3),
  #mainNav.nav--transparent .nav__toggle.active span:nth-child(1),
  #mainNav.nav--transparent .nav__toggle.active span:nth-child(3) {
    background-color: var(--color-navy) !important;
  }

  /* ---- Mobile Menu ---- */
  .nav__menu {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 85% !important;
    max-width: 340px !important;
    height: auto !important;
    max-height: 65vh !important;
    background: var(--color-bg) !important;
    padding: 0 !important;
    flex-direction: column !important;
    gap: 0 !important;
    box-shadow: var(--shadow-elevated) !important;
    transition: right var(--transition-base) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 5999 !important;
    will-change: right !important;
    border-radius: 20px !important;
  }

  /* Clears the hamburger/X toggle (fixed at the top of the bar) so the first
     item inside the panel â€” the Book Consultation button â€” doesn't sit flush
     against the very top edge or collide with it. */
  .nav__menu {
    padding-top: 4.5rem !important;
  }

  .nav__menu.open {
    right: 0 !important;
    z-index: 5999 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* When menu is open, X button should be dark on white background */
  .nav__menu.open + .nav__toggle.active span {
    background-color: var(--color-navy) !important;
  }

  .nav__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--color-navy);
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6001;
  }

  .nav__close:hover {
    opacity: 0.7;
  }

  .nav__links {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 0.75rem var(--space-lg) var(--space-lg);
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 5998 !important;
    position: relative;
    pointer-events: auto !important;
  }

  /* ===== FORCE ALL NAV TEXT TO BLACK - NO EXCEPTIONS ===== */
  .nav__menu,
  .nav__menu *,
  .nav__links,
  .nav__links * {
    color: #1A1A1A !important;
  }

  /* All nav items visible on mobile */
  .nav__item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* FORCE BLACK TEXT ON ALL NAV LINKS */
  .nav__link {
    color: #1A1A1A !important;
  }

  .nav__menu .nav__link {
    color: #1A1A1A !important;
    padding: 0.8rem 0 !important;
    border-bottom: 1px solid var(--color-border) !important;
    font-size: var(--fs-body) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
  }

  .nav.nav--transparent .nav__menu .nav__link {
    color: #1A1A1A !important;
  }

  .nav--over-dark .nav__menu .nav__link {
    color: #1A1A1A !important;
  }

  .nav__menu .nav__link:hover {
    color: #1A1A1A !important;
  }

  .nav.nav--transparent .nav__menu .nav__link:hover {
    color: #1A1A1A !important;
  }

  .nav__menu .dropdown-toggle {
    color: #1A1A1A !important;
  }

  .nav__menu .nav__link.active {
    color: #1A1A1A !important;
  }

  /* Force dropdown items black too */
  .nav__item.dropdown .nav__link {
    color: #1A1A1A !important;
  }

  /* ===== OVERRIDE ALL SCROLL/BACKGROUND-AWARE COLORS ===== */
  .nav.scrolled .nav__link {
    color: #1A1A1A !important;
  }

  .nav.nav--transparent .nav__link {
    color: #1A1A1A !important;
  }

  .nav--over-light .nav__link {
    color: #1A1A1A !important;
  }

  .nav--over-dark .nav__link {
    color: #1A1A1A !important;
  }

  .nav.scrolled .nav__menu .nav__link {
    color: #1A1A1A !important;
  }

  .nav.nav--transparent .nav__menu .nav__link {
    color: #1A1A1A !important;
  }

  .nav--over-light .nav__menu .nav__link {
    color: #1A1A1A !important;
  }

  .nav--over-dark .nav__menu .nav__link {
    color: #1A1A1A !important;
  }

  /* Hamburger menu text also black */
  .nav.scrolled .nav__toggle span {
    background-color: var(--color-navy) !important;
  }

  .nav--over-light .nav__toggle span {
    background-color: var(--color-navy) !important;
  }

  .nav--over-dark .nav__toggle span {
    background-color: var(--color-navy) !important;
  }

  .dropdown-menu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 0 0 1rem !important;
    display: block !important;
    background: transparent !important;
    min-width: auto !important;
    backdrop-filter: none !important;
  }

  .dropdown-item {
    padding: 0.6rem 0.5rem !important;
    font-size: 0.85rem !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    display: block !important;
    visibility: visible !important;
    color: #1A1A1A !important;
    opacity: 1 !important;
  }

  .dropdown-item:hover {
    color: #1A1A1A !important;
  }

  /* ---- Mobile Content for All Pages ---- */

  /* About Page Mobile Content */
  .discovery-section {
    padding: var(--space-xl) 0;
  }

  .discovery-video {
    width: 100% !important;
    height: 100vh !important;
    max-height: 100vh !important;
    aspect-ratio: auto;
    object-fit: contain !important;
  }

  .immersive-bg {
    width: 100% !important;
    height: 100vh !important;
    background: transparent !important;
    background-size: cover !important;
    background-position: center !important;
  }

  .immersive-video {
    object-fit: contain !important;
    object-position: center top !important;
    filter: brightness(1) !important;
  }

  .immersive-video-section::before {
    display: none !important;
  }

  .discovery-item {
    padding: var(--space-lg) var(--space-md);
  }

  .discovery-content {
    padding: var(--space-md);
  }

  .discovery-content h3 {
    font-size: 1.3rem;
  }

  .discovery-wide-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .discovery-wide-card {
    padding: var(--space-md);
  }

  .discovery-panel-box {
    padding: var(--space-md);
  }

  /* Treatments Page Mobile */
  .treat-section {
    padding: var(--space-lg) var(--space-md);
  }

  .treat-container {
    width: 100% !important;
    padding: var(--space-md) !important;
  }

  /* Mobile-only treatment title styles */
  .page .treat-title {
    color: var(--color-navy) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .treat-hero .treat-title {
    color: white !important;
  }

  .treat-title {
    font-size: 1.3rem;
  }

  .treat-lead {
    font-size: 1rem;
    color: var(--color-text-light) !important;
  }

  .category-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-md) !important;
  }

  .category-card {
    padding: var(--space-md);
  }

  /* ---- Ensure full width on mobile ---- */
  html, body {
    width: 100% !important;
    /* `clip` rather than `hidden`: both prevent sideways scrolling, but
       `hidden` makes these elements scroll containers, which silently
       disables position:sticky for every descendant — that broke the
       pinned background video and the pinned step row on mobile.
       `clip` does not establish a scroll container, so sticky works. */
    overflow-x: clip !important;
    max-width: 100% !important;
  }

  /* All sections full width */
  .page {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .section,
  .approach-bridge-section,
  .understand-section,
  .founders-section,
  .wb-section {
    width: 100% !important;
    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: var(--space-lg) var(--space-md) !important;
  }

  /* Section 1 (hero video) and 1.5 (stats) are skipped on mobile â€” the intro
     loader now carries the hero's message, so mobile goes straight from the
     loader into the clinic walkthrough. */
  .immersive-video-section,
  .stats-animation-section {
    display: none !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 var(--space-md) !important;
    margin: 0 !important;
  }

  /* Cards and panels full width */
  .glass-panel {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .card {
    width: 100% !important;
  }

  .model-flow {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.8rem !important;
    margin: 1.5rem 0 !important;
    padding: 1rem !important;
    background: transparent !important;
    align-items: flex-start !important;
  }

  .flow-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    text-align: left !important;
    gap: 0.5rem !important;
    width: 100%;
  }

  .flow-item:nth-child(1) .flow-label {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.85) !important;
  }

  .flow-item:nth-child(2) .flow-label {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.9) !important;
  }

  .flow-label {
    font-weight: 700 !important;
    text-transform: capitalize !important;
    margin: 0 !important;
  }

  .flow-label::after {
    content: " = " !important;
  }

  .flow-old {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    color: #ffbbbb !important;
    background: rgba(255, 100, 100, 0.15) !important;
    padding: 0.7rem 1rem !important;
    border-radius: 8px !important;
    min-width: 140px !important;
  }

  .flow-new {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    color: #bbffbb !important;
    background: rgba(100, 255, 100, 0.15) !important;
    padding: 0.7rem 1rem !important;
    border-radius: 8px !important;
    min-width: 140px !important;
  }

  .flow-arrow {
    display: none !important;
  }

  .flow-result {
    display: inline !important;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    margin: 0 !important;
  }

  .flow-item:nth-child(1) .flow-result {
    font-size: 0.95rem !important;
  }

  .flow-item:nth-child(2) .flow-result {
    font-size: 1.3rem !important;
  }

  .discovery-panel-wrap {
    width: 100% !important;
  }

  .discovery-panel-box {
    width: 100% !important;
    padding: var(--space-md) !important;
    box-sizing: border-box !important;
  }

  /* Hero sections full width */
  .hero {
    width: 100% !important;
  }

  .treat-hero {
    width: 100% !important;
  }

  /* Remove extra padding on mobile */
  .hero,
  .treat-hero {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0.5rem !important;
    min-height: auto !important;
    height: auto !important;
    display: block !important;
    overflow: visible !important;
    background-color: #ffefef !important;
  }

  .immersive-video-section .immersive-bg {
    position: relative !important;
    height: 55vw !important;
    min-height: 220px !important;
    max-height: 320px !important;
    width: 100% !important;
    margin-top: 20px !important;
  }

  /* General page adjustments */
  .page-header {
    padding: var(--space-lg) var(--space-md) !important;
    width: 100% !important;
  }

  /* ---- Fix navbar text color on mobile ---- */
  .nav__menu .nav__link {
    color: #1A1A1A !important;
  }

  .nav__menu .dropdown-toggle {
    color: #1A1A1A !important;
  }
}

.nav.nav.nav--lightly-visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(198, 167, 94, 0.4);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08),
              0 0 16px rgba(198, 167, 94, 0.2);
}

.nav__logo-icon-container {
  color: var(--color-gold);
}

.nav__logo-text {
  color: #802929;
}

.nav__logo-subtitle {
  color: var(--color-gold);
  opacity: 1;
}

.logo-line {
  background-color: var(--color-gold);
}

.nav__link {
  color: var(--color-text-light);
  font-weight: 500;
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-gold);
}

.nav__link.highlight-approach {
  color: var(--color-gold-dark) !important;
  font-weight: 700;
}

.nav__link.highlight-approach::after {
  background-color: var(--color-gold-dark);
  transform: scaleX(1);
}

.nav__toggle span {
  background-color: var(--color-navy);
}

.nav__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__logo-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
}

.nav__logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #802929;
  line-height: 1.1;
}

.nav__logo--footer .nav__logo-text {
  color: #ffffff;
}

.nav__logo-tagline {
  font-size: 0.65rem;
  color: inherit;
  opacity: 0.75;
  margin: 2px 0 0;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.nav__logo--footer .nav__logo-tagline {
  color: rgba(255,255,255,0.48);
}

.nav__logo--footer .nav__logo-img {
  width: 70px;
  height: 70px;
}

.nav__logo-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  margin-top: 3px;
}

.logo-line {
  height: 1px;
  width: 12px;
  background-color: var(--color-gold);
}

.nav__menu {
  display: flex;
  align-items: center;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: nowrap;
}

.nav__item {
  position: relative;
}

.nav__link {
  padding: 0.6rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-light);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
  display: block;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background-color: var(--color-gold);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-navy);
}

.nav__link:hover::after,
.nav__link.active::after {
  transform: scaleX(1);
}

/* Dropdown Styles */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  min-width: 220px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(92, 10, 10, 0.15);
  padding: 0.8rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 1px solid rgba(198, 167, 94, 0.3);
  z-index: 1001;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid rgba(198, 167, 94, 0.3);
}

.nav__item:hover .dropdown-menu,
.nav__item.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.7rem 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-weight: 500;
  transition: all 0.25s ease;
  white-space: nowrap;
  position: relative;
}

.dropdown-submenu .dropdown-item.dropdown-toggle {
  padding-right: 2.5rem;
}

.dropdown-item:hover {
  color: var(--color-gold);
  background: rgba(198, 167, 94, 0.05);
  padding-left: 1.8rem;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-toggle::after {
  content: '▼';
  font-size: 0.7rem;
  transition: transform 0.3s ease;
  position: static;
  width: auto;
  height: auto;
  background: none;
  transform: none;
  color: inherit;
  margin-left: 0.5rem;
}

.nav__item:hover .dropdown-toggle::after,
.nav__item.active .dropdown-toggle::after {
  transform: rotate(180deg);
}


.nav .nav__inner {
  padding: 0 2rem;
}

.nav__cta {
  margin-left: 1rem;
  padding: 0.5rem 1rem !important;
  font-size: 0.75rem !important;
}

/* Contact: a small icon button next to Book Consultation instead of a
   full nav link (Contact is still reachable via footer + this icon). */
.nav__contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--color-navy);
  color: var(--color-navy);
  margin-left: 1rem;
  flex-shrink: 0;
  transition: background var(--transition-base), color var(--transition-base);
}

.nav__contact-icon:hover,
.nav__contact-icon.active {
  background: var(--color-navy);
  color: #fff;
}

.nav__contact-icon svg {
  width: 17px;
  height: 17px;
}

/* Was a compact CTA next to the hamburger on mobile; moved back inside the
   burger menu (.nav__cta) instead, so hidden everywhere now. */
.nav__cta-mobile {
  display: none;
}

/* Mobile menu toggle */
.nav__toggle {
  display: none !important;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-navy);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg);
  background-image: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)), url('assets/Backgroung.png');
  background-size: cover;
  background-position: center;
}

.hero__bg-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.03;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__label {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__label::before {
  content: '';
  width: 40px;
  height: 1px;
  background-color: var(--color-gold);
}

.hero__title {
  font-size: var(--fs-hero);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  color: var(--color-navy);
}

.hero__subtitle {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--color-text-light);
  max-width: 560px;
  margin-bottom: var(--space-xl);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hero__stat-label {
  font-size: var(--fs-caption);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Philosophy Section ---------- */
.philosophy {
  text-align: center;
  padding: var(--space-3xl) 0;
}

.philosophy__quote {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  color: var(--color-navy);
  line-height: 1.3;
  margin-bottom: var(--space-lg);
  position: relative;
}

.philosophy__quote::before {
  content: '"';
  position: absolute;
  top: -0.4em;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6rem;
  color: var(--color-gold);
  opacity: 0.15;
  font-family: var(--font-heading);
  line-height: 1;
}

.philosophy__divider {
  width: 60px;
  height: 2px;
  background-color: var(--color-gold);
  margin: var(--space-lg) auto;
}

/* ---------- Systems Tree (The Challenge) ---------- */
.systems-tree {
  position: relative;
  max-width: 900px;
  margin: var(--space-2xl) auto;
  padding: var(--space-xl) 0;
}

.systems-tree::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--color-gold), transparent);
  transform: translateX(-50%);
}

.tree-node {
  display: flex;
  justify-content: flex-start;
  width: 50%;
  padding: var(--space-sm) var(--space-xl);
  position: relative;
  margin-bottom: var(--space-md);
  transition: all 0.6s ease;
}

.tree-node.visible {
  opacity: 1;
  transform: translateY(0);
}

.tree-node--right {
  margin-left: 50%;
}

.tree-node--left {
  text-align: right;
  flex-direction: row-reverse;
}

.tree-node::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 2px;
  background: var(--color-gold);
}

.tree-node--left::after {
  right: 0;
  transform: translateY(-50%);
}

.tree-node--right::after {
  left: 0;
  transform: translateY(-50%);
}

.tree-dot {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  background: var(--color-gold);
  border-radius: 50%;
  z-index: 2;
  transform: translateY(-50%);
}

.tree-node--left .tree-dot {
  right: -6px;
}

.tree-node--right .tree-dot {
  left: -6px;
}

.tree-content {
  background: var(--color-bg);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--color-gold);
  transition: transform var(--transition-base);
  width: 100%;
}

.tree-node--left .tree-content {
  border-left: none;
  border-right: 4px solid var(--color-gold);
}

.tree-node:hover .tree-content {
  transform: scale(1.02);
}

.tree-root-label {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-navy);
  color: #fff;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 3;
}

@media (max-width: 820px) {
  .systems-tree {
    padding: 1.5rem 0.5rem !important; /* Adjust padding from inline styles */
  }
  .systems-tree::before {
    left: 20px;
  }
  .tree-node {
    width: 100% !important;
    margin-left: 0 !important;
    padding-left: var(--space-xl) !important;
    padding-right: var(--space-sm) !important;
    text-align: left !important;
    flex-direction: row !important;
  }
  .tree-node--left::after, .tree-node--right::after {
    left: 20px !important;
    right: auto !important;
    width: 20px !important;
  }
  .tree-dot {
    left: 14px !important;
    right: auto !important;
  }
  .tree-content {
    border-left: 4px solid var(--color-gold) !important;
    border-right: none !important;
    margin-left: 10px;
  }

  /* Mobile: Home section cards - warm off-white background */
  .walkthrough-card {
    background: transparent !important;
    border: 1.5px solid #000000 !important;
    border-radius: 16px !important;
    box-shadow: none !important;
  }

  .walkthrough-card *,
  .walkthrough-card h2,
  .walkthrough-card h3,
  .walkthrough-card p,
  .walkthrough-card li,
  .walkthrough-card strong,
  .walkthrough-card span,
  .walkthrough-card .immersive-title,
  .walkthrough-card .immersive-label,
  .walkthrough-card .immersive-body,
  .walkthrough-card .card-list li,
  .walkthrough-card .card-note {
    color: #000000 !important;
    text-shadow: none !important;
  }

  .immersive-video-section::before {
    display: none !important;
  }

  .walkthrough-card .immersive-title,
  .walkthrough-card .immersive-label,
  .walkthrough-card .immersive-body,
  .walkthrough-card .card-list li,
  .walkthrough-card .card-note,
  .walkthrough-card strong,
  .walkthrough-card h2,
  .walkthrough-card p,
  .walkthrough-card li,
  .walkthrough-card .card-header-row h2,
  .walkthrough-card .card-header-row * {
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8) !important;
  }

  .stats-animation-section {
    background: #ffefef !important;
    display: block !important;
  }

  .founders-section {
    background: #ffefef !important;
  }

  .founders-header h2 {
    font-size: 1.3rem !important;
    color: var(--color-navy) !important;
  }

  .founders-header p {
    font-size: 1.5rem !important;
    color: var(--color-navy) !important;
  }

  /* Removed flat mobile overrides to maintain desktop dark image background and glassmorphism text panel styling */

  /* Mobile: Glass panel */
  .glass-panel {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  /* Show mobile stats section */
  .mobile-stats-section {
    display: block !important;
    background: #ffefef !important;
    padding: 1.5rem 1rem !important;
  }

  /* Hide top stats on mobile, use mobile-stats-section instead */
  .stats-animation-section {
    display: none !important;
  }

  /* Floating animation on home page buttons */
  .understand-btn,
  .hero-rect .btn,
  .walkthrough-section .btn,
  .understand-section .btn,
  .founders-section .btn {
    animation: pillFloat 4s ease-in-out infinite !important;
  }

  .understand-btn:nth-of-type(2) { animation-delay: 1s !important; }
  .understand-btn:nth-of-type(3) { animation-delay: 2s !important; }

  /* Remove animation from education and other content sections */
  .lod-cta-actions .btn,
  .lod-section .btn,
  #education .btn,
  .discovery-section .btn,
  .approach-bridge-section .btn {
    animation: none !important;
  }
}

/* ---------- Approach Timeline ---------- */
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: var(--space-xl);
}

.timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right,
      transparent,
      var(--color-gold) 15%,
      var(--color-gold) 85%,
      transparent);
}

.timeline__step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 var(--space-sm);
}

.timeline__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  position: relative;
  z-index: 1;
  transition: all var(--transition-base);
}

.timeline__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline__step:hover .timeline__icon {
  background: var(--color-gold);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(198, 167, 94, 0.3);
}

.timeline__step:hover .timeline__icon svg {
  stroke: var(--color-navy);
}

.timeline__number {
  font-family: var(--font-heading);
  font-size: var(--fs-caption);
  color: var(--color-gold);
  margin-bottom: 0.3rem;
}

.timeline__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.timeline__desc {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---------- Cards ---------- */
.card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
}

.card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.card__image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  background: var(--color-section-alt);
}

.card__body {
  padding: var(--space-lg);
}

.card__tag {
  font-size: var(--fs-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

.card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.card__text {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  line-height: 1.7;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-gold);
  margin-top: var(--space-sm);
  transition: gap var(--transition-fast);
}

.card__link:hover {
  gap: 0.7rem;
}

/* ---------- Team Cards ---------- */
.team-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.team-card:last-child {
  border-bottom: none;
}

.team-card:nth-child(even) {
  direction: rtl;
}

.team-card:nth-child(even)>* {
  direction: ltr;
}

.team-card__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.team-card__info {
  padding: var(--space-md) 0;
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  margin-bottom: 0.3rem;
}

.team-card__role {
  font-size: var(--fs-small);
  color: var(--color-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-md);
}

.team-card__bio {
  font-size: var(--fs-body);
  color: var(--color-text-light);
  line-height: 1.85;
  margin-bottom: var(--space-md);
}

.team-card__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.team-card__credential {
  font-size: var(--fs-caption);
  color: var(--color-navy);
  background: var(--color-section-alt);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  border: 1px solid var(--color-border);
}

/* ---------- Team Vertical Layout ---------- */
.team-scroll-container {
  overflow: visible;
  padding-bottom: var(--space-lg);
  cursor: default;
}

.team-scroll-container::-webkit-scrollbar {
  display: none;
}

.team-scroll-container::-webkit-scrollbar-track {
  display: none;
}

.team-scroll-container::-webkit-scrollbar-thumb {
  display: none;
}

.team-flex {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  padding-right: 0;
  max-width: 860px;
  margin: 0 auto;
}

.doc-profile {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  transition: transform var(--transition-base);
}

.doc-img-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  background-color: var(--color-section-alt);
  box-shadow: var(--shadow-subtle);
}

.doc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  -webkit-filter: none !important;
}

.doc-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  background: var(--color-section-alt);
}

.doc-img-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.3;
}

.doc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(92, 10, 10, 0.15) 0%, rgba(92, 10, 10, 0.4) 50%, rgba(92, 10, 10, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
  overflow-y: hidden;
}

.doc-profile:hover .doc-overlay {
  opacity: 1;
}

.doc-img-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(92, 10, 10, 0.12);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  border-radius: var(--radius-md);
}

.doc-profile:hover .doc-img-box::before {
  opacity: 1;
}

.doc-profile:hover .doc-img {
  transform: scale(1.05);
}

.doc-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  width: 100%;
  margin-bottom: var(--space-lg);
}

.doc-detail {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(198, 167, 94, 0.2);
  padding: 0.6rem 0.4rem;
  border-radius: var(--radius-sm);
  text-align: center;
  transform: translateY(15px);
  transition: transform var(--transition-base), background var(--transition-base);
}

.doc-detail:hover {
  background: rgba(198, 167, 94, 0.15);
  border-color: var(--color-gold);
}

.doc-profile:hover .doc-detail {
  transform: translateY(0);
}

.doc-detail:nth-child(2) { transition-delay: 0.05s; }
.doc-detail:nth-child(3) { transition-delay: 0.1s; }

.doc-detail-label {
  font-size: 0.65rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  display: block;
  margin-bottom: 0.2rem;
}

.doc-detail-text {
  font-size: 0.75rem;
  color: #ffffff;
  margin-bottom: 0;
  line-height: 1.2;
  font-weight: 500;
}

.doc-bio {
  text-align: center;
  transform: translateY(15px);
  transition: transform var(--transition-base) 0.15s;
}

.doc-profile:hover .doc-bio {
  transform: translateY(0);
}

.doc-bio p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-small);
  line-height: 1.6;
  margin-bottom: 0;
}

.doc-info {
  margin-top: var(--space-md);
  text-align: center;
}

.doc-name {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  color: var(--color-navy);
  margin-bottom: 0.2rem;
}

.doc-role {
  font-size: var(--fs-small);
  color: var(--color-gold);
  font-weight: 500;
  margin-bottom: 0;
}

.doc-view-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--color-navy);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), color var(--transition-base);
}

.doc-view-link:hover {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

@media (max-width: 820px) {
  .doc-profile {
    flex: 0 0 280px;
  }
}

/* ---------- Category Cards ---------- */
/* 4-column services grid */
.services-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  align-items: start;
}

@media (max-width: 1100px) {
  .services-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .services-grid-4 { grid-template-columns: 1fr; }
}

.category-card {
  background: var(--color-bg);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-gold);
  box-shadow: 0 15px 35px rgba(92, 10, 10, 0.08);
}

.category-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #7D1212;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: var(--space-sm);
  flex-shrink: 0;
}

.category-card__desc {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: var(--space-md);
  opacity: 0.85;
  font-style: italic;
}

.category-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-border);
  transition: border-color var(--transition-base);
}

.category-card:hover .category-card__title {
  border-color: var(--color-gold);
}

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

.category-card__list li {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
  position: relative;
  padding-left: 18px;
  line-height: 1.5;
}

.category-card__list li::before {
  content: "Ã¢â‚¬Âº";
  color: var(--color-gold);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

.treatment-link {
  color: var(--color-navy);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
  border-bottom: 1px dashed var(--color-gold);
}

.treatment-link:hover {
  color: var(--color-gold);
}

/* ---------- Testimonial Cards ---------- */
.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  position: relative;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-card);
}

.testimonial-card__quote-icon {
  width: 40px;
  height: 40px;
  color: var(--color-gold);
  opacity: 0.25;
  margin-bottom: var(--space-md);
}

.testimonial-card__text {
  font-size: var(--fs-body);
  color: var(--color-text);
  line-height: 1.85;
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-section-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-navy);
  font-weight: 700;
}

.testimonial-card__name {
  font-weight: 600;
  color: var(--color-navy);
  font-size: var(--fs-small);
}

.testimonial-card__title {
  font-size: var(--fs-caption);
  color: var(--color-text-muted);
}

/* ---------- Technology Cards ---------- */
.tech-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.tech-card:last-child {
  border-bottom: none;
}

/* Tech cards without an image span full width */
.tech-card:not(:has(.tech-card__image-container)) {
  grid-template-columns: 1fr;
}

.tech-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: gap 0.2s ease;
}

.tech-card__link:hover {
  gap: 0.7rem;
  color: var(--color-gold);
}

.tech-card:nth-child(even) {
  direction: rtl;
}

.tech-card:nth-child(even)>* {
  direction: ltr;
}

.tech-card__image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.tech-card__content h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-sm);
}

.tech-card__content p {
  line-height: 1.85;
}

.tech-card__benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: var(--space-md);
  padding: var(--space-sm);
  background: var(--color-section-alt);
  border-radius: var(--radius-sm);
}

.tech-card__benefit-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--color-gold);
  fill: none;
  margin-top: 2px;
}

.tech-card__benefit-text {
  font-size: var(--fs-small);
  color: var(--color-text);
  margin-bottom: 0;
}

/* ---------- Blog Cards ---------- */
.blog-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.blog-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.blog-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: var(--color-section-alt);
}

.blog-card__body {
  padding: var(--space-md) var(--space-lg);
}

.blog-card__category {
  font-size: var(--fs-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
  line-height: 1.35;
}

.blog-card__excerpt {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-sm);
}

.blog-card__meta {
  font-size: var(--fs-caption);
  color: var(--color-text-muted);
}

/* ---------- Contact Form ---------- */
.contact-form {
  max-width: 600px;
}

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

.form-label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-body);
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(198, 167, 94, 0.12);
}

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

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-xl);
}

.form-success.visible {
  display: block;
}

.form-success svg {
  width: 56px;
  height: 56px;
  stroke: var(--color-gold);
  fill: none;
  margin: 0 auto var(--space-md);
}

.form-error {
  display: none;
  text-align: center;
  padding: var(--space-lg);
  margin-top: var(--space-md);
  border: 1px solid rgba(92, 10, 10, 0.25);
  border-radius: var(--radius-sm);
  background: rgba(92, 10, 10, 0.05);
  color: var(--color-navy);
  font-size: var(--fs-small);
}

.form-error.visible {
  display: block;
}

.form-error a {
  color: var(--color-navy);
  font-weight: 600;
}

/* ---------- Contact Info & Map ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.contact-info-item svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-gold);
  fill: none;
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-info-item h4 {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.2rem;
}

.contact-info-item p {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xl);
  align-items: start;
}

/* contact.html dropped the embedded map preview, leaving .locations-list as the
   only grid child â€” span the full width instead of sitting in the first of two
   columns. index.html's legacy contact section still has both, so it's untouched. */
#page-contact .contact-grid {
  grid-template-columns: 1fr;
}

#page-contact .locations-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

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

.location-item {
  padding: var(--space-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
}

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

.location-item.active {
  border-color: var(--color-gold);
  background: var(--color-section-alt);
  box-shadow: var(--shadow-subtle);
}

.location-item__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-xs);
}

.location-item__header svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-gold);
  fill: none;
}

.location-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0;
  color: var(--color-navy);
}

.location-item p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
}

.location-item__contact {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-gold);
}

.location-item__maps-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), color var(--transition-base);
}

.location-item__maps-link:hover {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

.map-view {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-lg));
}

.map-container {
  width: 100%;
  height: 500px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-section-alt);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- WhatsApp Button ---------- */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  z-index: 999;
  transition: all var(--transition-base);
}

.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}

/* ---------- Footer ---------- */
.footer {
  background: #802929;
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-xl) 0 var(--space-md);
  position: relative;
  z-index: 10;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand-desc {
  font-size: var(--fs-caption);
  line-height: 1.6;
  margin-top: var(--space-xs);
  color: rgba(255, 255, 255, 0.5);
}

.footer__brand-tagline {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.48);
  margin: 4px 0 0;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-sm);
}

.footer__link {
  display: block;
  font-size: var(--fs-caption);
  color: rgba(255, 255, 255, 0.5);
  padding: 0.2rem 0;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-gold);
}

.footer__socials {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-md);
}

.footer__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(198, 167, 94, 0.1);
  color: var(--color-gold);
  transition: all var(--transition-base);
}

.footer__social-icon:hover {
  background: var(--color-gold);
  color: #000;
  transform: translateY(-3px);
}

.footer__social-icon svg {
  width: 20px;
  height: 20px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ---------- Page Sections ---------- */
.page {
  display: none;
  padding-top: var(--nav-height);
}

.page.active {
  display: block;
}

#page-home {
  padding-top: 0 !important;
}

#page-home.active {
  display: block;
}

/* Page header for inner pages */
.page-header {
  padding: var(--space-3xl) 0 var(--space-xl);
  text-align: center;
  background: var(--color-section-alt);
}

.page-header h1 {
  margin-bottom: var(--space-sm);
}

.page-header p {
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- About Page ---------- */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.about-value {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.about-value:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.about-value__icon {
  width: 56px;
  height: 56px;
  stroke: var(--color-gold);
  fill: none;
  margin: 0 auto var(--space-md);
}

.about-value h3 {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-xs);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  text-align: center;
}

.about-stat__number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1;
}

.about-stat__label {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

/* ---------- About Vision & Mission ---------- */
.about-vision-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr; /* Pushes mission more to the right */
  gap: var(--space-2xl);
  align-items: stretch;
  background-image: linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)), url('assets/ab_back.png');
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  padding: var(--space-3xl) var(--space-2xl); /* Increased vertical padding for broader feel */
  box-shadow: var(--shadow-subtle);
}

.about-story-box {
  padding: var(--space-lg);
}

.about-mission-box {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  align-self: center;
}

@media (max-width: 820px) {
  .about-vision-container {
    grid-template-columns: 1fr;
    padding: var(--space-lg);
  }
}

/* ---------- Approach Page (Vertical) ---------- */
.approach-steps {
  position: relative;
  max-width: 800px;
  margin: var(--space-xl) auto 0;
}

.approach-steps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 39px;
  bottom: 0;
  width: 1px;
  background: var(--color-border);
}

.approach-step {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  position: relative;
}

.approach-step__marker {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.approach-step__marker svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-gold);
  fill: none;
}

.approach-step__content h3 {
  margin-top: var(--space-xs);
}

.approach-step__content p {
  line-height: 1.85;
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 {
  transition-delay: 0.1s;
}

.fade-in-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-delay-3 {
  transition-delay: 0.3s;
}

.fade-in-delay-4 {
  transition-delay: 0.4s;
}

.fade-in-delay-5 {
  transition-delay: 0.5s;
}

/* ---------- CTA Section ---------- */
.cta-section {
  text-align: center;
  padding: var(--space-3xl) 0;
  position: relative;
  z-index: 10;
}

.cta-section h2 {
  color: #ffffff;
  margin-bottom: var(--space-sm);
}

.cta-section p {
  max-width: 500px;
  margin: 0 auto var(--space-lg);
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Responsive ---------- */

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    flex-wrap: wrap;
    gap: var(--space-lg);
    justify-content: center;
  }

  .timeline::before {
    display: none;
  }

  .timeline__step {
    flex: 0 0 calc(33% - var(--space-md));
  }

  .nav {
    max-width: 95%;
  }

  .nav__link {
    padding: 0.6rem 0.8rem;
    font-size: 0.82rem;
  }
}

/* Mobile */
@media (max-width: 820px) {
  :root {
    --nav-height: 76px;
    --space-3xl: 5rem;
  }

  .container {
    padding: 0 var(--space-md);
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  /* Nav Mobile Ã¢â‚¬â€ full width, flush to top */
  .nav {
    top: 0 !important;
    height: 76px;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    left: 0 !important;
  }

  /* Compact logo so "Vats & Param" fits on one line and doesn't push the nav
     bar taller than --nav-height */
  .nav__logo {
    gap: 0.5rem;
  }

  .nav__logo-img {
    width: 44px;
    height: 44px;
  }

  .nav__logo-text {
    font-size: 1rem;
  }

  .nav__logo-subtitle {
    font-size: 0.5rem;
    margin-top: 1px;
  }

  .nav__inner {
    padding: 0 16px;
  }

  .nav__toggle {
    display: flex !important;
    position: relative !important;
    z-index: 6000 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Make sure burger lines are always visible on mobile */
  .nav__toggle span {
    background-color: var(--color-navy) !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nav.nav--transparent .nav__toggle span {
    background-color: #fff !important;
  }

  .nav--over-light .nav__toggle span,
  .nav.scrolled .nav__toggle span {
    background-color: var(--color-navy) !important;
  }

  /* When nav is hidden (transparent on mobile) and over a dark section, keep toggle spans white */
  .nav.nav--hidden.nav--over-dark .nav__toggle span {
    background-color: #fff !important;
  }

  /* When menu is open, toggle spans (X button) must be dark red against the white menu drawer */
  .nav__toggle.active span {
    background-color: var(--color-navy) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Ensure middle span of X is also visible when active */
  .nav__toggle.active span:nth-child(2) {
    opacity: 0 !important;
  }

  .premium-border-box {
    padding: var(--space-xl) var(--space-md);
    margin: var(--space-lg) 0;
    border-width: 3px;
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background: var(--color-bg);
    padding: 0;
    flex-direction: column;
    gap: 0;
    box-shadow: var(--shadow-elevated);
    transition: right var(--transition-base);
    overflow-y: auto;
    display: flex;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    border-radius: 20px;
  }

  .nav__menu.open {
    right: 0;
    z-index: 5000;
    display: flex;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .nav__links {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.5rem;
    padding: 0.75rem var(--space-lg) var(--space-lg);
    opacity: 1 !important;
    visibility: visible !important;
    background: none !important;
    border-radius: 0 !important;
  }

  /* Force dark black text inside the mobile menu regardless of nav theme,
     and render each item as its own pill/chip with a maroon border. */
  .nav__menu .nav__link,
  .nav.nav--transparent .nav__menu .nav__link,
  .nav--over-dark .nav__menu .nav__link,
  .nav--over-light .nav__menu .nav__link,
  .nav__menu .nav__link {
    color: #1A1A1A !important;
    padding: 0.75rem 1.1rem;
    border: 1px solid var(--color-navy) !important;
    background: none;
    border-radius: 999px;
    font-size: var(--fs-body);
    text-align: center;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
  }

  .nav__menu .nav__link:hover,
  .nav.nav--transparent .nav__menu .nav__link:hover,
  .nav--over-dark .nav__menu .nav__link:hover {
    color: #1A1A1A !important;
  }

  .nav__menu .nav__link.active,
  .nav.nav--transparent .nav__menu .nav__link.active,
  .nav--over-dark .nav__menu .nav__link.active,
  .nav--over-light .nav__menu .nav__link.active {
    color: #fff !important;
    background: var(--color-navy) !important;
    border: 1px solid var(--color-navy) !important;
    font-weight: 600;
  }

  .nav__menu .dropdown-toggle,
  .nav.nav--transparent .nav__menu .dropdown-toggle,
  .nav--over-dark .nav__menu .dropdown-toggle {
    color: #1A1A1A !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.4rem !important;
    cursor: pointer;
    position: relative !important;
    text-align: center !important;
  }

  .nav__menu .dropdown-toggle::after {
    position: static !important;
    margin-left: 0 !important;
    font-size: 1.1rem !important;
    color: var(--color-navy) !important;
  }

  .nav__item.dropdown.active > .dropdown-toggle {
    border-radius: 999px !important;
  }

  .nav__link::after {
    display: none;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 0.4rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: none;
    border-radius: 0 0 999px 999px;
    min-width: auto;
    backdrop-filter: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, border-color 0.3s ease;
  }

  .nav__item.dropdown.active .dropdown-menu {
    max-height: 400px;
  }

  .dropdown-menu::before {
    display: none;
  }

  .dropdown-item {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    border-bottom: none;
    border-radius: 999px;
    display: block !important;
    visibility: visible !important;
    color: #1A1A1A !important;
    opacity: 1 !important;
    text-align: center;
  }

  .dropdown-item:hover {
    color: #1A1A1A !important;
  }

  .dropdown-toggle::after {
    display: inline-block;
    position: static;
    margin-left: 0;
  }

  .nav__cta {
    margin: 0 var(--space-lg) 0.5rem;
    width: auto;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(128, 41, 41, 0.25);
  }

  .nav__contact-icon {
    margin: 0 auto 0.75rem;
  }

  /* Grid */
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  /* Team & Tech Cards */
  .team-card,
  .tech-card {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .team-card:nth-child(even),
  .tech-card:nth-child(even) {
    direction: ltr;
  }

  /* Doctor Profile Overlay - Mobile Zoom Out */
  .doc-overlay {
    padding: 0.75rem !important;
    justify-content: flex-start !important;
    padding-top: 1.5rem !important;
  }

  .doc-details-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.3rem !important;
    margin-bottom: 0.75rem !important;
  }

  .doc-detail-label {
    font-size: 0.55rem !important;
    margin-bottom: 0.1rem !important;
  }

  .doc-detail-text {
    font-size: 0.65rem !important;
    line-height: 1 !important;
  }

  .doc-bio {
    transform: translateY(0) !important;
  }

  .doc-bio p {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.5rem !important;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* Timeline */
  .timeline__step {
    flex: 0 0 calc(50% - var(--space-sm));
  }

  .timeline__icon {
    width: 52px;
    height: 52px;
  }

  /* Hero */
  .hero__stats {
    flex-direction: column;
    gap: var(--space-md);
  }

  /* About */
  .about-values {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer: Navigation/Resources/Initiatives side by side in pairs; Brand and Contact & Timings full-width */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid > div:nth-child(1),
  .footer__grid > div:nth-child(5) {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  /* Images & Media */
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  .treat-standout-image,
  .treat-card__image,
  .tech-card__image-container {
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .treat-card__image {
    max-height: 300px;
    object-fit: cover;
  }

  /* Cards */
  .treat-principle-card,
  .treat-principle-card--hover,
  .lod-card,
  .discovery-wide-card {
    padding: var(--space-md);
    margin: 0;
    overflow: visible;
  }

  /* Video containers */
  video {
    max-width: 100%;
    height: auto;
    display: block;
  }

  .immersive-video-section {
    min-height: auto;
  }

  .treat-hero {
    padding: var(--space-lg);
  }

  .treat-container {
    padding: 0;
    margin: 0;
  }

  .treat-section {
    padding: var(--space-lg) var(--space-md);
  }

  .treat-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Ensure proper spacing for text overlays */
  .hero-rect {
    margin: var(--space-md) 0;
    padding: var(--space-lg);
  }

  /* WhatsApp */
  .whatsapp-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .timeline__step {
    flex: 0 0 100%;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

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

/* ============================================================
   LEAGUE OF DENTISTS Ã¢â‚¬â€œ Professional Mentorship Initiative
   Modular CSS module. Class prefix: .lod-
   All values use existing design system custom properties.
   ============================================================ */


/* ----- Header Block ----- */
.lod-header {
  max-width: 780px;
  margin: 0 auto var(--space-3xl);
  text-align: center;
}

.lod-divider-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold), transparent);
  margin: 0 auto var(--space-lg);
}

.lod-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
}

.lod-subheading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-gold-dark);
  margin-bottom: var(--space-md);
  font-weight: 400;
}

.lod-intro {
  font-size: var(--fs-body);
  color: var(--color-text-light);
  line-height: 1.9;
  max-width: 720px;
  margin: 0 auto;
}

.lod-intro-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-bg);
  border: 1px solid var(--color-navy);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-subtle);
  text-align: left;
}

.lod-intro-card .lod-intro {
  max-width: none;
  margin: 0 0 var(--space-md);
}

.lod-intro-card .lod-intro:last-child {
  margin-bottom: 0;
}

/* ----- Founder Highlight ----- */
.lod-founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.lod-founder-card {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  background: var(--color-bg);
  border: 1px solid var(--color-navy);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-subtle);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.lod-founder-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

/* ----- Founder card photo variant (image behind content, like about.html's founder spotlight) ----- */
.lod-founder-card--photo {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  align-items: flex-end;
  padding: 0;
  background: #000;
  cursor: pointer;
}

.lod-founder-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

.lod-founder-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.88) 100%);
  z-index: 1;
}

.lod-founder-card--photo .lod-founder-info {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--space-lg);
  text-align: center;
}

.lod-founder-card--photo .lod-founder-points li {
  justify-content: center;
}

.lod-founder-card--photo .lod-founder-role {
  color: var(--color-gold);
}

.lod-founder-card--photo .lod-founder-name {
  color: #fff;
}

.lod-founder-card--photo .lod-founder-points li {
  color: rgba(255, 255, 255, 0.85);
}

.lod-founder-card--photo .lod-founder-points li svg {
  stroke: var(--color-gold);
}

.lod-founder-card--photo .lod-founder-name {
  margin-bottom: 0;
}

.lod-founder-card--photo .lod-founder-points {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.4s ease;
}

.lod-founder-card--photo:hover .lod-founder-points,
.lod-founder-card--photo.is-expanded .lod-founder-points {
  max-height: 220px;
  opacity: 1;
  margin-top: var(--space-sm);
}

@media (max-width: 820px) {
  .lod-founder-card.lod-founder-card--photo {
    min-height: 400px;
    flex-direction: row;
    align-items: flex-end;
  }
}

.lod-founder-img-wrap {
  flex-shrink: 0;
}

.lod-founder-img-placeholder {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--color-section-alt);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

.lod-founder-img-placeholder svg {
  width: 42px;
  height: 42px;
  opacity: 0.5;
}

.lod-founder-img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold-light);
  box-shadow: var(--shadow-subtle);
}

.lod-founder-info {
  flex: 1;
}

.lod-founder-role {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  display: block;
  margin-bottom: 0.3rem;
}

.lod-founder-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.lod-founder-points {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.lod-founder-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: var(--fs-small);
  color: var(--color-text-light);
  line-height: 1.5;
}

.lod-founder-points li svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: var(--color-gold);
  margin-top: 3px;
}

/* ----- Services Card Grid ----- */
.lod-services {
  margin-bottom: var(--space-3xl);
}

.lod-services-header {
  margin-bottom: var(--space-xl);
}

.lod-services-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  color: var(--color-navy);
  margin-bottom: 0;
}

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

.lod-card {
  background: var(--color-bg);
  border: 1px solid var(--color-navy);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.lod-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
  border-color: var(--color-gold-light);
}

.lod-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-section-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  transition: background var(--transition-base);
}

.lod-card:hover .lod-card-icon {
  background: rgba(198, 167, 94, 0.1);
}

.lod-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-gold);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lod-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.lod-card-text {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ----- Featured Courses & Programs ----- */
.lod-courses {
  margin-bottom: var(--space-3xl);
}

.lod-services-subtitle {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.lod-courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.lod-course-group-label {
  display: block;
  font-size: var(--fs-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold-dark);
  margin-bottom: var(--space-sm);
}

.lod-courses-grid--featured {
  grid-template-columns: repeat(2, 1fr);
}

.lod-courses-grid--workshops {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .lod-courses-grid--workshops {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .lod-courses-grid--featured,
  .lod-courses-grid--workshops {
    grid-template-columns: 1fr;
  }
}

.lod-course-card {
  position: relative;
  background: var(--color-bg);
  border: 1px solid var(--color-navy);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.lod-course-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
  border-color: var(--color-gold-light);
}

.lod-course-card--featured {
  border-color: rgba(198, 167, 94, 0.3);
  background: linear-gradient(135deg, rgba(198, 167, 94, 0.03) 0%, transparent 100%);
}

.lod-course-card--featured:hover {
  border-color: var(--color-gold);
  background: linear-gradient(135deg, rgba(198, 167, 94, 0.08) 0%, transparent 100%);
}

.lod-course-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  background: rgba(198, 167, 94, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 3px;
  margin-bottom: var(--space-sm);
}

.lod-course-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  font-weight: 600;
}

.lod-course-desc {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.lod-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.lod-course-type {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--color-section-alt);
  padding: 0.35rem 0.6rem;
  border-radius: 3px;
}

.lod-course-format {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(198, 167, 94, 0.1);
  padding: 0.35rem 0.6rem;
  border-radius: 3px;
}

.lod-courses-note {
  background: var(--color-section-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin-top: var(--space-xl);
}

.lod-courses-note p {
  margin-bottom: 0;
  color: var(--color-navy);
  font-size: var(--fs-small);
}

/* ----- How It Works Ã¢â‚¬â€œ Process Strip ----- */
.lod-process {
  margin-bottom: var(--space-3xl);
}

.lod-process-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  color: var(--color-navy);
  margin-bottom: var(--space-xl);
}

.lod-process-strip {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  margin-top: var(--space-xl);
}

.lod-process-step {
  flex: 1;
  text-align: center;
  padding: 0 var(--space-sm);
}

.lod-process-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy);
  transition: border-color var(--transition-base), color var(--transition-base), background var(--transition-base);
}

.lod-process-step:hover .lod-process-num {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(198, 167, 94, 0.08);
}

.lod-process-label {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.lod-process-desc {
  font-size: var(--fs-caption);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.lod-process-connector {
  flex-shrink: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, var(--color-border), var(--color-gold-light), var(--color-border));
  align-self: flex-start;
  margin-top: 28px;
}

/* ----- CTA Block ----- */
.lod-cta {
  margin-top: var(--space-xl);
}

.lod-cta-inner {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-3xl);
  text-align: center;
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
}

.lod-cta-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--color-gold), transparent);
}

.lod-cta-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.lod-cta-desc {
  font-size: var(--fs-body);
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  line-height: 1.8;
}

.lod-cta-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ----- Responsive: League of Dentists ----- */
@media (max-width: 1024px) {
  .lod-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lod-courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .lod-founders {
    grid-template-columns: 1fr;
  }

  .lod-founder-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .lod-founder-points li {
    justify-content: center;
  }

  .lod-card-grid {
    grid-template-columns: 1fr;
  }

  .lod-courses-grid {
    grid-template-columns: 1fr;
  }

  .lod-process-strip {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }

  .lod-process-connector {
    width: 1px;
    height: 30px;
    margin-top: 0;
  }

  .lod-cta-inner {
    padding: var(--space-xl) var(--space-lg);
  }

  .lod-process-step {
    width: 100%;
    max-width: 340px;
  }
}

@media (max-width: 480px) {
  .lod-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .lod-heading {
    font-size: var(--fs-h2);
  }
}

/* ============================================================
   DOCTOR PROFILE PAGE Ã¢â‚¬â€ Rich Layout & Interactive Components
   ============================================================ */

.prof-container {
  display: flex;
  min-height: 100vh;
  background: var(--color-bg);
}

/* Left side: Full Photo */
.prof-image-side {
  flex: 0 0 45%;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow: hidden;
  background: #f0f2f5;
}

.prof-image-side img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Show full body pic */
  object-position: top center;
  transition: transform var(--transition-slow);
}

.prof-image-side:hover img {
  transform: scale(1.02);
}

/* Center/Content side */
.prof-content-side {
  flex: 1;
  padding: var(--space-xl) var(--space-3xl);
  max-width: 1000px;
  background: #f8fafc; /* Slightly darker background to make white cards pop */
  min-height: 100vh;
}

.prof-header {
  margin-bottom: var(--space-2xl);
}

.prof-name {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-navy);
  margin-bottom: 0.2rem;
  line-height: 1.1;
}

.prof-role {
  font-size: 0.95rem;
  color: var(--color-text-light);
  font-weight: 500;
  margin-bottom: 0;
  display: block;
}

/* Vaayu UI Components */
.vaayu-card {
  background: #ffffff;
  border-radius: 20px;
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Stronger shadow */
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.vaayu-card--header {
  border-top: 4px solid var(--color-gold);
}

.vaayu-badge-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: var(--space-md);
}

.vaayu-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 1rem;
  background: #fef9c3;
  color: #854d0e;
  border-radius: 100px;
}

.vaayu-badge--success {
  background: #dcfce7;
  color: #166534;
}

.vaayu-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--space-lg);
}

.vaayu-section-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: var(--space-lg);
}

.vaayu-icon-box {
  width: 42px;
  height: 42px;
  background: #f1f5f9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
}

.vaayu-icon-box--gold {
  background: #fef9c3;
  color: var(--color-gold-dark);
}

.vaayu-info-item {
  margin-bottom: var(--space-lg);
  padding: var(--space-sm);
  background: #f8fafc;
  border-radius: 12px;
}

.vaayu-info-item:last-child {
  margin-bottom: 0;
}

.vaayu-info-item label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}

.vaayu-info-item p {
  font-size: 1rem;
  color: var(--color-navy);
  font-weight: 600;
  margin-bottom: 0;
}

.prof-section-title {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-navy);
  margin-bottom: 0;
}

.prof-text {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #334155;
}

/* Interactive Keywords */
.prof-text strong {
  color: var(--color-navy);
  font-weight: 700;
  position: relative;
  cursor: pointer;
  padding: 0 4px;
  transition: all var(--transition-fast);
  display: inline-block;
  z-index: 1;
}

.prof-text strong::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(198, 167, 94, 0.2);
  z-index: -1;
  transition: all var(--transition-fast);
}

.prof-text strong:hover {
  color: #fff;
}

.prof-text strong:hover::after {
  height: 100%;
  background: var(--color-gold);
}

/* Highlighted words playing icon hint */
.prof-text strong::before {
  content: 'Ã¢â€“Â¶';
  font-size: 0.6rem;
  position: absolute;
  top: -10px;
  right: -8px;
  color: var(--color-gold);
  opacity: 0;
  transition: all var(--transition-fast);
}

.prof-text strong:hover::before {
  opacity: 1;
  transform: translateY(2px);
}

/* Info Grid (Education / Experience) */
.prof-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.prof-info-item h4 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
  color: var(--color-navy);
}

.prof-info-item p {
  font-size: var(--fs-small);
  margin-bottom: 0;
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(92, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal__content {
  width: 90%;
  max-width: 1000px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-base);
}

.video-modal.active .video-modal__content {
  transform: scale(1);
}

.video-modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.video-modal__close:hover {
  color: var(--color-gold);
}

/* Back Link */
.prof-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: var(--fs-small);
  margin-bottom: var(--space-xl);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.prof-back:hover {
  color: var(--color-gold);
  transform: translateX(-5px);
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
  .prof-container {
    flex-direction: column;
  }
  
  .prof-image-side {
    height: 60vh;
    position: relative;
    flex: none;
    width: 100%;
  }
  
  .prof-content-side {
    padding: var(--space-xl) var(--space-lg);
  }
}

/* ---------- Article Modal Ã¢â‚¬â€ compact top-left corner card ---------- */
.modal-overlay {
  position: fixed;
  top: 84px;
  left: 20px;
  width: 210px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-16px);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
  background: none;
  pointer-events: none;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.modal-content {
  background: #fff;
  border: 2px solid var(--color-gold);
  border-radius: 10px;
  padding: 14px 14px 16px;
  position: relative;
  text-align: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #000000;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s;
  z-index: 10;
}

.modal-close:hover {
  opacity: 0.7;
  color: var(--color-gold);
}

.modal-featured-text {
  color: #000000;
  font-family: var(--font-body);
  font-size: 0.72rem;
  line-height: 1.45;
  font-weight: 600;
  margin-bottom: 10px;
}

.modal-magazine-img {
  max-width: 120px;
  width: 100%;
  height: auto;
  margin: 0 auto 10px auto;
  display: block;
  border: 2px solid var(--color-gold);
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gold);
  color: #000000;
  font-weight: 700;
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.modal-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(198, 167, 94, 0.4);
}

.modal-btn span {
  margin-left: 10px;
}

/* ---------- Emotional Narrative & Perspective Sections ---------- */
.perspective-section {
  padding: var(--space-3xl) 0;
  background: #fbfcfd;
}

.perspective-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.perspective-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  aspect-ratio: 4/5;
}

.perspective-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition-slow);
}

.perspective-img--doctor {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.perspective-section.show-doctor .perspective-img--patient { opacity: 0; }
.perspective-section.show-doctor .perspective-img--doctor { opacity: 1; }

.perspective-content {
  padding-right: var(--space-xl);
}

.perspective-toggle-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: var(--space-lg) 0;
}

.perspective-switch {
  position: relative;
  width: 240px;
  height: 50px;
  background: var(--color-navy);
  border-radius: 25px;
  padding: 5px;
  display: flex;
  cursor: pointer;
  border: 1px solid var(--color-gold);
}

.perspective-switch__label {
  flex: 1;
  text-align: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 40px;
  position: relative;
  z-index: 2;
  transition: color 0.3s;
}

.perspective-switch__slider {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(50% - 5px);
  height: 40px;
  background: var(--color-gold);
  border-radius: 20px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1;
}

.perspective-section.show-doctor .perspective-switch__slider {
  transform: translateX(100%);
}

.perspective-text-block {
  display: none;
  animation: fadeInText 0.6s ease forwards;
}

.perspective-text-block.active {
  display: block;
}

@keyframes fadeInText {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Interactive Approach Journey ---------- */
.journey-container {
  max-width: 1000px;
  margin: var(--space-2xl) auto;
  position: relative;
}

.journey-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 40px;
  width: 2px;
  height: 100%;
  background: var(--color-border);
  z-index: 1;
}

.journey-step {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 2;
}

.journey-marker {
  width: 80px;
  height: 80px;
  background: #fff;
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
  flex-shrink: 0;
  box-shadow: var(--shadow-subtle);
  transition: all 0.4s ease;
}

.journey-step:hover .journey-marker {
  background: var(--color-navy);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(198, 167, 94, 0.4);
}

.journey-content {
  background: #fff;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s ease, border-color 0.4s ease;
  flex-grow: 1;
}

.journey-step:hover .journey-content {
  transform: translateX(10px);
  border-color: var(--color-gold);
}

.journey-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.journey-title {
  margin-bottom: 0.75rem;
}

.journey-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.journey-step:hover .journey-details {
  max-height: 200px;
}

/* MBC Enhancement */
.mbc-organ-item {
  cursor: pointer;
  pointer-events: auto;
}

.mbc-organ-item:hover {
  background: rgba(198, 167, 94, 0.15);
  color: var(--color-navy);
}

.mbc-insight-box {
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 40%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 25px;
  border-radius: var(--radius-md);
  border-left: 5px solid var(--color-gold);
  box-shadow: var(--shadow-elevated);
  z-index: 30;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  pointer-events: none;
}

.mbc-insight-box.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 820px) {
  .perspective-grid { grid-template-columns: 1fr; }
  .perspective-content { padding-right: 0; text-align: center; order: 2; }
  .perspective-image-wrapper { order: 1; height: 40vh; }
  .perspective-toggle-container { justify-content: center; }
  .journey-container::before { left: 20px; }
  .journey-marker { width: 40px; height: 40px; font-size: 1rem; }
  .journey-step { gap: var(--space-md); }
  .mbc-insight-box { width: 90%; bottom: 5%; left: 5%; }
}

/* ---------- Immersive Visual-First UI ---------- */
.immersive-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-xl) 0;
}

.discovery-section .immersive-bg {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  margin-bottom: -100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.immersive-bg img,
.immersive-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.discovery-video {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  filter: brightness(0.55);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.immersive-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--space-lg);
}

.immersive-content h2 {
  color: #fff;
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
}

.immersive-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
}

/* Comparison Section */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  height: 80vh;
}

.comparison-side {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2xl);
  overflow: hidden;
}

.comparison-side--traditional {
  background: #f1f5f9;
  color: var(--color-navy);
}

.comparison-side--vp {
  background: var(--color-navy);
  color: #fff;
}

.comparison-side--vp h3 { color: #fff; }

.comparison-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-md);
  opacity: 0.7;
}

.comparison-visual {
  height: 300px;
  margin: var(--space-xl) 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-visual svg {
  width: 100%;
  height: 100%;
  max-width: 200px;
}

/* Scroll Discovery */
.discovery-section {
  position: relative;
  background: #000;
}


.discovery-item {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10%;
  position: relative;
  z-index: 2;
}

.discovery-content {
  max-width: 500px;
  background: rgba(92, 10, 10, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: translateX(-50px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.discovery-content h3 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-shadow: var(--video-text-shadow);
}

.discovery-content p {
  color: #fff;
  font-size: 1.1rem;
  text-shadow: var(--video-text-shadow);
}

/* .discovery-section, not just .discovery-content — .section-label also
   appears inside .discovery-duo-card (home.html) and .hsteps__head
   (approach.html), both nested in the same pinned-video section but not
   wrapped by .discovery-content itself. */
.discovery-section .section-label {
  color: var(--color-gold-bright);
  opacity: 1;
  text-shadow: var(--video-gold-shadow);
}

/* Video pause button */
.discovery-video-pause {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background 0.3s;
}

.discovery-video-pause:hover {
  background: rgba(255, 255, 255, 0.3);
}

.discovery-item.visible .discovery-content {
  transform: translateX(0);
  opacity: 1;
}

.discovery-item--intro {
  height: 100vh;
  pointer-events: none;
}

.discovery-item--centered {
  justify-content: center;
  padding: 0 10%;
}

.discovery-content--hero {
  max-width: 700px;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  padding: 0;
  text-align: center;
}

.discovery-content--hero h3 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  text-shadow: var(--video-text-shadow);
}

.discovery-content--hero p {
  font-size: 1.25rem;
  text-shadow: var(--video-text-shadow);
  max-width: 560px;
  margin: 0 auto;
}

.discovery-content--visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.discovery-item--right {
  justify-content: flex-end;
  padding: 0 10%;
}

/* Our Story + Our Mission: two cards in one row, joined by a connector
   line that draws in as the mission card arrives (see home-cinematic.css
   for the scroll-driven stagger). */
.discovery-duo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  max-width: 1100px;
  width: 100%;
}

.discovery-duo-card {
  /* Overrides display:flex from .discovery-item — the mission card also
     carries that class (see home.html) purely so the scroll-spy/story-rail
     can track it as its own chapter; its content must still stack normally. */
  display: block;
  height: auto;
  flex: 1 1 0;
  max-width: 460px;
  background: rgba(92, 10, 10, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.discovery-duo-card h3 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-shadow: var(--video-text-shadow);
}

.discovery-duo-card p {
  color: #fff;
  font-size: 1.1rem;
  text-shadow: var(--video-text-shadow);
}

/* Connector: a dot that appears with the story card, and a bar that
   draws out from it afterwards to reach the mission card. Kept as two
   elements (rather than one line with pseudo-dots) so the dot can stay
   visible on its own before the line has any length — see the
   scroll-driven timing in home-cinematic.css. */
.discovery-duo-connector {
  position: relative;
  flex: 0 0 auto;
  width: 90px;
  height: 8px;
  display: flex;
  align-items: center;
}

.discovery-duo-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(198, 167, 94, 0.18);
}

.discovery-duo-line {
  flex: 1 1 auto;
  height: 2px;
  margin-left: 8px;
  background: var(--color-gold);
  transform-origin: left center;
}

@media (max-width: 820px) {
  .discovery-duo {
    flex-direction: column;
    gap: var(--space-md);
  }

  .discovery-duo-card {
    max-width: 100%;
    width: 100%;
  }

  .discovery-duo-connector {
    width: 8px;
    height: 46px;
    flex-direction: column;
    align-items: center;
  }

  .discovery-duo-line {
    width: 2px;
    height: auto;
    margin-left: 0;
    margin-top: 8px;
    transform-origin: top center;
  }
}

.discovery-item--spacer {
  height: 20vh;
  pointer-events: none;
}

.discovery-item--approach-hero {
  height: 100vh;
  min-height: 600px;
  justify-content: center;
  padding: 0 10%;
}

.discovery-item--full {
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) 5%;
  height: auto;
  min-height: 100vh;
}

/* Bare section-title panels (e.g. "Our Core Values", "Our Impact") that are
   immediately followed by their own content panel — don't force a full
   100vh screen of empty space just to center two lines of text. */
.discovery-item--title-only {
  height: auto;
  min-height: 0;
  padding: var(--space-2xl) 10% var(--space-md);
}

/* Panel wrap: title outside box, grid inside bordered box */
.discovery-panel-wrap {
  max-width: 1000px;
  width: 100%;
  position: relative;
}

.discovery-panel-wrap--wide {
  max-width: 1180px;
}

.discovery-panel-title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.discovery-panel-title h3 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
  margin-bottom: var(--space-sm);
}

.discovery-panel-title p {
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  margin: 0 auto;
  font-size: var(--fs-small);
}

.discovery-panel-box {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

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

.discovery-wide-card {
  background: rgba(180, 40, 40, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.discovery-wide-card h4 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
  text-shadow: var(--video-text-shadow);
}

.discovery-wide-card p {
  color: #fff;
  font-size: 1rem;
  margin: 0;
  text-shadow: var(--video-text-shadow);
}

.discovery-wide-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-gold-bright);
  opacity: 0.85;
  line-height: 1;
  margin-bottom: var(--space-sm);
  text-shadow: var(--video-gold-shadow);
}

.discovery-wide-icon {
  display: block;
  font-size: 1.4rem;
  color: var(--color-gold-bright);
  margin-bottom: var(--space-sm);
}

/* ============================================================
   THE JOURNEY — approach.html "Who We Help" -> "The Process"
   ============================================================ */
.journey-wrap {
  max-width: 760px;
}

.journey {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.journey-group {
  position: relative;
  padding-left: 56px;
}

/* Golden Vertical Connecting Line for each group */
.journey-group-line {
  position: absolute;
  left: 17px;
  top: 130px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-gold-bright) 0%, #C6A75E 60%, rgba(198, 167, 94, 0.4) 100%);
  box-shadow: 0 0 10px rgba(198, 167, 94, 0.4);
  z-index: 0;
  pointer-events: none;
}

.journey-group--process .journey-group-line {
  top: 80px;
}

.journey-separator {
  height: 3.5rem;
}

.journey-head {
  margin: 0 0 var(--space-xl);
  text-align: center;
}

.journey-head .section-label {
  display: inline-block;
  margin-bottom: var(--space-xs);
  text-align: center;
}

.journey-head__title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.8vw, 2.75rem);
  line-height: 1.18;
  margin: 0 0 var(--space-sm);
  text-align: center;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.journey-head__intro {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.02rem;
  max-width: 54ch;
  margin: 0 auto;
  text-align: center;
}

/* Enclosed maroon box for each point */
.journey-node {
  position: relative;
  padding: var(--space-lg) var(--space-xl);
  border: 1.5px solid rgba(198, 167, 94, 0.35);
  background: rgba(65, 8, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  margin-bottom: var(--space-lg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

.journey-node:last-child {
  margin-bottom: 0;
}

.journey-node__num {
  position: absolute;
  left: -56px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50%;
  border: 1.5px solid var(--color-gold-bright);
  color: var(--color-gold-bright);
  background: rgba(40, 5, 5, 0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 0 12px rgba(198, 167, 94, 0.3);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}

.journey-node__num--badge {
  background: var(--color-gold-bright);
  color: var(--color-navy);
  border-color: var(--color-gold-bright);
  box-shadow: 0 0 14px rgba(242, 196, 100, 0.5);
}

.journey-node__body h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin: 0 0 6px;
}

.journey-node__body p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

@media (hover: hover) and (pointer: fine) {
  .journey-node:hover {
    transform: translateX(6px);
    background: rgba(85, 12, 12, 0.92);
    border-color: var(--color-gold-bright);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 15px rgba(198, 167, 94, 0.2);
  }
  .journey-node:hover .journey-node__num {
    transform: translateY(-50%) scale(1.12);
    background: var(--color-gold-bright);
    color: var(--color-navy);
  }
}

@media (max-width: 820px) {
  .journey-group {
    padding-left: 44px;
  }
  .journey-group-line {
    left: 13px;
    top: 140px;
    bottom: 30px;
  }
  .journey-group--process .journey-group-line {
    top: 75px;
  }
  .journey-node__num {
    left: -44px;
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }
  .journey-transition {
    display: none;
  }
  .discovery-wide-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
  .discovery-item--full {
    padding: var(--space-xl) var(--space-md);
  }
}

@media (max-width: 500px) {
  .discovery-wide-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  /* Core values: horizontal scroll on mobile instead of grid */
  .discovery-wide-grid--scroll {
    display: flex;
    grid-template-columns: auto;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-right: 1.25rem;
    -webkit-overflow-scrolling: touch;
  }

  .discovery-wide-grid--scroll .discovery-wide-card {
    flex: 0 0 min(85vw, 340px);
    scroll-snap-align: start;
  }
}

/* Swipe instruction hint - hide on desktop, show only on mobile */
.values-swipe-hint {
  display: none;
}

@media (max-width: 500px) {
  /* Swipe instruction hint - positioned outside the dark panel */
  .values-swipe-hint {
    display: block;
    position: absolute;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    pointer-events: none;
    white-space: nowrap;
  }
}

.discovery-content--image-card {
  max-width: 420px;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.discovery-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.discovery-card-text {
  padding: var(--space-xl);
  background: rgba(92, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.discovery-card-text h3 {
  color: #fff;
  margin-bottom: var(--space-sm);
}

.discovery-card-text p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

@media (max-width: 820px) {
  .discovery-item--right {
    justify-content: center;
    padding: 0 5%;
    height: auto;
    min-height: 60vh;
  }

  .discovery-item:has(.discovery-content--image-card) {
    height: auto;
    min-height: 75vh;
    padding: 2rem 1.25rem;
  }
}

/* Horizontal Scroll Strip (Grid layout for desktop, horizontal scroll for mobile) */
.visual-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  padding: var(--space-xl) 0;
}

.strip-item {
  height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
}

.strip-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.strip-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-xl);
  background: linear-gradient(to top, rgba(92, 10, 10, 0.9), transparent);
  color: #fff;
}

@media (max-width: 1023px) {
  .visual-strip {
    display: flex;
    overflow-x: auto;
    gap: var(--space-md);
    padding: var(--space-xl) var(--space-lg);
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .visual-strip::-webkit-scrollbar { display: none; }
  .strip-item {
    flex: 0 0 300px;
    height: 400px;
    scroll-snap-align: center;
  }
}

@media (max-width: 820px) {
  .comparison-grid { grid-template-columns: 1fr; height: auto; }
  .immersive-content h2 { font-size: 2.2rem; }
  .discovery-item { justify-content: center; padding: 0 5%; }
  .discovery-content { max-width: 100%; padding: var(--space-xl); }
}

/* --- Approach Page Sections --- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.approach-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.approach-card {
  background: var(--color-section-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
}

.approach-card--alt {
  background: var(--color-bg);
}

.approach-card__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-navy-light);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.approach-card__icon {
  font-size: 1.4rem;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

.approach-card h4 {
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
  font-size: var(--fs-body);
}

.approach-card p {
  color: var(--color-text-light);
  font-size: var(--fs-small);
  margin: 0;
}

.approach-steps {
  max-width: 680px;
  margin: var(--space-2xl) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.approach-step {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.approach-step__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-small);
}

.approach-step__body h4 {
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
  font-size: var(--fs-body);
}

.approach-step__body p {
  color: var(--color-text-light);
  font-size: var(--fs-small);
  margin: 0;
}

@media (max-width: 1023px) {
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .approach-grid,
  .approach-grid--2 {
    grid-template-columns: 1fr;
  }
}

/* --- Treatment & Content Pages: Light Red Navbar --- */
#page-treatments #mainNav,
#page-team #mainNav,
#page-technology #mainNav,
#page-education #mainNav,
#page-testimonials #mainNav {
  background: rgba(220, 130, 130, 0.92) !important;
  border-bottom: 1px solid rgba(198, 167, 94, 0.3) !important;
}

#page-treatments #mainNav .nav__logo-text,
#page-team #mainNav .nav__logo-text,
#page-technology #mainNav .nav__logo-text,
#page-education #mainNav .nav__logo-text,
#page-testimonials #mainNav .nav__logo-text {
  color: #fff !important;
}

#page-treatments #mainNav .nav__link,
#page-team #mainNav .nav__link,
#page-technology #mainNav .nav__link,
#page-education #mainNav .nav__link,
#page-testimonials #mainNav .nav__link {
  color: #fff !important;
}

#page-treatments #mainNav .nav__link:hover,
#page-team #mainNav .nav__link:hover,
#page-technology #mainNav .nav__link:hover,
#page-education #mainNav .nav__link:hover,
#page-testimonials #mainNav .nav__link:hover,
#page-treatments #mainNav .nav__link.active,
#page-team #mainNav .nav__link.active,
#page-technology #mainNav .nav__link.active,
#page-education #mainNav .nav__link.active,
#page-testimonials #mainNav .nav__link.active {
  color: var(--color-gold) !important;
}

#page-treatments #mainNav .nav__toggle span,
#page-team #mainNav .nav__toggle span,
#page-technology #mainNav .nav__toggle span,
#page-education #mainNav .nav__toggle span,
#page-testimonials #mainNav .nav__toggle span {
  background-color: #fff !important;
}

#page-treatments #mainNav .nav__logo-subtitle,
#page-team #mainNav .nav__logo-subtitle,
#page-technology #mainNav .nav__logo-subtitle,
#page-education #mainNav .nav__logo-subtitle,
#page-testimonials #mainNav .nav__logo-subtitle {
  color: var(--color-gold) !important;
}

#page-treatments #mainNav .logo-line,
#page-team #mainNav .logo-line,
#page-technology #mainNav .logo-line,
#page-education #mainNav .logo-line,
#page-testimonials #mainNav .logo-line {
  background-color: var(--color-gold) !important;
}

/* --- Our Approach Specific Overlay Page Design --- */
#page-approach,
#page-about {
  padding-top: 0 !important;
}

/* --- Transparent Navigation for Video Overlays --- */
.nav.nav--transparent {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Adaptive nav Ã¢â‚¬â€ over dark sections Ã¢â‚¬â€ frosted dark glass */
.nav.nav--over-dark {
  background: rgba(0, 0, 0, 0.30) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.nav.nav--over-dark .nav__logo-text,
.nav.nav--over-dark .nav__logo-subtitle { color: #fff !important; }
.nav.nav--over-dark .nav__link { color: rgba(255,255,255,0.85) !important; }
.nav.nav--over-dark .nav__link:hover,
.nav.nav--over-dark .nav__link.active { color: var(--color-gold) !important; }
.nav.nav--over-dark .nav__toggle span { background-color: #fff !important; }
.nav.nav--over-dark .logo-line { background-color: var(--color-gold) !important; }

/* Adaptive nav Ã¢â‚¬â€ over light sections */
.nav.nav--over-light {
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(198,167,94,0.3) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
}
.nav.nav--over-light .nav__logo-text { color: #802929 !important; }
.nav.nav--over-light .nav__link { color: var(--color-text-light) !important; }
.nav.nav--over-light .nav__link:hover,
.nav.nav--over-light .nav__link.active { color: var(--color-gold) !important; }
.nav.nav--over-light .nav__toggle span { background-color: var(--color-navy) !important; }

/* When transparent nav gets scrolled, glass kicks back in */
.nav.nav--transparent.scrolled {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(198, 167, 94, 0.4) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08) !important;
}
.nav.nav--transparent.scrolled .nav__logo-text {
  color: #802929 !important;
}
.nav.nav--transparent.scrolled .nav__logo-subtitle,
.nav.nav--transparent.scrolled .nav__link {
  color: var(--color-navy) !important;
}
.nav.nav--transparent.scrolled .nav__link:hover,
.nav.nav--transparent.scrolled .nav__link.active {
  color: var(--color-gold) !important;
}

.nav.nav--transparent .nav__logo-text {
  color: #fff !important;
}

.nav.nav--transparent .nav__logo-subtitle {
  color: var(--color-gold) !important;
}

.nav.nav--transparent .logo-line {
  background-color: var(--color-gold) !important;
}

.nav.nav--transparent .nav__logo-icon-container {
  color: var(--color-gold) !important;
}

.nav.nav--transparent .nav__link {
  color: rgba(255, 255, 255, 0.85) !important;
}

.nav.nav--transparent .nav__link:hover,
.nav.nav--transparent .nav__link.active {
  color: var(--color-gold) !important;
}

.nav.nav--transparent .nav__link::after {
  background-color: var(--color-gold) !important;
}

/* The chevron on About/Resources reuses the .nav__link::after pseudo-element
   (normally an animated underline bar), so it inherits the gold background
   above. Keep it a plain glyph with no fill, on every nav theme. */
.nav.nav--transparent .nav__link.dropdown-toggle::after,
.nav--over-dark .nav__link.dropdown-toggle::after,
.nav--over-light .nav__link.dropdown-toggle::after {
  background: none !important;
}

.nav.nav--transparent .nav__toggle span {
  background-color: #fff !important;
}

/* nav--transparent (top-of-page state) and nav--over-light/nav--over-dark (adaptive
   theme from [data-nav] sections) can be applied to the nav at the same time on pages
   whose top section is data-nav="light" (e.g. testimonials.html). Both rule blocks
   above independently win different properties based on source order alone, which
   left text white on a white background until the user scrolled. Pin the combined
   state explicitly so light-hero pages always get light-appropriate (dark) text. */
.nav.nav--transparent.nav--over-light .nav__logo-text {
  color: #802929 !important;
}
.nav.nav--transparent.nav--over-light .nav__link {
  color: var(--color-text-light) !important;
}
.nav.nav--transparent.nav--over-light .nav__link:hover,
.nav.nav--transparent.nav--over-light .nav__link.active {
  color: var(--color-gold) !important;
}
.nav.nav--transparent.nav--over-light .nav__toggle span {
  background-color: var(--color-navy) !important;
}

/* Contact icon follows the same adaptive theming as the nav links/logo above:
   white on dark/transparent hero states, navy once over a light section (the
   combined transparent+over-light case needs its own override for the same
   reason as the text rules above it). */
.nav.nav--over-dark .nav__contact-icon,
.nav.nav--transparent .nav__contact-icon {
  border-color: #fff !important;
  color: #fff !important;
}
.nav.nav--over-dark .nav__contact-icon:hover,
.nav.nav--over-dark .nav__contact-icon.active,
.nav.nav--transparent .nav__contact-icon:hover,
.nav.nav--transparent .nav__contact-icon.active {
  background: #fff !important;
  color: var(--color-navy) !important;
}
.nav.nav--transparent.nav--over-light .nav__contact-icon {
  border-color: var(--color-navy) !important;
  color: var(--color-navy) !important;
}
.nav.nav--transparent.nav--over-light .nav__contact-icon:hover,
.nav.nav--transparent.nav--over-light .nav__contact-icon.active {
  background: var(--color-navy) !important;
  color: #fff !important;
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   HOME PAGE: IMMERSIVE VIDEO LAYOUT WITH TRANSPARENT TEXT OVERLAYS
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */

/* IMMERSIVE VIDEO SECTIONS */
.immersive-video-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #121212;
}

.immersive-video-section .immersive-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.immersive-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dark overlay for readability */
.immersive-video-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}


/* TEXT OVERLAY ON LEFT */
.immersive-content-left {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 600px;
  margin-left: 5%;
  padding: 40px;
}

/* HERO BOTTOM CARDS */
.hero-bottom-cards {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  gap: 2rem;
  padding: 2rem 1.5rem 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.6) 55%, transparent 100%);
}
.hero-rect {
  flex: 1;
  padding: 2rem 2.5rem;
  background: transparent;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-rect--1 {
  flex: 2.2;
  transition-delay: 0s;
  padding: 3rem 3.5rem;
}
.hero-rect--1 h1 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin: 0;
}
.hero-rect--2 {
  flex: 0.8;
  transition-delay: 0.5s;
  padding: 1.5rem 1.8rem;
  align-self: flex-end;
}
.hero-rect p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  text-align: center;
}
.hero-rect.revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 820px) {
  .hero-bottom-cards {
    position: relative !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    margin-top: 1.5rem !important;
    padding: 1rem !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  .hero-rect {
    padding: 1rem 1.25rem !important;
    opacity: 0 !important;
    transform: translateY(20px) !important;
    border-radius: 0 !important;
    border: none !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    animation: heroFadeUp 0.8s ease forwards 0.3s !important;
    text-align: left !important;
  }

  @keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-rect h1,
  .hero-rect p {
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    color: #000000 !important;
    text-shadow: none !important;
    line-height: 1.6 !important;
    text-align: left !important;
    margin: 0 !important;
  }

  .hero-rect p + p {
    margin-top: 0.75rem !important;
  }

  .hero-word-animate {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
  }

  .hero-word-animate .word {
    display: inline;
    opacity: 0;
    animation: wordFadeIn 0.3s ease forwards;
  }

  @keyframes wordFadeIn {
    to { opacity: 1; }
  }
  .hero-rect h1,
  .hero-rect p {
    color: #000000 !important;
    text-shadow: none !important;
  }

  .hero-rect.hero-rect-visible,
  .hero-rect.revealed {
    opacity: 1 !important;
    transform: translateX(0) !important;
  }
  .hero-rect p { font-size: 0.9rem; }
}

/* GLASS PANEL STYLING */
.glass-panel {
  background: transparent;
  border: none;
  border-radius: 12px;
  padding: 2.5rem;
  color: #fff;
}

.walkthrough-card--clinic {
  background: rgba(8, 3, 4, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 820px) {
  .walkthrough-card--clinic {
    border: 1.5px solid #000000 !important;
  }
}

.immersive-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.immersive-headline {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.immersive-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 1.5rem;
}

.immersive-subtext {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.immersive-body {
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

/* CONNECTION LIST - Mouth Body Section */
.connection-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.connection-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.connection-icon {
  font-size: 2rem;
  flex-shrink: 0;
  opacity: 0.9;
}

.connection-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.connection-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/* CLINIC HIGHLIGHTS */
.clinic-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.highlight-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/* STATISTICS ANIMATION SECTION */
.stats-animation-section {
  background: #ffefef;
  padding: 2rem 0;
  position: relative;
  z-index: 10;
}

.stats-single-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid rgba(92, 10, 10, 0.2);
  border-radius: 100px;
  padding: 1rem 2rem;
  max-width: 680px;
  width: 90%;
  margin: 0 auto;
  gap: 0;
  animation: fadeInPill 0.8s ease forwards, pillFloat 4s ease-in-out 1s infinite;
  opacity: 0;
  box-sizing: border-box;
}

@keyframes fadeInPill {
  to { opacity: 1; }
}

@keyframes pillFloat {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(6px, -6px); }
  50%  { transform: translate(0, -10px); }
  75%  { transform: translate(-6px, -6px); }
  100% { transform: translate(0, 0); }
}

.stat-pill-item {
  flex: 1;
  text-align: center;
  padding: 0 0.5rem;
  min-width: 0;
}

.stat-pill-divider {
  width: 1px;
  height: 40px;
  background: rgba(92, 10, 10, 0.2);
  flex-shrink: 0;
}

/* Hide card logo header on desktop */
.card-header-row {
  display: none;
}
.card-logo {
  display: none;
}

/* Mobile stats section Ã¢â‚¬â€ hidden on desktop */
.mobile-stats-section {
  display: none;
  padding: 1.5rem 1rem;
  background: transparent;
}

.mobile-stats-pills {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  width: 95%;
  margin: 0 auto;
  justify-content: center;
}

.mobile-stat-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex: 1;
  background: transparent;
  border: 1.5px solid #e01010;
  border-radius: 100px;
  padding: 0.5rem 0.4rem;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  box-shadow: 0 0 8px rgba(224, 16, 16, 0.25);
}

.mobile-stat-pill .stat-value {
  font-size: 1rem !important;
  margin-bottom: 0 !important;
}

.mobile-stat-pill .stat-text {
  font-size: 0.55rem !important;
  line-height: 1.2 !important;
}

.mobile-stat-pill.pill-visible {
  opacity: 1;
  transform: translateY(0);
  animation: pillFloat 4s ease-in-out infinite;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.mobile-stat-pill:nth-child(1).pill-visible { animation-delay: 0s; }
.mobile-stat-pill:nth-child(2).pill-visible { animation-delay: 1.3s; }
.mobile-stat-pill:nth-child(3).pill-visible { animation-delay: 2.6s; }

/* Desktop only elements visible on desktop, hidden on mobile */
.desktop-only {
  display: block;
}

/* Mobile only Ã¢â‚¬â€ hide desktop-only elements */
@media (max-width: 820px) {
  .desktop-only {
    display: none !important;
  }
}

.stat-box {
  text-align: center;
  padding: 2.5rem;
  background: rgba(92, 10, 10, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(92, 10, 10, 0.1);
  transition: all 0.4s ease;
}

.stat-box:hover {
  background: rgba(92, 10, 10, 0.1);
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(92, 10, 10, 0.15);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  animation: float 3s ease-in-out infinite;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.stat-text {
  font-size: 0.8rem;
  color: var(--color-text-light);
  opacity: 0.8;
  line-height: 1.3;
  font-weight: 400;
}

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

/* FOUNDERS SECTION */
.founders-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  padding: 4rem 0 6rem;
  position: relative;
  z-index: 10;
}

.founders-header {
  text-align: center;
  margin-bottom: 4rem;
  color: #fff;
}

.founders-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.founders-header p {
  font-size: 1.6rem;
  color: var(--color-gold);
  opacity: 0.9;
}

.founders-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.founder-block {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 550px;
  display: flex;
  align-items: flex-end;
  background: #000;
}

.founder-video-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.founder-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Desktop: show photo, hide video */
@media (min-width: 769px) {
  .founder-bg-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    z-index: 0;
  }
  .founder-video--mobile {
    display: none;
  }
}

/* Mobile: show photo, hide video */
@media (max-width: 820px) {
  .founder-block {
    min-height: 520px;
  }

  .founder-video-container {
    position: absolute !important;
    inset: 0 !important;
    background: #000 !important;
    z-index: 1;
    width: 100%;
    height: 100%;
  }

  .founder-bg-photo {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    z-index: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .founder-video {
    display: none !important;
  }
  .founder-video--mobile {
    display: none !important;
  }
  .founder-video-overlay {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.8) 100%) !important;
    z-index: 2 !important;
  }
}

.founder-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.8) 100%);
  z-index: 2;
}

.founder-info {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 12px !important;
  margin: 1.5rem;
  text-align: center;
  color: #fff;
  transition: all 0.4s ease;
}

.founder-block:hover .founder-info {
  background: rgba(255, 255, 255, 0.18) !important;
  transform: translateY(-8px);
}

.founder-avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.founder-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.founder-bio {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-bottom: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease, margin-bottom 0.45s ease;
}

.founder-link {
  display: inline-block;
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-gold);
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease;
}

.founder-link:hover {
  background: var(--color-gold);
  color: #1a1a1a;
}

/* Bio stays hidden until the card is hovered (desktop) or tapped (mobile, via
   .is-expanded toggled in about.js) â€” name/role/link stay visible at all times. */
.founder-block:hover .founder-bio,
.founder-block.is-expanded .founder-bio {
  max-height: 220px;
  opacity: 1;
  margin-bottom: 1.5rem;
}

.founder-block {
  cursor: pointer;
}

/* ENTRANCE ANIMATIONS */
/* Dr. Srivats: enters from right Ã¢â€ â€™ slides left into place */
.founder-block--srivats {
  transform: translateX(120vw);
  opacity: 0;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.5s ease;
}
.founder-block--srivats.in-view {
  transform: translateX(0);
  opacity: 1;
}

/* Dr. Param: enters from bottom Ã¢â€ â€™ slides up, delayed until after Srivats settles */
.founder-block--param {
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.5s ease;
  transition-delay: 1s;
}
.founder-block--param.in-view {
  transform: translateY(0);
  opacity: 1;
}

/* On mobile, the off-screen slide-in (translateX(120vw)/translateY(80px)) can get stuck
   if the IntersectionObserver that adds .in-view doesn't fire at the exact right scroll
   moment, leaving the card visibly offset from the heading above it. Keep it simple and
   reliable there: cards sit correctly in place by default, with just a fade-in. */
@media (max-width: 820px) {
  .founder-block--srivats,
  .founder-block--param {
    transform: none;
  }
  .founder-block--srivats.in-view,
  .founder-block--param.in-view {
    transform: none;
  }
}

/* CTA BUTTONS SECTION */
.cta-buttons-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f7f5 100%);
  padding: 4rem 0;
  position: relative;
  z-index: 10;
}

.cta-buttons-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.cta-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  border-radius: 12px;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all 0.3s ease;
  background: rgba(92, 10, 10, 0.05);
  cursor: pointer;
}

.cta-button:hover {
  background: rgba(92, 10, 10, 0.1);
  border-color: var(--color-gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(92, 10, 10, 0.15);
}

.cta-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.cta-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-navy);
  text-align: center;
  font-family: var(--font-heading);
}

/* MOBILE RESPONSIVE */
@media (max-width: 1024px) {
  .immersive-headline {
    font-size: 2.5rem;
  }

  .immersive-title {
    font-size: 2rem;
  }

  .immersive-content-left {
    max-width: 550px;
  }

  .cta-buttons-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 500px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .founders-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .immersive-video-section {
    min-height: 80vh;
  }

  /* Keep video fixed on mobile for about/approach pages */
  .discovery-section .immersive-bg {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    z-index: 1 !important;
    margin-bottom: 0 !important;
  }

  .discovery-section {
    position: relative;
  }

  .discovery-section .fade-in-scroll {
    position: relative;
    z-index: 2;
  }

  .immersive-content-left {
    margin-left: 0;
    width: 100%;
    padding: 2rem;
  }

  .glass-panel {
    padding: 1.5rem;
  }

  .immersive-headline {
    font-size: 1.75rem;
  }

  .immersive-title {
    font-size: 1.5rem;
  }

  .immersive-subtext,
  .immersive-body {
    font-size: 0.95rem;
  }

  .connection-list {
    gap: 1rem;
  }

  .connection-icon {
    font-size: 1.5rem;
  }

  .cta-buttons-wrapper {
    gap: 1rem;
  }

  .cta-button {
    padding: 1.5rem;
  }

  .cta-icon {
    font-size: 2rem;
  }

  .cta-text {
    font-size: 0.95rem;
  }

  .stats-animation-section {
    padding: 4rem 0;
  }

  .stats-grid {
    gap: 1.5rem;
  }

  .stat-box {
    padding: 1.5rem;
  }

  .stat-icon {
    font-size: 1.8rem;
  }

  .stat-value {
    font-size: 2.2rem;
  }

  .founders-section {
    padding: 2rem 0 3rem;
  }

  .founders-header h2 {
    font-size: 1.75rem;
  }

  .founders-container {
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .founder-block {
    min-height: 400px;
  }

  .founder-info {
    padding: 1.5rem !important;
    margin: 1rem !important;
  }

  .founder-avatar {
    width: 80px;
    height: 80px;
  }

  .founder-name {
    font-size: 1.5rem;
  }

  .founder-title {
    font-size: 0.85rem;
  }

  .founder-bio {
    font-size: 0.95rem;
  }
}

/* HERO SECTION: Full-height video background */
.video-hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #121212;
}

.video-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 5, 5, 0.4) 0%, rgba(20, 5, 5, 0.6) 100%);
  z-index: 2;
  pointer-events: none;
}

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

.video-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 60px;
  text-align: center;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 900px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-subheadline {
  font-size: 1.3rem;
  color: var(--color-gold);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
}

.stat-card {
  text-align: center;
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  min-width: 140px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

/* VIDEO BACKGROUND SECTIONS (MBC, Clinic) */
.video-bg-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-bg-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 5, 5, 0.65) 0%, rgba(20, 5, 5, 0.65) 100%);
  z-index: 2;
  pointer-events: none;
}

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

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 5, 5, 0.55);
  z-index: 1;
}

.section-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  margin: 0 auto;
  padding: 2.5rem;
}

.section-content h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.section-content p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.section-content .section-label {
  color: var(--color-gold);
}

/* GLASS EFFECT STYLING */
.glass-effect {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: var(--radius-md) !important;
  padding: 2rem !important;
  color: var(--color-text) !important;
}

.glass-section {
  background: var(--color-section-alt);
  padding: var(--space-3xl) 0;
}

/* SCROLL-TRIGGERED FADE-IN ANIMATION */
.fade-in-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.35s cubic-bezier(0.33, 0.66, 0.66, 1), transform 0.35s cubic-bezier(0.33, 0.66, 0.66, 1);
  will-change: opacity, transform;
}

.fade-in-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* HOVER LIFT EFFECT */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.hover-lift:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 12px 24px rgba(92, 10, 10, 0.15) !important;
}

/* EXPERTISE SECTION */
.expertise-section {
  padding: var(--space-3xl) 0;
  background: var(--color-section-alt);
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.founder-card-container {
  position: relative;
}

.founder-video-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  cursor: pointer;
}

.founder-video-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.founder-card-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  transform: translateY(60%);
  transition: transform 0.5s cubic-bezier(0.33, 0.66, 0.66, 1);
}

.founder-card-container:hover .founder-card-content {
  transform: translateY(0);
}

.founder-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-gold);
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.founder-card-container:hover .founder-image {
  transform: scale(1.05);
}

.founder-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.founder-role {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.founder-bio {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* SMALL BUTTON VARIANT */
.btn--sm {
  padding: 0.6rem 1.2rem !important;
  font-size: 0.85rem !important;
}

/* COMPARISON SECTION WITH GLASS EFFECTS */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  height: auto;
  min-height: 500px;
}

.comparison-side {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: var(--radius-md);
  position: relative;
  transition: transform 0.3s ease;
}

.comparison-side:hover {
  transform: translateY(-4px);
}

.comparison-side h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-navy);
}

.comparison-side p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.comparison-visual {
  width: 100%;
  height: 250px;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.comparison-side--traditional {
  border: 1px solid var(--color-border);
}

.comparison-side--vp {
  border: 1px solid var(--color-gold);
}

/* MOBILE RESPONSIVE OVERRIDES */
@media (max-width: 820px) {
  .hero-headline {
    font-size: 2rem;
  }

  .hero-subheadline {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero-stats {
    position: static;
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .stat-card {
    min-width: 110px;
    padding: 1rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .founders-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .founder-video-wrapper {
    min-height: 350px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: auto;
  }

  .section-content {
    padding: 1.5rem;
  }

  .glass-effect {
    padding: 1.5rem !important;
  }

  .video-hero-content {
    padding: 60px 20px 100px;
  }
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   SCROLL-TRIGGERED TEXT ANIMATIONS
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */

/* Text fade-in animations */
.text-animate-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.text-animate-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.text-animate-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.text-animate-left.visible,
.text-animate-right.visible,
.text-animate-up.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   HOME PAGE: STICKY SCROLL WALKTHROUGH SECTION
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */

.walkthrough-mobile-title { display: none; }
.walkthrough-swipe-hint { display: none; }
.walkthrough-swipe-dots { display: none; }

.walkthrough-section {
  /* 5 cards Ãƒâ€” 100vh each = 500vh total scroll distance */
  height: 500vh;
  position: relative;
  background-color: #121212;
}

.walkthrough-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.walkthrough-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: blur(20px) brightness(0.5);
  transform: scale(1.05);
}

.walkthrough-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  background: transparent !important;
}

.walkthrough-cards {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

/* Desktop: these wrappers only group markup for mobile below — display:contents
   keeps children positioned as if direct children of .walkthrough-sticky. */
.walkthrough-video-wrap,
.walkthrough-cards-wrap {
  display: contents;
}

.walkthrough-card {
  position: absolute;
  top: 50%;
  left: 5%;
  /* default: enter from left */
  transform: translateX(-110vw) translateY(-50%);
  width: min(540px, 42vw);
  max-height: 85vh;
  overflow-y: auto;
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE/Edge */
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.4s ease;
  /* Glass card - desktop */
  background: rgba(8, 3, 4, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
}

/* Hide webkit scrollbar on card */
.walkthrough-card::-webkit-scrollbar {
  display: none;
}

/* odd cards (2nd, 4th) enter from right */
.walkthrough-card:nth-child(even) {
  transform: translateX(110vw) translateY(-50%);
}

.walkthrough-card.active {
  transform: translateX(0) translateY(-50%);
  opacity: 1;
  pointer-events: auto;
}

/* Scroll indicator */
.walkthrough-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.75;
  animation: hintPulse 2s ease-in-out infinite;
}

.walkthrough-scroll-hint span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.walkthrough-scroll-hint .hint-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 12px;
  position: relative;
}

.walkthrough-scroll-hint .hint-wheel {
  width: 3px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: wheelScroll 1.6s ease-in-out infinite;
}

.walkthrough-scroll-hint .hint-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.walkthrough-scroll-hint .hint-arrows i {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255,255,255,0.7);
  border-bottom: 2px solid rgba(255,255,255,0.7);
  transform: rotate(45deg);
  animation: arrowFade 1.6s ease-in-out infinite;
}

.walkthrough-scroll-hint .hint-arrows i:nth-child(2) {
  animation-delay: 0.2s;
}

.walkthrough-scroll-hint .hint-arrows i:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes wheelScroll {
  0%   { top: 6px; opacity: 1; }
  60%  { top: 18px; opacity: 0; }
  100% { top: 6px; opacity: 0; }
}

@keyframes arrowFade {
  0%   { opacity: 0.2; }
  50%  { opacity: 1; }
  100% { opacity: 0.2; }
}

@keyframes hintPulse {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(5px); }
}

/* ----- Generic hero scroll hint (about.html / approach.html) -----
   Same visual component as .walkthrough-scroll-hint, reusing its keyframes,
   but not tied to a pinned/sticky section â€” just fades out on first scroll. */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.85;
  animation: hintPulse 2s ease-in-out infinite;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.scroll-hint span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.scroll-hint .hint-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  position: relative;
}

.scroll-hint .hint-wheel {
  width: 3px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: wheelScroll 1.6s ease-in-out infinite;
}

.scroll-hint .hint-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.scroll-hint .hint-arrows i {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 255, 255, 0.75);
  border-bottom: 2px solid rgba(255, 255, 255, 0.75);
  transform: rotate(45deg);
  animation: arrowFade 1.6s ease-in-out infinite;
}

.scroll-hint .hint-arrows i:nth-child(2) {
  animation-delay: 0.2s;
}

.scroll-hint .hint-arrows i:nth-child(3) {
  animation-delay: 0.4s;
}

/* ----- Story progress rail (home.html discovery section) -----
   Replaces a generic "scroll for more" nudge with a rail that tracks which
   chapter of the home page story the visitor is in: the line fills toward
   the active dot, and dots are clickable to jump straight to a chapter. */
.story-rail {
  position: fixed;
  right: 28px;
  top: 50%;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 220px;
  opacity: 0;
  transform: translateY(-50%) translateX(10px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.story-rail.is-visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}

.story-rail__track,
.story-rail__track-fill {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  transform: translateX(-50%);
}

.story-rail__track {
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  z-index: 0;
}

.story-rail__track-fill {
  height: 0%;
  background: var(--color-gold);
  z-index: 1;
  transition: height 0.5s ease;
}

.story-rail__dot {
  position: relative;
  z-index: 2;
  width: 10px;
  height: 10px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.story-rail__dot:hover,
.story-rail__dot:focus-visible {
  border-color: var(--color-gold);
  transform: scale(1.25);
}

.story-rail__dot:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.story-rail__dot.is-active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  transform: scale(1.3);
}

.story-rail__label {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.story-rail__dot:hover .story-rail__label,
.story-rail__dot:focus-visible .story-rail__label {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1024px) {
  .story-rail {
    display: none;
  }
}

/* about.html's hero has a large intro-text block that fills nearly the entire width
   and height of the bottom of the video, so there's no empty spot to tuck a hint into
   â€” instead of chasing free space, pin this one to the viewport with its own blurred
   backdrop (same treatment as the video pause button) so it stays legible no matter
   what's behind it, and drop the text label to keep its footprint small. */
#aboutHeroScrollHint {
  position: fixed;
  bottom: 1.25rem;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50px;
  padding: 0.6rem 0.9rem;
}

#aboutHeroScrollHint span {
  display: none;
}

@media (max-width: 820px) {
  #aboutHeroScrollHint {
    bottom: 0.75rem;
    padding: 0.5rem 0.7rem;
  }
}

/* Title text - desktop only */
@media (min-width: 769px) {
  .walkthrough-card .immersive-title {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  }

  .walkthrough-card .immersive-body,
  .walkthrough-card .card-list li,
  .walkthrough-card .card-note,
  .walkthrough-card p,
  .walkthrough-card strong {
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  }
}

.walkthrough-card .immersive-body,
.walkthrough-card .card-list li,
.walkthrough-card .card-note,
.walkthrough-card .card-cta,
.walkthrough-card .immersive-body,
.walkthrough-card .card-list li,
.walkthrough-card .card-note,
.walkthrough-card .card-cta,
.walkthrough-card p {
  color: #ffffff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.walkthrough-card strong {
  color: #ffffff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.walkthrough-card .immersive-label,
.walkthrough-card .immersive-title,
.walkthrough-card h2,
.walkthrough-card h3 {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.walkthrough-card .immersive-label,
.walkthrough-card .flow-label {
  color: var(--color-gold) !important;
}

.walkthrough-card .card-quote {
  color: var(--color-gold) !important;
  border-left-color: var(--color-gold);
  background: rgba(198, 167, 94, 0.08);
}

.walkthrough-card .flow-old { color: #ffbbbb !important; }
.walkthrough-card .flow-new { color: #bbffbb !important; }

/* Mobile: keep the content text white with a shadow for legibility over the card background */
@media (max-width: 820px) {
  .walkthrough-card .immersive-title,
  .walkthrough-card .immersive-body,
  .walkthrough-card .card-list li,
  .walkthrough-card .card-note,
  .walkthrough-card strong,
  .walkthrough-card h2,
  .walkthrough-card h3,
  .walkthrough-card p,
  .walkthrough-card li,
  .walkthrough-card .card-header-row * {
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8) !important;
  }
  .walkthrough-card .immersive-label,
  .walkthrough-card .flow-label {
    color: #FFD700 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8) !important;
  }
  /* Traditional approach = golden, Treats symptoms = black */
  .walkthrough-card .traditional-row .comp-label {
    color: #FFD700 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8) !important;
  }
  .walkthrough-card .traditional-row .comp-val {
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8) !important;
  }
  /* Our Approach = white, Identifies causes = golden */
  .walkthrough-card .ours-row .comp-label {
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8) !important;
  }
  .walkthrough-card .comp-eq {
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8) !important;
  }
  .walkthrough-card .ours-row .comp-val {
    color: #FFD700 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8) !important;
  }
}

.model-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.flow-item {
  text-align: center;
}

.flow-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.flow-old,
.flow-new {
  font-weight: 600;
  color: white;
  margin: 0;
}

.flow-old {
  color: #ffb3b3;
}

.flow-new {
  color: #b3ffb3;
}

.flow-arrow {
  text-align: center;
  color: var(--color-gold);
  font-size: 1.5rem;
  font-weight: bold;
}

.approach-comparison {
  margin: 2rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body, sans-serif);
}

.traditional-row {
  font-size: 1.25rem;
  font-weight: 700;
}

.traditional-row .comp-label {
  color: var(--color-gold) !important;
}

.ours-row {
  font-size: 1.25rem;
  font-weight: 700;
}

.ours-row .comp-label {
  color: var(--color-gold) !important;
}

.comp-eq {
  color: rgba(255, 255, 255, 0.5);
}

.comp-val {
  color: #ffffff !important;
}

@media (max-width: 820px) {
  .approach-comparison {
    margin: 0.6rem 0;
    gap: 0.4rem;
  }
  .comparison-row {
    flex-wrap: wrap;
    white-space: normal;
  }
  .traditional-row {
    font-size: 1.05rem;
  }
  .ours-row {
    font-size: 1.05rem;
  }
  .traditional-row .comp-label {
    color: #FFD700 !important;
  }
  .ours-row .comp-label {
    color: #ffffff !important;
  }
  .comp-eq,
  .comp-val {
    color: #ffffff !important;
  }
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.card-list li {
  padding: 0.8rem 0 0.8rem 1.8rem;
  position: relative;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  font-size: 0.95rem;
}

.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: bold;
  font-size: 1.2rem;
}

.card-list--checkmark li::before {
  content: 'âœ“';
  color: var(--color-gold);
  font-weight: bold;
}

.card-quote {
  font-size: 1rem;
  color: var(--color-gold);
  font-style: italic;
  padding: 1.2rem;
  background: rgba(198, 167, 94, 0.1);
  border-left: 3px solid var(--color-gold);
  margin: 1.5rem 0;
  border-radius: 4px;
}

.card-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  margin-top: 1rem;
}

.card-cta {
  font-size: 1rem;
  color: white;
  background: rgba(198, 167, 94, 0.15);
  padding: 1rem;
  border-radius: 6px;
  margin-top: 1.5rem;
  text-align: center;
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   HOME PAGE: CONTENT SECTIONS (REMOVED - NOW IN SCROLLABLE CLINIC SECTION)
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */

.content-section {
  padding: 6rem 0;
  background: white;
}

.content-section.section-alt {
  background: var(--color-section-alt);
}

.container-narrow {
  max-width: 800px !important;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--color-navy);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.section-subtext {
  font-size: 0.95rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.section-highlight {
  font-size: 1.05rem;
  color: var(--color-navy);
  font-weight: 600;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}

.section-quote {
  font-size: 1.2rem;
  color: var(--color-navy);
  font-style: italic;
  padding: 2rem;
  background: rgba(198, 167, 94, 0.08);
  border-left: 4px solid var(--color-gold);
  margin: 2rem 0;
}

.section-note {
  font-size: 0.95rem;
  color: var(--color-text-light);
  font-style: italic;
  margin-top: 2rem;
}

.section-cta {
  font-size: 1.1rem;
  color: var(--color-navy);
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(198, 167, 94, 0.1);
  border-radius: 8px;
  text-align: center;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  color: var(--color-gold);
  font-weight: bold;
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.feature-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
}

.model-comparison {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.comparison-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
}

.comparison-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.comparison-old,
.comparison-new {
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
}

.comparison-old {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.comparison-new {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.comparison-arrow {
  text-align: center;
  color: var(--color-gold);
  font-size: 1.2rem;
  font-weight: bold;
}

@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  .content-section {
    padding: 4rem 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .comparison-item {
    grid-template-columns: 1fr;
  }

  .comparison-arrow {
    transform: rotate(90deg);
    margin: 0.5rem 0;
  }

  .section-quote {
    padding: 1.5rem;
    font-size: 1rem;
  }

  .content-card {
    min-height: 100vh;
    padding: 8% 0 8% 8%;
  }

  .immersive-text {
    max-width: 90% !important;
  }
}

/* Understand More About Us section */
.understand-section {
  background: var(--color-section-alt, #f8f7f5);
  padding: 6rem 0;
}

@media (max-width: 820px) {
  .understand-section {
    background: #ffefef !important;
  }
  .understand-pillar {
    background: #ffefef !important;
    border: 1.5px solid #000000 !important;
  }
  .understand-pillar h3,
  .understand-pillar h4,
  .understand-pillar p,
  .understand-pillar * {
    color: #000000 !important;
  }
}
.understand-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.understand-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-gold);
  margin-bottom: 1rem;
}
.understand-heading {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.understand-desc {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.understand-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.understand-pillar {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(198, 167, 94, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.understand-pillar:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.understand-pillar-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.understand-pillar h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-navy);
  margin-bottom: 0.6rem;
}
.understand-pillar p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
}
.understand-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.understand-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  background: var(--color-navy);
  border: 1px solid var(--color-navy);
  border-radius: 50px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.understand-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.understand-btn:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}
.understand-btn:hover svg {
  transform: translateX(4px);
}
.understand-btn--outline {
  background: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
}
.understand-btn--outline:hover {
  background: var(--color-navy);
  color: #fff;
}
@media (max-width: 820px) {
  .understand-heading { font-size: 1.8rem; }
  .understand-pillars { grid-template-columns: 1fr; }
}

/* Approach bridge section */
.approach-bridge-section {
  background: linear-gradient(135deg, #f9eded 0%, #f2d5d5 40%, #e8b8b8 100%);
  padding: 4rem 0;
  text-align: center;
}
.approach-bridge-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}
.approach-bridge-desc {
  font-size: 1.05rem;
  color: rgba(0, 0, 0, 0.62);
  line-height: 1.75;
  margin: 0;
}
.approach-bridge-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border: 1px solid var(--color-gold);
  border-radius: 50px;
  color: var(--color-gold);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.approach-bridge-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.approach-bridge-btn:hover {
  background: var(--color-gold);
  color: #fff;
  transform: translateY(-2px);
}
.approach-bridge-btn:hover svg {
  transform: translateX(4px);
}

/* Education featured video */
.edu-video-section { background: var(--color-section-alt); }
.edu-video-wrap { max-width: 860px; margin: 0 auto; }
.edu-video-frame {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}
.edu-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Footer brand logo replacement Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.footer-brand-logo {
  height: 28px;
  width: auto;
  vertical-align: middle;
  display: inline-block;
  filter: brightness(0) invert(1); /* white on dark footer */
  opacity: 0.9;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Word Reveal Animation Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.word-reveal-wrapper {
  display: inline;
}
.word-reveal-word {
  display: inline;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.word-reveal-active {
  font-size: 1.8rem;
}

.word-reveal-active .word-reveal-word {
  opacity: 1;
}

/* ============================================================
   WHOLE BODY CONNECTION Ã¢â‚¬â€ PARALLAX SCROLL SECTION
   ============================================================ */

.wb-section {
  position: relative;
  /* title(1Ãƒâ€”vh) + 9 organs(1.2Ãƒâ€”vh each) + outro(0.5Ãƒâ€”vh) = 12.3Ãƒâ€”vh */
  height: 1230vh;
  background: #000;
}

.wb-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #000; /* prevents white flash if video hasn't loaded */
}

/* ---- VIDEO STACK ---- */
.wb-mobile-image {
  display: none;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.wb-video-stack {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.wb-video-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  transform: translateY(100%);
  opacity: 0;
  will-change: transform, opacity;
  border: 4px solid var(--color-gold, #c8a96e);
  box-sizing: border-box;
  pointer-events: none;
}

.wb-video-layer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fade the right edge of the video into the black info area */
.wb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 68%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.10) 0%,
    rgba(0, 0, 0, 0.05) 55%,
    rgba(0, 0, 0, 0.55) 78%,
    rgba(0, 0, 0, 1.00) 100%
  );
  pointer-events: none;
}

/* ---- TITLE SCREEN ---- */
.wb-title-screen {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  will-change: transform, opacity;
  overflow: hidden;
  min-height: 100vh;
}

.wb-title-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 0;
  transform: scale(1.2);
}

.wb-title-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: none;
}

.wb-title-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.0);
  pointer-events: none;
}

.wb-title-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.wb-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-family: var(--font-body, sans-serif);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-gold, #c8a96e);
  margin-bottom: 1.6rem;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.wb-main-title {
  font-family: var(--font-heading, serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 1.5rem;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.5);
}

.wb-intro-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body, sans-serif);
  margin: 0 0 3rem;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.wb-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.wb-arrow-down {
  width: 22px;
  height: 22px;
  border-right: 2px solid rgba(255, 255, 255, 0.45);
  border-bottom: 2px solid rgba(255, 255, 255, 0.45);
  transform: rotate(45deg);
}

/* JS adds this class after 2s from section entering viewport */
.wb-title-ready .wb-eyebrow {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}
.wb-title-ready .wb-main-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.22s;
}
.wb-title-ready .wb-intro-sub {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.48s;
}
.wb-title-ready .wb-scroll-hint {
  opacity: 1;
  transition-delay: 0.75s;
}
.wb-title-ready .wb-arrow-down {
  animation: wbBounce 1.6s ease-in-out 1.4s infinite;
}

@keyframes wbBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(6px); }
}

/* ---- LOGO BACKGROUND DECORATION ---- */
.wb-section::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 40%;
  height: 100%;
  z-index: 1;
  background-image:
    url('assets/logo_teeth.png'),
    url('assets/logo_teeth.png'),
    url('assets/logo_teeth.png'),
    url('assets/logo_teeth.png'),
    url('assets/logo_teeth.png'),
    url('assets/logo_teeth.png'),
    url('assets/logo_teeth.png'),
    url('assets/logo_teeth.png'),
    url('assets/logo_teeth.png'),
    url('assets/logo_teeth.png'),
    url('assets/logo_teeth.png'),
    url('assets/logo_teeth.png'),
    url('assets/logo_teeth.png'),
    url('assets/logo_teeth.png'),
    url('assets/logo_teeth.png');
  background-size:
    150px 150px,
    100px 100px,
    200px 200px,
    120px 120px,
    180px 180px,
    140px 140px,
    90px 90px,
    160px 160px,
    110px 110px,
    170px 170px,
    130px 130px,
    220px 220px,
    95px 95px,
    145px 145px,
    190px 190px;
  background-position:
    10% 10%,
    85% 8%,
    15% 30%,
    75% 18%,
    25% 50%,
    90% 35%,
    5% 65%,
    70% 55%,
    35% 75%,
    80% 72%,
    20% 90%,
    45% 25%,
    88% 48%,
    12% 40%,
    60% 82%;
  background-repeat: no-repeat;
  opacity: 0.07;
  pointer-events: none;
}

/* ---- INFO PANEL ---- */
.wb-info-panel {
  position: absolute;
  left: 60%;
  top: 0;
  width: 40%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.wb-organ-info {
  position: absolute;
  left: 10%;
  top: 45%;
  transform: translateY(-50%);
  width: 82%;
  opacity: 0;
  will-change: opacity;
  padding-top: 2rem;
}

.wb-organ-num {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-gold, #c8a96e);
  font-family: var(--font-body, sans-serif);
  margin-bottom: 0.8rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease 0s, transform 0.45s ease 0s;
}

.wb-organ-name {
  font-family: var(--font-heading, serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin: 0 0 1rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}

.wb-organ-headline {
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-body, sans-serif);
  margin: 0 0 1.3rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease 0.22s, transform 0.5s ease 0.22s;
}

.wb-organ-body {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-body, sans-serif);
  line-height: 1.78;
  margin: 0 0 1.6rem;
  max-width: 420px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease 0.36s, transform 0.5s ease 0.36s;
}

.wb-organ-facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.wb-organ-facts li {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-body, sans-serif);
  padding-left: 1.3rem;
  position: relative;
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.wb-organ-facts li:nth-child(1) { transition-delay: 0.50s; }
.wb-organ-facts li:nth-child(2) { transition-delay: 0.62s; }
.wb-organ-facts li:nth-child(3) { transition-delay: 0.74s; }

/* Triggered by JS when organ becomes active */
.wb-organ-info--visible .wb-organ-num,
.wb-organ-info--visible .wb-organ-name,
.wb-organ-info--visible .wb-organ-headline,
.wb-organ-info--visible .wb-organ-body {
  opacity: 1;
  transform: translateY(0);
}
.wb-organ-info--visible .wb-organ-facts li {
  opacity: 1;
  transform: translateX(0);
}

.wb-organ-facts li::before {
  content: '';
  position: absolute;
  left: 0;
  color: var(--color-gold, #c8a96e);
}

/* ---- PROGRESS DOTS ---- */
.wb-progress-dots {
  position: absolute;
  right: 2.5%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.1rem;
  z-index: 3;
}

.wb-dot {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: default;
}

.wb-dot-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-body, sans-serif);
  transition: color 0.4s ease;
}

.wb-dot::after {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
  flex-shrink: 0;
}

.wb-dot--active .wb-dot-label {
  color: rgba(255, 255, 255, 0.9);
}

.wb-dot--active::after {
  background: var(--color-gold, #c8a96e);
  border-color: var(--color-gold, #c8a96e);
  transform: scale(1.6);
}

/* ================================================================
   MOBILE RESPONSIVE Ã¢â‚¬â€ full site overhaul
   Breakpoints: 768px (tablet/mobile), 480px (small mobile)
   ================================================================ */

@media (max-width: 820px) {

  /* ---- Base typography ---- */
  :root {
    --fs-h1: 2rem;
    --fs-h2: 1.6rem;
    --fs-h3: 1.25rem;
    --space-xl: 2rem;
    --space-2xl: 2.5rem;
    --space-3xl: 3rem;
  }

  /* ---- Nav ---- */
  .nav__inner { padding: 0 1rem; }

  /* ---- Hero bottom cards ---- */
  .hero-bottom-cards {
    flex-direction: column;
    padding: 0 0.75rem 1.5rem;
    gap: 1rem;
  }
  .hero-rect--1, .hero-rect--2 {
    flex: unset;
    width: 100%;
    padding: 1.2rem 1.5rem;
  }
  .hero-rect--1 h1 { font-size: 1.3rem; line-height: 1.4; }
  .hero-rect--2 p  { font-size: 0.82rem; }

  /* ---- Stats section ---- */
  .stats-animation-section .stats-flex,
  .stats-animation-section .stats-grid {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .stats-single-pill {
    width: 92% !important;
    padding: 0.8rem 1rem !important;
    border-radius: 100px !important;
  }

  .stat-pill-item {
    padding: 0 0.3rem !important;
  }

  .stat-value {
    font-size: 1.2rem !important;
  }

  .stat-text {
    font-size: 0.65rem !important;
  }

  .stat-pill-divider {
    height: 30px !important;
  }

  /* ---- Mouth-Body Connection on Mobile ---- */
  .wb-section {
    display: block !important;
    height: auto !important;
    min-height: auto !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .wb-mobile-nav {
    display: none !important;
  }

  .wb-section::before {
    display: none !important;
  }

  .wb-sticky {
    position: relative !important;
    height: auto !important;
    top: auto !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: transparent !important;
    /* base rule sets overflow:hidden for desktop's video clipping; that turns
       this into a scroll container on mobile too, which silently disables
       position:sticky on any descendant (see mbc-mobile's sticky stage). */
    overflow: visible !important;
  }

  .wb-title-screen {
    display: block !important;
    position: relative !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: transparent !important;
    font-size: 0 !important;
  }

  .wb-title-inner {
    display: none !important;
  }

  .wb-title-overlay {
    background: transparent !important;
    display: none !important;
  }

  .wb-title-image {
    order: 0 !important;
    height: auto !important;
    width: 100% !important;
    filter: brightness(1) !important;
    object-fit: contain !important;
    display: block !important;
    position: relative !important;
    z-index: 2 !important;
  }

  .wb-title-video {
    display: none !important;
  }

  .wb-title-overlay {
    display: none !important;
  }

  .wb-main-title {
    font-size: 1.5rem !important;
  }

  .wb-sticky {
    position: relative !important;
    height: auto !important;
    min-height: auto !important;
  }

  .wb-title-screen {
    display: none !important;
  }

  .wb-video-stack {
    display: none !important;
  }

  .wb-video-layer {
    display: none !important;
  }

  .wb-overlay {
    display: none !important;
  }

  .wb-info-panel {
    display: none !important;
  }

  .wb-progress-dots {
    display: none !important;
  }

  .wb-mobile-nav {
    display: none !important;
  }

  .wb-mobile-image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 40px auto !important;
    padding: 0 16px !important;
    transform: scale(1.1) !important;
  }

  .wb-organ-info {
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    padding: var(--space-md) !important;
    margin: 0 0 var(--space-md) 0 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(198, 167, 94, 0.3) !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }

  .wb-organ-num,
  .wb-organ-name,
  .wb-organ-headline,
  .wb-organ-body,
  .wb-organ-facts,
  .wb-organ-facts li {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .wb-organ-name {
    font-size: 1.5rem !important;
  }

  .wb-organ-headline {
    font-size: 1rem !important;
  }

  .wb-organ-facts {
    font-size: 0.85rem !important;
  }

  .wb-progress-dots { display: none !important; }

  /* Show first organ by default on mobile */
  .wb-organ-info:first-of-type {
    display: block !important;
    margin-top: 8rem !important;
  }
  .wb-title-inner { padding: 1.25rem; }
  .wb-main-title { font-size: clamp(1.8rem, 6vw, 3rem); }
  .wb-intro-sub  { font-size: 0.9rem; }

  /* ---- Approach bridge ---- */
  .approach-bridge-section {
    padding: 2.5rem 1rem;
    background: #ffefef !important;
  }
  .approach-bridge-inner { flex-direction: column; gap: 1.2rem; }
  .approach-bridge-desc { font-size: 0.95rem; }

  /* ---- Understand More ---- */
  .understand-pillars {
    flex-direction: column;
    gap: 1.25rem;
    padding: 0 1rem;
  }
  .understand-btns {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1rem;
  }
  .understand-btn { width: 100%; text-align: center; justify-content: center; }

  /* ---- Founders ---- */
  .founders-section { padding: 3rem 1rem; }
  .founders-container {
    flex-direction: column !important;
    gap: 2rem;
    align-items: center;
  }
  .founder-block {
    width: 100% !important;
    max-width: 420px;
  }
  .founder-video-container { height: 52vw; min-height: 180px; }
  .founder-info { padding: 1.25rem; }
  .founder-name { font-size: 1.3rem; }

  /* ---- Team ---- */
  .team-flex {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .doc-name { font-size: 0.9rem; }
  .doc-role { font-size: 0.78rem; }

  /* ---- Technology cards ---- */
  .tech-card {
    grid-template-columns: 1fr !important;
    direction: ltr !important;
    gap: 1rem;
    padding: 1.5rem 0;
  }
  .tech-card:nth-child(even) { direction: ltr !important; }
  .tech-card__image-container {
    display: block !important;
    width: 100% !important;
    height: 250px !important;
    margin-bottom: 1rem;
  }

  /* ---- Testimonials ---- */
  .grid-2 { grid-template-columns: 1fr !important; }

  /* ---- Page headers ---- */
  .page-header { padding: 5rem 1rem 2rem; }
  .page-header h1 { font-size: 1.8rem; }
  .page-header p  { font-size: 0.95rem; }

  /* ---- Discovery / About / Approach sections ---- */
  .discovery-item { padding: 3rem 1.25rem; }
  .discovery-item:not(.discovery-item--full):not(.discovery-item--spacer):not(.discovery-item--title-only):not(.discovery-item--approach-hero):not(.discovery-item--home-hero):not(.discovery-duo-card) { height: 50vh; }
  .discovery-item--approach-hero { height: 100vh; min-height: 520px; padding: 3rem 1.25rem; }
  /* Home hero: squishing this to 50vh (like a generic panel) left too
     little room for the title + paragraph + scroll hint, so the hint
     overlapped the paragraph text. Give it the same full-height
     treatment as the approach page's hero. Bottom padding is larger
     than top on purpose — it shifts the flex-centred content up a
     little, off dead-centre, leaving more breathing room above the
     scroll hint. */
  .discovery-item--home-hero { height: 100vh; min-height: 560px; padding: 2rem 1.25rem 6rem; }
  .discovery-item--full { height: auto; min-height: 75vh; padding-top: 0.5rem; justify-content: flex-start; }
  .discovery-item--title-only { height: auto; min-height: 0; padding: 2.5rem 1.25rem 0.5rem; }
  .discovery-content:not(.discovery-content--hero) h3 { font-size: 1.4rem; }
  .discovery-content p  { font-size: 0.9rem; }

  /* ---- Treatment pages ---- */
  .treat-hero { padding-top: 5rem; }
  .treat-hero__content { text-align: center; }
  .treat-standout-image { display: none; }
  .treat-container { width: 95%; padding: var(--space-lg) 0; }
  .treat-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem;
  }
  .treat-step {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  .treat-step__image {
    height: 52vw;
    min-height: 200px;
    width: 100%;
  }
  .treat-step__image img,
  .treat-card__image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
  }
  .treat-principle-card--hover {
    min-height: 220px;
  }
  .treat-principle-card--hover .treat-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* ---- Footer ---- */
  .footer__grid { grid-template-columns: 1fr 1fr !important; gap: 2rem; }
  .footer__grid > div:nth-child(1),
  .footer__grid > div:nth-child(5) { grid-column: 1 / -1 !important; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .footer__socials { gap: 1rem; }
  .footer__social-icon { width: 36px; height: 36px; }
  .footer__social-icon svg { width: 18px; height: 18px; }

  /* ---- Founder Blocks (Lead by Expertise) ---- */
  .founders-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }
  .founder-block {
    display: flex !important;
    align-items: flex-end !important;
    min-height: 520px !important;
    position: relative !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #000 !important;
    border: none !important;
    padding: 0 !important;
  }
  .founder-video-container {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    border: none !important;
    margin: 0 !important;
    z-index: 1 !important;
  }
  .founder-info {
    width: calc(100% - 2rem) !important;
    margin: 1rem !important;
    padding: 1.5rem !important;
    position: relative !important;
    z-index: 3 !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    text-align: center !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* ---- Modal corner card ---- */
  .modal-overlay { top: 72px; left: 10px; width: 180px; }

  /* ---- Approach bridge btn ---- */
  .approach-bridge-btn { padding: 0.75rem 1.5rem; font-size: 0.82rem; }

  /* ---- LOD section ---- */
  .lod-founders { flex-direction: column !important; gap: 1.5rem; }
  .lod-process-strip { flex-direction: column !important; }
  .lod-process-connector { display: none; }

}

/* ---- Small mobile (â‰¤480px) ---- */
@media (max-width: 480px) {

  .hero-rect--1 h1 { font-size: 1.1rem; }
  .wb-main-title   { font-size: 1.6rem; }
  .wb-organ-name   { font-size: 1.8rem; }

  .team-flex { grid-template-columns: 1fr !important; }

  .treat-grid { grid-template-columns: 1fr !important; }

  /* Maintains full background photo on small mobile screens */

  .stats-animation-section .stat-number { font-size: 2.5rem; }

}

/* ===== SERVICES PAGE ANIMATION ===== */
.services-intro-wrapper {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff8f4;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.services-intro-wrapper.active { display: flex; }
.services-loader {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(125,18,18,0.2);
  border-top-color: #7D1212;
  border-radius: 50%;
  animation: spinLoader 0.9s linear infinite;
  margin-bottom: 2rem;
}
@keyframes spinLoader { to { transform: rotate(360deg); } }
.services-heading-wrapper {
  opacity: 0;
  transition: opacity 0.5s ease;
  text-align: center;
  padding: 0 2rem;
}
.services-heading-wrapper.visible { opacity: 1; }
.services-heading-animated {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  color: #7D1212;
  line-height: 1.3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3em;
}
.word-reveal {
  opacity: 0;
  transform: translateY(16px);
  display: inline-block;
}
.services-cards-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.services-cards-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HERO TEXT ANIMATIONS ===== */
.hero-bold-phrase {
  font-weight: 700;
  font-size: 1.15em;
  color: #C6A75E;
}

.hero-rect p.hero-reveal-text {
  font-size: 2.5em !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 820px) {
  .hero-rect p.hero-reveal-text {
    font-size: 1.1rem !important;
  }
  .hero-mobile-sub {
    font-size: 1.05rem !important;
    line-height: 1.6;
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    animation-delay: 1.8s;
  }
  .hero-mobile-sub__line2 {
    display: block;
    margin-top: 0.9rem;
  }
}

@media (min-width: 769px) {
  .hero-mobile-sub {
    display: none;
  }
}

.hero-reveal-text {
  opacity: 0;
  transform: translateY(10px);
  animation: heroTextReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 1.3s;
}

@keyframes heroTextReveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== FOUNDERS SECTION STYLING ===== */
.founders-section {
  background: #f0dfe7;
  padding: 4rem 0 6rem;
  position: relative;
  z-index: 10;
}

.founders-header {
  text-align: center;
  margin-bottom: 4rem;
  color: #0B1F3A;
}

.founders-header p {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: #7D1212;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}


/* ===================================================
   FULL-SCREEN VIDEO SERVICE CARDS  (#page-treatments)
   =================================================== */
.svc-vcards {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px;
}

.svc-vcard {
  position: relative;
  height: calc(100vh - 80px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 24px;
}

.svc-vcard__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.svc-vcard__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 30%,
    rgba(0, 0, 0, 0.45) 55%,
    rgba(0, 0, 0, 0.82) 75%,
    rgba(0, 0, 0, 0.93) 100%
  );
  z-index: 1;
}

.svc-vcard__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 56px 56px;
}

/* ---- Static (no-video) card variant â€” concept prototype ---- */
.svc-vcard--static {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  align-items: center;
  justify-content: center;
}
.svc-vcard--static .svc-vcard__content {
  padding: 0 56px;
  max-width: 640px;
  margin: 0 auto;
}

@media (max-width: 820px) {
  .svc-vcard--static.svc-vcard {
    flex: 0 0 84vw;
    width: 84vw;
    height: auto;
    min-height: 60vh;
    scroll-snap-align: center;
    padding: 40px 0;
  }
  .svc-vcard--static .svc-vcard__content {
    padding: 0 24px;
  }
}

.svc-vcard__header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 10px;
}

.svc-vcard__tag {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-gold, #C6A75E);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.svc-vcard__title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin: 0;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}

.svc-vcard__desc {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  font-style: italic;
  margin: 10px 0 32px 58px;
  letter-spacing: 0.01em;
}

.svc-vcard__pills {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 10px 12px;
  margin-left: 58px;
}

/* Transparent pill links */
.svc-pill {
  display: inline-block;
  padding: 9px 22px;
  border: 1.5px solid rgba(255,255,255,0.50);
  border-radius: 100px;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.18s ease;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}

.svc-pill:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.90);
  color: #fff;
  transform: translateY(-2px);
}

/* Scroll indicator between cards */
.svc-vcard__scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.55;
  animation: svc-bounce 2s infinite;
}
.svc-vcard__scroll-hint span {
  display: block;
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.6);
}
.svc-vcard__scroll-hint::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid rgba(255,255,255,0.7);
  border-bottom: 1.5px solid rgba(255,255,255,0.7);
  transform: rotate(45deg);
  margin-top: -14px;
}
@keyframes svc-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---- Responsive ---- */
@media (max-width: 820px) {
  /* Horizontal swipe carousel instead of a vertical stack â€” each card is a
     fixed-width scroll-snap item (see .svc-vcard--expandable below). */
  .svc-vcards {
    flex-direction: row;
    align-items: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Extra bottom padding so card content (pills) never ends up sitting under
       the fixed WhatsApp button (bottom:2rem, 56px) while scrolling. */
    padding: 8px 6vw 110px;
    gap: 14px;
  }
  .svc-vcards::-webkit-scrollbar { display: none; }
  .svc-vcard { border-radius: 16px; height: calc(100vh - 20px); }
  .svc-vcard__content { padding: 0 20px; }
  .svc-vcard__desc, .svc-vcard__pills { margin-left: 0; }
  .svc-vcard__title { font-size: clamp(1.5rem, 5vw, 2rem); }
  .svc-vcard__pills { grid-template-columns: 1fr; }
  .svc-pill { font-size: 0.82rem; padding: 8px 16px; white-space: normal; }
}

/* ---- Expandable mobile-only card (Assessments & Diagnostics) ---- */
.svc-vcard__mobile-view { display: none; }

@media (max-width: 820px) {
  .svc-vcard--expandable.svc-vcard {
    height: auto;
    display: block;
    overflow: visible;
    flex: 0 0 84vw;
    width: 84vw;
    scroll-snap-align: center;
  }
  .svc-vcard--expandable .svc-vcard__desktop-view { display: none; }
  .svc-vcard--expandable .svc-vcard__mobile-view {
    display: block;
    background: #000;
  }

  .svc-mobile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: #fff;
    border-radius: 16px 16px 0 0;
  }
  .svc-mobile-header .svc-vcard__title {
    color: var(--color-navy);
    text-shadow: none;
    font-size: clamp(1.3rem, 5vw, 1.7rem);
  }

  .svc-mobile-video {
    display: block;
    width: 100%;
    height: 42vh;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
  }

  .svc-reveal-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 32px);
    margin: -20px auto 0;
    position: relative;
    z-index: 2;
    padding: 12px 20px;
    background: var(--color-gold, #C6A75E);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  }
  .svc-reveal-trigger__chev { transition: transform 0.3s ease; }
  .svc-reveal-trigger[aria-expanded="true"] .svc-reveal-trigger__chev { transform: rotate(180deg); }

  .svc-reveal {
    max-height: 0;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, var(--color-navy) 35%, var(--color-navy-light) 100%);
    border-radius: 0 0 16px 16px;
    transition: max-height 0.4s ease;
  }
  .svc-reveal.active {
    max-height: 600px;
  }
  .svc-reveal .svc-vcard__desc {
    margin: 20px 20px 16px;
    color: rgba(255,255,255,0.75);
  }
  .svc-reveal .svc-vcard__pills {
    margin: 0 20px 60px;
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   SERVICES CONCEPT 2 â€” single loop video hero + full
   treatment directory grouped by category (prototype)
   =================================================== */
.svc2-hero {
  position: relative;
  height: 80vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.svc2-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.svc2-directory {
  background: #fff8f4;
  padding: 64px 0;
}

.svc2-category {
  padding: 32px 0;
  border-bottom: 1px solid rgba(92, 10, 10, 0.12);
}
.svc2-category:last-child {
  border-bottom: none;
}

.svc2-category__header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.svc2-category__tag {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-navy, #5C0A0A);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.svc2-category__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy, #5C0A0A);
  margin: 0 0 6px;
}

.svc2-category__desc {
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.6);
  margin: 0;
}

.svc2-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-left: 62px;
}

.svc2-link {
  display: inline-block;
  padding: 10px 20px;
  border: 1.5px solid rgba(92, 10, 10, 0.35);
  border-radius: 100px;
  color: var(--color-navy, #5C0A0A);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.18s ease;
}

.svc2-link:hover {
  background: var(--color-navy, #5C0A0A);
  border-color: var(--color-navy, #5C0A0A);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 820px) {
  .svc2-hero { height: 70vh; }
  .svc2-directory { padding: 40px 0; }
  .svc2-category__header { gap: 12px; }
  .svc2-category__title { font-size: 1.2rem; }
  .svc2-links { padding-left: 0; }
  .svc2-link { font-size: 0.82rem; padding: 8px 16px; }
}

/* ===================================================
   FOOTER LEGAL & DISCLAIMERS
   =================================================== */
.footer__disclaimers {
  border-top: 1px solid rgba(255,255,255,0.10);
  margin-top: 28px;
  padding-top: 24px;
  text-align: center;
}

.footer__legal-notice {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  margin: 0 0 16px;
}

.footer__policy-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer__policy-link {
  background: none;
  border: none;
  padding: 0;
  color: rgba(255,255,255,0.45);
  font-size: 0.74rem;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.footer__policy-link:hover {
  color: rgba(255,255,255,0.85);
}

.footer__policy-sep {
  color: rgba(255,255,255,0.2);
  font-size: 0.74rem;
  user-select: none;
}

/* ===================================================
   POLICY MODALS
   =================================================== */
.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.policy-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.policy-modal__card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 44px 48px 40px;
  max-width: 560px;
  width: calc(100% - 48px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
  transform: translateY(16px);
  transition: transform 0.28s ease;
}

.policy-modal.active .policy-modal__card {
  transform: translateY(0);
}

.policy-modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: rgba(0,0,0,0.35);
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}

.policy-modal__close:hover {
  color: rgba(0,0,0,0.8);
}

.policy-modal__title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 1.35rem;
  color: var(--color-navy, #0b1f3a);
  margin: 0 0 20px;
}

.policy-modal__body {
  font-size: 0.88rem;
  color: rgba(0,0,0,0.62);
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 600px) {
  .policy-modal__card { padding: 36px 24px 28px; }
  .policy-modal__title { font-size: 1.1rem; }
}
/* ===================================================
   WHOLE BODY CONNECTIONS SECTION
   =================================================== */
.wb-connections-section {
  position: relative;
  background: linear-gradient(160deg, #0b1f3a 0%, #1a3352 55%, #0e2640 100%);
  padding: 100px 60px 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ===================================================
   WHOLE BODY LEFT CONNECTIONS - 1 COLUMN LAYOUT
   =================================================== */
.wb-left-connections-grid {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1300px;
}

.wb-connections-heading {
  text-align: center;
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 64px;
  letter-spacing: 0.02em;
}

.wb-connection-card {
  position: relative;
  width: 100%;
  height: 480px;
  display: grid;
  grid-template-columns: 75% 25%;
  gap: 0;
  margin-bottom: 40px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.4);
  transition: box-shadow 0.3s ease;
}

.wb-connection-card:hover {
  box-shadow: 0 16px 64px rgba(0,0,0,0.5);
}

.wb-connection-video {
  grid-column: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wb-connection-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 75%;
  height: 100%;
  background: linear-gradient(to right, rgba(11,31,58,0.3) 0%, transparent 100%);
  z-index: 1;
}

.wb-connection-content {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 32px;
  background: rgba(11,31,58,0.6);
  z-index: 2;
  backdrop-filter: blur(10px);
}

.wb-connection-title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.2;
}

.wb-connection-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1200px) {
  .wb-connection-card { height: 420px; margin-bottom: 36px; }
  .wb-connections-heading { font-size: 1.8rem; margin-bottom: 56px; }
  .wb-connection-title { font-size: 1.3rem; }
  .wb-connection-content { padding: 36px 28px; }
}

@media (max-width: 900px) {
  .wb-connection-card {
    grid-template-columns: 1fr;
    height: auto;
    margin-bottom: 32px;
  }
  .wb-connection-video {
    grid-column: 1;
    height: 280px;
  }
  .wb-connection-overlay {
    width: 100%;
    height: 280px;
  }
  .wb-connection-content {
    grid-column: 1;
    padding: 28px 24px;
  }
  .wb-connections-heading { font-size: 1.5rem; margin-bottom: 44px; }
  .wb-connection-title { font-size: 1.15rem; }
  .wb-connection-desc { font-size: 0.8rem; }
}

@media (max-width: 600px) {
  .wb-connection-card { margin-bottom: 24px; }
  .wb-connection-video { height: 200px; }
  .wb-connection-overlay { height: 200px; }
  .wb-connections-heading { font-size: 1.3rem; margin-bottom: 32px; }
  .wb-connection-title { font-size: 1rem; }
  .wb-connection-desc { font-size: 0.75rem; }
  .wb-connection-content { padding: 20px 16px; }
}

/* --- Our Approach & About video backgrounds transparency fixes --- */
#page-approach,
#page-about {
  background: transparent !important;
  background-color: transparent !important;
}

#page-approach .discovery-section,
#page-about .discovery-section {
  background: transparent !important;
}

body:has(#page-approach.active),
body:has(#page-about.active) {
  background-color: transparent !important;
}

.btn--gold-solid {
  background-color: var(--color-gold) !important;
  color: var(--color-navy) !important;
  border: 2px solid var(--color-gold) !important;
}

.btn--gold-solid:hover {
  background-color: transparent !important;
  color: var(--color-gold) !important;
  border-color: var(--color-gold) !important;
  transform: translateY(-1px);
}
/* ===== SUPPORTING STAFF GRID ===== */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.staff-card {
  width: 100%;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.staff-img-box {
  aspect-ratio: 4/5;
  overflow: hidden;
  background-color: var(--color-section-alt);
}

.staff-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform var(--transition-slow);
  background-color: #f5f5f5;
}

.staff-card:hover .staff-img {
  transform: scale(1.04);
}

.staff-info {
  padding: 0.9rem 1rem;
  background: #fff;
  text-align: center;
}

.staff-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  margin: 0 0 0.2rem;
  text-align: center;
}

.staff-role {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin: 0;
  text-align: center;
}

@media (max-width: 900px) {
  .staff-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 600px) {
  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* Mobile View Walkthrough - Hide Custom Mobile Styling */
@media (max-width: 820px) {
  .walkthrough-sticky .mobile-view-video {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .mobile-view-video {
    display: none;
  }
}

/* ============================================================
   MOBILE WALKTHROUGH â€” video stands alone, cards are a separate
   swipeable section below it in normal scroll flow (<=820px only).
   Desktop walkthrough (pin/scroll-jack) is untouched.
   ============================================================ */
@media (max-width: 820px) {
  .walkthrough-section {
    display: none !important;
    height: auto !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .walkthrough-sticky {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    width: 100% !important;
    overflow: visible !important;
    z-index: 10 !important;
  }

  .walkthrough-video-bg {
    display: none !important;
  }

  /* ---- Video: its own full-height block, independent of the cards ---- */
  .walkthrough-video-wrap {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 100vh !important;
    min-height: 560px !important;
    overflow: hidden !important;
  }

  .walkthrough-video {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 1 !important;
  }

  .walkthrough-video-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.55) 100%);
    z-index: 2;
    pointer-events: none;
  }

  .walkthrough-video-wrap .walkthrough-scroll-hint {
    display: flex !important;
    position: absolute !important;
    bottom: 2.5rem !important;
    z-index: 3;
  }

  /* ---- Cards: separate section below the video, swipeable, own background ---- */
  .walkthrough-cards-wrap {
    display: block !important;
    position: relative !important;
    background: var(--color-navy) !important;
    padding: 3rem 0 2.5rem !important;
  }

  .walkthrough-mobile-title {
    display: block !important;
    position: relative !important;
    text-align: center;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .walkthrough-cards {
    position: relative !important;
    inset: auto !important;
    height: auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 1rem !important;
    padding: 0 9vw !important;
    background: transparent !important;
    z-index: auto !important;
    pointer-events: auto !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .walkthrough-cards::-webkit-scrollbar {
    display: none !important;
  }

  .walkthrough-card {
    position: relative !important;
    inset: auto !important;
    margin: 0 !important;
    flex: 0 0 82vw !important;
    width: 82vw !important;
    max-width: 420px !important;
    height: fit-content !important;
    max-height: 72vh !important;
    overflow-y: auto !important;
    scroll-snap-align: center !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    pointer-events: auto !important;
    background: rgba(255, 255, 255, 0.14) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
    padding: 2.25rem 1.75rem !important;
    box-sizing: border-box !important;
  }

  .walkthrough-card::-webkit-scrollbar {
    display: none;
  }

  .walkthrough-swipe-hint {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative !important;
    margin-top: 1.5rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: opacity 0.4s ease;
    pointer-events: none;
  }

  .walkthrough-swipe-hint__arrow {
    display: inline-block;
    animation: walkthroughSwipeArrow 1.4s ease-in-out infinite;
  }

  @keyframes walkthroughSwipeArrow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
  }

  .walkthrough-swipe-dots {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    position: relative !important;
    margin-top: 1rem;
  }

  .swipe-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: background 0.3s ease, transform 0.3s ease;
  }

  .swipe-dot.active {
    background: #fff;
    transform: scale(1.3);
  }

  .walkthrough-card .card-header-row {
    display: flex !important;
    align-items: center !important;
    gap: 0.9rem !important;
    margin-bottom: 1rem !important;
  }

  .walkthrough-card .card-logo {
    display: block !important;
    width: 84px !important;
    height: 84px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    filter: none !important;
  }

  .walkthrough-card .immersive-label:not(.desktop-only) {
    display: block !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.16em !important;
    margin-bottom: 0.6rem !important;
  }

  .walkthrough-card .immersive-title:not(.desktop-only) {
    display: block !important;
    font-size: 1.65rem !important;
    font-weight: 700 !important;
    line-height: 1.28 !important;
    margin: 0 0 0.75rem !important;
  }

  .walkthrough-card .immersive-label.desktop-only,
  .walkthrough-card .immersive-title.desktop-only {
    display: none !important;
  }

  .walkthrough-card .immersive-body,
  .walkthrough-card .card-list li,
  .walkthrough-card .card-note,
  .walkthrough-card p {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
  }

  .walkthrough-card .card-list {
    display: block !important;
    margin: 0.85rem 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .walkthrough-card .card-list li {
    padding: 0.4rem 0 !important;
  }

  .walkthrough-card .card-note {
    display: block !important;
    margin-top: 1rem !important;
    font-style: italic !important;
    opacity: 0.75 !important;
  }
}

/* ============================================================
   LEAGUE OF DENTISTS (LOD) & EDUCATION ENHANCEMENTS
   ============================================================ */
.page-header--lod {
  position: relative;
  overflow: hidden;
}

.page-header--lod .page-header__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  filter: brightness(0.8) contrast(1.1);
  z-index: 0;
  transition: transform 10s ease;
}

.page-header--lod:hover .page-header__bg {
  transform: scale(1.04);
}

.page-header--lod .container {
  position: relative;
  z-index: 1;
}

/* LOD Course Cards with AI Visual Headers */
.lod-courses-grid--featured {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 820px) {
  .lod-courses-grid--featured {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.lod-course-card--featured {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-navy);
  border-radius: var(--radius-md);
  background: var(--color-surface, #ffffff);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.lod-course-card--featured:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
}

.lod-course-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: var(--color-section-alt);
}

.lod-course-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-slow);
}

.lod-course-card--featured:hover .lod-course-img {
  transform: scale(1.06);
}

.lod-course-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.lod-course-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   CAREERS PAGE
   ============================================================ */
.cpage-section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  color: var(--color-navy);
  margin-bottom: var(--space-lg);
}

.cpage-body-text {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* ----- Hero ----- */
.cpage-hero {
  padding: calc(var(--nav-height) + var(--space-lg)) 0 var(--space-2xl);
  background: var(--color-section-alt);
  overflow: hidden;
}

.cpage-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.cpage-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-navy);
  line-height: 1.2;
  margin: var(--space-sm) 0 var(--space-md);
}

.cpage-hero__text {
  color: var(--color-text-light);
  font-size: var(--fs-body);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  max-width: 520px;
}

.cpage-hero__visual {
  position: relative;
  height: 260px;
  margin-top: var(--space-lg);
}

.hero-shape {
  position: absolute;
}

.hero-shape--dots {
  top: 0;
  left: 10%;
  width: 90px;
  height: 90px;
  background-image: radial-gradient(var(--color-gold) 2px, transparent 2px);
  background-size: 14px 14px;
  opacity: 0.5;
}

.hero-shape--square {
  bottom: 10%;
  left: 0;
  width: 130px;
  height: 130px;
  background: var(--color-gold);
  opacity: 0.15;
  border-radius: var(--radius-lg);
  transform: rotate(12deg);
}

.hero-shape--circle {
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px dashed var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.hero-shape__tooth {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

/* ----- Why work here ----- */
.cpage-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.why-card {
  text-align: center;
  padding: var(--space-lg);
}

.why-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  background: rgba(198, 167, 94, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card__icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--color-gold);
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
}

.why-card p {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ----- Tag row (culture / what we look for / what to expect) ----- */
.cpage-tag-row {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.cpage-tag-row li {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-navy);
  white-space: nowrap;
}

/* ----- Quote block ----- */
.cpage-quote-block {
  background: var(--color-bg);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-subtle);
}

.cpage-quote-block p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-navy);
  margin-bottom: var(--space-md);
}

.cpage-quote-block p:last-child {
  margin-bottom: 0;
}

/* ----- Letter from the doctors ----- */
.cpage-letter {
  max-width: 640px;
  margin: var(--space-2xl) auto 0;
  text-align: center;
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-border);
}

.cpage-letter p {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.cpage-letter__signoff {
  font-weight: 500;
  color: var(--color-navy) !important;
}

.cpage-letter__signature {
  margin-top: var(--space-lg);
}

.cpage-letter__tagline {
  color: var(--color-gold);
  font-weight: 500;
}

.cpage-submit-profile {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.cpage-submit-profile__label {
  color: var(--color-text-light);
  font-size: var(--fs-small);
  margin-bottom: var(--space-xs);
}

.cpage-submit-profile__contact {
  font-weight: 600;
  color: var(--color-navy);
}

.cpage-submit-profile__contact a {
  color: var(--color-navy);
  text-decoration: none;
}

.cpage-submit-profile__contact a:hover {
  color: var(--color-gold);
}

.cpage-submit-profile__sep {
  color: var(--color-gold);
  margin: 0 var(--space-xs);
}

/* ----- Open positions ----- */
.cpage-positions {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-2xl);
  max-width: 900px;
  margin: 0 auto;
}

.cpage-positions__empty-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.cpage-positions__visual svg {
  width: 160px;
  height: auto;
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
  .cpage-hero__grid {
    grid-template-columns: 1fr;
  }
  .cpage-hero__visual {
    height: 220px;
    order: -1;
  }
  .cpage-why__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .cpage-positions {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cpage-positions__visual {
    order: -1;
  }
}





/* ========== MOUTH BODY CONNECTION - Hide Navbar on Desktop ==========
   .nav's base rule (line ~527) pins opacity/visibility/pointer-events to
   !important so the navbar never disappears during normal scroll-hide
   behavior; toggled here by assets/js/mbc-connection.js while the
   #mbcConnection section is in view, so this needs matching !important
   to actually win. */
@media (min-width: 821px) {
  .nav.nav--mbc-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
  }
}
