:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --ink: #1e2421;
  --muted: #5a645e;
  --accent: #274c3c;
  --accent-soft: #e9f0ec;
  --rule: #e2dfd7;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

.serif {
  font-family: Georgia, "Times New Roman", "Iowan Old Style", Cambria, serif;
}

.wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

header.masthead {
  border-bottom: 2px solid var(--ink);
  padding: 36px 0 20px;
  margin-bottom: 32px;
}

.masthead-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.brand {
  margin: 0;
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand a {
  color: inherit;
  text-decoration: none;
}

.tagline {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 16px;
}

nav.nav {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  font-weight: 500;
}

nav.nav a {
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 2px;
}

nav.nav a:hover,
nav.nav a.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.lead-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 30px 32px;
  margin-bottom: 28px;
}

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.lead-card h2 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.28;
}

.meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 22px 24px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.35;
}

.card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

.section-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 8px;
  margin: 34px 0 18px;
}

.list-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.list-item h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.list-item .date {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.prose {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 30px 32px;
  margin-bottom: 36px;
}

.prose h2 {
  margin-top: 0;
  font-size: 26px;
}

.prose p {
  margin: 0 0 16px;
}

.prose p:last-child {
  margin-bottom: 0;
}

footer.site-footer {
  border-top: 1px solid var(--rule);
  padding: 24px 0 42px;
  margin-top: 40px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

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