/* Visitor-controlled colour modes, independent of the selected design layout. */
html[data-theme=light] { color-scheme:light; --mode-paper:#f1efe7; --mode-ink:#1a211b; --mode-muted:#5e675b; --mode-line:#d1d4c9; --mode-process:#e3e7dc; --mode-panel:#e0e5d7; --contact-surface:#1a211b; --contact-text:#f1efe7; --contact-muted:#c3cdbb; }
html[data-theme=dark] { color-scheme:dark; --mode-paper:#111511; --mode-ink:#eeeae1; --mode-muted:#adb7a5; --mode-line:#344137; --mode-process:#192019; --mode-panel:#222c20; --contact-surface:#c1cbb3; --contact-text:#111511; --contact-muted:#414c38; }
html[data-theme] .restyle { --paper:var(--mode-paper); --ink:var(--mode-ink); --muted:var(--mode-muted); --line:var(--mode-line); }
html[data-theme] .restyle .work-gallery-section { background:var(--paper); color:var(--ink); }
html[data-theme] .restyle .work-gallery-section .section-heading > p,
html[data-theme] .restyle .work-gallery-section .work-meta .film-category,
html[data-theme] .restyle .work-gallery-section .work-meta p:not(.film-category),
html[data-theme] .restyle .work-gallery-section .work-duration,
html[data-theme] .restyle .work-gallery-section .work-footnote { color:var(--muted); }
html[data-theme] .restyle .process-section { background:var(--mode-process); }
html[data-theme] .restyle .process-story-copy .film-category { color:var(--muted); }
html[data-theme] .restyle .process-story-copy > p:not(.film-category) { color:var(--muted); }
html[data-theme] .restyle .project-dialog { --paper:#eeeae1; background:#111511; color:#eeeae1; }
html[data-theme] .restyle .contact-section { --paper:var(--contact-surface); --ink:var(--contact-text); --muted:var(--contact-muted); background:var(--paper); color:var(--ink); }
html[data-theme] .restyle .contact-arrow { stroke:var(--ink); }
html[data-theme] .restyle .contact-details > p { color:var(--muted); }
html[data-theme] .restyle .brief-address-card,
html[data-theme] .restyle .brief-form .form-status { background:var(--mode-panel); color:var(--ink); }
html[data-theme] .restyle .brief-copy-help { color:var(--muted); }
html[data-theme] .restyle .brief-form input,
html[data-theme] .restyle .brief-form textarea,
html[data-theme] .restyle .brief-email-address { border-color:var(--muted); }
html[data-theme] .restyle .brief-form input::placeholder,
html[data-theme] .restyle .brief-form textarea::placeholder { color:var(--muted); }
html[data-theme] .restyle .site-nav > a[aria-current=location]::after { background:var(--muted); }
html[data-theme=dark] .restyle :focus-visible { outline-color:#d6ed9b; }
html[data-theme=light] .restyle :focus-visible { outline-color:#5c7626; }
html[data-theme=light] .style-screening .service-enquire:hover,
html[data-theme=light] .style-screening .service-enquire:focus-visible { color:#111511; }
.restyle .theme-switch { display:flex; align-items:center; gap:2px; width:max-content; padding:2px; border:1px solid var(--line); border-radius:0; }
.restyle .theme-switch button { display:flex; align-items:center; justify-content:center; gap:6px; min-height:40px; min-width:60px; padding:8px 10px; color:var(--muted); font-size:12px; line-height:1; }
.restyle .theme-switch button[aria-pressed=true] { background:var(--ink); color:var(--paper); }
.restyle .theme-switch svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.4; flex-shrink:0; }
.restyle .theme-switch-desktop { margin-right:auto; }
.restyle .nav-contact,.restyle .header-brief { transition:none; }
.restyle .theme-preference-mobile { display:none; }
@media(min-width:901px) and (max-width:1199px) {
 .restyle .site-header { gap:16px; }
 .restyle .site-nav { font-size:14px; gap:18px; }
 .restyle .theme-switch button { min-width:52px; gap:4px; padding-inline:7px; }
}
@media(max-width:900px) {
 .restyle .theme-switch-desktop { display:none; }
 .restyle .theme-preference-mobile { display:block; border-top:1px solid var(--line); margin-top:10px; padding-top:18px; }
 .restyle .theme-preference-mobile > span { display:block; font-size:12px; margin-bottom:12px; color:var(--muted); }
 .restyle .theme-preference-mobile .theme-switch { width:100%; padding:3px; }
 .restyle .theme-switch button { min-height:44px; flex:1; font-size:15px; gap:8px; }
 .restyle .theme-switch svg { width:18px; height:18px; }
}
