/* ==========================================================================
   HealthCode360 — deck-inspired preview stylesheet (preview/deck-v1)
   Visual language: HealthCode360 April 10 pitch deck
     · warm espresso / umber blurred atmospheres (pure CSS, no photography)
     · warm-cream canvas sections with sand cards
     · frosted-glass cards with a specular top rim
     · two-tone headlines: #F66300 emphasis on dark, #A84300 on light
   Font: IBM Plex Sans (roman + italic)
   ========================================================================== */

:root {
  /* Brand palette */
  --ink: #240800;
  --primary: #F66300;
  --primary-hover: #D95700;
  --primary-on-light: #A84300;     /* accent words on light: 5.21:1 on canvas, 4.68:1 on sand-2 */
  --primary-deep: #B84A00;         /* focus ring on light surfaces: 4.5:1 */
  --secondary: #3E5C54;            /* sage: eyebrows & trust labels, 6.3:1 on canvas */
  --tertiary: #B38B6D;
  --white: #FFFFFF;
  --canvas: #F4EDE3;
  --sand: #EFE7DA;
  --sand-2: #EAE1D5;
  --success: #539232;               /* decorative dots/icons only (no text) */
  --success-badge: #467C2A;         /* numbered badges: white text 5.03:1 */
  --success-glow: #6DBE75;
  --warning: #F5B849;
  --error: #E55A33;
  --info: #4A8FBF;

  /* Warm darks */
  --umber-0: #1C0600;
  --umber-1: #240800;
  --umber-2: #2B1509;
  --umber-3: #3D2112;
  --umber-4: #5A341C;

  /* Neutrals */
  --neutral-100: #F9F6F1;
  --neutral-200: #F0E8DC;
  --neutral-300: #E3D5C3;
  --neutral-400: #CDB9A1;
  --neutral-600: #8C7458;
  --neutral-700: #6B5540;
  --neutral-800: #4A3A2C;

  /* Text on dark */
  --on-dark: #FFFFFF;
  --on-dark-body: #EDE3D6;          /* ≥ 6:1 even over the brightest bokeh */
  --on-dark-muted: #D9CBB8;         /* ≥ 5:1 */

  /* Roles */
  --text: var(--ink);
  --text-muted: var(--neutral-700);
  --hairline: rgba(36, 8, 0, 0.14);
  --hairline-strong: rgba(36, 8, 0, 0.28);
  --hairline-dark: rgba(255, 255, 255, 0.16);
  --dash: #CDB9A1;

  /* Glass */
  --glass-fill:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.06) 100%),
    rgba(40, 16, 6, 0.52);
  --glass-rim: rgba(255, 255, 255, 0.24);
  --glass-rim-strong: rgba(255, 255, 255, 0.36);
  --glass-blur: blur(20px) saturate(1.25);
  --glass-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.65), 0 2px 6px rgba(0, 0, 0, 0.18);

  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(72px, 10vw, 128px);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(36, 8, 0, 0.04), 0 14px 32px -18px rgba(36, 8, 0, 0.22);
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--umber-0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); letter-spacing: -0.03em; line-height: 1.04; }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

:focus-visible {
  outline: 3px solid var(--primary-deep);
  outline-offset: 3px;
  border-radius: 4px;
}
.dark-surface :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--white);
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Two-tone headline accent ---------- */

.accent { color: var(--primary-on-light); }
.dark-surface .accent { color: var(--primary); }

/* ---------- Typographic helpers ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(246, 99, 0, 0.16);
}
.dark-surface .eyebrow,
.eyebrow.light { color: var(--on-dark-muted); }
.dark-surface .eyebrow::before { box-shadow: 0 0 0 4px rgba(246, 99, 0, 0.22), 0 0 14px 2px rgba(246, 99, 0, 0.55); }

.lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--neutral-800);
  max-width: 36em;
}
.dark-surface .lead { color: var(--on-dark-body); }

/* ---------- Buttons & links ---------- */

/* Orange fill with ink labels: #240800 on #F66300 is 6.04:1 and on the
   #D95700 hover 4.79:1, so CTAs pass AA 4.5:1 at any text size
   (white on #F66300 was only 3.13:1). */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 13px 26px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--ink);
  font-family: inherit;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.002em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 10px 24px -12px rgba(246, 99, 0, 0.8);
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.button:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 16px 30px -12px rgba(246, 99, 0, 0.85);
}
.button:active { transform: translateY(0); }
.button .arrow { font-size: 0.95em; transition: transform .18s ease; }
.button:hover .arrow { transform: translate(2px, -2px); }
.button-block { width: 100%; white-space: normal; text-align: center; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 2px;
  transition: color .18s ease, border-color .18s ease;
}
.text-link:hover { color: var(--secondary); border-color: var(--secondary); }
.dark-surface .text-link { color: var(--white); }
.dark-surface .text-link:hover { color: var(--on-dark-body); border-color: var(--white); }

/* ==========================================================================
   Warm dark blurred atmosphere (deck Slides 1, 2, 4, 8, 12, 20)
   ========================================================================== */

.dark-surface {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--on-dark);
  background:
    radial-gradient(42% 55% at 82% 14%, rgba(214, 138, 64, 0.34), transparent 72%),
    radial-gradient(30% 42% at 96% 78%, rgba(246, 99, 0, 0.16), transparent 72%),
    radial-gradient(48% 62% at 4% 104%, rgba(150, 88, 40, 0.30), transparent 70%),
    radial-gradient(70% 90% at 58% 46%, rgba(90, 52, 28, 0.55), transparent 78%),
    linear-gradient(160deg, var(--umber-2) 0%, var(--umber-1) 58%, var(--umber-0) 100%);
}
.dark-surface h1,
.dark-surface h2,
.dark-surface h3 { color: var(--on-dark); }

/* Bokeh: soft out-of-focus light discs */
.dark-surface::before {
  content: "";
  position: absolute;
  inset: -40px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 196, 128, 0.22) 0 26px, transparent 46px),
    radial-gradient(circle at 88% 36%, rgba(255, 178, 102, 0.16) 0 40px, transparent 66px),
    radial-gradient(circle at 64% 8%, rgba(255, 214, 160, 0.14) 0 18px, transparent 34px),
    radial-gradient(circle at 94% 12%, rgba(255, 170, 90, 0.18) 0 30px, transparent 52px),
    radial-gradient(circle at 80% 88%, rgba(246, 140, 60, 0.14) 0 36px, transparent 60px),
    radial-gradient(circle at 12% 86%, rgba(230, 160, 96, 0.12) 0 44px, transparent 72px),
    radial-gradient(circle at 30% 98%, rgba(255, 190, 120, 0.10) 0 22px, transparent 40px);
  filter: blur(6px);
}

/* Light bloom: a large blurred warm glow */
.dark-surface::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -8%;
  top: -18%;
  width: min(62vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 170, 92, 0.30) 0%, rgba(214, 120, 50, 0.12) 40%, transparent 68%);
  filter: blur(40px);
}

/* Variants: shift the light so it never sits behind text columns */
.dark-surface.glow-left::after { right: auto; left: -14%; top: -10%; }
.dark-surface.glow-low::after { top: auto; bottom: -40%; }

/* ==========================================================================
   Frosted glass cards
   ========================================================================== */

.glass {
  position: relative;
  border: 1px solid var(--glass-rim);
  border-radius: var(--radius-lg);
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), var(--glass-shadow);
  color: var(--on-dark);
}
/* Specular top-edge sheen */
.glass::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

/* Notched / stepped folder-tab rim (deck Slide 12).
   The body loses its top-left corner; a tab rises above it on the left and
   steps down to the body with a 45° shoulder. */
.glass-notched {
  --tab-w: 62%;
  --tab-h: 22px;
  margin-top: var(--tab-h);
  border: 0;
  border-top-left-radius: 0;
  background:
    linear-gradient(var(--glass-rim), var(--glass-rim)) right top / calc(100% - var(--tab-w)) 1px no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.06) 100%),
    rgba(40, 16, 6, 0.52);
  box-shadow:
    inset 1px 0 0 var(--glass-rim),
    inset -1px 0 0 var(--glass-rim),
    inset 0 -1px 0 var(--glass-rim),
    var(--glass-shadow);
}
.glass-notched::before {
  /* the tab */
  top: auto;
  bottom: 100%;
  left: 0;
  right: auto;
  width: var(--tab-w);
  height: var(--tab-h);
  border-top-left-radius: var(--radius-lg);
  background:
    linear-gradient(90deg, transparent 6%, rgba(255, 255, 255, 0.6) 40%, transparent 80%) left top / 100% 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.09)),
    rgba(40, 16, 6, 0.52);
  box-shadow: inset 1px 1px 0 var(--glass-rim);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  clip-path: polygon(0 0, calc(100% - var(--tab-h)) 0, 100% 100%, 0 100%);
}
.glass-notched::after {
  /* the 45° shoulder rim */
  content: "";
  position: absolute;
  top: calc(var(--tab-h) * -1);
  left: calc(var(--tab-w) - var(--tab-h));
  width: calc(var(--tab-h) * 1.4142);
  height: 1px;
  background: var(--glass-rim);
  transform-origin: 0 0;
  transform: rotate(45deg);
  pointer-events: none;
}

/* Status dots (deck Slides 1, 8, 12) — decorative only */
.status-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.status-dots i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success-glow);
  box-shadow: 0 0 0 3px rgba(109, 190, 117, 0.18), 0 0 10px rgba(109, 190, 117, 0.6);
}
.status-dots i:nth-child(2) { background: var(--warning); box-shadow: 0 0 0 3px rgba(245, 184, 73, 0.18), 0 0 10px rgba(245, 184, 73, 0.55); }
.status-dots i:nth-child(3) { background: var(--primary); box-shadow: 0 0 0 3px rgba(246, 99, 0, 0.2), 0 0 10px rgba(246, 99, 0, 0.6); }

/* ---------- Header (dark glass) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(43, 21, 9, 0.95), rgba(36, 8, 0, 0.95));
  -webkit-backdrop-filter: saturate(1.3) blur(18px);
  backdrop-filter: saturate(1.3) blur(18px);
  border-bottom: 1px solid var(--hairline-dark);
  color: var(--on-dark);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(255, 255, 255, 0.28) 50%, transparent 95%);
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}
.brand img { width: auto; height: 38px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
}
.nav-links a:not(.button) {
  position: relative;
  color: var(--on-dark-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0;
  transition: color .18s ease;
}
.nav-links a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav-links a:not(.button):hover { color: var(--white); }
.nav-links a:not(.button):hover::after { transform: scaleX(1); }
.nav-links .button { min-height: 46px; padding: 10px 18px; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--glass-rim-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}
.menu-toggle:hover { background: rgba(255, 255, 255, 0.14); }

@media (max-width: 1080px) and (min-width: 981px) {
  .nav-links { gap: 18px; }
  .nav-links a:not(.button) { font-size: 0.9rem; }
  .nav-links .button { padding: 10px 14px; }
  .brand img { height: 32px; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .brand img { height: 32px; }

  .js .menu-toggle { display: inline-flex; }

  .js .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: rgba(32, 10, 2, 0.97);
    border-bottom: 1px solid var(--hairline-dark);
    box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.6);
  }
  .js .nav-links.is-open { display: flex; }
  .js .nav-links a:not(.button) {
    padding: 14px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--hairline-dark);
  }
  .js .nav-links a:not(.button)::after { display: none; }
  .js .nav-links .button { margin-top: 20px; min-height: 54px; }

  /* Without JS, links wrap below the logo instead of being hidden */
  .no-js .nav { flex-wrap: wrap; padding-block: 12px; }
  .no-js .nav-links { flex-wrap: wrap; }
}

@media (max-width: 400px) {
  .brand img { height: 28px; }
  .menu-toggle { padding: 8px 12px; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section-y); }

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
@media (min-width: 900px) {
  .section-head {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
    gap: 64px;
  }
}

/* ==========================================================================
   Hero (dark)
   ========================================================================== */

.hero { padding-block: clamp(56px, 8vw, 112px) clamp(64px, 9vw, 120px); }

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 6vw, 72px);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-layout { grid-template-columns: 1.15fr 1fr; }
}

.hero h1 { margin-bottom: 36px; }
.hero h1 em {
  position: relative;
  display: inline-block;
  font-style: italic;
  font-weight: 700;
  padding-bottom: 0.14em;
}
/* Signature orange rule under the turnaround phrase (Slide 1) */
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: -0.08em;
  bottom: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--primary);
  box-shadow: 0 0 14px rgba(246, 99, 0, 0.55);
}

.hero .lead { margin-bottom: 36px; max-width: 30em; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
  margin-bottom: 36px;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline-dark);
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
}
.hero-note::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success-glow);
  box-shadow: 0 0 0 3px rgba(109, 190, 117, 0.18), 0 0 10px rgba(109, 190, 117, 0.6);
}

/* The hero visual is a tall frosted-glass panel (Slide 1 / 20) */
.hero-visual {
  position: relative;
  width: 100%;
  min-height: 440px;
  aspect-ratio: 4 / 5;
  max-height: 640px;
  overflow: hidden;
}
@media (max-width: 899px) {
  .hero-visual { aspect-ratio: 4 / 4.4; min-height: 400px; }
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.photo-caption {
  position: absolute;
  left: clamp(24px, 4vw, 36px);
  right: clamp(24px, 4vw, 36px);
  bottom: clamp(24px, 4vw, 36px);
  padding-top: 22px;
  border-top: 1px solid var(--hairline-dark);
}
.photo-caption .mini {
  margin-bottom: 10px;
  color: var(--on-dark-muted);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.photo-caption p:last-child {
  color: var(--white);
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-side-label {
  position: absolute;
  top: clamp(24px, 4vw, 36px);
  left: clamp(24px, 4vw, 36px);
  right: clamp(24px, 4vw, 36px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  color: var(--on-dark-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* ==========================================================================
   Commitments strip (sand)
   ========================================================================== */

.care-strip {
  background: var(--sand);
  border-bottom: 1px solid var(--hairline);
}
.care-strip .wrap {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .care-strip .wrap { grid-template-columns: repeat(3, 1fr); }
}

.commitment {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 0;
}
.commitment + .commitment { border-top: 1px dashed var(--dash); }
@media (min-width: 760px) {
  .commitment { padding: 36px 32px; }
  .commitment:first-child { padding-left: 0; }
  .commitment + .commitment { border-top: 0; border-left: 1px dashed var(--dash); }
}
/* Circular check bullet (○ + ✓) */
.commitment::before {
  content: "";
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border: 1.5px solid var(--success);
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 12.3l3 3 6-6.3' fill='none' stroke='%23539232' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.commitment strong {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
}
.commitment span {
  display: block;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* ==========================================================================
   Method (cream) — Slide 9 stepper
   ========================================================================== */

.method-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: clamp(48px, 7vw, 80px);
}
@media (min-width: 900px) {
  .method-intro { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
  .method-intro .lead { max-width: none; }
}

.method-steps {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .method-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) {
  .method-steps { grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 28px; }
  /* continuous dashed connector rule behind the badges */
  .method-steps::before {
    content: "";
    position: absolute;
    top: 47px;
    left: 28px;
    right: 28px;
    border-top: 1.5px dashed var(--dash);
  }
}

.method-step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 32px;
  background: var(--sand-2);
  border-radius: var(--radius);
}
.method-step h3 { margin-bottom: 10px; }
.method-step p { color: var(--neutral-800); font-size: 1rem; }

/* Green numbered ribbon badge */
.step-number {
  display: inline-grid;
  place-items: center;
  align-self: flex-start;
  min-width: 40px;
  height: 40px;
  margin-bottom: 28px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  background: var(--success-badge);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 5px var(--canvas);
}
@media (min-width: 1080px) {
  .method-step { padding-top: 0; background: transparent; }
  .method-step .step-number { margin-top: 0; margin-bottom: 0; transform: translateY(0); }
  .method-step > h3,
  .method-step > p { position: relative; }
  .method-step::after {
    content: "";
    position: absolute;
    inset: 62px 0 0 0;
    z-index: -1;
    border-radius: var(--radius);
    background: var(--sand-2);
  }
  .method-step { z-index: 0; isolation: isolate; }
  .method-step h3 { margin-top: 44px; }
}

.method-footnote {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-top: 32px;
  padding: 18px 24px;
  border-radius: var(--radius);
  background: var(--sand-2);
  color: var(--secondary);
  font-weight: 500;
  font-style: italic;
}
.method-footnote::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  transform: translateY(-2px);
}

/* ==========================================================================
   Focus tabs (sand band)
   ========================================================================== */

.focus { background: var(--sand); border-block: 1px solid var(--hairline); }

.focus-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 900px) {
  .focus-layout { grid-template-columns: minmax(260px, 0.8fr) 2fr; gap: 28px; }
}

.focus-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (min-width: 900px) {
  .focus-tabs { grid-template-columns: 1fr; align-content: start; gap: 10px; }
}

.focus-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-sm);
  background: var(--canvas);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.975rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.focus-tab::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--neutral-400);
}
.focus-tab:hover { border-color: var(--secondary); background: var(--neutral-100); }
.focus-tab[aria-selected="true"] {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(214, 138, 64, 0.28), transparent 60%),
    linear-gradient(160deg, var(--umber-3), var(--umber-1));
  border-color: var(--umber-1);
  color: var(--white);
  font-weight: 600;
}
.focus-tab[aria-selected="true"]::after {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(246, 99, 0, 0.22), 0 0 10px rgba(246, 99, 0, 0.7);
}
@media (min-width: 900px) {
  .focus-tab { min-height: 64px; padding: 18px 22px; font-size: 1.05rem; }
}

.focus-panel {
  height: 100%;
  padding: clamp(28px, 4vw, 52px);
  background: var(--canvas);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.focus-panel[hidden] { display: none; }
.focus-panel::before {
  /* fine-line concentric rings, 1.5px stroke */
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 260px;
  height: 260px;
  border: 1.5px solid var(--neutral-300);
  border-radius: 50%;
  outline: 1.5px dashed var(--neutral-400);
  outline-offset: 34px;
  opacity: 0.8;
  pointer-events: none;
}
.focus-panel::after {
  content: "";
  position: absolute;
  right: 38px;
  top: 38px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(246, 99, 0, 0.16);
}
.focus-panel > div { position: relative; }
.focus-panel h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; margin-bottom: 18px; max-width: 18em; letter-spacing: -0.02em; }
.focus-panel p { color: var(--neutral-800); max-width: 38em; }

.focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
}
.focus-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--neutral-300);
  border-radius: 999px;
  background: var(--sand-2);
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 600;
}
.focus-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.focus-disclosure {
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 52em;
}

/* ==========================================================================
   Physician (cream, with a dark glass showcase card)
   ========================================================================== */

.physician-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
@media (min-width: 900px) {
  .physician-layout { grid-template-columns: 0.9fr 1.1fr; }
}

.doctor-image {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 480px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 70px -40px rgba(36, 8, 0, 0.55);
}
@media (max-width: 899px) {
  .doctor-image { aspect-ratio: 5 / 4.6; max-width: none; }
}
.doctor-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.doctor-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.image-note {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 20px 24px;
  border-radius: var(--radius);
}
.image-note strong {
  display: block;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.image-note small {
  display: block;
  margin-top: 2px;
  color: var(--on-dark-body);
  font-size: 0.9rem;
  font-weight: 500;
}
/* Placeholder mark: no approved physician photo yet */
.portrait-pending {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border: 1px dashed rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: var(--on-dark-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.physician-copy h2 { margin-bottom: 28px; }

.credentials {
  display: grid;
  gap: 0;
  margin: 32px 0 36px;
  border-top: 1px solid var(--hairline);
}
.credential {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px dashed var(--dash);
  font-weight: 500;
}
.credential::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--secondary);
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 12.3l3 3 6-6.3' fill='none' stroke='%233E5C54' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* ==========================================================================
   Founder story (dark) — Slide 2, without the portrait
   ========================================================================== */

.founder-story { padding-block: clamp(88px, 11vw, 140px); }

.founder-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 6vw, 72px);
  align-items: center;
}
@media (min-width: 960px) {
  .founder-layout { grid-template-columns: 1.6fr 1fr; gap: 64px; }
}

.quote-card {
  margin: 0;
  padding: clamp(32px, 4.5vw, 56px) clamp(28px, 4.5vw, 56px) clamp(32px, 4vw, 48px);
}
.quote-card blockquote { position: relative; margin: 0; }
.quote-mark {
  display: block;
  height: 0.5em;
  margin: 0 0 18px -0.04em;
  color: var(--on-dark-muted);
  font-size: 4.25rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  opacity: 0.7;
}
.quote-card blockquote p {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.6rem, 2.9vw, 2.45rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.015em;
}
.quote-card blockquote p .quote-line { display: block; }
.quote-card blockquote p .quote-line + .quote-line { margin-top: 0.28em; }
.quote-card blockquote .accent { color: var(--primary); font-weight: 700; }
.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(28px, 3.5vw, 40px);
  padding-top: 22px;
  border-top: 1px solid var(--hairline-dark);
  color: var(--on-dark-body);
  font-size: 1.125rem;
  font-weight: 500;
}
.quote-card figcaption::before {
  content: "";
  flex: none;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--primary);
}

.founder-bio {
  max-width: 36em;
  margin: clamp(32px, 4vw, 44px) 0 0;
  color: var(--on-dark-body);
  font-size: clamp(1.0625rem, 1.3vw, 1.15rem);
  line-height: 1.7;
}

/* Companion frame: typographic/geometric "baseline" atmosphere */
.founder-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 600px;
  width: 100%;
  overflow: hidden;
}
@media (max-width: 959px) {
  .founder-frame { aspect-ratio: 16 / 10; max-height: 420px; }
}
.founder-frame svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   Care / path forward (cream)
   ========================================================================== */

.start-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 800px) { .start-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }

.start-card {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  background: var(--sand-2);
  border-radius: var(--radius-lg);
}
.start-card + .start-card { background: var(--sand); border: 1px solid var(--neutral-300); }

.small-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--canvas);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.small-title::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.start-card + .start-card .small-title::before { background: var(--success); }
.start-card h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.start-card > p { color: var(--neutral-800); }
.start-card ul {
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px dashed var(--dash);
  list-style: none;
}
.start-card li {
  position: relative;
  padding: 7px 0 7px 34px;
}
.start-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--success);
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 12.3l3 3 6-6.3' fill='none' stroke='%23539232' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* Full-width callout strip (Slide 9 / 17) */
.cash-note {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding: 26px clamp(24px, 4vw, 40px);
  background: var(--sand-2);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
}
@media (min-width: 800px) {
  .cash-note { grid-template-columns: 1fr 2fr; gap: 40px; align-items: baseline; }
}
.cash-note strong { color: var(--secondary); font-size: 1.15rem; font-weight: 700; }
.cash-note p { color: var(--neutral-800); }

/* ==========================================================================
   FAQ (sand)
   ========================================================================== */

.faq-section { background: var(--sand); border-top: 1px solid var(--hairline); }

.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .faq-layout { grid-template-columns: 0.9fr 1.4fr; gap: 80px; align-items: start; }
  .faq-layout > div:first-child { position: sticky; top: calc(var(--header-h) + 40px); }
}

.faq-list { display: grid; gap: 10px; }
.faq-list details {
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius);
  background: var(--canvas);
  transition: background-color .18s ease, border-color .18s ease;
}
.faq-list details[open] { background: var(--neutral-100); border-color: var(--neutral-400); }
.faq-list summary {
  position: relative;
  display: block;
  padding: 22px 64px 22px 24px;
  font-size: clamp(1.05rem, 1.6vw, 1.15rem);
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
  /* circular toggle */
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  background:
    linear-gradient(var(--primary), var(--primary)) center / 12px 2px no-repeat,
    linear-gradient(var(--primary), var(--primary)) center / 2px 12px no-repeat;
  transition: background-size .2s ease, background-color .2s ease;
}
.faq-list details[open] summary::before {
  background:
    linear-gradient(var(--white), var(--white)) center / 12px 2px no-repeat,
    var(--primary);
}
.faq-list summary:hover { color: var(--secondary); }
.faq-list details p {
  padding: 0 64px 24px 24px;
  color: var(--neutral-800);
  max-width: 44em;
}

/* ==========================================================================
   Closing band (dark)
   ========================================================================== */

.closing { padding-block: clamp(80px, 10vw, 128px); }
.closing .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .closing .wrap { grid-template-columns: 1.25fr 1fr; gap: 72px; align-items: center; }
}
.closing-side {
  padding: clamp(28px, 4vw, 40px);
}
.closing-side p { color: var(--on-dark-body); font-size: 1.1rem; margin-bottom: 28px; max-width: 28em; }
.closing-side small {
  display: block;
  margin-top: 16px;
  color: var(--on-dark-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   Footer (deep espresso)
   ========================================================================== */

.site-footer {
  position: relative;
  padding: clamp(56px, 7vw, 80px) 0 40px;
  background:
    radial-gradient(50% 120% at 90% 0%, rgba(150, 88, 40, 0.22), transparent 70%),
    linear-gradient(180deg, var(--umber-1), var(--umber-0));
  color: var(--on-dark-body);
  font-size: 0.95rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(255, 255, 255, 0.24) 50%, transparent 95%);
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--hairline-dark);
}
@media (min-width: 800px) {
  .footer-main { grid-template-columns: 1fr auto; align-items: start; }
}
.site-footer .brand img { height: 36px; }
.footer-tagline { margin-top: 20px; color: var(--on-dark-muted); line-height: 1.6; }
/* Placeholder: public contact email not yet confirmed */
.contact-placeholder { margin-top: 12px; color: var(--on-dark-muted); font-size: 0.85rem; }
.contact-placeholder span {
  padding: 1px 8px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-style: italic;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 40px;
  justify-content: start;
}
.footer-links a {
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
}
.footer-links a:hover { color: var(--primary); }
.footer-links a[aria-current="page"] {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 2px;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-top: 32px;
  color: var(--on-dark-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}
@media (min-width: 800px) {
  .footer-bottom { grid-template-columns: 1fr 2fr; gap: 64px; }
}

/* ==========================================================================
   Booking page (dark hero + notched glass card)
   ========================================================================== */

.breadcrumb {
  display: inline-flex;
  margin-bottom: clamp(32px, 5vw, 56px);
  color: var(--secondary);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}
.breadcrumb:hover { text-decoration: underline; text-decoration-color: var(--primary); }
.dark-surface .breadcrumb { color: var(--on-dark-body); }
.dark-surface .breadcrumb:hover { color: var(--white); }

.booking-hero { padding-block: clamp(32px, 5vw, 64px) var(--section-y); }

.booking-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: start;
}
@media (min-width: 940px) {
  .booking-layout { grid-template-columns: 1.1fr 1fr; }
}

.booking-copy h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); margin-bottom: 28px; }
.booking-copy .lead { margin-bottom: 40px; }

.visit-steps {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: visit;
}
/* dashed vertical connector through the badges */
.visit-steps::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 30px;
  bottom: 40px;
  border-left: 1.5px dashed rgba(255, 255, 255, 0.28);
}
.visit-steps li {
  position: relative;
  padding: 18px 0 18px 64px;
  color: var(--on-dark-body);
  counter-increment: visit;
}
.visit-steps li + li { border-top: 1px solid var(--hairline-dark); }
.visit-steps li::before {
  content: counter(visit);
  position: absolute;
  left: 0;
  top: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--success-badge);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 0 0 4px rgba(36, 8, 0, 0.9), 0 0 18px rgba(109, 190, 117, 0.35);
}
.visit-steps strong {
  display: block;
  margin-bottom: 2px;
  color: var(--white);
  font-weight: 600;
  font-size: 1.075rem;
}

@media (min-width: 940px) {
  .booking-aside { position: sticky; top: calc(var(--header-h) + 48px); }
}

.booking-card {
  padding: clamp(28px, 4vw, 44px);
}
.booking-card h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 14px; }
.booking-card > p { color: var(--on-dark-body); }

.booking-meta {
  display: grid;
  grid-template-columns: 1fr;
  margin: 28px 0;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-sm);
  background: rgba(20, 6, 0, 0.35);
}
.booking-meta div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 18px;
}
.booking-meta div + div { border-top: 1px solid var(--hairline-dark); }
.booking-meta span {
  color: var(--on-dark-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.booking-meta strong { color: var(--white); font-weight: 600; text-align: right; }

.external-note {
  margin-top: 14px;
  color: var(--on-dark-muted);
  font-size: 0.875rem;
  text-align: center;
}
.clinical-note {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 3px solid var(--info);
  background: rgba(20, 6, 0, 0.4);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--on-dark-body);
  font-size: 0.9rem;
  line-height: 1.55;
}

.booking-partner {
  margin-top: 24px;
  color: var(--on-dark-muted);
  font-size: 0.95rem;
  text-align: center;
}
.booking-partner a {
  color: var(--white);
  font-weight: 600;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 2px;
}
.booking-partner a:hover { color: var(--on-dark-body); }

/* ==========================================================================
   Legal pages (dark header band + cream reading column)
   ========================================================================== */

.legal-hero { padding-block: clamp(32px, 5vw, 56px) clamp(56px, 7vw, 88px); }
.legal-hero.dark-surface::after { width: min(54vw, 620px); }

.legal-head,
.legal {
  max-width: calc(800px + var(--gutter) * 2);
}
.legal-head h1 {
  font-size: clamp(2.4rem, 5.4vw, 3.8rem);
  margin-bottom: 16px;
}
.legal-head .date {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  color: var(--on-dark-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.legal-head .date::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success-glow);
  box-shadow: 0 0 10px rgba(109, 190, 117, 0.6);
}
.legal-intro {
  margin-top: 28px;
  padding: clamp(22px, 3vw, 32px);
  font-size: 1.125rem;
  line-height: 1.6;
}
.legal-intro p { color: var(--on-dark-body); max-width: none; }

.legal {
  padding-block: clamp(48px, 6vw, 72px) var(--section-y);
}
.legal h2 {
  position: relative;
  margin: 44px 0 14px;
  padding-left: 22px;
  font-size: clamp(1.3rem, 2.2vw, 1.55rem);
  letter-spacing: -0.015em;
}
.legal h2:first-child { margin-top: 0; }
.legal h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(246, 99, 0, 0.14);
}
.legal p { color: var(--neutral-800); max-width: 42em; }
.legal h2 + p,
.legal p + p { padding-left: 22px; }
.legal p a {
  color: var(--ink);
  font-weight: 600;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 2px;
}
.legal p a:hover { color: var(--secondary); }
.legal-sheet {
  padding: clamp(28px, 4vw, 48px);
  background: var(--sand);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-lg);
}

/* ---------- Small screens ---------- */

@media (max-width: 520px) {
  body { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .closing-side .button { width: 100%; white-space: normal; }
  .focus-tabs { grid-template-columns: 1fr; }
  .focus-tab { min-height: 50px; }
  .faq-list summary { padding-right: 60px; padding-left: 18px; }
  .faq-list details p { padding: 0 18px 22px; }
  .booking-meta div { flex-direction: column; gap: 2px; }
  .booking-meta strong { text-align: left; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
  .glass-notched { --tab-w: 72%; }
  .legal h2 + p, .legal p + p { padding-left: 0; }
}

/* Browsers without backdrop-filter: make glass fills more opaque */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .glass-notched { background-color: rgba(48, 22, 10, 0.92); }
  .site-header { background: rgba(32, 10, 2, 0.97); }
}

@media print {
  .site-header, .menu-toggle, .skip-link, .hero-visual, .founder-frame { display: none !important; }
  body, .dark-surface { background: #fff !important; color: #000 !important; }
  .dark-surface h1, .dark-surface h2, .dark-surface p, .glass { color: #000 !important; }
  .dark-surface::before, .dark-surface::after { display: none; }
}
