:root {
  --paper: #ede7dc;
  --paper-light: #f6f2e9;
  --ink: #1c2529;
  --muted: #657075;
  --river: #315f73;
  --rule: rgba(28, 37, 41, 0.24);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Aptos", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(28, 37, 41, 0.025) 1px, transparent 1px) 0 0 / 100% 7px,
    var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--river);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--paper-light);
  transform: translateY(-160%);
}

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

.masthead,
.cover,
.story,
.notes,
.about,
.footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.masthead {
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font: 700 clamp(25px, 4vw, 34px)/1 var(--serif);
  letter-spacing: -0.03em;
}

.mark {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--river);
  stroke-width: 2.2;
  stroke-linecap: round;
}

.nav { display: flex; gap: 32px; }
.nav a {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-transform: uppercase;
}

.menu-button { display: none; }

.cover {
  min-height: calc(100vh - 98px);
  min-height: calc(100svh - 98px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  grid-template-rows: auto auto 1fr auto;
  column-gap: clamp(32px, 7vw, 110px);
  padding: clamp(44px, 8vh, 92px) 0 40px;
}

.issue,
.section-label,
.kicker,
.byline,
.note-number {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.issue {
  grid-column: 1 / -1;
  border-top: 1px solid var(--rule);
  padding-top: 10px;
  color: var(--muted);
}

.kicker {
  grid-column: 1;
  align-self: end;
  margin: 48px 0 12px;
  color: var(--river);
}

.cover h1 {
  grid-column: 1;
  margin: 0;
  max-width: 900px;
  font: 500 clamp(48px, 7vw, 94px)/0.98 var(--serif);
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.standfirst {
  grid-column: 1;
  max-width: 720px;
  margin: 32px 0 24px;
  font: 400 clamp(20px, 2.3vw, 28px)/1.42 var(--serif);
}

.read-link {
  grid-column: 1;
  align-self: end;
  justify-self: start;
  margin-top: 18px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}

.read-link span { color: var(--river); }

.cover-note {
  grid-column: 2;
  grid-row: 2 / 5;
  align-self: end;
  border-top: 1px solid var(--ink);
  padding-top: 14px;
  color: var(--muted);
}

.cover-note span {
  color: var(--river);
  font: 600 34px/1 var(--serif);
}

.cover-note p { margin: 12px 0 0; font-size: 14px; }

.story {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(36px, 8vw, 128px);
  padding: clamp(90px, 13vw, 170px) 0;
  border-top: 1px solid var(--ink);
}

.story-header { position: sticky; top: 32px; align-self: start; }
.story-header h2,
.section-heading h2,
.about h2 {
  margin: 12px 0 18px;
  font: 500 clamp(34px, 4.2vw, 58px)/1.05 var(--serif);
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-label { margin: 0; color: var(--river); }
.byline { max-width: 250px; color: var(--muted); line-height: 1.5; }

.story-copy { max-width: 680px; }
.story-copy p { margin: 0 0 1.6em; }
.story-copy .lead {
  font: 500 clamp(23px, 2.8vw, 32px)/1.45 var(--serif);
}

blockquote {
  margin: 2.4em 0;
  padding: 20px 0 20px 28px;
  border-left: 3px solid var(--river);
  font: italic 500 clamp(27px, 3vw, 38px)/1.3 var(--serif);
  color: var(--river);
}

.notes {
  padding: clamp(76px, 11vw, 140px) 0;
  border-top: 1px solid var(--ink);
}

.section-heading { max-width: 780px; }
.note-list {
  list-style: none;
  padding: 0;
  margin: 68px 0 0;
  border-top: 1px solid var(--rule);
}

.note-list li {
  display: grid;
  grid-template-columns: 80px minmax(180px, 0.65fr) minmax(0, 1fr);
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid var(--rule);
}

.note-number { color: var(--river); }
.note-list h3 {
  margin: 0;
  font: 600 27px/1.15 var(--serif);
}
.note-list p { margin: 0; max-width: 580px; color: #3b474b; }

.about {
  display: grid;
  grid-template-columns: 1fr minmax(0, 1.4fr);
  column-gap: clamp(40px, 8vw, 120px);
  padding: clamp(90px, 13vw, 160px) 0;
  border-top: 1px solid var(--ink);
}

.about .section-label { grid-column: 1; }
.about h2,
.about > p,
.about > a { grid-column: 2; }
.about h2 { margin-top: -8px; }
.about > p { max-width: 620px; font: 400 22px/1.5 var(--serif); }
.about > a { justify-self: start; font-weight: 700; text-underline-offset: 5px; }

.footer {
  display: flex;
  justify-content: space-between;
  padding: 24px 0 36px;
  border-top: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .masthead,
  .cover,
  .story,
  .notes,
  .about,
  .footer { width: min(100% - 32px, 640px); }

  .masthead { min-height: 78px; position: relative; }
  .menu-button {
    display: block;
    border: 1px solid var(--ink);
    border-radius: 0;
    padding: 7px 10px;
    color: var(--ink);
    background: transparent;
    font: 700 12px/1 var(--sans);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .nav {
    display: none;
    position: absolute;
    z-index: 10;
    top: 77px;
    left: -16px;
    right: -16px;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 18px;
    border-bottom: 1px solid var(--ink);
    background: var(--paper-light);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; }

  .cover {
    min-height: calc(100svh - 78px);
    display: block;
    padding-top: 34px;
  }
  .kicker { margin-top: 48px; }
  .cover h1 { font-size: clamp(43px, 14vw, 68px); }
  .standfirst { margin-top: 24px; }
  .cover-note { margin-top: 46px; padding-bottom: 8px; }

  .story { display: block; padding-block: 86px; }
  .story-header { position: static; margin-bottom: 52px; }
  .story-header h2 { max-width: 560px; }

  .note-list { margin-top: 44px; }
  .note-list li {
    grid-template-columns: 46px 1fr;
    gap: 8px 12px;
  }
  .note-list p { grid-column: 2; }

  .about { display: block; }
  .about h2 { margin-top: 14px; }
  .footer { gap: 20px; flex-direction: column; }
}

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

