/* Palomar Pickles — site styles.
   No framework, no JS, no external assets (no web fonts). Works from file://.
   Token names are unchanged from v1 so existing markup and the inline SVG on
   the markets page keep working; the values are cooler and the type is new. */

:root {
  --bg: #f1f4f2;
  --surface: #ffffff;
  --surface-alt: #e6ecea;
  --text: #16201d;
  --text-soft: #56635e;
  --line: #d2dbd7;
  --accent: #2f6b52;
  --accent-soft: #e1eee8;
  --note-bg: #eaf1f4;
  --note-line: #c2d4de;
  --deep: #101916;
  --on-deep: #eef2f0;
  --on-deep-soft: #d3dedb;
  --on-deep-accent: #8fd0b1;
  --warn-bg: #f4f0e6;
  --warn-line: #d9cba3;
  --warn-ink: #7a6420;
  --bad-bg: #f6ecec;
  --bad-line: #dbb6b6;
  --bad-ink: #8c3a3a;

  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --maxw: 74rem;
  --prose: 46rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111715;
    --surface: #18201d;
    --surface-alt: #202825;
    --text: #e5ebe8;
    --text-soft: #98a7a1;
    --line: #2d3733;
    --accent: #7fc2a3;
    --accent-soft: #1d2b25;
    --note-bg: #16232a;
    --note-line: #2e4753;
    --deep: #0b110f;
    --warn-bg: #262114;
    --warn-line: #4d4227;
    --warn-ink: #d3bb77;
    --bad-bg: #2a1c1c;
    --bad-line: #573535;
    --bad-ink: #e0a0a0;
  }
}

*, *::before, *::after { box-sizing: border-box; }

/* overflow must stay visible on both: any other value turns html or body into a
   scroll container and cancels the sticky header. */
html { scroll-behavior: smooth; overflow: visible; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  overflow: visible;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--sans);
  -webkit-text-size-adjust: 100%;
  text-wrap: pretty;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; }

a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--text); }

/* ---------- layout ---------- */

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.wrap-wide { max-width: var(--maxw); }
.prose { max-width: var(--prose); }
main { flex: 1 0 auto; width: 100%; }

/* longhand on purpose: a `padding` shorthand here would zero the .wrap gutter */
.band { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.band-alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.rule { border-top: 1px solid var(--line); padding-top: 2.5rem; }

/* ---------- header ---------- */

/* The header pins to the top of the viewport on every page.

   Sticky is fragile: it is silently cancelled if ANY ancestor of .site-head has
   overflow other than visible, or a transform, filter, perspective, contain, or
   will-change. .site-head is a direct child of body, and html and body are both
   pinned to overflow:visible above, so that chain is kept clean deliberately.
   Do not add overflow or transform to html, body, or .site-head.

   -webkit-sticky is kept for older Safari, which shipped the prefixed form only.
   In any browser too old for either, the header simply scrolls away as it did
   before: nothing overlaps and no layout breaks. */
.site-head {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 20;
  flex: none;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(22, 32, 29, 0.04), 0 6px 18px -12px rgba(22, 32, 29, 0.5);
}

/* In-page links must not land underneath the pinned header. scroll-margin-top
   is ignored by browsers that do not support it, which land as they used to. */
:target { scroll-margin-top: 6.5rem; }

/* Now that the header is pinned it costs viewport height on every screen, so on
   narrow ones the nav is tightened to keep it from wrapping onto a third row. */
@media (max-width: 40rem) {
  .site-head .wrap { min-height: 3.5rem; gap: 0.4rem 1.1rem; padding-top: 0.5rem; padding-bottom: 0.5rem; }
  .brand { font-size: 1.1rem; }
  .site-head nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; }
  .site-head nav a { font-size: 0.82rem; padding: 0.15rem 0; }
  :target { scroll-margin-top: 5.5rem; }
}

.site-head .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
  min-height: 4.5rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-right: auto;
  text-decoration: none;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 700;
}

.brand span { color: var(--accent); }

.stamp {
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}

nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }

nav a {
  font-size: 0.9rem;
  color: var(--text-soft);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}

nav a:hover { color: var(--text); }
nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }

/* ---------- hero ---------- */

.hero-band {
  position: relative;
  background: var(--deep);
  color: var(--on-deep);
  overflow: hidden;
}

.hero-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(9,16,14,0.88), rgba(9,16,14,0.5) 60%, rgba(9,16,14,0.78));
}

.hero-band .wrap { position: relative; z-index: 1; padding-top: 5.5rem; padding-bottom: 4rem; }
.hero-tall .wrap { padding-top: 7rem; padding-bottom: 5rem; }

.hero-band h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 30ch;
}

.hero-band .lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--on-deep-soft);
  margin: 1.5rem 0 0;
  max-width: 52ch;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero-band .eyebrow { color: var(--on-deep-accent); letter-spacing: 0.18em; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.5rem; }

.cta, .cta-ghost {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 3px;
}

.cta { background: var(--accent); color: #f4faf7; }
.cta:hover { filter: brightness(1.12); color: #f4faf7; }
.cta-ghost { border: 1px solid rgba(238,242,240,0.35); color: var(--on-deep); }
.cta-ghost:hover { background: rgba(238,242,240,0.1); color: var(--on-deep); }

/* ---------- status strip / notes ---------- */

.status-strip { background: var(--note-bg); border-bottom: 1px solid var(--note-line); }

.status-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  align-items: baseline;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.status-strip p { margin: 0; font-size: 0.95rem; }

.kicker {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
}

.note {
  background: var(--note-bg);
  border: 1px solid var(--note-line);
  border-radius: 4px;
  padding: 1.25rem 1.4rem;
  font-size: 0.95rem;
  max-width: var(--prose);
}

.note strong { display: block; margin-bottom: 0.4rem; }
.note p { margin: 0; }
.note-warn { background: var(--warn-bg); border-color: var(--warn-line); }
.note-warn strong { color: var(--warn-ink); }

/* ---------- type ---------- */

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
}

h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}

h4 { font-size: 1rem; margin: 0 0 0.4rem; }

p { margin: 0 0 1rem; }
.lede { font-size: 1.1rem; color: var(--text-soft); margin-bottom: 2rem; }
.soft { color: var(--text-soft); }
.small { font-size: 0.92rem; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.5rem; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 3rem;
}

/* ---------- stats ---------- */

.stats {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  align-content: start;
}

.stats li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.25rem 1.4rem;
  margin: 0;
}

.stats .num {
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.stats .label { display: block; font-size: 0.9rem; color: var(--text-soft); margin-top: 0.4rem; }

.stats-row { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }

/* ---------- footprint bars ---------- */

.footprint { display: grid; gap: 1.5rem; max-width: 62rem; }

.fbar-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.fbar-head .area { font-family: var(--mono); font-size: 0.85rem; color: var(--text-soft); }
.fbar-head .cmp { margin-left: auto; font-size: 0.85rem; color: var(--text-soft); }

.fbar-track {
  height: 2.2rem;
  background: var(--surface-alt);
  border-radius: 2px;
  overflow: hidden;
}

.fbar-fill { height: 100%; background: var(--accent); }

.footnote {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-soft);
  margin: 0;
  border-top: 1px dashed var(--line);
  padding-top: 0.75rem;
}

/* ---------- figures and galleries ---------- */

figure { margin: 0; }

figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
  background: var(--surface-alt);
}

figcaption { font-size: 0.84rem; color: var(--text-soft); margin-top: 0.55rem; }
figcaption .when {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1rem;
}

.strip { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; }

.photo-slot {
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--line);
  border-radius: 3px;
  background: repeating-linear-gradient(45deg, var(--surface-alt), var(--surface-alt) 10px, var(--bg) 10px, var(--bg) 20px);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.photo-slot span {
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.3rem 0.5rem;
}

/* ---------- build timeline (farm story) ---------- */

.timeline { display: grid; gap: 3.5rem; }

.step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 2rem 3rem;
  align-items: start;
}

.step-head p.when {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.step-head h3 { margin-bottom: 0.75rem; }
.step-head p { margin: 0; color: var(--text-soft); font-size: 0.95rem; }

@media (min-width: 60rem) {
  .step-head { position: sticky; top: 6rem; }
}

/* ---------- batch log timeline ---------- */

.log { list-style: none; margin: 0; padding: 0; }

.log li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  margin: 0 0 1.4rem;
}

.log .when {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  padding-top: 0.15rem;
}

.log .body { border-left: 1px solid var(--line); padding-left: 1.25rem; }
.log strong { display: block; font-size: 0.98rem; }
.log span.note-text { display: block; font-size: 0.92rem; color: var(--text-soft); margin-top: 0.2rem; }

/* numbered stages */
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }

.stages li { display: grid; grid-template-columns: 3rem 1fr; gap: 1.25rem; align-items: start; margin: 0; }
.stages .n { font-family: var(--serif); font-size: 1.5rem; color: var(--accent); line-height: 1.2; }
.stages .body { border-top: 1px solid var(--line); padding-top: 0.6rem; }
.stages strong { display: block; font-size: 1.05rem; margin-bottom: 0.35rem; }
.stages p { margin: 0; color: var(--text-soft); font-size: 0.95rem; max-width: 62ch; }

/* measures list */
.measures { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }

.measures li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.9rem;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.6rem;
  margin: 0;
}

.measures strong { font-family: var(--mono); font-size: 0.85rem; }
.measures span { font-size: 0.88rem; color: var(--text-soft); }

/* ---------- cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.5rem;
  margin: 0;
}

.card > :last-child { margin-bottom: 0; }
.card .num {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}
.card strong { display: block; font-size: 0.98rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.92rem; color: var(--text-soft); margin: 0; }

.card-accent { border-top: 3px solid var(--accent); border-radius: 3px; }
.card-accent strong { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.card-tick { border-left: 3px solid var(--accent); background: var(--bg); }
.card-bad { background: var(--bad-bg); border-color: var(--bad-line); }
.card-bad p { color: inherit; }

.spec {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
}

.spec ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.spec li { font-size: 0.95rem; border-bottom: 1px solid var(--line); padding-bottom: 0.7rem; margin: 0; }

/* ---------- doors (next links) ---------- */

.next-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.next-links li { margin: 0; }

.next-links a {
  display: block;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.75rem;
  text-decoration: none;
  color: var(--text);
}

.next-links a:hover { border-color: var(--accent); }

.next-links em {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.next-links strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.next-links span { display: block; font-size: 0.93rem; color: var(--text-soft); }

/* ---------- tables ---------- */

.table-scroll { overflow-x: auto; margin: 1.25rem 0; }

table { border-collapse: collapse; width: 100%; min-width: 22rem; font-size: 0.93rem; }

th, td { text-align: left; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--line); }
th { font-weight: 600; background: var(--surface-alt); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ================================================================
   Farmers markets page
   ================================================================ */

.jump { display: flex; flex-wrap: wrap; gap: 0.5rem 0.65rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.jump li { margin: 0; }

.jump a {
  display: block;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
}

.jump a:hover { border-color: var(--accent); color: var(--text); }

/* week at a glance */
.week { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }

.week > li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.1rem 1.2rem;
  margin: 0;
}

.week h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.5rem;
  margin: 0 0 0.75rem;
}

.week h3 span { font-weight: 400; color: var(--text-soft); }
.week ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.week ul li { margin: 0; font-size: 0.9rem; line-height: 1.35; }
.week .hrs { display: block; font-family: var(--mono); font-size: 0.72rem; color: var(--text-soft); margin-top: 0.15rem; }

/* day headings in the directory */
.day {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 2.5rem 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}

.day h3 { margin: 0; font-size: 1.4rem; }
.day .count { font-family: var(--mono); font-size: 0.72rem; color: var(--text-soft); margin-left: auto; }

/* market cards */
.markets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1.25rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.market {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.4rem 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.market h4 {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.7rem;
  font-weight: 400;
}

.market h4 a { font-family: var(--serif); font-size: 1.2rem; text-decoration: none; }
.market h4 a:hover { text-decoration: underline; }
.market .hours { font-family: var(--mono); font-size: 0.82rem; margin: 0; }

.market dl {
  margin: 0;
  font-size: 0.87rem;
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.3rem 0.8rem;
}

.market dt { color: var(--text-soft); }
.market dd { margin: 0; overflow-wrap: anywhere; }

.market .why {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin: 0;
  border-top: 1px dashed var(--line);
  padding-top: 0.8rem;
}

.market .before {
  font-size: 0.86rem;
  background: var(--surface-alt);
  border-radius: 3px;
  padding: 0.7rem 0.85rem;
  margin: auto 0 0;
}

/* status pills */
.pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--line);
  color: var(--text-soft);
  background: var(--bg);
  vertical-align: middle;
}

.pill-ok { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.pill-warn { color: var(--warn-ink); border-color: var(--warn-line); background: var(--warn-bg); }
.pill-bad { color: var(--bad-ink); border-color: var(--bad-line); background: var(--bad-bg); }

/* governance layer stack */
.layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }

.layers > li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.4rem 1.5rem;
  margin: 0;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
}

.layers .n {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  width: 1.9rem;
  height: 1.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.layers h4 { font-size: 1.02rem; margin: 0 0 0.35rem; }
.layers p { margin: 0 0 0.5rem; font-size: 0.95rem; color: var(--text-soft); max-width: 68ch; }
.layers .who {
  font-size: 0.88rem;
  border-left: 2px solid var(--line);
  padding-left: 0.75rem;
  margin: 0;
}

/* corrections */
.corrections { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }

.corrections li {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1rem 1.2rem;
  margin: 0;
}

.corrections .was { font-size: 0.92rem; color: var(--text-soft); text-decoration: line-through; }
.corrections .is { font-size: 0.92rem; }
.corrections .pill { justify-self: start; }

/* priority lists */
.priority-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; }

.priority-grid > div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.4rem;
}

.priority-grid h4 { font-size: 0.95rem; margin: 0 0 0.75rem; }
.priority-grid ol { margin: 0; padding-left: 1.1rem; font-size: 0.88rem; color: var(--text-soft); }
.priority-grid li { margin-bottom: 0.2rem; }

.sources { font-size: 0.85rem; column-gap: 2rem; }
.sources li { overflow-wrap: anywhere; margin-bottom: 0.3rem; }

@media (min-width: 48rem) {
  .sources { columns: 2; }
}

/* ---------- footer ---------- */

.site-foot { background: var(--deep); color: #c9d4d0; }
.site-foot .wrap { padding-top: 3.5rem; padding-bottom: 3.5rem; }

.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.site-foot .brand-foot {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--on-deep);
  margin: 0 0 0.75rem;
}

.site-foot .brand-foot span { color: var(--on-deep-accent); }
.site-foot p { margin: 0 0 0.75rem; font-size: 0.9rem; }
.site-foot p:last-child { margin-bottom: 0; }
.site-foot nav { display: grid; gap: 0.5rem; }
.site-foot nav a { color: #c9d4d0; border: 0; padding: 0; }
.site-foot nav a:hover { color: var(--on-deep); }
.site-foot a { color: var(--on-deep); }
.site-foot .kicker { color: var(--on-deep-accent); display: block; margin-bottom: 0.75rem; }
.site-foot .fine { font-size: 0.85rem; color: #9aa8a2; }
.site-foot .foot-legal {
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 212, 208, 0.18);
  font-size: 0.85rem;
  color: #9aa8a2;
}
.site-foot .foot-legal a { color: #9aa8a2; }
.site-foot .foot-legal a:hover { color: var(--on-deep); }
