@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;
  --bg: #faf9f5;
  --fg: #1f1e1d;
  --muted: #5e5d59;
  --accent: #b0462a;
  --clay: #d97757;
  --border: #e8e6dc;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1f1e1d;
    --fg: #f0eee6;
    --muted: #b0aea5;
    --accent: #e08a6d;
    --clay: #d97757;
    --border: #3a3936;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font: 1.0625rem/1.7 var(--sans);
}
main {
  flex: 1;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(3.5rem, 14vh, 8rem) 1.5rem 2rem;
}
h1, h2, .tagline { font-family: var(--serif); }
h1 {
  margin: 0;
  font-size: clamp(2.5rem, 9vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.tagline {
  margin: 1rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.2rem, 3.6vw, 1.5rem);
  line-height: 1.4;
  text-wrap: balance;
  color: var(--muted);
}
h2 {
  margin: 3.5rem 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
section p { margin: 0; max-width: 36rem; }
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2.75rem 0 0;
  padding: 0;
  list-style: none;
}
nav a {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 500;
  transition: border-color 0.15s, color 0.15s;
}
nav a:hover { border-color: var(--clay); color: var(--accent); }
a:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
}
footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}
.nb { white-space: nowrap; }
