:root {
  --navy: #172a46;
  --blue: #1769aa;
  --pale: #eff4f7;
  --warm: #fafaf8;
  --text: #202124;
  --muted: #667085;
  --line: #d8e0e7;
  --white: #ffffff;
  --max: 1200px;
  --article: 740px;
  --radius: 6px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm);
  color: var(--text);
  line-height: 1.65;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: grid;
  gap: 2px;
}

.brand strong {
  color: var(--navy);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 24px;
  line-height: 1;
}

.brand span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}

.menu-button {
  display: none;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
}

.hero {
  padding: 96px 24px 60px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(250, 250, 248, 0.98), rgba(250, 250, 248, 0.92)),
    linear-gradient(rgba(23, 105, 170, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 105, 170, 0.08) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
}

.hero-inner,
.container {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 650;
  line-height: 1.08;
}

h1 {
  max-width: 900px;
  font-size: clamp(44px, 7vw, 84px);
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  font-size: 25px;
}

p {
  margin: 0;
}

.lead {
  max-width: 760px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-weight: 720;
}

.button.secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}

.section {
  padding: 78px 24px;
}

.section.pale {
  background: var(--pale);
}

.section-head {
  width: min(100%, var(--max));
  margin: 0 auto 30px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-head p {
  max-width: 520px;
  color: var(--muted);
}

.featured {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  padding: 28px;
  border-top: 3px solid var(--blue);
  background: var(--white);
}

.feature-mark {
  min-height: 260px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(23, 105, 170, 0.14), transparent 45%),
    repeating-linear-gradient(0deg, rgba(23, 42, 70, 0.08), rgba(23, 42, 70, 0.08) 1px, transparent 1px, transparent 34px),
    var(--pale);
}

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

.category {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.featured h3 {
  margin-top: 12px;
  font-size: clamp(32px, 4vw, 50px);
}

.featured p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}

.essay-grid,
.topic-grid,
.resource-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.essay-card,
.topic-card,
.resource-card {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.essay-card h3,
.topic-card h3,
.resource-card h3 {
  margin-top: 10px;
  font-size: 24px;
}

.essay-card p,
.topic-card p,
.resource-card p {
  margin-top: 10px;
  color: var(--muted);
}

.filters {
  width: min(100%, var(--max));
  margin: 0 auto 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-button {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
}

.filter-button.active {
  color: var(--white);
  border-color: var(--navy);
  background: var(--navy);
}

.about-band {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 42px;
  align-items: start;
}

.about-band p {
  color: var(--muted);
  font-size: 18px;
}

.newsletter {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: start;
}

form {
  display: grid;
  gap: 12px;
}

label {
  color: var(--navy);
  font-size: 14px;
  font-weight: 720;
}

input,
textarea,
select {
  width: 100%;
  margin-top: 6px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  min-height: 22px;
  color: var(--blue);
  font-size: 14px;
}

.page-hero {
  padding: 76px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.page-hero .container {
  display: grid;
  gap: 18px;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

.article {
  width: min(100%, var(--article));
  margin: 0 auto;
  padding: 68px 24px;
}

.article h1 {
  font-size: clamp(38px, 6vw, 70px);
}

.article .dek {
  margin-top: 18px;
  color: var(--muted);
  font-size: 21px;
}

.article-body {
  margin-top: 42px;
  color: #30343a;
  font-size: 18px;
}

.article-body h2 {
  margin-top: 42px;
  font-size: 34px;
}

.article-body p,
.article-body ul {
  margin-top: 18px;
}

.citation {
  margin-top: 38px;
  padding: 20px;
  border-left: 4px solid var(--blue);
  background: var(--pale);
  color: var(--muted);
}

.author-box {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer {
  padding: 44px 24px;
  border-top: 1px solid var(--line);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
}

.footer strong,
.footer h3 {
  color: var(--white);
}

.footer h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 28px;
}

.footer a {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 940px) {
  .featured,
  .about-band,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .essay-grid,
  .topic-grid,
  .resource-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav {
    padding: 14px 18px;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    background: var(--white);
  }

  .nav-links.open {
    display: flex;
  }

  .hero,
  .section,
  .page-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .essay-grid,
  .topic-grid,
  .resource-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
  }
}

