@font-face {
  font-family: Montserrat;
  src: url('/assets/fonts/Montserrat.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f8f9f7;
  --cream: #ecf0ec;
  --ink: #06150e;
  --muted: #475750;
  --line: #c5d0c9;
  --ocean: #081f19;
  --accent: #007350;
  --green: #007350;
  --blue: #00aff0;
  --serif: Montserrat, Arial, sans-serif;
  --sans: Montserrat, Arial, sans-serif;
}

html {scroll-padding-top: 22px}
body {line-height: 1.65}
.visually-hidden {position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap}
h1, h2, h3, h4 {font-weight: 780; letter-spacing: -.045em}
h1 {line-height: .99; letter-spacing: -.025em; overflow-wrap: anywhere}
h2, h3 {line-height: 1.13}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {outline: 3px solid #00688f; outline-offset: 3px}
[tabindex="-1"]:focus {outline: none}
header {width: 100%; max-width: none; min-height: 76px; padding: 12px max(28px, calc((100% - 1320px) / 2)); border-color: var(--line); background: white}
.brand {font-family: var(--sans); letter-spacing: -.025em; font-weight: 900; font-size: 19px; gap: 11px}
.brand-mark {width: 37px; height: 37px; transform: none}
.brand-sub {font-size: 8px; font-weight: 800; margin-top: 4px; letter-spacing: .14em}
nav {gap: clamp(16px, 3vw, 42px)}
nav a {font-size: .84rem; font-weight: 690; line-height: 2.5}
nav a[aria-current=page]:after {height: 3px; background: var(--green)}
.nav-search {border-color: var(--line); padding: 11px}
.wrap {max-width: 1320px}
.eyebrow, .page-heading .eyebrow {font-size: .75rem; font-weight: 790; letter-spacing: .115em}
.fine, figcaption {font-size: .8rem}
.text-link {font-size: .88rem; font-weight: 750}
.button {font-weight: 780; font-size: .89rem; min-height: 46px; padding: 12px 19px; gap: 10px}
.primary {color: white; background: var(--green); border-color: var(--green)}
.primary:hover {background: #00553b; color: white}
input, select {border-color: #a7b9ac; background: white}
input::placeholder {color: #54645a}
.page-heading {padding-block: 55px 30px}
.page-heading h1 {font-size: clamp(2.7rem, 5.3vw, 5.15rem); font-weight: 850; text-transform: uppercase}
.page-heading .eyebrow {color: var(--green)}
.lede, .page-heading .lede {color: #394c42; font-size: clamp(1rem, 2vw, 1.13rem); line-height: 1.7}
.section-heading > a {font-size: .85rem}
.section {padding-top: 58px}

.home-stage {display: grid; grid-template-columns: .94fr 1.06fr; min-height: min(580px, 70vw); color: white; background: var(--green)}
.home-lead {padding: clamp(36px, 5.65vw, 96px) 32px clamp(38px, 5vw, 84px) max(36px, calc((100vw - 1320px) / 2))}
.home-lead .eyebrow {margin-bottom: 25px; padding-top: 10px; border-top: 1px solid #bbded1; width: min(375px, 100%)}
.home-lead h1 {font-size: clamp(3.65rem, 7.85vw, 7.5rem); text-transform: uppercase; letter-spacing: -.042em; font-weight: 850; line-height: .86; overflow-wrap: normal}
.home-lead h1 span {color: #6fe0ff}
.home-lead > p:not(.eyebrow) {margin: 27px 0 23px; font-size: 1.05rem; max-width: 335px}
.home-lead .button {background: white; border-color: white; color: var(--ink)}
.home-lead .button:hover {background: #c2efdf; border-color: #c2efdf}
.home-lead a:focus-visible {outline-color: #b7efff}
.home-image {background: var(--ocean); position: relative; min-height: 100%; display: flex; align-items: stretch; overflow: hidden}
.home-image img {width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: center 52%}
.home-image figcaption {align-self: flex-end; position: relative; width: 100%; padding: 30px clamp(16px, 3vw, 50px) 18px; display: flex; justify-content: space-between; gap: 12px; color: white; background: linear-gradient(transparent, #05150ff2); font-weight: 660}
.home-image a:hover {color: #8de4ff}
.home-index {display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-bottom: 1px solid var(--line)}
.home-index a {display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 13px; padding: 22px clamp(12px,3vw,32px); color: var(--ink); text-decoration: none}
.home-index a + a {border-left: 1px solid var(--line)}
.home-index a:hover {background: #e5eee7; color: var(--green)}
.home-index strong {font-size: clamp(1.7rem, 3vw, 2.7rem); font-weight: 860; letter-spacing: -.04em}
.home-index span {font-size: .82rem; font-weight: 700}
.journey-feature {background: #e5f0e9; border-color: #bed3c4}
.journey-feature p:not(.eyebrow), .principles p {font-size: 1rem}

.atlas-page-head {display: flex; gap: 20px; justify-content: space-between; align-items: end; padding: 37px 0 29px}
.atlas-page-head h1 {font-size: clamp(2.5rem, 5.3vw, 4.45rem); font-weight: 850; text-transform: uppercase}
.atlas-page-head .eyebrow {margin-bottom: 9px; color: var(--green)}
.atlas-page-links {display: flex; flex-wrap: wrap; gap: 8px 17px; flex-shrink: 0}
.atlas-find-link {display: none}
.atlas-redesign {padding-top: 0}
.atlas-canvas {display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 320px); background: white; border: 1px solid #a8bbaf}
.atlas-canvas .map-panel {
  --map-rule: #b5c5ca;
  --map-ink: #172d35;
  --map-muted: #40555e;
  --map-selected: #854331;
  min-height: 340px;
  padding: 18px 20px 16px;
  background: #fbfaf6;
  color: var(--map-ink);
}
.atlas-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--map-rule);
  padding-top: 12px;
}
.atlas-canvas .map-topline {
  display: grid;
  gap: 2px;
  color: var(--map-ink);
  font-size: .84rem;
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 760;
}
.atlas-canvas .map-topline span:last-child {color: var(--map-muted); font-weight: 620}
.atlas-canvas .map-tabs {padding: 3px; display: flex; flex-wrap: wrap; background: #e8eef0}
.atlas-canvas .map-tabs button {font-size: .75rem; min-height: 36px; padding: 7px 10px; color: var(--map-ink)}
.atlas-canvas .map-tabs button:hover {background: #d9e4e8}
.atlas-canvas .map-tabs button[aria-pressed=true] {background: #314f5a; color: white; font-weight: 800}
.atlas-canvas .map-stage {min-height: 0; margin-block: 6px; align-items: center}
.atlas-canvas .flat-map {aspect-ratio: 2; width: 100%}
.atlas-canvas .flat-map img {width: 100%; height: 100%; object-fit: contain}
.atlas-canvas .map-note, .atlas-canvas .map-credit {color: var(--map-muted); font-size: .78rem}
.atlas-canvas .map-note {margin: 8px 0 4px; max-width: 75ch}
.atlas-canvas .map-credit {margin-top: 7px}
.atlas-canvas .map-credit a:hover {color: var(--map-ink)}
.atlas-canvas .pin-hit {fill: transparent}
.atlas-canvas .pin-dot {fill: #fffefa; stroke: #344d58; stroke-width: 1.55}
.atlas-canvas .pin-dot.pin-selected,
.atlas-canvas .map-pins a:hover .pin-dot,
.atlas-canvas .map-pins a:focus-visible .pin-dot {fill: var(--map-selected); stroke: #fffefa; stroke-width: 2}
.atlas-canvas .pin-ring {fill: none; stroke: var(--map-selected); stroke-width: 1.8}
.atlas-canvas .map-table table {color: var(--map-ink); font-size: .84rem}
.atlas-canvas .map-table caption {color: var(--map-ink); font-size: 1.05rem; font-weight: 700}
.atlas-canvas .map-table th, .atlas-canvas .map-table td {border-color: var(--map-rule)}
.atlas-canvas .map-table td {overflow-wrap: anywhere}
.atlas-canvas .map-unavailable {padding: 0; max-width: 540px; margin-inline: auto}
.atlas-canvas .map-unavailable .environment-diagram {display: block; max-width: 100%; margin-block: 3px}

.place-directory {min-width: 0; display: flex; flex-direction: column; border-left: 1px solid #a8bbaf; min-height: 0}
.place-directory-head {padding: 16px 17px 12px; background: #eaf2ed; border-bottom: 1px solid var(--line)}
.place-directory-head h2 {font-size: 1.36rem; margin-bottom: 10px}
.place-directory-head .fine {margin-top: 7px}
.place-directory label {display: block}
.place-directory input {font-size: .93rem; min-height: 43px; padding: 8px 10px}
.place-directory-list {overflow-y: auto; flex: 1 1 0; min-height: 245px; scrollbar-width: thin; scrollbar-color: #8fa899 transparent}
.place-directory-list section h3 {margin: 0; padding: 9px 17px 8px; color: #405a4c; font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; background: #edf4ef}
.place-directory-list ul {list-style: none; margin: 0; padding: 0}
.place-directory-list a {display: block; padding: 9px 17px; border-bottom: 1px solid #e0e9e3; text-decoration: none; font-size: .86rem; line-height: 1.3}
.place-directory-list a span {display: block; margin-top: 3px; font-size: .75rem; color: #405a4c}
.place-directory-list a:hover {background: #eaf2ed}
.place-directory-list a[aria-current] {box-shadow: inset 4px 0 var(--green); background: #d6eee1; color: #00442d}
.place-directory-list a:focus-visible {outline-offset: -3px}

.atlas-current {margin-top: 22px}
.atlas-current-head {display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 0 0 12px}
.atlas-current-head h2 {overflow-wrap: anywhere; font-size: clamp(1.3rem, 2.5vw, 2.2rem)}
.atlas-share {position: relative}
.atlas-share .button {white-space: nowrap; color: var(--map-ink); border-color: #7f979e; padding: 5px 11px; font-size: .75rem; min-height: 36px}
.atlas-share .button:hover {background: #e8eef0}
.atlas-share .share-status {color: var(--ink); position: absolute; z-index: 3; top: 100%; right: 0; width: min(240px, 70vw); padding: 10px 12px; margin: 5px 0 0; background: white; border: 1px solid var(--green); font-size: .82rem}
.atlas-share .share-status:empty {display: none}
.atlas-time-heading {margin-bottom: 8px}
.atlas-time-heading p {margin-bottom: 2px}
#atlas-time-label {font-size: .82rem; font-weight: 800}
.atlas-time-heading .fine {color: var(--map-muted)}
.atlas-stops {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin-bottom: 14px}
.atlas-stop {display: block; padding: 10px 13px 11px; border: 1px solid #c4c8c4; background: #f5f4ee; color: var(--map-ink); text-decoration: none; line-height: 1.3}
.atlas-stop:hover {background: #ebeef0; color: var(--map-ink)}
.atlas-stop[aria-current] {border-color: #58727c; background: #e1ebed; box-shadow: inset 0 3px #58727c}
.atlas-stop-date {display: block; font-size: clamp(1rem, 1.65vw, 1.28rem); font-weight: 850; letter-spacing: -.035em; margin-bottom: 4px}
.atlas-stop strong {font-size: .87rem}

.atlas-story {display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: stretch; background: #eaf2ed}
.atlas-story-copy {padding: clamp(17px, 3.4vw, 39px)}
.atlas-story .eyebrow {margin-bottom: 12px; color: #006142}
.atlas-story h3 {font-size: clamp(1.5rem,3vw,2.45rem); margin-bottom: 15px}
.atlas-story-actions {display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center}
.atlas-story-photo {display: flex; flex-direction: column; position: relative}
.atlas-story-photo img {width: 100%; flex: 1 1 auto; height: 0; min-height: 160px; object-fit: cover}
.atlas-story-photo figcaption {padding: 8px 12px; background: #dcebe0}
.atlas-story-photo figcaption a {display: inline-block; font-weight: 700}
.evidence-triad > div {border-top: 2px solid #a5beb0}
.evidence-triad h3 {font-size: .8rem; font-weight: 820}
.evidence-triad p {font-size: .9rem; line-height: 1.65; color: var(--muted)}

.card-grid {gap: clamp(12px, 2.1vw, 26px)}
.card {background: white; border-color: var(--line)}
.card:hover {background: #edf3ef; border-color: var(--green)}
.card .eyebrow, .card-art span {font-size: .72rem; letter-spacing: .08em; color: #38574a}
.card h3 {font-size: clamp(1.3rem, 2.25vw, 1.9rem)}
.card-body > p:not(.eyebrow) {font-size: .9rem; line-height: 1.65; color: var(--muted)}
.card .text-link {font-size: .8rem; color: #005d40}
.card-art {aspect-ratio: 16/9; height: auto; background: #e1ede6; border: none}
.card-art img {width: 100%; height: 100%; object-fit: cover}
.region-card .card-art span {top: 12px; left: 12px; background: #06150ee8; color: white; font-weight: 750}
.card-grid .region-card:last-child:nth-child(3) .card-art {height: auto}
.region-hero {margin-bottom: 32px; background: #eaf0eb; margin-top: 0}
.region-hero img {width: 100%; height: clamp(235px, 42vw, 550px); object-fit: cover}
.region-hero figcaption {display: flex; justify-content: space-between; gap: 7px 18px; flex-wrap: wrap; padding: 10px 14px; color: var(--muted)}
.region-hero figcaption span:last-child {font-size: .75rem}
.region-intro .field-label, .limits, .callout, .evidence-sheet, .definition, .empty-note {background: #eaf2ed; border-color: #bfd3c5}
.question {font-weight: 750}
.article > h2, .sources h2 {font-weight: 840}
.sources li > a {color: #005e41}
.sources li > p, .sources details {font-size: .85rem; color: var(--muted)}
#region-photos h3, #photos h3 {font-size: 1.16rem}

.region-chart {margin: 44px 0 34px; padding: clamp(16px, 3vw, 36px); background: #e6f0e9; border-top: 4px solid var(--green)}
.region-chart h2 {font-size: clamp(1.35rem,3vw,2.25rem); margin-bottom: 9px}
.region-chart > p {max-width: 65ch; font-size: .94rem; color: var(--muted)}
.region-chart ul {list-style: none; padding: 0; margin: 0}
.region-chart-axis {display: flex; justify-content: space-between; gap: 10px; padding-bottom: 7px; margin-left: calc(34% + 15px); font-size: .83rem; font-weight: 800}
.region-chart-row {display: grid; grid-template-columns: minmax(0,34%) minmax(0,1fr); align-items: center; gap: 15px; border-top: 1px solid #c5d6cb; padding: 8px 0}
.region-chart-row a {font-size: .85rem; font-weight: 670; line-height: 1.45}
.region-chart-row a span {display: block; font-size: .78rem; font-weight: 500; color: var(--muted)}
.region-track {height: 16px; position: relative; background: repeating-linear-gradient(90deg,#b5c8bc 0 1px,transparent 1px 25%), #d8e6dd; border-right: 1px solid #b5c8bc; margin-inline: 3px}
.region-track span {display: block; position: absolute; inset: 3px auto 3px var(--start); width: max(1px, var(--length)); background: #007350}
.chart-evidence .region-track span {background: #176a8c}
.region-track span.region-dot {width: 7px; height: 7px; top: 4px; border-radius: 50%; transform: translateX(-50%)}
.chart-legend {display: flex; flex-wrap: wrap; gap: 10px 25px; margin-top: 14px}
.chart-legend span:before {content: ''; display: inline-block; width: 11px; height: 11px; margin-right: 7px; background: var(--green)}
.chart-legend span + span:before {background: #176a8c}

.search-result:hover {background: #e7f3eb}
.comparison-side {background: white; border-color: var(--line)}
.brief-page {padding-top: clamp(24px, 5vw, 48px)}
.brief-page h1, .source-title {font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 12px}
.brief-page p {max-width: 66ch; margin-bottom: 8px}
.brief-page p:last-child {margin-bottom: 0}
footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  max-width: none;
  margin-top: clamp(28px, 6vw, 60px);
  padding: 14px max(28px, calc((100% - 1320px) / 2));
  background: #09231a;
  color: #f6faf7;
  border-color: #345a4a;
}
footer .brand:hover, footer a:hover {color: #8ee8cd}
.footer-links {gap: 6px 15px; border: none; padding: 0}
.footer-links a {font-size: .78rem}

@media (max-width: 800px) {
  header {gap: 8px 18px; padding: 10px 20px}
  nav {justify-content: flex-start; gap: 22px; padding-top: 4px}
  nav a {font-size: .79rem}
  .home-stage {grid-template-columns: 1fr 1fr}
  .home-lead {padding-inline: 23px 17px}
  .home-lead h1 {font-size: clamp(2.8rem,8.3vw,5.25rem)}
  .atlas-canvas {grid-template-columns: minmax(0,1fr) minmax(200px, 32%)}
  .atlas-canvas .map-panel {padding: 12px}
  .place-directory-head {padding: 12px}
  .place-directory-list a, .place-directory-list section h3 {padding-inline: 12px}
}

@media (max-width: 620px) {
  footer {gap: 8px 18px; padding: 10px 18px}
  .home-stage {grid-template-columns: 1fr}
  .home-lead {padding: 25px 21px 30px}
  .home-lead .eyebrow {margin-bottom: 19px}
  .home-lead h1 {font-size: clamp(3.1rem,14.3vw,5.6rem)}
  .home-lead > p:not(.eyebrow) {margin-top: 21px}
  .home-image {min-height: 0; aspect-ratio: 1.48}
  .home-index a {padding-inline: 8px; align-content: start; gap: 1px}
  .home-index span {font-size: .75rem}
  .page-heading {padding-block: 35px 24px}
  .atlas-page-head {display: block; padding: 25px 0 17px}
  .atlas-page-links {margin-top: 10px}
  .atlas-find-link {display: inline-block}
  nav {flex-wrap: wrap; column-gap: clamp(10px,4vw,18px); row-gap: 1px; overflow: visible}
  .atlas-canvas {grid-template-columns: minmax(0,1fr)}
  .atlas-canvas .map-panel {min-height: 0}
  .place-directory {border-left: none; border-top: 1px solid var(--line)}
  .place-directory-list {flex: 0 0 auto; min-height: 0; max-height: 218px}
  .atlas-story {grid-template-columns: minmax(0,1fr)}
  .atlas-story-photo img {height: 205px; flex: none}
  .atlas-current-head .button {white-space: normal}
  .atlas-stop {padding-inline: 11px}
  .atlas-stop strong {font-size: .83rem}
  .region-chart-axis {margin-left: 0}
  .region-chart-row {grid-template-columns: minmax(0,1fr); gap: 6px}
  .region-chart-row a span {display: inline-block; margin-left: 6px}
  .region-track {margin-bottom: 3px}
  .section {padding-top: 39px}
}

@media print {
  footer {display: none}
  .home-stage, .atlas-canvas, .atlas-story {display: block}
  .home-image {min-height: 250px}
  .place-directory, .atlas-share, .atlas-map-header .map-tabs {display: none}
}

/* Museum and field specimens stay fully in frame. */
.card-art img.photo-specimen,
.region-hero img.photo-specimen,
.atlas-story-photo img.photo-specimen {
  object-fit: contain;
  background: #dbe4df;
}

.atlas-canvas .location-map {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}
.location-map .pin-dimmed {opacity: .27}
.location-map .pin-dimmed:hover, .location-map .pin-dimmed:focus-visible {opacity: 1}
.atlas-map-focus {
  align-self: flex-start;
  margin-top: 10px;
  min-height: 38px;
  padding: 6px 11px;
  color: var(--map-ink);
  border-color: #7f979e;
  font-size: .8rem;
  font-weight: 700;
}
.atlas-map-focus:hover {background: #e8eef0}

.atlas-map-actions {display: flex; align-items: center; flex-wrap: wrap; gap: 8px}
.atlas-map-actions .atlas-map-focus {margin-top: 0; align-self: center}

.continent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 28px;
}
.continent-links a {
  padding: 6px 10px;
  border: 1px solid #afc4b7;
  background: white;
  font-size: .82rem;
  font-weight: 720;
  text-decoration: none;
}
.continent-links a:hover {background: #d6ece0}
.continent-links a span {margin-left: 4px; color: #52655a; font-size: .75rem}
.region-group {margin-bottom: 36px; padding-top: 13px; border-top: 2px solid #007350}
.region-group > h2 {margin-bottom: 14px}
