:root {
  color-scheme: light;
  --paper: #f2f0e8;
  --ink: #1d241f;
  --muted: #657067;
  --line: #c9cec6;
  --leaf: #315b43;
}

* { box-sizing: border-box; }

html { background: var(--paper); color: var(--ink); font-family: Georgia, "Times New Roman", serif; }
body { margin: 0; min-height: 100vh; }
a { color: inherit; text-decoration-color: #8b978c; text-underline-offset: .18em; }
a:hover { color: var(--leaf); }

.site-header, main, footer { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; padding: 34px 0 24px; border-bottom: 1px solid var(--line); }
.wordmark { font: 600 1rem/1.2 system-ui, sans-serif; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
nav { display: flex; gap: 24px; font: .88rem/1.2 system-ui, sans-serif; }
nav a { text-decoration: none; }
nav a[aria-current="page"] { color: var(--leaf); }

.intro { max-width: 860px; padding: 110px 0 90px; }
.eyebrow, .number { color: var(--muted); font: 600 .73rem/1.2 system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
h1 { max-width: 920px; margin: 14px 0 26px; font-size: clamp(3rem, 8vw, 7.3rem); font-weight: 400; letter-spacing: -.045em; line-height: .92; }
.lede { max-width: 680px; color: #465049; font-size: clamp(1.25rem, 2.4vw, 1.8rem); line-height: 1.45; }

.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: 28px 32px 40px 0; }
.grid article + article { padding-left: 32px; border-left: 1px solid var(--line); }
h2 { margin: 10px 0 18px; font-size: 1.75rem; font-weight: 400; line-height: 1.15; }
.grid p:last-child, .reading p { color: #465049; line-height: 1.65; }

.reading { max-width: 780px; padding: 90px 0 120px; }
.reading h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
.reading article { padding: 54px 0; border-top: 1px solid var(--line); }
.reading article:first-of-type { margin-top: 70px; }
.reading article p:last-child, .reading > p { font-size: 1.15rem; }
.error-page { min-height: 80vh; display: grid; align-content: center; }

footer { margin-top: 90px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font: .78rem/1.5 system-ui, sans-serif; }

@media (max-width: 720px) {
  .site-header, main, footer { width: min(100% - 28px, 1120px); }
  .site-header { padding-top: 24px; }
  .intro { padding: 80px 0 68px; }
  h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .grid { grid-template-columns: 1fr; }
  .grid article { min-height: auto; padding: 28px 0 36px; }
  .grid article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .reading { padding-top: 70px; }
}
