/* ============================================================
   RSG Logic - "The Readout"
   The site is set like the engagement document it sells: navy ink on
   bond paper, a margin column for notes, ruled tables, redline for
   findings, green for what has been signed off as fixed.
   One light theme. Two families: Newsreader (reading) + Public Sans (UI).
   Documented in /DESIGN.md.
   ============================================================ */

:root {
  /* Paper */
  --paper: #FCFCFA;        /* bond: page background */
  --paper-2: #F2F3F0;      /* tinted section / footer */
  --sheet: #FFFFFF;        /* a document sheet sitting on the page */

  /* Ink */
  --ink: #16213A;          /* deep navy, stands in for black */
  --ink-2: #2E3850;        /* body copy */
  --ink-mute: #556076;     /* notes, sources, small print (5.9:1 on paper) */

  /* Rules */
  --rule: #CDD3DC;         /* hairlines */
  --rule-2: #9AA4B4;       /* stronger rules, input borders */

  /* Meaning colors - never decorative */
  --redline: #A3191F;      /* findings, high risk. Nothing else. */
  --redline-tint: #F8E9E8;
  --signed: #2E6B4F;       /* fixed, done, included in the fee */
  --signed-tint: #E6F0EA;
  --marker: #F3E08A;       /* the one deliberate accent: highlighter on a fee line or evidence line */

  /* Type */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Layout */
  --wrap: 1200px;
  --gutter: 48px;
  --margin-col: 200px;
  --col-gap: 56px;
  --measure: 66ch;
  --radius: 3px;
  --sheet-shadow: 0 1px 0 rgba(22, 33, 58, 0.04), 0 18px 40px -24px rgba(22, 33, 58, 0.28);
}

/* ────────── Reset and base ────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
strong { font-weight: 600; color: var(--ink); }
::selection { background: var(--marker); color: var(--ink); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px; font-weight: 500;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 768px) { :root { --gutter: 20px; } }
@media (max-width: 400px) { :root { --gutter: 16px; } }

/* ────────── Links and buttons ────────── */
.text-link, .prose a, .lede a, .source a, .faq-a a, .callout a, .price-footnote a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--rule-2);
}
.text-link:hover, .prose a:hover, .lede a:hover, .source a:hover, .faq-a a:hover, .callout a:hover, .price-footnote a:hover {
  text-decoration-color: var(--ink);
  text-decoration-thickness: 2px;
}

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  background: var(--ink); color: #FFFFFF;
  border: 1px solid var(--ink); border-radius: var(--radius);
  font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1.2;
  text-align: center;
  transition: background-color 0.15s ease;
}
.btn-primary:hover { background: #24345A; }

/* Secondary action: a quiet, underlined text action with a full tap target */
.btn-ghost, .btn-link {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 2px;
  font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1.3;
  color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 5px; text-decoration-color: var(--rule-2);
}
.btn-ghost:hover, .btn-link:hover { text-decoration-color: var(--ink); text-decoration-thickness: 2px; }
.btn-link { font-size: 15px; }

.hero-cta, .row {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
}
@media (max-width: 640px) {
  .hero-cta .btn-primary, .row .btn-primary, .price-cta .btn-primary, .post-next-cta .btn-primary,
  .section-foot .btn-primary, .mobile-menu-cta { width: 100%; }
  .hero-cta, .row { gap: 4px 24px; }
}

/* ────────── Nav ────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  height: 72px;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.logomark {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--serif); font-weight: 500; font-size: 24px; letter-spacing: -0.01em;
  color: var(--ink); white-space: nowrap; min-height: 44px; align-items: center;
}
.nav-links ul { display: flex; gap: 4px; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  font-size: 15px; color: var(--ink-2);
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 6px; text-decoration-thickness: 1px;
}
.nav-links a:hover { color: var(--ink); text-decoration-color: var(--rule-2); }
.nav-links a.is-active { color: var(--ink); text-decoration-color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav .cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px;
  background: var(--ink); color: #FFFFFF; border-radius: var(--radius);
  font-size: 15px; font-weight: 500; white-space: nowrap;
}
.nav .cta:hover { background: #24345A; }

.nav-hamburger {
  display: none;
  width: 48px; height: 48px; margin-right: -10px;
  background: transparent; border: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger-bar { width: 22px; height: 1.5px; background: var(--ink); transition: transform 0.2s, opacity 0.2s; }
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 72px 0 0 0; z-index: 49;
  background: var(--paper);
  overflow-y: auto;
  visibility: hidden; opacity: 0; transition: opacity 0.15s, visibility 0.15s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; }
.mobile-menu-inner { padding: 8px var(--gutter) 40px; }
.mobile-menu-inner ul li { border-bottom: 1px solid var(--rule); }
.mobile-menu-inner ul a {
  display: flex; align-items: center; min-height: 56px;
  font-family: var(--serif); font-size: 22px; color: var(--ink);
}
.mobile-menu-inner ul a.is-active { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.mobile-menu-cta { margin-top: 28px; }
.mobile-menu-meta { margin-top: 20px; display: flex; flex-direction: column; }
.mobile-menu-meta a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); }
body.menu-open { overflow: hidden; }

@media (max-width: 1200px) {
  .nav-links { display: none; }
  .nav-hamburger { display: inline-flex; }
}
@media (max-width: 640px) {
  .nav { height: 64px; }
  .mobile-menu { inset: 64px 0 0 0; }
  .nav-cta-desktop { display: none !important; }
  .logomark { font-size: 22px; }
}

/* ────────── Shared type ────────── */
.lede {
  font-family: var(--serif); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5;
  color: var(--ink-2); max-width: var(--measure);
}
.eyebrow {
  display: block;
  font-family: var(--sans); font-weight: 600; font-size: 15px; line-height: 1.4;
  color: var(--ink); margin-bottom: 14px;
}
h3.eyebrow { font-size: 16px; }
.brand-line {
  margin-top: 20px;
  font-family: var(--sans); font-weight: 500; font-size: 15px; color: var(--ink-mute);
}

/* ────────── Page hero (inner pages) ────────── */
.page-hero { padding: 48px 0 72px; border-bottom: 1px solid var(--rule); }
.page-hero h1, .article-hero h1, .notfound h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(36px, 5vw, 62px); line-height: 1.06; letter-spacing: -0.015em;
  max-width: 20ch;
  font-variation-settings: "opsz" 72;
}
.page-hero .lede { margin-top: 24px; }
.page-hero .label-pill { margin-bottom: 18px; }
@media (max-width: 640px) { .page-hero { padding: 28px 0 48px; } }

.crumb { margin-bottom: 40px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; color: var(--ink-mute); }
.crumb li + li::before { content: "/"; margin: 0 10px; color: var(--rule-2); }
.crumb a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.crumb a:hover { color: var(--ink); text-decoration-color: var(--ink); }
@media (max-width: 640px) { .crumb { margin-bottom: 24px; } }

/* ────────── Sections and the margin column ────────── */
.section { padding: 88px 0; border-top: 1px solid var(--rule); }
.section.alt { background: var(--paper-2); }
.section.tight { padding: 56px 0; }
.section.no-border { border-top: 0; }
.page-hero + .section { border-top: 0; }
@media (max-width: 768px) { .section { padding: 56px 0; } .section.tight { padding: 40px 0; } }

.sec-head {
  display: grid; grid-template-columns: var(--margin-col) minmax(0, 1fr); gap: var(--col-gap);
  align-items: baseline;
}
.sec-num {
  /* The margin note: sentence case, italic, quiet. Never caps, never mono. */
  font-family: var(--sans); font-style: italic; font-size: 15px; line-height: 1.45;
  color: var(--ink-mute);
  padding-top: 4px; border-top: 1px solid var(--ink);
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.sec-head h2, .pillar h2, .offer-split-title, .ind-h2, .contact-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.01em;
  max-width: 24ch;
}
.sec-head .lede { margin-top: 18px; }
.sec-head.compact h2 { font-size: clamp(26px, 3vw, 36px); }
.section-body { margin-top: 48px; }
.sec-head + .section-body, .sec-head + .svc-grid, .sec-head + .cred-grid, .sec-head + .faq-list,
.sec-head + .stat-row, .sec-head + .process-list, .sec-head + .areas-grid, .sec-head + div {
  margin-left: calc(var(--margin-col) + var(--col-gap));
}
.sec-head + div.section-body, .sec-head + div { margin-top: 48px; }
.section-foot { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; }
.section-foot > p { font-size: 15px; color: var(--ink-2); }
.sec-head ~ .section-foot { margin-left: calc(var(--margin-col) + var(--col-gap)); }
@media (max-width: 960px) {
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
  .sec-num { border-top: 0; padding-top: 0; }
  .sec-head + .section-body, .sec-head + .svc-grid, .sec-head + .cred-grid, .sec-head + .faq-list,
  .sec-head + .stat-row, .sec-head + .process-list, .sec-head + .areas-grid, .sec-head + div,
  .sec-head ~ .section-foot { margin-left: 0; }
  .sec-head + div.section-body, .sec-head + div { margin-top: 36px; }
}

/* Two-column split: heading/aside left, content right */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--col-gap); align-items: start; }
.split.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 900px) { .split, .split.even { grid-template-columns: 1fr; gap: 36px; } }
.offer-split-title, .ind-h2, .contact-title { max-width: 18ch; }
.offer-split-title + p, .ind-lede { margin-top: 18px; }
.ind-lede, .contact-note, .op-body {
  font-family: var(--serif); font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 46ch;
}
.op-body { margin-bottom: 16px; max-width: 60ch; }
.contact-note { margin-top: 18px; max-width: 40ch; }
.op-gap { margin-top: 36px; }
.ind-note, .ind-callout, .ai-policy-callout, .hipaa-baa-note, .rpt-callout { margin-top: 28px; }
.ind-others-label { font-size: 15px; color: var(--ink-mute); }
.offer-svc-link { margin-top: 12px; }

/* ────────── "Pillar": statement + ruled list, on paper (no inverted band) ────────── */
.pillar { padding: 88px 0; border-top: 1px solid var(--rule); background: var(--paper-2); }
.pillar .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--col-gap); align-items: start; }
.pillar-eyebrow {
  font-style: italic; font-size: 15px; color: var(--ink-mute); margin-bottom: 14px;
  padding-top: 4px; border-top: 1px solid var(--ink); display: inline-block; min-width: 160px;
}
.pillar .lede { margin-bottom: 28px; }
.pillar ul { border-top: 1px solid var(--rule); }
.pillar ul li { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.pillar .t { font-weight: 600; font-size: 17px; color: var(--ink); }
.pillar .b { margin-top: 6px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
@media (max-width: 900px) { .pillar { padding: 56px 0; } .pillar .grid { grid-template-columns: 1fr; gap: 24px; } }

/* ────────── Ruled two-column list (was the services grid) ────────── */
.svc-grid {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--col-gap);
}
.svc { padding: 26px 0 30px; border-top: 1px solid var(--rule); }
.svc h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.2; }
.svc .label-pill + h3 { margin-top: 12px; }
.svc .desc { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 56ch; }
.tags { margin-top: 14px; font-size: 14px; color: var(--ink-mute); }
.tags span + span::before { content: ", "; }
@media (max-width: 768px) { .svc-grid { grid-template-columns: 1fr; } }

/* ────────── Ruled entries (was cards) ────────── */
.card-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--col-gap);
}
.card-grid.four, .card-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 26px 0 30px; border-top: 1px solid var(--rule);
}
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.2; }
.card .label-pill + h3, .card .label-pill + .work-meta { margin-top: 12px; }
.card > p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.card .btn-link, .card-foot { margin-top: auto; padding-top: 12px; }
a.card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
@media (max-width: 768px) { .card-grid, .card-grid.four, .card-grid.three { grid-template-columns: 1fr; } }

.ex-flow { margin-top: 16px; width: 100%; border-top: 1px solid var(--rule); }
.ex-flow > div { padding: 10px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
.ex-flow dt { font-size: 14px; font-weight: 600; color: var(--ink); }
.ex-flow dd { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 480px) { .ex-flow > div { grid-template-columns: 1fr; gap: 2px; } }

/* ────────── Index list (industries hub, homepage picker) ────────── */
.index-list { border-top: 1px solid var(--ink); }
.index-list li { border-bottom: 1px solid var(--rule); }
.index-list a {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) 15rem; gap: 8px 40px;
  align-items: baseline; padding: 24px 0;
}
.index-list .ix-name { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.2; color: var(--ink); }
.index-list .ix-desc { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.index-list .ix-go { font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 4px; justify-self: end; text-align: right; }
.index-list a:hover .ix-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.index-list a:hover .ix-go { text-decoration-color: var(--ink); }
.index-list .ix-other .ix-name { color: var(--ink-2); }
@media (max-width: 768px) {
  .index-list a { grid-template-columns: 1fr; padding: 20px 0; }
  .index-list .ix-go { margin-top: 2px; justify-self: start; text-align: left; }
}

/* Industry picker under the homepage hero */
.picker { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--sheet); }
.picker .wrap { display: grid; grid-template-columns: var(--margin-col) minmax(0, 1fr); gap: var(--col-gap); align-items: center; }
.picker-label { font-style: italic; font-size: 15px; color: var(--ink-mute); }
.picker ul { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; }
.picker a { white-space: nowrap; }
.picker li + li { border-left: 1px solid var(--rule); }
.picker a {
  display: flex; align-items: center; min-height: 72px; padding: 12px 16px;
  font-family: var(--serif); font-size: 17.5px; line-height: 1.25; color: var(--ink);
}
.picker li:first-child a { padding-left: 0; }
.picker a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
@media (max-width: 960px) {
  .picker .wrap { grid-template-columns: 1fr; gap: 0; padding-top: 20px; }
  .picker ul { grid-template-columns: 1fr 1fr; }
  .picker li, .picker li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .picker li:nth-child(1), .picker li:nth-child(2) { border-top: 0; }
  .picker li:nth-child(even) a { padding-left: 16px; }
  .picker li:nth-child(odd) a { padding-left: 0; }
  .picker li:nth-child(even) { border-left: 1px solid var(--rule); }
  .picker a { min-height: 56px; font-size: 17px; }
}

/* ────────── Work: ruled case list ────────── */
.case-list { border-top: 1px solid var(--ink); }
.case {
  display: grid; grid-template-columns: var(--margin-col) minmax(0, 1fr); gap: 12px var(--col-gap);
  padding: 36px 0 40px; border-bottom: 1px solid var(--rule);
}
.case-side { font-size: 14.5px; line-height: 1.5; color: var(--ink-mute); }
.case-side .label-pill { margin-bottom: 12px; }
.case h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; max-width: 30ch; }
.case .work-sub { margin-top: 6px; font-size: 15px; color: var(--ink-mute); }
.case .case-body { margin-top: 16px; font-family: var(--serif); font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: var(--measure); }
.case .work-outcome { margin-top: 20px; padding: 14px 0 0; border-top: 1px solid var(--rule); max-width: var(--measure); }
.case .work-outcome .eyebrow { margin-bottom: 4px; font-size: 14.5px; }
.case .work-outcome p { font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.work-tags { margin-top: 14px; font-size: 14px; color: var(--ink-mute); }
.work-tags span + span::before { content: ", "; }
.case .card-foot { margin-top: 8px; }
@media (max-width: 768px) { .case { grid-template-columns: 1fr; padding: 28px 0 32px; } }

/* ────────── Labels: Sample / Example ────────── */
.label-pill {
  display: inline-flex; align-items: center; width: max-content;
  padding: 3px 8px; border: 1px solid var(--rule-2); border-radius: 2px;
  font-family: var(--sans); font-style: normal; font-weight: 600; font-size: 13px; line-height: 1.3;
  color: var(--ink-2); background: var(--sheet);
}
.label-pill.sample { border-color: var(--ink); color: var(--ink); box-shadow: inset 0 0 0 1px var(--sheet), inset 0 0 0 2px var(--ink); padding: 4px 9px; }
.label-pill.example { border-style: dashed; border-color: var(--ink-mute); color: var(--ink-2); }
.badge {
  display: inline-block; padding: 1px 6px;
  background: var(--marker); color: var(--ink);
  font-weight: 600; font-size: 13px; line-height: 1.5;
}

/* ────────── Feature list ────────── */
.feature-list { border-top: 1px solid var(--rule); }
.feature-list li {
  position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--rule);
  font-size: 15.5px; line-height: 1.5; color: var(--ink);
}
.feature-list li::before {
  content: ""; position: absolute; left: 3px; top: 18px;
  width: 11px; height: 6px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: rotate(-45deg);
}
.feature-list .sub { display: block; margin-top: 2px; font-size: 14.5px; color: var(--ink-2); }
.feature-list.plain { border-top: 0; }
.feature-list.plain li { border-bottom: 0; padding: 6px 0 6px 26px; }
.feature-list.plain li::before { top: 12px; }
.feature-list.cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
@media (max-width: 640px) { .feature-list.cols { grid-template-columns: 1fr; } }
.feature-list li.inherits { padding-left: 0; font-weight: 600; }
.feature-list li.inherits::before { display: none; }
.feature-list.excluded li::before { transform: none; border: 0; border-top: 1.5px solid var(--ink-mute); width: 10px; height: 0; top: 23px; }
.feature-list.excluded li { color: var(--ink-2); }
/* Signed off: used only for things that are done / fixed */
.feature-list.signed li::before { border-color: var(--signed); }

/* ────────── Callout ────────── */
.callout {
  padding: 18px 22px; border-left: 3px solid var(--ink); background: var(--sheet);
  font-size: 15.5px; line-height: 1.6; color: var(--ink-2);
}
.section.alt .callout { background: var(--paper); }
.callout-title { display: block; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.callout.quiet { border-left-color: var(--rule-2); background: transparent; }

/* ────────── Prose ────────── */
.prose { font-family: var(--serif); font-size: 19px; line-height: 1.65; color: var(--ink-2); max-width: var(--measure); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-weight: 500; font-size: 30px; line-height: 1.2; margin-top: 1.8em; }
.prose h3 { font-weight: 500; font-size: 23px; line-height: 1.25; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul li { list-style: disc; margin: 0.35em 0; }
.prose ol li { list-style: decimal; margin: 0.35em 0; }
.prose li::marker { color: var(--ink-mute); }
.prose blockquote { padding-left: 20px; border-left: 2px solid var(--ink); font-style: italic; }
.prose strong { color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); border-bottom-color: var(--ink); }
.prose code { font-family: var(--sans); background: var(--paper-2); padding: 1px 5px; font-size: 0.9em; }

/* ────────── Fee schedule (pricing) ────────── */
.fee-schedule { border-top: 2px solid var(--ink); }
.fee-head, .fee-row {
  display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 2.4fr) minmax(200px, 1fr); gap: 0 36px;
}
.fee-head { padding: 12px 0; border-bottom: 1px solid var(--ink); font-size: 14px; font-weight: 600; color: var(--ink); }
.fee-head > :last-child, .fee-price { text-align: right; }
.fee-row { padding: 28px 0 30px; border-bottom: 1px solid var(--rule); align-items: start; }
.fee-tier { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.15; color: var(--ink); }
.fee-tier .badge { display: table; margin-top: 8px; font-family: var(--sans); font-weight: 600; }
.fee-for { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--ink-mute); }
.fee-lead { font-family: var(--serif); font-size: 18px; line-height: 1.5; color: var(--ink); max-width: 60ch; }
.fee-what .feature-list { margin-top: 14px; border-top: 0; }
.fee-what .feature-list li { padding-top: 7px; padding-bottom: 7px; border-bottom: 0; font-size: 15px; }
.fee-what .feature-list li::before { top: 13px; }
.fee-amount {
  font-family: var(--sans); font-weight: 500; font-size: 30px; line-height: 1.1; color: var(--ink);
  font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.01em;
}
.fee-per { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--ink-mute); letter-spacing: 0; }
.fee-hours { margin-top: 10px; font-size: 13.5px; color: var(--ink-mute); }
.fee-price .btn-primary, .fee-price .btn-ghost { margin-top: 14px; white-space: nowrap; }
.fee-group {
  padding: 14px 0 12px; border-bottom: 1px solid var(--rule);
  font-weight: 600; font-size: 15px; color: var(--ink);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px;
}
.fee-group a { font-weight: 500; }
.fee-schedule.compact .fee-row { padding: 18px 0; align-items: baseline; }
.fee-schedule.compact .fee-tier { font-size: 21px; }
.fee-schedule.compact .fee-lead { font-size: 16.5px; }
.fee-schedule.compact .fee-amount { font-size: 22px; }
.fee-schedule.compact .fee-per { display: inline; margin-left: 4px; }
@media (max-width: 860px) {
  .fee-head { display: none; }
  .fee-row { grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; padding: 24px 0; }
  .fee-what { grid-column: 1 / -1; grid-row: 2; }
  .fee-price { grid-column: 2; grid-row: 1; }
  .fee-price .btn-primary, .fee-price .btn-ghost { display: none; }
  .fee-cta-mobile { grid-row: 3; }
  .fee-tier { font-size: 23px; }
  .fee-amount { font-size: 24px; }
}
.fee-cta-mobile { display: none; grid-column: 1 / -1; }
@media (max-width: 860px) { .fee-cta-mobile { display: flex; } }

.price-footnote {
  margin-top: 20px; font-size: 14.5px; line-height: 1.6; color: var(--ink-mute); max-width: 80ch;
}
.price-footnote .label-pill { margin-right: 8px; }
.sec-head ~ .price-footnote { margin-left: calc(var(--margin-col) + var(--col-gap)); }
@media (max-width: 960px) { .sec-head ~ .price-footnote { margin-left: 0; } }

/* Legacy price-card markup (Blueprint two-price block): set as fee lines, not cards */
.price-grid { border-top: 2px solid var(--ink); }
.price-card {
  display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 6px 32px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--rule);
}
.price-card .tier-name { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--ink); }
.price-card .tier-for, .price-card .price-note, .price-card .tier-lead { grid-column: 1; font-size: 15px; color: var(--ink-2); }
.price-card .price { grid-column: 2; grid-row: 1; text-align: right; font-weight: 500; font-size: 28px; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-card .price .per { margin-left: 6px; font-size: 14px; font-weight: 400; color: var(--ink-mute); }
.price-card .feature-list { grid-column: 1 / -1; margin-top: 10px; }
.price-card .price-cta { grid-column: 2; grid-row: 2; text-align: right; }
.price-card .price-hours { font-size: 13.5px; color: var(--ink-mute); }
.price-card .badge { grid-column: 1 / -1; width: max-content; }
@media (max-width: 560px) {
  .price-card { grid-template-columns: 1fr auto; }
  .price-card .price-cta { grid-column: 1 / -1; grid-row: auto; text-align: left; }
}

/* ────────── FAQ ────────── */
.faq-list { border-top: 1px solid var(--ink); max-width: 880px; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.q-text { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.35; color: var(--ink); }
.q-icon { position: relative; flex: 0 0 auto; width: 14px; height: 14px; font-size: 0; }
.q-icon::before, .q-icon::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1.5px; background: var(--ink); transition: transform 0.2s; }
.q-icon::after { transform: rotate(90deg); }
.faq-item[open] .q-icon::after { transform: rotate(0deg); }
.faq-q:hover .q-text { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--rule-2); }
.faq-a { padding: 0 48px 24px 0; }
.faq-a p { font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: var(--measure); }
.faq-a p + p { margin-top: 0.8em; }

/* ────────── Sourced stats ────────── */
.stat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--col-gap); }
.stat-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-cell { padding: 24px 0 8px; border-top: 1px solid var(--ink); }
.stat-cell .num {
  font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 5vw, 64px); line-height: 1;
  color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: lining-nums;
}
.stat-cell .num .from { display: block; margin-bottom: 6px; font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--ink-mute); }
.stat-cell .claim { margin-top: 14px; font-size: 16.5px; line-height: 1.5; color: var(--ink); max-width: 44ch; }
.stat-cell .source { margin-top: 10px; font-size: 13.5px; line-height: 1.55; color: var(--ink-mute); max-width: 52ch; }
@media (max-width: 860px) { .stat-row, .stat-row.three { grid-template-columns: 1fr; } .stat-cell + .stat-cell { margin-top: 24px; } }

/* ────────── Two-step path ────────── */
.path { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--col-gap); }
.path-step { padding-top: 22px; border-top: 1px solid var(--ink); display: flex; flex-direction: column; }
.step-num { font-family: var(--sans); font-weight: 600; font-size: 14.5px; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.path-step h3 { margin-top: 8px; font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.2vw, 27px); line-height: 1.2; max-width: 26ch; }
.path-meta { margin-top: 10px; font-weight: 500; font-size: 15px; color: var(--ink); }
.path-step > p:not(.path-meta) { margin-top: 12px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 56ch; }
.path-step .feature-list { margin-top: 16px; }
.path-step .section-foot { margin-top: auto; padding-top: 18px; }
@media (max-width: 860px) { .path { grid-template-columns: 1fr; gap: 40px; } }

/* ────────── Process (real sequences only) ────────── */
.process-list { border-top: 1px solid var(--ink); }
.process-row {
  display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 0.8fr); gap: 32px;
  padding: 28px 0; border-bottom: 1px solid var(--rule); align-items: start;
}
.process-row .step-num { padding-top: 4px; }
.process-row h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.25; }
.process-row .step-body { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 56ch; }
.deliverable-wrap .eyebrow { margin-bottom: 4px; font-size: 14px; font-weight: 500; color: var(--ink-mute); }
.deliverable { font-size: 15px; line-height: 1.55; color: var(--ink); }
.process-list.compact .process-row { grid-template-columns: 70px 1fr; gap: 16px; padding: 20px 0; }
.process-list.compact .process-row h3 { font-size: 20px; }
@media (max-width: 860px) {
  .process-row { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .deliverable-wrap { margin-top: 10px; padding-left: 14px; border-left: 1px solid var(--rule); }
}

/* ────────── Credentials ────────── */
.cred-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--col-gap); }
.cred-eyebrow { font-weight: 600; font-size: 15px; color: var(--ink); padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.cred-list li, .edu-list li { padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 16px; color: var(--ink); }
.cred-list .star { display: none; }
.edu-list li { display: grid; grid-template-columns: 70px 1fr; gap: 16px; align-items: baseline; }
.edu-list .deg { font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--ink); }
.edu-list .field { color: var(--ink-2); }
.cred-after { margin-top: 22px; font-family: var(--serif); font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 52ch; }
@media (max-width: 768px) { .cred-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ────────── Service area ────────── */
.areas-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; border-top: 1px solid var(--ink); }
.area-card { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.area-card .a-num { display: none; }
.area-card .a-city { flex: 1; font-family: var(--serif); font-size: 19px; color: var(--ink); }
.area-card .a-zip { font-size: 14px; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.areas-after { margin-top: 18px; font-size: 14.5px; color: var(--ink-mute); }
@media (max-width: 768px) { .areas-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .areas-grid { grid-template-columns: 1fr; } }

/* ────────── Closing block (cta-band partial) ────────── */
.cta-band { padding: 80px 0 88px; border-top: 3px double var(--ink); background: var(--paper-2); }
.cta-band .cta-grid { display: grid; grid-template-columns: var(--margin-col) minmax(0, 1fr); gap: var(--col-gap); }
.cta-band .cta-note { font-style: italic; font-size: 15px; color: var(--ink-mute); padding-top: 4px; border-top: 1px solid var(--ink); align-self: start; }
.cta-band h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 50px); line-height: 1.08; letter-spacing: -0.01em; max-width: 22ch; }
.cta-band.compact h2 { font-size: clamp(28px, 3.4vw, 42px); }
.cta-band p.cta-text { margin-top: 18px; font-family: var(--serif); font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 58ch; }
.cta-band .row { margin-top: 30px; }
.cta-meta { margin-top: 40px; display: grid; grid-template-columns: repeat(3, max-content); gap: 8px 48px; border-top: 1px solid var(--rule); padding-top: 18px; }
.cta-meta .label { font-size: 13.5px; color: var(--ink-mute); }
.cta-meta .val { font-size: 16px; color: var(--ink); }
.cta-meta .val a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 3px; }
@media (max-width: 960px) {
  .cta-band .cta-grid { grid-template-columns: 1fr; gap: 16px; }
  .cta-band .cta-note { border-top: 0; padding-top: 0; }
}
@media (max-width: 768px) {
  .cta-band { padding: 56px 0 64px; }
  .cta-meta { grid-template-columns: 1fr; gap: 0; }
  .cta-meta > div { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 12px; }
  .cta-meta > div > .val:not(:has(a)) { padding: 10px 0; }
}

/* ────────── Footer ────────── */
.site-footer { padding: 64px 0 32px; border-top: 1px solid var(--rule); background: var(--paper); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.legal-name { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--ink); }
.addr { margin-top: 10px; font-style: normal; color: var(--ink-2); line-height: 1.55; }
.contact-lines { margin-top: 8px; display: flex; flex-direction: column; }
.contact-lines a, .foot-col a {
  display: inline-flex; align-items: center; min-height: 40px;
  color: var(--ink-2); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px;
}
.contact-lines a:hover, .foot-col a:hover { color: var(--ink); text-decoration-color: var(--ink); }
.hours { margin-top: 8px; font-size: 14px; color: var(--ink-mute); line-height: 1.55; }
.foot-col .eyebrow { font-size: 15px; margin-bottom: 6px; }
.foot-tagline {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 32px;
}
.foot-tagline .display { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 40px); color: var(--ink); letter-spacing: -0.01em; }
.foot-tagline .meta { font-size: 14.5px; color: var(--ink-mute); }
.foot-legal { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13.5px; color: var(--ink-mute); }
.foot-legal a { text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 3px; display: inline-flex; min-height: 44px; align-items: center; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-nap { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ────────── Homepage hero: headline + readout sheet ────────── */
.hero { padding: 64px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero h1.display {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(38px, 4.3vw, 60px); line-height: 1.05; letter-spacing: -0.018em;
  font-variation-settings: "opsz" 72;
  max-width: 16ch;
}
.hero .hero-sub { margin-top: 24px; font-family: var(--serif); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.hero .brand-line { margin-top: 22px; display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--ink); }
.hero .brand-line::before { content: ""; width: 28px; height: 1px; background: var(--ink); }
.hero-facts { margin-top: 22px; font-size: 14.5px; color: var(--ink-mute); max-width: 52ch; }
@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero h1.display { max-width: 17ch; }
}
@media (max-width: 640px) { .hero { padding: 32px 0 48px; } .hero .wrap { gap: 36px; } }

/* The readout sheet (hero visual + used on /sample-blueprint/) */
.sheet {
  position: relative;
  background: var(--sheet); border: 1px solid var(--rule);
  /* the page beneath: a bound document, not a card */
  box-shadow: 8px 8px 0 -1px var(--sheet), 8px 8px 0 0 var(--rule), var(--sheet-shadow);
  padding: 30px 32px 28px;
  color: var(--ink-2);
}
.hero-sheet { margin: 0 8px 8px 0; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.sheet-doc { font-size: 13px; color: var(--ink-mute); text-align: right; }
.sheet-top .label-pill { white-space: nowrap; }
.sheet-firm { margin-top: 16px; font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.2; color: var(--ink); }
.sheet-sub { margin-top: 2px; font-size: 13.5px; color: var(--ink-mute); }
.sheet-score { margin-top: 18px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sheet-score-num { font-family: var(--serif); font-weight: 500; font-size: 52px; line-height: 0.95; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.sheet-score-num span { font-family: var(--sans); font-size: 15px; font-weight: 400; color: var(--ink-mute); margin-left: 2px; }
.sheet-score p { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.sheet-bars { margin-top: 6px; }
.sheet-bars li { display: grid; grid-template-columns: 130px 1fr 34px; gap: 14px; align-items: center; padding: 7px 0; font-size: 13.5px; color: var(--ink); }
.sheet-bars .v { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.sheet-h { margin-top: 18px; padding-bottom: 6px; border-bottom: 1px solid var(--rule); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.sheet-findings li {
  position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 14px; line-height: 1.45; color: var(--ink-2);
}
.sheet-findings .code { font-weight: 600; font-size: 13px; color: var(--redline); font-variant-numeric: tabular-nums; padding-top: 1px; }
.sheet-findings .txt { position: relative; }
.sheet-findings strong { font-weight: 600; color: var(--ink); }

/* Score bars (shared by hero sheet and sample report) */
.rpt-bar { position: relative; height: 8px; background: var(--paper-2); border: 1px solid var(--rule); }
.rpt-bar span { position: absolute; left: 0; top: -1px; bottom: -1px; width: var(--v); background: var(--ink); }
.rpt-bar.low span { background: var(--redline); }

/* The one orchestrated moment: F-02 is struck through and signed off as fixed */
.fix-text {
  background: linear-gradient(var(--redline), var(--redline)) no-repeat 0 60% / 100% 1.5px;
}
.fix-note {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 6px;
  padding: 2px 8px 2px 6px; border: 1px solid var(--signed); color: var(--signed); background: var(--signed-tint);
  font-size: 12.5px; font-weight: 600; line-height: 1.4;
}
.fix-note svg { width: 12px; height: 12px; flex: 0 0 auto; }
.is-fixed .txt { color: var(--ink-mute); }
.is-fixed .txt strong { color: var(--ink-mute); }
.is-fixed .code { color: var(--signed); }

/* Before JS marks the sheet as in view, show the "open" state; without JS or with reduced motion,
   the finished state (struck + signed) is shown and nothing moves. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-sheet .fix-text { background-size: 0% 1.5px; }
  .js .hero-sheet .fix-note { opacity: 0; transform: translateY(4px); }
  .js .hero-sheet .is-fixed .code { color: var(--redline); }
  .js .hero-sheet .is-fixed .txt { color: var(--ink-2); }
  .js .hero-sheet .is-fixed .txt strong { color: var(--ink); }
  .js .hero-sheet.sheet-animate .fix-text { animation: strike 0.8s cubic-bezier(.6,0,.2,1) 0.6s forwards; }
  .js .hero-sheet.sheet-animate .is-fixed .txt,
  .js .hero-sheet.sheet-animate .is-fixed .txt strong { animation: fade-ink 0.5s ease 1.1s forwards; }
  .js .hero-sheet.sheet-animate .is-fixed .code { animation: to-signed 0.4s ease 1.35s forwards; }
  .js .hero-sheet.sheet-animate .fix-note { animation: signoff 0.45s ease-out 1.35s forwards; }
}
@keyframes strike { to { background-size: 100% 1.5px; } }
@keyframes signoff { to { opacity: 1; transform: none; } }
@keyframes fade-ink { to { color: var(--ink-mute); } }
@keyframes to-signed { to { color: var(--signed); } }

.sheet-foot { margin-top: 14px; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ink-mute); }
.sheet-foot a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; margin: -14px 0 -14px; }
@media (max-width: 640px) {
  .sheet { padding: 22px 18px 18px; }
  .sheet { box-shadow: 6px 6px 0 -1px var(--sheet), 6px 6px 0 0 var(--rule), var(--sheet-shadow); }
  .hero-sheet { margin: 0 6px 6px 0; }
  .sheet-firm { font-size: 21px; }
  .sheet-score-num { font-size: 44px; }
  .sheet-bars li { grid-template-columns: 112px 1fr 30px; gap: 10px; }
}

/* ────────── Sample report (document styling) ────────── */
.rpt-hero-pill { margin-bottom: 20px; }
.rpt-docid { font-size: 13.5px; color: var(--ink-mute); }
.rpt-cover { padding: 40px 44px 36px; }
.rpt-cover-top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.rpt-cover-title { margin-top: 28px; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; color: var(--ink); }
.rpt-cover-sub { margin-top: 8px; font-size: 16px; color: var(--ink-2); }
.rpt-meta { margin-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.rpt-meta > div { padding: 14px 20px 0 0; }
.rpt-meta dt { font-size: 13.5px; color: var(--ink-mute); }
.rpt-meta dd { margin: 4px 0 0; font-size: 15px; line-height: 1.45; color: var(--ink); }
.rpt-overall { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.rpt-overall-num { font-family: var(--serif); font-weight: 500; font-size: clamp(60px, 8vw, 96px); line-height: 0.9; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.rpt-overall-num span { font-family: var(--sans); font-size: 0.22em; font-weight: 400; color: var(--ink-mute); margin-left: 4px; }
.rpt-overall p { font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 52ch; }
@media (max-width: 900px) { .rpt-meta { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .rpt-cover { padding: 26px 20px 24px; } .rpt-overall { grid-template-columns: 1fr; gap: 10px; } }
@media (max-width: 400px) { .rpt-meta { grid-template-columns: 1fr; } }

.rpt-scores { border-top: 1px solid var(--ink); }
.rpt-score { display: grid; grid-template-columns: 220px 1fr 90px; gap: 8px 28px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.rpt-score-area { font-weight: 600; font-size: 16px; color: var(--ink); }
.rpt-score .rpt-bar { height: 10px; }
.rpt-score-val { text-align: right; font-family: var(--serif); font-weight: 500; font-size: 28px; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.rpt-score-val span { font-family: var(--sans); font-size: 13px; color: var(--ink-mute); }
.rpt-score-note { grid-column: 2 / 4; font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 70ch; }
@media (max-width: 768px) {
  .rpt-score { grid-template-columns: 1fr auto; }
  .rpt-score .rpt-bar { grid-column: 1 / -1; grid-row: 2; }
  .rpt-score-val { font-size: 24px; }
  .rpt-score-note { grid-column: 1 / -1; }
}

.rpt-findings { counter-reset: f; border-top: 1px solid var(--ink); }
.rpt-findings li {
  counter-increment: f; position: relative;
  padding: 16px 0 16px 56px; border-bottom: 1px solid var(--rule);
  font-size: 15.5px; line-height: 1.6; color: var(--ink-2);
}
.rpt-findings li::before {
  content: "F-0" counter(f); position: absolute; left: 0; top: 17px;
  font-weight: 600; font-size: 14px; color: var(--redline); font-variant-numeric: tabular-nums;
}
.rpt-findings strong { color: var(--ink); }

.rpt-table-wrap { overflow-x: auto; border-top: 2px solid var(--ink); background: var(--sheet); }
.rpt-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.rpt-table th, .rpt-table td { text-align: left; padding: 13px 16px 13px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.rpt-table th:first-child, .rpt-table td:first-child { padding-left: 16px; }
.rpt-table th { font-weight: 600; font-size: 14px; color: var(--ink); border-bottom: 1px solid var(--ink); }
.rpt-table td { color: var(--ink-2); line-height: 1.5; }
.rpt-table td:first-child { color: var(--ink); font-weight: 500; }
.rpt-table td.num, .rpt-table th.num { font-variant-numeric: tabular-nums; }
.rpt-sev { display: inline-block; padding: 1px 8px; font-weight: 600; font-size: 13px; white-space: nowrap; border: 1px solid var(--rule-2); color: var(--ink-2); }
.rpt-sev.high { background: var(--redline); border-color: var(--redline); color: #FFFFFF; }
.rpt-sev.med { background: var(--redline-tint); border-color: var(--redline); color: var(--redline); }
.ev-partial { color: var(--redline); font-weight: 500; }
.ev-yes { color: var(--signed); font-weight: 500; }
mark, .hl { background: linear-gradient(transparent 12%, var(--marker) 12%, var(--marker) 88%, transparent 88%); color: inherit; padding: 0 2px; }

.rpt-roadmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--ink); }
.rpt-roadmap > li { padding: 20px 0 8px; }
.rpt-q { font-weight: 600; font-size: 14px; color: var(--ink-mute); }
.rpt-roadmap h3 { margin-top: 4px; font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.25; }
.rpt-roadmap ul { margin-top: 12px; }
.rpt-roadmap ul li { position: relative; padding: 8px 0 8px 16px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); border-top: 1px solid var(--rule); }
.rpt-roadmap ul li::before { content: ""; position: absolute; left: 0; top: 17px; width: 7px; height: 1.5px; background: var(--ink-mute); }
@media (max-width: 1024px) { .rpt-roadmap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .rpt-roadmap { grid-template-columns: 1fr; } }

.rpt-spec { padding: 0; }
.rpt-spec-head { padding: 24px 32px; border-bottom: 1px solid var(--ink); }
.rpt-spec-head h3 { margin-top: 4px; font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.4vw, 28px); }
.rpt-spec dl > div { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 16px 32px; border-bottom: 1px solid var(--rule); }
.rpt-spec dl > div:last-child { border-bottom: 0; }
.rpt-spec dt { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.rpt-spec dd { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 70ch; }
.rpt-spec dd ol { padding-left: 1.3em; }
.rpt-spec dd ol li { list-style: decimal; margin: 4px 0; }
@media (max-width: 640px) {
  .rpt-spec-head { padding: 20px; }
  .rpt-spec dl > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 20px; }
}

/* ────────── Insights ────────── */
.insights-hero h1 { max-width: 18ch; }
.manifesto { margin-top: 28px; }
.manifesto .eyebrow { display: none; }
.manifesto p { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink-2); }
.filters { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.filters .wrap { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.filters .label { font-style: italic; font-size: 15px; color: var(--ink-mute); margin-right: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px;
  border: 1px solid transparent; border-radius: var(--radius); background: transparent; cursor: pointer;
  font-size: 15px; color: var(--ink-2);
}
.chip:hover { color: var(--ink); border-color: var(--rule); }
.chip.is-active { color: var(--ink); border-color: var(--ink); font-weight: 600; }
.chip .count { font-size: 13px; color: var(--ink-mute); font-weight: 400; font-variant-numeric: tabular-nums; }
.posts-section { padding: 16px 0 88px; }
.posts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--col-gap); }
@media (max-width: 860px) { .posts-grid { grid-template-columns: 1fr; } }
.post-card { padding: 28px 0 30px; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; }
.post-card.is-hidden { display: none; }
.post-meta, .article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; color: var(--ink-mute); }
.article-meta { margin-top: 24px; }
.post-meta .category, .article-meta .category { font-weight: 600; color: var(--ink); }
.post-meta .sep, .article-meta .sep { color: var(--rule-2); }
.post-card h3 { margin-top: 10px; font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.22; }
.post-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.post-card .excerpt { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); flex: 1; }
.post-card .btn-link { display: none; }
.posts-empty { margin-top: 32px; color: var(--ink-mute); }

.article-hero { padding: 48px 0 40px; border-bottom: 1px solid var(--rule); }
.article-hero .wrap, .article-body .wrap { max-width: 820px; }
.article-hero h1 { font-size: clamp(32px, 4.4vw, 52px); max-width: 24ch; }
.article-body { padding: 48px 0 72px; }
.article-body .prose { max-width: none; }
.sources { margin-top: 3em; padding-top: 18px; border-top: 1px solid var(--ink); font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.sources ul { padding-left: 1.2em; }
.sources li { list-style: disc; margin: 0.3em 0; }
.sources a { text-decoration: underline; text-decoration-color: var(--rule-2); overflow-wrap: anywhere; }
.post-next { margin-top: 56px; padding: 28px 32px; background: var(--sheet); border: 1px solid var(--rule); border-top: 2px solid var(--ink); }
.post-next h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; }
.post-next p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.post-next-cta { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
@media (max-width: 640px) { .post-next { padding: 22px 18px; } }
.related-section { padding: 56px 0 48px; border-top: 1px solid var(--rule); background: var(--paper-2); }
.related-section h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 34px); margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
@media (max-width: 860px) { .related-grid { grid-template-columns: 1fr; } }
.related-card { display: flex; flex-direction: column; padding: 18px 0 20px; border-top: 1px solid var(--ink); }
.related-card .meta { font-size: 13.5px; color: var(--ink-mute); }
.related-card h3 { margin-top: 6px; font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.3; }
.related-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.related-card .btn-link { display: none; }

/* ────────── About, contact, catholic ministry ────────── */
.pull-line { margin-top: 16px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.35; color: var(--ink); max-width: 24ch; }
.contact-list { border-top: 1px solid var(--ink); }
.contact-row { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.contact-row dt { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.contact-row dd { margin: 0; min-width: 0; }
.contact-val { font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
a.contact-val { text-decoration: underline; text-decoration-color: var(--rule-2); text-decoration-thickness: 1px; text-underline-offset: 5px; }
a.contact-val:hover { text-decoration-color: var(--ink); }
.contact-val.is-text { font-size: clamp(18px, 2vw, 21px); font-style: normal; display: block; }
.contact-sub { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 640px) { .contact-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; } }
.epigraph { margin-top: 28px; padding-left: 18px; border-left: 2px solid var(--ink); max-width: 52ch; }
.epigraph blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2.2vw, 23px); line-height: 1.45; color: var(--ink); }
.epigraph figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-mute); }
.ministry-orgs { margin-top: 20px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 24px; border-top: 1px solid var(--ink); }
.ministry-orgs li { padding: 14px 0; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: 19px; color: var(--ink); }
@media (max-width: 900px) { .ministry-orgs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .ministry-orgs { grid-template-columns: 1fr; } }
.bp-callouts { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; }
@media (max-width: 768px) { .bp-callouts { grid-template-columns: 1fr; } }

/* ────────── Not found ────────── */
.notfound { padding: 96px 0; }
.notfound .lede { margin-top: 20px; }

/* ────────── Reduced motion ────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-delay: 0ms !important; }
}

/* ────────── Print: the site is a document; let it print like one ────────── */
@media print {
  .nav, .mobile-menu, .site-footer, .cta-band, .hero-cta, .skip-link { display: none !important; }
  body { background: #fff; }
  .sheet { box-shadow: none; }
}
.sec-head + .case-list { margin-left: 0; }

/* A label directly above a split heading reads as a margin note, not an eyebrow */
.eyebrow:has(+ h2) {
  display: inline-block; min-width: 160px; margin-bottom: 14px; padding-top: 4px; border-top: 1px solid var(--ink);
  font-weight: 400; font-style: italic; font-size: 15px; color: var(--ink-mute);
}
/* Process rows for parallel items (not a sequence): no number column */
.process-list.unnumbered .process-row { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
@media (max-width: 860px) { .process-list.unnumbered .process-row { grid-template-columns: 1fr; } }
.sheet-doc { white-space: nowrap; }
@media (max-width: 480px) {
  .sheet-foot { flex-direction: column; gap: 0; }
  .sheet-foot a { margin: 0; }
}
.sec-head ~ .ind-note { margin-left: calc(var(--margin-col) + var(--col-gap)); }
@media (max-width: 960px) { .sec-head ~ .ind-note { margin-left: 0; } }

/* Sample report tables: stack each row as a card on small screens so no column (Owner) sits off-screen */
@media (max-width: 600px) {
  .rpt-table-wrap { overflow-x: visible; }
  .rpt-table { min-width: 0; }
  .rpt-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .rpt-table tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--rule); }
  .rpt-table td, .rpt-table td:first-child { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; padding: 3px 0; border-bottom: 0; }
  .rpt-table td::before { content: attr(data-label); font-size: 13px; font-weight: 600; color: var(--ink-mute); }
  .rpt-table td:first-child { grid-template-columns: 1fr; padding-bottom: 8px; }
  .rpt-table td:first-child::before { display: none; }
}
