/* ===========================================================================
   PEER GROUP GUIDE — house style.

   Rules behind the rules:
   · It reads like a research desk, not a product. Newsreader carries every
     heading and every paragraph; IBM Plex Sans handles navigation, labels,
     tables and figures (tabular numerals on).
   · Colour identifies, it does not decorate. Slate is the working accent
     (links, eyebrows, rules); bronze marks verification and provenance;
     verdigris and signal-red are reserved for the qualification statuses.
   · Boxes are rules. Panels, tables, ledgers and notes are separated by
     hairlines on the paper, never floated as bordered cards.
   =========================================================================== */
@import url("/static/fonts/fonts.css");

:root {
  --paper:    #F5F4EF;
  --paper-2:  #ECEAE2;
  --paper-3:  #FBFAF7;
  --ink:      #15181D;
  --ink-2:    #454A52;
  --ink-3:    #6F747C;
  --rule:     #D8D5CC;
  --rule-2:   #BDB9AE;
  --slate:    #2F4460;
  --slate-soft: #E3E8EE;
  --bronze:   #9A6B2F;
  --bronze-soft: #F1E7D8;
  --verdigris:#2E6F6B;
  --verdigris-soft: #DDEBE9;
  --signal:   #8E2B2B;
  --signal-soft: #F3E1E1;
  --amber:    #8A6D1F;
  --amber-soft: #F4ECD6;
  --accent:   var(--slate);
  --maxw: 1240px;
  --prose: 42rem;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper:    #15171B;
  --paper-2:  #1C1F24;
  --paper-3:  #202329;
  --ink:      #ECE9E1;
  --ink-2:    #C3BFB5;
  --ink-3:    #8F8B83;
  --rule:     #333740;
  --rule-2:   #474C56;
  --slate:    #9DB4D2;
  --slate-soft: #232B36;
  --bronze:   #D0A365;
  --bronze-soft: #2C251B;
  --verdigris:#7CBFB9;
  --verdigris-soft: #1C2E2C;
  --signal:   #D98686;
  --signal-soft: #331F1F;
  --amber:    #D6B463;
  --amber-soft: #2E2917;
  color-scheme: dark;
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--serif); font-size: 1.06rem; line-height: 1.58;
  font-variation-settings: "opsz" 16;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; text-underline-offset: .18em; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; border-radius: 2px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5rem; letter-spacing: -.005em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-variation-settings: "opsz" 60; font-weight: 500; }
h2 { font-size: 1.55rem; font-variation-settings: "opsz" 36; }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1rem; }
small, .fineprint { font-family: var(--sans); font-size: .8rem; color: var(--ink-3); line-height: 1.45; }
b, strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2rem 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: var(--paper-2); padding: .05em .3em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper-3); padding: .5rem 1rem; z-index: 100; }
.muted { color: var(--ink-3); }
.eyebrow { font-family: var(--sans); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 .6rem; font-weight: 500; }
.lede { font-size: 1.22rem; line-height: 1.5; color: var(--ink-2); max-width: var(--prose); font-variation-settings: "opsz" 20; }
.metaline { font-family: var(--sans); font-size: .82rem; color: var(--ink-3); }
.kicker { font-family: var(--sans); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: .35rem; }
.badge { font-family: var(--sans); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; padding: .12em .5em; border: 1px solid var(--rule-2); color: var(--ink-2); vertical-align: middle; margin-inline-start: .4rem; white-space: nowrap; }
.badge.commercial { border-color: var(--bronze); color: var(--bronze); }
.guided-only { display: none; }
:root[data-view="guided"] .guided-only { display: block; }
.guided-only { background: var(--slate-soft); border-inline-start: 2px solid var(--slate); padding: .6rem .9rem; font-size: .98rem; color: var(--ink-2); }

/* ------------------------------------------------------------ topbar */
.topbar {
  display: flex; align-items: center; gap: .9rem; padding: .55rem 1.2rem;
  border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 40;
  font-family: var(--sans);
}
.brandmark { display: flex; align-items: center; gap: .6rem; color: var(--ink); flex: 0 0 auto; min-width: auto; }
.brandmark:hover { text-decoration: none; }
.mark { display: inline-flex; flex-direction: column; gap: 3px; width: 20px; }
.mark i { display: block; height: 2px; background: var(--ink); }
.mark i:nth-child(2) { width: 70%; }
.wordmark { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; letter-spacing: -.01em; line-height: 1; display: flex; flex-direction: column; }
.wordmark .sub { font-family: var(--sans); font-size: .62rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: .3rem; }
.mainnav { display: flex; align-items: center; gap: .1rem; margin-inline-start: .6rem; }
.mainnav > a, .mainnav .ddbtn { color: var(--ink); font-size: .9rem; padding: .45rem .6rem; border-radius: 2px; white-space: nowrap; }
.mainnav > a:hover, .mainnav .ddbtn:hover { background: var(--paper-2); text-decoration: none; }
.dd { position: relative; }
.ddmenu { display: none; position: absolute; top: 100%; inset-inline-start: 0; background: var(--paper-3); border: 1px solid var(--rule); min-width: 15rem; padding: .4rem 0; z-index: 50; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.ddmenu.open { display: block; }
.ddmenu a { display: block; padding: .42rem 1rem; color: var(--ink); font-size: .88rem; }
.ddmenu a:hover { background: var(--paper-2); text-decoration: none; }
.ddmenu .sep { border-top: 1px solid var(--rule); margin: .35rem 0; }
.searchwrap { margin-inline-start: auto; position: relative; flex: 0 1 22rem; }
#searchBox { width: 100%; padding: .48rem .8rem; border: 1px solid var(--rule-2); background: var(--paper-3); color: var(--ink); font-family: var(--sans); font-size: .9rem; border-radius: 2px; }
.searchresults { display: none; position: absolute; top: calc(100% + 4px); inset-inline: 0; background: var(--paper-3); border: 1px solid var(--rule); z-index: 60; max-height: 24rem; overflow: auto; box-shadow: 0 10px 28px rgba(0,0,0,.1); }
.searchresults.open { display: block; }
.sr-group { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: .5rem .8rem .2rem; }
.sr-item { display: block; padding: .4rem .8rem; color: var(--ink); font-size: .9rem; }
.sr-item small { display: block; color: var(--ink-3); }
.sr-item:hover, .sr-item.sel { background: var(--paper-2); text-decoration: none; }
.iconbtn { background: none; border: 1px solid transparent; color: var(--ink); font-size: 1.05rem; width: 2.2rem; height: 2.2rem; cursor: pointer; border-radius: 2px; position: relative; display: inline-flex; align-items: center; justify-content: center; }
.iconbtn:hover { background: var(--paper-2); }
.burger { display: none; }
.favbadge { position: absolute; top: -2px; inset-inline-end: -2px; font-size: .6rem; background: var(--bronze); color: #fff; border-radius: 999px; padding: 0 .35em; line-height: 1.4; }

/* ------------------------------------------------------------ offcanvas */
.offcanvas { position: fixed; top: 0; bottom: 0; width: min(88vw, 22rem); background: var(--paper-3); z-index: 80; transform: translateX(-104%); transition: transform .22s ease; overflow: auto; padding: .6rem 1rem 2rem; border-inline-end: 1px solid var(--rule); font-family: var(--sans); }
.offcanvas.left { inset-inline-start: 0; }
.offcanvas.right { inset-inline-end: 0; inset-inline-start: auto; transform: translateX(104%); border-inline-end: 0; border-inline-start: 1px solid var(--rule); }
.offcanvas.open { transform: none; }
.oc-head { display: flex; justify-content: space-between; align-items: center; padding: .4rem 0 .8rem; border-bottom: 1px solid var(--rule); margin-bottom: .6rem; }
.oc-close { background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }
.offcanvas a { display: block; padding: .45rem 0; color: var(--ink); border-bottom: 1px solid var(--rule); }
.offcanvas details { margin: .4rem 0; }
.offcanvas summary { cursor: pointer; padding: .5rem 0; font-weight: 600; }
.offcanvas details a { padding-inline-start: .8rem; font-size: .92rem; }
.oc-row { display: flex; justify-content: space-between; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--rule); }
.oc-note { padding: .8rem 0; font-size: .9rem; border-bottom: 1px solid var(--rule); }
.oc-note p { margin-bottom: .6rem; }
.oc-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 70; }
.oc-backdrop.open { display: block; }
.lang-sel { font-family: var(--sans); font-size: .85rem; padding: .3rem .4rem; background: var(--paper-3); color: var(--ink); border: 1px solid var(--rule-2); }

/* ------------------------------------------------------------ trust strip */
.trust { border-bottom: 1px solid var(--rule); background: var(--paper-2); font-family: var(--sans); font-size: .78rem; color: var(--ink-2); }
.strip-in { max-width: var(--maxw); margin: 0 auto; padding: .42rem 1.2rem; display: flex; gap: 1.6rem; flex-wrap: wrap; }
.strip-in b { color: var(--ink); }

/* ------------------------------------------------------------ page */
.page { max-width: var(--maxw); margin: 0 auto; padding: 1.6rem 1.2rem 3rem; }
.page.narrow { max-width: 56rem; }
.crumbs { font-family: var(--sans); font-size: .78rem; color: var(--ink-3); margin-bottom: 1.2rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs .sep { color: var(--rule-2); }
.crumbs a { color: var(--ink-3); }
.pagehead { padding-bottom: 1.2rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--rule); }
.pagehead.rule-accent { border-bottom: 2px solid var(--accent); }
.pagehead h1 { max-width: 46rem; }
.sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-top: 2px solid var(--ink); padding-top: .55rem; margin: 2.4rem 0 1rem; }
.sechead h2 { margin: 0; }
.sechead a, .sechead .fineprint { font-family: var(--sans); font-size: .82rem; white-space: nowrap; }
section { margin: 0 0 1.2rem; }
.prose { max-width: var(--prose); }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.4rem; }
.prose ul, .prose ol { padding-inline-start: 1.3rem; }
.prose li { margin-bottom: .35rem; }
.prose table { width: 100%; }
.note { background: var(--paper-2); border-inline-start: 2px solid var(--accent); padding: .8rem 1rem; margin: 1rem 0; font-size: .98rem; }
.note.warn { border-color: var(--signal); }
.note.bronze { border-color: var(--bronze); }
.note p:last-child { margin-bottom: 0; }
.missingline { color: var(--ink-3); font-family: var(--sans); font-size: .92rem; }

/* ------------------------------------------------------------ buttons, chips */
.btn { display: inline-block; font-family: var(--sans); font-size: .9rem; font-weight: 500; padding: .6rem 1.1rem; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 2px; cursor: pointer; line-height: 1.2; }
.btn:hover { background: var(--slate); border-color: var(--slate); text-decoration: none; color: #fff; }
.btn.quiet { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn.quiet:hover { background: var(--paper-2); color: var(--ink); }
.btn.sm { font-size: .8rem; padding: .42rem .8rem; }
.btn.bronze { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { display: inline-block; font-family: var(--sans); font-size: .8rem; padding: .28rem .7rem; border: 1px solid var(--rule-2); border-radius: 999px; color: var(--ink); background: var(--paper-3); }
.chip:hover { border-color: var(--ink); text-decoration: none; }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.fav { background: none; border: 0; color: var(--rule-2); font-size: 1rem; cursor: pointer; padding: 0 .3rem 0 0; vertical-align: baseline; }
.fav.on, .fav:hover { color: var(--bronze); }

/* ------------------------------------------------------------ grids, cards */
.grid { display: grid; gap: 1.2rem 1.6rem; }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { display: block; color: var(--ink); border-top: 1px solid var(--rule); padding-top: .8rem; }
.card:hover { text-decoration: none; }
.card:hover h3 { color: var(--accent); }
.card h3 { margin: .1rem 0 .35rem; font-size: 1.15rem; }
.card p { font-size: .95rem; color: var(--ink-2); margin-bottom: .4rem; }
.card .meta { font-family: var(--sans); font-size: .76rem; color: var(--ink-3); }
.card .ph { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); margin-bottom: .7rem; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.linklist { columns: 2; column-gap: 2rem; }
.linklist a { display: block; padding: .45rem 0; border-bottom: 1px solid var(--rule); break-inside: avoid; }
.pathlist { list-style: none; padding: 0; margin: 0; counter-reset: p; }
.pathlist li a { display: flex; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--rule); color: var(--ink); align-items: baseline; }
.pathlist .n { font-family: var(--sans); color: var(--bronze); font-variant-numeric: tabular-nums; min-width: 2.2rem; }
.pathlist .t span { display: block; color: var(--ink-3); font-size: .92rem; }

/* ------------------------------------------------------------ ledger (facts) */
.facts { border-top: 1px solid var(--rule); }
.facts .row { display: grid; grid-template-columns: minmax(9rem, 14rem) 1fr; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--rule); }
.facts .k { font-family: var(--sans); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding-top: .2rem; }
.facts .v { font-size: 1rem; }
.facts .v.missing { color: var(--ink-3); font-style: italic; }
.facts .note, .facts .src { display: block; font-family: var(--sans); font-size: .78rem; color: var(--ink-3); margin-top: .15rem; }
.facts.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.4rem; border-top: 0; }
.facts.two .row { grid-template-columns: minmax(8rem, 11rem) 1fr; }

/* ------------------------------------------------------------ tables */
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1rem; position: relative;
  background: linear-gradient(to right, var(--paper) 30%, rgba(0,0,0,0)), linear-gradient(to left, var(--paper) 30%, rgba(0,0,0,0)),
              linear-gradient(to right, rgba(0,0,0,.08), rgba(0,0,0,0)), linear-gradient(to left, rgba(0,0,0,.08), rgba(0,0,0,0));
  background-position: left, right, left, right; background-repeat: no-repeat; background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%; background-attachment: local, local, scroll, scroll; }
table.data { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .88rem; font-variant-numeric: tabular-nums; }
table.data th { text-align: left; font-weight: 500; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: .5rem .6rem; border-bottom: 1px solid var(--ink); white-space: nowrap; }
table.data td { padding: .58rem .6rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.data .name { text-align: left; }
table.data td.name a { color: var(--ink); }
table.data td.name small { display: block; color: var(--ink-3); font-size: .76rem; margin-top: .1rem; }
table.data .num, table.data th.num { text-align: right; }
table.data caption { caption-side: bottom; text-align: left; font-size: .78rem; color: var(--ink-3); padding: .6rem 0; }
table.sortable th { cursor: pointer; }
table.sortable th[data-dir="asc"]::after { content: " ↑"; }
table.sortable th[data-dir="desc"]::after { content: " ↓"; }
.tablewrap.pin table.data td.name, .tablewrap.pin table.data th.name { position: sticky; left: 0; background: var(--paper); z-index: 1; }
.prov { display: flex; flex-wrap: wrap; gap: .25rem .6rem; font-size: .74rem; color: var(--ink-3); }
.prov .stale { color: var(--amber); }
.conf { border: 1px solid var(--rule-2); padding: 0 .4em; border-radius: 2px; }
.conf-high { border-color: var(--verdigris); color: var(--verdigris); }
.conf-low { border-color: var(--amber); color: var(--amber); }
.origin { color: var(--bronze); }
.srclink { white-space: nowrap; }
.undisclosed { color: var(--ink-3); font-style: italic; }
.tier { font-size: .7rem; color: var(--ink-3); border: 1px solid var(--rule); padding: 0 .35em; margin-inline-start: .3rem; }

/* comparison table */
table.cmp { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .88rem; }
table.cmp th { text-align: left; padding: .6rem; border-bottom: 2px solid var(--ink); font-weight: 600; vertical-align: bottom; background: var(--paper); position: sticky; top: 3.4rem; z-index: 2; }
table.cmp th.rowlab { font-weight: 500; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--rule); position: static; background: none; width: 14rem; vertical-align: top; padding-top: .7rem; }
table.cmp td { padding: .6rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.cmp td.diff { box-shadow: inset 3px 0 0 var(--bronze); }
table.cmp tr.grp td { padding: 1.2rem .6rem .3rem; border-bottom: 1px solid var(--ink); font-family: var(--serif); font-size: 1.1rem; font-weight: 500; }
table.cmp .sub { display: block; font-size: .74rem; color: var(--ink-3); margin-top: .15rem; }
table.cmp .nd { color: var(--ink-3); font-style: italic; }

/* ------------------------------------------------------------ forms */
.facets { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: .8rem 1rem; padding: 1rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-family: var(--sans); }
.facet label { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .3rem; }
.facet select, .facet input, .facet textarea, .field select, .field input, .field textarea {
  width: 100%; padding: .5rem .6rem; border: 1px solid var(--rule-2); background: var(--paper-3); color: var(--ink); font-family: var(--sans); font-size: .9rem; border-radius: 2px; }
.facetbar { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: .8rem 0 1rem; font-family: var(--sans); }
.field { margin-bottom: 1rem; }
.field > label { display: block; font-family: var(--sans); font-size: .78rem; letter-spacing: .04em; color: var(--ink-2); margin-bottom: .3rem; font-weight: 500; }
.field .help { display: block; font-family: var(--sans); font-size: .76rem; color: var(--ink-3); margin-top: .25rem; }
.field.check label { display: inline-flex; gap: .45rem; align-items: flex-start; font-size: .92rem; letter-spacing: 0; text-transform: none; font-weight: 400; margin-inline-end: 1.2rem; margin-bottom: .4rem; }
.fieldset { border: 0; padding: 0; margin: 0 0 2rem; }
.fieldset legend { font-family: var(--serif); font-size: 1.3rem; padding: 0; margin-bottom: .2rem; border-top: 2px solid var(--ink); width: 100%; padding-top: .5rem; }
.fieldset .fineprint { margin-bottom: .8rem; }
.fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .3rem 1.4rem; }
textarea { min-height: 7rem; }

/* ------------------------------------------------------------ hero / front */
.hero { border-bottom: 1px solid var(--rule); background: var(--paper); }
.hero-in { max-width: var(--maxw); margin: 0 auto; padding: 2.2rem 1.2rem 2rem; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.4rem; align-items: end; }
.hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); font-weight: 500; max-width: 15ch; }
.hero .lede { font-size: 1.25rem; }
.hero-fig { margin: 0; }
.hero-fig img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
figure { margin: 0 0 1rem; }
figcaption { font-family: var(--sans); font-size: .78rem; color: var(--ink-3); padding: .4rem 0 0; line-height: 1.4; }
.cred { display: block; font-size: .7rem; color: var(--ink-3); }
.cred a { color: var(--ink-3); }
.bigsearch { display: flex; gap: .5rem; max-width: 40rem; margin: 1.2rem 0 0; }
.bigsearch input { flex: 1; padding: .8rem 1rem; font-family: var(--sans); font-size: 1rem; border: 1px solid var(--rule-2); background: var(--paper-3); color: var(--ink); }
.front { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 2.4rem; }
.ledger { font-family: var(--sans); font-size: .88rem; border-top: 2px solid var(--ink); }
.ledger .lrow { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.ledger .lrow b { font-variant-numeric: tabular-nums; }
.ledger .lhead { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: .6rem 0 .2rem; }
.deskrow { display: flex; flex-wrap: wrap; border-top: 1px solid var(--rule); }
.deskrow a { flex: 1 1 14rem; padding: .8rem 1rem .8rem 0; border-bottom: 1px solid var(--rule); color: var(--ink); display: flex; justify-content: space-between; gap: .6rem; align-items: baseline; }
.deskrow a b { font-weight: 500; }
.deskrow a span { font-family: var(--sans); font-size: .78rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pairlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.pairlist li a { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--rule); color: var(--ink); align-items: baseline; }
.pairlist li a span { font-family: var(--sans); font-size: .78rem; color: var(--ink-3); white-space: nowrap; }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem; align-items: start; }
.stat { font-family: var(--sans); }
.stat b { font-family: var(--serif); font-size: 2rem; font-weight: 500; display: block; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: .78rem; color: var(--ink-3); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 1rem; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 1rem 0; }
.changes-list { list-style: none; padding: 0; margin: 0; font-family: var(--sans); font-size: .88rem; }
.changes-list li { padding: .55rem 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; }
.changes-list time { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.changes-list .from { color: var(--ink-3); text-decoration: line-through; }

/* ------------------------------------------------------------ organization page */
.orghead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; align-items: start; padding-bottom: 1.4rem; border-bottom: 2px solid var(--ink); margin-bottom: 1.6rem; }
.orghead.nofig { grid-template-columns: 1fr; }
.orghead h1 { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.orghead .actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; font-family: var(--sans); }
.keyfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 1rem 0; margin-bottom: 1.6rem; font-family: var(--sans); }
.keyfacts div { font-size: .92rem; }
.keyfacts .k { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .2rem; }
.keyfacts .v { font-family: var(--serif); font-size: 1.15rem; }
.keyfacts .v.nd { color: var(--ink-3); font-style: italic; font-size: 1rem; }
.featlist { columns: 2; column-gap: 2rem; font-family: var(--sans); font-size: .9rem; }
.featlist .fg { break-inside: avoid; margin-bottom: 1rem; }
.featlist .fg b { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .3rem; }
.featlist .f { display: flex; justify-content: space-between; gap: .6rem; padding: .32rem 0; border-bottom: 1px solid var(--rule); }
.featlist .f span:last-child { color: var(--ink-3); }
.featlist .f.yes span:last-child { color: var(--verdigris); }
.featlist .f.no span:last-child { color: var(--ink-3); }
.verify { display: flex; flex-wrap: wrap; gap: 1.2rem; font-family: var(--sans); font-size: .8rem; color: var(--ink-2); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); padding: .7rem 0; margin: 2rem 0 1rem; }
.verify .stale { color: var(--amber); }
.sources ol { padding-inline-start: 1.3rem; font-size: .9rem; }
.sources li { margin-bottom: .35rem; }
.sources .pub { color: var(--ink-3); }
.relgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0 1.4rem; border-top: 1px solid var(--rule); }
.relgrid a { display: block; padding: .6rem 0; border-bottom: 1px solid var(--rule); color: var(--ink); }
.relgrid a b { font-weight: 500; display: block; }
.relgrid a span { font-family: var(--sans); font-size: .76rem; color: var(--ink-3); }
.timeline { list-style: none; padding: 0; margin: 0; border-inline-start: 2px solid var(--rule); }
.timeline li { padding: .3rem 0 .6rem 1.2rem; position: relative; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: -6px; top: .75rem; width: 10px; height: 10px; border-radius: 50%; background: var(--bronze); }
.timeline time { font-family: var(--sans); font-size: .76rem; color: var(--ink-3); display: block; }
.alt-group { margin-bottom: 1.6rem; }
.alt-group h3 { margin-bottom: .2rem; }
.alt-group .why { font-family: var(--sans); font-size: .82rem; color: var(--ink-3); margin-bottom: .5rem; }
.reasons { font-family: var(--sans); font-size: .76rem; color: var(--ink-3); }

/* ------------------------------------------------------------ qualify */
.status { font-family: var(--sans); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: .2em .6em; border: 1px solid; border-radius: 2px; white-space: nowrap; }
.s-strong { color: var(--verdigris); border-color: var(--verdigris); background: var(--verdigris-soft); }
.s-potential { color: var(--verdigris); border-color: var(--verdigris); }
.s-likely { color: var(--slate); border-color: var(--slate); }
.s-uncertain { color: var(--amber); border-color: var(--amber); }
.s-probably_not { color: var(--signal); border-color: var(--signal); }
.s-clearly_not { color: var(--signal); border-color: var(--signal); background: var(--signal-soft); }
.result { border-top: 1px solid var(--rule); padding: 1rem 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.6rem; }
.result h3 { margin: .3rem 0 .2rem; font-size: 1.25rem; }
.result .why ul { margin: 0 0 .4rem; padding-inline-start: 1.1rem; font-family: var(--sans); font-size: .88rem; }
.result .why b { font-family: var(--sans); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); display: block; margin-top: .5rem; }
.result .why .met { color: var(--verdigris); }
.result .why .missed { color: var(--signal); }
.result .why .unclear { color: var(--amber); }
.fitbar { height: 4px; background: var(--rule); margin: .5rem 0; position: relative; max-width: 14rem; }
.fitbar i { position: absolute; inset: 0 auto 0 0; background: var(--slate); }
.qsummary { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .8rem; margin: 1.2rem 0; font-family: var(--sans); }
.qsummary a { display: block; border-top: 2px solid var(--rule); padding-top: .5rem; color: var(--ink); }
.qsummary a b { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; display: block; line-height: 1; }
.qsummary a span { font-size: .74rem; color: var(--ink-3); }

/* ------------------------------------------------------------ map */
.mapwrap { position: relative; border: 1px solid var(--rule); background: var(--paper-3); }
#worldmap { width: 100%; height: auto; display: block; }
#worldmap .land path { fill: var(--paper-2); stroke: var(--rule-2); stroke-width: .5; }
#worldmap .mp circle { fill: var(--bronze); stroke: var(--paper); stroke-width: 1; cursor: pointer; }
#worldmap .mp:hover circle { fill: var(--ink); }
.mapcard { display: none; position: absolute; background: var(--paper-3); border: 1px solid var(--rule-2); padding: .4rem .6rem; font-family: var(--sans); font-size: .8rem; pointer-events: none; z-index: 3; }
.mapwrap.small { max-width: 34rem; }

/* ------------------------------------------------------------ ask */
.askbox { width: 100%; padding: .8rem; font-family: var(--serif); font-size: 1.05rem; border: 1px solid var(--rule-2); background: var(--paper-3); color: var(--ink); }
#askOut .answer { font-size: 1.05rem; }

/* ------------------------------------------------------------ pager */
.pager { display: flex; justify-content: space-between; align-items: center; font-family: var(--sans); font-size: .86rem; padding: 1rem 0; border-top: 1px solid var(--rule); }

/* ------------------------------------------------------------ footer */
.footer { border-top: 2px solid var(--ink); margin-top: 3rem; background: var(--paper); }
.footer-in { max-width: var(--maxw); margin: 0 auto; padding: 2rem 1.2rem; font-family: var(--sans); }
.fcols { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 1.4rem; }
.fcol b { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .6rem; }
.fcol a { display: block; color: var(--ink); font-size: .88rem; padding: .18rem 0; }
.fsub { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 1.8rem 0 1rem; padding: 1rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.fsub input { flex: 1 1 16rem; padding: .55rem .7rem; border: 1px solid var(--rule-2); background: var(--paper-3); color: var(--ink); font-family: var(--sans); }
.f-family { font-size: .82rem; color: var(--ink-3); margin: .6rem 0 1rem; }
.flegal { font-family: var(--serif); font-size: .84rem; color: var(--ink-3); max-width: 60rem; }
.flegal p { margin-bottom: .6rem; }
.fbottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .8rem; color: var(--ink-3); border-top: 1px solid var(--rule); padding-top: 1rem; margin-top: 1rem; }
.fbottom .row { display: flex; gap: 1rem; align-items: center; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1180px) { .wordmark .sub { display: none; } }
@media (max-width: 1080px) {
  .mainnav > a, .mainnav .ddbtn { font-size: .84rem; padding: .4rem .45rem; }
  .mainnav, .mainnav > * { flex-shrink: 0; }
  .searchwrap { flex-basis: 15rem; min-width: 6rem; }
  .fcols { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 950px) {
  .mainnav { display: none; }
  .burger { display: inline-flex; }
  .wordmark .sub { display: none; }
  .hero-in, .front, .feature, .orghead, .result { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .g3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .facts.two { grid-template-columns: 1fr; }
  .featlist, .linklist { columns: 1; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .topbar { gap: .5rem; padding: .5rem .8rem; flex-wrap: wrap; }
  .wordmark { font-size: 1.1rem; }
  .searchwrap { flex-basis: 100%; order: 10; }
  .page { padding: 1.2rem .9rem 2.4rem; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .facts .row { grid-template-columns: 1fr; gap: .15rem; }
  .fcols { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hide-sm { display: none !important; }
  .qsummary { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .changes-list li { grid-template-columns: 1fr; gap: .1rem; }
  table.cmp th.rowlab { width: 8rem; }
  table.cmp th { position: static; }
  .strip-in { gap: .6rem; font-size: .72rem; }
  .strip-in span:nth-child(3) { display: none; }
  /* iOS zooms on any field under 16px: list the real selectors, an ID beats a tag rule. */
  input, select, textarea, #searchBox, .facet select, .facet input, .field select, .field input, .field textarea, .fsub input, .askbox, .bigsearch input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .offcanvas { transition: none; }
}
@media print {
  .topbar, .trust, .offcanvas, .footer .fsub, .fcols, .verify a, .fav, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ===========================================================================
   Imagery — bands, tiles, thumbnails (added 9 Sep 2026).
   Headings sit ON the photograph, white over a dark gradient; credits stay
   visible on the image; tiles vary in size so a page never becomes a grid of
   identical cards.
   =========================================================================== */
.band { position: relative; margin: 0 0 1.8rem; background: #22262c; color: #fff; overflow: hidden; min-height: 320px; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,16,.15) 0%, rgba(10,12,16,.35) 45%, rgba(10,12,16,.82) 100%); }
.band .in { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 4.2rem 1.2rem 1.6rem; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; }
.band.tall .in, .band.tall { min-height: 460px; }
.band .eyebrow { color: rgba(255,255,255,.82); }
.band .eyebrow a { color: #fff; }
.band h1 { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35); max-width: 22ch; margin-bottom: .4rem; }
.band .lede { color: rgba(255,255,255,.92); text-shadow: 0 1px 2px rgba(0,0,0,.35); max-width: 44rem; }
.band .metaline, .band .fineprint { color: rgba(255,255,255,.75); }
.band .fineprint a, .band .lede a { color: #fff; }
.band .actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.band .btn { background: #fff; color: var(--ink); border-color: #fff; }
.band .btn:hover { background: var(--slate); border-color: var(--slate); color: #fff; }
.band .btn.quiet { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); }
.band .btn.quiet:hover { background: rgba(255,255,255,.24); color: #fff; }
.band .cred { position: absolute; inset-inline-end: 1rem; bottom: .55rem; z-index: 1; color: rgba(255,255,255,.7); font-size: .68rem; max-width: 60%; text-align: end; }
.band .cred a { color: rgba(255,255,255,.85); }
.band .context { display: inline-block; font-family: var(--sans); font-size: .74rem; letter-spacing: .04em; color: rgba(255,255,255,.8); margin-top: .2rem; }
.band .keyfacts { border-color: rgba(255,255,255,.3); margin-bottom: 0; }
.band.page-band .in { padding-top: 5.2rem; }
.band .h1row { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.band .fav { color: rgba(255,255,255,.55); }
.band .fav.on { color: var(--bronze); }
.band .badge { border-color: rgba(255,255,255,.6); color: #fff; }
.band .status-note { background: rgba(142,43,43,.75); color: #fff; padding: .4rem .7rem; font-family: var(--sans); font-size: .85rem; display: inline-block; margin-bottom: .6rem; }

/* home masthead: full-bleed, text on the photograph */
.masthead { position: relative; background: #22262c; color: #fff; overflow: hidden; min-height: 520px; border-bottom: 1px solid var(--rule); }
.masthead > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.masthead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,14,.86) 0%, rgba(8,10,14,.62) 48%, rgba(8,10,14,.25) 100%), linear-gradient(180deg, rgba(8,10,14,0) 60%, rgba(8,10,14,.7) 100%); }
.masthead .in { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 4.6rem 1.2rem 2.6rem; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; }
.masthead .eyebrow { color: rgba(255,255,255,.8); }
.masthead h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4rem); max-width: 14ch; text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.masthead .lede { color: rgba(255,255,255,.92); max-width: 40rem; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.masthead .bigsearch input { background: rgba(255,255,255,.96); border-color: transparent; }
.masthead .try { color: rgba(255,255,255,.78); }
.masthead .try a { color: #fff; }
.masthead .cred { position: absolute; inset-inline-end: 1rem; bottom: .55rem; z-index: 1; color: rgba(255,255,255,.7); font-size: .68rem; text-align: end; max-width: 60%; }
.masthead .cred a { color: rgba(255,255,255,.85); }

/* tiles: image with the title on it */
.tiles { display: grid; gap: .9rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles.mosaic > :first-child { grid-column: span 2; grid-row: span 2; }
.tiles.mosaic > :first-child h3 { font-size: 1.7rem; }
.tile { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: #2a2e35; color: #fff; }
.tile.wide { aspect-ratio: 16/8; }
.tile.short { aspect-ratio: 3/2; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.03); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,16,.02) 30%, rgba(10,12,16,.8) 100%); }
.tile .t { position: absolute; z-index: 1; inset-inline: 1rem; bottom: .9rem; }
.tile .kicker { color: rgba(255,255,255,.78); margin-bottom: .2rem; }
.tile h3, .tile b { color: #fff; margin: 0; font-size: 1.2rem; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.tile p { color: rgba(255,255,255,.85); font-size: .88rem; margin: .2rem 0 0; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.tile .n { position: absolute; z-index: 1; top: .7rem; inset-inline-end: .8rem; font-family: var(--sans); font-size: .74rem; letter-spacing: .06em; background: rgba(0,0,0,.45); color: #fff; padding: .15em .5em; }
.tile .cred { position: absolute; z-index: 1; top: .6rem; inset-inline-start: .8rem; color: rgba(255,255,255,.62); font-size: .62rem; max-width: 70%; }
.tile .cred a { color: rgba(255,255,255,.75); }
.tile:hover { text-decoration: none; }
.tile:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
@media (prefers-reduced-motion: reduce) { .tile img { transition: none; } .tile:hover img { transform: none; } }

/* thumbnails in ledgers and tables */
.thumb { width: 52px; height: 40px; object-fit: cover; display: block; border-radius: 1px; background: var(--paper-2); }
td.name.with-thumb { display: flex; gap: .7rem; align-items: center; }
td.name.with-thumb > a { flex: 1; }
.tablewrap.pin table.data td.name.with-thumb { display: flex; }
.rowlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.rowlist li { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--rule); align-items: center; }
.rowlist img { width: 120px; height: 80px; object-fit: cover; display: block; }
.rowlist b { font-weight: 500; font-family: var(--serif); font-size: 1.15rem; display: block; }
.rowlist span { font-family: var(--sans); font-size: .82rem; color: var(--ink-3); }
.rowlist a { color: var(--ink); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .6rem; }
.split.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.result .rimg { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; margin-bottom: .6rem; }
.relgrid.pics a { display: grid; grid-template-columns: 64px 1fr; gap: .7rem; align-items: center; }
.relgrid.pics img { width: 64px; height: 48px; object-fit: cover; display: block; }
.strip { display: flex; gap: .8rem; overflow-x: auto; padding-bottom: .4rem; scroll-snap-type: x mandatory; }
.strip .tile { flex: 0 0 240px; aspect-ratio: 4/3; scroll-snap-align: start; }
@media (max-width: 950px) {
  .tiles { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tiles.three { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tiles.mosaic > :first-child { grid-column: span 2; grid-row: span 1; }
  .band, .band .in, .masthead, .masthead .in { min-height: 300px; }
  .band .in { padding-top: 3rem; }
}
@media (max-width: 640px) {
  .tiles, .tiles.three, .tiles.two, .split, .split.three { grid-template-columns: 1fr 1fr; }
  .tiles.mosaic > :first-child { grid-column: span 2; }
  .rowlist li { grid-template-columns: 90px 1fr; }
  .rowlist img { width: 90px; height: 64px; }
  .masthead h1 { font-size: 2rem; }
  .band h1 { font-size: 1.7rem; }
  .band .cred, .masthead .cred { position: static; display: block; text-align: start; margin-top: .5rem; max-width: none; }
}

/* ---------- design review, 11 Sep 2026: timeline rail, mid-page photograph, cost table, news rows, inline category list */
.rail { list-style: none; margin: .4rem 0 0; padding: 1.1rem 0 .4rem; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(10rem, 1fr); gap: 1.2rem; position: relative; overflow-x: auto; font-family: var(--sans); }
.rail::before { content: ""; position: absolute; left: 0; right: 0; top: calc(1.1rem + 5px); height: 2px; background: var(--rule); }
.rail li { position: relative; padding-top: 1.1rem; font-size: .86rem; line-height: 1.45; color: var(--ink-2); }
.rail li::before { content: ""; position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--bronze); border: 2px solid var(--paper); box-sizing: border-box; }
.rail time { display: block; font-family: var(--serif); font-size: 1.45rem; color: var(--ink); line-height: 1.1; margin-bottom: .15rem; font-variant-numeric: tabular-nums; }
.rail .kind { display: block; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .25rem; }
.rail li.record time { color: var(--slate); }
.rail li.record::before { background: var(--slate); }
.rail .srclink { font-size: .75rem; }
.midfig { margin: 2.2rem 0 .6rem; }
.midfig img { width: 100%; aspect-ratio: 21/9; object-fit: cover; display: block; }
.midfig figcaption { font-family: var(--sans); font-size: .76rem; color: var(--ink-3); padding: .45rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
.midfig figcaption .cred a { color: var(--ink-3); }
table.cost td.tier, table.cost td.tier b { color: var(--ink-3); font-style: italic; font-weight: 400; }
table.cost tr.total td { border-top: 2px solid var(--ink); font-weight: 600; }
table.cost tr.total td.fineprint { font-weight: 400; }
table.log td.when { white-space: nowrap; color: var(--ink-3); font-variant-numeric: tabular-nums; font-family: var(--sans); font-size: .82rem; }
table.log .from { color: var(--ink-3); text-decoration: line-through; }
table.log td { padding-top: .45rem; padding-bottom: .45rem; }
.rowlist.news li { grid-template-columns: 96px 1fr; }
.rowlist.news img { width: 96px; height: 72px; }
.rowlist.news .pic { display: block; width: 96px; }
.rowlist.news .cred { display: block; font-family: var(--sans); font-size: .58rem; line-height: 1.25; color: var(--ink-3); margin-top: .2rem; }
.rowlist.news li { align-items: start; }
.rowlist.news .who { display: block; font-family: var(--sans); font-size: .76rem; color: var(--ink-3); margin-top: .15rem; }
.morecats { font-family: var(--sans); font-size: .9rem; line-height: 2; margin: .9rem 0 0; color: var(--ink-3); }
.morecats a { color: var(--ink); border-bottom: 1px solid var(--rule); }
.morecats a:hover { border-color: var(--ink); }
.morecats .sep { margin: 0 .4rem; }
.tile .kicker { font-size: .66rem; }
.sample-note { font-family: var(--sans); font-size: .82rem; color: var(--ink-3); border-inline-start: 3px solid var(--bronze); padding: .3rem .8rem; margin: 1rem 0; }
@media (max-width: 640px) {
  .rail { grid-auto-flow: row; grid-auto-columns: auto; padding: 0 0 0 1.4rem; overflow: visible; gap: .9rem; }
  .rail::before { top: .3rem; bottom: .3rem; left: 5px; right: auto; width: 2px; height: auto; }
  .rail li { padding-top: 0; }
  .rail li::before { left: -1.4rem; top: .45rem; }
  .midfig img { aspect-ratio: 3/2; }
  .rowlist.news li { grid-template-columns: 72px 1fr; }
  .rowlist.news img { width: 72px; height: 54px; }
  .rowlist.news .pic { width: 72px; }
}

/* ---------- 13 Sep 2026: typographic publisher marks (news rows carry no photograph) */
.pubmark { display: flex; align-items: center; justify-content: center; width: 96px; height: 72px; padding: .3rem .4rem; box-sizing: border-box; font-family: var(--serif); font-weight: 600; font-size: .92rem; line-height: 1.15; letter-spacing: .02em; text-align: center; color: #fff; background: var(--slate); overflow: hidden; word-break: break-word; }
.pubmark.h1 { background: var(--bronze); } .pubmark.h2 { background: var(--ink); } .pubmark.h3 { background: var(--verdigris, #3d6b5e); } .pubmark.h4 { background: #6b4e3d; }
.rowlist.news li { grid-template-columns: 96px 1fr; }
@media (max-width: 640px) { .pubmark { width: 72px; height: 54px; font-size: .78rem; } .rowlist.news li { grid-template-columns: 72px 1fr; } }

/* ---------- cards with no image (a subject the budget has not reached yet): designed, never a recycled photograph */
.tile.noimg { background: var(--paper-2, #ECEAE3); border: 1px solid var(--rule); box-shadow: inset 0 3px 0 var(--bronze); }
.tile.noimg::after { display: none; }
.tile.noimg .t { position: static; padding: 1rem 1rem 1.1rem; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.tile.noimg h3, .tile.noimg b { color: var(--ink); text-shadow: none; }
.tile.noimg .kicker, .tile.noimg p { color: var(--ink-3); text-shadow: none; }
.tile.noimg:hover { border-color: var(--ink); }
.relgrid.pics a > span.noimg { display: block; width: 64px; height: 48px; background: var(--paper-2, #ECEAE3); border: 1px solid var(--rule); box-shadow: inset 0 2px 0 var(--bronze); flex: 0 0 64px; }

/* ---------- drawn bar charts (data from the database, no library) */
.bars { font-family: var(--sans); border-top: 2px solid var(--ink); padding-top: .55rem; }
.bars .bh { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; margin-bottom: .5rem; flex-wrap: wrap; }
.bars .bh b { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.bars ol { list-style: none; margin: 0; padding: 0; }
.bars li { display: grid; grid-template-columns: minmax(9rem, 16rem) 1fr 3.5rem; gap: .8rem; align-items: center; padding: .3rem 0; border-bottom: 1px solid var(--rule); font-size: .88rem; }
.bars .track { display: block; height: 14px; background: var(--paper-2, #ECEAE3); position: relative; }
.bars .track i { display: block; height: 100%; background: var(--slate); }
.bars li:nth-child(even) .track i { background: var(--bronze); }
.bars .v { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
@media (max-width: 640px) { .bars li { grid-template-columns: minmax(6rem, 9rem) 1fr 3rem; font-size: .8rem; } }

/* ---------- linked credits beneath real photographs used as tiles or result images */
.tilewrap { display: flex; flex-direction: column; min-width: 0; }
.tilewrap .tile { flex: 1 1 auto; }
.tilecred { display: block; font-family: var(--sans); font-size: .66rem; line-height: 1.3; color: var(--ink-3); padding: .25rem 0 0; }
.tilecred a { color: var(--ink-3); text-decoration: underline; }
.result .tilecred { margin-bottom: .4rem; }

/* ===== 19 Sep 2026: fewer pictures, never text on a photograph, people instead of empty rooms. ===== */
/* Home: words on the left, one real photograph of people on the right. */
.masthead { min-height: 0; background: var(--paper); color: var(--ink); overflow: visible; border-bottom: 1px solid var(--rule); }
.masthead::after { display: none; }
.masthead .mh { max-width: var(--maxw); margin: 0 auto; padding: 3rem 1.2rem 2.8rem; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2.8rem; align-items: center; }
.masthead .in { position: static; padding: 0; margin: 0; min-height: 0; max-width: none; display: block; }
.masthead .eyebrow { color: var(--accent); }
.masthead h1 { color: var(--ink); text-shadow: none; max-width: 15ch; }
.masthead .lede { color: var(--ink-2); text-shadow: none; }
.masthead .try { color: var(--ink-3); }
.masthead .try a { color: var(--accent); }
.masthead .bigsearch input { background: var(--paper-3); border: 1px solid var(--rule-2); }
.masthead .mh-pic { margin: 0; }
.masthead .mh-pic img { position: static; display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
.masthead .cred { position: static; display: block; margin-top: .5rem; color: var(--ink-3); font-size: .7rem; text-align: start; max-width: none; }
.masthead .cred a { color: var(--ink-3); }
@media (max-width: 900px) { .masthead .mh { grid-template-columns: 1fr; gap: 1.6rem; padding-top: 2rem; } }

/* Inner pages: a plain heading; a real photograph of the subject sits beside it, never under the text. */
.pagetop { max-width: var(--maxw); margin: 0 auto; padding: 2rem 1.2rem 0; }
.pagetop .pagehead { margin-bottom: 0; }
.pagehead.withpic { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.2rem; align-items: center; }
.pagehead .ph-pic { margin: 0; }
.pagehead .ph-pic img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
.pagehead .ph-pic .cred { display: block; margin-top: .45rem; font-family: var(--sans); font-size: .68rem; color: var(--ink-3); }
.pagehead .ph-pic .cred a { color: var(--ink-3); }
.pagehead .actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.pagehead .h1row { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.pagehead .status-note { background: #8e2b2b; color: #fff; padding: .4rem .7rem; font-family: var(--sans); font-size: .85rem; display: inline-block; margin-bottom: .6rem; }
@media (max-width: 900px) { .pagehead.withpic { grid-template-columns: 1fr; gap: 1.2rem; } }

/* Tiles: the picture (only a real one) on top, the words underneath on the page. */
.tile { aspect-ratio: auto; background: none; color: var(--ink); overflow: visible; border-top: 1px solid var(--rule); padding-top: .75rem; }
.tile::after { display: none; }
.tile.wide, .tile.short { aspect-ratio: auto; }
.tile img { height: auto; aspect-ratio: 3 / 2; margin-bottom: .6rem; }
.tile:hover img { transform: none; }
.tile .t { position: static; }
.tile .kicker { color: var(--accent); }
.tile h3, .tile b { color: var(--ink); text-shadow: none; font-size: 1.12rem; }
.tile p { color: var(--ink-2); text-shadow: none; }
.tile .n { position: static; display: block; background: none; color: var(--ink-3); padding: 0; margin-bottom: .2rem; }
.tile .cred { position: static; color: var(--ink-3); }
.tile:hover { text-decoration: none; }
.tile:hover h3 { color: var(--accent); }
.tiles.mosaic > :first-child { grid-column: auto; grid-row: auto; }
.tiles.mosaic > :first-child h3 { font-size: 1.12rem; }
.tiles.kinds .tile { padding-bottom: .4rem; }

/* Lists that lost their stand-in thumbnails close up. */
.rowlist li:has(> span:first-child:empty) { grid-template-columns: 1fr; }
.rowlist li > span:first-child:empty { display: none; }
.feature.solo { grid-template-columns: 1fr; max-width: 46rem; }

/* 19 Sep 2026 (Mark): no count strip under the header on any page. */
.trust { display: none !important; }

/* 19 Sep 2026 (Mark): the qualification checkboxes wrapped like a sentence, so each row started at a
   different point on a phone. They are now a tidy list: columns on a wide screen, one per line on a phone. */
.field.check { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .15rem 1.4rem; align-items: start; }
.field.check > .help { grid-column: 1 / -1; }
.field.check > br { display: none; }
.field.check label { display: flex; gap: .55rem; align-items: flex-start; margin: 0; padding: .35rem 0; line-height: 1.35; }
.field.check label input { flex: 0 0 auto; margin: .15rem 0 0; width: 1.05rem; height: 1.05rem; }
@media (max-width: 600px) { .field.check { grid-template-columns: 1fr; } .field.check label { padding: .45rem 0; } }

/* 19 Sep 2026: on a phone a section heading and its side link wrap onto two lines instead of pushing the page wider than the screen. */
@media (max-width: 600px) { .sechead { flex-wrap: wrap; row-gap: .25rem; } .sechead > * { min-width: 0; } .sechead a, .sechead .fineprint { white-space: normal; } }

/* 19 Sep 2026: on a phone the kinds of organization read as one tidy list, not lopsided pairs. */
@media (max-width: 600px) { .tiles.kinds { grid-template-columns: 1fr; gap: 0; } .tiles.kinds .tile { padding: .8rem 0 .7rem; } .tiles.kinds .tile p { display: none; } }

/* 19 Sep 2026: on a phone the key facts stack one per row, so a long answer (like how the founding date was
   established) is not squeezed into half the width. */
@media (max-width: 600px) { .keyfacts { grid-template-columns: 1fr; } }

/* 19 Sep 2026: one-column grids may shrink below their widest item on a phone, so a long word, a wide
   table or a sidebar line can no longer push the page past the screen edge. Same conditions as the rules above. */
.orghead.nofig, .rowlist li:has(> span:first-child:empty), .feature.solo { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 950px) { .hero-in, .front, .feature, .orghead, .result, .facts.two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4, .facts .row, .changes-list li { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .masthead .mh, .pagehead.withpic { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .field.check, .tiles.kinds, .keyfacts { grid-template-columns: minmax(0, 1fr); } }

/* 19 Sep 2026: tick boxes in filter chips were stretched to the full chip width (a 100%% rule meant for text
   fields), so the box sat above its label. They are their own size, beside the words. */
.facet input[type="checkbox"], .facet input[type="radio"], .field input[type="checkbox"], .field input[type="radio"], .chip input[type="checkbox"], .chip input[type="radio"] { width: auto; }
.chips .chip { display: inline-flex; align-items: center; gap: .4rem; }

/* ---------- 20 Sep 2026: Mark's notes ---------- */
/* The logo was three bars sitting beside the menu button, so the header read as
   two hamburgers. It is now an inner circle, which is what the site is about. */
.mark { position: relative; display: inline-block; width: 21px; height: 21px; flex: none; }
.mark i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: auto; height: auto; background: none; border: 1.7px solid var(--ink); border-radius: 50%; }
.mark i:nth-child(1) { width: 21px; height: 21px; }
.mark i:nth-child(2) { width: 13px; height: 13px; }
.mark i:nth-child(3) { width: 6px; height: 6px; background: var(--ink); }

/* The first section sat a long way under the hero picture. Close it up. */
.masthead { margin-bottom: 0 !important; }
main > section:first-of-type > .sechead:first-child { margin-top: .5rem !important; }

/* finder: the Offers chip group takes three columns where three fit, so its seven chips are not stacked in one narrow cell */
@media (min-width: 760px) { .facet.wide { grid-column: span 3; } }

/* suggest (2026-10-13): typo-tolerant typeahead on every search box (header, masthead, search page). Site tokens only. */
.bigsearch.has-suggest { position: relative; }
.bigsearch .searchresults { font-family: var(--sans); text-align: start; }
.sr-item b { font-weight: 600; }
.sr-item.sr-all { border-top: 1px solid var(--rule); color: var(--accent); font-size: .84rem; margin-top: .25rem; }
.sr-item small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.band.suggest-open, .masthead.suggest-open { overflow: visible; }
.band.suggest-open .in { z-index: 61; }
@media (max-width: 760px) { .topbar .searchresults { position: fixed; inset-inline: .6rem; top: 3.5rem; max-height: 60vh; } }
