/* Content layer: independent of the gallery's architecture, sky and weather. */
.rail .rail-intro{font-size:12px;line-height:1.65;color:#555f58;max-width:155px;margin-top:32px}
#about-dialog{width:min(620px,calc(100% - 40px));max-height:88dvh;overflow:auto}
#about-dialog h2{font-size:42px;line-height:1.08;max-width:440px;margin-bottom:24px}
#about-dialog .about-lead{font-size:19px;line-height:1.55;color:#353d36}
#about-dialog .about-contact{display:inline-block;margin-top:20px;color:inherit;text-underline-offset:5px;font-size:14px}
#about-dialog .about-disciplines{font-size:11px;letter-spacing:.6px;border-top:1px solid #deded5;padding-top:22px;margin-top:30px}
#index-dialog{max-height:88dvh;overflow:auto}
#index-dialog .index-label{font-size:10px;letter-spacing:1.2px;color:#555e54;margin-top:32px}
#space-list{margin-top:12px}
#space-list button{display:grid;grid-template-columns:40px 1fr;gap:6px 0;font-size:20px}
#space-list button small{grid-column:2;font-size:11px;line-height:1.5;color:#757d73}



#project-supporting figure{margin:36px 0}
#project-supporting img{margin:0 0 10px}
#project-supporting figcaption{font-size:11px;line-height:1.5;color:#767b73}
#room-kind{max-width:440px;font-size:13px;line-height:1.45}
@media(max-width:760px){.rail .rail-intro{display:none}.rail nav{gap:14px}#about-toggle{font-size:12px}#about-dialog{padding:24px}#about-dialog h2{font-size:34px}#about-dialog .about-lead{font-size:17px}#room-kind{max-width:270px;font-size:11px}.caption h1{font-size:28px}}

#pal-dialog{width:min(620px,calc(100% - 32px));max-height:88dvh;overflow:auto}
.pal-identity{display:flex;gap:28px;align-items:center;margin:36px 0 28px;color:#39453e}
.pal-mark{width:132px;height:132px;flex:none}
#pal-dialog .pal-name{font-size:10px;letter-spacing:2.3px;margin:0 0 8px;color:#58665d}
#pal-dialog h2{font-size:46px;line-height:1;margin:0 0 10px}
#pal-dialog .pal-role{font-size:12px;margin:0;color:#58665d}
#pal-dialog .pal-lead{font-size:18px;line-height:1.55;color:#353d36}
#pal-dialog .pal-disciplines{border-top:1px solid #deded5;padding-top:20px;margin-top:28px;font-size:11px;letter-spacing:.6px}
@media(max-width:760px){#pal-dialog{padding:24px}.pal-identity{gap:20px;margin-top:26px}.pal-mark{width:96px;height:96px}#pal-dialog h2{font-size:38px}#pal-dialog .pal-lead{font-size:17px}}

#gallery .caption .pal-wind{font-size:10px;line-height:1.4;margin:8px 0 14px;color:#5e685f;max-width:340px}.night-view #gallery .caption .pal-wind{color:var(--ui-muted)}

#pal-toggle{min-height:32px;min-width:32px}

@media(max-width:760px){.rail nav{align-items:center}}

.caption button:disabled,.caption button:disabled:hover{cursor:default;opacity:.45}

/* Release UI system. Helvetica, warm paper and quiet rules; four-pixel spacing. */
:root{
 --ui-font:"Helvetica Neue",Helvetica,Arial,sans-serif;
 --ui-ink:#202620;--ui-muted:#535d55;--ui-paper:#fafaf7;--ui-line:#cbd0c7;--ui-focus:#315c50;
 --ui-xs:12px;--ui-sm:14px;--ui-body:16px;--ui-lead:20px;--ui-title:clamp(28px,3vw,40px);
 --space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-6:24px;--space-8:32px;--space-12:48px;
}
body{font-family:var(--ui-font);color:var(--ui-ink);line-height:1.5}
button,input,select{font:inherit}button,a{touch-action:manipulation}
button{min-height:44px;font-size:var(--ui-sm);line-height:1.35}
button:hover,a:hover{opacity:1}button:disabled{cursor:default;opacity:.45}
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,canvas:focus-visible,[tabindex="-1"]:focus-visible{outline:2px solid var(--ui-focus);outline-offset:3px}
/* Spatial hit targets stay transparent; only visible UI controls receive a hover fill. */
@media(hover:hover){button:not(.chair-entry):not(:disabled):hover{background:#e8ece5}a:hover{text-decoration-thickness:2px}}
a{color:inherit;text-underline-offset:4px}
.rail{padding:32px 24px}.rail p,.rail .rail-intro{font-size:var(--ui-sm);line-height:1.5;color:var(--ui-muted)}
.rail .rail-intro{margin-top:24px}.rail nav{gap:4px;font-size:var(--ui-sm)}.rail nav button{padding:8px 0;min-width:44px;text-align:left}
.wordmark{display:inline-flex;align-items:center;min-height:44px;font-size:12px;letter-spacing:1.5px;text-decoration:none}.edition{font-size:10px;color:var(--ui-muted);margin-top:20px}
.caption{left:32px;right:auto;bottom:88px;max-width:calc(100% - 64px);padding:16px 20px;background:#fafaf7f2;color:var(--ui-ink);border:1px solid #e0e3db;pointer-events:none}
.caption h1{font-size:28px;line-height:1.15;letter-spacing:-.6px;margin:0 0 8px;font-weight:400}
#room-kind{font-size:var(--ui-sm);line-height:1.45;color:var(--ui-muted);margin:0 0 8px;max-width:560px}
.caption-actions{gap:4px 20px;align-items:center}.caption button,.caption-actions #watch-film,#pal-meet{font-size:var(--ui-sm);line-height:1.35;min-height:44px;padding:8px 0;border-bottom:1px solid var(--ui-line)}
.caption button span{margin-left:8px}.caption #pal-wind-status{font-size:12px;color:var(--ui-muted);margin:0 0 8px}
.room-nav{left:32px;right:32px;bottom:16px;display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center;background:#fafaf7f2;border:1px solid #e0e3db;padding:0 12px;color:var(--ui-ink)}
.room-nav button{min-width:96px;padding:8px;font-size:14px}.room-nav #previous{justify-self:start}.room-nav #forward{justify-self:end}
.room-nav #position{display:block;font:500 12px/1.4 var(--ui-font);font-variant-numeric:tabular-nums;letter-spacing:1px;border:0;padding:8px}
#room-number{display:none}.hint{top:22px;bottom:auto;left:32px;max-width:270px;background:#fafaf7eb;padding:8px 12px;color:var(--ui-muted);font-size:12px;line-height:1.5;margin:0}
.sky-toggle{background:#fafaf7f2;color:var(--ui-ink);font-size:12px;min-height:44px;right:32px;top:22px;padding:0 12px}.sky-separator{color:var(--ui-muted)}
.night-view #gallery .caption,.night-view #gallery .room-nav{color:var(--ui-ink)}
.night-view #gallery .caption p,.night-view #gallery .hint{color:var(--ui-muted)}
.night-view #gallery .caption button,.night-view #gallery .room-nav span{border-color:var(--ui-line)}
dialog{padding:24px;width:min(640px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;color:var(--ui-ink);background:var(--ui-paper);border:1px solid var(--ui-line)}
.dialog-head{position:sticky;top:-24px;z-index:3;align-items:center;gap:16px;margin:-24px -24px 24px;padding:12px 24px;background:var(--ui-paper);border-bottom:1px solid var(--ui-line);font-size:12px;line-height:1.4;letter-spacing:.8px}
.dialog-head button{font-size:14px;min-height:44px;padding:8px 0;letter-spacing:0;flex-shrink:0}
dialog h2,#about-dialog h2,#sky-dialog h2{font-size:var(--ui-title);line-height:1.15;letter-spacing:-.7px;font-weight:400;margin:24px 0}
dialog h3{font-size:20px;line-height:1.3;font-weight:400;letter-spacing:-.2px}dialog p{font-size:16px;line-height:1.6;color:var(--ui-muted)}
dialog label{font-size:14px;line-height:1.5;min-height:44px;align-items:center;margin:16px 0;gap:12px}
input[type="checkbox"]{width:20px;height:20px;flex:none}
.sky-footnote,.sky-credit p,.sky-credit,.sky-subhead,#about-dialog .about-disciplines,#pal-dialog .pal-disciplines{font-size:12px!important;line-height:1.55;color:var(--ui-muted)}
.sky-actions{gap:8px}.sky-actions button,.sky-actions #sky-pause,.weather-choices button,.rain-audio button,#location-reset,#location-results button{font-size:14px;min-height:44px}
#sky-dialog,#about-dialog,#pal-dialog{padding:24px;max-height:calc(100dvh - 32px)}
#index-dialog{width:min(820px,calc(100% - 32px));max-height:calc(100dvh - 32px);scroll-padding-top:88px}
.index-jumps{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0}.index-jumps button{border:1px solid var(--ui-line);padding:8px 12px}
#index-dialog .index-label{font-size:12px;line-height:1.4;letter-spacing:1px;margin:32px 0 12px;color:var(--ui-muted);font-weight:500}
#space-list{margin:0}#space-list button{grid-template-columns:40px 1fr;gap:4px 8px;padding:16px 8px;font-size:20px;border-color:var(--ui-line)}
#space-list button[aria-current]{background:#edf0e9;border-left:3px solid var(--ui-focus);padding-left:5px}
#space-list span{font-size:12px;color:var(--ui-muted);width:auto}#space-list button small{font-size:14px;color:var(--ui-muted);line-height:1.4}

.history-section,.brand-experience{margin-top:40px;padding-top:8px;border-top:1px solid var(--ui-line)}
.history-section label{display:block;min-height:0;margin-bottom:8px}.history-section input{width:100%;font-size:16px;padding:12px;border:1px solid var(--ui-line);border-radius:0;background:#fff;color:var(--ui-ink)}
#history-count{font-size:12px;margin:12px 0;color:var(--ui-muted)}#project-history{list-style:none;padding:0;margin:0}
#project-history li{display:grid;grid-template-columns:100px 1fr;gap:16px;padding:20px 0;border-top:1px solid var(--ui-line)}
.history-year{font-size:14px;color:var(--ui-muted);font-variant-numeric:tabular-nums;padding-top:3px}
#project-history h4{font-size:18px;font-weight:400;line-height:1.35;margin:0 0 6px}#project-history p{font-size:14px;line-height:1.5;margin:0 0 6px}#project-history .history-relationship{font-size:12px;margin:0;color:var(--ui-muted)}
#brand-experience dt{font-size:14px;font-weight:500;margin:24px 0 8px}#brand-experience dd{font-size:16px;line-height:1.6;margin:0;color:var(--ui-muted)}
#project-dialog{width:min(660px,100vw);color:var(--ui-ink)}.project-sticky{padding:12px 24px;font-size:12px;letter-spacing:.8px;background:var(--ui-paper);border-color:var(--ui-line)}.project-sticky button{font-size:14px;min-height:44px;letter-spacing:0}
.project-body{padding:32px}.project-body h2{font-size:var(--ui-title);line-height:1.15;margin:16px 0 24px}.project-body .project-intro{font-size:20px;line-height:1.5;color:var(--ui-ink)}
.project-kicker{font-size:12px!important;letter-spacing:.6px}.project-role{font-size:14px!important;line-height:1.5;border-color:var(--ui-line)}.project-body h3{font-size:14px;font-weight:500;letter-spacing:0}.project-body section p{font-size:16px;color:var(--ui-muted)}
.project-body .project-image-label,#project-supporting figcaption{font-size:12px;color:var(--ui-muted)}
#film-dialog{padding:24px;max-height:calc(100dvh - 16px)}#film-dialog .dialog-head{background:#151815;border-color:#42483e;top:-24px}
#film-dialog h2{font-size:24px;line-height:1.25;margin:0 0 8px}#film-dialog #film-credit{font-size:12px;line-height:1.5;max-width:440px}#film-dialog .dialog-head button{font-size:14px;padding:8px 0;white-space:normal;max-width:136px;text-align:right}
#film-stage video{max-height:calc(100dvh - 200px)}#film-dialog button:hover{background:#30382f}#film-status{font-size:14px}
#fallback{z-index:4;text-align:center}#fallback button{font-size:16px;min-height:44px;margin:8px}#fallback h2{font-size:32px}#fallback p{max-width:460px;font-size:16px;line-height:1.5}
#idkoda-return{font-size:14px}.idkoda-caption .idkoda-eyebrow,.idkoda-caption .idkoda-footnote{font-size:12px}.idkoda-caption p{font-size:14px}.idkoda-caption a{min-height:44px;display:inline-flex;align-items:center;font-size:14px}
@media(max-width:760px){
 .rail{height:128px;padding:12px 16px;gap:4px;align-content:space-between}.rail header{width:100%}.wordmark{min-height:28px}.rail header p{font-size:12px;margin:0;line-height:1.4}.rail .rail-intro{display:none}
 .rail nav{width:100%;justify-content:space-between;gap:8px;align-items:center}.rail nav button,#about-toggle{font-size:13px;min-height:44px;padding:8px 0}.rail nav #help-toggle{display:block}.rail nav #reset{display:none}
 main{inset:128px 0 0}.caption{left:16px;right:16px;bottom:80px;max-width:none;padding:12px 16px}.caption h1{font-size:26px}#room-kind{font-size:14px;max-width:none;margin-bottom:4px}
 .caption-actions{gap:0 16px}.caption button,.caption-actions #watch-film{font-size:13px;min-height:44px}
 .room-nav{left:16px;right:16px;bottom:max(12px,env(safe-area-inset-bottom));padding:0 4px;gap:4px}.room-nav button{min-width:88px;font-size:14px}.room-nav #position{font-size:12px;letter-spacing:.5px}
 .hint{display:none}.sky-toggle{top:12px;right:16px;font-size:12px;max-width:calc(100% - 32px)}
 #index-dialog{width:calc(100% - 16px)}dialog,#about-dialog,#pal-dialog,#sky-dialog,#film-dialog{padding:20px;width:calc(100% - 16px);max-height:calc(100dvh - 16px)}
 .dialog-head{margin:-20px -20px 20px;padding:8px 20px;top:-20px;font-size:12px}.dialog-head button{font-size:13px}
 #about-dialog h2,#sky-dialog h2{font-size:30px}.project-body{padding:24px}.project-sticky{padding:8px 24px}.project-sticky button{font-size:13px}#project-dialog{height:100dvh;max-height:100dvh}
 #space-list button{font-size:18px;grid-template-columns:28px 1fr}#space-list button small{font-size:13px}
 #project-history li{grid-template-columns:1fr;gap:4px;padding:16px 0}.history-year{font-size:12px;padding:0}#project-history h4{font-size:18px}.index-jumps{gap:6px}.index-jumps button{font-size:13px;padding:8px 10px}
 #film-dialog .dialog-head{top:-20px}#film-dialog h2{font-size:20px}#film-dialog #film-credit{font-size:12px;max-width:none}#film-dialog .dialog-head button{font-size:13px;max-width:100px}#film-stage video{max-height:calc(100dvh - 200px)}
}
@media(max-height:540px) and (min-width:600px){
 .rail{inset:0 0 auto;width:100%;min-width:0;height:60px;padding:8px 16px;flex-direction:row;align-items:center;gap:20px}.rail header{width:auto}.rail header p,.rail .rail-intro,.edition{display:none}.wordmark{min-height:44px;font-size:12px}.rail nav{margin:0 0 0 auto;flex-direction:row;gap:16px;width:auto;align-items:center}.rail nav button{font-size:13px;min-height:44px;padding:8px 0}.rail nav #help-toggle{display:block}.rail nav #reset{display:none}
 main{inset:60px 0 0}#scene{height:calc(100% - 112px)}.caption{left:16px;right:16px;bottom:60px;padding:4px 12px;max-width:none;display:flex;align-items:center;gap:20px;border:0;background:var(--ui-paper)}.caption h1{font-size:20px;margin:0;white-space:nowrap}.caption p{display:none}.caption-actions{gap:8px 16px;flex-wrap:nowrap}.caption button,.caption-actions #watch-film{font-size:13px;white-space:nowrap}.caption #pal-wind-status{display:none}
 .room-nav{left:16px;right:16px;bottom:8px}.hint{display:none}.sky-toggle{top:8px;right:16px;font-size:12px}.project-body{padding:24px}#film-stage video{max-height:calc(100dvh - 160px)}
}

/* Reserve the source ratio while metadata buffers, so the poster/player never collapses. */
#film-stage video{width:min(100%,calc((100dvh - 200px) * var(--film-aspect,1.777778)));aspect-ratio:var(--film-aspect,1.777778);height:auto}
@media(max-height:540px) and (min-width:600px){#film-stage video{width:min(100%,calc((100dvh - 160px) * var(--film-aspect,1.777778)))}}
/* Keep the view clear of the control card on short portrait screens. */
@media(max-width:600px) and (max-height:780px) and (orientation:portrait){#scene{height:calc(100% - 264px)}}
.rail nav #pal-toggle{min-width:44px;min-height:44px}

body.idkoda-room #scene{height:100%}

/* Lighting shares the existing local/day/night scene state. */
.sky-toolbar{position:absolute;top:22px;right:32px;display:flex;align-items:start;gap:8px;max-width:calc(100% - 64px);z-index:5}
.sky-toolbar .sky-toggle{position:static;max-width:none;min-width:0;flex:1;gap:8px}
.sky-toolbar #weather-state{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sky-toolbar #location-name{max-width:120px;flex-shrink:0}
.lighting-menu{position:relative;flex:none;color:var(--ui-ink);font-size:12px}
.lighting-menu summary{display:flex;align-items:center;gap:7px;min-height:44px;padding:0 12px;list-style:none;cursor:pointer;background:var(--ui-paper)}
.lighting-menu summary::-webkit-details-marker{display:none}
#lighting-symbol{font-size:20px;line-height:1;width:20px;text-align:center}
.lighting-options{position:absolute;top:52px;right:0;width:218px;padding:8px;background:var(--ui-paper);border:1px solid var(--ui-line);box-shadow:0 6px 18px #18201820}
.lighting-options button{display:block;width:100%;text-align:left;padding:10px 12px;font-size:13px;border-left:2px solid transparent}
.lighting-options button[aria-pressed=true]{border-left-color:var(--ui-ink);background:#e8ece5}
.night-view .lighting-menu summary,.night-view .lighting-options{background:#27302b;color:#f0f1e9;border-color:#58645b}
.night-view .lighting-options button[aria-pressed=true],.night-view .lighting-options button:hover{background:#414e44}
@media(max-width:760px){.sky-toolbar{top:12px;right:16px;left:16px;max-width:none}.sky-toolbar .sky-toggle{font-size:11px;padding:0 8px;gap:6px}.sky-toolbar #location-name{max-width:90px}.lighting-menu summary{padding:0 8px;gap:4px}.sky-toolbar .sky-dot{flex-shrink:0}}
@media(max-width:950px) and (orientation:landscape){.sky-toolbar{top:8px;left:auto;max-width:calc(100% - 32px)}}

/* Strong navigation, quiet reading: Helvetica remains the shared type family. */
:root{--ui-nav-weight:700;--ui-label-weight:600}
.wordmark{font-weight:700;letter-spacing:1.2px}
.rail nav button,.room-nav button{font-weight:var(--ui-nav-weight);letter-spacing:-.15px;line-height:1.2}
.caption h1{font-weight:600;letter-spacing:-.8px}
.caption-actions button,.dialog-head button,.project-sticky button,.lighting-menu summary{font-weight:var(--ui-label-weight)}
#position,.dialog-head,.project-sticky,.sky-subhead{font-weight:var(--ui-label-weight)}
.lighting-menu summary:focus-visible{outline-offset:3px}
.night-view .lighting-menu summary:focus-visible,.night-view .lighting-options button:focus-visible{outline-color:#d0dacb}
@media(max-width:760px){.rail nav button{font-size:13px;letter-spacing:-.2px}.caption h1{font-size:27px}.room-nav button{font-size:14px}}

/* Present-day contributions and breadth first; dates remain available on demand. */
#about-dialog h2{max-width:100%;font-weight:500;text-wrap:balance}
.about-statement{display:block;max-width:20ch;text-wrap:balance}
.about-links{display:flex;gap:24px;flex-wrap:wrap}.about-links a{min-height:44px;display:inline-flex!important;align-items:center}
.brand-experience{margin-top:40px;border-top:1px solid var(--ui-line);padding-top:8px}
.experience-context{color:var(--ui-muted);font-size:12px!important}
.brand-experience label{display:block;margin-bottom:8px}.brand-experience input{width:100%;font-size:16px;padding:12px;border:1px solid var(--ui-line);background:#fff;color:var(--ui-ink)}
#experience-count{font-size:12px;color:var(--ui-muted);margin:12px 0}
#brand-experience ul{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px;list-style:none;margin:16px 0 0;padding:0}
#brand-experience li{font-size:15px;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:400px){#brand-experience ul{grid-template-columns:1fr}.about-statement{max-width:100%;font-size:clamp(27px,7.8vw,30px)}}


#contact-dialog{width:min(540px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto}
.contact-links{display:grid;gap:8px;margin-top:24px}.contact-links a{display:grid;gap:4px;padding:16px 0;min-height:60px;border-top:1px solid var(--ui-line);text-decoration:none}.contact-links a>span:not(.sr-only){font-size:12px;color:var(--ui-muted)}.contact-links strong{font-size:clamp(16px,4.8vw,21px);font-weight:600;overflow-wrap:anywhere}.contact-links a:hover strong{text-decoration:underline;text-underline-offset:5px}
@media(max-width:760px){.rail nav{gap:6px}.rail nav #contact-toggle{font-size:13px}#contact-dialog{width:calc(100% - 16px);padding:20px}}

.help-short{display:none}@media(max-width:400px){.help-full{display:none}.help-short{display:inline}.rail nav #contact-toggle{flex-shrink:0}}

/* A curated overview; the complete archive is deliberately opt-in. */

/* Individual sections disclose independently, with native keyboard/touch carets. */
.list-group{border-top:1px solid var(--ui-line);margin:0}
.list-group>summary{display:list-item;cursor:pointer;padding:16px 0;min-height:60px;font-size:16px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}
.list-group>summary::marker{color:var(--ui-muted)}
.list-group .group-count{display:block;margin:4px 0 0 20px;font-size:12px;font-weight:400;color:var(--ui-muted)}
.list-group>p,.list-group>ul,.list-group>ol{margin:8px 0 24px;padding:0;list-style:none}
#brand-experience .list-group>p{margin:0 0 16px}
#brand-experience .list-group>ul{margin:0 0 24px}
#project-history .list-group>ol{margin:0 0 24px;padding:0;list-style:none}
.strategy-group{margin-top:16px}.strategy-group #other-projects{margin-bottom:24px}

.about-recognition{margin:36px 0}.about-recognition h3{font-size:18px;line-height:1.3;font-weight:600}.about-recognition li{padding:10px 0;line-height:1.5;overflow-wrap:anywhere}.about-recognition li strong,.about-recognition li span{display:block}.about-recognition li strong{font-weight:600}.about-recognition li span,.about-recognition .recognition-note{font-size:13px;color:var(--ui-muted);line-height:1.6}

.history-content{padding:12px 0 24px}#project-history>section{margin:28px 0}#project-history>section>h4{font-size:16px;font-weight:600;margin:0 0 6px}#project-history>section>.group-count{font-size:12px;color:var(--ui-muted)}#project-history>section>ol{padding:0;list-style:none}.brand-experience>h3{font-size:21px;font-weight:600;line-height:1.3}

/* Navigation gutters exist at rest, so hover and focus never move the labels. */
.rail nav{gap:8px}
.rail nav button,.room-nav button,.caption button,.caption-actions #watch-film,#pal-meet,
.dialog-head button,.project-sticky button,#film-dialog .dialog-head button,#idkoda-return{padding:8px 12px}
.rail nav button{max-width:100%}
.caption-actions{gap:8px}
.room-nav{padding:4px 8px}
:is(.rail nav,.room-nav,.caption-actions,.index-jumps,.dialog-head,.project-sticky) button:focus-visible{outline-offset:2px}
#space-list button{padding-inline:12px}
#space-list button[aria-current]{padding-left:9px}
@media(max-width:760px){
 .rail nav{gap:4px}
 .rail nav button,#about-toggle{padding:8px;flex:0 1 auto;min-width:44px}
 .caption button,.caption-actions #watch-film,#pal-meet{padding:8px}
}
@media(max-width:400px){.rail nav button,#about-toggle{padding-inline:6px}}
@media(max-height:540px) and (min-width:600px){
 .rail nav{gap:8px}
 .rail nav button{padding:8px}
 .caption-actions{gap:8px}
}

/* Vector controls inherit text colour, including dark mode; never use emoji fonts. */
.control-icon{display:inline-block;width:16px;height:16px;flex:none;vertical-align:-3px;pointer-events:none}
#lighting-symbol{display:inline-flex;align-items:center;width:16px;height:16px}
.list-group>summary,.sky-credit>summary{position:relative;list-style:none;padding-left:24px}
.list-group>summary::-webkit-details-marker,.sky-credit>summary::-webkit-details-marker{display:none}
.list-group>summary::marker,.sky-credit>summary::marker{content:""}
.disclosure-caret{position:absolute;left:0;top:19px}
.list-group[open]>summary>.disclosure-caret,.sky-credit[open]>summary>.disclosure-caret{transform:rotate(90deg)}
.list-group .group-count{margin-left:0}
.sky-credit>summary{min-height:44px;padding-top:12px;padding-bottom:12px}
.sky-credit .disclosure-caret{top:14px}

#other-projects article{padding:16px 0;border-top:1px solid var(--ui-line)}#other-projects h4{margin:0 0 8px;font-size:18px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}#other-projects p,.curation-intro{font-size:14px;line-height:1.6;max-width:62ch;margin:0;color:var(--ui-muted)}.strategy-group>.curation-intro{margin:0 0 24px}

#project-history>.list-group{margin:16px 0}#project-history>.list-group>summary{font-size:15px}#project-history li:has(.history-year[hidden]){grid-template-columns:1fr}

.wordmark{gap:10px;max-width:100%;color:var(--ui-ink)}.home-arrow{display:block;width:24px;height:24px;flex:none}.home-logotype{display:block;width:74px;height:auto;flex:none}@media(max-width:760px){.wordmark{gap:8px}.home-arrow{width:22px;height:22px}.home-logotype{width:67px}}
@media(max-height:540px) and (min-width:600px){.caption #room-kind{display:none}.caption{gap:12px}}

#index-dialog>.strategy-group{margin-top:24px}#index-dialog>.strategy-group>summary{font-size:16px}#index-dialog>.strategy-group .group-count{font-weight:400}

.history-guide{font-size:13px;line-height:1.5;color:var(--ui-muted);margin:0 0 16px}

.caption .room-heading{min-width:0}.caption .room-heading h1{margin-bottom:4px}.caption #room-colour{display:block;font-size:12px;font-style:italic;line-height:1.4;margin:0 0 8px;color:var(--ui-muted)}#space-list button .room-colour{font-size:12px;font-style:italic;line-height:1.4;color:var(--ui-muted)}@media(max-height:540px) and (min-width:600px){.caption #room-colour{font-size:11px;margin:0}.caption .room-heading{flex-shrink:0}}

/* Whole-interface theme: follows the existing scene lighting state, not a second toggle. */
:root{
 --ui-surface:#ffffff;--ui-hover:#e8ece5;--ui-active:#e0e7dc;
 --ui-control-line:#7b867b;--ui-accent:#8f1230;--ui-backdrop:#20251b55;
 --ui-status:#496f59;--ui-test:#8c562c;--ui-off:#626b62;
}
body{background:var(--ui-paper);color-scheme:light}
body.night-view{
 --ui-ink:#edf0e9;--ui-muted:#b5c0b7;--ui-paper:#202620;--ui-surface:#29322c;
 --ui-line:#566259;--ui-control-line:#7d8e81;--ui-focus:#c1d9c3;
 --ui-hover:#354238;--ui-active:#405144;--ui-accent:#f0a9b8;--ui-backdrop:#080d0bcc;
 --ui-status:#a8c8b0;--ui-test:#e7ba8d;--ui-off:#b5c0b7;
 color-scheme:dark;
}
.rail,.loading,#fallback{background:var(--ui-paper);color:var(--ui-ink)}
.loading{color:var(--ui-muted)}
.caption,.room-nav,.hint,.sky-toggle,#sky-test-notice,#weather-preview-notice,
#idkoda-return,#idkoda-status,.idkoda-caption{background:var(--ui-paper);color:var(--ui-ink);border-color:var(--ui-line)}
.night-view #gallery .sky-toggle{background:var(--ui-paper);color:var(--ui-ink)}
.hint,#sky-test-notice,#weather-preview-notice,#idkoda-status{color:var(--ui-muted)}
#idkoda-ui,.pal-identity{color:var(--ui-ink)}
#about-dialog .about-lead,#pal-dialog .pal-lead,#location-current{color:var(--ui-ink)}
#pal-dialog .pal-name,#pal-dialog .pal-role,.idkoda-caption .idkoda-eyebrow,
.idkoda-caption .idkoda-footnote,.sky-subhead span,.sky-actions #sky-pause{color:var(--ui-muted)}
.idkoda-caption a{color:var(--ui-accent)}
#about-dialog .about-disciplines,#pal-dialog .pal-disciplines,.sky-credit,
.weather-controls,.location-controls,.sky-actions button,#location-results button{border-color:var(--ui-line)}
#project-dialog{border-color:var(--ui-line)}
dialog::backdrop,#project-dialog::backdrop{background:var(--ui-backdrop)}
.history-section input,.brand-experience input,.location-search-row input{
 background:var(--ui-surface);color:var(--ui-ink);border-color:var(--ui-control-line);
}
input::placeholder{color:var(--ui-muted);opacity:1}
input{accent-color:var(--ui-focus)}
.location-search-row button,.weather-choices button,.index-jumps button{border-color:var(--ui-control-line)}
#space-list button[aria-current],.weather-choices button[aria-pressed="true"],
.lighting-options button[aria-pressed=true],.night-view .lighting-options button[aria-pressed=true]{background:var(--ui-active);border-color:var(--ui-focus)}
.lighting-menu summary,.lighting-options,.night-view .lighting-menu summary,.night-view .lighting-options{
 background:var(--ui-paper);color:var(--ui-ink);border-color:var(--ui-line);
}
.sky-dot{background:var(--ui-status)}
.sky-toggle[data-mode="test"] .sky-dot{background:var(--ui-test)}
.sky-toggle[data-mode="off"] .sky-dot{background:var(--ui-off)}
.chair-entry:focus-visible{outline-color:var(--ui-focus)}
.chair-entry:focus-visible span{background:var(--ui-paper);color:var(--ui-ink)}
#location-search:focus-visible,.night-view .lighting-menu summary:focus-visible,
.night-view .lighting-options button:focus-visible{outline:2px solid var(--ui-focus);outline-offset:3px}
@media(hover:hover){
 button:not(.chair-entry):not(:disabled):hover,.night-view .lighting-options button:hover,
 .list-group>summary:hover,.sky-credit>summary:hover,.lighting-menu summary:hover{background:var(--ui-hover)}
}
button:not(.chair-entry):not(:disabled):active,.list-group>summary:active,.lighting-menu summary:active{background:var(--ui-active)}
/* The player remains a dark viewing surround in either mode; native controls use dark chrome. */
#film-dialog{color-scheme:dark;--ui-focus:#c1d9c3}
#film-dialog button:hover{background:#30382f}#film-dialog button:active{background:#405144}
#film-dialog::backdrop{background:#0b0e0be6}
/* Lobby object notes share the caption's reading scale, with real touch targets. */
.caption #room-description .lobby-label{display:inline-block;color:inherit;font:inherit;line-height:inherit;padding:6px 2px;margin:-6px 0;border:0;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;min-height:32px}
#lobby-note-dialog{position:fixed;inset:auto 24px 24px auto;margin:0;width:min(390px,calc(100% - 32px));max-height:46dvh;overflow:auto;padding:22px;background:var(--ui-paper);color:var(--ui-ink);border-color:var(--ui-line)}
#lobby-note-dialog::backdrop{background:#0000000c;backdrop-filter:none}
#lobby-note-dialog .dialog-head{align-items:center;gap:16px}
#lobby-note-dialog h2{margin:0;font-size:21px;line-height:1.2;letter-spacing:-.3px;font-weight:650}
#lobby-note-dialog p{color:var(--ui-ink);font-size:14px;line-height:1.65;margin:16px 0 0}
#lobby-note-dialog .lobby-note-enter{margin-top:12px;min-height:44px;text-decoration:underline;text-underline-offset:4px;font-size:14px}
#lobby-note-dialog [data-close]{min-width:44px;min-height:44px}
@media(max-width:600px){.caption #room-description .lobby-label{min-height:44px;margin-block:-12px}#lobby-note-dialog{inset:auto 16px 16px;width:calc(100% - 32px);max-height:38dvh;padding:16px}}

/* Discovery now lives in the quiet chair label and its explanatory note. */
#idkoda-explore,#idkoda-entry{display:none!important}

/* One quiet Lobby row; project-room calls to action remain unchanged. */
.caption[data-lobby="true"] .caption-actions{display:none}
.caption[data-lobby="true"] #room-kind{display:block;max-width:100%}
.lobby-links{display:inline-flex;flex-wrap:wrap;align-items:center;max-width:100%;column-gap:4px;row-gap:0}
.lobby-item{display:inline-flex;align-items:center;white-space:nowrap;max-width:100%}
.lobby-separator{padding-right:4px}
.caption #room-description .lobby-label{font-weight:400;max-width:100%}
