/* Self-hosted variable fonts (SIL Open Font License): no third-party request at render time. */
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/PublicSans.woff2) format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: italic; font-weight: 100 900; font-display: swap; src: url(/fonts/PublicSans-Italic.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/fonts/SourceSerif4.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(/fonts/SourceSerif4-Italic.woff2) format("woff2"); }
/* Builders of Record. Direction 1, "Public record": ink on paper, rules do the work.
   Tokens from the Claude Design style sheet (2026-10-01); accent moved to orange at Josh's choice. */
:root {
  --paper: #FAF9F6;
  --ink: #16181D;
  --muted: #5B606A;
  --rule: #D6D2C9;
  --accent: #C2410C;        /* 4.9:1 on paper, passes for 15px text */
  --accent-dark: #9A3412;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --content: 1120px;
  --gutter: 40px;
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; line-height: 1.15; }
h1 { font-size: 60px; line-height: 1.04; letter-spacing: -0.015em; }
h2 { font-size: 30px; line-height: 1.2; }
h3 { font-size: 21px; }
p { margin: 0; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.wrap { max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.label.accent { color: var(--accent); }
.muted { color: var(--muted); }
.serif { font-family: var(--serif); }
.nums { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; z-index: 10; }

/* masthead */
.masthead { border-bottom: 3px double var(--ink); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; padding: 6px 0; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand .word { font-family: var(--serif); font-weight: 600; font-size: 23px; letter-spacing: -0.01em; line-height: 1; white-space: nowrap; }
.brand em, .wordmark em { font-weight: 500; font-style: italic; }
.nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav a[aria-current="page"] { padding-bottom: 8px; border-bottom: 2px solid var(--accent); }
.nav a:hover { color: var(--accent-dark); }

main { padding-top: 48px; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.crumbs a { color: var(--muted); }

/* home */
.hero { padding: 72px 0 40px; border-bottom: 3px double var(--ink); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.hero svg { width: 56px; height: 56px; }
.hero h1 { font-size: 80px; line-height: 1; letter-spacing: -0.02em; }
.hero p { max-width: 680px; font-family: var(--serif); font-size: 24px; line-height: 1.4; }
.edition-line { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 32px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--ink); }
.edition-line p { font-family: var(--serif); font-size: 21px; line-height: 1.5; }
.edition-line .more { font-size: 15px; font-weight: 600; white-space: nowrap; padding: 10px 0; }
.section { margin-top: 72px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.cols3 { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.col-head { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 12px 0 10px; }
.ranked { list-style: none; margin: 0; padding: 0; font-size: 16px; line-height: 1.35; }
.ranked li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.ranked li:last-child { border-bottom-color: var(--ink); }
.ranked li span:first-child { color: var(--muted); }
.ranked a { color: var(--ink); text-decoration-color: var(--rule); }
.ranked a:hover { text-decoration-color: var(--accent); }
.note-line { margin-top: 28px; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 15px; display: flex; gap: 16px; flex-wrap: wrap; align-items: baseline; }
.note-line a { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--ink); text-decoration-color: var(--accent); }
.how { margin-top: 72px; border-top: 2px solid var(--ink); padding-top: 28px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; }
.how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.how li { display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.55; }

/* firm page */
.firm-h1 { margin-top: 14px; max-width: 960px; }
.role-line { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 16px; }
.role-line .role { font-weight: 600; color: var(--accent); }
.role-line .sep { color: var(--rule); }
.two-col { margin-top: 40px; border-top: 2px solid var(--ink); padding-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.note { max-width: 660px; }
.note p { margin-top: 14px; font-family: var(--serif); font-size: 21px; line-height: 1.62; text-wrap: pretty; }
.byline { margin-top: 28px; display: flex; align-items: center; gap: 14px; }
.byline .avatar { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 600; font-size: 16px; flex: none; }
.byline .who { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.byline .who span:first-child { font-size: 15px; font-weight: 600; }
.byline .who span:last-child { font-size: 14px; color: var(--muted); }
.facts { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.facts h2 { padding: 14px 0 12px; font-size: 20px; }
.facts dl { margin: 0; font-size: 15px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.facts dl > div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 10px 0; border-top: 1px solid var(--rule); }
.facts dt { color: var(--muted); white-space: nowrap; }
.facts dd { margin: 0; font-weight: 600; text-align: right; text-wrap: balance; }
.contact-h { margin-top: 24px; padding: 12px 0 10px; border-top: 2px solid var(--ink); font-size: 20px; }
.contact { margin: 0; font-size: 15px; line-height: 1.4; }
.contact > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 9px 0; border-top: 1px solid var(--rule); }
.contact dt { color: var(--muted); }
.contact dd { margin: 0; overflow-wrap: anywhere; }
.fine-print { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.spark { display: block; max-width: 100%; height: auto; margin-top: 8px; }
.table-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.table-head a { font-size: 14px; font-weight: 600; }
.sub { margin: 6px 0 20px; font-size: 15px; color: var(--muted); }
.rec { font-size: 15px; line-height: 1.4; }
.rec thead tr { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.rec th { text-align: left; padding: 10px 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); vertical-align: bottom; }
.rec th:first-child, .rec td:first-child { padding-left: 0; }
.rec th:last-child, .rec td:last-child { padding-right: 0; }
.rec td { padding: 13px 12px; vertical-align: top; border-bottom: 1px solid var(--rule); }
.rec tbody tr:last-child td { border-bottom-color: var(--ink); }
.rec td.addr { font-weight: 600; }
.rec .r, .rec th.r { text-align: right; white-space: nowrap; }
.rec .nw { white-space: nowrap; }
.rec .desc { color: var(--muted); font-size: 14px; display: block; margin-top: 2px; }
.rec .job { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; }
.works { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 16px; }
.works a { color: var(--ink); text-decoration-color: var(--rule); }
.works .n { color: var(--muted); font-size: 14px; margin-left: 6px; }
.source { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--ink); font-size: 14px; color: var(--muted); display: flex; gap: 10px 24px; flex-wrap: wrap; }

.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.mini { font-size: 15px; line-height: 1.4; max-width: 420px; }
.mini thead tr { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.mini th { text-align: left; padding: 8px 0; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mini td { padding: 9px 0; border-bottom: 1px solid var(--rule); }
.mini tbody tr:last-child td { border-bottom-color: var(--ink); }
.mini .r, .mini th.r { text-align: right; font-variant-numeric: tabular-nums; }
.city-head { margin-top: 72px; padding-top: 16px; border-top: 3px double var(--ink); font-size: 36px; }

/* edition */
.ed-head h1 { margin-top: 12px; }
.ed-head .dek { margin-top: 16px; font-family: var(--serif); font-size: 24px; line-height: 1.4; max-width: 760px; }
.ed-grid { margin-top: 40px; border-top: 2px solid var(--ink); padding-top: 28px; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 64px; align-items: start; }
.citywide { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 14px 0; display: flex; flex-direction: column; gap: 6px; }
.citywide .big { font-family: var(--serif); font-weight: 600; font-size: 48px; line-height: 1.05; }
.citywide .delta { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--rule); font-size: 15px; color: var(--muted); }
.lede p { font-family: var(--serif); font-size: 21px; line-height: 1.62; text-wrap: pretty; }
.lede p + p { margin-top: 16px; }
.rank { font-size: 15px; line-height: 1.4; }
.rank thead tr { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.rank th { text-align: left; padding: 10px 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.rank td { padding: 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.rank th:first-child, .rank td:first-child { padding-left: 0; width: 56px; color: var(--muted); }
.rank th:last-child, .rank td:last-child { padding-right: 0; }
.rank tbody tr:last-child td { border-bottom-color: var(--ink); }
.rank td.firm { font-weight: 600; }
.rank td.firm a { color: var(--ink); text-decoration-color: var(--rule); }
.rank .r, .rank th.r { text-align: right; white-space: nowrap; }

/* about, method, contact */
.about { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 72px; align-items: start; }
.portrait { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.portrait .ph { aspect-ratio: 4 / 5; border: 1px solid var(--ink); background: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--muted); }
.portrait img { width: 100%; height: auto; display: block; border: 1px solid var(--ink); }
.prose { max-width: 680px; }
.prose h1 { margin-top: 12px; }
.prose .pull { margin-top: 18px; padding: 14px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.3; }
.prose p.lead { margin-top: 28px; font-family: var(--serif); font-size: 21px; line-height: 1.62; }
.prose p.lead + p.lead { margin-top: 18px; }
.prose h2 { margin-top: 40px; font-size: 24px; }
.prose h2 + p, .prose p + p { margin-top: 14px; }
.prose p { font-size: 17px; line-height: 1.6; }
.prose ul { margin: 14px 0 0; padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.aside { margin-top: 36px; border-top: 1px solid var(--ink); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.aside + .aside { border-top-color: var(--rule); margin-top: 28px; }
.aside p { font-size: 16px; line-height: 1.6; }

/* footer */
footer { margin-top: 96px; border-top: 3px double var(--ink); }
footer .wrap { padding-top: 28px; padding-bottom: 48px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; font-size: 14px; line-height: 1.55; }
footer .brand { padding: 0; }
footer .brand svg { width: 22px; height: 22px; }
footer .brand .word { font-size: 18px; }
footer .col { display: flex; flex-direction: column; gap: 10px; }
footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; align-content: start; }
footer .fine { display: flex; flex-direction: column; gap: 6px; color: var(--muted); }

@media (max-width: 960px) {
  :root { --gutter: 24px; }
  h1 { font-size: 44px; }
  .hero h1 { font-size: 56px; }
  .two-col, .ed-grid, .about, .how, .grid2 { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cols3, .how ol { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .edition-line { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  footer .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .portrait { max-width: 300px; }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  html { font-size: 16px; }
  h1 { font-size: 36px; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: 44px; }
  .hero p { font-size: 19px; }
  .note p, .lede p, .prose p.lead { font-size: 18px; line-height: 1.6; }
  .nav { gap: 18px; font-size: 14px; }
  /* tables become stacked lists */
  .rec thead, .rank thead { position: absolute; left: -9999px; }
  .rec tr, .rank tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .rec td, .rank td { display: block; padding: 2px 0; border: 0; text-align: left; white-space: normal; }
  .rec td.r, .rank td.r { text-align: left; }
  .rec td[data-l]::before, .rank td[data-l]::before { content: attr(data-l) ": "; color: var(--muted); font-size: 13px; }
  .rec tbody tr:last-child, .rank tbody tr:last-child { border-bottom-color: var(--ink); }
}
@media print {
  .nav, .skip, footer nav { display: none; }
  a { color: var(--ink); text-decoration: none; }
}
