#destination-atlas{--atlas-border:#c6ad8b;--atlas-ink:#442b1c}
.atlas-index{padding:50px var(--gutter) 30px;border-block:1px solid #d9c9b5;background:#f4ebdc}
.atlas-index .kicker{margin-bottom:15px}
.atlas-index>div{display:flex;flex-wrap:wrap;gap:10px clamp(18px,4vw,58px)}
.atlas-index a{font-size:.86em;padding:4px 0;border-bottom:1px solid #b5916c}
.atlas-chapter{display:block;min-height:100svh;align-content:center;scroll-margin-top:20px}
.atlas-chapter:nth-of-type(even){background:#f2e8d8}
.atlas-chapter .intro{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:clamp(30px,6vw,100px);align-items:center}
.atlas-chapter .intro p{margin:25px 0}
.atlas-chapter .place-list{display:flex;flex-wrap:wrap;gap:8px}
.atlas-chapter .place-list button{background:transparent;border:1px solid var(--atlas-border);padding:7px 12px;font-size:.76em;cursor:pointer}
.atlas-chapter .place-list button[aria-pressed=true]{background:var(--atlas-ink);color:var(--ivory)}
.atlas-chapter .map{position:relative;aspect-ratio:1.27;border:1px solid #95704e;isolation:isolate;background:#d8b882;box-shadow:inset 0 0 55px #71482678,0 22px 45px #4e2f182b}
.atlas-chapter .map svg{position:absolute;inset:0;width:100%;height:100%}
.atlas-chapter .pin{position:absolute;left:calc(var(--x)*1%);top:calc(var(--y)*1%);transform:translate(-50%,-50%);width:clamp(33px,4vw,46px);height:clamp(33px,4vw,46px);border-radius:50%;border:1px solid #fff1d1;background:#4b2a1c;color:#fff2d5;font-size:.82em;box-shadow:0 0 0 4px #47261928;z-index:2;cursor:pointer}
.atlas-chapter .pin[aria-pressed=true],.atlas-chapter .pin:hover,.atlas-chapter .pin:focus-visible{background:#fff1d1;color:#482719;border-color:#482719}
.atlas-chapter .popover{position:absolute;z-index:3;left:5%;right:5%;bottom:5%;max-width:330px;background:#fff6df;border:1px solid #a47c50;padding:12px 15px;box-shadow:0 9px 22px #49270a3a}
.atlas-chapter .popover[hidden],.atlas-chapter .detail[hidden]{display:none}
.atlas-chapter .popover strong{font:400 1.32rem var(--head)}
.atlas-chapter .popover p{font-size:.78rem;margin:3px 0 6px}
.atlas-chapter .popover button{background:transparent;border:0;border-bottom:1px solid #9a7049;padding:1px 0;cursor:pointer;font-size:.84em}
.atlas-chapter .popover .dismiss{float:right;border:0;padding:0 5px;font-size:1.2rem}
.atlas-chapter .caption{display:flex;justify-content:space-between;gap:10px;font-size:.62em;letter-spacing:.09em;text-transform:uppercase;color:#6e4d33;margin-top:11px}
.atlas-chapter .detail{margin-top:clamp(40px,7vw,96px);padding-top:35px;border-top:1px solid #cdb79a;display:grid;grid-template-columns:1fr 1fr;gap:clamp(25px,6vw,85px);scroll-margin-top:28px}
.atlas-chapter h3{font:400 clamp(2rem,4vw,4rem)/1.07 var(--head);margin:0}
.atlas-chapter h4{font:400 1.58rem var(--head);margin:.6em 0 .25em}
.atlas-chapter .detail ul{padding-left:20px}
.atlas-chapter .detail details{border-bottom:1px solid #c5af91;padding:10px 0}
.atlas-chapter .detail summary{cursor:pointer}
.atlas-chapter .route{font-size:.92em;margin:.65em 0}
.atlas-chapter .note{font-size:.76em;color:#684a36}
.atlas-chapter.arrived .intro>div{animation:rise .8s both}
.atlas-chapter.arrived .intro>div+div{animation-delay:.12s}
@media(max-width:760px){.atlas-chapter .intro,.atlas-chapter .detail{grid-template-columns:1fr}.atlas-chapter .map{aspect-ratio:1.04}.atlas-chapter .popover{max-width:260px}.atlas-chapter .caption{font-size:.58em}}
@media(prefers-reduced-motion:reduce){.atlas-chapter.arrived .intro>div{animation:none}}
.atlas-chapter .map{aspect-ratio:520/410;background:#dcc299 url('atlas-parchment.webp') center/cover no-repeat;box-shadow:inset 0 0 32px #7148264d,0 22px 45px #4e2f182b}
.atlas-chapter .map .atlas-basemap{position:absolute;inset:0;width:100%;height:100%}
.atlas-chapter .popover.above-pin{top:5%;bottom:auto}
.atlas-chapter .caption a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:760px){.atlas-chapter .pin{width:32px;height:32px}}
