/* Generated by tools/build/build.py from data/tokens.json, data/font-metrics.json
   and src/css/components.css. Do not edit; edit those. */

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-500.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-400-italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Haime Display";
  src: url("/fonts/haime-display-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader fallback";
  src: local("Georgia");
  font-weight: 500;
  font-style: normal;
  size-adjust: 95.53%;
  ascent-override: 76.94%;
  descent-override: 27.74%;
  line-gap-override: 0.00%;
}
@font-face {
  font-family: "Newsreader fallback";
  src: local("Georgia Italic"), local("Georgia-Italic");
  font-weight: 400;
  font-style: italic;
  size-adjust: 88.06%;
  ascent-override: 83.46%;
  descent-override: 30.09%;
  line-gap-override: 0.00%;
}
@font-face {
  font-family: "Public Sans fallback";
  src: local("Arial"), local("ArialMT");
  font-weight: 400;
  font-style: normal;
  size-adjust: 104.09%;
  ascent-override: 91.26%;
  descent-override: 21.62%;
  line-gap-override: 0.00%;
}
@font-face {
  font-family: "Public Sans fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 600;
  font-style: normal;
  size-adjust: 105.32%;
  ascent-override: 90.20%;
  descent-override: 21.36%;
  line-gap-override: 0.00%;
}
@font-face {
  font-family: "Haime Display fallback";
  src: local("Georgia");
  font-weight: 400;
  font-style: normal;
  size-adjust: 91.59%;
  ascent-override: 93.46%;
  descent-override: 27.08%;
  line-gap-override: 0.00%;
}

/* tokens */
:root {
  color-scheme: only light;
  --font-serif: Newsreader, "Newsreader fallback", Georgia, "Times New Roman", serif;
  --font-sans: "Public Sans", "Public Sans fallback", Arial, Helvetica, sans-serif;
  --color-bg: #FBF8F3;
  --color-surface: #F2ECE3;
  --color-text: #1C1A17;
  --color-text-muted: #5C554C;
  --color-accent: #6F1D21;
  --color-accent-hover: #5C181C;
  --color-accent-active: #4B1417;
  --color-on-accent: #FFFFFF;
  --color-border: #857C72;
  --color-rule: #DDD5C9;
  --color-field-bg: #FFFFFF;
  --color-focus: #1F57B0;
  --color-focus-inverse: #FBF8F3;
  --color-error: #A3200F;
  --color-success: #2C6636;
  --color-inverse-bg: #1C1A17;
  --color-inverse-text: #EFE9DF;
  --color-inverse-muted: #BDB4A7;
  --color-inverse-link: #EFE9DF;
  --color-inverse-link-hover: #FFFFFF;
  --color-inverse-rule: #3A352E;
  --color-band-bg: #6F1D21;
  --color-band-text: #FFFFFF;
  --color-band-button-bg: #FBF8F3;
  --color-band-button-text: #6F1D21;
  --color-disabled-bg: #E6E0D6;
  --color-disabled-text: #6F685F;
  --color-image-placeholder: #E6E0D6;
  --font-display: "Haime Display", "Haime Display fallback", Newsreader, Georgia, "Times New Roman", serif;
  --text-label: 0.875rem;
  --text-small: 1rem;
  --text-body: 1.125rem;
  --text-lead: clamp(1.25rem, 1.2rem + 0.2049vw, 1.375rem);
  --quote: clamp(1.375rem, 1.275rem + 0.4098vw, 1.625rem);
  --h3: clamp(1.5rem, 1.4rem + 0.4098vw, 1.75rem);
  --h2: clamp(1.875rem, 1.725rem + 0.6148vw, 2.25rem);
  --h1: clamp(2.25rem, 2rem + 1.025vw, 2.875rem);
  --display: clamp(2.625rem, 2.175rem + 1.844vw, 3.75rem);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;
  --radius-0: 0;
  --radius-1: 2px;
  --radius-icon: 15%;
}
/* end tokens */

/* Components, from docs/design/design-spec.md (section numbers in comments).
   Colours come only from the tokens the generator writes on :root.
   Breakpoints: sm 37.5rem (600 px), lg 64rem (1024 px), nav 75rem (1200 px). */

/* ---------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.6;
  overflow-wrap: anywhere;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; }
/* spec-changes-2026-10-22.md 3: the display face (Forum, shipped as "Haime
   Display") for the h1, h2 set at the h2 token (36 px at 1366) and the CTA
   band heading; weight 400 only, it has no other. */
h1, .section-head h2, .about-home__text h2, .band h2 { font-family: var(--font-display); font-weight: 400; }
h1 { font-size: var(--h1); line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-size: var(--h2); line-height: 1.2; letter-spacing: -0.005em; }
h3 { font-size: var(--h3); line-height: 1.3; }
a { color: var(--color-accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:active { color: var(--color-accent-active); }
@media (hover: hover) {
  a:hover { color: var(--color-accent-hover); text-decoration-thickness: 2px; }
}
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
[id] { scroll-margin-top: 124px; }
/* spec-changes-2026-10-23-rail.md 3.1: 24 px from 1200 px (the header is static there) */
@media (min-width: 75rem) { [id] { scroll-margin-top: 24px; } }

.wrap {
  --gutter: 20px;
  width: 100%;
  max-width: calc(75rem + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 37.5rem) { .wrap { --gutter: 32px; } }
@media (min-width: 64rem) {
  .wrap { --gutter: 48px; }
  .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* ---------- 5.1 skip link */
.skip-link {
  position: absolute;
  left: 8px;
  top: -100px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  background: var(--color-bg);
  color: var(--color-text);
  font-weight: 600;
}
.skip-link:focus { top: 8px; }
main:focus { outline: none; }

/* ---------- 5.2 name component */
.name {
  display: inline-flex;
  flex-direction: column;
  color: var(--color-inverse-text);
  text-decoration: none;
  font-family: var(--font-serif);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1;
  padding-block: 0;
}
.name::before {
  content: "";
  width: 24px;
  height: 2px;
  /* the one place red sits on ink: decoration only (spec-changes-2026-10-22-red.md) */
  background: var(--color-accent);
}
.name__l1 {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--color-inverse-muted);
  margin-top: 6px;
}
.name__l2 {
  font-size: 16px;
  letter-spacing: 0.06em;
  margin-top: 9px;
}
.name--lg .name__l1, .name--lg .name__l2 { white-space: nowrap; }
@media (min-width: 75rem) {
  .name__l1 { font-size: 12.5px; margin-top: 7px; }
  .name__l2 { font-size: 22px; margin-top: 12px; }
}
/* QA F7: as an inline-flex box in a block parent the footer name sat on the line's
   baseline (its empty ::before rule gives a synthesized baseline at its bottom edge),
   18 px below the padding edge; as a block-level flex box it starts at the top. */
.name--footer { display: flex; padding-block: 0; }
.name--footer .name__l1 { font-size: 12.5px; margin-top: 7px; }
.name--footer .name__l2 { font-size: 22px; margin-top: 12px; }
@media (hover: hover) { a.name:hover { color: var(--color-inverse-text); } }
.site-header :focus-visible, .site-footer :focus-visible, .ink :focus-visible, .band :focus-visible, .rail-card :focus-visible {
  outline-color: var(--color-focus-inverse);
}

/* ---------- 5.13 buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-1);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary { background: var(--color-accent); color: var(--color-on-accent); }
.btn--secondary { background: transparent; color: var(--color-text); border-color: var(--color-text); }
.btn--paper { background: var(--color-band-button-bg); color: var(--color-band-button-text); }
.btn--outline-ink { background: transparent; color: var(--color-inverse-text); border-color: var(--color-inverse-text); }
.btn--band { background: var(--color-band-button-bg); color: var(--color-band-button-text); }
.btn--band-outline { background: transparent; color: var(--color-band-text); border-color: var(--color-band-text); }
.btn--primary:active { background: var(--color-accent-active); color: var(--color-on-accent); }
@media (hover: hover) {
  .btn--primary:hover { background: var(--color-accent-hover); color: var(--color-on-accent); text-decoration: none; }
  .btn--secondary:hover { background: var(--color-surface); color: var(--color-text); text-decoration: none; }
  .btn--paper:hover, .btn--band:hover { background: var(--color-band-button-bg); color: var(--color-band-button-text); text-decoration: underline; text-decoration-thickness: 2px; }
  .btn--outline-ink:hover, .btn--band-outline:hover { background: var(--color-band-button-bg); color: var(--color-band-button-text); text-decoration: none; }
}
.btn-row { display: flex; flex-direction: column; gap: 12px; }
.btn-row .btn { width: 100%; }
@media (min-width: 37.5rem) {
  .btn-row { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .btn-row .btn { width: auto; }
}

/* ---------- 5.4 header */
.site-header {
  /* one source for the phone header height and the menu panel top (code review 10) */
  --call-h: 44px;
  --row-h: 64px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--color-inverse-bg);
  color: var(--color-inverse-text);
}
/* QA F1: the rule is an inset shadow, so the 44 px bar is all tap target */
.utility { box-shadow: inset 0 -1px 0 var(--color-inverse-rule); }
.utility__inner { display: flex; align-items: center; justify-content: space-between; height: var(--call-h); }
.utility__address { display: none; }
.utility__call {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--call-h);
  color: var(--color-inverse-text);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}
.masthead { border-bottom: 1px solid var(--color-inverse-rule); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; height: calc(var(--row-h) - 1px); }
.main-nav, .masthead__cta { display: none; }
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 76px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-inverse-text);
  border-radius: var(--radius-1);
  background: transparent;
  color: var(--color-inverse-text);
  font: 600 15px/1 var(--font-sans);
  text-decoration: none;
  cursor: pointer;
}
.menu-toggle svg { flex: none; }
@media (hover: hover) { .menu-toggle:hover { color: var(--color-inverse-text); text-decoration: underline; } }

@media (min-width: 75rem) {
  .site-header { position: static; }
  .utility__address { display: block; margin: 0; font-size: 1rem; line-height: 1.5; color: var(--color-inverse-muted); }
  .utility__call { flex: none; color: var(--color-inverse-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
  @media (hover: hover) { .utility__call:hover { color: var(--color-inverse-link-hover); text-decoration-thickness: 2px; } }
  .site-header { --row-h: 80px; }
  .main-nav { display: block; margin-left: auto; margin-right: 40px; }
  .main-nav ul { display: flex; gap: 32px; list-style: none; }
  .main-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--color-inverse-text);
    font-size: 1rem;
    text-decoration: none;
  }
  .main-nav a[aria-current]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% + 18px);
    height: 2px;
    background: var(--color-inverse-link);
  }
  @media (hover: hover) { .main-nav a:hover { color: var(--color-inverse-text); text-decoration: underline; text-decoration-thickness: 2px; } }
  .masthead__cta { display: inline-flex; min-height: 48px; font-size: 1rem; }
  .menu-toggle, .phone-menu { display: none !important; }
}

/* ---------- 5.5 phone menu */
.phone-menu {
  position: fixed;
  left: 0;
  right: 0;
  top: calc(var(--call-h) + var(--row-h));
  height: calc(100vh - var(--call-h) - var(--row-h));
  height: calc(100dvh - var(--call-h) - var(--row-h));
  overflow-y: auto;
  background: var(--color-bg);
  color: var(--color-text);
  padding: 20px 20px 32px;
}
.phone-menu[hidden] { display: none; }
.phone-menu__actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.phone-menu__actions .btn { width: 100%; }
.phone-menu :focus-visible { outline-color: var(--color-focus); }
.pm-list, .pm-list ul { list-style: none; }
.pm-list li { border-bottom: 1px solid var(--color-rule); }
.pm-list li li:last-child { border-bottom: 0; }
.pm-list ul { border-top: 1px solid var(--color-rule); }
.pm-top {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  color: var(--color-text);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  text-decoration: none;
}
.pm-sub {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-left: 20px;
  color: var(--color-text);
  font-size: 17px;
  text-decoration: none;
}
.pm-list a[aria-current]::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-accent);
}
.phone-menu__address { margin-top: 16px; font-size: var(--text-small); line-height: 1.5; color: var(--color-text-muted); }

/* ---------- 5.7 home hero */
.ink { background: var(--color-inverse-bg); color: var(--color-inverse-text); }
.hero { position: relative; }
.hero__media {
  display: block;
  width: 100%;
  aspect-ratio: 780 / 292;
  background: var(--color-inverse-bg);
  overflow: hidden;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__text { padding-top: 20px; padding-bottom: 28px; }
.hero h1 { color: var(--color-inverse-text); }
.hero__sub { display: none; }
.hero .btn-row { margin-top: 24px; }
.hero__trust { margin-top: 20px; font-size: var(--text-small); line-height: 1.5; color: var(--color-inverse-muted); }
.hero__trust a { color: var(--color-inverse-link); font-weight: 600; }
.hero .btn-row { flex-direction: column; }
.hero .btn-row .btn { width: 100%; }
@media (min-width: 64rem) {
  .hero__media {
    --cw: min(100% - 96px, 1200px);
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: calc((100% - var(--cw)) / 2 + 7 * ((var(--cw) - 264px) / 12 + 24px) - 12px);
    width: auto;
    aspect-ratio: auto;
  }
  .hero__media::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 96px;
    background: linear-gradient(to right, var(--color-inverse-bg), transparent);
  }
  .hero__text { grid-column: 1 / 8; padding: 48px 24px 48px 0; }
  .hero__sub { display: block; margin-top: 20px; font-size: var(--text-lead); line-height: 1.45; color: var(--color-inverse-muted); }
  .hero .btn-row { flex-direction: row; margin-top: 28px; gap: 16px; }
  .hero .btn-row .btn { width: auto; }
  .hero__trust { margin-top: 24px; }
}
@media (hover: hover) { .ink a:not(.btn):hover { color: var(--color-inverse-link-hover); } }

/* ---------- sections */
.section { padding-block: 64px; }
@media (min-width: 64rem) { .section { padding-block: 96px; } }
/* 5.7: on phones the practice heading sits 24 px under the hero band */
@media (max-width: 63.99rem) { .hero + .section { padding-top: 24px; } }
.section-head .eyebrow { margin-bottom: 8px; }
.section-head h2 { margin-bottom: 16px; }
@media (min-width: 64rem) { .section-head h2 { margin-bottom: 32px; } }

/* ---------- 5.8 practice cards */
.cards { list-style: none; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 37.5rem) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 64rem) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.card {
  position: relative;
  height: 100%;
  min-height: 100%;
  /* QA F10: 5.7 positions at 390: title baseline 44 px below the card top, card 139 px tall */
  padding: 20px 56px 16px 24px;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  background: var(--color-bg);
}
.card__title { font-size: 22px; line-height: 1.3; }
.card__link { color: var(--color-text); text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: -3px -1px -1px -1px; }
.card__link:focus-visible { outline: none; }
.card__link:focus-visible::after { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.card__line { margin-top: 0; font-size: var(--text-small); line-height: 1.5; color: var(--color-text-muted); }
.card__arrow { position: absolute; right: 20px; top: 30px; color: var(--color-accent); }
@media (min-width: 37.5rem) {
  .card { padding: 24px 24px 40px; }
  .card__line { margin-top: 4px; }
  .card__title { font-size: 24px; }
  .card__arrow { top: auto; bottom: 23px; right: 25px; }
}
@media (min-width: 64rem) { .card { min-height: 152px; } }
@media (hover: hover) {
  .card:hover { background: var(--color-surface); }
  .card:hover .card__link { text-decoration: underline; text-decoration-thickness: 2px; color: var(--color-text); }
}

/* ---------- 5.11 testimonial strip */
.quotes { padding: 40px 0 32px; }
@media (min-width: 64rem) { .quotes { padding: 56px 0 48px; } }
.quotes .eyebrow { color: var(--color-inverse-link); margin-bottom: 16px; }
.quotes__list { display: grid; gap: 32px; }
.quote blockquote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: var(--quote);
  line-height: 1.4;
  color: var(--color-inverse-text);
}
.quote figcaption { margin-top: 8px; font-size: var(--text-small); line-height: 1.5; }
.quote__by { display: block; font-weight: 600; color: var(--color-inverse-text); }
.quote__note { display: block; color: var(--color-inverse-muted); }
.quotes__more { margin-top: 32px; font-size: var(--text-small); line-height: 1.5; }
.quotes__more a { display: inline-block; padding-block: 10px; margin-block: -10px; color: var(--color-inverse-link); font-weight: 600; }
@media (min-width: 64rem) {
  .quotes__list { grid-column: 1 / -1; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; }
  .quotes__list .quote { grid-column: 1 / 8; }
  .quotes__list--2 .quote:nth-child(1) { grid-column: 1 / 6; }
  .quotes__list--2 .quote:nth-child(2) { grid-column: 7 / 12; }
  .quote__by, .quote__note { display: inline; }
  .quote__by { margin-right: 12px; }
  .quotes__list--1 .quote__by { display: block; margin-right: 0; }
  .quotes__list--1 .quote__note { display: block; }
  .quotes__mark, .quotes .eyebrow, .quotes__more { grid-column: 1 / -1; }
}

/* ---------- 5.10 home about and facts */
.about-home__text { grid-column: 1 / 8; }
.about-home__text .eyebrow { margin-bottom: 8px; }
.about-home__text h2 { margin-bottom: 24px; }
.about-home__text p { max-width: 66ch; }
.more-link { display: inline-block; margin-top: 24px; padding-block: 10px; margin-block-end: -10px; font-weight: 600; }
.facts { padding: 28px 24px; background: var(--color-inverse-bg); color: var(--color-inverse-text); }
.facts dt { font-size: var(--text-label); font-weight: 600; line-height: 1.4; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-inverse-link); }
.facts dd { margin-top: 12px; font-size: 1rem; line-height: 1.5; }
.facts dd + dt { margin-top: 18px; }
@media (min-width: 64rem) {
  .about-home__side { grid-column: 9 / 13; margin-top: 0; align-self: start; }
}

/* ---------- 5.12 CTA band */
.band { background: var(--color-band-bg); color: var(--color-band-text); padding-block: 48px; }
@media (min-width: 64rem) { .band { padding-block: 72px; } }
.band h2 { max-width: 792px; color: var(--color-band-text); }
.band__line { margin-top: 12px; max-width: 690px; line-height: 1.6; }
.band .btn-row { margin-top: 24px; }
.band__keep { margin-top: 16px; font-size: var(--text-small); line-height: 1.5; }

/* ---------- 5.9 title band and page body */
.title-band { padding: 24px 0 40px; }
@media (min-width: 64rem) { .title-band { padding: 40px 0 56px; } }
.title-band h1 { max-width: 792px; color: var(--color-inverse-text); }
.title-band .eyebrow { color: var(--color-inverse-link); margin-bottom: 12px; }
.title-band .lead { margin-top: 16px; max-width: 690px; font-size: var(--text-lead); line-height: 1.45; color: var(--color-inverse-muted); }
.crumbs { margin-bottom: 20px; font-size: var(--text-small); line-height: 1.5; }
@media (min-width: 64rem) { .crumbs { margin-bottom: 28px; } }
.crumbs ol { display: none; list-style: none; flex-wrap: wrap; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--color-inverse-muted); }
.crumbs ol a { display: inline-block; padding-block: 10px; margin-block: -10px; color: var(--color-inverse-link); }
.crumbs [aria-current] { color: var(--color-inverse-muted); }
.crumbs__back { display: inline-block; padding-block: 10px; margin-block: -10px; color: var(--color-inverse-link); font-weight: 600; }
@media (min-width: 37.5rem) {
  .crumbs ol { display: flex; }
  .crumbs__back { display: none; }
}
@media (hover: hover) { .crumbs ol a:hover, .crumbs__back:hover { color: var(--color-inverse-link-hover); text-decoration-thickness: 2px; } }

.page-body { padding-block: 32px 64px; }
@media (min-width: 64rem) { .page-body { padding-block: 64px 96px; } }
.page-body__main { grid-column: 1 / 8; min-width: 0; }

/* ---------- running text */
/* TA ruling 1, 2026-10-23: 36em (648 px at 18 px), about 74 characters a line in Public Sans */
.prose { max-width: 36em; }
.prose p, .prose ul { margin-bottom: 1em; }
.prose ul { padding-left: 1.25em; }
.prose li + li { margin-top: 0.25em; }
.prose h2 { font-size: var(--h3); line-height: 1.3; margin: 48px 0 24px; }
.prose h3 { font-size: var(--text-lead); line-height: 1.3; margin: 32px 0 12px; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose a { overflow-wrap: anywhere; }

/* ---------- 5.15 notice box */
.notice {
  max-width: 66ch;
  margin-bottom: 32px;
  padding: 20px 24px;
  background: var(--color-surface);
  border-left: 4px solid var(--color-accent);
  font-size: var(--text-small);
  line-height: 1.5;
  color: var(--color-text);
}

/* ---------- related practice areas */
.related { padding-block: 64px; }
@media (min-width: 64rem) { .related { padding-block: 96px; } }
/* no testimonial strip: the page body's bottom padding is the one gap (TA, 2026-10-22) */
.related.related--flush { padding-top: 0; }
.related .eyebrow { margin-bottom: 12px; }
.rows { list-style: none; max-width: 690px; border-top: 1px solid var(--color-rule); }
.rows li { border-bottom: 1px solid var(--color-rule); }
.rows a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 55px;
  color: var(--color-text);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  text-decoration: none;
}
.rows svg { flex: none; margin-right: 5px; color: var(--color-accent); }
@media (hover: hover) { .rows a:hover { background: var(--color-surface); color: var(--color-text); text-decoration: underline; } }


/* ---------- 5.14 contact page: the copy's Call and Office sections in one address element */
.contact-block { font-style: normal; }
.contact-label,
.page-contact .prose h2#email {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 32px 0 8px;
}
.prose .contact-label { margin: 32px 0 8px; }
.prose .contact-block > .contact-label:first-child { margin-top: 0; }
.contact-label#call + p a[href^="tel:"] {
  display: inline-block;
  min-height: 48px;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.4;
}
@media (min-width: 64rem) { .contact-label#call + p a[href^="tel:"] { font-size: 40px; } }
.contact-label#office ~ p { margin-bottom: 0.25em; }
.prose .contact-block { margin-bottom: 1em; }

/* ---------- 5.6 footer */
.site-footer { background: var(--color-inverse-bg); color: var(--color-inverse-text); padding-block: 48px; }
@media (min-width: 64rem) { .site-footer { padding-block: 64px; } }
.site-footer a { color: var(--color-inverse-text); text-decoration: none; }
@media (hover: hover) { .site-footer a:hover { color: var(--color-inverse-text); text-decoration: underline; } }
.footer__identity address { margin-top: 24px; font-style: normal; font-size: 1rem; line-height: 28px; }
.footer__identity address a { display: inline-block; padding-block: 8px; margin-block: -8px; color: var(--color-inverse-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
@media (hover: hover) { .footer__identity address a:hover { color: var(--color-inverse-link-hover); text-decoration-thickness: 2px; } }
.footer__identity .tel { font-weight: 600; }
.footer__nav { display: grid; gap: 32px; margin-top: 40px; }
.footer__label { font-family: var(--font-sans); font-size: var(--text-label); font-weight: 600; line-height: 1.4; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-inverse-muted); margin-bottom: 4px; }
.footer__group ul { list-style: none; }
.footer__group a { display: flex; align-items: center; min-height: 44px; font-size: 17px; }
@media (min-width: 37.5rem) {
  .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
}
@media (min-width: 64rem) {
  .footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .footer__identity { grid-column: 1 / 5; }
  .footer__nav { grid-column: 5 / 13; grid-template-columns: repeat(8, minmax(0, 1fr)); margin-top: 0; }
  .footer__group--areas { grid-column: 1 / 5; }
  .footer__group--firm { grid-column: 5 / 7; }
  .footer__group--legal { grid-column: 7 / 9; }
  .footer__group--split ul { columns: 2; column-gap: 24px; }
  .footer__group--split li { break-inside: avoid; }
  .footer__group a { font-size: 1rem; }
}
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--color-inverse-rule); font-size: var(--text-small); line-height: 1.5; color: var(--color-inverse-muted); }
.footer__notice { max-width: 792px; }
.footer__copy { margin-top: 8px; }

/* ---------- spec-changes-2026-10-22.md 4.6 B: oversized quotation mark on the testimonial strip.
   Decorative (aria-hidden). Box height 0.424em and the -0.104em pull put the
   mark's ink (0.38 to 0.70 em above its baseline in Haime Display) at the top
   of the strip's content, with the eyebrow 12 px (16 px at lg) below the ink. */
.quotes__mark {
  display: block;
  height: 0.424em;
  margin: -0.104em 0 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 96px;
  line-height: 1;
  color: var(--color-inverse-link);
}
@media (min-width: 64rem) { .quotes__mark { font-size: 160px; margin-bottom: 16px; } }

/* ---------- 4.6 C: home About image above the facts panel */
.about-home__side { margin-top: 32px; }
.about-art { aspect-ratio: 3 / 2; overflow: hidden; background: var(--color-image-placeholder); }
.about-art__img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 4.6 A: card image strips, 600 px and up; never shown or fetched below */
.card__strip { display: none; }
@media (min-width: 37.5rem) {
  .card__strip { display: block; margin: -24px -24px 24px; aspect-ratio: 3 / 1; overflow: hidden; background: var(--color-image-placeholder); }
  .card__img { width: 100%; height: 100%; object-fit: cover; }
}
@media (min-width: 64rem) { .card--strip { min-height: 280px; } }

/* ---------- 4.1 title band with image */
.title-band--image { position: relative; padding: 0 0 40px; }
.band-media {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 3;
  overflow: hidden;
  background: var(--color-image-placeholder);
}
.band-media__img { width: 100%; height: 100%; object-fit: cover; }
.title-band--image .title-band__text { padding-top: 20px; }
@media (min-width: 37.5rem) { .title-band--image .title-band__text { padding-top: 24px; } }
@media (min-width: 64rem) {
  .title-band--image { min-height: 360px; padding: 0; }
  .band-media {
    --cw: min(100% - 96px, 1200px);
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: calc((100% - var(--cw)) / 2 + 7 * ((var(--cw) - 264px) / 12 + 24px) - 12px);
    width: auto;
    aspect-ratio: auto;
  }
  .band-media::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 96px;
    background: linear-gradient(to right, var(--color-inverse-bg), transparent);
  }
  .title-band--image .title-band__text { grid-column: 1 / 8; padding: 48px 24px 56px 0; }
}
@media (min-width: 100rem) { .title-band--image { min-height: 400px; } }

/* ---------- QA F3: a paragraph that is one link is a control: 44 px target */
.prose p.link-only a:not([href^="tel:"]) { display: inline-block; padding-block: 8px; margin-block: -8px; }

/* ---------- QA F4: gap between the index intro and the card grid (spec silent; TA: 24 / 32 px) */
.index-intro { margin-bottom: 24px; }
@media (min-width: 64rem) { .index-intro { margin-bottom: 32px; } }

/* ---------- QA F5: testimonials page, design-spec 5.11 long form */
.prose .tq { margin: 0 0 32px; }
.prose .tq blockquote p {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: var(--quote);
  line-height: 1.4;
  color: var(--color-text);
}
.prose .tq figcaption { margin-top: 8px; font-size: var(--text-small); line-height: 1.5; }
.prose .tq figcaption p { margin: 0; }
.prose .tq__by { font-weight: 600; color: var(--color-text); }
.prose .results-note { font-size: var(--text-small); line-height: 1.5; color: var(--color-text-muted); }
.testimonial + .testimonial { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--color-border); }
.prose .testimonial h3 { margin-top: 0; }
.prose .testimonial__byline { margin-bottom: 12px; font-size: 1rem; font-weight: 600; line-height: 1.5; color: var(--color-text-muted); }
.prose .testimonial__quote { margin: 0 0 16px; padding-left: 20px; border-left: 2px solid var(--color-accent); }
.prose .testimonial__quote p:last-child { margin-bottom: 0; }

/* ---------- 5.20 right rail (spec-changes-2026-10-23-rail.md 1 to 3, 5) */
.rail-slot1.rail-toc { display: none; }
.rail-slot1.rail-facts { margin-bottom: 32px; }
.rail { margin-top: 48px; }
.rail__end { margin-top: 48px; }
.rail__end > * + * { margin-top: 48px; }
.rail-block--lg { display: none; }
.rail .eyebrow, .rail-slot1 .eyebrow { margin-bottom: 12px; }
@media (min-width: 64rem) {
  .page-body--rail .grid { grid-template-rows: auto 1fr; }
  .page-body--rail .page-body__main { grid-column: 1 / 8; grid-row: 1 / 3; }
  .rail-slot1.rail-toc { display: block; }
  .rail-slot1 { grid-column: 9 / 13; grid-row: 1; align-self: start; }
  .rail-slot1.rail-facts { margin-bottom: 0; }
  .rail { grid-column: 9 / 13; grid-row: 1 / 3; margin-top: 0; display: flex; flex-direction: column; }
  .page-body--slot1 .rail { grid-row: 2; margin-top: 48px; }
  .rail__track { flex: 1 0 auto; }
  .rail-block--lg { display: block; }
}
/* 3.1 On this page, and every list of rows in the rail */
.rail-list { list-style: none; border-top: 1px solid var(--color-rule); }
.rail-list li { border-bottom: 1px solid var(--color-rule); }
.rail-list a { display: block; padding: 10px 0; font-size: 1rem; line-height: 24px; color: var(--color-text); text-decoration: none; }
@media (hover: hover) {
  .rail-list a:hover { background: var(--color-surface); color: var(--color-text); text-decoration: underline; text-decoration-thickness: 2px; }
}
/* 3.2 contact card: on ink, sticky inside its track from lg in windows at least 600 px tall */
.rail-card { padding: 28px 24px 24px; border-radius: var(--radius-0); background: var(--color-inverse-bg); color: var(--color-inverse-text); }
.rail .rail-card .eyebrow { color: var(--color-inverse-link); }
.rail-card a:not(.btn) { color: var(--color-inverse-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
@media (hover: hover) { .rail-card a:not(.btn):hover { color: var(--color-inverse-link-hover); text-decoration-thickness: 2px; } }
.rail-card__phone a { display: inline-block; font-family: var(--font-serif); font-size: var(--h3); font-weight: 500; line-height: 44px; }
.rail-card__email { margin-top: 8px; font-size: 1rem; line-height: 24px; }
.rail-card__email a { display: inline-block; padding-block: 10px; margin-block: -10px; }
.rail-card__office { margin-top: 16px; font-style: normal; font-size: 1rem; line-height: 24px; color: var(--color-inverse-muted); }
.rail-card__btn { display: flex; width: 100%; margin-top: 24px; }
.rail-card__keep { margin-top: 16px; font-size: var(--text-small); line-height: 24px; color: var(--color-inverse-muted); }
@media (min-width: 37.5rem) and (max-width: 63.99rem) { .rail-card__btn { display: inline-flex; width: auto; } }
@media (min-width: 64rem) { .rail-card__btn { padding-inline: 12px; } }
@media (min-width: 64rem) and (min-height: 37.5rem) { .rail-card { position: sticky; top: 132px; } }
@media (min-width: 75rem) and (min-height: 37.5rem) { .rail-card { top: 24px; } }
/* 3.3 courthouses */
.rail-courts__circuit { margin-bottom: 16px; font-size: 1rem; line-height: 24px; color: var(--color-text-muted); }
.rail-courts__list { list-style: none; }
.rail-courts__list li + li { margin-top: 16px; }
.rail-courts__name { display: block; font-size: 1rem; font-weight: 600; line-height: 24px; color: var(--color-text); }
.rail-courts__addr { display: block; font-size: 1rem; line-height: 24px; color: var(--color-text-muted); }
.rail-courts__all { margin-top: 12px; font-size: 1rem; font-weight: 600; line-height: 24px; }
.rail-courts__all a { display: inline-block; padding-block: 10px; margin-block: -10px; }
/* 3.4 the practice area on guide pages: the related-rows style */
.rows--rail { max-width: none; }
/* 3.5 About facts box */
.rail-facts { padding: 24px; border-radius: var(--radius-0); background: var(--color-surface); }
.rail-facts__list dt { font-size: var(--text-label); font-weight: 600; line-height: 1.4; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.rail-facts__list dd { margin-top: 8px; font-size: 1rem; line-height: 24px; color: var(--color-text); }
.rail-facts__list dd + dt { margin-top: 20px; }

/* ---------- 5.18 Guides index (spec-changes-2026-10-23-rail.md 4.2) */
.guide-index { margin-top: 48px; }
.guide-group + .guide-group { margin-top: 48px; }
.guide-group h2 { margin-bottom: 16px; font-size: var(--h3); line-height: 1.3; }
.guide-list { list-style: none; max-width: 36em; border-top: 1px solid var(--color-rule); }
.guide-row { padding-block: 24px; border-bottom: 1px solid var(--color-rule); }
.guide-row__title { font-size: 22px; line-height: 1.3; letter-spacing: normal; }
@media (min-width: 37.5rem) { .guide-row__title { font-size: 24px; } }
/* house rule, 44 px targets: one line is 28.6 px at 22 px (31.2 at 24), plus space-2 above and below */
.guide-row__title a { display: inline-block; padding-block: var(--space-2); margin-block: calc(-1 * var(--space-2)); }
.guide-row__excerpt { margin-top: 8px; font-size: var(--text-body); line-height: 1.6; color: var(--color-text-muted); }
.guide-row__meta { margin-top: 8px; font-size: var(--text-small); line-height: 1.5; color: var(--color-text-muted); }
.guide-row__meta a { display: inline-block; padding-block: 10px; margin-block: -10px; }

/* ---------- 5.19 guide page (4.3): date line in the band, notice 32 px above the first h2 */
.title-band__date { margin-top: 16px; font-size: var(--text-small); line-height: 1.5; color: var(--color-inverse-muted); }
.title-band__by { font-weight: 600; color: var(--color-inverse-text); }
.page-guide .prose > .notice:first-child + h2 { margin-top: 0; }
.guide-author { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--color-rule); }
.prose .guide-author p { margin-bottom: 0; }
.guide-author__name { font-family: var(--font-serif); font-size: 20px; font-weight: 500; line-height: 1.3; }
.prose .guide-author__line { margin-top: 8px; font-size: var(--text-small); line-height: 1.5; color: var(--color-text-muted); }
.prose .guide-author__more { margin-top: 8px; font-weight: 600; }

/* ---------- 5.21 citations: one unbreakable unit (spec-changes-2026-10-23-rail.md 7) */
.cite { white-space: nowrap; overflow-wrap: normal; }
