/* Iowa Money Trail: farm almanac and seed-catalog letterpress.
   Display: IM Fell English SC. Asides: IM Fell English italic. Reading: Libre Baskerville.
   Prairie gold is used for fills and ornament only; gold text uses --gold-text. */

:root {
  --paper: #F3EAD3;
  --paper-light: #F8F1DE;
  --card: #FFFDF6;
  --paper-shade: #EFE4C8;
  --ink: #3B2A1A;
  --river: #285C73;
  --river-ink: #1F4A5E;
  --gold: #C39432;
  --gold-text: #6E4E10;
  --orn: #8A6418;
  --gold-on-ink: #E0B04A;
  --support: #4F3A86;
  --oppose: #8E3F0E;
  --ph-bg: #E3ECEE;
  --ph-line: #285C73;
  --focus: #285C73;
  --f-sc: "IM Fell English SC", "IM Fell English", Georgia, "Times New Roman", serif;
  --f-fell: "IM Fell English", Georgia, "Times New Roman", serif;
  --f-body: "Libre Baskerville", Baskerville, "Baskerville Old Face", Georgia, serif;
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.75rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(59, 42, 26, 0.06) 1px, transparent 1.3px);
  background-size: 5px 5px;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.7;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--f-sc); font-weight: 400; line-height: 1.15; overflow-wrap: break-word; }
p, li, dd, dt, td, th, caption, figcaption { overflow-wrap: break-word; }
a { color: var(--river-ink); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--gold-text); }
b, strong { font-weight: 700; }

/* ---------- Required behaviour ---------- */
.skip-link {
  position: absolute; left: -9999px; top: auto;
  background: var(--paper-light); color: var(--ink);
  border: 2px solid var(--ink); padding: 0.6rem 1rem;
  font-family: var(--f-sc); font-size: 1.1rem; text-decoration: none;
}
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.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;
}

/* Placeholder: pencilled in, river-tinted, dashed underline. Never mistaken for type. */
.ph {
  background: var(--ph-bg);
  color: var(--ink);
  border-bottom: 2px dashed var(--ph-line);
  padding: 0 0.2em;
  font-style: normal;
  overflow-wrap: anywhere;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
a.ph { color: var(--river-ink); text-decoration: underline; }
p.ph, div.ph { display: block; padding: 0.35em 0.6em; }

/* ---------- Preview bar ---------- */
.preview-bar {
  background: var(--ink); color: var(--paper);
  text-align: center; font-size: 0.875rem; line-height: 1.5;
  padding: 0.55rem var(--gutter);
}
.preview-bar strong { font-family: var(--f-sc); font-weight: 400; font-size: 1.05rem; letter-spacing: 0.06em; }

/* ---------- The sheet (a catalog plate frame around the whole page) ---------- */
.sheet {
  max-width: 1280px;
  margin: clamp(0.5rem, 2vw, 2rem) auto;
  border: 3px double var(--ink);
  padding: clamp(3px, 0.5vw, 6px);
  background: var(--paper);
}
.sheet__inner { border: 1px solid var(--ink); background: var(--paper-light); min-width: 0; }
@media (max-width: 480px) {
  .sheet { margin: 0.4rem; }
}

/* ---------- Masthead ---------- */
.masthead { padding: 1.1rem var(--gutter) 0; text-align: center; }
.masthead__meta {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  font-family: var(--f-sc); font-size: 0.9375rem; letter-spacing: 0.06em;
  padding-bottom: 0.55rem; border-bottom: 4px double var(--ink);
}
.masthead__dates { font-family: var(--f-fell); font-style: italic; letter-spacing: 0; font-size: 1rem; }
.masthead__brand { padding: 0.9rem 0 0.2rem; }
.brand { display: inline-flex; align-items: center; gap: clamp(0.6rem, 1.5vw, 1.1rem); color: var(--ink); text-decoration: none; max-width: 100%; }
.brand:hover { color: var(--ink); }
.brand:hover .brand__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.12em; }
.brand__mark { width: clamp(42px, 2.4rem + 1.6vw, 64px); height: auto; flex: none; }
.brand__name { font-family: var(--f-sc); font-size: clamp(1.75rem, 0.9rem + 4vw, 3.75rem); line-height: 1.05; text-align: left; min-width: 0; }
.masthead__tag { font-family: var(--f-fell); font-style: italic; font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem); line-height: 1.4; margin: 0.25rem 0 0.8rem; }
.masthead__nav { border-top: 4px double var(--ink); border-bottom: 1px solid var(--ink); }
.contents { list-style: none; margin: 0; padding: 0.2rem 0; display: flex; justify-content: center; flex-wrap: wrap; }
.contents li { display: flex; align-items: center; }
.contents li + li::before { content: "❧" / ""; color: var(--orn); margin: 0 0.8rem; font-family: var(--f-fell); font-size: 1.05rem; }
.contents a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.3rem;
  font-family: var(--f-sc); font-size: 1.2rem; color: var(--ink); text-decoration: none;
}
.contents a:hover { color: var(--river); text-decoration: underline; text-decoration-thickness: 1px; }
.contents a[aria-current="page"] { color: var(--river); text-decoration: underline double; text-underline-offset: 0.2em; }
.contents__num { color: var(--gold-text); margin-right: 0.25em; }
.menu-button {
  font-family: var(--f-sc); font-size: 1.15rem; color: var(--ink);
  background: var(--card); border: 1px solid var(--ink); border-radius: 0;
  min-height: 44px; min-width: 9rem; padding: 0.3rem 1.2rem; margin: 0.55rem auto; cursor: pointer;
}
.menu-button::after { content: " ▾" / ""; }
.menu-button[aria-expanded="true"]::after { content: " ▴" / ""; }
@media (max-width: 767px) {
  .masthead__meta { flex-direction: column; align-items: center; gap: 0.1rem; font-size: 0.8125rem; }
  .masthead__dates { font-size: 0.9375rem; }
  .masthead__nav { display: flex; flex-direction: column; align-items: stretch; }
  .contents { flex-direction: column; align-items: stretch; padding: 0; }
  .contents li { border-top: 1px dotted var(--ink); justify-content: center; }
  .contents li + li::before { content: none; }
  .contents a { width: 100%; justify-content: center; }
  .menu-button + nav .contents li:first-child { border-top: 1px dotted var(--ink); }
}

/* ---------- Shared section furniture ---------- */
.section { padding: 1.75rem var(--gutter) 2.5rem; border-top: 4px double var(--ink); }
.section-title {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  text-align: center; font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.5rem); margin: 0 0 0.35rem;
}
.section-title::before, .section-title::after {
  content: ""; flex: 1 1 0; max-width: 14rem; min-width: 1rem; height: 5px;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.section-title__num { color: var(--gold-text); margin-right: 0.15em; }
.section-lede {
  max-width: 60ch; margin: 0 auto 1.5rem; text-align: center;
  font-family: var(--f-fell); font-style: italic; font-size: 1.125rem; line-height: 1.6;
}
.sub-title { font-size: 1.5rem; text-align: center; margin: 2.5rem 0 0.75rem; }
.sub-title::before, .sub-title::after { content: " ❦ " / ""; color: var(--orn); font-family: var(--f-fell); font-size: 1rem; }
.orn { font-family: var(--f-fell); color: var(--orn); text-align: center; letter-spacing: 0.6em; font-size: 1.3rem; margin: 0.5rem 0 0; }

/* ---------- Introduction ---------- */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr);
  grid-template-areas: "epi main how";
  gap: 2.25rem;
  padding: 2rem var(--gutter) 2.25rem;
  align-items: start;
}
.intro__main { grid-area: main; text-align: center; }
.intro__main h1 { font-size: clamp(2rem, 1.25rem + 2.4vw, 3.1rem); line-height: 1.1; margin: 0 0 1rem; }
.intro__main p { margin: 0 auto 0.85rem; max-width: 60ch; font-size: 1.0625rem; }
.intro__epigraph {
  grid-area: epi; margin: 0; padding-right: 1.5rem; border-right: 1px solid var(--ink);
  font-family: var(--f-fell); font-style: italic; font-size: 1.125rem; line-height: 1.6;
}
.intro__epigraph p { margin: 0; }
.intro__epigraph p::before { content: "“" / ""; font-size: 2.6rem; line-height: 0; vertical-align: -0.45em; color: var(--orn); margin-right: 0.1em; }
.intro__how { grid-area: how; padding-left: 1.5rem; border-left: 1px solid var(--ink); font-size: 0.9375rem; line-height: 1.7; }
.intro__how p { margin: 0 0 0.7rem; }
.aside-title { font-size: 1.3rem; margin: 0 0 0.5rem; }
@media (max-width: 1023px) {
  .intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "main main" "epi how"; gap: 1.75rem 2rem; }
}
@media (max-width: 640px) {
  .intro { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "epi" "how"; gap: 1.25rem; padding-top: 1.5rem; }
  .intro__epigraph { border-right: 0; padding: 1rem 0 0; border-top: 1px solid var(--ink); }
  .intro__how { border-left: 0; padding: 1rem 0 0; border-top: 1px solid var(--ink); }
}

/* ---------- Supports / opposes ---------- */
.pos {
  display: inline-flex; align-items: baseline; gap: 0.3em; white-space: nowrap;
  font-family: var(--f-sc); font-size: 1.08em; line-height: 1.3; padding-bottom: 1px;
}
.pos--support { color: var(--support); border-bottom: 3px solid var(--support); }
.pos--oppose { color: var(--oppose); border-bottom: 3px dotted var(--oppose); }

/* ---------- Tables (races navigator and catalog ledger) ---------- */
.table-plate { border: 3px double var(--ink); padding: 5px; background: var(--paper); }
.ledger { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--ink); font-size: 0.9375rem; line-height: 1.5; }
.ledger caption {
  caption-side: top; text-align: left; padding: 0.55rem 0.85rem 0.6rem;
  font-family: var(--f-fell); font-style: italic; font-size: 1rem; line-height: 1.45;
  background: var(--card); border: 1px solid var(--ink); border-bottom: 0;
}
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: 0.75rem 0.85rem; border-bottom: 1px dotted var(--ink); }
.ledger thead th { font-family: var(--f-sc); font-size: 1.02rem; border-bottom: 2px solid var(--ink); vertical-align: bottom; line-height: 1.25; }
.ledger tbody th { font-weight: 400; }
.ledger tbody tr:last-child th, .ledger tbody tr:last-child td { border-bottom: 0; }
.race-name { font-family: var(--f-sc); font-size: 1.3rem; text-decoration: none; color: var(--ink); line-height: 1.2; display: inline-flex; align-items: center; min-height: 44px; }
.race-name::after { content: " ›" / ""; color: var(--river); margin-left: 0.25em; }
.race-name:hover { color: var(--river); text-decoration: underline; text-decoration-thickness: 1px; }
.race-sub { display: block; font-family: var(--f-body); font-size: 0.8125rem; letter-spacing: 0.04em; line-height: 1.4; }
.ledger td a:not(.ph) { display: inline-flex; align-items: center; min-height: 44px; }
.norecord { font-family: var(--f-fell); font-style: italic; font-size: 1.05rem; }
.is-norecord { background: repeating-linear-gradient(135deg, transparent 0 9px, rgba(195, 148, 50, 0.13) 9px 10px); }
.table-note { font-family: var(--f-fell); font-style: italic; font-size: 1rem; text-align: center; margin: 0.75rem auto 0; max-width: 64ch; }

.ledger .ph { overflow-wrap: break-word; }
.ledger--spend tbody th { min-width: 9rem; }
.ledger--spend td[data-label="Race"] { min-width: 6.5rem; }
.ledger--spend td[data-label="Reporting period"] { min-width: 9rem; }

/* Narrow screens: each row becomes a small catalog card (label above value). */
@media (max-width: 640px) {
  .ledger--races, .ledger--races tbody, .ledger--races tr, .ledger--races th, .ledger--races td, .ledger--races caption { display: block; }
  .ledger--races thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
  .ledger--races tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem 1rem; padding: 0.55rem 0.85rem 0.8rem; border-bottom: 2px solid var(--ink); }
  .ledger--races tbody th { grid-column: 1 / -1; border: 0; border-bottom: 1px dotted var(--ink); padding: 0 0 0.35rem; }
  .ledger--races td { border: 0; padding: 0; }
  .ledger--races td::before { content: attr(data-label); display: block; font-family: var(--f-sc); font-size: 0.92rem; line-height: 1.25; margin-bottom: 0.15rem; }
  .ledger--races td a:not(.ph) { min-height: 0; padding: 0.3rem 0; }
}
@media (max-width: 900px) {
  .ledger--spend, .ledger--spend tbody, .ledger--spend tr, .ledger--spend th, .ledger--spend td, .ledger--spend caption { display: block; }
  .ledger--spend thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
  .ledger--spend tbody tr { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 8.5rem), 1fr)); gap: 0.6rem 1rem; padding: 0.65rem 0.85rem 0.85rem; border-bottom: 2px solid var(--ink); }
  .ledger--spend tbody th { grid-column: 1 / -1; min-width: 0; font-size: 1.05rem; border: 0; border-bottom: 1px dotted var(--ink); padding: 0 0 0.35rem; }
  .ledger--spend td { min-width: 0 !important; border: 0; padding: 0; }
  .ledger--spend tbody th::before, .ledger--spend td::before { content: attr(data-label); display: block; font-family: var(--f-sc); font-size: 0.92rem; line-height: 1.25; margin-bottom: 0.15rem; }
  .ledger--spend td a:not(.ph) { min-height: 0; padding: 0.3rem 0; }
}
.ledger tbody tr:last-child { border-bottom: 0; }
@media (max-width: 900px) { .ledger--spend caption { border: 0; border-bottom: 1px solid var(--ink); } }
@media (max-width: 640px) { .ledger--races caption { border: 0; border-bottom: 1px solid var(--ink); } }

/* ---------- Plates (evidence frames) ---------- */
.plate-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem; margin-top: 2.25rem; align-items: start; }
@media (max-width: 960px) { .plate-grid { grid-template-columns: minmax(0, 1fr); } }
.plate { border: 3px double var(--ink); padding: 5px; background: var(--paper); min-width: 0; }
.plate__inner { border: 1px solid var(--ink); background: var(--card); }
.plate__bar {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0.2rem 1rem;
  padding: 0.55rem 0.9rem; border-bottom: 1px solid var(--ink); background: var(--paper-light);
}
.plate__title { font-size: 1.25rem; margin: 0; font-family: var(--f-sc); }
.plate__credit { font-family: var(--f-fell); font-style: italic; font-size: 0.95rem; }
.switch { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.45rem; padding: 0.8rem 0.9rem; border-bottom: 1px dotted var(--ink); }
.switch button {
  font-family: var(--f-sc); font-size: 1.08rem; color: var(--ink);
  background: var(--paper-light); border: 1px solid var(--ink); border-radius: 0;
  min-height: 44px; padding: 0.3rem 0.95rem; cursor: pointer;
}
.switch button:hover { background: var(--paper-shade); }
.switch button[aria-pressed="true"] { background: var(--river); color: var(--paper-light); border-color: var(--river); box-shadow: inset 0 0 0 2px var(--paper-light); }
.switch button[aria-pressed="true"]::before { content: "❧ " / ""; }
@media (max-width: 520px) {
  .switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .switch button { padding: 0.3rem 0.5rem; }
  .switch button:first-child { grid-column: 1 / -1; }
}

.evidence { margin: 0; }
.evidence__head {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0.15rem 1rem;
  padding: 0.7rem 0.9rem 0; font-family: var(--f-sc); font-size: 1rem; line-height: 1.35;
}
.evidence__source { font-family: var(--f-fell); font-style: italic; font-size: 0.95rem; }
.evidence__lede { margin: 0.35rem 0.9rem 0.8rem; font-size: 0.9375rem; line-height: 1.6; max-width: 68ch; }
.evidence__frame { position: relative; background: var(--card); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.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, 253, 246, 0), var(--card));
}
.evidence__status { display: none; margin: 0; }
.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: repeating-linear-gradient(0deg, var(--card) 0 13px, var(--paper-shade) 13px 14px);
}
.js .evidence[data-state="loading"] .evidence__status,
.js .evidence[data-state="slow"] .evidence__status {
  position: absolute; top: 1rem; left: 1rem; right: 1rem; z-index: 1;
  background: var(--paper-light); border: 1px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 3px;
  padding: 0.75rem 1rem; text-align: center;
  font-family: var(--f-fell); font-style: italic; font-size: 1.05rem; line-height: 1.5;
}
.evidence[data-state="pending"] .evidence__frame {
  min-height: 180px; display: flex; align-items: center; justify-content: center; padding: 1.5rem 1rem;
  background: repeating-linear-gradient(0deg, var(--card) 0 13px, var(--paper-shade) 13px 14px);
}
.evidence[data-state="pending"] .evidence__status {
  max-width: 34ch; text-align: center; background: var(--card); border: 1px dashed var(--ink);
  padding: 0.85rem 1.1rem; font-family: var(--f-fell); font-style: italic; font-size: 1.05rem; line-height: 1.5;
}
.evidence[data-state="pending"] .evidence__status::before { content: "❦" / ""; display: block; color: var(--orn); font-size: 1.4rem; line-height: 1.2; font-style: normal; }
.evidence__fallback { margin: 0; padding: 0.6rem 0.9rem 0.7rem; font-size: 0.9375rem; }
.evidence__fallback a { display: inline-block; padding: 0.35rem 0; }
.evidence__expand {
  display: block; margin: 0.7rem auto 0.1rem; min-height: 44px; padding: 0.3rem 1.3rem;
  font-family: var(--f-sc); font-size: 1.08rem; color: var(--ink);
  background: var(--paper-light); border: 1px solid var(--ink); border-radius: 0; cursor: pointer;
}
.evidence__expand::before { content: "❧ " / ""; color: var(--orn); }
.evidence__expand:hover { background: var(--paper-shade); }

/* ---------- Note to the reader (plain language) ---------- */
.note {
  background: var(--paper); border: 1px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 4px;
  margin: 5px; padding: 1.25rem 1.4rem 1.1rem; min-width: 0;
}
.note__orn { text-align: center; color: var(--orn); font-size: 1.6rem; line-height: 1; margin: 0; font-family: var(--f-fell); }
.note__title { text-align: center; font-size: 1.4rem; line-height: 1.25; margin: 0.35rem 0 0.75rem; }
.note p { margin: 0 0 0.75rem; font-size: 0.9875rem; }
.note__list { margin: 0 0 0.6rem; }
.note__list div { border-top: 1px dotted var(--ink); padding: 0.55rem 0; }
.note__list dt { font-family: var(--f-sc); font-size: 1.12rem; }
.note__list dd { margin: 0.1rem 0 0; font-size: 0.9375rem; line-height: 1.6; }
.note__more { margin: 0; font-family: var(--f-fell); font-style: italic; font-size: 1.02rem; }

/* ---------- Seed-catalog entries ---------- */
.catalog-grid { display: grid; grid-template-columns: minmax(0, 2.9fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 1023px) { .catalog-grid { grid-template-columns: minmax(0, 1fr); } }
.catalog { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1.25rem; }
.entry { position: relative; background: var(--card); border: 1px solid var(--ink); padding: 1rem 1.1rem 1.1rem; min-width: 0; }
.entry::before { content: ""; position: absolute; inset: 4px; border: 1px dotted rgba(59, 42, 26, 0.55); pointer-events: none; }
.entry__no { margin: 0 0 0.3rem; text-align: center; font-family: var(--f-fell); font-style: italic; font-size: 1.35rem; color: var(--gold-text); border-bottom: 1px solid var(--ink); padding-bottom: 0.2rem; }
.entry__name { font-size: 1.3rem; text-align: center; margin: 0.6rem 0 0.6rem; }
.entry__pos { margin: 0 0 0.6rem; text-align: center; font-size: 0.9375rem; line-height: 1.9; }
.entry__facts { margin: 0 0 0.6rem; font-size: 0.875rem; }
.entry__facts div { border-bottom: 1px dotted var(--ink); padding: 0.3rem 0 0.35rem; }
.entry__facts dt { font-family: var(--f-sc); font-size: 0.95rem; line-height: 1.3; }
.entry__facts dd { margin: 0.1rem 0 0; min-width: 0; }
.entry__link { margin: 0; text-align: center; font-size: 0.9375rem; }
.entry__link a { display: inline-block; padding: 0.2rem 0.4rem; }

/* ---------- Dispatches (recent coverage) ---------- */
.dispatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.dispatches--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.news-item { padding: 1.1rem 1.5rem 1.2rem; min-width: 0; }
.news-item + .news-item { border-left: 1px solid var(--ink); }
.news-item__flag { margin: 0 0 0.35rem; font-family: var(--f-sc); font-size: 0.95rem; letter-spacing: 0.04em; color: var(--gold-text); }
.news-item h3 { font-family: var(--f-body); font-weight: 700; font-size: 1.1rem; line-height: 1.45; margin: 0 0 0.5rem; }
.news-item__meta { margin: 0 0 0.6rem; font-family: var(--f-fell); font-style: italic; font-size: 1rem; line-height: 1.6; }
.news-item > p:last-child { margin: 0; font-size: 0.9375rem; }
.news-note { text-align: center; font-family: var(--f-fell); font-style: italic; font-size: 1.05rem; margin: 1rem auto 0; max-width: 60ch; }
.news-note span { color: var(--orn); }
@media (max-width: 860px) {
  .dispatches, .dispatches--two { grid-template-columns: minmax(0, 1fr); }
  .news-item { padding: 1rem 0.25rem; }
  .news-item + .news-item { border-left: 0; border-top: 1px dotted var(--ink); }
}

/* ---------- Field notes summary and the key to the signs ---------- */
.section--notes { background: var(--paper); }
.notes-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; margin-top: 1.25rem; }
@media (max-width: 960px) { .notes-grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; } }
.notes-summary p { margin: 0 0 0.85rem; max-width: 66ch; }
.notes-summary b { font-family: var(--f-sc); font-weight: 400; font-size: 1.12em; }
.notes-summary__more { font-family: var(--f-fell); font-style: italic; font-size: 1.08rem; }
.key { border: 3px double var(--ink); background: var(--card); padding: 0.9rem 1.2rem 0.4rem; min-width: 0; }
.key__title { font-size: 1.35rem; text-align: center; margin: 0 0 0.25rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--ink); }
.key__list { margin: 0; }
.key__item { padding: 0.6rem 0; border-bottom: 1px dotted var(--ink); }
.key__item:last-child { border-bottom: 0; }
.key__item dt { display: flex; align-items: center; gap: 0.65rem; font-family: var(--f-sc); font-size: 1.08rem; line-height: 1.3; }
.key__item dd { margin: 0.25rem 0 0 2.45rem; font-size: 0.9rem; line-height: 1.6; }
.key__sign {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 1.8rem; height: 1.8rem; border: 1px solid var(--ink); background: var(--paper-light);
  font-family: var(--f-fell); font-size: 1.05rem; color: var(--ink);
}
.key__item--loading .key__sign { background: repeating-linear-gradient(0deg, var(--card) 0 3px, #B9A47A 3px 4px); }
.key__item--none .key__sign { font-size: 1.2rem; }

/* ---------- Colophon (footer) ---------- */
.colophon { background: var(--ink); color: var(--paper); text-align: center; padding: 1.6rem var(--gutter) 1.8rem; font-size: 0.9375rem; line-height: 1.6; }
.colophon p { margin: 0 auto 0.6rem; max-width: 70ch; }
.colophon a { color: var(--gold-on-ink); }
.colophon a:hover { color: var(--paper-light); }
.colophon__attr { font-family: var(--f-sc); font-size: 1.35rem; letter-spacing: 0.06em; }
.colophon__attr span { color: var(--gold-on-ink); }
.colophon__nav ul { list-style: none; margin: 0.4rem 0 0.6rem; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1.1rem; }
.colophon__nav a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-sc); font-size: 1.05rem; }
.colophon__links a { display: inline-flex; align-items: center; min-height: 44px; }
.colophon__dates { font-family: var(--f-fell); font-style: italic; font-size: 1.02rem; border-top: 1px solid rgba(243, 234, 211, 0.4); padding-top: 0.8rem; }
.colophon :focus-visible { outline-color: var(--gold-on-ink); }

/* ---------- Race page (an almanac chapter) ---------- */
.crumbs { padding: 0.5rem var(--gutter) 0; font-size: 0.875rem; letter-spacing: 0.02em; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.crumbs li + li::before { content: "›" / ""; margin: 0 0.5rem; color: var(--orn); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.chapter-head { max-width: 58rem; margin: 0 auto; padding: 0.75rem var(--gutter) 1.5rem; text-align: center; }
.chapter-head__kicker { margin: 0 0 0.4rem; font-family: var(--f-sc); font-size: 1.05rem; letter-spacing: 0.12em; color: var(--gold-text); }
.chapter-head h1 { font-size: clamp(1.9rem, 1.1rem + 2.8vw, 3.2rem); line-height: 1.1; margin: 0; }
.chapter-head__lede { font-family: var(--f-fell); font-style: italic; font-size: 1.15rem; line-height: 1.55; margin: 0.8rem auto 0; max-width: 54ch; }
.invalid {
  margin: 1rem auto 0; max-width: 46ch; padding: 0.7rem 1rem;
  background: var(--card); border: 2px dashed var(--ink); font-size: 0.9875rem;
}
.particulars {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 var(--gutter); border-top: 4px double var(--ink); border-bottom: 4px double var(--ink);
}
.particulars > div { padding: 0.75rem 1rem; text-align: center; border-left: 1px solid var(--ink); min-width: 0; }
.particulars > div:first-child { border-left: 0; }
.particulars dt { font-family: var(--f-sc); font-size: 1rem; color: var(--gold-text); }
.particulars dd { margin: 0.15rem 0 0; font-size: 0.98rem; line-height: 1.5; }
.particulars dd a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 860px) {
  .particulars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .particulars > div:nth-child(3) { border-left: 0; }
  .particulars > div:nth-child(n + 3) { border-top: 1px dotted var(--ink); }
}
@media (max-width: 380px) {
  .particulars { grid-template-columns: minmax(0, 1fr); }
  .particulars > div { border-left: 0; }
  .particulars > div + div { border-top: 1px dotted var(--ink); }
}
.chapter { max-width: 74rem; margin: 0 auto; }
.chapter .section:first-child { border-top: 0; }
.prose { max-width: 66ch; margin: 0 auto; font-size: 1.0625rem; }
.prose p { margin: 0 0 0.9rem; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; align-items: start; }
@media (max-width: 860px) { .pair { grid-template-columns: minmax(0, 1fr); } }
.pair__col { min-width: 0; }
.pair__title { font-size: 1.5rem; text-align: center; margin: 0 0 0.4rem; }
.pair__lede { font-family: var(--f-fell); font-style: italic; text-align: center; font-size: 1.05rem; line-height: 1.55; margin: 0 0 1rem; }
.fold { border: 1px solid var(--ink); background: var(--card); margin: 0 0 0.9rem; }
.fold > summary {
  cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.6rem;
  min-height: 48px; padding: 0.55rem 0.9rem; font-size: 1rem; background: var(--paper-light);
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::before { content: "☛" / ""; color: var(--river); transition: transform 0.15s; display: inline-block; }
.fold[open] > summary::before { transform: rotate(90deg); }
.fold[open] > summary { border-bottom: 1px solid var(--ink); }
.fold__label { font-family: var(--f-sc); font-size: 1.1rem; }
.race-list { list-style: none; margin: 0 auto; padding: 0; max-width: 40rem; }
.race-list li { border-bottom: 1px dotted var(--ink); }
.race-list a { display: flex; align-items: baseline; gap: 0.6rem; min-height: 48px; padding: 0.6rem 0.5rem; color: var(--ink); text-decoration: none; }
.race-list__name { font-family: var(--f-sc); font-size: 1.3rem; }
.race-list__dots { flex: 1 1 auto; border-bottom: 2px dotted var(--ink); transform: translateY(-0.3em); min-width: 1rem; }
.race-list__tag { font-size: 0.875rem; letter-spacing: 0.04em; }
.race-list a:hover .race-list__name { color: var(--river); text-decoration: underline; text-decoration-thickness: 1px; }
.race-list a[aria-current="page"] { background: var(--paper-shade); box-shadow: inset 4px 0 0 var(--river); }
.race-list a[aria-current="page"] .race-list__tag::after { content: " · this chapter"; font-style: normal; font-family: var(--f-sc); color: var(--river); }
.dates3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 1rem; border: 3px double var(--ink); background: var(--card); }
.dates3 > div { padding: 0.8rem 1rem; text-align: center; border-left: 1px solid var(--ink); min-width: 0; }
.dates3 > div:first-child { border-left: 0; }
.dates3 dt { font-family: var(--f-sc); font-size: 1.05rem; }
.dates3 dd { margin: 0.2rem 0 0; font-size: 0.95rem; }
@media (max-width: 640px) {
  .dates3 { grid-template-columns: minmax(0, 1fr); }
  .dates3 > div { border-left: 0; }
  .dates3 > div + div { border-top: 1px dotted var(--ink); }
}
.status-note { text-align: center; max-width: 64ch; margin: 0 auto; }

/* ---------- Field notes (about page) ---------- */
.notes-layout { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: 2.75rem; padding: 0 var(--gutter) 2.75rem; align-items: start; }
@media (max-width: 900px) { .notes-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } }
.toc { position: sticky; top: 1rem; border: 3px double var(--ink); background: var(--card); padding: 0.9rem 1.1rem 0.6rem; }
@media (max-width: 900px) { .toc { position: static; } }
.toc__title { font-size: 1.3rem; text-align: center; margin: 0 0 0.3rem; border-bottom: 1px solid var(--ink); padding-bottom: 0.35rem; }
.toc ol { margin: 0; padding: 0 0 0 1.9rem; list-style: lower-roman; }
.toc li { border-bottom: 1px dotted var(--ink); }
.toc li:last-child { border-bottom: 0; }
.toc li::marker { font-family: var(--f-fell); font-style: italic; color: var(--gold-text); }
.toc a { display: flex; align-items: center; min-height: 44px; font-size: 0.9375rem; line-height: 1.35; text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.notes-body { min-width: 0; }
.notes-body > section { border-top: 4px double var(--ink); padding: 1.25rem 0 1.5rem; scroll-margin-top: 1rem; }
.notes-body > section:first-child { border-top: 0; padding-top: 0; }
.notes-body h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 0 0 0.75rem; }
.notes-body h2 .num { font-family: var(--f-fell); font-style: italic; color: var(--gold-text); margin-right: 0.3em; }
.notes-body p, .notes-body ul { max-width: 68ch; font-size: 1.0625rem; margin: 0 0 0.9rem; }
.notes-body ul { padding-left: 1.4rem; }
.notes-body li { margin-bottom: 0.35rem; }
.notes-body li::marker { content: "❧  "; color: var(--orn); }
.roles { margin: 0 0 1rem; max-width: 68ch; border: 1px solid var(--ink); background: var(--card); }
.roles > div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 1rem; padding: 0.65rem 1rem; border-top: 1px dotted var(--ink); }
.roles > div:first-child { border-top: 0; }
.roles dt { font-family: var(--f-sc); font-size: 1.1rem; }
.roles dd { margin: 0; font-size: 0.98rem; }
@media (max-width: 520px) { .roles > div { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; } }
.gloss { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; }
@media (max-width: 760px) { .gloss { grid-template-columns: minmax(0, 1fr); } }
.gloss > div { background: var(--card); border: 1px solid var(--ink); padding: 0.75rem 1rem 0.85rem; position: relative; min-width: 0; }
.gloss > div::before { content: ""; position: absolute; inset: 3px; border: 1px dotted rgba(59, 42, 26, 0.5); pointer-events: none; }
.gloss dt { font-family: var(--f-sc); font-size: 1.2rem; border-bottom: 1px solid var(--ink); padding-bottom: 0.2rem; margin-bottom: 0.35rem; }
.gloss dd { margin: 0; font-size: 0.95rem; line-height: 1.65; }
.label-demo { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin: 0 0 1rem; font-size: 1.05rem; }
.key--wide { margin-top: 1.75rem; }
.key--wide .key__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
.key--wide .key__item:nth-last-child(2) { border-bottom: 0; }
@media (max-width: 760px) {
  .key--wide .key__list { grid-template-columns: minmax(0, 1fr); }
  .key--wide .key__item:nth-last-child(2) { border-bottom: 1px dotted var(--ink); }
}
.label-demo > span { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; font-size: 0.95rem; font-family: var(--f-fell); font-style: italic; }
.label-demo .pos { font-style: normal; }

/* ---------- Privacy and cookie policies (an almanac appendix) ---------- */
.policy-effective {
  margin: 0.9rem 0 0; font-family: var(--f-sc); font-size: 1.05rem; letter-spacing: 0.08em; color: var(--gold-text);
}
.policy-effective time { color: var(--ink); }
.policy-layout { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: 2.75rem; padding: 0 var(--gutter) 2.75rem; align-items: start; }
@media (max-width: 900px) { .policy-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } }
.policy-layout .policy-toc { position: sticky; top: 1rem; border: 3px double var(--ink); background: var(--card); padding: 0.9rem 1.1rem 0.6rem; min-width: 0; }
@media (max-width: 900px) { .policy-layout .policy-toc { position: static; } }
.policy-toc__label { font-family: var(--f-sc); font-size: 1.3rem; line-height: 1.2; text-align: center; margin: 0 0 0.3rem; border-bottom: 1px solid var(--ink); padding-bottom: 0.35rem; }
.policy-layout .policy-toc ul { display: block; margin: 0; padding: 0 0 0 1.9rem; list-style: lower-roman; }
.policy-layout .policy-toc li { border-bottom: 1px dotted var(--ink); }
.policy-layout .policy-toc li:last-child { border-bottom: 0; }
.policy-layout .policy-toc li::marker { font-family: var(--f-fell); font-style: italic; color: var(--gold-text); }
.policy-layout .policy-toc a { display: flex; align-items: center; min-height: 44px; font-size: 0.9375rem; line-height: 1.35; text-decoration: none; }
.policy-layout .policy-toc a:hover { text-decoration: underline; }
.policy-body { min-width: 0; max-width: 68ch; counter-reset: policy; }
.policy-body .policy-section { counter-increment: policy; border-top: 4px double var(--ink); padding: 1.25rem 0 1.5rem; scroll-margin-top: 1rem; }
.policy-body .policy-section:first-child { border-top: 0; padding-top: 0; }
.policy-section h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 0 0 0.75rem; }
.policy-section h2::before { content: counter(policy, lower-roman) ". " / ""; font-family: var(--f-fell); font-style: italic; color: var(--gold-text); margin-right: 0.15em; }
.policy-body .policy-section p, .policy-body .policy-section li { font-size: 1.0625rem; line-height: 1.7; max-width: 68ch; }
.policy-section p { margin: 0 0 0.9rem; }
.policy-body .policy-section ul { margin: 0 0 0.9rem; padding-left: 1.4rem; }
.policy-body .policy-section li + li { margin-top: 0.45rem; }
.policy-section li::marker { content: "❧  "; color: var(--orn); }
.policy-section code {
  font-family: "Courier New", Courier, ui-monospace, monospace; font-size: 0.92em;
  background: var(--paper-shade); border: 1px dotted var(--ink); padding: 0 0.3em; overflow-wrap: anywhere;
}
.policy-body .policy-list { margin: 0 0 1rem; gap: 0; border: 3px double var(--ink); background: var(--card); padding: 4px; }
.policy-list > div { border: 1px solid var(--ink); border-top: 0; padding: 0.75rem 1rem 0.85rem; }
.policy-list > div:first-child { border-top: 1px solid var(--ink); }
.policy-list dt { font-family: var(--f-sc); font-size: 1.1rem; border-bottom: 1px dotted var(--ink); padding-bottom: 0.25rem; }
.policy-list dt code { font-weight: 700; background: none; border: 0; padding: 0; font-size: 1rem; }
.policy-body .policy-list dd { margin: 0.4rem 0 0; font-size: 0.98rem; line-height: 1.65; }
.policy-settings:defined { color: var(--river-ink); font-family: var(--f-sc); font-size: 1.08em; }
.policy-settings:defined:hover { color: var(--gold-text); }
.policy-settings-fallback { font-family: var(--f-fell); font-size: 1.04em; }
probo-settings-link:defined:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Footer legal line: set like a colophon imprint, ornaments between entries. */
.colophon .legal-links {
  justify-content: center; gap: 0 0.8rem; margin: 0.4rem auto 0;
  font-family: var(--f-sc); font-size: 1.05rem; letter-spacing: 0.03em;
}
.colophon .legal-links a, .colophon .legal-links probo-settings-link:defined { color: var(--gold-on-ink); }
.colophon .legal-links a:hover, .colophon .legal-links probo-settings-link:defined:hover { color: var(--paper-light); }
.colophon .legal-links__sep { display: inline-flex; align-items: center; font-size: 0; }
.colophon .legal-links__sep::before { content: "❧"; font-family: var(--f-fell); font-size: 1.05rem; color: var(--gold-on-ink); }
.colophon .legal-links probo-settings-link:defined::before { content: "❧"; display: inline-block; margin-right: 0.8rem; font-family: var(--f-fell); color: var(--gold-on-ink); text-decoration: none; }
.colophon probo-settings-link:defined:focus-visible { outline-color: var(--gold-on-ink); }
