/* Private review experiment. Original client artwork is never recoloured. */
.theme-settings{position:fixed;right:18px;bottom:18px;z-index:1150;max-width:min(340px,calc(100vw - 36px));color:#f5f5f5;background:#222222;border:1px solid #747474;border-radius:16px;box-shadow:0 5px 24px #0003;font:14px/1.5 Gilroy,Arial,sans-serif}
.theme-settings summary{cursor:pointer;padding:12px 18px;min-height:44px;list-style:none;font-weight:600}.theme-settings summary::-webkit-details-marker{display:none}.theme-settings summary:after{content:' +';color:#ff765f}.theme-settings[open] summary:after{content:' −'}.theme-settings> :not(summary){margin:0 18px 14px}.theme-settings label{display:block}.theme-settings select{display:block;width:100%;padding:10px;border:1px solid #929292;border-radius:6px;background:#151515;color:#f5f5f5;font:inherit;margin-top:6px;min-height:44px}.theme-settings p{font-size:13px;color:#dadada}.theme-settings :focus-visible{outline:2px solid #ff806b;outline-offset:4px}.theme-settings[open]{max-height:75dvh;overflow:auto}.back-top{bottom:80px!important}
html[data-theme=dark]{color-scheme:dark;--paper:#151515;--life-paper:#151515;--surface:#151515;--ink:#f4f4f4;--muted:#bdbdbd;--line:#484848;--white:#181818}
html[data-theme=dark] body{color:#f4f4f4}
html[data-theme=dark] .nav,html[data-theme=dark] .nav-links{color:#111;color-scheme:light}
html[data-theme=dark] .nav .menu{color:#111}
html[data-theme=dark] :is(.copy,.copy-sm,.hero-copy,.article-date,.article-read,.brand-question-label,.showcase-discipline,.showcase-image-note,.desc,.search-helper,.domain-choice-note,.hosting-compare-foot,.signup-status){color:#c7c7c7!important}
html[data-theme=dark] :is(.contact-card,.decision-card,.domain-search,.question-stage,.article-preview,.accordion-panel,.tier,.tier.featured,.insight-reader,.insight-reader-shell,.insight-reader-content,.project-reader){background:#151515!important;color:#f4f4f4!important;border-color:#555555!important}
html[data-theme=dark] :is(.tier h3,.tier .price,.tier .feature,.contact-card h3,.contact-card label,.article-preview h3,.article-preview-link,.insight-reader h1,.insight-reader h2,.insight-reader h3,.project-reader h2,.project-reader h4){color:#f4f4f4!important}
html[data-theme=dark] :is(.accordion-trigger,.brand-question,.process-row,.primary-service,.service,.hosting-table-scroll td,.hosting-table-scroll th,.hosting-opening-search,.portfolio-story){border-color:#555555!important}
html[data-theme=dark] :is(.accordion-trigger,.accordion-title,.accordion-plus,.brand-question strong,.brand-question .question-open,.hosting-comparison,.hosting-comparison th,.hosting-comparison td,.bp-application,.bp-application__head,.bp-application__foot){color:#f4f4f4!important}
html[data-theme=dark] :is(.accordion-trigger:hover,.brand-question summary:hover){background:#222222!important}
html[data-theme=dark] .brand-question[open] summary{color:#ff8c76}
html[data-theme=dark] :is(input,select,textarea){background:#0b0b0b!important;color:#f4f4f4!important;border-color:#777777!important}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#b8b8b8!important;opacity:1}
html[data-theme=dark] main .btn{color:#f4f4f4;border-color:#888888;background:transparent}
html[data-theme=dark] main .btn-solid,html[data-theme=dark] main .btn:hover,html[data-theme=dark] .domain-choice [aria-pressed=true]{background:#ff765f!important;color:#101010!important;border-color:#ff765f!important}
html[data-theme=dark] :is(.tier-cta .btn,.dark-section .tier .btn){color:#f4f4f4}
html[data-theme=dark] .client-card,html[data-theme=dark] .showcase-project .showcase-logo{background:#f5f5f2!important;color:#111}
html[data-theme=dark] .client-grid{gap:12px!important}
html[data-theme=dark] .showcase-toolbar{background:#242424;color:#e5e5e5}
html[data-theme=dark] .showcase-toolbar .capture-label{color:#c7c7c7}
html[data-theme=dark] .showcase-visit{border-color:#aaaaaa}
html[data-theme=dark] .bp-browser__bar{color:#111;color-scheme:light}
html[data-theme=dark] .project-reader__header,html[data-theme=dark] .project-reader__footer{border-color:#555555}
html[data-theme=dark] .project-reader__header button,html[data-theme=dark] .insight-reader-close{color:#f4f4f4!important;border-color:#888888!important;background:#303030!important}
html[data-theme=dark] .preview-banner{background:#222222!important;color:#e6e6e6!important;border-color:#666666!important}
html[data-theme=dark] .preview-banner a{color:#ff9e8d!important}
html[data-theme=dark] .theme-settings{background:#202020}
@media(max-width:580px){.theme-settings{right:12px;bottom:12px;max-width:calc(100vw - 24px)}.theme-settings summary{padding:10px 14px}.back-top{bottom:72px!important}}
/* No cross-fade: theme switches are instantaneous, including reduced-motion users. */
html[data-theme] body{transition:none!important}
html[data-theme=dark] :is(.bp-subhead p,.brand-practice__intro,.bp-application__foot>span,.bp-application__head>span,.enquiry-expectation,.enquiry-extra-note){color:#c7c7c7!important}
.theme-settings__panel p{margin:12px 0 0}.theme-settings__panel label{margin-bottom:6px}
html[data-theme=dark] :is(.article-outline,.insight-reader .article-outline,.longform-article .article-outline){background:#262626!important;border-color:#666666!important;color:#f4f4f4!important}
html[data-theme=dark] .article-outline-kicker{color:#ff8c76!important}

/* Explicit tokens for components whose original light ink bypasses inheritance. */
html[data-theme=dark] body footer,html[data-theme=dark] body footer :is(h2,h3,.heading-word,a,button,.footer-bottom>span){color:#f4f4f4!important}
html[data-theme=dark] footer{background:#151515!important}
html[data-theme=dark] .tier.featured :is(.kicker,.desc,.tier-cta .btn){color:#f4f4f4!important;border-color:#888!important}
html[data-theme=dark] .tier.featured .tier-cta .btn:hover{background:#ff765f!important;color:#101010!important}
html[data-theme=dark] .portfolio-story-body p,html[data-theme=dark] .brand-practice__intro :is(p,span){color:#c7c7c7!important}
html[data-theme=dark] .bp-browser__bar span{color:#454545!important}
html[data-theme=dark] .location-map,html[data-theme=dark] .map-consent-placeholder{background:#181818!important;color:#f4f4f4!important}
html[data-theme=dark] .map-consent-placeholder p{color:#c7c7c7!important}
html[data-theme=dark] .nav-links .active{background:#111!important;color:#fff!important;transition:none!important}
html[data-theme=dark] .nav-links a:not(.active):not(.nav-cta){color:#111!important}
html[data-theme=dark] .nav-links a:not(.active):not(.nav-cta):hover{background:#111!important;color:#fff!important}
html[data-theme=dark] figcaption,html[data-theme=dark] figcaption a{color:#bdbdbd!important}
/* Keep the brand hues while making punctuation legible on the original artwork. */
html[data-theme=dark] .bp-moo .bp-dot{color:#b82d16!important}
html[data-theme=dark] .bp-musical-genius .bp-musical-dot{color:#ffd0c9!important}
html:not([data-theme=dark]) .brand-question strong{color:#0f0f0f!important}
/* Keep the return control in the viewport, away from Appearance. */
body .back-top{position:fixed!important;left:18px!important;right:auto!important;bottom:18px!important;z-index:1140;width:48px;height:48px;border-radius:50%;background:#fff!important;color:#111!important;border:1px solid #777;box-shadow:0 3px 16px #0003;visibility:hidden;opacity:0;pointer-events:none;backdrop-filter:none}
body .back-top.show{visibility:visible;opacity:1;pointer-events:auto}
html[data-theme=dark] body .back-top{background:#202020!important;color:#f4f4f4!important;border-color:#888}
body .back-top:focus-visible{outline:3px solid #ff765f;outline-offset:3px}
@media(max-width:580px){body .back-top{left:12px!important;bottom:12px!important}}
@media(prefers-reduced-motion:reduce){body .back-top{transition:none!important}}

/* White client marks on dark surfaces; original brand-colour artwork stays intact. */
html[data-theme=dark] #clients .client-grid .client-card,html[data-theme=dark] .showcase-project .showcase-logo{background:transparent!important}
html[data-theme=dark] #clients .client-grid .client-card img,html[data-theme=dark] .showcase-project .showcase-logo img{filter:brightness(0) invert(1)!important}

/* A single compact dock keeps page controls together at every width. */
.page-controls{position:fixed;right:18px;bottom:18px;z-index:1150;display:flex;align-items:center;gap:8px;max-width:calc(100vw - 36px)}
.page-controls .theme-settings{position:relative;right:auto;bottom:auto;max-width:none;border-radius:14px}
.page-controls .theme-settings summary{min-height:48px;box-sizing:border-box;display:flex;align-items:center;gap:4px;padding:10px 14px;white-space:nowrap}
.page-controls .theme-settings[open]{overflow:visible;max-height:none}
.page-controls .theme-settings__panel{position:absolute;bottom:60px;right:-1px;width:min(320px,calc(100vw - 24px));box-sizing:border-box;margin:0!important;padding:18px;background:#202020;border:1px solid #747474;border-radius:14px;box-shadow:0 5px 24px #0003;max-height:65dvh;overflow:auto}
body .page-controls .back-top{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;flex:none;width:auto!important;height:48px!important;border-radius:14px!important;padding:0 14px!important;white-space:nowrap;font:600 14px/1 Gilroy,Arial,sans-serif!important}
@media(max-width:580px){.page-controls{right:12px;bottom:12px;max-width:calc(100vw - 24px)}.page-controls .theme-settings summary{padding:10px 12px}body .page-controls .back-top{padding:0 12px!important}}
