@charset "UTF-8";

:root {
  color-scheme: dark;
  --ink: #eeeeee;
  --muted: #a0a0a0;
  --quiet: #696969;
  --paper: #090909;
  --line: rgba(236, 238, 229, .16);
  --gutter: clamp(24px, 4vw, 68px);
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Bodoni 72", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --control-shadow: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }
html { background: var(--paper); }
body { color: var(--ink); font-family: var(--font); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { border: 0; border-radius: 0; padding: 0; background: none; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
button:disabled { color: var(--quiet); cursor: default; opacity: .55; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 1px solid var(--ink); outline-offset: 6px; }
button svg, a svg, label svg, .interaction-hint svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: square; stroke-linejoin: miter; flex-shrink: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 120; background: var(--ink); color: var(--paper); padding: 14px 20px; }
.skip-link:focus { top: 16px; }

#scene { position: fixed; inset: 0; z-index: 0; }
#scene canvas { display: block; width: 100%; height: 100%; outline: none; touch-action: none; }
.scene-shade { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.5), transparent 20%, transparent 74%, rgba(0,0,0,.58)), linear-gradient(90deg, rgba(0,0,0,.56), transparent 48%); transition: background .8s; }
body:is([data-view="gallery"], [data-view="park"]) .scene-shade { background: linear-gradient(180deg, rgba(0,0,0,.42), transparent 21%, transparent 82%, rgba(0,0,0,.5)); }

.site-header { position: fixed; z-index: 10; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 33px var(--gutter); pointer-events: none; }
.site-header > * { pointer-events: auto; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; text-align: left; }
.brand-name { font-size: clamp(20px, 1.85vw, 28px); font-weight: 300; letter-spacing: .23em; line-height: 1; }
.brand-caption { font-size: 9px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.header-nav { display: flex; align-items: center; gap: clamp(24px, 3.1vw, 50px); }
.header-nav > button { min-height: 44px; font-size: 12px; letter-spacing: .03em; transition: opacity .2s; }
.header-nav > button:hover { opacity: .68; }
.nav-arrow { padding-left: 5px; color: var(--muted); }
.render-toggle { display: flex; align-items: center; gap: 10px; min-width: 72px; }
.render-toggle svg { width: 18px; height: 18px; color: var(--muted); }
body[data-render="lidar"] .render-toggle svg { color: #fff; }

.exterior-intro { position: fixed; z-index: 3; left: var(--gutter); bottom: clamp(120px, 17vh, 200px); width: 460px; max-width: calc(100vw - 100px); pointer-events: none; transition: opacity .5s, transform .6s; }
.exterior-intro button { pointer-events: auto; }
.eyebrow { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 10px; line-height: 1.5; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: #b2b2b2; }
.status-dot { width: 4px; height: 4px; display: inline-block; background: #e8e8e8; }
.exterior-intro h1 { font-family: var(--serif); font-size: clamp(62px, 6.7vw, 102px); line-height: .98; font-weight: 400; letter-spacing: -.055em; margin: 25px 0 22px; }
em { font-weight: 400; }
.exterior-intro h1 em { color: #d2d2d2; }
.intro-description { margin: 0; font-size: 13px; line-height: 1.75; color: #b2b2b2; }
.intro-actions { margin-top: 32px; display: flex; align-items: center; gap: 25px; }
.primary-action { background: transparent; color: var(--ink); min-height: 49px; padding: 0; display: inline-flex; justify-content: space-between; align-items: center; gap: 36px; font-size: 12px; transition: color .2s, transform .2s; }
.primary-action:hover { background: transparent; color: #b8b8b8; transform: translateY(-2px); }
.primary-action > span { font-size: 19px; font-weight: 300; }
.text-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; font-size: 12px; text-align: left; transition: color .2s; }
.text-action:hover { color: #b8b8b8; }
.text-action > span { font-size: 17px; }
body:is([data-view="gallery"], [data-view="park"]) .exterior-intro { opacity: 0; visibility: hidden; transform: translateY(20px); pointer-events: none; }
body:is([data-view="gallery"], [data-view="park"]) .exterior-intro button { pointer-events: none; }

.floor-info { position: fixed; top: 128px; left: var(--gutter); z-index: 4; width: 340px; max-width: calc(100vw - 130px); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: opacity .5s, transform .5s; text-shadow: none; }
.floor-info::before { content: none; }
.floor-info .eyebrow { font-size: 8px; letter-spacing: .12em; gap: 10px; color: #f1f1f1; }
.eyebrow-separator { width: 24px; height: 1px; display: inline-block; background: #d0d0d0; box-shadow: none; }
.floor-caption-heading { display: flex; align-items: center; gap: 13px; width: fit-content; max-width: 100%; }
.floor-info h1 { font-family: var(--serif); font-size: clamp(25px, 2.1vw, 31px); line-height: 1.12; font-weight: 400; letter-spacing: -.025em; margin: 9px 0; }
.floor-help { flex-shrink: 0; color: #f1f1f1; }
.floor-help svg { width: 17px; height: 17px; }
.floor-info button svg { filter: none; }
#floor-description, .floor-browse { display: none; }
body:is([data-view="gallery"], [data-view="park"]) .floor-info { opacity: 1; visibility: visible; transform: none; }
body:is([data-view="gallery"], [data-view="park"]) .floor-info button { pointer-events: auto; }

.walk-controls { display: none; position: fixed; z-index: 7; left: var(--gutter); bottom: max(111px, calc(env(safe-area-inset-bottom) + 94px)); width: 108px; touch-action: none; user-select: none; -webkit-user-select: none; }
.move-pad { position: relative; width: 108px; height: 108px; border: 1px solid rgba(255,255,255,.62); background: rgba(10,10,10,.42); box-shadow: 0 1px 8px rgba(0,0,0,.15); touch-action: none; cursor: move; }
.move-pad::before, .move-pad::after { content: ""; position: absolute; background: rgba(255,255,255,.42); pointer-events: none; }
.move-pad::before { width: 1px; height: 16px; left: 50%; top: 8px; box-shadow: 0 74px 0 rgba(255,255,255,.42); }
.move-pad::after { width: 16px; height: 1px; top: 50%; left: 8px; box-shadow: 74px 0 0 rgba(255,255,255,.42); }
.move-knob { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid rgba(255,255,255,.95); background: rgba(245,245,245,.32); box-shadow: 0 1px 3px rgba(0,0,0,.35); pointer-events: none; will-change: transform; }
.move-pad-mark { position: absolute; left: 50%; top: 50%; width: 3px; height: 3px; margin: -1.5px 0 0 -1.5px; background: #fff; pointer-events: none; }
.move-pad-label { display: block; margin-top: 10px; color: #f1f1f1; font-size: 8px; text-align: center; text-transform: uppercase; letter-spacing: .17em; text-shadow: none; pointer-events: none; }
.walk-hint, .art-prompt { display: none; position: fixed; z-index: 4; left: 50%; bottom: 86px; transform: translateX(-50%); margin: 0; color: #f2f2f2; font-size: 10px; line-height: 1.6; text-align: center; pointer-events: none; text-shadow: none; }
.walk-hint::before, .art-prompt::before { content: none; }
.walk-hint { white-space: nowrap; }
.walk-hint .hint-divider { color: #d7d7d7; margin: 0 8px; }
.key-hint { letter-spacing: .1em; }
.art-prompt { bottom: 113px; color: #fff; font-size: 11px; }
.touch-instruction, .touch-guide { display: none; }
body:is([data-view="gallery"], [data-view="park"]):not(.fallback) .walk-hint, body:is([data-view="gallery"], [data-view="park"]):not(.fallback) .art-prompt { display: block; }


.experience-footer { position: fixed; z-index: 5; left: var(--gutter); right: var(--gutter); bottom: max(23px, env(safe-area-inset-bottom)); }
.exterior-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.exterior-footer .elevator-action { min-height: 44px; }
.footer-credit { font-size: 9px; color: #848484; letter-spacing: .06em; }
.interaction-hint { color: #909090; font-size: 10px; display: flex; align-items: center; gap: 12px; }
.interaction-hint svg { width: 14px; height: 14px; }
.hint-divider { color: #434343; margin: 0 2px; }
.tour-action { font-size: 10px; }
.gallery-toolbar { display: none; align-items: center; justify-content: space-between; gap: 24px; text-shadow: none; }
.gallery-toolbar button { min-height: 44px; }
.gallery-toolbar button svg { filter: none; }
.navigation-tools { display: flex; align-items: center; gap: 28px; }
.toolbar-back { display: flex; align-items: center; gap: 12px; color: #c7c7c7; font-size: 11px; }
.toolbar-back svg { width: 18px; }
.elevator-action { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; color: #dedede; }
.elevator-action svg { width: 18px; height: 18px; }
.artwork-navigation { display: flex; align-items: center; gap: 22px; }
.icon-action { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; transition: color .2s, background .2s; }
.icon-action:hover { background: rgba(234,240,226,.07); }
.icon-action[aria-pressed="true"] { color: #fff; background: rgba(234,240,226,.08); }
.icon-action svg { width: 18px; height: 18px; }
.view-artwork { display: flex; align-items: center; justify-content: center; gap: 18px; min-width: 128px; font-size: 11px; }
.view-artwork svg { width: 15px; height: 15px; }
.toolbar-options { display: flex; gap: 14px; align-items: center; }
.toolbar-options .icon-action { min-width: 44px; flex-shrink: 0; }
body:is([data-view="gallery"], [data-view="park"]) .exterior-footer { display: none; }
body:is([data-view="gallery"], [data-view="park"]) .gallery-toolbar { display: flex; }

.loading-screen { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #090909; transition: opacity .8s, visibility .8s; }
.loading-brand { font-size: 32px; font-weight: 300; letter-spacing: .25em; padding-left: .25em; text-align: center; }
.loading-brand span { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .3em; margin-top: 14px; color: #8c8c8c; }
.loading-track { margin-top: 55px; height: 1px; width: 170px; background: #262626; overflow: hidden; }
.loading-track span { display: block; height: 100%; width: 0%; background: #d7d7d7; transition: width .35s; }
#loading-label { font-size: 9px; color: #838383; letter-spacing: .08em; margin-top: 18px; }
body.ready .loading-screen { opacity: 0; visibility: hidden; pointer-events: none; }
body:not(.ready) .site-header, body:not(.ready) .exterior-intro, body:not(.ready) .experience-footer { opacity: 0; }
.site-header, .experience-footer { transition: opacity .7s; }
.toast { position: fixed; z-index: 90; left: 50%; bottom: 90px; transform: translate(-50%, 10px); max-width: calc(100vw - 32px); padding: 12px 20px; color: #dcdcdc; background: transparent; text-shadow: 0 1px 4px rgba(0,0,0,.8); font-size: 11px; text-align: center; opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s; pointer-events: none; }
.toast.visible, .toast.show, .toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.tour-stop { position:fixed; top:100px; right:var(--gutter); z-index:12; min-height:44px; font-size:11px; color:#d7d7d7; padding:0 15px; background:rgba(8,8,8,.75); }
body.fallback .exterior-intro { visibility:hidden; }
body.fallback .floor-info, body.fallback .gallery-toolbar, body.fallback .walk-controls { display: none; }
.webgl-fallback { position: fixed; z-index: 15; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100vw - 48px)); padding: 40px; background: #111111; }
.webgl-fallback h2 { font-size: 45px; font-family: var(--serif); font-weight: 400; margin: 20px 0; }
.webgl-fallback p:not(.eyebrow) { color: #a9a9a9; line-height: 1.7; margin: 0 0 25px; }

dialog { border: 0; border-radius: 0; color: var(--ink); background: #0b0b0b; padding: 0; overscroll-behavior: contain; }
dialog::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(9px); }
dialog[open] { animation: dialog-enter .3s ease-out; }
.dialog-topbar { position: sticky; top: 0; z-index: 5; background: #0b0b0b; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 40px; }
.dialog-brand { font-size: 18px; letter-spacing: .2em; font-weight: 300; }
.close-button { min-height: 44px; display: flex; gap: 22px; align-items: center; color: #b4b4b4; }
.close-button span { font-size: 10px; }
.close-button svg { width: 18px; height: 18px; }
.close-button:hover { color: #fff; }
.catalog-dialog { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0 var(--gutter) 35px; overflow-y: auto; }
.catalog-dialog .dialog-topbar { padding: 26px 0; }
.catalog-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding: 45px 0 32px; }
.catalog-heading h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(45px, 5vw, 76px); letter-spacing: -.045em; line-height: 1.1; margin: 13px 0 0; }
.catalog-heading > p { color: #949494; line-height: 1.75; font-size: 11px; padding-bottom: 4px; margin: 0; }
.catalog-tools { border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 30px; padding: 18px 0; margin-bottom: 32px; }
.search-field { display: flex; align-items: center; gap: 12px; min-width: 180px; width: 290px; }
.search-field svg { width: 17px; height: 17px; color: #7b7b7b; }
.search-field input { color: #e1e1e1; width: 100%; background: transparent; border: 0; border-radius: 0; min-height: 44px; padding: 0 4px; font-size: 12px; }
.search-field input::placeholder { color: #909090; }
.filter-field { position: relative; min-width: 170px; }
.filter-field select { width: 100%; appearance: none; -webkit-appearance: none; border: 0; border-radius: 0; background: transparent; color: #cbcbcb; padding: 0 30px 0 0; min-height: 44px; font-size: 12px; cursor: pointer; }
.filter-field select option { background: #161616; color: #ebebeb; }
.filter-field svg { position: absolute; right: 0; top: 14px; width: 15px; height: 15px; pointer-events: none; }
.catalog-status { margin: 0 0 0 auto; color: #818181; font-size: 10px; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 45px 28px; padding-bottom: 45px; }
.catalog-grid > button, .catalog-grid .art-card, .catalog-grid .catalog-card { display: flex; flex-direction: column; text-align: left; min-width: 0; color: var(--ink); }
.catalog-grid img { display: block; width: 100%; height: 100%; max-height: 440px; aspect-ratio: 4/5; object-fit: contain; background: #111111; padding: 18px; transition: transform .4s, background .3s; }
.catalog-grid > button:hover img, .catalog-grid .art-card:hover img, .catalog-grid .catalog-card:hover img { transform: translateY(-4px); background: #181818; }
.catalog-grid .image-wrap, .catalog-grid .art-card-image, .catalog-grid .card-image { width: 100%; aspect-ratio: 4/5; overflow: hidden; }
.catalog-grid h3, .catalog-grid .art-card-title, .catalog-grid .card-title { font-size: 13px; line-height: 1.5; font-weight: 400; margin: 17px 0 5px; }
.catalog-grid p, .catalog-grid .art-card-collection, .catalog-grid .card-collection { font-size: 10px; color: #909090; line-height: 1.6; margin: 4px 0 0; }
.catalog-grid small { display: block; font-size: 9px; color: #8a8a8a; margin-top: 5px; }
.catalog-grid .empty-state { grid-column: 1 / -1; padding: 80px 0; color: #9e9e9e; }
.catalog-footnote { color: #6d6d6d; font-size: 9px; line-height: 1.6; margin: 25px 0; }

.art-dialog { width: min(1400px, calc(100vw - 48px)); max-width: 100%; height: min(900px, calc(100dvh - 48px)); max-height: 100%; margin: auto; overflow: auto; }
.art-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 42px; padding: 5px 40px 40px; height: calc(100% - 96px); min-height: 400px; }
.art-stage { flex-shrink: 0; position: relative; min-width: 0; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: auto; background: #080808; }
#art-image { width: 100%; height: 100%; object-fit: contain; display: block; }
.art-meta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 25px 0; }
.art-meta .eyebrow { font-size: 9px; color: #8e8e8e; }
.art-meta h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 43px); line-height: 1.15; font-weight: 400; letter-spacing: -.03em; margin: 19px 0 15px; overflow-wrap: anywhere; }
.art-artist { color: #d0d0d0; margin: 0; font-size: 11px; line-height: 1.8; }
.art-artist span { display: block; color: #8b8b8b; font-size: 10px; }
.art-description { color: #a0a0a0; line-height: 1.8; font-size: 12px; margin: 27px 0 15px; }
.source-link { font-size: 10px; margin: 12px 0 20px; }
.art-detail-nav { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
#art-position { min-width: 55px; color: #878787; font-size: 10px; text-align: center; }

.about-dialog { overflow-y: auto; width: min(1000px, calc(100vw - 48px)); max-width: 100%; max-height: calc(100dvh - 48px); margin: auto; }
.about-content { padding: 38px 60px 65px; }
.about-content h2 { font-family: var(--serif); font-size: clamp(45px, 5.5vw, 76px); line-height: 1.05; letter-spacing: -.045em; font-weight: 400; margin: 22px 0 38px; }
.about-content h2 em { color: #bebebe; }
.about-copy { max-width: 550px; margin-left: auto; }
.about-copy p { font-size: 13px; line-height: 1.9; color: #a8a8a8; margin: 0 0 19px; }
.about-copy a { margin-top: 12px; }

.guide-dialog { width: min(660px, calc(100vw - 48px)); max-width: 100%; max-height: calc(100dvh - 48px); margin: auto; overflow-y: auto; }
.guide-content { padding: 25px 40px 40px; }
.guide-content h2 { font-family: var(--serif); font-size: clamp(36px, 4vw, 51px); line-height: 1.08; font-weight: 400; letter-spacing: -.035em; margin: 15px 0 20px; }
.guide-intro, .guide-note { color: #a5a5a5; font-size: 12px; line-height: 1.8; max-width: 450px; margin: 0; }
.control-guide { margin: 28px 0 22px; }
.control-guide > div { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; min-height: 53px; border-top: 1px solid var(--line); padding: 12px 0; }
.control-guide > .touch-guide { display: none; }
.control-guide dt { font-size: 11px; line-height: 1.8; }
.control-guide dd { color: #a4a4a4; font-size: 11px; line-height: 1.7; margin: 0; }
kbd { display: inline-block; padding: 1px 5px; border: 1px solid #3e3e3e; font: inherit; font-size: .9em; line-height: 1.6; min-width: 20px; text-align: center; margin-right: 4px; }
.key-alternative { color: #8f8f8f; font-size: 9px; }
.control-guide dt > .key-alternative { display: block; margin-top: 4px; }
.control-guide dt > .key-alternative.desktop-instruction { display: inline; }
.guide-note { font-size: 10px; max-width: none; }
.elevator-dialog { width: min(600px, calc(100vw - 48px)); }
.elevator-dialog .guide-content { padding-top: 20px; }
.elevator-floors { display: flex; flex-direction: column; margin-top: 28px; }
.elevator-floors button { display: flex; align-items: center; gap: 25px; min-height: 55px; width: 100%; border-top: 1px solid var(--line); text-align: left; font-size: 13px; padding: 13px 4px; transition: color .2s, background .2s; }
.elevator-floors button:hover, .elevator-floors button.active, .elevator-floors button[aria-current="true"] { background: #151515; color: #fff; }
.elevator-index { width: 24px; flex-shrink: 0; font-size: 10px; font-variant-numeric: tabular-nums; color: #777; }
.elevator-floors button.active .elevator-index, .elevator-floors button[aria-current="true"] .elevator-index { color: #fff; }
.elevator-floors small { display: block; margin-top: 5px; color: #8d8d8d; font-size: 10px; }
.elevator-arrow { font-size: 16px; color: #787878; margin-left: auto; padding-left: 10px; }

@keyframes dialog-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (min-width: 1600px) {
  .exterior-intro { bottom: 20vh; }
  .catalog-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 1050px) {
  .exterior-intro { width: 370px; }
  .exterior-intro h1 { font-size: 76px; }
  .intro-actions { flex-direction: column; align-items: flex-start; gap: 7px; }
  .floor-info { width: 320px; }
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px 22px; }
  .art-detail-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 28px; padding: 5px 30px 30px; }
  .dialog-topbar { padding: 21px 30px; }
  .footer-credit { max-width: 130px; line-height: 1.7; }
}

@media (max-width: 700px) {
  :root { --gutter: 23px; }
  .site-header { padding-top: max(24px, env(safe-area-inset-top)); align-items: flex-start; gap: 15px; }
  .brand-name { font-size: 20px; letter-spacing: .17em; }
  .brand-caption { font-size: 7px; letter-spacing: .19em; margin-top: 1px; }
  .brand { gap: 8px; }
  .header-nav { gap: 19px; margin-top: -9px; }
  .header-nav > button { font-size: 10px; }
  .header-nav > button[data-action="about"] { display: none; }
  .header-nav .nav-arrow { display: none; }
  .render-toggle { min-width: 20px; gap: 0; }
  .render-toggle svg { width: 19px; height: 19px; }
  #mode-label { display: none; }
  .scene-shade { background: linear-gradient(180deg, rgba(0,0,0,.45), transparent 18%, transparent 40%, rgba(0,0,0,.6) 70%, rgba(0,0,0,.9)); }
  body:is([data-view="gallery"], [data-view="park"]) .scene-shade { background: linear-gradient(180deg, rgba(0,0,0,.5), transparent 25%, transparent 70%, rgba(0,0,0,.55)); }
  .exterior-intro { bottom: 126px; width: calc(100vw - 46px); max-width: none; }
  .exterior-intro .eyebrow { font-size: 8px; letter-spacing: .13em; gap: 9px; }
  .exterior-intro h1 { font-size: clamp(53px, 14.3vw, 77px); line-height: .98; margin: 18px 0 15px; }
  .intro-description { font-size: 11px; line-height: 1.65; max-width: 230px; }
  .intro-description br { display: none; }
  .intro-actions { flex-direction: row; align-items: center; gap: 21px; margin-top: 22px; }
  .primary-action { min-height: 45px; font-size: 11px; padding: 0; gap: 25px; }
  .intro-actions .text-action { font-size: 10px; max-width: 85px; line-height: 1.5; }
  .experience-footer { left: 23px; right: 23px; bottom: max(10px, env(safe-area-inset-bottom)); }
  .exterior-footer { gap: 15px; }
  .footer-credit { display: none; }
  .interaction-hint { font-size: 8px; gap: 8px; }
  .interaction-hint svg { width: 12px; height: 12px; }
  .interaction-hint .hint-divider { display: none; }
  .tour-action { font-size: 9px; gap: 11px; white-space: nowrap; }
  .floor-info { top: max(96px, calc(env(safe-area-inset-top) + 72px)); width: min(325px, calc(100vw - 46px)); max-width: none; }
  .floor-info .eyebrow { font-size: 8px; letter-spacing: .08em; gap: 8px; }
  .floor-info .eyebrow-separator { width: 17px; }
  .floor-info h1 { font-size: clamp(23px, 6vw, 28px); margin: 7px 0; }
  .floor-caption-heading { gap: 9px; }
  .floor-help { width: 40px; height: 44px; }
  .walk-controls { bottom: max(132px, calc(env(safe-area-inset-bottom) + 115px)); }
  .walk-hint { left: auto; right: var(--gutter); bottom: max(143px, calc(env(safe-area-inset-bottom) + 126px)); transform: none; width: min(160px, calc(100vw - 165px)); font-size: 9px; line-height: 1.9; white-space: normal; text-align: right; }
  .walk-hint .hint-divider { display: block; height: 2px; visibility: hidden; }
  .art-prompt { left: auto; right: var(--gutter); bottom: max(117px, calc(env(safe-area-inset-bottom) + 100px)); transform: none; font-size: 9px; text-align: right; width: min(160px, calc(100vw - 165px)); }
  .gallery-toolbar { gap: 6px; }
  .navigation-tools { gap: 10px; }
  .toolbar-back { justify-content: flex-start; width: 36px; flex-shrink: 0; }
  .toolbar-back span { display: none; }
  .toolbar-back svg { width: 15px; }
  .elevator-action { gap: 7px; font-size: 10px; }
  .elevator-action svg { width: 16px; height: 16px; }
  .artwork-navigation { gap: 1px; }
  .artwork-navigation > .icon-action { display: none; }
  .view-artwork { font-size: 10px; gap: 8px; min-width: 96px; }
  .view-artwork svg { width: 12px; height: 12px; }
  .toolbar-options { gap: 0; }
  .toolbar-options .icon-action { width: 44px; }
  .toast { bottom: 115px; font-size: 10px; width: max-content; }
  .loading-brand { font-size: 27px; }
  .loading-brand span { font-size: 8px; }
  .dialog-topbar { padding: 16px 21px; }
  .dialog-brand { font-size: 16px; }
  .close-button { gap: 13px; }
  .catalog-dialog { padding: 0 22px 25px; }
  .catalog-dialog .dialog-topbar { padding-top: max(17px, env(safe-area-inset-top)); }
  .catalog-heading { padding: 28px 0 24px; }
  .catalog-heading .eyebrow { font-size: 8px; }
  .catalog-heading h2 { font-size: 46px; margin-top: 12px; }
  .catalog-heading > p { display: none; }
  .catalog-tools { flex-wrap: wrap; gap: 8px 15px; padding: 8px 0 17px; margin-bottom: 25px; }
  .search-field { width: calc(55% - 8px); min-width: 0; gap: 7px; }
  .search-field input { font-size: 16px; }
  .filter-field { width: calc(45% - 8px); min-width: 0; }
  .filter-field select { font-size: 16px; padding-right: 20px; }
  .catalog-status { width: 100%; font-size: 9px; margin: 0; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px 15px; padding-bottom: 25px; }
  .catalog-grid img { padding: 8px; }
  .catalog-grid h3, .catalog-grid .art-card-title, .catalog-grid .card-title { font-size: 11px; margin-top: 11px; }
  .catalog-grid p, .catalog-grid .art-card-collection, .catalog-grid .card-collection { font-size: 8px; }
  .catalog-footnote { font-size: 8px; }
  .art-dialog { width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; }
  .art-dialog .dialog-topbar { padding-top: max(17px, env(safe-area-inset-top)); }
  .art-detail-layout { display: flex; flex-direction: column; gap: 24px; padding: 0 22px 35px; height: auto; min-height: auto; }
  .art-stage { height: 50dvh; min-height: 240px; }
  .art-meta { display: block; padding: 0 0 12px; }
  .art-meta .eyebrow { font-size: 8px; }
  .art-meta h2 { font-size: 31px; margin: 12px 0; }
  .art-artist { font-size: 10px; }
  .art-artist span { display: inline; font-size: 9px; margin-left: 14px; }
  .art-description { font-size: 11px; margin: 20px 0 12px; }
  .source-link { font-size: 10px; margin: 2px 0 5px; }
  .art-meta > .text-action, .art-meta > .source-link { display: flex; width: fit-content; min-height: 44px; }
  .art-detail-nav { margin-top: 7px; justify-content: space-between; }
  .about-dialog { width: 100%; max-height: 100dvh; margin: auto; }
  .about-content { padding: 25px 25px 45px; }
  .about-content .eyebrow { font-size: 8px; }
  .about-content h2 { font-size: 45px; margin: 22px 0 30px; }
  .about-copy p { font-size: 12px; line-height: 1.8; }
  .guide-dialog, .elevator-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
  .guide-content, .elevator-dialog .guide-content { padding: 18px 23px 30px; }
  .guide-content .eyebrow { font-size: 8px; }
  .guide-content h2 { font-size: 35px; margin: 14px 0 17px; }
  .guide-intro { font-size: 11px; }
  .control-guide { margin: 24px 0 18px; }
  .control-guide > div { grid-template-columns: .85fr 1.15fr; gap: 17px; min-height: 56px; }
  .control-guide dt, .control-guide dd { font-size: 10px; }
  .elevator-floors { margin-top: 24px; }
  .elevator-floors button { min-height: 53px; gap: 18px; font-size: 12px; }
  .elevator-floors small { font-size: 9px; }
  .webgl-fallback { padding: 28px; }
  .webgl-fallback h2 { font-size: 35px; }
}

@media (max-width: 390px) {
  :root { --gutter: 20px; }
  .site-header { gap: 12px; }
  .header-nav { gap: 13px; }
  .brand-name { font-size: 18px; }
  .brand-caption { font-size: 6px; }
  .intro-actions { gap: 17px; }
  .primary-action { gap: 18px; padding: 0; }
  .toolbar-back span { display: none; }
  .toolbar-back { width: 28px; }
  .navigation-tools { gap: 6px; }
  .view-artwork { min-width: 89px; font-size: 9px; }
  .toolbar-options .icon-action { width: 44px; }
}

@media (max-width: 350px) {
  .gallery-toolbar { gap: 4px; }
  .navigation-tools .toolbar-back { display: none; }
  .navigation-tools { flex: 0 0 76px; }
  .elevator-action { width: 76px; min-height: 44px; }
  .view-artwork { width: 100px; min-width: 100px; min-height: 44px; }
  .toolbar-options { flex: 0 0 88px; }
  .toolbar-options .icon-action { width: 44px; height: 44px; flex-shrink: 0; }
}

@media (pointer: coarse), (max-width: 700px) {
  body:is([data-view="gallery"], [data-view="park"]):not(.fallback) .walk-controls.is-active { display: block; }
  .desktop-instruction, .control-guide > .desktop-guide, .control-guide dt > .key-alternative.desktop-instruction { display: none; }
  .touch-instruction { display: inline; }
  .control-guide > .touch-guide { display: grid; }
}

@media (max-height: 620px) and (min-width: 701px) {
  .site-header { padding-top: 18px; }
  .exterior-intro { bottom: 85px; }
  .exterior-intro h1 { font-size: 61px; margin: 17px 0 12px; }
  .intro-actions { flex-direction: row; margin-top: 20px; }
  .floor-info { top: 96px; }
  .floor-info h1 { font-size: 25px; }
  .walk-hint { bottom: 75px; }
  .art-prompt { bottom: 99px; }
}

@media (max-height: 600px) and (pointer: coarse), (max-height: 600px) and (max-width: 700px) {
  .walk-controls { width: 88px; bottom: max(115px, calc(env(safe-area-inset-bottom) + 98px)); }
  .move-pad { width: 88px; height: 88px; }
  .move-pad::before { height: 11px; box-shadow: 0 59px 0 rgba(255,255,255,.42); }
  .move-pad::after { width: 11px; box-shadow: 59px 0 0 rgba(255,255,255,.42); }
  .move-pad-label { margin-top: 7px; font-size: 7px; }
}

@media (max-height: 450px) and (min-width: 600px) {
  .floor-info { top: 82px; display: flex; align-items: center; gap: 20px; width: auto; max-width: calc(100vw - 190px); }
  .floor-info > .eyebrow { display: none; }
  .floor-info h1 { font-size: 22px; margin: 4px 0; }
  .floor-help { width: 34px; height: 36px; }
  .walk-hint { bottom: 76px; }
  .art-prompt { bottom: 98px; }
}

/* Quiet, readable controls shared by the galleries and botanical park. */
.arrow-icon { width: 18px; height: 18px; display: inline-block; vertical-align: middle; }
.nav-arrow, .elevator-arrow { display: inline-flex; align-items: center; }
.elevator-arrow { margin-left: auto; padding-left: 10px; }
.header-nav > button[data-action="collections"] { display: inline-flex; align-items: center; gap: 7px; }
.primary-action > span, .text-action > span { display: inline-flex; align-items: center; }
.label-short { display: none; }
body:not([data-view="park"]) .park-only { display: none; }
body[data-view="park"] .park-only { display: inline-flex; }
body[data-view="park"] .gallery-only { display: none; }
body:is([data-view="gallery"], [data-view="park"]) .scene-shade { background: none; }
body:is([data-view="gallery"], [data-view="park"]) .site-header { background: rgba(8,11,12,.88); padding-top: 20px; padding-bottom: 20px; }
body:is([data-view="gallery"], [data-view="park"]) .floor-info { top: 112px; width: fit-content; padding: 12px 16px 9px; background: rgba(8,11,12,.88); }
.floor-info h1 { margin-bottom: 4px; }
.floor-info .eyebrow { color: #c4c9c8; font-size: 9px; }
.floor-info .floor-help { color: #c4c9c8; }
.gallery-toolbar { max-width: 980px; margin: 0 auto; min-height: 58px; padding: 7px 18px; background: rgba(8,11,12,.92); gap: 20px; }
.gallery-toolbar button { color: #f4f4f0; }
.navigation-tools { gap: 0; }
.toolbar-action { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 44px; min-height: 44px; padding: 0 7px; font-size: 11px; white-space: nowrap; }
.toolbar-action svg { width: 18px; height: 18px; }
.elevator-action { min-height: 44px; font-size: 11px; }
.toolbar-options { gap: 13px; }
.view-artwork { font-size: 11px; min-width: 100px; gap: 10px; }
.move-pad { background: rgba(8,11,12,.78); box-shadow: none; }
.move-knob { box-shadow: none; }
.move-pad-label { display: none; }
.walk-hint { padding: 9px 12px; background: rgba(8,11,12,.88); transition: opacity .4s, visibility .4s; }
body.has-walked .walk-hint { opacity: 0; visibility: hidden; }
body[data-view="park"] .art-prompt { display: none; }
.guide-shortcuts { display: flex; gap: 20px; flex-wrap: wrap; margin: 5px 0 20px; }
.guide-shortcuts .text-action { font-size: 11px; }
.elevator-park { margin-top: 20px; width: 100%; }
.close-button { min-width: 74px; justify-content: flex-end; }
.close-button:focus-visible { outline-offset: 3px; }
.catalog-grid .image-wrap { position: relative; background: #161919; }
.thumbnail-status { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #a7acab; font-size: 10px; letter-spacing: .025em; padding: 15px; }
.image-wrap[data-state="loading"]::after { content: ""; position: absolute; left: 30%; right: 30%; top: calc(50% + 18px); height: 1px; background: #737c78; animation: thumbnail-wait 1.8s ease-in-out infinite; }
.catalog-grid .image-wrap img { opacity: 0; }
.catalog-grid .image-wrap[data-state="loaded"] img { opacity: 1; }
.image-wrap[data-state="loaded"] .thumbnail-status { display: none; }
.image-wrap[data-state="error"] { background: #181818; }
.arrival-veil { position: fixed; inset: 0; pointer-events: none; z-index: 2; background: #101614; opacity: 0; }
body.is-arriving .arrival-veil { animation: arrival-reveal .44s ease-out both; }
@keyframes arrival-reveal { from { opacity: .8; } to { opacity: 0; } }
@keyframes thumbnail-wait { 0%, 100% { transform: scaleX(.35); opacity: .5; } 50% { transform: scaleX(1); opacity: 1; } }

@media (max-width: 700px) {
  body:is([data-view="gallery"], [data-view="park"]) .site-header { padding: max(15px, env(safe-area-inset-top)) 20px 13px; align-items: center; }
  body:is([data-view="gallery"], [data-view="park"]) .brand-caption { display: none; }
  body:is([data-view="gallery"], [data-view="park"]) .header-nav { margin-top: 0; gap: 16px; }
  body:is([data-view="gallery"], [data-view="park"]) .brand-name { font-size: 19px; }
  body:is([data-view="gallery"], [data-view="park"]) .floor-info { top: max(87px, calc(env(safe-area-inset-top) + 72px)); left: 20px; max-width: calc(100vw - 40px); padding: 9px 13px 7px; }
  body:is([data-view="gallery"], [data-view="park"]) .floor-info h1 { font-size: clamp(21px, 5.6vw, 25px); }
  .floor-info .eyebrow { font-size: 8px; }
  body:is([data-view="gallery"], [data-view="park"]) .experience-footer { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .gallery-toolbar { gap: 4px; padding: 5px 8px; min-height: 58px; }
  .gallery-toolbar .navigation-tools { flex: 1 1 auto; min-width: 0; }
  .gallery-toolbar .elevator-action { width: 100%; gap: 6px; justify-content: flex-start; padding: 0 6px; font-size: 12px; white-space: nowrap; }
  .gallery-toolbar .elevator-action .label-full { display: none; }
  .gallery-toolbar .elevator-action .label-short { display: inline; }
  .gallery-toolbar .elevator-action svg { width: 16px; height: 16px; }
  .gallery-toolbar .artwork-navigation { flex: 0 0 auto; gap: 0; }
  .gallery-toolbar .artwork-navigation > .icon-action { display: none; }
  .gallery-toolbar .view-artwork { min-width: 70px; padding: 0 5px; gap: 6px; font-size: 12px; }
  .gallery-toolbar .view-artwork svg { display: none; }
  .gallery-toolbar .toolbar-options { flex: 0 0 auto; gap: 3px; }
  .gallery-toolbar .toolbar-action { flex-direction: column; gap: 4px; min-width: 50px; min-height: 46px; padding: 3px 5px; font-size: 10px; }
  .gallery-toolbar .toolbar-action svg { width: 16px; height: 16px; }
  body[data-view="park"] .gallery-toolbar { justify-content: space-between; }
  body[data-view="park"] .gallery-toolbar .navigation-tools { flex: 0 1 auto; }
  body[data-view="park"] .gallery-toolbar .toolbar-action { min-width: 75px; flex-direction: row; gap: 7px; font-size: 10px; }
  .walk-controls { left: 20px; bottom: max(88px, calc(env(safe-area-inset-bottom) + 76px)); width: 100px; }
  .move-pad { width: 100px; height: 100px; }
  .move-pad::before { height: 13px; box-shadow: 0 69px 0 rgba(255,255,255,.42); }
  .move-pad::after { width: 13px; box-shadow: 69px 0 0 rgba(255,255,255,.42); }
  .walk-hint { bottom: max(100px, calc(env(safe-area-inset-bottom) + 88px)); right: 20px; width: min(160px, calc(100vw - 155px)); font-size: 10px; }
  .toast { bottom: max(92px, calc(env(safe-area-inset-bottom) + 80px)); max-width: calc(100vw - 40px); }
  .tour-stop { top: max(87px, calc(env(safe-area-inset-top) + 72px)); right: 20px; }
  .render-toggle { min-width: 44px; justify-content: center; }
  .header-nav .nav-arrow { display: none; }
  .intro-actions { gap: 20px; }
  .intro-actions .text-action { max-width: none; gap: 9px; }
  .intro-actions .text-action .arrow-icon { width: 15px; height: 15px; }
  .dialog-topbar { padding-top: max(17px, env(safe-area-inset-top)); }
  .guide-dialog, .about-dialog { padding-bottom: env(safe-area-inset-bottom); }
  .catalog-grid .thumbnail-status { font-size: 9px; }
}

@media (max-height: 500px) {
  body:is([data-view="gallery"], [data-view="park"]) .site-header { padding: 8px max(20px, calc(env(safe-area-inset-right) + 12px)) 8px max(20px, calc(env(safe-area-inset-left) + 12px)); }
  body:is([data-view="gallery"], [data-view="park"]) .brand-caption { display: none; }
  body:is([data-view="gallery"], [data-view="park"]) .floor-info { top: 72px; left: max(20px, calc(env(safe-area-inset-left) + 12px)); padding: 6px 12px; }
  body:is([data-view="gallery"], [data-view="park"]) .experience-footer { left: max(12px, calc(env(safe-area-inset-left) + 8px)); right: max(12px, calc(env(safe-area-inset-right) + 8px)); bottom: max(10px, env(safe-area-inset-bottom)); }
  .walk-controls { width: 88px; left: max(20px, calc(env(safe-area-inset-left) + 12px)); bottom: max(88px, calc(env(safe-area-inset-bottom) + 76px)); }
  .move-pad { width: 88px; height: 88px; }
  .move-pad::before { height: 11px; box-shadow: 0 59px 0 rgba(255,255,255,.42); }
  .move-pad::after { width: 11px; box-shadow: 59px 0 0 rgba(255,255,255,.42); }
  .walk-hint { bottom: max(81px, calc(env(safe-area-inset-bottom) + 75px)); }
}

@media (pointer: coarse), (max-width: 700px) {
  body[data-view="park"]:not(.fallback) .walk-controls.is-active { display: block; }
}

@media (max-height: 520px) and (pointer: coarse) {
  body:is([data-view="gallery"], [data-view="park"]) .site-header { padding-top: 9px; padding-bottom: 9px; }
  body:is([data-view="gallery"], [data-view="park"]) .floor-info { top: 72px; max-width: calc(100vw - 205px); padding: 5px 12px; }
  .floor-info .eyebrow { display: none; }
  .floor-info h1 { font-size: 21px; }
  .walk-controls { bottom: max(82px, calc(env(safe-area-inset-bottom) + 66px)); width: 84px; }
  .move-pad { width: 84px; height: 84px; }
  .move-pad::before { height: 10px; box-shadow: 0 56px 0 rgba(255,255,255,.42); }
  .move-pad::after { width: 10px; box-shadow: 56px 0 0 rgba(255,255,255,.42); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Lighting remains separate from the architectural Glass / LiDAR view. */
.lighting-toggle { display: inline-flex; align-items: center; gap: 8px; min-width: 72px; }
.lighting-toggle svg { width: 18px; height: 18px; }
body[data-lighting="night"] .sun-icon, body[data-lighting="day"] .moon-icon { display: none; }
body[data-lighting="night"] .scene-shade { background: linear-gradient(180deg, rgba(0,0,0,.3), transparent 24%, transparent 78%, rgba(0,0,0,.42)), linear-gradient(90deg, rgba(0,0,0,.38), transparent 48%); }
body[data-lighting="night"]:is([data-view="gallery"], [data-view="park"]) .scene-shade { background: linear-gradient(180deg, rgba(0,0,0,.28), transparent 24%, transparent 82%, rgba(0,0,0,.35)); }
@media (max-width: 700px) {
  .lighting-toggle { min-width: 44px; justify-content: center; }
  #lighting-label { display: none; }
  .header-nav, body:is([data-view="gallery"], [data-view="park"]) .header-nav { gap: 6px; }
  .site-header { gap: 12px; }
  .exterior-footer .elevator-action { font-size: 10px; gap: 7px; }
}
@media (max-width: 380px) {
  .site-header, body:is([data-view="gallery"], [data-view="park"]) .site-header { padding-left: 16px; padding-right: 16px; }
  .brand-name, body:is([data-view="gallery"], [data-view="park"]) .brand-name { font-size: 16px; letter-spacing: .16em; }
  .brand-caption { font-size: 7px; letter-spacing: .18em; }
}

.art-location { color: #c6c6bf; font-size: 11px; line-height: 1.65; margin: 18px 0 0; }

/* Optional soundtrack: one visible player, independent of scene navigation. */
.music-dock { position: fixed; z-index: 20; top: 108px; right: var(--gutter); }
body:not(.ready) .music-dock { visibility: hidden; }
.music-toggle { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 15px; border: 0; background: transparent; font-size: 11px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.7)); }
.music-toggle svg { width: 16px; height: 16px; }
.music-toggle.is-playing { color: #fff; }
.music-panel { position: absolute; top: 54px; right: 0; width: 360px; border: 0; background: rgba(8,11,12,.88); box-shadow: none; }
.music-heading { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 6px 16px; gap: 10px; }
.music-heading .icon-action { flex-shrink: 0; }
.music-expand-icon { display: none; }
.music-track-label { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.music-track-label > span { color: #979c9d; font-size: 9px; letter-spacing: .06em; }
.music-track-label select { min-height: 31px; width: 100%; color: #eee; border: 0; background: transparent; font-size: 12px; padding: 3px 14px 3px 0; }
.music-track-label select option { background: #0c1011; }
.music-frame { width: 100%; height: 202px; min-width: 200px; min-height: 200px; background: #000; }
.music-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.music-frame:empty { display: grid; place-items: center; }
.music-frame:empty::before { content: "YouTube playlist"; color: #777; font-size: 12px; }
.music-controls { display: flex; align-items: center; gap: 3px; padding: 4px 10px; }
.music-controls .icon-action { flex: 0 0 38px; width: 38px; }
.music-pause-icon, .music-controls .is-playing .music-play-icon { display: none; }
.music-controls .is-playing .music-pause-icon { display: block; }
.music-volume { display: flex; gap: 9px; align-items: center; flex: 1; min-width: 0; padding: 0 9px; }
.music-volume svg { width: 15px; height: 15px; color: #aab0b0; }
.music-volume input { width: 100%; min-width: 36px; height: 30px; accent-color: #e2e5e5; cursor: pointer; }
.music-source { display: flex; gap: 5px; align-items: center; min-height: 44px; font-size: 9px; color: #b6babb; }
.music-source .arrow-icon { width: 12px; height: 12px; }
.music-status { margin: 0; padding: 0 15px 13px; min-height: 28px; color: #9ba2a3; font-size: 10px; line-height: 1.5; }
.music-retry { margin: 0 15px 13px; padding: 9px 12px; min-height: 44px; border: 1px solid var(--line); font-size: 11px; }
.music-panel :focus-visible { outline-offset: 2px; }
.tour-stop { right: calc(var(--gutter) + 104px); }
@media (max-width: 700px) {
  .music-dock { top: max(87px, calc(env(safe-area-inset-top) + 70px)); right: 16px; }
  .music-toggle { padding: 0 11px; gap: 7px; font-size: 10px; }
  .music-panel { width: min(360px, calc(100vw - 32px)); top: 50px; }
  body:is([data-view="gallery"], [data-view="park"]) .floor-info { max-width: calc(100vw - 126px); }
}
@media (max-width: 700px) and (max-height: 720px) {
  .music-dock.is-open { top: 72px; }
  .music-dock.is-open .music-toggle { display: none; }
  .music-panel { top: 0; }
}
@media (max-height: 480px) {
  .music-dock.is-open { top: 8px; }
  .music-dock.is-open .music-toggle { display: none; }
  .music-panel { top: 0; }
  .music-heading { height: 44px; padding-top: 0; padding-bottom: 0; }
  .music-track-label > span { display: none; }
  .music-controls { padding-top: 0; padding-bottom: 0; }
  .music-status { min-height: 20px; padding: 0 12px 5px; font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* Bare minimum-size video; small controls sit beside it, never over it. */
.music-dock.is-open.is-compact { top: auto; bottom: max(92px, calc(env(safe-area-inset-bottom) + 80px)); }
.music-dock.is-compact .music-toggle { display: none; }
.music-dock.is-compact:not(.is-open) .music-toggle { display: flex; }
.music-dock.is-compact .music-panel { position: relative; top: auto; right: auto; width: 200px; background: transparent; }
.music-dock.is-compact .music-heading { position: absolute; top: 0; right: calc(100% + 4px); width: 32px; height: auto; flex-direction: column; gap: 0; padding: 0; background: transparent; }
.music-dock.is-compact .music-heading .icon-action { width: 32px; height: 32px; background: transparent; color: #c9cecf; filter: drop-shadow(0 1px 2px rgba(0,0,0,.75)); }
.music-dock.is-compact .music-heading .icon-action:hover { color: #fff; }
.music-dock.is-compact .music-heading svg { width: 15px; height: 15px; }
.music-dock.is-compact .music-track-label, .music-dock.is-compact .music-volume, .music-dock.is-compact .music-minimize-icon { display: none; }
.music-dock.is-compact .music-expand-icon { display: block; }
.music-dock.is-compact .music-frame { height: 200px; }
.music-dock.is-compact .music-frame:empty { background: transparent; }
.music-dock.is-compact .music-controls { display: none; }
.music-dock.is-compact .music-status { position: absolute; width: 1px; height: 1px; min-height: 0; overflow: hidden; clip-path: inset(50%); padding: 0; white-space: nowrap; }
@media (max-width: 700px) {
  .music-dock.is-open.is-compact { right: 12px; }
}
@media (max-width: 350px) {
  .music-dock.is-open.is-compact { right: 4px; }
  body:has(.music-dock.is-open.is-compact) .walk-controls { left: 12px; }
}
@media (max-height: 400px) {
  .music-dock.is-open.is-compact { bottom: max(70px, calc(env(safe-area-inset-bottom) + 58px)); }
}

/* Artwork inspection and the shared floor/park map. */
.art-top-actions { display: flex; align-items: center; gap: 22px; }
.art-top-actions > button { min-height: 44px; font-size: 12px; }
.art-top-actions [aria-pressed="true"] { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.art-stage { display: grid; grid-template-rows: minmax(0,1fr) auto auto; overflow: hidden; align-items: stretch; justify-content: stretch; }
.art-viewport { position: relative; min-height: 0; overflow: hidden; touch-action: none; user-select: none; cursor: zoom-in; }
.art-viewport[data-zoomed="true"] { cursor: grab; }
.art-viewport[data-zoomed="true"]:active { cursor: grabbing; }
.art-viewport:focus-visible { outline: 1px solid #777; outline-offset: -2px; }
#art-image { position: absolute; left: 50%; top: 50%; max-width: none; max-height: none; transform-origin: center; pointer-events: none; user-select: none; }
.art-viewer-tools { display: flex; align-items: center; gap: 5px; padding: 4px 8px; background: #080808; }
.art-viewer-tools button { flex-shrink: 0; min-width: 40px; min-height: 44px; }
.art-viewer-tools .viewer-fit { font-size: 11px; }
#art-zoom-status { width: 38px; text-align: center; font-size: 10px; color: #bbb; font-variant-numeric: tabular-nums; }
.viewer-spacer { flex: 1; }
.viewer-hint { font-size: 10px; color: #999; margin: 0; padding: 0 8px 10px; text-align: center; }
.art-focus .art-detail-layout { grid-template-columns: 1fr; height: calc(100% - 96px); min-height: 0; }
.art-focus .art-stage { height: 100%; min-height: 0; }
.map-dialog { width: min(1120px, calc(100vw - 36px)); max-height: calc(100dvh - 36px); padding: 0; overflow: auto; }
.map-content { padding: 12px 40px 32px; }
.map-content h2 { font-family: var(--serif); font-size: clamp(34px,5vw,56px); font-weight: 400; letter-spacing: -.035em; margin: 12px 0 22px; }
.map-tools { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 12px; }
.map-tools select { min-height: 44px; background: #151515; border: 0; color: #eee; max-width: 100%; padding: 0 10px; }
.map-tools .text-action { font-size: 12px; min-height: 44px; }
.map-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(240px,1fr); gap: 30px; align-items: start; }
.visitor-map { width: 100%; max-height: 58dvh; display: block; overflow: visible; }
.map-status,.map-note { font-size: 12px; line-height: 1.6; color: #aaa; }
.map-destinations { display: flex; flex-direction: column; max-height: 58dvh; overflow-y: auto; }
.map-destination { display: flex; align-items: center; gap: 16px; text-align: left; min-height: 44px; padding: 8px 6px; font-size: 12px; }
.map-destination > span:first-child { color: #999; min-width: 20px; font-variant-numeric: tabular-nums; }
.map-destination:hover, .map-destination:focus-visible { color: #fff; background: #1c1c1c; }
.map-enter { padding: 8px 6px; margin-bottom: 8px; font-size: 12px; }
.map-path { fill: #333c35; }
.map-planting { fill: #303a31; stroke: #687768; stroke-width: 1; }
.map-water { fill: #283b42; stroke: #70868a; stroke-width: 1; }
.map-building { fill: #171b1d; stroke: #9aa6a9; stroke-width: .5; }
.map-art { fill: #aaa; }
.map-marker { cursor: pointer; outline: none; }
.map-marker circle { fill: #101415; stroke: #b8c3c4; stroke-width: .7; }
.map-marker text,.map-caption,.map-you-label { fill: #ddd; text-anchor: middle; dominant-baseline: middle; font-family: var(--font); pointer-events: none; }
.map-marker:hover circle,.map-marker:focus circle { fill: #ddd; }
.map-marker:hover text,.map-marker:focus text { fill: #111; }
.map-you { fill: #fff; stroke: #131818; stroke-width: 1; pointer-events: none; }
.map-you-label { fill: #fff; paint-order: stroke; stroke: #111; stroke-width: .6; }
@media(max-width:700px){
  .art-dialog .dialog-topbar { gap: 8px; padding-left: 16px; padding-right: 16px; }
  .art-dialog .dialog-brand { display: none; }
  .art-top-actions { width: 100%; justify-content: space-between; gap: 12px; }
  .art-top-actions > button { font-size: 11px; }
  .art-detail-layout { padding: 0 12px 24px; }
  .art-stage { height: 56dvh; min-height: 260px; }
  .art-focus .art-detail-layout { height: calc(100dvh - 90px); padding-bottom: max(10px,env(safe-area-inset-bottom)); }
  .art-focus .art-stage { flex: 1; }
  .art-viewer-tools { gap: 2px; padding-left: 0; padding-right: 0; }
  .art-viewer-tools button { min-width: 36px; }
  .art-viewer-tools #art-position { min-width: 42px; }
  .map-dialog { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; }
  .map-content { padding: 4px 20px 28px; }
  .map-layout { grid-template-columns: 1fr; gap: 16px; }
  .visitor-map { max-height: 48dvh; }
  .map-destinations { max-height: none; }
  .map-tools { gap: 6px 18px; }
  .map-tools label { display: none; }
  .map-tools select { flex: 1 0 100%; width: 100%; min-width: 0; font-size: 16px; }
}
@media(max-width:360px){
  .art-viewer-tools button { width: 36px; }
}
