/* Local Newswire — Worcester's Independent Daily
   Editorial newspaper aesthetic: cream parchment, deep ink, forest green */

:root {
  --paper: #f5f1e8;
  --paper-2: #fbf8f0;
  --paper-3: #ffffff;
  --ink: #15110a;
  --ink-2: #2a2418;
  --muted: #6b6356;
  --muted-2: #948b7c;
  --rule: #d8d2c4;
  --rule-strong: #b8b0a0;
  --green: #0d4a36;
  --green-2: #0a3a2a;
  --green-soft: #e7efe9;
  --ochre: #a86a17;
  --ochre-soft: #f3e8d4;
  --maroon: #6b1f24;
  --shadow-sm: 0 1px 0 rgba(21, 17, 10, 0.04), 0 1px 3px rgba(21, 17, 10, 0.04);
  --shadow-md: 0 2px 8px rgba(21, 17, 10, 0.06);
  --max: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --t: 180ms ease;
}

* { box-sizing: border-box; }
*::selection { background: var(--green); color: var(--paper); }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Lora", "Iowan Old Style", "Source Serif Pro", Georgia, serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, picture, video { max-width: 100%; display: block; height: auto; }

a {
  color: var(--green);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color var(--t);
}
a:hover { color: var(--ochre); text-decoration: underline; }

button { font: inherit; cursor: pointer; }

h1, h2, h3, h4, h5 {
  font-family: "Playfair Display", "Times New Roman", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--ink);
  line-height: 1.18;
  margin: 0;
}

p { margin: 0 0 1rem; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Kicker / labels (newspaper-style) ---------- */
.kicker {
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--ochre);
}
.kicker.center::before { width: 14px; }
.byline {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.byline strong { color: var(--ink-2); font-weight: 600; }

/* ---------- Top date strip ---------- */
.date-strip {
  background: var(--ink);
  color: var(--paper);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.date-strip .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.5rem var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.date-strip span { color: var(--paper); opacity: 0.85; }
.date-strip .pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--paper);
}
.date-strip .pulse::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ochre);
  box-shadow: 0 0 0 0 rgba(168, 106, 23, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(168, 106, 23, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(168, 106, 23, 0); }
  100% { box-shadow: 0 0 0 0 rgba(168, 106, 23, 0); }
}

/* ---------- Masthead ---------- */
.masthead {
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
  padding: 1.6rem var(--gutter) 1.1rem;
}
.masthead-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  text-align: center;
}
.masthead .left, .masthead .right {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.masthead .left { text-align: left; }
.masthead .right { text-align: right; }
.brand {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.2rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.brand:hover { color: var(--ink); text-decoration: none; }
.brand small {
  display: block;
  margin-top: 0.4rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--green);
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .masthead-inner { grid-template-columns: 1fr; }
  .masthead .left, .masthead .right { display: none; }
}

/* ---------- Primary nav (newspaper section bar) ---------- */
.section-bar {
  border-bottom: 3px double var(--ink);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 30;
}
.section-bar.solid {
  background: var(--paper-2);
}
.section-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.section-bar a {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 0.85rem 1.2rem;
  border-bottom: 2px solid transparent;
  transition: color var(--t), border-color var(--t), background var(--t);
}
.section-bar a:hover { color: var(--green); text-decoration: none; }
.section-bar a[aria-current="page"] {
  color: var(--green);
  border-bottom-color: var(--green);
}
@media (max-width: 760px) {
  .section-bar-inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .section-bar a { padding: 0.8rem 0.85rem; white-space: nowrap; }
}

/* ---------- Hero (above the fold) ---------- */
.hero {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 2.5rem;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

.lead-story { display: flex; flex-direction: column; gap: 0.85rem; }
.lead-story .hed {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  margin: 0.4rem 0 0.5rem;
  letter-spacing: -0.022em;
  line-height: 1.05;
}
.lead-story .hed a { color: var(--ink); }
.lead-story .hed a:hover { color: var(--green-2); text-decoration: none; }
.lead-story .deck {
  font-family: "Lora", Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.lead-art {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%);
  aspect-ratio: 16/9;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  color: var(--paper);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lead-art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.85;
}
.lead-art .caption {
  background: rgba(21, 17, 10, 0.5);
  padding: 0.4rem 0.7rem;
  border-radius: 2px;
  backdrop-filter: blur(6px);
}

/* sidebar list (digest column) */
.digest {
  border-left: 1px solid var(--rule);
  padding-left: 2rem;
}
@media (max-width: 900px) {
  .digest { border-left: 0; padding-left: 0; padding-top: 1.5rem; border-top: 3px double var(--ink); }
}
.digest h3 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre);
  margin: 0 0 1rem;
}
.digest ul { list-style: none; padding: 0; margin: 0; }
.digest li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
}
.digest li:last-child { border-bottom: 0; }
.digest li .no {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ochre);
  margin-right: 0.4rem;
}
.digest li a {
  display: block;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
}
.digest li a:hover { color: var(--green); text-decoration: none; }
.digest li .small {
  display: block;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.35rem;
}

/* ---------- Section heading ---------- */
.section {
  padding: 2.5rem 0;
}
.section + .section { border-top: 1px solid var(--rule); }
.section-title {
  text-align: center;
  margin: 0 0 2rem;
  position: relative;
}
.section-title h2 {
  display: inline-block;
  background: var(--paper);
  padding: 0 1rem;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.005em;
  position: relative;
  z-index: 1;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: var(--ink);
  z-index: 0;
}
.section-title .sub {
  display: block;
  margin-top: 0.5rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
  padding: 0 0.5rem;
}

/* ---------- Story grid ---------- */
.stories-3 {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
}
.stories-2 {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 900px) {
  .stories-3 { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
}
@media (max-width: 620px) {
  .stories-3, .stories-2 { grid-template-columns: 1fr; }
}

article.story-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-right: 1rem;
  position: relative;
}
.stories-3 article.story-card + article.story-card,
.stories-2 article.story-card + article.story-card {
  border-left: 1px solid var(--rule);
  padding-left: 1.5rem;
}
@media (max-width: 620px) {
  .stories-3 article.story-card,
  .stories-2 article.story-card {
    border-left: 0 !important;
    padding-left: 0 !important;
    border-top: 1px solid var(--rule);
    padding-top: 1.5rem;
  }
  .stories-3 article.story-card:first-child,
  .stories-2 article.story-card:first-child {
    border-top: 0;
    padding-top: 0;
  }
}
.story-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.22;
  margin: 0.25rem 0;
}
.story-card h3 a { color: var(--ink); }
.story-card h3 a:hover { color: var(--green-2); text-decoration: none; }
.story-card p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.55;
  margin: 0;
}
.story-card .byline { margin-top: auto; padding-top: 0.4rem; }

/* Story card art (SVG illustration block) */
.art {
  aspect-ratio: 16/10;
  border-radius: 3px;
  background: var(--green-soft);
  margin-bottom: 0.75rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.art svg { width: 100%; height: 100%; }
.art.gold { background: var(--ochre-soft); }
.art.maroon { background: #f0e2e0; }
.art.ink { background: #2a2418; }
.art.paper { background: var(--paper-2); border: 1px solid var(--rule); }

/* ---------- Two-up feature row ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; }
}
.feature-row .feature-main h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0.3rem 0 0.5rem;
}
.feature-row .feature-main h3 a { color: var(--ink); }
.feature-row .feature-main h3 a:hover { color: var(--green-2); text-decoration: none; }
.feature-row .feature-main p { color: var(--muted-2); font-size: 1.05rem; line-height: 1.6; margin: 0 0 1rem; color: var(--muted); }
.feature-row .feature-side {
  border-left: 1px solid var(--rule);
  padding-left: 2rem;
}
@media (max-width: 900px) {
  .feature-row .feature-side { border-left: 0; padding-left: 0; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
}
.feature-row .feature-side h4 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
  margin: 0 0 1rem;
}
.feature-row .feature-side ul { list-style: none; padding: 0; margin: 0; }
.feature-row .feature-side li { border-top: 1px solid var(--rule); padding: 0.85rem 0; }
.feature-row .feature-side li:first-child { border-top: 0; padding-top: 0; }
.feature-row .feature-side li a {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}
.feature-row .feature-side li a:hover { color: var(--green); text-decoration: none; }
.feature-row .feature-side li .small {
  display: block;
  margin-top: 0.3rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Article (story page) ---------- */
.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 3rem;
  padding: 2.5rem 0 4rem;
}
@media (max-width: 980px) {
  .article-wrap { grid-template-columns: 1fr; gap: 2rem; }
}

article.story {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}
article.story .breadcrumbs {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
article.story .breadcrumbs a { color: var(--muted); }
article.story .breadcrumbs a:hover { color: var(--green); }
article.story .breadcrumbs span { margin: 0 0.5rem; color: var(--rule-strong); }
article.story h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.022em;
  margin: 0.4rem 0 0.85rem;
  line-height: 1.08;
}
article.story .deck {
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
  line-height: 1.55;
}
article.story .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 3px double var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 0.85rem 0;
  margin: 0 0 2rem;
  letter-spacing: 0.02em;
}
article.story .meta strong { color: var(--ink); font-weight: 600; }

article.story h2 {
  font-size: 1.55rem;
  margin: 2.5rem 0 0.75rem;
  font-weight: 700;
}
article.story h3 {
  font-size: 1.2rem;
  margin: 2rem 0 0.5rem;
  font-weight: 700;
}
article.story p, article.story li {
  font-family: "Lora", Georgia, serif;
  font-size: 1.075rem;
  line-height: 1.78;
  color: var(--ink-2);
}
article.story ul, article.story ol { padding-left: 1.4rem; margin: 0 0 1.25rem; }
article.story li { margin-bottom: 0.45rem; }

article.story p > strong, article.story li > strong { color: var(--ink); }

article.story .pullquote {
  margin: 2.5rem -1rem;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-left: 4px solid var(--green);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.35;
  color: var(--ink);
  font-style: italic;
  background: var(--paper-2);
}

.dropcap > p:first-of-type::first-letter {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4.5rem;
  font-weight: 800;
  float: left;
  line-height: 0.9;
  padding: 0.4rem 0.6rem 0 0;
  color: var(--green);
}

article.story .article-art {
  aspect-ratio: 16/9;
  background: var(--green-soft);
  margin: 0 0 1.5rem;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
article.story .article-art svg { width: 100%; height: 100%; }
article.story .figcap {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  margin: -0.75rem 0 1.75rem;
  padding-left: 0.75rem;
  border-left: 2px solid var(--ochre);
  letter-spacing: 0.01em;
}

/* sidebar */
.story-aside {
  position: sticky;
  top: 4.25rem;
  align-self: start;
}
.story-aside h4 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
  margin: 0 0 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--ink);
}
.story-aside ul { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.story-aside li { padding: 0.75rem 0; border-bottom: 1px solid var(--rule); }
.story-aside li a {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 0.97rem;
  line-height: 1.3;
  display: block;
}
.story-aside li a:hover { color: var(--green); text-decoration: none; }
.story-aside li .small {
  display: block;
  margin-top: 0.3rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.weather-block {
  background: var(--green-soft);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--green);
  padding: 1rem 1.1rem 1.15rem;
  margin-bottom: 1.5rem;
  border-radius: 2px;
}
.weather-block .label {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
}
.weather-block .temp {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 0.4rem;
}
.weather-block .cond {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

/* tags */
.tag-row {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tag {
  font-family: "IBM Plex Sans", sans-serif;
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.32rem 0.7rem;
  border-radius: 2px;
  text-transform: uppercase;
}

/* read next */
.read-next {
  border-top: 3px double var(--ink);
  padding-top: 2rem;
  margin-top: 3rem;
}
.read-next h4 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
  margin: 0 0 1.25rem;
  text-align: center;
}
.read-next-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
}
.read-next-grid a {
  display: block;
  padding: 1.25rem 1.5rem;
  border-left: 1px solid var(--rule);
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  transition: background var(--t), color var(--t);
}
.read-next-grid a:first-child { border-left: 0; }
.read-next-grid a:hover {
  background: var(--paper-2);
  color: var(--green);
  text-decoration: none;
}
.read-next-grid .k {
  display: block;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

/* ---------- Category index hero ---------- */
.section-intro {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
  text-align: center;
}
.section-intro .crumb {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
  font-weight: 600;
  margin: 0 0 0.8rem;
}
.section-intro h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.022em;
  margin: 0 0 0.75rem;
}
.section-intro p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-style: italic;
  font-size: 1.1rem;
}

/* List view (category page list) */
.list-view {
  border-top: 1px solid var(--rule);
}
.list-view article {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.75rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 720px) {
  .list-view article { grid-template-columns: 1fr; gap: 1rem; }
}
.list-view article .art { aspect-ratio: 4/3; margin: 0; }
.list-view article h2 {
  font-size: 1.5rem;
  margin: 0.4rem 0 0.5rem;
  font-weight: 700;
  line-height: 1.22;
}
.list-view article h2 a { color: var(--ink); }
.list-view article h2 a:hover { color: var(--green); text-decoration: none; }
.list-view article p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 0.75rem;
}

/* ---------- Footer ---------- */
footer.site {
  margin-top: 4rem;
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--ink);
}
footer.site .top {
  padding: 3rem var(--gutter) 2rem;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 760px) {
  footer.site .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  footer.site .top { grid-template-columns: 1fr; }
}
footer.site .brand-block .brand {
  color: var(--paper);
  font-size: 1.6rem;
}
footer.site .brand-block .brand small {
  color: var(--ochre);
}
footer.site .brand-block p {
  margin: 1rem 0 0;
  font-family: "Lora", serif;
  font-size: 0.95rem;
  font-style: italic;
  color: #c9c0ad;
  max-width: 30ch;
  line-height: 1.55;
}
footer.site h5 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre);
  margin: 0 0 0.85rem;
}
footer.site a {
  display: block;
  font-family: "IBM Plex Sans", sans-serif;
  color: #d4cebd;
  padding: 0.3rem 0;
  font-size: 0.9rem;
}
footer.site a:hover { color: var(--paper); text-decoration: none; }
footer.site .legal {
  border-top: 1px solid #2d2618;
  padding: 1.1rem var(--gutter);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8c8470;
  text-align: center;
}

/* ---------- About page ---------- */
.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}
.prose h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  margin: 0 0 1rem;
}
.prose p, .prose li {
  font-family: "Lora", Georgia, serif;
  font-size: 1.075rem;
  line-height: 1.78;
  color: var(--ink-2);
}
.prose h2 { margin: 2.25rem 0 0.75rem; font-size: 1.45rem; }

/* ---------- Long-form (Thomas Rodrick page) extras ---------- */
.toc {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--green);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  border-radius: 2px;
}
.toc h4 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 0.85rem;
  font-weight: 700;
}
.toc ol {
  margin: 0;
  padding-left: 1.2rem;
  font-family: "IBM Plex Sans", sans-serif;
}
.toc li {
  font-size: 0.95rem;
  padding: 0.25rem 0;
  margin: 0;
  color: var(--ink-2);
}
.toc li a { color: var(--ink); font-family: "Lora", serif; font-size: 1rem; }
.toc li a:hover { color: var(--green); }

.factbox {
  background: var(--paper-3);
  border: 1px solid var(--rule);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  border-radius: 2px;
  border-top: 4px solid var(--ochre);
}
.factbox h4 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
  margin: 0 0 0.85rem;
  font-weight: 700;
}
.factbox dl { margin: 0; }
.factbox dt {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.65rem;
  font-weight: 500;
}
.factbox dt:first-child { margin-top: 0; }
.factbox dd {
  margin: 0.15rem 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

/* SVG illustration helpers */
.illus-bg { fill: currentColor; }

/* Utilities */
.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;
}

.center { text-align: center; }
.muted { color: var(--muted); }

/* Print */
@media print {
  .section-bar, .date-strip, footer.site, .read-next, .story-aside { display: none; }
  body { background: #fff; color: #000; }
  article.story { max-width: 100%; }
}
