.atlas .map-story{background:#fff;color:#000;border-top:1px solid #edf0f4;padding:clamp(40px,4.7vw,78px) 0 clamp(42px,5vw,82px);scroll-margin-top:60px}
.map-story-inner{width:min(1200px,calc(100% - 12vw));margin:auto}
.map-story-heading{text-align:center;margin:0 auto clamp(28px,3.3vw,48px)}
.atlas .map-story-heading h2{font-size:clamp(34px,3.7vw,56px);letter-spacing:-.065em;line-height:1.17;font-weight:660}
.map-story-heading>p{margin:13px auto 0;color:#4a5060;font-size:clamp(15px,1.22vw,18px);line-height:1.65}
.map-story-body{display:grid;grid-template-columns:minmax(220px,.72fr) minmax(0,1.6fr);align-items:center;gap:clamp(28px,4.4vw,76px)}
.map-steps{position:relative;display:flex;flex-direction:column;margin:0;padding:0 0 0 20px;min-width:0}
.map-steps::before,.map-steps::after{position:absolute;content:"";left:0;top:0;width:3px;border-radius:4px}
.map-steps::before{height:100%;background:#e6ebf3}
.map-steps::after{background:#3265dc;height:var(--indicator-size,25%);transform:translateY(var(--indicator-top,0px));transition:transform 270ms cubic-bezier(.2,.8,.2,1),height 270ms cubic-bezier(.2,.8,.2,1)}
.map-steps button{appearance:none;background:transparent;border:0;text-align:left;border-radius:9px;font:inherit;padding:17px 18px;cursor:pointer;display:block;width:100%;color:#4b5463;transition:background-color .2s,color .2s}
.map-steps button:hover{background:#f5f7fb}
.map-steps button[aria-selected=true]{color:#101523;background:#f1f5fd}
.map-steps strong{font-size:clamp(18px,1.55vw,24px);font-weight:610;line-height:1.4;letter-spacing:-.028em}
.step-description{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows 255ms cubic-bezier(.2,.8,.2,1),opacity 180ms ease-out}
.map-steps button[aria-selected=true] .step-description{grid-template-rows:1fr;opacity:1}
.map-steps small{min-height:0;overflow:hidden;font-size:14px;line-height:1.65;color:#454e61}
.map-steps small::before{content:"";display:block;height:6px}
.map-stage{position:relative;display:grid;min-width:0;align-items:start}
.map-stage figure{grid-area:1/1;margin:0;min-width:0}
.map-art-button{padding:0;background:none;border:0;cursor:zoom-in;width:100%;border-radius:15px;display:block}
.map-art-button :is(img,picture){width:100%;display:block;border-radius:inherit}
.map-art-button img{height:auto;aspect-ratio:960/650}
.map-stage figcaption{display:flex;justify-content:space-between;gap:18px;align-items:baseline;margin:10px 2px 0;color:#5f6875;font-size:12px;line-height:1.55}
.map-stage figcaption small{font-size:inherit;white-space:nowrap}
.map-mini{display:none}
.map-story :focus-visible{outline:3px solid #3566db;outline-offset:3px}
@media(max-width:720px){
 .atlas .map-story{scroll-margin-top:53px;padding:34px 0 31px}.map-story-inner{width:calc(100% - 36px)}
 .map-story-heading{margin:0 auto 20px;text-align:left}.atlas .map-story-heading h2{font-size:clamp(28px,6.7vw,39px)}
 .map-story-heading>p{font-size:14px;margin:8px 0 0}
 .map-story-body{display:block}.map-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0 0 7px}
 .map-steps::before,.map-steps::after{top:auto;bottom:0;left:0;height:2px;width:100%}
 .map-steps::after{width:var(--indicator-width,25%);transform:translateX(var(--indicator-left,0px));transition:transform 230ms cubic-bezier(.2,.8,.2,1)}
 .map-steps button,.map-steps button[aria-selected=true]{padding:10px 2px;color:#435068;text-align:center;background:none;min-height:44px}
 .map-steps button[aria-selected=true]{color:#224dbd}.map-steps strong{font-size:15px}.map-steps .step-description{display:none}
 .map-stage{margin-top:15px}.map-art-button{border-radius:10px}.map-art-button img{aspect-ratio:720/565}
 .map-mini{display:block;min-height:3.15em;margin:10px 0 0;font-size:14px;color:#36445a;line-height:1.58}
 .map-stage figcaption{margin:4px 0 0;font-size:11px}
}
@media(prefers-reduced-motion:reduce){.map-steps::after{transition:none}}
html[data-motion=off] .map-steps::after{transition:none}

.map-credit{color:inherit;text-decoration:underline;text-decoration-color:#aeb5c0;text-underline-offset:2px}

@media(prefers-reduced-motion:reduce){.map-story .step-description{transition:none}}
html[data-motion=off] .step-description{transition:none}

.map-blend{position:absolute;top:0;left:0;width:100%;height:auto;aspect-ratio:960/650;object-fit:cover;border-radius:15px;pointer-events:none;z-index:1}
@media(max-width:720px){.map-blend{aspect-ratio:720/565;border-radius:10px}}


/* Native page scroll supplies the four chapter positions. */
.map-story[data-scroll-story=ready] .map-story-inner{position:sticky;top:var(--map-pin,76px)}
.map-story[data-scroll-story=ready]::after{content:"";display:block;height:var(--map-distance,0px)}
.map-story .short-label{display:none}
.map-stage figcaption{min-height:27px}
.map-start{color:#174dad;font-weight:620;text-decoration:none;white-space:nowrap}
.map-start:hover{text-decoration:underline}
.map-skip{position:absolute;top:0;left:0;z-index:4;padding:8px 12px;background:#fff;color:#164aaf;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.map-skip:focus-visible{clip-path:none;width:auto;height:auto}
@media(max-width:720px){
 .map-story .short-label{display:inline}.map-story .wide-label{display:none}
 .map-steps strong{font-size:clamp(12px,3.4vw,15px)}
 .map-stage figcaption{min-height:35px}
}
@media(min-width:721px) and (max-height:790px){
 .map-story-inner{width:min(1140px,calc(100% - 10vw))}
 .map-story-heading{margin-bottom:clamp(14px,2vh,23px)}
 .atlas .map-story-heading h2{font-size:clamp(29px,4.4vh,39px)}
 .map-story-body{grid-template-columns:minmax(210px,.85fr) minmax(0,1.5fr)}
 .map-stage{width:min(100%,max(400px,calc((100svh - 220px)*1.477)));justify-self:center}
 .map-steps button{padding-block:11px}
}
.map-story[data-scroll-story=ready]{overflow-anchor:none}
@media(orientation:landscape) and (min-width:530px) and (max-height:520px){
 .map-story .map-story-inner{width:calc(100% - 8vw);display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-template-rows:auto auto;gap:10px 20px;align-items:center}
 .map-story .map-story-body{display:contents}
 .map-story .map-story-heading{grid-area:1/1;text-align:left;margin:0}
 .atlas .map-story-heading h2{font-size:24px}
 .map-story .map-story-heading>p{font-size:12px;line-height:1.45;margin-top:4px}
 .map-story .map-steps{grid-area:2/1;align-self:start;display:flex;flex-direction:column;padding:0 0 0 10px}
 .map-story .map-steps button{width:100%;padding:6px 9px;text-align:left;min-height:34px}
 .map-story .map-steps button[aria-selected=true]{background:#f1f5fd}
 .map-story .map-steps strong{font-size:15px}
 .map-story .step-description{display:none}
 .map-story .map-steps::before,.map-story .map-steps::after{left:0;top:0;bottom:auto;width:2px}
 .map-story .map-steps::before{height:100%}
 .map-story .map-steps::after{height:var(--indicator-size);transform:translateY(var(--indicator-top))}
 .map-story .map-stage{grid-area:1/2/3/3;justify-self:center;align-self:center;margin:0;width:min(100%, calc((100svh - 128px)*1.42))}
 .map-story .map-mini{display:none}
 .map-story .map-stage figcaption{margin-top:5px;font-size:10px;min-height:32px;line-height:1.4}
}

html:has(.map-story[data-scroll-story=ready]){scroll-behavior:auto}
