:root {
  --paper: #f3f1eb;
  --ink: #161513;
  --mute: #6a655c;
  --faint: #9a9489;
  --line: #e2ddd3;
  --max: 40rem;
  --sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--mute); }

::selection {
  background: #e6dcc8;
  color: var(--ink);
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 0 1.5rem;
}

.wordmark {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.wordmark em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.84rem;
  color: var(--mute);
}

.nav a { text-decoration: none; }
.nav a:hover,
.nav a[aria-current="page"] { color: var(--ink); }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.hero {
  padding: 4.5rem 0 4.25rem;
}

.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 3.35rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 1.15rem 0 0;
  max-width: 28ch;
  color: var(--mute);
  font-size: 1.02rem;
}

.note-row {
  display: block;
  padding: 1.65rem 0 1.85rem;
  text-decoration: none;
}

.note-row:hover { color: var(--ink); }

.note-row .meta {
  margin: 0 0 0.55rem;
  color: var(--faint);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note-row h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3.4vw, 1.9rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.note-row p {
  margin: 0.55rem 0 0;
  max-width: 36ch;
  color: var(--mute);
  font-size: 0.98rem;
}

article {
  padding: 2.75rem 0 4.5rem;
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--faint);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

article h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 6.2vw, 3.4rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.dek {
  margin: 1.15rem 0 0;
  max-width: 32ch;
  color: var(--mute);
  font-size: 1.15rem;
  line-height: 1.4;
}

.byline {
  margin: 1.75rem 0 0;
  color: var(--faint);
  font-size: 0.82rem;
}

.prose {
  margin-top: 2.75rem;
}

.prose p {
  margin: 0 0 1.15rem;
}

.prose p:last-child { margin-bottom: 0; }

.prose h2 {
  margin: 2.4rem 0 0.7rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.pull {
  margin: 2.1rem 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 1.7rem);
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.site-footer {
  padding: 1.4rem 0 2.4rem;
  color: var(--faint);
  font-size: 0.8rem;
}

.site-footer strong {
  color: var(--mute);
  font-weight: 500;
}

@media (max-width: 520px) {
  body { font-size: 16.5px; }
  .wrap { width: min(var(--max), calc(100% - 2rem)); }
  .hero { padding: 3.25rem 0 3rem; }
  article { padding-top: 2.15rem; }
}
