:root {
  --ink: #1a1714;
  --muted: #6b6259;
  --paper: #faf7f2;
  --rule: #e2dcd2;
  --accent: #8c4a1f;
  --measure: 44rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0 1.5rem;
  background: var(--paper);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-header nav { display: flex; gap: 1.5rem; }
.site-header nav a {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

main { max-width: var(--measure); margin: 0 auto; }

section { padding: 3rem 0; border-bottom: 1px solid var(--rule); }
section:last-of-type { border-bottom: 0; }

.hero { padding: 5rem 0 4rem; }

h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h2 {
  margin: 0 0 1.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

h3 { margin: 0 0 0.4rem; font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.lede { font-size: 1.2rem; color: #3a342d; max-width: 38rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 2rem 2.5rem;
}

.grid p { color: var(--muted); font-size: 0.97rem; }

footer {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 32rem) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .site-header nav { flex-wrap: wrap; gap: 1rem; }
  .hero { padding: 3rem 0; }
}
