:root {
  --paper: #f6f1e8;
  --paper-soft: #fbf8f1;
  --ink: #251f18;
  --muted: #6f665a;
  --line: rgba(37, 31, 24, 0.14);
  --forest: #0f5a46;
  --forest-deep: #082f27;
  --gold: #c79a46;
  --blue: #2c6f91;
  --rose: #9f302f;
  --shadow: 0 22px 70px rgba(37, 31, 24, 0.09);
  --radius: 8px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(15, 90, 70, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(15, 90, 70, 0.03) 1px, transparent 1px),
    var(--paper);
  background-size: 36px 36px;
  color: var(--ink);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 241, 232, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.08em;
  text-decoration: none;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.82rem;
}

.nav-links a:hover,
.nav-links .primary {
  color: var(--forest);
  border-color: rgba(15, 90, 70, 0.2);
  background: rgba(15, 90, 70, 0.08);
}

.hero {
  padding: clamp(54px, 8vw, 110px) 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--forest);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.01em;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 8vw, 7.25rem);
  line-height: 0.92;
}

h1 span,
h2 span {
  color: var(--forest);
}

.lead {
  max-width: 670px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 20px;
  background: var(--forest);
  color: #fffdf7;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid var(--forest);
  box-shadow: 0 14px 30px rgba(15, 90, 70, 0.16);
}

.btn.secondary {
  background: var(--paper-soft);
  color: var(--forest);
  box-shadow: none;
  border-color: rgba(15, 90, 70, 0.18);
}

.image-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-soft);
  box-shadow: var(--shadow);
}

.image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e8dfd2;
}

.image-note {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.image-note span {
  padding: 14px;
  min-height: 58px;
  color: var(--muted);
  border-right: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.image-note span:last-child {
  border-right: 0;
}

section {
  padding: 44px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.72fr);
  gap: 28px;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 34px;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(2.15rem, 4vw, 4.3rem);
  line-height: 0.98;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.card {
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.72);
  border-radius: var(--radius);
  padding: 22px;
  min-height: 220px;
}

.card b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border: 1px solid rgba(15, 90, 70, 0.2);
  border-radius: 999px;
  color: var(--forest);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
}

.card h3 {
  font-size: 1.13rem;
  line-height: 1.25;
}

.card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.map {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
}

.callout,
.source-box,
.cta-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.76);
}

.callout {
  padding: 26px;
  border-left: 5px solid var(--gold);
}

.callout h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 1;
}

.callout p {
  color: var(--muted);
  line-height: 1.65;
}

.workflow {
  display: grid;
  gap: 10px;
}

.workflow div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
}

.workflow strong {
  color: var(--forest);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.workflow p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.source-box {
  padding: 22px;
}

.source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.source-list a {
  display: block;
  min-height: 82px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  color: var(--forest);
  text-decoration: none;
  font-weight: 800;
}

.source-list span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.45;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 4vw, 38px);
  background: var(--forest-deep);
  color: #fffdf7;
}

.cta-band p {
  margin: 10px 0 0;
  color: rgba(255, 253, 247, 0.76);
  line-height: 1.55;
}

.cta-band .btn {
  background: #fffdf7;
  color: var(--forest-deep);
  border-color: #fffdf7;
}

.footer {
  padding: 42px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

@media (max-width: 980px) {
  .hero-grid,
  .section-head,
  .map,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .cards,
  .source-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-shell {
    padding: 0 16px;
  }

  .hero {
    padding-top: 38px;
  }

  .cards,
  .source-list,
  .image-note {
    grid-template-columns: 1fr;
  }

  .image-note span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .image-note span:last-child {
    border-bottom: 0;
  }

  .workflow div {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .nav-links a {
    padding: 8px 10px;
  }
}
