/* Two deliberate palettes over the approved concept; imagery stays unchanged. */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;order:3;min-width:88px;min-height:42px;padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--text);font:500 12px/1.2 Inter,system-ui,sans-serif;white-space:nowrap}
.theme-toggle:hover{border-color:var(--accent)}
.theme-toggle svg{width:18px;height:18px;flex:none}
.theme-moon{display:none}
:root[data-theme=light] .theme-sun{display:none}
:root[data-theme=light] .theme-moon{display:block}
.site-header{gap:20px}
.site-header>.brand{margin-right:auto}
.site-header>.site-nav{order:2}
.site-header>.nav-toggle{order:4}
@media(min-width:901px) and (max-width:1200px){.site-nav{gap:17px}.site-header .brand img{width:190px}.site-nav .pill{padding:11px 13px}.site-header{gap:14px}}
@media(max-width:900px){.site-header{gap:12px}.theme-toggle{min-width:42px;width:42px;height:42px;padding:0}.theme-toggle>span{display:none}.site-header>.site-nav{order:5}.site-header .nav-toggle{margin-left:0}}
@media(max-width:460px){.site-header .brand img{width:150px}.site-header{gap:8px}.rw-experience .site-header{padding-inline:20px}}
:root[data-theme=light]{color-scheme:light;--bg:#f8f6f1;--panel:#fff;--panel-deep:#f0eee8;--text:#172b42;--muted:#526171;--line:rgba(23,43,66,.15);--accent:#b74430;--coral:#f15b40;--navy:#172b42}
:root[data-theme=light] body{background:var(--bg);color:var(--text)}
:root[data-theme=light] .site-header{background:#fffdf9;border-color:var(--line)}
:root[data-theme=light] .site-nav{color:var(--text)}
:root[data-theme=light] .nav-toggle{background:#fff;color:var(--text);border-color:var(--line)}
:root[data-theme=light] .concept-note{background:#eeeae2;color:var(--muted)}
:root[data-theme=light] .pill--light{background:#172b42;color:#fff}
:root[data-theme=light] .pill--outline{color:var(--text);border-color:#89939d;background:#ffffff60}
:root[data-theme=light] .hero:before{background:linear-gradient(90deg,#f8f6f1 2%,rgba(248,246,241,.98) 23%,rgba(248,246,241,.92) 32%,rgba(248,246,241,.72) 41%,rgba(248,246,241,.40) 48%,rgba(248,246,241,.14) 56%,rgba(248,246,241,0) 65%)}
:root[data-theme=light] .hero:after{inset:82% 0 0;background:linear-gradient(transparent,var(--bg))}
:root[data-theme=light] .hero-lede,:root[data-theme=light] .hero-trust{color:#425567}
:root[data-theme=light] .experience-intro{background:linear-gradient(180deg,#f0eee7,#f8f6f1)}
:root[data-theme=light] .flow-sources{background:#fff;border-color:#c9c7c1}
:root[data-theme=light] .flow-sources b{color:#6c7882}
:root[data-theme=light] .flow-core{background:radial-gradient(ellipse,#fff,#f2ebe3);border-color:#e0b5a7}
:root[data-theme=light] .flow-output{background:#fff;box-shadow:0 3px 12px #172b4205}
:root[data-theme=light] .flow-output:hover{background:#f7eae3}
:root[data-theme=light] .flow-output span{color:var(--muted)}
:root[data-theme=light] .flow-stem,:root[data-theme=light] .flow-outputs:before,:root[data-theme=light] .flow-output:before{background:#c0c7cb}
:root[data-theme=light] .featured{background:radial-gradient(ellipse at 78% 12%,#e9b99c17,transparent 50%),#f4f3ef}
:root[data-theme=light] .stage,:root[data-theme=light] .short-card,:root[data-theme=light] .companion,:root[data-theme=light] .broker-spotlight-card{background:#fff;box-shadow:0 10px 28px #172b4205}
:root[data-theme=light] .media-note{color:var(--muted)}
:root[data-theme=light] .text-link,:root[data-theme=light] .agent-reply a{color:var(--accent)}
:root[data-theme=light] .start-section,:root[data-theme=light] .outcomes{background:#f8f6f1}
:root[data-theme=light] .start-card{background:#fff}
:root[data-theme=light] .approach{background:#eeeae2}
:root[data-theme=light] .steps b{background:#fff;box-shadow:0 0 0 8px #eeeae2}
:root[data-theme=light] .steps:before{background:#b7443055}
:root[data-theme=light] .platform{background:#fffdf9}
:root[data-theme=light] .view-note{color:var(--muted)}
/* The laptop is an illustration of a dark workspace, not the webpage palette. */
:root[data-theme=light] .laptop{--text:#faf7f0;--muted:#b6c0c9;--accent:#ff9c87;color:#faf7f0}
:root[data-theme=light] .agent-device{background:#fff;border-color:#d2d6d9;box-shadow:0 12px 35px #172b4209}
:root[data-theme=light] .agent-device:before,:root[data-theme=light] .agent-device:after{background:#c5ccd1}
:root[data-theme=light] .agent-user{background:#f0ede7}
:root[data-theme=light] .agent-tasks button{background:#fff;border-color:#d0d6da;color:#526171}
:root[data-theme=light] .agent-tasks button[aria-pressed=true]{background:#fff0e9;border-color:#dba594;color:#9c3a29}
:root[data-theme=light] .trust{background:#eeeae2}
:root[data-theme=light] .trust-layout>div:last-child>p{color:var(--muted)}
:root[data-theme=light] .path{background:linear-gradient(140deg,#fff,#efece4)}
:root[data-theme=light] .path--move{background:linear-gradient(140deg,#fcece3,#fff)}
:root[data-theme=light] .path>p:not(.eyebrow){color:var(--muted)}
:root[data-theme=light] footer{color:#526171}
:root[data-theme=light] .broker-film{background:#f4f2ed}
:root[data-theme=light] .web-mini{background:#fff}
:root[data-theme=light] .web-bar{background:#e8e6e0;color:#526171}
:root[data-theme=light] .web-bar i{background:#a5adb3}
:root[data-theme=light] .experience-preview-facts{background:#fff;color:var(--text)}
:root[data-theme=light] .preview-facts-heading{border-color:var(--line)}
:root[data-theme=light] .preview-facts-heading p,:root[data-theme=light] .preview-facts-grid dt,:root[data-theme=light] .preview-stat-detail,:root[data-theme=light] .preview-facts-note,:root[data-theme=light] .preview-school-intro p,:root[data-theme=light] .preview-school-metrics dt,:root[data-theme=light] .preview-school-metrics p,:root[data-theme=light] .preview-school-note{color:var(--muted)}
:root[data-theme=light] .preview-facts-grid>div{background:#f6f4ef;border-color:var(--line)}
:root[data-theme=light] .preview-facts-grid dd,:root[data-theme=light] .preview-school-metrics dd{color:var(--text)}
:root[data-theme=light] .preview-school-facts{border-color:var(--line)}
:root[data-theme=light] .preview-facts-note a,:root[data-theme=light] .preview-school-intro a{color:var(--accent)}
/* Media images and text drawn on them retain their approved contrast. */
:root[data-theme=light] .film-thumbnail-overlay,:root[data-theme=light] .poster-copy,:root[data-theme=light] .presenter,:root[data-theme=light] .rw-history-year{color:#f5f8fb}
:root[data-theme=light] .play:not(:disabled):not(.is-playing):not(.is-loading),:root[data-theme=light] button.hw-play:not(.is-playing):not(.is-loading){background:#fff;color:#172b42;border-color:#8ba0b5}
:root[data-theme=light] button.hw-play.is-playing{background:#fff0e9;color:#b74430;border-color:#d4533a}
:root[data-theme=light] .audio-player,:root[data-theme=light] .share-song__player{background:#f0f2f3;border-color:var(--line)}
:root[data-theme=light] .audio-player .play:not(:disabled):not(.is-playing):not(.is-loading){color:#172b42;border-color:#8ba0b5}
:root[data-theme=light] .audio-player input,:root[data-theme=light] .share-song__seek{background:linear-gradient(to right,var(--accent) var(--pct),#cad1d6 var(--pct))}
:root[data-theme=light] .audio-player input::-webkit-slider-thumb,:root[data-theme=light] .share-song__seek::-webkit-slider-thumb{background:#172b42}
:root[data-theme=light] .audio-player input::-moz-range-thumb,:root[data-theme=light] .share-song__seek::-moz-range-thumb{background:#172b42}
/* Venice experience. Keep the photographic hero, lighten the surrounding guide. */
:root[data-theme=light] .rw-experience{background:#f8f6f1;color:#172b42}
/* White photographic tint and navy copy for the light experience header. */
:root[data-theme=light] .rw-experience .rw-exp-hero{border-color:var(--line);box-shadow:0 8px 24px #172b4212}
:root[data-theme=light] .rw-experience .rw-exp-hero--place::after{background:linear-gradient(90deg,rgba(255,255,255,.70),rgba(255,255,255,.82) 40%,rgba(255,255,255,.90))}
:root[data-theme=light] .rw-experience .rw-exp-meta h1,:root[data-theme=light] .rw-experience .rw-exp-host,:root[data-theme=light] .rw-experience .rw-exp-description,:root[data-theme=light] .rw-experience .rw-exp-featuring,:root[data-theme=light] .rw-experience .rw-exp-nav{color:#172b42;text-shadow:none}
:root[data-theme=light] .rw-experience .rw-exp-nav{border-color:var(--line)}
:root[data-theme=light] .rw-experience .rw-exp-nav a{color:inherit}
:root[data-theme=light] .rw-experience .rw-exp-cover{border-color:#ffffffc9;box-shadow:0 14px 32px #172b4226,0 4px 12px #172b421a}
:root[data-theme=light] .rw-experience .rw-analysis,:root[data-theme=light] .rw-experience .preview-inquiry,:root[data-theme=light] .rw-experience .rw-history-highlight,:root[data-theme=light] .rw-experience .rw-area-overview,:root[data-theme=light] .rw-experience .stage{background:#fff;border-color:var(--line);box-shadow:0 8px 28px #172b4204}
:root[data-theme=light] .area-preview .inquiry-field input,:root[data-theme=light] .area-preview .inquiry-field textarea,:root[data-theme=light] .area-preview .inquiry-field select{background:#fff;color:#172b42;border-color:#bac4cc;color-scheme:light}
:root[data-theme=light] .area-preview .inquiry-field textarea::placeholder{color:#687785}
:root[data-theme=light] .rw-experience .preview-inquiry p,:root[data-theme=light] .rw-experience .rw-history-copy>p:not(.rw-area-eyebrow),:root[data-theme=light] .rw-experience .rw-area-story,:root[data-theme=light] .rw-experience .rw-map-heading p,:root[data-theme=light] .rw-experience .rw-school-intro>p,:root[data-theme=light] .rw-experience .rw-area-fact p{color:var(--muted)}
:root[data-theme=light] .rw-experience .rw-history-copy>p>strong,:root[data-theme=light] .rw-experience .rw-area-intro,:root[data-theme=light] .rw-experience .rw-area-fact h3,:root[data-theme=light] .rw-experience .rw-area-fact strong{color:var(--text)}
:root[data-theme=light] .rw-experience .rw-area-eyebrow,:root[data-theme=light] .rw-experience .rw-history-copy .rw-story-signature,:root[data-theme=light] .rw-experience .rw-history-sources a,:root[data-theme=light] .rw-experience .rw-map-heading>a,:root[data-theme=light] .rw-experience .rw-stat-source a,:root[data-theme=light] .rw-experience .rw-school-sources a,:root[data-theme=light] .rw-experience .rw-area-fact a{color:var(--accent)}
:root[data-theme=light] .rw-experience .rw-history-art,:root[data-theme=light] .rw-experience .rw-map-frame{border-color:var(--line)}
:root[data-theme=light] .rw-experience .rw-numbers,:root[data-theme=light] .rw-experience .rw-school-numbers,:root[data-theme=light] .rw-experience .rw-area-map{border-color:var(--line)}
:root[data-theme=light] .rw-experience .rw-stat-grid>div,:root[data-theme=light] .rw-experience .rw-area-fact{background:#f6f4ef;border-color:var(--line)}
:root[data-theme=light] .rw-experience .rw-stat-grid dd,:root[data-theme=light] .rw-experience .rw-school-metrics dd{color:var(--text)}
:root[data-theme=light] .rw-experience .rw-stat-grid dt,:root[data-theme=light] .rw-experience .rw-school-metrics dt,:root[data-theme=light] .rw-experience .rw-stat-grid dd span,:root[data-theme=light] .rw-experience .rw-area-photo figcaption,:root[data-theme=light] .rw-experience .rw-area-story-sources,:root[data-theme=light] .rw-experience .rw-numbers-heading>p,:root[data-theme=light] .rw-experience .rw-stat-source,:root[data-theme=light] .rw-experience .rw-school-note,:root[data-theme=light] .rw-experience .rw-area-footnote,:root[data-theme=light] .rw-experience .rw-stat-grid dd.rw-stat-detail,:root[data-theme=light] .rw-experience .rw-school-metrics dd.rw-stat-detail{color:var(--muted)}
:root[data-theme=light] .rw-experience footer.rw-share-footer{border-color:var(--line);color:var(--muted)}
:root[data-theme=light] .rw-experience .rw-share-copyright{color:#687785}
:root[data-theme=light] .rw-experience .rw-share-footer a:hover{color:var(--text)}
/* Song analysis gets white paper surfaces, navy data and the same blue wave. */
:root[data-theme=light] .rw-experience .share-song{--border:#172b4224;--text:#172b42;--muted:#526171;--accent:#b74430;--hw-play-accent:#b74430}
:root[data-theme=light] .share-song__card{background:#fff;--song-ic-cut:#fff}
:root[data-theme=light] .ssa-big,:root[data-theme=light] .ssa-stats b,:root[data-theme=light] .ssa-read,:root[data-theme=light] .share-song__time{color:#172b42}
:root[data-theme=light] .ssa-sub,:root[data-theme=light] .ssa-inst,:root[data-theme=light] .ssa-tags,:root[data-theme=light] .ssa-stats span,:root[data-theme=light] .ssa-energy,:root[data-theme=light] .ssa-secs{color:#526171}
:root[data-theme=light] .ssa-dot{border-color:#bec8d1}
:root[data-theme=light] .ssa-dot i,:root[data-theme=light] .ssa-bar i{background:#d3dbe0}
:root[data-theme=light] .ssa-read{border-color:var(--line)}
:root[data-theme=light] .ssa-chips span,:root[data-theme=light] .ssa-tags span{background:#edf2f5;color:#425567}
:root[data-theme=light] .ssa-curve path[stroke="#6DD3FF"]{stroke:#197da8}
:root[data-theme=light] .share-song__link{color:var(--text);border-color:#b6c1c9}
/* Policy content follows the same readable paper palette. */
:root[data-theme=light] .legal-page .last-updated{color:var(--muted)}
:root[data-theme=light] .legal-page .section-contents{background:transparent;border-color:var(--line)}
:root[data-theme=light] .legal-page .zero-tolerance{background:#fff0ed;border-color:#e4a396}
:root[data-theme=light] .legal-page .zero-tolerance p{color:#a8342a}
:root[data-theme=light] .legal-page dialog{background:#fff;color:var(--text);border:1px solid var(--line)}
@media(max-width:900px){:root[data-theme=light] .site-header.is-nav-open .site-nav{background:#fffdf9;border-color:var(--line)}}
@media(max-width:760px){:root[data-theme=light] .hero:before{background:linear-gradient(180deg,transparent 0,transparent 150px,#f8f6f140 240px,var(--bg) 300px)}}
@media(max-width:360px){:root[data-theme=light] .hero:before{background:linear-gradient(180deg,transparent 0,transparent 120px,#f8f6f140 210px,var(--bg) 260px)}}
:root[data-theme=light] .ssa-chips i{background:#edf2f5;color:#425567}
:root[data-theme=light] .ssa-dot b{background:#197da8;box-shadow:0 0 0 6px #197da822}
:root[data-theme=light] .rw-experience .inquiry-intro .eyebrow,:root[data-theme=light] .rw-experience .rw-area-fact>svg{color:var(--accent)}
:root[data-theme=light] .preview-facts-heading>span,:root[data-theme=light] .preview-stat-source,:root[data-theme=light] .preview-facts-grid small,:root[data-theme=light] .preview-facts-grid dd.preview-stat-detail,:root[data-theme=light] .preview-school-metrics dd.preview-stat-detail{color:var(--muted)}
:root[data-theme=light] .experience-preview-facts a{color:var(--accent)}

:root[data-theme=light] .audio-player>span{color:#172b42}
/* Inquiry calls to action in light mode: navy copy over the white-tinted hero, an ivory sticky bar. */
:root[data-theme=light] .rw-experience .rw-exp-cta p{color:#172b42;text-shadow:none}
:root[data-theme=light] .rw-experience .rw-sticky-cta{background:rgba(248,246,241,.95)}
