:root{color-scheme:dark;--ink:#0b2325;--cream:#f3f1e9;--mint:#c4e7da;--gold:#ead2a0;--gutter:clamp(24px,5.5vw,100px)}
*{box-sizing:border-box}
html{scroll-behavior:auto;scrollbar-color:#59736c #102426}
body{margin:0;background:var(--ink);color:var(--cream);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}
button,a,input{-webkit-tap-highlight-color:transparent}
button,a{touch-action:manipulation}
button{font:inherit;color:inherit;border:0;cursor:pointer;background:none}
a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--gold);outline-offset:6px}
em{font-family:Georgia,'Times New Roman',serif;font-weight:400}
img{display:block;max-width:100%}
[hidden]{display:none!important}
.eyebrow{margin:0;text-transform:uppercase;font-size:10px;letter-spacing:.2em;line-height:1.7}
.fine-line{display:inline-block;vertical-align:middle;width:34px;height:1px;background:currentColor;opacity:.65}
.primary{min-height:48px;padding:0 22px;background:var(--mint);color:#17332e;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:36px}
.primary:hover{background:#e1f1e8}
.primary span{font-size:20px}

/* The journey is the landing page. Its camera fills the viewport at every size. */
.journey{position:relative;height:1100svh;--stage-height:100svh}
.journey-stage{height:var(--stage-height);min-height:0;position:sticky;top:0;overflow:clip;background:var(--ink);isolation:isolate}
.film-plane,.scene-shade,.map-pins{position:absolute;inset:0}
.film-plane{z-index:-1;background:var(--ink);pointer-events:none}
.film-plane img,.film-plane video{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 70%}
.film-plane video{opacity:0}
.journey-stage.has-frame .film-plane video{opacity:1}
.journey-stage.has-frame #journey-poster{visibility:hidden}
.scene-shade{pointer-events:none;z-index:0;background:linear-gradient(180deg,rgba(3,20,22,.58),transparent 24%,transparent 60%,rgba(3,20,22,.9));opacity:.88}
.journey-header{position:absolute;left:var(--gutter);right:var(--gutter);top:max(26px,env(safe-area-inset-top));display:flex;justify-content:space-between;align-items:center;gap:24px;z-index:7}
.journey-brand{display:block;width:150px;flex-shrink:0}
.journey-brand img{width:100%;filter:brightness(0) invert(1) drop-shadow(0 1px 8px #07232850)}
.journey-header-right{display:flex;align-items:center;gap:34px}
.journey-edition{font-size:9px;text-transform:uppercase;letter-spacing:.18em;color:#f0f2e8be;text-shadow:0 1px 8px #001816}
.back-start{font-size:11px;display:flex;gap:15px;align-items:center;text-shadow:0 1px 8px #001816}
.back-start span{font-size:19px}
.scene-location{position:absolute;right:var(--gutter);top:116px;display:flex;align-items:center;gap:9px;font-size:10px;letter-spacing:.06em;z-index:2;padding:9px 12px;border-radius:24px;background:#082224a3;backdrop-filter:blur(8px);text-shadow:0 1px 8px #00100b}
.location-dot{width:5px;height:5px;background:var(--mint);border-radius:50%;box-shadow:0 0 12px #b3ddc6}

.scene-copy,.scene-copy.compact{position:absolute;left:var(--gutter);top:auto;bottom:174px;z-index:2;pointer-events:none;max-width:min(560px,68vw);text-shadow:0 2px 14px #001816b3}
.scene-copy h1{font-size:clamp(27px,2.6vw,41px);font-weight:400;line-height:1.1;letter-spacing:-.035em;margin:9px 0 0;color:var(--cream)}
.scene-copy h1 em{color:var(--mint)}
.scene-copy h1 br{display:none}
.scene-copy h1 em:before{content:' '}
.scene-copy .eyebrow{font-size:8px;letter-spacing:.16em}
.scene-description,.location-summary{display:none}
.journey-stage[data-scene=locations] .scene-copy{top:clamp(136px,17svh,180px);bottom:auto;max-width:350px}
.journey-stage[data-scene=locations] .scene-copy h1{font-size:clamp(43px,4vw,65px);line-height:1.02;letter-spacing:-.05em;margin-top:15px}
.journey-stage[data-scene=locations] .scene-copy h1 br{display:block}
.journey-stage[data-scene=locations] .scene-copy h1 em:before{content:none}
.journey-stage[data-scene=locations] .location-summary{display:flex;align-items:baseline;gap:7px;margin-top:23px}
.location-summary strong{font-size:25px;font-weight:400;letter-spacing:-.05em}
.location-summary span{font-size:10px;letter-spacing:.03em;color:#e3eee7d9}
.location-summary i{width:1px;height:18px;background:#e0ede655;margin:0 12px;align-self:center}
.journey-stage[data-scene=locations] .scene-shade{background:linear-gradient(90deg,rgba(3,22,25,.44),transparent 35%),linear-gradient(180deg,rgba(3,20,22,.57),transparent 24%,transparent 72%,rgba(3,20,22,.88));opacity:1}
.map-pins{z-index:1;pointer-events:none}
.map-pin{position:absolute;display:flex;align-items:center;gap:10px;white-space:nowrap;transform:translateY(-50%);filter:drop-shadow(0 2px 9px #00100a)}
.map-pin i{width:8px;height:8px;border-radius:50%;background:var(--gold)}
.map-pin>span{font-size:14px}
.map-pin small{display:block;font-size:9px;margin-top:4px}
.end-note{position:absolute;right:var(--gutter);bottom:176px;text-align:right;z-index:2;opacity:0;transform:translateY(10px);transition:opacity .6s,transform .6s;pointer-events:none}
.end-note .fine-line{width:38px;color:var(--mint)}
.end-note p{font-family:Georgia,serif;font-size:19px;font-style:italic}
.journey-stage.complete .end-note{opacity:1;transform:none}

.journey-footer{position:absolute;left:var(--gutter);right:var(--gutter);bottom:max(19px,env(safe-area-inset-bottom));z-index:4}
.playback-row{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:10px}
.journey-hint{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:.03em;color:#e9eee4d9}
.scroll-line{height:19px;width:10px;position:relative;border:1px solid #d0e9dc70;border-radius:8px}
.scroll-line:after{content:'';height:4px;width:2px;position:absolute;left:3px;top:4px;background:var(--mint)}
.player-controls{display:flex;align-items:center;gap:12px}
.round-control{font-size:23px;width:34px;height:34px;border:1px solid #dee9df55;border-radius:50%;line-height:1}
.round-control:hover,.play-button:hover{background:#d4e6df22}
.play-button{border:1px solid #d3e8dc77;border-radius:30px;min-width:134px;display:flex;gap:12px;align-items:center;justify-content:center;font-size:11px;padding:13px 18px;background:#0a25273d;backdrop-filter:blur(8px)}
#play-icon{font-size:11px;width:10px;display:inline-block}
.time-indicator{font-size:10px;min-width:37px;text-align:right;font-variant-numeric:tabular-nums;letter-spacing:.04em}
.media-status{color:var(--gold);font-size:9px;margin-left:12px}
.media-status:empty{display:none}
#scrubber{display:block;width:100%;height:18px;appearance:none;background:transparent;cursor:ew-resize;margin:0;padding:0}
#scrubber::-webkit-slider-runnable-track{height:2px;background:linear-gradient(to right,var(--mint) var(--progress,0%),#d3e4da55 var(--progress,0%))}
#scrubber::-webkit-slider-thumb{appearance:none;width:9px;height:9px;background:var(--cream);border:1px solid var(--cream);border-radius:50%;margin-top:-3.5px;box-shadow:0 0 0 5px #d7f0df0b}
#scrubber::-moz-range-track{height:2px;background:#d3e4da55}
#scrubber::-moz-range-progress{height:2px;background:var(--mint)}
#scrubber::-moz-range-thumb{width:8px;height:8px;background:var(--cream);border:0;border-radius:50%}
.chapter-nav{display:grid;grid-template-columns:repeat(9,1fr);margin-top:10px;gap:14px}
.chapter-nav button{text-align:left;padding:0 0 5px;color:#e7eae09e;position:relative;white-space:nowrap;font-size:10px}
.chapter-nav button small{display:inline-block;font-size:8px;opacity:.7;margin-right:7px}
.chapter-nav button[aria-current=step]{color:var(--cream)}
.chapter-nav button:hover{color:var(--mint)}
.journey-fineprint{display:flex;align-items:center;justify-content:space-between;height:16px;margin-top:12px;font-size:8px;letter-spacing:.03em;color:#d2e1d7a6}
.prototype-label{text-transform:uppercase;letter-spacing:.12em}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.noscript{position:fixed;left:24px;bottom:24px;z-index:10;padding:18px;background:var(--ink);color:var(--cream)}
.noscript a{text-decoration:underline}
button:disabled{cursor:default}
button:disabled:hover{background:inherit}
.chapter-nav button:disabled,.player-controls button:disabled{opacity:.4}
#scrubber:disabled{opacity:.35;cursor:default}

/* Loading stays within the map, with the complete camera view visible behind it. */
.loading-panel{position:absolute;left:var(--gutter);bottom:176px;z-index:6;width:min(390px,calc(100% - var(--gutter)*2));padding:26px 28px;background:#082527df;border:1px solid #d7e6db24;backdrop-filter:blur(14px)}
.loading-content{width:100%}
.loading-content .eyebrow{font-size:8px;color:#d7e5dbb0}
.loading-content h2{font-size:40px;letter-spacing:-.045em;line-height:1.04;font-weight:400;margin:18px 0}
.loading-content h2 em{color:var(--mint)}
#loading-message{font-size:11px;line-height:1.65;max-width:300px;color:#e0e8dfb8;margin:0 0 22px}
.download-progress{height:2px;width:100%;background:#d7e6db26;overflow:hidden}
.download-progress span{display:block;width:0;height:100%;background:var(--mint);transition:width .18s linear}
.download-progress.indeterminate span{width:25%!important;animation:downloadDrift 1.4s ease-in-out infinite}
.download-detail{font-size:9px;line-height:1.5;color:#dae8ddb8;margin:12px 0 0;font-variant-numeric:tabular-nums;min-height:14px}
.loading-content .primary{margin-top:21px;width:100%}
.journey-stage[data-state=loading] .scene-copy,.journey-stage[data-state=error] .scene-copy{opacity:0;visibility:hidden}
.journey-stage[data-state=loading] .journey-footer,.journey-stage[data-state=error] .journey-footer{opacity:.4;pointer-events:none}
@keyframes downloadDrift{from{transform:translateX(-100%)}to{transform:translateX(500%)}}

@media(max-width:1100px){
  .chapter-nav{gap:9px}.chapter-nav button small{display:none}
  .journey-brand{width:137px}.journey-edition{font-size:8px}
  .journey-stage[data-scene=locations] .scene-copy{max-width:300px}
}
@media(max-aspect-ratio:4/5){
  :root{--gutter:24px}
  .film-plane img,.film-plane video{object-position:50% 50%}
  .journey-header{top:max(22px,env(safe-area-inset-top))}
  .journey-brand{width:128px}.journey-edition{display:none}
  .back-start{font-size:10px;gap:9px}
  .scene-location{top:96px;font-size:8px;padding:7px 10px}
  .scene-copy,.scene-copy.compact{top:139px;bottom:auto;max-width:calc(100% - var(--gutter)*2)}
  .scene-copy h1{font-size:30px;margin-top:8px}
  .scene-copy .eyebrow{font-size:7px}
  .journey-stage[data-scene=locations] .scene-copy{top:139px;max-width:calc(100% - var(--gutter)*2)}
  .journey-stage[data-scene=locations] .scene-copy h1{font-size:34px;line-height:1.1;margin-top:9px;letter-spacing:-.04em}
  .journey-stage[data-scene=locations] .scene-copy h1 br{display:none}
  .journey-stage[data-scene=locations] .scene-copy h1 em:before{content:' '}
  .journey-stage[data-scene=locations] .location-summary{margin-top:13px;gap:6px}
  .location-summary strong{font-size:19px}.location-summary span{font-size:8px}
  .location-summary i{height:14px;margin:0 9px}
  .journey-stage[data-scene=locations] .scene-shade{background:linear-gradient(180deg,rgba(3,20,22,.73),rgba(3,20,22,.26) 24%,transparent 36%,transparent 70%,rgba(3,20,22,.94))}
  .end-note{bottom:164px}.end-note p{font-size:15px}.end-note .fine-line{display:none}
  .loading-panel{bottom:166px;padding:22px 24px}
  .loading-content h2{font-size:36px}
}
@media(max-width:760px){
  :root{--gutter:22px}
  .journey-header-right{gap:0}.journey-edition{display:none}
  .journey-footer{bottom:max(15px,env(safe-area-inset-bottom))}
  .playback-row{margin-bottom:6px;gap:10px}
  .journey-hint{font-size:9px;gap:8px}
  .player-controls{gap:8px}
  .play-button{padding:11px 13px;min-width:115px;font-size:10px;gap:9px}
  .round-control{font-size:21px;width:30px;height:30px}
  .time-indicator{display:none}
  .chapter-nav{display:flex;overflow-x:auto;gap:20px;scrollbar-width:none;margin-top:7px;padding-bottom:4px}
  .chapter-nav::-webkit-scrollbar{display:none}
  .chapter-nav button{font-size:10px;min-height:29px;padding:0}
  .journey-fineprint{margin-top:6px;font-size:6px;gap:12px}
  .prototype-label{font-size:6px;letter-spacing:.07em}
  .media-status{position:absolute;left:0;bottom:131px;font-size:8px;margin:0}
}
@media(max-height:600px) and (min-aspect-ratio:4/5){
  :root{--gutter:32px}
  .journey-header{top:15px}.journey-brand{width:96px}
  .journey-edition{font-size:7px}.back-start{font-size:9px}
  .scene-location{top:67px;font-size:8px;padding:6px 9px}
  .scene-copy,.scene-copy.compact{top:auto;bottom:114px;max-width:70%}
  .scene-copy h1{font-size:25px;margin-top:6px}.scene-copy .eyebrow{font-size:6px}
  .journey-stage[data-scene=locations] .scene-copy{top:86px;bottom:auto;max-width:270px}
  .journey-stage[data-scene=locations] .scene-copy h1{font-size:30px;line-height:1.05;margin-top:7px}
  .journey-stage[data-scene=locations] .scene-copy h1 br{display:none}
  .journey-stage[data-scene=locations] .scene-copy h1 em:before{content:' '}
  .journey-stage[data-scene=locations] .location-summary{margin-top:10px}
  .location-summary strong{font-size:18px}.location-summary span{font-size:8px}
  .location-summary i{height:13px}
  .journey-footer{bottom:8px}
  .playback-row{margin-bottom:2px}.journey-hint{font-size:8px}
  .play-button{padding:8px 12px;font-size:9px;min-width:112px}
  .round-control{width:28px;height:28px;font-size:20px}
  .chapter-nav{margin-top:4px;gap:11px;padding-bottom:0}
  .chapter-nav button{font-size:8px;min-height:18px;padding-bottom:2px}
  .chapter-nav button small{display:none}
  .journey-fineprint{margin-top:3px;height:12px;font-size:6px}
  .end-note{bottom:112px}.end-note p{font-size:15px;margin:8px 0}.end-note .fine-line{display:none}
  .loading-panel{bottom:108px;padding:17px 20px;width:340px}
  .loading-content h2{font-size:29px;margin:12px 0}
  #loading-message{font-size:10px;line-height:1.5;margin-bottom:13px}
  .download-detail{font-size:8px;margin-top:8px}
  .loading-content .primary{min-height:36px;margin-top:12px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
