:root {
  color-scheme: light;
  --bg: #f5f2eb;
  --paper: #fffefa;
  --text: #1e211e;
  --muted: #686c65;
  --line: #d7d4cc;
  --accent: #27694f;
  --accent-soft: #dfece5;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

.hero,
.hub,
.site-header,
.article-shell,
footer {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
}

.hero {
  padding: 92px 0 72px;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.card-number {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1,
.article-shell h1 {
  max-width: 980px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.97;
}

.hero-lead {
  max-width: 720px;
  margin: 32px 0 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  line-height: 1.45;
}

.hub {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 52px;
  padding-bottom: 72px;
}

.card {
  display: flex;
  min-width: 0;
  padding: 48px 0 44px;
  border-bottom: 1px solid var(--line);
  flex-direction: column;
}

.card:last-child {
  grid-column: 1 / -1;
  max-width: calc(50% - 26px);
}

.card h2 {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.card h2 a {
  text-decoration: none;
}

.card > p:not(.card-number) {
  display: -webkit-box;
  margin: 0 0 24px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.92rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.read-link {
  align-self: flex-start;
  margin-top: auto;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.site-header {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.series-link {
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.article-shell {
  width: min(100% - 40px, 720px);
  padding: 72px 0 80px;
}

.article-shell h1 {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 1.01;
}

.article-body {
  margin-top: 44px;
}

.article-body p {
  margin: 0 0 1.35em;
}

.article-body .lead {
  margin-bottom: 1.6em;
  color: #3e433e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.23rem;
  line-height: 1.56;
}

.article-body h2,
.series-nav h2 {
  margin: 2.2em 0 0.7em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.article-body ol,
.article-body ul {
  margin: 0 0 1.6em;
  padding-left: 1.45em;
}

.article-body li {
  margin-bottom: 0.72em;
  padding-left: 0.24em;
}

.article-body strong {
  font-weight: 650;
}

.series-nav {
  margin-top: 72px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.series-nav h2 {
  margin-top: 1.4em;
}

.series-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.series-nav li {
  border-top: 1px solid var(--line);
}

.series-nav a {
  display: block;
  padding: 15px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.35;
  text-decoration: none;
}

footer {
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
}

.article-page footer {
  width: min(100% - 40px, 720px);
}

@media (max-width: 720px) {
  html {
    font-size: 17px;
  }

  .hero,
  .hub,
  .site-header,
  .article-shell,
  footer,
  .article-page footer {
    width: min(100% - 32px, 1120px);
  }

  .hero {
    padding: 64px 0 52px;
  }

  .hero h1,
  .article-shell h1 {
    overflow-wrap: anywhere;
  }

  .hub {
    display: block;
    padding-bottom: 48px;
  }

  .card,
  .card:last-child {
    max-width: none;
    padding: 38px 0 34px;
  }

  .article-shell {
    padding: 52px 0 64px;
  }

  .article-body {
    margin-top: 36px;
  }

  .article-body .lead {
    font-size: 1.14rem;
  }

  .series-nav {
    margin-top: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
