@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-display.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-400i.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f7f4ee;
  --ink: #161616;
  --muted: #3f3f3f;
  --rule: #1a1a1a;
  --red: #b42318;
  --soft: #e7e1d6;
  --serif: Newsreader, "Iowan Old Style", Palatino, serif;
  --display: Fraunces, Newsreader, Palatino, serif;
  --sans: "Public Sans", "Segoe UI", sans-serif;
  --pad: clamp(1rem, 3vw, 2rem);
  --max: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip {
  position: absolute; left: var(--pad); top: -4rem; background: var(--ink); color: var(--paper);
  text-decoration: none; padding: 0.45rem 0.7rem; z-index: 90; font-family: var(--sans);
}
.skip:focus { top: 0.6rem; }

.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: 0 50%; z-index: 80;
}

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-top {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 0.35rem var(--pad); font-family: var(--sans); font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 1px solid var(--rule);
}
.mark { width: 0.55rem; height: 0.55rem; background: var(--red); display: inline-block; margin-right: 0.4rem; }
.header-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.7rem var(--pad) 0.8rem;
}
.logo { text-decoration: none; text-align: left; }
.logo strong {
  font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 5vw, 3.3rem);
  letter-spacing: -0.04em; line-height: 0.9; display: block;
}
.logo em { font-family: var(--sans); font-style: normal; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; }
.dateline { margin: 0; font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.nav-wrap { display: flex; justify-content: flex-end; align-items: center; }
.nav { display: flex; justify-content: flex-end; gap: 1rem; font-family: var(--sans); font-size: 0.86rem; }
.nav a { text-decoration: none; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); }
.nav-toggle {
  display: none; justify-self: end; font-family: var(--sans); background: transparent;
  border: 1px solid var(--rule); padding: 0.3rem 0.55rem; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem;
}

.issue { text-align: center; padding: 1.1rem var(--pad) 0.4rem; }
.issue p { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0.7rem auto; max-width: var(--max); }
.rule.double { border-top: 3px double var(--rule); }

.lead {
  max-width: var(--max); margin: 0 auto; padding: 0.6rem var(--pad) 2rem;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.6rem; align-items: start;
}
.kicker { font-family: var(--sans); color: var(--red); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem; font-weight: 700; }
.lead h1, .essay h1, .page-hero h1 {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; line-height: 0.96;
}
.lead h1 { font-size: clamp(2.5rem, 4.6vw, 4.3rem); margin: 0.45rem 0 0.7rem; }
.deck { font-size: 1.25rem; color: var(--muted); }
.by { margin-top: 0.9rem; font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.lead img { width: 100%; height: auto; }
.caption { font-family: var(--sans); font-size: 0.8rem; color: var(--muted); margin-top: 0.4rem; }

.section { padding: 1.2rem var(--pad) 2.6rem; max-width: var(--max); margin: 0 auto; }
.section h2 {
  font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em; margin-bottom: 0.8rem;
}
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.notes article { border-top: 1px solid var(--rule); padding-top: 0.7rem; }
.notes h3 { font-family: var(--display); font-size: 1.55rem; letter-spacing: -0.03em; line-height: 1.05; margin: 0.35rem 0; }
.notes p, .object p, .archive p { color: var(--muted); }
.notes img, .archive img, .object img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 0.55rem; }

.object {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 1.4rem; align-items: center;
  background: var(--soft); padding: 1rem;
}
.object h2 { margin-top: 0.3rem; }

.archive { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.archive a { text-decoration: none; display: block; }
.archive h3 { font-family: var(--display); font-size: 1.7rem; letter-spacing: -0.03em; margin-top: 0.45rem; }

.dispatch {
  max-width: var(--max); margin: 0 auto 3rem; padding: 1.4rem; border: 1px solid var(--rule);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem;
}
.dispatch h2 { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; }
label { display: block; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.25rem; }
input, textarea, select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--rule);
  padding: 0.65rem 0; margin-bottom: 0.75rem; font-family: var(--sans); font-size: 1rem;
}
textarea { min-height: 7rem; resize: vertical; }
.btn, button.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff; border: 0; text-decoration: none;
  font-family: var(--sans); font-weight: 700; letter-spacing: 0.04em; padding: 0.75rem 1rem; cursor: pointer;
}
.btn:hover { background: #8e1b12; }
.form-note { min-height: 1.3em; font-family: var(--sans); font-size: 0.92rem; }
.form-note.is-error { color: var(--red); }
.hp { position: absolute; left: -9999px; }

.site-footer { border-top: 3px double var(--rule); padding: 1.4rem var(--pad) 1rem; }
.footer-grid {
  max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1rem;
  font-family: var(--sans); font-size: 0.95rem;
}
.site-footer h2 { font-family: var(--display); font-size: 1.8rem; letter-spacing: -0.03em; }
.footer-grid a, .legal-row { color: var(--muted); }
.footer-grid a { text-decoration: none; }
.footer-links { display: grid; gap: 0.3rem; }
.legal-row {
  max-width: var(--max); margin: 1rem auto 0; padding-top: 0.7rem; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-family: var(--sans); font-size: 0.82rem;
}
.linkish { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font-family: var(--sans); }

.cookie {
  position: fixed; z-index: 70; left: 50%; bottom: 1rem; transform: translateX(-50%);
  width: min(40rem, calc(100% - 2rem)); background: var(--paper); border: 1px solid var(--rule);
  padding: 0.9rem 1rem; display: grid; grid-template-columns: 1fr auto; gap: 0.8rem; align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.cookie h2 { font-family: var(--sans); font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; }
.cookie p { font-family: var(--sans); font-size: 0.88rem; color: var(--muted); margin-top: 0.2rem; }
.cookie-actions { display: flex; gap: 0.4rem; }
.cookie .btn { padding: 0.5rem 0.7rem; }
.cookie .btn-line { background: transparent; color: var(--ink); border: 1px solid var(--rule); }

.page-hero, .essay-head { max-width: 46rem; margin: 0 auto; padding: 2rem var(--pad) 0.5rem; }
.page-hero h1, .essay h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.essay { max-width: 42rem; margin: 0 auto; padding: 0.5rem var(--pad) 3rem; }
.essay p { margin: 0.9rem 0; font-size: 1.16rem; }
.essay .drop::first-letter {
  font-family: var(--display); float: left; font-size: 4.4rem; line-height: 0.8;
  padding: 0.15rem 0.45rem 0 0; color: var(--red);
}
.essay figure { margin: 1.2rem 0; }
.pull {
  font-family: var(--display); font-size: 1.8rem; line-height: 1.2; letter-spacing: -0.03em;
  border-left: 3px solid var(--red); padding-left: 0.8rem; margin: 1.4rem 0;
}
.journal-list { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 3rem; }
.journal-list article {
  display: grid; grid-template-columns: 8rem 1fr 8rem; gap: 1rem; align-items: center;
  border-top: 1px solid var(--rule); padding: 0.9rem 0;
}
.journal-list h2 { font-family: var(--display); font-size: 1.7rem; letter-spacing: -0.03em; }
.journal-list p { color: var(--muted); }
.prose { max-width: 66ch; margin: 0 auto; padding: 2rem var(--pad) 3rem; font-family: var(--sans); font-size: 1rem; }
.prose h1 { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.03em; }
.prose h2 { font-family: var(--display); font-size: 1.6rem; margin: 1.5rem 0 0.35rem; }
.prose a { color: var(--red); }
.prose ul { padding-left: 1.1rem; }
.miss { padding: 14vh var(--pad); max-width: 36rem; }
.miss h1 { font-family: var(--display); font-size: clamp(3rem, 8vw, 5.5rem); letter-spacing: -0.04em; line-height: 0.95; }
.miss p { margin: 0.8rem 0 1rem; color: var(--muted); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0; background: var(--paper); flex-direction: column; justify-content: center;
    align-items: flex-start; padding: 2rem; transform: translateY(-102%); visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { font-family: var(--display); font-size: 2rem; }
  .lead, .notes, .object, .archive, .dispatch, .footer-grid, .cookie, .journal-list article { grid-template-columns: 1fr; }
  .cookie { transform: none; left: 1rem; }
  .essay .drop::first-letter { font-size: 3.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
@media print {
  .site-header, .cookie, .nav-toggle, .progress { display: none !important; }
}
