:root {
  --bg: #efeadf;
  --surface: #f7f2e7;
  --text: #2f4330;
  --muted: #5f685d;
  --accent: #6f7e54;
  --accent-strong: #4f6448;
  --border: #ddd4bf;
  --sans: "Avenir Next", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--sans);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container {
  width: min(100% - 2rem, 980px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(239, 234, 223, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
}

.brand {
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1rem;
  font-weight: 600;
}

nav a:hover {
  color: var(--accent);
}

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

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-weight: 500;
  color: #314736;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.2;
  max-width: 18ch;
}

.intro {
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 2rem;
}

.button {
  display: inline-block;
  background: var(--accent-strong);
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1.1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  border: 1px solid #42583f;
}

.button:hover {
  background: #43593f;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

h2 {
  margin-top: 0;
  font-family: var(--serif);
  font-weight: 500;
  color: #314736;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.card-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 1rem 0 0;
}

.card-list li {
  background: #fbf7ee;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem;
}

.card-list h3 {
  margin-top: 0;
}

.links {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.links a {
  color: var(--accent-strong);
  text-decoration: none;
}

.site-footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 700px) {
  nav {
    display: none;
  }
}
