/* ═══════════════════════════════════════════════════════════════
   DBN INFERTILITY CLINIC — PREMIUM 3D EXPERIENCE
   Built from scratch: deep luxury dark aesthetic
   Three.js + GSAP + Lenis orchestrated
   ═══════════════════════════════════════════════════════════════ */

/* ═══ DESIGN TOKENS ═══ */
:root {
  /* Ink palette — premium dark luxury */
  --ink-1000:   #03060d;          /* deepest void */
  --ink-950:    #060b16;          /* primary background */
  --ink-900:    #0a111f;          /* elevated surface */
  --ink-850:    #0e1627;          /* card surface */
  --ink-800:    #121c31;          /* hover surface */
  --ink-700:    #1a2440;          /* border subtle */

  /* Gold — champagne medical */
  --gold-100:   #f9ecd3;
  --gold-200:   #ecd4a3;
  --gold-300:   #d9bc82;
  --gold-400:   #c8a868;
  --gold-500:   #b5894a;          /* primary gold */
  --gold-600:   #8d6930;
  --gold-700:   #6a4d1d;

  /* Hope — sage / mint secondary accent
     Introduced per UI/UX healthcare guidance to lift the dark-gold-only palette
     out of "funereal" and into "considered + hopeful". Used sparingly:
     success states, the LINE 24h promise, accreditation hover, treatment "available now"
     markers, form success borders. Never replaces gold as the brand primary. */
  --hope-100:   #e8f3eb;
  --hope-200:   #c7dfd0;
  --hope-300:   #9dc7af;          /* sage on dark — passes 4.5:1 over ink-950 */
  --hope-400:   #7fb195;
  --hope-500:   #5e9879;          /* primary hope */
  --hope-600:   #436f59;
  --hope-glow:  rgba(126, 175, 145, 0.16);

  /* Paper — for light sections */
  --paper-100:  #faf7f1;
  --paper-200:  #f3ede2;

  /* Text — contrast tuned for AA on dark backgrounds */
  --text-primary:    rgba(255,255,255,0.95);
  --text-secondary:  rgba(255,255,255,0.74);
  --text-tertiary:   rgba(255,255,255,0.56);
  --text-quaternary: rgba(255,255,255,0.36);
  --text-dark:       #0a111f;
  --text-dark-soft:  rgba(10,17,31,0.65);

  /* Lines */
  --line:      rgba(255,255,255,0.08);
  --line-soft: rgba(255,255,255,0.04);
  --line-gold: rgba(181,137,74,0.28);

  /* Glass */
  --glass:     rgba(255,255,255,0.04);
  --glass-2:   rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.08);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Noto Serif Display', Georgia, serif;
  --font-body:    'Inter', 'Noto Sans Thai', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Rhythm */
  --ease-lux:  cubic-bezier(0.22, 0.9, 0.3, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-snap: cubic-bezier(0.16, 1, 0.3, 1);

  /* Radii */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-2xl: 32px;

  /* Shadows — luxurious multi-layer */
  --shadow-gold-glow: 0 0 0 1px rgba(181,137,74,0.2), 0 10px 40px rgba(181,137,74,0.18), 0 30px 80px rgba(0,0,0,0.35);
  --shadow-card:      0 1px 2px rgba(0,0,0,0.1), 0 10px 40px rgba(0,0,0,0.28), 0 30px 80px rgba(0,0,0,0.4);
}

/* ═══ RESET ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: auto; /* Lenis handles smooth scroll */
}
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--ink-950);
  overflow-x: hidden;
  cursor: auto; /* default: native cursor. Custom cursor opts in via .has-custom-cursor */
}
body.has-custom-cursor { cursor: none; }
body.has-custom-cursor a,
body.has-custom-cursor button { cursor: none; }
body.has-touch { cursor: auto; }
body.has-touch .cursor,
body.has-touch .cursor-ring { display: none; }
a, button { font-family: inherit; color: inherit; text-decoration: none; background: none; border: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; color: inherit; background: none; border: none; outline: none; }

/* ═══ GLOBAL FOCUS-VISIBLE — visible keyboard ring on every interactive element ═══ */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--gold-300, #d8b878);
  outline-offset: 2px;
  border-radius: 4px;
  transition: none;
}
.appointment-form input:focus-visible,
.appointment-form select:focus-visible,
.appointment-form textarea:focus-visible {
  outline: 2px solid var(--gold-300, #d8b878);
  outline-offset: 1px;
  border-color: var(--gold-400);
}

/* ═══ LANG SUPPORT ═══ */
.th, .zh { display: none; }
body.lang-th .th { display: revert; }
body.lang-th .en, body.lang-th .zh { display: none; }
body.lang-zh .zh { display: revert; }
body.lang-zh .en, body.lang-zh .th { display: none; }

/* Thai: fall back to Inter (no serif glyphs in Cormorant) */
body.lang-th .h-display,
body.lang-th .h-editorial,
body.lang-th .pm-italic,
body.lang-th .quote-text,
body.lang-th .stat-num {
  font-family: var(--font-body);
  letter-spacing: -0.01em;
  font-weight: 500;
}

/* ═══ CUSTOM CURSOR ═══ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.3s var(--ease-lux), height 0.3s var(--ease-lux), background 0.3s;
}
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid rgba(181,137,74,0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-lux), height 0.4s var(--ease-lux), border-color 0.3s;
}
.cursor.is-hover { width: 0; height: 0; }
.cursor-ring.is-hover {
  width: 70px; height: 70px;
  border-color: var(--gold-300);
  background: rgba(181,137,74,0.06);
}

/* ═══ PRELOADER ═══ */
.preloader {
  position: fixed; inset: 0;
  background: var(--ink-1000);
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  transition: opacity 0.8s var(--ease-lux), visibility 0.8s;
}
.preloader.done {
  opacity: 0;
  visibility: hidden;
}
.preloader-mark {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--gold-300);
  margin-bottom: 28px;
  opacity: 0;
  animation: pmFadeIn 0.6s 0.1s var(--ease-lux) forwards;
}
.preloader-sub {
  font-size: 0.64rem;
  letter-spacing: 0.4em;
  color: var(--text-tertiary);
  text-transform: uppercase;
  margin-bottom: 44px;
  opacity: 0;
  animation: pmFadeIn 0.6s 0.25s var(--ease-lux) forwards;
}
.preloader-bar {
  width: 180px; height: 1px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
}
.preloader-bar::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold-400), var(--gold-300));
  animation: pmLoaderScan 1.6s var(--ease-lux) forwards;
}
@keyframes pmLoaderScan {
  0% { width: 0%; }
  100% { width: 100%; }
}
@keyframes pmFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ═══ BACKGROUND CANVAS (Three.js) ═══ */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.bg-canvas canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* ═══ LAYOUT PRIMITIVES ═══ */
.container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 40px;
}
.container-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px;
}
.container-wide {
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  position: relative;
  padding: 110px 0;
  z-index: 1;
}
.section-light {
  background: var(--paper-100);
  color: var(--text-dark);
}

/* ═══ TYPOGRAPHY ═══ */
.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  font-size: clamp(2.6rem, 6.5vw, 6.4rem);
}
.h-editorial {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.018em;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}
.h-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.text-body {
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 56ch;
}
.text-caption {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.pm-italic {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-300);
}

/* Text reveal prep */
.reveal-text {
  overflow: hidden;
  display: inline-block;
  vertical-align: baseline;
}
.reveal-text > span {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

/* ═══ NAVIGATION — full-width top bar ═══ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 3.5vw, 48px);
  background: linear-gradient(180deg, rgba(3,7,15,0.98) 0%, rgba(6,11,22,0.96) 100%);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(181,137,74,0.18);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
  transition: transform 0.5s var(--ease-lux), background 0.3s, border-color 0.3s;
}
.nav.nav-scrolled {
  background: rgba(3,7,15,1);
  border-bottom-color: rgba(181,137,74,0.25);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}
.nav.nav-hidden {
  transform: translateY(-110%);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-brand-mark {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  line-height: 1;
}
.nav-brand-sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  color: var(--gold-300);
  text-transform: uppercase;
  margin-top: 3px;
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 1;
  min-width: 0;
}
.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  padding: 8px 14px;
  border-radius: 100px;
  transition: color 0.25s, background 0.25s;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-link:hover { color: var(--gold-300); background: rgba(181,137,74,0.08); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  color: var(--ink-950) !important;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 100px;
  transition: transform 0.3s var(--ease-back), box-shadow 0.3s;
  box-shadow: 0 2px 10px rgba(181,137,74,0.3);
}
.nav-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 24px rgba(181,137,74,0.5);
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px 6px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 100px;
  background: rgba(255,255,255,0.03);
}
.nav-lang button {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.78);
  padding: 4px 8px;
  border-radius: 100px;
  transition: color 0.25s, background 0.25s;
}
.nav-lang button.active {
  color: var(--ink-950);
  background: var(--gold-300);
}
.nav-lang button:hover:not(.active) { color: var(--text-primary); }

.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  background: rgba(255,255,255,0.02);
}
.nav-toggle span { width: 16px; height: 1px; background: var(--text-primary); transition: transform 0.3s, opacity 0.3s; }
.nav-mobile {
  position: fixed; inset: 0;
  background: rgba(3,6,13,0.97);
  backdrop-filter: blur(30px);
  z-index: 99;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 120px 24px 60px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.nav-mobile a:hover { color: var(--gold-300); }

/* ═══ HERO ═══ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  z-index: 1;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(181,137,74,0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 20% 90%, rgba(10,17,31,0.8) 0%, transparent 50%),
    linear-gradient(180deg, transparent 0%, var(--ink-950) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1; /* sits over hero-photo, under hero-inner */
}
/* Hero human-imagery layer — heavily treated.
   Strategy: keep the editorial dark+gold mood, but introduce one human warmth
   layer so the page no longer reads as cold. Heavy color-grade (gold-ward) +
   strong vignette + subtle Ken-Burns-feel scale. */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  /* Color-grade toward warm gold, desaturate slightly, dim significantly so
     text stays at AAA contrast over it. */
  filter: grayscale(0.35) sepia(0.28) saturate(0.85) brightness(0.42) contrast(1.05);
  transform: scale(1.05);
  opacity: 0.55;
}
/* Strong vignette so the center of the photo never competes with the title */
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 55%, transparent 0%, rgba(6,11,22,0.55) 55%, rgba(6,11,22,0.92) 100%),
    linear-gradient(180deg, rgba(6,11,22,0.55) 0%, transparent 30%, rgba(6,11,22,0.85) 100%);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo img { transform: none; }
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 92vh;
  padding-top: 128px;
  padding-bottom: 72px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-shrink: 0;
}
.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.hero-kicker::before {
  content: "";
  display: inline-block;
  width: 48px; height: 1px;
  background: var(--gold-500);
  vertical-align: middle;
  margin-right: 18px;
}
.hero-since {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--gold-300);
  text-align: right;
}
body.lang-th .hero-since { font-family: var(--font-body); font-style: normal; font-weight: 500; }

.hero-title {
  margin-top: auto; /* pushes title + meta to bottom of the flex column */
  margin-bottom: 36px;
  max-width: 18ch;
}
/* Language block visibility — one language shows at a time. */
.hero-title > .ht-block { display: none; }
body.lang-en .hero-title > .en.ht-block { display: block; }
body.lang-th .hero-title > .th.ht-block { display: block; }
body.lang-zh .hero-title > .zh.ht-block { display: block; }
.hero-title .line {
  display: block;
  padding: 0.05em 0 0.14em; /* breathing room for italic descenders */
  line-height: 1.04;
}
.hero-title .line > .w {
  display: inline-block;
}
/* Reveal animation only engages once JS has upgraded the page */
html.js-ready .hero-title .line {
  overflow: hidden;
}
html.js-ready:not(.js-revealed) .hero-title .line > .w {
  transform: translateY(110%);
}
.hero-title em {
  font-style: italic;
  color: var(--gold-300);
  font-weight: 400;
}

.hero-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-meta-left { max-width: 620px; }
.hero-meta-left p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.hero-invite {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.55vw, 1.4rem);
  line-height: 1.5;
  color: var(--gold-300);
  margin: 10px 0 0;
  letter-spacing: -0.008em;
  max-width: 640px;
  opacity: 0.95;
}
.hero-invite::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-400), transparent);
  margin-bottom: 18px;
}
body.lang-th .hero-invite { font-family: var(--font-body); font-style: normal; font-weight: 500; }
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-stats-ticker {
  display: flex;
  gap: 36px;
}
.hero-stat {
  text-align: right;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--text-tertiary);
  text-transform: uppercase;
  margin-top: 8px;
  display: block;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  z-index: 3;
}
.hero-scroll-line {
  position: relative;
  width: 60px; height: 1px;
  background: var(--line);
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--gold-400);
  animation: pmScrollPulse 2.4s var(--ease-lux) infinite;
}
@keyframes pmScrollPulse {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(0%); }
  100% { transform: translateX(100%); }
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 32px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: all 0.4s var(--ease-lux);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  color: var(--ink-950);
  box-shadow: 0 2px 6px rgba(181,137,74,0.3), 0 10px 30px rgba(181,137,74,0.2);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-200));
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: inherit;
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(181,137,74,0.4), 0 20px 48px rgba(181,137,74,0.3); }
.btn-primary > span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text-primary);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--gold-400);
  background: rgba(181,137,74,0.06);
  color: var(--gold-200);
}
.btn-arrow {
  display: inline-flex;
  width: 16px; height: 1px;
  background: currentColor;
  position: relative;
  transition: width 0.3s var(--ease-lux);
}
.btn-arrow::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 6px; height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translate(1px, -50%) rotate(45deg);
}
.btn:hover .btn-arrow { width: 24px; }

/* ═══ MARQUEE ═══ */
.marquee {
  position: relative;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-900);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marqueeSlide 40s linear infinite;
  will-change: transform;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 60px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}
body.lang-th .marquee-item { font-family: var(--font-body); font-style: normal; font-weight: 400; }
.marquee-item::after {
  content: "◆";
  font-style: normal;
  color: var(--gold-500);
  font-size: 0.7rem;
  display: inline-block;
  margin-left: 60px;
}
@keyframes marqueeSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══ PHILOSOPHY SECTION ═══ */
.philosophy {
  position: relative;
  padding: 130px 0 120px;
  background: var(--ink-950);
  z-index: 1;
}
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.philosophy-label {
  margin-bottom: 40px;
}
.philosophy-text {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.6vw, 2.6rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.philosophy-text em {
  font-style: italic;
  color: var(--gold-300);
}
body.lang-th .philosophy-text { font-family: var(--font-body); font-weight: 500; line-height: 1.55; }
.philosophy-aside {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 12px;
}
.philosophy-aside p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.85;
}
.philosophy-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.philosophy-stat {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.philosophy-stat .num {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gold-300);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.philosophy-stat .label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* ═══ SECTION HEAD (generic) ═══ */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 56px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.sec-head-left { max-width: 720px; }
.sec-head-index {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  color: var(--gold-400);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
}
.sec-head-index::before {
  content: "";
  width: 40px; height: 1px;
  background: var(--gold-500);
}
.sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--text-primary);
}
.sec-head h2 em {
  font-style: italic;
  color: var(--gold-300);
  font-weight: 400;
}
.sec-head-desc {
  max-width: 380px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  padding-bottom: 8px;
}

/* Light section variant — full overrides so no white-on-light leaks through */
.section-light .sec-head { border-bottom-color: rgba(10,17,31,0.12); }
.section-light .sec-head h2,
.section-light .sec-head h2 .en,
.section-light .sec-head h2 .th,
.section-light .sec-head h2 .zh { color: var(--text-dark); }
.section-light .sec-head h2 em { color: var(--gold-600); }
.section-light .sec-head-desc,
.section-light .sec-head-desc .en,
.section-light .sec-head-desc .th,
.section-light .sec-head-desc .zh { color: var(--text-dark-soft); }
.section-light .sec-head-index,
.section-light .sec-head-index .en,
.section-light .sec-head-index .th,
.section-light .sec-head-index .zh { color: var(--gold-600); }
.section-light .sec-head-index::before { background: var(--gold-500); }
.section-light .h-label { color: var(--gold-600); }
.section-light .text-body { color: var(--text-dark-soft); }
.section-light .text-caption { color: rgba(10,17,31,0.5); }
/* Generic safety net: any descendant that explicitly inherits primary white
   text should fall back to dark on light sections. Catches cases where new
   markup is added without the section-light author thinking about contrast. */
.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4,
.section-light h5,
.section-light h6 { color: var(--text-dark); }
.section-light h1 em,
.section-light h2 em,
.section-light h3 em { color: var(--gold-600); }
.section-light p,
.section-light li,
.section-light blockquote,
.section-light figcaption { color: var(--text-dark-soft); }
.section-light .r-up,
.section-light .r-up * { color: inherit; }
.section-light a { color: var(--gold-600); }
.section-light a:hover { color: var(--gold-500); }

/* ═══ TREATMENTS (services) ═══ */
.treatments {
  padding: 120px 0 80px;
  position: relative;
  z-index: 1;
}

/* Editorial bridge between sections — fills what was 240px of empty black */
.section-bridge {
  padding: 40px 0 36px;
  background: var(--ink-950);
  position: relative;
  z-index: 1;
}
.section-bridge .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}
.section-bridge .bridge-rule {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(181,137,74,0.35), transparent);
}
.section-bridge .bridge-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  color: var(--text-secondary);
  letter-spacing: 0.005em;
  text-align: center;
  line-height: 1.5;
  max-width: 56ch;
  margin: 0;
}
@media (max-width: 720px) {
  .section-bridge { padding: 32px 0 28px; }
  .section-bridge .container { grid-template-columns: 1fr; gap: 20px; }
  .section-bridge .bridge-rule { max-width: 120px; margin: 0 auto; }
}
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;            /* every row stretches to the tallest card */
  gap: 18px;
  align-items: stretch;
}
.treatment {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--ink-900);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease-lux), border-color 0.5s, box-shadow 0.5s;
  transform-style: preserve-3d;
  height: 100%;
  min-height: 360px;              /* lower floor — less bulk, more breathing room */
  display: flex;
  flex-direction: column;
}
.treatment::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}
.treatment:hover {
  border-color: var(--line-gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.treatment:hover::before { opacity: 1; }
/* "feature" = gradient-accent background only. Size is identical to regular cards. */
.treatment.feature {
  background:
    radial-gradient(circle at 80% 10%, rgba(181,137,74,0.14), transparent 50%),
    linear-gradient(160deg, var(--ink-850) 0%, var(--ink-900) 60%, var(--ink-950) 100%);
  border-color: rgba(181,137,74,0.18);
}
.treatment.feature-gift {
  background:
    radial-gradient(circle at 80% 10%, rgba(72,165,145,0.15), transparent 50%),
    linear-gradient(160deg, #061d1a 0%, #0a2a22 60%, var(--ink-950) 100%);
}
.treatment.feature-blasto {
  background:
    radial-gradient(circle at 80% 10%, rgba(181,137,74,0.18), transparent 50%),
    linear-gradient(160deg, #251508 0%, #3a2412 60%, var(--ink-950) 100%);
}
.treatment-num {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--gold-400);
  margin-bottom: 20px;
}
.treatment-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--line-gold);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-300);
  margin-bottom: 18px;
  background: rgba(181,137,74,0.06);
}
.treatment-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.2; }
.treatment h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.22;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.008em;
  min-height: 0;                  /* removed forced 2-line min — let real content size cards */
}
body.lang-th .treatment h3 { font-family: var(--font-body); font-weight: 600; }
.treatment p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
  flex-grow: 1;
}

/* Compact specs block — Best for / Duration / Process, etc. */
.treatment-specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0 0 18px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line-soft);
  list-style: none;
}
.tspec {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: baseline;
}
.tspec dt,
.tspec-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-300);
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}
.tspec dd,
.tspec-val {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-primary);
  line-height: 1.55;
  letter-spacing: 0.005em;
}
/* Treatment paragraph: cap variable bios to similar visual mass so specs land level */
.treatment p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 1100px) {
  .tspec { grid-template-columns: 80px 1fr; gap: 12px; }
}
@media (max-width: 560px) {
  .tspec { grid-template-columns: 1fr; gap: 2px; }
  .tspec dt { font-size: 0.54rem; }
}
.treatment-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  transition: color 0.3s, gap 0.3s var(--ease-lux);
}
.treatment-link:hover { color: var(--gold-100); gap: 16px; }
.treatment-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* ═══ SPECIALISTS (doctors) ═══ */
.specialists {
  padding: 80px 0 120px;
  background: var(--ink-950);
  position: relative;
  z-index: 1;
}
.specialists-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.specialist-lead {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 40px;
  background: var(--ink-900);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
}
.specialist-lead::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), var(--gold-300), var(--gold-400), transparent);
}
.specialist-portrait {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: linear-gradient(160deg, var(--ink-800), var(--ink-900));
}
.specialist-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: contrast(1.05) saturate(0.95);
  transition: transform 1.4s var(--ease-lux);
}
.specialist-lead:hover .specialist-portrait img { transform: scale(1.05); }
.specialist-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6,11,22,0.5) 100%);
  pointer-events: none;
}
.specialist-body {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
}
.specialist-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--gold-500);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 28px;
  align-self: flex-start;
}
.specialist-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
}
.specialist-name {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.018em;
  margin-bottom: 8px;
}
body.lang-th .specialist-name { font-family: var(--font-body); font-weight: 600; }
.specialist-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-300);
  margin-bottom: 28px;
}
body.lang-th .specialist-title { font-family: var(--font-body); font-style: normal; font-weight: 500; }
.specialist-bio {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 28px;
}
.specialist-creds {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
}
.specialist-creds li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  display: flex; gap: 12px; align-items: flex-start;
}
.specialist-creds li::before {
  content: "◆";
  color: var(--gold-500);
  font-size: 0.55rem;
  margin-top: 6px;
}
.specialist-creds li:last-child { border-bottom: 1px solid var(--line-soft); }
.specialist-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.specialist-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  border: 1px solid var(--line-gold);
  border-radius: 100px;
  color: var(--gold-300);
}

.specialist {
  background: var(--ink-900);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: border-color 0.5s, transform 0.5s var(--ease-lux);
}
.specialist:hover { border-color: var(--line-gold); transform: translateY(-4px); }
.specialist .specialist-portrait { aspect-ratio: auto; min-height: 320px; }
.specialist .specialist-body { padding: 40px 36px; }
.specialist .specialist-name { font-size: 1.75rem; margin-bottom: 6px; }
.specialist .specialist-title { font-size: 0.88rem; margin-bottom: 20px; }
.specialist .specialist-bio { font-size: 0.86rem; margin-bottom: 20px; }

/* ═══ JOURNEY (timeline) ═══ */
.journey {
  padding: 120px 0;
  background: var(--paper-100);
  color: var(--text-dark);
  position: relative;
  z-index: 1;
}
.journey-wrap {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}
.journey-wrap::before {
  content: "";
  position: absolute;
  left: 30px; top: 16px; bottom: 16px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-500), var(--gold-300) 80%, transparent);
}
.jstep {
  display: flex;
  gap: 44px;
  padding: 32px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-lux), transform 0.8s var(--ease-lux);
}
.jstep.in-view {
  opacity: 1;
  transform: none;
}
.jstep-num {
  flex-shrink: 0;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--paper-100);
  border: 1px solid var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-600);
  font-weight: 500;
  box-shadow: 0 0 0 6px var(--paper-100);
  transition: all 0.4s var(--ease-lux);
  position: relative;
  z-index: 1;
}
.jstep:hover .jstep-num {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  border-color: transparent;
  color: var(--ink-950);
  transform: scale(1.05);
}
.jstep-body { padding-top: 14px; }
.jstep-body h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--ink-950);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
body.lang-th .jstep-body h3 { font-family: var(--font-body); font-weight: 600; }
.jstep-body p {
  font-size: 0.95rem;
  color: var(--text-dark-soft);
  line-height: 1.8;
  max-width: 560px;
}

/* ═══ WHY (3 stats) ═══ */
.why {
  padding: 120px 0;
  position: relative;
  z-index: 1;
  background: var(--ink-1000);
  overflow: hidden;
}
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 20% 20%, rgba(181,137,74,0.08), transparent 60%),
    radial-gradient(500px 400px at 80% 80%, rgba(181,137,74,0.06), transparent 60%);
  pointer-events: none;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.why-card {
  padding: 60px 44px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: background 0.5s;
}
.why-card:hover { background: var(--glass); }
.why-card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold-400);
  transition: width 0.7s var(--ease-lux);
}
.why-card:hover::after { width: 100%; }
.why-num {
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gold-300);
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}
.why-num sup {
  font-size: 1.6rem;
  color: var(--gold-500);
  margin-top: 12px;
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.008em;
  margin-bottom: 14px;
}
body.lang-th .why-card h3 { font-family: var(--font-body); font-weight: 600; }
.why-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ═══ PROOF ═══ */
.proof-bar {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-950);
  position: relative;
  z-index: 1;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  align-items: center;
}
.proof-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 24px;
  border-right: 1px solid var(--line);
}
.proof-item:last-child { border-right: none; }
.proof-item strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.005em;
}
body.lang-th .proof-item strong { font-family: var(--font-body); font-weight: 600; }
.proof-item span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* (Old .social / .fb-frame block removed — replaced by .social-feed below) */

/* ═══ CONTACT ═══ */
.contact {
  padding: 120px 0;
  background: var(--ink-950);
  position: relative;
  z-index: 1;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.contact-label { margin-bottom: 24px; }
.contact h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin-bottom: 28px;
}
.contact h2 em { font-style: italic; color: var(--gold-300); font-weight: 400; }
.contact-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 440px;
}
.contact-rows {
  display: flex;
  flex-direction: column;
}
.crow {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.crow:last-child { border-bottom: 1px solid var(--line); }
.crow-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  padding-top: 4px;
}
.crow-value { color: var(--text-primary); font-size: 0.95rem; line-height: 1.7; }
.crow-value a { color: var(--text-primary); transition: color 0.25s; }
.crow-value a:hover { color: var(--gold-300); }
.crow-value .muted { color: var(--text-tertiary); font-size: 0.82rem; margin-top: 4px; display: block; }

.contact-aside {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-card {
  padding: 44px 38px;
  background: var(--ink-900);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}
.contact-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.4;
  color: var(--gold-300);
  margin: 0 0 22px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line-soft);
  letter-spacing: -0.005em;
}
body.lang-th .contact-tagline { font-family: var(--font-body); font-style: normal; font-weight: 500; }
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 12px;
}
body.lang-th .contact-card h3 { font-family: var(--font-body); font-weight: 600; }
.contact-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
}
.contact-card .btn { width: 100%; }

/* ═══ MAP ═══ */
.map {
  padding: 0;
  position: relative;
  z-index: 1;
  background: var(--ink-950);
}
.map-frame {
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
  filter: grayscale(0.3) brightness(0.75) contrast(1.1);
  position: relative;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-overlay {
  position: absolute;
  top: 40px; left: 40px;
  padding: 24px 28px;
  background: rgba(6,11,22,0.88);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line-gold);
  border-radius: var(--r-md);
  max-width: 320px;
}
.map-overlay h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}
body.lang-th .map-overlay h4 { font-family: var(--font-body); font-weight: 600; }
.map-overlay p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══ FOOTER ═══ */
.footer {
  padding: 80px 0 40px;
  background: var(--ink-1000);
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.footer::before {
  content: "";
  display: block;
  width: 60px; height: 1px;
  margin: 0 auto 60px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.005em;
  margin-bottom: 8px;
}
.footer-brand-sub {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 24px;
}
.footer-desc {
  font-size: 0.88rem;
  color: var(--text-tertiary);
  line-height: 1.8;
  max-width: 340px;
  margin-bottom: 28px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-tertiary);
  transition: color 0.3s var(--ease-lux), border-color 0.3s var(--ease-lux), background 0.3s var(--ease-lux), transform 0.3s var(--ease-lux);
}
.footer-social svg {
  width: 22px; height: 22px;
  display: block;
  fill: currentColor;
}
.footer-social:hover {
  border-color: var(--gold-500);
  color: var(--gold-300);
  background: rgba(181,137,74,0.06);
  transform: translateY(-1px);
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-tertiary);
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--text-primary); }
.footer-col li:not(:has(a)) { font-size: 0.88rem; color: var(--text-tertiary); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-quaternary);
}
.footer-bottom a { color: var(--text-quaternary); transition: color 0.25s; }
.footer-bottom a:hover { color: var(--text-primary); }

/* ═══ FLOAT DOCK ═══ */
.dock {
  position: fixed;
  bottom: 24px; right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 80;
}
.dock-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink-850);
  border: 1px solid var(--line);
  color: var(--text-primary);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  transition: all 0.3s var(--ease-back);
}
.dock-btn:hover { transform: scale(1.08); border-color: var(--gold-400); color: var(--gold-300); }
.dock-btn-line { background: #06C755; color: #fff; border-color: #06C755; }
.dock-btn-line:hover { background: #04a845; color: #fff; border-color: #04a845; }

/* ═══ UPDATE TOAST ═══ */
.update-toast {
  position: fixed;
  bottom: 24px; left: 24px;
  padding: 14px 20px;
  background: var(--ink-900);
  border: 1px solid var(--line-gold);
  border-radius: var(--r-md);
  color: var(--text-primary);
  font-size: 0.84rem;
  box-shadow: var(--shadow-card);
  z-index: 200;
  display: none;
  align-items: center;
  gap: 12px;
}
.update-toast.show { display: flex; animation: pmFadeIn 0.5s var(--ease-back) forwards; }
.update-toast button {
  padding: 6px 14px;
  background: var(--gold-400);
  color: var(--ink-950);
  border-radius: 100px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

/* ═══ REVEAL UTILITIES ═══ */
/* Progressive reveal — only hide when JS is ready AND ScrollTrigger
   has registered. If either fails, content stays visible by default. */
.r-up { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-lux), transform 0.9s var(--ease-lux); }
html.scrolltrigger-ready .r-up:not(.in-view) { opacity: 0; transform: translateY(40px); }
html.scrolltrigger-ready .r-up.in-view { opacity: 1; transform: none; }
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .r-up, html.scrolltrigger-ready .r-up:not(.in-view) { opacity: 1 !important; transform: none !important; }
}
.r-fade { opacity: 0; transition: opacity 1s var(--ease-lux); }
.r-fade.in-view { opacity: 1; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1100px) {
  .container, .container-wide { padding: 0 28px; }
  .treatments-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .treatment { min-height: 380px; }
  .specialists-grid { grid-template-columns: 1fr; }
  .specialist-lead { grid-template-columns: 1fr; }
  .specialist-lead .specialist-portrait { aspect-ratio: 16/10; }
  .specialist { grid-template-columns: 1fr; }
  .specialist .specialist-portrait { aspect-ratio: 16/10; min-height: auto; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 60px; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .contact-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .why-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .proof-item:nth-child(even) { border-right: none; }
  .proof-item { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
  .proof-item:last-child, .proof-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}
@media (max-width: 900px) {
  body, body.has-custom-cursor { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
  .nav { gap: 16px; padding: 12px 20px; }
  .nav-links, .nav-lang { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions { gap: 10px; }
  .section { padding: 100px 0; }
  .philosophy, .treatments, .specialists, .journey, .why, .social, .contact { padding: 100px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 32px; margin-bottom: 60px; }
  .hero { min-height: auto; }
  .hero-inner { padding-top: 108px; padding-bottom: 70px; min-height: 78vh; }
  .hero-title { margin-bottom: 28px; }
  .h-display { font-size: clamp(2.2rem, 7vw, 4.4rem); line-height: 1.06; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 32px; }
  .hero-meta-left { max-width: 100%; }
  .hero-stats-ticker { gap: 24px; }
  .hero-scroll { left: 28px; }
  .treatments-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .treatment { padding: 30px 26px; min-height: 360px; }
  .treatment h3 { font-size: 1.3rem; min-height: 0; }
  .treatment p { -webkit-line-clamp: 4; }
  .specialist-body, .specialist .specialist-body { padding: 40px 28px; }
  .specialist-name { font-size: 2rem; }
  .map-overlay { top: 20px; left: 20px; max-width: 260px; padding: 18px 20px; }
}
@media (max-width: 680px) {
  .container, .container-wide { padding: 0 20px; }
  .nav { padding: 10px 16px; }
  .nav-brand-sub { display: none; }
  .nav-cta { padding: 8px 14px; font-size: 0.7rem; }
  .hero-inner { padding-top: 96px; padding-bottom: 60px; }
  .hero-top { flex-direction: column; gap: 14px; }
  .hero-scroll { left: 20px; bottom: 20px; }
  .hero-stats-ticker { flex-wrap: wrap; gap: 20px; }
  .treatments-grid { grid-template-columns: 1fr; }
  .treatment { min-height: 0; padding: 28px 24px; }
  .treatment p { -webkit-line-clamp: unset; }
  .philosophy-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .crow { grid-template-columns: 1fr; gap: 6px; }
  .jstep { gap: 22px; padding: 24px 0; }
  .jstep-num { width: 52px; height: 52px; font-size: 0.95rem; }
  .journey-wrap::before { left: 25px; }
  .specialist-lead .specialist-body, .specialist .specialist-body { padding: 32px 24px; }
  .specialist-name { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; }
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   ADDED IN AUDIT REFRESH — new sections, components & a11y
   ═══════════════════════════════════════════════════════════════ */

/* — Skip-to-content (a11y) — */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--gold-300);
  color: var(--ink-950);
  padding: 12px 18px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: 0 0 var(--r-md) 0;
  text-decoration: none;
}
.skip-to-content:focus {
  left: 0;
  outline: 2px solid var(--gold-100);
  outline-offset: 2px;
}

/* — Hero canvas fallback (prefers-reduced-motion) — */
.hero-canvas-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.hero-canvas-fallback svg {
  max-width: min(80vw, 720px);
  max-height: min(80vh, 720px);
  filter: blur(0.5px);
  opacity: 0.85;
}

/* — Static brand strip (replaces auto-scrolling marquee) — */
.brandstrip {
  background: linear-gradient(90deg,
    rgba(0,0,0,0) 0%,
    rgba(181,137,74,0.06) 30%,
    rgba(181,137,74,0.06) 70%,
    rgba(0,0,0,0) 100%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 16px 0;
}
.brandstrip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 28px;
  text-align: center;
}
.brandstrip-item {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.brandstrip-dot {
  width: 4px;
  height: 4px;
  background: var(--gold-500);
  border-radius: 50%;
  opacity: 0.55;
}
@media (max-width: 640px) {
  .brandstrip-dot { display: none; }
  .brandstrip-inner { gap: 8px 18px; }
  .brandstrip-item { font-size: 11px; letter-spacing: 0.12em; }
}

/* — Empathy / "we see you" block — */
.empathy {
  padding: 90px 0 30px;
  background: linear-gradient(180deg, transparent 0%, rgba(181,137,74,0.025) 100%);
}
.empathy-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.empathy-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-300);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-gold);
  margin-bottom: 28px;
}
.empathy-body {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.5;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.005em;
  color: var(--text-primary);
}
@media (max-width: 720px) {
  .empathy { padding: 64px 0 16px; }
  .empathy-body { font-size: 19px; }
}

/* — Outcomes (§ 02) — */
.outcomes {
  padding: 110px 0;
  background:
    radial-gradient(ellipse at top right, rgba(181,137,74,0.06), transparent 60%),
    var(--ink-950);
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 56px;
}
.outcome-card {
  background: var(--ink-900);
  padding: 40px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.4s var(--ease-lux);
}
.outcome-card:hover { background: var(--ink-850); }
.outcome-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 500;
  line-height: 1.05;
  color: var(--gold-300);
  letter-spacing: -0.015em;
  font-style: italic;
}
.outcome-label {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-primary);
}
.outcome-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line-soft);
}
.outcomes-note {
  margin-top: 32px;
  font-size: 13px;
  font-style: italic;
  color: var(--text-tertiary);
  text-align: center;
  line-height: 1.55;
}
@media (max-width: 1100px) { .outcomes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .outcomes-grid { grid-template-columns: 1fr; } }

/* — Treatment categories — */
.treatments-cat {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: 56px 0 28px;
  padding-bottom: 12px;
}
.treatments-cat:first-of-type { margin-top: 32px; }
.treatments-cat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-300);
  white-space: nowrap;
}
.treatments-cat-rule {
  flex: 0 0 auto;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}
.treatments-cat-meta {
  font-size: 13px;
  font-style: italic;
  color: var(--text-tertiary);
  flex: 1;
  line-height: 1.4;
}
@media (max-width: 700px) {
  .treatments-cat { flex-wrap: wrap; gap: 10px; margin: 40px 0 18px; }
  .treatments-cat-rule { width: 36px; }
  .treatments-cat-meta { flex-basis: 100%; }
}

/* — Investment / Pricing rows on treatment cards — */
.tspec-price {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-gold);
}
.tspec-price dt {
  color: var(--gold-300);
  letter-spacing: 0.14em;
}
.tspec-price dd {
  color: var(--text-primary);
  font-weight: 500;
}

.treatments-note {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font-size: 13px;
  font-style: italic;
  color: var(--text-tertiary);
  line-height: 1.55;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* — Stories / Voices (§ 05) — */
.stories {
  padding: 120px 0;
  background:
    radial-gradient(ellipse at left, rgba(181,137,74,0.04), transparent 60%),
    var(--ink-1000);
}
.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 56px;
}
.story-card {
  background: var(--ink-900);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  transition: border-color 0.4s var(--ease-lux), transform 0.4s var(--ease-lux);
}
.story-card::before {
  content: "“";
  position: absolute;
  top: 6px;
  left: 22px;
  font-family: var(--font-display);
  font-size: 88px;
  line-height: 1;
  color: var(--gold-500);
  opacity: 0.18;
}
.story-card:hover { border-color: var(--line-gold); transform: translateY(-2px); }

/* Theme-tinted story cards — each thematic passage gets a subtle distinct
   color signature so the four cards no longer feel like duplicates.
   Uses --c-accent CSS custom property pattern for clean per-card overrides. */
.story-card[data-theme="heard"]       { --c-accent: var(--gold-300);  --c-tint: rgba(217,188,130,0.05); }
.story-card[data-theme="preservation"]{ --c-accent: var(--hope-300);  --c-tint: var(--hope-glow); }
.story-card[data-theme="privacy"]     { --c-accent: #b9c4d4;          --c-tint: rgba(150,170,200,0.05); }
.story-card[data-theme="room"]        { --c-accent: #e0d5c4;          --c-tint: rgba(224,213,196,0.05); }
.story-card[data-theme] {
  background: linear-gradient(180deg, var(--c-tint, transparent), var(--ink-900) 60%);
}
.story-card[data-theme] .story-tag {
  color: var(--c-accent);
  border-color: color-mix(in srgb, var(--c-accent) 30%, transparent);
  background: color-mix(in srgb, var(--c-accent) 6%, transparent);
}
.story-card[data-theme] .story-card::before,
.story-card[data-theme]::before {
  color: var(--c-accent);
}
.story-card[data-theme]:hover { border-color: var(--c-accent); }
.story-tag {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  padding: 6px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(181,137,74,0.04);
  position: relative;
  z-index: 1;
}
.story-quote p {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-primary);
  font-style: italic;
  font-weight: 400;
  position: relative;
  z-index: 1;
}
.story-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-body);
}
.story-initials {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
  font-weight: 600;
}
.story-detail {
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}
.stories-note {
  margin-top: 40px;
  text-align: center;
  font-size: 12px;
  font-style: italic;
  color: var(--text-quaternary);
}
@media (max-width: 760px) {
  .stories { padding: 80px 0; }
  .stories-grid { grid-template-columns: 1fr; gap: 18px; }
  .story-card { padding: 28px 24px 22px; }
  .story-quote p { font-size: 17px; }
}

/* — FAQ (§ 08) — */
.faq {
  padding: 110px 0;
  background: var(--ink-950);
}
.faq-list {
  margin-top: 48px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.faq-item {
  border-top: 1px solid var(--line);
  padding: 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 8px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.35;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.2s var(--ease-lux);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--gold-200); }
.faq-mark {
  margin-left: auto;
  width: 14px;
  height: 14px;
  position: relative;
  flex: 0 0 14px;
}
.faq-mark::before, .faq-mark::after {
  content: "";
  position: absolute;
  background: var(--gold-300);
  border-radius: 1px;
  transition: transform 0.3s var(--ease-lux);
}
.faq-mark::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq-mark::after  { left: 6px; top: 0; width: 2px;  height: 14px; }
.faq-item[open] .faq-mark::after { transform: scaleY(0); }
.faq-a {
  padding: 0 8px 26px;
  max-width: 78ch;
}
.faq-a p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}
@media (max-width: 640px) {
  .faq-q { font-size: 18px; padding: 20px 4px; }
  .faq-a { padding: 0 4px 20px; }
  .faq-a p { font-size: 15px; }
}

/* — Appointment form (Contact aside) — */
.contact-card-lede {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 18px;
}
.contact-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 22px;
}
.contact-divider span {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.contact-divider em {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-style: normal;
}
.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.appointment-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.appointment-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 500;
}
.appointment-label small {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--text-quaternary);
  text-transform: none;
}
.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color 0.2s var(--ease-lux), background 0.2s var(--ease-lux);
  width: 100%;
}
.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  outline: none;
  border-color: var(--gold-400);
  background: rgba(255,255,255,0.05);
}
.appointment-form textarea {
  resize: vertical;
  min-height: 72px;
  font-family: var(--font-body);
}
.appointment-fineprint {
  font-size: 11px;
  color: var(--text-tertiary);
  font-style: italic;
  line-height: 1.5;
  margin-top: 4px;
}
.btn-form {
  align-self: flex-start;
  margin-top: 4px;
}
.appointment-form input[aria-invalid="true"],
.appointment-form select[aria-invalid="true"],
.appointment-form textarea[aria-invalid="true"] {
  border-color: rgba(220,90,90,0.55);
  background: rgba(220,90,90,0.04);
}
.appointment-error {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.4;
  color: rgba(238,140,140,0.95);
  margin-top: 2px;
}
.appointment-status {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  outline: none;
}
.appointment-status:empty { display: none; }
.appointment-status[data-kind="pending"] {
  border-color: var(--line-soft);
  background: rgba(181,137,74,0.04);
  color: var(--text-secondary);
}
.appointment-status[data-kind="success"] {
  border-color: var(--hope-300);
  background: var(--hope-glow);
  color: var(--hope-200);
}
.appointment-status[data-kind="error"] {
  border-color: rgba(220,120,120,0.35);
  background: rgba(220,90,90,0.05);
  color: rgba(238,170,170,0.95);
}
.appointment-status:focus-visible {
  box-shadow: 0 0 0 2px var(--gold-400);
}
.btn-form .btn-loading { display: none; }
.btn-form.is-loading .btn-label { opacity: 0; visibility: hidden; }
.btn-form.is-loading .btn-loading {
  display: inline-flex;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.btn-form { position: relative; }
.btn-form[aria-busy="true"] { cursor: progress; }
.btn-form:disabled { opacity: 0.7; cursor: not-allowed; }

/* — Inactive trilingual spans hidden via aria-hidden (already done by lang-* class)
     This rule provides a safety net: any aria-hidden span inside body is removed
     from layout flow if the lang-* class fails to load. — */
body[class*="lang-"] span[aria-hidden="true"]:where(.en, .th, .zh) {
  display: none;
}

/* — Reduce-motion mode body cue — */
body.reduce-motion .hero-canvas { background: radial-gradient(ellipse at center, rgba(181,137,74,0.08), transparent 60%); }

/* ═══════════════════════════════════════════════════════════════
   SECTION TRANSITIONS — Motion-driven entry per section
   A 1px gold accent line draws across the top of each section as
   it enters the viewport. Headings stagger-fade-blur in.
   ═══════════════════════════════════════════════════════════════ */
section { position: relative; }
.section-edge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(181,137,74,0.5) 30%,
    rgba(217,188,130,0.85) 50%,
    rgba(181,137,74,0.5) 70%,
    transparent 100%
  );
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
  z-index: 2;
}
.hero .section-edge { display: none; } /* hero has no top divider */
@media (prefers-reduced-motion: reduce) {
  .section-edge { display: none; }
}
/* Once a section has entered, content keeps its final visible state
   even if Motion's animation has been GC'd. This is mainly defensive. */
.section-entered .sec-head {
  opacity: 1;
  filter: none;
  transform: none;
}

/* Section scrim — subtle radial glow that fades in as a section centers.
   Adds a sense of "stage lighting" between transitions. */
.section-scrim {
  position: absolute;
  inset: -10% 0 auto 0;
  height: 60%;
  pointer-events: none;
  background: radial-gradient(
    ellipse 60% 40% at 50% 0%,
    rgba(181,137,74,0.08) 0%,
    rgba(181,137,74,0.04) 35%,
    transparent 70%
  );
  opacity: 0;
  z-index: 1;
}
.section-light .section-scrim {
  background: radial-gradient(
    ellipse 60% 40% at 50% 0%,
    rgba(181,137,74,0.10) 0%,
    rgba(181,137,74,0.04) 40%,
    transparent 70%
  );
}
@media (prefers-reduced-motion: reduce) {
  .section-scrim { display: none; }
}

/* Parallax containers — clip overflow so translated children don't bleed
   into adjacent sections. Excludes hero (already overflow-hidden) and
   sections where overflow is required for layout (none currently). */
.specialist-portrait,
.lab-shot,
.place-shot {
  overflow: hidden;
}
/* Story cards already have border-radius/overflow set in their own block. */

/* ═══════════════════════════════════════════════════════════════
   ACCREDITATIONS (in §04 The Specialist) — third-party trust band
   ═══════════════════════════════════════════════════════════════ */
.accreditations {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line-soft);
}
.accreditations-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 24px;
}
.accreditations-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.accreditation {
  background: var(--ink-1000);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  transition: background 0.3s var(--ease-lux);
}
.accreditation::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--hope-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-lux);
}
.accreditation:hover { background: var(--ink-900); }
.accreditation:hover::before { transform: scaleX(1); }
.accreditation-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gold-200);
  line-height: 1.2;
}
.accreditation-meta {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.45;
}
@media (max-width: 980px) {
  .accreditations-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .accreditations { margin-top: 48px; padding-top: 32px; }
  .accreditations-list { grid-template-columns: 1fr; }
  .accreditation { padding: 18px 16px; }
  .accreditation-name { font-size: 0.95rem; }
}

/* ═══════════════════════════════════════════════════════════════
   DIRECT ACCESS — top-of-funnel promise band, placed after hero.
   The outer <section> hosts vertical rhythm; the inner .direct-access
   card holds the framed gold-edged content.
   ═══════════════════════════════════════════════════════════════ */
.direct-access-section {
  padding: 88px 0 60px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(181,137,74,0.05), transparent 70%),
    var(--ink-1000);
}
.direct-access {
  margin: 0;
  padding: 48px 40px;
  border: 1px solid var(--line-gold);
  border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse at top right, rgba(181,137,74,0.06), transparent 60%),
    var(--ink-900);
  position: relative;
}
.direct-access-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 640px;
  margin-bottom: 36px;
}
.direct-access-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.direct-access-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.direct-access-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.promise {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.promise-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold-300);
  margin-bottom: 4px;
}
.promise-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.005em;
}
.promise-body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.promise-phone {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--gold-400);
  border-radius: var(--r-sm);
  background: rgba(181,137,74,0.08);
  color: var(--gold-200);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.3s var(--ease-lux), border-color 0.3s var(--ease-lux), color 0.3s var(--ease-lux), transform 0.3s var(--ease-lux);
}
.promise-phone:hover {
  background: rgba(181,137,74,0.16);
  color: var(--gold-100);
  border-color: var(--gold-300);
  transform: translateY(-1px);
}
.promise-phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(181,137,74,0.18);
  color: var(--gold-200);
}
.promise-phone-num {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.promise-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  transition: color 0.3s var(--ease-lux);
}
.promise-line:hover { color: var(--hope-300); }
.promise-line-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--hope-glow);
  color: var(--hope-300);
}
@media (max-width: 980px) {
  .direct-access-section { padding: 64px 0 44px; }
  .direct-access-grid { grid-template-columns: 1fr; gap: 28px; }
  .direct-access { padding: 36px 28px; }
}
@media (max-width: 600px) {
  .direct-access-section { padding: 48px 0 36px; }
  .direct-access { padding: 28px 22px; }
  .direct-access-head { margin-bottom: 24px; }
  .promise-phone { font-size: 1.08rem; padding: 12px 16px; width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════
   APPOINTMENT AFTERCARE — microline under the submit button
   ═══════════════════════════════════════════════════════════════ */
.appointment-aftercare {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-tertiary);
  letter-spacing: 0.005em;
}

/* ═══════════════════════════════════════════════════════════════
   STICKY MOBILE CTA — quick call / LINE / book
   Visible only on small viewports; hidden on tablet/desktop where
   the in-page CTAs and nav already cover this.
   ═══════════════════════════════════════════════════════════════ */
.sticky-cta {
  position: fixed;
  z-index: 60;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: none; /* enabled at narrow widths only */
  gap: 8px;
  padding: 8px;
  background: rgba(6, 11, 22, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.sticky-cta-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.25s var(--ease-lux), color 0.25s var(--ease-lux), transform 0.25s var(--ease-lux);
}
.sticky-cta-call {
  background: rgba(181, 137, 74, 0.16);
  color: var(--gold-200);
  border: 1px solid rgba(181,137,74,0.4);
}
.sticky-cta-call:hover, .sticky-cta-call:active {
  background: rgba(181,137,74,0.28);
  color: var(--gold-100);
}
.sticky-cta-line {
  background: var(--hope-glow);
  color: var(--hope-200);
  border: 1px solid var(--hope-400);
}
.sticky-cta-line:hover, .sticky-cta-line:active {
  background: rgba(126, 175, 145, 0.28);
  color: var(--hope-100);
}
.sticky-cta-book {
  background: var(--gold-400);
  color: var(--ink-1000);
  border: 1px solid var(--gold-300);
}
.sticky-cta-book:hover, .sticky-cta-book:active {
  background: var(--gold-300);
  transform: translateY(-1px);
}
.sticky-cta-label { font-weight: 700; }

/* Show only on small viewports */
@media (max-width: 760px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 76px; } /* clearance so footer content isn't covered */
}
@media (max-width: 400px) {
  .sticky-cta { padding: 6px; gap: 6px; }
  .sticky-cta-btn { height: 44px; font-size: 10px; letter-spacing: 0.14em; gap: 6px; }
  body { padding-bottom: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink-1000); }
}

/* ═══════════════════════════════════════════════════════════════
   SOCIAL FEED — Facebook Page Plugin section
   The Page Plugin renders inside an opaque iframe we cannot style;
   we frame it editorially with a card wrapper, loading state, and
   fallback for blocked / failed loads.
   ═══════════════════════════════════════════════════════════════ */
.social-feed {
  padding: 96px 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(181,137,74,0.04), transparent 70%),
    var(--ink-1000);
}
.social-feed-wrap {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: var(--ink-900);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  min-height: 760px; /* matches Page Plugin height to prevent CLS */
  position: relative;
}
.social-feed-wrap .fb-page {
  width: 100% !important;
  max-width: 500px;
  margin: 0 auto;
  background: transparent;
}
.social-feed-wrap .fb-page > span,
.social-feed-wrap .fb-page > span > iframe {
  width: 100% !important;
  min-width: 0 !important;
}
/* The plugin renders an iframe with white background — we let it be (FB
   forces it). The dark frame around it makes the seam feel intentional. */
.social-feed-wrap .fb-page > span,
.social-feed-wrap .fb-page iframe {
  border-radius: calc(var(--r-lg) - 6px);
  overflow: hidden;
}
/* Loading state — three pulsing gold dots */
.fb-feed-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-lux);
}
.fb-feed-loading-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
  opacity: 0.4;
  animation: fb-load-pulse 1.4s var(--ease-lux) infinite;
}
.fb-feed-loading-dot:nth-child(2) { animation-delay: 0.18s; }
.fb-feed-loading-dot:nth-child(3) { animation-delay: 0.36s; }
@keyframes fb-load-pulse {
  0%, 80%, 100% { opacity: 0.25; transform: scale(0.85); }
  40%           { opacity: 1;    transform: scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  .fb-feed-loading-dot { animation: none; opacity: 0.6; }
}
/* Fallback shown if SDK fails to load or is blocked.
   Absolute overlay (not flex sibling) so it never sits beside the iframe. */
.fb-feed-fallback {
  position: absolute;
  inset: 0;
  margin: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 440px;
  padding: 32px;
  background: var(--ink-900);
  border-radius: var(--r-lg);
  z-index: 2;
}
.fb-feed-fallback[hidden] { display: none; }
.fb-feed-fallback p {
  color: var(--text-tertiary);
  font-size: 0.95rem;
  line-height: 1.6;
}
.fb-feed-fallback .btn { align-self: center; }

/* Responsive */
@media (max-width: 760px) {
  .social-feed { padding: 72px 0; }
  .social-feed-wrap { padding: 18px; min-height: 660px; }
  .social-feed-wrap .fb-page { max-width: 400px; }
}
@media (max-width: 480px) {
  .social-feed { padding: 56px 0; }
  .social-feed-wrap { padding: 12px; min-height: 560px; }
  .social-feed-wrap .fb-page { max-width: 340px; }
}

/* ═══════════════════════════════════════════════════════════════
   ICON SYSTEM — feather-style stroke icons throughout
   Used in: Direct Access promises, Outcomes cards, Why-grid stats
   ═══════════════════════════════════════════════════════════════ */

/* Common sizing for inline-SVG icons — they all inherit currentColor */
.promise-icon svg,
.outcome-icon svg,
.why-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* — Direct Access: icon above the "01/02/03" number badge — */
.promise-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(181, 137, 74, 0.10);
  border: 1px solid rgba(181, 137, 74, 0.32);
  color: var(--gold-200);
  margin-bottom: 14px;
  transition: background 0.4s var(--ease-lux), border-color 0.4s var(--ease-lux), transform 0.4s var(--ease-lux);
}
.promise-icon svg { width: 28px; height: 28px; }
.promise:hover .promise-icon {
  background: rgba(181, 137, 74, 0.18);
  border-color: rgba(217, 188, 130, 0.55);
  transform: translateY(-2px);
}
.promise-num { color: var(--text-tertiary); }

/* Promise 02 — the LINE 24h commitment — borrows the hope tone so the
   whole "around the clock" idea reads as warm/available, not metallic. */
.promise:nth-child(2) .promise-icon {
  background: var(--hope-glow);
  border-color: rgba(126, 175, 145, 0.45);
  color: var(--hope-300);
}
.promise:nth-child(2):hover .promise-icon {
  background: rgba(126, 175, 145, 0.22);
  border-color: var(--hope-300);
}

/* — Outcomes (§02 Honest Data) — icon sits above the headline phrase — */
.outcome-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: var(--gold-300);
  opacity: 0.9;
  transition: opacity 0.4s var(--ease-lux), transform 0.4s var(--ease-lux), color 0.4s var(--ease-lux);
}
.outcome-icon svg { width: 28px; height: 28px; }
.outcome-card:hover .outcome-icon {
  opacity: 1;
  color: var(--gold-200);
  transform: translateY(-2px);
}

/* — Why-grid (§07 Standards) — icon at top-right corner of each card — */
.why-card { position: relative; }
.why-icon {
  position: absolute;
  top: 28px;
  right: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--gold-300);
  opacity: 0.55;
  transition: opacity 0.4s var(--ease-lux), color 0.4s var(--ease-lux), transform 0.4s var(--ease-lux);
}
.why-icon svg { width: 32px; height: 32px; }
.why-card:hover .why-icon {
  opacity: 1;
  color: var(--gold-200);
  transform: rotate(-4deg);
}

/* Responsive — shrink/reposition icons on small viewports */
@media (max-width: 980px) {
  .why-icon { top: 22px; right: 22px; width: 36px; height: 36px; }
  .why-icon svg { width: 28px; height: 28px; }
}
@media (max-width: 600px) {
  .promise-icon { width: 48px; height: 48px; margin-bottom: 12px; }
  .promise-icon svg { width: 24px; height: 24px; }
  .outcome-icon { width: 38px; height: 38px; margin-bottom: 12px; }
  .outcome-icon svg { width: 24px; height: 24px; }
  .why-icon { top: 18px; right: 18px; width: 32px; height: 32px; }
  .why-icon svg { width: 24px; height: 24px; }
}

/* ═══════════════════════════════════════════════════════════════
   LAB GALLERY (in §07 The DBN Standard)
   Visual proof of the precision claim — 1 wide + 2 square shots
   ═══════════════════════════════════════════════════════════════ */
.lab-gallery {
  margin-top: 96px;
  padding-top: 56px;
  border-top: 1px solid var(--line-soft);
}
.lab-gallery-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  max-width: 720px;
}
.lab-gallery-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.lab-gallery-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.lab-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.lab-shot {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-900);
  aspect-ratio: 1 / 1;
  margin: 0;
}
.lab-shot-wide { aspect-ratio: 1 / 1; }
.lab-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-lux);
}
.lab-shot:hover img { transform: scale(1.04); }
.lab-shot figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 22px 18px;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  background: linear-gradient(to top, rgba(6,11,22,0.92) 30%, transparent 100%);
  letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════════════════════════════
   PLACE PREVIEW (in §09 Begin)
   Building + reception — show the physical place before the form
   ═══════════════════════════════════════════════════════════════ */
.place-preview {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 18px;
  margin: 0 0 56px;
}
.place-shot {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-900);
  margin: 0;
  aspect-ratio: 4 / 3;
}
.place-shot-tall { aspect-ratio: 4 / 5; }
.place-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-lux);
}
.place-shot:hover img { transform: scale(1.04); }
.place-shot figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 22px 18px;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  background: linear-gradient(to top, rgba(6,11,22,0.92) 30%, transparent 100%);
  letter-spacing: 0.01em;
}

/* Responsive overrides for galleries */
@media (max-width: 980px) {
  .lab-gallery { margin-top: 72px; padding-top: 44px; }
  .place-preview { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .lab-gallery { margin-top: 56px; padding-top: 36px; }
  .lab-gallery-head { margin-bottom: 24px; }
  .lab-gallery-grid { gap: 10px; }
  .lab-shot figcaption,
  .place-shot figcaption { font-size: 11px; padding: 22px 16px 14px; }
  .place-preview { grid-template-columns: 1fr; gap: 12px; margin-bottom: 40px; }
  .place-shot-tall { aspect-ratio: 4 / 3; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE HARMONIZATION
   Final responsive pass covering every section across all common
   breakpoints. Ordered max-width descending so cascade is correct.
   Tested viewports: 1440 / 1280 / 1024 / 980 / 768 / 600 / 414 / 375 / 320
   ═══════════════════════════════════════════════════════════════ */

/* Universal — prevent any heading from overflowing horizontally */
h1, h2, h3, h4, h5, h6,
.h-display, .h-editorial, .hero-title,
.faq-q, .story-quote p, .specialist-name {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
/* Avoid horizontal scroll on any viewport */
html, body { overflow-x: hidden; max-width: 100vw; }
img, iframe, video { max-width: 100%; height: auto; }
.map-frame iframe { height: 100%; } /* keep iframe full-bleed inside its frame */

/* ─── Large tablet / small desktop (≤ 1100px) ─── */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-card { padding: 44px 32px; }
  .proof-grid { gap: 28px 32px; }
  .specialist-body { padding: 44px 36px; }
  .contact-grid { gap: 64px; }
}

/* ─── Tablet (≤ 980px) ─── */
@media (max-width: 980px) {
  .section { padding: 96px 0; }
  .container, .container-wide, .container-narrow { padding-left: 28px; padding-right: 28px; }
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-card { padding: 36px 28px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .specialists-grid { grid-template-columns: 1fr; gap: 28px; }
  .specialist-portrait { aspect-ratio: 4 / 3; }
  .specialist-body { padding: 36px 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 32px; }
  .philosophy-stats { flex-direction: row; gap: 32px; }
  .standards .why-grid { grid-template-columns: 1fr; }
  .journey-wrap::before { left: 18px; }
  .jstep { grid-template-columns: 64px 1fr; gap: 18px; }
  .map-frame { height: 360px; }
}

/* ─── Large mobile / small tablet (≤ 760px) ─── */
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .hero { min-height: auto; }
  .hero-inner { min-height: auto; padding-top: 88px; padding-bottom: 56px; }
  .hero-tagline { font-size: 0.95rem; }
  .outcomes-grid { gap: 1px; }
  .outcome-card { padding: 32px 24px; }
  .treatment-specs { grid-template-columns: 1fr; gap: 6px; }
  .treatments-cat { margin-top: 48px; }
  .stories { padding: 72px 0; }
  .faq { padding: 80px 0; }
  .faq-q { font-size: 18px; padding: 22px 0; }
  .empathy { padding: 80px 0; }
  .empathy-body { font-size: 17px; line-height: 1.65; }
  .brandstrip-inner { gap: 18px; }
  .philosophy-stats { flex-direction: column; gap: 24px; }
  .specialist-portrait { aspect-ratio: 3 / 2; }
  .crow { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .crow-label { font-size: 0.7rem; }
  .contact-card { padding: 32px 28px; }
  .map-frame { height: 280px; }
  .map-overlay { padding: 18px 22px; bottom: 18px; left: 18px; max-width: calc(100% - 36px); }
  .map-overlay h4 { font-size: 1rem; }
  .footer-grid { gap: 36px; }
  .nav-mobile { padding: 24px 24px 36px; }
}

/* ─── Mobile (≤ 600px) ─── */
@media (max-width: 600px) {
  .container, .container-wide, .container-narrow { padding-left: 20px; padding-right: 20px; }
  .section { padding: 60px 0; }
  .hero-inner { padding-top: 76px; padding-bottom: 44px; }
  .hero-tagline { font-size: 0.9rem; }
  .why-card { padding: 30px 22px; }
  .why-card h3 { font-size: 1.05rem; }
  .specialist-body { padding: 28px 22px; }
  .specialist-name { font-size: clamp(1.6rem, 6.5vw, 2.2rem); }
  .outcome-card { padding: 28px 22px; }
  .outcome-num { font-size: clamp(26px, 7vw, 38px); }
  .treatments-cat-label { font-size: 11px; letter-spacing: 0.18em; }
  .story-quote p { font-size: 16px; line-height: 1.6; }
  .story-card { padding: 26px 22px 20px; }
  .story-tag { font-size: 10px; padding: 5px 10px; letter-spacing: 0.18em; }
  .faq-q { font-size: 17px; padding-right: 36px; }
  .faq-mark { right: 0; top: 24px; }
  .faq-a p { font-size: 15px; }
  .empathy-body { font-size: 16px; }
  .empathy-eyebrow { font-size: 10px; }
  .brandstrip { padding: 24px 0; }
  .brandstrip-inner { gap: 14px; }
  .brandstrip-item { font-size: 11px; letter-spacing: 0.18em; }
  .contact-divider { margin: 28px 0; }
  .contact-divider em { font-size: 10px; }
  .contact-card { padding: 28px 22px; }
  .contact-card h3 { font-size: 1.2rem; }
  .contact-card-lede { font-size: 13px; }
  .appointment-form { gap: 12px; }
  .appointment-form input,
  .appointment-form select,
  .appointment-form textarea { font-size: 16px; padding: 12px 12px; } /* 16px prevents iOS auto-zoom */
  .appointment-label { font-size: 9px; letter-spacing: 0.16em; }
  .appointment-fineprint { font-size: 10px; }
  .btn-form { width: 100%; align-self: stretch; text-align: center; justify-content: center; }
  .map-frame { height: 240px; border-radius: var(--r-md); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-col ul { display: flex; flex-wrap: wrap; gap: 8px 18px; }
  .footer-col h5 { font-size: 11px; letter-spacing: 0.18em; }
  .footer-desc { font-size: 13px; }
  .jstep-num { font-size: 22px; }
  .jstep-body h3 { font-size: 1rem; }
  .jstep-body p { font-size: 14px; }
  .sec-head h2 { font-size: clamp(1.7rem, 7.5vw, 2.6rem); }
  .h-display { font-size: clamp(1.85rem, 8vw, 2.8rem); line-height: 1.12; }
  .philosophy-aside p { font-size: 14px; }
  .philosophy-stat .num { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .standards .why-card { padding: 28px 22px; }
}

/* ─── Small mobile (≤ 400px) ─── */
@media (max-width: 400px) {
  .container, .container-wide, .container-narrow { padding-left: 16px; padding-right: 16px; }
  .section { padding: 52px 0; }
  .nav-inner { padding-left: 16px; padding-right: 16px; }
  .nav-brand-name { font-size: 13px; letter-spacing: 0.14em; }
  .nav-brand-sub { font-size: 9px; }
  .hero-tagline { font-size: 0.85rem; }
  .hero-inner { padding-top: 64px; }
  .btn { padding: 14px 22px; font-size: 12px; letter-spacing: 0.16em; }
  .btn-arrow { display: none; } /* save horizontal space */
  .hero-cta-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta-row .btn { width: 100%; justify-content: center; }
  .sec-head h2 { font-size: clamp(1.55rem, 8vw, 2.2rem); }
  .h-display { font-size: clamp(1.65rem, 8.5vw, 2.4rem); }
  .specialist-name { font-size: clamp(1.4rem, 7vw, 1.95rem); }
  .outcome-num { font-size: clamp(22px, 7vw, 32px); }
  .why-card { padding: 26px 18px; }
  .specialist-body { padding: 24px 18px; }
  .contact-card { padding: 24px 18px; }
  .story-card { padding: 22px 18px 18px; }
  .story-quote p { font-size: 15px; }
  .faq-q { font-size: 16px; }
  .map-frame { height: 220px; }
  .map-overlay { padding: 14px 18px; }
  .map-overlay h4 { font-size: 0.95rem; }
  .map-overlay p { font-size: 12px; }
  .appointment-form input,
  .appointment-form select,
  .appointment-form textarea { padding: 11px 12px; }
}

/* ─── Landscape phone — short height (≤ 480px height) ─── */
@media (max-height: 480px) and (orientation: landscape) {
  .hero { min-height: auto; }
  .hero-inner { min-height: auto; padding-top: 84px; padding-bottom: 44px; }
  .nav-mobile { max-height: 88vh; overflow-y: auto; }
}

