
.atlas-floating {
  position: fixed; z-index: 1000; width: min(290px, calc(100vw - 16px)); overflow: hidden;
  background: #fffdf6; color: #173d30; border-radius: 1rem; border: 1px solid #d9e6dd;
  text-decoration: none; box-shadow: 0 16px 44px #0e302d38;
  animation: atlas-appear .16s ease-out;
}
.atlas-floating img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; background: #e6eee6; }
.atlas-floating img[hidden], .atlas-story img[hidden] { display: none; }
.atlas-floating-copy { display: grid; gap: .35rem; padding: .8rem; font-size: .85rem; }
.atlas-floating strong { font-size: 1.1rem; }
.atlas-read, .atlas-read-label { font-weight: 700; color: #205140; text-decoration: underline; }
.atlas-read { display: inline-block; margin-top: 1rem; }
.atlas-story {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  padding: 0; margin: 0; border: 0; background: #f9f7ef; color: #173d30; overscroll-behavior: contain;
  font: 1rem/1.55 system-ui, sans-serif;
}
.atlas-story[open] { animation: atlas-appear .2s ease-out; }
body:has(.atlas-story[open]) { overflow: hidden; }
.atlas-story-bar {
  position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  gap: .8rem; padding: .7rem clamp(1rem, 4vw, 3rem); background: #153d2d; color: #fffdf6;
}
.atlas-story-back {
  text-align: start; background: transparent; color: inherit; padding: .35rem .6rem; border-radius: .5rem;
  border: 1px solid #adc4b7; font: inherit; cursor: pointer;
}
.atlas-story-body { width: min(1080px, 100% - 2rem); margin-inline: auto; padding-block: 2rem 4rem; }
.atlas-story-intro { max-width: 760px; }
.atlas-story h1 { margin: .15em 0; font: 700 clamp(2.5rem, 9vw, 5.75rem)/1.05 Georgia, serif; }
.atlas-story-lead { margin-block: .7rem 1.35rem; font-size: clamp(1.1rem, 2.5vw, 1.45rem); }
.atlas-story-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); gap: 1rem; }
.atlas-story figure { margin: 0; }
.atlas-story figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: .8rem; background: #e6eee6; }
.atlas-story figcaption { font-size: .8rem; }
.atlas-story-sources { margin-top: 1.5rem; max-width: 740px; }
.atlas-story-text { font-size: 1.1rem; margin-block: 1rem; }
.atlas-story a { color: #205140; text-decoration: underline; }
@keyframes atlas-appear { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .atlas-floating, .atlas-story[open] { animation: none; } }


.atlas-map-controls{display:flex;position:relative;z-index:2;align-items:center;flex-wrap:wrap;gap:.4rem;padding:0 0 .55rem}
.atlas-map-controls button,.atlas-map-controls a{font:inherit;font-size:.8rem;padding:.35rem .65rem;border-radius:999px;border:1px solid #9bbaaa;background:#f5faf6;color:#164936;text-decoration:none;cursor:pointer}
.atlas-map-controls button[aria-pressed=true]{background:#dcebe1;border-color:#426e58;font-weight:650}
.atlas-map-controls :is(a,button):focus-visible{outline:2px solid #164936;outline-offset:2px}
.atlas-map-credit{display:block;padding:.4rem 0 0;text-align:end;color:#285543}
.atlas-map-credit[hidden]{display:none}
.atlas-map-credit a{color:inherit}
