@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Newsreader:opsz,wght@6..72,500;6..72,650&family=Source+Sans+3:wght@400;500;600;700&display=swap");

:root {
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Source Sans 3", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --color-ink: #17201b;
  --color-deep-green: #21473a;
  --color-sage: #9fb8aa;
  --color-paper: #f7f3ea;
  --color-porcelain: #fbfaf6;
  --color-signal-coral: #d9654f;
  --color-citation-blue: #386fa4;
  --color-rule: #d8d2c6;
  --shadow-soft: 0 18px 45px rgb(23 32 27 / 12%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(135deg, #f7f3ea 0%, #fbfaf6 48%, #e8efe9 100%);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}

a {
  color: var(--color-deep-green);
  text-decoration-color: rgb(33 71 58 / 35%);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-citation-blue);
}

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

.brand {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
}

.hero,
.article-shell {
  margin: 0 auto;
  max-width: 1120px;
  padding: 5rem 1.5rem 3rem;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.eyebrow,
.metadata,
.citation-label {
  color: var(--color-deep-green);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.25rem);
  margin: 1rem 0 1.25rem;
  max-width: 10ch;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin: 3rem 0 1rem;
}

.article-body h2 {
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  margin: 2rem 0 0.75rem;
}

h3 {
  font-size: 1.45rem;
  margin: 2rem 0 0.75rem;
}

.article-body h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.6rem;
}

.lede {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.45;
  max-width: 46rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  align-items: center;
  border: 1px solid var(--color-deep-green);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 700;
  min-height: 2.75rem;
  padding: 0.72rem 1rem;
  text-decoration: none;
}

.button.primary {
  background: var(--color-deep-green);
  color: var(--color-porcelain);
}

.button.secondary {
  background: rgb(251 250 246 / 72%);
  color: var(--color-deep-green);
}

.publication-card {
  background: rgb(251 250 246 / 86%);
  border: 1px solid var(--color-rule);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.publication-card img {
  background: var(--color-paper);
  display: block;
  height: auto;
  width: 100%;
}

.card-body {
  padding: 1.25rem;
}

.article-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.article-teaser {
  background: rgb(251 250 246 / 78%);
  border: 1px solid var(--color-rule);
  border-radius: 8px;
  padding: 1.35rem;
}

.article-teaser h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  margin: 0.5rem 0;
}

.article-shell {
  max-width: 820px;
}

.article-shell h1 {
  max-width: 12ch;
}

.article-body {
  background: rgb(251 250 246 / 74%);
  border: 1px solid var(--color-rule);
  border-radius: 8px;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.article-body p,
.article-body li {
  font-size: 1.08rem;
}

.article-body ul {
  padding-left: 1.25rem;
}

.site-footer {
  border-top: 1px solid var(--color-rule);
  color: rgb(23 32 27 / 70%);
  margin: 4rem auto 0;
  max-width: 1120px;
  padding: 1.5rem;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .article-shell {
    padding-top: 3rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }
}