:root{--brand-yellow:#ffd600;--sky:#86d9e5;--surface:#080808;--muted:#aaa99e;--line:#ffffff26;--header:#030303da;--glow:radial-gradient(ellipse 46% 65% at 74% 113%,#b9b7a26b 0%,#77756538 28%,#34332b17 53%,transparent 82%)}
html[data-theme=light]{color-scheme:light;--black:#fafaf7;--paper:#151513;--dim:#62625a;--yellow:#86d9e5;--surface:#efefe9;--muted:#595950;--line:#17171226;--header:#fafaf7e8;--hairline:#17171226;--control-edge:#17171226;--control-surface:#17171204;--control-hover:#1717120b;--glow:radial-gradient(ellipse 46% 65% at 74% 113%,#b1d9dd50 0%,#cfdcdb26 30%,#d7dcda12 55%,transparent 82%)}
body{background:var(--black);color:var(--paper);transition:background-color .25s,color .25s}
.depth-field{background:var(--black)}
.depth-light{inset:-4% -12% -20%;background:var(--glow);mask-image:linear-gradient(to top,#000, #000 55%,transparent);-webkit-mask-image:linear-gradient(to top,#000,#000 55%,transparent)}
.depth-grain{mask-image:linear-gradient(to top,#000,transparent 88%);-webkit-mask-image:linear-gradient(to top,#000,transparent 88%);opacity:.08}
.cursor-light{display:none}
.site-header{gap:24px}
.site-header.is-scrolled{background:var(--header);box-shadow:0 0 0 16px var(--header)}
.header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.brand-logo{width:232px;aspect-ratio:4.22;overflow:visible}
.brand .brand-logo img{inset:0;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:left center}
.brand-light{display:none!important}
html[data-theme=light] .brand-dark{display:none!important}
html[data-theme=light] .brand-light{display:block!important}
.theme-toggle{display:flex;align-items:center;justify-content:center;gap:9px;min-width:106px;min-height:44px;padding:10px 13px;background:var(--control-surface);border:1px solid var(--line);border-radius:6px;color:var(--paper);font-size:13px;transition:background .2s,border-color .2s}
.theme-toggle:hover{background:var(--control-hover);border-color:var(--muted)}
.theme-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.theme-moon{display:none}
html[data-theme=light] .theme-sun{display:none}
html[data-theme=light] .theme-moon{display:block}
.hero-description{margin-bottom:16px}
.hero-cinema .hero-watch{min-height:60px;padding:15px 21px;gap:28px;border:1px solid #ffd60078;border-radius:6px;background:#ffd6000c;color:var(--paper);font-size:17px;box-shadow:inset 0 1px #ffffff0b;transition:background .3s,border-color .3s,transform .3s}
.hero-cinema .hero-watch:hover{gap:28px;background:#ffd6001b;border-color:var(--brand-yellow);transform:translateY(-2px)}
.hero-watch>span{display:flex;align-items:center;justify-content:center;width:26px;height:26px;color:var(--brand-yellow)}
.hero-watch .ui-arrow{width:24px;height:24px;stroke-width:1.8}
.preview-toolbar{display:none!important}
/* Light UI is tuned independently. Photography and video colours stay intact. */
html[data-theme=light] .hero-cinema h1{text-shadow:none}
html[data-theme=light] .hero-cinema .eyebrow,html[data-theme=light] .hero-description,html[data-theme=light] .desktop-nav a,html[data-theme=light] .section-index,html[data-theme=light] .section-count,html[data-theme=light] .work-meta p,html[data-theme=light] .work-number,html[data-theme=light] .client-proof,html[data-theme=light] .type-line,html[data-theme=light] .storyboard-eyebrow,html[data-theme=light] .storyboard-description,html[data-theme=light] .storyboard-legend,html[data-theme=light] .contact-person,html[data-theme=light] .contact-handle,html[data-theme=light] .route-footnote,html[data-theme=light] .route-arrival,html[data-theme=light] .footer-bottom,html[data-theme=light] .contact-qr>span:last-child{color:var(--muted)}
html[data-theme=light] .desktop-nav a:hover,html[data-theme=light] .desktop-nav a.active,html[data-theme=light] .storyboard-kind,html[data-theme=light] .route-open,html[data-theme=light] .client:after{color:var(--paper)}
html[data-theme=light] .hero-watch>span{color:var(--yellow)}
html[data-theme=light] .hero-cinema .hero-stage{background:transparent}
html[data-theme=light] .mobile-nav{background:#fafaf7f2;border-color:var(--line);box-shadow:0 18px 48px #0002}
html[data-theme=light] .menu-toggle,html[data-theme=light] .route-options button,html[data-theme=light] .dialog-head button{color:var(--paper);border-color:var(--line)}
html[data-theme=light] .route-options button[aria-pressed=true]{color:var(--yellow);border-color:#86d9e5;background:#86d9e526}
html[data-theme=light] .show-more{background:var(--brand-yellow);border-color:#86d9e5;color:#171710}
html[data-theme=light] .show-more:hover{background:#ffe43b}
html[data-theme=light] .show-more[aria-expanded=true]{background:var(--surface);border-color:var(--line);color:var(--paper)}
html[data-theme=light] .frame{background:#e9e9e2}
/* Storyboard paper/ink follows the theme in storyboard-themes.css. */
html[data-theme=light] .storyboard-image{background:var(--black);box-shadow:none}
html[data-theme=light] .client img{filter:grayscale(1) invert(1);opacity:.78}
html[data-theme=light] .client:hover img{opacity:1}
html[data-theme=light] .contact-hub{border-color:var(--line)}
html[data-theme=light] .qr-window{box-shadow:0 0 0 1px var(--line),0 10px 30px #0000000c}
html[data-theme=light] .telegram,html[data-theme=light] .route-link{border-color:#86d9e5}
html[data-theme=light] .film-dialog{background:#fafaf7ef;border-color:#0003;box-shadow:0 25px 80px #0005}
html[data-theme=light] .film-dialog::backdrop{background:#1b1b1a80}
html[data-theme=light] .film-content{background:#000}
html[data-theme=light] .modal-action a{background:var(--brand-yellow);color:#111}
html[data-theme=light] .office-map,html[data-theme=light] .office-map-live{background:#f0f0eb}
html[data-theme=light] .office-map-live .leaflet-tile-pane{filter:grayscale(1)}
html[data-theme=light] .office-map-live .maplibregl-canvas{filter:invert(1) grayscale(1)}
html[data-theme=light] .office-map:after{box-shadow:inset 0 0 35px 6px #fafaf744}
html[data-theme=light] .office-map .map-corner,html[data-theme=light] .office-map .map-source,html[data-theme=light] .metro-pin span,html[data-theme=light] .kustov-map-pin>span,html[data-theme=light] .entrance-pin>span{background:#fafaf7ed;color:#24241c;text-shadow:none;border-color:#86d9e5}
html[data-theme=light] .metro-pin span small,html[data-theme=light] .kustov-map-pin small{color:#59594e}
html[data-theme=light] .office-map-live .metro-pin i{color:#22221a;background:#fafaf7;border-color:#66665c;box-shadow:0 0 0 3px #fafaf7bb}
html[data-theme=light] .map-zoom{background:#fafaf7e8;border-color:var(--line)}
html[data-theme=light] .map-zoom button+button{border-color:var(--line)}
html[data-theme=light] .depth-grain{mix-blend-mode:multiply}
@container(max-width:1100px){.site-header{gap:18px}.brand-logo{width:200px}.desktop-nav{gap:16px}.header-actions{gap:10px}}
@container(max-width:640px){
 .site-header{gap:10px}.brand-logo{width:148px}.header-actions{gap:8px}
 .theme-toggle{min-width:44px;width:44px;padding:10px}.theme-label{display:none}
 .hero-cinema .hero-watch{font-size:16px;min-height:56px;padding:13px 17px;gap:24px}
 .hero-cinema .hero-watch:hover{gap:24px}
 .depth-light{inset:-4% -25% -20%;background:var(--glow)}
 .hero-cinema .hero-stage{background:transparent}
}
@media(prefers-reduced-motion:reduce){body,.theme-toggle,.hero-cinema .hero-watch{transition:none}.hero-cinema .hero-watch:hover{transform:none}}
