/*
 * Illinois Money Trail · Prairie School
 * Producer: hand-authored for illinoismoneytrail/source (responsive build of the approved
 * "Illinois Money Trail — Prairie School" boards, October 11, 2026). Long horizontal bands,
 * a dark masthead under a deep ochre eave, small art-glass squares as the only ornament and
 * the 17 House districts drawn as window panes. Palette is prairie-inspired, not official.
 * Data colours (supports blue, opposes amber) never reuse brand colours.
 */

:root {
  --plaster: #F3EDE1;
  --linen: #E8DFCC;
  --paper: #FBF8F1;
  --ink: #2B231D;
  --brick: #7A3420;
  --sage: #56653F;
  --ochre: #C2912E;      /* ornament and on-dark rules only (2.44:1 on plaster) */
  --glass: #B8442E;      /* art-glass ornament only */
  --gold: #E2C27A;       /* text on the dark masthead and footer */
  --muted: #4A3F35;
  --dark-rule: #5A4E42;
  --white: #FFFFFF;
  --card-rule: #CFC6B4;
  --support: #2B4A7E;    /* data colour: supports, solid fill */
  --oppose: #8A4B00;     /* data colour: opposes, dashed outline */
  --display: "Goudy Bookletter 1911", "Iowan Old Style", Georgia, serif;
  --text: "Newsreader", "Iowan Old Style", Georgia, serif;
  --label: "Jost", "Avenir Next", "Segoe UI", sans-serif;
  --max: 1240px;
  --gut: clamp(16px, 4vw, 48px);
  --band: clamp(40px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--plaster);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-wrap: break-word;
}
@media (min-width: 768px) { body { font-size: 1.125rem; } }

a { color: var(--brick); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.005em;
  overflow-wrap: break-word;
  text-wrap: balance;
}
p, ul, ol, dl, dd, figure { margin: 0; }
svg { flex: none; }
img { max-width: 100%; }

[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.masthead :focus-visible, .site-footer :focus-visible, .on-dark :focus-visible { outline-color: var(--gold); }

.vh {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 12px 16px; background: var(--ink); color: var(--plaster);
  font-family: var(--label); font-weight: 600; font-size: .9375rem; text-decoration: none;
}
.skip-link:focus { left: 1rem; top: 1rem; outline-color: var(--gold); }

/* A full-width band with the content held to the page measure. */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gut); }
.band { padding-block: var(--band); }
.band--linen { background: var(--linen); }
.band + .band--linen, .band--linen + .band { border-top: 2px solid var(--ink); }
.rule-below { border-bottom: 2px solid var(--ink); }
.rule-top { border-top: 2px solid var(--ink); }

/* Small uppercase label above headings: Jost, sage. */
.tag {
  margin: 0;
  font-family: var(--label); font-size: .8125rem; font-weight: 600; line-height: 1.4;
  letter-spacing: .2em; text-transform: uppercase; color: var(--sage);
}
.label-note { font-family: var(--label); font-size: .9375rem; line-height: 1.5; }
.small-note { font-family: var(--label); font-size: .8125rem; line-height: 1.55; color: var(--muted); }
.section-title { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); line-height: 1.02; }

/* Art-glass ornament: a rule broken by three glass squares. */
.glass-rule { display: flex; align-items: center; gap: 10px; max-width: 560px; }
.glass-rule::before, .glass-rule::after { content: ""; flex: 1; height: 2px; background: var(--ink); }
.glass-rule::after { flex: 3; }
.glass-rule span { width: 10px; height: 10px; background: var(--glass); }
.glass-rule span:nth-child(2) { background: var(--ochre); }
.glass-rule span:nth-child(3) { background: var(--sage); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 48px; padding: 8px 20px;
  border: 0; background: var(--brick); color: var(--paper);
  font-family: var(--label); font-size: .9375rem; font-weight: 600; line-height: 1.25;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none; text-align: center;
  cursor: pointer;
}
.btn:hover { color: var(--paper); background: #5F2817; text-decoration: underline; text-decoration-thickness: 1px; }

/* ---------- Masthead: a dark eave over an ochre fascia, then the art-glass frieze ---------- */
.masthead { background: var(--ink); color: var(--plaster); border-bottom: 6px solid var(--ochre); }
.masthead__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 32px; padding-block: 14px;
}
.brand { display: flex; align-items: center; gap: 14px; min-height: 48px; color: var(--plaster); text-decoration: none; }
.brand:hover { color: var(--plaster); }
.brand svg { width: 48px; height: 48px; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__state { font-family: var(--display); font-size: 2.125rem; }
.brand__trail {
  margin-top: 7px; font-family: var(--label); font-size: .75rem; font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
}
.menu-button {
  min-height: 44px; padding: 0 16px;
  border: 2px solid var(--gold); background: transparent; color: var(--plaster);
  font-family: var(--label); font-size: .875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer;
}
.menu-button[aria-expanded="true"] { background: var(--gold); color: var(--ink); }
.nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px;
  margin: 0; padding: 0; list-style: none;
  font-family: var(--label); font-size: .9375rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
}
.nav a {
  display: flex; align-items: center; min-height: 44px; padding: 0 10px;
  color: var(--plaster); text-decoration: none;
}
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: .4em; }
.nav__cta a { margin-left: 6px; padding: 0 16px; background: var(--ochre); color: var(--ink); font-weight: 600; }
.nav__cta a:hover { color: var(--ink); text-decoration-color: var(--ink); }
@media (max-width: 767px) {
  .masthead__inner { padding-block: 10px; }
  .brand svg { width: 42px; height: 42px; }
  .brand__state { font-size: 1.875rem; }
  #site-nav { flex: 1 0 100%; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 8px; }
  .nav li + li { border-top: 1px solid var(--dark-rule); }
  .nav a { padding: 0 4px; }
  .nav__cta { padding-top: 10px; }
  .nav__cta a { margin-left: 0; justify-content: center; }
}
.frieze {
  height: 18px;
  background: var(--linen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='18'%3E%3Crect width='96' height='18' fill='%23E8DFCC'/%3E%3Cpath d='M0 3H96M0 15H96M24 3V15M72 3V15' stroke='%232B231D' stroke-width='1.5' fill='none'/%3E%3Crect x='44' y='5' width='8' height='8' fill='%23B8442E'/%3E%3Crect x='6' y='7' width='10' height='4' fill='%23C2912E'/%3E%3Crect x='80' y='7' width='10' height='4' fill='%2356653F'/%3E%3C/svg%3E") repeat-x left top / 96px 18px;
}

/* ---------- Homepage introduction + district finder ---------- */
.intro { border-bottom: 2px solid var(--ink); }
.intro__inner {
  display: grid; gap: 40px 64px; align-items: stretch;
  padding-block: clamp(32px, 5vw, 72px);
}
@media (min-width: 960px) { .intro__inner { grid-template-columns: minmax(0, 1.35fr) minmax(340px, 1fr); } }
.intro__main { display: flex; flex-direction: column; justify-content: center; gap: 22px; min-width: 0; }
.intro h1 { font-size: clamp(2.6rem, 1.3rem + 4.6vw, 5.6rem); line-height: .98; letter-spacing: -0.012em; }
.intro__dek { max-width: 42ch; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.5; }

.finder {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--paper); border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--linen), 10px 10px 0 2px var(--ink);
}
@media (max-width: 520px) { .finder { box-shadow: 6px 6px 0 var(--linen), 6px 6px 0 2px var(--ink); margin-right: 8px; } }
.glass-panel { display: block; width: 100%; height: 104px; border-bottom: 2px solid var(--ink); }
.finder__body { display: flex; flex-direction: column; gap: 14px; padding: 22px clamp(18px, 3vw, 26px) 26px; }
.finder__title { font-size: 2.1rem; line-height: 1.05; }
.finder__lede { font-size: 1.0625rem; line-height: 1.5; }
.finder__form { display: flex; flex-direction: column; gap: 8px; }
.finder__label { font-family: var(--label); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.finder__combo { position: relative; }
.finder__form input {
  width: 100%; min-height: 48px; padding: 8px 14px;
  border: 2px solid var(--ink); border-radius: 0; background: var(--white); color: var(--ink);
  font-family: var(--text); font-size: 1.0625rem;
}
.finder__form input::placeholder { color: #5E5247; opacity: 1; }
.finder__form .btn { width: 100%; }
.finder__note { font-family: var(--label); font-size: .8125rem; line-height: 1.55; color: var(--muted); }
.finder__suggestions {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 0; list-style: none;
  max-height: 18rem; overflow-y: auto;
  background: var(--white); color: var(--ink); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--linen);
}
.finder__option { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; font-size: 1rem; line-height: 1.35; cursor: pointer; }
.finder__option + .finder__option { border-top: 1px solid var(--card-rule); }
.finder__option:hover, .finder__option[aria-selected="true"] { background: var(--ink); color: var(--paper); }

/* ---------- Race navigator: the Senate as a lintel, the districts as window panes ---------- */
.navigator { display: grid; gap: 28px 56px; }
@media (min-width: 900px) { .navigator { grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); } }
.navigator__lead { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.navigator__panes { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.navigator h2 { font-size: clamp(2.2rem, 1.7rem + 1.6vw, 3rem); line-height: 1; }
.subhead {
  margin: 0; font-family: var(--label); font-size: .8125rem; font-weight: 600; line-height: 1.4;
  letter-spacing: .2em; text-transform: uppercase;
}
.senate-block {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 20px 18px; background: var(--ink); color: var(--plaster);
  border-bottom: 6px solid var(--ochre); text-decoration: none;
}
.senate-block:hover { color: var(--plaster); }
.senate-block:hover .senate-block__name { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--gold); }
.senate-block__kicker { font-family: var(--label); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.senate-block__name { font-family: var(--display); font-size: 2rem; line-height: 1; }
.panes {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px;
  margin: 0; padding: 0; list-style: none;
}
.panes a {
  display: flex; align-items: center; justify-content: center; min-height: 64px;
  background: var(--paper); border: 2px solid var(--ink);
  box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px var(--ochre);
  font-family: var(--display); font-size: 1.7rem; line-height: 1; color: var(--ink); text-decoration: none;
}
.panes a:hover { background: var(--brick); color: var(--paper); box-shadow: inset 0 0 0 4px var(--brick), inset 0 0 0 5px var(--ochre); }
@media (max-width: 560px) {
  .panes { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
  .panes a { min-height: 56px; font-size: 1.5rem; }
}
.ballot-note { display: flex; align-items: flex-start; gap: 10px; font-family: var(--label); font-size: .9375rem; line-height: 1.5; }
.ballot-note .ico { margin: .1em 0 0; color: var(--brick); width: 1.4em; height: 1.4em; }

/* ---------- Supports / opposes (data colours, each with a shape cue) ---------- */
.readkey { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-family: var(--label); font-size: .875rem; line-height: 1.45; }
.pos { display: inline-flex; align-items: center; gap: 6px; font-family: var(--label); font-weight: 600; line-height: 1.3; white-space: nowrap; }
.pos--support { padding: 4px 10px; background: var(--support); color: var(--white); }
.pos--oppose { padding: 2px 8px; border: 2px dashed var(--oppose); color: var(--oppose); background: transparent; }
.norecord { font-weight: 600; border-bottom: 2px dotted var(--ink); }

/* ---------- Spotlight: Senate card with the news column beside it ---------- */
.spotlight__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 48px; }
.spotlight__intro { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.spotlight__intro h2 { font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.6rem); line-height: 1; }
.spotlight__intro p:last-child { max-width: 56ch; }
.spotlight__key { flex: 0 1 400px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.evidence-row { display: grid; gap: 40px; margin-top: 28px; }
@media (min-width: 1024px) {
  .evidence-row { grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); align-items: start; }
}
.evidence-row > * { min-width: 0; }

/* ---------- Evidence card ---------- */
.evidence { display: flex; flex-direction: column; min-width: 0; background: var(--paper); border: 3px solid var(--ink); }
.evidence__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px;
  padding: 12px 16px; background: var(--ink); color: var(--plaster);
  font-family: var(--label); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.45;
}
.evidence__source { color: var(--gold); }
.evidence__frame { position: relative; margin: 16px; background: var(--white); border: 1px solid var(--card-rule); }
@media (max-width: 520px) { .evidence__frame { margin: 8px; } }
.evidence__frame iframe { display: block; width: 100%; border: 0; }
.evidence__frame.is-clamped { max-height: var(--clamp); overflow: hidden; }
.evidence__frame.is-clamped::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 96px; pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, 0), #FFFFFF);
}
.evidence__status { display: none; font-family: var(--label); font-size: .875rem; line-height: 1.55; }
.evidence[data-state="pending"] .evidence__status,
.js .evidence[data-state="loading"] .evidence__status,
.js .evidence[data-state="slow"] .evidence__status { display: block; }
.js .evidence[data-state="loading"] .evidence__frame {
  min-height: 320px;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    repeating-linear-gradient(0deg, var(--white) 0 31px, var(--linen) 31px 33px);
}
.js .evidence[data-state="loading"] .evidence__status,
.js .evidence[data-state="slow"] .evidence__status {
  position: absolute; top: 16px; left: 16px; right: 16px; z-index: 1;
  padding: 10px 12px; background: var(--paper); border: 2px solid var(--ink);
}
.js .evidence[data-state="slow"] .evidence__status { border-style: dashed; }
.evidence[data-state="pending"] .evidence__frame { min-height: 180px; display: flex; align-items: center; justify-content: center; padding: 24px 16px; background: var(--linen); }
.evidence__fallback {
  padding: 12px 16px; border-top: 2px solid var(--ink);
  font-family: var(--label); font-size: .875rem; line-height: 1.5;
}
.evidence__fallback a { font-weight: 600; }
.evidence__expand {
  display: block; align-self: flex-start; min-height: 44px; margin: 0 16px 16px; padding: 8px 16px;
  border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
  font-family: var(--label); font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer;
}
.evidence__expand:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 520px) { .evidence__expand { margin: 0 8px 8px; } }

/* ---------- News (launch/news.js). launch/news.css loads after this file, so card rules carry .news-band. ---------- */
.news-band {
  --news-scrim: 43 35 29;
  --news-on-scrim: #FBF8F1;
  --news-radius: 0;
  --news-photo-border: 1px solid #2B231D;
  --news-thumb: 92px;
}
.news-column { display: flex; flex-direction: column; gap: 16px; }
.news-head { display: flex; flex-direction: column; gap: 8px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.news-head h2 { font-size: clamp(1.8rem, 1.4rem + 1vw, 2.3rem); line-height: 1.05; }
.news-head .tag .ico { color: var(--sage); }
.news-band .news-list { display: grid; gap: 20px; margin: 0; }
.news-column .news-list.news-list--column { grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 700px) and (max-width: 1023px) { .news-column .news-list.news-list--column { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.more-news .news-list { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
@media (min-width: 700px) { .more-news .news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .more-news .news-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.news-band .news-item { display: flex; flex-direction: column; padding: 14px 16px 18px; background: var(--paper); border: 1px solid var(--ink); }
.news-band [data-news-list] .news-item__photo { margin: -14px -16px 14px; border: 0; border-bottom: 1px solid var(--ink); background: repeating-linear-gradient(135deg, #D8CDB6 0 10px, #E3D9C4 10px 20px); }
.news-band [data-news-list] .news-item--text { border-top: 8px solid var(--sage); }
.news-band [data-news-list] .news-item--overlay { padding: 0; border: 2px solid var(--ink); }
.news-band [data-news-list] .news-item--overlay .news-item__photo { margin: 0; border: 0; }
.news-band [data-news-columns="1"] > .news-item--photo:not(.news-item--overlay) { padding: 14px; }
.news-band [data-news-columns="1"] > .news-item--photo:not(.news-item--overlay) .news-item__photo { margin: .15rem 0 0; border: 1px solid var(--ink); }
.news-band .news-item__meta { margin: 0 0 6px; font-family: var(--label); font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.news-band .news-item__title { font-size: 1.3rem; line-height: 1.12; }
.news-band .news-item__title a { color: var(--ink); text-decoration-thickness: 1px; }
.news-band .news-item__title a:hover { text-decoration-thickness: 2px; }
.news-band [data-news-list] .news-item--overlay .news-item__title a { color: var(--paper); text-decoration-color: var(--gold); }
.news-band .news-item--lead .news-item__title { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.75rem); line-height: 1.08; }
.news-band .news-search__label, .news-band .news-filter__label {
  font-family: var(--label); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.news-band .news-search__input, .news-band .news-filter__select {
  border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 1rem;
}
.news-band .news-search__clear, .news-band .news-pager__button, .news-band .news-feed-retry {
  border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
  font-family: var(--label); font-size: .9375rem; font-weight: 600;
}
.news-band .news-pager__button:not(:disabled):hover, .news-band .news-feed-retry:hover { background: var(--ink); color: var(--paper); }
.news-band .news-pager__button:disabled { color: #6B6058; opacity: .7; }
.news-band .news-pager__range, .news-band .news-feed-status { font-family: var(--label); font-size: .9375rem; line-height: 1.45; color: var(--muted); }
.news-band .news-feed-status { margin: 0; }
.news-band .news-feed-retry { margin: 0; }
.news-band .news-feed-links { margin: 0; }
.news-band .news-feed-link { color: var(--ink); }
.news-band .news-feed-link--text { font-family: var(--label); font-weight: 600; color: var(--brick); text-decoration: underline; }
.news-column .news-summary { margin: 0; font-family: var(--label); font-size: .875rem; line-height: 1.5; }
.news-column .news-summary__more { font-weight: 600; }
.news-column .news-summary__more::after { content: " ↓" / ""; }
.news-note { font-family: var(--label); font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.more-news__inner { display: flex; flex-direction: column; gap: 24px; }
.more-news .news-head { padding-bottom: 0; border-bottom: 0; }
.more-news .news-head h2 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); }
.news-band noscript p { font-family: var(--label); font-size: .9375rem; }

/* ---------- Plain language ---------- */
.plain__inner { display: flex; flex-direction: column; gap: 28px; }
.plain h2 { max-width: 28ch; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); line-height: 1.08; }
.plain__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 0 40px; border-top: 2px solid var(--ink); }
.plain__cell { display: flex; flex-direction: column; gap: 8px; padding: 20px 0 24px; border-bottom: 1px solid var(--ink); }
.plain__cell h3 { display: flex; align-items: center; gap: 10px; font-size: 1.7rem; }
.plain__cell h3 .ico { width: 30px; height: 30px; margin: 0; color: var(--brick); }
.plain__roles { font-family: var(--label); font-size: .9375rem; line-height: 1.55; }

/* Vendored Tabler icons drawn as leaded-glass line: square caps, mitred joins. */
.ico { stroke-width: 1.8; stroke-linecap: square; stroke-linejoin: miter; }

/* ---------- Race page ---------- */
.race-head { border-bottom: 2px solid var(--ink); }
.race-head__inner { display: flex; flex-direction: column; gap: 20px; padding-block: clamp(28px, 4vw, 48px) 36px; }
.crumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; margin: 0; padding: 0; list-style: none;
  font-family: var(--label); font-size: .875rem; letter-spacing: .06em; text-transform: uppercase;
}
.crumbs li + li::before { content: "/" / ""; margin-right: 8px; color: #8C7B66; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.race-head h1 { max-width: 18ch; font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.8rem); line-height: .98; letter-spacing: -0.01em; }
.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  max-width: 680px; margin: 0; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.facts > div { padding: 12px 20px 12px 0; }
.facts dt { font-family: var(--label); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sage); }
.facts dd { margin: 4px 0 0; font-size: 1.1875rem; font-weight: 600; }
.race-context { max-width: 60ch; }
.race-nav { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px 32px; padding-top: 20px; border-top: 1px solid var(--ink); }
.race-nav__lead { flex: 0 1 250px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.race-nav__lead h2 { font-size: 1.8rem; line-height: 1; }
.race-nav__districts { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.senate-chip {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 4px 14px;
  background: var(--ink); color: var(--plaster); border-bottom: 4px solid var(--ochre); text-decoration: none;
}
.senate-chip:hover { color: var(--plaster); }
.senate-chip__name { font-family: var(--display); font-size: 1.35rem; line-height: 1.1; }
.senate-chip__kicker { font-family: var(--label); font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.senate-chip[aria-current="page"] { background: var(--brick); border-bottom-color: var(--ochre); box-shadow: 0 0 0 3px var(--ochre); }
.senate-chip[aria-current="page"] .senate-chip__kicker { color: var(--paper); }
.chips {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 6px;
  margin: 0; padding: 0; list-style: none; font-family: var(--display); font-size: 1.15rem;
}
/* 17 chips: six or nine to a row, all seventeen in one row when the header is wide enough. */
@media (max-width: 559px) { .chips { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 560px) and (max-width: 1279px) { .chips { grid-template-columns: repeat(9, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .chips { grid-template-columns: repeat(17, minmax(0, 1fr)); } }
.chips a {
  display: flex; align-items: center; justify-content: center; min-height: 44px;
  background: var(--paper); border: 2px solid var(--ink); color: var(--ink); text-decoration: none;
}
.chips a:hover { background: var(--linen); text-decoration: underline; }
.chips a[aria-current="page"] { background: var(--brick); color: var(--paper); box-shadow: 0 0 0 3px var(--ochre); }
.chips__label { font-family: var(--label); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }

.race-evidence__inner { display: flex; flex-direction: column; gap: 22px; padding-block: 48px 56px; }
.race-evidence__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 40px; }
.race-evidence__title { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.race-evidence__title h2 { font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); line-height: 1.02; }
.race-evidence .evidence-row { margin-top: 0; }
.plain-words { max-width: 760px; background: var(--paper); border: 1px solid var(--ink); }
.plain-words summary {
  display: flex; align-items: center; min-height: 44px; padding: 0 16px; cursor: pointer;
  font-family: var(--label); font-size: .875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brick);
}
.plain-words summary::marker { color: var(--brick); }
.plain-words summary::before { content: "+" / ""; display: inline-block; width: 1.2em; font-weight: 600; }
.plain-words[open] summary::before { content: "−" / ""; }
.plain-words summary::-webkit-details-marker { display: none; }
.plain-words summary { list-style: none; }
.plain-words__body { display: flex; flex-direction: column; gap: 10px; padding: 0 16px 16px; font-size: 1.0625rem; }

.race-links { background: var(--linen); border-block: 2px solid var(--ink); }
.race-links__inner { display: flex; flex-direction: column; gap: 10px; padding-block: 28px; font-family: var(--label); font-size: 1rem; line-height: 1.6; }
.race-links .launch-note { max-width: 90ch; margin: 0; font-size: 1rem; }
.race-links .race-pager { gap: 0 18px; }
.race-ballot { border-top: 2px solid var(--ink); }
.race-ballot__inner { padding-block: 28px; }
.race-ballot .ballot-note { max-width: 72ch; }
.race-evidence + .race-links { border-top-width: 2px; }
.more-coverage + .race-ballot, .race-links + .race-ballot { border-top: 0; }

/* ---------- About, policies, directory ---------- */
.page-head { border-bottom: 2px solid var(--ink); }
.page-head__inner { display: flex; flex-direction: column; gap: 18px; padding-block: clamp(32px, 5vw, 64px); }
.page-head h1 { max-width: 20ch; font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem); line-height: 1; }
.page-head .intro__dek { max-width: 60ch; }
.policy-effective { font-family: var(--label); font-size: .9375rem; color: var(--muted); }

.doc-layout { display: grid; gap: 32px 56px; padding-block: var(--band); }
@media (min-width: 1024px) { .doc-layout { grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); align-items: start; } }
.toc { min-width: 0; padding: 18px 20px; background: var(--linen); border: 2px solid var(--ink); }
@media (min-width: 1024px) { .toc { position: sticky; top: 24px; } }
.toc h2, .policy-toc__label { margin: 0 0 6px; font-family: var(--label); font-size: .8125rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); }
.toc ol { margin: 0; padding: 0; list-style: none; font-family: var(--label); font-size: .9375rem; }
.toc a { display: flex; align-items: center; min-height: 44px; }
.policy-toc { min-width: 0; padding: 18px 20px; background: var(--linen); border: 2px solid var(--ink); font-family: var(--label); font-size: .9375rem; }
@media (min-width: 1024px) { .policy-toc { position: sticky; top: 24px; } .policy-toc ul { flex-direction: column; } }
.doc { display: flex; flex-direction: column; gap: 0; min-width: 0; max-width: 820px; }
.doc > section, .policy-doc .policy-section { padding: 28px 0 32px; border-top: 2px solid var(--ink); }
.doc > section:first-child { border-top-width: 3px; padding-top: 22px; }
.doc h2, .policy-section h2 { margin-bottom: 14px; font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); }
.doc h3 { font-size: 1.35rem; margin-bottom: 6px; }
.doc p, .doc li, .doc dd { max-width: 68ch; }
.doc p + p, .doc p + ul, .doc ul + p, .doc .trio + p { margin-top: 12px; }
.doc .tag { margin-bottom: 8px; }
.doc ul { padding-left: 1.25rem; }
.doc ul li + li { margin-top: 6px; }
.trio { display: grid; gap: 14px 28px; margin-top: 14px; }
@media (min-width: 900px) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.trio > div { padding: 14px 16px; background: var(--paper); border: 1px solid var(--ink); border-top: 6px solid var(--sage); }
.trio p { font-size: 1rem; }
.roles { display: grid; gap: 10px; margin-top: 10px; padding: 0 !important; list-style: none; }
@media (min-width: 760px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.roles li { margin: 0 !important; padding: 12px 14px; background: var(--paper); border-left: 6px solid var(--brick); }
.roles b { display: block; font-family: var(--label); font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; }
.after-list { margin-top: 16px; }
.glossary { display: grid; gap: 0; margin: 0; }
.glossary > div { display: grid; gap: 4px 24px; padding: 12px 0; border-bottom: 1px solid var(--card-rule); }
@media (min-width: 760px) { .glossary > div { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); } }
.glossary dt { font-family: var(--label); font-weight: 600; }
.glossary dd { margin: 0; }
.icon-credit { margin-top: 12px; font-family: var(--label); }
.launch-official { padding-top: 28px; }
.doc .launch-module, .doc-layout .launch-module { max-width: none; padding: 28px 0 32px; margin: 0; border-top: 2px solid var(--ink); }
.policy-doc .policy-list > div { display: grid; gap: 4px 20px; padding: 12px 0; border-bottom: 1px solid var(--card-rule); }
@media (min-width: 760px) { .policy-doc .policy-list > div { grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); } }
.policy-doc code, .doc code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--linen); padding: 0 .25em; }
.policy-settings { font-weight: 600; color: var(--brick); }

/* Directory, legacy race chooser and 404 (launch.css .launch-module) in the Prairie measure. */
.directory .launch-module { max-width: var(--max); padding: var(--band) var(--gut); }
.directory .launch-module .tag { margin-bottom: 12px; }
.directory .launch-module .glass-rule { margin-bottom: 22px; }
.launch-module h1 { margin-bottom: 18px; font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem); line-height: 1; max-width: 20ch; }
.launch-module h2 { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); }
main .launch-races { gap: 8px; }
main .launch-races a {
  min-height: 52px; padding: 10px 16px;
  background: var(--paper); border: 2px solid var(--ink);
  box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4px var(--ochre);
  font-family: var(--display); font-size: 1.25rem; color: var(--ink);
}
main .launch-races a:hover { background: var(--linen); box-shadow: inset 0 0 0 3px var(--linen), inset 0 0 0 4px var(--ochre); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--plaster); border-top: 6px solid var(--ochre); font-family: var(--label); }
.site-footer a { color: var(--plaster); }
.site-footer a:hover { color: var(--gold); }
.footer__inner { display: flex; flex-direction: column; gap: 32px; padding-block: 48px 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px 48px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 1.625rem; line-height: 1; }
.footer-brand svg { width: 40px; height: 40px; }
.footer-attrib, .site-footer h2 {
  margin: 0; font-family: var(--label); font-size: .8125rem; font-weight: 600; line-height: 1.4;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.footer-independent { font-size: .9375rem; line-height: 1.55; }
.site-footer ul { margin: 0; padding: 0; list-style: none; font-size: .9375rem; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__base { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 1px solid var(--dark-rule); font-size: .875rem; line-height: 1.55; }
.footer-dates a { color: var(--gold); }
.site-footer .legal-links { gap: 4px 18px; margin: 0; }
.legal-links probo-settings-link { color: var(--plaster); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .masthead, .frieze, .finder, .site-footer, .news-band { display: none !important; }
  body { background: #fff; }
}
