:root {
  color-scheme: light;
  --paper: #f4f0e7;
  --ink: #1c2524;
  --muted: #68716d;
  --line: #c8c5ba;
  --accent: #c5502e;
  --accent-dark: #97371e;
  --panel: #e9e4d9;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 10%, rgba(197, 80, 46, 0.09), transparent 23rem),
    var(--paper);
  display: flex;
  flex-direction: column;
}

a { color: inherit; }

.site-header,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.03em;
}

nav { display: flex; gap: 1.5rem; }

nav a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

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

nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.4rem; }

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  flex: 1;
}

.hero { padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 8vw, 7rem); }

.eyebrow,
.number,
time {
  margin: 0 0 1.1rem;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
p { margin-top: 0; }

h1 {
  max-width: 900px;
  margin-bottom: 1.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 9vw, 7.8rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.lede {
  max-width: 690px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.button {
  display: inline-block;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
}

.button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.grid article {
  min-height: 260px;
  padding: 2.5rem 2rem 2.5rem 0;
}

.grid article + article { border-left: 1px solid var(--line); padding-left: 2rem; }

.grid h2,
.note-list h2,
.prose h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.grid article p:last-child,
.note-list p,
.prose {
  color: var(--muted);
  line-height: 1.7;
}

blockquote {
  max-width: 830px;
  margin: 0;
  padding: clamp(5rem, 10vw, 8rem) 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.narrow { max-width: 820px; }

.page-heading { padding: 6rem 0 4rem; border-bottom: 1px solid var(--line); }

.page-heading h1,
.missing h1 { font-size: clamp(3rem, 7vw, 5.8rem); }

.note-list article { padding: 3rem 0; border-bottom: 1px solid var(--line); }

.note-list article:last-child { border-bottom: 0; }

.note-list p { max-width: 700px; }

.prose { padding: 3rem 0 6rem; font-size: 1.08rem; }

.prose h2 { margin-top: 3rem; color: var(--ink); }

.prose li { margin-bottom: 0.8rem; }

.missing { padding: clamp(6rem, 15vw, 12rem) 0; }

footer {
  min-height: 100px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 720px) {
  .site-header { align-items: flex-start; padding: 1.4rem 0; gap: 1rem; }
  nav { gap: 0.8rem; }
  .grid { grid-template-columns: 1fr; }
  .grid article { min-height: auto; padding: 2rem 0; }
  .grid article + article { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 0.4rem; }
}
