/* ===== 00-tokens.css ===== */
/* ==========================================================================
   00 · DESIGN TOKENS — "Midnight & Brass"
   Single source of truth for colour, type, space. Change a value here and it
   updates everywhere. Never hard-code a hex value inside a section file.
   ========================================================================== */
:root {
  /* ---- Colour ---- */
  --black:      #060A10;   /* hero / footer — deepest tone              */
  --navy-deep:  #0A1B2E;
  --navy:       #0F2C4A;   /* primary dark surface, headlines on ivory  */
  --navy-2:     #12233B;   /* raised panels on navy                     */
  --blue:       #1C4E89;   /* links, small accents (logo blue)          */
  --logo-orange:#F89B1B;   /* "32" in the clinic logo */
  --logo-blue:  #005FAD;   /* "T" in the clinic logo */
  --gold:       #C9A24B;   /* ACCENT ONLY: rules, labels, ONE cta       */
  --gold-deep:  #A8823A;   /* gold as text on ivory                     */
  --brass-text: #8A6A2A;   /* brass as small text on ivory (AA contrast) */
  --terracotta: #A94E32;   /* urgent text on ivory (AA contrast)        */
  --ivory:      #F7F2E7;   /* paper / light sections                    */
  --ivory-2:    #FBF8F1;   /* softest surface                           */
  --slate:      #6E8CA8;   /* muted text on navy                        */
  --ink:        #1A2230;   /* body text on ivory                        */
  --line-dark:  #24374f;   /* hairline on navy                          */
  --line-light: rgba(15, 44, 74, 0.12); /* hairline on ivory            */
  --whatsapp:   #25D366;

  /* ---- Type ----
     Display: Fraunces — contemporary serif with SOFT axis + optical sizing. Warmer than Playfair.
     Body:    Inter — the modern on-screen workhorse. Cleaner than Montserrat.
     Both are variable fonts; load one weight range in layout.html → saves bandwidth. */
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-display: clamp(2.6rem, 5.4vw, 4.5rem);
  --fs-h1:      clamp(2.1rem, 4vw, 3rem);
  --fs-h2:      clamp(1.65rem, 3vw, 2.25rem);
  --fs-h3:      1.25rem;
  --fs-body:    1rem;
  --fs-small:   0.875rem;
  --fs-caption: 0.75rem;
  --fs-eyebrow: 0.6875rem;

  /* ---- Shape & space ---- */
  --radius-control: 8px;
  --radius-card:    14px;
  --pad-card:       26px;
  --container:      1200px;
  --gutter:         clamp(20px, 4vw, 48px);
  --section-y:      clamp(72px, 10vw, 128px);
  --nav-h:          88px;
  --topbar-h:       38px;   /* sticky contact strip above the nav — stacks with --nav-h */

  /* ---- Motion ---- */
  --ease:      cubic-bezier(0.22, 0.7, 0.2, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 760px) {
  :root { --nav-h: 72px; --fs-eyebrow: 0.75rem; }   /* eyebrows 12px on phones (11px on desktop) */
}


/* ===== 01-base.css ===== */
/* ==========================================================================
   01 · BASE — reset, element defaults, layout primitives
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;          /* Inter 400 ≈ Montserrat 300 in weight on screen */
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory-2);
  font-feature-settings: "cv11", "ss01";              /* Inter: single-storey a + "r" cv for a touch more character */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 48, "SOFT" 50;      /* Fraunces: slight soft curves, display opsz */
}
h1 { font-size: var(--fs-h1); font-variation-settings: "opsz" 96, "SOFT" 70; }  /* bigger opsz = sharper display cut */
h2 { font-size: var(--fs-h2); font-style: italic; }   /* the brand's "voice" moments */
h3 { font-size: var(--fs-h3); font-family: var(--font-body); font-weight: 500; letter-spacing: -0.005em; line-height: 1.35; font-variation-settings: normal; }
strong { font-weight: 500; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 3000;
  background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: var(--radius-control);
}
.skip-link:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---- Layout primitives ---- */
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--narrow { width: min(780px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.section { padding-block: var(--section-y); position: relative; }
.section--black  { background: var(--black);  color: var(--ivory); }
.section--navy   { background: var(--navy);   color: var(--ivory); }
.section--ivory  { background: var(--ivory);  color: var(--ink); }
.section--ivory-2{ background: var(--ivory-2);color: var(--ink); }
.section--black h1, .section--black h2, .section--black h3,
.section--navy  h1, .section--navy  h2, .section--navy  h3 { color: var(--ivory); }

/* ---- Eyebrow: the brand's small gold label with hairline.
   The hairline DRAWS ITSELF (scaleX) when the eyebrow enters view — triggered
   by js/30-reveal.js adding .is-swept. See the "section-divider sweep" note. */
.eyebrow {
  display: inline-flex; align-items: center;
  font-family: var(--font-body); font-weight: 500; font-size: var(--fs-eyebrow);
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before {
  content: ""; width: 34px; height: 1px; background: var(--gold); margin-right: 14px; flex: none;
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s cubic-bezier(0.22, 0.7, 0.2, 1) .1s;
}
.js .eyebrow.is-swept::before { transform: scaleX(1); }
html:not(.js) .eyebrow::before { transform: scaleX(1); }      /* no-JS fallback: full hairline */
/* Centre-aligned eyebrows (e.g. in centred section-heads) draw from the middle */
.section-head--center .eyebrow::before, .book-cta .eyebrow::before, .page-hero .eyebrow::before { transform-origin: center; }

.section--navy .eyebrow, .section--black .eyebrow, .on-dark .eyebrow { color: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .eyebrow::before { transform: scaleX(1); transition: none; }
}

/* ---- Scroll reveal (progressive enhancement — see js/30-reveal.js) ---- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}


/* ===== 02-components.css ===== */
/* ==========================================================================
   02 · COMPONENTS — reusable pieces shared by several sections
   (buttons, section headings, cards, image slots, prose)
   ========================================================================== */

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 500; font-size: 0.8125rem;
  letter-spacing: 0.06em; line-height: 1;
  padding: 14px 26px; border-radius: var(--radius-control);
  border: 1px solid transparent; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
/* Press feedback — makes every button feel like it's listening to the tap. */
.btn:active { transform: scale(0.97); transition-duration: 100ms; }
/* PRIMARY — use ONE per screen */
.btn--primary { background: var(--gold); color: var(--navy); }
.btn--primary:hover { background: #d6b25c; }
/* GHOST — on dark surfaces */
.btn--ghost { color: var(--ivory); border-color: var(--slate); }
.btn--ghost:hover { border-color: var(--ivory); background: rgba(247, 242, 231, 0.06); }
/* GHOST — on light surfaces */
.btn--ghost-dark { color: var(--navy); border-color: rgba(15, 44, 74, 0.25); }
.btn--ghost-dark:hover { border-color: var(--navy); background: rgba(15, 44, 74, 0.04); }
/* SOLID NAVY — nav button */
.btn--navy { background: var(--navy); color: var(--ivory); }
.btn--navy:hover { background: var(--blue); }
.btn--sm { padding: 11px 20px; font-size: 0.75rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.06em; color: var(--blue);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.section--navy .link-arrow, .section--black .link-arrow { color: var(--gold); }

/* ---- Section heading block ------------------------------------------- */
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 { margin-top: 18px; }
.section-head p { margin-top: 18px; color: inherit; opacity: 0.8; max-width: 60ch; }
.section-head--center p { margin-inline: auto; }

/* ---- Cards ------------------------------------------------------------ */
.card { background: var(--ivory); border: 0.5px solid var(--line-light); border-radius: var(--radius-card); padding: var(--pad-card); }
.card--on-navy { background: var(--navy-2); border: 0.5px solid var(--line-dark); color: var(--ivory); }

/* ---- Media slot: an image that degrades into an elegant placeholder ---- */
/* Usage: <figure class="media-slot" data-slot="name"><img src="…" alt="…" loading="lazy"></figure>
   If the file is missing, js/20-nav.js adds .is-empty and the placeholder shows. */
.media-slot {
  position: relative; overflow: hidden; border-radius: var(--radius-card);
  background: var(--ivory); border: 0.5px solid var(--line-light);
  display: grid; place-items: center; aspect-ratio: 4 / 3;
}
.media-slot img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.media-slot--cover img { object-fit: cover; padding: 0; }
.media-slot::after {
  content: attr(data-slot); display: none; font-size: var(--fs-caption); letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--slate); text-align: center; padding: 1rem;
}
.media-slot.is-empty img { display: none; }
.media-slot.is-empty::after { display: block; content: "Photo — " attr(data-slot); }

/* ---- Prose (long-form article body) ----------------------------------- */
.prose { font-size: 1.0625rem; line-height: 1.85; color: var(--ink); }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.prose h3 { margin-top: 1.8em; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.prose a { color: var(--blue); border-bottom: 1px solid currentColor; }
.prose ul.ticks li, .prose ol.steps li { position: relative; padding-left: 2.2em; }
.prose ul.ticks li + li, .prose ol.steps li + li { margin-top: .6em; }
.prose ul.ticks li::before { content: "◆"; position: absolute; left: 0; top: 0.1em; color: var(--gold); font-size: .7em; line-height: 2; }
.prose ol.steps { counter-reset: step; }
.prose ol.steps li { counter-increment: step; }
.prose ol.steps li::before {
  content: counter(step); position: absolute; left: 0; top: .1em; width: 1.7em; height: 1.7em; border-radius: 50%;
  display: grid; place-items: center; font-size: .8em; font-weight: 500; background: var(--navy); color: var(--ivory);
}

.callout {
  border-left: 2px solid var(--gold); background: var(--ivory); padding: 20px 24px; border-radius: 0 var(--radius-control) var(--radius-control) 0;
  font-size: 1rem;
}
.table-wrap { overflow-x: auto; border: 0.5px solid var(--line-light); border-radius: var(--radius-card); background: var(--ivory-2); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.55; }
.table-wrap th { text-align: left; font-weight: 500; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory); background: var(--navy); padding: 14px 18px; white-space: nowrap; }
.table-wrap td { padding: 14px 18px; border-top: 0.5px solid var(--line-light); vertical-align: top; }
.table-wrap td:first-child { font-weight: 500; color: var(--navy); }


/* ===== sections/10-topbar.css ===== */
/* SECTION · TOPBAR — slim contact strip, sticks above the nav so the phone + address are always one glance away. */
.topbar { position: sticky; top: 0; z-index: 1001; background: var(--navy-deep); color: rgba(247, 242, 231, 0.78); font-size: 0.75rem; letter-spacing: 0.04em; }
.topbar__inner {
  width: min(1360px, 100% - 2 * var(--gutter)); margin-inline: auto; min-height: 38px;
  display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; padding-block: 6px;
}
.topbar__item { display: inline-flex; align-items: center; gap: 8px; transition: color .25s; }
.topbar__item svg { color: var(--gold); flex: none; }
.topbar__item strong { color: var(--ivory); font-weight: 500; }
.topbar__item:hover { color: var(--ivory); }
.topbar__directions { color: var(--gold); }
.topbar__sep { width: 1px; height: 14px; background: rgba(247, 242, 231, 0.18); }
@media (max-width: 860px) {
  .topbar__address, .topbar__directions, .topbar__sep { display: none; }
  .topbar__inner { justify-content: space-between; }
}


/* ===== sections/11-nav.css ===== */
/* SECTION · NAV — sticky ivory bar. Height comes from --nav-h (tokens). */
/* The nav sticks below the sticky topbar — their heights stack. */
/* Solid (no backdrop blur): a blurred sticky bar re-filters the photos underneath on every scroll frame, which reads as stutter on the photo-heavy pages. */
.nav { --nav-stick: var(--topbar-h); position: sticky; top: var(--nav-stick); z-index: 1000; background: var(--ivory); border-bottom: 0.5px solid var(--line-light); height: var(--nav-h); }
@media (max-width: 860px) { .nav { --nav-stick: 36px; } }
.nav__inner { width: min(1360px, 100% - 2 * var(--gutter)); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { height: calc(var(--nav-h) - 16px); width: auto; mix-blend-mode: multiply; }
.nav__links > ul { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav__links a:not(.btn) {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy);
  padding-block: 8px; position: relative; transition: color .25s;
}
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:not(.btn):hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }

/* dropdown */
.has-menu { position: relative; }
.has-menu > a::before { content: ""; display: inline-block; width: 0; height: 0; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; border-top: 4px solid currentColor; margin-left: 5px; vertical-align: 1px; opacity: .5; transition: transform .25s var(--ease), opacity .25s; }
.has-menu:hover > a::before { transform: rotate(180deg); opacity: .8; }
.nav__menu {
  position: absolute; top: calc(100% + 6px); left: -18px; min-width: 250px; padding: 10px;
  background: var(--ivory-2); border: 0.5px solid var(--line-light); border-radius: var(--radius-card);
  box-shadow: 0 18px 50px rgba(15, 44, 74, 0.14);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s, transform .25s, visibility .25s;
}
.has-menu:hover .nav__menu, .has-menu:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: block; padding: 10px 14px !important; border-radius: 8px; letter-spacing: 0.04em !important; text-transform: none !important; font-weight: 400 !important; font-size: .86rem !important; transition: background .2s, color .2s; }
.nav__menu a::after { display: none; }
.nav__menu a::before { display: none; }
.nav__menu a:hover { background: var(--ivory); color: var(--blue); }

/* mobile */
.nav__toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--navy); transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle span:nth-child(1) { top: 16px; } .nav__toggle span:nth-child(2) { top: 22px; } .nav__toggle span:nth-child(3) { top: 28px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; top: calc(var(--nav-stick) + var(--nav-h)); left: 0; right: 0; bottom: 0; background: var(--ivory-2); padding: 24px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; transform: translateY(-10px); visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open .nav__links { opacity: 1; transform: none; visibility: visible; }
  .nav__links > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links > ul > li > a:not(.btn) { display: block; padding: 18px 0; font-size: .9rem; border-bottom: 0.5px solid var(--line-light); }
  .nav__links a::after { display: none; }
  .has-menu > a::before { display: none; }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 14px; min-width: 0; }
  .nav__cta { margin-top: 24px; }
  .nav__cta .btn { width: 100%; padding-block: 16px; }
}


/* ===== sections/19-hero-intro.css ===== */
/* ==========================================================================
   SECTION · HOME / 00 · HERO INTRO — cinematic 4-scene scroll sequence
   Partial : sections/home/00-hero-intro.html · Logic : js/68-hero-intro.js

   Near-black, image LEFT / text RIGHT, a code-built Iron-Man HUD over the
   portrait, pinch-zoom into the teeth, mouth + mirror, then hand-off to the
   EXISTING microscope lens. Brand tokens only; headline on --heroin-head
   (swappable to your deck font). Everything namespaced .heroin* / .hud*.
   ========================================================================== */

.heroin { display: none; }
html.js .heroin {
  display: block; position: absolute; inset: 0; z-index: 40; overflow: hidden;
  --heroin-head: var(--font-body);          /* ← set to your deck font */
  --hud: rgba(140,200,255,.9); --hud2: rgba(80,160,240,.85);
}
.heroin__bg { position: absolute; inset: 0; background: var(--black); transition: opacity .55s ease; }
/* text LEFT, full-bleed image RIGHT (lands naturally on the microscope lens, also right) */
.heroin__grid { position: absolute; inset: 0; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); grid-template-rows: 100%; align-items: stretch; }

/* ---------- VISUAL · full-bleed image on the right ---------- */
.heroin__visual { position: relative; display: flex; grid-column: 2; grid-row: 1; }
.heroin__frame { position: relative; width: 100%; height: 100%; margin: 0; overflow: hidden; background: #0c0d11; will-change: transform; transform-origin: 50% 72%; }
.heroin__logo { position: absolute; z-index: 6; top: clamp(18px, 3vh, 34px); right: clamp(18px, 2.4vw, 36px); height: clamp(42px, 4.6vw, 60px); width: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,.55)); pointer-events: none; }

.heroin__shot { position: absolute; inset: 0; margin: 0; opacity: 0; }
.heroin__shot.is-on { opacity: 1; }
.heroin__shot picture, .heroin__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.heroin__shot[data-shot="0"] img { object-position: 50% 16%; }
.heroin__shot[data-shot="1"] img { object-position: 50% 22%; }
.heroin__shot[data-shot="2"] img { object-position: 50% 22%; }
.heroin__ph { position: absolute; inset: 0; display: none; place-content: center; text-align: center; padding: 12%;
  background: repeating-linear-gradient(135deg, #15171d, #15171d 14px, #121419 14px, #121419 28px);
  color: rgba(247,242,231,.5); font-family: var(--font-body); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.9; }
.heroin__shot.is-empty .heroin__ph { display: grid; } .heroin__shot.is-empty picture { display: none; }

/* video: visible from the start, scrubbed by scroll */
.heroin__video { position: absolute; inset: 0; margin: 0; opacity: 1; z-index: 3; }
.heroin__video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transform-origin: 50% 0%; }
.heroin__video.is-empty video { display: none; }
.heroin__video.is-empty .heroin__ph { display: grid; }

/* ======================= HUD ======================= */
.heroin__hud { position: absolute; inset: 0; z-index: 5; pointer-events: none; color: var(--hud);
  opacity: 0; transition: opacity .6s ease; }
/* subtle scrim so the HUD reads over bright skin without hiding the face */
.heroin__hud::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 46%, transparent 52%, rgba(6,8,12,.42) 100%); }
.heroin.is-scanning .heroin__hud { opacity: 1; }
/* scan line sweeping top → bottom */
.hud__scan { position: absolute; left: 0; right: 0; height: 2px; top: 0;
  background: linear-gradient(90deg, transparent, var(--hud2) 20%, var(--hud) 50%, var(--hud2) 80%, transparent);
  box-shadow: 0 0 14px rgba(80,160,240,.5); animation: hud-scan 4.6s cubic-bezier(.5,0,.5,1) infinite; }
@keyframes hud-scan { 0% { top: 4%; opacity: 0; } 12% { opacity: .9; } 88% { opacity: .9; } 100% { top: 96%; opacity: 0; } }

/* face / teeth reticle (moved + scaled by JS) */
.hud__reticle { position: absolute; left: 50%; top: 40%; width: clamp(180px, 24vw, 320px); height: clamp(240px, 34vw, 440px);
  transform: translate(-50%, -50%); will-change: transform, left, top; }
.hud__corner { position: absolute; width: 28px; height: 28px; border: 2px solid var(--hud); opacity: .9; filter: drop-shadow(0 0 8px rgba(80,160,240,.6)); }
.hud__corner--tl { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.hud__corner--tr { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.hud__corner--bl { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.hud__corner--br { right: 0; bottom: 0; border-left: 0; border-top: 0; }
@keyframes hud-rot { to { transform: rotate(360deg); } }

/* data readout panel — right side of the frame */
.hud__readout { position: absolute; right: 5%; top: 14%; display: flex; flex-direction: column; gap: 6px;
  font-family: var(--font-body); font-size: clamp(.54rem, .72vw, .66rem); letter-spacing: .18em; text-transform: uppercase;
  color: rgba(200,220,250,.82); text-shadow: 0 0 10px rgba(40,100,200,.5); }
.hud__readout p { margin: 0; }
.hud__readout b { color: var(--hud); font-weight: 600; }

/* pinch-zoom touch points */
.hud__touch { position: absolute; width: 34px; height: 34px; margin: -17px; border-radius: 50%; border: 2px solid rgba(247,242,231,.85);
  background: radial-gradient(circle, rgba(255,255,255,.35), transparent 65%); box-shadow: 0 0 14px rgba(255,255,255,.4); opacity: 0; left: 50%; top: 72%; }


/* diagnostics cluster — removed */
.hud__diag { display: none; }
.hud__diag-label { font-family: var(--font-body); font-size: .52rem; letter-spacing: .28em; text-transform: uppercase; color: var(--hud); }
.hud__ekg { width: 100px; height: 24px; }
.hud__ekg polyline { stroke: var(--hud); stroke-width: 1.4; fill: none; filter: drop-shadow(0 0 4px rgba(80,160,240,.6));
  stroke-dasharray: 300; stroke-dashoffset: 300; animation: hud-ekg 3s linear infinite; }
@keyframes hud-ekg { to { stroke-dashoffset: 0; } }
.hud__bars { display: flex; align-items: flex-end; gap: 4px; height: 28px; }
.hud__bars i { width: 4px; background: linear-gradient(to top, var(--hud2), rgba(60,120,200,.2)); box-shadow: 0 0 5px rgba(60,140,220,.5); animation: hud-eq 1.2s ease-in-out infinite; }
.hud__bars i:nth-child(1){ animation-delay:0s } .hud__bars i:nth-child(2){ animation-delay:.15s } .hud__bars i:nth-child(3){ animation-delay:.3s }
.hud__bars i:nth-child(4){ animation-delay:.45s } .hud__bars i:nth-child(5){ animation-delay:.6s } .hud__bars i:nth-child(6){ animation-delay:.75s }
@keyframes hud-eq { 0%,100% { height: 20%; } 50% { height: 100%; } }

/* ruler scale — left edge of the model frame */
.hud__ruler { position: absolute; left: 1%; top: 15%; bottom: 40%; width: 14px;
  background: repeating-linear-gradient(to bottom, var(--hud) 0px, var(--hud) 1px, transparent 1px, transparent 8px);
  opacity: .35; }
/* model disclaimer — rotated vertically along the left edge */
.hud__disclaimer { position: absolute; left: 0; bottom: 6%; margin: 0;
  writing-mode: vertical-lr; transform: rotate(180deg);
  font-family: var(--font-body); font-size: .56rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; line-height: 1;
  color: var(--hud); opacity: .8; white-space: nowrap;
  padding: 8px 6px; background: linear-gradient(to right, rgba(6,10,16,.75) 60%, transparent);
  text-shadow: 0 0 10px rgba(6,10,16,1), 0 0 20px rgba(6,10,16,.8), 0 0 3px rgba(80,160,240,.3); }

/* "System online" status dot (left panel eyebrow) */
.heroin__online { display: inline-flex; align-items: center; gap: 9px; color: var(--hud); }
.heroin__online b { width: 7px; height: 7px; border-radius: 50%; background: var(--hud); box-shadow: 0 0 8px var(--hud); animation: hud-pulse 1.6s ease-in-out infinite; }
@keyframes hud-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* Jarvis instruction line on the left panel */
.heroin__jarvis { margin-top: 32px; font-family: var(--font-body); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(120, 190, 255, .92); text-shadow: 0 0 10px rgba(28,78,137,.5); display: inline-flex; align-items: center; gap: 10px; }
.heroin__jarvis-cue { color: var(--hud); animation: hud-pulse 1.4s ease-in-out infinite; }
.heroin.is-scrolling .heroin__jarvis { opacity: .4; transition: opacity .5s; }

/* ---------- TEXT ---------- */
.heroin__text { position: relative; grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(36px,5vw,80px) 0 clamp(80px,9vw,160px); color: var(--ivory); }
.heroin__eyebrow { font-family: var(--font-body); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--hud); font-weight: 600; margin-bottom: 22px; }
.heroin__title { font-family: var(--font-display); font-weight: 600; letter-spacing: -.015em; font-size: clamp(2.2rem,4.4vw,4rem); line-height: 1.04; color: var(--ivory); margin: 0; max-width: 14ch; }
/* CTA removed — Jarvis instruction follows the headline directly */

.heroin__count { position: absolute; z-index: 2; left: clamp(20px,3vw,46px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--heroin-head); color: rgba(247,242,231,.55); margin: 0; }
.heroin__count b { font-size: clamp(1.6rem,2.4vw,2.3rem); font-weight: 600; color: var(--ivory); line-height: 1; } .heroin__count i { width: 26px; height: 1px; background: rgba(247,242,231,.3); } .heroin__count span { font-size: .95rem; }

.heroin__scrollcue { position: absolute; z-index: 2; right: clamp(20px,4vw,60px); bottom: clamp(26px,5vh,54px); display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(247,242,231,.6); transition: opacity .5s ease; }
.heroin__scrollcue-arrow { color: var(--gold); animation: heroin-bob 1.8s ease-in-out infinite; } @keyframes heroin-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
.heroin.is-scrolling .heroin__scrollcue { opacity: 0; }
.heroin__skip { position: absolute; z-index: 2; left: clamp(20px,4vw,60px); bottom: clamp(26px,5vh,54px); font-family: var(--font-body); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: rgba(247,242,231,.45); background: transparent; border: 0; cursor: pointer; padding: 8px 12px; transition: color .25s; }
.heroin__skip:hover { color: var(--gold); } .heroin__skip:focus-visible, .heroin__restart:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.heroin__restart { position: absolute; z-index: 60; left: clamp(20px,4vw,60px); top: clamp(16px,3vh,30px); font-family: var(--font-body); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: rgba(247,242,231,.6); background: rgba(10,8,12,.5); border: .5px solid rgba(247,242,231,.22); border-radius: 999px; cursor: pointer; padding: 9px 16px; transition: color .25s,border-color .25s; pointer-events: auto; }
.heroin__restart[hidden] { display: none; } .heroin__restart:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- hand-off to the microscope (kept in DOM so we can return) ---------- */
.heroin.is-handed .heroin__bg, .heroin.is-handed .heroin__grid, .heroin.is-handed .heroin__count, .heroin.is-handed .heroin__scrollcue, .heroin.is-handed .heroin__skip { opacity: 0; pointer-events: none; transition: opacity .5s ease; }
.heroin.is-handed { pointer-events: none; }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .heroin__grid { grid-template-columns: 1fr; grid-template-rows: auto; align-items: center; align-content: center; justify-items: center; row-gap: clamp(18px,3.5vh,34px); text-align: center; padding-inline: var(--gutter); }
  .heroin__visual, .heroin__text { grid-column: auto; grid-row: auto; }
  .heroin__visual { order: -1; width: 100%; justify-content: center; }
  .heroin__logo { right: auto; }
  .heroin__logo { display: none; }
  .heroin__frame { width: min(76vw, 320px); aspect-ratio: 3/4; height: auto; border-radius: var(--radius-card); margin: 0 auto; }
  .heroin__text { padding: 0; align-items: center; } .heroin__title { max-width: none; }
  .heroin__count { right: 14px; top: auto; bottom: 18px; transform: none; flex-direction: row; gap: 6px; } .heroin__count i { width: 1px; height: 14px; }
  .hud__mesh, .hud__scan, .hud__ruler, .hud__ekg, .hud__disclaimer { display: none; } /* lighter HUD on small screens */
  .hud__reticle { width: 56%; height: 44%; }
  .hud__label { font-size: .54rem; }
}

@media (prefers-reduced-motion: reduce) {
  html.js .heroin .heroin__scrollcue, html.js .heroin .hud__scan, html.js .heroin .hud__mesh { display: none; }
  html.js .heroin.is-scanning .heroin__hud { opacity: .55; }
}

/* touch UI: the intro plays by itself — no scroll-to-zoom wording or step counter */
@media (max-width: 860px), (pointer: coarse) {
  .heroin__scrollcue, .heroin__count { display: none; }
}
@media (max-width: 860px) {
  .heroin__skip { bottom: 8px; }
}


/* ===== sections/20-hero-microscope.css ===== */
/* ==========================================================================
   SECTION · HOME / 01 · MICROSCOPE HERO
   Partial : sections/home/01-hero-microscope.html
   Logic   : js/70-hero-microscope.js

   CSS custom properties written by JS (do not hard-code):
     --exit   0→1   progress of the hand-off to the next section
   Sizing knobs (edit freely):
     --dial   diameter of the magnification dial
     --lens   diameter of the circular viewing field
   ========================================================================== */
.scope {
  --dial: clamp(150px, 16.5vw, 250px);
  --lens: min(calc(100svh - var(--nav-h) - 132px), 46vw);
  background: var(--black);
  color: var(--ivory);
  position: relative;
}

/* ─── HERO LOAD-IN (one-time, on page load) ───────────────────────────
   The .is-mounted class is added by js/70-hero-microscope.js when the hero
   engine is ready. Children fade and lift into place in a short stagger.
   Reduced-motion falls back to a plain fade (handled below). */
.scope .lens, .scope .dial,
.scope .scope__eyebrow, .scope .scope__tagline, .scope .scope__phrase, .scope .scope__readout {
  opacity: 0; transform: translateY(14px);
  transition: opacity .9s cubic-bezier(0.22, 0.7, 0.2, 1), transform .9s cubic-bezier(0.22, 0.7, 0.2, 1);
}
.scope .scope__cue { opacity: 0; transition: opacity .7s ease; }
.scope.is-mounted .lens,
.scope.is-mounted .dial,
.scope.is-mounted .scope__eyebrow,
.scope.is-mounted .scope__tagline,
.scope.is-mounted .scope__phrase,
.scope.is-mounted .scope__readout { opacity: 1; transform: none; }
.scope.is-mounted .scope__cue { opacity: 1; transition: opacity 1s var(--ease-soft); }
/* Slow fade-out past 4×; the same rule fades it back in when the dial returns to 4×. */
.scope.is-mounted .scope__cue.is-hidden { opacity: 0; transition: opacity 1.8s var(--ease-soft); }
/* Stagger (lens first, then dial, then message, then readout) */
.scope.is-mounted .lens           { transition-delay: .05s; }
.scope.is-mounted .dial           { transition-delay: .20s; }
.scope.is-mounted .scope__eyebrow { transition-delay: .30s; }
.scope.is-mounted .scope__tagline { transition-delay: .40s; }
.scope.is-mounted .scope__phrase  { transition-delay: .55s; }
.scope.is-mounted .scope__readout { transition-delay: .70s; }

@media (prefers-reduced-motion: reduce) {
  .scope .lens, .scope .dial, .scope .scope__eyebrow, .scope .scope__tagline,
  .scope .scope__phrase, .scope .scope__readout, .scope .scope__cue {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}
/* The hero is ONE viewport tall — no pinned scroll-trap. Wheel/touch over
   the lens or the dial advances magnification; everywhere else the page
   scrolls as normal. (see js/70-hero-microscope.js) */
.scope__track { position: relative; }
.scope__stage {
  position: relative;
  height: calc(100svh - var(--nav-h) - var(--topbar-h)); min-height: 560px;
  overflow: hidden; display: flex;
}
.scope__backdrop {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 72% 50%, rgba(28, 78, 137, 0.20), transparent 70%),
    radial-gradient(40% 50% at 18% 60%, rgba(201, 162, 75, 0.05), transparent 70%),
    linear-gradient(180deg, #05080d 0%, #070c13 60%, #0a121c 100%);
}
.scope__inner {
  position: relative; z-index: 1;
  width: min(1400px, 100% - 2 * var(--gutter)); margin: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  column-gap: clamp(28px, 4vw, 80px);
  padding-bottom: 36px;
}

/* ---------------- LEFT: dial + message ---------------- */
.scope__left { display: flex; align-items: center; gap: clamp(22px, 2.8vw, 48px); min-width: 0; }
.scope__message { min-width: 0; max-width: 24rem; }
.scope__eyebrow { font-size: 0.6875rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); font-weight: 500; display: flex; align-items: center; }
.scope__eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); margin-right: 14px; flex: none; }
.scope__tagline {
  margin-top: 22px;
  font-family: var(--font-body); font-weight: 300; font-style: normal;
  font-size: clamp(1.15rem, 1.95vw, 1.75rem);
  letter-spacing: 0.2em; line-height: 1.7; text-transform: uppercase;
  color: var(--ivory);
}
/* Stage caption under the tagline. Fades briefly when the stage changes. */
.scope__phrase {
  margin-top: 22px; font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.02rem, 1.4vw, 1.25rem); line-height: 1.5;
  color: var(--gold); max-width: 24rem; min-height: 3em;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.scope__phrase.is-swapping { opacity: 0; transform: translateY(6px); }

/* Consultation CTA. Hidden until the 25x stage (.is-max), then fades in as the conclusion. */
.scope__cta {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  margin-top: 22px;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .7s var(--ease) .15s, transform .7s var(--ease) .15s;
}
.scope.is-max .scope__cta { opacity: 1; transform: none; pointer-events: auto; }
.scope__cta-main { font-size: 0.8rem; letter-spacing: .08em; padding: 15px 26px; }
.scope__cta-alt {
  font-size: 0.72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  color: rgba(247, 242, 231, .78); border-bottom: 1px solid rgba(247, 242, 231, .35); padding-bottom: 3px;
  transition: color .25s, border-color .25s;
}
.scope__cta-alt:hover { color: var(--gold); border-color: var(--gold); }
.scope.is-max .scope__cta-main { animation: none; }

/* ZEISS equipment label — small, quiet, sits under the dial like a machine plate. */
.scope__dialwrap { display: flex; flex-direction: column; align-items: center; flex: none; }
.scope__equip {
  margin-top: 14px; font-family: var(--font-body); font-size: 0.6rem; font-weight: 400;
  letter-spacing: .3em; text-transform: uppercase; white-space: nowrap;
  color: rgba(247, 242, 231, .5);
}

/* ---------------- DIAL ---------------- */
.dial { position: relative; width: var(--dial); height: var(--dial); flex: none; border-radius: 50%; outline-offset: 10px; touch-action: pan-x; }
.dial__housing {
  position: absolute; inset: -6%; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 66%, rgba(0, 0, 0, 0.5) 67%, transparent 75%),
    conic-gradient(from 130deg, #1a1d23, #3b4048 12%, #14161b 28%, #14161b 55%, #30353d 70%, #14161b 88%, #1a1d23);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.65), 0 2px 0 rgba(255, 255, 255, 0.07) inset, 0 -2px 0 rgba(0, 0, 0, 0.6) inset;
}
.dial__knob, .dial__static { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dial__static { inset: -3.3%; width: 106.6%; height: 106.6%; pointer-events: none; }
.dial__knob [data-dial-rot] { will-change: transform; }
.dial__gloss {
  position: absolute; inset: 1%; border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background:
    conic-gradient(from 205deg, rgba(255,255,255,0) 0deg, rgba(255,255,255,0.20) 16deg, rgba(255,255,255,0) 44deg, rgba(255,255,255,0) 180deg, rgba(255,255,255,0.09) 205deg, rgba(255,255,255,0) 232deg),
    radial-gradient(75% 55% at 28% 18%, rgba(255,255,255,0.10), transparent 60%);
  -webkit-mask: radial-gradient(circle, transparent 41%, #000 42%);
          mask: radial-gradient(circle, transparent 41%, #000 42%);
}
.dial__readout { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; color: #14171c; }
.dial__mag { font-family: var(--font-display); font-size: calc(var(--dial) * 0.2); font-weight: 600; line-height: 1; text-shadow: 0 1px 0 rgba(255,255,255,.45); }
.dial__readout small { font-size: calc(var(--dial) * 0.038); letter-spacing: 0.3em; margin-top: 4%; opacity: 0.7; font-weight: 500; }
/* engraved marks (injected by JS) */
.dial-num { font-family: var(--font-body); font-weight: 500; font-size: 15px; letter-spacing: .04em; fill: #e8e5da; }
.dial-num--shadow { fill: #000; opacity: .7; }
.dial-brand { font-family: var(--font-body); font-weight: 500; font-size: 7.5px; letter-spacing: .32em; fill: #8e939c; }

/* ---------------- LENS ---------------- */
.scope__right { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.lens { position: relative; width: var(--lens); height: var(--lens); margin: 0; touch-action: pan-x; }
.lens__bezel {
  position: absolute; inset: 0; border-radius: 50%; padding: calc(var(--lens) * 0.028);
  background:
    conic-gradient(from 20deg, #15181e, #4a505b 10%, #1b1e24 22%, #0d0f13 38%, #3a3f48 52%, #15171c 66%, #555b66 80%, #15181e);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 2px 1px rgba(255, 255, 255, 0.12), inset 0 -3px 6px rgba(0, 0, 0, 0.8);
}
.lens__bezel::before { /* inner lip */
  content: ""; position: absolute; inset: calc(var(--lens) * 0.02); border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.9), 0 0 0 2px rgba(255, 255, 255, 0.06);
}
.lens__view {
  position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #02040a;
  isolation: isolate; transform: translateZ(0);
}
.lens__layer {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  will-change: transform, opacity, filter; backface-visibility: hidden; user-select: none; pointer-events: none;
  visibility: hidden;
}
.lens__layer.is-on { visibility: visible; }
/* depth of field: edges drift out of focus, more strongly at higher magnification */
.lens__dof {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  -webkit-backdrop-filter: blur(var(--dof, 2px)); backdrop-filter: blur(var(--dof, 2px));
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 46%, rgba(0,0,0,.55) 66%, #000 92%);
          mask-image: radial-gradient(circle at 50% 50%, transparent 46%, rgba(0,0,0,.55) 66%, #000 92%);
}
.lens__vignette {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, transparent 54%, rgba(0, 0, 0, 0.30) 76%, rgba(0, 0, 0, 0.82) 100%);
}
.lens__grain {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0.16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.lens__glass {
  position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: 50%;
  background:
    radial-gradient(120% 70% at 30% 6%, rgba(255, 255, 255, 0.11), transparent 46%),
    radial-gradient(60% 30% at 82% 94%, rgba(160, 200, 255, 0.07), transparent 70%);
  box-shadow: inset 0 0 0 1.5px rgba(120, 190, 255, 0.16), inset 0 0 0 3px rgba(255, 150, 90, 0.10), inset 0 0 60px rgba(0, 0, 0, 0.6);
}
.lens__noscript { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ─── LENS GLOW (breathes until first interaction) ─── */
.lens__bezel { transition: box-shadow .6s var(--ease); }
.scope.is-mounted:not(.has-interacted) .lens__bezel {
  animation: lens-glow 2.8s ease-in-out infinite;
}
@keyframes lens-glow {
  0%, 100% { box-shadow: 0 40px 90px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.05), inset 0 2px 1px rgba(255,255,255,.12), inset 0 -3px 6px rgba(0,0,0,.8), 0 0 24px 4px rgba(201,162,75,.15); }
  50%      { box-shadow: 0 40px 90px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.05), inset 0 2px 1px rgba(255,255,255,.12), inset 0 -3px 6px rgba(0,0,0,.8), 0 0 42px 10px rgba(201,162,75,.30); }
}
.scope.has-interacted .lens__bezel { animation: none; }

/* ─── SCROLL ICON on the lens ─── */
.lens__scroll-hint {
  position: absolute; left: 50%; bottom: 18%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: rgba(247,242,231,.7); pointer-events: none; z-index: 9;
  opacity: 1; transition: opacity .8s var(--ease);
}
.scope.has-interacted .lens__scroll-hint { opacity: 0; pointer-events: none; }
.scope__cue.is-hidden ~ .lens__scroll-hint { opacity: 0; }
.lens__scroll-dot { animation: scroll-dot 1.8s ease-in-out infinite; }
@keyframes scroll-dot {
  0%   { cy: 12; opacity: 1; }
  50%  { cy: 28; opacity: .4; }
  100% { cy: 12; opacity: 1; }
}
.lens__scroll-arrows {
  display: flex; flex-direction: column; align-items: center; gap: 0; line-height: 1;
  font-size: .7rem; font-weight: 600; letter-spacing: 0;
}
.lens__scroll-arr { opacity: .5; animation: scroll-arr 1.8s ease-in-out infinite; }
.lens__scroll-arr--up { animation-delay: 0s; }
.lens__scroll-arr--down { animation-delay: .9s; }
@keyframes scroll-arr {
  0%, 100% { opacity: .3; transform: translateY(0); }
  50%      { opacity: .8; transform: translateY(-2px); }
}

/* ─── CURSOR: zoom-in by default, zoom-out at max ─── */
.lens, .dial { cursor: zoom-in; }
.scope.is-max .lens, .scope.is-max .dial { cursor: default; }

.scope__readout { display: flex; align-items: center; gap: 18px; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(247, 242, 231, 0.7); }
.scope__count b { font-weight: 500; color: var(--ivory); font-family: var(--font-display); font-size: 1rem; letter-spacing: .06em; }
.scope__name { color: var(--gold); min-width: 12ch; }
.scope__ticks { display: flex; gap: 6px; align-items: center; }
.scope__ticks i { width: 1px; height: 10px; background: rgba(247, 242, 231, 0.28); transition: height .35s var(--ease), background .35s; }
.scope__ticks i.is-active { height: 16px; background: var(--gold); }

/* ---------------- sound toggle + cue ---------------- */
.scope__sound {
  position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(247, 242, 231, 0.6);
  padding: 10px 14px 10px 0; transition: color .25s;
}
.scope__sound:hover { color: var(--ivory); }
.scope__sound .scope__sound-on { display: none; }
.scope__sound[aria-pressed="true"] .scope__sound-on { display: inline; }
.scope__sound[aria-pressed="true"] .scope__sound-off { display: none; }
.scope__sound[aria-pressed="true"] { color: var(--gold); }
.scope__sound.is-hinting svg { animation: scope-hint 2.4s ease-in-out 3; }
@keyframes scope-hint { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); color: var(--gold); } }

/* Hint overlay — centred OVER the lens on first visit so the eye finds it immediately,
   pointer-events none so the wheel still reaches the lens underneath. */
.scope__cue {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 10px 20px; border-radius: 999px;
  background: rgba(5, 8, 13, 0.62); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 0.5px solid rgba(247, 242, 231, 0.18);
  font-family: var(--font-body);
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  color: rgba(247, 242, 231, 0.92); white-space: nowrap;
  pointer-events: none; z-index: 8;
  animation: scope-cue-breathe 2.6s var(--ease-soft) infinite;
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.scope__cue-arrow { color: var(--gold); font-size: 0.9rem; letter-spacing: 0; margin-right: 4px; }
/* Only one of the two phrases is visible at a time */

@keyframes scope-cue-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-50%, -54%) scale(1.03); }
}

/* ---------------- responsive ---------------- */
@media (max-width: 900px) {
  .scope {
    --dial: clamp(104px, 27vw, 140px);
    --lens: min(86vw, calc(100svh - var(--nav-h) - var(--topbar-h) - 240px), 520px);
  }
  .scope__inner { grid-template-columns: 1fr; grid-template-rows: auto auto; row-gap: 22px; align-content: center; justify-items: center; padding-bottom: 28px; }
  .scope__right { order: -1; gap: 14px; }
  .scope__left { width: 100%; max-width: 520px; gap: 20px; }
  .scope__tagline { font-size: clamp(0.82rem, 3.6vw, 1.1rem); letter-spacing: 0.16em; margin-top: 12px; }
  .scope__eyebrow { font-size: .68rem; letter-spacing: .22em; }
  .scope__eyebrow::before { width: 20px; margin-right: 10px; }
  .scope__phrase { margin-top: 12px; font-size: .95rem; min-height: 2.8em; }
  .scope__cta { margin-top: 16px; align-items: center; width: 100%; }
  .scope__cta-main { width: 100%; max-width: 340px; }
  .scope__equip { font-size: .66rem; letter-spacing: .22em; }
  .scope__left { padding-bottom: 30px; }
  .scope__sound { left: auto; right: 0; bottom: 0; padding: 8px 0; }
  .scope__cue { font-size: 0.7rem; letter-spacing: 0.12em; padding: 7px 14px; }
  .scope__readout { gap: 12px; font-size: .7rem; }
}
/* phones: the fixed call/book bar (54px) sits over the bottom of the viewport */
@media (max-width: 760px) {
  .scope { --lens: min(86vw, calc(100svh - var(--nav-h) - 345px), 520px); }
  .scope__stage { height: calc(100svh - var(--nav-h) - var(--topbar-h) - 54px); }
}
@media (max-height: 640px) and (min-width: 901px) { .scope { --lens: min(calc(100svh - var(--nav-h) - 100px), 42vw); } }

/* ---------------- reduced motion: no interactive dial ---------------- */
.scope--static .scope__cue, .scope--static .scope__sound, .scope--static .lens__scroll-hint { display: none; }
.scope--static .lens, .scope--static .dial { touch-action: auto; cursor: default; }
.scope--static .lens__bezel { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .lens__bezel, .lens__scroll-dot, .lens__scroll-arr { animation: none !important; }
}

/* ---------------- PHONE / TOUCH ----------------
   Same query as js/68 + js/70 (touchMQ). Vertical swipes ALWAYS scroll the page
   (pan-y); the lens is driven by tap, horizontal swipe and the 4×/10×/20× buttons. */
.scope__steps, .cue--touch { display: none; }
@media (max-width: 860px), (pointer: coarse) {
  .cue--desk, .lens__scroll-hint, .scope__ticks { display: none; }
  .cue--touch { display: inline; }
  .lens, .dial { touch-action: pan-y; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .scope.is-max .lens, .scope.is-max .dial { cursor: pointer; }
  .scope__steps {
    display: flex; gap: 8px; padding: 5px; border-radius: 999px;
    background: rgba(5, 8, 13, .55); border: .5px solid rgba(247, 242, 231, .18);
  }
  .scope__step {
    min-width: 68px; min-height: 44px; padding: 0 18px; border-radius: 999px;
    font-family: var(--font-body); font-size: .86rem; font-weight: 600; letter-spacing: .08em;
    color: rgba(247, 242, 231, .78); background: transparent;
    transition: background .3s var(--ease), color .3s var(--ease);
    -webkit-tap-highlight-color: transparent;
  }
  .scope__step.is-active { background: var(--gold); color: var(--black); }
  .scope__step:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
}
.scope--static .scope__steps { display: none; }

/* Phones: the hero is at least one screen but may grow — content below the lens (dial,
   tagline, CTA) is reached by normal scrolling instead of being clipped. The intro
   overlay stays exactly one screen tall, pinned to the top of the hero. */
@media (max-width: 860px) {
  .scope { --hero-h: max(560px, calc(100svh - var(--nav-h) - var(--topbar-h) - 54px)); --lens: min(76vw, calc(var(--hero-h) - 322px), 440px); }
  .scope__stage { height: auto; min-height: var(--hero-h); }
  .scope__inner { padding-block: 56px 44px; }   /* top gap holds the "Back to start" pill clear of the lens */
  html.js .heroin { bottom: auto; height: var(--hero-h); }
}

/* Tablets in landscape (touch, desktop layout): make room for the magnification buttons under the lens */
@media (pointer: coarse) and (min-width: 901px) {
  .scope { --lens: min(calc(100svh - var(--nav-h) - var(--topbar-h) - 210px), 42vw); }
}


/* ===== sections/21-intro.css ===== */
/* SECTION · HOME / 02 · INTRO + ONE COUNTER */
.intro { position: relative; }
.intro::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: url('../img/intro-bg.jpg') center / cover no-repeat;
  opacity: 0.18;
}
.intro > .container { position: relative; z-index: 1; }
.intro__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.intro__lead { margin: 26px 0 36px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.25rem, 2.1vw, 1.7rem); line-height: 1.6; color: var(--ivory); }

/* The single-stat panel: big number, a one-line unit, a short locator sentence */
.intro__fact { padding-left: clamp(22px, 3vw, 48px); border-left: 0.5px solid var(--line-dark); }
.intro__fact-num { display: flex; align-items: baseline; gap: 14px; font-family: var(--font-display); color: var(--ivory); line-height: 1; }
.intro__fact-num .count { font-size: clamp(3.4rem, 7vw, 5.6rem); font-weight: 500; }
.intro__fact-unit { font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--gold); font-style: italic; font-weight: 400; }
.intro__fact-cap { margin-top: 10px; font-size: var(--fs-eyebrow); letter-spacing: .32em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; }
.intro__fact-line { margin-top: 22px; font-size: var(--fs-small); line-height: 1.7; color: rgba(247, 242, 231, .76); max-width: 32ch; }
.intro__fact-line strong { color: var(--ivory); font-weight: 500; }

/* Counter: an invisible "sizer" holds the final width so nothing reflows while numbers roll */
.count { position: relative; display: inline-block; font-variant-numeric: tabular-nums lining-nums; }
.count__sizer { visibility: hidden; }
.count__live { position: absolute; left: 0; top: 0; white-space: nowrap; }

@media (max-width: 860px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__fact { padding-left: 0; border-left: 0; border-top: 0.5px solid var(--line-dark); padding-top: 36px; }
}


/* ===== sections/22-pillars.css ===== */
/* SECTION · HOME / 03 · PILLARS — "Specimen Slides"
   Circular lens cutouts with golden reticle overlays. Photos blur at rest,
   sharpen on hover (like focusing a microscope). Lab specimen tags below.
   Head block unchanged (left-aligned, emotional three beats + CTA). */

/* ---- Head block (left-aligned, like other section-heads) ---------- */
.pillars__head { max-width: 720px; margin-bottom: clamp(44px, 5.5vw, 72px); }

.pillars__h {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 500; font-style: italic;
  color: var(--navy); letter-spacing: -0.02em; line-height: 1.08;
  margin: 16px 0 20px;
  font-variation-settings: "opsz" 72, "SOFT" 70;
}

.pillars__beat {
  font-family: var(--font-display);
  color: var(--ink); line-height: 1.5;
  margin: 0 0 10px; max-width: 48ch;
  font-variation-settings: "opsz" 48, "SOFT" 50;
}
.pillars__beat--setup { font-size: clamp(1.02rem, 1.5vw, 1.15rem); font-weight: 400; }
.pillars__beat--list  { font-size: clamp(0.98rem, 1.4vw, 1.1rem);  font-weight: 400; opacity: 0.75; }
.pillars__beat--voice {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-style: italic; font-weight: 500; color: var(--navy);
  margin-top: 14px; max-width: 32ch;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 60, "SOFT" 70;
}

.pillars__cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px; padding: 12px 24px;
  background: var(--gold); color: var(--navy);
  border-radius: 999px;
  font-family: var(--font-body); font-weight: 500;
  font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase;
  transition: transform .25s cubic-bezier(0.23, 1, 0.32, 1), background .25s;
}
.pillars__cta svg { transition: transform .3s cubic-bezier(0.23, 1, 0.32, 1); }
.pillars__cta:hover { background: #d6b25c; transform: translateY(-1px); }
.pillars__cta:hover svg { transform: translateX(3px); }
.pillars__cta:active { transform: scale(0.97); transition-duration: 100ms; }

/* ---- Stagger reveal ---- */
.js .pillars__head .pillars__beat,
.js .pillars__head .pillars__cta,
.js .pillars__head .pillars__h {
  opacity: 0; transform: translateY(10px);
  transition: opacity .8s cubic-bezier(0.22, 0.7, 0.2, 1) var(--d, 0s),
              transform .8s cubic-bezier(0.22, 0.7, 0.2, 1) var(--d, 0s);
}
.js .pillars__head.is-in .pillars__beat,
.js .pillars__head.is-in .pillars__cta,
.js .pillars__head.is-in .pillars__h { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .pillars__head .pillars__beat, .pillars__head .pillars__cta, .pillars__head .pillars__h {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}

/* ======================== SPECIMEN SLIDE GRID ======================== */
.pillars__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.pillar {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0; border: 0;
}
.pillar:first-child { border-left: 0; }

/* ---- Lens (circular photo cutout) ---- */
.pillar__lens-wrap {
  position: relative;
  width: clamp(130px, 13vw, 180px); aspect-ratio: 1;
}

.pillar__lens {
  position: relative; width: 100%; height: 100%;
  border-radius: 50%; overflow: hidden;
  background: var(--ivory-2);
  border: 1px solid rgba(15, 44, 74, .08);
  box-shadow: inset 0 2px 12px rgba(15, 44, 74, .07), 0 1px 0 rgba(15, 44, 74, .03);
}
.pillar__lens::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(201, 162, 75, .18); z-index: 4; pointer-events: none;
}

.pillar__lens img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  transition: filter .6s cubic-bezier(.22, .7, .2, 1);
}

.pillar:nth-child(1) .pillar__lens img { object-position: 50% 65%; }
.pillar:nth-child(2) .pillar__lens img { object-position: 55% 45%; }
.pillar:nth-child(3) .pillar__lens img { object-position: 55% 95%; }
.pillar:nth-child(4) .pillar__lens img { object-position: 35% 55%; }

/* Glass highlight reflection */
.pillar__glass {
  position: absolute; top: 10%; left: 16%; width: 32%; height: 22%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, .22), transparent 70%);
  border-radius: 50%; z-index: 4; pointer-events: none;
}

/* Magnification label */
.pillar__mag {
  position: absolute; z-index: 5; bottom: 14%; right: 16%;
  font-family: var(--font-body); font-size: .65rem; font-weight: 500;
  letter-spacing: .1em; color: rgba(138, 106, 42, .4);
  transition: color .4s;
}
.pillar:hover .pillar__mag { color: rgba(138, 106, 42, .75); }

/* ---- Reticle overlay (crosshairs + rings + ticks) ---- */
.pillar__reticle { position: absolute; inset: 0; z-index: 3; pointer-events: none; }

.pillar__cross-h, .pillar__cross-v { position: absolute; background: rgba(201, 162, 75, .22); }
.pillar__cross-h { width: 100%; height: 0.5px; top: 50%; left: 0; }
.pillar__cross-v { width: 0.5px; height: 100%; left: 50%; top: 0; }

.pillar__ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  border-radius: 50%; border: 0.5px solid rgba(201, 162, 75, .18);
}
.pillar__ring--outer { width: 70%; height: 70%; }
.pillar__ring--inner { width: 35%; height: 35%; border-color: rgba(201, 162, 75, .22); }

.pillar__tick { position: absolute; background: rgba(201, 162, 75, .28); }
.pillar__tick--t { width: 0.5px; height: 8px; top: 8%; left: calc(50% - 0.25px); }
.pillar__tick--b { width: 0.5px; height: 8px; bottom: 8%; left: calc(50% - 0.25px); }
.pillar__tick--l { height: 0.5px; width: 8px; left: 8%; top: calc(50% - 0.25px); }
.pillar__tick--r { height: 0.5px; width: 8px; right: 8%; top: calc(50% - 0.25px); }

/* ---- Focus ring (slowly rotating outer ring) ---- */
.pillar__focus-ring {
  position: absolute; inset: -5px; border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: rgba(201, 162, 75, .18);
  border-right-color: rgba(201, 162, 75, .18);
  pointer-events: none;
}
.pillar:nth-child(1) .pillar__focus-ring { animation: pillar-rot 10s linear infinite; }
.pillar:nth-child(2) .pillar__focus-ring { animation: pillar-rot 12s linear infinite reverse; }
.pillar:nth-child(3) .pillar__focus-ring { animation: pillar-rot 9s linear infinite; }
.pillar:nth-child(4) .pillar__focus-ring { animation: pillar-rot 14s linear infinite reverse; }
@keyframes pillar-rot { to { transform: rotate(360deg); } }

/* ---- Connector line (lens → tag) ---- */
.pillar__connector {
  display: block; width: 0.5px; height: 20px;
  background: rgba(201, 162, 75, .22);
}

/* ---- Specimen tag (text card below the lens) ---- */
.pillar__tag {
  position: relative;
  background: var(--ivory-2);
  border: 0.5px solid rgba(15, 44, 74, .07);
  border-radius: 10px;
  padding: 18px 16px 16px;
  width: 100%;
  transition: border-color .4s, box-shadow .5s var(--ease);
}
.pillar__tag::before {
  content: ''; position: absolute; top: -0.5px; left: 18px; right: 18px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 75, .35), transparent);
  border-radius: 1px;
}
.pillar:hover .pillar__tag {
  border-color: rgba(201, 162, 75, .35);
  box-shadow: 0 12px 32px rgba(15, 44, 74, .06);
}

.pillar__tag-num {
  font-family: var(--font-display); font-style: italic;
  font-size: 1rem; color: var(--gold-deep);
  margin-bottom: 8px; display: block;
}

.pillar__tag h3 {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 500;
  color: var(--navy); margin-bottom: 8px;
  font-variation-settings: "opsz" 48, "SOFT" 50;
}

.pillar__tag p {
  font-size: var(--fs-small); color: var(--ink); opacity: .72;
  max-width: 26ch; margin: 0 auto; line-height: 1.6;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .pillars__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}
@media (max-width: 560px) {
  .pillars__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .pillar__lens-wrap { width: clamp(100px, 30vw, 140px); }
  .pillar__tag { padding: 14px 12px 12px; }
  .pillar__tag h3 { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pillar__focus-ring { animation: none !important; }
  .pillar__lens img { filter: none !important; transition: none !important; }
}


/* ===== sections/23-services-preview.css ===== */
/* SECTION · HOME / 04 · SERVICES (CONDENSED PREVIEW)
   A short, scannable services index. Chips jump to the services page;
   the compact 2-column grid lists every service. No search here —
   the live search lives on services.html (css/sections/44-svc-search.css). */

.svc__head { max-width: 720px; margin-bottom: 0; }   /* chips sit close under the intro line */
.svc__head h2 { margin: 10px 0 10px; }
.svc__head p  { color: rgba(247, 242, 231, .75); font-size: var(--fs-body); }

/* ---- Patient-intent chips (anchor links to services.html#id) ---- */
.svc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 32px; }
.svc-chips .chip {
  display: inline-flex; align-items: center; min-height: 36px;
  font-size: .72rem; letter-spacing: .08em; font-weight: 500;
  padding: 9px 16px; border-radius: 999px;
  background: transparent; color: var(--ivory);
  border: 0.5px solid rgba(247, 242, 231, .22);
  transition: background .2s, border-color .2s, color .2s, transform .15s cubic-bezier(0.23, 1, 0.32, 1);
}
.svc-chips .chip:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(201, 162, 75, .1);
  box-shadow: 0 0 0 1px rgba(201, 162, 75, .08);
}
.svc-chips .chip:active { transform: scale(0.97); }

/* ---- Compact 2-column grid of every service ---- */
.svc-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 0.5px solid var(--line-dark);
}
.svc-grid > li { border-bottom: 0.5px solid var(--line-dark); }
.svc-grid > li:nth-child(odd) { border-right: 0.5px solid var(--line-dark); }
.svc-grid > li > a {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 24px; align-items: baseline;
  padding: 14px clamp(14px, 2vw, 22px);
  transition: background .25s;
}
/* Hover / keyboard focus: a clear gold tint, a gold bar on the left, gold title and a visible "Learn more" */
.svc-grid > li > a::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gold); transform: scaleY(0); transform-origin: top;
  transition: transform .3s var(--ease);
}
.svc-grid > li > a:hover, .svc-grid > li > a:focus-visible { background: rgba(201, 162, 75, .14); outline: none; }
.svc-grid > li > a:hover::before, .svc-grid > li > a:focus-visible::before { transform: scaleY(1); }
.svc-grid > li > a:hover strong, .svc-grid > li > a:focus-visible strong { color: var(--gold); }
.svc-grid > li > a:hover span, .svc-grid > li > a:focus-visible span { color: var(--ivory); }
.svc-grid strong {
  grid-column: 1; font-family: var(--font-display); font-weight: 500; font-size: 1.05rem;
  color: var(--ivory); letter-spacing: -0.01em; transition: color .25s;
}
.svc-grid span {
  grid-column: 1; font-size: .82rem; color: rgba(247, 242, 231, .68); line-height: 1.5;
}
.svc-grid em {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  font-style: normal; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  color: var(--gold); white-space: nowrap;
  opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s;
}
.svc-grid > li > a:hover em, .svc-grid > li > a:focus-visible em { opacity: 1; transform: none; text-decoration: underline; text-underline-offset: 4px; }

/* ---- CTA band under the grid ---- */
.svc__more { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.svc__fallback { color: rgba(247, 242, 231, .72); font-size: .88rem; }
.svc__fallback a { color: var(--gold); border-bottom: 1px solid currentColor; }

@media (max-width: 720px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-grid > li:nth-child(odd) { border-right: 0; }
  .svc-grid > li > a { grid-template-columns: 1fr; }
  .svc-grid em { grid-column: 1; grid-row: auto; margin-top: 4px; opacity: 1; transform: none; }
}


/* ===== sections/24-tech-strip.css ===== */
/* SECTION · HOME / 05 · TECH STRIP */
.tech-strip { background: var(--ivory-2); border-block: 0.5px solid var(--line-light); }
.tech-strip__list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding-block: 26px; }
.tech-strip__list li { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; color: var(--navy); display: inline-flex; align-items: center; gap: 12px; }
.tech-strip__list span { color: var(--gold); font-size: .6rem; }
@media (max-width: 700px) { .tech-strip__list { justify-content: center; } }


/* ===== sections/25-team-preview.css ===== */
/* SECTION · HOME / 06 · TEAM PREVIEW (also reused by our-team profile cards)
   Portraits share a 4:5 frame; each card tunes its own face position via
   `--pos` (CSS variable → object-position). Keep each doctor's face at the
   same vertical anchor so the three cards sit in rhythm. */
.team-preview__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.doc { position: relative; background: var(--navy-2); border: 0.5px solid var(--line-dark); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; }
.doc__portrait { display: block; aspect-ratio: 4 / 5; border-radius: 0; border: 0; background: radial-gradient(70% 60% at 50% 38%, #1b3a5e, #0d2037); overflow: hidden; }
.doc__portrait img { object-fit: cover; object-position: var(--pos, 50% 25%); }
.doc:nth-child(1) .doc__portrait img { --pos: 52% 30%; transform: scale(1.10) translateY(3%); }
.doc:nth-child(2) .doc__portrait img { --pos: 55% 22%; transform: scale(1.15) translateY(2%); }
.doc:nth-child(3) .doc__portrait img { --pos: 50% 25%; }
.doc__portrait::before, .doc__portrait::after { /* monogram shown until a portrait photo exists: "32" orange + "T" blue, as in the logo */
  display: none; font-family: var(--font-display); font-size: 3.2rem; font-style: italic; letter-spacing: .04em; text-transform: none; padding: 0;
}
.doc__portrait::before { content: "32" !important; color: var(--logo-orange); }
.doc__portrait::after { content: "T" !important; color: var(--logo-blue); }
.doc__portrait.is-empty { display: flex; align-items: center; justify-content: center; }
.doc__portrait.is-empty::before, .doc__portrait.is-empty::after { display: block; }
.doc__body { padding: var(--pad-card); display: flex; flex-direction: column; gap: 0; }
.doc__role { font-size: var(--fs-eyebrow); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 10px; }
.doc h3 { font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; color: var(--ivory); }
.doc__quals { margin: 8px 0 16px; font-size: .78rem; font-style: italic; color: var(--slate); letter-spacing: .02em; line-height: 1.6; }
.doc__body > p:not([class]) { font-size: .875rem; line-height: 1.75; color: rgba(247, 242, 231, .76); display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.doc .link-arrow { align-self: flex-start; margin-top: 20px; }
.team-preview__note { margin-top: 44px; text-align: center; font-family: var(--font-display); font-style: italic; color: rgba(247, 242, 231, .72); font-size: 1.1rem; }
/* Below 1020px the cards stack and keep the 4:5 portrait frame (no landscape crop) */
@media (max-width: 1020px) { .team-preview__grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; } }

/* whole card is one tap target → profile on Our Team */
.doc h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.doc__portrait, .doc .link-arrow { position: relative; z-index: 2; }
.doc:hover { border-color: rgba(201, 162, 75, .5); }


/* ===== sections/26-stats.css ===== */
/* SECTION · HOME / 07 · STATS BAND */
.stats { padding-block: clamp(48px, 7vw, 88px); }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.stats__grid > div + div { border-left: 0.5px solid var(--line-light); }
.stats__num { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; color: var(--navy); line-height: 1.1; }
.stats__label { margin-top: 8px; font-size: var(--fs-eyebrow); letter-spacing: .32em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; }
@media (max-width: 560px) { .stats__label { letter-spacing: .16em; font-size: .6rem; } }


/* ===== sections/27-reviews.css ===== */
/* SECTION · HOME / 08 · REVIEWS
   All five reviews show at once as small square cards. The heading sits directly above the grid.
   Card size and type are matched to the doctor cards in 25-team-preview.css. */

.reviews { padding-block: clamp(56px, 7vw, 96px); }
.reviews .section-head { margin-bottom: 22px; }

/* Google badge: Google mark + five gold stars */
.g-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; margin-bottom: 20px;
  background: var(--navy-2); border: 0.5px solid var(--line-dark); border-radius: 999px;
  font-size: 0.82rem; color: rgba(247, 242, 231, .9); letter-spacing: .02em;
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.g-badge:hover { border-color: var(--gold); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(201, 162, 75, .12); }
.g-badge__g { flex: none; }
.g-badge__stars { color: var(--gold); letter-spacing: .15em; font-size: .8rem; }

/* The grid: five square cards in one row */
.reviews__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: stretch; }

.review {
  aspect-ratio: 1 / 1; margin: 0; padding: 20px;
  background: var(--navy-2); border: 0.5px solid var(--line-dark); border-radius: var(--radius-card);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s var(--ease);
}
.review:hover { transform: translateY(-3px); border-color: rgba(201, 162, 75, .3); box-shadow: 0 16px 40px rgba(0, 0, 0, .18); }
.review.is-open { aspect-ratio: auto; }
.review__stars { color: var(--gold); letter-spacing: .15em; font-size: .68rem; margin-bottom: 10px; }
.review blockquote {
  font-family: var(--font-display); font-style: italic; font-size: .84rem; line-height: 1.55; color: var(--ivory);
  flex: 1; border: 0;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden;
}
.review.is-open blockquote { display: block; overflow: visible; }
.review__more {
  align-self: flex-start; margin-top: 8px; padding: 0;
  font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  color: var(--gold); border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.review__more:hover { border-bottom-color: var(--gold); }
.review__more[hidden] { display: none; }
.review figcaption { margin-top: auto; padding-top: 12px; border-top: 0.5px solid var(--line-dark); display: flex; align-items: center; gap: 10px; }
.review__avatar {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); border: 0.5px solid var(--gold); color: var(--gold);
  font-size: .58rem; letter-spacing: .08em; font-weight: 500; flex: none;
}
.review figcaption b { display: block; font-weight: 500; font-size: .78rem; color: var(--ivory); }
.review figcaption small { display: block; font-size: .62rem; color: var(--slate); }

.reviews__link { margin-top: 32px; text-align: center; }

/* Tablet: 3 cards top row, 2 wider cards bottom — gives the long quotes more room */
@media (max-width: 1100px) {
  .reviews__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .reviews__grid > .review:nth-child(-n+3) { grid-column: span 2; }
  .reviews__grid > .review:nth-child(n+4) { grid-column: span 3; }
}
/* Phone: stacked, no forced square */
@media (max-width: 640px) {
  .reviews__grid { grid-template-columns: 1fr; }
  .reviews__grid > .review { grid-column: auto; aspect-ratio: auto; }
  .review blockquote { -webkit-line-clamp: 8; font-size: .92rem; }
}


/* ===== sections/28-resources.css ===== */
/* SECTION · HOME / 09 · RESOURCES */
.resources { position: relative; overflow: hidden; }
.resources::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: url('../img/resources-bg.jpg') center / cover no-repeat;
  opacity: 0.06;
}
.resources > .container { position: relative; z-index: 1; }
.resources__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.resources__grid--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1100px) { .resources__grid--4 { grid-template-columns: repeat(4, 1fr); } }
.res-card {
  display: flex; flex-direction: column; position: relative;
  background: var(--ivory-2); border: 0.5px solid var(--line-light); border-radius: var(--radius-card);
  padding: calc(var(--pad-card) + 8px); border-left: 3px solid transparent;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s, border-left-color .4s;
}
.res-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(15, 44, 74, .10); border-color: rgba(201, 162, 75, .6); border-left-color: var(--gold); }
.res-card__no { font-family: var(--font-display); font-style: italic; color: var(--gold-deep); font-size: 1.05rem; margin-bottom: 22px; }
.res-card h3 { font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; color: var(--navy); margin-bottom: 12px; }
.res-card p { font-size: var(--fs-small); opacity: .8; margin-bottom: 24px; flex: 1; max-width: 52ch; }
.res-card .link-arrow { align-self: flex-start; }
@media (max-width: 760px) { .resources__grid { grid-template-columns: 1fr; } }
.resources__more { margin-top: 40px; text-align: center; }


/* ===== sections/29-book-cta.css ===== */
/* SECTION · BOOK CTA (home + reused) */
.book-cta { text-align: center; overflow: hidden; }
.book-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 50% 0%, rgba(28, 78, 137, .35), transparent 70%); pointer-events: none; }
.book-cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.book-cta h2 { margin: 20px 0 16px; font-size: clamp(2rem, 4vw, 3rem); }
.book-cta p { max-width: 52ch; margin-bottom: 22px; color: rgba(247, 242, 231, .8); }
.book-cta__reach { font-size: .82rem !important; color: var(--slate) !important; max-width: 60ch !important; margin-bottom: 30px !important; }
.book-cta__reach strong { color: var(--ivory); font-weight: 500; }
.book-cta .btn--lg { padding: 18px 32px; font-size: 0.9rem; letter-spacing: .08em; }
.book-cta__promise { margin: 16px 0 0 !important; font-size: 0.78rem !important; letter-spacing: 0; color: var(--slate) !important; font-style: italic; max-width: none !important; }
.book-cta__facts { margin-top: clamp(48px, 6vw, 80px); width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 0.5px solid var(--line-dark); }
.book-cta__facts > div { padding: 28px 18px 0; }
.book-cta__facts > div + div { border-left: 0.5px solid var(--line-dark); }
.book-cta dt { font-size: var(--fs-eyebrow); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 8px; }
.book-cta dd { font-size: var(--fs-small); color: rgba(247, 242, 231, .8); }
@media (max-width: 760px) { .book-cta__facts { grid-template-columns: 1fr; } .book-cta__facts > div + div { border-left: 0; border-top: 0.5px solid var(--line-dark); margin-top: 24px; } }


/* ===== sections/40-page-hero.css ===== */
/* SECTION · PAGE HERO (inner pages) — navy band with eyebrow, h1, lead */
.page-hero { background: var(--navy); color: var(--ivory); padding-block: clamp(36px, 4.5vw, 60px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 90% at 85% 0%, rgba(28, 78, 137, .38), transparent 70%), radial-gradient(35% 60% at 0% 100%, rgba(201, 162, 75, .07), transparent 70%); pointer-events: none; }
.page-hero[data-section="services-intro"]::after { content: ""; position: absolute; top: -20%; right: 0; bottom: -20%; width: 55%; background: url('../img/services-page/smile-hero.jpg') center 62% / cover no-repeat; opacity: 0.28; mask-image: linear-gradient(to right, transparent 5%, black 50%); -webkit-mask-image: linear-gradient(to right, transparent 5%, black 50%); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--ivory); font-size: var(--fs-h1); margin-top: 20px; max-width: 22ch; font-weight: 500; }
.page-hero h1 em { font-style: italic; }
.page-hero__lead { margin-top: 22px; max-width: 58ch; color: rgba(247, 242, 231, .8); font-size: 1.0625rem; }
.page-hero__meta { margin-top: 22px; font-size: .75rem; letter-spacing: .1em; color: var(--slate); display: flex; gap: 14px; flex-wrap: wrap; }
.crumbs { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--gold); }

/* CTA BAND (end of inner pages) */
.cta-band { background: var(--navy); color: var(--ivory); text-align: center; padding-block: clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 50% 0%, rgba(28, 78, 137, .35), transparent 70%); pointer-events: none; }
.cta-band .container { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-band h2 { color: var(--ivory); margin: 18px 0 14px; }
.cta-band p { max-width: 52ch; color: rgba(247, 242, 231, .8); margin-bottom: 30px; }
.cta-band .btn-row { justify-content: center; }


/* ===== sections/41-team-profiles.css ===== */
/* SECTION · TEAM / 02 · PROFILES */
.profiles__jump { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; padding-bottom: 28px; border-bottom: 0.5px solid var(--line-light); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--slate); }
.profiles__jump a { color: var(--navy); font-weight: 500; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.profile { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(28px, 5vw, 80px); padding-block: clamp(48px, 7vw, 96px); border-bottom: 0.5px solid var(--line-light); scroll-margin-top: calc(var(--nav-h) + 8px); }
.profile:last-child { border-bottom: 0; padding-bottom: 0; }
/* Portrait stays put while the text scrolls past it (no sticky). Every doctor uses the same 4:5 frame. */
.profile__portrait { aspect-ratio: 4 / 5; align-self: start; background: radial-gradient(70% 60% at 50% 38%, #1b3a5e, #0d2037); border: 0; overflow: hidden; }
.profile__portrait img { object-fit: cover; width: 100%; height: 100%; }
#neoh .profile__portrait img { object-position: 52% 30%; transform: scale(1.10) translateY(3%); }
#eunice .profile__portrait img { object-position: 55% 28%; }
#fong .profile__portrait img { object-position: 50% 25%; }
.profile__portrait::before, .profile__portrait::after { display: none; font-family: var(--font-display); font-style: italic; font-size: 4rem; letter-spacing: .04em; text-transform: none; padding: 0; }
.profile__portrait::before { content: "32" !important; color: var(--logo-orange); }
.profile__portrait::after { content: "T" !important; color: var(--logo-blue); }
.profile__portrait.is-empty { display: flex; align-items: center; justify-content: center; }
.profile__portrait.is-empty::before, .profile__portrait.is-empty::after { display: block; }
.profile__body h2 { margin: 16px 0 10px; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.profile__quals { font-size: .8125rem; font-style: italic; letter-spacing: .02em; color: var(--gold-deep); margin-bottom: 26px; }
.profile__body p:not([class]) { max-width: 66ch; }
.profile__body p:not([class]) + p { margin-top: 1.1em; }
.profile__body strong { color: var(--navy); font-weight: 650; }
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; } .profile__portrait { max-width: 340px; } }


/* ===== sections/42-services-page.css ===== */
/* SECTION · SERVICES PAGE — offer map (4 situations) → 4 service groups → what happens next.
   Every group uses the same pattern so the page reads as one system.
   Photos are never cropped (original aspect ratio). */
.photo { margin: 0; }
.photo picture, .photo img { display: block; width: 100%; height: auto; }   /* original aspect ratio, no object-fit */
.photo img { border-radius: var(--radius-card); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.chips li { font-size: .78rem; letter-spacing: .04em; font-weight: 500; color: var(--navy); border: 0.5px solid rgba(15, 44, 74, .3); border-radius: 999px; padding: 8px 14px; }
.chips--dark li { color: var(--ivory); border-color: rgba(247, 242, 231, .3); }

/* ---- 1 · Offer map: four cards, one per patient situation ---- */
.offer-map__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.offer-map { padding-block: clamp(56px, 6vw, 84px); }
.offer-map .section-head { margin-bottom: 28px; }
.offer-map__pick { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--gold-deep); margin-top: 12px; }
.offer-card {
  display: flex; flex-direction: column; gap: 10px; padding: 22px;
  background: var(--ivory); border: 0.5px solid var(--line-light); border-radius: var(--radius-card);
  color: var(--ink); transition: border-color .3s, transform .3s var(--ease), box-shadow .3s var(--ease);
}
.offer-card:hover, .offer-card:focus-visible { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(15, 44, 74, .1); outline: none; }
/* The situation line is the headline of each card; the group name is the small label under it */
.offer-card__eyebrow { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; line-height: 1.22; color: var(--navy); }
.offer-card h3 { font-family: var(--font-body); font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); line-height: 1.5; }
.offer-card ul { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.offer-card li { position: relative; padding-left: 16px; font-size: .9rem; line-height: 1.45; }
.offer-card li::before { content: ""; position: absolute; left: 0; top: .5em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.offer-card__more { margin-top: auto; padding-top: 14px; border-top: 0.5px solid var(--line-light); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--navy); transition: color .25s; }
.offer-card:hover .offer-card__more { color: var(--gold-deep); }

/* ---- 2 · Service groups ---- */
.offer-group { scroll-margin-top: calc(var(--nav-h) + 8px); padding-block: clamp(72px, 9vw, 120px); }
.offer-group--dark { background: var(--navy); color: var(--ivory); }
.offer-group--light { background: var(--ivory-2); color: var(--ink); }
.offer-group--dark h2 { color: var(--ivory); }
.offer-group--light h2 { color: var(--navy); }
.offer-group__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-bottom: clamp(36px, 5vw, 56px); }
.offer-group__head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 16px 0 16px; }
.offer-group__lead { font-size: 1.05rem; line-height: 1.7; max-width: 50ch; }
.offer-group--dark .offer-group__lead { color: rgba(247, 242, 231, .82); }
.offer-group--light .offer-group__lead { color: rgba(26, 34, 48, .85); }

.offer-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.offer-item {
  scroll-margin-top: calc(var(--nav-h) + 16px); padding: clamp(20px, 2.2vw, 28px);
  border: 0.5px solid; border-radius: var(--radius-card);
  transition: border-color .25s, transform .25s var(--ease), background .25s;
}
.offer-group--dark .offer-item { background: var(--navy-2); border-color: var(--line-dark); }
.offer-group--light .offer-item { background: var(--ivory); border-color: var(--line-light); }
.offer-item:hover { border-color: var(--gold); transform: translateY(-2px); }
.offer-item h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; line-height: 1.3; margin-bottom: 10px; }
.offer-group--dark .offer-item h3 { color: var(--ivory); }
.offer-group--light .offer-item h3 { color: var(--navy); }
.offer-item p { font-size: .9rem; line-height: 1.65; }
.offer-group--dark .offer-item p { color: rgba(247, 242, 231, .75); }
.offer-group--light .offer-item p { color: rgba(26, 34, 48, .8); }
.offer-group__cta { margin: 36px 0 0; }
/* Stacked photos in the right column of a group header */
.offer-group__photos { display: flex; flex-direction: column; gap: clamp(12px, 2vw, 20px); }
/* Supporting visual inside a group: kept to a modest width so the service cards stay the focus */
.offer-group__visual { max-width: 560px; margin: 40px auto 0; }
.offer-group__visual img { display: block; width: 100%; height: auto; border-radius: var(--radius-card); }
/* Bullet lists inside a service card: small gold dots, same as the map cards */
.offer-item ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.offer-item li { position: relative; padding-left: 16px; font-size: .9rem; line-height: 1.5; }
.offer-item li::before { content: ""; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.offer-group--dark .offer-item li { color: rgba(247, 242, 231, .85); }
.offer-group--light .offer-item li { color: rgba(26, 34, 48, .85); }
.offer-group--dark .link-arrow { color: var(--gold); }

/* ---- 3 · What happens next ---- */
.how__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.how__steps li { border-top: 0.5px solid var(--line-light); padding-top: 22px; }
.how__n { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--gold-deep); margin-bottom: 14px; }
.how__steps h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.how__steps p { font-size: .95rem; line-height: 1.65; max-width: 40ch; }

.cta-band__num { margin: 16px 0 0 !important; font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .04em; color: var(--ivory) !important; }

@media (max-width: 1020px) {
  .offer-map__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .offer-map__grid, .offer-list, .how__steps { grid-template-columns: 1fr; }
  .offer-group__head { grid-template-columns: 1fr; }
}


/* ===== sections/43-contact.css ===== */
/* SECTION · CONTACT / 02 · DETAILS */
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact__card { padding: calc(var(--pad-card) + 10px); display: flex; flex-direction: column; gap: 14px; }
.contact__card h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); }
.contact__card p { flex: 1; }
.contact__card p a { color: var(--blue); border-bottom: 1px solid currentColor; }
.contact__card .link-arrow { align-self: flex-start; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }


/* ===== sections/44-svc-search.css ===== */
/* SECTION · SERVICES / 01b · SEARCH BAND
   Sits right under the services hero. Suggestions drop down from the input;
   choosing one smooth-scrolls to that service's tile and flashes it gold. */

.svc-search-band {
  background: var(--ivory-2);
  padding: 24px 0 30px;
  border-bottom: 0.5px solid var(--line-light);
}
.svc-search-band .svc-search { position: relative; max-width: 760px; margin: 0 auto; }

/* Search field — pill */
.svc-search__field {
  display: flex; align-items: center; gap: 12px;
  padding: 0 16px 0 20px; height: 56px;
  background: var(--ivory); border: 0.5px solid var(--line-light);
  border-radius: 999px; color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.svc-search__field:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 75, .18); }
.svc-search__icon { color: var(--gold-deep); flex: none; }
.svc-search__field input {
  flex: 1; min-width: 0; background: transparent; border: 0; outline: none;
  color: var(--ink); font: inherit; font-size: .95rem; letter-spacing: .01em;
  padding: 10px 0;
}
.svc-search__field input::placeholder { color: var(--slate); }
.svc-search__hint { display: none; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 6px; background: rgba(15, 44, 74, .06); border: 0.5px solid var(--line-light); font-family: var(--font-body); font-size: .72rem; color: var(--slate); }
@media (min-width: 760px) { .svc-search__hint { display: inline-flex; } }

/* Suggestion dropdown */
.svc-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20;
  max-height: 420px; overflow-y: auto;
  background: var(--ivory); border: 0.5px solid var(--line-light);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 60px rgba(15, 44, 74, .18);
  padding: 6px;
}
.svc-suggest[hidden] { display: none; }
.svc-suggest__item {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center;
  padding: 12px 14px; border-radius: 10px; cursor: pointer;
  transition: background .18s var(--ease);
}
.svc-suggest__item:hover, .svc-suggest__item.is-focused { background: rgba(201, 162, 75, .08); }
.svc-suggest__text { min-width: 0; }
.svc-suggest__name { color: var(--navy); font-weight: 500; font-size: .95rem; font-family: var(--font-body); }
.svc-suggest__name mark { background: transparent; color: var(--gold-deep); font-weight: 600; }
.svc-suggest__hint { color: var(--slate); font-size: .78rem; margin-top: 2px; line-height: 1.4; }
.svc-suggest__cta { flex: none; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--gold-deep); border-bottom: 1px solid var(--gold); padding-bottom: 2px; white-space: nowrap; }
.svc-suggest__empty {
  padding: 20px 16px; color: var(--slate); font-family: var(--font-display); font-style: italic;
}
.svc-suggest__empty a { color: var(--gold-deep); border-bottom: 1px solid currentColor; }

/* Target-highlight flash — plays once after a search jump so the user sees
   WHERE they landed. Added as .is-search-target by js/55-services-search.js. */
.is-search-target {
  animation: svc-flash 2.4s cubic-bezier(0.22, 0.7, 0.2, 1);
}
@keyframes svc-flash {
  0%   { box-shadow: 0 0 0 0 rgba(201, 162, 75, 0.45), inset 0 0 0 2px rgba(201, 162, 75, 0.6); }
  25%  { box-shadow: 0 0 0 12px rgba(201, 162, 75, 0.15), inset 0 0 0 2px rgba(201, 162, 75, 0.8); }
  100% { box-shadow: 0 0 0 0 rgba(201, 162, 75, 0), inset 0 0 0 2px rgba(201, 162, 75, 0); }
}
/* On <details> rows (which have their own border) make the flash cleaner */
details.is-search-target summary { background: rgba(201, 162, 75, 0.06); }

/* Close the gap between the search band and the first service group */
.svc-search-band + .offer-group { padding-top: clamp(28px, 3.5vw, 48px); }


/* ===== sections/50-faq.css ===== */
/* SECTION · FAQ / 02 · LIST */
.faq__layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__side { position: sticky; top: calc(var(--nav-h) + 28px); }
.faq__nav { margin-top: 22px; border-left: 0.5px solid var(--line-light); }
.faq__nav a { display: block; padding: 8px 0 8px 18px; font-size: .84rem; color: var(--ink); opacity: .75; transition: opacity .2s, color .2s; position: relative; }
.faq__nav a:hover { opacity: 1; color: var(--navy); }
.faq__search { display: flex; align-items: center; gap: 14px; background: var(--ivory); border: 0.5px solid var(--line-light); border-radius: var(--radius-control); padding: 0 18px; color: var(--slate); transition: border-color .25s, box-shadow .25s; }
.faq__search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 75, .18); }
.faq__search input { flex: 1; font: inherit; font-size: .95rem; padding: 16px 0; border: 0; background: transparent; color: var(--ink); outline: none; }
.faq__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.chip { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; padding: 8px 14px; border-radius: 999px; border: 0.5px solid rgba(15, 44, 74, .25); color: var(--navy); transition: background .25s, color .25s; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.faq-group { padding-top: 44px; scroll-margin-top: calc(var(--nav-h) + 8px); }
.faq-group h2 { font-size: 1.6rem; margin-bottom: 16px; }
.faq-item { border-top: 0.5px solid var(--line-light); }
.faq-group .faq-item:last-child { border-bottom: 0.5px solid var(--line-light); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 500; color: var(--navy); line-height: 1.5; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 200; color: var(--gold-deep); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 44px 24px 0; max-width: 70ch; opacity: .85; }
.faq__empty { margin-top: 34px; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; }
[hidden] { display: none !important; }
@media (max-width: 900px) { .faq__layout { grid-template-columns: 1fr; } .faq__side { display: none; } }


/* ===== sections/60-guides.css ===== */
/* SECTION · GUIDES (patient-resource articles) — hero, article body, mid-article CTA */
.article { padding-block: clamp(48px, 7vw, 96px); }
.article .container--narrow { display: block; }
.article-cta { margin-block: 2.4em; background: var(--navy); color: var(--ivory); border-radius: var(--radius-card); padding: clamp(24px, 4vw, 40px); }
.article-cta p { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.5; color: var(--ivory); margin-bottom: 22px; }
.article-xlink { display: block; border: 0.5px solid var(--line-light); border-radius: var(--radius-card); padding: 20px 24px; background: var(--ivory); transition: border-color .3s, transform .3s var(--ease); }
.article-xlink:hover { border-color: var(--gold); transform: translateY(-2px); }
.article-xlink strong { color: var(--navy); }
.faq-block h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--navy); margin-top: 1.6em; }
.faq-block h3 + p { margin-top: .5em; }
/* Compact guide FAQ: collapsed accordion (site .faq-item pattern), smaller type, less height */
.guide-faq { margin-top: 2.4em; }
.guide-faq h2 { font-size: 1.35rem; margin: 0 0 6px; }
.guide-faq .faq-item { border-top: 0.5px solid var(--line-light); }
.guide-faq .faq-item:last-child { border-bottom: 0.5px solid var(--line-light); }
.guide-faq .faq-item summary { padding: 13px 34px 13px 0; font-size: .95rem; }
.guide-faq .faq-item summary::after { font-size: 1.2rem; }
.guide-faq .faq-item p { padding: 0 34px 14px 0; margin: 0; font-size: .9rem; line-height: 1.6; }
/* Infographic: full column width, true proportions (no crop, height follows the ratio).
   darken keeps the artwork's cream background from showing as a box on the ivory page;
   the ink, numbers and drawings are darker than the page, so they still show. Do not
   add opacity/transform/filter to the figure: those would isolate the blend. */
.infographic { margin: 2.2em 0 2.6em; }
.infographic img { display: block; width: 100%; height: auto; mix-blend-mode: darken; }

/* Triage table: urgency words are coloured so the level reads at a glance.
   today = terracotta, this week = brass, book = plain navy. */
.triage .urg { font-weight: 600; }
.triage .urg--today { color: var(--terracotta); }
.triage .urg--week { color: var(--brass-text); }
.triage .urg--book { color: var(--navy); }
.table-alert { margin-top: 1.4em; padding: 14px 18px; border-left: 3px solid var(--terracotta); background: rgba(169, 78, 50, .06); border-radius: 0 var(--radius-card) var(--radius-card) 0; color: var(--ink); }
.table-alert strong { color: var(--terracotta); font-weight: 600; }
.emergency-bar { background: #8c2f1f; color: #fff; text-align: center; font-size: .85rem; padding: 10px var(--gutter); letter-spacing: .03em; }
.emergency-bar a { font-weight: 600; margin-left: 8px; border-bottom: 1px solid currentColor; }


/* ===== sections/61-checklist.css ===== */
/* SECTION · GUIDE · CHECKLIST */
.tier { border: 0.5px solid var(--line-light); border-radius: var(--radius-card); background: var(--ivory); margin-bottom: 20px; overflow: hidden; }
.tier legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 18px 26px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.tier legend + * { clear: both; }
.tier--emergency legend { background: #b4442e; } .tier--monitor legend { background: #a8823a; } .tier--watch legend { background: var(--navy); color: var(--gold); }
.tier__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .8; }
.tier label { display: flex; gap: 16px; align-items: flex-start; padding: 16px 26px; cursor: pointer; border-top: 0.5px solid var(--line-light); transition: background .2s; }
.tier label:hover { background: rgba(15, 44, 74, .03); }
.tier input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin-top: 2px; border: 1px solid rgba(15, 44, 74, .4); border-radius: 5px; display: grid; place-content: center; background: var(--ivory-2); cursor: pointer; transition: background .2s, border-color .2s; }
.tier input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--ivory); border-bottom: 2px solid var(--ivory); transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .2s var(--ease); }
.tier input:checked { background: var(--navy); border-color: var(--navy); }
.tier input:checked::after { transform: rotate(-45deg) scale(1); }
.tier label span { font-size: .975rem; line-height: 1.55; }
.result { margin-top: 36px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-card); border: 1px solid var(--rb, #ddd7cf); background: var(--rbg, var(--ivory)); border-left: 4px solid var(--ra, var(--gold)); transition: background .4s, border-color .4s; }

/* With JS the result is a pop-up in the bottom-right corner, clear of the checklist column so
   it never covers the text being read. It fades in, fades out by itself after 10 seconds, or
   when the reader closes it. It sits above the WhatsApp button; on phones, above the Call bar.
   Without JS it stays as the plain panel above. */
.js .result {
  position: fixed; right: 24px; bottom: 98px; left: auto; top: auto; z-index: 950; margin: 0;
  width: min(300px, calc(100vw - 48px)); max-height: calc(100vh - 140px); overflow-y: auto;
  padding: 22px 22px 20px; box-shadow: 0 18px 50px rgba(15, 44, 74, .22);
  opacity: 0; visibility: hidden; transform: translateY(18px) scale(.96);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s, background .4s, border-color .4s;
}
.js .result.is-open {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .45s var(--ease), transform .5s var(--ease), visibility 0s, background .4s, border-color .4s;
}
.js .result__tag { margin-bottom: 8px; }
.js .result h3 { font-size: 1.2rem; padding-right: 26px; margin-bottom: 8px; }
.js .result p { font-size: .9rem; margin-bottom: 16px; }
@media (max-width: 760px) { .js .result { right: 16px; left: auto; bottom: 76px; width: min(300px, calc(100vw - 32px)); } }
.result__close { display: none; }
.js .result__close {
  display: grid; place-items: center; position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%; border: 0.5px solid var(--line-light); background: var(--ivory-2);
  color: var(--navy); font-size: 1.3rem; line-height: 1; cursor: pointer; transition: border-color .2s, color .2s;
}
.js .result__close:hover { border-color: var(--navy); }
.js .result__close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .js .result, .js .result.is-open { transform: none; transition: opacity .2s; }
}
.result[data-state="emergency"] { --rbg: #fbf1ee; --rb: #e3b5a8; --ra: #b4442e; }
.result[data-state="monitor"]   { --rbg: #fdf9ee; --rb: #e8d9a8; --ra: #a8823a; }
.result[data-state="watch"]     { --rbg: var(--ivory); --rb: #ddd7cf; --ra: var(--gold); }
.result__tag { display: inline-block; font-size: var(--fs-eyebrow); letter-spacing: .3em; text-transform: uppercase; font-weight: 600; color: var(--ra, var(--gold-deep)); margin-bottom: 12px; }
.result h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; color: var(--navy); margin-bottom: 10px; }
.result p { margin-bottom: 22px; max-width: 56ch; }
.checklist__note { margin: 28px 0; font-size: .875rem; opacity: .8; }
.checklist__about { padding: calc(var(--pad-card) + 8px); }
.checklist__about h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); margin-bottom: 12px; }


/* ===== sections/62-grinding.css ===== */
/* SECTION · GUIDE · GRINDING — side-by-side comparison */
.grind__h { text-align: center; margin: 12px 0 36px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.grind__compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.grind__col { padding: clamp(24px, 3vw, 40px); }
.grind__col > p:not(.eyebrow) { margin: 18px 0 20px; }
.grind__col .eyebrow { line-height: 1.5; align-items: flex-start; }
.grind__col .eyebrow::before { margin-top: .75em; }
.grind__col .ticks { display: grid; gap: 10px; }
.grind__col .ticks li { position: relative; padding-left: 24px; font-size: .94rem; }
.grind__col .ticks li::before { content: "◆"; position: absolute; left: 0; top: .25em; font-size: .6rem; color: var(--gold); }
.card--on-navy .eyebrow { color: var(--gold); }
.grind__sum { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.4; margin: 14px 0 18px; }
.grind__photo { margin: 28px 0 8px; }
.grind__photo img, .process-video video { display: block; width: 100%; height: auto; border-radius: var(--radius-card); }
.grind__photo figcaption, .process-video figcaption { margin-top: 10px; font-size: .85rem; color: var(--slate); }
.process-video { margin: 0 0 18px; }
.process-video video { background: var(--navy-deep); }
.process-steps { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--navy); }
@media (max-width: 800px) { .grind__compare { grid-template-columns: 1fr; } }


/* ===== sections/90-footer.css ===== */
/* SECTION · FOOTER */
.footer { padding-block: clamp(56px, 7vw, 96px) 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 64px); }
.footer__logo { font-family: var(--font-display); font-size: 2.6rem; font-weight: 500; color: var(--logo-orange); line-height: 1; }
.footer__logo span { color: var(--logo-blue); }
.footer__brand p { margin-top: 16px; color: rgba(247, 242, 231, 0.7); font-size: var(--fs-small); max-width: 34ch; }
.footer__reg { font-size: var(--fs-caption) !important; color: var(--slate) !important; }
.footer__quote { margin-top: 26px; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--gold); border: 0; padding: 0 0 0 16px; border-left: 2px solid rgba(201, 162, 75, .3); }
.footer h4 { font-family: var(--font-body); font-size: var(--fs-eyebrow); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 20px; }
.footer li { color: rgba(247, 242, 231, 0.72); font-size: var(--fs-small); margin-bottom: 11px; }
.footer a { transition: color .25s; }
.footer a:hover { color: var(--gold); }
.footer__bottom { margin-top: clamp(40px, 6vw, 72px); padding-top: 22px; border-top: 0.5px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: var(--fs-caption); color: var(--slate); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }


/* ===== sections/95-floating-actions.css ===== */
/* SECTION · FLOATING ACTIONS */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 900; width: 54px; height: 54px; border-radius: 50%; background: var(--whatsapp); display: grid; place-items: center; box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float:active { transform: scale(0.95); transition-duration: 100ms; }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: grid; grid-template-columns: 1fr 2fr; background: var(--navy); border-top: 0.5px solid var(--line-dark); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { padding: 16px; text-align: center; font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ivory); transition: transform .14s cubic-bezier(0.23, 1, 0.32, 1), background .2s; }
  .mobile-bar a + a { background: var(--gold); color: var(--navy); }
  /* Press feedback: tap-and-hold compresses the button so the UI feels responsive. */
  .mobile-bar a:active { transform: scale(0.97); }
  body { padding-bottom: 54px; }
}
