/* Appearance settings and the approved warm, neutral dark palette. */
.appearance-settings{font:inherit;color:inherit;cursor:pointer;padding:0;margin:0;border:0;background:none;text-decoration:none;}
html:root[data-site-shell] body .site-footer .footer-text .appearance-settings[hidden]{display:none!important;}
.appearance-dialog{box-sizing:border-box;position:fixed;inset:0;width:min(560px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:28px;border:0;border-radius:20px;background:rgb(237 237 237 / 94%);color:#171717;box-shadow:0 20px 96px rgb(0 0 0 / 32%);font:400 16px/1.5 "Space Grotesk",sans-serif;overflow:auto;overscroll-behavior:contain;}
@supports(backdrop-filter:blur(12px)){
 .appearance-dialog{background:rgb(237 237 237 / 86%);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);}
}
.appearance-dialog::backdrop{background:rgb(255 255 255 / 18%);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);}
.appearance-top{display:flex;align-items:center;justify-content:space-between;gap:16px;}
.appearance-dialog h2{margin:0;font:700 28px/1.2 "Space Grotesk",sans-serif;color:inherit;}
.appearance-dialog p{margin:14px 0 20px;}
.appearance-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:10px;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer;}
.appearance-close svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;}
.appearance-options{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:8px;margin:0;padding:0;border:0;}
.appearance-option{position:relative;min-width:0;cursor:pointer;}
.appearance-option input{position:absolute;width:1px;height:1px;opacity:0;margin:0;padding:0;}
.appearance-option span{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:48px;padding:10px 12px;border:1.5px solid #777;border-radius:999px;font-weight:500;text-align:center;line-height:1.3;}
.appearance-option input:checked+span{background:#3a3a3a;border-color:#3a3a3a;color:#fff;}
.appearance-close:focus-visible,.appearance-option input:focus-visible+span{outline:2px solid #5c4a3e;outline-offset:3px;}
.appearance-close:focus:not(:focus-visible){outline:none;}
.appearance-dialog .appearance-note{margin:20px 0 0;color:#505050;font-size:14px;}
@media(hover:hover) and (pointer:fine){
 .appearance-close:hover,.appearance-option:hover input+span{background:var(--button-hover-background,#5D4A3E);border-color:var(--button-hover-background,#5D4A3E);color:#fff;}
}
@media(max-width:540px){
 .appearance-dialog{padding:20px;}
 .appearance-dialog h2{font-size:24px;}
 .appearance-options{gap:6px;}
 .appearance-option span{padding:10px 8px;font-size:14px;}
}

html:root[data-site-shell][data-site-theme="dark"]{
 --theme-bg:#1b1a19;
 --theme-card:#282624;
 --theme-text:#f3f0ec;
 --theme-muted:#bbb6af;
 --theme-accent:#c9ae94;
 --content-link:#c9ae94;
 --content-link-hover:#f1d9c2;
 --category-text:#f3f0ec;
 color-scheme:dark;
 color:var(--theme-text);
}
html:root[data-site-shell][data-site-theme="dark"]:not([data-dark-project]){background:var(--theme-bg)!important;}
/* Keep authored dark project canvases. Retheme the neutral page shell only. */
html:root[data-site-shell][data-site-theme="dark"]:not([data-dark-project]) body,
html:root[data-site-shell][data-site-theme="dark"]:not([data-dark-project]) body :is(.site-wrap,.site-container,.site-content,.site-shell-content,main,.page-container,.page.standard-modules,.page-content,#project-canvas,#project-modules,.work-filter-panel){
 background-color:var(--theme-bg)!important;
 --site-shell-surface:#1b1a19!important;
 color:var(--theme-text)!important;
}
html:root[data-site-shell][data-site-theme="dark"] body :is(.page-background-video,.page-background-video-with-panel){background:var(--theme-bg)!important;}
html:root[data-site-shell][data-site-theme="dark"] body .site-header:not(.is-pinned){background:transparent!important;}
html:root[data-site-shell][data-site-theme="dark"] body .site-header.is-pinned{
 background:rgb(27 26 25 / 88%)!important;
 backdrop-filter:blur(20px)!important;
 -webkit-backdrop-filter:blur(20px)!important;
 border-bottom-color:rgb(255 255 255 / 8%);
 box-shadow:0 2px 18px #0004!important;
}
html:root[data-site-shell][data-site-theme="dark"] body .site-header :is(nav a,.logo a,.site-search-trigger,.site-email-trigger,.site-work-trigger){color:var(--theme-text)!important;}
html:root[data-site-shell][data-site-theme="dark"][data-dark-project] body .site-header:not(.is-pinned) :is(nav a,.logo a,.site-search-trigger,.site-email-trigger,.site-work-trigger){color:#f5f5f5!important;}
html:root[data-site-shell][data-site-theme="dark"] body .site-header :is(nav a,.logo a,.site-search-trigger,.site-email-trigger,.site-work-trigger)[aria-current]::before{background:#3a3a3a!important;}
html:root[data-site-shell][data-site-theme="dark"] body .site-header :is(nav a,.logo a,.site-search-trigger,.site-email-trigger,.site-work-trigger):is(:hover,:focus-visible)::before{background:var(--button-hover-background)!important;}
html:root[data-site-shell][data-site-theme="dark"] body :is(h1,h2,h3,h4,.page-header .title,.home-clients-title,.featured-clients-heading,.other-projects-title,.gallery-contact-cta h2,.project-contact-cta h2){color:var(--theme-text)!important;}
html:root[data-site-shell][data-site-theme="dark"] body :is(.page-header .description,.work-filter-instruction,#work-results,.work-load-status,.work-filter-empty,.faq-page .page-header p.description,.project-publication-date){color:var(--theme-muted)!important;}
html:root[data-site-shell][data-site-theme="dark"] body .rich-text,
html:root[data-site-shell][data-site-theme="dark"] body .rich-text :is(.main-text,.sub-title,.title){color:var(--theme-text)!important;}
/* Neutralise old inline text colours without changing images or video pixels. */
html:root[data-site-shell][data-site-theme="dark"] body .rich-text :is(span,div,p)[style*="color"]{color:inherit!important;}
html:root[data-site-shell][data-site-theme="dark"] body :is(.rich-text a:not(.button-module),.page-header .description a,.faq-answer a,.service-item a){color:var(--content-link)!important;}
html:root[data-site-shell][data-site-theme="dark"] body :is(.rich-text a:not(.button-module),.page-header .description a,.faq-answer a):is(:hover,:focus-visible){color:var(--content-link-hover)!important;}
html:root[data-site-shell][data-site-theme="dark"] body :is(.rich-text a:not(.button-module),.page-header .description a:not(.project-category),.faq-answer a):is(:hover,:focus-visible){background:#3a3632!important;box-shadow:4px 0 0 #3a3632,-4px 0 0 #3a3632!important;}
html:root[data-site-shell][data-site-theme="dark"] body :is(.rich-text a:not(.button-module),.page-header .description a,.faq-answer a) *{color:inherit!important;}
html:root[data-site-shell][data-site-theme="dark"] [data-link-surface="light"]{--content-link:#5c4a3e;--content-link-hover:#2c211a;--category-text:#111;color:#171717;}
html:root[data-site-shell][data-site-theme="dark"] body .home-intro-copy :is(h1,h1 span,.main-text>div,.main-text span){color:var(--theme-text)!important;}
html:root[data-site-shell][data-site-theme="dark"] body .home-intro-copy :is(.home-intro-stat,.client-count-link,.client-count-link span){color:var(--theme-accent)!important;}
html:root[data-site-shell][data-site-theme="dark"] body #project-modules .home-intro-tags a{background:rgb(255 255 255 / 9%)!important;color:var(--theme-text)!important;}
html:root[data-site-shell][data-site-theme="dark"] body #project-modules :is(.home-work-button,.contact-actions .button-module):not(:hover):not(:focus-visible),
html:root[data-site-shell][data-site-theme="dark"] body .project-offer-button:not(:hover):not(:focus-visible){background:#3a3a3a!important;border-color:#3a3a3a!important;color:#fff!important;}
html:root[data-site-shell][data-site-theme="dark"] body #project-modules :is(.home-offer-button,.contact-actions .contact-phone-button):not(:hover):not(:focus-visible){background:transparent!important;border-color:#bdb6ae!important;color:var(--theme-text)!important;}
html:root[data-site-shell][data-site-theme="dark"] body #project-modules .preview-client-copy,
html:root[data-site-shell][data-site-theme="dark"] body #project-modules .preview-client-copy :is(div,span,.featured-client-title){color:var(--theme-text)!important;}
html:root[data-site-shell][data-site-theme="dark"] body .preview-client-row:not(:hover):not(.is-client-active):not(:focus-visible)::before{background:transparent!important;box-shadow:none!important;}
html:root[data-site-shell][data-site-theme="dark"] body .preview-client-row:is(:hover,.is-client-active,:focus-visible)::before{background:#302d29!important;box-shadow:0 12px 42px rgb(0 0 0 / 32%)!important;}
html:root[data-site-shell][data-site-theme="dark"] body .preview-client-row :is(.client-years-label,.client-years-badge){color:#fff!important;}

html:root[data-site-shell][data-site-theme="dark"] body .work-filter-pill{border-color:#77716b!important;}
html:root[data-site-shell][data-site-theme="dark"] body .work-filter-pill select{
 color:var(--theme-text)!important;
 background-color:transparent!important;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23f3f0ec' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
}
html:root[data-site-shell][data-site-theme="dark"] body .work-filter-pill select+select{border-color:#77716b!important;}
html:root[data-site-shell][data-site-theme="dark"] body .work-filter-pill select.is-selected{background-color:#3a3a3a!important;}
html:root[data-site-shell][data-site-theme="dark"] body .work-filter-pill option{background:#282624;color:var(--theme-text);}
html:root[data-site-shell][data-site-theme="dark"] body .work-filter-reset{border-color:#77716b!important;color:var(--theme-text)!important;background:transparent!important;}
html:root[data-site-shell][data-site-theme="dark"] body .work-load-status button{border-color:#aaa39b;color:var(--theme-text);}
html:root[data-site-shell][data-site-theme="dark"] body :is(.page-header,.personal-filter-header) .project-categories .project-category{
 --project-control-fill:rgb(255 255 255 / 10%);
 --category-text:#f3f0ec;
 background:var(--project-control-fill)!important;
 color:var(--category-text)!important;
}
html:root[data-site-shell][data-site-theme="dark"] body .personal-filter-header .project-category[aria-current="true"]{--project-control-fill:#3a3a3a;}
html:root[data-site-shell][data-site-theme="dark"] body .module-content-social_icons .social a:not(:hover):not(:focus-visible){background:#302d2a!important;color:var(--theme-accent)!important;}
html:root[data-site-shell][data-site-theme="dark"] body .module-content-social_icons .social a svg{fill:currentColor!important;}
html:root[data-site-shell][data-site-theme="dark"][data-page-layout="contacts"] body #project-modules .rich-text :is(.title,.sub-title,.contact-main-title){color:var(--theme-text)!important;}
html:root[data-site-shell][data-site-theme="dark"][data-page-layout="contacts"] body #project-modules .rich-text .main-text{color:var(--theme-muted)!important;}

html:root[data-site-shell][data-site-theme="dark"] body :is(.faq-group h2,.services-group h3){color:var(--theme-accent)!important;}
html:root[data-site-shell][data-site-theme="dark"] body :is(.services-group p,.services-grid,.services-grid p){color:#ded9d2!important;}
html:root[data-site-shell][data-site-theme="dark"] body .faq-item{background:var(--theme-card)!important;border-color:#4e4944!important;color:var(--theme-text)!important;}
html:root[data-site-shell][data-site-theme="dark"] body .faq-item summary{color:var(--theme-text)!important;}
html:root[data-site-shell][data-site-theme="dark"] body .faq-item .faq-answer,
html:root[data-site-shell][data-site-theme="dark"] body .faq-answer :is(p,div){color:#c6c0b9!important;}
html:root[data-site-shell][data-site-theme="dark"] body .faq-chevron{stroke:var(--theme-accent)!important;}
html:root[data-site-shell][data-site-theme="dark"] body .faq-search input{background:#282624!important;border-color:#665f58!important;color:var(--theme-text)!important;}
html:root[data-site-shell][data-site-theme="dark"] body .faq-search input::placeholder{color:#aaa39b!important;}
html:root[data-site-shell][data-site-theme="dark"] body .faq-search svg{stroke:#bdb6ae!important;}
html:root[data-site-shell][data-site-theme="dark"] body .faq-search label{color:var(--theme-muted)!important;}
html:root[data-site-shell][data-site-theme="dark"] body .services-page .services-accordion{background:var(--theme-card)!important;border-color:#4e4944!important;}
html:root[data-site-shell][data-site-theme="dark"] body .services-page .services-accordion>summary{color:var(--theme-text)!important;border-color:#4e4944!important;background:transparent!important;}
html:root[data-site-shell][data-site-theme="dark"] body .services-page .services-panel{background:transparent!important;}
html:root[data-site-shell][data-site-theme="dark"] body .services-page .services-chevron{stroke:var(--theme-accent)!important;}

html:root[data-site-shell][data-site-theme="dark"] body .site-footer.site-shell-footer{background:#272523!important;}
html:root[data-site-shell][data-site-theme="dark"] body .site-shell-footer :is(.footer-text,a,.analytics-settings,.appearance-settings,.footer-company),
html:root[data-site-shell][data-site-theme="dark"] body .site-shell-footer .footer-text :is(a,.analytics-settings,.appearance-settings):not(:hover):not(:focus-visible){color:#c6c0b9!important;}
html:root[data-site-shell][data-site-theme="dark"] body .site-shell-footer .footer-section-divider{border-color:#5d5650!important;}
html:root[data-site-shell][data-site-theme="dark"] body .site-shell-footer .footer-desktop-separator{color:#9a9289!important;}
html:root[data-site-shell][data-site-theme="dark"] body .site-shell-content::after{background:linear-gradient(to bottom,#0008,transparent)!important;}
html:root[data-site-shell][data-site-theme="dark"] body :is(a,button,select,input,summary):focus-visible{outline-color:#c9ae94!important;}
html:root[data-site-shell][data-site-theme="dark"] body .work-filter-pill select:focus-visible{outline-color:#c9ae94!important;}

/* Uniform dark blur, without the light theme's bright refractive outline. */
html:root[data-site-shell][data-site-theme="dark"]{
 --hero-matte:#1b1a19!important;
 --hero-glass-fill:rgb(32 30 28 / 65%)!important;
 --hero-glass-blur:blur(12px)!important;
}
html:root[data-site-shell][data-site-theme="dark"] body .home-intro-masthead,
html:root[data-site-shell][data-site-theme="dark"] body .home-intro-masthead :is(.video-wrap,.renditions-video){background-color:#1b1a19!important;}
html:root[data-site-shell][data-site-theme="dark"] body .home-intro-overlay .hero-liquid-lens{display:none!important;}
html:root[data-site-shell][data-site-theme="dark"] body .home-intro-overlay>.home-intro-scroll::after{background:var(--hero-glass-fill)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;border:0!important;box-shadow:none!important;}
html:root[data-site-shell][data-site-theme="dark"] body .home-intro-overlay .home-intro-message{color:var(--theme-text)!important;text-shadow:0 1px 12px #0004;}
html:root[data-site-shell][data-site-theme="dark"] body .home-intro-overlay .home-intro-scroll{color:var(--theme-text)!important;}
html:root[data-site-shell][data-site-theme="dark"] body .home-intro-overlay .masthead-arrow{border-color:var(--theme-text)!important;}

/* Search, analytics and appearance use the same dark panel surface. */
html:root[data-site-shell][data-site-theme="dark"] body :is(dialog.site-search,.analytics-banner,.appearance-dialog){background:rgb(40 38 36 / 96%)!important;color:var(--theme-text)!important;box-shadow:0 20px 80px rgb(0 0 0 / 38%);}
html:root[data-site-shell][data-site-theme="dark"] body :is(dialog.site-search,.analytics-banner)::before{backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;}
html:root[data-site-shell][data-site-theme="dark"] body :is(dialog.site-search,.analytics-banner)::after{content:none!important;}
html:root[data-site-shell][data-site-theme="dark"] body :is(dialog.site-search,.appearance-dialog)::backdrop{background:rgb(0 0 0 / 32%)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);}
html:root[data-site-shell][data-site-theme="dark"] body .site-search :is(h2,.site-search-close,.site-search-results a){color:var(--theme-text)!important;}
html:root[data-site-shell][data-site-theme="dark"] body .site-search :is(.site-search-label,.site-search-status){color:var(--theme-muted)!important;}
html:root[data-site-shell][data-site-theme="dark"] body .site-search input{background:#1b1a19;color:var(--theme-text);border-color:#77716b;}
html:root[data-site-shell][data-site-theme="dark"] body .site-search input::placeholder{color:#aaa39b;}
html:root[data-site-shell][data-site-theme="dark"] body .site-search input:focus{outline-color:#c9ae94;}
html:root[data-site-shell][data-site-theme="dark"] body .site-search-retry{color:var(--theme-accent);}
html:root[data-site-shell][data-site-theme="dark"] body .site-search-results a:is(:hover,:focus-visible,.is-selected){background:#3a3632!important;color:#fff!important;}
html:root[data-site-shell][data-site-theme="dark"] body .analytics-banner button{color:var(--theme-text);border-color:#aaa39b;}
html:root[data-site-shell][data-site-theme="dark"] body .analytics-banner button[data-choice="no"]:not(:is(:hover,:focus-visible)){color:var(--theme-text);}
html:root[data-site-shell][data-site-theme="dark"] body .analytics-banner button[data-choice="yes"]{background:#3a3a3a;color:#fff;border-color:#3a3a3a;}
html:root[data-site-shell][data-site-theme="dark"] body .appearance-dialog .appearance-note{color:var(--theme-muted);}
html:root[data-site-shell][data-site-theme="dark"] body .appearance-option span{border-color:#77716b;}
html:root[data-site-shell][data-site-theme="dark"] body .appearance-option input:checked+span{border-color:#3a3a3a;}
html:root[data-site-shell][data-site-theme="dark"] body .appearance-option input:focus-visible+span{outline-color:var(--theme-accent);}
html:root[data-site-shell][data-site-theme="dark"] body .project-step-caption{background:#282624;color:var(--theme-text);}
@media(hover:hover) and (pointer:fine){
 html:root[data-site-shell][data-site-theme="dark"] body :is(.site-search-keys,.project-step-nav) .keyboard-key{background:linear-gradient(145deg,#44403c,#282624);color:var(--theme-text);border-color:#625b54;box-shadow:0 4px 0 #141312,0 9px 16px #0004,inset 0 1px 1px #655e57;}
 html:root[data-site-shell][data-site-theme="dark"] body .work-filter-pill select:hover{background-color:var(--button-hover-background)!important;color:#fff!important;}
}
/* Keep the approved shared brown on hover, and gray for the selected state. */
html:root[data-site-shell][data-site-theme="dark"] body :is(.home-intro-tags a,.site-shell-footer .footer-text a,.site-shell-footer .analytics-settings,.site-shell-footer .appearance-settings,.work-filter-reset,.project-category,.site-search-close,.analytics-banner button,.appearance-close):is(:hover,:focus-visible){background:var(--button-hover-background)!important;color:#fff!important;}
html:root[data-site-shell][data-site-theme="dark"] body .services-page .service-item a:is(:hover,:focus-visible){color:#fff!important;}
@media(hover:hover) and (pointer:fine){
 html:root[data-site-shell][data-site-theme="dark"] body .appearance-option:hover input+span{background:var(--button-hover-background);border-color:var(--button-hover-background);color:#fff;}
}
