/* Hallmark · macrostructure: Split Studio (lean: Narrative Workflow band) · tone: grounded, direct, dignified · anchor hue: brick 29°
 * system: design.md "limestone and brick" (studied-DNA, locked) · H2 hero knobs: ratio=7/5, right=photo on brick plate, divider=negative space
 * nav: N1b variant (the phone number is the call to action, no generic button) · footer: Ft3 index (genuine hub) closed by a statement line
 * F4 stage line: numbering="Stage n · LEVEL", layout=vertical <60rem / horizontal ≥60rem, connector=hairline with square gold markers
 * enrichment: none (real photography only) · motion: one hero rise (transform only, readable at rest) · eyebrows: none
 * Hallmark · pre-emit critique: P5 H5 E4 S5 R4 V5 · slop test 58/58 after one fix pass (AUDIT-PHASE2.md)
 * contrast: pass (40–41) · nav: N1b · footer: Ft3 · slop: pass (42–45) · honest: pass (46) · chrome: pass (47)
 * tokens: pass (48) · responsive: pass (49) · icons: pass (30) · mobile: pass (34, 49, 50–57)
 * Mobile-first. Breakpoints: 40rem (640) · 50rem (800: header phone, no call bar) · 60rem (960: two-column) · 75rem (1200: full nav).
 */

/* ── Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  overflow-x: clip;
  scroll-padding-top: calc(var(--header-h) + var(--space-sm));
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--color-paper);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-body);
  line-height: var(--leading-body);
  padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom));
}
@media (min-width: 50rem) { body { padding-bottom: 0; } }

img { display: block; max-width: 100%; height: auto; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
p { max-width: var(--measure); }
strong { font-weight: var(--weight-strong); }

h1, h2, h3 {
  margin: 0; font-family: var(--font-display); font-style: normal;
  letter-spacing: var(--tracking-display); text-wrap: balance;
  overflow-wrap: anywhere; min-width: 0;
}
h1 { font-size: var(--text-display); font-weight: var(--weight-display-heavy); line-height: var(--leading-tight); }
h2 { font-size: var(--text-xl); font-weight: var(--weight-display); line-height: 1.12; }
h3 { font-size: var(--text-lg); font-weight: var(--weight-h3); line-height: var(--leading-snug); }

a { color: var(--color-accent); text-decoration-thickness: 1px; text-underline-offset: 0.12em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: var(--focus-width) solid var(--color-focus); outline-offset: var(--focus-offset); }
.on-ink :focus-visible { outline-color: var(--color-focus-on-ink); }

.wrap { max-width: calc(var(--width-max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lede { font-size: var(--text-md); line-height: 1.5; color: var(--color-text-2); }

.skip {
  position: absolute; left: var(--space-sm); top: calc(-1 * var(--space-4xl)); z-index: var(--z-toast);
  background: var(--color-ink); color: var(--color-on-ink); padding: var(--space-xs) var(--space-sm); font-weight: var(--weight-strong);
}
.skip:focus { top: var(--space-sm); }

/* A claim the client must confirm before launch (brief rule: mark it visibly). */
.confirm {
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: var(--weight-strong);
  color: var(--color-accent-deep); background: var(--color-accent-soft); padding-inline: var(--space-3xs);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.on-ink .confirm { color: var(--color-ink); background: var(--color-signal); }

/* ── Buttons and links (8 states: rest · hover · focus · active · disabled · loading · error · success) ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2xs);
  min-height: var(--tap-cta); padding-inline: var(--space-md);
  font-family: var(--font-body); font-size: var(--text-base); font-weight: var(--weight-strong); line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: var(--rule-strong) solid transparent; border-radius: var(--radius-pill);
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.btn--primary { background: var(--color-accent); color: var(--color-on-accent); }
.btn--primary:hover { background: var(--color-accent-deep); }
.btn--primary:active { background: var(--color-ink); }
.btn--secondary { background: transparent; color: var(--color-ink); border-color: var(--color-ink); }
.btn--secondary:hover { background: var(--color-paper-3); }
.btn--secondary:active { background: var(--color-ink); color: var(--color-paper); }
.btn:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; background: var(--color-paper-3); color: var(--color-text-muted); border-color: transparent; }
.btn[data-state="loading"] { cursor: progress; }
.btn[data-state="success"]:disabled { background: var(--color-success); color: var(--color-on-accent); }

.link-cta {
  display: inline-flex; align-items: center; gap: var(--space-2xs); min-height: var(--tap-min);
  font-weight: var(--weight-strong); color: var(--color-accent); white-space: nowrap;
  text-decoration: underline 1px; text-underline-offset: 0.12em;
}
.link-cta:hover { text-decoration-thickness: 2px; }
.link-cta:active { color: var(--color-accent-deep); }
.link-cta--on-ink { color: var(--color-signal); }
.link-cta--on-ink:active { color: var(--color-on-ink); }

/* ── Header: logo · links · the phone number as the call to action ── */
.site-head {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule);
}
.site-head__inner { display: flex; align-items: center; gap: var(--space-sm); min-height: var(--header-h); }

.brand {
  display: inline-flex; align-items: center; gap: var(--space-xs); min-height: var(--tap-min);
  margin-right: auto; color: var(--color-ink); text-decoration: none;
}
.brand__mark { width: 2.125rem; height: auto; }
.brand__name {
  display: flex; flex-direction: column; font-family: var(--font-display); font-weight: var(--weight-display);
  font-size: var(--text-base); line-height: 1.1; white-space: nowrap;
}
.brand__place { font-family: var(--font-body); font-weight: var(--weight-ui); font-size: var(--text-xs); color: var(--color-text-muted); }

.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-3xs); }
.site-nav a {
  display: inline-flex; align-items: center; min-height: var(--tap-min); padding-inline: var(--space-xs);
  color: var(--color-ink); font-weight: var(--weight-ui); text-decoration: none; white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline 2px var(--color-accent); text-underline-offset: 0.15em; }
.site-nav a:active { color: var(--color-accent); }

.head-call {
  display: none; flex-direction: column; align-items: flex-end; justify-content: center;
  min-height: var(--tap-min); padding-inline: var(--space-2xs); text-decoration: none; white-space: nowrap;
}
.head-call__label { font-size: var(--text-xs); font-weight: var(--weight-ui); color: var(--color-text-muted); line-height: 1.2; }
.head-call__num {
  font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--text-phone);
  line-height: 1.1; color: var(--color-accent); font-variant-numeric: tabular-nums;
}
.head-call:hover .head-call__num { text-decoration: underline 2px; text-underline-offset: 0.12em; }
.head-call:active .head-call__num { color: var(--color-accent-deep); }

.menu { position: relative; }
.menu__toggle {
  list-style: none; display: inline-flex; align-items: center; gap: var(--space-2xs);
  min-height: var(--tap-min); min-width: var(--tap-min); padding-inline: var(--space-xs);
  border: var(--rule-strong) solid var(--color-ink); color: var(--color-ink); font-weight: var(--weight-strong);
  cursor: pointer; user-select: none;
}
.menu__toggle::-webkit-details-marker { display: none; }
.menu__toggle:hover { background: var(--color-paper-3); }
.menu__toggle:active { background: var(--color-paper-2); }
.menu .icon--close, .menu[open] .icon--open { display: none; }
.menu[open] .icon--close { display: block; }
.menu[open] .menu__toggle { background: var(--color-ink); color: var(--color-paper); }
.menu__panel {
  position: absolute; right: 0; top: calc(100% + var(--space-xs)); z-index: var(--z-dropdown);
  width: min(22rem, calc(100vw - 2 * var(--gutter)));
  display: grid; gap: var(--space-md); padding: var(--space-md);
  background: var(--color-paper); border: var(--rule-strong) solid var(--color-ink); box-shadow: var(--shadow-float);
}
.menu__panel ul { list-style: none; margin: 0; padding: 0; display: grid; }
.menu__panel li a {
  display: flex; align-items: center; min-height: var(--tap-min);
  color: var(--color-ink); font-weight: var(--weight-ui); text-decoration: none; border-bottom: var(--rule-hair) solid var(--color-rule);
}
.menu__panel li a:hover { color: var(--color-accent); }
.menu__panel li a:active { color: var(--color-accent-deep); }

@media (max-width: 22.49rem) { /* very narrow phones: the toggle keeps its icon; the word goes to screen readers only */
  .menu__toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (min-width: 40rem) { .brand__mark { width: 2.5rem; } .brand__name { font-size: var(--text-md); } }
@media (min-width: 50rem) { .head-call { display: flex; } }
@media (min-width: 75rem) {
  .site-nav { display: block; }
  .menu { display: none; }
}

/* ── Hero: H2 split diptych, photo on the brick offset plate ── */
.hero { padding-block: var(--space-xl) var(--space-3xl); }
.hero__grid { display: grid; gap: var(--space-xl); align-items: center; }
.hero__copy { display: grid; gap: var(--space-md); justify-items: start; }
.hero__copy h1 { max-width: 13ch; }
.zero-note {
  display: flex; align-items: flex-start; gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-control); background: var(--color-paper-2);
}
.zero-note .icon { color: var(--color-accent); margin-top: var(--space-3xs); stroke-width: 3; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); }
.hero__media { position: relative; }

.plate { position: relative; padding: 0 var(--plate-offset) var(--plate-offset) 0; }
.plate::before { content: ""; position: absolute; inset: var(--plate-offset) 0 0 var(--plate-offset); background: var(--color-accent); }
.plate img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.plate--left { padding: 0 0 var(--plate-offset) var(--plate-offset); }
.plate--left::before { inset: var(--plate-offset) var(--plate-offset) 0 0; }
.hero__media .plate img { object-position: 38% 45%; }

.badge-float {
  position: absolute; left: var(--space-sm); bottom: calc(var(--plate-offset) + var(--space-sm)); z-index: var(--z-raised);
  display: flex; align-items: center; gap: var(--space-xs); max-width: none;
  padding: var(--space-2xs) var(--space-sm); background: var(--color-paper); box-shadow: var(--shadow-float);
  font-size: var(--text-sm); font-weight: var(--weight-strong);
}
.badge-float img { width: 2.25rem; }

@media (min-width: 60rem) {
  .hero { padding-block: var(--space-2xl) var(--space-3xl); }
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); }
  .hero__media .plate img { aspect-ratio: 4 / 5; }
  .badge-float { left: calc(-1 * var(--space-lg)); bottom: var(--space-2xl); }
}

/* The page's one orchestrated entrance. Transform only, so every word is readable before it runs. */
@keyframes rise { from { transform: translateY(0.75rem); } }
.hero__copy > * { animation: rise var(--dur-slow) var(--ease-out) both; }
.hero__copy > :nth-child(2) { animation-delay: 60ms; }
.hero__copy > :nth-child(3) { animation-delay: 120ms; }
.hero__copy > :nth-child(4) { animation-delay: 180ms; }
@media (prefers-reduced-motion: reduce) { .hero__copy > * { animation: none; } }

/* ── Trust strip ── */
.trust { background: var(--color-paper-3); padding-block: var(--space-md); }
.trust__list {
  list-style: none; margin-block: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: var(--space-sm) var(--space-lg);
}
.trust__list li { display: flex; align-items: center; gap: var(--space-xs); font-size: var(--text-sm); line-height: 1.35; }
.trust__list img { width: 2.75rem; height: auto; }
.trust__list strong { display: block; font-size: var(--text-base); }
.trust__mark {
  display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem;
  background: var(--color-ink); color: var(--color-on-ink);
  font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--text-sm); font-variant-numeric: tabular-nums;
}

/* ── Who's calling: one primary voice, two quieter ones (7/5, never three equal columns) ── */
.callers { padding-block: var(--space-3xl) var(--space-2xl); }
.callers h2 { margin-bottom: var(--space-xl); }
.callers__grid { display: grid; gap: var(--space-xl); align-items: start; }
.caller { display: grid; gap: var(--space-sm); align-content: start; justify-items: start; }
.caller--self { padding: var(--space-lg); background: var(--color-paper-2); }
.caller--self h3 { font-size: var(--text-xl); font-weight: var(--weight-display); }
.caller--self p { font-size: var(--text-md); line-height: 1.5; }
.callers__others { display: grid; gap: var(--space-lg); }
.callers__others .caller + .caller { padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
@media (min-width: 60rem) {
  .callers__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); }
  .caller--self { padding: var(--space-xl); }
}

/* ── Ink bands ── */
.on-ink { background: var(--color-ink); color: var(--color-on-ink); }
.on-ink .lede { color: var(--color-on-ink-muted); }

/* ── Stage line (F4, ordinal) ── */
.stages { padding-block: var(--space-4xl) var(--space-3xl); }
.stages h2 { max-width: 22ch; }
.stages .lede { margin-top: var(--space-md); }
.stage-line { list-style: none; padding: 0; margin-block: var(--space-2xl) var(--space-xl); display: grid; gap: var(--space-xl); }
.stage { position: relative; display: grid; gap: var(--space-2xs); align-content: start; padding-left: var(--space-xl); }
.stage::before {
  content: ""; position: absolute; left: 0; top: 0.4em; width: 0.75rem; height: 0.75rem; background: var(--color-signal);
}
.stage::after {
  content: ""; position: absolute; left: calc(0.375rem - 0.5px); top: 1.6em; bottom: calc(-1 * var(--space-xl));
  border-left: var(--rule-hair) solid var(--color-rule-ink);
}
.stage:last-child::after { display: none; }
.stage__num { color: var(--color-signal); font-weight: var(--weight-strong); font-size: var(--text-sm); }
.stage h3 { font-size: var(--text-lg); }
.stage__dose { font-family: var(--font-display); font-weight: var(--weight-h3); color: var(--color-on-ink); font-variant-numeric: tabular-nums; }
.stage > p:last-child { color: var(--color-on-ink-muted); }
@media (min-width: 60rem) {
  .stage-line { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg); }
  .stage { padding-left: 0; padding-top: var(--space-lg); }
  .stage::before { top: 0; }
  .stage::after { left: 0.75rem; right: calc(-1 * var(--space-lg)); top: calc(0.375rem - 0.5px); bottom: auto; border-left: 0; border-top: var(--rule-hair) solid var(--color-rule-ink); }
}

/* ── $0 ── */
.cost { background: var(--color-paper-2); padding-block: var(--space-3xl); }
.cost__grid { display: grid; gap: var(--space-lg) var(--space-2xl); }
.cost__figure {
  font-family: var(--font-display); font-weight: var(--weight-display-heavy); font-size: clamp(5rem, 3rem + 9vw, 10rem);
  line-height: 0.85; letter-spacing: -0.03em; color: var(--color-accent); font-variant-numeric: tabular-nums;
}
.cost__main { display: grid; gap: var(--space-md); justify-items: start; }
.cost__privacy { font-size: var(--text-sm); color: var(--color-text-muted); }
.cost__aside { display: grid; gap: var(--space-xs); align-content: start; padding-top: var(--space-md); border-top: var(--rule-strong) solid var(--color-ink); }
@media (min-width: 60rem) {
  .cost__grid { grid-template-columns: auto minmax(0, 1fr) minmax(0, 18rem); align-items: start; }
  .cost__aside { padding-top: 0; border-top: 0; padding-left: var(--space-lg); border-left: var(--rule-hair) solid var(--color-control); }
}

/* ── Split modules (alternate media side down the page) ── */
.split { display: grid; gap: var(--space-xl); align-items: center; }
.split__copy { display: grid; gap: var(--space-md); justify-items: start; }
@media (min-width: 60rem) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl); }
  .split--wide-media { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.housing { padding-block: var(--space-3xl); }
.housing .plate img { aspect-ratio: 2 / 1; }
.quote-inline { display: grid; gap: var(--space-2xs); }
.quote-inline p { font-family: var(--font-display); font-weight: 500; font-size: var(--text-md); line-height: 1.45; }
.quote-inline footer { font-size: var(--text-sm); color: var(--color-text-muted); }

.wellness { background: var(--color-paper-2); padding-block: var(--space-2xl) var(--space-3xl); }
.confirm-block { font-size: var(--text-sm); padding: var(--space-sm) var(--space-md); border: var(--rule-hair) dashed var(--color-control); background: var(--color-paper); }
.placeholder {
  display: grid; place-items: center; text-align: center; aspect-ratio: 4 / 3; width: 100%; padding: var(--space-md);
  border: var(--rule-strong) dashed var(--color-control); color: var(--color-text-2); font-weight: var(--weight-strong);
  background: repeating-linear-gradient(135deg, var(--color-paper) 0 12px, var(--color-paper-3) 12px 24px);
}

.team { padding-block: var(--space-3xl) var(--space-2xl); }
.people { display: grid; width: 100%; }
.people div { display: grid; gap: var(--space-3xs); padding-block: var(--space-xs); border-top: var(--rule-hair) solid var(--color-rule); }
.people dt { font-weight: var(--weight-strong); }
.people dd { color: var(--color-text-muted); font-size: var(--text-sm); }

/* ── Reviews (verbatim, attributed as on the client's site; no stars) ── */
.reviews { padding-block: var(--space-3xl); }
.reviews__grid { display: grid; gap: var(--space-xl); margin-block: var(--space-xl); }
.review { display: grid; gap: var(--space-sm); align-content: start; }
.review p { color: var(--color-on-ink); }
.review--feature p { font-family: var(--font-display); font-weight: 500; font-size: var(--text-md); line-height: 1.5; }
.review footer { color: var(--color-signal); font-weight: var(--weight-strong); font-size: var(--text-sm); }
.reviews__side { display: grid; gap: var(--space-lg); align-content: start; }
.reviews__side .review + .review { padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-ink); }
@media (min-width: 60rem) { .reviews__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); } }

/* ── Admissions steps + the call-back form (compliance: 4 fields, nothing medical) ── */
.admit { background: var(--color-paper-2); padding-block: var(--space-3xl); }
.admit__grid { display: grid; gap: var(--space-2xl); }
.steps { list-style: none; padding: 0; margin-top: var(--space-xl); display: grid; gap: var(--space-lg); counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: var(--space-3xs); }
.steps li::before {
  content: counter(step); font-family: var(--font-display); font-weight: var(--weight-display-heavy);
  font-size: var(--text-xl); line-height: 1; color: var(--color-accent); font-variant-numeric: tabular-nums;
}
.steps__tel { display: inline-flex; align-items: center; min-height: var(--tap-min); color: inherit; white-space: nowrap; }
@media (min-width: 60rem) { .admit__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; } }

.callback {
  display: grid; gap: var(--space-md); padding: var(--space-lg);
  background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule);
}
.callback__help { font-weight: var(--weight-ui); color: var(--color-text-2); }
.field { display: grid; gap: var(--space-2xs); }
.field label { font-weight: var(--weight-strong); }
.field__optional { font-weight: var(--weight-body); color: var(--color-text-muted); }
.field input, .field select {
  width: 100%; min-height: var(--tap-cta); padding-inline: var(--space-sm);
  font: inherit; color: var(--color-text); background: var(--color-field);
  border: var(--rule-hair) solid var(--color-control); border-radius: var(--radius-input);
  outline: var(--focus-width) solid transparent; outline-offset: 2px;
}
.field input:hover, .field select:hover { border-color: var(--color-ink); }
.field input:focus-visible, .field select:focus-visible { outline-color: var(--color-focus); border-color: var(--color-ink); }
.field input[aria-invalid="true"] { border-color: var(--color-error); }
.field input:disabled, .field select:disabled { background: var(--color-paper-2); color: var(--color-text-muted); cursor: not-allowed; }
.field__error { min-height: 1lh; visibility: hidden; color: var(--color-error); font-size: var(--text-sm); font-weight: var(--weight-ui); }
.field__error.is-shown { visibility: visible; }
.field--trap { position: absolute; left: calc(-1 * var(--space-4xl) * 10); width: 1px; height: 1px; overflow: hidden; }
.callback .btn { width: 100%; }
.callback__status:empty { display: none; }
.callback__status.is-success { padding: var(--space-sm) var(--space-md); background: var(--color-success-soft); color: var(--color-success); font-weight: var(--weight-strong); }
.callback__crisis { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ── Articles ── */
.articles { padding-block: var(--space-2xl) var(--space-3xl); }
.article-list { list-style: none; padding: 0; margin-block: var(--space-xl) var(--space-lg); border-top: var(--rule-strong) solid var(--color-ink); }
.article-list li { border-bottom: var(--rule-hair) solid var(--color-rule); }
.article-list a {
  display: flex; align-items: center; min-height: var(--tap-cta); padding-block: var(--space-sm);
  font-family: var(--font-display); font-weight: var(--weight-h3); font-size: var(--text-lg); line-height: var(--leading-snug);
  color: var(--color-ink); text-decoration: none; text-wrap: balance;
}
.article-list a:hover { text-decoration: underline 2px var(--color-accent); text-underline-offset: 0.12em; }
.article-list a:active { color: var(--color-accent-deep); }

/* ── Footer: index of a real 10-page hub, closed by a statement line ── */
.site-foot { padding-block: var(--space-3xl) var(--space-xl); }
.foot-statement {
  max-width: 24ch; padding-bottom: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule-ink);
  font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--text-xl); line-height: 1.15; text-wrap: balance;
  overflow-wrap: anywhere; min-width: 0;
}
.foot-statement a { color: var(--color-signal); text-decoration: underline 1px; text-underline-offset: 0.12em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.foot-statement a:hover { text-decoration-thickness: 2px; }
.foot-statement a:active { color: var(--color-on-ink); }
.foot-grid { display: grid; gap: var(--space-xl); padding-block: var(--space-xl); }
.foot-contact { display: grid; gap: var(--space-sm); align-content: start; justify-items: start; }
.brand--on-ink { color: var(--color-on-ink); margin-right: 0; }
.brand--on-ink .brand__mark { background: var(--color-paper); padding: var(--space-3xs); }
.brand--on-ink .brand__place { color: var(--color-on-ink-muted); }
.site-foot address { font-style: normal; color: var(--color-on-ink-muted); }
.site-foot address a { display: inline-flex; align-items: center; min-height: var(--tap-min); color: var(--color-on-ink); overflow-wrap: anywhere; }
.foot-directions { display: inline-flex; align-items: center; min-height: var(--tap-min); color: var(--color-signal); font-weight: var(--weight-strong); }
.foot-badges { display: flex; align-items: center; gap: var(--space-sm); }
.foot-badges img { width: 3.5rem; background: var(--color-paper); padding: var(--space-3xs); }
.foot-col h2 { font-family: var(--font-body); font-size: var(--text-sm); font-weight: var(--weight-strong); letter-spacing: 0; color: var(--color-on-ink-muted); }
.foot-col ul { list-style: none; margin: var(--space-2xs) 0 0; padding: 0; display: grid; }
.foot-col a { display: flex; align-items: center; min-height: var(--tap-min); color: var(--color-on-ink); text-decoration: none; white-space: nowrap; }
.foot-col a:hover { text-decoration: underline 2px var(--color-signal); text-underline-offset: 0.12em; }
.foot-col a:active, .foot-legal a:active, .site-foot address a:active { color: var(--color-signal); }
.foot-legal { display: grid; gap: var(--space-2xs); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-ink); color: var(--color-on-ink-muted); font-size: var(--text-sm); }
.foot-legal a { display: inline-flex; align-items: center; min-height: var(--tap-min); color: var(--color-on-ink); }
@media (min-width: 40rem) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .foot-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }

/* ── Mobile tap-to-call bar (brief rule: phone visible at all times) ── */
.callbar {
  position: fixed; inset: auto 0 0 0; z-index: var(--z-sticky);
  background: var(--color-ink); box-shadow: var(--shadow-bar); padding-bottom: env(safe-area-inset-bottom);
  border-top: var(--rule-strong) solid var(--color-accent);
}
.callbar__link {
  display: flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: var(--callbar-h);
  color: var(--color-on-ink); font-size: var(--text-md); font-weight: var(--weight-strong);
  text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.callbar__link .icon { color: var(--color-signal); }
.callbar__link:hover { text-decoration: underline 2px var(--color-signal); text-underline-offset: 0.12em; }
.callbar__link:active { background: var(--color-ink-2); }
.callbar :focus-visible { outline-color: var(--color-focus-on-ink); outline-offset: calc(-2 * var(--focus-width)); }
@media (min-width: 50rem) { .callbar { display: none; } }

/* ══ Inner pages: shared components (Phase 3). Page-specific rules live in /assets/css/pages/<page>.css ══ */

/* Page header: h1 + lede, optionally split with a photo on the plate */
.page-head { padding-block: var(--space-xl) var(--space-2xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.page-head__grid { display: grid; gap: var(--space-xl); align-items: center; }
.page-head__copy { display: grid; gap: var(--space-md); justify-items: start; }
.page-head h1 { font-size: var(--text-page); max-width: 18ch; }
.page-head__media .plate img { aspect-ratio: 4 / 3; }
@media (min-width: 60rem) {
  .page-head { padding-block: var(--space-2xl) var(--space-3xl); }
  .page-head__grid--media { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); }
}

/* Section rhythm helpers (vary them; never pad every section the same) */
.section { padding-block: var(--space-3xl); }
.section--tight { padding-block: var(--space-2xl); }
.section--alt { background: var(--color-paper-2); }
.section__head { display: grid; gap: var(--space-sm); margin-bottom: var(--space-xl); }

/* Long-form reading (articles, legal, program detail). Flow content uses margins by design. */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--space-md); }
.prose > h2 { font-size: var(--text-lg); margin-top: var(--space-xl); }
.prose > h3 { font-size: var(--text-md); margin-top: var(--space-lg); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: var(--space-2xs); }
.prose blockquote { font-family: var(--font-display); font-weight: 500; font-size: var(--text-md); line-height: 1.45; }
.prose blockquote footer, .prose figcaption { font-family: var(--font-body); font-size: var(--text-sm); color: var(--color-text-muted); }
.prose strong { color: var(--color-ink); }

/* FAQ accordion (<details>): questions in the display face, one-line affordance, 52px rows */
.faq { border-top: var(--rule-strong) solid var(--color-ink); max-width: 52rem; }
.faq details { border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  min-height: var(--tap-cta); padding-block: var(--space-sm); cursor: pointer;
  font-family: var(--font-display); font-weight: var(--weight-h3); font-size: var(--text-md); line-height: var(--leading-snug);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--font-body); font-weight: var(--weight-strong); font-size: var(--text-lg); line-height: 1; color: var(--color-accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { text-decoration: underline 2px var(--color-accent); text-underline-offset: 0.12em; }
.faq summary:active { color: var(--color-accent-deep); }
.faq__a { display: grid; gap: var(--space-sm); padding-bottom: var(--space-md); max-width: var(--measure); }

/* Framed note (same voice as the hero's $0 note): hairline frame all round, never a side stripe */
.note {
  display: flex; align-items: flex-start; gap: var(--space-xs); max-width: var(--measure);
  padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-control); background: var(--color-paper-2);
}
.note .icon { color: var(--color-accent); margin-top: var(--space-3xs); }
.section--alt .note { background: var(--color-paper); }

/* Closing call band on inner pages (ink) */
.cta-band { padding-block: var(--space-2xl); }
.cta-band__inner { display: grid; gap: var(--space-md); justify-items: start; }
.cta-band h2 { max-width: 22ch; }
.cta-band__phone {
  display: inline-flex; align-items: center; min-height: var(--tap-min);
  font-family: var(--font-display); font-weight: var(--weight-display); font-size: var(--text-xl); line-height: 1.1;
  color: var(--color-signal); white-space: nowrap; font-variant-numeric: tabular-nums;
  text-decoration: underline 1px; text-underline-offset: 0.12em;
}
.cta-band__phone:hover { text-decoration-thickness: 2px; }
.cta-band__phone:active { color: var(--color-on-ink); }
@media (min-width: 60rem) { .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }

/* ══ Consolidated in Phase 3 from page stylesheets (one definition each) ══ */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.menu__panel a[aria-current] { text-decoration: underline 2px var(--color-accent); text-underline-offset: 0.15em; }
p a:active, dd a:active, li a:active { color: var(--color-accent-deep); }
.link-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-lg); }
.facts { display: grid; width: 100%; border-top: var(--rule-strong) solid var(--color-ink); }
.facts > div {
  display: grid; gap: var(--space-3xs) var(--space-lg);
  padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule);
}
.facts dt { font-weight: var(--weight-strong); }
.facts dd { color: var(--color-text-2); max-width: var(--measure); }
.cta-band__copy { display: grid; gap: var(--space-sm); justify-items: start; }
.media-note { margin-top: var(--space-xs); }
/* A page that closes on the ink call band: the footer starts after a hairline and drops its repeated address/phone line */
main:has(> .cta-band:last-child) + .site-foot { border-top: var(--rule-hair) solid var(--color-rule-ink); }
main:has(> .cta-band:last-child) + .site-foot .foot-statement { display: none; }

/* .prose additions (from the article template) */
/* Links inside list items ("Website: louisvilleaa.org") get a 44px-tall hit area; inline padding leaves the line layout alone */
.prose li a { padding-block: var(--space-xs); }

/* a heading sits close to what it introduces; h4 and hr get a voice */
.prose > :is(h2, h3, h4) + * { margin-top: var(--space-sm); }
.prose > h4 {
  margin-top: var(--space-lg);
  font-family: var(--font-display); font-style: normal; font-weight: var(--weight-h3); font-size: var(--text-base);
  line-height: var(--leading-snug); letter-spacing: var(--tracking-display); text-wrap: balance;
}
/* The client's headings sometimes use <em> for stress; the markup stays, the type stays roman (headings are never italic) */
.prose :is(h2, h3, h4) :is(em, i) { font-style: normal; }
.prose > hr { margin-block: var(--space-xl); border: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.prose > figure { margin-top: var(--space-lg); }
.prose figure img { width: 100%; height: auto; }

/* Comparison table: labelled rows on phones, a real table from 40rem */
.prose table { display: block; width: 100%; border-collapse: collapse; border-top: var(--rule-strong) solid var(--color-ink); }
.prose :is(tbody, tr, th, td) { display: block; }
.prose thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.prose tbody tr { padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.prose tbody th { font-family: var(--font-display); font-weight: var(--weight-h3); font-size: var(--text-md); line-height: var(--leading-snug); text-align: left; }
.prose td { margin-top: var(--space-xs); }
.prose td[data-label]::before { content: attr(data-label); display: block; font-size: var(--text-sm); font-weight: var(--weight-strong); color: var(--color-text-muted); }
@media (min-width: 40rem) {
  .prose table { display: table; font-size: var(--text-sm); line-height: 1.5; }
  .prose thead { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; display: table-header-group; }
  .prose tbody { display: table-row-group; }
  .prose tr { display: table-row; }
  .prose :is(th, td) {
    display: table-cell; margin: 0; padding: var(--space-xs) var(--space-sm) var(--space-xs) 0;
    text-align: left; vertical-align: top; border-bottom: var(--rule-hair) solid var(--color-rule);
  }
  .prose thead th { font-weight: var(--weight-strong); border-bottom: var(--rule-strong) solid var(--color-ink); }
  .prose tbody th { font-family: var(--font-body); font-size: var(--text-sm); font-weight: var(--weight-strong); }
  .prose td[data-label]::before { content: none; }
}
