:root {
  --paper: #f5f7f2;
  --surface: #eef2ea;
  --ink: #17211d;
  --muted: #5d6962;
  --line: #cbd5cc;
  --accent: #245b50;
  --accent-2: #9c4336;
  --blue: #315d8c;
  --max: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  line-height: 1.5;
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent);
  text-underline-offset: 0.18em;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 12px;
  z-index: 5;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px clamp(18px, 4vw, 36px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(29px, 4vw, 42px);
  font-weight: 650;
  letter-spacing: 0;
  text-decoration: none;
}

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-weight: 650;
}

.site-header nav a,
.site-footer nav a {
  text-decoration: none;
}

.site-header nav a:hover,
.site-footer nav a:hover {
  color: var(--accent);
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(30px, 6vw, 70px) clamp(18px, 4vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: end;
}

.hero-copy h1,
.article-header h1,
.archive-heading h1 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 650;
  line-height: 0.97;
  letter-spacing: 0;
  margin: 0;
}

.hero-copy h1 {
  font-size: clamp(48px, 8vw, 92px);
  max-width: 760px;
}

.hero-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-weight: 750;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.lead-story {
  border-top: 5px solid var(--accent);
  background: color-mix(in srgb, var(--surface) 82%, white);
}

.lead-story a {
  display: block;
  text-decoration: none;
}

.lead-story img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.lead-story span,
.story-card span,
.compact-link span,
.byline,
.category-pill {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lead-story span,
.lead-story h2,
.lead-story p {
  margin-left: 22px;
  margin-right: 22px;
}

.lead-story span {
  display: inline-block;
  margin-top: 20px;
}

.lead-story h2 {
  margin-top: 8px;
  margin-bottom: 12px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.03;
  letter-spacing: 0;
}

.lead-story p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.05rem;
}

.home-grid,
.article-shell,
.archive-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 36px) clamp(56px, 8vw, 96px);
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 5vw, 60px);
}

.story-column {
  display: grid;
  gap: 18px;
}

.story-card {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.story-card a {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  text-decoration: none;
  align-items: start;
}

.story-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.story-card h2 {
  margin: 5px 0 8px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: 0;
}

.story-card p {
  margin: 0;
  color: var(--muted);
}

.side-rail {
  border-left: 1px solid var(--line);
  padding-left: 26px;
}

.side-rail h2,
.article-aside h2 {
  margin: 0 0 16px;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
}

.compact-link {
  display: block;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.compact-link strong {
  display: block;
  margin-top: 5px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.14;
  letter-spacing: 0;
}

.archive-heading {
  padding: clamp(36px, 6vw, 78px) 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}

.archive-heading h1 {
  font-size: clamp(44px, 7vw, 80px);
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: clamp(28px, 6vw, 70px);
  padding-top: clamp(34px, 6vw, 72px);
}

.article-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  margin-bottom: 34px;
}

.category-pill {
  display: inline-block;
  text-decoration: none;
  color: var(--accent-2);
  margin-bottom: 16px;
}

.article-header h1 {
  font-size: clamp(46px, 7vw, 82px);
}

.dek {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  max-width: 720px;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 18px 0 26px;
}

.featured-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.prose {
  font-size: clamp(18px, 1.8vw, 20px);
  line-height: 1.72;
}

.prose h2 {
  margin: 2.2em 0 0.5em;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

.prose h3 {
  margin: 1.6em 0 0.35em;
  font-size: 1.22em;
}

.prose p,
.prose ul {
  color: #25312b;
}

.prose li {
  margin: 0.38em 0;
}

.prose a {
  color: var(--blue);
  font-weight: 650;
}

.article-aside {
  position: sticky;
  top: 18px;
  align-self: start;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.pagination {
  margin-top: 28px;
  font-weight: 750;
}

.page-shell {
  max-width: 760px;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px clamp(18px, 4vw, 36px) 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 22px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 880px) {
  .site-header,
  .site-footer,
  .hero,
  .home-grid,
  .article-shell {
    display: block;
  }

  .site-header nav {
    margin-top: 14px;
  }

  .lead-story {
    margin-top: 28px;
  }

  .side-rail,
  .article-aside {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 24px;
    margin-top: 34px;
    position: static;
  }

  .story-card a {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 14px;
  }

  .story-card h2 {
    font-size: 1.35rem;
  }

  .story-card p {
    display: none;
  }
}

@media (max-width: 540px) {
  .site-header {
    padding-top: 18px;
  }

  .site-header nav {
    gap: 8px 12px;
    font-size: 0.96rem;
  }

  .hero-copy h1,
  .article-header h1,
  .archive-heading h1 {
    line-height: 1.04;
  }

  .story-card a {
    grid-template-columns: 1fr;
  }

  .story-card img {
    aspect-ratio: 16 / 9;
  }

  .site-footer nav {
    margin-top: 18px;
  }
}