/* White Moon Psychiatry
   Layout concept: an editorial page with a narrow label rail and a wide reading column;
   navy bands open and close the story, near-white and mist bands carry the reading.
   One signature graphic: the logo's orbit, used in the hero and the care cycle only. */

@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-opsz.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-opsz-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* color */
  --navy-950: #021230;   /* logo ground */
  --navy-900: #071a3e;
  --navy-800: #0c2552;
  --ink: #0e1b36;        /* navy text on light */
  --ink-soft: #4a566d;
  --paper: #fbfaf7;      /* moonlight white, not cream */
  --mist: #edf1f4;       /* blue-grey reading band */
  --rule: #d6dce4;
  --moon: #fdf8f3;       /* the moons in the logo */
  --teal: #3cccb8;       /* accent on navy */
  --teal-ink: #0b7366;   /* accent on light, 5.5:1 */
  --on-navy: #e8edf4;
  --on-navy-soft: #a9b5c8;
  --rule-dark: rgba(253, 248, 243, 0.16);
  --focus: #3cccb8;

  /* type */
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;

  --fs-hero: clamp(2.5rem, 1.45rem + 3.9vw, 4.85rem);
  --fs-h1: clamp(2.25rem, 1.5rem + 2.7vw, 3.85rem);
  --fs-h2: clamp(1.85rem, 1.35rem + 1.7vw, 2.85rem);
  --fs-statement: clamp(1.45rem, 1.15rem + 1.05vw, 2.1rem);
  --fs-lede: clamp(1.1rem, 1rem + 0.35vw, 1.28rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;

  --wrap: 1200px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --band-y: clamp(4rem, 3rem + 4vw, 7.5rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--navy-950); }
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.band-paper :focus-visible, .band-mist :focus-visible, .page-hero :focus-visible { outline-color: var(--teal-ink); }
p { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * 40px);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--moon); color: var(--navy-950); padding: 0.6rem 1rem; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.display { font-family: var(--serif); font-weight: 380; letter-spacing: -0.012em; line-height: 1.06; font-optical-sizing: auto; }
.display em { font-style: italic; font-weight: 340; }
.h2 { font-size: var(--fs-h2); line-height: 1.1; }
.label, .eyebrow, .rail-label {
  font-family: var(--sans); font-size: var(--fs-label); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-ink);
}
.eyebrow-light, .label-light { color: var(--teal); }
.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--ink-soft); max-width: 40em; }
.statement { font-family: var(--serif); font-size: var(--fs-statement); line-height: 1.32; font-weight: 380; letter-spacing: -0.005em; max-width: 30em; }
.prose p + p { margin-top: 1.05em; }
.prose { max-width: 38em; }
.prose-light { color: var(--on-navy); }
.fine { font-size: var(--fs-small); color: var(--ink-soft); max-width: 48em; line-height: 1.6; }
.fine a, .prose a { color: var(--teal-ink); }
.prose-light a { color: var(--teal); }

.text-link { display: inline-flex; gap: 0.45em; align-items: baseline; font-weight: 600; font-size: 0.95rem; color: var(--teal-ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: var(--ink); }
.text-link-light { color: var(--teal); }
.text-link-light:hover { color: var(--moon); }

/* ---------- buttons: squared, quiet ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-row.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0.75rem 1.35rem; font: 600 0.95rem/1.2 var(--sans); letter-spacing: 0.01em;
  text-decoration: none; border-radius: 2px; border: 1px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--navy-950); color: var(--moon); }
.btn-primary:hover { background: var(--navy-800); }
.btn-light, .closing .btn-primary { background: var(--moon); color: var(--navy-950); }
.btn-light:hover, .closing .btn-primary:hover { background: #fff; }
.btn-ghost-light { color: var(--on-navy); border-color: rgba(253, 248, 243, 0.4); }
.btn-ghost-light:hover { border-color: var(--moon); color: #fff; }
.btn-ghost { color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--moon); }

/* ---------- status bar + header ---------- */
.statusbar { background: var(--navy-950); color: var(--on-navy-soft); font-size: 0.8125rem; border-bottom: 1px solid var(--rule-dark); }
.statusbar-inner { display: flex; align-items: center; gap: 0.6rem; padding-block: 0.5rem; }
.moon-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--moon); box-shadow: 0 0 0 3px rgba(60, 204, 184, 0.25); flex: none; }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--navy-950); color: var(--on-navy); border-bottom: 1px solid var(--rule-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.brand { display: block; line-height: 0; }
.brand-logo { height: 38px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; font-size: 0.9375rem; font-weight: 500; color: var(--on-navy); padding-block: 0.4rem; border-bottom: 1px solid transparent; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { border-bottom-color: var(--teal); color: #fff; }
.nav-cta { border: 1px solid rgba(253, 248, 243, 0.4) !important; padding: 0.55rem 1rem !important; border-radius: 2px; }
.nav-cta:hover { border-color: var(--moon) !important; }
.menu-toggle { display: none; }

@media (max-width: 879px) {
  .brand-logo { height: 34px; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0 0.25rem 0 0.75rem;
    background: none; border: 0; color: var(--on-navy); font: 600 0.875rem var(--sans); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer;
  }
  .menu-toggle-icon { position: relative; width: 22px; height: 12px; }
  .menu-toggle-icon::before, .menu-toggle-icon::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .2s ease, top .2s ease; }
  .menu-toggle-icon::before { top: 0; }
  .menu-toggle-icon::after { top: 10px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon::before { top: 5px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon::after { top: 5px; transform: rotate(-45deg); }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy-950); border-bottom: 1px solid var(--rule-dark);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.5rem max(20px, env(safe-area-inset-right, 0px)) 1.25rem max(20px, env(safe-area-inset-left, 0px));
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 0.9rem 0; font-family: var(--serif); font-size: 1.45rem; font-weight: 380; border-bottom: 1px solid var(--rule-dark); }
  .site-nav ul a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--rule-dark); }
  .nav-cta { margin-top: 1.1rem; text-align: center; padding: 0.85rem 1rem !important; }
}
@media (scripting: none) { .site-nav { display: flex; position: static; } .menu-toggle { display: none; } }

/* ---------- bands ---------- */
.band { padding-block: var(--band-y); }
.band-paper { background: var(--paper); }
.band-mist { background: var(--mist); }
.band-navy { background: var(--navy-900); color: var(--on-navy); }

.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2.25rem, 1.5rem + 2vw, 3.5rem); max-width: 46rem; }
.section-head.split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1.1fr 1fr; gap: 3rem; } }
.section-intro { color: var(--ink-soft); font-size: var(--fs-lede); line-height: 1.55; max-width: 34em; }

/* rail grid: label in a narrow margin column, reading column beside it */
.rail-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .rail-grid { grid-template-columns: 200px minmax(0, 1fr); gap: 3rem; } .rail-label { padding-top: 0.6rem; border-top: 1px solid var(--rule); } }
.rail-body { display: grid; gap: 2.25rem; justify-items: start; min-width: 0; }
.two-col { display: grid; gap: 1.25rem 3rem; max-width: none; }
@media (min-width: 760px) { .two-col { grid-template-columns: 1fr 1fr; } .two-col p + p { margin-top: 0; } }
.pull { margin: 0.5rem 0; padding: 1.5rem 0 0; border-top: 1px solid var(--rule); width: 100%; }
.pull p { font-family: var(--serif); font-style: italic; font-weight: 340; font-size: clamp(1.8rem, 1.2rem + 2.3vw, 3.3rem); line-height: 1.1; letter-spacing: -0.015em; color: var(--ink); max-width: 18em; }

/* ---------- home hero ---------- */
.hero { background: var(--navy-950); color: var(--on-navy); position: relative; overflow: hidden; padding-block: clamp(3rem, 2rem + 4vw, 6rem) 0; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: 3rem; } }
.hero-text { display: grid; gap: 1.6rem; justify-items: start; }
.hero-title { font-size: var(--fs-hero); color: var(--moon); max-width: 13.5em; }
.hero-title em { display: block; color: var(--teal); margin-top: 0.08em; }
.hero-lede { font-size: var(--fs-lede); line-height: 1.6; color: var(--on-navy-soft); max-width: 34em; }
.hero-figure { margin: 0; position: relative; display: none; color: var(--moon); }
@media (min-width: 960px) { .hero-figure { display: block; margin-right: -6%; transform: scale(1.12); transform-origin: 40% 50%; } }
.hero-orbit { width: 100%; height: auto; display: block; }
.hero-caption { position: absolute; left: 50%; top: 52%; transform: translate(-48%, -50%); font-family: var(--serif); font-style: italic; font-weight: 340; font-size: clamp(1.15rem, 0.8rem + 0.8vw, 1.55rem); color: var(--on-navy); white-space: nowrap; letter-spacing: 0.005em; }
.hero-facts { list-style: none; margin: clamp(2.75rem, 2rem + 3vw, 4.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule-dark); }
.hero-facts li { display: grid; gap: 0.2rem; padding: 1.1rem 1rem 1.4rem 0; min-width: 0; }
.hero-facts li + li { border-left: 1px solid var(--rule-dark); padding-left: 1rem; }
.hero-facts li:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule-dark); }
.hero-facts li:nth-child(4) { border-top: 1px solid var(--rule-dark); }
@media (min-width: 760px) {
  .hero-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-facts li:nth-child(3) { border-left: 1px solid var(--rule-dark); padding-left: 1rem; border-top: 0; }
  .hero-facts li:nth-child(4) { border-top: 0; }
}
.hero-facts .k { font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.hero-facts .v { font-size: 0.95rem; color: var(--on-navy); }

/* ---------- care cycle ---------- */
.cycle { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 980px) { .cycle { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 4rem; } }
.cycle-figure { color: var(--ink); }
.cycle-svg { width: 100%; height: auto; display: block; overflow: visible; }
.cycle-node circle:first-child { fill: var(--mist); stroke: currentColor; stroke-width: 1.25; }
.cycle-node .ink { fill: var(--ink); }
.cycle-labels { }
@media (max-width: 599px) { .cycle-labels { display: none; } }
.cycle-labels text { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; fill: var(--teal-ink); }
.cycle-list { margin: 0; display: grid; gap: 0; }
.cycle-list > div { padding: 1.15rem 0; border-top: 1px solid var(--rule); display: grid; gap: 0.35rem; }
.cycle-list > div:last-child { border-bottom: 1px solid var(--rule); }
.cycle-list dt { display: flex; align-items: center; gap: 0.65rem; font-family: var(--serif); font-size: 1.45rem; font-weight: 420; line-height: 1.2; }
.cycle-list dd { margin: 0; color: var(--ink-soft); max-width: 34em; }
.phase { width: 18px; height: 18px; flex: none; color: var(--ink); }
.cycle-note { margin-top: 2rem; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--ink-soft); }

/* ---------- services index (no cards) ---------- */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.index-row { border-bottom: 1px solid var(--rule); }
.index-row a { display: grid; gap: 0.6rem; padding: 1.75rem 0; text-decoration: none; color: inherit; }
@media (min-width: 900px) { .index-row a { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) 12rem; gap: 2.5rem; align-items: baseline; padding: 2.1rem 0; } }
.index-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.45rem, 1.2rem + 0.9vw, 2rem); line-height: 1.15; letter-spacing: -0.01em; transition: color .18s ease; }
.index-desc { color: var(--ink-soft); }
.index-meta { font-size: var(--fs-small); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .index-meta { text-align: right; } }
.index-row a:hover .index-title { color: var(--teal-ink); }
.index-row a:hover .index-title::after { content: " →"; }

.interests { margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); display: grid; gap: 1.25rem; }
.interest-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 3rem; }
@media (min-width: 760px) { .interest-list { grid-template-columns: 1fr 1fr; } }
.interest-list a { display: grid; gap: 0.3rem; padding: 1.1rem 0 1.3rem; border-top: 1px solid var(--rule); text-decoration: none; }
.interest-list strong { font-weight: 600; font-size: 1.05rem; }
.interest-list span { color: var(--ink-soft); font-size: 0.97rem; }
.interest-list a:hover strong { color: var(--teal-ink); }

/* ---------- physician ---------- */
.physician { display: grid; gap: 3rem; }
@media (min-width: 960px) { .physician { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; } }
.physician-id { display: grid; gap: 0.9rem; align-content: start; }
.physician-name { font-size: var(--fs-h1); color: var(--moon); }
.physician-title { font-size: 1.05rem; color: var(--teal); font-weight: 500; }
.physician-bio { display: grid; gap: 1.1rem; align-content: start; justify-items: start; padding-top: 0.3rem; }
.physician-bio p + p { margin-top: 0; }
.ledger { margin: 1.25rem 0 0; display: grid; }
.ledger > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.15rem; padding: 0.85rem 0; border-top: 1px solid var(--rule); }
@media (min-width: 560px) { .ledger > div { grid-template-columns: 11rem minmax(0, 1fr); gap: 1.5rem; } }
.ledger dt { font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); padding-top: 0.2rem; }
.ledger dd { margin: 0; }
.ledger-dark > div { border-top-color: var(--rule-dark); }
.ledger-dark dt { color: var(--on-navy-soft); }
.ledger-dark dd { color: var(--on-navy); }

/* ---------- fit ---------- */
.fit { display: grid; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (min-width: 860px) { .fit { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.fit-title { font-family: var(--serif); font-weight: 420; font-size: 1.6rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--ink); margin-bottom: 0.25rem; }
.fit ul { list-style: none; margin: 0; padding: 0; }
.fit li { padding: 0.8rem 0 0.8rem 1.6rem; border-bottom: 1px solid var(--rule); position: relative; }
.fit li::before { content: ""; position: absolute; left: 0.15rem; top: 1.38rem; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-ink); }
.fit-col-not li::before { background: transparent; border: 1.25px solid var(--ink-soft); width: 8px; height: 8px; }
.fit-col-not li { color: var(--ink-soft); }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; gap: 0; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 1.75rem; } }
.steps li { display: grid; gap: 0.55rem; align-content: start; padding: 1.25rem 0 1.5rem; border-top: 1px solid var(--ink); }
.steps li + li { border-top-color: var(--rule); }
@media (min-width: 900px) { .steps li + li { border-top-color: var(--ink); } }
.step-n { font-family: var(--serif); font-size: 2.4rem; font-weight: 320; line-height: 1; color: var(--teal-ink); font-variant-numeric: lining-nums; }
.steps h3 { font-size: 1.05rem; font-weight: 600; }
.steps p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- closing ---------- */
.closing { background: var(--navy-950); color: var(--on-navy); padding-block: clamp(5rem, 3.5rem + 6vw, 9rem); position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1100px, 150vw); aspect-ratio: 2.4; transform: translate(-50%, -50%); border: 1px solid rgba(253, 248, 243, 0.14); border-radius: 50%; pointer-events: none; }
.closing-inner { position: relative; display: grid; justify-items: center; text-align: center; gap: 1.5rem; }
.closing-moon { width: 22px; height: 22px; border-radius: 50%; background: var(--moon); }
@media (min-width: 900px) { .closing-moon { position: absolute; left: 50%; top: calc(50% - min(1100px, 150vw) / 4.8 - 11px); transform: translateX(-50%); } .closing { padding-block: clamp(7rem, 5rem + 6vw, 10rem); } }
.closing-title { font-size: var(--fs-h1); color: var(--moon); }
.closing-text { color: var(--on-navy-soft); max-width: 34em; font-size: var(--fs-lede); line-height: 1.55; }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; background: var(--paper); padding-block: clamp(3.25rem, 2.25rem + 4vw, 6rem) clamp(3rem, 2rem + 3vw, 4.75rem); border-bottom: 1px solid var(--rule); overflow: hidden; }
.page-hero-inner { display: grid; gap: 2.25rem; position: relative; z-index: 1; }
@media (min-width: 960px) { .page-hero-inner:has(.page-hero-aside) { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 5rem; align-items: end; } }
.page-hero-text { display: grid; gap: 1.25rem; }
.page-hero h1 { font-size: var(--fs-h1); max-width: 15em; }
.page-hero h1 em { color: var(--teal-ink); }
.page-hero-orbit { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 120px; color: var(--rule); pointer-events: none; }

.facts { margin: 0; display: grid; border-top: 1px solid var(--ink); }
.facts > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); padding-top: 0.2rem; }
.facts dd { margin: 0; font-size: 0.97rem; }
.facts a { color: var(--teal-ink); }

/* ---------- long-form article layout ---------- */
.article { display: grid; gap: 3rem; padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
@media (min-width: 980px) { .article { grid-template-columns: 200px minmax(0, 1fr); gap: 3rem; } }
.toc { display: none; }
@media (min-width: 980px) {
  .toc { display: block; position: sticky; top: 6.5rem; align-self: start; font-size: 0.9rem; }
  .toc ol { list-style: none; margin: 0.9rem 0 0; padding: 0; display: grid; gap: 0.55rem; border-left: 1px solid var(--rule); }
  .toc a { display: block; padding-left: 1rem; margin-left: -1px; border-left: 1px solid transparent; color: var(--ink-soft); text-decoration: none; line-height: 1.35; }
  .toc a:hover { color: var(--ink); border-left-color: var(--teal-ink); }
}
.article-body { min-width: 0; max-width: 42rem; }
.article-body > section { padding-bottom: 2.75rem; margin-bottom: 2.75rem; border-bottom: 1px solid var(--rule); }
.article-body > section:last-of-type { border-bottom: 0; margin-bottom: 0; }
.article-body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem); line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 1rem; }
.article-body h3 { font-size: 1.05rem; font-weight: 600; margin: 1.75rem 0 0.5rem; }
.article-body p + p, .article-body ul + p, .article-body ol + p, .article-body .callout + p { margin-top: 1em; }
.article-body ul, .article-body ol { padding-left: 1.2rem; margin: 1rem 0 0; display: grid; gap: 0.5rem; }
.article-body li::marker { color: var(--teal-ink); }
.article-body a { color: var(--teal-ink); }
.callout { margin: 1.75rem 0 0; padding: 1.25rem 1.4rem; background: var(--mist); border-left: 2px solid var(--teal-ink); }
.callout p { font-size: 0.97rem; }
.callout strong { font-weight: 600; }
.review-note { font-size: var(--fs-small); color: var(--ink-soft); margin-top: 2rem; }

.related { margin-top: 1rem; }
.related ul { list-style: none; margin: 0.9rem 0 0; padding: 0; border-top: 1px solid var(--rule); }
.related a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.95rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 500; }
.related a:hover { color: var(--teal-ink); }

/* ---------- faq ---------- */
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group h2 { margin-bottom: 0.5rem; }
details.qa { border-bottom: 1px solid var(--rule); }
details.qa:first-of-type { border-top: 1px solid var(--ink); }
details.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline; padding: 1.15rem 0; font-weight: 600; font-size: 1.05rem; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; font-family: var(--serif); font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--teal-ink); flex: none; transition: transform .2s ease; }
details.qa[open] summary::after { transform: rotate(45deg); }
details.qa .qa-a { padding: 0 0 1.4rem; color: var(--ink-soft); max-width: 40em; }
details.qa .qa-a p + p { margin-top: 0.8em; }

/* ---------- contact + states ---------- */
.contact-grid { display: grid; gap: 3rem; padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 5rem; } }
.contact-lines { display: grid; border-top: 1px solid var(--ink); }
.contact-line { display: grid; gap: 0.3rem; padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
.contact-line .k { font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); }
.contact-line .v { font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.85rem); font-weight: 400; text-decoration: none; overflow-wrap: anywhere; }
.contact-line a.v:hover { color: var(--teal-ink); }
.states { list-style: none; margin: 1rem 0 0; padding: 0; border-top: 1px solid var(--rule); }
.states li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); font-size: 0.97rem; }
.states .s-status { color: var(--ink-soft); font-size: var(--fs-small); text-align: right; }
.states .s-open { color: var(--teal-ink); font-weight: 600; }
.notice { padding: 1.4rem 1.5rem; background: var(--navy-950); color: var(--on-navy); }
.notice strong { color: var(--moon); }
.notice p + p { margin-top: 0.6em; }

/* ---------- fees table ---------- */
.fee-table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 0.98rem; }
.fee-table th, .fee-table td { text-align: left; padding: 0.95rem 1rem 0.95rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.fee-table thead th { font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; border-bottom: 1px solid var(--ink); }
.fee-table td:last-child, .fee-table th:last-child { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-navy-soft); padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem) 2.5rem; font-size: 0.93rem; border-top: 1px solid var(--rule-dark); }
.f-top { display: grid; gap: 2.75rem; padding-bottom: 2.75rem; border-bottom: 1px solid var(--rule-dark); }
@media (min-width: 960px) { .f-top { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 4rem; align-items: start; } }
.f-logo { width: 100%; max-width: 300px; height: auto; display: block; }
.f-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
@media (min-width: 700px) { .f-cols { grid-template-columns: 1fr 1fr 1.5fr; } }
.f-title { font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-bottom: 0.85rem; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.f-col a { text-decoration: none; color: var(--on-navy); overflow-wrap: anywhere; }
.f-col a:hover { color: #fff; text-decoration: underline; }
.f-emergency { padding: 1.5rem 0; border-bottom: 1px solid var(--rule-dark); color: var(--on-navy); max-width: 62em; }
.f-emergency strong { color: var(--moon); font-weight: 600; }
.f-legal { padding-top: 1.5rem; display: grid; gap: 0.6rem; font-size: 0.85rem; max-width: 62em; }
.f-legal a { color: var(--on-navy); }

/* ---------- misc ---------- */
.center-page { padding-block: clamp(5rem, 4rem + 6vw, 9rem); text-align: center; display: grid; justify-items: center; gap: 1.25rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .statusbar, .site-header, .site-footer, .closing { display: none; }
  body { background: #fff; }
}

.mt-xs { margin-top: 1rem; } .mt-s { margin-top: 1.25rem; } .mt-m { margin-top: 1.5rem; } .mt-l { margin-top: 2.5rem; }
.h1-size { font-size: var(--fs-h1); }

/* ---------- launch + licensure (home hero) ---------- */
.launch-line { display: inline-flex; align-items: center; gap: 0.7rem; font-weight: 600; font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem); color: var(--moon); letter-spacing: 0.01em; padding: 0.55rem 1rem 0.55rem 0.8rem; border: 1px solid rgba(60, 204, 184, 0.55); border-radius: 2px; }
.launch { margin-top: clamp(2.75rem, 2rem + 3vw, 4.5rem); display: grid; gap: 0; border-top: 1px solid var(--teal); border-bottom: 1px solid var(--rule-dark); }
.launch > div { padding: 1.75rem 0 1.9rem; display: grid; gap: 0.6rem; align-content: start; min-width: 0; }
.launch-date { border-bottom: 1px solid var(--rule-dark); }
@media (min-width: 900px) {
  .launch { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .launch-date { border-bottom: 0; border-right: 1px solid var(--rule-dark); padding-right: 3rem !important; }
  .launch-states { padding-left: 3rem !important; }
}
.launch-k { font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.launch-big { white-space: nowrap; font-family: var(--serif); font-weight: 380; font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.3rem); line-height: 1.05; color: var(--moon); letter-spacing: -0.01em; }
.launch-sub { font-size: 0.93rem; color: var(--on-navy-soft); max-width: 36em; }
.state-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.15rem 0; font-family: var(--serif); font-weight: 380; font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.15rem); line-height: 1.3; color: var(--moon); }
.state-list li { white-space: nowrap; }
.state-list li:not(:last-child)::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); margin: 0 0.7em; vertical-align: middle; position: relative; top: -0.08em; }
.launch + .hero-facts { margin-top: 0; border-top: 0; }

/* ---------- hero v2: above-the-fold essentials + portrait ---------- */
.hero { padding-block: clamp(2rem, 1.2rem + 2.6vw, 3.75rem) 0; }
.hero-text { gap: 1.15rem; }
.hero-title { font-size: clamp(2.15rem, 1.25rem + 3vw, 4rem); max-width: 14em; }
.hero-lede strong { color: var(--moon); font-weight: 600; }
.hero .btn-primary { background: var(--moon); color: var(--navy-950); }
.hero .btn-primary:hover { background: #fff; }
.reducers { list-style: none; margin: 0.15rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem 1.4rem; font-size: 0.92rem; color: var(--on-navy); }
.reducers li { display: inline-flex; align-items: center; gap: 0.5rem; }
.reducers li::before { content: ""; width: 12px; height: 7px; border-left: 1.6px solid var(--teal); border-bottom: 1.6px solid var(--teal); transform: rotate(-45deg) translateY(-2px); flex: none; }
.doc-chip { display: flex; align-items: center; gap: 0.85rem; }
.doc-chip img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1.5px solid rgba(253, 248, 243, 0.5); }
.doc-chip p { display: grid; line-height: 1.3; }
.doc-chip strong { color: var(--moon); font-weight: 600; font-size: 0.98rem; }
.doc-chip span { color: var(--teal); font-size: 0.85rem; font-weight: 500; }
.hero-portrait { margin: 0; display: none; justify-items: center; gap: 1.1rem; }
.portrait-frame { position: relative; width: min(100%, 410px); aspect-ratio: 1; color: var(--moon); }
.portrait-orbit { position: absolute; inset: -20% -24%; width: 148%; height: 140%; overflow: visible; pointer-events: none; }
.portrait-img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; box-shadow: 0 0 0 1px rgba(253, 248, 243, 0.18); }
.hero-portrait figcaption { display: grid; text-align: center; gap: 0.15rem; margin-top: 1.2rem; }
.hero-portrait figcaption strong { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--moon); }
.hero-portrait figcaption span { color: var(--teal); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); }
  .hero-portrait { display: grid; }
  .doc-chip { display: none; }
}
.launch { margin-top: clamp(2.5rem, 1.8rem + 2.5vw, 4rem); border-bottom: 0; }
.profile-photo { width: 100%; height: auto; max-width: 360px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; display: block; margin-left: auto; }
@media (max-width: 959px) { .profile-photo { max-width: 200px; margin-left: 0; } }
