/* GeoDeed archive site - shared styles. Navy #2E5090, Gold #C8A951. No external dependencies. */
:root {
  --navy: #2E5090;
  --navy-deep: #1f3a6b;
  --gold: #C8A951;
  --gold-soft: #efe3bd;
  --ink: #1d2433;
  --muted: #5b6475;
  --rule: #e2ddd0;
  --paper: #fbf9f4;
  --card: #ffffff;
  --sans: Calibri, Carlito, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --wrap: 1040px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-deep); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-head { background: var(--navy); color: #fff; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { color: #fff; text-decoration: none; font-family: var(--serif); font-size: 21px; letter-spacing: 0.01em; }
.brand span { color: var(--gold); }
.brand:hover { color: #fff; }
.nav { display: flex; gap: 6px; }
.nav a { color: rgba(255,255,255,0.85); text-decoration: none; padding: 6px 12px; border-radius: 6px; font-size: 15px; }
.nav a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }

.status { background: var(--gold-soft); color: #5a4a14; font-size: 14.5px; text-align: center; padding: 8px 20px; border-bottom: 1px solid #e3d39f; }

/* Hero */
.hero { padding: 64px 0 48px; border-bottom: 1px solid var(--rule); }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); font-weight: 600; margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.2; }
h1 { font-size: clamp(32px, 5vw, 48px); margin: 0 0 18px; }
h1 em { font-style: normal; color: var(--navy); }
.lede { font-size: 19px; color: var(--muted); margin: 0 0 8px; max-width: 34em; }
.hero-art { width: 100%; max-width: 340px; justify-self: center; }

/* Sections */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--rule); }
h2 { font-size: 30px; margin: 0 0 8px; }
.section-sub { color: var(--muted); margin: 0 0 28px; max-width: 42em; }

/* Metrics */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
.metric { background: var(--card); padding: 22px 18px; }
.metric-n { font-family: var(--serif); font-size: 34px; color: var(--navy); line-height: 1.1; font-variant-numeric: tabular-nums; }
.metric-l { font-size: 14.5px; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.metric-note { font-size: 14.5px; color: var(--muted); margin: 16px 0 0; max-width: 46em; }

/* Maps */
.maps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.map { margin: 0; background: var(--card); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
.map a { display: block; }
.map img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e9e5da; }
.map .placeholder { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--muted); font-size: 14.5px; background: repeating-linear-gradient(45deg, #f1ede3, #f1ede3 10px, #ebe6da 10px, #ebe6da 20px); }
.map figcaption { padding: 14px 18px 18px; }
.map figcaption strong { display: block; font-family: var(--serif); font-size: 19px; color: var(--ink); margin-bottom: 2px; }
.map figcaption span { color: var(--muted); font-size: 15px; }
.map.wide { grid-column: 1 / -1; }
.map.wide img, .map.wide .placeholder { aspect-ratio: 16 / 9; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 157px; top: 6px; bottom: 6px; width: 2px; background: var(--gold); opacity: 0.6; }
.timeline li { display: grid; grid-template-columns: 136px 1fr; gap: 44px; padding: 0 0 26px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 151px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--navy); }
.timeline .when { font-family: var(--serif); color: var(--navy); font-weight: 600; text-align: right; white-space: nowrap; }
.timeline h3 { font-size: 19px; margin: 0 0 4px; }
.timeline p { margin: 0; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--rule); border-radius: 10px; padding: 20px; }
.step::before { counter-increment: step; content: counter(step); display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; background: var(--navy); color: #fff; font-weight: 600; margin-bottom: 12px; }
.step h3 { font-size: 19px; margin: 0 0 6px; }
.step p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* Prose (About) */
.prose { max-width: 42em; }
.prose h2 { margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #343c4c; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.callout { background: var(--card); border: 1px solid var(--rule); border-left: 4px solid var(--gold); border-radius: 8px; padding: 18px 22px; margin: 28px 0; }
.callout p { margin: 0; }

/* Notice + footer */
.notice { background: var(--card); border: 1px solid var(--rule); border-radius: 10px; padding: 20px 24px; color: var(--muted); font-size: 15.5px; }
.notice strong { color: var(--ink); }
.site-foot { background: var(--navy-deep); color: rgba(255,255,255,0.75); font-size: 14.5px; padding: 28px 0; margin-top: 0; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-foot a { color: var(--gold); }

/* Responsive */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { max-width: 240px; justify-self: start; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 32px; }
  section { padding: 40px 0; }
  .maps { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .metric-n { font-size: 28px; }
  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; padding-left: 30px; }
  .timeline li::before { left: 1px; }
  .timeline .when { text-align: left; }
}
