html {scroll-padding:0; background:#091524}
body {--gold:#ffbd68;--green:#ffbd68;--white:#fff9ec;color:var(--white);background:#0d1d2b;font-family:Inter,"Helvetica Neue",Arial,sans-serif}
a,button {-webkit-tap-highlight-color:transparent}
:focus-visible {outline:3px solid var(--gold);outline-offset:4px}
body:has(dialog[open]) {overflow:hidden}
.world,.shade {position:fixed;inset:0;overflow:hidden;pointer-events:none}
.world {background:#12283c}
#plate {position:absolute;left:0;top:0;height:100%;width:100%;transform-origin:0 0;will-change:transform}
#plate img,#traffic {width:100%;height:100%;display:block;position:absolute;inset:0;object-fit:cover}
.shade {background:linear-gradient(180deg,rgba(7,17,32,.82),transparent 21%,transparent 63%,rgba(5,15,23,.58)),linear-gradient(90deg,rgba(5,13,22,.8) 0%,rgba(7,18,30,.43) 33%,transparent 64%);z-index:1}
.mast {position:fixed;inset:0 0 auto;z-index:5;height:72px;padding:0 clamp(24px,5.2vw,100px);display:flex;align-items:center;justify-content:space-between;background:linear-gradient(180deg,#101b29b8,transparent);color:#fff}
.brand {font-family:Georgia,serif;font-style:italic;font-weight:700;font-size:2.15rem;letter-spacing:-.09em;line-height:1}
.brand span,.hero-type h1 span {color:var(--gold)}
.mast nav {display:flex;align-items:center;gap:20px}
.mast button {border:none;min-height:42px;color:var(--white);background:transparent;padding:0 4px;font-weight:600;font-size:.91rem}
.mast .guide-link {display:flex;align-items:center;gap:13px;border:1px solid #e7e4d66e;background:#10202b91;backdrop-filter:blur(10px);border-radius:32px;padding:0 16px}
.guide-link span {font-size:1rem;font-weight:400}
.read-progress {position:absolute;bottom:0;left:0;right:0;height:1px;background:#d2deef26}
.read-progress i {position:absolute;inset:0;background:var(--gold);transform:scaleX(var(--trip,0));transform-origin:left}
#journey {position:relative;z-index:2}
.scene {position:relative;min-height:100svh;display:flex;align-items:flex-end;padding:96px clamp(24px,7.4vw,150px) clamp(48px,8.2svh,110px);isolation:isolate}
.opening {align-items:stretch;padding-top:max(100px,14svh);padding-bottom:max(32px,6.5svh)}
.opening-layout {width:100%;display:flex;flex-direction:column;justify-content:space-between;gap:40px}
.identity {display:flex;align-items:center;justify-content:space-between}
.hero-type h1 {font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:-.105em;line-height:.85;font-size:clamp(6.6rem,13vw,13rem);margin-left:-.06em;text-shadow:0 5px 50px #0b162630}
.hero-type h1 span {margin-left:-.03em}
.title-line {font-size:clamp(1.55rem,3.2vw,3.4rem);line-height:1.02;letter-spacing:-.055em;font-weight:550;margin:16px 0 0}


.intro-foot {align-self:flex-start;background:linear-gradient(90deg,#0b1725ed,#0b1725c7 73%,#0b172556);backdrop-filter:blur(9px);padding:22px 28px 24px;border-left:2px solid var(--gold);min-width:min(570px,100%)}
.credentials {display:flex;margin:0 0 22px;gap:clamp(16px,3.2vw,60px)}
.credentials div {flex:1}
.credentials dt {font-family:Georgia,serif;font-size:clamp(1.85rem,3.6vw,3.65rem);letter-spacing:-.08em;line-height:.98;white-space:nowrap}
.credentials dt span {color:var(--gold);font-family:Inter,Arial,sans-serif;font-size:.65em;font-weight:400;margin-left:.06em}
.credentials dd {font-size:.91rem;line-height:1.25;margin:7px 0 0;color:#eef0ee}
.gold-button,.case-action,.link-button {display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:45px;font-weight:700;border-radius:2px;font-size:1rem}
.gold-button {padding:10px 20px;background:var(--gold);color:#191a1d}
.gold-button:hover,.find-field button:hover {background:#ffd49a}
.down-mark {font-weight:400;font-size:1.3rem;line-height:1}
.district,.arrival {padding-bottom:clamp(64px,10vh,150px);pointer-events:none}
.case-caption {width:min(38rem,80%);padding:clamp(20px,2.6vw,38px);background:#0a1521e3;backdrop-filter:blur(14px);border-top:1px solid #ffbd68bf;pointer-events:auto;box-shadow:0 15px 45px #02080d26}
.sector {display:flex;align-items:center;gap:12px;color:#ffe0b7;font-size:.93rem;font-weight:650;margin:0 0 17px}
.sector::before {content:"";width:26px;height:2px;background:var(--gold)}
.case-caption h2 {font-family:Georgia,"Times New Roman",serif;font-size:clamp(3.1rem,5.45vw,6.2rem);line-height:.96;letter-spacing:-.068em;font-weight:400}
.case-caption em {font-style:normal;color:var(--gold)}
.lead {margin:18px 0 22px;max-width:48ch;color:#e3e7e9;font-size:clamp(1rem,1.22vw,1.13rem);line-height:1.45}
.case-action {border:0;border-bottom:1px solid #d0a363a6;border-radius:0;color:#fff6e9;background:none;padding:3px 0;gap:22px}
.case-action span {font-size:1.5rem;color:var(--gold);font-weight:400}
.case-action:hover,.mast button:hover,.link-button:hover {color:var(--gold)}
.talk-links {display:flex;align-items:center;gap:20px}
.link-button {border-bottom:1px solid #e0ccae99;border-radius:0}
.route-rail {position:fixed;z-index:4;top:51%;right:clamp(9px,2vw,48px);transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;background:#0b1726ac;backdrop-filter:blur(8px);border:1px solid #b7c4d044;border-radius:30px;padding:8px 0}
.route-rail a {width:34px;height:32px;display:grid;place-items:center;position:relative}
.route-rail a::after {content:"";width:6px;height:6px;border-radius:100%;background:#aeafb1}
.route-rail a[aria-current=true]::after {background:var(--gold);box-shadow:0 0 0 4px #ffbd6838}
.route-rail span {display:none;position:absolute;right:43px;background:#0b1726;color:white;padding:4px 10px;font-size:.87rem;white-space:nowrap}
.route-rail a:hover span,.route-rail a:focus-visible span {display:block}
dialog {--green:#ffbd68;--ink:#162430;--paper:#f6f1e7}
dialog::backdrop {background:#060c14bb;backdrop-filter:blur(4px)}
.dialog-head,.panel-head {background:#0c1a28;color:var(--white)}
.city-panel {background:#101e2c;color:var(--white);width:min(560px,calc(100% - 32px));padding:26px;border:1px solid #adbbca4d;border-radius:7px;max-height:90dvh}
.panel-head {display:flex;align-items:center;justify-content:space-between;gap:10px;background:none;margin-bottom:24px}
.panel-head h2 {font:400 2.45rem/.95 Georgia,serif;letter-spacing:-.065em}
.panel-head button {border:1px solid #8594a4a6;border-radius:50%;width:44px;height:44px;background:none;color:white;font-size:1.6rem}
#finder label {display:block;margin-bottom:8px;font-size:1.12rem}
.find-field {display:flex;border:1px solid #8995a1}
.find-field input {min-width:0;flex:1;border:0;background:#071321;color:white;padding:12px;font:inherit}
.find-field button {background:var(--gold);border:0;font:inherit;font-weight:650;padding:8px 12px;color:#101a25}
#match:empty {display:none}
#match {margin-top:12px;padding:12px 14px;background:#1c2d3a;border-left:2px solid var(--gold)}
#match p {margin:6px 0 8px;font-size:.98rem}
#match a {font-weight:650;text-decoration:underline;text-underline-offset:4px;color:var(--gold)}
.stops {display:grid;margin-top:24px}
.stops a {display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #42505b;padding:14px 0;font-weight:650}
.stops small {font-size:.85rem;font-weight:400;color:#c9d5dc;text-align:right}
.stops a:hover {color:var(--gold)}
@media(min-width:1500px){.opening-layout,.case-caption{margin-left:max(0px,calc((100vw - 1580px)/2))}.opening-layout{max-width:1380px}}
@media(max-width:660px){
 .mast {height:58px;padding-inline:19px}.mast nav {gap:15px}.mast .guide-link {min-height:38px;padding:0 12px}.brand {font-size:1.9rem}
 .shade {background:linear-gradient(180deg,#081522bd 0%,#07142667 19%,transparent 42%,#08142111 58%,#06121ce3 100%)}
 .scene {padding:78px 18px max(32px,calc(26px + env(safe-area-inset-bottom)));min-height:100svh}
 .opening {padding-top:clamp(83px,12svh,106px)}
 .identity {gap:7px;align-items:center}.hero-type h1 {font-size:clamp(5.7rem,24vw,10rem)}
 .title-line {font-size:clamp(1.28rem,5.6vw,2.15rem);margin-top:12px}
 .intro-foot {width:100%;min-width:0;padding:17px 15px 16px;background:#0a1826db}
 .credentials {margin-bottom:17px;gap:10px;justify-content:space-between}.credentials dt {font-size:clamp(1.8rem,7.7vw,2.85rem)}.credentials dd {font-size:.82rem}.intro-foot .gold-button {width:100%;justify-content:space-between;padding-inline:14px}
 .route-rail {display:none}.case-caption {width:100%;padding:20px 18px 17px}.case-caption h2 {font-size:clamp(2.75rem,11.5vw,4.2rem)}.sector{margin-bottom:13px}.lead{margin:14px 0 15px;line-height:1.37}.district,.arrival {padding-bottom:max(27px,env(safe-area-inset-bottom))}
 .city-panel {margin:auto auto max(12px,env(safe-area-inset-bottom));padding:20px;width:calc(100% - 18px);max-height:92dvh}
 .stops a {align-items:flex-start;flex-direction:column;gap:2px;padding:10px 0}.stops small{text-align:left}.panel-head {margin-bottom:18px}
}
@media(max-height:490px) and (orientation:landscape){.mast{height:45px}.scene{padding-block:58px 16px}.opening-layout{flex-direction:row;align-items:flex-end;gap:16px}.identity{align-self:flex-start}.intro-foot{min-width:0}.hero-type h1{font-size:5rem}.case-caption h2{font-size:2.4rem}.case-caption{padding:12px 18px}.lead,.sector{margin-block:6px}.credentials{margin-bottom:8px}.credentials dt{font-size:2rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}#plate{will-change:auto}}

.landmark {position:fixed;z-index:3;transform:translate(-50%,-100%);padding:7px 13px;border:1px solid #f5d4a2;background:#102031df;color:#fff5df;border-radius:30px;font-size:.84rem;font-weight:650;box-shadow:0 4px 16px #1019235e}
.landmark::after {content:"";position:absolute;top:100%;height:18px;left:50%;width:1px;background:var(--gold)}
.landmark[hidden] {display:none}
.scene:focus {outline:none}
#journey {touch-action:pan-y pinch-zoom}
@supports (font-size:1svh){.opening-layout{min-height:0}}

.facade-portrait {position:absolute;left:35.3%;top:40.9%;width:12.5%;height:21.2%;transform-origin:left top;transform:matrix(1,.115,0,1,0,0);overflow:hidden;background:#78919a;border:5px solid #283036;border-top-color:#677173;box-shadow:0 2px 3px 2px #10202b9e;opacity:var(--portrait-opacity,1)}
#plate .facade-portrait img {object-fit:contain;object-position:center bottom;filter:brightness(.91)}
.facade-portrait::after {content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 15px #192e4073;background:linear-gradient(115deg,#a2cbe320,transparent 30%,transparent 58%,#9cc7e121 59%,transparent 87%)}

@media (max-height:490px) and (orientation:landscape){
 .opening {padding:54px clamp(16px,5vw,70px) 12px}
 .opening-layout {flex-direction:column;align-items:flex-start;justify-content:space-between;gap:8px}
 .hero-type h1 {font-size:clamp(3.2rem,13svh,4.5rem)}
 .title-line {font-size:1.35rem;margin-top:4px}
 .intro-foot {display:flex;align-items:center;gap:20px;padding:9px 12px;width:min(570px,100%)}
 .credentials {flex:1;margin:0;gap:12px}
 .credentials dt {font-size:1.6rem}
 .credentials dd {font-size:.78rem;line-height:1.1;margin-top:3px}
 .intro-foot .gold-button {width:auto;min-height:42px;flex:none;padding:7px 12px;font-size:.9rem;gap:10px}
 .route-rail{display:none}
}
@media(max-width:660px){
 .landmark {min-height:44px}
}
