/* Midnight blue, silver ink and lit paper: original dark art direction. */
.theme-toggle{display:inline-grid;place-items:center;flex:0 0 34px;width:34px;height:34px;padding:7px;border:1px solid #7c9db244;background:#d8ebf55c;border-radius:50%;color:#537993;cursor:pointer}.theme-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}.theme-toggle .theme-sun{display:none}.theme-toggle:hover{background:#bed8e766}.theme-toggle:focus-visible{outline:2px solid #8bbad9;outline-offset:4px}
html[data-theme=dark]{color-scheme:dark;--paper:#0d1927;--ink:#d7e7f3;--quiet:#96afc2;--muted:#96afc2;--line:#8fb6d12e;--blue:#8cbcdc;--room-paper:#172532;--room-ink:#dce8ee;--room-quiet:#a8bbc6;--room-brass:#c4b18a;--room-dark:#0c1721}
html[data-theme=dark] body{background:#0d1927;color:#d7e7f3}
html[data-theme=dark] ::selection{background:#406681;color:#f0f8ff}
html[data-theme=dark] :is(a,button,input,select,textarea,summary):focus-visible{outline-color:#9dcee9}
html[data-theme=dark] .theme-toggle{background:#1b3045;border-color:#8fb6d14d;color:#b8d9ee}
html[data-theme=dark] .theme-toggle:hover{background:#29465e}
html[data-theme=dark] .theme-sun{display:initial}html[data-theme=dark] .theme-moon{display:none}
html[data-theme=dark] :is(.apartment-header,.site-header){background:#0d1927;border-color:#8fb6d12e;color:#d8e8f4}
html[data-theme=dark] :is(.apartment-brand>span,.brand-dot){color:#9cc4df}
html[data-theme=dark] :is(.portfolio-nav,.address,.previous-home,.welcome-kicker,.welcome-smallprint,.welcome-source,.welcome-paths a,.welcome-paths a span,.welcome-bottom,.welcome-bottom>span,.welcome-bottom a,.apartment-intro>p,.apartment-intro>span,.season-controls>span,.arrival-hint,.scroll-to-rooms,.scene-status,.apartment-bottom>span,.home-footer){color:#9eb6c9}
html[data-theme=dark] :is(.welcome h1,.apartment-intro h1,.career-intro h2,.sound-intro h2,.sound-stories h3,.correspondence h2,.project-notes h1){color:#d8e9f5}
html[data-theme=dark] :is(.welcome h1 em,.apartment-intro h1 em,.sound-intro h2 em){color:#86b2d0}
html[data-theme=dark] .welcome{background:radial-gradient(ellipse at 76% 42%,#26446177,transparent 55%),linear-gradient(145deg,#111f2e,#0d1a29 75%)}
html[data-theme=dark] :is(.welcome-identity,.welcome-about,.welcome-story,.welcome-story span){color:#a6c0d3}
html[data-theme=dark] :is(.welcome-about a,.welcome-paths a:hover,.spawn-button,.welcome-source:hover){color:#b9dbee;border-color:#8fb6d144}
html[data-theme=dark] .tour-button{background:#9fc6df;color:#102438}html[data-theme=dark] .tour-button:hover{background:#c1e0f2}
html[data-theme=dark] .host-halo{background:radial-gradient(circle at 38% 28%,#304e68,#1c354e88 65%,#162c4233);border-color:#86b5d22b;box-shadow:0 25px 95px #050e1b88}
html[data-theme=dark] .host-halo:after{border-color:#94bddb22}
html[data-theme=dark] .host-scan-preview{filter:brightness(.85) contrast(1.05)}
html[data-theme=dark] .apartment-shell{background:#102131}
html[data-theme=dark] .season-wash{background:#102131}
html[data-theme=dark] .season-panel{border-color:#83a9c522}
html[data-theme=dark] .season-panel.spring{background:radial-gradient(ellipse at 50% 73%,#34564f66,transparent 65%),linear-gradient(#112638,#172d3a)}
html[data-theme=dark] .season-panel.summer{background:radial-gradient(ellipse at 50% 47%,#67604544,transparent 57%),linear-gradient(#152b3d,#1c3346)}
html[data-theme=dark] .season-panel.autumn{background:radial-gradient(ellipse at 50% 78%,#6a4c464d,transparent 67%),linear-gradient(#142635,#23303c)}
html[data-theme=dark] .season-panel.winter{background:radial-gradient(ellipse at 60% 45%,#54708a40,transparent 65%),linear-gradient(#142b40,#1a334d)}
html[data-theme=dark] body[data-season=spring] .season-wash{background:radial-gradient(ellipse,#274e4266,transparent 65%),#102131}
html[data-theme=dark] body[data-season=summer] .season-wash{background:radial-gradient(ellipse,#655a3a44,transparent 65%),#132536}
html[data-theme=dark] body[data-season=autumn] .season-wash{background:radial-gradient(ellipse,#684a4044,transparent 65%),#152534}
html[data-theme=dark] body[data-season=winter] .season-wash{background:radial-gradient(ellipse,#45678444,transparent 65%),#102337}
html[data-theme=dark] .season-air{opacity:.09}
html[data-theme=dark] .stage-shadow{background:radial-gradient(ellipse,#030b14a6,transparent 69%)}
html[data-theme=dark] #apartment-illustration{filter:brightness(.78) saturate(.75)}
html[data-theme=dark] :is(.season-controls>div,.apartment-navigation,.room-sheet,.apartment-bottom button){background:#172c40ed;border-color:#8fb6d13d;box-shadow:0 12px 35px #030b1433}
html[data-theme=dark] :is(.season-controls button,.apartment-navigation button,.apartment-navigation button>span,.apartment-bottom button,.apartment-bottom button>span,.sheet-heading>span,.sheet-heading button,.room-sheet>p,.library-note,.library-tabs button){color:#a9c5d8}
html[data-theme=dark] :is(.season-controls button:hover,.apartment-navigation button:hover){background:#26455d}
html[data-theme=dark] :is(.season-controls button[aria-pressed=true],.apartment-navigation button[aria-pressed=true],.library-tabs button[aria-pressed=true]){background:#a6ccdf;color:#142c3e}
html[data-theme=dark] .apartment-navigation button[aria-pressed=true]>span{color:#142c3e}
html[data-theme=dark] .room-pins i{background:#203f57;color:#c7e4f5;border-color:#a1cce66b;box-shadow:0 0 0 4px #18334788}
html[data-theme=dark] .room-sheet h2{color:#d8e9f5}html[data-theme=dark] .room-content-note{color:#96b2c8!important}
html[data-theme=dark] .career-section{background:linear-gradient(165deg,#102131,#122637 70%,#102030);border-color:#8fb6d12e}
html[data-theme=dark] :is(.career-lead,.career-detail p,.career-detail>ul:not(.career-tools)){color:#a9c1d3}
html[data-theme=dark] :is(.career-eyebrow,.career-date,.career-org,.career-plus,.career-aside,.career-education small,.career-education p>span,.career-tools li,.career-profile,.career-external,.career-foundations,.career-count){color:#9db9cf}
html[data-theme=dark] .career-role{color:#cce1ef}
html[data-theme=dark] .career-tools li{background:#1b3449;border-color:#87b0ce3d}
html[data-theme=dark] .career-point{background:#122637;border-color:#82b0d0;box-shadow:0 0 0 5px #122637}
html[data-theme=dark] .career-entry[open] .career-point{background:#9bc9e5;box-shadow:0 0 0 5px #122637,0 0 0 6px #9bc9e555,0 0 22px #8dbede33}
html[data-theme=dark] :is(.career-filters button,.sound-gear-controls button){color:#b2ccde;border-color:#87b0ce4d}
html[data-theme=dark] :is(.career-filters button[aria-pressed=true],.sound-gear-controls button[aria-pressed=true]){background:#9ac3dc;border-color:#9ac3dc;color:#112739}
html[data-theme=dark] .career-filters button:hover:not([aria-pressed=true]){background:#23435b}

html[data-theme=dark] .career-thread{color:#8abbdc}
html[data-theme=dark] .career-art [stroke]:not([stroke="none"]){stroke:#92c0df}
html[data-theme=dark] .career-art [fill]:not([fill="none"]){fill:#a1cee9}
html[data-theme=dark] .sketch-ink path:nth-child(3){stroke:#acd9f4;filter:none}
html[data-theme=dark] .sound-section{background:radial-gradient(ellipse at 78% 33%,#28456555,transparent 55%),linear-gradient(170deg,#102030,#162436 65%,#122335);border-color:#8fb6d12e}
html[data-theme=dark] :is(.sound-lead,.sound-story,.sound-gear-copy p){color:#aac3d6}
html[data-theme=dark] :is(.sound-eyebrow,.sound-player-heading,.sound-player-note,.sound-gear-copy a,.sound-room-link,.sound-gig-label,.sound-gig-date,.sound-gig>p:not(.sound-gig-date),.sound-gig>a,.sound-live-note){color:#a4c1d6}
html[data-theme=dark] :is(.sound-drawn,.sound-loop-drawn,.sound-arrival){stroke:#8fbadb}
html[data-theme=dark] .sound-drawn .sound-wave{stroke:#acd3ed}html[data-theme=dark] .sound-drawn .sound-rule{stroke:#6f97b3}
html[data-theme=dark] .sound-player-points{fill:#b1d8f0}
html[data-theme=dark] :is(.setup-cable,.sound-setup[data-gear=strings] .setup-strings,.sound-setup[data-gear=looping] .setup-looper,.sound-setup[data-gear=synthesizer] .setup-synthesizer){stroke:#a1cee9}
html[data-theme=dark] .sound-formation{color:#a2cce5}
html[data-theme=dark] .correspondence{background:radial-gradient(ellipse at 65% 40%,#2a415b66,transparent 62%),linear-gradient(135deg,#142a3b,#172b42 55%,#242e48);color:#d7e8f4;border-color:#8fb6d12e}
html[data-theme=dark] .contact-subtitle{color:#accce2}html[data-theme=dark] .contact-subtitle em{color:#86a8c1}
html[data-theme=dark] :is(.contact-intro,.contact-reasons a,.wave-curiosity,.wave-possibility,.instrument-turn-cue){color:#9cbad0}
html[data-theme=dark] :is(.contact-reasons a:hover,.contact-reasons a[aria-pressed=true]){color:#d0e9f9;border-color:#a2cce5}
html[data-theme=dark] .correspondence-send{background:#accfe6;color:#12283b}html[data-theme=dark] .correspondence-send:hover{background:#d0e9f9}
html[data-theme=dark] .contact-field-fallback{filter:brightness(1.7) saturate(.7)}
html[data-theme=dark] .home-footer{margin-top:0;padding:25px 5%;background:#0d1927;border-color:#8fb6d12e}
html[data-theme=dark] .mini-roaming .mini-body svg>.mini-ink{stroke:#b9d9ed}
html[data-theme=dark] .mini-far{stroke:#88abc5}html[data-theme=dark] .mini-figure{filter:drop-shadow(0 1px 2px #06111e)}
html[data-theme=dark] .mini-sleeping:after{color:#a7c8df}html[data-theme=dark] .mini-speech{background:#162d40ed;color:#c0dcec;border-color:#8fb6d144;box-shadow:0 5px 22px #030c1644}
html[data-theme=dark] .mini-tour{color:#acd6ee}html[data-theme=dark] .mini-dismiss{background:#203e54;color:#bbd9ec}
html[data-theme=dark] .cursor-ring{background:#51789388;border-color:#b1d9f0}html[data-theme=dark] .cursor-core{background:#d6edfb;border-color:#8bb9d8}
html[data-theme=dark] .cursor-interactive .cursor-ring{background:#91c8ea26;box-shadow:none}
html[data-theme=dark] .project-notes{color:#d7e7f3}html[data-theme=dark] :is(.project-note-label,.project-notes>p:not(.project-note-label),.project-notes>a){color:#abc6da}
html[data-theme=dark] .project-note-status{color:#96b4ca!important}
/* The separate studio keeps its cinematic artwork, with a coordinated night UI. */
html[data-theme=dark] :is(.room-header,.room-navigation,.room-console,.room-panel){background:#101e2bed;color:#d5e6f0;border-color:#8fb6d13d}
html[data-theme=dark] :is(.room-panel h2,.room-panel h3,.room-panel h4,.panel-heading,.panel-close,.room-wordmark){color:#d7e8f3}
html[data-theme=dark] :is(.panel-intro,.panel-body p,.equipment-item,.equipment-category,.gear-note,.sleeve-meta,.sleeve-artist,.sleeve-title,.release-note,.listening-card,.room-panel small){color:#a9c1d1}
html[data-theme=dark] :is(.room-navigation button,.room-console button,.atmosphere-controls button,.back-to-world,.study-label){color:#acc9dc}
html[data-theme=dark] .room-navigation button[aria-pressed=true]{background:#28465a;color:#e4f2fa}
html[data-theme=dark] :is(.cosmos-looper,.looper-display,.gig-ticket,.calendar,.archive-paper,.archive-box,.listening-card){background:#182e3e;color:#c7deed;border-color:#7fabc547}
html[data-theme=dark] :is(.looper-transport button,.pattern-strip button,.pattern-strip select,.looper-bottom select,.calendar button,.calendar-days>button){background:#203c50;color:#bbd7e8;border-color:#7fabc547}
/* Earlier separate prototype sections remain navigable in the same night palette. */
html[data-theme=dark] :is(.hero,.world-index,.music-section,.home-music-room,.physics-section,.computing-section,.writing-section,.outro,.bookshelf){background-color:#102131;color:#d2e5f3}
html[data-theme=dark] :is(.hero-description,.hero-footnote,.portal-note,.music-portal-copy p,.section-topline,.shelf-title,.room-links){color:#a4bed1}
html[data-theme=dark] :is(.portal-enter,.enter-button){background:#a8cce3;color:#142c3f}
html[data-theme=dark] :is(.station,.project-card,.orb-label,.wander-help){background:#1a3145;color:#c6e0f0;border-color:#8fb6d13d}
@media(max-width:760px){.apartment-header:has(.theme-toggle){height:auto;min-height:68px;flex-wrap:wrap;gap:10px;padding:14px 20px}.apartment-header:has(.theme-toggle) .address{display:none}.apartment-header:has(.theme-toggle) .portfolio-nav{order:3;flex-basis:100%;justify-content:space-between}.apartment-header .theme-toggle{margin-left:auto}.room-header .theme-toggle{width:30px;height:30px;flex-basis:30px}.site-header:has(.theme-toggle){flex-wrap:wrap;height:auto;min-height:95px;gap:12px;padding:15px 0}.site-header .theme-toggle{margin-left:auto}}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none}}
html[data-theme=dark] :is(.panel-heading,.live-calendar,.ticket-stub,.spotify-placeholder,.room-toast){background:#192d3d;color:#c3dbe9;border-color:#89b2cc40}
html[data-theme=dark] :is(.live-calendar button,.remote-top button,.brass-button){background:#28475b;color:#d7e9f3}
html[data-theme=dark] .step-button[aria-pressed=true]{background:linear-gradient(#6394af,#456f89);color:#edf7fd}
html[data-theme=dark] :is(.live-pads button:active,.live-pads button.hit,.looper-transport #loop-play[aria-pressed=true]){background:#7ca99f;color:#102a28}
html[data-theme=dark] :is(.ticket-stub,.archive-box:before){background:#293d4d}
html[data-theme=dark] :is(.room-glyph,.string-buttons button,.collision-button,.wander-toggle,.mobile-walk button,.toast,.project-empty){background:#1b3448;color:#b9d8ec;border-color:#89b2cc44}
html[data-theme=dark] .sound-formation [stroke]:not([stroke="none"]){stroke:#9bc4df}
html[data-theme=dark] :is(.physics-section,.computing-section,.writing-section,.music-section,.world-index,.outro){background:#102131}
html[data-theme=dark] :is(.music-copy>p,.physics-heading>p,.physics-aside,.simulation-note,.field-caption,.computer-copy>p,.audio-note,.shelf-space>p,.terminal-under,.hero-bottom,.sphere-caption,.portal-eyebrow,.room-number,.portal-topline,.study-caption,.calendar-week,.calendar-heading,.calendar-days){color:#a8c3d6}
html[data-theme=dark] .room-panel :is(label,output,li){color:#a9c4d7}
html[data-theme=dark] .room-panel .tiny-label{color:#96b2c8}
html[data-theme=dark] :is(.sound-design,.session-edit,.bar-tools,.bar-strip){border-color:#8bb4cf44}
html[data-theme=dark] .room-panel :is(select,input:not([type=color]):not([type=range])){color:#c4dfef;background:#1d374a;border-color:#85adc84d}
html[data-theme=dark] .calendar-days .gig-day{color:#d4e9f4;background:#31566d}

html[data-theme=dark] .career-art .diagram-phase.phase-two path{stroke:#acd9f4}


/* Ink / daylight: a stationary page revealed through an expanding wavefront.
   Scope overrides so existing cross-document page transitions remain intact. */
html[data-theme-travel]::view-transition-group(root){animation:none}
html[data-theme-travel]::view-transition-image-pair(root){isolation:isolate}
html[data-theme-travel]::view-transition-old(root),html[data-theme-travel]::view-transition-new(root){animation:none;mix-blend-mode:normal;opacity:1;width:100%;height:100%;object-fit:fill}
html[data-theme-travel=night]::view-transition-new(root),html[data-theme-travel=day]::view-transition-old(root){
 z-index:2;
 mask-image:radial-gradient(ellipse closest-side,#000 0%,#000 87.8%,transparent 88%,transparent 89.3%,#000 89.36%,#000 89.43%,transparent 89.5%,transparent 91.5%,#000 91.56%,#000 91.63%,transparent 91.7%,transparent 94.1%,#000 94.16%,#000 94.23%,transparent 94.3%);
 mask-repeat:no-repeat;
}
html[data-theme-travel=night]::view-transition-old(root),html[data-theme-travel=day]::view-transition-new(root){z-index:1}
html[data-theme-travel]::view-transition{pointer-events:none}
.theme-toggle svg{transition:transform .45s cubic-bezier(.22,.8,.25,1)}
.theme-toggle:hover svg{transform:rotate(-12deg)}
html[data-theme-travel=night] .theme-toggle svg{transform:rotate(35deg)}
html[data-theme-travel=day] .theme-toggle svg{transform:rotate(-35deg)}
@media(prefers-reduced-motion:reduce){.theme-toggle svg{transition:none;transform:none!important}}

/* Soft daylight: blue paper, restrained highlights and readable slate ink. */
html[data-theme=light]{--paper:#c3d7e2;--ink:#29495f;--quiet:#365a71;--muted:#365a71;--line:#66899f40;--blue:#9bbdd2;--thread-paper:#c3d7e2;--thread-line:#698ba34d}
html[data-theme=light] body{background:#c3d7e2;color:#29495f}
html[data-theme=light] .apartment-header{background:#c7d9e4;border-color:#66899f40}
html[data-theme=light] .welcome{background:radial-gradient(ellipse at 76% 42%,#ccdde533,transparent 58%),linear-gradient(145deg,#ccdce5,#bfd3df 75%)}
html[data-theme=light] .career-section{background:linear-gradient(165deg,#c6d9e4,#bdd2df 70%,#c3d7e2)}
html[data-theme=light] .sound-section{background:radial-gradient(ellipse at 78% 33%,#a9c7d72b,transparent 55%),linear-gradient(170deg,#c3d7e2,#cadbe4 65%,#bed3df)}
html[data-theme=light] .correspondence{background:linear-gradient(140deg,#c2d6e1,#b7cedd);color:#294f68}
html[data-theme=light] :is(.apartment-shell,.season-wash){background:#c3d7e2}
html[data-theme=light] .season-panel{border-color:#6f92aa29}
html[data-theme=light] .season-panel.spring{background:radial-gradient(ellipse at 50% 73%,#afc7b94d,transparent 65%),linear-gradient(#c7d9e3,#bdd2de)}
html[data-theme=light] .season-panel.summer{background:radial-gradient(ellipse at 50% 47%,#d3c7a64d,transparent 57%),linear-gradient(#c5d7e2,#bfd3df)}
html[data-theme=light] .season-panel.autumn{background:radial-gradient(ellipse at 50% 78%,#c8afa24d,transparent 67%),linear-gradient(#c4d6e1,#bed1dd)}
html[data-theme=light] .season-panel.winter{background:radial-gradient(ellipse at 60% 45%,#c5d8e340,transparent 65%),linear-gradient(#bcd1df,#b2cbdc)}
html[data-theme=light] .season-air{opacity:.12}
html[data-theme=light] :is(.apartment-navigation,.room-sheet){background:#cbdde7f5;border-color:#7597ad59;box-shadow:0 8px 24px #335b7310}
html[data-theme=light] main>.home-footer{background:#bfd3df;color:#365a71}
html[data-theme=light] :is(.welcome h1,.apartment-intro h1,.career-intro h2,.career-role,.sound-intro h2,.sound-stories h3,.correspondence h2){color:#29495f}
html[data-theme=light] :is(.welcome h1 em,.apartment-intro h1 em,.sound-intro h2 em){color:#416e8b}
html[data-theme=light] :is(.address,.portfolio-nav,.welcome-kicker,.welcome-identity,.welcome-about,.welcome-about p,.welcome-story,.welcome-story span,.welcome-source,.welcome-paths a,.welcome-biography,.welcome-biography p,.welcome-biography h2,.welcome-bottom,.career-eyebrow,.career-lead,.career-aside,.career-count,.career-date,.career-org,.career-detail p,.career-detail>ul,.career-education p>span,.career-education small,.career-coda p,.sound-eyebrow,.sound-story,.sound-lead,.sound-gear-copy p,.sound-player-note,.sound-live-note,.contact-eyebrow,.contact-subtitle,.contact-subtitle span,.contact-copy>p,.contact-reasons,.contact-selection,.contact-art-note,.apartment-intro>p,.apartment-intro>span,.arrival-hint,.room-invitation,.room-sheet>p){color:#365a71}
html[data-theme=light] .face-halo{background:radial-gradient(circle at 36% 28%,#c7dbe533,#a2bfd24d 65%,#93b4ca26);border-color:#6f95ae4d;box-shadow:inset 0 0 65px #7ba0b414}
html[data-theme=light] .face-halo:after{border-color:#6f95ae29}
html[data-theme=light] .face-thought-node span{background:#c4d8e3;border-color:#688fa9}
html[data-theme=light] .face-thought-caption{color:#365a71}
html[data-theme=light] .theme-toggle{background:#bdd2df;border-color:#7595ac66;color:#355e79}
html[data-theme=light] .theme-toggle:hover{background:#b2cbdc}
html[data-theme=light] .room-pins button>span{text-shadow:0 1px 4px #c3d7e2}
html[data-theme=light] .room-pins i{background:#c9dce7;box-shadow:0 0 0 4px #bad1df66}

html[data-theme=light] .chapter-nav{--thread-paper:#c3d7e2;--thread-line:#698ba34d;--thread-muted:#365a71}
html[data-theme=light] :is(.contact-intro,.contact-scene-name,.contact-selection,.gig-memory-date,.sound-gig-label,.sound-gig>p,.gig-archive-header,.gig-memory,.sound-gig-date){color:#365a71}
html[data-theme=light] .career-point{background:#bdd2df;box-shadow:0 0 0 5px #bdd2df}
html[data-theme=light] .career-entry[open] .career-point{background:#527d99;box-shadow:0 0 0 5px #bdd2df,0 0 0 6px #729ab355}
