:root {
  --bg: #f6f1e8;
  --ink: #1f2a24;
  --muted: #5a6b62;
  --accent: #2f6f5e;
  --accent-soft: #d7ebe3;
  --card: #fffdf8;
  --line: #d8cfc0;
  --max: 42rem;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
}

body {
  margin: 0;
  font-family: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, #e8f3ee 0%, transparent 40%),
    linear-gradient(180deg, #f8f4ec 0%, var(--bg) 55%, #efe7da 100%);
  min-height: 100vh;
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: #1f4f43;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

header.site {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}

nav a {
  margin-right: 0.9rem;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
}

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

h1 {
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h2 {
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.lede {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.card-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}

.card-list a {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1rem 1.15rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(31, 42, 36, 0.04);
}

.card-list a:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.card-list strong {
  display: block;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  margin-bottom: 0.25rem;
  color: var(--accent);
}

.card-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

article p {
  margin: 0 0 1.1rem;
}

footer.site {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}
