/* The art is the scene. Controls are quiet, secondary, and physically attached. */
.office-page,body:has(#tour-stage){background:#0b0b0a}
.office-main,.tour-main{max-width:1440px}
.office-intro,.tour-intro{padding:clamp(16px,3vw,38px) 0 16px}.office-intro h1,.tour-intro h1{font-size:clamp(38px,6vw,78px);margin:5px 0 8px}.office-intro p,.tour-intro p{font-size:clamp(13px,1.6vw,18px)}
.office-intro .tour-eyebrow,.tour-intro .tour-eyebrow,.office-pass,.tour-stamp,.office-breadcrumb{display:none}.ps-world-jump{font-size:12px!important;min-height:36px!important;margin-top:4px!important;color:#ded4b7!important}
.office-layout{display:block}.office-explorer,.tour-explorer{border:0;background:transparent;box-shadow:none}.office-stage,.tour-stage{box-shadow:0 30px 60px -30px #000;border-radius:2px}
.office-camera-bar,.tour-toolbar{background:transparent;padding:8px 0;color:#a5a195;border:0;letter-spacing:.035em}.office-camera-bar>span{color:#b4b09f}.live-dot{background:#e8c46c;box-shadow:none;width:6px;height:6px}
.office-stage-label,.tour-stage-caption{letter-spacing:.025em;opacity:.8}.office-corners,.tour-corner{display:none}.office-stage-shade,.tour-overlay{background:linear-gradient(0deg,#0007,transparent 18%)}
.office-stage,.tour-stage{max-height:min(68vh,740px);margin-inline:auto;width:100%;height:auto;aspect-ratio:16/9}
@media(min-width:1000px){.office-stage,.tour-stage{width:min(100%,calc(min(68vh,740px)*16/9))}}
.office-stage.is-changing>img{opacity:1;transform:scale(1.025) translateX(-1%);transition:transform .27s cubic-bezier(.4,0,.2,1)}
.office-stage.is-changing .hq-atmosphere-frame{background:transparent}
.office-stage .hq-atmosphere-frame::before,.office-stage .hq-atmosphere-frame::after{background:linear-gradient(90deg,#17130f,#2b2118 23%,#17130f);border-color:#6d5437;box-shadow:inset 0 0 0 2px #070707,0 5px 16px #0008}
.office-stage:not(.is-changing):not(.is-unavailable) .hq-atmosphere-frame.is-acquiring::before{animation:hq-door-away .58s cubic-bezier(.18,.74,.2,1) both}
.office-stage:not(.is-changing):not(.is-unavailable) .hq-atmosphere-frame.is-acquiring::after{animation:hq-door-away-bottom .58s cubic-bezier(.18,.74,.2,1) both}
@keyframes hq-door-away{0%{opacity:1;transform:translateY(0)}100%{opacity:1;transform:translateY(-105%)}}@keyframes hq-door-away-bottom{0%{opacity:1;transform:translateY(0)}100%{opacity:1;transform:translateY(105%)}}
.office-controls,.hq-atmosphere-control,.hq-object-shelf{padding:6px 0;background:transparent;border:0}.hq-atmosphere-control{border-bottom:1px solid #ffffff19}.hq-atmosphere-copy b{display:none}.hq-atmosphere-copy small{font-size:12px;color:#b6b0a3}.hq-atmosphere-control button,.office-controls .tour-secondary,.hq-object-tools button,.hq-object-tools a,.office-pov button{border:0;background:none;box-shadow:none;color:#cfcac0;padding:7px 8px;min-height:44px;font-size:12px;font-weight:600}
.office-map-jump{display:inline-flex!important}.office-pov{border:0;background:none;padding:0;gap:12px}.office-pov button[aria-pressed=true],.hq-object-tools button[aria-pressed=true],.hq-atmosphere-control button[aria-pressed=true]{color:#f7cb59;background:transparent;border:0;box-shadow:none;text-decoration:underline;text-underline-offset:5px}
.office-dossier{padding:18px 0 14px;min-height:0;max-width:960px}.office-dossier h2{font-size:clamp(28px,4vw,50px);margin:5px 0 8px}.office-dossier .tour-eyebrow{display:none}.office-dossier p{font-size:16px;margin:0 0 10px}.office-links a,.hq-exit-line a,.tour-footer .tour-secondary{background:none;border:0;box-shadow:none;color:#f4cf64;padding:5px 0;min-height:44px;text-align:left;text-decoration:underline;text-underline-offset:4px}.office-links{gap:20px}
.hq-object-toolbar{border-top:1px solid #ffffff25;padding:7px 0}.hq-object-toolbar .tour-eyebrow{display:none}.hq-object-toolbar b{color:#ddd8cb;font-family:inherit;font-size:12px;letter-spacing:0;text-transform:none}.hq-object-list{display:flex;flex-wrap:wrap;gap:2px 18px;margin:2px 0 5px}.hq-object-row{background:transparent;border:0;border-bottom:1px solid #ffffff20;min-height:44px;flex:1 1 210px;padding:8px 0;box-shadow:none}.hq-object-index{background:none;border:0;min-width:24px;font-size:12px;color:#d5b969}.hq-object-label small{display:none}.hq-object-tag{color:#b4b0a6;font:600 11px Arial;text-transform:none}.hq-object-row.is-targeted{border:0;border-bottom:1px solid #d5b969;background:none;box-shadow:none}.hq-exhibit-hint{background:none;border:0;padding:6px 0;margin:0;font-size:13px;color:#e9d69a}
.hq-object-pin,.tour-pin,.office-pin{box-shadow:0 4px 14px #0009;border:1px solid #fff9;background:#11110dc4}.hq-object-pin span{border:0;box-shadow:none;color:#fff}.hq-object-pin.is-filed{background:#151713df;border-color:#fff6}.hq-object-pin.is-filed span{color:#d5d8cb}.tour-pin[aria-pressed=true]{background:#f6d06c;box-shadow:0 4px 12px #0009;border-color:#f8d784}.tour-pin span,.office-pin span{background:none;border:0;color:inherit;min-width:14px;width:auto}
.hq-dispatch-panel,.hq-desk-panel,.hq-records-panel,.hq-production-panel,.hq-visitor-panel{background:transparent!important;border:0!important;border-top:1px solid #ffffff20!important;padding:12px 0!important}.hq-dispatch-terminal,.hq-desk-panel-inner{background:none!important;border:0!important;padding:0!important;box-shadow:none!important}.hq-dispatch-terminal h3,.hq-desk-panel-inner h3{font-size:18px!important;margin:2px 0!important}.hq-dispatch-terminal p,.hq-desk-panel-inner p{font-size:13px!important;margin:2px 0 8px!important;color:#b7b3a9!important}.hq-dispatch-terminal .dispatch-kicker,.hq-desk-panel-inner .hq-desk-kicker{display:none!important}.hq-dispatch-open{background:#eec34d!important;color:#16130b!important;border:0!important;min-height:44px!important;box-shadow:0 3px 0 #8f6b23!important;clip-path:polygon(0 0,100% 0,100% 84%,95% 100%,0 100%)}
.hq-exit-line,.tour-footer{padding:22px 0!important;border:0!important;border-top:1px solid #ffffff20!important;align-items:center;gap:10px}.hq-exit-line h2,.tour-footer h2{font-size:22px;margin:0}.hq-exit-line p,.tour-footer p,.hq-exit-line .tour-eyebrow,.tour-footer .tour-eyebrow{display:none}.tour-footer .tour-actions .tour-cta{font-size:13px}.hq-exit-line .tour-actions{gap:10px 20px}.hq-exit-line .tour-actions>a{flex:none}.tour-legal{font-family:Arial;font-size:10px;letter-spacing:0}
.tour-legend{background:none;border:0;padding:9px 0;font:600 11px Arial;color:#a9a69b}.tour-stops{background:none;display:flex;gap:20px;border-bottom:1px solid #ffffff22}.tour-stops button{background:none!important;border:0;border-bottom:2px solid transparent;padding:8px 0;min-height:44px;flex:1;display:flex;flex-direction:row;align-items:center;gap:8px}.tour-stops button[aria-pressed=true]{border-bottom-color:#eac356!important}.tour-stop-number{font:600 12px Arial;color:#b0a89a}.tour-stops small,.tour-stops i{display:none}.tour-details{padding:20px 0 6px}.tour-detail-image{border:0;background:#111}.tour-detail-copy .tour-eyebrow,.tour-detail-image span{display:none}.tour-location{animation:hq-location-reveal .55s cubic-bezier(.2,.78,.2,1) both}.tour-detail-copy h2{font-size:clamp(29px,4vw,49px)}.tour-detail-copy p{margin-bottom:12px}
@keyframes hq-location-reveal{from{clip-path:inset(0 100% 0 0);transform:translateX(-12px)}to{clip-path:inset(0);transform:none}}
/* On-demand practical props: no long archive / map stack under the room. */
.hq-prop-dialog{padding:0;width:min(850px,calc(100vw - 30px));max-width:100%;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);margin:auto;border:0;background:#14130f;color:#f0ebe0;box-shadow:0 25px 100px #000e;overflow:auto}
.hq-prop-dialog::backdrop{background:#090805d9;backdrop-filter:blur(4px)}.hq-prop-dialog[open]{animation:hq-prop-enter .38s cubic-bezier(.22,.8,.2,1) both}
@keyframes hq-prop-enter{from{transform:translateY(85px) rotate(-2deg) scale(.97);opacity:.4}to{transform:none;opacity:1}}
.hq-prop-heading{padding:17px 24px;background:#12110e;position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid #ffffff20}
.hq-prop-heading span{font:700 10px/1.2 monospace;letter-spacing:.1em;color:#b9ae92}.hq-prop-heading h2{font:900 clamp(24px,3vw,33px)/1 Arial;margin:5px 0 0;letter-spacing:-.04em;color:#f4efe6}.hq-prop-heading>button{appearance:none;background:none;border:0;color:#f4efe6;font-size:30px;width:44px;height:44px}
.hq-map-dialog{width:min(540px,calc(100vw - 30px))}.hq-map-dialog .office-map-panel{box-shadow:none;border:0;background:#ded1b1;padding:16px 24px;color:#251e12}.hq-map-dialog .office-map-head{display:none}.hq-map-dialog .office-map-sub,.hq-map-dialog .office-map-note,.hq-map-dialog .office-map-key{color:#4b4030;font-family:Arial}.hq-map-dialog .office-plan{border:2px solid #605745;gap:3px;background:#6a6454}.hq-map-dialog .map-room{border-color:#8a816b;color:#2c271d;background:#eae1c5}.hq-map-dialog .map-room small,.hq-map-dialog .map-room>span{color:#524937}.hq-map-dialog .map-room[aria-pressed=true]{background:#f0c557;color:#2e2514;box-shadow:none;border-color:#68562c}.hq-map-dialog .map-room:hover:not([aria-pressed=true]){background:#f7e9bf}.hq-map-dialog .map-hall{background:#c7b78e}.hq-map-dialog .office-map-label{background:#625846;color:#fff6dd}
.hq-file-dialog{background:#b5a17c;border:0;box-shadow:0 25px 80px #000c,0 -4px 0 #d2b98b}.hq-file-pagenav{display:flex;align-items:end;gap:4px;background:#5b4a30;padding:12px 15px 0;position:relative}.hq-file-pagenav button{background:#ab956e;border:0;color:#231b11;min-height:44px;padding:10px 15px;border-radius:6px 6px 0 0;font-weight:800;clip-path:polygon(0 0,95% 0,100% 12%,100% 100%,0 100%)}.hq-file-pagenav button[aria-pressed=true]{background:#e7dcc1;box-shadow:none;transform:translateY(1px)}.hq-file-pagenav span{font:700 11px monospace;margin-left:4px;color:#564a31}
.hq-folder-sheet{margin:0 9px 12px;padding:clamp(14px,4vw,26px);background:#e7dcc1;color:#28231b;box-shadow:3px 5px 0 #887552,6px 8px 0 #68563c;min-width:0}.hq-page-turn{animation:hq-page-turn .32s cubic-bezier(.1,.65,.3,1) both}@keyframes hq-page-turn{from{opacity:.4;transform:translateX(22px) rotateY(-4deg)}to{opacity:1;transform:none}}
.hq-folder-sheet .tour-eyebrow,.hq-case-head .tour-eyebrow{font:700 10px Arial;letter-spacing:.08em;color:#655439}
.hq-file-dialog .hq-archive,.hq-file-dialog .hq-investigations{border:0;box-shadow:none;padding:0;margin:0;background:transparent;color:#28231b}.hq-archive-head,.hq-case-head{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}.hq-archive-head h2,.hq-case-head h3{font-size:clamp(25px,4vw,38px);color:#262117;margin:3px 0}.hq-archive-head h2 em{color:#262117}.hq-archive-head p,.hq-case-head p{color:#584d3b;font-size:13px;margin:0;line-height:1.45}.hq-archive-meter{display:block;width:auto;min-width:0;text-align:right}.hq-archive-meter strong{color:#413522;font:800 20px Arial;white-space:nowrap}.hq-archive-meter small{display:none}.hq-archive-meter progress{height:2px;width:76px;display:block;margin-top:5px;accent-color:#766145;background:#c5b696}.hq-archive-meter progress::-webkit-progress-bar{background:#c5b696}.hq-archive-meter progress::-webkit-progress-value{background:#68573a}.hq-archive-meter progress::-moz-progress-bar{background:#68573a}
.hq-archive-grid{display:block;border-top:2px solid #62513b}.hq-archive-item,.hq-archive-item.is-filed{width:100%;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:41px;padding:7px 0;border:0;border-bottom:1px solid #8c7e655e;background:none;box-shadow:none;color:#2f281e;text-align:left}.hq-archive-item:not(.is-filed){color:#766a56}.hq-archive-item .hq-file-no,.hq-archive-item.is-filed .hq-file-no{font:700 10px monospace;color:#6e5e43;letter-spacing:0}.hq-archive-item b{font-size:13px;font-weight:700}.hq-archive-item small,.hq-archive-item.is-filed small{font:400 11px Arial;color:#645741;letter-spacing:0}.hq-archive-item.is-filed:hover{background:#dacfad;border-bottom-color:#615339}.hq-archive-reward{background:none;border:0;border-top:2px solid #65543a;padding:15px 0;box-shadow:none}.hq-archive-reward h3,.hq-archive-reward p{color:#32291b}.hq-cert-stamp{color:#655238;border-color:#655238}
.hq-case-count{color:#665337;font:700 11px Arial;padding:0;border:0;white-space:nowrap}.hq-case-layout{display:block}.hq-case-tabs{display:flex;gap:2px;align-items:end;overflow-x:auto;scrollbar-width:thin;margin:0 -1px;scroll-snap-type:x proximity}.hq-case-tab{scroll-snap-align:start;flex:1 0 95px;display:block;color:#40331f;background:#bfad83;border:0;border-radius:4px 4px 0 0;min-height:48px;padding:7px 10px;position:relative}.hq-case-tab strong{display:block;font:800 11px/1.15 Arial;letter-spacing:0}.hq-case-tab small,.hq-case-tab>span{display:inline;font:700 9px/1.1 monospace;color:#5b4b31}.hq-case-tab>span{position:absolute;right:6px;top:6px}.hq-case-tab[aria-pressed=true]{background:#f4e9cb;color:#282218;box-shadow:none;border:0}.hq-case-tab[aria-pressed=true]>span{color:#473c27}.hq-case-sheet{background:#f4e9cb;border:0;border-top:1px solid #9c8964;padding:clamp(13px,3vw,24px);box-shadow:0 3px 0 #aa9872}.hq-case-sheet h4{font-size:clamp(24px,4vw,35px);color:#262017;margin:3px 0 8px}.hq-case-sheet p{color:#473d2b;font:400 14px/1.5 Arial}.hq-case-progress{margin:10px 0;gap:7px;color:#665235;font:700 11px Arial;letter-spacing:0}.hq-case-progress progress{height:2px;accent-color:#69543a}.hq-case-turn{animation:hq-page-turn .28s ease-out}
.hq-case-evidence{display:block;border-top:1px solid #9e8c6a}.hq-case-file,.hq-case-file.is-filed{display:flex;align-items:center;gap:11px;border:0;border-bottom:1px solid #ad9b786b;background:none;padding:8px 0;color:#2e2519;min-height:55px;text-decoration:none}.hq-case-file img{width:72px;height:43px;min-height:0;object-fit:cover;transform:rotate(-2deg);filter:saturate(.7);border:2px solid #fff4d7;box-shadow:1px 2px 3px #76624450}.hq-case-copy{flex:1;display:grid;grid-template-columns:1fr auto;gap:2px 6px;padding:0;align-items:center}.hq-case-copy small,.hq-case-copy>span,.hq-case-file.is-filed .hq-case-copy>span{color:#6b5c45;font:600 10px Arial;letter-spacing:0}.hq-case-copy small{grid-column:1/-1}.hq-case-copy strong{font-size:14px}.hq-case-result,.hq-case-result[data-complete=true]{background:none;border:0;border-top:2px solid #776247;padding:12px 0;margin:14px 0 0;box-shadow:none}.hq-case-result b,.hq-case-result[data-complete=true] b{color:#735b35;font:800 10px Arial;letter-spacing:.06em}.hq-case-result[data-complete=true] b{display:inline-block;transform:rotate(-2.5deg);padding:5px 8px;border:2px solid #755c36;margin:0 0 7px}.hq-case-result p,.hq-case-result[data-complete=true] p{color:#3c3020;font-size:14px}.hq-case-links{display:flex;gap:8px 18px;margin-top:8px}.hq-case-links a{border:0;padding:4px 0;min-height:44px;color:#443018;font:800 13px Arial;text-decoration:underline;text-underline-offset:3px}.hq-case-foot{color:#6b5c44;font-size:11px;line-height:1.4}.hq-case-inspector-link{border:0;background:none;text-decoration:underline;text-underline-offset:4px;padding:5px 0}
.hq-workshop-dialog .hq-grounds-exhibit{border:0;background:#171612;padding:16px}.hq-workshop-dialog .hq-grounds-exhibit header{margin-bottom:12px}.hq-workshop-dialog .hq-grounds-badge{border:0;padding:0;font:600 11px Arial;color:#b5aa91}.hq-workshop-dialog .hq-yard-catalog{display:flex;overflow:auto;gap:10px}.hq-workshop-dialog .hq-yard-catalog button{flex:1 0 75px;border:0;border-bottom:2px solid transparent;background:none;color:#c9c3b7;padding:4px 0;box-shadow:none}.hq-workshop-dialog .hq-yard-catalog button[aria-pressed=true]{background:none;border-bottom-color:#eec557;color:#f6e5b2}.hq-workshop-dialog .hq-yard-catalog img{max-height:60px}.hq-workshop-dialog .hq-grounds-sheet{border:0;box-shadow:3px 3px 0 #817454}.hq-workshop-dialog .hq-garage-list{display:flex;flex-wrap:wrap;gap:4px 12px}.hq-workshop-dialog .hq-garage-list button{background:none;border:0;flex:1 1 140px;text-align:left;padding:5px 0;border-bottom:1px solid #ffffff24}.hq-workshop-dialog .hq-garage-list button[aria-pressed=true]{border-bottom-color:#ecca6d;color:#ecca6d}.hq-workshop-dialog .hq-yard-art,.hq-workshop-dialog .hq-garage-rig{border:0}
@media(max-width:720px){.office-main,.tour-main{padding:0 14px}.office-intro,.tour-intro{padding:17px 0 10px}.office-intro h1,.tour-intro h1{font-size:42px}.office-stage,.tour-stage{max-height:none;width:calc(100% + 28px);margin-inline:-14px;border-radius:0}.office-controls{gap:6px;justify-content:space-between}.office-controls .office-exit{margin-left:0}.office-dossier p{font-size:14px}.office-dossier h2{font-size:30px}.hq-object-toolbar>div:first-child{width:auto}.hq-object-tools{width:auto;gap:3px}.hq-object-tools button,.hq-object-tools a{font-size:11px;white-space:nowrap;padding:5px 4px;flex:none}.hq-object-list{display:block}.hq-object-row{width:100%}.hq-object-toolbar{gap:4px}.hq-archive-head,.hq-case-head{align-items:flex-start}.hq-archive-meter strong{font-size:18px}.hq-archive-item,.hq-archive-item.is-filed{grid-template-columns:36px minmax(0,1fr);min-height:42px;gap:2px 5px;padding:7px 0}.hq-archive-item small,.hq-archive-item.is-filed small{grid-column:2;font-size:10px}.hq-case-head{flex-direction:column;gap:5px}.hq-case-count{font-size:11px}.hq-case-tab{flex:0 0 92px;min-height:50px;text-align:left}.hq-case-tab:last-child{grid-column:auto}.hq-case-copy{display:block}.hq-case-copy>*{display:block}.hq-case-copy strong{margin:1px 0}.hq-case-links{display:flex}.hq-prop-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.hq-prop-heading{padding:12px 15px}.hq-folder-sheet{margin:0 6px 10px;padding:15px 12px}.hq-case-sheet{padding:12px 10px}.hq-file-pagenav{padding:8px 10px 0}.hq-file-pagenav button{font-size:13px;padding:8px 12px}.tour-stops{gap:14px}.tour-stops button{min-height:44px;padding:6px 0}.tour-location{gap:10px}.hq-exit-line,.tour-footer{align-items:start}.tour-actions>a{flex:none}.tour-detail-image{aspect-ratio:2/1}.hq-workshop-dialog .hq-grounds-exhibit header p{font-size:13px}.hq-workshop-dialog .hq-yard-art{min-height:150px}.hq-workshop-dialog .hq-yard-art img{height:160px}}
@media(prefers-reduced-motion:reduce){.hq-prop-dialog[open],.hq-page-turn,.hq-case-turn,.tour-location,.hq-atmosphere-frame::before,.hq-atmosphere-frame::after{animation:none!important;transform:none!important}.office-stage:not(.is-changing) .hq-atmosphere-frame.is-acquiring::before,.office-stage:not(.is-changing) .hq-atmosphere-frame.is-acquiring::after{opacity:0}}
/* Spatial door movement is different from switching a camera within a room. */
.office-stage[data-transition="left"] .hq-atmosphere-frame::before,.office-stage[data-transition="right"] .hq-atmosphere-frame::before{
 top:0;left:0;right:0;height:100%;border:0;border-right:5px solid #2b251b;transform:translateX(-105%);opacity:0;
 background:radial-gradient(circle at 92% 57%,#b8a272 0 1.3%,#695735 1.5% 2%,transparent 2.2%),linear-gradient(90deg,#0d1717 0%,#223131 4%,#172322 10%,#283e3c 13%,#1a2a29 14%,#273a39 88%,#172221 89%,#20302e 98%,#131916);
 box-shadow:inset 0 0 0 12px #1e2d2b,inset 0 0 0 15px #6b66512b,10px 0 20px #0009
}
.office-stage[data-transition="right"] .hq-atmosphere-frame::before{transform:translateX(105%);background:radial-gradient(circle at 8% 57%,#b8a272 0 1.3%,#695735 1.5% 2%,transparent 2.2%),linear-gradient(90deg,#101c1b,#2f4643 8%,#213634 12%,#243a37 88%,#1c2b28 89%,#121c1b)}
.office-stage:is([data-transition="left"],[data-transition="right"]) .hq-atmosphere-frame::after{display:none}
.office-stage.is-changing:is([data-transition="left"],[data-transition="right"]) .hq-atmosphere-frame::before{opacity:1;transform:none}
.office-stage[data-transition="left"]:not(.is-changing):not(.is-unavailable) .hq-atmosphere-frame.is-acquiring::before{animation:hq-door-left .62s cubic-bezier(.18,.72,.14,1) both}
.office-stage[data-transition="right"]:not(.is-changing):not(.is-unavailable) .hq-atmosphere-frame.is-acquiring::before{animation:hq-door-right .62s cubic-bezier(.18,.72,.14,1) both}
@keyframes hq-door-left{0%{opacity:1;transform:translateX(0)}78%{opacity:1;transform:translateX(-102%)}88%{opacity:1;transform:translateX(-99%)}100%{opacity:0;transform:translateX(-105%)}}
@keyframes hq-door-right{0%{opacity:1;transform:translateX(0)}78%{opacity:1;transform:translateX(102%)}88%{opacity:1;transform:translateX(99%)}100%{opacity:0;transform:translateX(105%)}}
.hq-workshop-dialog .hq-yard-art img.hq-freight-arrival{animation:hq-freight-arrives .56s cubic-bezier(.13,.74,.26,1) both}
@keyframes hq-freight-arrives{0%{transform:translate(15%,-18%) rotate(8deg)}55%{transform:translate(0,4%) rotate(-3deg)}76%{transform:translate(0,-1%) rotate(1deg)}100%{transform:none}}
@media(prefers-reduced-motion:reduce){.hq-workshop-dialog .hq-yard-art img.hq-freight-arrival{animation:none}}
/* Maintain the precise 16:9 plate at every viewport so the inspection coordinates stay registered. */
.office-stage,.tour-stage{max-height:none}
@media(min-width:1000px){.office-stage,.tour-stage{width:min(100%,120.888vh,1315px)}}

/* Standalone workshop art is a true silhouette, not a cropped scene plate. */
.tour-detail-image.garage-shot{aspect-ratio:1647/955;background:transparent;overflow:visible}
.tour-detail-image.garage-shot img{display:block;width:100%;height:100%;padding:0;object-fit:contain}

/* HQ location art is an object silhouette: full roof, tires, antenna and gate.
   Keep the scene-to-detail composition clean on phones as well as desktop. */
.tour-detail-image.office-shot,.tour-detail-image.truck-shot{background:transparent;overflow:visible}
.tour-detail-image.office-shot{aspect-ratio:1872/840}
.tour-detail-image.truck-shot{aspect-ratio:1000/667}
.tour-detail-image.office-shot img,.tour-detail-image.truck-shot img{display:block;width:100%;height:100%;object-fit:contain;padding:0}
.tour-detail-image.truck-shot img{padding:6px}

/* Real portal coordinates, measured against the immutable 16:9 set plates.
   Only doors shown by the current camera are interactive. */
.office-stage .office-hall-pins [data-door-view]{display:none}
.office-stage[data-scene="hall-west"] [data-door-view="hall-west"],
.office-stage[data-scene="hall-east-doors"] [data-door-view="hall-east-doors"],
.office-stage[data-scene="reception"] [data-door-view="reception"]{display:flex}
.office-stage.is-changing .office-hall-pins,.office-stage.is-unavailable .office-hall-pins{visibility:hidden}
.office-hall-pins[hidden]{display:none!important}
.office-hall-pins{z-index:4}
.office-pin{min-height:44px;text-decoration:none;justify-content:center}
.office-pin:focus-visible{outline:3px solid #ffcc32;outline-offset:3px}
.nina-door-pin{left:31%;top:39%}
.interview-door-pin{left:49%;top:57%}
.records-door-pin{left:79%;top:45%}
.lobby-door-pin{left:15%;top:68%}
.staff-door-pin{left:15%;top:74%}
.central-door-pin{left:52%;top:46%}
.grounds-door-pin{left:14%;top:58%}
.office-stage.is-changing[data-transition="left"]>img{transform-origin:27% 55%;transform:scale(1.045)}
.office-stage.is-changing[data-transition="right"]>img{transform-origin:75% 55%;transform:scale(1.045)}
@media(max-width:720px){
 .office-controls #hall-pov{width:100%;justify-content:space-between;gap:4px;border-bottom:1px solid #ffffff15}
 .office-controls #hall-pov button{flex:1;text-align:center;padding-inline:5px;min-height:44px}
 .office-pin{padding:4px 6px;min-height:44px;font-size:11px;gap:3px}
 .office-pin span{font-size:10px;min-width:12px}
 .nina-door-pin{left:33%;top:34%}
 .interview-door-pin{left:52%;top:61%}
 .records-door-pin{left:81%;top:40%}
 .lobby-door-pin{left:14%;top:72%}
 .staff-door-pin{left:15%;top:80%}
 .grounds-door-pin{left:16%;top:58%}
}
@media(prefers-reduced-motion:reduce){.office-stage.is-changing>img{transform:none!important;transition:none!important}}

/* Department names belong on portals; compact room labels remain readable. */
.carl-pin{left:29%;top:43%}.maks-pin{left:49%;top:61%}
@media(max-width:720px){.carl-pin{left:29%;top:35%}.maks-pin{left:50%;top:60%}.break-pin{left:80%;top:40%}}

/* The physical recognition display is at the rear end of the east wall.
   The wide views approach one shared close-up, never a duplicate exhibit. */
.award-approach-west{left:12%;top:32%}
.award-approach-east{left:84%;top:76%}
.nina-door-pin{left:20%;top:39%}
.interview-door-pin{left:30%;top:58%}
.records-door-pin{left:48%;top:46%}
.lobby-door-pin{left:10%;top:64%}
.map-award-location{grid-row:5;grid-column:2;align-self:end;justify-self:stretch;z-index:2;margin:0 3px 4px;min-height:44px;padding:3px 2px;border:0;border-right:3px solid #87662f;background:#d6b76d;color:#392a17;font:700 11px/1.12 Arial;text-align:center;cursor:pointer}
.map-award-location span{display:block;font-size:10px}
.map-award-location[aria-pressed=true]{background:#f0c557;outline:2px solid #68562c}
.map-award-location:focus-visible{outline:2px solid #302819;outline-offset:2px}
@media(max-width:720px){
 .award-approach-west{left:13%;top:28%}
 .award-approach-east{left:84%;top:78%}
 .nina-door-pin{left:20%;top:36%}
 .interview-door-pin{left:33%;top:61%}
 .records-door-pin{left:49%;top:43%}
 .lobby-door-pin{left:12%;top:72%}
}
.award-approach-east::before{content:"";position:absolute;bottom:100%;left:50%;width:clamp(88px,27vw,360px);height:clamp(66px,26vw,360px);transform:translateX(-50%);background:transparent;border:1px solid transparent;border-radius:3px}
.award-approach-east:is(:hover,:focus-visible)::before{border-color:#f3d78088;box-shadow:inset 0 0 16px #ffd76318}
.hq-map-dialog .map-hall{padding-bottom:48px}

/* The workshop now stages freight and The Liability in the canonical locations. */
.hq-workshop-dialog .hq-yard-art{min-height:280px}
.hq-workshop-dialog .hq-yard-art img{height:100%;max-height:270px}
@media(max-width:720px){.hq-workshop-dialog .hq-yard-art{min-height:195px}.hq-workshop-dialog .hq-yard-art img{height:100%;max-height:185px}}

/* A local station entrance never delays the already accessible dialog.
   The bay shutter and the freight crate are physical foreground wipes. */
.hq-workshop-dialog[open][data-entry=garage] .hq-garage-rig::before,
.hq-workshop-dialog[open][data-entry=yard] .hq-yard-art::before,
.hq-workshop-dialog[open][data-entry=yard] .hq-yard-art::after{
 content:"";position:absolute;inset:0;z-index:9;pointer-events:none;display:block;will-change:transform
}
.hq-workshop-dialog[open][data-entry=garage] .hq-garage-rig{position:relative}
.hq-workshop-dialog[open][data-entry=garage] .hq-garage-rig::before{
 background:repeating-linear-gradient(0deg,#534c41 0 12px,#8b7b5d 12px 13px,#332e28 14px 15px,#6b5d48 16px 17px);border-bottom:6px solid #9d7950;
 box-shadow:0 9px 18px #0009;animation:hq-workshop-shutter .72s cubic-bezier(.22,.8,.22,1) both
}
.hq-workshop-dialog[open][data-entry=yard] .hq-yard-art::before,
.hq-workshop-dialog[open][data-entry=yard] .hq-yard-art::after{
 width:50%;height:100%;background:repeating-linear-gradient(90deg,#826043 0 18%,#503c28 18.5% 19%,#95734e 19.5% 20%);border:5px solid #664d33;box-shadow:inset 0 0 0 3px #b08b56,0 3px 16px #000a;inset:0 auto 0 0;
 animation:hq-crate-left .58s cubic-bezier(.25,.75,.23,1) both
}
.hq-workshop-dialog[open][data-entry=yard] .hq-yard-art::after{inset:0 0 0 auto;animation-name:hq-crate-right}
@keyframes hq-workshop-shutter{0%,10%{transform:none}78%{transform:translateY(-103%)}90%{transform:translateY(-100%)}100%{transform:translateY(-105%)}}
@keyframes hq-crate-left{0%,8%{transform:none}100%{transform:translateX(-110%)}}
@keyframes hq-crate-right{0%,8%{transform:none}100%{transform:translateX(110%)}}
@media(prefers-reduced-motion:reduce){
 .hq-workshop-dialog[open][data-entry=garage] .hq-garage-rig::before,.hq-workshop-dialog[open][data-entry=yard] .hq-yard-art::before,.hq-workshop-dialog[open][data-entry=yard] .hq-yard-art::after{display:none!important;animation:none!important}
}
