/* The framework's paper palette, art-directed for the public photographic pages. */
:root{--theme-paper:#f4f2e9;--theme-ink:#182018;--theme-muted:#485442;--theme-sage:#e7e9de;--accent-ink:#b94116}
html[data-theme=light]{color-scheme:light;--bg:var(--theme-paper);--panel:#e7e9de;--white:var(--theme-ink);--muted:var(--theme-muted);--line:#c9cebd}
html[data-theme=dark]{color-scheme:dark}
.site-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:9px 5px;background:none;border:0;color:var(--white);font:500 15px/1.3 Manrope,Arial,sans-serif;cursor:pointer;flex:none}
.site-theme-glyph{display:block;width:19px;height:19px;border:1.5px solid currentColor;border-radius:50%;background:linear-gradient(90deg,currentColor 50%,transparent 50%);flex:none;transform:rotate(0)}
.site-theme-toggle:focus-visible{outline:2px solid var(--orange);outline-offset:4px}
.header{gap:clamp(12px,1.8vw,28px)}
.header .desktop-nav{margin-inline-start:auto;margin-inline-end:0}
.header .site-theme-toggle{margin-inline-start:0}
.header .language-switcher{margin-inline-start:0}
.language-options{inset-inline-end:0;right:auto;width:350px;max-width:calc(100vw - 32px);max-height:calc(100svh - 125px);overflow:auto;overscroll-behavior:contain;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:6px;padding:12px 6px}
.language-options a{margin:0;padding:11px 12px;min-width:0}
.language-options a[lang=ar]{font-family:'IBM Plex Sans Arabic',sans-serif;font-size:18px}
html[data-theme=light] .header{background:#f4f2e9f2;box-shadow:0 1px 0 #1820180a}
html[data-theme=light] .mobile-nav{background:#f4f2e9fa}
html[data-theme=light] .language-options{background:#faf9f3;box-shadow:0 16px 50px #24331f20;border-inline-start:2px solid var(--orange);border-inline-end:0}
html[data-theme=light] .language-options a:is(:hover,:focus-visible){background:#e7e9de;color:var(--theme-ink)}
html[data-theme=light] :is(.language-options a[aria-current=page],.desktop-nav a[aria-current=page],.mobile-nav a[aria-current=page],.orange){color:var(--accent-ink)}
html[data-theme=light] body .quiet-brackets{background:linear-gradient(90deg,transparent,#dee2d56b 48%,transparent)!important;color:var(--theme-ink)}
html[data-theme=light] body .quiet-brackets .action-label{color:var(--theme-ink)}
html[data-theme=light] body .quiet-brackets::before,html[data-theme=light] body .quiet-brackets::after{color:#6c775f}
html[data-theme=light] body .quiet-brackets:is(:hover,:focus-visible)::before{color:var(--accent-ink)}
html[data-theme=light] :is(a,button,input):focus-visible{outline-color:var(--accent-ink)}
html[data-theme=light] .home-clarity .hero{background:var(--theme-paper)}
html[data-theme=light] .home-clarity .hero-image{background:transparent}
html[data-theme=light] .home-clarity .hero-photo-window>.photo{filter:saturate(.88) brightness(1.02)}
html[data-theme=light] .home-clarity .hero-photo-window::after{background:linear-gradient(90deg,#f4f2e9 0%,#f4f2e9e8 15%,#f4f2e978 44%,#f4f2e900 72%),linear-gradient(0deg,#f4f2e9 0%,#f4f2e900 42%,#f4f2e929 100%)}
html[data-theme=light] .home-clarity .hero-description{color:#384334}
html[data-theme=light] .home-clarity .hero-signature{color:var(--theme-ink);text-shadow:none}
html[data-theme=light] .hero-proof .proof-words{color:var(--theme-muted)}
html[data-theme=light] .home-clarity .talent-section{background:var(--theme-paper)}
html[data-theme=light] .home-clarity :is(.section-heading>p,.role-list li,.sites-introduction-copy>p,.workflow p,.roots-copy p,.roots-role,.people-copy>p){color:var(--theme-muted)}
html[data-theme=light] .home-clarity .talent-photo{background:#dce1d3}
html[data-theme=light] .home-clarity .talent-photo img{filter:saturate(.9);}
html[data-theme=light] .home-clarity .sites-introduction{background:linear-gradient(#f4f2e9,#e7e9de var(--chapter-space),#e7e9de calc(100% - var(--chapter-space)),#f4f2e9)}
html[data-theme=light] .home-clarity .sites-introduction-copy>.sites-promise{color:var(--theme-ink)}
html[data-theme=light] .home-clarity .sites-overview img{filter:drop-shadow(0 20px 16px #26301b14);mix-blend-mode:normal}
html[data-theme=light] .home-clarity .engagement{background:var(--theme-paper)}
html[data-theme=light] .workflow-track{stroke:#c5cdbb}
html[data-theme=light] .workflow::before{background:#c5cdbb}
html[data-theme=light] .workflow-node{box-shadow:0 0 0 7px var(--theme-paper)}
html[data-theme=light] .workflow.is-enhanced .workflow-step:not(.is-reached) .workflow-node{background:var(--theme-paper);border-color:#8a957f}
html[data-theme=light] .workflow.is-enhanced .workflow-step:not(.is-reached) .workflow-number{color:#65715c}
html[data-theme=light] .workflow-number{color:var(--accent-ink)}
html[data-theme=light] .home-clarity .roots-chapter{background:var(--theme-paper)}
html[data-theme=light] .home-clarity .roots-banner::before{background:linear-gradient(100deg,#f4f2e9ed 7%,#f4f2e9c9 29%,#f4f2e96b 58%,#f4f2e929 82%),url('/assets/roots-ukrainian-flag.svg') 65% center/cover no-repeat;opacity:.7}
html[data-theme=light] .home-clarity .roots-banner h2{color:var(--theme-ink)}
html[data-theme=light] :is(.roots-column h4,.roots-team .portrait-invitation){color:var(--theme-muted)}
html[data-theme=light] .roots-name{color:var(--theme-ink)}
html[data-theme=light] .team-person[open] .roots-name{color:var(--accent-ink)}
html[data-theme=light] .roots-column .team-portrait{background:#dde1d4;box-shadow:0 8px 22px #17231815}
html[data-theme=light] .home-clarity .people-section{background:linear-gradient(#f4f2e9,#e8eade 32%,#e8eade 72%,#e3e6d9)}
html[data-theme=light] .home-clarity .people-photo img{filter:saturate(.9)}
html[data-theme=light] footer{background:#e3e6d9;border-color:var(--line)}
html[data-theme=light] :is(.footer-main>p,.footer-bottom p,.footer-links){color:var(--theme-muted)}
/* The curtain lifts over the original illustration, with a lighter translucent veil. */
html[data-theme=light] .sites-reveal,html[data-theme=light] .sites-reveal .sites-model-section{background:#e8eade}
html[data-theme=light] .sites-reveal .sites-hero{background:var(--theme-paper)}
html[data-theme=light] .sites-reveal.is-curtain .sites-hero{background:linear-gradient(100deg,#f4f2e9 9%,#f4f2e9f0 36%,#f4f2e9bd 70%,#f4f2e98f);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
html[data-theme=light] :is(.relationship-local p,.relationship-augmented h3 span,.workcell-labels,.site-management,.site-model>figcaption span){color:var(--theme-muted)}
html[data-theme=light] .sites-page .site-accountability{background:var(--theme-paper);color:var(--theme-ink)}
html[data-theme=light] .delivery-photo::after{background:linear-gradient(90deg,#f4f2e9 0%,#f4f2e9 8%,#f4f2e9a0 22%,#f4f2e928 38%,#f4f2e900 58%),linear-gradient(0deg,#f4f2e9e0,transparent 35%,transparent 74%,#f4f2e970)}
html[data-theme=light] .delivery-copy h2 strong{color:#58634f}
html[data-theme=light] .delivery-copy p{color:var(--theme-muted)}
html[data-theme=light] .delivery-photo figcaption{background:#f4f2e9db;padding:6px 9px;backdrop-filter:blur(7px)}
html[data-theme=light] .delivery-photo figcaption a{color:#384334;text-shadow:none}
html[data-theme=light] .sites-page .mission-brief{background:radial-gradient(ellipse at 77% 48%,#c8d1c3 0%,#e1e6d9 32%,transparent 67%),linear-gradient(#f4f2e9,#edf0e6 55%,#e9ecdf)}
html[data-theme=light] :is(.brief-action p,.framework-preview,.framework-format,.sample-link-label){color:var(--theme-muted)}
html[data-theme=light] .framework-still::before{opacity:.35}
html[data-theme=light] .sites-page .operations{background:linear-gradient(#e9ecdf,#eef0e6 40%,#e9ecdf)}
html[data-theme=light] .sites-page .ops-scroll-track.is-reading .ops-index{background:#e9ecdf}
html[data-theme=light] :is(.ops-heading>p,.ops-copy>p:not(.ops-static-label),.ops-caption,.ops-focus){color:var(--theme-muted)}
html[data-theme=light] .sites-page .ops-scroll-track .ops-select{color:#55604e;border-bottom-color:#bcc5b2}
html[data-theme=light] .sites-page .ops-scroll-track .ops-select[aria-current=step]{color:var(--theme-ink);border-bottom-color:var(--orange)}
html[data-theme=light] .sites-page .ops-scroll-track .ops-number{color:#65715c}
html[data-theme=light] .sites-page .ops-scroll-track .ops-select[aria-current=step] .ops-number,html[data-theme=light] .sites-page .ops-scroll-track .ops-output>span{color:var(--accent-ink)}
html[data-theme=light] :is(.ops-scene,.ops-scene-slot)::before{opacity:.09}
html[data-theme=light] .site-contact{background:linear-gradient(#e9ecdf,#f4f2e9 45%,#e3e6d9)}
html[data-theme=light] .enquiry-dialog,html[data-theme=light] .framework-gate{--white:#182018;background:var(--theme-paper);color:var(--theme-ink);border-color:#c9cebd;box-shadow:0 25px 100px #17231830}
html[data-theme=light] :is(.enquiry-dialog,.framework-gate)::backdrop{background:#1b251d7a;backdrop-filter:blur(10px)}
html[data-theme=light] .framework-gate :is(h2,label,.dialog-close){color:var(--theme-ink)}
html[data-theme=light] .framework-gate :is(p,.gate-back){color:var(--theme-muted)}
html[data-theme=light] .framework-gate .gate-error{color:#a23519}
html[data-theme=light] .framework-gate input,html[data-theme=light] #brief-form input{background:transparent;color:var(--theme-ink);border-color:#849176}
html[data-theme=light] .framework-gate .gate-art{background:radial-gradient(ellipse at 55% 50%,#c4cfb875,transparent 70%)}
html[data-theme=light] .framework-gate .gate-art img{opacity:1;filter:drop-shadow(0 20px 20px #26301b1a)}
@media(min-width:901px) and (max-width:1450px){.header .nav-brief{display:none}.header .desktop-nav{gap:clamp(16px,2vw,28px)}}
@media(max-width:900px){.header .site-theme-toggle{margin-inline-start:auto}}
@media(max-width:760px){
 .header{gap:10px}.site-theme-toggle{min-width:36px;padding-inline:5px}.site-theme-toggle [data-site-theme-label]{display:none}
 .language-options{width:300px;max-height:calc(100svh - 110px)}.language-options a{font-size:15px;padding:10px}
 html[data-theme=light] .home-clarity .hero-photo-window::after{background:linear-gradient(0deg,#f4f2e9 0%,#f4f2e9d9 23%,#f4f2e900 73%)}
 html[data-theme=light] .home-clarity .hero-signature{color:var(--theme-ink);text-shadow:none}
 html[data-theme=light] .sites-reveal.is-curtain .sites-hero{background:linear-gradient(125deg,#f4f2e9f7 20%,#f4f2e9eb 55%,#f4f2e9a8)}
}
@media(max-width:800px){html[data-theme=light] .delivery-photo::after{background:linear-gradient(to top,#f4f2e9 0%,#f4f2e924 29%,transparent 62%)}}
/* Keep all three controls reachable on narrow phones. */
@media(max-width:360px){
 .header{padding-inline:16px;gap:6px}
 .header .logo{gap:8px}.header .logo img{width:30px}.header .logo span{font-size:26px;letter-spacing:.8px}
 .header .language-switcher summary{min-width:50px;padding-inline:5px;gap:5px;font-size:14px}
 .header .menu-toggle{width:44px}
 .header .language-options{max-width:calc(100vw - 32px)}
}
html:not([lang=en]) .home-clarity :is(h1,h2,h3,.hero-line,.hero-line>span){overflow-wrap:anywhere;hyphens:auto}
@media(max-width:360px){html:not([lang=en]):not([lang=ar]) .hero-proof .proof-decade{font-size:56px}}
.language-options{right:auto;left:auto;inset-inline-end:0}
@media(max-width:760px){.header .language-options{position:fixed;inset:88px 16px auto;width:auto;max-width:none}}
html[data-theme=light] a:hover{color:var(--accent-ink)}
@media(min-width:761px){html[data-theme=light] .home-clarity .hero-signature{color:var(--theme-ink);text-shadow:none}}
@media(max-width:760px){html[data-theme=light] .home-clarity .hero-signature{text-shadow:none}}

/* The wordmark has its own colour in the original expression layer. */
html[data-theme=light] .home-clarity .hero-signature span{color:var(--theme-ink);opacity:1;text-shadow:none}
