:root {
  --bg: #f4f1ea;
  --paper: #fbfaf6;
  --ink: #20211f;
  --muted: #656760;
  --line: #d8d3c8;
  --accent: #315c4b;
  --accent-dark: #234639;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

a { color: inherit; }

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 241, 234, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.94rem;
}

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

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.9fr;
  gap: 60px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
}

h1 {
  margin: 0 0 24px;
  max-width: 780px;
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

.lead {
  max-width: 760px;
  margin: 0;
  color: #3e403c;
  font-size: 1.22rem;
}

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

.button {
  display: inline-block;
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  text-decoration: none;
  font-weight: 600;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.button.primary:hover { background: var(--accent-dark); }

.quote-card {
  padding: 28px;
  border-left: 3px solid var(--accent);
  background: var(--paper);
  color: var(--muted);
}

.quote-card p { margin: 0; }

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

.section.alt { background: var(--paper); }

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.04rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.card .meta {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card p:not(.meta) { color: var(--muted); }

.text-link {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.feature {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.timeline {
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item span {
  color: var(--accent);
  font-weight: 700;
}

.timeline-item p { margin: 0; }

.sources p {
  max-width: 820px;
  color: var(--muted);
}

.site-footer {
  padding: 36px 0 54px;
  background: #262a27;
  color: #f2f0e9;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.site-footer p {
  margin: 5px 0 0;
  color: #bbbdb8;
}

.site-footer a { color: #fff; }

@media (max-width: 780px) {
  .site-header { position: static; }
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }
  nav { gap: 12px 18px; }
  .hero { padding: 54px 0 48px; }
  .hero-grid, .cards { grid-template-columns: 1fr; }
  .hero-grid { gap: 34px; }
  .feature, .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}


.hero-portrait {
  margin: 0;
  align-self: center;
}

.hero-portrait img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: var(--paper);
}

.hero-portrait figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.78rem;
}
