/* ============================================================
   Averon Health — landing stylesheet
   Concept: the page reads like the report itself — a typeset
   clinical document. Hairline rules, numbered sections, tabular
   data, ink + petrol as the two document inks. Nothing floats,
   nothing fades; typography and rules do the work.
   Brand tokens locked: petrol #1779a7 · sky #3999c7 · mist
   #eff9fd/#d8effa · lavender #ddd5f3 · ink #3c3d42 · paragraph
   #5a5a62 · porcelain #f8f8f8 · hairline #d1d5db
   Fonts: Marcellus · Manrope · Chivo Mono
   ============================================================ */

:root {
  /* Brand — locked */
  --petrol: #1779a7;
  --petrol-text: #1674a1;       /* same hue, AA at 9-11px on every light ground */
  --stroke-01: rgba(18, 38, 48, .22); /* card and plate edges */
  --stroke-02: rgba(18, 38, 48, .08); /* internal table rules */
  --sky: #3999c7;
  --mist: #eff9fd;
  --mist-2: #d8effa;
  --lavender: #ddd5f3;
  --ink: #3c3d42;
  --body: #5a5a62;
  --porcelain: #f8f8f8;
  --hairline: #d1d5db;

  /* Derived */
  --ink-deep: #23242a;          /* headlines on light */
  --deep: #0d222e;              /* dark plates (petrol-black) */
  --hairline-soft: #e2e5e9;     /* internal table rules */
  --muted: #70717b;             /* captions, meta — AA on white, porcelain and mist */
  --clay: #b1503f;              /* out-of-range data colour (report) */
  --paper: #ffffff;

  --font-serif: 'Marcellus', Georgia, serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Chivo Mono', 'SF Mono', monospace;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 44px);
  --sect: clamp(46px, 5.5vw, 78px);   /* full section spacing */
}

::selection { background: var(--mist-2); color: var(--ink-deep); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--porcelain);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul, figure, figcaption { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--petrol); text-decoration: none; }
button { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }

[data-app-link][aria-disabled="true"] {
  pointer-events: none;
  cursor: not-allowed;
  opacity: .58;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--petrol);
  outline-offset: 3px;
}

.serif { font-family: var(--font-serif); font-weight: 400; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section[id] { scroll-margin-top: 112px; }

/* ---------- Type utilities ---------- */
.mono-line {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Proof-mark: the one accent this document allows itself */
.mark { position: relative; white-space: nowrap; }
.mark::after {
  content: '';
  position: absolute;
  left: 0.02em; right: 0.04em; bottom: -0.07em;
  height: 1.5px;
  background: var(--petrol);
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 14px 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn-lg { padding: 16px 28px; font-size: 15.5px; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-solid { background: var(--petrol); color: #fff; }
.btn-solid:hover { background: #126285; color: #fff; }
.btn-ghost { border-color: var(--hairline); color: var(--ink-deep); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink-deep); }
.btn-light { background: #fff; color: var(--ink-deep); }
.btn-light:hover { background: var(--mist); }

.text-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-deep);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 3px;
  transition: border-color .18s ease, color .18s ease;
}
.text-link:hover { color: var(--petrol); border-color: var(--petrol); }

/* ---------- Announcement ---------- */
.announce {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--deep);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px var(--gutter);
}
.announce b { color: #fff; font-weight: 600; }
.announce a {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 1px;
  transition: border-color .18s ease;
}
.announce a:hover { border-color: #fff; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--porcelain);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.nav.is-scrolled {
  background: rgba(248, 248, 248, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--hairline-soft);
}
.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo { flex-shrink: 0; }
.nav-logo-svg { height: 38px; width: auto; display: block; color: var(--ink-deep); transition: color .25s ease; }

/* Over the dark hero the chrome shares its deep ink, then hands back */
.nav.on-dark, .nav.on-dark.is-scrolled {
  background: var(--deep);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.nav.on-dark .nav-logo-svg { color: #fff; }
.nav.on-dark .nav-trigger, .nav.on-dark .nav-link { color: rgba(255, 255, 255, 0.88); }
.nav.on-dark .nav-trigger:hover, .nav.on-dark .nav-link:hover { color: #fff; }
.nav.on-dark .btn-ghost { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.nav.on-dark .btn-ghost:hover { border-color: rgba(255, 255, 255, 0.6); }
.nav.on-dark .nav-burger span { background: #fff; }
body.menu-open .nav { background: var(--porcelain); }
body.menu-open .nav .nav-logo-svg { color: var(--ink-deep); }
body.menu-open .nav .nav-burger span { background: var(--ink-deep); }
.nav-links { display: flex; align-items: center; gap: 6px; margin-inline: auto; }
.nav-trigger, .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-deep);
  padding: 10px 14px;
  white-space: nowrap;
  transition: color .15s ease;
}
.nav-trigger svg, .nav-drop-btn .nd-caret {
  width: 10px;
  height: 6px;
  opacity: .55;
  transition: transform .18s ease;
}
.nav-item, .nav-drop { position: relative; }
.nav-item:hover .nav-trigger svg,
.nav-item:focus-within .nav-trigger svg,
.nav-drop:hover .nd-caret,
.nav-drop:focus-within .nd-caret { transform: rotate(180deg); }
.nav-trigger:hover, .nav-link:hover { color: var(--petrol); }
.nav-link[aria-current] {
  color: var(--petrol);
  box-shadow: inset 0 -1.5px 0 var(--petrol);
}
.nav.on-dark .nav-link[aria-current] {
  color: #fff;
  box-shadow: inset 0 -1.5px 0 var(--sky);
}
.nav.on-dark :where(a, button):focus-visible { outline-color: var(--sky); }
.nav-dropdown, .nav-drop-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 8px;
  min-width: 224px;
  background: #fff;
  border: 1px solid var(--hairline-soft);
  border-radius: 10px;
  box-shadow: 0 18px 40px -18px rgba(20, 40, 50, 0.22);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown a, .nav-drop-panel a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: baseline;
  column-gap: 4px;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-deep);
}
.nav-dropdown a:hover, .nav-drop-panel a:hover { background: var(--mist); color: var(--petrol); }
.nav-drop-panel .nd-no {
  color: var(--muted);
  font: 600 10px/1 var(--font-mono);
  letter-spacing: .08em;
}
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.member-nav { align-items: center; gap: 12px; }
.member-nav .nav-link { margin-right: 20px; }
.btn-member-logout { background: var(--ink, #3c3d42); color: #fff; }
.btn-member-logout:hover { background: var(--deep, #0d222e); color: #fff; }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-burger span { width: 20px; height: 1.5px; background: var(--ink-deep); transition: transform .2s ease, opacity .2s ease; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--porcelain);
  padding: 150px var(--gutter) 40px;
  overflow-y: auto;
}
.mobile-menu.is-open { display: block; }
body.menu-open { overflow: hidden; }
.mm-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 26px 0 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--hairline-soft);
}
.mobile-menu > a {
  display: block;
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.2;
  color: var(--ink-deep);
  min-height: 48px;
  padding: 10px 0;
}
.mobile-menu > a[aria-current] {
  color: var(--petrol);
  box-shadow: inset 2px 0 0 var(--petrol);
  padding-left: 14px;
}
.mm-actions { display: flex; gap: 12px; margin-top: 30px; }
.mm-actions .btn { flex: 1; }
.member-menu {
  flex-direction: column;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--hairline-soft);
  padding-top: 12px;
}
.member-menu a {
  display: block;
  min-height: 48px;
  padding: 10px 0;
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.2;
  color: var(--ink-deep);
}

/* ---------- Doc header (section grammar) — no rules, just a quiet
   numbered label; space does the separating. ---------- */
.doc-rule {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.doc-no { color: var(--petrol); }
.doc-label { color: var(--ink-deep); }
.doc-side { margin-left: auto; color: var(--muted); text-align: right; letter-spacing: 0.1em; }
.doc-rule.inverse .doc-no { color: var(--sky); }
.doc-rule.inverse .doc-label { color: #fff; }
.doc-rule.inverse .doc-side { color: rgba(255, 255, 255, 0.55); }

.doc-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  column-gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-top: clamp(28px, 4vw, 44px);
}
.doc-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.012em;
  color: var(--ink-deep);
  text-wrap: balance;
}
.doc-lede { font-size: 17px; line-height: 1.72; padding-bottom: 6px; }

.doc-head { margin-bottom: clamp(40px, 6vw, 72px); }

/* ---------- Sections ---------- */
.section { padding-block: calc(var(--sect) / 1.6); }
.section--white { background: #fff; }

/* ---------- Hero — deep-ink stage, luminous constellation ---------- */
.hero {
  position: relative;
  background: var(--deep);
  color: rgba(255, 255, 255, 0.72);
  padding: clamp(34px, 4.5vh, 60px) 0 clamp(30px, 3.5vw, 48px);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(52% 64% at 74% 44%, rgba(23, 121, 167, 0.34), transparent 68%),
    radial-gradient(38% 44% at 18% 92%, rgba(57, 153, 199, 0.12), transparent 70%);
}
.hero .container { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 10fr) minmax(0, 9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.kicker-no { color: var(--sky); }
.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(54px, 6.8vw, 96px);
  line-height: 1.01;
  letter-spacing: -0.012em;
  color: #fff;
  margin-top: clamp(22px, 3vw, 38px);
}
.hero-sub {
  margin-top: 28px;
  max-width: 50ch;
  font-size: 17px;
  line-height: 1.7;
}
.hero-sub strong { color: #fff; }
.hero-ctas { display: flex; align-items: center; gap: 26px; margin-top: 36px; flex-wrap: wrap; }
.text-link--light { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.35); }
.text-link--light:hover { color: var(--sky); border-bottom-color: var(--sky); }
.hero-reg { margin-top: 48px; color: rgba(255, 255, 255, 0.42); }

/* Constellation stage */
.hero-stage {
  position: relative;
  aspect-ratio: 1;
  /* Sized to the copy column: the sphere's visible disc should sit level
     with the headline block, not tower over it. */
  max-width: clamp(430px, 33vw, 500px);
  margin-inline: auto;
  margin-bottom: 24px;
  width: 100%;
}
/* The canvas bleeds past its layout slot so the network renders ~36% larger
   and its raster edge sits far outside the visible fade — the sphere floats,
   never touches a hard edge. Label projection in sphere.js maps NDC through
   the canvas box (offsetLeft/Top), so keep bleed changes in sync with it. */
.hero-stage canvas {
  position: absolute;
  inset: -18%;
  width: 136%;
  height: 136%;
  display: block;
  -webkit-mask-image: radial-gradient(50% 50% at 50% 50%, #000 44%, rgba(0, 0, 0, 0.5) 65%, transparent 85%);
  mask-image: radial-gradient(50% 50% at 50% 50%, #000 44%, rgba(0, 0, 0, 0.5) 65%, transparent 85%);
  /* at rest the mask is oversized so its fade zone sits beyond the visible
     network — the sphere starts fully sharp; journey.js shrinks mask-size
     to 100% through the dive, closing the feather in as it grows */
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 230% 230%;
  mask-size: 230% 230%;
}
/* mirrors the canvas bleed exactly — sphere.js projects labels in
   canvas-local coordinates; keep insets in lockstep with the canvas.
   overflow stays visible: labels are HTML the canvas mask can't feather,
   so a hidden overflow guillotines them at an invisible rectangle while
   the stage drifts — facing-based opacity and the dive fade retire them
   softly instead, and .hero's own overflow is the final backstop */
.bio-labels { position: absolute; inset: -18%; pointer-events: none; }
.bio-label {
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  opacity: 0;
  will-change: transform, opacity;
}
.bio-label::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  vertical-align: middle;
  margin-right: 7px;
}
.stage-caption {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.34);
  white-space: nowrap;
}

/* The report object */
.wyg-grid {
  display: grid;
  grid-template-columns: minmax(0, 10fr) minmax(0, 9fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.report-wrap { perspective: 1400px; }
.report-wrap .report {
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow .3s ease;
}
.report {
  background: var(--paper);
  border: 1px solid var(--hairline-soft);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(18, 38, 48, 0.04), 0 32px 64px -32px rgba(18, 38, 48, 0.25);
  overflow: hidden;
}
.report-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 22px;
  border-bottom: 1px solid var(--hairline-soft);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.report-head { padding: 20px 22px 4px; }
.report-head h3 { font-size: 24px; color: var(--ink-deep); }
.report-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 14px 10px 16px;
}
.rstat { text-align: center; padding: 2px 6px; border-left: 1px solid var(--hairline-soft); }
.rstat:first-child { border-left: 0; }
.rs-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 27px;
  line-height: 1.1;
  color: var(--ink-deep);
  font-variant-numeric: tabular-nums;
}
.rstat.is-watch .rs-num { color: var(--clay); }
.rs-label {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.report-rows { border-top: 1px solid var(--hairline-soft); }
.rrow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 22px;
  border-bottom: 1px solid var(--hairline-soft);
}
.rrow:last-child { border-bottom: 0; }
.ring { position: relative; width: 40px; height: 40px; flex-shrink: 0; }
.ring svg { width: 40px; height: 40px; transform: rotate(-90deg); }
.ring-bg { stroke: var(--mist-2); }
.ring-fg {
  stroke: var(--petrol);
  stroke-linecap: round;
  stroke-dasharray: 125.7;
  stroke-dashoffset: 125.7;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}
.ring-val {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  color: var(--ink-deep);
  font-variant-numeric: tabular-nums;
}
.rr-main { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.rr-name { font-weight: 700; font-size: 14px; color: var(--ink-deep); }
.rr-meta { font-size: 12px; color: var(--muted); }
.rr-status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.rr-status.ok { color: var(--petrol); }
.rr-status.watch { color: var(--clay); }
.report-foot { border-top: 1px solid var(--hairline-soft); background: #fbfdfe; }
.rf-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 22px;
}
.rf-row + .rf-row { border-top: 1px solid var(--hairline-soft); }
.rf-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.rf-value {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-deep);
  font-variant-numeric: tabular-nums;
}
.rf-value .ok, .rf-value.ok { color: var(--petrol); }
.rf-arrow { color: var(--muted); }
.report-caption { margin-top: 14px; text-align: right; font-size: 9.5px; }

/* ---------- Partners ---------- */
.partners { padding: 34px 0; background: #fff; }
.partners-row {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}
.partners-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3.5vw, 48px);
  flex: 1;
  flex-wrap: wrap;
}
.partners-logos img {
  height: 34px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.45;
  transition: opacity .2s ease, filter .2s ease;
}
.partners-logos img.logo-sm { height: 27px; }
.partners-logos img:hover { filter: none; opacity: 1; }

/* ---------- Manifest (what you get) ---------- */
.manifest { display: block; }
.mf-item {
  display: flex;
  gap: 22px;
  padding: 21px 0;
  border-bottom: 1px solid var(--stroke-01);
}
.mf-item:last-child { border-bottom: 0; }
.mf-coda {
  margin-top: 26px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-deep);
  text-wrap: balance;
}
.mf-no {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--petrol);
  padding-top: 5px;
  flex-shrink: 0;
}
.mf-body h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 21px;
  color: var(--ink-deep);
  letter-spacing: 0;
}
.mf-body p { margin-top: 7px; font-size: 15px; line-height: 1.62; }

/* ---------- Steps (how it works) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.step-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.step-no { color: var(--petrol); }
.step-tag { color: var(--ink-deep); }
.step h3 { font-size: 21px; line-height: 1.25; color: var(--ink-deep); margin-top: 16px; }
.step > p { font-size: 14px; line-height: 1.6; margin-top: 8px; }

.vignette {
  margin-top: 20px;
  background: var(--paper);
  border: 1px solid #edeff1;
  border-radius: 14px;
  padding: 15px 17px;
  box-shadow: 0 1px 2px rgba(18, 38, 48, 0.03), 0 14px 34px -22px rgba(18, 38, 48, 0.16);
}
.vg-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 11px;
}
.vg-slot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--hairline-soft);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-deep);
  margin-top: 6px;
  transition: border-color .3s ease, background-color .3s ease;
}
.vg-slot:first-of-type { margin-top: 0; }
.vg-time { font-family: var(--font-mono); font-size: 10px; font-weight: 500; color: var(--muted); }
.vg-slot.is-active { border-color: var(--petrol); background: var(--mist); }
.vg-slot.is-active .vg-time { color: var(--petrol); }

.vg-bar { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.vg-bar:first-of-type { margin-top: 0; }
.vb-name { font-size: 11.5px; font-weight: 600; color: var(--ink-deep); width: 62px; flex-shrink: 0; }
.vb-track { flex: 1; height: 3px; background: var(--hairline-soft); border-radius: 2px; overflow: hidden; }
.vb-fill { display: block; height: 100%; width: var(--w, 50%); background: var(--petrol); border-radius: 2px; }
.vb-fill.warn { background: var(--clay); }
.vb-val { font-family: var(--font-mono); font-size: 9px; color: var(--muted); white-space: nowrap; }

.vg-quote { font-size: 12.5px; line-height: 1.55; color: var(--ink-deep); }
.vg-sig { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

.vg-sparksvg { width: 100%; height: 64px; margin-block: 2px 4px; }
.spark-path { fill: none; stroke: var(--petrol); stroke-width: 1.6px; }

.vg-meta {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--hairline-soft);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--petrol);
}
.vg-meta .dim { color: var(--muted); font-weight: 500; }

/* ---------- Offer (dark band) ---------- */
.offer { background: var(--deep); color: rgba(255, 255, 255, 0.78); padding-block: clamp(64px, 8vw, 104px); }
.offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.offer-title { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.06; color: #fff; margin-top: clamp(26px, 4vw, 40px); }
.offer-body { margin-top: 16px; font-size: 16px; max-width: 46ch; }
.offer-price-row { display: flex; align-items: baseline; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.offer-price { font-size: clamp(56px, 6vw, 76px); line-height: 1; color: #fff; }
.offer-was { font-size: 19px; color: rgba(255, 255, 255, 0.45); text-decoration: line-through; }
.offer-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
}
.offer-list { margin-top: 26px; max-width: 56ch; }
.offer-list li {
  position: relative;
  padding: 10px 0 10px 30px;
  font-size: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.offer-list li:first-child { border-top: 0; }
.offer-list li::before {
  content: '✓';
  position: absolute;
  left: 2px;
  top: 10px;
  color: var(--sky);
  font-size: 13px;
}
.offer-list b { color: #fff; font-weight: 700; }
.offer-ctas { display: flex; align-items: center; gap: 22px; margin-top: 32px; flex-wrap: wrap; }
.offer-note {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.ledger {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 24px 26px;
  margin-top: clamp(26px, 4vw, 40px);
}
.ledger-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #fff;
  padding-bottom: 16px;
}
.ledger-head .dim { color: rgba(255, 255, 255, 0.45); }
.ledger-slots { display: flex; gap: 6px; }
.ledger-slots i {
  flex: 1;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
}
.ledger-count { margin-top: 12px; font-size: 12.5px; color: rgba(255, 255, 255, 0.55); }
.ledger-count b { color: #fff; }
.ledger-rows { margin-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.lrow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13.5px;
}
.lrow:last-child { border-bottom: 0; }
.lval {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

/* ---------- Specimen index (16 areas) ---------- */
.index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(40px, 6vw, 88px);
}
.ix-row {
  padding: 18px 12px 16px;
  border-bottom: 1px solid var(--stroke-01);
  border-radius: 10px;
  transition: background-color .15s ease;
}
.index-col .ix-row:last-child { border-bottom: 0; }
.ix-row:hover { background: var(--mist); }
.ix-line { display: flex; align-items: baseline; gap: 14px; }
.ix-no {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--petrol-text);
  flex-shrink: 0;
  width: 20px;
}
.ix-name { font-family: var(--font-serif); font-weight: 400; font-size: clamp(24px, 2.3vw, 33px); line-height: 1.15; color: var(--ink-deep); letter-spacing: 0; }
.ix-leader { flex: 1; border-bottom: 1px dotted var(--hairline); transform: translateY(-5px); min-width: 24px; }
.ix-count {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--petrol-text);
  font-variant-numeric: tabular-nums;
}
.ix-markers {
  margin-top: 5px;
  padding-left: 34px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
}
.ix-note {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2d7a9f;
  white-space: nowrap;
}

.index-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
  margin-top: 34px;
}
.ix-footnote { max-width: 62ch; font-size: 13.5px; line-height: 1.65; }
.ix-footnote strong { color: var(--ink-deep); }
.fn-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-right: 12px;
}
.index-foot .text-link { white-space: nowrap; }

/* ---------- Method (clinically-led) ---------- */
.method-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 30px 0;
  border-bottom: 1px solid var(--stroke-01);
}
.method-item:last-child { border-bottom: 0; }
.mt-no { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--petrol); padding-top: 7px; }
.mt-body h3 { font-size: 23px; color: var(--ink-deep); }
.mt-body p { margin-top: 10px; max-width: 72ch; font-size: 15px; line-height: 1.7; }

.honesty {
  margin-top: clamp(48px, 7vw, 80px);
  background: linear-gradient(135deg, var(--mist) 0%, #fff 58%, var(--mist) 100%);
  border-radius: 24px;
  padding: clamp(30px, 4.5vw, 56px) clamp(26px, 4.5vw, 60px);
}
.honesty-label { padding-bottom: 16px; color: var(--petrol); }
.honesty-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.honesty-quote { font-size: clamp(27px, 3.2vw, 38px); line-height: 1.22; color: var(--ink-deep); text-wrap: balance; }
.honesty-body { font-size: 14.5px; line-height: 1.75; }

/* ---------- Why (diff table) ---------- */
.why-row {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--stroke-01);
}
.why-row:last-child { border-bottom: 0; }
.why-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.why-text { font-size: 18px; line-height: 1.55; }
.why-text strong { color: var(--ink-deep); font-weight: 700; }

.creed { margin-top: clamp(52px, 7vw, 84px); }
.creed-text {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.25;
  color: var(--ink-deep);
  text-wrap: balance;
}
.creed-proof { margin-top: 26px; }

/* ---------- FAQ ---------- */
#faq .doc-head { margin-bottom: clamp(32px, 4vw, 48px); }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: start;
}
.faq-side { position: sticky; top: 128px; }
.faq-side .doc-title { font-size: clamp(30px, 3.4vw, 42px); }
.faq-side-p { margin-top: 18px; font-size: 15px; max-width: 34ch; }
.faq-side .text-link { display: inline-block; margin-top: 22px; }

.faq-item { border-bottom: 1px solid var(--stroke-01); }
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  padding: 19px 2px;
}
.faq-q > span:first-child {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink-deep);
  line-height: 1.45;
  transition: color .15s ease;
}
.faq-q:hover > span:first-child { color: var(--petrol); }
.faq-icon { position: relative; width: 12px; height: 12px; flex-shrink: 0; align-self: center; }
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--muted);
  transition: transform .22s ease, background-color .22s ease;
}
.faq-icon::before { left: 0; right: 0; top: 5.25px; height: 1.5px; }
.faq-icon::after { top: 0; bottom: 0; left: 5.25px; width: 1.5px; }
.faq-item.is-open .faq-icon::after { transform: scaleY(0); }
.faq-item.is-open .faq-icon::before { background: var(--petrol); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { padding: 0 2px 20px; max-width: 62ch; font-size: 15px; line-height: 1.7; }
.faq-a-inner a { font-weight: 700; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ---------- Final ---------- */
.final {
  padding-block: calc(var(--sect) * 0.8) var(--sect);
  text-align: center;
  background:
    radial-gradient(46% 60% at 50% 108%, rgba(221, 213, 243, 0.55), transparent 72%),
    radial-gradient(52% 60% at 50% -14%, rgba(216, 239, 250, 0.65), transparent 70%),
    var(--porcelain);
}
.final-rule {
  display: flex;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--petrol);
}
.final-title {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  color: var(--ink-deep);
  margin-top: clamp(40px, 5vw, 64px);
}
.final-sub { margin-top: 20px; margin-inline: auto; max-width: 54ch; font-size: 16px; }
.final-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer { background: var(--deep); color: rgba(255, 255, 255, 0.6); }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 4fr) repeat(4, minmax(0, 2fr));
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 72px) clamp(36px, 5vw, 56px);
}
.footer-logo { height: 32px; width: auto; color: #fff; display: block; }
.footer-brand p { margin-top: 16px; font-size: 13.5px; line-height: 1.65; max-width: 30ch; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 14px;
}
.footer-col li { margin-top: 8px; }
.footer-col a { color: rgba(255, 255, 255, 0.78); font-size: 14px; font-weight: 500; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer a:focus-visible { outline-color: var(--sky); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
}
.fb-reg {
  display: flex;
  gap: 22px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .hero-stage {
    opacity: 0;
    transform: translateY(16px);
    animation: settle .9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .hero-copy > *:nth-child(1) { animation-delay: .05s; }
  .hero-copy > *:nth-child(2) { animation-delay: .13s; }
  .hero-copy > *:nth-child(3) { animation-delay: .21s; }
  .hero-copy > *:nth-child(4) { animation-delay: .29s; }
  .hero-copy > *:nth-child(5) { animation-delay: .37s; }
  .hero-stage { animation-delay: .25s; transform: translateY(0) scale(0.97); }
}
@keyframes settle { to { opacity: 1; transform: none; } }

/* Scroll reveals — one shot, shallow, expo ease */
html.js [data-rev] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .85s cubic-bezier(0.16, 1, 0.3, 1), transform .85s cubic-bezier(0.16, 1, 0.3, 1);
}
html.js [data-rev].rev-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-rev] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-row { grid-template-columns: 220px 1fr; }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

/* The pill's links stop fitting at 1080px, so the bar collapses to the burger
   here rather than wrapping to two and three rows through the 1024px band. */
@media (max-width: 1099.98px) {
  .nav-links { display: none; }
  .nav-actions [data-auth] { display: none !important; }
  .nav-actions { margin-left: auto; }
  .nav-burger { display: flex; }
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stage { max-width: 460px; }
  .wyg-grid { grid-template-columns: 1fr; gap: 44px; }
  .report-wrap { max-width: 560px; }
  .doc-grid { grid-template-columns: 1fr; row-gap: 18px; }
  .doc-lede { max-width: 60ch; padding-bottom: 0; }
  .manifest { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .ledger { max-width: 480px; }
  .index { grid-template-columns: 1fr; }
  .index-foot { flex-direction: column; align-items: flex-start; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .honesty-grid { grid-template-columns: 1fr; }
  .method-item { grid-template-columns: 44px 1fr; }
}

@media (max-width: 640px) {
  .hide-sm { display: none; }
  .doc-side { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step { max-width: 460px; }
  .why-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .partners-row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .partners-logos { justify-content: flex-start; }
  .partners-logos img { height: 24px; }
  .ix-markers { padding-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas, .final-ctas { gap: 18px; }
  .rr-status { display: none; }
  .report-caption { text-align: left; }
}

/* ============================================================
   The scroll journey (html.js-journey — desktop, motion-friendly)
   ============================================================ */

/* masked word reveals — bottom padding + negative margin so the overflow
   clip never guillotines serif descenders (g, p, y in Marcellus) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.w > i { display: inline-block; font-style: normal; will-change: transform; }

html.js-journey { scroll-behavior: auto; }
html.js-journey body { overscroll-behavior: none; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* Act I — hero fills the stage exactly */
html.js-journey .hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding-block: 72px 0;
}
html.js-journey .hero .container { width: 100%; }
/* The base settle animation's `forwards` fill would permanently pin
   transform:none — CSS animation fills beat GSAP's inline styles. Under the
   journey the stage gets a fill-free, opacity-only entry instead, so GSAP
   owns transform from the first frame. */
@keyframes settleStage { from { opacity: 0; } }
html.js-journey .hero-stage {
  margin-bottom: 0;
  opacity: 1;
  transform: none;
  animation: settleStage .9s cubic-bezier(0.16, 1, 0.3, 1) .25s backwards;
}

.hero-beats { position: absolute; inset: 0; display: none; pointer-events: none; z-index: 3; }
html.js-journey .hero-beats { display: block; }
.beat {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(92%, 16ch);
  text-align: center;
  font-size: clamp(40px, 5.4vw, 78px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  text-wrap: balance;
}

/* Act III — the loop travels horizontally */
html.js-journey .steps-stage {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--porcelain);
  padding-block: 5vh;
}
html.js-journey .steps-viewport {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
}
html.js-journey .steps {
  display: flex;
  gap: clamp(28px, 3.2vw, 52px);
  width: max-content;
  padding-inline: max(var(--gutter), calc(50vw - 600px));
}
html.js-journey .steps .step { width: min(44vw, 500px); flex-shrink: 0; max-width: none; }
html.js-journey .steps-stage { padding-block: 4vh; }

/* Depth interlude */
.depth { position: relative; height: 100vh; overflow: hidden; background: var(--deep); }
html:not(.js-journey) .depth { height: auto; min-height: 68vh; }
.depth-media { position: absolute; inset: 0; }
.depth-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.depth-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 34, 46, 0.62), rgba(13, 34, 46, 0.22) 42%, rgba(13, 34, 46, 0.66));
}
.depth-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 24px;
  padding: 32px;
}
.depth-label { color: rgba(255, 255, 255, 0.6); }
.depth-quote {
  font-size: clamp(34px, 4.8vw, 66px);
  line-height: 1.12;
  color: #fff;
  max-width: 17ch;
  text-wrap: balance;
}

.honesty-strip { background: #fff; }
.honesty-strip .honesty-body {
  max-width: 62ch;
  margin-inline: auto;
  font-size: 16.5px;
  line-height: 1.8;
}
.honesty-strip .honesty-stamp {
  max-width: 62ch;
  margin: 22px auto 0;
  color: var(--petrol);
}

/* Offer glow that drifts with scroll */
.offer {
  background:
    radial-gradient(64% 90% at 50% 0%, rgba(23, 121, 167, 0.22), transparent 62%) no-repeat,
    var(--deep);
  background-size: 100% 150%;
  background-position: 50% 70%;
}

/* ---------- The journey, staged for mobile ---------- */
@media (max-width: 919.98px) {
  html.js-journey .hero {
    height: 100svh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-block: 96px 24px;
    overflow: hidden;
  }
  html.js-journey .hero-grid { display: block; margin-top: -5svh; }
  html.js-journey .hero-copy { position: relative; z-index: 2; }
  html.js-journey .hero-title { font-size: clamp(42px, 12.5vw, 58px); }
  html.js-journey .hero-sub { font-size: 15.5px; margin-top: 20px; }
  html.js-journey .hero-ctas { margin-top: 26px; }
  html.js-journey .hero-ctas .btn { width: auto; }
  html.js-journey .hero-reg { margin-top: 30px; font-size: 9px; }
  html.js-journey .hero-stage {
    position: absolute;
    left: 50%;
    top: 53%;
    width: min(96vw, 520px);
    max-width: none;
    margin: 0;
    margin-left: calc(-1 * min(48vw, 260px));
    margin-top: calc(-1 * min(48vw, 260px));
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
  }
  /* Tighter bleed than desktop: the fade must reach zero inside the
     viewport (stage is ~96vw), or the hero's overflow crop shows an edge. */
  html.js-journey .hero-stage canvas {
    inset: -12%;
    width: 124%;
    height: 124%;
    -webkit-mask-image: radial-gradient(50% 50% at 50% 50%, #000 38%, rgba(0, 0, 0, 0.45) 60%, transparent 78%);
    mask-image: radial-gradient(50% 50% at 50% 50%, #000 38%, rgba(0, 0, 0, 0.45) 60%, transparent 78%);
  }
  html.js-journey .bio-labels { inset: -12%; }
  html.js-journey .stage-caption {
    display: block;
    top: 4px;
    bottom: auto;
    transition: opacity .3s ease;
  }
  html.js-journey .stage-caption.is-live { color: rgba(255, 255, 255, 0.88); }
  html.js-journey .stage-caption.is-live.watch { color: #f4a68a; }
  .beat { font-size: clamp(30px, 8.8vw, 46px); width: min(92%, 18ch); }

  /* Act II — compact assembling card + one deliverable at a time */
  html.js-journey .wyg-grid { gap: 22px; }
  html.js-journey .report-wrap { max-width: 480px; margin-inline: auto; }
  html.js-journey .report-head { padding: 14px 18px 2px; }
  html.js-journey .report-head h3 { font-size: 19px; }
  html.js-journey .report-stats { padding: 10px 6px 12px; }
  html.js-journey .rs-num { font-size: 21px; }
  html.js-journey .rrow { padding: 8px 18px; gap: 10px; }
  html.js-journey .ring, html.js-journey .ring svg { width: 32px; height: 32px; }
  html.js-journey .rf-row { padding: 7px 18px; }
  html.js-journey .report-caption { display: none; }
  html.js-journey .manifest { position: relative; height: 148px; }
  /* Slot mechanics apply ONLY to the manifest inside the pinned Act II
     stage. .mf-item is also used in the Improve pillar, where it must
     stay in normal flow. */
  html.js-journey .manifest .mf-item {
    position: absolute;
    inset: 0;
    border-bottom: 0;
    padding: 10px 0;
  }
  /* the coda joins the crossfade slot as its closing beat — in normal flow
     it would sit on top of the absolutely-positioned items */
  html.js-journey .manifest .mf-coda {
    position: absolute;
    inset: 0;
    margin-top: 0;
    padding: 14px 0;
    font-size: 19px;
  }
  /* the sample-report link cannot live inside the 148px slot */
  html.js-journey .manifest .mf-link { display: none; }

  /* Act III — cards sized for the phone's hand */
  html.js-journey .steps { gap: 18px; }
  html.js-journey .steps .step { width: 84vw; }
  html.js-journey .steps-stage {
    min-height: 88svh;
    display: flex;
    align-items: center;
  }

  /* Depth quote a touch smaller */
  .depth-quote { font-size: clamp(30px, 9vw, 46px); }
}

/* Focus-area activation states */
.bio-label { transition: color .3s ease; }
.bio-label.is-abnormal { color: rgba(235, 158, 138, 0.85); }
.bio-label.is-active { color: #fff; }
.bio-label.is-abnormal.is-active { color: #f4ac96; }


/* ============================================================
   The marker atlas — 104 data points, sixteen clusters
   ============================================================ */
.atlas-grid {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}
.atlas-grid .index { display: block; }
.atlas-grid .ix-row { padding: 15px 10px 13px; }
.atlas-grid .ix-markers { font-size: 11px; }
.ix-row.is-live { background: var(--mist); }
.ix-row.is-live .ix-name { color: var(--petrol); }

.atlas-stage {
  order: 2;
  position: sticky;
  top: 108px;
  height: min(74vh, 660px);
  background: radial-gradient(58% 52% at 50% 46%, var(--mist) 0%, rgba(239, 249, 253, 0) 74%);
}
.atlas-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.atlas-label-legacy {
  position: absolute;
  top: 0; left: 0;
  white-space: nowrap;
  color: var(--petrol);
  background: rgba(255, 255, 255, 0.82);
  padding: 5px 9px;
  border-radius: 6px;
  pointer-events: none;
  will-change: transform, opacity;
}

@media (max-width: 919.98px) {
  .atlas-grid { display: block; }
  /* Static on mobile: the sticky stage floated its info card over the
     scrolling index rows, which read as overlapping content. */
  .atlas-stage {
    position: relative;
    height: 46svh;
    margin-bottom: 22px;
    background:
      radial-gradient(60% 62% at 50% 36%, var(--mist) 0%, rgba(239, 249, 253, 0) 78%),
      #fff;
    border-bottom: 1px solid var(--hairline-soft);
  }
  .atlas-info { left: 10px; right: 10px; bottom: 10px; max-width: none; }
  .ai-measure { font-size: 12.5px; }
}

/* ---------- Steps: aligned frames regardless of copy length ---------- */
.steps .step { display: flex; flex-direction: column; }
.steps .step h3 { min-height: 2.55em; }
.steps .step > p { min-height: 4.9em; }
.steps .vignette { flex: 1; display: flex; flex-direction: column; }
.steps .vignette .vg-meta { margin-top: auto; }
.steps .vignette .vg-slot:first-of-type,
.steps .vignette .vg-bar:first-of-type { margin-top: 0; }
@media (max-width: 919.98px) {
  .steps .step > p { min-height: 4.2em; }
}

/* ---------- Atlas v2: honeycomb focus, info block, marker names ---------- */
.atlas-labels { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.atlas-mk {
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  padding: 2px 6px;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  will-change: transform, opacity;
}
.atlas-info {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: min(82%, 360px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(23, 121, 167, 0.10);
  border-radius: 12px;
  padding: 12px 15px 13px;
  box-shadow: 0 10px 30px -18px rgba(18, 38, 48, 0.25);
}
.atlas-info.is-in { opacity: 1; transform: none; transition: opacity .5s ease .12s, transform .5s ease .12s; }
.ai-top { display: flex; gap: 10px; align-items: baseline; color: var(--ink-deep); }
.ai-top .ai-no { color: var(--petrol); }
.ai-top .ai-count { color: var(--muted); }
.ai-measure {
  margin-top: 7px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--body);
}

/* Desktop sphere edges are feathered on the canvas itself (see
   .hero-stage canvas) — no stage-level mask, it would re-crop the bleed. */

/* Medium laptops: the full 136% bleed grazes the right viewport edge at
   rest — use the tighter mobile ratio so the sharp sphere keeps its air. */
@media (min-width: 920px) and (max-width: 1199.98px) {
  .hero-stage canvas { inset: -12%; width: 124%; height: 124%; }
  .bio-labels { inset: -12%; }
}

/* ---------- Method dossier: ghost numeral + live item ---------- */
.method-wrap { position: relative; }
.method-ghost {
  position: absolute;
  top: 0;
  right: -8px;
  bottom: 0;
  width: 220px;
  pointer-events: none;
}
.method-ghost span {
  position: sticky;
  top: 34vh;
  display: block;
  font-size: clamp(120px, 14vw, 190px);
  line-height: 1;
  color: var(--mist-2);
  text-align: right;
  transition: opacity .3s ease;
}
.method-ghost span.tick { animation: ghost-tick .55s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes ghost-tick {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: none; }
}
html.js-journey .method-item { transition: opacity .45s ease; }
html.js-journey .method-list.has-live .method-item { opacity: 0.32; }
html.js-journey .method-list.has-live .method-item.is-live { opacity: 1; }
@media (max-width: 919.98px) {
  .method-ghost { display: none; }
}

/* ============================================================
   Interior pages
   ============================================================ */
.page-head { padding-top: clamp(48px, 7vw, 96px); }

.join-block { max-width: 60ch; font-size: 17px; line-height: 1.75; }
.join-block .text-link { display: inline-block; margin-top: 22px; }

/* product page */
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.product-ctas { display: flex; align-items: center; gap: 24px; margin-top: 34px; flex-wrap: wrap; }
.spec-card {
  background: #fff;
  border: 1px solid #e9edf0;
  border-radius: 16px;
  padding: 26px 28px;
  box-shadow: 0 1px 2px rgba(18, 38, 48, 0.04), 0 24px 48px -28px rgba(18, 38, 48, 0.18);
  position: sticky;
  top: 120px;
}
.spec-head { padding-bottom: 12px; color: var(--ink-deep); }
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--stroke-01);
  font-size: 14.5px;
  color: var(--body);
}
.spec-row:last-child { border-bottom: 0; }
.spec-val {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--petrol);
  font-variant-numeric: tabular-nums;
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-form .ff { margin-bottom: 18px; }
.contact-form .ff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-deep);
  margin-bottom: 7px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  font: 500 15px/1.5 var(--font-sans);
  color: var(--ink-deep);
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--petrol);
  box-shadow: 0 0 0 3px var(--mist-2);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); }
.contact-form button { margin-top: 6px; }
.contact-side .cs-line { margin-top: 8px; font-size: 16px; }
.contact-side .cs-line a { font-weight: 600; color: var(--ink-deep); border-bottom: 1px solid var(--hairline); padding-bottom: 2px; }
.contact-side .cs-line a:hover { color: var(--petrol); border-color: var(--petrol); }

/* regulated lists */
.reg-list { margin-top: 12px; max-width: 62ch; }
.reg-list li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
}
.reg-list li::before {
  content: '✓';
  position: absolute;
  left: 2px;
  top: 7px;
  color: var(--petrol);
  font-size: 12.5px;
}
.reg-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); max-width: 62ch; }
.mt-body a { font-weight: 600; }

/* legal prose */
.legal-prose { max-width: 72ch; }
.legal-prose h3 {
  font-size: 24px;
  color: var(--ink-deep);
  margin: 40px 0 12px;
}
.legal-prose h3:first-child { margin-top: 0; }
.legal-prose p { margin: 10px 0; font-size: 15.5px; line-height: 1.75; }
.legal-prose ul { margin: 12px 0; list-style: none; }
.legal-prose li {
  position: relative;
  padding: 4px 0 4px 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
}
.legal-prose li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--petrol);
  font-weight: 700;
}

/* error pages */
.err-page { min-height: 62vh; display: grid; align-items: center; text-align: left; }
.err-page .doc-title { margin-top: 14px; }
.err-sub { margin: 14px 0 26px; max-width: 44ch; font-size: 16px; }

@media (max-width: 919.98px) {
  .product-grid, .contact-grid { grid-template-columns: 1fr; }
  .spec-card { position: static; max-width: 480px; }
  .contact-form .ff-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Sphere stories: seed / related / action labels ---------- */
.bio-seed {
  position: absolute;
  top: 0; left: 0;
  font: 600 13.5px/1 var(--font-sans);
  letter-spacing: 0.01em;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  text-shadow: 0 1px 14px rgba(4, 16, 24, 0.7);
  will-change: transform, opacity;
}
.bio-seed::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 7px;
  vertical-align: 1px;
}
.bio-seed.watch { color: #f4a68a; }
.bio-rel {
  position: absolute;
  top: 0; left: 0;
  font: 500 11px/1.1 var(--font-sans);
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  opacity: 0;
  text-shadow: 0 1px 10px rgba(4, 16, 24, 0.7);
  will-change: transform, opacity;
}
.bio-act {
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cfe9f6;
  background: rgba(13, 34, 46, 0.62);
  border: 1px solid rgba(120, 190, 225, 0.45);
  border-radius: 8px;
  padding: 4px 9px;
  white-space: nowrap;
  opacity: 0;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  will-change: transform, opacity;
}

/* ============ Loop-language revision (founder mockup, Aug 2026) ============ */
.pillar-points { margin-top: clamp(26px, 4vw, 40px); max-width: 62ch; list-style: none; padding: 0; }
.pillar-points li {
  position: relative;
  padding: 11px 0 11px 30px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  border-top: 1px solid var(--stroke-01);
}
.pillar-points li:first-child { border-top: 0; }
.pillar-points li::before {
  content: '—';
  position: absolute;
  left: 0;
  top: 11px;
  color: var(--petrol);
}
.pillar-coda {
  margin-top: clamp(26px, 4vw, 40px);
  font-size: clamp(20px, 2.3vw, 25px);
  line-height: 1.15;
  color: var(--ink-deep);
}
.pillar-link { margin-top: 16px; }
.improve-grid {
  margin-top: clamp(30px, 4.5vw, 48px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 44px) clamp(32px, 4.5vw, 64px);
}
@media (max-width: 760px) { .improve-grid { grid-template-columns: 1fr; } }
.improve-grid .mf-item { border-bottom: 0; padding: 0; }
.mf-link { margin-top: 16px; }

/* Statement band */
.statement { max-width: 900px; }
.statement .honesty-body { max-width: 62ch; margin-top: 24px; font-size: 15.5px; }
.statement-link { margin-top: 20px; }

/* Email capture — an appendix slip in the document, not a web widget:
   hairline-ruled band, mono label column, serif ask, baseline-ruled field. */
.capture { padding-top: clamp(18px, 3vw, 34px); padding-bottom: clamp(18px, 3vw, 34px); }
.capture-band {
  border-top: 1px solid var(--stroke-01);
  border-bottom: 1px solid var(--stroke-01);
  padding: clamp(30px, 4.5vw, 52px) 0;
  display: grid;
  grid-template-columns: minmax(96px, 120px) minmax(0, 1.05fr) minmax(0, 1.1fr);
  gap: 22px clamp(28px, 4vw, 60px);
  align-items: start;
}
.capture-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--petrol-text);
  padding-top: 9px;
}
.capture-title { font-size: clamp(24px, 2.8vw, 31px); line-height: 1.15; color: var(--ink-deep); }
.capture-sub { margin-top: 10px; max-width: 44ch; font-size: 15px; line-height: 1.68; color: var(--body); }
.capture-form { display: flex; flex-direction: column; gap: 14px; padding-top: 14px; }
.capture-row { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.capture-form input[type='email'] {
  flex: 1 1 170px;
  min-width: 0;
  padding: 10px 2px;
  font: 500 15.5px/1.3 'Manrope', sans-serif;
  color: var(--ink-deep);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
}
.capture-form input[type='email']::placeholder { color: var(--muted); }
.capture-form input[type='email']:focus {
  outline: none;
  border-bottom-color: var(--petrol);
  box-shadow: 0 1px 0 var(--petrol);
}
.capture-note {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 900px) {
  .capture-band { grid-template-columns: 1fr; gap: 16px; }
  .capture-label { padding-top: 0; }
  .capture-form { padding-top: 6px; }
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Clinical trust: list sits level with the statement, not the folio rule */
#clinical-trust .offer-grid { align-items: center; }
#clinical-trust .offer-list { margin-top: 0; }

.footer-loop {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 32px;
  padding: 26px 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 34px;
}
@media (max-width: 860px) { .footer-loop { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fl-item { display: flex; flex-direction: column; gap: 4px; }
.fl-no { font: 500 10px/1 'Chivo Mono', monospace; letter-spacing: 0.14em; color: var(--sky); }
.fl-tag { font: 700 12px/1.3 'Manrope', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.fl-line { font-size: 12.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.62); }


/* ============ Static journey revision (founder edits, Aug 2026) ============ */
/* Announce: exactly two items */
.announce--split { justify-content: space-between; }

/* Hero result card — the outcome, in the Fig idiom */
.hero-result { max-width: 460px; width: 100%; margin-inline: auto; }
.hero-vg { margin-top: 0; padding: 20px 22px 16px; }
.hr-compare { display: flex; align-items: center; gap: 18px; margin-top: 14px; }
.hr-col { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.hr-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.hr-val { font-size: 34px; line-height: 1; color: var(--ink-deep); }
.hr-chip {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
}
.hr-chip.watch { color: var(--clay); background: rgba(177, 80, 63, 0.1); }
.hr-chip.ok { color: var(--petrol); background: var(--mist); }
.hr-arrow { color: #b9bec5; font-size: 18px; }
.hero-result .vg-sparksvg { margin-top: 14px; }
.hr-caption { margin-top: 12px; color: var(--muted); }

/* Journey strip — static on desktop, swipeable on touch */
.jn-head { max-width: 720px; margin-inline: auto; text-align: center; }
.jn-head .doc-lede { margin-top: 16px; margin-inline: auto; }
.journey-strip {
  margin-top: clamp(34px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
}
.jn-item { position: relative; text-align: left; }
.jn-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--petrol);
  background: #fff;
  position: relative;
  z-index: 1;
}
.jn-item::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 48px;
  right: -22px;
  border-top: 1px dashed #d7dbdf;
}
.jn-item:last-child::before { display: none; }
.jn-tag {
  margin-top: 14px;
  font: 700 13px/1.3 'Manrope', sans-serif;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-deep);
}
.jn-line { margin-top: 7px; font-size: 14.5px; line-height: 1.6; color: var(--body); max-width: 30ch; }
@media (max-width: 820px) {
  /* A calm 2x2 grid: everything visible at once, nothing clipped or
     peeking — the four stages are short enough to sit side by side. */
  .journey-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .jn-item {
    background: #fff;
    border: 1px solid #edeff1;
    border-radius: 14px;
    padding: 16px;
  }
  .jn-item::before { display: none; }
  .jn-no { width: 34px; height: 34px; }
  .jn-tag { margin-top: 12px; font-size: 12px; }
  .jn-line { font-size: 13px; line-height: 1.55; }
}

/* Pillar layouts — copy beside a static visual, alternating sides */
.pillar-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.pillar-grid--flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.pillar-copy .doc-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--petrol-text);
}
.pillar-title { margin-top: 14px; font-size: clamp(30px, 3.6vw, 46px); }
.pillar-intro { margin-top: 18px; font-weight: 700; font-size: 16.5px; color: var(--ink-deep); }
.pillar-body { margin-top: 14px; font-size: 15.5px; line-height: 1.72; color: var(--body); max-width: 58ch; }
.pillar-visual .vignette { margin-top: 0; }
.pillar-visual .shot-frame { max-width: 660px; margin-inline: auto; }
.pillar-visual .report-wrap { max-width: 470px; margin-inline: auto; }
@media (max-width: 900px) {
  .pillar-grid, .pillar-grid--flip { grid-template-columns: 1fr; gap: 28px; }
  .pillar-grid--flip .pillar-visual { order: 2; }
  .pillar-visual .vignette { max-width: 440px; margin-inline: auto; }
}

/* Health areas: footnote beside the reused constellation */
.atlas-note {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
}
.atlas-note-sphere {
  background: var(--deep);
  border-radius: 16px;
  padding: 10px;
  overflow: hidden;
}
.atlas-note-sphere .hero-stage { max-width: 340px; margin-bottom: 0; }
.atlas-note-sphere .stage-caption { color: rgba(255, 255, 255, 0.45); }
@media (max-width: 900px) {
  .atlas-note { grid-template-columns: 1fr; }
  .atlas-note-sphere { max-width: 380px; margin-inline: auto; width: 100%; }
}

/* Hero constellation in the compact static hero. The canvas draws 36%
   past the stage box and its mask fades out at 85% of that, so the stage
   is capped low enough that the whole visible disc sits inside the hero. */
.hero--compact .hero-stage { max-width: clamp(310px, 24vw, 370px); margin-bottom: 0; }
.hero--compact .hero-grid { align-items: center; }

/* Real platform screenshots — browser and phone frames */
.shot-frame {
  /* the app's own background, so white cards visibly float inside the frame */
  background: #eff3f7;
  border: 1px solid var(--stroke-01);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(18, 38, 48, 0.04), 0 22px 48px -26px rgba(18, 38, 48, 0.22);
}
.sf-bar {
  display: flex;
  gap: 5px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--stroke-01);
  background: #fafbfc;
}
.sf-bar i { width: 8px; height: 8px; border-radius: 999px; background: #dde2e6; }
.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
  /* Even, scale-independent breathing room around the captured card —
     padding lives in the frame so it never shrinks with the image. */
  padding: 14px;
  box-sizing: border-box;
}
.shot-phone {
  width: min(340px, 82vw);
  margin-inline: auto;
  background: var(--deep);
  border-radius: 30px;
  padding: 9px;
  box-shadow: 0 2px 4px rgba(18, 38, 48, 0.06), 0 26px 52px -26px rgba(18, 38, 48, 0.3);
}
.shot-phone img { display: block; width: 100%; height: auto; border-radius: 22px; background: #fff; padding-top: 12px; }
.shot-caption { padding: 9px 14px 11px; color: var(--muted); }
/* the chrome rim belongs to the browser frame only — on the phone bezel a
   light strip reads as a rendering glitch */
.shot-frame .shot-caption { background: #fafbfc; border-top: 1px solid var(--stroke-01); }
.shot-phone .shot-caption { background: none; border-top: 0; }
.shot-phone .shot-caption { text-align: center; color: rgba(255, 255, 255, 0.45); padding: 8px 0 3px; }


/* Copy-first hero below 1024px: the constellation's floating labels need
   a genuinely wide viewport to stay clear of the headline column. */
@media (max-width: 1023.98px) {
  .hero--compact .hero-stage { display: none; }
  .hero { overflow: hidden; }
}

/* Mobile announce: one clear action, no cramped double strip */
@media (max-width: 640px) {
  .announce--split a:first-child { display: none; }
  .announce--split { justify-content: center; }
}

/* Mobile menu: calmer sheet — less dead space, quieter labels, roomier taps */
@media (max-width: 1099.98px) {
  .mobile-menu { padding: 108px var(--gutter) 36px; }
  .mm-label {
    margin: 30px 0 8px;
    border-bottom: 0;
    color: var(--petrol);
  }
  .mm-label:first-child { margin-top: 0; }
  .mobile-menu > a {
    font-size: 27px;
    padding: 12px 0;
    border-bottom: 1px solid #ececef;
  }
  .mobile-menu > a:last-of-type { border-bottom: 0; }
  .mm-actions { margin-top: 34px; flex-direction: column; }
  .mm-actions .btn { min-height: 52px; font-size: 16px; }
  .member-menu { margin-top: 24px; }
  .member-menu a {
    border-bottom: 1px solid #ececef;
    padding: 12px 0;
    font-size: 27px;
  }
  .member-menu a:last-child { border-bottom: 0; }
}


/* Mobile: mockups shed their chrome — plain rounded captures */
@media (max-width: 640px) {
  /* Keep a slim bezel on mobile: a bare screenshot reads as a paste-in,
     the dark rim reads as a phone. */
  .shot-phone {
    background: var(--deep);
    padding: 7px;
    width: min(300px, 80vw);
    border-radius: 26px;
    box-shadow: 0 2px 4px rgba(18, 38, 48, 0.06), 0 22px 44px -24px rgba(18, 38, 48, 0.3);
  }
  .shot-phone img { border-radius: 20px; border: 0; box-shadow: none; }
  .shot-phone .shot-caption { color: rgba(255, 255, 255, 0.45); }
  .sf-bar { display: none; }
  .shot-frame { border-radius: 12px; }
  .shot-frame img { border-radius: 11px 11px 0 0; }
}

/* ================================================================
   2026-08 landing feedback pass: product-led hero, elevated partners,
   Improve walkthrough, consultation panel, six-month map, trust stats
   ================================================================ */

/* --- Hero: the report is the visual --- */
.hero-stage--product {
  aspect-ratio: auto;
  max-width: clamp(430px, 40vw, 560px);
  margin-bottom: 0;
  width: 100%;
}
.hero--compact .hero-stage--product { max-width: clamp(430px, 40vw, 560px); }
.hero-shot {
  box-shadow:
    0 1px 2px rgba(4, 18, 26, 0.4),
    0 40px 90px -30px rgba(4, 18, 26, 0.65);
  border-color: rgba(255, 255, 255, 0.14);
}
@media (max-width: 1023.98px) {
  /* unlike the constellation, the product shot earns its place on mobile */
  .hero--compact .hero-stage--product { display: block; max-width: 520px; margin-top: 40px; }
}

/* --- Partners: a credentials row, not a footnote --- */
.partners { padding: 44px 0 40px; }
.partners-head {
  display: flex;
  align-items: baseline;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.partners-note { color: var(--body); font-size: 14.5px; max-width: 52ch; margin: 0; }
.partners-grid {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px 28px;
  flex-wrap: wrap;
}
.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
}
.partner img {
  height: 36px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.partner img.pt-dense { height: 25px; }
.partner img.pt-air { height: 47px; }
.partner:hover img { filter: none; opacity: 1; }
.partner figcaption { color: var(--muted); font-size: 9.5px; }
@media (max-width: 900px) {
  .partners-grid { justify-content: flex-start; gap: 20px 30px; }
  .partner img { height: 30px; }
  .partner img.pt-dense { height: 21px; }
  .partner img.pt-air { height: 38px; }
}

/* --- Improve walkthrough: steps beside the live plan --- */
.walkthrough {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.wt-steps { display: flex; flex-direction: column; gap: 30px; }
.wt-step { display: flex; gap: 18px; }
.wt-no {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--petrol-text);
  padding-top: 4px;
}
.wt-body h3 { font-size: 16.5px; font-weight: 700; color: var(--ink-deep); }
.wt-body p { margin-top: 7px; font-size: 14.5px; line-height: 1.66; color: var(--body); max-width: 46ch; }
.wt-shot { max-width: 640px; margin-inline: auto; width: 100%; }
@media (max-width: 900px) {
  .walkthrough { grid-template-columns: 1fr; }
  .wt-shot { order: -1; max-width: 520px; }
}

/* --- Consultation: thirty minutes, three parts --- */
.consult {
  margin-top: clamp(48px, 6vw, 80px);
  border: 1px solid var(--stroke-01);
  border-radius: 16px;
  background: #fff;
  padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 1px 2px rgba(18, 38, 48, 0.04), 0 26px 54px -30px rgba(18, 38, 48, 0.18);
}
.consult-head .doc-label { color: var(--petrol-text); }
.consult-head { margin-bottom: clamp(22px, 3vw, 34px); }
.consult-title { font-size: clamp(22px, 3vw, 29px); line-height: 1.15; margin-top: 10px; max-width: 26ch; }
.consult-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.cn-item { display: flex; gap: 14px; }
.cn-no { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--petrol-text); padding-top: 3px; }
.cn-item h4 { font-size: 15.5px; font-weight: 700; color: var(--ink-deep); }
.cn-item p { margin-top: 6px; font-size: 14px; line-height: 1.62; color: var(--body); }
.consult-note {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--stroke-01);
  font-size: 13.5px;
  color: #6f7076;
  max-width: 72ch;
}
@media (max-width: 900px) {
  .consult-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* --- The six months, mapped --- */
.months { margin-top: clamp(48px, 6vw, 80px); }
.months-head .doc-label { color: var(--petrol-text); }
.months-title { font-size: clamp(22px, 3vw, 29px); line-height: 1.15; margin-top: 10px; }
.months-track {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px 22px;
}
.mo { position: relative; padding-top: 16px; }
.mo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: -22px;
  height: 2px;
  background: #e6e9ec;
}
.mo:last-child::before { right: 0; }
.mo::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--petrol);
}
.mo-when { color: var(--petrol-text); display: block; }
.mo h4 { margin-top: 8px; font-size: 15.5px; font-weight: 700; color: var(--ink-deep); }
.mo p { margin-top: 6px; font-size: 13.5px; line-height: 1.6; color: var(--body); }
.months-note { margin-top: 26px; font-size: 13.5px; color: #6f7076; max-width: 72ch; }
@media (max-width: 900px) {
  .months-track { grid-template-columns: 1fr; gap: 20px; padding-left: 26px; }
  .mo { padding-top: 0; padding-left: 0; }
  .mo::before {
    top: 4px;
    bottom: -20px;
    left: -16px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .mo:last-child::before { bottom: 4px; }
  .mo::after { top: 2px; left: -19px; }
}

/* --- Dark band: the programme in numbers --- */
.trust-stats {
  margin: 34px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px 44px;
}
.trust-stats > div { border-left: 1px solid rgba(255, 255, 255, 0.18); padding-left: 16px; }
.trust-stats dt { color: rgba(255, 255, 255, 0.52); }
.trust-stats dd {
  margin: 6px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

/* --- Mobile polish (SOTA pass): partners, hero trust line, phone mock --- */
@media (max-width: 640px) {
  .partners-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 16px;
    justify-items: center;
  }
  .partner { justify-content: flex-end; gap: 8px; }
  .partner:last-child { grid-column: 1 / -1; }
  .partner figcaption { font-size: 8.5px; letter-spacing: 0.1em; text-align: center; }
  .hero-reg { font-size: 9.5px; letter-spacing: 0.1em; line-height: 1.9; }
  .wt-shot { max-width: none; }
}

/* ================================================================
   V2 — photographic hero, designed data-graphics, tighter rhythm
   ================================================================ */

/* Tighter editorial spacing across the page */
.doc-head { margin-bottom: clamp(26px, 4vw, 46px); }
.pillar-grid, .pillar-grid--flip { gap: clamp(24px, 3.2vw, 44px); }
.case, .walkthrough, .consult, .months { margin-top: clamp(38px, 4.5vw, 60px); }

/* --- Hero v2: full-bleed photograph with data overlays --- */
.hero--photo {
  position: relative;
  min-height: min(88svh, 780px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(90px, 12vh, 140px) 0 0;
  isolation: isolate;
}
.hero--photo .hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../images/photo/hero-dawn.jpg");
  background-size: cover;
  background-position: center 30%;
  filter: saturate(0.82) brightness(0.92);
}
.hero--photo .hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(78deg, rgba(6, 20, 28, 0.88) 0%, rgba(6, 20, 28, 0.62) 44%, rgba(6, 20, 28, 0.42) 72%, rgba(6, 20, 28, 0.5) 100%),
    linear-gradient(180deg, rgba(6, 20, 28, 0.35) 0%, transparent 26%, transparent 62%, rgba(6, 20, 28, 0.82) 100%);
}
.hero--photo .hero-copy { max-width: 620px; }
.hero--photo .hero-title { font-size: clamp(50px, 6.2vw, 88px); }
.hero--photo .hero-sub { max-width: 46ch; }
.hero--photo .hero-reg { margin-top: 34px; margin-bottom: 40px; }

/* Floating data chips over the photograph */
.fx-chips {
  position: absolute;
  right: clamp(16px, 6vw, 96px);
  top: clamp(96px, 16vh, 180px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
  z-index: 1;
}
.fx-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(4, 18, 26, 0.35), 0 24px 48px -20px rgba(4, 18, 26, 0.5);
  padding: 12px 16px;
  animation: fx-float 7s ease-in-out infinite;
}
.fx-card--ring { display: flex; align-items: center; gap: 12px; }
.fx-card:nth-child(2) { animation-delay: 1.6s; animation-duration: 8s; }
.fx-card:nth-child(3) { animation-delay: 3.1s; animation-duration: 9s; }
@keyframes fx-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) { .fx-card { animation: none; } }
.fx-ring { width: 44px; height: 44px; border-radius: 999px;
  background: conic-gradient(var(--optimal) 0 71%, #e2e5e9 71% 100%); position: relative; }
.fx-ring::after { content: ""; position: absolute; inset: 5px; border-radius: 999px; background: #fff; }
.fx-ring span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 13px; color: var(--ink-deep); z-index: 1;
}
.fx-kicker { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: #6f7076; }
.fx-strong { font-size: 13.5px; font-weight: 700; color: var(--ink-deep); line-height: 1.35; }
.fx-note { font-size: 11.5px; color: #6f7076; }

/* Hero stat band — the Function move, in Averon voice */
.hero-stats {
  margin-top: clamp(30px, 5vh, 56px);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(6, 20, 28, 0.45);
  backdrop-filter: blur(6px);
}
.hero-stats .container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hs-item { padding: 20px 0 24px; }
.hs-item + .hs-item { border-left: 1px solid rgba(255, 255, 255, 0.14); padding-left: 26px; }
.hs-num { font-family: var(--font-serif); font-size: clamp(26px, 3vw, 40px); color: #fff; line-height: 1; }
.hs-cap { margin-top: 7px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }

/* --- Panel marquee — kinetic credibility ribbon --- */
.marquee-band { background: #fff; border-block: 1px solid var(--hairline-soft); padding: 18px 0; overflow: hidden; }
.marquee { display: flex; gap: 44px; width: max-content; animation: marquee-scroll 48s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.mq-item { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.mq-name { font-family: var(--font-serif); font-size: 17px; color: var(--ink-deep); }
.mq-count { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--petrol-text); }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; flex-wrap: wrap; width: auto; } }

/* --- Designed data-graphic cards (no screenshots) --- */
.dg-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(18, 38, 48, 0.06), 0 1px 2px rgba(18, 38, 48, 0.05), 0 30px 60px -30px rgba(18, 38, 48, 0.25);
  padding: clamp(20px, 2.6vw, 30px);
  max-width: 560px;
  margin-inline: auto;
  width: 100%;
}
.dg-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.dg-title { font-family: var(--font-serif); font-size: 21px; color: var(--ink-deep); }
.dg-sub { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #8a8b94; }
.dg-flag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--high-risk); background: rgba(188, 92, 73, 0.09); border-radius: 8px; padding: 4px 10px; white-space: nowrap;
}
.dg-rows { margin-top: 14px; display: flex; flex-direction: column; }
.dg-row { display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(84px, 0.9fr); align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hairline-faint); }
.dg-row:first-child { border-top: 0; }
.dg-marker { font-size: 14.5px; font-weight: 600; color: var(--ink-deep); }
.dg-marker small { display: block; font-family: var(--font-mono); font-size: 10px; color: #8a8b94; font-weight: 400; margin-top: 2px; letter-spacing: 0.04em; }
.dg-val { font-family: var(--font-mono); font-size: 13px; color: var(--ink-deep); white-space: nowrap; }
.dg-val small { color: #8a8b94; font-size: 10px; }
/* miniature range track with a marker dot */
.dg-range { position: relative; height: 4px; border-radius: 999px; background: linear-gradient(90deg, #eef0f2 0 18%, rgba(13, 121, 120, 0.18) 18% 78%, rgba(188, 92, 73, 0.16) 78% 100%); }
.dg-dot { position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 999px; transform: translate(-50%, -50%); background: var(--optimal); box-shadow: 0 0 0 3px rgba(13, 121, 120, 0.15); }
.dg-dot--high { background: var(--high-risk); box-shadow: 0 0 0 3px rgba(188, 92, 73, 0.16); }
.dg-note { margin-top: 14px; font-size: 12.5px; line-height: 1.6; color: #6f7076; border-top: 1px solid var(--hairline-faint); padding-top: 12px; }

/* Doctor-summary designed card */
.dg-doctor { display: flex; flex-direction: column; gap: 14px; }
.dg-signed { display: flex; align-items: center; gap: 10px; }
.dg-avatar { width: 34px; height: 34px; border-radius: 999px; background: linear-gradient(135deg, var(--petrol), var(--sky)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 11px; }
.dg-signed b { display: block; font-size: 13.5px; color: var(--ink-deep); }
.dg-signed span { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #8a8b94; }
.dg-quote { font-size: 15.5px; line-height: 1.7; color: var(--body); border-left: 2px solid var(--petrol); padding-left: 16px; }
.dg-links { display: flex; flex-wrap: wrap; gap: 8px; }
.dg-link-chip { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--petrol); background: var(--mist); border-radius: 8px; padding: 5px 10px; }

/* Progress comparison bars */
.dg-bars { margin-top: 16px; display: flex; flex-direction: column; gap: 16px; }
.dg-bar-group .dg-bar-label { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--body); margin-bottom: 6px; }
.dg-bar-label b { color: var(--ink-deep); }
.dg-bar { position: relative; height: 10px; border-radius: 999px; background: #eef0f2; overflow: hidden; }
.dg-bar i { position: absolute; inset-block: 0; left: 0; border-radius: 999px; }
.dg-bar--then i { background: #c9ced3; }
.dg-bar--now i { background: linear-gradient(90deg, var(--petrol), var(--sky)); }
.dg-delta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--optimal); }

/* --- Photo panels with overlaid data chips --- */
.photo-panel { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(18, 38, 48, 0.08), 0 30px 60px -30px rgba(18, 38, 48, 0.35); min-height: 340px; }
.photo-panel img.pp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.photo-panel .pp-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(6, 20, 28, 0.55) 100%); }
.pp-chips { position: absolute; inset: 0; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; align-items: flex-start; }
.pp-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.94); border-radius: 12px; padding: 9px 14px;
  box-shadow: 0 10px 26px -12px rgba(4, 18, 26, 0.5);
  font-size: 13px; font-weight: 600; color: var(--ink-deep);
}
.pp-chip .mono { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--petrol); }
.pp-tick { width: 18px; height: 18px; border-radius: 999px; background: var(--optimal); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }

/* Consultation band photo */
.consult-grid-v2 { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(22px, 3.4vw, 44px); align-items: center; }
@media (max-width: 900px) { .consult-grid-v2 { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
  .hero--photo { min-height: 74svh; }
  .fx-chips { position: static; margin-top: 26px; flex-direction: row; flex-wrap: wrap; align-items: stretch; justify-content: flex-start; }
  .hero-stats .container { grid-template-columns: 1fr; gap: 0; }
  .hs-item { padding: 12px 0; }
  .hs-item + .hs-item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-left: 0; }
  .dg-card { max-width: 520px; }
}
.consult-grid-v2 .consult-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 0; }
.consult-grid-v2 .photo-panel { min-height: 300px; }
/* In the column-flex hero, auto margins shrink-wrap the container; force full width */
.hero--photo > .container { width: 100%; }
@media (max-width: 900px) {
  .hero--photo { flex-direction: column; }
  .hero--photo > .container { order: 1; }
  .fx-chips { order: 2; padding-inline: var(--gutter); margin-top: 20px; margin-bottom: 8px; }
  .fx-chips .fx-card:nth-child(3) { display: none; }
  .hero-stats { order: 3; }
}
