:root {
  --sage: #e8eee2;
  --ink: #203d2f;
  --body: #314439;
  --muted: #506357;
  --line: #b6c5b3;
  --accent: #295c3e;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--sage); color: var(--body); font: 1.0625rem/1.6 var(--sans); }
a { color: var(--accent); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { color: var(--ink); font-family: var(--serif); font-weight: 500; text-wrap: balance; }
.shell { width: min(70rem, 100% - clamp(2rem, 9vw, 7rem)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; left: 1rem; top: -6rem; background: white; padding: .5rem 1rem; }
.skip:focus { top: 1rem; }

.mast-inner { display: grid; justify-items: center; padding-top: clamp(1rem, 2.6vw, 2.25rem); }
.site-title { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); text-decoration: none; }
.site-title img { width: clamp(1.375rem, 2.5vw, 2.25rem); }
.site-title span { font: 500 clamp(1.75rem, 4vw, 3.25rem)/1.1 var(--serif); letter-spacing: -.045em; }
.mast nav { display: flex; justify-content: center; flex-wrap: wrap; gap: .375rem clamp(1rem, 4vw, 2.5rem); width: 100%; padding: .625rem 0; margin-top: .75rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mast nav a { padding: .25rem 0; color: var(--ink); font-size: .875rem; font-weight: 600; text-decoration: none; }
.mast nav a:hover { text-decoration: underline; }

.lead-story { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(3rem, 7vw, 6rem); }
.hero-image { min-width: 0; }
.hero-image img { height: 100%; min-height: 24rem; aspect-ratio: 1.19; object-fit: cover; object-position: 77% center; }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: #f4f7ef; padding: clamp(1.5rem, 5vw, 4.5rem); }
.hero-text h1 { max-width: 13ch; font-size: clamp(2.5rem, 4.5vw, 4.375rem); letter-spacing: -.055em; line-height: 1.04; }
.standfirst { color: var(--body); font: 1.25rem/1.48 var(--serif); }
.hero-text .standfirst { max-width: 34ch; margin-top: 1rem; }
.read-btn { display: inline-flex; align-items: center; gap: .75rem; margin-top: 1.5rem; color: var(--accent); font-size: .915rem; font-weight: 700; }
.read-btn span { font-size: 1.15rem; line-height: 1; }

.guides { padding-bottom: clamp(3rem, 7vw, 6rem); }
.section-title { margin-bottom: 1.5rem; }
.section-title h2, .local h2 { font-size: clamp(2rem, 3.4vw, 3.125rem); line-height: 1.12; letter-spacing: -.035em; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: start; gap: clamp(1.5rem, 4vw, 3.5rem); }
.card-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover h3 { text-decoration: underline; }
.card-text { margin-top: .875rem; }
.card-text h3 { font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.15; letter-spacing: -.025em; margin-bottom: .5rem; }
.teaser { max-width: 42ch; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.directory { border-top: 1px solid var(--line); }
.directory > a { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; padding: .875rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.directory > a:hover .dir-title { text-decoration: underline; }
.dir-title { font: 500 clamp(1.125rem, 1.6vw, 1.45rem)/1.25 var(--serif); }
.arrow { flex: none; color: var(--accent); }
.kicker { color: var(--muted); font: 600 .875rem/1.5 var(--sans); }

.local .shell { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 5vw, 4rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: clamp(1.5rem, 4vw, 3.5rem); }
.local h2 { margin-bottom: .75rem; }
.local p { max-width: 40ch; color: var(--muted); }
.local ul, .sources ul { list-style: none; padding: 0; margin: 0; }
.local li + li { margin-top: .75rem; }
.local a { font-size: .95rem; }
.partner-note { padding-block: 1.5rem; }
.partner-note p { max-width: 68ch; font-size: .95rem; color: var(--muted); }
.partner-note a { font-weight: 650; }
.footer .shell { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-block: 1.25rem; }
.footer a { color: var(--ink); font: 500 1.25rem/1.3 var(--serif); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer span { color: var(--muted); font-size: .875rem; }

.story { padding-block: 1.5rem clamp(3rem, 6vw, 5rem); }
.crumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .875rem; color: var(--muted); }
.crumb a { color: inherit; }
.story-title { margin-block: clamp(1.75rem, 4vw, 3.5rem) 2rem; }
.story-title h1 { max-width: 20ch; margin: .5rem 0 1rem; font-size: clamp(2.5rem, 5.3vw, 4.75rem); line-height: 1.04; letter-spacing: -.045em; }
.story-title .standfirst { max-width: 58ch; font-size: clamp(1.15rem, 2vw, 1.4rem); }
.story-grid { display: grid; grid-template-columns: minmax(0, 44rem) minmax(10rem, 1fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.prose { min-width: 0; font: 1.18rem/1.68 var(--serif); overflow-wrap: anywhere; }
.prose figure { margin: 0 0 2rem; }
.prose h2 { font-size: clamp(1.65rem, 2.85vw, 2.375rem); line-height: 1.15; letter-spacing: -.025em; margin: 1.3em 0 .45em; }
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 66ch; margin: 0 0 1em; }
.prose blockquote { background: #f4f7ef; margin: 1.5rem 0; border-left: 2px solid var(--accent); padding: 1rem 1.25rem; }
.prose blockquote p { margin: 0 0 .25em; }
.prose cite { font: .875rem var(--sans); color: var(--muted); }
.terms { border-top: 1px solid var(--line); margin: 1em 0; }
.terms dt { color: var(--ink); margin-top: .75em; font-weight: 700; }
.terms dd { margin: 0; padding: 0 0 .75em; border-bottom: 1px solid var(--line); }
.story-grid aside, .sources { border-top: 1px solid var(--line); padding-top: 1rem; }
.story-grid aside h2 { font-size: 1.5rem; margin-bottom: .75rem; }
.nextlink { display: flex; gap: .75rem; justify-content: space-between; padding: .625rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; text-decoration: none; }
.nextlink:hover { text-decoration: underline; }
.all-link { display: inline-block; margin-top: .875rem; font-size: .875rem; }
.sources { margin-top: 2rem; }
.prose .sources h2 { font-size: 1.5rem; margin: 0 0 .5rem; }
.sources li { font: .95rem/1.6 var(--sans); padding-block: .25rem; }

@media (max-width: 820px) {
  .guide-layout { grid-template-columns: 1fr; }
  .hero-image img { min-height: 20rem; }
  .story-grid { grid-template-columns: 1fr; }
  .story-grid aside { max-width: 27rem; }
}

@media (max-width: 640px) {
  .lead-story, .local .shell { grid-template-columns: 1fr; }
  .hero-image img { height: auto; min-height: 0; aspect-ratio: 1.5; }
  .hero-text h1 { max-width: 15ch; }
  .hero-text .standfirst { font-size: 1.125rem; }
  .card-row { gap: 1.25rem; }
  .card-text { margin-top: .75rem; }
  .prose { font-size: 1.125rem; }
}

@media print {
  .mast nav, .skip, .story-grid aside, .read-btn, .footer, .crumb { display: none; }
  .shell, .story-grid { display: block; width: 100%; }
  body { background: white; color: black; }
  .prose figure { max-width: 65%; }
}
