/* Moody Law. Brand: the firm's hexagon mark blue (#4a85d9), charcoal
   wordmark and amber accent from the current site. Type: Inter (Mark, 12 Oct 2026,
   a crisper sans in place of the live site's Rubik).
   Direction (Mark, 10 Oct 2026): square edges everywhere, no pills, no cards,
   no tinted callout boxes. Structure comes from type, rules and alignment.
   A rounded, card-based alternative (css/look-soft.css, 13 Nov 2026) is
   kept but not linked; Square was chosen on 20 Nov 2026.
   Spacing and type run on the tokens below (site review, 13 Nov 2026). */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #4a85d9;
  --blue-dark: #2c5ea8;
  --blue-deeper: #234b86;
  --ink: #1b1b1b;
  --ink-soft: #3a3a3a;
  --muted: #646464;
  --rule: #d6d6d6;
  --rule-strong: #1b1b1b;
  --paper: #ffffff;
  --stone: #f4f3f0;
  --amber: #d99536;
  --wrap: 1160px;
  --measure: 680px;
  --header-h: 76px;

  /* Spacing, 4px base */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --section-y: clamp(2.75rem, 4.5vw, 3.5rem);

  /* Type */
  --t-xs: 0.8125rem;
  --t-sm: 0.875rem;
  --t-md: 0.9375rem;
  --t-body: 1.0625rem;
  --t-lg: 1.25rem;
  --t-xl: 1.5rem;
  --t-2xl: 1.75rem;

  --ease-out: cubic-bezier(0.2, 0, 0, 1);
}

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

html { scroll-padding-top: calc(var(--header-h) + var(--s-4)); }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue-dark); text-underline-offset: 3px; text-decoration-thickness: 1px; }
@media (hover: hover) and (pointer: fine) { a:hover { color: var(--ink); } }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

h1, h2, h3 { color: var(--ink); line-height: 1.15; font-weight: 600; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3rem); letter-spacing: -0.025em; margin-bottom: 0.35em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.018em; }
h3 { font-size: 1.125rem; margin-bottom: 0.35em; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap.narrow > * { max-width: var(--measure); }
.wrap.narrow > .table-wrap { max-width: none; }

/* Two columns: a label or heading on the left, content on the right. */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--s-4) var(--s-7); align-items: start; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--blue-dark); color: #fff; padding: var(--s-3) var(--s-4);
}
.skip:focus { top: var(--s-4); }

/* Demo and status notes: thin rules, not boxes */
.demo-bar { background: var(--blue-dark); color: #e8e8e8; font-size: var(--t-sm); text-align: center; padding: var(--s-2) var(--s-4); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s-1) var(--s-5); }
.status { font-size: var(--t-sm); padding: var(--s-2) var(--s-5); text-align: center; border-bottom: 1px solid var(--rule); color: var(--muted); }
.status strong { color: var(--ink); font-weight: 500; }
.status-draft { border-top: 3px solid var(--amber); }
.status-migrated { border-top: 3px solid var(--blue); }

.tbc {
  display: inline-block; border: 1px dashed var(--amber); color: #7a5214;
  padding: 0.1rem var(--s-2); font-size: var(--t-sm); font-weight: 500; line-height: 1.4;
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); transition: transform 220ms var(--ease-out); }
.header-inner { display: flex; align-items: center; gap: var(--s-5); min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: var(--s-3); text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 40px; height: auto; }
.brand-word { width: 170px; height: auto; }

.site-nav { margin-left: auto; }
.nav-top { list-style: none; display: flex; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: var(--s-2); min-height: var(--header-h);
  padding: 0 var(--s-3); font: inherit; font-size: var(--t-md); color: var(--ink-soft);
  text-decoration: none; background: none; border: 0; cursor: pointer;
  border-bottom: 2px solid transparent;
}
.has-sub > .nav-link::after {
  content: ''; width: 0.4rem; height: 0.4rem; border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: var(--s-1);
}
.nav-item:focus-within > .nav-link, .nav-link[aria-expanded='true'] { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .nav-link:hover { color: var(--ink); } }
.nav-link[aria-current='page'], .has-sub.is-active > .nav-link { border-bottom-color: var(--blue); color: var(--ink); }

.nav-sub {
  list-style: none; margin: 0; padding: var(--s-2) 0; position: absolute; top: 100%; left: 0;
  min-width: 260px; background: var(--paper); border: 1px solid var(--rule); border-top: 2px solid var(--ink);
  display: none; z-index: 60;
}
html:not(.js) .nav-item:focus-within > .nav-sub,
.nav-link[aria-expanded='true'] + .nav-sub { display: block; }
@media (hover: hover) and (pointer: fine) { html:not(.js) .nav-item:hover > .nav-sub { display: block; } }
.nav-sub a, .nav-planned { display: block; padding: var(--s-3) var(--s-4); color: var(--ink-soft); text-decoration: none; font-size: var(--t-md); min-height: 44px; }
@media (hover: hover) and (pointer: fine) { .nav-sub a:hover { background: var(--stone); color: var(--ink); } }
.nav-sub a[aria-current='page'] { color: var(--ink); box-shadow: inset 3px 0 0 var(--blue); }
.nav-lead a { font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--rule); }
.nav-planned { color: #6f6f6f; cursor: default; }
.planned-tag { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.06em; border: 1px solid var(--rule); padding: 0 var(--s-1); margin-left: var(--s-2); color: #6f6f6f; }

.nav-toggle {
  display: none; margin-left: auto; font: inherit; font-weight: 500; background: none;
  border: 1px solid var(--ink); padding: var(--s-2) var(--s-4); min-height: 44px; cursor: pointer; color: var(--ink);
}

.header-call {
  background: var(--blue-dark); color: #fff; text-decoration: none; font-weight: 500;
  padding: 0 var(--s-4); white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center;
}
@media (hover: hover) and (pointer: fine) { .header-call:hover { background: var(--blue-dark); color: #fff; } }

/* Buttons: square, solid or outlined */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: var(--s-3) var(--s-5); font-weight: 500; text-decoration: none; border: 1.5px solid transparent; text-align: center;
}
.btn-primary { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }
@media (hover: hover) and (pointer: fine) { .btn-primary:hover { background: var(--blue-deeper); border-color: var(--blue-deeper); color: #fff; } }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover { background: var(--blue-dark); color: #fff; } }
.btn-secondary { background: var(--blue-dark); color: #fff; border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn-secondary:hover { background: var(--ink-soft); color: #fff; } }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
@media (hover: hover) and (pointer: fine) { .btn-light:hover { background: transparent; color: #fff; } }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

/* Hero: white, left-aligned, a single blue rule as the only ornament */
.hero { padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem); border-bottom: 1px solid var(--rule); }
.hero-inner > * { max-width: 880px; }
.eyebrow { font-size: var(--t-md); color: var(--blue-dark); font-weight: 500; padding-left: var(--s-3); border-left: 3px solid var(--blue); }
.lead { font-size: var(--t-lg); color: var(--ink-soft); }

/* Proof strip */
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.proof-item { padding: var(--s-5) var(--s-5) var(--s-5) 0; }
.proof-item + .proof-item { border-left: 1px solid var(--rule); padding-left: var(--s-5); }
.proof-value { font-size: var(--t-xl); color: var(--ink); font-weight: 500; margin: 0; }
.proof-label { margin: 0; color: var(--muted); font-size: var(--t-md); }
.proof { border-bottom: 1px solid var(--rule); }

/* Sections. Adjacent sections on the same white background share one
   spacing and a rule, so two paddings never stack into dead space. */
.section { padding: var(--section-y) 0; }
.section:not(.tint):not(.alert-band):not(.cta-band) + .section:not(.tint):not(.alert-band) { padding-top: 0; }
.section:not(.tint):not(.alert-band):not(.cta-band) + .section:not(.tint):not(.alert-band) > .wrap { border-top: 1px solid var(--rule); padding-top: var(--section-y); }
.tint { background: var(--stone); }
.alert-band { border-top: 3px solid var(--amber); border-bottom: 1px solid var(--rule); }

.page-head { padding: clamp(1.5rem, 3vw, 2.5rem) 0 0; }
.page-head + .section, .page-head + .finder { padding-top: var(--s-6); }
.page-head + .section > .wrap { border-top: 0 !important; padding-top: 0 !important; }
.page-head .lead:last-child, .page-head p:last-child { margin-bottom: 0; }
/* In a page head the panel sits beside the title, level with it, not sticky. */
.page-head .rail { position: static; margin-top: var(--s-2); }
.crumbs { font-size: var(--t-sm); color: var(--muted); padding-top: var(--s-4); }
.crumbs a { color: var(--muted); display: inline-block; padding: var(--s-2) 0; }
.deadline { display: inline-block; border-left: 3px solid var(--amber); padding: var(--s-1) 0 var(--s-1) var(--s-3); font-weight: 500; color: var(--ink); margin-bottom: var(--s-5); }
.note { color: var(--muted); font-size: var(--t-md); }

/* "On this page" jump select (state pages, Redress) */
.toc { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-5); font-size: var(--t-md); color: var(--muted); max-width: 100%; }
.toc span { flex-shrink: 0; }
.toc select { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--ink); min-height: 44px; padding: 0 var(--s-3); min-width: 0; width: 100%; max-width: 420px; text-overflow: ellipsis; }

/* Ruled index list (practice areas): title left, description right */
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.index-list li { border-bottom: 1px solid var(--rule); }
.index-list a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; align-items: center; gap: var(--s-1) var(--s-7); padding: var(--s-4) var(--s-3); margin: 0 calc(-1 * var(--s-3)); text-decoration: none; color: inherit; transition: background-color 150ms var(--ease-out); }
.index-title { color: var(--blue-dark); font-weight: 500; font-size: 1.125rem; }
.index-text { color: var(--muted); }
/* Every row says "link": blue title and an arrow in a ring at the end. */
.index-arrow { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border: 1.5px solid var(--blue-dark); border-radius: 50%; color: var(--blue-dark); font-size: 1rem; flex-shrink: 0; transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out), transform 150ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .index-list a:hover { background: var(--paper); }
  .index-list a:hover .index-title { text-decoration: underline; text-underline-offset: 4px; }
  .index-list a:hover .index-arrow { background: var(--blue-dark); color: #fff; transform: translateX(3px); }
}
.index-list a:focus-visible { outline: 2px solid var(--blue-dark); outline-offset: 2px; }

.link-grid { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 var(--s-6); border-top: 1px solid var(--rule-strong); }
.link-grid li { padding: var(--s-2) 0; border-bottom: 1px solid var(--rule); }
.link-grid.compact li { font-size: var(--t-md); }
/* State pages: the way out to the full directory, under the sample list */
.find-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4) var(--s-6); background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--blue-dark); padding: var(--s-5); margin-top: var(--s-6); }
.find-more h3 { margin: 0 0 var(--s-1); font-size: 1.25rem; }
.find-more p { margin: 0; color: var(--muted); }
.find-more .btn { flex: none; }
@media (max-width: 600px) { .find-more .btn { width: 100%; justify-content: center; } }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { margin-bottom: var(--s-3); }
.muted { color: var(--muted); font-size: var(--t-md); }

/* Steps: three columns, each under a rule that draws in once (motion in
   js/site.js). The ol keeps the numbering for assistive technology. */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7); }
.steps li { position: relative; padding-top: var(--s-4); }
.step-mark { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--blue-dark); transform-origin: left; }
.steps.is-armed .step-mark { transform: scaleX(0); transition: transform 420ms var(--ease-out); }
.steps.is-armed li:nth-child(2) .step-mark { transition-delay: 120ms; }
.steps.is-armed li:nth-child(3) .step-mark { transition-delay: 240ms; }
.steps.is-armed li:nth-child(4) .step-mark { transition-delay: 360ms; }
.steps.is-armed.is-in .step-mark { transform: scaleX(1); }
.steps h3 { margin-bottom: var(--s-2); }

/* Ledger rows: date column, then content */
.ledger { list-style: none; padding: 0; margin: 0 0 var(--s-5); border-top: 1px solid var(--rule-strong); }
.ledger li { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: var(--s-2) var(--s-6); padding: var(--s-5) 0; border-bottom: 1px solid var(--rule); }
.when { font-size: var(--t-md); color: var(--ink); font-weight: 500; margin: 0; font-variant-numeric: tabular-nums; }
.ledger h3 { margin-bottom: var(--s-1); }
.cite { font-size: var(--t-sm); color: var(--muted); margin: 0; }

/* State-page timeline: a line drawn down the date column as the reader
   scrolls, and a marker that switches on as each change crosses the middle of
   the screen. Text never moves. Without JS or with reduced motion the line is
   drawn and every marker is on. */
.timeline { position: relative; }
.timeline li { position: relative; padding-left: var(--s-6); }
.timeline::before, .timeline-progress { content: ''; position: absolute; left: 3px; top: 0; bottom: 0; width: 2px; background: var(--rule); }
.timeline-progress { background: var(--blue); transform-origin: top; transform: scaleY(var(--p, 1)); }
.timeline .when::before { content: ''; position: absolute; left: 0; top: calc(var(--s-5) + 0.45em); width: 8px; height: 8px; background: var(--blue); transition: background-color 240ms var(--ease-out); }
.timeline.is-armed li:not(.on) .when::before { background: var(--rule); }
.timeline.is-armed li:not(.on) .when { color: var(--muted); }
.timeline .when { transition: color 240ms var(--ease-out); }

/* Mission: a statement set large, no box, no bar */
.mission { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--rule); }
.mission-label { font-size: 1.125rem; font-weight: 600; color: var(--ink); line-height: 1.4; margin: 0; }
.mission-text { font-size: var(--t-body); line-height: 1.65; color: var(--ink-soft); font-weight: 400; margin: 0; }

/* Compare table */
.table-wrap { overflow-x: auto; margin-bottom: var(--s-4); border-top: 2px solid var(--ink); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: var(--s-4) var(--s-4) var(--s-4) 0; border-bottom: 1px solid var(--rule); }
.compare thead th { font-weight: 500; color: var(--ink); font-size: 1.0625rem; }
.compare tbody th { width: 18%; color: var(--ink); font-weight: 500; }

/* FAQ and other disclosures */
.faq { border-bottom: 1px solid var(--rule); }
.faq:first-of-type { border-top: 1px solid var(--rule-strong); }
.faq summary { cursor: pointer; font-weight: 500; color: var(--ink); padding: var(--s-4) 0; min-height: 44px; }
.faq p { margin: 0 0 var(--s-4); }
@media (prefers-reduced-motion: no-preference) {
  details[open] > *:not(summary) { animation: disclose 200ms var(--ease-out); }
}
@keyframes disclose { from { opacity: 0; transform: translateY(-4px); } }

/* CTA band: ink, left-aligned, the phone number as the headline action */
.cta-band { background: var(--blue-dark); color: #fff; padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfcfcf; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); }
.cta-phone { color: #fff; font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 500; text-decoration: none; letter-spacing: -0.01em; }
@media (hover: hover) and (pointer: fine) { .cta-phone:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; } }

/* Right rail on long pages (1100px and up): the action beside the reading */
.with-rail { display: block; }
.rail { display: none; }
@media (min-width: 1100px) {
  .with-rail { display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(280px, 320px); justify-content: space-between; column-gap: var(--s-8); align-items: start; }
  .with-rail > .prose, .with-rail > .rail-main { max-width: none; min-width: 0; }
  .rail { display: block; position: sticky; top: calc(var(--header-h) + var(--s-5)); border-top: 2px solid var(--ink); padding-top: var(--s-4); }
}
.rail-head { font-weight: 600; color: var(--ink); margin-bottom: var(--s-2); }
.rail-phone { font-size: var(--t-2xl); font-weight: 500; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.rail-hours { font-size: var(--t-sm); color: var(--muted); }
.rail .btn { width: 100%; margin-bottom: var(--s-5); }
.rail-related { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); font-size: var(--t-md); }
.rail-related li { border-bottom: 1px solid var(--rule); padding: var(--s-2) 0; }
.rail-label { font-size: var(--t-sm); color: var(--muted); margin: 0 0 var(--s-2); }

/* Institution and people finder */
.finder-controls { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); padding-bottom: var(--s-5); border-bottom: 1px solid var(--rule-strong); }
.finder-search label { display: block; font-weight: 500; color: var(--ink); margin-bottom: var(--s-2); }
.finder-search input {
  width: 100%; max-width: 560px; font: inherit; font-size: 1.125rem; padding: var(--s-3) var(--s-4); min-height: 50px;
  border: 1.5px solid var(--ink); background: #fff; color: var(--ink);
}
.finder-types { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.finder-types legend { font-weight: 500; color: var(--ink); margin-bottom: var(--s-2); padding: 0; }
.type-btn {
  font: inherit; font-size: var(--t-md); background: #fff; color: var(--ink-soft); border: 1px solid var(--rule);
  padding: var(--s-2) var(--s-3); min-height: 44px; cursor: pointer;
}
@media (hover: hover) and (pointer: fine) { .type-btn:hover { border-color: var(--ink); } }
.type-btn[aria-pressed='true'] { background: var(--blue-dark); color: #fff; border-color: var(--ink); }
.type-btn .count { color: var(--muted); margin-left: var(--s-1); font-variant-numeric: tabular-nums; }
.type-btn[aria-pressed='true'] .count { color: #cfcfcf; }
.az { display: flex; flex-wrap: wrap; gap: 2px; }
.az[hidden] { display: none; }
.az button { font: inherit; font-size: var(--t-md); font-weight: 500; width: 44px; height: 44px; background: #fff; color: var(--ink); border: 1px solid var(--rule); cursor: pointer; padding: 0; }
@media (hover: hover) and (pointer: fine) { .az button:hover { border-color: var(--ink); } }
.az button[aria-pressed='true'] { background: var(--blue-dark); color: #fff; border-color: var(--ink); }
.az button:disabled { color: #b3b3b3; cursor: default; border-color: #ececec; }
.finder-status { color: var(--muted); font-size: var(--t-md); min-height: 1.5em; margin: var(--s-4) 0 0; }
.finder-group { padding-top: var(--s-6); }
.finder-group > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding: var(--s-2) 0; border-bottom: 1px solid var(--rule-strong); min-height: 44px; }
.finder-group > summary::-webkit-details-marker { display: none; }
.finder-group > summary h2 { font-size: var(--t-lg); margin: 0; }
.finder-group > summary .count { color: var(--muted); font-size: var(--t-md); font-variant-numeric: tabular-nums; }
.finder-group > summary::after { content: ''; width: 0.5rem; height: 0.5rem; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); flex-shrink: 0; margin-left: auto; }
.finder-group[open] > summary::after { transform: rotate(-135deg); }
.finder-list { list-style: none; margin: var(--s-2) 0 0; padding: 0; columns: 3 240px; column-gap: var(--s-6); }
.finder-list li { break-inside: avoid; padding: var(--s-2) 0; border-bottom: 1px solid var(--rule); }
.finder-list a, .finder-results a { text-decoration: none; color: var(--ink-soft); }
@media (hover: hover) and (pointer: fine) { .finder-list a:hover, .finder-results a:hover { color: var(--blue-dark); text-decoration: underline; } }
.finder-results { list-style: none; margin: var(--s-4) 0 0; padding: 0; columns: 2 320px; column-gap: var(--s-6); }
.finder-results li { break-inside: avoid; padding: var(--s-2) 0; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; gap: var(--s-4); }
.finder-results .kind { color: var(--muted); font-size: var(--t-sm); white-space: nowrap; }
.finder-none { padding-top: var(--s-6); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--s-7); }
.big { font-size: var(--t-2xl); font-weight: 500; }
.big a { text-decoration: none; }
.form-slot { border: 1px dashed var(--rule); padding: var(--s-6); min-height: 260px; display: grid; place-items: center; }

/* Sources (reviewer aid, preview only in practice: check.mjs fails a
   production build that still carries them) */
.sources { font-size: var(--t-sm); color: var(--muted); border-top: 1px dashed var(--rule); padding: var(--s-5) 0 var(--s-6); }
.sources ul { margin: var(--s-1) 0 0; padding-left: var(--s-5); }

/* Testimonials: an excerpt of each, the rest behind "Read the rest" */
.tm-filter { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 var(--s-2); }
.tm-status { color: var(--muted); font-size: var(--t-md); min-height: 1.5em; margin: 0 0 var(--s-5); }
.tm-grid { columns: 1; column-gap: var(--s-8); }
/* Columns, not a grid: a short quote never leaves a hole beside a long one. */
.tm, .migrated .prose .tm { break-inside: avoid; display: block; margin: 0 0 var(--s-6); border-top: 1px solid var(--rule-strong); padding-top: var(--s-4); }
.tm[hidden], .migrated .prose .tm[hidden] { display: none; }
@media (min-width: 1024px) { .tm-grid { columns: 2; } .tm, .migrated .prose .tm { margin-bottom: var(--s-7); } }
.tm blockquote, .migrated .prose .tm blockquote { margin: 0; padding: 0; border-left: 0; font-size: 1.125rem; line-height: 1.6; color: var(--ink); }
.tm blockquote p { margin: 0 0 var(--s-2); }
.tm blockquote > p:last-of-type { margin-bottom: 0; }
.tm details summary { cursor: pointer; color: var(--blue-dark); font-size: var(--t-md); font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.tm details[open] summary { margin-bottom: var(--s-1); }
.tm figcaption { margin-top: var(--s-3); font-size: var(--t-md); line-height: 1.5; }
.tm blockquote:has(details) + figcaption { margin-top: 0; }
.tm-who { color: var(--ink); font-weight: 600; }
.tm-what { color: var(--muted); }
.tm-what::before { content: '\00a0\00a0·\00a0\00a0'; color: var(--rule-strong); }
.tm-more { margin-top: var(--s-6); }
.tm-grid.is-capped > .tm:nth-child(n+9) { display: none; }

/* Team: a grid of people, profiles behind a disclosure */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 var(--s-6); }
/* Each card's rows line up with its neighbours: photo, name, role, admitted,
   contact, profile. */
.person { display: grid; grid-row: span 6; grid-template-rows: subgrid; align-content: start; padding-bottom: var(--s-7); }
.person img, .person-nophoto { width: min(100%, 200px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; margin-bottom: var(--s-5); }
.person-nophoto { display: block; background: var(--stone); }
.person h2, .migrated .prose .person h2 { font-size: var(--t-lg); margin: 0 0 var(--s-1); }
.person-role { color: var(--ink-soft); margin: 0; }
.person-admitted { color: var(--muted); font-size: var(--t-md); margin: 0 0 var(--s-3); }
.person-admitted:empty { margin: 0; }
.person-contact { display: flex; gap: var(--s-4); margin: 0 0 var(--s-2); font-size: var(--t-md); align-self: end; }
.person-contact a { min-height: 44px; display: inline-flex; align-items: center; }
.person details { border-top: 1px solid var(--rule); align-self: start; }
.person summary { cursor: pointer; color: var(--blue-dark); font-size: var(--t-md); font-weight: 500; min-height: 44px; display: flex; align-items: center; }
.person details > div { font-size: var(--t-md); }
.person details p { margin: 0 0 var(--s-3); }

/* Team row on home: the first eight people, linking to the team page */
.team-row { list-style: none; margin: 0 0 var(--s-5); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6) var(--s-5); }
.member { display: flex; flex-direction: column; gap: var(--s-1); text-decoration: none; color: inherit; }
.member img { width: min(100%, 160px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; margin-bottom: var(--s-3); }
.member-name { color: var(--ink); font-weight: 600; }
.member-role { color: var(--muted); font-size: var(--t-md); }
@media (hover: hover) and (pointer: fine) { .member:hover .member-name { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; } }
@media (max-width: 760px) { .team-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-4); } }

/* Sticky call and enquire bar (phones) */
.action-bar { display: none; }

/* Footer */
.site-footer { background: var(--blue-dark); color: #cfcfcf; padding: var(--s-7) 0 var(--s-5); font-size: var(--t-md); border-top: 1px solid #333; }
.site-footer a { color: #fff; text-decoration-color: #6a6a6a; }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { color: #fff; text-decoration-color: #fff; } }
.footer-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s-6); padding-bottom: var(--s-6); border-bottom: 1px solid #333; }
.footer-phone { font-size: var(--t-xl); font-weight: 500; text-decoration: none; }
.footer-map { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-6); padding-block: var(--s-6); }
.footer-col summary { list-style: none; pointer-events: none; }
.footer-col summary::-webkit-details-marker { display: none; }
.footer-col .plain li { margin-bottom: var(--s-2); }
.footer-col .plain a { display: inline-block; padding-block: 2px; }
.footer-name { color: #fff; font-weight: 500; margin-bottom: var(--s-3); }
.site-footer .muted { color: #a9a9a9; }
.footer-base { border-top: 1px solid #333; padding-top: var(--s-5); font-size: var(--t-sm); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-6); }
.footer-base p { margin: 0; }
.site-footer .tbc { color: #e0b46c; }
@media (max-width: 1080px) { .footer-map { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .footer-map { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: var(--s-3); }
  .footer-col { border-bottom: 1px solid #333; }
  .footer-col summary { pointer-events: auto; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 48px; margin: 0; }
  .footer-col summary::after { content: ''; width: 0.45rem; height: 0.45rem; border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(45deg); }
  .footer-col[open] summary::after { transform: rotate(-135deg); }
  .footer-col .plain { padding-bottom: var(--s-4); }
}

/* Medium screens: collapse the nav behind a Menu button */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .header-inner { flex-wrap: wrap; gap: var(--s-2) var(--s-4); }
  .header-call { order: 2; }
  .nav-toggle { order: 3; margin-left: 0; }
  .brand { margin-right: auto; }
  .site-nav { order: 4; width: 100%; margin-left: 0; display: block; border-top: 1px solid var(--rule); }
  .nav-ready .site-nav { display: none; }
  .nav-ready .site-nav.is-open { display: block; }
  .site-header:not(.nav-ready) .nav-toggle { display: none; }
  .site-header:not(.nav-ready) .nav-sub { display: block; }
  .nav-top { flex-direction: column; }
  .nav-link { min-height: 50px; width: 100%; justify-content: space-between; padding: 0; border-bottom: 1px solid var(--rule); }
  .nav-sub { position: static; border: 0; border-left: 2px solid var(--ink); margin: 0 0 var(--s-2); min-width: 0; }
  .nav-item:hover > .nav-sub, .nav-item:focus-within > .nav-sub { display: none; }
  .nav-link[aria-expanded='true'] + .nav-sub { display: block; }
}
@media (max-width: 760px) {
  :root { --header-h: 60px; }
  .split, .ledger li { grid-template-columns: minmax(0, 1fr); }
  .index-list a { grid-template-columns: minmax(0, 1fr) auto; }
  .index-list .index-text { grid-column: 1; grid-row: 2; }
  .index-list .index-arrow { grid-column: 2; grid-row: 1 / span 2; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .proof-grid { grid-template-columns: minmax(0, 1fr); }
  .proof-item, .proof-item + .proof-item { border-left: 0; padding: var(--s-4) 0; }
  .proof-item + .proof-item { border-top: 1px solid var(--rule); }
  .ledger li { gap: var(--s-1); }
  .timeline li { padding-left: var(--s-5); }
  .timeline .when::before { top: calc(var(--s-5) + 0.4em); }

  /* The header tucks away on scroll down and returns on scroll up */
  .site-header.is-tucked { transform: translateY(-100%); }

  /* Sticky call and enquire bar */
  body:has(.action-bar) { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: var(--s-2) var(--s-4) calc(var(--s-2) + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--rule);
    transition: transform 180ms var(--ease-out);
  }
  .action-bar .btn { min-height: 48px; padding: var(--s-2) var(--s-3); font-size: var(--t-md); line-height: 1.25; }
  .action-bar.is-hidden { transform: translateY(110%); }

  .toc { position: sticky; top: var(--header-h); z-index: 30; background: var(--paper); padding: var(--s-2) 0; margin-top: var(--s-4); border-bottom: 1px solid var(--rule); }
  .toc select { flex: 1; }
  .finder-group { padding-top: var(--s-2); }
  .finder-list { columns: 1; }
  .team-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr)); gap: 0 var(--s-4); }
  .person { padding-bottom: var(--s-6); }
  .person h2 { font-size: 1.0625rem; }
  .person-role, .person-admitted, .person-contact, .person summary { font-size: var(--t-sm); }
}
@media (max-width: 480px) {
  .brand-word { display: none; }
  .header-inner { flex-wrap: nowrap; min-height: var(--header-h); gap: var(--s-2); }
  .site-header.nav-open .header-inner { flex-wrap: wrap; }
  .header-call { padding: 0 var(--s-3); font-size: var(--t-md); }
  .nav-toggle { padding: var(--s-2) var(--s-3); }
  .lead { font-size: 1.125rem; }
  .crumbs { padding-top: var(--s-2); }
}
/* Small tablets and landscape phones still need the compact brand: the full
   wordmark plus Call and Menu otherwise wraps between 481px and about 530px. */
@media (min-width: 481px) and (max-width: 600px) {
  .site-header .brand-word { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .action-bar, .step-mark, .timeline .when, .timeline .when::before { transition: none !important; }
  .site-header.is-tucked { transform: none; }
}

/* Client forms: quiet typography, short screens and a stable navigation rail. */
.client-area { font-size: 1rem; }
.client-area [hidden] { display: none !important; }
.client-area .header-inner { justify-content: space-between; }
.client-area .brand { min-height: 48px; }
.client-area button { font: inherit; cursor: pointer; }
.client-area button:disabled { cursor: default; opacity: 0.55; }
.client-exit { position: fixed; right: max(1.25rem, calc((100vw - var(--wrap)) / 2)); top: 0.8rem; z-index: 90; background: var(--paper); }
.client-main { max-width: 1120px; padding-block: 1.5rem 2rem; }
.client-breadcrumbs { display: flex; gap: 1.25rem; align-items: center; margin: 0 0 1rem; font-size: 0.88rem; }
.client-breadcrumbs a, .client-breadcrumbs button { display: inline-flex; align-items: center; min-height: 44px; }
.client-breadcrumbs button { border: 0; background: none; padding: 0; color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.client-intro { max-width: 640px; margin: 1rem auto 4rem; }
.client-intro h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.15; letter-spacing: -0.025em; margin-bottom: 1.1rem; }
.client-intro .lead { font-size: 1.15rem; line-height: 1.8; }
.client-kicker { font-size: 0.8rem; font-weight: 500; color: var(--blue-dark); margin-bottom: 0.85rem; }
.client-facts { list-style: none; padding: 0; margin: 2rem 0; border-top: 1px solid var(--rule); }
.client-facts li { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; border-bottom: 1px solid var(--rule); padding-block: 1rem; }
.client-facts strong { color: var(--ink); font-weight: 500; }
.client-facts span { color: var(--muted); }
.client-estimate { margin-top: 1rem; }
.client-forms { list-style: none; padding: 0; margin: 2.5rem 0 3rem; border-top: 1px solid var(--rule-strong); }
.client-form-row { border-bottom: 1px solid var(--rule); padding-block: 1.1rem; }
.client-form-row h3 { font-size: 1.05rem; margin: 0 0 0.2rem; }
.client-form-when { font-size: 0.88rem; color: var(--muted); margin: 0; }
.client-form-placeholder { font-size: 0.85rem; color: #8a8a8a; margin: 0.35rem 0 0; }
.client-form-row.is-active { border-left: 3px solid var(--blue); padding-left: 1rem; margin-left: calc(-1rem - 3px); padding-block: 1.6rem; }
.client-form-row.is-active .client-form-when { margin-bottom: 0.9rem; }
.client-forms-heading { font-size: 1rem; margin: 0 0 0.3rem; color: var(--muted); }
.client-forms.is-unlinked { margin-top: 1.25rem; border-top-color: var(--rule); }
.client-forms.is-unlinked h3 { color: var(--muted); font-weight: 500; }
.client-intro .client-question { max-width: 420px; }
.client-workspace { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 4rem; align-items: start; }
.client-rail { position: sticky; top: calc(var(--header-h) + 24px); padding-right: 1.25rem; }
.client-rail-title { font-size: 1.4rem; color: var(--ink); font-weight: 500; margin-bottom: 1.5rem; }
.client-rail ol { list-style: none; margin: 0 0 2rem; padding: 0; }
.client-rail nav button { display: flex; align-items: baseline; gap: 0.9rem; width: 100%; min-height: 48px; padding: 0.8rem 0; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--rule); color: var(--muted); line-height: 1.45; }
.client-rail nav button[aria-current='step'] { color: var(--ink); font-weight: 500; border-bottom-color: var(--blue-dark); }
.client-section-number { font-size: 0.75rem; color: var(--blue-dark); font-variant-numeric: tabular-nums; }
.client-text-button { background: none; border: 0; padding: 0.5rem 0; min-height: 44px; text-align: left; color: var(--blue-dark); text-decoration: underline; text-underline-offset: 4px; }
.client-work-main { max-width: 650px; min-width: 0; }
.client-progress { color: var(--muted); font-size: 0.83rem; margin-bottom: 0.65rem; }
.client-work-main progress { display: block; width: 100%; height: 3px; appearance: none; border: 0; color: var(--blue-dark); background: var(--rule); margin-bottom: 1.5rem; }
.client-work-main progress::-webkit-progress-bar { background: var(--rule); }
.client-work-main progress::-webkit-progress-value { background: var(--blue-dark); }
.client-work-main progress::-moz-progress-bar { background: var(--blue-dark); }
.client-work-main h2 { font-size: clamp(1.7rem, 2.5vw, 2.1rem); line-height: 1.25; margin-bottom: 1.5rem; }
.client-question { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
.client-question > label, .client-question legend { display: block; padding: 0; margin: 0 0 0.35rem; font-size: 1.05rem; font-weight: 500; color: var(--ink); }
.client-field-status { display: inline-block; margin-left: 0.6rem; color: var(--muted); font-weight: 400; font-size: 0.8rem; }
.client-question .note { margin-bottom: 0.8rem; font-size: 0.85rem; }
.client-question input:not([type='radio']):not([type='checkbox']), .client-question textarea { width: 100%; min-height: 52px; border: 1px solid #909090; padding: 0.8rem 0.9rem; font: inherit; line-height: 1.65; color: var(--ink); background: var(--paper); }
.client-question input:not([type='radio']):not([type='checkbox']):focus, .client-question textarea:focus { border-color: var(--blue-dark); }
#client-space-password { margin-bottom: var(--s-5); }
.client-question textarea { resize: vertical; }
.client-options { border-top: 1px solid var(--rule); }
.client-option { display: flex; align-items: center; gap: 0.9rem; border-bottom: 1px solid var(--rule); min-height: 52px; padding: 0.8rem 0; cursor: pointer; }
.client-option input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--blue-dark); }
.client-option:has(input:checked) { color: var(--ink); border-bottom-color: var(--blue-dark); }
.client-option:focus-within { outline: 3px solid var(--amber); outline-offset: 2px; }
.client-error { color: #9d2424; font-weight: 500; margin-top: 0.75rem; }
.client-flow-footer { position: sticky; bottom: 0; z-index: 10; border-top: 1px solid var(--rule); padding-block: 1rem; background: var(--paper); }
.client-controls { display: flex; justify-content: space-between; gap: 1rem; }
.client-controls .btn { min-width: 120px; }
.client-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; border-top: 1px solid var(--rule); margin-top: 3rem; padding-top: 1rem; font-size: 0.78rem; color: var(--muted); }
.client-footer p { margin: 0; }
.client-review-section { border-top: 1px solid var(--rule); padding-block: 1.5rem; }
.client-review-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.client-review-heading h3 { font-size: 1.1rem; }
.client-review-label { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.25rem; }
.client-review-answer { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
@media (max-width: 800px) {
  .client-workspace { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .client-rail { position: static; padding: 0; }
  .client-rail > .client-kicker, .client-rail-title { display: none; }
  .client-rail ol { display: flex; gap: 1.2rem; overflow-x: auto; margin-bottom: 0.3rem; padding-bottom: 0.25rem; }
  .client-rail nav button { width: max-content; min-width: 120px; padding-block: 0.65rem; }
  .client-rail > .client-text-button { font-size: 0.85rem; margin-bottom: 0.5rem; }
  .client-work-main { max-width: none; }
  .client-facts li { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
  .client-intro { margin-top: 0; }
  .client-exit { right: 1.25rem; padding-inline: 0.9rem; }
  .client-area .brand-word { width: 118px; }
  .client-review-heading { align-items: flex-start; }
}

/* Migrated pages: the firm's published wording, in the new design. */
.migrated .prose > * { max-width: var(--measure); }
.migrated .with-rail .prose > * { max-width: none; }
.migrated .prose section + section { margin-top: var(--s-6); }
.migrated .prose > section:first-child > :first-child { margin-top: 0; }
.migrated .prose h2 { margin-top: var(--s-7); }
.migrated .prose h3 { margin-top: var(--s-5); }
.migrated .prose p + p { margin-top: 0.25em; }
.migrated .prose figure { margin: var(--s-5) 0; }
.migrated .prose figcaption { font-size: var(--t-md); color: var(--muted); margin-top: var(--s-2); }
.migrated .prose blockquote { border-left: 3px solid var(--blue); margin: var(--s-5) 0; padding: var(--s-1) 0 var(--s-1) var(--s-5); font-size: 1.125rem; }
.migrated .prose hr { border: 0; border-top: 1px solid var(--rule); margin: var(--s-6) 0; }
.migrated .prose table { border-collapse: collapse; width: 100%; }
.migrated .prose th, .migrated .prose td { border-bottom: 1px solid var(--rule); padding: var(--s-2); text-align: left; vertical-align: top; }
.m-kicker { font-weight: 600; color: var(--ink); text-transform: none; }
.m-button a { display: inline-block; font-weight: 600; border: 2px solid var(--ink); padding: var(--s-3) var(--s-4); text-decoration: none; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .m-button a:hover { background: var(--blue-dark); color: #fff; } }
.m-video { position: relative; aspect-ratio: 16 / 9; margin: var(--s-5) 0; background: var(--stone); }
.m-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.m-audio audio { width: 100%; }
.m-enquiry { background: var(--stone); border-left: 4px solid var(--blue); padding: var(--s-5); margin: var(--s-6) 0; }
.m-enquiry-heading { font-weight: 600; font-size: var(--t-lg); margin: 0 0 var(--s-2); }
.m-enquiry .cta-row { margin-top: var(--s-4); }
.post-meta { color: var(--muted); }
.post-list { list-style: none; padding: 0; }
.post-list li { border-top: 1px solid var(--rule); padding: var(--s-5) 0; }
.post-list li > a { font-weight: 600; font-size: 1.125rem; }
.wide .prose > * { max-width: none; }

.migrated .prose > :last-child, .migrated .prose > section:last-child > :last-child, .m-enquiry:last-child { margin-bottom: 0; }

/* Prior deeds of settlement: filter by state */
.pd-filter { border-top: 1px solid var(--rule-strong); padding: var(--s-4) 0 0; margin: var(--s-6) 0 0; }
.pd-label { font-weight: 500; color: var(--ink); margin: 0 0 var(--s-2); }
.pd-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pd-status { color: var(--muted); font-size: var(--t-md); margin: var(--s-2) 0 0; min-height: 1.5em; }
.pd-status:empty { display: none; }
.pd-state { border-top: 1px solid var(--rule); padding-top: var(--s-2); margin-top: var(--s-5); scroll-margin-top: calc(var(--header-h) + var(--s-4)); }
.migrated .prose .pd-state h3 { margin-top: var(--s-3); }

/* Institution hub pages (lib/hub.mjs, data/hubs/*.json) */
.hub-head .lead { margin-bottom: var(--s-5); }
.hub-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); }
.hub-facts a { display: inline-flex; align-items: baseline; gap: var(--s-2); color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
@media (hover: hover) and (pointer: fine) { .hub-facts a:hover { color: var(--blue-dark); border-color: var(--blue-dark); } }
.hub-facts strong { font-size: var(--t-2xl); font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.hub-kicker { font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.04em; color: var(--ink); margin: 0 0 var(--s-2); }
.hub-kicker strong { color: var(--blue-dark); }
.page-head .rail .btn { margin-bottom: 0; }

.hub-about-text { font-size: 1.1875rem; line-height: 1.7; color: var(--ink); }

.hub-search { display: grid; gap: var(--s-2); max-width: 560px; margin-bottom: var(--s-6); }
.hub-search label { font-weight: 500; color: var(--ink); }
.hub-search-row { display: flex; align-items: center; gap: var(--s-4); }
.hub-search input { flex: 1; min-width: 0; font: inherit; font-size: 1.0625rem; padding: var(--s-3) var(--s-4); min-height: 50px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); }
.hub-count { color: var(--muted); font-size: var(--t-md); white-space: nowrap; }

.hub-block + .hub-block { margin-top: var(--s-7); }
.hub-block-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-5); border-bottom: 2px solid var(--ink); padding-bottom: var(--s-3); margin-bottom: var(--s-2); }
.hub-block-lead { margin: 0; font-size: var(--t-lg); color: var(--ink); font-weight: 500; line-height: 1.35; max-width: 720px; }
.hub-tally { font-size: var(--t-2xl); font-weight: 600; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }

.hub-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--s-6); }
.hub-item { border-bottom: 1px solid var(--rule); }
.hub-item > a, .hub-item.is-plain > span, .hub-person > a, .hub-person.is-plain > span { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); min-height: 48px; padding: var(--s-2) 0; text-decoration: none; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .hub-item > a:hover, .hub-person > a:hover { color: var(--blue-dark); } }
@media (hover: hover) and (pointer: fine) { .hub-item a:hover .hub-arrow, .hub-person a:hover .hub-arrow { transform: translateX(3px); color: var(--blue-dark); } }
.hub-arrow { color: #9a9a9a; transition: transform 150ms var(--ease-out); flex-shrink: 0; }
.is-plain > span { color: var(--muted) !important; }

.hub-letters { columns: 3 260px; column-gap: var(--s-6); }
.hub-letter { break-inside: avoid; display: grid; grid-template-columns: 2rem minmax(0, 1fr); padding-top: var(--s-2); }
.hub-letter-key { margin: 0; padding-top: var(--s-3); font-weight: 600; color: var(--blue-dark); font-size: var(--t-md); }
.hub-letter ul { list-style: none; margin: 0; padding: 0; }
.hub-person { border-bottom: 1px solid var(--rule); font-size: var(--t-md); }
.hub-person > a { min-height: 44px; }
.hub-none { color: var(--muted); margin-top: var(--s-5); }

.hub-statement { border-left: 3px solid var(--amber); padding-left: var(--s-5); max-width: 820px; }
.hub-statement p { font-size: var(--t-xl); line-height: 1.45; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }
.hub-statement p + p { font-size: var(--t-lg); font-weight: 400; color: var(--ink-soft); }

.hub-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7); }
.hub-feature { border-top: 2px solid var(--ink); padding-top: var(--s-4); }
.hub-feature h2 { font-size: var(--t-xl); }
.hub-cap::first-letter { text-transform: uppercase; }

@media (max-width: 1080px) { .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .hub-grid { grid-template-columns: minmax(0, 1fr); }
  .hub-feature-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .hub-statement p { font-size: var(--t-lg); }
  .hub-about-text { font-size: var(--t-body); }
}


.hub-bullets { padding-left: var(--s-5); }
.hub-bullets li { margin-bottom: var(--s-1); }
.hub-text + .hub-text { padding-top: 0; }
.hub-text + .hub-text > .wrap { border-top: 0 !important; padding-top: 0 !important; }
.hub-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s-5); }
.hub-card { display: block; text-decoration: none; color: var(--ink); font-weight: 500; }
.hub-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: var(--s-2); }
.hub-item .is-plain a, .hub-person.is-plain a { color: var(--blue-dark); }
/* Entries holding more than one link ("Father X (Order)") read as one line */
.hub-item.is-plain > span, .hub-person.is-plain > span { display: block; min-height: 0; padding: var(--s-3) 0; line-height: 1.45; }
.hub-item.is-plain > span:has(a), .hub-person.is-plain > span:has(a) { color: var(--ink) !important; }

/* ===================================================================
   Abuse claim pages (lib/practice.mjs, data/practice/*.json).
   Moody Law's palette only: charcoal, hexagon blue, its darker blue and
   the amber accent.
   =================================================================== */
.pa-hero { background: var(--blue-dark); color: #e6e6e6; padding: 0 0 clamp(3rem, 6vw, 5.5rem); }
.pa-crumbs { padding: var(--s-4) 0 clamp(2rem, 5vw, 4rem); }
.pa-crumbs a, .pa-crumbs span { color: #a9a9a9; }
.pa-hero-inner > * { max-width: 920px; }
.pa-h1 { font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin: 0 0 var(--s-4); }
.pa-eyebrow { font-size: var(--t-md); color: #a9a9a9; margin: 0 0 var(--s-3); }
.pa-display { font-size: clamp(2.1rem, 4.6vw, 3.8rem); line-height: 1.06; letter-spacing: -0.028em; font-weight: 600; color: #fff; margin: 0 0 var(--s-5); }
.pa-five { color: #7fa9e6; white-space: nowrap; }
.pa-sub { font-size: var(--t-lg); line-height: 1.55; color: #c9c9c9; max-width: 680px; margin: 0 0 var(--s-6); }
.pa-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.pa-btn { min-height: 52px; padding-inline: var(--s-6); }
.pa-btn-ghost { border: 1.5px solid #fff; color: #fff; background: transparent; min-height: 52px; padding-inline: var(--s-6); }
@media (hover: hover) and (pointer: fine) { .pa-btn-ghost:hover { background: #fff; color: var(--ink); } }
.pa-kicker { margin: var(--s-5) 0 0; font-size: var(--t-sm); letter-spacing: 0.06em; color: #a9a9a9; }
.pa-kicker strong { color: #fff; }

/* Compact static comparison: readable without motion or JavaScript. */
.pa-scene { background: var(--paper); }
.pa-scene-pin { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.pa-scene-title { font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-dark); margin: 0 0 var(--s-6); }
.pa-meter { display: grid; gap: var(--s-6); }
.pa-row { display: grid; grid-template-columns: minmax(0, 1fr) 7rem; grid-template-areas: 'label label' 'track x'; gap: var(--s-2) var(--s-5); align-items: center; }
.pa-row-label { grid-area: label; margin: 0; font-size: clamp(1.05rem, 1.8vw, 1.35rem); color: var(--ink); font-weight: 500; }
.pa-track { grid-area: track; height: clamp(28px, 4vw, 44px); background: var(--stone); position: relative; overflow: hidden; }
.pa-fill { position: absolute; inset: 0; background: #9aa3ad; transform-origin: left; transform: scaleX(0.2); }
.pa-row-civil .pa-fill { background: var(--blue); transform: scaleX(var(--s, 1)); }
.pa-row-x { grid-area: x; margin: 0; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }
.pa-row-civil .pa-row-x { color: var(--blue-dark); }
.pa-ruler { list-style: none; margin: calc(-1 * var(--s-3)) 7rem 0 0; padding: 0; margin-right: calc(7rem + var(--s-5)); display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); }
.pa-ruler li { text-align: right; font-size: var(--t-sm); color: var(--muted); padding-top: var(--s-1); border-right: 1px solid var(--rule); padding-right: var(--s-1); font-variant-numeric: tabular-nums; }

/* Recognition tiles */
.pa-recognise { padding: clamp(3rem, 6vw, 5rem) 0; }
.pa-lead { font-size: var(--t-xl); line-height: 1.35; color: var(--ink); font-weight: 500; max-width: 760px; margin: 0 0 var(--s-6); letter-spacing: -0.01em; }
.pa-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5) var(--s-6); }
.pa-tiles li { border-top: 2px solid var(--ink); padding-top: var(--s-4); font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 500; color: var(--ink); letter-spacing: -0.01em; line-height: 1.25; }

/* Statement */
.pa-statement { padding: 0 0 clamp(3rem, 6vw, 5rem); }
.pa-reassure { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; max-width: 900px; border-left: 4px solid var(--amber); padding-left: var(--s-5); margin: 0 0 var(--s-4); }
.pa-reassure-sub { font-size: var(--t-lg); max-width: 760px; padding-left: calc(var(--s-5) + 4px); color: var(--ink-soft); margin: 0; }

/* Text */
.pa-text { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.pa-text + .pa-text { padding-top: 0; }
.pa-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--s-4) var(--s-8); align-items: start; }
.pa-text-body p { font-size: 1.125rem; line-height: 1.65; color: var(--ink-soft); }
.pa-text h3 { font-size: var(--t-xl); }
.pa-bullets { margin: 0; padding-left: var(--s-5); font-size: 1.0625rem; }
.pa-bullets li { margin-bottom: var(--s-2); }
.pa-text:nth-of-type(even), .pa-recognise + .pa-text { background: transparent; }

/* Proof */
.pa-proof { background: var(--stone); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.pa-proof h2 { margin-bottom: var(--s-6); }
.pa-proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.pa-stat { background: var(--blue-dark); color: #dfe8f6; padding: var(--s-5) var(--s-6) var(--s-6); display: flex; flex-direction: column; justify-content: flex-end; }
.pa-stat-figure { font-size: clamp(3rem, 5.5vw, 4.5rem); line-height: 0.95; font-weight: 600; letter-spacing: -0.04em; color: #fff; margin: 0 0 var(--s-4); }
.pa-stat h3 { color: #fff; font-size: var(--t-lg); }
.pa-stat p { margin: 0; }
.pa-benefit { border-top: 2px solid var(--ink); padding-top: var(--s-4); }
.pa-benefit h3 { font-size: var(--t-lg); margin-bottom: var(--s-2); }
.pa-benefit p { margin: 0; color: var(--ink-soft); }

/* Explore cards */
.pa-explore { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.pa-proof + .pa-explore, .pa-explore + .pa-proof { border-top: 0; }
.pa-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.pa-card { position: relative; display: flex; flex-direction: column; gap: var(--s-2); min-height: 140px; padding: var(--s-5); background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--blue); text-decoration: none; color: var(--ink); transition: border-color 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .pa-card:hover { border-top-color: var(--blue-dark); color: var(--ink); } }
.pa-card-name { font-size: var(--t-xl); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; padding-right: var(--s-6); }
.pa-card-count { color: var(--muted); font-size: var(--t-md); font-weight: 400; }
.pa-card-go { position: absolute; right: var(--s-5); bottom: var(--s-5); font-size: var(--t-xl); color: var(--blue-dark); transition: transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .pa-card:hover .pa-card-go { transform: translateX(4px); } }

/* Directory and list link */
.pa-directory { background: var(--stone); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.pa-dir-head { margin-bottom: var(--s-6); align-items: end; }
.pa-dir-head .hub-search { margin: 0; }
.pa-listlink-wrap { background: var(--stone); padding: 0 0 clamp(3.5rem, 7vw, 6rem); }
.pa-listlink { position: relative; display: grid; gap: var(--s-2); padding: var(--s-6) var(--s-8) var(--s-6) var(--s-6); background: var(--blue-dark); color: #cfcfcf; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .pa-listlink:hover { color: #fff; } }
.pa-listlink-name { font-size: var(--t-2xl); font-weight: 600; color: #fff; letter-spacing: -0.015em; }
.pa-listlink .pa-card-count { color: #a9a9a9; margin-left: var(--s-2); }
.pa-listlink .pa-card-go { color: #7fa9e6; top: 50%; bottom: auto; transform: translateY(-50%); }
@media (hover: hover) and (pointer: fine) { .pa-listlink:hover .pa-card-go { transform: translate(4px, -50%); } }

/* Features */
.pa-features { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--stone); }
.pa-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7); }
.pa-feature { border-top: 3px solid var(--blue); padding-top: var(--s-4); }
.pa-feature h2 { font-size: var(--t-xl); }

/* Voices */
.pa-voices { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.pa-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8); margin-top: var(--s-6); }
.pa-quote { margin: 0; }
.pa-quote blockquote { margin: 0 0 var(--s-4); font-size: var(--t-lg); line-height: 1.55; color: var(--ink); position: relative; padding-top: var(--s-7); }
.pa-quote blockquote::before { content: '\201C'; position: absolute; top: -0.15em; left: -0.05em; font-size: 5rem; line-height: 1; color: var(--blue); font-weight: 600; }
.pa-quote figcaption { color: var(--muted); font-weight: 500; }

/* Close */
.pa-close { background: var(--blue-dark); color: #cfcfcf; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.pa-close h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.pa-close h3 { color: #fff; font-size: var(--t-lg); margin-top: var(--s-5); }
.pa-close-eyebrow { font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin: 0 0 var(--s-3); }
.pa-close-actions { display: grid; gap: var(--s-5); align-content: center; }
.pa-close-phone { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 600; letter-spacing: -0.03em; color: #fff; text-decoration: none; line-height: 1; }
@media (hover: hover) and (pointer: fine) { .pa-close-phone:hover { color: #7fa9e6; } }
.pa-close + .site-footer { border-top-color: #333; }

@media (max-width: 1000px) {
  .pa-proof-grid, .pa-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pa-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
  .pa-split, .pa-quotes, .pa-proof-grid, .pa-cards, .pa-feature-grid { grid-template-columns: minmax(0, 1fr); }
  .pa-quotes { gap: var(--s-7); }
  .pa-listlink { padding-right: var(--s-7); }
  .pa-btn, .pa-btn-ghost { flex: 1 1 100%; }
  .pa-row { grid-template-columns: minmax(0, 1fr) 4.5rem; }
  .pa-ruler { margin-right: calc(4.5rem + var(--s-5)); }
  .pa-ruler li:nth-child(2), .pa-ruler li:nth-child(4) { color: transparent; }
}

/* Home page shading: no two neighbouring folds share a background */
.home-hero, .home-proof { background: #eef3f9; }
.home-hero { border-bottom: 0; }
.home-proof { border-bottom: 0; }
.home-proof .proof-item + .proof-item { border-left-color: #d3dceb; }
.tint.brand { background: var(--blue-dark); color: #dfe8f6; }
.tint.brand h2, .tint.brand h3 { color: #fff; }
.tint.brand p { color: #dfe8f6; }
.tint.brand .step-mark { background: #fff; }
.tint.brand a { color: #fff; }
.team-strip + .tint { margin-top: 0; }
@media (max-width: 760px) { .home-proof .proof-item + .proof-item { border-top-color: #d3dceb; } }
.pa-text .pa-lead { font-size: var(--t-lg); font-weight: 400; color: var(--ink); line-height: 1.5; }


/* Final design refinement: blue surfaces, quiet article rhythm. Body text
   retains neutral ink for readability; dark charcoal is not a brand surface. */
:root { --surface-blue: #eef3f9; --rule-blue: #cbd9ec; }
.demo-bar { background: var(--blue-deeper); color: #fff; }
.header-call, .btn-secondary { border-color: var(--blue-dark); }
@media (hover: hover) and (pointer: fine) { .btn-secondary:hover { background: var(--blue-deeper); } }
.type-btn[aria-pressed='true'], .az button[aria-pressed='true'] { border-color: var(--blue-dark); }
.type-btn[aria-pressed='true'] .count, .cta-band p { color: #fff; }
.site-footer { background: var(--blue-deeper); color: #e4edfa; border-color: #7196c7; }
.site-footer .muted { color: #dce8f8; }
.site-footer a { text-decoration-color: #a8c5ec; }
.footer-top, .footer-base, .footer-col { border-color: #7196c7; }
.pa-close { background: var(--blue-dark); color: #fff; }
.pa-close-eyebrow { color: #fff; }
@media (hover: hover) and (pointer: fine) { .pa-close-phone:hover { color: #fff; text-decoration: underline; } }
.pa-close + .site-footer { border-top-color: #7196c7; }
.pa-listlink { background: var(--blue-dark); color: #fff; }
.pa-listlink .pa-card-count, .pa-listlink .pa-card-go { color: #fff; }

/* The page subject leads. Promotional copy stays intact at a quieter scale. */
.pa-hero { background: var(--surface-blue); color: var(--ink-soft); padding-bottom: var(--s-8); }
.pa-h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; color: var(--blue-deeper); letter-spacing: -0.025em; text-transform: none; max-width: 820px; }
.pa-display { font-size: clamp(1.35rem, 2.3vw, 1.8rem); line-height: 1.4; font-weight: 500; color: var(--ink); max-width: 760px; }
.pa-five { color: var(--blue-dark); }
.pa-sub { font-size: var(--t-body); color: var(--ink-soft); }
.pa-eyebrow, .pa-kicker, .pa-kicker strong { color: var(--ink-soft); }
.pa-crumbs { padding-bottom: var(--s-6); }
.pa-crumbs a, .pa-crumbs span { color: var(--blue-deeper); }
.pa-hero .pa-btn-ghost { color: var(--blue-dark); border-color: var(--blue-dark); }
@media (hover: hover) and (pointer: fine) { .pa-hero .pa-btn-ghost:hover { background: #fff; color: var(--blue-deeper); } }
.pa-hero-inner > * { overflow-wrap: anywhere; }

/* Related prose shares one left edge. Lists retain their semantic indentation.
   Adjacent headings do not acquire a second section-sized gap. */
.pa-article { padding-block: var(--section-y); }
.pa-flow { max-width: var(--measure); }
.pa-flow p { font-size: var(--t-body); line-height: 1.65; margin: 0 0 1em; }
.pa-flow h2 { margin: var(--s-7) 0 var(--s-4); }
.pa-flow h3 { font-size: 1.25rem; margin: var(--s-6) 0 var(--s-3); }
.pa-flow > :first-child { margin-top: 0; }
.pa-flow > :last-child { margin-bottom: 0; }
.pa-flow :is(h2, h3) + :is(h2, h3) { margin-top: var(--s-4); }
.pa-flow ul { margin-block: var(--s-4); }
.pa-flow li { padding-left: var(--s-1); }
.pa-flow :is(h2, h3) { break-after: avoid; }
.pa-scene-pin { padding-block: var(--section-y); }
.pa-scene-pin > .wrap { max-width: 960px; }
.pa-track { height: 32px; }
.pa-row-x { font-size: 3rem; }
.pa-meter { gap: var(--s-5); }
.pa-scene + .pa-article { padding-top: 0; }
.pa-proof, .pa-explore, .pa-directory, .pa-features, .pa-voices, .pa-close { padding-block: var(--section-y); }
.pa-article + .pa-voices, .pa-voices + .pa-article { padding-top: 0; }
.pa-listlink-wrap { padding-bottom: var(--section-y); }
.pa-reassure { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.4; }
.pa-reassure-sub { font-size: var(--t-body); }
.pa-quote blockquote { font-size: var(--t-body); line-height: 1.65; }
.pa-lead { font-size: var(--t-body); line-height: 1.65; font-weight: 400; letter-spacing: normal; margin-bottom: var(--s-5); }

/* Robust reflow, readable focus and sticky controls. */
.wrap, .prose, .pa-flow, .contact-grid > *, .with-rail > * { min-width: 0; }
.prose, .pa-flow, .contact-grid, .hub-item, .hub-person { overflow-wrap: anywhere; }
:where(h1, h2, h3, [id]) { scroll-margin-top: calc(var(--header-h) + 5rem); }
:focus-visible { outline-color: var(--blue-deeper); }
:where(.site-footer, .cta-band, .pa-close, .pa-listlink, .demo-bar, .tint.brand) :focus-visible { outline-color: #fff; }
.action-bar.is-hidden { visibility: hidden; }
@media (max-width: 1080px) {
  .nav-ready.nav-open .site-nav { max-height: calc(100dvh - 10rem); overflow-y: auto; overscroll-behavior: contain; padding-bottom: var(--s-4); }
  .site-header:not(.nav-ready) .site-nav .nav-sub { display: block; }
  .site-header:not(.nav-ready) .header-inner { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .pa-hero { padding-bottom: var(--s-7); }
  .pa-crumbs { padding-bottom: var(--s-5); }
  .pa-close-phone { font-size: clamp(1.75rem, 7vw, 2.75rem); }
  .pa-row-x { font-size: 2.5rem; }
  .site-header.is-tucked:has(:focus-visible) { transform: none; }
  .footer-col { border-color: #7196c7; }
  .footer-col .plain a { padding-block: var(--s-3); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Phone header, menu and call bar (Mark's phone screenshots, 13 Nov) */
@media (max-width: 1080px) {
  .site-header .header-inner { padding-block: var(--s-2); }
  .nav-toggle { gap: var(--s-2); min-height: 44px; }
  .nav-toggle::before { content: ''; width: 18px; height: 12px; background: linear-gradient(currentColor, currentColor) top / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) bottom / 100% 2px no-repeat; }
  .nav-toggle[aria-expanded='true'] { background: var(--ink); color: #fff; }
  .header-call { min-height: 44px; }
  /* The menu opens as a panel over the page, not pushing it down */
  .nav-ready .site-nav.is-open {
    position: absolute; left: 0; right: 0; top: 100%; margin: 0;
    background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    padding: 0 max(1.25rem, calc((100% - var(--wrap)) / 2)) var(--s-4);
    max-height: calc(100dvh - var(--header-h) - 3rem); overflow-y: auto; overscroll-behavior: contain;
  }
  .site-header.nav-open .header-inner { flex-wrap: nowrap; }
}
@media (max-width: 760px) {
  .action-bar {
    padding: var(--s-2) max(var(--s-4), env(safe-area-inset-right)) max(var(--s-3), env(safe-area-inset-bottom)) max(var(--s-4), env(safe-area-inset-left));
    border-top: 0; box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.1);
  }
  .action-bar .btn { min-height: 46px; }
  body:has(.action-bar) { padding-bottom: 0; }
  .demo-bar { font-size: 0.75rem; padding: var(--s-1) var(--s-3); gap: 2px var(--s-3); }
  .look-switch button { min-height: 26px; padding: 0 var(--s-2); }
}

/* Mobile optimisation run (plans/2026-11-13-mobile-optimisation.md) */
.brand { min-height: 44px; }
.pa-close-phone { display: inline-block; padding-block: var(--s-2); }
.pa-listlink { padding-right: var(--s-6); }
.pa-listlink .pa-card-go { position: static; transform: none; display: inline-block; margin-left: var(--s-2); vertical-align: middle; }
@media (hover: hover) and (pointer: fine) { .pa-listlink:hover .pa-card-go { transform: translateX(4px); } }
@media (max-width: 760px) {
  :root { --section-y: 2.25rem; }
  .pa-recognise, .pa-text, .pa-proof, .pa-explore, .pa-directory, .pa-features, .pa-voices, .pa-close, .pa-article, .pa-scene-pin, .hub-text, .hub-claim, .hub-features, .hub-lists, .hub-cards-section, .pa-statement { padding-top: 2.25rem; padding-bottom: 2.25rem; }
  .pa-listlink-wrap { padding-bottom: 2.25rem; }
  .pa-text + .pa-text, .hub-text + .hub-text { padding-top: 0; }
  .cta-band { padding-block: 2.25rem; }
  .team-row li:nth-child(n+5) { display: none; }
  .form-slot { min-height: 140px; padding: var(--s-5); }
  .pa-listlink { padding: var(--s-5); }
}
/* Same-background neighbours share one space (mobile run) */
.hub-claim + .hub-features, .hub-text + .hub-claim { padding-top: 0; }
@media (max-width: 760px) {
  .pa-feature-grid, .hub-feature-grid { gap: var(--s-6); }
  .alert-band + .section:not(.tint) { padding-top: var(--s-4); }
}
.hub-claim:has(+ .hub-features) { padding-bottom: 0; }
.hub-claim + .hub-features { padding-top: var(--s-6); }
.hub-statement p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .migrated .prose h2 { margin-top: var(--s-6); }
  .pd-state { margin-top: var(--s-4); }
}
/* No layout jump on load: with JavaScript the phone menu starts collapsed
   before first paint (js/early.js); without it, the open fallback stays. */
@media (max-width: 1080px) {
  html.js .site-header:not(.nav-ready) .site-nav { display: none; }
  html.js .site-header:not(.nav-ready) .nav-toggle { display: inline-flex; }
  html.js .site-header:not(.nav-ready) .header-inner { flex-wrap: nowrap; }
  html.js .site-header:not(.nav-ready) .site-nav .nav-sub { display: none; }
}

/* Phone pass, 20 Nov (Mark's footer screenshot, before Jason's review) */
@media (max-width: 760px) {
  /* Footer: one rule between menu groups, none above the first or below the last */
  .footer-top { border-bottom: 0; padding-bottom: var(--s-5); gap: var(--s-6); }
  .footer-map { padding-block: 0 var(--s-6); }
  .footer-col { border-bottom: 0; }
  .footer-col + .footer-col { border-top: 1px solid #7196c7; }
  .footer-base { border-top: 0; padding-top: 0; }
}
/* Below the rail breakpoint: the enquiry panel that closes a migrated page is
   the call to action, so the band that repeats it straight after is dropped,
   and the rail's Related links (otherwise desktop only) follow the page. */
@media (max-width: 1099px) {
  .migrated:has(.prose > .m-enquiry:last-child) + .cta-band { display: none; }
  .migrated .rail:has(.rail-related) { display: block; margin-top: var(--s-7); border-top: 2px solid var(--ink); padding-top: var(--s-4); }
  .migrated .rail > :not(.rail-label, .rail-related) { display: none; }
  .migrated .rail-related a { display: flex; align-items: center; min-height: 44px; }
  .migrated .rail-related li { padding: 0; }
}
/* A rule left closing a migrated page (Careers) doubles the Related rule */
.migrated .prose > :last-child > hr:last-child, .migrated .prose > hr:last-child { display: none; }

/* Key editorial pages, 20 November: structure follows the reader's task. */
.directory-context { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); font-size: var(--t-sm); margin: 0 0 var(--s-4); }
.directory-context a { display: inline-flex; align-items: center; min-height: 44px; }
.editorial-intro { color: var(--muted); font-size: var(--t-lg); }
.faq-tools { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-5); }
.faq-tools[hidden] { display: none; }
.faq-tools .btn { font: inherit; font-size: var(--t-md); cursor: pointer; }
.faq-item { border-top: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-item summary { cursor: pointer; padding: var(--s-4) var(--s-5) var(--s-4) 0; min-height: 56px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.faq-answer { padding: 0 var(--s-5) var(--s-4) 0; }
.faq-answer > :last-child { margin-bottom: 0; }
.migrated .prose > .case-grid, .migrated .prose > .law-state-grid,
.migrated .prose > .support-lines, .migrated .prose > .section-links { max-width: none; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); align-items: start; }
.migrated .prose > .cases-intro { max-width: var(--measure); }
.case-card { padding: var(--s-5); border: 1px solid var(--rule); border-top: 3px solid var(--blue-dark); min-width: 0; }
.migrated .prose .case-card h2 { margin: 0 0 var(--s-4); font-size: var(--t-lg); line-height: 1.4; }
.case-card summary { min-height: 44px; padding-block: var(--s-2); cursor: pointer; color: var(--blue-dark); }
.case-story { margin-top: var(--s-3); }
.case-outcome { border-top: 1px solid var(--rule); margin: var(--s-4) 0 0; padding-top: var(--s-3); font-size: var(--t-body); }
.migrated .prose .costs-intro h2 { margin-top: 0; font-size: var(--t-lg); }
.costs-intro { border-left: 3px solid var(--blue); padding-left: var(--s-5); margin-bottom: var(--s-6); }
.costs-intro .lead { color: var(--ink); }
.costs-section { border-top: 1px solid var(--rule); padding-top: var(--s-5); }
.migrated .prose .costs-section h2 { margin-top: 0; font-size: var(--t-xl); }
.section-links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-bottom: var(--s-6); border-bottom: 1px solid var(--rule); padding-bottom: var(--s-3); }
.section-links a { display: inline-flex; align-items: center; min-height: 44px; }
.support-lines { background: var(--stone); padding: var(--s-5) var(--s-6); border-top: 3px solid var(--blue-dark); }
.migrated .prose .support-lines h2 { margin-top: 0; margin-bottom: var(--s-2); }
.migrated .prose .support-intro { margin: 0; max-width: 64rem; }
.migrated .prose .support-note { margin: var(--s-1) 0 var(--s-4); color: var(--muted); font-size: var(--t-sm); }
.migrated .prose .support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); list-style: none; margin: 0; padding: 0; }
.migrated .prose .support-contact { margin: 0; padding: 0; }
.support-contact a { height: 100%; min-height: 64px; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: var(--s-3) var(--s-4); background: #fff; border: 1px solid var(--rule); text-decoration: none; color: var(--ink); line-height: 1.35; }
.support-contact a:hover { border-color: var(--blue-dark); }
.support-name { font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.02em; color: var(--muted); }
.support-number { font-size: var(--t-lg); font-weight: 600; color: var(--blue-dark); font-variant-numeric: tabular-nums; }
.migrated .prose > .wellbeing-section { max-width: none; border-top: 1px solid var(--rule); margin-top: var(--s-7, 3rem); padding-top: var(--s-6); }
.migrated .prose .wellbeing-section > h2:first-child { margin-top: 0; }
.wellbeing-split { display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(0, 1fr); gap: var(--s-7, 3rem); align-items: start; }
.migrated .prose .wellbeing-text h3 { margin-top: 0; }
.migrated .prose .wellbeing-figure { margin: 0; width: 100%; max-width: 340px; justify-self: end; position: sticky; top: calc(var(--header-h) + var(--s-5)); }
.wellbeing-figure img { width: 100%; border: 1px solid var(--rule); }
.migrated .prose .resource-links { list-style: none; padding: 0; margin: var(--s-3) 0 var(--s-5); border-top: 1px solid var(--rule); max-width: 420px; }
.migrated .prose .resource-links li { margin: 0; border-bottom: 1px solid var(--rule); }
.resource-links a { display: flex; align-items: center; min-height: 48px; font-weight: 500; }
.resource-links a::after { content: "\2192"; margin-left: auto; padding-left: var(--s-4); color: var(--blue-dark); }
.episode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); align-items: stretch; }
.episode { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: var(--s-4); padding: var(--s-5); border: 1px solid var(--rule); border-top: 3px solid var(--blue-dark); min-width: 0; }
.migrated .prose .episode-art { margin: 0; width: 96px; }
.episode-art img { width: 96px; height: 96px; object-fit: cover; }
.migrated .prose .episode-text p { margin: 0 0 var(--s-3); font-size: var(--t-md, 1rem); }
.migrated .prose .episode-text p:last-child { margin-bottom: 0; }
.migrated .prose .episode .m-audio { grid-column: 1 / -1; align-self: end; margin: 0; padding-top: var(--s-3); border-top: 1px solid var(--rule); }
.episode .m-audio figcaption { margin-top: var(--s-2); font-size: var(--t-sm); color: var(--muted); }
.migrated .prose .video-links { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-6); border-top: 1px solid var(--rule); }
.migrated .prose .video-links li { margin: 0; border-bottom: 1px solid var(--rule); }
.video-links a { display: flex; align-items: center; gap: var(--s-3); min-height: 60px; padding-block: var(--s-3); text-decoration: none; }
.video-links a:hover .video-title { text-decoration: underline; }
.video-play { flex-shrink: 0; width: 28px; height: 28px; border: 1.5px solid var(--blue-dark); border-radius: 50%; position: relative; }
.video-play::after { content: ""; position: absolute; left: 10px; top: 7.5px; border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent var(--blue-dark); }
.video-title { min-width: 0; }
.video-provider { margin-left: auto; padding-left: var(--s-4); font-size: var(--t-sm); color: var(--muted); flex-shrink: 0; white-space: nowrap; }
@media (max-width: 1000px) {
  .migrated .prose .support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .episode-grid, .migrated .prose .video-links { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .support-lines { padding: var(--s-5) var(--s-4); }
  .wellbeing-split { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
  .migrated .prose .wellbeing-figure { position: static; justify-self: start; max-width: 280px; }
  .episode { grid-template-columns: 72px minmax(0, 1fr); padding: var(--s-4); }
  .migrated .prose .episode-art, .episode-art img { width: 72px; height: 72px; }
}
@media (max-width: 420px) {
  .support-contact a { padding: var(--s-3); }
  .support-number { font-size: var(--t-body, 1rem); }
}
.review-note { padding-block: var(--s-4); }
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { border-top: 1px solid var(--rule); padding-block: var(--s-5); }
.post-list li > a { display: block; min-height: 44px; font-size: var(--t-lg); font-weight: 500; }
.law-state-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-6); border-top: 1px solid var(--ink); }
.law-state-grid a { display: flex; align-items: center; min-height: 72px; padding: var(--s-4) 0; border-bottom: 1px solid var(--rule); font-size: var(--t-lg); }
.law-related { margin-top: var(--s-6); display: grid; gap: var(--s-3); }
.law-related a { min-height: 44px; display: inline-flex; align-items: center; }
.migrated .prose .careers-content h2 { margin-top: 0; }
.careers-email { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.enquiry-handoff { border: 1px solid var(--rule); border-top: 3px solid var(--blue-dark); padding: var(--s-5); }
.enquiry-handoff .note { margin: var(--s-4) 0 0; }
button, a, summary, select { touch-action: manipulation; }
.btn:active, .nav-toggle:active { opacity: 0.85; }
@media (max-width: 760px) {
  .case-grid, .law-state-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-answer { padding-right: 0; }
  .directory-context { gap: var(--s-1) var(--s-2); }
}

/* Local review additions: square edges, quiet task hierarchy, clear form states. */
.demo-bar a { color: inherit; font-weight: 600; }
.task-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--s-4); }
.task-grid li { min-width: 0; }
.task-grid a { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-5); height: 100%; color: var(--ink); text-decoration: none; background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--blue-dark); transition: border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out); }
.task-text { display: flex; flex-direction: column; gap: .5rem; flex: 1; min-width: 0; }
.task-grid strong { font-size: var(--t-lg); font-weight: 500; }
.task-desc { color: var(--muted); }
.task-arrow { color: var(--blue-dark); font-size: 1.25rem; flex-shrink: 0; transition: transform 150ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .task-grid a:hover { border-color: var(--blue-dark); box-shadow: 0 2px 10px rgba(0,0,0,.06); } .task-grid a:hover .task-arrow { transform: translateX(3px); } }
.task-grid a:focus-visible { outline: 2px solid var(--blue-dark); outline-offset: 2px; }
.reading-links { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin-top: var(--s-5); }
.reading-links a { display: inline-flex; align-items: center; min-height: 44px; }
.practical-start { border-block: 1px solid var(--rule); }
.practical-start .steps { margin-bottom: var(--s-5); }
.finder-browse { margin-top: var(--s-4); }
.finder-browse > summary { cursor: pointer; min-height: 48px; display: list-item; padding-block: .75rem; font-weight: 500; }
.finder-reset { margin-top: var(--s-3); }
.finder-controls { position: static; }
.person { scroll-margin-top: 110px; }
.person:target { outline: 2px solid var(--blue-dark); outline-offset: 8px; }
#next-step, #state-law, #state-institutions, #state-questions { scroll-margin-top: 100px; }
@media (max-width: 760px) { .task-grid { grid-template-columns: minmax(0,1fr); } .task-grid a { padding: var(--s-4); } .contact-grid { gap: var(--s-6); } }


/* Hub lists: show more on phones (moved from look-soft.css, which production never loaded) */
.hub-cap { display: inline-block; }
.hub-more { margin-top: var(--s-4); }
@media (max-width: 760px) {
  .hub-block.is-capped [data-name].is-extra, .hub-block.is-capped [data-letter-group].is-extra { display: none; }
}
/* State pages on phones: one space, not two, after the next-step block and the Redress band */
@media (max-width: 760px) {
  .practical-start { padding-bottom: var(--s-6); }
  .practical-start .wrap > :last-child, .alert-band .wrap > :last-child { margin-bottom: 0; }
  #state-law { padding-top: var(--s-6); }
  #state-law > .wrap { border-top: 0; padding-top: 0; }
  #state-questions > .section { padding-top: var(--s-6); }
}

/* ---------------------------------------------------------------------------
   Reading layout (lib/reading.mjs): pages carried over from the old site,
   same words, laid out to be read. Lead, figure lists, lettered lists,
   legislation quotes, folded background and one closing panel.
   --------------------------------------------------------------------------- */
.migrated .prose p.lead { font-size: var(--t-lg); line-height: 1.6; color: var(--ink); margin-bottom: var(--s-5); }
.migrated .prose p + p { margin-top: 0.75em; }

/* Royal Commission figures: the number set large beside its sentence. */
.migrated .prose .stat-list, .hub-text .stat-list { list-style: none; margin: var(--s-5) 0; padding: 0; border-top: 2px solid var(--ink); }
.stat-list > li { display: grid; grid-template-columns: 8.75rem minmax(0, 1fr); gap: var(--s-4); align-items: baseline; padding: var(--s-4) 0; border-bottom: 1px solid var(--rule); margin: 0; }
.stat-list > li.stat-plain { display: block; color: var(--ink-soft); }
.stat-n { white-space: nowrap; font-size: var(--t-xl); font-weight: 600; color: var(--blue-deeper); letter-spacing: -0.01em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat-t { color: var(--ink); }
.stat-list ol.lettered, .migrated .prose ol.lettered { margin: var(--s-3) 0 0; padding-left: 1.5rem; color: var(--ink-soft); }
.stat-list ol.lettered li, .migrated .prose ol.lettered li { margin: var(--s-1) 0; }
.stat-list > li.stat-plain ol.lettered { padding-left: calc(8.75rem + var(--s-4) + 1.5rem); }

/* Quoted legislation. */
.migrated .prose blockquote.legal { border-left: 3px solid var(--amber); background: #faf8f4; font-size: var(--t-md); font-style: normal; color: var(--ink); padding: var(--s-4) var(--s-5); margin: var(--s-5) 0; }
.migrated .prose blockquote.legal p { margin: 0 0 var(--s-2); }
.migrated .prose blockquote.legal p:last-child { margin-bottom: 0; }

/* Long pages: the opening stays, the rest folds. */
.migrated .prose details.more { margin: var(--s-6) 0 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
details.more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 56px; padding: var(--s-3) 0; font-weight: 500; color: var(--blue-dark); }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: ''; width: 0.55rem; height: 0.55rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 200ms var(--ease-out); flex-shrink: 0; }
details.more[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
details.more > summary:focus-visible { outline: 2px solid var(--blue-dark); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { details.more > summary:hover { color: var(--blue-deeper); } }
details.more .more-body { padding-bottom: var(--s-5); }
details.more .more-body > :first-child { margin-top: 0; }

/* One closing panel in place of three stacked asks. */
.migrated .prose .closing-panel { background: var(--stone); border-left: 4px solid var(--blue); padding: var(--s-5) var(--s-6); margin: var(--s-7) 0 0; }
.migrated .prose .closing-panel h2.closing-head { font-size: var(--t-lg); margin: 0 0 var(--s-3); }
.closing-panel p { color: var(--ink-soft); }
.closing-panel .cta-row { margin-top: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-3); }

@media (max-width: 760px) {
  .stat-list > li { display: block; }
  .stat-list > li .stat-n { display: block; margin-bottom: var(--s-1); }
  .stat-n { font-size: var(--t-lg); }
  .stat-list > li.stat-plain ol.lettered { padding-left: 1.5rem; }
  .migrated .prose .closing-panel { padding: var(--s-5) var(--s-4); }
  .closing-panel .cta-row .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { details.more > summary::after { transition: none; } }

/* Institution pages: tiles under their lead-in, and plain link cards. */
.hub-text .hub-tiles { margin: var(--s-5) 0 var(--s-2); }
.hub-text .hub-about-text + .hub-tiles, .hub-text .hub-about-text + .hub-bullets, .hub-text .hub-about-text + .stat-list { margin-top: var(--s-4); }
.hub-text .stat-list + .hub-about-text, .hub-text .hub-tiles + .hub-about-text, .hub-text .hub-bullets + .hub-about-text { margin-top: var(--s-5); }
.hub-linkcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.hub-linkcard { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 64px; padding: var(--s-4) var(--s-5); border: 1px solid var(--rule); border-top: 3px solid var(--blue-dark); background: var(--paper); color: var(--ink); font-weight: 500; text-decoration: none; transition: border-color 150ms var(--ease-out); }
.hub-linkcard .hub-arrow { color: var(--blue-dark); }
@media (hover: hover) and (pointer: fine) { .hub-linkcard:hover { border-color: var(--blue-dark); } .hub-linkcard:hover .hub-arrow { transform: translateX(3px); } }
.hub-linkcard:focus-visible { outline: 2px solid var(--blue-dark); outline-offset: 2px; }
@media (max-width: 900px) { .hub-linkcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hub-linkcards { grid-template-columns: minmax(0, 1fr); } }
.stat-list > li.stat-plain > ul { margin: var(--s-3) 0 0; padding-left: 1.25rem; color: var(--ink-soft); }
.stat-list > li.stat-plain > ul li { margin: var(--s-1) 0; }
.closing-panel .closing-lead { color: var(--ink); font-size: var(--t-body); font-weight: 500; }
.migrated .prose ol.numbered { padding-left: 1.5rem; margin: var(--s-4) 0; }
.migrated .prose ol.numbered li { margin: var(--s-2) 0; padding-left: var(--s-1); }
.migrated .prose li.long-item > p { margin: 0 0 var(--s-3); }
.migrated .prose li.long-item > p:last-child { margin-bottom: 0; }
.migrated .prose li.long-item { margin-bottom: var(--s-4); }

/* Where and when: a year column beside each place (decoration; the year is
   still in the item's own words). */
.migrated .prose ul.year-list { list-style: none; padding: 0; margin: var(--s-4) 0 var(--s-5); border-top: 1px solid var(--rule); }
.year-list > li { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: var(--s-4); padding: var(--s-2) 0; border-bottom: 1px solid var(--rule); margin: 0; }
.year-list > li::before { content: ''; }
.year-list > li[data-year]::before { content: attr(data-year) / ''; color: var(--blue-deeper); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Dated paragraphs read as a timeline. */
.migrated .prose p.dated { border-left: 2px solid var(--blue); padding-left: var(--s-4); }
.migrated .prose p.dated .when { color: var(--blue-deeper); font-weight: 600; }
@media (max-width: 760px) {
  .year-list > li { grid-template-columns: 5.5rem minmax(0, 1fr); gap: var(--s-3); }
}

/* The firm's Formstack forms, embedded live. Formstack styles them with
   generated class names; these overrides use its stable hooks (.fsBody,
   .fsForm, .fsSubmitButton) and plain elements, so the form matches the site
   without changing anything in Formstack. */
.fs-embed .fsBody, .fs-embed .fsForm, .fs-embed .fsform-container, .fs-embed .fsBody > div { background: transparent !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; border: 0 !important; max-width: none !important; width: 100% !important; }
.fs-embed, .fs-embed * { font-family: inherit !important; }
.fs-embed label, .fs-embed legend { color: var(--ink) !important; }
.fs-embed input:not([type=radio]):not([type=checkbox]):not([type=submit]), .fs-embed select, .fs-embed textarea { border: 1px solid #8a8a8a !important; border-radius: 0 !important; min-height: 44px !important; padding: 0.55rem 0.75rem !important; font-size: var(--t-body) !important; line-height: 1.5 !important; color: var(--ink) !important; background-color: #fff !important; box-shadow: none !important; box-sizing: border-box !important; max-width: 100% !important; }
.fs-embed select { padding-right: 2.25rem !important; }
.fs-embed textarea { min-height: 8rem !important; }
.fs-embed input:focus, .fs-embed select:focus, .fs-embed textarea:focus { outline: 2px solid var(--blue-dark) !important; outline-offset: 1px !important; border-color: var(--blue-dark) !important; }
.fs-embed .fsSubmitButton, .fs-embed button[type=submit] { background: var(--blue-dark) !important; color: #fff !important; border: 0 !important; border-radius: 0 !important; min-height: 48px !important; padding: 0.75rem 1.75rem !important; font-size: var(--t-body) !important; font-weight: 500 !important; cursor: pointer; }
.fs-embed .fsSubmitButton:hover, .fs-embed button[type=submit]:hover { background: var(--blue-deeper) !important; }
.fs-embed .fsSubmitButton:focus-visible { outline: 2px solid var(--ink) !important; outline-offset: 2px !important; }
.enquiry-inline .fs-embed { border-top: 3px solid var(--blue-dark); padding-top: var(--s-5); }
.fs-fallback { margin-top: var(--s-4); }
.fs-embed fieldset { margin: 0 !important; min-width: 0 !important; }

/* Contact page map */
.contact-map { margin: var(--s-5) 0 0; }
.contact-map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--rule); background: #eef1f5; }
.contact-map figcaption { margin-top: var(--s-2); font-size: .95rem; }

/* Changes in Law index: homepage row list inside the migrated prose column */
.migrated .prose > .law-index { max-width: none; margin-bottom: var(--s-7); }
.migrated .prose > .law-index li { margin: 0; padding: 0; }
.migrated .prose > .law-index li::before { content: none; }
.migrated .prose > .law-index a { text-decoration: none; }
.migrated .prose > .law-index-h { max-width: none; margin-top: var(--s-7); }

/* State pages: institution link cards sit above "Not on this list?" */
.state-inst { margin: var(--s-5) 0 var(--s-6); }

/* News list: date first, the headline as the link, the whole row clickable
   (stretched link) with the homepage's ringed arrow. Wording unchanged. */
.migrated .prose > .post-list { max-width: none; border-bottom: 1px solid var(--rule); }
.post-list li { position: relative; display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-5) 3.5rem var(--s-5) var(--s-3); margin: 0 calc(-1 * var(--s-3)); transition: background-color 150ms var(--ease-out); }
.post-list li::before { content: none; }
.post-list li > .muted { order: -1; font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.post-list li > a { min-height: 0; color: var(--blue-dark); text-decoration: none; line-height: 1.3; }
.post-list li > a::after { content: ""; position: absolute; inset: 0; }
.post-list li > p { margin: 0; color: var(--muted); }
.post-list li::after { content: "\2192"; position: absolute; right: var(--s-3); top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border: 1.5px solid var(--blue-dark); border-radius: 50%; color: var(--blue-dark); font-size: 1rem; transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .post-list li:hover { background: var(--paper); }
  .post-list li:hover > a { text-decoration: underline; text-underline-offset: 4px; }
  .post-list li:hover::after { background: var(--blue-dark); color: #fff; }
}
.post-list li:focus-within { outline: 2px solid var(--blue-dark); outline-offset: 2px; }
.post-list li > a:focus-visible { outline: none; }

/* A bulleted list made only of links (Foster Care Programmes; class set in lib/practice.mjs):
   two columns of ruled rows instead of bare underlined bullets. */
.pa-linklist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-6); border-top: 1px solid var(--rule); }
.pa-linklist > li { margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.pa-linklist > li::before { content: none; }
.pa-linklist > li > a { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 52px; padding: var(--s-3) 0; text-decoration: none; color: var(--blue-dark); }
.pa-linklist > li > a::after { content: "\2197"; color: var(--blue-dark); flex-shrink: 0; }
@media (hover: hover) and (pointer: fine) { .pa-linklist > li > a:hover { text-decoration: underline; text-underline-offset: 4px; } }
@media (max-width: 760px) { .pa-linklist { grid-template-columns: minmax(0, 1fr); } }

/* Formstack rating grids (Client Satisfaction, Form 5): give the question
   column room instead of six equal columns. */
.fs-embed table:has(.fsMatrixLabelRow) { table-layout: fixed; width: 100% !important; }
.fs-embed table:has(.fsMatrixLabelRow) thead tr > :first-child,
.fs-embed .fsMatrixLabelRow { width: 36% !important; text-align: left !important; padding-right: var(--s-3) !important; line-height: 1.4; }
.fs-embed table:has(.fsMatrixLabelRow) th.column { font-size: 0.8125rem; line-height: 1.3; overflow-wrap: normal; word-break: normal; hyphens: none; padding-inline: 2px !important; }
@media (max-width: 760px) { .fs-embed table:has(.fsMatrixLabelRow) thead tr > :first-child, .fs-embed .fsMatrixLabelRow { width: 34% !important; } }
.firm-claim { margin: var(--s-6) 0 0; max-width: var(--measure); border-left: 3px solid var(--blue-dark); padding-left: var(--s-5); font-size: var(--t-lg); line-height: 1.45; color: var(--ink); font-weight: 500; }
/* Contact: what happens when you contact us (27 Nov 2026). */
.contact-care h2 { margin-top: 0; }
.care-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--s-7); align-items: start; }
.care-head .lead { margin-bottom: 0; max-width: var(--measure); }
.care-callback { background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--blue-dark); padding: var(--s-5); }
.care-callback h3 { margin: 0 0 var(--s-3); font-size: var(--t-lg); }
.care-callback p { margin: 0 0 var(--s-3); font-size: var(--t-md); }
.care-callback .care-hours { color: var(--muted); font-size: var(--t-sm); margin-bottom: var(--s-4); }
.care-questions { margin-top: var(--s-7); border-top: 1px solid var(--ink); padding-top: var(--s-5); }
.care-questions > h3 { margin: 0 0 var(--s-2); font-size: var(--t-lg); }
.care-questions > p { margin: 0 0 var(--s-5); max-width: var(--measure); color: var(--ink-soft); }
.care-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); counter-reset: care; }
.care-points li { counter-increment: care; background: #fff; border: 1px solid var(--rule); padding: var(--s-4) var(--s-5) var(--s-5); margin: 0; }
.care-points li::before { content: counter(care, decimal-leading-zero); display: block; font-size: var(--t-sm); font-weight: 600; color: var(--blue-dark); letter-spacing: 0.04em; margin-bottom: var(--s-2); }
.care-points p { margin: 0; font-size: var(--t-md); line-height: 1.5; color: var(--ink-soft); }
.care-points .care-point-title { color: var(--ink); font-weight: 600; margin-bottom: var(--s-1); }
@media (max-width: 1000px) { .care-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .care-head { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
  .care-points { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
  .care-questions { margin-top: var(--s-6); }
}
/* Core-page lists, 27 Nov 2026: no dot points. Short items sit in a compact
   ruled grid, longer ones as ruled rows. First letter capitalised for display
   only; the published words are unchanged. */
.pa-tiles, .hub-tiles { gap: 0 var(--s-6); margin: var(--s-4) 0 var(--s-5); border-bottom: 1px solid var(--rule); }
.pa-tiles li, .hub-tiles li { border-top: 1px solid var(--rule); padding: var(--s-3) 0; font-size: 1.0625rem; font-weight: 500; letter-spacing: 0; line-height: 1.4; margin: 0; }
.pa-tiles li::first-letter, .hub-tiles li::first-letter, .pa-rows li::first-letter { text-transform: uppercase; }
.pa-rows { list-style: none; margin: var(--s-4) 0 var(--s-5); padding: 0; border-bottom: 1px solid var(--rule); max-width: var(--measure); }
.pa-rows li { border-top: 1px solid var(--rule); padding: var(--s-3) 0; margin: 0; line-height: 1.55; }
.pa-flow .pa-tiles { margin-top: var(--s-3); }
/* Remaining dot points on core pages, 27 Nov 2026: feature-panel lists and
   lists nested under a statistic read as ruled rows. */
.hub-feature ul, .stat-list > li.stat-plain > ul { list-style: none; padding-left: 0; margin: var(--s-3) 0 0; border-bottom: 1px solid var(--rule); }
.hub-feature ul li, .stat-list > li.stat-plain > ul li { border-top: 1px solid var(--rule); padding: var(--s-2) 0; margin: 0; }
.costs-section ul { list-style: none; padding-left: 0; margin: var(--s-3) 0 var(--s-4); border-bottom: 1px solid var(--rule); max-width: var(--measure); }
.costs-section ul li { border-top: 1px solid var(--rule); padding: var(--s-2) 0; margin: 0; }
/* Rail: the related-pages list gets its own spaced, labelled block below the
   enquiry button instead of a stray word under it (27 Nov 2026). */
.rail .btn + .rail-label, .rail-label { margin: var(--s-6) 0 var(--s-2); font-size: var(--t-sm); font-weight: 600; color: var(--ink); letter-spacing: 0.02em; }
/* Contact: on phones the three ways to reach the firm sit under the intro,
   before the long form (27 Nov 2026). Desktop shows form and details side by side. */
.contact-quick { display: none; }
@media (max-width: 760px) {
  .contact-quick { display: grid; gap: var(--s-2); margin-top: var(--s-4); }
  .contact-quick .btn { width: 100%; justify-content: center; }
}
