:root{color-scheme:light;--hs-surface:#f3f2ed;--hs-muted:#625f59;--hs-outer:#f5f5f0}
html[data-theme=dark]{color-scheme:dark;--hs-paper:#191919;--hs-ink:#f3f0e9;--hs-line:#3b3936;--hs-muted:#bcb8b0;--hs-surface:#252423;--hs-outer:#111;--hs-red:#ff7566}
html{background:var(--hs-outer)}
.hs-theme-toggle{display:inline-grid;place-items:center;width:40px;height:40px;border:1px solid var(--hs-line);color:var(--hs-ink);background:transparent;cursor:pointer;flex:none}.hs-theme-toggle svg{width:18px;height:18px}.hs-theme-toggle:focus-visible{outline:2px solid var(--hs-red);outline-offset:3px}.hs-theme-toggle:hover{background:var(--hs-surface)}.hs-theme-toggle .hs-sun{display:none}[data-theme=dark] .hs-theme-toggle .hs-moon{display:none}[data-theme=dark] .hs-theme-toggle .hs-sun{display:block}
[data-theme=dark] .hs-header{background:rgb(25 25 25 / 97%)}[data-theme=dark] #hs-navigation .hs-contact{color:var(--hs-paper);background:var(--hs-ink)}
[data-theme=dark] :is(.background-color-white,.background-color-white-2,.hs-ai-stage,.hs-service-menu,.hs-blog,.hs-article-header){background-color:var(--hs-paper)!important;color:var(--hs-ink)}
[data-theme=dark] :is([class*="background-color-gray"],[class*="background-color-grey"],.hs-delivery,.hs-ai-controls){background-color:var(--hs-surface)!important;color:var(--hs-ink)}
[data-theme=dark] :is(.hs-summary-section .hs-aisummary>p,.hs-blog-card-content>p,.hs-blog-heading>p,.hs-blog-meta,.hs-blog-count,.hs-blog-topic,.hs-ai-copy>p,.hs-home .hs-expertise p,.hs-prompt-placeholder,.hs-ai-controls p,.hs-delivery p){color:var(--hs-muted)!important}
[data-theme=dark] :is(.hs-expertise .layout47_text-wrapper,.hs-expertise .layout47_item-list){background:var(--hs-paper)!important;border-color:var(--hs-line)!important;color:var(--hs-ink)!important}
[data-theme=dark] :is(.hs-prompt-suggestions button:hover,.hs-service-menu a:hover){background:var(--hs-surface)}
[data-theme=dark] :is(.hs-prompt-form button,.hs-blog-more button){background:var(--hs-ink);color:var(--hs-paper)}
[data-theme=dark] .hs-gradient-title{background-image:linear-gradient(110deg,#f3f0e9 18%,#f6b7a9 32%,#ff7566 42%,#ffab73 48%,#ff7566 53%,#f6b7a9 64%,#f3f0e9 77%)}
[data-theme=dark] :is(.text-color-black,.text-color-black-2,.text-color-dark){color:var(--hs-ink)!important}
[data-theme=dark] input,[data-theme=dark] textarea,[data-theme=dark] select{color:var(--hs-ink);background-color:var(--hs-paper);border-color:var(--hs-line)}
[data-theme=dark] :is(.hs-blog-filters button,.hs-blog-count){color:var(--hs-ink);border-color:var(--hs-line)}[data-theme=dark] .hs-blog-filters button[aria-pressed=true]{background:var(--hs-ink);color:var(--hs-paper)}

.hs-brand .hs-logo-dark{display:none}[data-theme=dark] .hs-brand .hs-logo-dark{display:block}[data-theme=dark] .hs-brand .hs-logo-light{display:none}

.hs-preview-banner{padding:8px 20px;background:#782c13;color:white;text-align:center;font:400 12px/1.5 'Geist Mono',monospace}

/* Keep imported service templates readable without inverting artwork or red panels. */
html[data-theme=dark]{--text-color--text-primary:var(--hs-ink);--text-color--text-secondary:var(--hs-muted);--link-color--link-primary:var(--hs-ink);--background-color--background-primary:var(--hs-paper);--background-color--background-secondary:var(--hs-surface);--border-color--border-primary:var(--hs-line);--border-color--border-secondary:var(--hs-line)}
[data-theme=dark] :is(.header102_content,.header76_content,.hs-ai-copy) :is(h1,h2,h3){color:var(--hs-ink)!important}
[data-theme=dark] :is(.header102_content,.header76_content,.hs-ai-copy) p:not(.hs-eyebrow){color:var(--hs-muted)!important}
[data-theme=dark] :is(.header102_slide-content,.header102_slider,.header102_slide){background-color:var(--hs-surface)!important;color:var(--hs-ink)}
[data-theme=dark] .header102_slide-content p{color:var(--hs-muted)!important}
[data-theme=dark] :is(.text-color-red,.heading-style-h6.title,.hs-eyebrow){color:var(--hs-red)!important}
[data-theme=dark] .header102_slide-content .heading-style-h6{color:var(--hs-ink)}
[data-theme=dark] :is(.button.is-secondary,.button.alt-black){color:var(--hs-ink);border-color:var(--hs-line);background:transparent}
[data-theme=dark] .button.alt-black{background:var(--hs-surface)}
[data-theme=dark] main h1:not(.text-color-white){color:var(--hs-ink)}
[data-theme=dark] main :is(h2,h3,h4,h5,h6):not([class*="text-color-white"]):not(.text-color-red):not(.title){color:var(--hs-ink)}
[data-theme=dark] main :is(.text-color-secondary,.text-color-secondary-2){color:var(--hs-muted)}
[data-theme=dark] :is(input,textarea)::placeholder{color:var(--hs-muted);opacity:1}
[data-theme=dark] :is(.section_header77,.section_contact7) p.text-size-medium{color:var(--hs-muted)}
[data-theme=dark] .hs-action:hover{background:#cf2e20;color:white!important}

/* Client artwork retains its original colors and transparency in both themes. */
[data-theme=dark] :is(.hs-client-logo-surface,.hs-client-logo-plate){background:transparent}
.hs-client-logo .logo3_logo-2{width:208px;height:50px;max-width:100%;object-fit:contain}
.logo-wall__logo-img.bis{object-fit:contain}
.hs-footer-logo-dark{display:none}
[data-theme=dark] .hs-footer-logo-light{display:none}
[data-theme=dark] .hs-footer-logo-dark{display:block}
[data-theme=dark] .hs-home :is(.logo4_content-left>p,.max-width-large-2.align-center>p,.timeline1_item>p,p.body2){color:var(--hs-muted)!important}
.hs-home .testimonial47_card-content{background:#9c0000;color:#fff}
.hs-home .testimonial47_card-content :is(p,.text-size-medium-3,.testimonial47_client){color:#fff}
.hs-home .testimonial47_card-content .hs-client-logo-plate{background:transparent}
.hs-home .testimonial47_card-content .testimonial47_logo{filter:brightness(0) invert(1)}
[data-theme=dark] .hs-prompt-suggestions button.is-active{background:var(--hs-surface)}
[data-theme=dark] :is(.button.is-link,.button.is-tertiary){color:var(--hs-ink)}
[data-theme=dark] :is(input:not([type=submit]),textarea,select){border-color:#817d76}
[data-theme=dark] :is(input,textarea,select):focus-visible{outline:2px solid var(--hs-red);outline-offset:3px}

/* Keep section headings distinct from mono labels and pair backgrounds with their text. */
.hs-home :is(.section_gallery22,.section_timeline1-3){background:var(--hs-paper);color:var(--hs-ink)}
.hs-home .timeline1_content-left .hs-method-title{font-family:"Geist Serif",Georgia,serif;font-size:clamp(32px,3.4vw,48px);font-weight:400;line-height:1.12;letter-spacing:-.02em;color:var(--hs-ink)}
.hs-home .hs-method-title span{color:inherit}
.hs-home .timeline1_content p{color:var(--hs-muted)}
.hs-home .timeline1_content :is(.text-style-tagline,h3){color:var(--hs-ink)}
.hs-home .timeline1_line-2{background:var(--hs-line);opacity:1}
.hs-home .timeline1_progress-line{background:var(--hs-red)}
.hs-home .timeline1_progress-line-cover{background:var(--hs-paper)}
/* Keep the timeline's negative-offset mask inside its own section. Clip does
   not create a scroll container, so the sticky timeline remains functional. */
.hs-home .section_timeline1-3{overflow:clip}
.hs-home .timeline1_fade-overlay-top{background-image:linear-gradient(var(--hs-paper),transparent)}
.hs-home .timeline1_fade-overlay-bottom{background-image:linear-gradient(transparent,var(--hs-paper))}
.hs-home :is(.section_gallery22,.section_layout484-5) .button.alt-white{background:#231f20;border-color:#231f20;color:#fff!important}
.hs-home :is(.section_gallery22,.section_layout484-5) .button.alt-white:hover{background:#393536;border-color:#393536}
.hs-grid4 .hs-card{border-top:1px solid color-mix(in srgb,var(--hs-red) 45%,var(--hs-paper))}
.section_header102 .header102_content .heading-style-h6.title{font-size:16px!important;line-height:1.5}
.logo3_list.hs-client-logo-surface{display:flex;flex-flow:row nowrap;width:max-content;flex-shrink:0;align-items:center}
.logo3_list.hs-client-logo-surface>.logo3_wrapper{flex:0 0 208px;min-width:0;align-items:center}
.about1-press_button-wrapper .link-block-2{color:var(--hs-red)}
.hs-home .section_gallery22 .heading-style-h6.title{color:#fff!important}
.hs-home .section_stats59{background:var(--hs-paper);color:var(--hs-ink)}
.hs-home .stats59_component>.margin-bottom-13 :is(h2,.text-style-tagline){color:var(--hs-ink)!important}
.hs-home .stats59_component>.margin-bottom-13 p{color:var(--hs-muted)!important}

/* Theme contract for every imported page, including city and About heroes. */
html[data-theme=dark]{--base-color-neutral--neutral:var(--hs-muted);--base-color-neutral--neutral-dark:var(--hs-muted);--base-color-neutral--neutral-lightest:var(--hs-surface);--base-color-neutral--neutral-lighter:var(--hs-surface);--text-color--text-alternate:var(--hs-ink)}
[data-theme=dark] main :is(p[class*="text-size-medium"],p.body2,.hs-card p,.hs-stack p,.hs-stack li,.hs-merkur p):not(.text-color-white):not(.text-color-white-2){color:var(--hs-muted)}
[data-theme=dark] main :is(.section_header64,.section_header76,.section_header76-2,.section_header77,.section_legal1-content){color:var(--hs-ink);background-color:var(--hs-paper)}
[data-theme=dark] main :is(.section_header64,.section_header76,.section_header76-2,.section_header77) p{color:var(--hs-muted)!important}
[data-theme=dark] :is(.section_testimonial,.section_layout484-5,.testimonial47_card-content,.cta-section) :is(p,blockquote){color:#fff!important}
/* White buttons must carry a dark label, even inside inverted sections. */
html body .button.alt-white{background:#fffffa;color:#231f20;border-color:#fffffa}
html body .button.alt-white :is(span,div){color:inherit}
html body .button.alt-white:hover{background:#e7e5de;color:#231f20;border-color:#e7e5de}
html body .button.alt-white:focus-visible{outline:2px solid currentColor;outline-offset:4px}
/* Keep the explicitly approved black actions in homepage red sections. */
html body.hs-home :is(.section_gallery22,.section_layout484-5) .button.alt-white{background:#231f20;color:#fff;border-color:#231f20}
html body.hs-home :is(.section_gallery22,.section_layout484-5) .button.alt-white:hover{background:#393536;border-color:#393536}
/* Lift only the dark tonal range: colored marks stay colored and alpha stays intact. */
[data-theme=dark] .hs-client-logo-surface img{filter:url(#hs-logo-dark-tones)}
.hs-logo-filter{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
[data-theme=dark] .hs-native :is(.hs-project-caption p,.hs-article-deck,.hs-article-meta,.hs-case-facts dt){color:var(--hs-muted)}
[data-theme=dark] .hs-native .hs-action{background:#f3f0e9;color:#191919;border-color:#f3f0e9}
[data-theme=dark] #hs-navigation .hs-contact:hover{background:#f3f0e9;color:#191919;border-color:#f3f0e9;text-decoration:underline}

.hs-legal{background:var(--hs-paper);color:var(--hs-ink)}.hs-legal-header{padding-block:64px 48px}.hs-legal h1{font:400 clamp(40px,5vw,72px)/1.12 "Geist Serif",Georgia,serif;letter-spacing:-.02em;max-width:22ch;margin:16px 0 32px}.hs-legal .hs-prose{color:var(--hs-ink)}.hs-legal .hs-prose h2{font-family:"Geist Serif",Georgia,serif;font-weight:400;letter-spacing:-.02em}.hs-legal .hs-reading-layout{padding-bottom:80px}.hs-legal button{cursor:pointer}.hs-legal .hs-kicker{color:var(--hs-red);font:400 12px/1.5 "Geist Mono",monospace;text-transform:uppercase}.hs-legal .hs-action{display:inline-block;background:var(--hs-ink);color:var(--hs-paper);padding:14px 20px;border:1px solid var(--hs-ink);font:400 14px/1.5 Geist,sans-serif}.hs-legal .hs-prose :is(h2,h3){scroll-margin-top:120px}

[data-theme=dark] :is(.about1-press_title-link,.hs-bullet,.hs-li2){color:var(--hs-ink)}

/* Contact action uses the brand red in both themes, independently of field colors. */
html form[data-harissa-form="contact"] [type="submit"]{background:#cf2e20;color:#fff;border:1px solid #cf2e20;cursor:pointer}
html form[data-harissa-form="contact"] [type="submit"]:hover{background:#a92318;border-color:#a92318;color:#fff}
html form[data-harissa-form="contact"] [type="submit"]:focus-visible{outline:2px solid var(--hs-ink);outline-offset:4px}
html form[data-harissa-form="contact"] [type="submit"]:disabled{cursor:wait}

/* One high-contrast interactive state for actions, in both themes. */
html body :is(.button,.hs-action,.hs-contact,button,input[type="submit"]):not(:disabled):is(:hover,:focus-visible){background:#231f20!important;color:#fff!important;border-color:#231f20!important}
html body :is(.button,.hs-action,.hs-contact,button,input[type="submit"]):not(:disabled):focus-visible{outline:2px solid var(--hs-ink);outline-offset:4px}
html body :is(.button,.hs-action,.hs-contact,button,input[type="submit"]):is(:hover,:focus-visible) :is(span,div,svg){color:inherit}

/* Complete the theme contract for imported labels and mobile reading controls. */
html body .hs-approach__num{color:#ff7566}
[data-theme=dark] .hs-work__cat{color:var(--hs-red)}
[data-theme=dark] .hs-merkur__meta{color:var(--hs-muted)}
@media(max-width:1000px){
 .hs-toc summary{min-height:44px;padding-block:12px;margin-bottom:4px}
 .hs-toc nav{gap:4px}
 .hs-toc a{display:flex;align-items:center;min-height:44px;padding-block:10px}
 .hs-language{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
 .hs-site-footer-column>a,.hs-site-footer-bottom a{display:flex;align-items:center;min-height:44px;padding-block:10px}
 .hs-site-footer-bottom nav{gap:4px 24px}
}
