:root {
  --ink: #151515;
  --muted: #665f55;
  --paper: #f7f2e9;
  --panel: #fffaf1;
  --olive: #2f3a35;
  --red: #7a2e1d;
  --brass: #b08a57;
  --blue: #506f83;
  --line: #d8cab5;
  --shadow: 0 24px 70px rgba(21, 21, 21, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  align-items: center;
  background: rgba(247, 242, 233, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand,
nav {
  align-items: center;
  display: flex;
  gap: 12px;
}

.brand {
  font-weight: 850;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

nav {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

nav a:hover,
.text-link:hover {
  color: var(--red);
}

.hero {
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  min-height: calc(100vh - 72px);
  padding: clamp(36px, 7vw, 90px) clamp(18px, 5vw, 72px) 48px;
}

.hero-copy {
  align-self: center;
  max-width: 760px;
}

.eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.92;
  margin: 0;
  max-width: 980px;
}

h2 {
  font-size: clamp(32px, 4.8vw, 66px);
  line-height: 0.98;
  margin: 0;
}

.lead {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
  margin: 26px 0 0;
  max-width: 720px;
}

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

.button {
  align-items: center;
  border: 1px solid var(--ink);
  display: inline-flex;
  font-weight: 850;
  min-height: 46px;
  padding: 0 18px;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  background: transparent;
}

.map-preview {
  align-self: stretch;
  background: var(--olive);
  box-shadow: var(--shadow);
  color: var(--paper);
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 520px;
  overflow: hidden;
}

.map-grid {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    radial-gradient(circle at 72% 18%, rgba(176, 138, 87, 0.3), transparent 24%),
    linear-gradient(135deg, #27312d, #18201d);
  background-size: 56px 56px, 56px 56px, auto, auto;
  min-height: 100%;
  position: relative;
}

.pin {
  align-items: center;
  background: var(--red);
  border: 2px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
  display: flex;
  font-size: 13px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  position: absolute;
  width: 42px;
}

.p1 { left: 64%; top: 32%; }
.p2 { left: 70%; top: 42%; background: var(--brass); }
.p3 { left: 31%; top: 62%; }
.p4 { left: 38%; top: 52%; background: var(--brass); }

.water {
  background: rgba(80, 111, 131, 0.55);
  border: 1px solid rgba(255, 250, 241, 0.2);
  position: absolute;
}

.w1 {
  border-radius: 999px;
  height: 55%;
  left: 18%;
  top: 38%;
  transform: rotate(22deg);
  width: 90px;
}

.w2 {
  border-radius: 999px;
  height: 40%;
  left: 68%;
  top: 8%;
  transform: rotate(-25deg);
  width: 84px;
}

.district {
  border: 1px solid rgba(255, 250, 241, 0.28);
  color: rgba(255, 250, 241, 0.82);
  font-size: 12px;
  font-weight: 850;
  padding: 8px 10px;
  position: absolute;
  text-transform: uppercase;
}

.d1 { left: 58%; top: 22%; }
.d2 { left: 28%; top: 44%; }
.d3 { left: 16%; top: 75%; }

.preview-caption {
  align-items: center;
  background: rgba(21, 21, 21, 0.55);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
}

.preview-caption span {
  color: rgba(255, 250, 241, 0.72);
}

.section {
  padding: clamp(56px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.split {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
}

.text-stack {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
}

.text-stack p {
  margin: 0 0 18px;
}

.metrics {
  background: var(--ink);
  color: var(--paper);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
}

.metrics article {
  background: #1d1d1b;
  min-height: 260px;
  padding: clamp(24px, 4vw, 44px);
}

.metrics span {
  color: var(--brass);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 54px;
}

.metrics strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 500;
  line-height: 1;
}

.metrics p {
  color: rgba(255, 250, 241, 0.68);
  line-height: 1.5;
  max-width: 420px;
}

.section-head {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 32px;
}

.text-link {
  border-bottom: 1px solid currentColor;
  color: var(--red);
  font-weight: 850;
  white-space: nowrap;
}

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

.target-card,
.comparison article {
  background: var(--panel);
  border: 1px solid var(--line);
  min-height: 250px;
  padding: 22px;
}

.target-card.high {
  border-color: rgba(122, 46, 29, 0.48);
}

.target-card div {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
}

.target-card div p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  margin: 0;
  text-transform: uppercase;
}

.score {
  align-items: center;
  background: var(--red);
  color: var(--paper);
  display: inline-flex;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

h3 {
  font-size: 22px;
  line-height: 1.1;
  margin: 0 0 12px;
}

.target-card > p,
.comparison p {
  color: var(--muted);
  line-height: 1.48;
  margin: 0;
}

.thesis-board {
  background: #ebe2d3;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
}

.comparison {
  grid-template-columns: repeat(2, 1fr);
}

.process {
  background: var(--panel);
}

.process ol {
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding: 0;
}

.process li {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: 220px 1fr;
  padding: 24px 0;
}

.process strong {
  font-size: 22px;
}

.process span {
  color: var(--muted);
  line-height: 1.5;
}

.site-footer {
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding: 26px clamp(18px, 5vw, 72px);
}

.site-footer a {
  color: rgba(255, 250, 241, 0.72);
}

@media (max-width: 980px) {
  .hero,
  .split,
  .thesis-board {
    grid-template-columns: 1fr;
  }

  .map-preview {
    min-height: 440px;
  }

  .metrics,
  .target-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
  }

  .map-preview {
    min-height: 360px;
  }

  .metrics,
  .target-grid,
  .comparison {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .process li {
    grid-template-columns: 1fr;
  }
}
