@font-face {
  font-family: "Geist";
  src: local("Geist Variable"), local("Geist");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #f4f1e8;
  --muted: #a3a79f;
  --paper: #111412;
  --surface: #191d1a;
  --line: #30362f;
  --signal: #e25d48;
  --mint: #8eb8a7;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 0%, rgb(142 184 167 / 10%), transparent 34rem),
    var(--paper);
  color: var(--ink);
  font-family: "Geist", "Avenir Next", system-ui, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-underline-offset: .22em; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 1rem; top: -5rem; background: var(--ink); color: var(--paper); padding: .7rem 1rem; z-index: 2; }
.skip-link:focus { top: 1rem; }
.site-header, footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 0;
  font-size: .78rem;
  font-weight: 720;
  letter-spacing: .12em;
}
.site-header > a { text-decoration: none; }
.site-header nav { display: flex; gap: 1.3rem; color: var(--muted); }
.news-hero, .story-grid, .story-page, .empty {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}
.news-hero { padding: clamp(4.5rem, 10vw, 9rem) 0 clamp(3rem, 7vw, 6rem); max-width: 1180px; }
.news-hero h1, .story-page h1 {
  max-width: 16ch;
  margin: .6rem 0 1.1rem;
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  line-height: .94;
  letter-spacing: -.065em;
  font-weight: 720;
}
.news-hero > p:last-child, .dek { max-width: 58ch; color: var(--muted); font-size: clamp(1rem, 2vw, 1.25rem); }
.eyebrow { margin: 0; color: var(--mint); font-size: .72rem; font-weight: 720; letter-spacing: .14em; text-transform: uppercase; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(18rem, .8fr); border-top: 1px solid var(--line); }
.story-card { padding: 2rem 0; border-bottom: 1px solid var(--line); display: grid; gap: 1.3rem; }
.story-card:nth-child(even) { padding-left: 2rem; border-left: 1px solid var(--line); }
.story-card:nth-child(odd):not(.lead) { padding-right: 2rem; }
.story-card.lead { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr); padding: 0 0 3rem; gap: clamp(2rem, 5vw, 5rem); }
.story-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 1.1rem; background: var(--surface); }
.story-card h2 { margin: .45rem 0 .7rem; font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1.04; letter-spacing: -.035em; }
.story-card h2 a { text-decoration: none; }
.story-card p:not(.eyebrow) { color: var(--muted); max-width: 58ch; }
.read-link { display: inline-block; margin-top: .8rem; color: var(--ink); font-weight: 650; text-decoration-color: var(--signal); }
.empty { min-height: 45vh; padding: 5rem 0; border-top: 1px solid var(--line); }
.empty h2 { max-width: 18ch; font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.05em; line-height: 1; }
.empty p:last-child { max-width: 50ch; color: var(--muted); }
.story-page { max-width: 900px; padding: clamp(4rem, 9vw, 8rem) 0; }
.story-page header { margin-bottom: 3rem; }
.story-page h1 { max-width: 14ch; font-size: clamp(2.7rem, 7vw, 6rem); }
.story-page figure { margin: 0 0 3.5rem; }
.story-page figure img { width: 100%; max-height: 650px; object-fit: cover; border-radius: 1.1rem; }
.story-page figcaption { margin-top: .7rem; color: var(--muted); font-size: .75rem; }
.story-body { max-width: 680px; font-size: clamp(1.05rem, 2vw, 1.2rem); }
.story-body p { margin: 0 0 1.45rem; }
.source { max-width: 680px; border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1.25rem; }
.source a { display: inline-block; margin-top: .45rem; }
.back-link { margin-top: 4rem; }
footer { margin-top: 5rem; border-top: 1px solid var(--line); border-bottom: 0; color: var(--muted); font-weight: 500; letter-spacing: 0; }
footer p { max-width: 60ch; }
@media (max-width: 760px) {
  .site-header { align-items: flex-start; }
  .site-header nav { flex-direction: column; gap: .35rem; align-items: flex-end; }
  .story-grid { display: block; }
  .story-card, .story-card.lead { display: grid; grid-template-columns: 1fr; padding: 1.5rem 0; border-left: 0; }
  .story-card:nth-child(even), .story-card:nth-child(odd):not(.lead) { padding-inline: 0; border-left: 0; }
  footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: no-preference) {
  a { transition: color .25s ease, opacity .25s ease; }
  a:hover { color: var(--mint); }
}
