/* =========================================================
   VITALITY CLINIC — Global Styles
   Design: Doctor-first premium private practice
   Typefaces: Poppins (sans) · Cormorant Garamond (serif)
   Palette: Deep teal-ink · warm gold · warm whites
   Central, Hong Kong
   ========================================================= */


/* ── 1. DESIGN TOKENS ────────────────────────────────────── */
:root {
  /* Typefaces */
  --font-sans:  'Outfit', "Helvetica Neue", Arial, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-zh:    "Noto Serif TC", "PingFang TC", "Microsoft JhengHei", serif;
  --font-hero:  'Inter', "Helvetica Neue", Arial, sans-serif;

  /* Ink — text hierarchy */
  --ink:        #1D3540;
  --ink-soft:   #2E4A55;
  --ink-body:   #4A6470;
  --ink-muted:  #7A9098;
  --ink-faint:  #A8B8BE;

  /* Teal — brand */
  --teal:       #2B85A0;
  --teal-mid:   #206f88;
  --teal-50:    #EAF4F8;
  --teal-100:   #C8E5F0;

  /* Gold — warm accent */
  --warm:       #C4A96A;
  --warm-dark:  #A68E52;
  --warm-faint: #F5F2EB;

  /* Surfaces */
  --white:          #FFFFFF;
  --surface:        #F2F9FC;
  --surface-warm:   #F6F4F0;
  --surface-teal:   #EDF5F8;
  --surface-dark:   #0D4558;

  /* Spacing */
  --section-y:  clamp(4.5rem, 7vw, 7rem);
  --block-y:    clamp(1.75rem, 3.5vw, 3rem);

  /* Layout */
  --max-w:        1280px;
  --max-w-narrow: 860px;
  --gutter:       clamp(1.25rem, 3vw, 2.5rem);

  /* Shape */
  --r-sm: 3px;
  --r-md: 6px;
  --r-lg: 14px;

  /* Nav */
  --nav-h:     112px;
  --nav-h-mob: 62px;
  --nav-row-h: 38px;
  --ann-h:     0px;

  /* ── Legacy aliases (inner-page components) ── */
  --color-teal:        #2B85A0;
  --color-teal-dark:   #1D3540;
  --color-teal-light:  #5AABC0;
  --color-teal-50:     #EAF4F8;
  --color-teal-100:    #C8E5F0;
  --color-warm:        #C4A96A;
  --color-warm-dark:   #A68E52;
  --color-ink:         #1D3540;
  --color-ink-soft:    #2E4A55;
  --color-grey-900:    #2E4A55;
  --color-grey-700:    #4A6470;
  --color-grey-500:    #7A9098;
  --color-grey-400:    #A8B8BE;
  --color-grey-300:    #C8D8DE;
  --color-grey-200:    #DCE8EC;
  --color-bone:        #EDF5F8;
  --color-warm-paper:  #F6F4F0;
  --color-paper:       #FAFAF8;
  --color-surface:     #EDF5F8;
  --color-white:       #FFFFFF;
  --color-accent:      #3A8FA3;
  --color-medical:     #1c5d99;
  --radius-card:       var(--r-sm);
  --radius-bubble:     20px;
  --radius-sm:         var(--r-lg);
  --space-section:     var(--section-y);
  --space-block:       var(--block-y);
  --nav-height-desktop:    112px;
  --nav-height-mobile:     62px;
  --announcement-height:   0px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}


/* ── 2. RESET ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-body);
  background: var(--surface);
  letter-spacing: 0.01em;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
p { margin: 0 0 1rem 0; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1rem 0; padding-left: 1.25rem; }
ul li, ol li { margin-bottom: 0.4rem; line-height: 1.6; }


/* ── 3. TYPOGRAPHY ───────────────────────────────────────── */
.display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-size: clamp(1.75rem, 2.6vw, 2.4rem);
  margin: 0;
  color: var(--ink);
}

.eyebrow {
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
}

.h2 {
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.18;
  font-size: clamp(1.65rem, 3.2vw, 2.6rem);
  margin: 0 0 0.65rem;
  color: var(--ink);
}

.h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.32;
  font-size: clamp(0.98rem, 1.35vw, 1.1rem);
  margin: 0 0 0.4rem;
  color: var(--ink);
}

.lede {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-body);
  max-width: 64ch;
  margin: 0;
}

.body {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.78;
  color: var(--ink-body);
  max-width: 68ch;
}

.small { font-size: 0.82rem; color: var(--ink-muted); }


/* ── 4. LAYOUT ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.section     { padding: var(--section-y) 0; }
.section--warm { background: var(--surface-warm); }
.section-sm  { padding: calc(var(--section-y) * 0.6) 0; }

.divider {
  height: 1px;
  background: var(--color-grey-200);
  border: 0;
  margin: 0;
}

/* Page top padding for fixed nav */
.page      { padding-top: calc(var(--nav-h)     + var(--ann-h)); background: var(--surface); }
.page--hero { padding-top: calc(var(--nav-h)    + var(--ann-h)); background: var(--white); }
.page:has(.page-hero--img),
.page:has(.wm-hero),
.page:has(.sl-hero),
.page:has(.ha-hero),
.page:has(.gph-hero),
.page:has(.wl-hero),
.page:has(.pw-hero) { padding-top: 0; }

[id] { scroll-margin-top: calc(var(--nav-h) + var(--ann-h) + 1rem); }

@media (max-width: 960px) {
  .page, .page--hero { padding-top: calc(var(--nav-h-mob) + var(--ann-h)); }
  .page:has(.page-hero--img),
  .page:has(.wm-hero),
  .page:has(.sl-hero),
  .page:has(.ha-hero),
  .page:has(.gph-hero),
  .page:has(.wl-hero),
  .page:has(.pw-hero) { padding-top: 0; }
  [id] { scroll-margin-top: calc(var(--nav-h-mob) + var(--ann-h) + 1rem); }
}


/* ── 5. NAVIGATION ───────────────────────────────────────── */

/* Default: solid white — visible on all pages */
.nav {
  position: fixed;
  top: var(--ann-h);
  left: 0; right: 0;
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  transition:
    background 0.45s var(--ease),
    border-color 0.45s var(--ease),
    opacity 0.4s ease,
    box-shadow 0.3s ease;
}

.nav.scrolled { box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06); }

/* Transparent — overlaying dark photo hero on inner pages */
/* Scoped to .nav so the class is safe to reference anywhere in HTML without side-effects */
.nav.nav--over-hero {
  background: transparent !important;
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
}
/* nav--over-hero stays transparent until JS removes the class when hero scrolls out */

.nav--hidden   { opacity: 0; pointer-events: none; }
.nav--reentry  { opacity: 1; pointer-events: all; transition: opacity 0.3s ease; }

/* Row 1: location | LOGO | lang + book */
.nav-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1rem 0 0.85rem;
  gap: 1rem;
}

.nav-logo { grid-column: 2; justify-self: center; display: block; position: relative; }
.nav-logo img { display: block; height: 34px; width: auto; }

/* Logo swap: dark (default) ↔ light (over dark hero) */
.nav-logo .logo-dark  { opacity: 1; pointer-events: auto;  transition: opacity 0.4s ease; }
.nav-logo .logo-light {
  position: absolute; top: 0; left: 0;
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.nav--over-hero .nav-logo .logo-dark  { opacity: 0; pointer-events: none; }
.nav--over-hero .nav-logo .logo-light { opacity: 1; pointer-events: auto; }

.nav-top-left  { display: flex; align-items: center; gap: 0.85rem; justify-content: flex-start; grid-column: 1; }
.nav-top-right { display: flex; align-items: center; gap: 0.85rem; justify-content: flex-end;  grid-column: 3; }

.nav-location {
  font-size: 0.68rem; letter-spacing: 0.06em;
  color: var(--ink-muted); line-height: 1.4;
}
.nav--over-hero .nav-location { color: rgba(255,255,255,0.72); }

/* Row 2: nav links */
.nav-row {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  display: flex; align-items: stretch; justify-content: center;
  position: relative; overflow: visible;
}
.nav--over-hero .nav-row {
  border-top-color: rgba(255, 255, 255, 0.14);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.nav-links {
  display: flex; align-items: stretch; gap: 0;
  list-style: none; margin: 0; padding: 0;
  flex-wrap: nowrap; justify-content: center;
}
.nav-links > li { position: relative; display: flex; margin-bottom: 0; }

.nav-link {
  display: flex; align-items: center; gap: 0.3rem;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); font-weight: 400; line-height: 1;
  padding: 0 0.85rem; min-height: 36px;
  position: relative; white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute;
  bottom: 0; left: 0.9rem; right: 0.9rem;
  height: 1.5px; background: var(--teal);
  transform: scaleX(0); transition: transform 0.22s var(--ease); border-radius: 2px;
}
.nav-link:hover, .nav-link.active { color: var(--teal); background: var(--teal-50); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav--over-hero .nav-link              { color: rgba(255,255,255,0.88); }
.nav--over-hero .nav-link:hover,
.nav--over-hero .nav-link.active       { color: #fff; background: rgba(255,255,255,0.09); }
.nav--over-hero .nav-link::after       { background: rgba(255,255,255,0.6); }

.nav-link .caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.2rem;
  border-left: 0.22rem solid transparent;
  border-right: 0.22rem solid transparent;
  border-top: 0.28rem solid currentColor;
  font-size: 0;
  opacity: 0.55;
  transform: translateY(1px);
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}
.has-submenu.open > .nav-link .caret {
  transform: rotate(180deg) translateY(1px);
  opacity: 0.8;
}

/* Navigation language menu */
.nav-lang {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-lang-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 58px;
  min-height: 40px;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(29,53,64,0.18);
  border-radius: 2px;
  background: rgba(255,255,255,0.45);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-lang-trigger:hover,
.nav-lang.open .nav-lang-trigger {
  border-color: rgba(29,53,64,0.38);
  background: var(--white);
}
.nav-lang-chevron {
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.nav-lang.open .nav-lang-chevron { transform: translateY(1px) rotate(225deg); }
.nav-lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 80;
  width: max-content;
  min-width: 178px;
  padding: 0.35rem;
  border: 1px solid rgba(29,53,64,0.1);
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(20,39,48,0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s linear 0.18s;
}
.nav-lang.open .nav-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.nav-lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.75rem;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--ink-body);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: color 0.16s var(--ease), background 0.16s var(--ease);
}
.nav-lang-option:hover,
.nav-lang-option:focus-visible { background: var(--teal-50); color: var(--ink); }
.nav-lang-option.active { color: var(--ink); font-weight: 600; }
.nav-lang-option.active::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}
.nav--over-hero .nav-lang-trigger {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.nav--over-hero .nav-lang-trigger:hover,
.nav--over-hero .nav-lang.open .nav-lang-trigger {
  border-color: rgba(255,255,255,0.58);
  background: rgba(255,255,255,0.12);
}

/* Footer language links */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}
.lang-toggle button {
  padding: 0.25rem 0.3rem;
  color: var(--ink-muted);
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.lang-toggle button.active { color: var(--ink); font-weight: 600; }
.lang-toggle .sep { font-size: 0.65rem; color: var(--ink-faint); }

/* Book button */
.btn-nav-book {
  display: inline-flex; align-items: center;
  background: var(--warm); border: 1.5px solid var(--warm); color: #fff;
  padding: 0.38rem 0.95rem; font-size: 0.65rem; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 500; border-radius: 2px;
  transition: all 0.22s var(--ease); white-space: nowrap; line-height: 1;
}
.btn-nav-book:hover { background: var(--warm-dark); border-color: var(--warm-dark); color: #fff; transform: translateY(-1px); }

/* Dropdown */
.submenu {
  position: absolute; top: 100%; left: 0; transform: translateY(-4px);
  min-width: 220px; background: var(--white);
  border: 1px solid rgba(0,0,0,0.08); border-top: 2px solid var(--teal);
  border-radius: var(--r-md); box-shadow: 0 16px 40px rgba(0,0,0,0.09);
  padding: 0.35rem 0; list-style: none; margin: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
  z-index: 50; overflow: hidden;
}
.has-submenu.open > .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s;
}
/* Hover-to-open only for real mouse pointers — on touch devices this rule made the
   first tap register as a hover (WebKit quirk), requiring a second tap to click through. */
@media (hover: hover) and (pointer: fine) {
  .has-submenu:hover > .submenu {
    opacity: 1; visibility: visible; transform: translateY(0);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s;
  }
}
.submenu li { margin: 0; }
.submenu a {
  display: block; padding: 0.65rem 1.2rem;
  font-size: 0.8rem; letter-spacing: 0.03em;
  color: var(--ink-body); white-space: nowrap;
  text-transform: none; font-weight: 400;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.submenu a:hover { background: var(--teal-50); color: var(--ink); }
.submenu-overview { display: none; }

/* Burger — two-line + MENU label (Clinique La Prairie style) */
.nav-burger {
  display: none; flex-direction: column; align-items: center; gap: 8px;
  padding: 10px 8px; grid-column: 1; justify-self: start;
  background: none; border: none; cursor: pointer;
  min-width: 44px; min-height: 44px; justify-content: center;
}
.nav-burger span:not(.burger-label), .nav-burger .bar {
  display: block; width: 30px; height: 2px;
  background: var(--ink); border-radius: 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-burger .burger-label {
  display: block; font-size: 0.58rem; letter-spacing: 0.18em;
  font-weight: 500; font-family: var(--font-sans);
  color: var(--ink); text-transform: uppercase;
  transition: opacity 0.2s var(--ease);
  line-height: 1; margin-top: 1px; user-select: none;
}
/* Open state: bars cross into X, label fades */
.nav-burger[aria-expanded="true"] .bar:nth-child(1),
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] .bar:nth-child(2),
.nav-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }
.nav-burger[aria-expanded="true"] .burger-label { opacity: 0; }
/* Over hero: white version */
.nav--over-hero .nav-burger span:not(.burger-label), .nav--over-hero .nav-burger .bar { background: rgba(255,255,255,0.9); }
.nav--over-hero .nav-burger .burger-label { color: rgba(255,255,255,0.85); }

.mob-header, .mob-footer { display: none; }

/* ── 5a. Mobile nav ── */
@media (max-width: 960px) {
  .nav-logo img  { height: 24px; }
  .nav-top       { padding: 0.85rem 0; }
  .nav-burger    { display: flex; }
  .nav-location  { display: none; }
  .nav-top-right { gap: 0.4rem; }
  .btn-nav-book  { display: none; }
  .nav-lang-trigger { min-width: 56px; min-height: 44px; padding: 0.5rem 0.6rem; }
  .nav-lang-menu { position: fixed; top: calc(var(--nav-h-mob) + 0.5rem); right: var(--gutter); min-width: 190px; }

  .mob-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5); z-index: 55;
    opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
  }
  .mob-overlay.open { opacity: 1; pointer-events: all; }

  .nav-row {
    position: fixed; inset: 0 auto 0 0;
    width: 82vw; max-width: 340px; height: 100dvh;
    display: flex; flex-direction: column; justify-content: flex-start;
    background: var(--white); transform: translateX(-105%);
    transition: transform 0.42s cubic-bezier(0.22,1,0.36,1) !important;
    z-index: 70; overflow-y: auto; overscroll-behavior: contain;
    border: none; padding: 0; gap: 0;
    box-shadow: 10px 0 48px rgba(0,0,0,0.16);
  }
  .nav-row.open { transform: translateX(0); }

  .mob-header {
    display: flex; align-items: center; justify-content: flex-end;
    padding: 0.6rem 0.8rem 0.4rem; flex-shrink: 0;
  }
  .mob-close {
    background: none; border: none; cursor: pointer;
    color: rgba(0,0,0,0.35); padding: 0.4rem;
    display: flex; align-items: center; transition: color 0.2s ease;
  }
  .mob-close:hover { color: #000; }

  .nav-links {
    flex-direction: column; justify-content: flex-start;
    width: 100%; align-items: stretch; flex-wrap: nowrap;
    gap: 0; flex: 1; padding: 0; padding-top: 12vh;
  }
  .nav-links > li { display: block; border-bottom: 1px solid rgba(0,0,0,0.06); width: 100%; }

  .nav-link {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.4rem; min-height: 52px;
    font-size: 1.05rem; font-weight: 400;
    letter-spacing: 0; text-transform: none;
    color: rgba(0,0,0,0.78) !important; background: none !important;
    transition: color 0.2s ease;
  }
  .nav-link:hover, .nav-link.active { color: #000 !important; }
  .nav-link::after { content: none !important; display: none !important; }

  .caret {
    display: inline-flex !important; align-items: center; justify-content: center;
    align-self: center;
    width: 1rem; height: 1rem; font-size: 0; line-height: 1;
    color: transparent;
    opacity: 0.45; margin-left: auto; flex-shrink: 0;
    padding: 0.25rem 0 0.25rem 1rem;
    margin-right: 0;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    overflow: visible;
    transform: none; transition: opacity 0.2s ease;
    cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .caret::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 0.32rem solid transparent;
    border-bottom: 0.32rem solid transparent;
    border-left: 0.4rem solid rgba(0,0,0,0.55);
    transition: transform 0.25s var(--ease), border-left-color 0.2s ease;
  }
  .has-submenu.open > .nav-link .caret { transform: none; opacity: 0.72; }
  .has-submenu.open > .nav-link .caret::before { transform: rotate(90deg); }

  .submenu {
    position: static !important; background: rgba(0,0,0,0.025) !important;
    border: none !important; border-radius: 0; box-shadow: none;
    transform: none; opacity: 1; display: block; width: 100%;
    max-height: 0; overflow: hidden; visibility: hidden;
    padding: 0; min-width: 0;
    transition: max-height 0.32s cubic-bezier(0.22,1,0.36,1), visibility 0s linear 0.32s;
  }
  .has-submenu.open > .submenu {
    max-height: 360px; visibility: visible;
    transition: max-height 0.32s cubic-bezier(0.22,1,0.36,1), visibility 0s;
  }
  .submenu li { margin: 0; }
  .submenu a {
    padding: 0.75rem 1.4rem 0.75rem 2rem; min-height: 48px;
    font-size: 0.95rem; letter-spacing: 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; white-space: normal;
    color: rgba(0,0,0,0.5) !important; font-weight: 400; text-transform: none;
    transition: color 0.2s ease, background 0.2s ease;
  }
  .submenu a::after { display: block !important; content: '↗\FE0E'; font-size: 0.7rem; color: rgba(0,0,0,0.2); flex-shrink: 0; }
  .submenu a:hover  { color: rgba(0,0,0,0.85) !important; background: rgba(0,0,0,0.04) !important; }

  .submenu-overview { display: block; }
  .submenu-overview a {
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
    color: var(--teal) !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em;
  }
  .submenu-overview a::after { content: '→\FE0E' !important; color: var(--teal) !important; opacity: 0.5; }

  .mob-footer {
    flex-shrink: 0; padding: 1.25rem 1.4rem;
    border-top: 1px solid rgba(0,0,0,0.07); margin-top: auto;
  }
  .mob-wa {
    display: block; font-size: 0.82rem;
    color: rgba(0,0,0,0.4); letter-spacing: 0.02em; text-decoration: none;
    transition: color 0.2s ease;
  }
  .mob-wa:hover { color: rgba(0,0,0,0.8); }
}


/* ── 6. HOMEPAGE — SPLIT HERO ────────────────────────────── */

.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 66vw 1fr;
  min-height: 0;
  margin-top: calc(var(--nav-h-mob) + var(--ann-h));
}
@media (min-width: 481px) { .hero-split { grid-template-rows: 62vw auto; } }
@media (min-width: 769px) {
  .hero-split {
    grid-template-columns: minmax(360px, 39%) minmax(0, 61%);
    grid-template-rows: auto;
    margin-top: calc(var(--nav-h) + var(--ann-h) - var(--nav-row-h));
    min-height: clamp(580px, calc(100dvh - var(--nav-h) - 7.4375rem), 645px);
  }
}

.hero-split-panel {
  background: var(--surface-dark);
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 2.25rem var(--gutter) 2.75rem;
  grid-row: 2;
}
@media (min-width: 769px) {
  .hero-split-panel {
    justify-content: flex-end; grid-row: auto;
    padding: clamp(3rem, 5vw, 4.5rem) var(--gutter) clamp(2.5rem, 4vw, 3.5rem);
    padding-left: max(var(--gutter), calc((100vw - var(--max-w)) / 2 + var(--gutter)));
  }
}

.hero-split-image { position: relative; overflow: hidden; grid-row: 1; min-height: 66vw; }
@media (min-width: 481px) { .hero-split-image { min-height: 62vw; } }
@media (min-width: 769px) { .hero-split-image { grid-row: auto; min-height: 0; } }
.hero-split-image img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 87% 30%; display: block;
}

.hero-location {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--warm); font-weight: 400; margin: 0 0 1.25rem;
}
@media (min-width: 769px) { .hero-location { margin-bottom: 1.35rem; } }

.hero-name {
  font-family: var(--font-hero); font-weight: 300; font-style: normal;
  font-size: clamp(1.7rem, 7vw, 2.4rem); line-height: 1.18;
  color: var(--white); margin: 0; letter-spacing: -0.02em;
}
@media (min-width: 769px) { .hero-name { font-size: clamp(1.7rem, 2.2vw, 2.05rem); } }
.hero-name-zh {
  display: none;
  font-family: var(--font-zh); font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: rgba(255,255,255,0.45); font-weight: 400;
  margin: 0.3rem 0 0; letter-spacing: 0.06em;
}
:lang(zh-Hant) .hero-name-zh { display: block; }
.hero-role {
  font-size: clamp(0.72rem, 1.2vw, 0.85rem); letter-spacing: 0.08em;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  font-weight: 300; margin: 0 0 2rem;
}
@media (min-width: 769px) { .hero-role { margin-bottom: 1.35rem; } }

.hero-quals {
  display: flex; flex-direction: column; gap: 0.4rem;
  margin: 0 0 1.75rem; padding: 1.25rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 769px) { .hero-quals { gap: 0.55rem; margin-bottom: 1.65rem; padding-top: 1.25rem; } }
.hero-quals span {
  font-size: 0.82rem; letter-spacing: 0.01em;
  color: rgba(255,255,255,0.62); font-weight: 300; line-height: 1.6;
}
@media (min-width: 769px) { .hero-quals span { font-size: 0.86rem; line-height: 1.55; } }

.hero-cta {
  display: inline-flex; align-items: center;
  background: var(--warm); color: var(--white);
  padding: 0.9rem 1.85rem; font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 500; border-radius: 2px;
  border: 1.5px solid var(--warm); transition: all 0.25s var(--ease);
  width: fit-content; margin-bottom: 1.5rem;
}
@media (min-width: 769px) { .hero-cta { margin-bottom: 1.05rem; } }
.hero-cta:hover { background: var(--warm-dark); border-color: var(--warm-dark); color: var(--white); transform: translateY(-1px); }

.hero-hours {
  font-size: 0.7rem; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.32); font-weight: 300; line-height: 1.6;
}

.hero-hours { font-size: 0.65rem; letter-spacing: 0.04em; white-space: normal; }
@media (min-width: 769px) { .hero-hours { font-size: 0.7rem; letter-spacing: 0.08em; } }


/* ── 7. HOMEPAGE — DOCTOR TEASER ─────────────────────────── */

.section-doctor-teaser { background: var(--white); }

.doctor-teaser-layout {
  display: grid; grid-template-columns: 1fr;
  gap: 1.75rem; align-items: start;
}
@media (min-width: 769px) {
  .doctor-teaser-layout { grid-template-columns: 1fr 2fr; gap: clamp(3rem, 7vw, 7rem); }
}

.doctor-teaser-photo { position: static; }
.doctor-teaser-photo img { width: 100%; display: block; border-radius: var(--r-sm); object-fit: cover; object-position: top center; aspect-ratio: 4/3; }
@media (min-width: 769px) {
  .doctor-teaser-photo { position: sticky; top: calc(var(--nav-h) + 2rem); }
  .doctor-teaser-photo img { aspect-ratio: auto; object-position: top; }
}

.doctor-teaser-name {
  font-family: var(--font-serif); font-weight: 400; font-style: italic;
  font-size: clamp(1.5rem, 6vw, 2rem); color: var(--ink);
  margin: 0.35rem 0 0.3rem; line-height: 1.1; letter-spacing: -0.01em;
}
@media (min-width: 769px) { .doctor-teaser-name { font-size: clamp(1.7rem, 2.5vw, 2.2rem); } }
.doctor-teaser-role {
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 300; margin: 0 0 1rem;
}
.doctor-teaser-rule { border: none; border-top: 1px solid rgba(196,169,106,0.3); margin: 1rem 0 1.5rem; }

.doctor-teaser-creds {
  list-style: none; padding: 0; margin: 1.25rem 0 1.5rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.doctor-teaser-creds li {
  font-size: 0.8rem; color: var(--ink-body); font-weight: 500;
  line-height: 1.4; padding-left: 1rem; position: relative; margin-bottom: 0;
}
@media (min-width: 769px) { .doctor-teaser-creds li { font-size: 0.85rem; } }
.doctor-teaser-creds li::before {
  content: '◆'; position: absolute; left: 0;
  font-size: 0.35rem; color: var(--warm); top: 0.5em;
}

.btn-text-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); font-weight: 400;
  border-bottom: 1px solid rgba(29,53,64,0.3); padding-bottom: 0.15rem;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn-text-link:hover { color: var(--teal); border-color: var(--teal); }



/* ── 8. HOMEPAGE — SERVICE TERRITORIES ───────────────────── */

.territories-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.territories-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 769px) { .territories-grid { grid-template-columns: repeat(4, 1fr); } }

.territory {
  display: flex; flex-direction: column;
  padding: 1.75rem 0;
  background: transparent;
  border-radius: 0;
  text-decoration: none; color: inherit;
  border-right: none;
  border-bottom: 1px solid rgba(0,0,0,0.09);
  transition: background 0.3s var(--ease);
  position: relative;
}
.territory:last-child { border-bottom: none; }
@media (min-width: 769px) {
  .territory {
    padding: clamp(2.25rem, 3.5vw, 3.25rem) clamp(1.75rem, 2.5vw, 2.5rem);
    border-right: 1px solid rgba(0,0,0,0.09);
    border-bottom: none;
  }
  .territory:last-child { border-right: none; }
}
.territory::before { content: none; }
.territory:hover { background: var(--white); }

.territory-icon {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--warm);
  opacity: 0.45;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
@media (min-width: 769px) { .territory-icon { margin-bottom: 1.5rem; } }
.territory:hover .territory-icon {
  opacity: 0.8;
  transform: translateY(-2px);
}

.territory-title { font-size: clamp(1rem, 1.45vw, 1.2rem); font-weight: 500; color: var(--ink); margin: 0 0 0.85rem; line-height: 1.28; letter-spacing: -0.015em; }
.territory-desc { font-size: 0.9rem; line-height: 1.72; color: var(--ink-muted); font-weight: 400; margin: 0 0 1.75rem; flex: 1; }
.territory-link { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); font-weight: 500; transition: letter-spacing 0.25s var(--ease); }
.territory:hover .territory-link { letter-spacing: 0.18em; }


/* ── 8b. VIDEO EDUCATION — homepage teaser + hub page ────── */

.section-video-edu { background: var(--surface-teal); padding: calc(var(--section-y) * 0.58) 0; }

.video-edu-layout {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  align-items: start;
}
@media (min-width: 860px) {
  .video-edu-layout { grid-template-columns: 1fr 1.15fr; gap: clamp(2.25rem, 5vw, 3.5rem); }
  .video-edu-media .edu-player-wrap { aspect-ratio: unset; }
}

.video-edu-content .eyebrow { color: var(--teal); margin-bottom: 0.35rem; }
.video-edu-content .h2 { margin-bottom: 0.5rem; font-size: clamp(1.45rem, 2.6vw, 2.05rem); line-height: 1.18; }
.video-edu-lede { margin: 0 0 0.9rem; font-size: 0.92rem; line-height: 1.6; }

/* Master-detail: topic list on the left, chapter panel to its
   right — both inside the same content column as the heading. */
.video-edu-split { display: flex; gap: 1rem; align-items: stretch; }

.video-edu-topics { flex: 0 0 auto; width: 210px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.video-edu-topic {
  width: 100%; display: flex; align-items: center; gap: 0.55rem;
  padding: 0.55rem 0.5rem; border-radius: var(--r-sm);
  text-align: left; transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.video-edu-topic:hover { background: rgba(255,255,255,0.55); }
.video-edu-item.active .video-edu-topic { background: var(--white); box-shadow: 0 6px 16px rgba(13,69,88,0.09); }
.video-edu-topic-icon {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 50%; background: var(--white); color: var(--teal);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.video-edu-item.active .video-edu-topic-icon { background: var(--teal); color: var(--white); }
.video-edu-topic-icon svg { width: 12px; height: 12px; }
.video-edu-topic-label { flex: 1; font-size: 0.79rem; font-weight: 500; color: var(--ink); line-height: 1.25; }
.video-edu-item.active .video-edu-topic-label { color: var(--teal); }
.video-edu-topic-chevron {
  flex-shrink: 0; font-size: 1.3rem; font-weight: 700; color: var(--teal); line-height: 1;
  transition: transform 0.25s var(--ease), color 0.2s var(--ease);
}
.video-edu-topic:hover .video-edu-topic-chevron { color: var(--teal-mid); transform: translateX(2px); }
.video-edu-item.active .video-edu-topic-chevron { color: var(--teal-mid); transform: rotate(90deg); }

.video-edu-panel {
  flex: 1 1 auto; min-width: 0; height: 210px;
  background: var(--white); border: 1px solid var(--color-grey-200); border-radius: var(--r-md);
  overflow-y: auto; padding: 0.4rem;
}
.video-edu-panel-eyebrow {
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint); margin: 0.35rem 0.5rem 0.3rem;
}
.video-edu-panel-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.05rem; }
.video-edu-panel-list[hidden] { display: none; }

/* Narrower panel — tighten spacing and wrap long labels cleanly
   instead of cramming them onto the wider hub-page sizing. */
.video-edu-panel .chapter-btn { align-items: flex-start; gap: 0.55rem; padding: 0.45rem 0.4rem; }
.video-edu-panel .chapter-btn-time { font-size: 0.72rem; min-width: 2.6em; padding-top: 0.1rem; }
.video-edu-panel .chapter-btn-label { font-size: 0.8rem; line-height: 1.4; }

@media (max-width: 640px) {
  .video-edu-split { flex-direction: column; }
  .video-edu-topics { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .video-edu-topic { width: auto; }
  .video-edu-topic-label { white-space: nowrap; }
  .video-edu-panel { width: 100%; height: 210px; }
}

/* click-to-load video facade — swaps in place for an inline iframe, no lightbox */
.video-card {
  position: relative; display: block; width: 100%; height: 100%;
  aspect-ratio: 16/9; border-radius: var(--r-md); overflow: hidden;
  background: var(--ink); box-shadow: 0 20px 50px rgba(13,69,88,0.22);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.video-card:hover { transform: translateY(-3px); box-shadow: 0 26px 60px rgba(13,69,88,0.3); }
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.86; transition: transform 0.4s var(--ease), opacity 0.2s var(--ease); }
.video-card:hover img { transform: scale(1.03); opacity: 0.96; }
.video-card-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--white); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
  transition: transform 0.25s var(--ease);
}
.video-card:hover .video-card-play { transform: translate(-50%, -50%) scale(1.08); }
.video-card-play svg { width: 20px; height: 20px; margin-left: 3px; fill: currentColor; }
.video-card-duration {
  position: absolute; right: 0.85rem; bottom: 0.85rem;
  padding: 0.3rem 0.65rem; border-radius: 50px;
  background: rgba(13,69,88,0.78); color: var(--white);
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.04em;
}


/* ── 8c. PATIENT EDUCATION HUB PAGE + inline players ─────── */

.edu-player-wrap {
  position: relative; width: 100%;
  margin: 0 auto;
  aspect-ratio: 16/9; border-radius: var(--r-md); overflow: hidden;
  background: #000; box-shadow: 0 26px 60px rgba(13,69,88,0.2);
}
.edu-player-frame { position: absolute; inset: 0; }
.edu-player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.edu-player-wrap .video-card { position: absolute; inset: 0; border-radius: 0; box-shadow: none; }
.edu-player-wrap .video-card-play { width: 74px; height: 74px; }
.edu-player-note { font-size: 0.8rem; color: var(--ink-faint); margin: 0.9rem 0 0; text-align: center; }

.edu-layout {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .edu-layout { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(2rem, 4vw, 3.5rem); }
}

.chapter-groups { display: flex; flex-direction: column; gap: 0.9rem; overflow-y: auto; padding-right: 0.4rem; }
.chapter-group { flex-shrink: 0; border: 1px solid var(--color-grey-200); border-radius: var(--r-md); background: var(--white); overflow: hidden; }
.chapter-group-header {
  width: 100%; display: flex; align-items: center; gap: 1rem;
  padding: 1.15rem 1.4rem; text-align: left; background: none;
}
.chapter-group-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--teal-50); color: var(--teal);
}
.chapter-group-icon svg { width: 18px; height: 18px; }
.chapter-group-heading { flex: 1; }
.chapter-group-title { display: block; font-size: 1rem; font-weight: 600; color: var(--ink); }
.chapter-group-count { display: block; font-size: 0.72rem; color: var(--ink-faint); font-weight: 500; margin-top: 0.15rem; }
.chapter-group-caret { font-size: 0.85rem; color: var(--ink-faint); transition: transform 0.3s var(--ease); flex-shrink: 0; }
.chapter-group.open .chapter-group-caret { transform: rotate(180deg); }

.chapter-group-body { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.chapter-group.open .chapter-group-body { max-height: 1600px; }
.chapter-group-list { list-style: none; margin: 0; padding: 0 1.4rem 1.1rem; display: flex; flex-direction: column; gap: 0.1rem; }
.chapter-btn {
  display: flex; align-items: baseline; gap: 0.85rem; width: 100%;
  padding: 0.6rem 0.5rem; border-radius: var(--r-sm); background: none;
  text-align: left; transition: background 0.18s var(--ease);
}
.chapter-btn:hover, .chapter-btn.active { background: var(--teal-50); }
.chapter-btn-time { font-variant-numeric: tabular-nums; font-size: 0.78rem; font-weight: 600; color: var(--teal); flex-shrink: 0; min-width: 3.1em; }
.chapter-btn-label { font-size: 0.87rem; color: var(--ink-body); transition: color 0.18s var(--ease); }
.chapter-btn:hover .chapter-btn-label, .chapter-btn.active .chapter-btn-label { color: var(--ink); }


/* ── 9. HOMEPAGE — PROCESS ───────────────────────────────── */

.section-process { background: var(--surface); }

.process-header { margin-bottom: clamp(2rem, 4vw, 3.5rem); }

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
}
@media (min-width: 481px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 769px) { .process-steps { grid-template-columns: repeat(4, 1fr); } }

/* Connecting line between step circles */
.process-steps::before {
  content: '';
  position: absolute;
  top: 1.05rem; /* aligns to vertical center of circles */
  left: calc(12.5% + 1.15rem);
  right: calc(12.5% + 1.15rem);
  height: 1px;
  background: var(--teal-100);
  pointer-events: none;
}

.process-step { padding: 0; }

.process-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal);
  margin-bottom: 1.25rem;
  background: var(--surface);
  position: relative;
  z-index: 1;
}
.process-step-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.55rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.process-step-desc {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--ink-body);
  line-height: 1.72;
  margin: 0;
}

.process-steps::before { display: none; }
@media (min-width: 769px) { .process-steps::before { display: block; } }


/* ── 10. HOMEPAGE — INVITATION ───────────────────────────── */

.section-invite { background: var(--surface-dark); padding: var(--section-y) 0; }

.invite-layout {
  display: grid; grid-template-columns: 1fr;
  gap: 2.5rem; align-items: start;
}
@media (min-width: 769px) { .invite-layout { grid-template-columns: 1.1fr 1fr; gap: clamp(3rem, 7vw, 7rem); } }
.invite-layout .eyebrow { color: var(--warm); }

.invite-heading {
  font-family: var(--font-serif); font-weight: 400; font-style: italic;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem); color: var(--white);
  margin: 0.3rem 0 0.9rem; letter-spacing: -0.01em; line-height: 1.1;
}
.invite-address { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.75; font-weight: 300; margin: 0 0 2rem; }

.btn-wa {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: transparent; color: var(--white);
  padding: 0.9rem 1.6rem; font-size: 0.76rem; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 400; border-radius: 2px;
  border: 1.5px solid rgba(255,255,255,0.45);
  transition: all 0.25s var(--ease); margin-bottom: 1rem;
}
.btn-wa svg { width: 18px; height: 18px; fill: var(--white); flex-shrink: 0; opacity: 0.85; }
.btn-wa:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.75); transform: translateY(-1px); }

.invite-note { font-size: 0.8rem; color: rgba(255,255,255,0.4); font-weight: 500; letter-spacing: 0.02em; margin: 0; }

.invite-facts { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(255,255,255,0.1); }
.invite-fact { padding: 1.25rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.invite-fact dt { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.3); font-weight: 400; margin-bottom: 0.4rem; }
.invite-fact dd { font-size: 0.88rem; color: rgba(255,255,255,0.7); font-weight: 500; line-height: 1.6; margin: 0; }



/* ── 11. INNER PAGE HERO ─────────────────────────────────── */

.page-hero {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.75rem, 3.5vw, 2.75rem);
  border-bottom: 1px solid var(--color-grey-200);
  background: var(--teal-50);
}
.page-hero h1 {
  font-family: var(--font-hero); font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 300; letter-spacing: -0.03em; line-height: 1.15;
  margin: 0.5rem 0 0.75rem; max-width: 24ch; color: var(--ink);
}
.page-hero .lede { font-size: 0.975rem; line-height: 1.7; color: var(--ink-body); font-weight: 300; max-width: 72ch; }

/* Full-bleed photo hero — nav overlays image */
.page-hero--img {
  background-image: var(--hero-img);
  background-size: cover; background-position: center;
  padding-top: calc(var(--nav-h) + 4rem);
  border-bottom: none; position: relative;
}
.page-hero--img::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,18,22,0.72) 0%, rgba(12,22,28,0.5) 42%, rgba(14,24,30,0.72) 100%);
}
.page-hero--img .container          { position: relative; z-index: 1; }
.page-hero--img .eyebrow            { color: rgba(255,255,255,0.84); }
.page-hero--img .breadcrumbs,
.page-hero--img .breadcrumbs a,
.page-hero--img .breadcrumbs span   { color: rgba(255,255,255,0.72); }
.page-hero--img h1                  { color: var(--white); max-width: 28ch; font-family: var(--font-hero); font-style: normal; font-weight: 300; font-size: clamp(1.7rem, 3.5vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.15; text-shadow: 0 10px 28px rgba(0,0,0,0.28); }
.page-hero--img .lede               { color: rgba(255,255,255,0.9); max-width: 60ch; text-shadow: 0 8px 24px rgba(0,0,0,0.24); }

@media (max-width: 960px) { .page-hero--img { padding-top: calc(var(--nav-h-mob) + 2.5rem); } }


/* ── 12. QUICK FACTS BAR ─────────────────────────────────── */

.quick-facts {
  background: var(--surface-warm);
  border-top: 1px solid rgba(196,169,106,0.25);
  border-bottom: 1px solid rgba(196,169,106,0.18);
}
.quick-facts-grid { display: flex; align-items: center; justify-content: center; padding: 0; margin: 0; width: 100%; }
.quick-fact { display: flex; flex-direction: row; align-items: center; padding: 1.1rem 2.25rem; gap: 0.7rem; }
.quick-fact-icon { width: 17px; height: 17px; flex-shrink: 0; color: var(--warm); opacity: 0.8; }
.quick-fact-text { display: flex; flex-direction: column; gap: 0.12rem; }
.quick-fact-divider { width: 1px; height: 1.75rem; background: rgba(196,169,106,0.3); flex-shrink: 0; }
.quick-fact-label { font-size: 0.6rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--warm); margin: 0; }
.quick-fact-value { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.03em; color: var(--ink); margin: 0; }
.quick-fact-link  { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
.quick-fact-link:hover { color: var(--warm); }

@media (max-width: 680px) {
  .quick-facts-grid { display: grid; grid-template-columns: 45% 55%; grid-template-rows: auto auto; padding: 0.85rem 0; gap: 0; }
  .quick-fact-divider { display: none; }
  .quick-fact:first-child { grid-column: 1; grid-row: 1 / 3; align-items: flex-start; padding: 0 0.9rem 0 0; border-right: 1px solid rgba(196,169,106,0.3); }
  .quick-fact:nth-child(3) { grid-column: 2; grid-row: 1; align-items: flex-start; padding: 0 0 0.55rem 0.9rem; }
  .quick-fact:nth-child(5) { grid-column: 2; grid-row: 2; align-items: flex-start; padding: 0.55rem 0 0 0.9rem; border-top: 1px solid rgba(196,169,106,0.2); }
  .quick-fact-label { font-size: 0.56rem; }
  .quick-fact-value { font-size: 0.78rem; white-space: normal; line-height: 1.45; }
}


/* ── 13. BUTTONS ─────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.8rem 1.4rem; font-size: 0.75rem; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 400;
  border: 1.5px solid transparent; border-radius: var(--r-sm);
  transition: all 0.22s var(--ease); cursor: pointer; line-height: 1; font-family: var(--font-sans);
}
.btn-primary  { background: var(--teal); border-color: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-mid); border-color: var(--teal-mid); color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(58,143,163,0.28); }
.btn-light    { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-light:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline  { background: transparent; border-color: var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); transform: translateY(-1px); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); }
.btn-arrow::after { content: "→"; transition: transform 0.22s var(--ease); }
.btn-arrow:hover::after { transform: translateX(3px); }

.btn-hero-primary {
  background: var(--warm); border: 1.5px solid var(--warm); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.9rem 1.8rem; font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 400; border-radius: var(--r-sm);
  transition: all 0.25s var(--ease); cursor: pointer; line-height: 1; white-space: nowrap;
}
.btn-hero-primary:hover { background: var(--warm-dark); border-color: var(--warm-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(196,169,106,0.35); }

.btn-outline-warm {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.8rem; font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 400; border-radius: var(--r-sm);
  border: 1.5px solid rgba(255,255,255,0.5); color: rgba(255,255,255,0.85);
  background: transparent; transition: all 0.25s var(--ease); line-height: 1; white-space: nowrap;
}
.btn-outline-warm:hover { background: rgba(255,255,255,0.12); color: var(--white); transform: translateY(-1px); }


/* ── 14. SERVICE CARDS ROW ───────────────────────────────── */

.services-layout {
  display: flex; align-items: end; padding-right: 0;
  gap: clamp(2rem, 4vw, 4rem);
}
.services-intro { flex: 0 0 clamp(255px, 25vw, 340px); }
.services-layout .cards-row { flex: 1; min-width: 0; margin-right: calc(50% - 50vw); }

.cards-row {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 5px;
  margin-right: calc(50% - 50vw);
}
.cards-row::-webkit-scrollbar { display: none; }

.card {
  position: relative; overflow: hidden; min-height: 360px;
  flex: 1 0 0; border-radius: var(--r-sm);
  border: none; border-bottom: 1px solid transparent;
  scroll-snap-align: start; display: flex; flex-direction: column;
  justify-content: space-between; padding: clamp(1.25rem, 2vw, 1.75rem);
  text-decoration: none; transition: border-color 0.3s var(--ease);
}
.card-gp   { flex: 1.7 0 0; }
.card-skin { flex: 1.25 0 0; }

.card::before {
  content: ''; position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.55; z-index: 0;
  transition: transform 0.6s var(--ease), opacity 0.4s ease;
}
.card:hover::before { opacity: 1; transform: scale(1.02); }

.card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,9,14,0.88) 0%, rgba(8,9,14,0.08) 60%);
  z-index: 0;
}
.card > *  { position: relative; z-index: 1; }
.card:hover { border-color: rgba(255,255,255,0.2); }

/* Per-card background images — Unsplash stable URLs */
.card-gp::before       { background-image: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?q=80&w=1740&auto=format&fit=crop'); }
.card-wellness::before  { background-image: url('https://images.unsplash.com/photo-1506126613408-eca07ce68773?q=80&w=1740&auto=format&fit=crop'); }
.card-skin::before      { background-image: url('https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?q=80&w=1740&auto=format&fit=crop'); }

.card-eyebrow { margin: 0; font-size: 0.6rem; font-weight: 300; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.card-title   { margin: 0; font-size: clamp(0.95rem, 1.5vw, 1.3rem); font-weight: 500; line-height: 1.2; }
.card .card-title { color: var(--white); font-weight: 500; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.card-body-wrap { display: flex; flex-direction: column; }
.card-desc { margin: 0.4rem 0 0; font-size: 0.8rem; font-weight: 300; color: rgba(255,255,255,0.72); line-height: 1.55; }

.card-hover-details {
  list-style: none; margin: 0.75rem 0 0; padding: 0;
  opacity: 0; transform: translateY(0.6rem); max-height: 0; overflow: hidden;
  font-size: 0.76rem; font-weight: 300; color: rgba(255,255,255,0.68); line-height: 1.6;
  transition: max-height 0.45s var(--ease), opacity 0.32s ease, transform 0.38s var(--ease);
}
.card-hover-details li::before { content: '— '; opacity: 0.5; }
.card:hover .card-hover-details { opacity: 1; transform: translateY(0); max-height: 10rem; }

@media (max-width: 768px) {
  .services-layout { flex-direction: column; gap: 1.5rem; padding-right: 0; align-items: stretch; }
  .services-intro  { flex: none; width: 100%; max-width: none; }
  .cards-row { flex-direction: row; overflow-x: auto; }
  .cards-row::after { content: ''; flex: 0 0 clamp(1rem, 3vw, 1.5rem); }
  .card, .card-gp, .card-skin { flex: 0 0 80vw; min-width: 80vw; max-width: 80vw; min-height: 280px; }
  .card .card-hover-details { opacity: 0; max-height: 0; }
  .card.is-visible::before { opacity: 1; }
  .card.is-visible .card-hover-details { opacity: 1; transform: translateY(0); max-height: 10rem; }
  .card.is-visible { border-color: rgba(255,255,255,0.35); }
}

.card-num { font-family: var(--font-serif); font-style: italic; color: var(--ink-faint); font-size: 0.95rem; }

/* ── Philosophy cards (icon-based, no gradient) ─────────── */
.card--philosophy {
  background: var(--white);
  border-radius: var(--r-md);
  padding: clamp(1.75rem, 2.5vw, 2.25rem);
  display: flex; flex-direction: column; gap: 1rem;
  min-height: 0;
  /* reset service-card overrides */
  flex: none; overflow: visible;
}
.card--philosophy::before,
.card--philosophy::after { display: none; }
.card--philosophy .card-icon {
  width: 44px; height: 44px;
  background: color-mix(in srgb, var(--teal) 10%, transparent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.card--philosophy .card-icon svg {
  width: 22px; height: 22px;
  stroke: var(--teal); fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.card--philosophy .card-title {
  font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink); line-height: 1.3; margin: 0;
  text-shadow: none;
}
.card--philosophy .card-body {
  font-size: 0.9rem; line-height: 1.75;
  font-weight: 500; color: var(--ink-body); margin: 0;
}


/* ── 15. GRID HELPERS ────────────────────────────────────── */

.grid   { display: grid; gap: clamp(0.5rem, 1vw, 0.875rem); }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 901px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 561px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 901px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 561px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 901px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-5 { grid-template-columns: 1fr; }
@media (min-width: 561px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 901px) { .grid-5 { grid-template-columns: repeat(5, 1fr); } }
.grid-sidebar { grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 901px) { .grid-sidebar { grid-template-columns: 240px 1fr; gap: 3rem; } }


/* ── 16. CATEGORY CARDS (inner pages) ───────────────────── */

.cat-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 600px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) { .cat-grid .cat-card-img { height: 180px; } }

.cat-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--color-grey-200); border-radius: var(--r-sm);
  overflow: hidden; background: var(--white);
  text-decoration: none; color: inherit;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.cat-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.09); transform: translateY(-2px); }
.cat-card-img { width: 100%; height: 210px; object-fit: cover; display: block; transition: transform 0.45s var(--ease); }
.cat-card:hover .cat-card-img { transform: scale(1.03); }
.cat-card-img-wrap { overflow: hidden; flex-shrink: 0; }
.cat-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.35rem 1.4rem 1.25rem; gap: 0.5rem; }
.cat-card-title { font-size: 1rem; font-weight: 600; color: var(--ink); margin: 0; line-height: 1.3; }
.cat-card-desc  { font-size: 0.875rem; font-weight: 300; color: var(--ink-body); line-height: 1.65; margin: 0; flex: 1; }
.cat-card-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal); margin-top: 0.5rem; transition: gap 0.2s var(--ease);
}
.cat-card:hover .cat-card-link { gap: 0.6rem; }


/* ── 17. CONTENT COMPONENTS ──────────────────────────────── */

.split { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.split-stick { position: static; }
@media (min-width: 901px) { .split { grid-template-columns: 1fr 1.4fr; } .split-stick { position: sticky; top: calc(var(--nav-h) + 1.5rem); } }

.bubble { background: var(--white); border-radius: var(--radius-bubble); padding: clamp(1.75rem, 3vw, 2.75rem); box-shadow: 0 4px 24px rgba(0,0,0,0.05); border: 1.5px solid var(--color-grey-200); }
.bubble-teal { background: var(--teal-50); border-color: var(--teal-100); }
.bubble-warm { background: var(--warm-faint); border-color: rgba(196,169,106,0.3); }

.service-row { display: grid; grid-template-columns: 2rem 1fr; gap: 0.6rem; padding: 0.55rem 0; border-top: 1px solid var(--color-grey-200); align-items: start; }
.service-row:last-child { border-bottom: 1px solid var(--color-grey-200); }
.service-row .num { font-weight: 600; color: var(--teal); font-size: 0.78rem; letter-spacing: 0.04em; padding-top: 0.25rem; }
.service-row .card-title { font-size: 1rem; color: var(--ink); }
.service-row .card-body  { font-size: 0.925rem; font-weight: 300; color: var(--ink-body); }

.callout { background: var(--teal-50); border-left: 3px solid var(--teal); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 1rem 1.25rem; font-size: 0.92rem; color: var(--ink-body); line-height: 1.65; margin: 1.5rem 0; }
.callout .eyebrow { margin-bottom: 0.4rem; display: block; }

.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; padding: 0.85rem 0; border-bottom: 1px solid var(--color-grey-200); vertical-align: top; font-size: 0.95rem; }
.info-table th { font-weight: 600; color: var(--ink-muted); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; width: 30%; min-width: 140px; }
.info-table td a { color: var(--teal); border-bottom: 1px solid var(--teal-100); transition: border-color 0.2s var(--ease); }
.info-table td a:hover { border-color: var(--teal); }

.credentials { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--color-grey-200); }
.credentials li { display: grid; grid-template-columns: 2.5rem 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--color-grey-200); align-items: baseline; font-size: 0.95rem; }
.credentials .num { font-weight: 600; color: var(--teal); font-size: 0.9rem; letter-spacing: 0.02em; padding-top: 0.2rem; }
.credentials .src { color: var(--ink-muted); font-size: 0.82rem; letter-spacing: 0.03em; text-align: right; }

/* Doctor sidebar identity (about page) */
.doctor-sidebar-id {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-grey-200);
}
.doctor-sidebar-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--ink);
  margin: 0 0 0.4rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.doctor-sidebar-creds {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
  margin: 0;
  line-height: 1.5;
}

/* Compact credentials (about page) */
.credentials-compact { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--color-grey-200); }
.credentials-compact li {
  display: flex; flex-direction: column; gap: 0.2rem;
  padding: 0.8rem 0; border-bottom: 1px solid var(--color-grey-200);
}
.cred-degree { font-size: 0.875rem; font-weight: 500; color: var(--ink); line-height: 1.3; }
.cred-inst   { font-size: 0.82rem; font-weight: 500; color: var(--ink-muted); line-height: 1.4; }

/* Areas of practice (about page) */
.about-practice-grid {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (min-width: 641px) { .about-practice-grid { grid-template-columns: repeat(2, 1fr); } }
.about-practice-item { display: flex; flex-direction: column; gap: 0.6rem; }
.about-practice-item .h3 { margin: 0; }
.about-practice-item .body { margin: 0; flex: 1; }
.about-practice-link {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal);
  transition: letter-spacing 0.2s var(--ease);
}
.about-practice-link:hover { letter-spacing: 0.12em; }

.section-icon-wrap { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.section-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--r-md); background: var(--teal-50); color: var(--teal); flex-shrink: 0; }
.section-icon svg { width: 20px; height: 20px; }


/* ── 18. DOCTOR PROFILE (inner pages) ────────────────────── */

.section-doctor { background: var(--surface-warm); }

.doctor-layout { display: grid; grid-template-columns: 108px 1fr; gap: 1.25rem; align-items: start; }
@media (min-width: 391px) { .doctor-layout { grid-template-columns: 1fr 2.1fr; } }
@media (min-width: 769px) { .doctor-layout { gap: clamp(3rem, 6vw, 7rem); } }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: var(--r-sm); }
.doctor-photo-placeholder { aspect-ratio: 3/4; background: var(--surface-teal); display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: var(--r-sm); }

.doctor-name { font-family: var(--font-serif); font-weight: 400; font-style: italic; font-size: clamp(2rem, 4vw, 3.2rem); color: var(--ink); margin: 0.4rem 0 0.5rem; letter-spacing: -0.01em; line-height: 1.1; }
.doctor-name-zh { font-family: var(--font-zh); font-size: clamp(1rem, 1.6vw, 1.35rem); color: var(--ink-muted); margin: 0.25rem 0 0; font-weight: 400; }
.doctor-eyebrow { color: var(--warm); }
.doctor-rule { border: none; border-top: 1px solid rgba(196,169,106,0.28); margin: 1.25rem 0; }

.doctor-credentials { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.doctor-credentials li { font-size: 0.9rem; font-weight: 500; color: var(--ink-body); margin-bottom: 0; line-height: 1.4; display: flex; align-items: flex-start; gap: 0.6rem; }
.doctor-credentials li::before { content: '◆'; flex-shrink: 0; font-size: 0.35rem; color: var(--warm); margin-top: 0.85em; }

.doctor-bio { font-size: 0.95rem; line-height: 1.8; color: var(--ink-body); margin: 0 0 0.5rem; }
.doctor-meta { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 769px) { .doctor-meta { grid-template-columns: 1fr 1fr; } }
.doctor-meta-label { font-size: 0.63rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 0.3rem; }
.doctor-meta-val   { font-size: 0.9rem; color: var(--ink-body); margin: 0; line-height: 1.5; }
.doctor-quote { font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; color: var(--ink-muted); border-left: 2px solid var(--warm); padding-left: 1rem; margin: 0; line-height: 1.65; }

.doctor-name { font-size: clamp(1.35rem, 5.5vw, 1.85rem); margin-bottom: 0.25rem; }
@media (min-width: 769px) { .doctor-name { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 0.5rem; } }


/* ── 19. CLINICAL APPROACH ───────────────────────────────── */

.section-approach {
  background:
    linear-gradient(to bottom, rgba(238,245,248,0) 30%, var(--teal-50) 85%),
    url('../assets/DNA.webp') center/cover no-repeat var(--teal-50);
  padding-top: clamp(14rem, 28vw, 24rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
}

.container-approach { max-width: var(--max-w); margin: 0 auto; padding-inline: var(--gutter); display: grid; grid-template-columns: 1fr; gap: 1.75rem; align-items: center; }
@media (min-width: 769px) { .container-approach { grid-template-columns: 1fr 2.5fr; gap: clamp(2rem, 5vw, 5rem); } }
.approach-heading { font-family: var(--font-sans); font-weight: 300; font-size: clamp(1.5rem, 2.5vw, 2rem); color: var(--ink); margin: 0.5rem 0 0; letter-spacing: -0.01em; line-height: 1.25; }

.approach-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.25rem; position: relative; }
.approach-grid::before { display: none; }
@media (min-width: 769px) {
  .approach-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .approach-grid::before { content: ''; display: block; position: absolute; top: 40px; left: calc(12.5%); right: calc(12.5%); border-top: 1px dashed var(--teal-100); opacity: 0.7; z-index: 0; }
}
.approach-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.approach-circle { width: 80px; height: 80px; border-radius: 50%; border: 1px solid var(--teal); background: rgba(255,255,255,0.85); display: flex; align-items: center; justify-content: center; flex-shrink: 0; opacity: 0.75; }
.approach-label { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); font-weight: 400; margin: 1.1rem 0 0.5rem; }
.approach-body  { font-size: 0.88rem; line-height: 1.55; color: var(--ink-body); font-weight: 500; margin: 0; }


/* ── 20. WHY / PRINCIPLES ────────────────────────────────── */

.section-why { background: var(--surface-warm); padding-bottom: clamp(4rem, 8vw, 7rem); }
.why-layout  { display: flex; flex-direction: column; align-items: start; gap: clamp(2rem, 5vw, 5rem); }
.why-header  { flex: none; width: 100%; }
@media (min-width: 769px) { .why-layout { flex-direction: row; } .why-header { flex: 0 0 clamp(300px, 33vw, 460px); width: auto; } }
.why-heading { font-family: var(--font-sans); font-weight: 300; font-size: clamp(1.05rem, 1.55vw, 1.35rem); letter-spacing: 0.01em; color: var(--ink); margin: 0.5rem 0 1rem; line-height: 1.45; }
.why-quote   { margin: 0; padding: 0; border: none; font-family: var(--font-sans); font-style: italic; font-size: 1rem; color: var(--ink-body); line-height: 1.65; }
.why-cite    { display: block; font-style: normal; font-size: 0.75rem; font-weight: 300; color: var(--ink-faint); margin-top: 0.5rem; letter-spacing: 0.04em; }

.why-grid  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 0.65rem; flex: 1; }
@media (min-width: 769px) { .why-grid { gap: clamp(1.5rem, 3vw, 3rem); } }
.why-rule  { border: none; border-top: 1px solid rgba(196,169,106,0.4); margin: 0 0 1.1rem; }
.why-title { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.25rem; color: var(--ink); margin: 0 0 0.5rem; line-height: 1.3; }
.why-body  { font-size: 0.88rem; font-weight: 300; color: var(--ink-body); line-height: 1.5; margin: 0; }

.why-title  { font-size: 1rem; }
.why-body   { font-size: 0.78rem; }
@media (min-width: 769px) { .why-title { font-size: 1.25rem; } .why-body { font-size: 0.88rem; } }


/* ── 21. DARK SECTIONS ───────────────────────────────────── */

.section-dark { background: var(--surface-dark); color: var(--surface); }
.section-dark .eyebrow  { color: var(--teal-100); opacity: 0.8; }
.section-dark .display,
.section-dark .h2,
.section-dark .h3       { color: var(--white); }
.section-dark .lede,
.section-dark .body,
.section-dark p         { color: rgba(255,255,255,0.78); }
.section-dark .divider  { background: rgba(255,255,255,0.12); }
.section-dark .service-row { border-color: rgba(255,255,255,0.12); }
.section-surface { background: var(--teal-50); }


/* ── 22. BREADCRUMBS ─────────────────────────────────────── */

.breadcrumbs { display: flex; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--ink-muted); margin: 0 0 0.75rem; gap: 0.4rem; align-items: center; }
.breadcrumbs span { opacity: 0.5; }

.portrait { aspect-ratio: 4/5; width: 100%; background: linear-gradient(135deg, var(--teal-50) 0%, var(--teal-100) 60%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; border-radius: var(--r-sm); }
.portrait::after { content: attr(data-label); color: var(--ink); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.5; }


/* ── 23. FOOTER ──────────────────────────────────────────── */

.footer { background: var(--surface-dark); color: var(--surface); padding: clamp(3rem, 6vw, 5rem) 0 0; }
.footer-logo img { height: 32px; width: auto; margin-bottom: 1rem; }
.footer-tag { color: rgba(255,255,255,0.38); font-size: 0.82rem; line-height: 1.65; margin: 0; }
.footer-col-label { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.3); font-weight: 400; margin: 0 0 1rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
@media (min-width: 641px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr 1fr 1fr; gap: clamp(0.85rem, 2vw, 2rem); } }
.footer a { color: rgba(255,255,255,0.62); transition: color 0.2s var(--ease); font-size: 0.88rem; }
.footer a:hover { color: var(--white); }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer p  { color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.65; margin: 0 0 0.25rem; }
.footer-social {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}
.footer-social-label {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.footer-social-link {
  width: 2.3rem;
  height: 2.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.78);
  transition:
    color 0.2s var(--ease),
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.footer-social-link:hover,
.footer-social-link:focus-visible {
  color: var(--white);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.34);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  transform: translateY(-1px);
}
.footer-social-link svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}
.footer-lang-toggle {
  margin-top: 1rem;
  gap: 0.4rem;
  flex-direction: column;
  align-items: flex-start;
}
.footer-lang-toggle button {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  padding: 0;
  letter-spacing: 0.04em;
}
.footer-lang-toggle button.active,
.footer-lang-toggle button:hover,
.footer-lang-toggle button:focus-visible {
  color: var(--white);
}
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; font-size: 0.75rem; color: rgba(255,255,255,0.28); flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { color: rgba(255,255,255,0.28); font-size: 0.75rem; margin: 0; }
.footer-disclaimer { max-width: 60ch; text-align: right; line-height: 1.5; }
.footer-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
@media (min-width: 769px) { .footer-cta { flex-direction: row; align-items: center; justify-content: space-between; gap: 3rem; } }
.footer-cta-heading { font-family: var(--font-sans); font-weight: 300; font-size: clamp(1.3rem, 2.5vw, 2rem); color: var(--white); margin: 0; line-height: 1.3; max-width: 640px; }

.footer-disclaimer { text-align: left; }
@media (min-width: 769px) { .footer-disclaimer { text-align: right; } }
.footer-logo img { height: 26px; }
@media (min-width: 641px) { .footer-logo img { height: 32px; } }
.footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
@media (min-width: 641px) { .footer-bottom { flex-direction: row; align-items: center; gap: 0.5rem; } }


/* ── 24. WHATSAPP FLOATING CHAT ──────────────────────────── */

.wa-bubble {
  position: fixed; bottom: 36px; right: 36px;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; box-shadow: 0 10px 28px rgba(0,0,0,0.16);
  display: flex; align-items: center; justify-content: center;
  z-index: 70; cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.wa-bubble:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 34px rgba(0,0,0,0.2); }
.wa-bubble svg { width: 34px; height: 34px; fill: var(--white); }
.wa-bubble::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(37,211,102,0.35); animation: waPulse 2.4s ease-out infinite; pointer-events: none; }

@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.85; }
  100% { transform: scale(1.4); opacity: 0; }
}

.wa-panel {
  position: fixed; bottom: 120px; right: 36px;
  width: 330px; max-width: calc(100vw - 32px);
  background: var(--white); border-radius: 16px;
  box-shadow: 0 20px 52px rgba(0,0,0,0.2);
  overflow: hidden; z-index: 69;
  transform: translateY(14px) scale(0.96); opacity: 0; pointer-events: none;
  transition: all 0.3s var(--ease); display: flex; flex-direction: column; max-height: 500px;
}
.wa-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }

.wa-header { background: #075E54; color: var(--white); padding: 13px; display: flex; align-items: center; gap: 10px; }
.wa-avatar { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.16); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }
.wa-title  { font-size: 0.9rem; font-weight: 600; margin: 0; }
.wa-status { font-size: 0.68rem; opacity: 0.78; margin: 0; }
.wa-close  { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; color: var(--white); font-size: 1.1rem; display: flex; align-items: center; justify-content: center; transition: background 0.2s var(--ease); }
.wa-close:hover { background: rgba(255,255,255,0.14); }

.wa-body { background: #ECE5DD; padding: 14px; flex: 1; overflow-y: auto; min-height: 160px; }
.wa-msg  { background: var(--white); padding: 9px 11px; border-radius: 8px; border-top-left-radius: 2px; font-size: 0.85rem; color: #222; max-width: 85%; box-shadow: 0 1px 0.5px rgba(0,0,0,0.08); margin-bottom: 8px; line-height: 1.4; }
.wa-msg .time { display: block; font-size: 0.62rem; color: #888; margin-top: 3px; text-align: right; }
.wa-msg.outgoing { background: #DCF8C6; margin-left: auto; border-top-left-radius: 8px; border-top-right-radius: 2px; }

.wa-footer { display: flex; align-items: center; gap: 8px; padding: 10px; background: #F0F0F0; }
.wa-input  { flex: 1; border: none; background: var(--white); border-radius: 20px; padding: 9px 13px; font-size: 16px; font-family: inherit; outline: none; color: #222; }
.wa-send   { width: 38px; height: 38px; border-radius: 50%; background: #25D366; color: var(--white); display: flex; align-items: center; justify-content: center; transition: background 0.2s var(--ease), transform 0.2s var(--ease); }
.wa-send:hover { background: #1da851; transform: scale(1.05); }
.wa-send svg { width: 16px; height: 16px; fill: var(--white); }

@media (max-width: 480px) {
  .wa-panel  { right: 10px; left: 10px; width: auto; bottom: 105px; }
  .wa-bubble { right: 16px; bottom: 18px; width: 56px; height: 56px; }
  .wa-bubble svg { width: 28px; height: 28px; }
}


/* ── 25. ANNOUNCEMENT BAR ────────────────────────────────── */

.announcement-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 65;
  height: var(--ann-h); background: rgba(14,22,32,0.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 0; font-size: 0.75rem; letter-spacing: 0.02em;
  line-height: 1.4; color: rgba(195,215,232,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.ann-text { text-align: center; min-width: 0; padding: 0 var(--gutter); max-width: var(--max-w); width: 100%; }
.ann-text p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announcement-bar a { color: rgba(180,220,240,0.9); border-bottom: 1px solid rgba(180,220,240,0.28); transition: border-color 0.2s var(--ease); }
.announcement-bar a:hover { border-color: rgba(180,220,240,0.7); }
.ann-actions { position: absolute; right: max(var(--gutter), calc((100vw - var(--max-w)) / 2 + var(--gutter))); display: flex; align-items: center; gap: 0.6rem; }
.ann-book { display: inline-flex; align-items: center; background: var(--teal); color: var(--white) !important; border: none !important; padding: 0.32rem 0.85rem; font-size: 0.67rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; line-height: 1; border-radius: 50px; transition: background 0.22s var(--ease); cursor: pointer; white-space: nowrap; }
.ann-book:hover { background: var(--teal-mid); }
.ann-desktop { display: block; }
.ann-mobile  { display: none;  }
@media (max-width: 680px) { .ann-desktop { display: none; } .ann-mobile { display: block; } }
@media (max-width: 960px)  { .ann-actions { display: none; } }


/* ── 26. SCROLL REVEAL ───────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }


/* ── 27. UTILITIES ───────────────────────────────────────── */

.mark { display: inline-block; width: 26px; height: 1.5px; background: var(--teal-100); margin-bottom: 0.85rem; border-radius: 2px; }
.section-dark .mark { background: rgba(255,255,255,0.45); }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* Bilingual helpers */
.card-title-zh    { display: none; }
:lang(zh-Hant) .card-title-zh { display: block; }
span.zh           { display: none; }
:lang(zh-Hant) span.zh        { display: inline; }

[data-lucide] { display: inline-block; width: 1em; height: 1em; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.card-icon [data-lucide] { width: 28px; height: 28px; }
.section-icon [data-lucide] { width: 20px; height: 20px; }

/* Touch polish */
@media (max-width: 768px) {
  * { -webkit-tap-highlight-color: transparent; }
  .btn, .wa-bubble, .wa-send, .nav-link, .submenu a, .hero-cta, .btn-wa { touch-action: manipulation; }
  .nav-link { min-height: 48px; }
  .submenu a { min-height: 48px; }
}

.section-contact-strip { padding: 3rem 0; border-top: 1px solid var(--color-grey-200); border-bottom: 1px solid var(--color-grey-200); text-align: center; }


/* ── 28. SERVICE PAGE COMPONENTS ─────────────────────────────── */

/* Icon service card grid */
.svc-grid { display: grid; grid-template-columns: 1fr; gap: clamp(0.75rem, 1.5vw, 1.25rem); }
.svc-grid--2 { grid-template-columns: 1fr; }
.svc-grid--4 { grid-template-columns: 1fr; }
@media (min-width: 481px) { .svc-grid, .svc-grid--2, .svc-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 901px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } .svc-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.svc-card {
  background: var(--white);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--r-md);
  padding: clamp(1.25rem, 2vw, 1.6rem);
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.svc-card:hover { box-shadow: 0 6px 28px rgba(0,0,0,0.08); transform: translateY(-2px); border-color: var(--teal-100); }
.svc-card--warm { background: var(--warm-faint); border-color: rgba(196,169,106,0.25); }
.svc-card--teal { background: var(--teal-50); border-color: var(--teal-100); }

.svc-card-icon {
  width: 44px; height: 44px;
  background: var(--teal-50);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.svc-card-icon svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc-card-title { font-size: 1.05rem; font-weight: 600; color: var(--ink); margin: 0; line-height: 1.25; }
.svc-card-zh    { font-size: 0.82rem; color: var(--ink-muted); margin: 0; letter-spacing: 0.02em; }
.svc-card-body  { font-size: 0.875rem; line-height: 1.72; color: var(--ink-body); margin: 0; flex: 1; }

/* Feature card (2-col layout) */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1rem, 2vw, 1.5rem); }
@media (min-width: 701px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }

.feature-card {
  background: var(--white);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--r-md);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex; flex-direction: column; gap: 0.9rem;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.feature-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-2px); }
.feature-card--accent { border-top: 3px solid var(--teal); }
.feature-card--warm   { border-top: 3px solid var(--warm); background: var(--warm-faint); border-color: rgba(196,169,106,0.25); }

.feature-card-icon {
  width: 50px; height: 50px;
  background: var(--teal-50);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-card-icon svg { width: 24px; height: 24px; stroke: var(--teal); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feature-card-title { font-size: 1.05rem; font-weight: 600; color: var(--ink); margin: 0; line-height: 1.25; }
.feature-card-zh    { font-size: 0.8rem; color: var(--ink-muted); letter-spacing: 0.04em; margin: -0.3rem 0 0; }
.feature-card-body  { font-size: 0.88rem; line-height: 1.75; color: var(--ink-body); margin: 0; flex: 1; }
.feature-card-list  { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.feature-card-list li { font-size: 0.875rem; color: var(--ink-body); line-height: 1.55; padding-left: 1.1rem; position: relative; margin-bottom: 0; }
.feature-card-list li::before { content: '→'; position: absolute; left: 0; color: var(--teal); font-size: 0.75rem; top: 0.22em; }

/* FAQ accordion */
.faq-list { margin: 0; padding: 0; border-top: 1px solid var(--color-grey-200); }
.faq-item { border-bottom: 1px solid var(--color-grey-200); }
.faq-question,
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 0; gap: 1rem;
  font-size: 0.95rem; font-weight: 500; color: var(--ink);
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-sans); letter-spacing: -0.01em; line-height: 1.4;
  transition: color 0.2s var(--ease);
}
.faq-question:hover,
.faq-q:hover { color: var(--teal); }
.faq-q::after {
  content: '+';
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--color-grey-200);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.1rem; line-height: 1; color: var(--ink-muted);
  transition: transform 0.3s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.faq-icon {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--color-grey-200);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.1rem; line-height: 1; color: var(--ink-muted);
  transition: transform 0.3s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  user-select: none;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--teal-50); color: var(--teal); border-color: var(--teal-100); }
.faq-item.open .faq-q::after { transform: rotate(45deg); background: var(--teal-50); color: var(--teal); border-color: var(--teal-100); }
.faq-answer,
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s var(--ease);
  font-size: 0.9rem; line-height: 1.75; color: var(--ink-body);
}
.faq-answer-inner { padding-bottom: 1.1rem; }
.faq-a > :last-child { padding-bottom: 1.1rem; }
.faq-item.open .faq-answer,
.faq-item.open .faq-a { max-height: 800px; }

/* Condition / screening tags */
.condition-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.condition-tag {
  display: inline-flex; align-items: center;
  padding: 0.42rem 0.9rem;
  background: var(--teal-50); color: var(--ink);
  border-radius: 50px; font-size: 0.82rem; font-weight: 400;
  border: 1px solid var(--teal-100); letter-spacing: 0.01em;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.condition-tag:hover { background: var(--teal-100); border-color: var(--teal); }

/* Steps vertical (service pages) */
.steps-vertical { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--color-grey-200); }
.step-item { display: grid; grid-template-columns: 2.4rem 1fr; gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--color-grey-200); align-items: start; }
.step-num {
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--teal); color: var(--white);
  font-size: 0.72rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 0.1rem;
}
.step-title { font-size: 1.05rem; font-weight: 600; color: var(--ink); margin: 0 0 0.35rem; line-height: 1.3; }
.step-body  { font-size: 0.875rem; color: var(--ink-body); line-height: 1.72; margin: 0; }

/* Section split (image + content) */
.section-split { display: grid; grid-template-columns: 1fr; align-items: stretch; }
.section-split-img { overflow: hidden; min-height: 260px; aspect-ratio: 16/9; }
.section-split-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.section-split-content { padding: 2.5rem var(--gutter); background: var(--surface-warm); display: flex; flex-direction: column; justify-content: center; }
.section-split-content.on-white { background: var(--white); }
@media (min-width: 769px) {
  .section-split { grid-template-columns: 1fr 1fr; }
  .section-split-img { min-height: 360px; aspect-ratio: auto; }
  .section-split-content { padding: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 5vw, 4.5rem); }
}

/* Trust bar */
.trust-bar { background: var(--teal-50); border-top: 1px solid var(--teal-100); border-bottom: 1px solid var(--teal-100); }
.trust-bar-inner { display: flex; flex-direction: column; align-items: stretch; }
.trust-item { display: flex; align-items: center; gap: 0.6rem; padding: 0.95rem 1.6rem; border-right: none; border-bottom: 1px solid var(--teal-100); justify-content: center; }
.trust-item:last-child { border-bottom: none; }
.trust-item svg { width: 17px; height: 17px; flex-shrink: 0; stroke: var(--teal); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trust-item-text { font-size: 0.8rem; font-weight: 500; color: var(--ink); }
@media (min-width: 661px) {
  .trust-bar-inner { flex-direction: row; align-items: center; justify-content: center; flex-wrap: wrap; }
  .trust-item { border-right: 1px solid var(--teal-100); border-bottom: none; justify-content: flex-start; }
  .trust-item:last-child { border-right: none; }
}

/* Info highlight box */
.info-box { background: var(--teal-50); border-left: 3px solid var(--teal); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 1.1rem 1.4rem; }
.info-box-title { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin: 0 0 0.4rem; }
.info-box p { font-size: 0.9rem; line-height: 1.7; color: var(--ink-body); margin: 0; }

/* Section teal surface */
.section-teal { background: var(--teal-50); }

/* Cert cards (medical certificates page) */
.cert-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1rem, 2vw, 1.5rem); }
@media (min-width: 641px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }

.cert-card {
  background: var(--white);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--r-md);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex; flex-direction: column; gap: 0.85rem;
  position: relative; overflow: hidden;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.cert-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.09); transform: translateY(-2px); }
.cert-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--teal);
}
.cert-card-icon {
  width: 48px; height: 48px; background: var(--teal-50);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cert-card-icon svg { width: 24px; height: 24px; stroke: var(--teal); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cert-card-title { font-size: 1rem; font-weight: 600; color: var(--ink); margin: 0; line-height: 1.3; }
.cert-card-body  { font-size: 0.875rem; line-height: 1.72; color: var(--ink-body); margin: 0; flex: 1; }
.cert-card-tag   { display: inline-flex; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--teal-50); color: var(--teal); border: 1px solid var(--teal-100); border-radius: 2px; padding: 0.22rem 0.6rem; font-weight: 500; align-self: flex-start; }

/* Patient-facing service summary */
.service-scope {
  background: transparent;
  border-bottom: 0;
  padding: 0;
  margin: clamp(1rem, 2vw, 1.5rem) 0 0;
  position: relative;
  z-index: 4;
}
.service-scope--warm { background: transparent; }
.service-scope__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.service-scope__header {
  display: block;
  margin: 0 0 0.65rem;
}
.service-scope__eyebrow {
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.service-scope__title,
.service-scope__intro { display: none; }
.service-scope__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}
.service-scope__item {
  display: block;
  min-width: 0;
  min-height: 92px;
  padding: 0.7rem;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(8px);
  border-radius: var(--r-sm);
}
.service-scope__item-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.service-scope__icon {
  width: 1.8rem;
  height: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--teal);
  margin-bottom: 0.4rem;
}
.service-scope__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-scope__item h3 {
  margin: 0 0 0.25rem;
  color: var(--ink);
  font-size: clamp(0.68rem, 2.65vw, 0.9rem);
  font-weight: 600;
  line-height: 1.35;
}
.service-scope__item p {
  margin: 0;
  color: var(--ink-body);
  font-size: clamp(0.73rem, 2.35vw, 0.84rem);
  line-height: 1.45;
}
.service-scope__note {
  margin: 1.2rem 0 0;
  color: var(--ink-muted);
  font-size: 0.78rem;
  line-height: 1.6;
}
@media (min-width: 681px) {
  .service-scope__grid { gap: 0.85rem; }
  .service-scope__item { min-height: 105px; padding: 0.85rem; }
}
@media (min-width: 1021px) {
  .service-scope__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .service-scope__item { min-height: 125px; padding: 0.85rem; }
  .service-scope--compact:not(.service-scope--side) .service-scope__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .service-scope--compact:not(.service-scope--side) .service-scope__item {
    min-height: 118px;
  }
}

.service-scope--compact .service-scope__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-scope--compact .service-scope__item {
  display: block;
  min-height: 88px;
  padding: 0.65rem;
}
.service-scope--compact .service-scope__icon {
  width: 1.4rem;
  height: 1.4rem;
  margin: 0 0 0.35rem;
}
.service-scope--compact .service-scope__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}
.service-scope--compact .service-scope__item h3 {
  margin: 0;
  font-size: clamp(0.72rem, 2.25vw, 0.84rem);
  line-height: 1.25;
}
.service-scope--compact .service-scope__item p { display: none; }
@media (min-width: 721px) {
  .service-scope--compact .service-scope__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.service-directory {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.service-directory__group {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(8px);
  border-radius: var(--r-sm);
  padding: clamp(0.9rem, 1.5vw, 1.15rem);
}
.service-directory__group h3 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.55rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}
.service-directory__group h3 svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--teal);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.service-directory__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.18rem 0.75rem;
}
.service-directory__list li {
  position: relative;
  padding-left: 0.75rem;
  color: var(--ink-body);
  font-size: clamp(0.74rem, 2.4vw, 0.84rem);
  line-height: 1.32;
}
.service-directory__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--warm-dark);
}
@media (min-width: 741px) {
  .service-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-directory__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.page-hero:has(.service-scope) {
  min-height: auto;
  padding-bottom: clamp(2rem, 4vw, 3.25rem);
}
.page-hero > .service-scope {
  width: min(calc(100% - (2 * var(--gutter))), var(--max-w));
  margin-left: auto;
  margin-right: auto;
}
.wm-hero:has(.service-scope),
.sl-hero:has(.service-scope),
.ha-hero:has(.service-scope) {
  min-height: auto;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.wm-hero__content > .service-scope,
.sl-hero__content > .service-scope,
.ha-hero__content > .service-scope {
  width: min(100%, var(--max-w));
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 961px) {
  .page-hero:has(.service-scope--side) > .container {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
    column-gap: clamp(2.5rem, 5vw, 5rem);
    align-items: end;
  }
  .page-hero:has(.service-scope--side) > .container > * {
    grid-column: 1;
  }
  .page-hero:has(.service-scope--side) > .service-scope {
    position: absolute;
    left: calc(50% + clamp(0rem, 2vw, 2rem));
    right: max(var(--gutter), calc((100% - var(--max-w)) / 2));
    bottom: clamp(2rem, 4vw, 3.25rem);
    width: auto;
    margin: 0;
  }
  .service-scope--side .service-scope__grid,
  .service-scope--side.service-scope--compact .service-scope__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .service-scope--side.service-scope--grid-2 .service-scope__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-scope--side.service-scope--grid-4 .service-scope__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .service-scope--side .service-scope__item,
  .service-scope--side.service-scope--compact .service-scope__item {
    min-height: 104px;
    aspect-ratio: 1.12 / 1;
  }
  .page-hero:has(.service-scope--side) {
    min-height: clamp(560px, 47vw, 690px);
  }
  .page-hero:has(.service-scope--side:not(.service-scope--grid-2):not(.service-scope--grid-4)) {
    min-height: 780px;
  }
  .page-hero > .service-scope--side.service-scope--grid-2 {
    left: auto;
    width: min(34vw, 460px);
  }
  .wm-hero__content > .service-scope--side,
  .sl-hero__content > .service-scope--side,
  .ha-hero__content > .service-scope--side {
    position: absolute;
    left: auto;
    right: max(2rem, calc((100% - var(--max-w)) / 2));
    bottom: clamp(2.25rem, 4vw, 3.5rem);
    width: min(44vw, 620px);
    margin: 0;
  }
  .wm-hero:has(.service-scope--side),
  .sl-hero:has(.service-scope--side),
  .ha-hero:has(.service-scope--side) {
    min-height: 660px;
  }
}

.service-scope__item {
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.service-scope__item:has(a):hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.98);
}

/* GP service-summary prototype */
.gp-service-summary {
  background: var(--white);
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  border-bottom: 1px solid var(--color-grey-200);
}
.gp-service-summary__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.gp-service-summary__heading .eyebrow {
  color: var(--warm-dark);
  margin: 0 0 0.65rem;
}
.gp-service-summary__heading h2 {
  max-width: 18ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.gp-service-summary__services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
.gp-scope-tile {
  min-height: 112px;
  padding: 1rem;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--r-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.8rem;
}
.gp-scope-tile svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gp-scope-tile span {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}
.gp-service-summary__reasons {
  margin: 1.25rem 0 0;
  color: var(--ink-body);
  font-size: 0.84rem;
  line-height: 1.65;
}
.gp-service-summary__footer { display: grid; }
.gp-service-summary__reasons strong {
  color: var(--ink);
  font-weight: 600;
}
@media (min-width: 901px) {
  .gp-service-summary__layout {
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.5fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
  }
  .gp-service-summary__footer {
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.5fr);
    gap: clamp(3rem, 7vw, 7rem);
  }
  .gp-service-summary__reasons { grid-column: 2; }
  .gp-service-summary__services { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Image-led treatment for selected dark process sections */
.journey-with-image {
  position: relative;
  overflow: hidden;
}
.journey-with-image::before {
  content: '';
  display: block;
  min-height: 260px;
  background-image: var(--journey-img);
  background-position: center;
  background-size: cover;
}
@media (min-width: 901px) {
  .journey-with-image { padding-left: 38%; }
  .journey-with-image::before {
    position: absolute;
    inset: 0 62% 0 0;
    min-height: 100%;
  }
  .journey-with-image > .container {
    width: 100%;
    padding-left: clamp(2rem, 5vw, 5rem);
  }
}

/* Site-wide content density
   Keep heroes and booking CTAs spacious; tighten information-heavy content. */
:root {
  --section-y: clamp(3.15rem, 4.75vw, 4.5rem);
}

.section-sm {
  padding: clamp(2.1rem, 3.2vw, 3rem) 0;
}

.lede,
.body,
.page [class$="__intro"],
.page [class$="__body"],
.page [class$="__sub"] {
  line-height: 1.58 !important;
}

.card-desc,
.card-body,
.step-body,
.info-box p,
.service-scope__note,
.gp-service-summary__reasons {
  line-height: 1.52 !important;
}

.section-contact-strip {
  padding: 2.25rem 0;
}

.step-item {
  padding: 1rem 0;
}

.section-split-content {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 769px) {
  .section-split-content {
    padding-top: clamp(2.5rem, 4vw, 4rem);
    padding-bottom: clamp(2.5rem, 4vw, 4rem);
  }
}

.faq-question,
.faq-q {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.faq-answer-inner,
.faq-a > :last-child {
  padding-bottom: 1rem;
  line-height: 1.58;
}

/* Editorial service pages */
:is(
  .doc-manifesto, .scr-manifesto, .proc-manifesto, .aes-manifesto, .sp-manifesto,
  .doc-index-section, .scr-index-section, .proc-index-section, .aes-index-section,
  .sp-navigator,
  .doc-records, .scr-clinical, .sp-clinical-voice,
  .doc-journey, .scr-journey, .proc-journey, .aes-journey, .sp-journey,
  .doc-faq, .scr-faq, .proc-faq, .aes-faq, .sp-faq,
  .gps-manifesto, .gps-scope, .gps-consult, .gps-faq
) {
  padding-top: clamp(2.75rem, 4.5vw, 4.25rem) !important;
  padding-bottom: clamp(2.75rem, 4.5vw, 4.25rem) !important;
}

:is(
  .doc-index-header, .scr-index-header, .proc-index-header, .aes-index-header,
  .sp-navigator__header,
  .doc-journey__header, .scr-journey__header, .proc-journey__header,
  .aes-journey__header, .sp-journey__header
) {
  margin-bottom: 1.65rem !important;
}

:is(
  .doc-index__toggle, .scr-index__toggle, .proc-index__toggle,
  .aes-index__toggle, .sp-condition__toggle
) {
  padding-top: 1.05rem !important;
  padding-bottom: 1.05rem !important;
}

:is(
  .doc-index__body-content, .scr-index__body-content, .proc-index__body-content,
  .aes-index__body-content, .sp-condition__body-content
) {
  padding-bottom: 1.2rem !important;
  line-height: 1.58 !important;
}

:is(
  .doc-journey__row, .scr-journey__row, .proc-journey__row,
  .aes-journey__row, .sp-journey__row
) {
  padding-top: 1.3rem !important;
  padding-bottom: 1.3rem !important;
}

:is(
  .doc-journey__body, .scr-journey__body, .proc-journey__body,
  .aes-journey__body, .sp-journey__body
) {
  line-height: 1.58 !important;
}

:is(
  .proc-journey__disclaimer, .aes-journey__disclaimer, .sp-journey__disclaimer
) {
  margin-top: 1.75rem !important;
  padding: 1.15rem 1.25rem !important;
  line-height: 1.55 !important;
}

/* Holistic health and long-form informational pages */
:is(
  .wm-reframe, .wm-journey, .wm-pillars, .wm-fasting, .wm-liver, .wm-honest, .wm-faq,
  .sl-signals, .sl-stress, .sl-sleep, .sl-coaching, .sl-faq,
  .ha-open, .ha-markers, .ha-honest, .ha-visit, .ha-faq,
  .gut-editorial, .gut-chapter,
  .vax-paths, .vax-adult, .vax-paed, .vax-travel,
  .scr-annual, .scr-who,
  .proc-when,
  .aes-concerns, .aes-philosophy, .aes-injectables,
  .ph-principles, .ph-quote,
  .cm-list, .cm-regulatory,
  .ct-info, .ct-visit,
  .cm-open, .ph-open
) {
  padding-top: clamp(2.9rem, 4.5vw, 4.25rem) !important;
  padding-bottom: clamp(2.9rem, 4.5vw, 4.25rem) !important;
}

:is(
  .wm-journey__header, .wm-pillars__header,
  .sl-signals__header, .sl-coaching__top,
  .ha-markers__header
) {
  margin-bottom: 1.65rem !important;
}

:is(
  .wm-reframe__inner, .wm-fasting__inner, .wm-liver__inner,
  .sl-stress__inner, .sl-sleep__inner,
  .ha-open__inner, .ha-visit__inner,
  .ct-info__inner, .ct-visit__inner
) {
  gap: clamp(1.75rem, 4vw, 2.5rem) !important;
}

.gut-editorial__text {
  padding-bottom: clamp(2rem, 4vw, 3.25rem) !important;
}

.gut-chapter__inner {
  gap: clamp(1.5rem, 3vw, 2.5rem) !important;
}

.gut-chapter__detail,
.gut-note__text {
  line-height: 1.52 !important;
}

.wm-reframe__label,
.wm-journey__label,
.wm-pillars__label,
.wm-fasting__label,
.wm-liver__label,
.wm-honest__label,
.wm-faq__label,
.sl-signals__label,
.sl-stress__label,
.sl-sleep__label,
.sl-coaching__label,
.sl-faq__label,
.ha-open__label,
.ha-markers__label,
.ha-honest__label,
.ha-visit__label,
.ha-faq__label,
.gut-editorial__text > .eyebrow,
.gut-chapter__label {
  font-size: 0.74rem !important;
  font-weight: 700 !important;
}

.gut-note {
  padding-top: 1.75rem !important;
  padding-bottom: 1.75rem !important;
}

.vax-adult__header {
  margin-bottom: 1.65rem !important;
}

.vax-group {
  margin-bottom: 1.65rem !important;
}

.vax-item {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.vax-avail {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}

.gph-service__text,
.wl-service__text {
  padding-top: 1.75rem !important;
  padding-bottom: 1.75rem !important;
}

.ph-principles__header {
  margin-bottom: 1.8rem !important;
}

.cm-regulatory__inner {
  gap: 2rem !important;
}

.sl-coaching__card {
  padding: 1.5rem 1.35rem !important;
}

@media (max-width: 560px) {
  :root {
    --section-y: clamp(2.65rem, 9vw, 3.5rem);
  }

  :is(
    .doc-journey__row, .scr-journey__row, .proc-journey__row,
    .aes-journey__row, .sp-journey__row
  ) {
    padding-top: 1.1rem !important;
    padding-bottom: 1.1rem !important;
  }

  .journey-with-image::before {
    min-height: 210px;
  }
}
