/* One shared palette for the selected design, in both themes. */
:root,[data-theme="light"]{
 --surface:#f6f9f7;--surface-alt:#eaf2ed;--surface-card:#fff;--surface-field:#f8fbf9;--surface-footer:#e0ece5;
 --ink-primary:#213b30;--ink-secondary:#4f695d;--line:#cedfd4;--line-strong:#94b8a4;
 --accent-ink:#007554;--accent-fill:#00ca94;--accent-hover:#21d6a3;--button-ink:#11382a;--accent-soft:#def5e9;
 --surface-rgb:246,249,247;--brand-wordmark-green:#00c997;--brand-wordmark-ink:#213b30;
}
[data-theme="dark"]{
 --surface:#292d30;--surface-alt:#303538;--surface-card:#383e42;--surface-field:#252a2d;--surface-footer:#24282b;
 --ink-primary:#f2f4f3;--ink-secondary:#c6cdca;--line:#4e5757;--line-strong:#7c9189;
 --accent-ink:#80ebc2;--accent-fill:#51ddb0;--accent-hover:#79e8c4;--button-ink:#11382a;--accent-soft:#334840;
 --surface-rgb:41,45,48;--brand-wordmark-ink:#f4f8f5;
}
html[data-theme] body:is(.home-page,.project-page){
 --bg:var(--surface);--bg2:var(--surface-alt);--bg3:var(--surface-card);--black:var(--surface);--dark:var(--surface-alt);--dark2:var(--surface-card);
 --white:var(--ink-primary);--text:var(--ink-primary);--text2:var(--ink-secondary);--text3:var(--ink-secondary);--off:var(--ink-secondary);--grey:var(--ink-secondary);--grey2:var(--ink-secondary);
 --green:var(--accent-ink);--green2:var(--accent-ink);--border:var(--line);--border2:var(--line);--card-bg:var(--surface-card);--nav-bg:rgba(var(--surface-rgb),.97);--ink:var(--ink-primary);--paper:var(--surface);
 background:var(--surface);color:var(--ink-primary);
}
html[data-theme] .home-page :is(.hero,.portfolio,.expertise,.s2b,.about-section,.faq-section,.reviews-section,.team-section){background:var(--surface)}
html[data-theme] .home-page :is(.services,.process,.sales-value,.deliverables-section,.experience-band,.cta){background:var(--surface-alt)}
html[data-theme] .home-page .hero::before{background:linear-gradient(100deg,rgba(var(--surface-rgb),.55),rgba(var(--surface-rgb),.2) 48%,rgba(var(--surface-rgb),0) 80%)}
html[data-theme] .home-page .hero-logo-display::before{background:radial-gradient(ellipse,rgba(var(--surface-rgb),.8) 8%,transparent 66%)}
html[data-theme] .home-page nav{background:var(--nav-bg);border-color:var(--line)}
html[data-theme] .home-page :is(.btn-primary,.hero-actions .btn-primary,.nav-btn),html[data-theme] .project-page :is(.cta-mini,.not-found a){background:var(--accent-fill);border-color:var(--accent-fill);color:var(--button-ink);box-shadow:none}
html[data-theme] .home-page :is(.btn-primary,.hero-actions .btn-primary,.nav-btn):hover,html[data-theme] .project-page .cta-mini:hover{background:var(--accent-hover);border-color:var(--accent-hover);color:var(--button-ink);box-shadow:none}
html[data-theme] .home-page :is(.portfolio-filter.is-active,.portfolio-more:hover),html[data-theme] .home-page .case-grid .case-card .case-cover .case-open{background:var(--accent-fill);color:var(--button-ink);border-color:var(--accent-fill);box-shadow:none}
html[data-theme] .home-page :is(.case-card,.case-card.featured-case,.review-card,.team-card,.enquiry-form),html[data-theme] .home-page .featured-case .case-content{--text:var(--ink-primary);--text2:var(--ink-secondary);background:var(--surface-card);color:var(--ink-primary);border-color:var(--line);box-shadow:none}
html[data-theme] .home-page .case-card:hover{border-color:var(--line-strong);box-shadow:none}
html[data-theme] .home-page :is(h1 .line-green,.section-h span,.cta h2 span,.stat-num,.value-number,.svc-num,.proc-num,.featured-case .case-kicker,.featured-case .case-view span,.case-card:hover .case-content h3,.nav-links a:hover){color:var(--accent-ink)}
html[data-theme] .home-page :is(.section-eyebrow,.cta-eyebrow){color:var(--accent-ink);border-left-color:var(--accent-fill)}
html[data-theme] .home-page :is(.proc-num-box,.enquiry-form){border-top-color:var(--accent-fill)}
html[data-theme] .home-page .hero-tag{background:var(--accent-soft);color:var(--accent-ink);border-color:var(--line-strong)}
html[data-theme] .home-page .faq-list details[open]{background:var(--accent-soft);border-color:var(--line-strong)}
html[data-theme] .home-page :is(.enquiry-field input,.enquiry-field select,.enquiry-field textarea){background:var(--surface-field);color:var(--ink-primary);border-color:var(--line-strong)}
html[data-theme] .home-page :is(.enquiry-field input,.enquiry-field textarea)::placeholder{color:var(--ink-secondary);opacity:1}
html[data-theme] :is(.home-page,.project-page) .theme-toggle-btn{background:var(--surface-card);color:var(--accent-ink);border-color:var(--line-strong);box-shadow:none}
html[data-theme] .home-page footer,html[data-theme] .project-page .case-nav-wrap{background:var(--surface-footer);border-color:var(--line)}
html[data-theme] .project-page :is(.topbar,.project-heading){--text:var(--ink-primary);--text2:var(--ink-secondary);--green:var(--accent-ink);--border2:var(--line);background:var(--surface-alt);color:var(--ink-primary)}
html[data-theme] .project-page :is(.side-block,.case-nav a){background:var(--surface-card);border-color:var(--line)}
html[data-theme] .project-page :is(.case-badge,.side-tags span){background:var(--accent-soft);color:var(--ink-primary);border-color:var(--line-strong)}
html[data-theme] .project-page .chapter-heading{border-top-color:var(--line-strong)}
html[data-theme] :is(.home-page,.project-page) :focus-visible{outline-color:var(--accent-ink)}
@media(max-width:900px){html[data-theme] .home-page .nav-links{background:var(--surface);border-color:var(--line)}}
@media(max-width:760px){html[data-theme] .home-page .hero::before{background:linear-gradient(180deg,rgba(var(--surface-rgb),.4),rgba(var(--surface-rgb),.1) 65%,rgba(var(--surface-rgb),0))}}
