:root{color-scheme:light}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:44px;width:44px;height:44px;flex-shrink:0;border:0;border-radius:3px;background:transparent;color:var(--ink);font-size:11px;padding:0}
.theme-toggle:hover{border-color:var(--accent);color:var(--accent);background:transparent}
.theme-label{display:none}
.theme-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.theme-icon-sun{display:none}[data-theme=dark] .theme-icon-sun{display:block}[data-theme=dark] .theme-icon-moon{display:none}
@media(max-width:1100px){.header-inner{gap:20px}.nav{gap:24px}}
@media(max-width:760px){.header-inner{gap:10px}.brandmark{flex-basis:132px;margin-right:auto}.theme-toggle{order:2;min-width:44px;width:44px;padding:0}.theme-label{display:none}.nav-toggle{order:3}.nav{order:4}.header-inner .nav{gap:8px}}
/* Night colours keep the studio's warm burgundy / rose identity. */
:root[data-theme=dark]{color-scheme:dark;--paper:#21191d;--white:#302329;--ink:#f5ecef;--muted:#c4acb6;--line:#563e49;--accent:#e4bac5;--accent-dark:#f5d0da;--sand:#432d37;--rose:#e4bac5;--wine:#482330;--light-ink:#f5ecef;--light-muted:#dfc2cc}
[data-theme=dark] ::selection{background:#86495f;color:#fff}
[data-theme=dark] .header{background:rgba(33,25,29,.97)}
/* Original files remain intact; screen blending removes white in night mode. */
[data-theme=dark] .brand-logo,[data-theme=dark] .branch-logo{mix-blend-mode:screen;filter:invert(1) hue-rotate(180deg);background:transparent;border-radius:0;padding:0}
[data-theme=dark] .branch-filter .branch-logo{padding:0}
[data-theme=dark] .nav .nav-contact{background:#e4bac5;color:#302329}
[data-theme=dark] .nav .nav-contact:hover{background:#f5d0da;color:#302329}
[data-theme=dark] .button:not(.secondary){color:#302329}
[data-theme=dark] .project-visual.web{background:#392830}
[data-theme=dark] .project-visual.phone{background:#4b303b}[data-theme=dark] .project-card:nth-child(even) .project-visual.phone{background:#583340}
[data-theme=dark] .project-visual.type{background:#73344b;color:#f5ecef}[data-theme=dark] .project-card:nth-child(even) .project-visual.type{background:#482330}
[data-theme=dark] .filter.branch-filter{color:var(--ink)}
[data-theme=dark] .project-visual.web img,[data-theme=dark] .project-visual.phone img{border-color:#76535f;box-shadow:0 14px 25px #100a1030}
[data-theme=dark] .studio-band{background:#482330;border-color:#693746}
[data-theme=dark] .contact-form input::placeholder,[data-theme=dark] .contact-form textarea::placeholder{color:#b69da7;opacity:1}
[data-theme=dark] .fstatus.err{color:#ffa8bb}[data-theme=dark] .fstatus.ok{color:#efc1d1}
[data-theme=dark] .lightbox,[data-theme=dark] .lightbox::backdrop{background:#1a1118f7;color:#f5ecef}
[data-theme=dark] .lightbox button{color:#f5ecef;background:#452530}[data-theme=dark] .lightbox button:hover{background:#754357}
[data-theme=dark] .zoom-label{color:#f5ecef;background:#302329}
[data-theme=dark] .hero-zoom:hover .zoom-label{background:#e4bac5;color:#302329}
/* Product images retain their own colours; only their surrounding UI changes. */
[data-theme=dark] .hero-carousel{background:#302329;border-color:#684652;box-shadow:0 20px 50px #10080e30}
[data-theme=dark] .hc-art{background:radial-gradient(ellipse at 75% 15%,#684451 0,transparent 63%),#3d2933}
[data-theme=dark] .hc-art::before,[data-theme=dark] .hc-art::after{border-color:#bd859440}
[data-theme=dark] .hc-watermark{color:#d292aa20}
[data-theme=dark] .hc-device{border-color:#a87688;box-shadow:8px 19px 22px #10080e45;background:#302329}
[data-theme=dark] .hc-browser{background:#392830;color:#dfc2cc}
[data-theme=dark] .hc-art-note{color:#ebc8d5}[data-theme=dark] .hc-art-note span{color:#c69fac}
[data-theme=dark] .hc-phone{background:radial-gradient(ellipse at 65% 20%,#814e62 0,transparent 65%),#4d2e3b}
[data-theme=dark] .hc-phone .hc-device{border-color:#85616e}[data-theme=dark] .hc-phone .hc-watermark{color:#e8bac528}
[data-theme=dark] .hc-caption,[data-theme=dark] .hc-controls{background:#302329}
[data-theme=dark] .hc-controls{border-color:#60434f}[data-theme=dark] .hc-controls button{color:#e4bac5}
[data-theme=dark] .hc-controls button:hover{background:#513440;color:#f5d0da}
[data-theme=dark] .hc-open{border-color:#926173}[data-theme=dark] .hc-open:hover{background:#513440}
[data-theme=dark] .hc-dot>span{background:#795360}[data-theme=dark] .hc-dot.is-current>span{background:#e4bac5}
/* Case-study frames, chapter panels and closing calls to action. */
[data-theme=dark] .genkan-story,[data-theme=dark] .japanquests-story{--gk-rust:#e4bac5;--gk-dark:#482330;--gk-tint:#392830}
[data-theme=dark] .gk-opening-inner{border-color:#674651}
[data-theme=dark] .gk-browser{background:#302329;color:#dfc2cc;border-color:#76535f}
[data-theme=dark] .gk-browser-dots i{border-color:#bb879a}[data-theme=dark] .gk-browser>span:last-child{color:#dfb5c5}
[data-theme=dark] .gk-shot{background:#302329;border-color:#76535f;box-shadow:0 16px 35px #10080e30;color:#f5ecef}
[data-theme=dark] .gk-enlarge{background:#302329f2;border-color:#926173;color:#f5ecef}
[data-theme=dark] .gk-opening-note{color:#c4acb6}
[data-theme=dark] .gk-discover{color:#f5ecef}
[data-theme=dark] .gk-discover .gk-browser,[data-theme=dark] .gk-discover .gk-shot{border-color:#926173}
[data-theme=dark] .jq-collections{background:#392830;border-color:#674651}
[data-theme=dark] .jq-collection-notes b{color:#c4acb6}
[data-theme=dark] .jq-stamp{border-color:#c78c9e;outline-color:#a46c80}
[data-theme=dark] .gk-ending{background:#642b40;color:#f5ecef}
[data-theme=dark] .gk-ending .button{background:#e4bac5;color:#302329;border-color:#e4bac5}
[data-theme=dark] .gk-ending .button:hover{background:#f5d0da;border-color:#f5d0da}

.header-actions{display:flex;align-items:center;gap:18px;flex-shrink:0}
.header-actions .nav{gap:28px}
@media(max-width:1100px){.header-actions{gap:14px}.header-actions .nav{gap:22px}}
@media(max-width:760px){.header-actions{gap:8px}.header-actions .nav{gap:8px}}
