:root {
  --paper: #f4f0e8;
  --ink: #1b211e;
  --muted: #6b706a;
  --line: #c9c6bc;
  --accent: #c84e32;
  --moss: #354c3d;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(27, 33, 30, .035) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 28px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: inherit; }
.site-header, main, footer { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.site-header {
  min-height: 104px;
  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-weight: 750; letter-spacing: -.02em; }
.wordmark small { display: block; color: var(--muted); font-size: .7rem; font-weight: 550; letter-spacing: .08em; text-transform: uppercase; }
.mark { width: 42px; height: 42px; display: grid; place-items: center; color: var(--paper); background: var(--moss); border-radius: 50%; font-family: Georgia, serif; font-size: 1.35rem; }
nav { display: flex; gap: clamp(18px, 4vw, 48px); }
nav a { font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; }
nav a:hover, nav a:focus-visible { color: var(--accent); }

.hero { min-height: 610px; padding: clamp(90px, 13vw, 170px) 0 80px; border-bottom: 1px solid var(--ink); }
.eyebrow, .section-heading > p, .note-meta { margin: 0 0 24px; color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { max-width: 1000px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.3rem, 8.3vw, 7.7rem); font-weight: 400; letter-spacing: -.055em; line-height: .92; }
.lede { max-width: 610px; margin: 44px 0 28px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.35rem); }
.text-link { font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.text-link span { color: var(--accent); font-size: 1.2rem; }

.notes, .index { padding: 96px 0; border-bottom: 1px solid var(--ink); }
.section-heading { display: grid; grid-template-columns: minmax(140px, 1fr) 3fr; align-items: baseline; margin-bottom: 48px; }
.section-heading h2, .about h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.2rem, 5vw, 4.5rem); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.note-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.note { min-height: 390px; padding: 36px; display: flex; flex-direction: column; border-left: 1px solid var(--line); background: rgba(244, 240, 232, .72); }
.note:first-child { border-left: 0; }
.note-featured { color: #f7f3e9; background: var(--moss); }
.note h3 { margin: 0 0 24px; font-family: Georgia, serif; font-size: clamp(1.8rem, 3.1vw, 3.1rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.05; }
.note p:not(.note-meta) { margin: 0; color: inherit; opacity: .72; }
.note-number { margin-top: auto; font-family: Georgia, serif; font-style: italic; }
.note-featured .note-meta { color: #f1aa8d; }

.index-list { margin-left: 25%; border-top: 1px solid var(--line); }
.index-list > div { min-height: 110px; display: grid; grid-template-columns: 1.1fr 60px 2fr; gap: 24px; align-items: center; border-bottom: 1px solid var(--line); }
.index-list span { font-family: Georgia, serif; font-size: 1.7rem; }
.index-list strong { color: var(--accent); font-size: .75rem; }
.index-list p { color: var(--muted); }

.about { padding: 110px 0 130px; display: grid; grid-template-columns: 1fr 3fr; gap: 24px; }
.about > div { max-width: 800px; }
.about > div p { max-width: 670px; margin: 34px 0 0; color: var(--muted); font-size: 1.15rem; }
footer { padding: 32px 0 50px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--ink); color: var(--muted); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }

@media (max-width: 780px) {
  .site-header { min-height: 84px; }
  nav { gap: 14px; }
  nav a:nth-child(2) { display: none; }
  .hero { min-height: 520px; }
  .section-heading, .about { grid-template-columns: 1fr; gap: 12px; }
  .note-grid { grid-template-columns: 1fr; }
  .note { min-height: 310px; border-left: 0; border-top: 1px solid var(--line); }
  .note:first-child { border-top: 0; }
  .index-list { margin-left: 0; }
  .index-list > div { grid-template-columns: 1fr 40px; }
  .index-list p { grid-column: 1 / -1; margin: -20px 0 22px; }
  footer { flex-direction: column; }
}

@media (max-width: 480px) {
  .site-header, main, footer { width: min(calc(100% - 28px), var(--max)); }
  .wordmark small { display: none; }
  h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .notes, .index { padding: 70px 0; }
}

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