:root{color-scheme:dark;--ivory:#fff5e9;--muted:#cecfc3;--orange:#ffae65;--ink:#101511;--edge:clamp(22px,5.1vw,88px);--serif:Baskerville,'Palatino Linotype','Book Antiqua',Georgia,serif}
*{box-sizing:border-box}
body{margin:0;color:var(--ivory);background:var(--ink);font:16px/1.5 system-ui,-apple-system,sans-serif}
a,button{color:inherit;font:inherit}a{text-underline-offset:.24em}button{border:0;background:none;cursor:pointer}a:focus-visible,button:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.stage{height:100vh;height:100svh;position:relative;isolation:isolate;overflow:hidden;background:#172018;touch-action:pan-y pinch-zoom}
.screen,.shot,.shade,.shot>img{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.screen{z-index:-3;background:#182019 url(assets/film/intro.webp) 78% 42%/cover no-repeat}.shot{opacity:0;transition:opacity .72s ease-in-out;overflow:hidden}.shot.visible{opacity:1}.shot>img{object-fit:cover;object-position:var(--focus);transform-origin:var(--focus);will-change:transform}
.shade{z-index:-1;background:linear-gradient(90deg,rgba(6,13,10,.67),rgba(6,13,10,.36) 36%,transparent 70%),linear-gradient(0deg,#0b120ff5,rgba(9,16,12,.48) 18%,transparent 48%,transparent 76%,rgba(9,16,12,.67) 100%)}
.mast,.transport{position:absolute;left:var(--edge);right:var(--edge);display:flex;align-items:center;justify-content:space-between;gap:1rem}
.mast{top:max(17px,env(safe-area-inset-top));z-index:2}.brand{font:600 1.33rem/1 var(--serif);letter-spacing:-.04em;text-decoration:none;display:flex;align-items:baseline}.brand span{width:.23em;height:.23em;border-radius:50%;background:var(--orange);margin-left:.12em}
.mast nav{display:flex;align-items:center;gap:clamp(.4rem,2vw,2rem)}.mast button{min-height:44px;font-size:.85rem;padding:0 .5rem}.mast .open-work{border:1px solid #fff5e96b;border-radius:30px;padding:0 1rem}
.titles{position:absolute;inset:0;pointer-events:none}.beat{position:absolute;left:var(--edge);right:var(--edge);bottom:clamp(126px,18svh,210px);max-width:660px;visibility:hidden;opacity:0;transform:translateX(12px);transition:opacity .36s,transform .5s,visibility 0s .4s}.beat.active{opacity:1;visibility:visible;transform:translateX(0);transition-delay:0s}
.eyebrow,.route-label{font-size:.7rem;line-height:1.5;font-weight:640;text-transform:uppercase;letter-spacing:.13em}
.beat .eyebrow{display:flex;align-items:center;gap:.85em;color:#ffe0c3;margin:0}.beat .eyebrow::before{content:'';display:block;background:var(--orange);width:29px;height:1.5px;flex:none}
h1,h2,h3,p{margin:0}.beat h1,.beat h2{font:400 clamp(3.5rem,6.8vw,7.75rem)/.93 var(--serif);letter-spacing:-.065em;margin:.15em 0 .18em;max-width:12.9ch;text-wrap:balance}.beat h1{font-size:clamp(5rem,9.5vw,10.4rem)}em{color:var(--orange);font-weight:400}
.role{font-weight:600;font-size:clamp(.81rem,1.12vw,1rem);color:#ffddb9;margin:.35rem 0}.narration{max-width:49ch;line-height:1.55;font-size:clamp(.94rem,1.17vw,1.15rem);text-shadow:0 2px 14px #101610}.more,.inline-link{pointer-events:auto;display:inline-flex;align-items:center;min-height:40px;color:var(--ivory);font-size:.84rem;text-decoration:underline;text-decoration-color:#ffb16ba6;text-underline-offset:.36em;padding:0;margin:.35rem 1.25rem 0 0}
.transport{bottom:max(24px,env(safe-area-inset-bottom));border-top:1px solid #d5d7bc41;padding-top:13px;gap:clamp(1rem,6vw,6rem)}.route{max-width:700px;flex:1;min-width:0}.route-label{display:flex;gap:.85em;align-items:center;font-size:.62rem;color:#e2ddce;letter-spacing:.14em}.route-label #count{color:var(--orange);white-space:nowrap}.rail{position:relative;isolation:isolate;width:100%}#dots{display:flex;justify-content:space-between;align-items:center}.rail::before{content:'';position:absolute;left:16px;right:16px;top:50%;height:1px;background:#d2d1ba66;z-index:-1}.dot{position:relative;width:32px;height:36px;display:grid;place-items:center;padding:0}.dot::before{content:'';background:#354038;border:1.5px solid #f0ecdbb3;width:8px;height:8px;border-radius:50%;transition:all .2s}.dot[aria-current=step]::before{background:var(--orange);border-color:var(--orange);box-shadow:0 0 0 4px #ffae6526}.dot:hover::before{background:#ffe0b9}.actions{display:flex;align-items:center;gap:11px}.round,.next-icon{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:50%;border:1px solid #e7e5d980;font:400 1.45rem/1 system-ui}.round:disabled{opacity:.28;cursor:default}#advance{display:flex;align-items:center;gap:.9rem;text-align:left;padding:0}.next-label{font-size:.83rem;font-weight:600}.next-icon{width:54px;height:54px;font-size:1.65rem;border-color:#ffd0a3;background:#241f16bb;color:#ffd5b1;transition:background .55s,color .55s,box-shadow .7s}#advance.ready .next-icon,#advance:hover .next-icon{color:#25190f;background:var(--orange);box-shadow:0 0 0 5px #ffad6420}
dialog{max-width:min(640px,calc(100vw - 28px));max-height:86svh;width:640px;overflow-y:auto;overscroll-behavior:contain;margin:auto;padding:clamp(20px,3.4vw,42px);background:#17201a;color:var(--ivory);border:1px solid #857f67;border-radius:8px;box-shadow:0 20px 90px #03090699}dialog::backdrop{background:#07100bd9;backdrop-filter:blur(5px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}.dialog-head .eyebrow,dialog h3{color:var(--orange)}.close{flex:none;width:40px;height:40px;display:grid;place-items:center;border:1px solid #8b917f88;border-radius:50%;font:1.65rem/1 system-ui}.dialog-head h2,dialog>h2,#note-content h2{font:400 clamp(2.2rem,4.6vw,3.4rem)/1.04 var(--serif);letter-spacing:-.045em}#note-content h2{margin:.4rem 0}dialog h3{font:400 1.8rem/1.1 var(--serif);margin:1.7rem 0 .6rem}dialog p{margin:.85rem 0;color:#e4e2d7}dialog article{padding:1rem 0;border-top:1px solid #bfb9a536}dialog h4{font:400 1.45rem/1.15 var(--serif);margin:.18em 0}dialog small{color:#f0c49e}.document{display:inline-block;margin:.55rem .5rem .55rem 0;color:#ffcb9f;font-weight:600}.memo-preview{width:100%;display:block;max-height:250px;object-fit:cover;object-position:50% 0;border-radius:4px}dialog footer{display:flex;gap:1rem;border-top:1px solid #777e6c;padding-top:1rem;margin-top:1rem}.institution{font-weight:600}#stops{margin-top:1.2rem}#stops button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;border-top:1px solid #777e6c70;padding:.64rem 0}#stops .name{display:block}#stops small{font-size:.73rem}#stops [aria-current=step] .name{color:var(--orange)}
.location-film{margin:1.25rem 0}.location-film summary{cursor:pointer;color:var(--orange);padding:.6rem 0}.location-film canvas{display:block;width:100%;border-radius:3px;background:#29312c}.location-film p{font-size:.8rem;margin:.4rem 0}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:650px){.screen{height:76%;background-position:76% 35%}.stage{background:#0b110e}.shade{background:linear-gradient(0deg,#0b110e 0%,#0b110e 21%,#0b110ef7 30%,#0b110e9e 48%,transparent 68%,#0b110e1c 84%,#0b110e8c 100%)}.beat{bottom:117px;max-width:92vw}.beat h1{font-size:clamp(4.1rem,15.5vw,6rem)}.beat h2{font-size:clamp(2.55rem,10.7vw,4.3rem);max-width:15ch;margin:.15em 0}.beat .eyebrow{font-size:.59rem;line-height:1.35;letter-spacing:.11em}.beat .eyebrow::before{width:17px}.role{font-size:.82rem}.narration{font-size:.92rem;line-height:1.42}.transport{bottom:max(12px,env(safe-area-inset-bottom));display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding-top:10px}.route-label{font-size:.55rem;gap:7px;letter-spacing:.08em;min-height:24px;align-items:flex-end}.route-label #location{line-height:1.2}.round,.next-icon{width:42px;height:42px}.next-icon{width:48px;height:48px}.actions{gap:6px}.next-label{display:none}.dot{width:26px;height:38px;min-width:0}.rail::before{left:12px;right:12px}.mast{top:max(10px,env(safe-area-inset-top))}.mast button{font-size:.75rem}.brand{font-size:1.16rem}.more,.inline-link{font-size:.79rem;min-height:34px}.screen .shot>img{object-position:var(--focus)}}
@media(max-height:650px) and (min-width:651px){.beat{bottom:88px}.beat h1{font-size:4.5rem}.beat h2{font-size:3.5rem}.narration{font-size:.92rem;line-height:1.35}.transport{bottom:9px;padding-top:5px}}
@media(max-height:620px) and (max-width:650px){.beat{bottom:87px}.beat h1{font-size:3.4rem}.beat h2{font-size:2.4rem}.narration{font-size:.84rem}.transport{bottom:4px}.role{margin:2px 0}.mast{top:3px}}
@media(max-height:450px){.mast{top:4px}.beat{bottom:61px}.beat h1,.beat h2{font-size:2.4rem;margin:.08em 0}.beat .eyebrow{font-size:.58rem}.beat .role{font-size:.74rem;margin:.1rem 0}.narration{font-size:.78rem;line-height:1.25;max-width:70ch}.transport{bottom:3px;padding-top:3px}.more,.inline-link{min-height:25px;margin-top:0}.rail .dot{height:24px}.round,.next-icon{width:37px;height:37px}}
@media(prefers-reduced-motion:reduce){*,*::after,*::before{transition:none!important;animation:none!important}.shot>img{transform:none!important}}
.location-film video{width:100%;display:block;border-radius:3px}.swipe-hint{display:none}.memo-insert{position:absolute;inset:3% 3% auto auto;width:42%;height:88%;overflow:hidden;opacity:0;pointer-events:none;filter:drop-shadow(-12px 12px 24px #0d140cc9);transform-origin:80% 40%}.memo-insert img{width:100%;transform:perspective(900px) rotateY(-11deg) rotateZ(4deg);transform-origin:80% 50%;filter:sepia(.32) brightness(.84)}
@media(max-width:650px){.swipe-hint{display:block;margin-top:.8rem;color:#ffcc9e;font-size:.75rem}.memo-insert{width:56%;top:11%;right:2%;height:58%}.route-label{font-size:.64rem;text-transform:none}.mast button{font-size:.83rem}.dot{height:44px}}

.shot .cutaway{opacity:0}
.beat:not(.active){visibility:hidden;transition:none}
/* A full-frame landscape with compact lower-third credits at the places where the camera rests. */
.screen{height:100%;background:#252c2b url(assets/atlas/opening.webp) center/cover no-repeat}.screen canvas{display:block;width:100%;height:100%;pointer-events:none}
.shade{background:linear-gradient(0deg,#101818ed 0%,#111b1ac4 13%,#18201d40 32%,transparent 55%,transparent 83%,#111b1aaa 100%)}
.mast{z-index:4}.mast .brand,.mast nav{filter:drop-shadow(0 1px 3px #0a171c)}
.beat{max-width:min(730px,76vw);bottom:clamp(109px,13vh,146px);text-shadow:0 1px 9px #091312}
.beat h1,.beat h2{font-size:clamp(2rem,3.6vw,4rem);max-width:28ch;line-height:1.02;letter-spacing:-.045em;margin:.11em 0}.beat h1{font-size:clamp(3rem,5.1vw,5.3rem)}
.beat .role{font-size:clamp(.84rem,1.15vw,1rem);margin:.18rem 0}.beat .narration{max-width:66ch;font-size:clamp(.92rem,1.13vw,1.06rem);line-height:1.42}
.beat .more,.beat .inline-link{min-height:31px;margin:.15rem 1.2rem 0 0}.transport{bottom:max(15px,env(safe-area-inset-bottom));padding-top:7px}
#flight-caption{position:absolute;left:var(--edge);bottom:clamp(124px,15vh,162px);color:#fff0d6;font:500 clamp(1.6rem,3vw,2.8rem)/1.08 var(--serif);text-shadow:0 2px 10px #0b1715;max-width:65vw;pointer-events:none;opacity:0}
.in-flight #flight-caption{opacity:1}.in-flight .beat.active{visibility:hidden;opacity:0;pointer-events:none}
@media(max-width:650px){.screen{height:71%;top:4%;background-position:center}.stage{background:#14201d}.shade{background:linear-gradient(0deg,#111b18 0%,#111b18 25%,#111b18eb 32%,#111b1877 45%,transparent 62%,transparent 83%,#14201d 99%)}.mast{top:max(6px,env(safe-area-inset-top))}.beat{bottom:100px;max-width:100%}.beat h1{font-size:3.35rem}.beat h2{font-size:clamp(1.85rem,7.6vw,2.6rem)}.beat .narration{font-size:.94rem;line-height:1.39}.beat .role{font-size:.84rem}.beat .eyebrow{font-size:.67rem}.beat .swipe-hint{margin:.35rem 0 0}.transport{bottom:max(9px,env(safe-area-inset-bottom))}#flight-caption{bottom:120px;max-width:85vw}.in-flight .shade{background:linear-gradient(0deg,#111b18 0%,#111b18 24%,#111b18a3 32%,transparent 48%,transparent 83%,#14201d 99%)}}
@media(max-height:510px){.beat{bottom:59px}.beat h1,.beat h2{font-size:1.95rem}.beat .narration{font-size:.8rem}.beat .role{font-size:.78rem}.beat .more,.beat .inline-link{min-height:24px}.transport{bottom:3px;padding:0}.beat .eyebrow{font-size:.6rem}.screen{top:0;height:100%}}

.overlap-map{margin:1.35rem 0 0}.overlap-map canvas{display:block;width:100%;border-radius:3px}.overlap-map figcaption{margin:.55rem 0;color:#e3ddcc;font-size:.88rem}
#flight-caption{max-width:min(37ch,82vw);font-size:clamp(1.4rem,2.4vw,2.4rem)}
@media(min-height:590px){.beat h1{font-size:clamp(4rem,8vw,8rem);line-height:.92}.beat:first-child .role{margin:.52rem 0 .28rem}.beat:first-child .narration{max-width:45ch}}
@media(min-width:651px){.shade{background:linear-gradient(0deg,#08140feb,rgba(11,23,20,.64) 24%,transparent 58%,transparent 82%,#101c1b96),linear-gradient(90deg,#101a163d,transparent 62%)}}

.credits{margin-top:1.3rem;color:#c8cabe;font-size:.85rem}.credits summary{cursor:pointer}.credits a{color:#ffcf9e}
