:root {
  --aged-paper: #f4e9d8;
  --parchment: #efe2cc;
  --charcoal: #25251f;
  --ink: #171914;
  --forest: #355e3b;
  --gold: #c9a66b;
  --rust: #8c4f36;
  --night: #111612;
  --muted: #716856;
  --line: rgba(67, 55, 38, 0.22);
  --paper-shadow: 0 18px 55px rgba(56, 41, 24, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--aged-paper);
  font-family: Georgia, "Times New Roman", serif;
}
body::before {
  content: "";
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.01),
      rgba(0, 0, 0, 0.01) 2px,
      transparent 2px,
      transparent 6px
    ),
    url("/static/texture/paper-grain.webp") repeat;
  background-size: 6px 6px, 480px 480px;
  opacity: 0.3;
  mix-blend-mode: multiply;
}
a, button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.public-shell { min-height: 100vh; }
.preview-flag {
  position: relative;
  z-index: 30;
  padding: 0.4rem 1rem;
  text-align: center;
  background: var(--rust);
  color: #fff3df;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.public-header {
  position: sticky;
  z-index: 25;
  top: 0;
  min-height: 74px;
  padding: 0.7rem clamp(1rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--parchment);
  background: rgba(17, 22, 18, 0.93);
  border-bottom: 1px solid rgba(201, 166, 107, 0.35);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark { color: var(--gold); font: 2.2rem Georgia, serif; }
.brand strong {
  display: block;
  font: 500 1.25rem Merriweather, Georgia, serif;
  letter-spacing: 0.04em;
}
.brand small {
  display: block;
  color: #b8aa90;
  font: italic 1rem "Cormorant Garamond", Georgia, serif;
}
.public-header nav { display: flex; gap: clamp(0.8rem, 2vw, 2rem); }
.public-header nav a, .town-tabs a {
  padding: 0.5rem 0;
  color: inherit;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}
.public-header nav a:hover, .public-header nav a.active { color: var(--gold); }

.hero {
  min-height: calc(100vh - 102px);
  display: grid;
  grid-template-columns: minmax(390px, 42%) 1fr;
  background: var(--night);
}
.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: clamp(3rem, 7vw, 7rem) clamp(2rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.paper-panel {
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 255, 255, 0.6), transparent 27%),
    linear-gradient(100deg, transparent 76%, rgba(17, 22, 18, 0.45)),
    var(--aged-paper);
}
.historical-kicker, .section-label {
  margin-bottom: 0.45rem;
  color: var(--rust);
  font: 700 0.82rem "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1, .town-banner h1 {
  max-width: 10ch;
  margin: 0.4rem 0 1.5rem;
  font: 700 clamp(2.8rem, 5vw, 5.8rem)/1.01 Merriweather, Georgia, serif;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.hero-copy > p:not(.historical-kicker, .data-note) {
  max-width: 38rem;
  font: 1.3rem/1.6 "Cormorant Garamond", Georgia, serif;
}
.data-note { color: var(--muted); font-size: 0.72rem; line-height: 1.5; }
.town-search {
  max-width: 38rem;
  display: flex;
  margin: 2rem 0 1rem;
  box-shadow: 0 8px 25px rgba(48, 35, 21, 0.15);
}
.town-search input {
  width: 100%;
  min-width: 0;
  padding: 1.1rem;
  color: var(--ink);
  background: #fffaf0;
  border: 1px solid var(--line);
}
.town-search button { padding: 0 1.4rem; color: white; background: var(--charcoal); border: 0; }
.town-search :disabled { opacity: 1; cursor: not-allowed; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.9rem 1.3rem;
  color: #fff;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, filter 180ms ease;
}
.button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.forest { background-color: var(--forest); }
.rust { background-color: var(--rust); }
.gold { background-color: var(--gold); }

.map-field {
  position: relative;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 48% 45%, rgba(53, 94, 59, 0.5), transparent 36%),
    radial-gradient(ellipse at 70% 22%, #31484b 0 14%, transparent 15%),
    linear-gradient(135deg, #817458, #233b31 52%, #15242a);
}
.map-field::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: url("/static/maps/vintage-map-overlay.webp") center / cover no-repeat;
  opacity: 0.34;
  mix-blend-mode: screen;
}
.map-field::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle, transparent 30%, rgba(0, 0, 0, 0.58) 100%);
}
.map-grid {
  position: absolute;
  z-index: 3;
  inset: 0;
  opacity: 0.65;
  background:
    linear-gradient(90deg, rgba(244, 233, 216, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(244, 233, 216, 0.035) 1px, transparent 1px);
  background-size: 55px 55px;
}
.map-dot {
  position: absolute;
  z-index: 5;
  width: 13px;
  height: 13px;
  border: 2px solid var(--parchment);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(17, 22, 18, 0.45);
}
.featured-marker { animation: map-pulse 4s infinite; }
.featured-marker.d3 { animation-delay: 1.2s; }
.featured-marker.d5 { animation-delay: 2.5s; }
@keyframes map-pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 166, 107, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(201, 166, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 166, 107, 0); }
}
.d1 { left: 18%; top: 28%; }
.d2 { left: 42%; top: 18%; }
.d3 { left: 61%; top: 34%; }
.d4 { left: 78%; top: 22%; }
.d5 { left: 72%; top: 67%; }
.d6 { left: 32%; top: 72%; }
.map-card {
  position: absolute;
  z-index: 8;
  left: 42%;
  top: 42%;
  width: min(290px, 48%);
  padding: 1.35rem;
  background: rgba(244, 233, 216, 0.96);
  border: 1px solid var(--gold);
  box-shadow: 0 15px 42px rgba(0, 0, 0, 0.48);
}
.map-card h2 { margin: 0.3rem 0 1rem; font: 600 1.45rem Merriweather, Georgia, serif; }
.map-card dl { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 0.4rem; font-size: 0.78rem; }
.map-card dt { font-weight: 800; }
.map-card dd { margin: 0; }
.map-card a {
  display: block;
  margin-top: 1rem;
  padding: 0.8rem;
  color: white;
  background: var(--rust);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
.map-legend {
  position: absolute;
  z-index: 8;
  top: 1rem;
  right: 1rem;
  width: 220px;
  padding: 1rem;
  display: grid;
  gap: 0.65rem;
  color: var(--parchment);
  background: rgba(17, 22, 18, 0.9);
  border: 1px solid rgba(201, 166, 107, 0.4);
  font-size: 0.72rem;
}
.map-legend strong { color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; }
.map-legend span { display: flex; align-items: center; gap: 0.5rem; }
.map-legend small { color: #a99d88; line-height: 1.4; }
.legend-dot { width: 9px; height: 9px; display: inline-block; border-radius: 50%; }

.landscape-search {
  padding: clamp(3rem, 6vw, 6rem);
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(480px, 1.5fr) auto;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  color: var(--parchment);
  background: linear-gradient(120deg, #1c271f, var(--night));
  border-top: 1px solid rgba(201, 166, 107, 0.35);
  border-bottom: 1px solid rgba(201, 166, 107, 0.35);
}
.landscape-search h2, .research-path h2 {
  max-width: 17ch;
  margin: 0.35rem 0 1rem;
  font: 400 clamp(1.8rem, 3.2vw, 3rem)/1.16 Merriweather, Georgia, serif;
}
.landscape-search p { color: #c9c0ae; line-height: 1.65; }
.expedition-metrics { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.expedition-metrics div { padding: 1rem 1.5rem; border-left: 1px solid rgba(201, 166, 107, 0.3); }
.expedition-metrics dt { color: var(--gold); font: 400 clamp(2.3rem, 4vw, 4rem) Merriweather, Georgia, serif; }
.expedition-metrics dd { margin: 0.3rem 0 0; color: #d8cebd; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.data-unavailable { padding: 1.2rem; color: var(--rust); border: 1px dashed currentColor; line-height: 1.6; }

.feature-strip { display: grid; grid-template-columns: 1fr 1fr; color: var(--parchment); background: #172019; }
.feature-strip > div { padding: clamp(2.5rem, 5vw, 5rem); border-right: 1px solid rgba(201, 166, 107, 0.25); }
.feature-strip h2, .discoveries h2, .town-page h2 { margin: 0.4rem 0; font: 400 clamp(1.75rem, 3vw, 2.65rem) Merriweather, Georgia, serif; }
.feature-strip p { color: #c9c0ae; line-height: 1.65; }
.feature-strip a, .section-heading a, footer a, .discovery-card a { color: var(--gold); }
blockquote { margin: 1rem 0; font: italic 1.42rem/1.52 "Cormorant Garamond", Georgia, serif; }

.discoveries { padding: clamp(3rem, 6vw, 6rem); color: var(--parchment); background: #111612; }
.section-heading { margin-bottom: 1.8rem; display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.section-heading p { max-width: 55rem; }
.discovery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.discovery-card {
  position: relative;
  min-height: 310px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(145deg, #202820, #171c18);
  border: 1px solid rgba(201, 166, 107, 0.28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}
.discovery-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--gold); }
.discovery-card.tone-rust::before { background: var(--rust); }
.discovery-card.tone-forest::before { background: #75a47b; }
.discovery-status { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.discovery-status span { color: var(--gold); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.12em; }
.discovery-status b { max-width: 10rem; color: #d3c8b4; font-size: 0.63rem; text-align: right; text-transform: uppercase; }
.discovery-card h3 { margin: 2.2rem 0 0.4rem; font: 500 1.35rem Merriweather, Georgia, serif; }
.discovery-card p { margin-top: 0; color: #bcb19f; }
.discovery-card dl { margin: auto 0 1.4rem; display: flex; align-items: baseline; gap: 0.8rem; }
.discovery-card dt { color: var(--gold); font: 400 3rem Merriweather, Georgia, serif; }
.discovery-card dd { margin: 0; color: #c9c0ae; font-size: 0.7rem; text-transform: uppercase; }
.discovery-card a { font-size: 0.74rem; }

.research-path { padding: clamp(3rem, 7vw, 7rem); background: var(--parchment); }
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.5rem; }
.path-grid article { padding: 2rem; background: rgba(255, 250, 240, 0.5); border: 1px solid var(--line); }
.path-grid span { color: var(--rust); font: 400 2.2rem "Cormorant Garamond", Georgia, serif; }
.path-grid h3 { font: 500 1.2rem Merriweather, Georgia, serif; }
.path-grid p { color: var(--muted); line-height: 1.65; }
footer { padding: 2rem clamp(1rem, 4vw, 4rem); color: #bbae93; background: #0d110e; border-top: 1px solid rgba(201, 166, 107, 0.25); }

/* Town investigation preview */
.town-page { width: 100%; max-width: none; }
.town-banner {
  position: relative;
  min-height: 550px;
  padding: clamp(3rem, 7vw, 7rem);
  display: flex;
  align-items: end;
  overflow: hidden;
  color: #fff5df;
  background: var(--night);
}
.town-banner::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(12, 12, 10, 0.78) 0 30%, rgba(12, 12, 10, 0.35) 64%, rgba(12, 12, 10, 0.2)), linear-gradient(rgba(12, 12, 10, 0.2), rgba(12, 12, 10, 0.7)); }
.town-banner-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; filter: sepia(0.18) saturate(0.78) contrast(1.04); }
.town-banner-copy { position: relative; z-index: 2; max-width: 780px; }
.town-banner h1 { max-width: none; font-size: clamp(3rem, 6vw, 6rem); }
.town-story-title { margin: -0.8rem 0 0.8rem; color: var(--gold); font: 500 clamp(1.45rem, 2.6vw, 2.5rem) "Cormorant Garamond", Georgia, serif; }
.town-dek { max-width: 60rem; margin: 0 0 1rem; color: #e8ddca; font: 1.08rem/1.6 Georgia, "Times New Roman", serif; }
.visual-disclosure { display: inline-block; padding: 0.45rem 0.65rem; color: #fff3df; background: rgba(17, 22, 18, 0.78); border: 1px solid rgba(201, 166, 107, 0.55); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.town-tabs {
  position: sticky;
  z-index: 20;
  top: 74px;
  padding: 0.4rem clamp(1rem, 5vw, 5rem);
  display: flex;
  gap: 2rem;
  overflow: auto;
  color: var(--parchment);
  background: var(--night);
  border-bottom: 1px solid rgba(201, 166, 107, 0.25);
}
.town-content { padding: clamp(2rem, 5vw, 5rem); display: grid; gap: 1.4rem; }
.fact-panel, .evidence-overview { padding: clamp(1.5rem, 3vw, 2.5rem); background: rgba(255, 250, 240, 0.52); border: 1px solid var(--line); box-shadow: var(--paper-shadow); }
.fact-panel dl { display: grid; grid-template-columns: repeat(6, minmax(120px, 1fr)); gap: 0.9rem; font-size: 0.85rem; }
.fact-panel dl > * { padding-top: 0.75rem; border-top: 1px solid var(--line); }
.fact-panel dt { font-weight: 800; }
.fact-panel dd { margin: 0; }
.dashboard-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.live-data-badge { padding: 0.5rem 0.65rem; color: var(--forest); border: 1px solid currentColor; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.evidence-dashboard { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.evidence-dashboard div { min-height: 128px; padding: 1.2rem; display: flex; flex-direction: column; justify-content: space-between; background: white; border-left: 4px solid var(--forest); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06); }
.evidence-dashboard strong, .evidence-dashboard span { display: block; }
.evidence-dashboard strong { color: var(--rust); font: 700 2.5rem Merriweather, Georgia, serif; }
.evidence-dashboard .status-value { max-width: 12ch; color: var(--forest); font-size: 1.45rem; line-height: 1.15; text-transform: none; }
.evidence-dashboard span { color: var(--muted); font-size: 0.67rem; letter-spacing: 0.04em; text-transform: uppercase; }
.research-posture { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.research-posture div { padding: 0.9rem; background: var(--parchment); }
.research-posture dt { color: var(--muted); font-size: 0.65rem; text-transform: uppercase; }
.research-posture dd { margin: 0.35rem 0 0; font-weight: 750; }

.identity-section, .timeline-section, .records-section, .geo-section { padding: clamp(3rem, 6vw, 6rem); border-top: 1px solid var(--line); }
.identity-section { background: var(--parchment); }
.identity-list { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.identity-tag { min-width: 190px; margin: 0.4rem; padding: 0.65rem 1.1rem; display: grid; gap: 0.2rem; background: #fffaf0; border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 30px; box-shadow: 0 5px 14px rgba(56, 41, 24, 0.08); }
.identity-tag strong { font: 500 1.15rem Merriweather, Georgia, serif; }
.identity-tag span { color: var(--muted); font-size: 0.74rem; }
.identity-tag small { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.identity-tag.verified { border-left-color: var(--forest); }
.identity-tag.verified small { color: var(--forest); }
.identity-tag.historic { border-left-color: var(--gold); }
.identity-tag.disputed { border-left-color: var(--rust); }
.identity-tag.disputed small { color: var(--rust); }
.identity-tag.pending { border-left-color: var(--muted); }

.comparison-section { padding: clamp(3rem, 6vw, 6rem); display: grid; grid-template-columns: minmax(260px, 0.7fr) minmax(500px, 1.3fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; color: var(--parchment); background: var(--night); }
.comparison-copy p:not(.section-label, .fixture-note) { color: #d5c9b5; font: 1.13rem/1.72 "Cormorant Garamond", Georgia, serif; }
.fixture-note { color: var(--gold); font-size: 0.72rem; font-weight: 800; }
.landscape-compare { --reveal: 52%; position: relative; min-height: 470px; overflow: hidden; border: 1px solid rgba(201, 166, 107, 0.55); box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45); }
.compare-layer { position: absolute; inset: 0; display: flex; align-items: flex-start; padding: 1rem; overflow: hidden; background: #29382d; }
.compare-layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: sepia(0.12) saturate(0.8); }
.compare-layer span { position: relative; z-index: 2; padding: 0.5rem 0.7rem; color: white; background: rgba(17, 22, 18, 0.82); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.current-landscape { justify-content: flex-end; }
.historic-footprint { clip-path: inset(0 calc(100% - var(--reveal)) 0 0); justify-content: flex-start; }
.compare-rule { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--reveal); width: 2px; background: white; box-shadow: 0 0 0 1px rgba(17, 22, 18, 0.4); pointer-events: none; }
.landscape-compare label { position: absolute; z-index: 4; left: 1rem; bottom: 2.8rem; padding: 0.35rem; color: white; background: rgba(17, 22, 18, 0.75); font-size: 0.67rem; }
.landscape-compare input { position: absolute; z-index: 5; left: 1rem; right: 1rem; bottom: 1rem; width: calc(100% - 2rem); accent-color: var(--gold); }
.compare-labels { position: absolute; z-index: 4; inset: auto 1rem 4.8rem; display: flex; justify-content: space-between; color: white; font-size: 0.64rem; font-weight: 800; text-transform: uppercase; text-shadow: 0 1px 3px #000; }

.story-chapters { padding: clamp(3rem, 6vw, 6rem); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; background: var(--parchment); border-top: 1px solid var(--line); }
.story-chapters article { min-height: 270px; padding: 1.6rem; background: rgba(255, 250, 240, 0.6); border: 1px solid var(--line); border-top: 4px solid var(--gold); }
.story-chapters h2 { font-size: clamp(1.25rem, 2vw, 1.8rem); }
.story-chapters p:last-child { color: var(--muted); line-height: 1.65; }
.timeline { margin: 2rem 0 0; padding: 2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; border-top: 2px solid var(--gold); }
.timeline li { position: relative; min-height: 250px; padding: 1rem 1rem 1.2rem; display: flex; flex-direction: column; }
.timeline li::before { content: ""; position: absolute; top: -2.6rem; left: 1rem; width: 18px; height: 18px; background: var(--gold); border: 3px solid var(--aged-paper); border-radius: 50%; box-shadow: 0 0 0 4px rgba(201, 166, 107, 0.2); }
.timeline li:nth-child(n+5)::before { display: none; }
.timeline time { color: var(--rust); font: 700 0.76rem Merriweather, Georgia, serif; letter-spacing: 0.04em; }
.timeline h3 { margin: 0.55rem 0; font: 500 1.03rem/1.35 Merriweather, Georgia, serif; }
.timeline p { margin: 0 0 0.8rem; color: var(--muted); font-size: 0.78rem; line-height: 1.55; }
.timeline-posture { display: inline-block; align-self: flex-start; margin: auto 0 0.7rem; padding: 0.35rem 0.5rem; color: var(--forest); background: rgba(53, 94, 59, 0.08); border: 1px solid rgba(53, 94, 59, 0.35); font-size: 0.59rem; font-style: normal; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.timeline a { color: var(--rust); font-size: 0.68rem; line-height: 1.4; }
.record-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.8rem; }
.record-grid article { min-height: 130px; padding: 1.2rem; display: flex; flex-direction: column; justify-content: center; gap: 0.4rem; text-align: center; background: linear-gradient(180deg, #fff8ec, #efe2cc); border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); font-size: 1.3rem; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.record-grid article:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14); }
.record-grid b { font-size: 0.8rem; }
.record-grid em { color: var(--forest); font-size: 0.63rem; font-style: normal; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.record-grid small { color: var(--muted); font-size: 0.65rem; }
.people-section { padding: clamp(3rem, 6vw, 6rem); display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; background: var(--parchment); border-top: 1px solid var(--line); }
.people-section p { line-height: 1.72; }
.people-visual { position: relative; min-height: 390px; margin: 0; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--paper-shadow); }
.people-visual img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.16) saturate(0.75); }
.people-visual figcaption { position: absolute; inset: auto 0 0; padding: 0.8rem 1rem; color: #f6ead7; background: rgba(17, 22, 18, 0.85); font-size: 0.65rem; letter-spacing: 0.05em; text-transform: uppercase; }
.remains-section { position: relative; min-height: 540px; padding: clamp(3rem, 7vw, 7rem); display: flex; align-items: end; overflow: hidden; color: #fff4df; background: var(--night); }
.remains-section::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 22, 18, 0.95), rgba(17, 22, 18, 0.55) 58%, rgba(17, 22, 18, 0.1)); }
.remains-section > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: sepia(0.08) saturate(0.76); }
.remains-section > div { position: relative; z-index: 2; max-width: 720px; }
.remains-section h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.remains-section p { color: #dfd3bf; font: 1.15rem/1.7 "Cormorant Garamond", Georgia, serif; }
.remains-section .visual-disclosure { position: absolute; z-index: 2; right: clamp(1rem, 3vw, 3rem); bottom: clamp(1rem, 3vw, 3rem); }
.geo-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-areas: "historic then now" "historic certainty certainty"; gap: 1rem; }
.geo-grid article { padding: 1rem; background: linear-gradient(180deg, #fff8ec, #efe2cc); border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); }
.geo-grid article > div, .geo-grid article > img { width: 100%; height: 210px; display: block; object-fit: cover; }
.geo-grid .geo-historic { grid-area: historic; }
.geo-grid .geo-historic .historic-map { height: 560px; }
.geo-grid .geo-then { grid-area: then; }
.geo-grid .geo-now { grid-area: now; }
.geo-grid .certainty-panel { grid-area: certainty; display: grid; grid-template-columns: 180px 1fr 1fr; gap: 1.2rem; align-items: center; }
.visual-label { display: inline-block; margin-top: 0.8rem; color: var(--rust); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.historic-map { background: linear-gradient(rgba(244, 233, 216, 0.28), rgba(244, 233, 216, 0.28)), url("/static/maps/vintage-map-overlay.webp") center / cover; }
.satellite-map { background: linear-gradient(25deg, transparent 44%, #777 45% 48%, transparent 49%), repeating-linear-gradient(90deg, #5c7048 0 40px, #74845d 41px 90px); }
.terrain-map { background: repeating-radial-gradient(ellipse at 20% 80%, #8d7652 0 8px, #a79066 9px 16px, #677a57 17px 24px); }
.certainty-gauge { display: grid; place-content: center; background: radial-gradient(circle, var(--aged-paper) 0 30%, transparent 31%), conic-gradient(var(--gold) 0 35%, rgba(113, 104, 86, 0.22) 35% 100%); border-radius: 50%; }
.certainty-gauge span { padding: 0.5rem; font: 700 1rem Merriweather, Georgia, serif; text-align: center; }
.certainty-panel dl { font-size: 0.78rem; }
.certainty-panel dt { color: var(--muted); text-transform: uppercase; }
.certainty-panel dd { margin: 0.2rem 0 0.8rem; font-weight: 750; }
.certainty-panel p { color: var(--muted); font-size: 0.75rem; line-height: 1.5; }
.certainty-scale { display: grid; gap: 0.45rem; height: auto !important; }
.certainty-scale span { padding: 0.55rem 0.7rem; color: var(--muted); background: rgba(113, 104, 86, 0.08); border-left: 3px solid rgba(113, 104, 86, 0.35); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.certainty-scale .current { color: var(--forest); background: rgba(53, 94, 59, 0.1); border-left-color: var(--forest); }
.source-section { padding: clamp(3rem, 6vw, 6rem); color: var(--parchment); background: var(--night); border-top: 1px solid rgba(201, 166, 107, 0.35); }
.source-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.8rem; }
.source-grid article { min-height: 235px; padding: 1.3rem; display: flex; flex-direction: column; background: #172019; border: 1px solid rgba(201, 166, 107, 0.28); }
.source-grid span { color: var(--gold); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.source-grid h3 { font: 500 1rem/1.45 Merriweather, Georgia, serif; }
.source-grid p { color: #bfb39f; font-size: 0.74rem; line-height: 1.55; }
.source-grid a { margin-top: auto; color: var(--gold); font-size: 0.7rem; }
.editorial-note { margin-top: 1.5rem; padding: 1.2rem 1.4rem; display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; color: #d8cdb9; background: rgba(140, 79, 54, 0.16); border: 1px solid rgba(201, 166, 107, 0.35); }
.editorial-note strong { color: var(--gold); white-space: nowrap; }
.editorial-note p { margin: 0; line-height: 1.55; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@media (max-width: 1120px) {
  .public-header nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { min-height: 65vh; }
  .map-field { min-height: 72vh; }
  .landscape-search { grid-template-columns: 1fr; }
  .expedition-metrics { max-width: 760px; }
  .discovery-grid, .path-grid { grid-template-columns: repeat(2, 1fr); }
  .town-content, .comparison-section { grid-template-columns: 1fr; }
  .fact-panel dl { grid-template-columns: repeat(3, minmax(120px, 1fr)); }
  .story-chapters { grid-template-columns: repeat(2, 1fr); }
  .record-grid { grid-template-columns: repeat(3, 1fr); }
  .geo-grid { grid-template-columns: repeat(2, 1fr); grid-template-areas: "historic historic" "then now" "certainty certainty"; }
  .geo-grid .geo-historic .historic-map { height: 430px; }
  .source-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .public-header { min-height: 66px; }
  .hero-copy { padding: 3rem 1.3rem; }
  .hero h1 { font-size: clamp(2.55rem, 14vw, 4rem); }
  .map-field { min-height: 620px; }
  .map-card { left: 1rem; right: 1rem; top: auto; bottom: 1rem; width: auto; }
  .map-legend { display: none; }
  .landscape-search, .discoveries, .research-path, .identity-section, .timeline-section, .records-section, .geo-section, .comparison-section, .story-chapters, .source-section { padding: 2.8rem 1.3rem; }
  .expedition-metrics, .feature-strip, .discovery-grid, .path-grid, .people-section { grid-template-columns: 1fr; }
  .expedition-metrics div { border-left: 0; border-top: 1px solid rgba(201, 166, 107, 0.3); }
  .section-heading { align-items: start; flex-direction: column; }
  .town-banner { min-height: 550px; padding: 2rem 1.3rem; }
  .town-banner::before { background: linear-gradient(0deg, rgba(12, 12, 10, 0.92), rgba(12, 12, 10, 0.2)); }
  .town-tabs { top: 66px; gap: 1rem; }
  .town-content { padding: 2rem 1.3rem; }
  .dashboard-heading { display: block; }
  .live-data-badge { display: inline-block; margin-top: 0.8rem; }
  .fact-panel dl, .evidence-dashboard { grid-template-columns: 1fr 1fr; }
  .research-posture, .record-grid, .geo-grid { grid-template-columns: 1fr; }
  .geo-grid { grid-template-areas: "historic" "then" "now" "certainty"; }
  .geo-grid .geo-historic .historic-map { height: 420px; }
  .geo-grid .certainty-panel { grid-template-columns: 1fr; }
  .landscape-compare { min-height: 390px; }
  .timeline { margin-left: 1rem; grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--gold); }
  .timeline li::before { top: 1rem; left: -1.62rem; }
  .timeline li:nth-child(n+5)::before { display: block; }
  .timeline li { min-height: 0; padding-bottom: 2rem; }
  .timeline-posture { margin-top: 0.2rem; }
  .story-chapters, .source-grid { grid-template-columns: 1fr; }
  .remains-section { min-height: 620px; padding: 3rem 1.3rem; }
  .remains-section::after { background: linear-gradient(0deg, rgba(17, 22, 18, 0.96), rgba(17, 22, 18, 0.15)); }
  .remains-section .visual-disclosure { left: 1.3rem; right: auto; }
  .editorial-note { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
