/* Readable controls, distinct business sections, persistent local preferences. */
.ref-replay,#refReplay,#refMotion{display:none!important}
.ref-canvas{filter:none;image-rendering:auto}.ref-landscape img{transform:scale(var(--land-scale,1));will-change:transform;filter:sepia(.7) saturate(1.3) hue-rotate(-12deg) contrast(1.08) brightness(.94)}
.ref-stage::after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;background:radial-gradient(ellipse at 50% 38%,transparent 20%,#03060311 65%,#03060355 100%)}
.ref-grain{opacity:.3}.ref-atmosphere{background:linear-gradient(180deg,#080a0933,transparent 40%,#080a0966 75%,#080a09)}
.site-preferences{align-items:center;gap:7px;max-width:calc(100vw - 110px)}.site-preferences button{white-space:nowrap;font-size:10px;min-height:39px;padding:9px 11px}
#siteLanguage{font-family:Tahoma,Arial,sans-serif;font-size:12px;min-width:68px}
#section-featured{margin-block:28px;background:linear-gradient(145deg,#151a11,#0b0f08);border-block:1px solid #61502e;box-shadow:inset 0 1px 0 #d6b45d22;padding-block:72px}
#section-featured .section-heading h2{color:#f3e5be;font-size:clamp(36px,4vw,56px)}.section-intro-copy{margin-top:18px;max-width:580px;color:#bfb8a4;font-size:16px;line-height:1.65}
#section-services{margin-top:62px;border-top:1px solid #b5964e;border-bottom:0;padding-top:56px;background:#0e150a}#section-services .services-center-badge{margin-top:26px;padding:24px 0}#section-services h2{color:#f3e5be;font-size:clamp(36px,4vw,56px)}
#section-svc-cards{margin-bottom:50px;border-bottom:1px solid #75633b;padding-bottom:70px;background:#0e150a}
#section-services .marquee-row{opacity:.32}.svc-cards-wrap .capability{border-color:#596343;background:linear-gradient(135deg,#1b2414,#11190c)}
/* Consistent button contrast in the resting, hover and keyboard-focus states. */
:is(.button,.button.dark,.nav-quote,.intro-cta,.submit-btn,.btn:not(.secondary),.ceo-message .button){background:linear-gradient(145deg,#f0dfa8,#d2af5c)!important;color:#14170d!important;border-color:#dfc47d!important}
:is(.button,.nav-quote,.intro-cta,.submit-btn,.btn)::before{background:linear-gradient(145deg,#fff1bd,#e3c982)!important}
:is(.button,.button.dark,.nav-quote,.intro-cta,.submit-btn,.btn:not(.secondary),.ceo-message .button):hover{color:#101409!important;background:#edda9c!important}
:is(.text-link,.btn.secondary,.back-link,.back-website,.contact-pill){background:#232b1a!important;color:#f2e6c6!important;border-color:#a28b52!important}
:is(.text-link,.btn.secondary,.back-link,.back-website,.contact-pill):hover{background:#3b4628!important;color:#fff3d0!important}
.project-arrow,.project-arrow:hover{background:#e3c982!important;color:#15190c!important}.project-arrow svg{stroke:currentColor;fill:currentColor}
#section-contact .contact-pill{background:#e3c982!important;color:#15190c!important}#section-contact .contact-pill:hover{background:#f4e3ad!important;color:#101409!important}
.expand-icon{color:#f2e6c6}.capability[open] .expand-icon{background:#e3c982!important;color:#15190c!important}
.service{color:#efe6d2!important}.service strong{color:#f4eacb!important}.service span{color:#d1cab7!important}.service .price{background:#3b4429;color:#f3dfa3!important}
.site-preferences .ref-control{background:#171c11!important;color:#f1e2b8!important;border:1px solid #94804b!important}.site-preferences .ref-control:hover{background:#313b21!important;color:#fff5d4!important}
.social-icon-link{color:#f2e6c6}.social-icon-link:hover{background:#d6b45d;color:#15190c}.social-icon-link svg{fill:currentColor}
.quote-regions{display:inline-block;padding:12px 18px;border:1px solid #8c7947;margin-top:20px!important;color:#ead7a0!important;font-size:15px!important}
#phoneHelp{display:block;margin-top:9px;color:#beb7a2;font-size:12px;line-height:1.55}#clientPhone{direction:ltr;text-align:left}#phoneCountry{width:100%;font-size:15px}#phoneCountry option{background:#161d10;color:#f2e9d0}.quote-brand .meta{max-width:330px;line-height:1.65}
/* Light theme is complete public-page styling; cinematic imagery retains legible overlays. */
html[data-theme=light]{color-scheme:light;--bg:#f6f3e9;--bg2:#eee9d8;--ink:#171d12;--ink2:#323a28;--muted:#5d6652;--line:#c7bea5;--card:#fffdf6;--dark:#e8e3d3;--dark2:#f1eddf}
html[data-theme=light] body{background:#f6f3e9;color:#171d12}
html[data-theme=light] :is(.intro-desc,.intro-pillar .pillar-text,.company-values p,.test-text,.stat-lbl,.social-stat-lbl,.step-desc,.tl-desc,.company-heading>p:not(.eyebrow),.company-grid>div>p,.tech-stack-heading p:not(.tech-eyebrow),.journal-teaser p,.svc-desc,.industry-desc){color:#536047}
html[data-theme=light] :is(.intro-pillar,.tech-group,.company-values article,.stat-item,.social-stat,.test-slide,.tl-item,.capability,#section-industries .capability,.cms-project-card,.post-card,.pj-card,.card,.summary){background:#fffdf6;color:#192011;border-color:#c5b78c;box-shadow:0 6px 20px #41391708}
html[data-theme=light] :is(h2,h3,h4,.company-grid h3,.card h2,.service strong,.summary h3){color:#1b2313}
html[data-theme=light] h2 em,html[data-theme=light] .intro-heading em{color:#80601b}
html[data-theme=light] :is(.eyebrow,.sect-label,.svc-eyebrow,.industry-eyebrow,.tech-eyebrow,.test-label,.stats-eyebrow,.intro-label,.tl-num-label){color:#6f551b}
html[data-theme=light] #section-featured{background:linear-gradient(145deg,#ece5ce,#f9f5e8);border-color:#ad924e}
html[data-theme=light] #section-featured h2,html[data-theme=light] #section-services h2{color:#2d351d}
html[data-theme=light] .section-intro-copy{color:#5b634d}
html[data-theme=light] :is(#section-services,#section-svc-cards,#section-industries,#section-approach,.ceo-message,#section-contact,.site-footer){background:#eae5d3;color:#1e2616;border-color:#b9a66c}
html[data-theme=light] .svc-cards-wrap .capability{background:#fffdf5;border-color:#b7ab82}
html[data-theme=light] .capability[open],html[data-theme=light] #section-industries .capability[open]{background:#e0dcc5;color:#17200e}
html[data-theme=light] :is(.svc-sub,.industry-sub,.svc-deliverables h4,.svc-desc,.industry-desc,.svc-del-item,.industry-stat-item){color:#28351b}
html[data-theme=light] .svc-del-item,html[data-theme=light] .industry-stat-item{background:#dedfc9}
html[data-theme=light] :is(.svc-num,.industry-num,#section-industries .industry-num,#section-svc-cards .svc-num,#section-svc-cards .svc-tag,.svc-tag,.industry-tag){color:#78581b!important}
html[data-theme=light] .service-glyph{color:#847850}
html[data-theme=light] :is(.tech-grid span,.chip,.logo-item){background:#e4e6d4;color:#303c21;border-color:#b5b792}
html[data-theme=light] :is(.ceo-message blockquote,.ceo-message p,.ceo-message p strong,.ceo-message .eyebrow,.contact-sub,.contact-addr,.contact-addr strong,.footer-office p,.footer-brand-block p,.footer-office span,.footer-links a,.footer-title,.site-footer .footer-title){color:#38442b}
html[data-theme=light] .footer-links a:hover{color:#80601b}
html[data-theme=light] .site-nav{background:#f6f3e9ee;border-color:#c8ba90}
html[data-theme=light] .brand{background:#151a10;color:#fff2ce;padding:7px 10px;border-radius:4px}
html[data-theme=light] .brand>span,html[data-theme=light] .brand small{color:#efe4c6}
html[data-theme=light] .main-nav a{color:#2b351f}
html[data-theme=light] .main-nav a:hover,html[data-theme=light] .main-nav a[aria-current=page]{color:#76561c}
html[data-theme=light] :is(.text-link,.btn.secondary,.back-link,.back-website,.contact-pill){background:#fffaf0!important;color:#2c361e!important;border-color:#96804c!important}
html[data-theme=light] .site-preferences .ref-control{background:#fffbef!important;color:#2b341d!important;border-color:#8e7844!important}
html[data-theme=light] :is(input,select,textarea){background:#fffdf7;color:#27331a;border-color:#a49b78}
html[data-theme=light] #phoneCountry option{background:#fffdf7;color:#27331a}
html[data-theme=light] #phoneHelp{color:#5c654d}
html[data-theme=light] .service{background:#fffdf5!important;border-color:#b5a67d!important;color:#2b351f!important}
html[data-theme=light] .service strong,html[data-theme=light] .service span{color:#2b351f!important}
html[data-theme=light] .service:hover,html[data-theme=light] .service.active{background:#eee7cb!important;border-color:#8c6b27!important}
html[data-theme=light] .service .price{background:#e5d59c;color:#47380f!important}
html[data-theme=light] .quote-page,html[data-theme=light] .quote-page .hero{background:#f6f3e9;color:#1b2313}
html[data-theme=light] .custom-callout{background:#e8e4d0;color:#2d391e}
html[data-theme=light] .quote-regions{color:#6b5019!important}
html[data-theme=light] .ref-home .site-nav{background:linear-gradient(#080a09cc,transparent)}
html[data-theme=light] .ref-home .main-nav a{color:#eadfc8}
html[data-theme=light] .ref-home .main-nav a:hover{color:#fff0c8}
html[data-theme=light] .ref-panel h1,html[data-theme=light] .ref-panel h2{color:#f0f0e7}
html[data-theme=light] .ref-panel p,html[data-theme=light] .ref-panel .ref-kicker{color:#e7d9b8}
html[data-theme=light] .ref-panel h2 em{color:#e3c982}
html[data-theme=light] .mobile-nav.open{background:#f7f2e2}.mobile-nav.open a{color:inherit}
/* True RTL text flow. Brand marks, domains, numbers and visual scenes keep their orientation. */
html[lang=ar] body{font-family:Tahoma,Arial,sans-serif}
html[lang=ar] :is(h1,h2,h3,h4,.ref-panel h1,.ref-panel h2,.intro-heading,.svc-title,.industry-title,.test-title,.step-title,.tl-title){font-family:Tahoma,Arial,sans-serif;letter-spacing:0;font-weight:400;line-height:1.45}
html[lang=ar] :is(p,span,button,a,label,select,input,textarea){letter-spacing:0}
html[lang=ar] .ref-panel{text-align:right}
html[lang=ar] .ref-panel--portal{text-align:center}
html[lang=ar] .ref-hero-grid{direction:rtl}
html[lang=ar] .ref-facts span::before{margin-right:0;margin-left:8px}
html[lang=ar] .ref-module{direction:rtl}
html[lang=ar] .main-nav,html[lang=ar] .mobile-nav,html[lang=ar] .footer-links{direction:rtl}
html[lang=ar] .site-preferences,html[lang=ar] .ref-rail,html[lang=ar] .brand{direction:ltr}
html[lang=ar] .footer-links a:hover{transform:translateX(-3px)}
html[lang=ar] .ref-panel--code,html[lang=ar] .ref-panel--design,html[lang=ar] .ref-panel--ai{padding-left:var(--pad);padding-right:8%}
html[lang=ar] .quote-brand{direction:rtl}.quote-brand img{direction:ltr}
html[lang=ar] .quote-sheet{font-family:Tahoma,Arial,sans-serif}
html[lang=ar] .ref-callout{font-family:Tahoma,Arial,sans-serif;line-height:1.8}
@media(max-width:640px){.site-preferences{left:14px;right:80px;max-width:none;gap:4px;justify-content:flex-start}.site-preferences button{padding:8px;font-size:9px;min-height:36px}#siteLanguage{font-size:11px;min-width:58px}#section-featured{padding-block:50px}#section-services{margin-top:36px;padding-top:38px}.ref-panel--hero{padding-bottom:110px}html[lang=ar] .ref-panel h1{font-size:30px;line-height:1.45}html[lang=ar] .ref-panel h2{font-size:31px}html[lang=ar] .ref-hero-grid p{font-size:14px;line-height:1.75}html[lang=ar] .ref-panel--code,html[lang=ar] .ref-panel--design,html[lang=ar] .ref-panel--ai{padding-right:var(--pad)}.quote-regions{padding:10px 13px;font-size:13px!important}}
@media(prefers-reduced-motion:reduce){.ref-landscape img{will-change:auto;transform:none}}

#phoneFormat{display:block;color:#e3c982;margin-top:8px;font-size:14px;text-align:left;unicode-bidi:isolate}html[data-theme=light] #phoneFormat{color:#735519}
.quote-page .field label{color:#d8d4bd}.quote-page .card p,.quote-page .note,.quote-page .included li{color:#bdb9a8}.quote-page .sumrow span{color:#bdb9a8}
html[data-theme=light] .quote-page{--muted:#505a43;--line:#b6aa85;--text:#1b2313;--gold:#795a17;--gold2:#795a17;--panel:#fffdf6;--panel2:#eee9d8}
html[data-theme=light] .quote-page :is(.field label,.card p,.note,.included li,.sumrow span,.quote-page .note){color:#46543a}
html[data-theme=light] .services-center-badge p{color:#4c5b3e}
html[data-theme=light] .total strong{color:#795a17}
html[data-theme=light] .field input::placeholder,html[data-theme=light] .field textarea::placeholder{color:#6a725e;opacity:1}
.contact-modal{background:var(--card);color:var(--ink);border:1px solid #8a7544}.contact-modal h2,.contact-modal label{color:var(--ink)}.contact-modal p{color:var(--muted)}
html[lang=ar] .ref-panel--hero .ref-facts{line-height:1.9}
html:not(.experience-visible) .ref-home .site-nav{background:#080a09f2;border-bottom:1px solid #51462b;backdrop-filter:blur(12px)}
html[data-theme=light]:not(.experience-visible) .ref-home .site-nav{background:#f6f3e9f5;border-bottom:1px solid #b6a774;backdrop-filter:blur(12px)}
html[data-theme=light]:not(.experience-visible) .ref-home .main-nav a{color:#2b351e!important}
html[data-theme=light]:not(.experience-visible) .ref-home .main-nav a:hover,html[data-theme=light]:not(.experience-visible) .ref-home .main-nav a[aria-current=page]{color:#795a17!important}
html[data-theme=light] .featured-meta span,html[data-theme=light] .featured-meta b{color:#596448}
html[data-theme=light] #section-svc-cards .svc-eyebrow,html[data-theme=light] #section-svc-cards .eyebrow{background:transparent;color:#69521d}
#section-services .marquee-row:not(:nth-child(2)){display:none}#section-services .services-center-badge{margin-top:0;margin-bottom:24px}#section-services .marquee-row{margin-top:18px;pointer-events:none}
#section-services .marquee-row{display:none!important}#section-services .services-center-badge{margin-bottom:0;padding-bottom:8px}
html[data-theme=light] .capability .expand-icon,html[data-theme=light] #section-industries .expand-icon{background:#e2cf93!important;color:#27331b!important;border:1px solid #967c3f}
html[data-theme=light] .office-photo figcaption{color:#28321e;background:#fff9e8ee}
#section-services{padding-block:36px 20px!important;margin-top:36px}#section-services .services-center-badge{padding:0!important}#section-svc-cards{padding-top:18px!important}
/* Requested controls, spacing and RTL repairs. */
.header-language{position:static!important;flex:0 0 auto;min-width:0!important;padding:7px 9px!important;font-size:11px!important;white-space:nowrap;direction:ltr;color:#ead9a8!important;background:transparent!important;border-color:#aa93594d!important}
.site-preferences{left:auto!important;right:112px!important;bottom:28px!important;max-width:none!important}
#siteTheme{display:grid;place-items:center;width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;border-radius:50%;font:23px/1 Arial!important}
.logo-carousel-wrap{row-gap:clamp(12px,2.5vw,40px)!important}
#section-approach .approach-header h2 em{background:none!important;color:#e3c982!important;-webkit-text-fill-color:#e3c982!important;background-clip:border-box!important;font-style:normal}
html[data-theme=light] #section-approach .approach-header h2 em{color:#755718!important;-webkit-text-fill-color:#755718!important}
html[lang=ar] .ref-panel--code,html[lang=ar] .ref-panel--design,html[lang=ar] .ref-panel--ai{align-items:flex-end;padding-inline:var(--pad)!important}
html[lang=ar] :is(.ref-panel--code,.ref-panel--design,.ref-panel--ai)>:is(h2,p){width:42%;max-width:600px;text-align:right}
html[lang=ar] .ref-panel--code .ref-module,html[lang=ar] .ref-panel--design .ref-module,html[lang=ar] .ref-panel--ai .ref-module{width:auto}
.svc-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}
.svc-gallery img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:4px}
.svc-projects{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
.svc-project{display:flex;align-items:center;gap:10px;border:1px solid #9b854e55;padding:10px;color:inherit;text-decoration:none;max-width:100%}
.svc-project img{width:64px;height:44px;object-fit:cover}
.logo-item:has(img) .logo-name{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.logo-item img{width:160px!important;height:65px!important;object-fit:contain}
@media(max-width:1100px){.main-nav{gap:3px!important}.main-nav a{padding-inline:5px!important;font-size:10px!important}.site-nav{gap:10px!important}}
@media(max-width:760px){.header-language{font-size:10px!important;padding:6px!important}.site-nav{gap:7px!important}.site-preferences{right:90px!important;bottom:25px!important}#siteTheme{width:34px!important;height:34px!important;min-height:34px!important}.ref-panel--code,.ref-panel--design,.ref-panel--ai{justify-content:flex-start!important;padding-top:110px!important;padding-bottom:30px!important}.ref-panel--code h2,.ref-panel--design h2,.ref-panel--ai h2{font-size:clamp(26px,5vw,38px)!important;line-height:1.2!important}.ref-panel--code p,.ref-panel--design p,.ref-panel--ai p{margin-top:12px!important;font-size:13px!important;max-width:90%!important}html[lang=ar] :is(.ref-panel--code,.ref-panel--design,.ref-panel--ai)>:is(h2,p){width:100%;max-width:100%!important}html[lang=ar] .ref-panel h2{font-size:clamp(25px,5vw,36px)!important;line-height:1.45!important}.ref-module{bottom:24px!important}.ref-panel--code .ref-module,.ref-panel--design .ref-module,.ref-panel--ai .ref-module{display:none}.ref-stage{min-height:540px}}
@media(max-width:400px){.brand>span{font-size:8px!important}.nav-quote{padding:9px 7px!important;font-size:8px!important}.nav-quote span{display:none}.brand img{width:40px!important}.site-nav{padding-inline:12px!important}}
.evt-subscribe{margin:24px auto 0;padding:18px 0;max-width:420px;width:100%;grid-column:1/-1;color:inherit}.evt-subscribe label{font-size:12px}.evt-subscribe>div{display:flex;margin-top:8px;border:1px solid #a28b5277}.evt-subscribe input{min-width:0;flex:1;background:transparent;color:inherit;border:0;padding:12px;font:inherit;font-size:14px}.evt-subscribe button{color:#14170d;background:#e3c982;padding:10px 18px;border:0}.evt-subscribe p{font-size:12px;min-height:1.5em}.quote-language{position:absolute!important;right:24px;top:27px}.quote-page .topbar-inner{padding-right:105px}
/* The new hero asset already contains the approved charcoal/gold grade. */
.ref-landscape img{filter:none!important}.ref-grain{opacity:.12}

html[lang=ar] :is(.ref-panel--code,.ref-panel--design,.ref-panel--ai){align-items:flex-start!important}
.dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:25px 0}.dashboard-stat{text-decoration:none;display:flex;flex-direction:column;gap:12px;margin:0!important}.dashboard-stat strong{font-size:42px;color:#98762d}.dashboard-stat span{color:#222}@media(max-width:700px){.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
#notificationBell{display:inline-flex;align-items:center;gap:6px}

/* Hero correction: remove the long divider below the main headline. */
.ref-panel--hero .ref-facts{border-top:0!important;box-shadow:none!important}
