/* Walkthrough styles are scoped to their own palette and UI. */
.experience, .detail-dialog, .utility-dialog {
  --paper:#eeece5; --ink:#232923; --muted:#697066; --accent:#d8f178; --line:#d1d3c7; --serif:Georgia,'Times New Roman',serif;
  background:var(--paper); color:var(--ink); font-size:15px; line-height:normal; -webkit-font-smoothing:antialiased;
}
:where(.experience, .detail-dialog, .utility-dialog) button { color:inherit; touch-action:manipulation; }
:where(.experience, .detail-dialog, .utility-dialog) :is(button,a) { -webkit-tap-highlight-color:transparent; }
:where(.experience, .detail-dialog, .utility-dialog) a:hover { text-decoration:underline; text-underline-offset:4px; }
:where(.experience, .detail-dialog, .utility-dialog) :focus-visible { outline:3px solid #b7ce56; outline-offset:5px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.page-foot .continue-link { display:inline-flex; align-items:center; justify-content:space-between; gap:28px; min-height:44px; font-size:12px; font-weight:700; color:var(--ink); }
.page-foot .continue-link span { font-size:21px; }
.page-foot { align-items:center; }
.experience { min-height:calc(100svh - 80px); display:flex; flex-direction:column; }
.experience:focus { outline:none; }
.stage { position:relative; flex:1; min-height:560px; background:#343d34; color:white; isolation:isolate; }
.visual { position:absolute; inset:0; overflow:hidden; }
.camera { position:absolute; inset:0; transition:transform .9s cubic-bezier(.2,.7,.2,1),opacity .5s; }
.scene-image { position:absolute; width:100%; height:100%; object-fit:cover; display:block; user-select:none; }
.scene-shade { position:absolute; inset:0; pointer-events:none; background:linear-gradient(90deg,rgba(17,27,22,.72),rgba(17,27,22,.3) 29%,transparent 56%),linear-gradient(0deg,rgba(17,27,22,.32),transparent 40%),linear-gradient(180deg,rgba(17,27,22,.22),transparent 20%); }
.scene-meta { position:absolute; top:27px; left:3.3%; right:3.3%; display:flex; justify-content:space-between; align-items:center; pointer-events:none; gap:20px; text-shadow:0 1px 8px #23292380; }
.scene-meta p { margin:0; font-size:10px; letter-spacing:1.9px; display:flex; align-items:center; gap:10px; }
.scene-meta > span { font-size:9px; letter-spacing:1.6px; }
.scene-meta > span > span { font-size:15px; margin-left:14px; }
.live-dot { display:inline-block; height:5px; width:5px; background:var(--accent); border-radius:50%; }
.scene-copy { position:absolute; z-index:3; left:3.3%; bottom:65px; max-width:36%; pointer-events:none; }
.eyebrow { font-size:10px; line-height:1.5; letter-spacing:1.8px; margin:0 0 17px; }
.scene-copy h1 { font-family:var(--serif); font-size:clamp(44px,5.5vw,86px); font-weight:400; line-height:1.01; letter-spacing:-3.4px; margin:0; }
.scene-copy h1 em { font-weight:400; color:var(--accent); }
.scene-description { font-size:13px; line-height:1.7; max-width:288px; margin:22px 0; color:#f0f0e8; }
.primary-action { pointer-events:auto; min-height:48px; background:var(--accent); border:1px solid var(--accent); color:var(--ink); padding:14px 20px; display:inline-flex; align-items:center; justify-content:space-between; gap:50px; font-size:12px; border-radius:2px; }
.primary-action:hover { background:#e7f9ac; }
.primary-action span { font-size:19px; line-height:1; }
.stage:not([data-scene="entrance"]) .scene-copy h1 { font-size:clamp(40px,4vw,67px); letter-spacing:-2.5px; }
.stage[data-scene="lobby"] .scene-copy { bottom:58px; }
.stage[data-scene="lobby"] .scene-shade { background:linear-gradient(0deg,rgba(17,27,22,.8),rgba(17,27,22,.3) 28%,transparent 57%),linear-gradient(180deg,rgba(17,27,22,.3),transparent 20%); }
.stage[data-scene="lobby"] .scene-description { max-width:310px; margin:15px 0; }
.stage[data-scene="lobby"] .scene-copy h1 { font-size:clamp(35px,3.6vw,58px); }
.stage[data-scene="lobby"] .eyebrow { margin-bottom:10px; }
@media (min-width:901px) { .stage[data-scene="lobby"] .scene-description { display:none; } .stage[data-scene="lobby"] .primary-action { margin-top:20px; } }
.stage[data-scene="ceiling"] .scene-shade { background:linear-gradient(90deg,rgba(17,27,22,.73),rgba(17,27,22,.32) 35%,transparent 65%); }
.scene-tools { position:absolute; right:3.3%; bottom:27px; display:flex; gap:8px; z-index:4; }
.scene-tools button { min-height:38px; background:#1a241ee6; color:white; border:1px solid #ffffff4d; border-radius:3px; padding:0 13px; font-size:11px; }
.scene-tools button span { font-size:17px; vertical-align:-1px; margin-right:6px; }
.scene-tools button:last-child { width:38px; padding:0; font-size:15px; border-radius:50%; }
.scene-tools button:hover { background:var(--accent); color:var(--ink); }
.explore-hint { position:absolute; bottom:20px; left:3.3%; font-size:10px; letter-spacing:.2px; margin:0; color:#eee; pointer-events:none; }
.hint-cross { display:inline-grid; width:19px; height:19px; place-items:center; border:1px solid #ffffff80; border-radius:50%; margin-right:7px; font-size:14px; }
.hotspots { position:absolute; inset:0; z-index:2; }
.hotspot { position:absolute; transform:translate(-50%,-50%); border:0; padding:0; background:transparent; width:44px; height:44px; display:grid; place-items:center; color:var(--ink); }
.hotspot .point { width:32px; height:32px; border:1px solid #fff; display:grid; place-items:center; background:#f8f8edea; border-radius:50%; font-size:20px; box-shadow:0 0 0 5px #ffffff26,0 3px 12px #0002; transition:transform .2s,background .2s; }
.hotspot:hover .point,.hotspot:focus-visible .point { transform:scale(1.12); background:var(--accent); }
.hotspot .point-label { position:absolute; left:calc(100% + 6px); top:50%; transform:translateY(-50%); white-space:nowrap; font-size:11px; font-weight:500; padding:9px 12px; border-radius:2px; background:#f8f7f0f2; box-shadow:0 2px 10px #0001; }
.hotspot.label-left .point-label { left:auto; right:calc(100% + 6px); }
.hotspot.label-below .point-label { left:50%; top:calc(100% + 5px); transform:translateX(-50%); }
.hotspot.waypoint .point { width:44px; height:44px; background:var(--accent); border-color:var(--accent); box-shadow:0 0 0 7px #d8f17822,0 2px 20px #0002; }
.hotspot.waypoint .point-label { background:#263025ed; color:#fff; }
.hotspot.visited .point::after { content:''; position:absolute; width:7px; height:7px; background:#a6bf52; border:2px solid #fff; border-radius:50%; right:6px; top:5px; }
.stage.is-moving .camera { transform:scale(1.12); opacity:.3; }
.stage.is-moving .hotspots,.stage.is-moving .scene-copy { opacity:0; }
.scene-copy { transition:opacity .25s; }
.image-error { position:absolute; left:50%; top:40%; transform:translateX(-50%); width:min(85%,420px); background:var(--paper); color:var(--ink); padding:20px; z-index:8; line-height:1.6; }
.mobile-objects { display:none; }
.tour-bar { min-height:96px; padding:0 3.3%; display:flex; align-items:center; justify-content:space-between; gap:30px; }
.tour-label { min-width:165px; display:flex; flex-direction:column; gap:8px; }
.tiny-label { font-size:9px; letter-spacing:1.5px; }
.tour-counter { font-size:15px; }
.tour-counter b { font-weight:400; }
.tour-counter > span { color:#7e8277; }
.room-nav { display:flex; align-self:stretch; align-items:center; flex:1; justify-content:center; gap:clamp(15px,3vw,60px); }
.room-nav button { padding:20px 0; min-height:60px; position:relative; border:0; background:none; white-space:nowrap; font-size:12px; color:#676d61; }
.step-number { font-size:9px; margin-right:8px; opacity:.75; }
.room-nav button i { width:100%; height:2px; background:var(--line); position:absolute; bottom:7px; left:0; }
.room-nav button[aria-current] { color:var(--ink); }
.room-nav button[aria-current] i { background:var(--ink); }
.room-nav button:hover i { background:#95a648; }
.tour-end { display:flex; align-items:center; gap:22px; }
.tour-end > span { font-size:10px; color:#676d61; }
.round-button { width:45px; height:45px; border:1px solid #aaa; background:transparent; border-radius:50%; font-size:22px; }
.round-button:hover { background:var(--ink); color:var(--paper); }
.page-foot { min-height:34px; border-top:1px solid var(--line); padding:10px 3.3%; display:flex; justify-content:space-between; gap:20px; font-size:9px; color:#74796f; }

.detail-dialog,.utility-dialog { color:var(--ink); background:var(--paper); border:0; box-shadow:0 20px 80px #0004; padding:0; }
dialog::backdrop { background:#0b170f66; backdrop-filter:blur(3px); }
.detail-dialog { position:fixed; margin:18px 18px 18px auto; max-height:calc(100dvh - 36px); height:calc(100dvh - 36px); width:480px; max-width:calc(100vw - 36px); overflow:auto; overscroll-behavior:contain; border-radius:4px; }
.dialog-top { display:flex; justify-content:space-between; align-items:center; padding:14px 22px; border-bottom:1px solid var(--line); position:sticky; top:0; background:var(--paper); z-index:5; }
.close-button { display:grid; place-items:center; width:40px; height:40px; font-size:26px; background:transparent; border:1px solid #b6bdab; border-radius:50%; font-weight:300; }
.close-button:hover { background:var(--ink); color:var(--paper); }
.detail-photo { height:200px; background-repeat:no-repeat; position:relative; overflow:hidden; border-bottom:1px solid var(--line); }
.detail-photo span { position:absolute; left:22px; bottom:13px; font-size:9px; letter-spacing:1px; color:white; background:#1c2a21c9; padding:7px 9px; }
.photo-bellbox { background-image:url('assets/vision/entrance.jpg'); background-size:230%; background-position:26% 16%; }
.photo-access { background-image:url('assets/vision/entrance.jpg'); background-size:260%; background-position:95% 48%; }
.photo-keypad { background-image:url('assets/vision/lobby.jpg'); background-size:230%; background-position:0 39%; }
.photo-fire { background-image:url('assets/vision/lobby.jpg'); background-size:175%; background-position:13% 34%; }
.photo-detector { background-image:url('assets/vision/ceiling.jpg'); background-size:120%; background-position:90% 29%; }
.photo-contact { background-image:url('assets/vision/reception.jpg'); background-size:cover; background-position:center 36%; }
.detail-body { padding:28px; }
.detail-body .eyebrow { color:#67725f; font-size:9px; margin-bottom:12px; }
.detail-body h2,.utility-dialog h2 { font-family:var(--serif); font-size:40px; line-height:1.08; font-weight:400; letter-spacing:-1.4px; margin:0 0 20px; }
.detail-body > p,.tab-panel > p,.signal-detail { font-size:13px; line-height:1.75; color:#535d4e; margin:15px 0; }
.feature-list { margin:22px 0; padding:0; list-style:none; border-top:1px solid var(--line); }
.feature-list li { padding:13px 0 13px 22px; border-bottom:1px solid var(--line); position:relative; font-size:12px; line-height:1.5; }
.feature-list li::before { content:'↗'; position:absolute; left:0; top:13px; color:#71854a; }
.detail-cta { display:flex; align-items:center; justify-content:space-between; gap:14px; width:100%; padding:15px 17px; margin-top:24px; background:var(--ink); color:white; font-size:12px; min-height:48px; border:0; border-radius:2px; text-align:left; }
.detail-cta:hover { background:#3c4b35; text-decoration:none; }
.detail-cta span { font-size:18px; }
.detail-body .fine-print { font-size:10px; line-height:1.6; color:#757d6e; }
.source-link { font-size:10px; display:inline-block; border-bottom:1px solid #9da793; padding:4px 0; line-height:1.5; margin-top:8px; }
.detail-tabs { display:flex; gap:15px; border-bottom:1px solid #b8c0ae; margin-top:22px; }
.detail-tabs button { background:transparent; padding:14px 0; border:0; border-bottom:2px solid transparent; font-size:11px; color:#666f5e; min-height:45px; }
.detail-tabs button[aria-selected="true"] { color:var(--ink); border-bottom-color:var(--ink); font-weight:700; }
.tab-panel { padding-top:8px; }
.choice-group { display:flex; gap:6px; margin:15px 0; }
.choice-group button { border:1px solid #b3bca8; background:transparent; font-size:11px; flex:1; padding:10px 6px; min-height:44px; border-radius:2px; }
.choice-group button[aria-pressed="true"] { background:var(--ink); border-color:var(--ink); color:white; }
.choice-group button:hover { border-color:var(--ink); }
.selection-copy { padding:17px; background:#e2e4d8; border-radius:2px; }
.selection-copy h3 { font-size:14px; margin:0 0 8px; }
.selection-copy p { font-size:12px; line-height:1.7; margin:0; color:#515d47; }
.selection-copy small { display:block; margin-top:10px; font-size:10px; color:#627155; }
.signal-play { display:flex; align-items:center; gap:12px; padding:12px 15px; border:1px solid #aeb7a3; background:transparent; width:100%; font-size:11px; margin-top:13px; min-height:45px; }
.signal-play > span { margin-left:auto; }
.signal-play[aria-pressed="true"] { background:#dce8bf; }
.contact-email { font-size:20px; letter-spacing:-.6px; display:block; padding:18px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); overflow-wrap:anywhere; }
.contact-email span { float:right; }
.contact-details { margin:23px 0; }
.contact-details div { margin:16px 0; }
.contact-details dt { text-transform:uppercase; font-size:9px; letter-spacing:1.4px; color:#6d7666; margin-bottom:6px; }
.contact-details dd { font-size:12px; margin:0; line-height:1.65; }
.contact-monitor { padding:17px; background:#e0e3d6; }
.contact-monitor p { font-size:11px; line-height:1.6; margin:0 0 5px; }
.contact-monitor a { font-size:21px; }
.utility-dialog { max-width:580px; width:calc(100vw - 32px); max-height:calc(100dvh - 40px); padding:34px; border-radius:4px; }
.utility-dialog > .close-button { float:right; margin:-10px -10px 8px 12px; }
.utility-dialog h2 { font-size:38px; }
.utility-dialog p,.utility-dialog li { font-size:13px; line-height:1.8; color:#55604d; }
.utility-dialog ol { padding-left:20px; }
.utility-dialog kbd { padding:2px 5px; border:1px solid #b8c1ad; border-radius:3px; font-size:11px; }
.system-directory { display:flex; flex-direction:column; border-top:1px solid var(--line); }
.system-directory button { display:flex; justify-content:space-between; align-items:center; gap:15px; background:none; border:0; border-bottom:1px solid var(--line); padding:17px 0; text-align:left; min-height:60px; font-size:15px; }
.system-directory small { display:block; font-size:10px; color:#6c7762; margin-top:6px; }
.system-directory button:hover { background:#e4e8d9; }
.no-script { padding:30px; background:var(--paper); color:var(--ink); line-height:1.7; }
.no-script a { text-decoration:underline; }
body:has(dialog[open]) { overflow:hidden; }
@media (min-width:1700px) { .stage { min-height:650px; } .scene-description { font-size:15px; max-width:330px; } }
@media (min-width:901px) and (max-height:790px) { .stage { min-height:500px; } .scene-copy h1 { font-size:62px; } .scene-description { margin:16px 0; } .stage[data-scene="lobby"] .scene-copy h1 { font-size:38px; } .stage[data-scene="lobby"] .scene-description { font-size:12px; max-width:270px; } .stage[data-scene="lobby"] .scene-copy { bottom:50px; } .tour-bar { min-height:84px; }  .experience { min-height:calc(100svh - 76px); } }
@media (max-width:1100px) { .tour-label { min-width:115px; } .tour-bar { gap:22px; } .tour-end > span { display:none; }     }
@media (max-width:900px) {
   
  .experience { min-height:calc(100svh - 76px); } .stage { min-height:0; flex:initial; }
  .visual { position:relative; aspect-ratio:1672/941; inset:auto; width:100%; }
  .scene-shade,.stage[data-scene="lobby"] .scene-shade,.stage[data-scene="ceiling"] .scene-shade { background:linear-gradient(180deg,#18211955,transparent 23%,transparent 90%,#343d34); }
  .scene-meta { top:18px; left:22px; right:22px; } .scene-meta > span { display:none; }
  .scene-copy,.stage[data-scene="lobby"] .scene-copy { position:relative; left:auto; bottom:auto; max-width:none; padding:26px 28px; display:grid; grid-template-columns:1fr 1fr; column-gap:32px; align-items:start; }
  .scene-copy .eyebrow { grid-column:1/-1; margin-bottom:12px; }
  .scene-copy h1,.stage:not([data-scene="entrance"]) .scene-copy h1,.stage[data-scene="lobby"] .scene-copy h1 { grid-column:1; grid-row:2/4; font-size:48px; letter-spacing:-2px; }
  .scene-description,.stage[data-scene="lobby"] .scene-description { grid-column:2; margin:0 0 18px; font-size:13px; max-width:340px; }
  .primary-action { grid-column:2; justify-self:start; gap:32px; }
  .scene-tools { right:20px; bottom:16px; }
  .explore-hint { display:none; }
  .mobile-objects { display:flex; flex-wrap:wrap; gap:8px; padding:0 28px 25px; }
  .mobile-objects button { border:1px solid #a0ad94; background:transparent; color:#f5f7ec; padding:10px 13px; border-radius:2px; font-size:11px; min-height:44px; }
  .mobile-objects button:hover { background:#4a5842; }
  .hotspot .point-label { font-size:10px; padding:7px 9px; }
  .tour-label { display:none; } .tour-bar { min-height:84px; gap:20px; padding:0 24px; }
  .room-nav { gap:28px; justify-content:space-between; } .room-nav button { padding:18px 0; }
  .page-foot { padding:12px 24px; gap:12px; flex-wrap:wrap; }
}
@media (max-width:540px) {
    
    
  .scene-copy,.stage[data-scene="lobby"] .scene-copy { display:block; padding:25px 22px 19px; }
  .scene-copy h1,.stage:not([data-scene="entrance"]) .scene-copy h1,.stage[data-scene="lobby"] .scene-copy h1 { font-size:46px; line-height:1.04; }
  .scene-description,.stage[data-scene="lobby"] .scene-description { margin:17px 0; max-width:330px; font-size:12px; }
  .eyebrow { font-size:9px; }
  .scene-meta { top:11px; left:16px; } .scene-meta p { font-size:8px; letter-spacing:1.4px; }
  .hotspot .point { width:27px; height:27px; font-size:17px; box-shadow:0 0 0 4px #ffffff33; }
  .hotspot.waypoint .point { width:35px; height:35px; }
  .hotspot .point-label { display:none; }
  .scene-tools { right:12px; bottom:10px; gap:6px; }
  .scene-tools button { min-height:33px; padding:0 9px; font-size:9px; }
  .scene-tools button:last-child { width:33px; font-size:13px; }
  .scene-tools button span { font-size:15px; margin-right:3px; }
  .mobile-objects { padding:0 22px 23px; gap:7px; }
  .mobile-objects button { font-size:10px; padding:8px 10px; }
  .tour-bar { padding:0 20px; min-height:83px; gap:12px; }
  .room-nav { gap:15px; } .room-nav button { font-size:10px; display:flex; flex-direction:column; align-items:start; gap:6px; padding:10px 0 13px; }
  .step-number { font-size:8px; margin:0; } .tour-end { display:none; }
  .page-foot { padding:14px 20px; flex-direction:column; font-size:9px; gap:8px; }
  .detail-dialog { margin:auto 0 0; width:100%; max-width:100%; height:calc(100dvh - 12px); max-height:calc(100dvh - 12px); border-radius:10px 10px 0 0; }
  .dialog-top { padding:12px 20px; }
  .detail-body { padding:24px; } .detail-body h2 { font-size:36px; }
  .detail-photo { height:175px; }
  .utility-dialog { padding:25px; } .utility-dialog h2 { font-size:32px; }
  .detail-tabs { gap:13px; } .detail-tabs button { font-size:10px; }
  .contact-email { font-size:19px; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }

/* The same page now hosts one persistent WebGL scene. Photographs are fallbacks only. */
.building-canvas { display:block; width:100%; height:100%; touch-action:pan-y pinch-zoom; cursor:grab; }
.building-canvas.dragging { cursor:grabbing!important; touch-action:pan-y pinch-zoom; }
.has-3d .camera,.has-3d.is-moving .camera { transform:none; opacity:1; transition:none; }
.has-3d .hotspots { pointer-events:none; }
.has-3d .hotspot { pointer-events:auto; }
.has-3d.is-moving .hotspots,.has-3d.is-moving .mobile-objects { pointer-events:none; }
.has-3d.is-inspecting .hotspots,.has-3d.is-inspecting .scene-copy,.has-3d.is-inspecting .scene-meta,.has-3d.is-inspecting .explore-hint { opacity:0; pointer-events:none; }
.has-3d.is-inspecting .scene-shade { opacity:0; }
.has-3d .scene-shade { transition:opacity .5s; background:linear-gradient(90deg,#1722199c,transparent 52%),linear-gradient(0deg,#17221966,transparent 27%); }
.has-3d[data-scene="lobby"] .scene-shade { background:linear-gradient(0deg,#172219ad,transparent 42%); }
.has-3d[data-scene="ceiling"] .scene-shade { background:linear-gradient(90deg,#172219b3,transparent 56%); }
.render-status { position:absolute; inset:0; z-index:8; background:#28372fed; display:flex; gap:18px; align-items:center; justify-content:center; color:#f2f0e8; font-size:13px; letter-spacing:.4px; }
.loading-orbit { width:26px; height:26px; border:1px solid #d8f17850; border-top-color:var(--accent); border-radius:50%; animation:orbit 1s linear infinite; }
@keyframes orbit { to { transform:rotate(360deg); } }
.render-status.render-fallback { inset:60px 24px auto auto; display:block; padding:12px 16px; max-width:340px; font-size:11px; line-height:1.6; border:1px solid #ffffff45; border-radius:3px; background:#25352cee; }
.three-dimensional .detail-dialog { width:440px; }
.three-dimensional .detail-dialog::backdrop { backdrop-filter:none; background:#17201818; }
.three-dimensional .detail-photo { display:none; }
.three-dimensional .detail-body { padding:30px; }
.three-dimensional .detail-body h2 { margin-top:20px; }
@media(min-width:901px) { .has-3d .scene-copy { max-width:34%; } .has-3d .scene-copy h1 { font-size:clamp(45px,4.7vw,76px); } }
@media(max-width:900px) {
  .has-3d .scene-shade,.has-3d[data-scene="lobby"] .scene-shade,.has-3d[data-scene="ceiling"] .scene-shade { background:linear-gradient(180deg,#17221940,transparent 20%,transparent 90%,#343d34); }
  .has-3d .scene-tools { bottom:12px; }
  .render-status.render-fallback { top:38px; right:12px; left:12px; max-width:none; padding:8px 12px; font-size:10px; }
}
@media(max-width:540px) { .three-dimensional .detail-dialog { width:100%; height:60dvh; max-height:60dvh; } .three-dimensional .detail-body { padding:24px; } #reset-view { font-size:0; width:33px; padding:0; } #reset-view::after { content:'↺'; font-size:17px; } }
