*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;color:#171918;background:#f8f8f5;font-weight:400}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;border:0;background:none;cursor:pointer;padding:0}button:hover,a:hover{opacity:.55}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:1px solid #222;outline-offset:6px}.rail{position:absolute;inset:0 auto 0 0;width:15.75%;min-width:185px;background:#fafaf8;z-index:2;padding:5.3vh 3.1vw;display:flex;flex-direction:column}.wordmark{color:inherit;text-decoration:none;white-space:nowrap;font-size:13px;font-weight:500;letter-spacing:2px}.rail p{font-size:14px;line-height:1.45;color:#777b78;margin:20px 0}.rail nav{margin-top:auto;display:flex;align-items:start;flex-direction:column;gap:19px;font-size:14px}.edition{font-size:8px;letter-spacing:1.25px;color:#979b96;margin-top:36px;white-space:nowrap}main{position:absolute;inset:0 0 0 max(15.75%,185px);overflow:hidden}canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}canvas:active{cursor:grabbing}.top-note{position:absolute;top:30px;right:34px;font-size:9px;letter-spacing:1.6px;color:#626761;pointer-events:none}.caption{position:absolute;left:41%;bottom:6%;pointer-events:none}.caption h1{font-weight:400;font-size:clamp(24px,2.45vw,38px);letter-spacing:-1.1px;margin:0 0 5px}.caption p{color:#777b77;font-size:16px;margin:0 0 20px}.caption button{pointer-events:auto;font-size:15px;padding-bottom:7px;border-bottom:1px solid #7d817a}.caption button span{margin-left:18px}.room-nav{position:absolute;right:34px;bottom:6%;display:flex;align-items:center;gap:24px;font-size:11px}.room-nav span{font-family:monospace;border-bottom:1px solid #282b26;padding:9px 0}.room-nav button{min-height:44px}.hint{position:absolute;bottom:24px;left:32px;font-size:10px;color:#696e67;letter-spacing:.2px;pointer-events:none}.loading{position:absolute;inset:0;display:grid;place-items:center;background:#f4f4ef;color:#777;font-size:12px;letter-spacing:1px}.loading[hidden],[hidden]{display:none!important}#fallback{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#f4f4ef;padding:40px}#fallback h2{font-weight:400}#fallback button{border-bottom:1px solid;padding-bottom:5px}dialog{border:1px solid #e5e5de;padding:34px;width:min(540px,calc(100% - 40px));background:#fafaf7;color:#252823}dialog::backdrop{background:#e8e8e255;backdrop-filter:blur(12px)}.dialog-head{display:flex;justify-content:space-between;font-size:10px;letter-spacing:1px}.dialog-head button{font-size:12px;letter-spacing:0;padding:6px}dialog h2{font-size:30px;font-weight:400;letter-spacing:-1px;margin-top:40px}dialog p{font-size:14px;color:#74786f;line-height:1.6}#space-list{margin-top:30px}#space-list button{display:flex;align-items:center;width:100%;text-align:left;border-top:1px solid #ddd;padding:20px 0;font-size:20px}#space-list span{width:50px;color:#85897f;font-size:12px}dialog label{display:flex;gap:10px;font-size:13px;margin:25px 0}input{accent-color:#333}@media(max-width:760px){.rail{inset:0 0 auto;width:100%;height:94px;min-width:0;padding:25px 23px;flex-direction:row;align-items:start;justify-content:space-between}.wordmark{font-size:11px;letter-spacing:1.6px}.rail p{font-size:10px;margin:9px 0;line-height:1.2}.rail p br{display:none}.rail nav{margin:0;flex-direction:row;font-size:12px}.rail nav #help-toggle,.rail nav #reset,.edition{display:none}main{inset:94px 0 0}.top-note{top:18px;right:20px;font-size:7px;letter-spacing:1px}.caption{left:24px;bottom:76px}.caption h1{font-size:29px}.caption p{font-size:12px;margin-bottom:13px}.caption button{font-size:13px}.room-nav{right:22px;bottom:17px;gap:20px}.hint{left:24px;bottom:24px;font-size:9px;max-width:140px}.caption h1{letter-spacing:-.7px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

/* Project reading layer keeps the gallery view intact underneath. */
#room-number,#position{display:none}.caption-actions{display:flex;gap:24px;align-items:center}.caption-actions #next{border:0;color:#626761;font-size:12px}.caption{left:35%;bottom:9%}.room-nav{bottom:3.5%}
#project-dialog{position:fixed;inset:0 0 0 auto;margin:0;height:100dvh;max-height:100dvh;width:min(660px,75vw);max-width:100vw;padding:0;border:0;border-left:1px solid #deded7;overflow-y:auto;overscroll-behavior:contain;box-shadow:-20px 0 80px #20251b12}
#project-dialog::backdrop{background:#20251b28;backdrop-filter:blur(3px)}.project-sticky{position:sticky;top:0;z-index:1;padding:24px 36px;display:flex;justify-content:space-between;align-items:center;background:#fafaf7f5;border-bottom:1px solid #e3e3dd;font-size:9px;letter-spacing:1px}.project-sticky button{font-size:12px;letter-spacing:0;min-height:36px}.project-body{padding:40px 44px 56px}.project-kicker{letter-spacing:1.5px;font-size:10px!important}.project-body h2{font-size:52px;line-height:1.05;margin:20px 0}.project-body .project-intro{font-size:20px;line-height:1.5;color:#333a32}.project-role{font-size:12px!important;border-top:1px solid #ddd;padding-top:18px;margin:28px 0!important}.project-body img{width:100%;height:auto;display:block;margin:28px 0 40px}.project-body section{margin:30px 0}.project-body h3{font-size:12px;font-weight:500;letter-spacing:.6px}.project-body section p{font-size:16px;color:#585f55}.project-return{border-bottom:1px solid;padding:14px 0;font-size:14px}
@media(max-width:760px){.caption{left:24px;bottom:86px}.caption-actions{gap:22px}.caption-actions #next{font-size:11px}.room-nav{bottom:17px}#project-dialog{inset:auto 0 0;width:100%;height:92dvh;max-height:92dvh;border-left:0;border-top:1px solid #ddd}.project-sticky{padding:12px 22px}.project-body{padding:24px}.project-body h2{font-size:40px}.project-body .project-intro{font-size:18px}}

.project-body .project-image-label{font-size:10px;letter-spacing:.5px;margin:-26px 0 36px;color:#767b73}

/* Quiet sky controls; geography stays at city level. */
.sky-toggle{position:absolute;top:22px;right:28px;min-height:44px;display:flex;align-items:center;gap:9px;font-size:10px;letter-spacing:.5px;color:#535d59;padding:0 8px;background:#fafaf744;border-radius:2px}.sky-dot{height:4px;width:4px;border-radius:50%;background:#667e71}.sky-separator{color:#969e98;margin:0 2px}.sky-toggle[data-mode="test"] .sky-dot{background:#aa7549}.sky-toggle[data-mode="off"] .sky-dot{background:#999}.sky-actions{display:flex;align-items:start;flex-direction:column;gap:20px;margin:30px 0}.sky-actions button{font-size:14px;border-bottom:1px solid #a8aca4;padding:8px 0}.sky-actions #sky-pause{border:0;font-size:12px;color:#737c72}.sky-footnote,.sky-credit p{font-size:11px!important}.sky-credit{margin-top:24px;border-top:1px solid #ddd;padding-top:18px;font-size:11px;color:#6e776c}.sky-credit summary{cursor:pointer}.sky-credit a{color:inherit;text-underline-offset:3px}#sky-test-notice{position:absolute;top:80px;right:36px;display:flex;align-items:flex-end;flex-direction:column;gap:12px;color:#5c6259;font-size:9px;letter-spacing:1px;background:#fafaf7cc;padding:14px}#sky-test-exit{min-height:32px;font-size:11px;letter-spacing:0;text-decoration:underline;text-underline-offset:5px}
@media(max-width:760px){.sky-toggle{top:10px;right:14px;font-size:9px}#sky-test-notice{top:61px;right:22px;max-width:240px}#sky-dialog{padding:24px;max-height:85dvh;overflow:auto}#sky-dialog h2{font-size:28px;margin-top:24px}}

#sky-dialog{max-height:88dvh;overflow:auto}.weather-controls{border-bottom:1px solid #ddd;padding-bottom:22px}.weather-choices{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.weather-choices button{border:1px solid #d4d9d2;padding:10px 12px;font-size:12px}.weather-choices button[aria-pressed="true"]{background:#e5eae3;border-color:#a6b1a3}.rain-audio{display:flex;align-items:center;justify-content:space-between;gap:16px}.rain-audio button{font-size:12px;min-height:44px}.rain-audio label{display:flex;align-items:center;gap:10px;font-size:10px;margin:0}.rain-audio input{width:100px}.sky-subhead{font-size:10px!important;letter-spacing:1px;margin-top:26px}.sky-subhead span{margin-left:10px;color:#899486;letter-spacing:0}#weather-preview-notice{position:absolute;top:80px;left:24px;padding:14px;background:#fafaf7cf;display:flex;align-items:start;flex-direction:column;gap:8px;color:#505f64;font-size:9px;letter-spacing:1px}#weather-preview-exit{min-height:32px;font-size:11px;letter-spacing:0;text-decoration:underline;text-underline-offset:5px}@media(max-width:760px){#weather-preview-notice{top:61px;left:18px;max-width:180px}#sky-test-notice{top:165px}.rain-audio{align-items:start;flex-direction:column;gap:6px}}

#rain-sound-quick{font-size:11px;letter-spacing:0;min-height:32px;text-decoration:underline;text-underline-offset:5px}

.night-view #gallery .caption,.night-view #gallery .room-nav{color:#edf0e9}
.night-view #gallery .caption p,.night-view #gallery .hint{color:#c4cbc0}
.night-view #gallery .caption button,.night-view #gallery .room-nav span{border-color:#cbd2c6}
.night-view #gallery .sky-toggle{background:#fafaf7e8;color:#37413a}

/* Locate and meet are separate actions, sharing the existing caption layout. */
.caption-actions{flex-wrap:wrap;row-gap:8px}
#pal-meet{font-size:13px}
#pal-find-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* IDKODA is a selected side room, outside the continuous work catalogue. */
.rail nav #idkoda-entry{color:inherit;text-decoration:none;font-size:inherit}
.rail nav #idkoda-entry[aria-current]{color:#a41535}
#idkoda-ui{position:absolute;inset:0;pointer-events:none;color:#30352f}
#idkoda-ui button,#idkoda-ui a{pointer-events:auto}
#idkoda-return{position:absolute;top:30px;left:32px;min-height:44px;font-size:12px;background:#f5f6efdf;padding:0 16px}
.idkoda-caption{position:absolute;left:32px;bottom:38px;max-width:430px;padding:22px 26px;background:#f5f6efeb}
.idkoda-caption .idkoda-eyebrow{font-size:9px;letter-spacing:1.6px;margin:0 0 14px;color:#6a7166}
.idkoda-caption h1{font-size:32px;font-weight:400;letter-spacing:3px;margin:0 0 10px}
.idkoda-caption p{font-size:12px;line-height:1.5;margin:0 0 18px}
.idkoda-caption a{display:inline-block;color:#8f1230;font-size:13px;text-underline-offset:5px;min-height:36px}
.idkoda-caption .idkoda-footnote{font-size:10px;color:#6a7166;margin:0}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body.idkoda-room #gallery>:not(canvas):not(#idkoda-ui){display:none!important}
body.idkoda-room .rail nav>:not(#idkoda-entry){display:none}
body.idkoda-room #scene{cursor:grab}
@media(max-width:760px){
 .rail{height:116px;padding:20px 23px;flex-wrap:wrap;align-content:space-between;gap:12px}
 .rail header{width:100%}.rail nav{width:100%;gap:22px;font-size:11px}.rail header p{margin:7px 0 0}
 main{top:116px}
 #idkoda-return{top:16px;left:18px;font-size:11px}
 .idkoda-caption{left:18px;right:18px;bottom:18px;padding:14px 17px;max-width:none}
 .idkoda-caption h1{font-size:23px;letter-spacing:2px;margin-bottom:6px}
 .idkoda-caption .idkoda-eyebrow{font-size:8px;margin-bottom:8px}
 .idkoda-caption p{font-size:11px;margin-bottom:10px}.idkoda-caption .idkoda-footnote{font-size:9px}
}
#idkoda-status{position:absolute;top:86px;left:32px;font-size:11px;background:#f5f6efde;padding:9px 12px;margin:0;max-width:310px}
#idkoda-ui:not([data-state="ready"]) .idkoda-caption{visibility:hidden;pointer-events:none}
#idkoda-ui:not([data-state="ready"]) .idkoda-caption a{pointer-events:none}
#idkoda-ui[data-state="ready"] #idkoda-status{display:none}
@media(max-width:760px){#idkoda-status{top:70px;left:18px;right:18px;font-size:10px;max-width:none}}

/* A spatial keyboard target: invisible at rest, labelled only on keyboard focus. */
.chair-entry{position:absolute;z-index:3;width:52px;height:60px;padding:0;background:transparent;border:0;transform:translate(-50%,-50%);cursor:pointer}
.chair-entry span{display:none}
.chair-entry:focus-visible{outline:1px solid #ad2635;outline-offset:5px;border-radius:2px}
.chair-entry:focus-visible span{display:block;position:absolute;left:60px;top:0;width:170px;padding:10px;background:#f5f5ef;color:#60202b;font-size:11px}

.chair-entry.chair-offscreen{left:32px!important;top:120px!important;width:1px;height:1px;pointer-events:none}
.chair-entry.chair-offscreen:focus-visible{width:44px;height:44px;pointer-events:auto}

/* City selection sits within the existing quiet sky panel. */
.location-controls{border-bottom:1px solid #ddd;padding-bottom:22px}
.location-controls label{margin:16px 0 8px;font-size:12px}
#location-current{font-size:17px;color:#303a32}
.location-search-row{display:flex;gap:8px}
.location-search-row input{min-width:0;flex:1;width:100%;font:inherit;font-size:16px;background:#fff;border:1px solid #c9cec5;padding:12px;color:#252823;border-radius:0}
.location-search-row button{border:1px solid #c9cec5;padding:10px 14px;font-size:12px;min-height:44px}
#location-results{padding:0;margin:12px 0;list-style:none}
#location-results button{width:100%;text-align:left;font-size:13px;padding:14px 0;border-bottom:1px solid #ddd;min-height:44px;line-height:1.4}
#location-reset{font-size:12px;text-decoration:underline;text-underline-offset:4px;min-height:44px}
#location-reset:disabled{opacity:.4;cursor:default}
#location-search:focus-visible{outline:1px solid #333;outline-offset:3px}
.sky-toggle{max-width:calc(100% - 28px)}#location-name{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* A portrait film stays uncropped in both the room and the native player. */
.film-texture-source{position:fixed;left:-2px;top:-2px;width:1px;height:1px;opacity:0;pointer-events:none}
#film-dialog{width:min(760px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:20px 24px;background:#151815;color:#f4f4ef;border-color:#42483e;overflow:auto}
#film-dialog::backdrop{background:#0b0e0be6;backdrop-filter:blur(5px)}
#film-dialog .dialog-head{gap:16px;align-items:flex-start;letter-spacing:0}
#film-dialog h2{font-size:22px;letter-spacing:-.5px;margin:0 0 6px}
#film-dialog #film-credit{font-size:11px;color:#c5cbbf;margin:0;line-height:1.5}
#film-dialog .dialog-head button{white-space:nowrap;min-height:44px;color:#f4f4ef}
#film-stage{display:flex;justify-content:center;margin-top:16px}
#film-stage video{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 180px);aspect-ratio:9/16;background:#090a09;object-fit:contain}
#film-status{font-size:12px;color:#d0d5ca;margin:10px 0 0}
#film-status:empty{display:none}
#film-dialog button:focus-visible{outline-color:#f4f4ef}
@media(max-width:480px){#film-dialog{padding:16px;width:calc(100% - 16px);max-height:calc(100dvh - 16px)}#film-dialog .dialog-head{gap:8px}#film-dialog h2{font-size:20px}#film-dialog #film-credit{max-width:190px;font-size:10px}#film-dialog .dialog-head button{font-size:11px}#film-stage video{max-height:calc(100dvh - 170px)}.caption-actions #watch-film{font-size:12px}}

#film-actions{display:contents}
