/* The Swedesford Group: shared stylesheet.
   Design system is fixed in CLAUDE.md. Change colors or type only with Pat's approval. */

@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/schibsted-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); }

:root {
  --ground: #F9FAF7;
  --band: #EEF0EB;
  --card: #FFFFFF;
  --hair: #E2E3E7;
  --hair-2: #D5D8D0;
  --field: #B9BEB4;
  --ink: #032f21;
  --ink-hover: #0b5a40;
  --text: #1A2320;
  --prose: #1F2A26;
  --text-2: #39443F;
  --muted: #4F5B57;
  --brass: #B8892F;
  --brass-text: #8A6420;
  --brass-dark: #D4B36A;
  --slate: #6B7A85;
  --on-dark: #D3DDD7;
  --on-dark-2: #B7C6BE;
  --on-dark-rule: #4B6B5E;
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 32px;
  --section: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--ground); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: var(--ink); }
a:hover { color: var(--ink-hover); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.band--dark :focus-visible, .site-footer :focus-visible, .feature-link:focus-visible { outline-color: var(--brass-dark); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); margin: 0; }
p { margin: 0; }
strong { font-weight: 600; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 10; background: var(--ink); color: #FFFFFF; padding: 12px 18px; text-decoration: none; }
.skip-link:focus { top: 12px; color: #FFFFFF; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.band--alt { background: var(--band); }
.band--white { background: var(--card); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.band--dark { background: var(--ink); color: #FFFFFF; }
.band--dark h1, .band--dark h2, .band--dark h3 { color: #FFFFFF; }
.rule-bottom { border-bottom: 1px solid var(--hair); }

/* Placeholder content waiting on Pat. Deliberately conspicuous. */
.ph { background: #FFF4D6; color: #5C430F; outline: 1px dashed var(--brass-text); padding: 0 4px; }
.band--dark .ph, .feature-link .ph { background: transparent; color: var(--brass-dark); outline-color: var(--brass-dark); }
.ph-block { padding: 28px; border: 1px dashed var(--field); color: var(--muted); text-align: center; background: var(--card); }

/* ---------- Signature: ledger rule ---------- */
.ledger { border-top: 3px solid var(--ink); padding-top: 3px; margin-bottom: 20px; max-width: 120px; }
.ledger::after { content: ""; display: block; border-top: 1px solid var(--ink); }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--ink); box-shadow: 0 3px 0 0 var(--ground), 0 6px 0 0 var(--ink); position: relative; z-index: 5; background: var(--ground); }
.site-header__inner { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: 14px; min-height: 44px; }
.brand__mark { display: block; width: 4px; height: 30px; border-left: 2px solid var(--ink); border-right: 1px solid var(--ink); }
.brand__name { font-size: 22px; font-weight: 500; color: var(--ink); }
.site-footer .brand__mark { border-color: #FFFFFF; }

.nav-toggle { display: none; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.main-nav a { text-decoration: none; color: var(--text); display: inline-flex; align-items: center; min-height: 44px; }
.main-nav a:hover { color: var(--ink-hover); }
.main-nav a[aria-current="page"], .main-nav .is-section > a { color: var(--ink); box-shadow: inset 0 -2px 0 var(--brass); }
.main-nav .nav-cta { color: #FFFFFF; background: var(--ink); padding: 11px 18px; border-radius: 2px; }
.main-nav .nav-cta:hover { color: #FFFFFF; background: var(--ink-hover); }
.main-nav .nav-cta[aria-current="page"] { box-shadow: none; }
.has-sub { position: relative; }
.subnav { list-style: none; margin: 0; padding: 8px 0; position: absolute; left: -18px; top: 100%; min-width: 220px; background: var(--card); border: 1px solid var(--hair); border-top: 2px solid var(--ink); display: none; }
.subnav a { display: flex; padding: 0 18px; width: 100%; font-size: 15px; }
.subnav a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--brass); }
.has-sub:hover .subnav, .has-sub:focus-within .subnav { display: block; }

/* Sub-navigation bar (Advisory pages) */
.subbar { border-bottom: 1px solid var(--hair); background: var(--card); }
.subbar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 32px; font-size: 14px; font-weight: 500; }
.subbar a { text-decoration: none; color: var(--muted); padding: 14px 0; min-height: 44px; display: inline-flex; align-items: center; }
.subbar a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); }
.site-footer__inner { padding-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 36px; }
.site-footer__top { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.site-footer__brand { flex: 1 1 320px; }
.site-footer__name { font-size: 22px; color: #FFFFFF; }
.site-footer__tag { margin-top: 6px; font-size: 14px; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 28px; font-size: 14px; }
.site-footer nav a { color: #FFFFFF; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.site-footer nav a:hover { color: var(--brass-dark); }
.site-footer__legal { border-top: 1px solid var(--on-dark-rule); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; font-size: 13px; color: var(--on-dark-2); }
.site-footer__legal a { color: var(--on-dark-2); display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__legal a:hover { color: #FFFFFF; }

/* ---------- Type ---------- */
.eyebrow { font-size: 14px; font-weight: 600; color: var(--muted); margin: 0 0 14px; }
.eyebrow--brass { color: var(--brass-text); }
.eyebrow--gold { color: var(--brass-dark); }
.display { font-weight: 600; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.1; letter-spacing: -0.02em; max-width: 940px; }
.display--home { font-size: clamp(40px, 5.2vw, 66px); line-height: 1.04; letter-spacing: -0.025em; max-width: 980px; }
.display--case { font-size: clamp(32px, 4vw, 50px); line-height: 1.12; max-width: 960px; }
.lede { margin-top: 28px; max-width: 680px; font-size: 19px; line-height: 1.6; color: var(--text-2); }
.subtitle { margin-top: 20px; max-width: 760px; font-size: 22px; line-height: 1.45; color: var(--text-2); }
.h2 { font-weight: 600; font-size: 38px; line-height: 1.12; letter-spacing: -0.015em; }
.h2--md { font-weight: 500; font-size: 30px; line-height: 1.2; letter-spacing: 0; }
.h3 { font-weight: 500; font-size: 26px; line-height: 1.25; }
.num { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--brass-text); }
.meta-list { font-size: 14px; color: var(--muted); }
.body-2 { color: var(--text-2); }
.small-muted { font-size: 14px; color: var(--muted); }
.breadcrumb { margin: 0 0 20px; font-size: 14px; color: var(--muted); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }
.breadcrumb a { color: var(--muted); display: inline-flex; min-height: 44px; align-items: center; margin: -12px 0; }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 24px; border-radius: 2px; background: var(--ink); color: #FFFFFF; font: inherit; font-weight: 500; text-decoration: none; border: 1px solid var(--ink); cursor: pointer; }
.btn:hover { background: var(--ink-hover); border-color: var(--ink-hover); color: #FFFFFF; }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #FFFFFF; }
.btn--lg { min-height: 52px; padding: 14px 28px; }
.btn--sm { min-height: 44px; padding: 10px 20px; }
.actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 0; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--ink); }
.text-link--brass { border-bottom-color: var(--brass); font-size: 14px; padding: 0; align-self: flex-start; }
.text-link--light { color: #FFFFFF; border-bottom-color: var(--brass-dark); }
.text-link--light:hover { color: var(--brass-dark); }

/* ---------- Layout helpers ---------- */
.section-head { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; }
.section-head > div { flex: 1 1 560px; min-width: 0; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 240px), 100%), 1fr)); }
.split { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: center; }
.split > :first-child { flex: 1 1 520px; min-width: 0; }
.strip { margin-top: 8px; padding-top: 28px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.strip p { flex: 1 1 520px; color: var(--text-2); }
.strip strong { color: var(--ink); }
.mt-48 { margin-top: 48px; }
.mt-40 { margin-top: 40px; }

/* Four or three bordered columns */
.cols { margin-top: 56px; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.cols > * { padding: 32px 28px; border-right: 1px solid var(--hair); display: flex; flex-direction: column; gap: 14px; }
.cols > :first-child { padding-left: 0; }
.cols > :last-child { padding-right: 0; border-right: 0; }
.cols h3 { margin-top: -2px; }
.cols p { color: var(--text-2); }
.cols .tags { font-size: 14px; color: var(--muted); margin-top: 4px; }
@media (max-width: 960px) {
  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols > * { padding: 28px 24px 28px 0 !important; border-right: 0; border-bottom: 1px solid var(--hair); }
  .cols > :nth-child(2n) { padding: 28px 0 28px 24px !important; }
  .cols[style*="--n: 3"] { grid-template-columns: minmax(0, 1fr); }
  .cols[style*="--n: 3"] > * { padding: 28px 0 !important; }
}
@media (max-width: 640px) {
  .cols { grid-template-columns: minmax(0, 1fr); }
  .cols > *, .cols > :nth-child(2n) { padding: 28px 0 !important; }
}

/* Stats */
.stat { border-top: 3px solid var(--brass); padding-top: 16px; }
.stat__value { font-size: 44px; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__value--lg { font-size: 48px; }
.stat__label { margin-top: 8px; font-size: 14px; color: var(--text-2); }
.stat--dark { border-top: 1px solid var(--on-dark-rule); padding-top: 20px; }
.stat--dark .stat__value { font-size: 56px; color: var(--brass-dark); }
.stat--dark .stat__label { margin-top: 10px; font-size: 15px; color: var(--on-dark); }
.source-note { font-size: 13px; color: var(--on-dark-2); }

/* Cards */
.card-rule { text-decoration: none; color: var(--text); border-top: 2px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.card-rule__title { font-size: 24px; line-height: 1.25; color: var(--ink); }
.card-rule__dek { color: var(--text-2); }
.card-rule__more { font-size: 14px; font-weight: 500; color: var(--ink); margin-top: auto; }
.card-rule:hover .card-rule__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.tile { text-decoration: none; color: var(--text); padding: 24px; background: var(--card); border-top: 3px solid var(--brass); display: flex; flex-direction: column; gap: 10px; }
.tile__title { font-size: 22px; line-height: 1.3; color: var(--ink); }
.tile__label { font-size: 14px; font-weight: 600; color: var(--brass-text); }
.tile p { color: var(--text-2); }
a.tile:hover .tile__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.panel { background: var(--card); border: 1px solid var(--hair); padding: 36px; }
.panel--dark { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.panel ul { margin: 22px 0 0; padding-left: 20px; color: var(--text-2); display: flex; flex-direction: column; gap: 8px; }
.panel--dark ul { color: var(--on-dark); }

/* ---------- Home ---------- */
.hero { padding-top: 104px; padding-bottom: 96px; }
.hero .eyebrow { margin-bottom: 28px; }
.hero .lede { margin-top: 32px; max-width: 640px; }
.feature { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.feature__main { flex: 1 1 520px; min-width: 0; }
.feature__main h2 { font-weight: 500; font-size: 38px; line-height: 1.15; }
.feature__main p.summary { margin-top: 20px; max-width: 560px; font-size: 17px; color: var(--on-dark); }
.feature__main .text-link { margin-top: 18px; }
.feature__stats { flex: 1 1 360px; min-width: 0; border-left: 1px solid var(--on-dark-rule); padding-left: 40px; display: flex; flex-direction: column; gap: 28px; }
.feature__big { font-size: 64px; line-height: 1; font-weight: 500; color: var(--brass-dark); }
.feature__mid { font-size: 40px; line-height: 1; font-weight: 500; color: var(--brass-dark); }
.feature__stats .stat__label { margin-top: 8px; font-size: 15px; color: var(--on-dark); }
.proof { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.proof__head { flex: 1 1 300px; min-width: 0; }
.proof__head h2 { font-weight: 500; font-size: 30px; line-height: 1.2; }
.proof__stats { flex: 1 1 520px; min-width: 0; --min: 150px; gap: 32px; }
.media-line { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: baseline; }
.media-line a { text-decoration: none; color: var(--text); }
.media-line a:hover { text-decoration: underline; }
.cta-band { padding-top: 104px; padding-bottom: 104px; }

/* ---------- Advisory ---------- */
.verbs { margin-top: 48px; }
.verb { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px 48px; padding: 36px 0; border-top: 1px solid var(--hair); }
.verb:first-child { border-top: 2px solid var(--ink); }
.verb__head { display: flex; flex-direction: column; }
.verb__head h3 { margin-top: 10px; font-weight: 500; font-size: 30px; }
.verb__head .text-link { margin-top: 12px; }
.verb > p { color: var(--text-2); }
.verb > p.tags { font-size: 14px; color: var(--muted); }
.related { margin-top: 8px; padding: 28px 32px; background: var(--band); display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: baseline; }
.related h3 { flex: 0 0 220px; font-size: 18px; font-weight: 600; }
.related p { flex: 1 1 520px; color: var(--text-2); }
.steps { margin: 48px 0 0; padding: 0; list-style: none; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.steps li { border-top: 2px solid var(--ink); padding-top: 16px; }
.steps h3 { margin-top: 6px; font-size: 16px; font-weight: 600; }
.steps p { margin-top: 8px; font-size: 15px; color: var(--text-2); }
.offer { display: flex; flex-direction: column; gap: 14px; }
.offer h3 { font-size: 28px; font-weight: 400; }
.offer p { color: var(--text-2); }
.offer .tags { font-size: 14px; color: var(--muted); }
.offer .btn { margin-top: 8px; align-self: flex-start; }

/* ---------- Insights ---------- */
.feature-link { text-decoration: none; color: #FFFFFF; background: var(--ink); padding: 44px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-end; }
.feature-link:hover { color: #FFFFFF; background: #05402d; }
.feature-link__main { flex: 1 1 520px; display: flex; flex-direction: column; gap: 14px; }
.feature-link__title { font-size: 34px; line-height: 1.2; }
.feature-link__dek { color: var(--on-dark); }
.feature-link__more { font-weight: 500; border-bottom: 1px solid var(--brass-dark); padding: 10px 0; }
.filters { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.filters button { min-height: 44px; padding: 0 18px; border-radius: 2px; border: 1px solid var(--field); background: var(--card); color: var(--text); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.filters button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #FFFFFF; }
.library { margin: 32px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.library li { border-bottom: 1px solid var(--hair); }
.library li[hidden] { display: none; }
.library a { text-decoration: none; color: var(--text); padding: 24px 0; display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; }
.library__type { flex: 0 0 160px; font-size: 14px; font-weight: 600; color: var(--brass-text); }
.library__main { flex: 1 1 520px; display: flex; flex-direction: column; gap: 6px; }
.library__title { font-size: 22px; line-height: 1.3; color: var(--ink); }
.library a:hover .library__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.library__dek { font-size: 15px; color: var(--text-2); }
.library__date { flex: 0 0 120px; font-size: 14px; color: var(--muted); text-align: right; }
@media (max-width: 760px) { .library__type, .library__date { flex-basis: auto; text-align: left; } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea { min-height: 48px; padding: 0 14px; border: 1px solid var(--field); border-radius: 2px; font: inherit; font-size: 16px; font-weight: 400; background: #FFFFFF; color: var(--text); width: 100%; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 120px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--brass); outline-offset: 1px; border-color: var(--ink); }
.field--full { grid-column: 1 / -1; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-left: 3px solid var(--ink); background: var(--band); color: var(--text); }
.form-status[hidden] { display: none; }
.form-status--error { border-left-color: #8A2A20; }
.contact-form { flex: 999 1 560px; min-width: 0; max-width: 680px; background: var(--card); border: 1px solid var(--hair); padding: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.contact-form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 8px; }
.contact-form__foot span { font-size: 13px; color: var(--muted); flex: 1 1 260px; }
.contact-form .btn { min-height: 50px; padding: 0 28px; font-weight: 600; }
.notify-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.notify-form .field { font-weight: 400; color: var(--text-2); }
.notify-form input { width: 280px; max-width: 100%; min-height: 46px; }
.notify-form .btn { min-height: 46px; padding: 0 22px; }
.notify-form .form-status { flex: 1 1 100%; }

/* ---------- Article ---------- */
.article-head { padding-top: 72px; padding-bottom: 56px; }
.byline { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; font-size: 14px; color: var(--muted); }
.byline a { color: var(--ink); font-weight: 600; text-decoration: none; }
.byline a:hover { text-decoration: underline; }
.article-layout { padding-top: 56px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.article-aside { flex: 1 1 220px; max-width: 260px; display: flex; flex-direction: column; gap: 28px; font-size: 14px; position: sticky; top: 24px; }
.toc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--hair-2); }
.toc a { display: block; padding: 6px 0 6px 14px; text-decoration: none; color: var(--text-2); }
.toc a:hover { color: var(--ink); box-shadow: inset 2px 0 0 var(--brass); }
.tools { display: flex; flex-direction: column; gap: 4px; }
.tools a, .tools button { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; font: inherit; font-weight: 500; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.tools a:hover, .tools button:hover { text-decoration: underline; }
@media (max-width: 900px) { .article-aside { position: static; max-width: none; } }

.prose { flex: 999 1 600px; min-width: 0; max-width: 760px; font-size: 18px; line-height: 1.65; color: var(--prose); }
.prose > h2 { margin: 56px 0 18px; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.prose > h2:first-child { margin-top: 0; }
.prose > p { margin: 0 0 20px; }
.prose > ul { margin: 0 0 20px; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; }
.prose li strong { color: var(--ink); }
.prose sup a { text-decoration: none; padding: 0 2px; }
.prose sup { line-height: 0; }
.seq { margin: 0 0 24px; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.seq li { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.seq .num { padding-top: 4px; }
.table-wrap { overflow-x: auto; margin: 0 0 24px; }
.data-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.data-table--wide { min-width: 860px; font-size: 14px; }
.data-table caption { text-align: left; padding-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.data-table thead tr { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.data-table th, .data-table td { text-align: left; padding: 12px 16px 12px 0; vertical-align: top; }
.data-table th:last-child, .data-table td:last-child { padding-right: 0; }
.data-table thead th { font-weight: 600; color: var(--ink); }
.data-table tbody { color: var(--text-2); }
.data-table tbody th { font-weight: 600; color: var(--text); }
.data-table tbody tr { border-bottom: 1px solid var(--hair); }
.data-table td.strong { font-weight: 500; color: var(--text); }
.questions { margin: 48px 0 0; background: var(--ink); color: #FFFFFF; padding: 36px; }
.questions ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 1.5; color: #E6ECE8; }
.about-paper { margin: 48px 0 0; padding: 28px 0 0; border-top: 1px solid var(--hair-2); font-size: 15px; color: var(--text-2); }
.about-paper p { margin: 0 0 12px; }
.cite { margin-top: 20px !important; padding: 16px 20px; background: var(--band); font-size: 14px; }
.cite strong { color: var(--ink); }
.inline-cta { margin: 48px 0 0; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: 28px; background: var(--card); border: 1px solid var(--hair); }
.inline-cta p { flex: 1 1 320px; font-size: 17px; color: var(--text); }
.sources { margin: 56px 0 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.sources h2 { margin: 0 0 14px; font-size: 18px; font-weight: 600; }
.sources ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.sources li:target { background: #FFF4D6; }

/* ---------- Case study ---------- */
.results { background: var(--card); border-bottom: 1px solid var(--hair); }
.results .grid { padding-top: 48px; padding-bottom: 48px; --min: 200px; gap: 32px; }
.results .stat { padding-top: 14px; }
.case-body { padding-top: 64px; padding-bottom: 88px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 56px; align-items: start; }
.case-text { display: flex; flex-direction: column; gap: 40px; font-size: 18px; line-height: 1.65; color: var(--prose); }
.case-text h2 { margin: 0 0 14px; font-size: 20px; font-weight: 600; }
.case-text p + p { margin-top: 16px; }
.chart { margin: 0; background: var(--card); border: 1px solid var(--hair); padding: 32px; }
.chart figcaption { font-size: 22px; line-height: 1.3; color: var(--ink); margin: 0 0 6px; }
.chart__sub { margin: 0 0 28px; font-size: 14px; color: var(--muted); }
.chart__rows { display: flex; flex-direction: column; gap: 26px; }
.chart__row-head { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.chart__row-head span:first-child { font-weight: 600; }
.chart__row-head span:last-child { font-variant-numeric: tabular-nums; color: var(--muted); }
.bar { display: flex; height: 30px; gap: 2px; }
.bar > span { display: block; }
.c-slate { background: var(--slate); }
.c-brass { background: var(--brass); }
.c-ink { background: var(--ink); }
.legend { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--text-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; display: inline-block; }
.chart__source { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* ---------- About ---------- */
.profile { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.profile__card { flex: 0 1 320px; display: flex; flex-direction: column; gap: 14px; }
.profile__card img { display: block; aspect-ratio: 4 / 5; width: 100%; max-width: 320px; object-fit: cover; background: var(--band); }
.profile__name { font-size: 22px; font-weight: 600; color: var(--ink); }
.profile__links { display: flex; flex-direction: column; font-size: 15px; }
.profile__links a { display: inline-flex; min-height: 44px; align-items: center; }
.profile__bio { flex: 999 1 520px; min-width: 0; max-width: 720px; }
.profile__bio h2 { font-size: 36px; }
.bio-text { margin-top: 24px; display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 1.65; color: var(--prose); }
.rule-list { margin: 16px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.rule-list li { padding: 14px 0; border-bottom: 1px solid var(--hair); }
.rule-list--tight li { padding: 12px 0; }

/* ---------- Who we serve ---------- */
.audience { text-decoration: none; color: var(--text); background: var(--card); border: 1px solid var(--hair); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.audience__title { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.audience__body { color: var(--text-2); }
.audience__more { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 600; color: var(--ink); }
.audience:hover { border-color: var(--ink); }
.audience:hover .audience__more { text-decoration: underline; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; font-size: 17px; line-height: 1.65; color: var(--prose); }
.legal h2 { margin: 40px 0 12px; font-size: 22px; font-weight: 600; }
.legal p, .legal ul { margin: 0 0 16px; }
.legal ul { padding-left: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  :root { --gutter: 20px; --section: 64px; }
  .hero { padding-top: 64px; padding-bottom: 64px; }
  .cta-band { padding-top: 72px; padding-bottom: 72px; }
  .h2 { font-size: 30px; }
  .feature__main h2 { font-size: 30px; }
  .feature__stats { border-left: 0; padding-left: 0; border-top: 1px solid var(--on-dark-rule); padding-top: 28px; }
  .feature-link { padding: 28px; }
  .feature-link__title { font-size: 28px; }
  .contact-form { padding: 24px; }
  .panel { padding: 28px; }
  .chart { padding: 24px; }
  .profile__bio h2 { font-size: 30px; }

  .nav-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 2px; background: transparent; color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; }
  .js .main-nav { display: none; flex-basis: 100%; }
  .js .main-nav.is-open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--hair); }
  .main-nav > ul > li { border-bottom: 1px solid var(--hair); }
  .main-nav a { display: flex; padding: 4px 0; }
  .main-nav .nav-cta { justify-content: center; margin: 16px 0 4px; }
  .main-nav > ul > li:last-child { border-bottom: 0; }
  .subnav { display: block; position: static; border: 0; padding: 0 0 8px 16px; background: transparent; min-width: 0; }
  .subnav a { padding: 0; }
  .main-nav a[aria-current="page"], .main-nav .is-section > a { box-shadow: inset 3px 0 0 var(--brass); padding-left: 12px; }
  .main-nav .nav-cta[aria-current="page"] { padding-left: 0; }
}
@media (min-width: 861px) { .main-nav { display: block !important; } }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

@media print {
  .site-header, .site-footer, .article-aside, .inline-cta, .skip-link { display: none !important; }
  body { background: #FFFFFF; }
}
