/* Shared theme controls. Layout, content, and artwork stay the same in both modes. */
:root { color-scheme: dark; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; min-width: 88px; width: auto; height: 44px; padding: 0 12px; border: 1px solid #587fb9; border-radius: 999px; background: rgba(14, 30, 58, .55); color: #cde5ff; cursor: pointer; transition: background .2s, border-color .2s; }
.theme-toggle:hover { background: #213e68; border-color: #8ac8ff; }
.theme-toggle:focus-visible { outline: 2px solid #78bfff; outline-offset: 4px; }
.theme-toggle svg { display: block; flex-shrink: 0; width: 18px; height: 18px; }
.theme-toggle-label { display: inline; color: inherit; font-size: 11px; font-weight: 500; line-height: 1; white-space: nowrap; }
.theme-toggle .theme-moon { display: none; }
html[data-theme="light"] .theme-toggle .theme-sun { display: none; }
html[data-theme="light"] .theme-toggle .theme-moon { display: block; }
@media (min-width: 721px) and (max-width: 1320px) {
  .header { flex-wrap: wrap; }
  .header > .nav { order: 3; width: 100%; justify-content: space-between; }
  .interior-hero .interior-hero-content { padding-top: 190px; }
  .hero-inner { padding-top: 190px; }
}
@media (max-width: 720px) {
  .header-actions { gap: 6px; }
  .theme-toggle { position: relative; z-index: 35; min-width: 76px; padding-inline: 9px; gap: 6px; }
}


@media (max-width: 380px) {
  .header { gap: 12px; }
  .header-actions { gap: 4px; }
  .theme-toggle { min-width: 70px; padding-inline: 8px; gap: 5px; }
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f9fd;
  --ink: #18253f;
  --muted: #53647c;
  --blue: #205ec0;
  --cyan: #1763a6;
  --violet: #6545c0;
  --stroke: rgba(39, 68, 112, .18);
  --light-surface: #fff;
  --light-soft: #edf3fc;
  --light-accent: #245fad;
  --division-accent: #245fad;
  scrollbar-color: #7892b5 #edf2f9;
}
html[data-theme="light"] body { background: var(--bg); color: var(--ink); }
html[data-theme="light"] .noise { opacity: .018; }
html[data-theme="light"] .cursor-aura { opacity: .15; }
html[data-theme="light"] .division-it { --division-accent: #1763a6; }
html[data-theme="light"] .division-digital { --division-accent: #6545c0; }
html[data-theme="light"] .header { background: rgba(247, 249, 253, .88); }
html[data-theme="light"] .header.scrolled { background: rgba(247, 249, 253, .96); box-shadow: 0 1px 0 var(--stroke); }
html[data-theme="light"] .nav a,
html[data-theme="light"] .nav-dropdown-toggle { color: #42536e; }
html[data-theme="light"] .nav a:is(:hover, .active, [aria-current="page"]),
html[data-theme="light"] .nav-dropdown.has-current > a { color: #205eae; }
html[data-theme="light"] .nav a::after { background: #205eae; }
html[data-theme="light"] .nav-submenu { background: #fff; box-shadow: 0 16px 40px rgba(35, 62, 103, .14); }
html[data-theme="light"] .nav .nav-submenu a:is(:hover, :focus-visible) { background: #edf3fc; color: #205eae; }
html[data-theme="light"] .nav-dropdown:has(> a[href="digital-marketing.html"]) .nav-submenu a:hover { color: #6545c0; }
html[data-theme="light"] :is(.header-cta, .theme-toggle) { color: var(--ink); border-color: #a2b6d3; background: #fff; }
html[data-theme="light"] .theme-toggle:hover { background: #e8effa; border-color: #4778b8; }
html[data-theme="light"] .theme-toggle:focus-visible { outline-color: #205eae; }
html[data-theme="light"] .header-cta span { color: #205eae; }
html[data-theme="light"] .menu-toggle span { background: var(--ink); }

/* Pale blue surfaces and navy type preserve the two divisions' blue/violet accents. */
html[data-theme="light"] :is(.about, .why, .editorial-feature) { background: var(--bg); }
html[data-theme="light"] :is(.services, .editorial-section, .home-pathways) { background: linear-gradient(180deg, #f7f9fd, #edf3fc); }
html[data-theme="light"] :is(.packages, .featured, .contact, .closing-cta) { background: radial-gradient(ellipse at 65% 35%, #e0eafa, #f7f9fd 72%); }
html[data-theme="light"] :is(.interior-hero, .inner-masthead) { background: radial-gradient(ellipse at 78% 30%, #dce9fb, #f7f9fd 78%); }
html[data-theme="light"] .hero { background: radial-gradient(ellipse at 70% 40%, #dce9fb, #f7f9fd 75%); }
html[data-theme="light"] .hero::after { background: linear-gradient(transparent 30%, #f7f9fd); }
/* Keep the artwork at full strength; a separate scrim protects the text. */
html[data-theme="light"] .hero-art {
  mix-blend-mode: normal;
  opacity: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 90%, transparent);
}
html[data-theme="light"] .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #f7f9fd 12%, rgba(247,249,253,.45) 38%, transparent 70%);
}
html[data-theme="light"] .hero-glow { background: radial-gradient(circle, rgba(76, 114, 220, .1), transparent 65%); }
html[data-theme="light"] .hero-smoke { mix-blend-mode: normal; opacity: 1; }
html[data-theme="light"] .interior-hero-image { mix-blend-mode: normal; opacity: 1; }
html[data-theme="light"] .interior-hero::after { background: linear-gradient(0deg, #f7f9fd, transparent 25%), linear-gradient(90deg, #f7f9fd 10%, transparent 75%); }
html[data-theme="light"] :is(.home-about, .about-page) .art-panel::before,
html[data-theme="light"] .about-page .editorial-feature-photo {
  opacity: 1;
  mix-blend-mode: normal;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
}
html[data-theme="light"] .contact::before { opacity: .07; mix-blend-mode: multiply; }
html[data-theme="light"] :is(.hero h1 em, .display em, .feature-content h2 em) { background-image: linear-gradient(105deg, #245fad, #6545c0); }
html[data-theme="light"] :is(.section-lead, .division-positioning, .home-strengths-title) { color: var(--ink); }
html[data-theme="light"] :is(.hero-sub, .subtle, .section-top .muted, .pathway-intro > p, .editorial-heading p, .editorial-feature-copy p, .service-intro p, .packages-head p, .package-note, .contact-introduction > p, .contact-form-heading > p, .contact-page .contact-hero-description) { color: var(--muted); }
html[data-theme="light"] :is(.hero-bottom, .interior-hero-bottom, .metrics-heading h2, .metric-label, .feature-small) { color: var(--muted); }
html[data-theme="light"] :is(.tag, .hero-kicker, .eyebrow, .detail-label, .accent-dot, .advantage-number, .card-num, .contact-eyebrow, .feature-overline, .feature-star, .inner-masthead-mark, .panel-stamp, .feature-explore) { color: var(--light-accent); }
html[data-theme="light"] :is(.division-it, .division-digital) .tag { color: var(--division-accent); }
html[data-theme="light"] :is(.display span, .metric-value, .closing-cta h2 em, .contact-introduction h2 em) { color: #6545c0; }
html[data-theme="light"] :is(.btn-link, .btn-link span, .hero-bottom b, .interior-hero-bottom a, .package-note a, .feature-pill span) { color: var(--light-accent); }
html[data-theme="light"] :is(.btn-primary, .footer-contact-btn) { color: #fff; border-color: #245fad; background: linear-gradient(110deg, #245fad, #344483); }
html[data-theme="light"] :is(.btn-primary, .footer-contact-btn):hover { background: #1b4c8d; color: #fff; }
html[data-theme="light"] :is(.btn-primary span, .footer-contact-btn span) { color: #dbeeff; }
html[data-theme="light"] .contact-page main .btn-primary:hover { color: #fff; }

html[data-theme="light"] :is(.steps article, .service-card, .insight-card, .advantage-card, .testimonial-card, .service-content-block, .contact-office, .contact-form-panel, .package-card, .pathway-card) { background: linear-gradient(145deg, #fff, #edf3fc); border-color: var(--stroke); box-shadow: 0 8px 30px rgba(35, 62, 103, .045); }
html[data-theme="light"] :is(.service-card, .insight-card, .pathway-card):hover { background: linear-gradient(145deg, #fff, #e3edfc); border-color: #759ac9; }
html[data-theme="light"] .division-card-digital { background: linear-gradient(145deg, #fff, #f0ebfb); border-color: #c7b9e6; }
html[data-theme="light"] .division-card-digital:hover { background: linear-gradient(145deg, #fff, #e8e0f7); border-color: #9f88ca; }
html[data-theme="light"] .featured-package { background: linear-gradient(145deg, #e0ebfd, #f6f9ff); border-color: #7d9fce; }
html[data-theme="light"] :is(.steps p, .service-card p, .service-card li, .insight-card p, .advantage-card p, .pathway-card p, .package-card > p, .package-card li, .testimonial-card blockquote p) { color: var(--muted); }
html[data-theme="light"] :is(.steps span, .service-symbol, .insight-number, .service-card > a, .package-meta, .package-meta span, .pathway-card > span, .pathway-card h3 em) { color: var(--light-accent); text-shadow: none; }
html[data-theme="light"] .division-card-digital > span,
html[data-theme="light"] .division-card-digital h3 em { color: #6545c0; }
html[data-theme="light"] .feature-pill { background: #fff; color: var(--muted); }
html[data-theme="light"] .package-card > a { color: var(--light-accent); border-color: #a2b6d3; }
html[data-theme="light"] .package-card > a:hover { background: #dce8fa; }
html[data-theme="light"] .testimonial-author strong { color: var(--ink); }
html[data-theme="light"] :is(.testimonial-author span, .testimonial-controls > span) { color: var(--muted); }
html[data-theme="light"] .testimonial-author .testimonial-company { color: var(--light-accent); }
html[data-theme="light"] .testimonial-controls button { background: #fff; color: var(--light-accent); }
html[data-theme="light"] .testimonial-rail { scrollbar-color: #7892b5 #e8eff9; }
html[data-theme="light"] .client-logo { border-color: var(--stroke); }

/* Long-form service copy and forms remain readable on every service page. */
html[data-theme="light"] .service-detail :is(.about-copy, .service-article, .service-content-block li, .service-closing-note) { color: var(--muted); }
html[data-theme="light"] .service-detail .service-article-intro .section-lead,
html[data-theme="light"] .service-detail .service-content-block strong { color: var(--ink); }
html[data-theme="light"] .service-detail .service-article a:not(.btn) { color: var(--division-accent, #245fad); }
/* Detailed article copy needs its own overrides for the original fixed colors. */
html[data-theme="light"] .service-detail .service-feature-description,
html[data-theme="light"] .service-detail .service-content-block .service-scope-description { color: var(--muted); }
html[data-theme="light"] .service-detail .service-feature-title { color: var(--ink); }
html[data-theme="light"] .service-detail .service-content-block li + li { border-color: var(--stroke); }

html[data-theme="light"] .service-article-visual { background: #edf3fc; }
html[data-theme="light"] .service-article-visual img,
html[data-theme="light"] .client-logo img { opacity: 1; mix-blend-mode: normal; filter: none; }
html[data-theme="light"] .service-visual {
  background-image: var(--service-art);
  background-position: center;
  opacity: 1;
  mix-blend-mode: normal;
  filter: none;
}
html[data-theme="light"] .service-visual::after { box-shadow: none; border-color: var(--stroke); }
html[data-theme="light"] .contact-card-icon { background: #e5edfa; border-color: #b9cbe4; color: var(--light-accent); }
html[data-theme="light"] :is(.contact-office p, .contact-email-block a > span, .contact-form-footer > p, .contact-enquiry-form label) { color: var(--muted); }
html[data-theme="light"] :is(.contact-phone-links a, .contact-email-block a) { color: var(--ink); }
html[data-theme="light"] .contact-page main a:hover { color: #205eae; }
html[data-theme="light"] .contact-whatsapp-link { color: #17734c; }
html[data-theme="light"] .enquiry-form :is(input, select, textarea) { background: #fff; color: var(--ink); border-color: #b6c6de; color-scheme: light; }
html[data-theme="light"] .enquiry-form :is(input, textarea)::placeholder { color: #65758c; }
html[data-theme="light"] .enquiry-form :is(input, select, textarea):focus-visible { background: #fff; outline-color: #245fad; }
html[data-theme="light"] .enquiry-form .btn-primary { color: #fff; }

html[data-theme="light"] .site-footer { background: radial-gradient(ellipse at 85% 0%, #dee9f9, transparent 60%), #edf2fa; border-color: var(--stroke); }
html[data-theme="light"] .site-footer .footer-v2 { color: var(--ink); }
html[data-theme="light"] :is(.footer-callout p, .footer-about p, .footer-links a, .footer-reach a, .footer-bottom, .social-links a) { color: var(--muted); }
html[data-theme="light"] :is(.footer-links h3, .footer-reach h3) { color: var(--ink); }
html[data-theme="light"] :is(.footer-eyebrow, .footer-label, .footer-bottom strong, .footer-callout h2 em, .footer-reach .footer-label) { color: var(--light-accent); }
html[data-theme="light"] .footer-site-link { color: var(--light-accent) !important; }
html[data-theme="light"] :is(.footer-links a, .footer-reach a, .footer-site-link):hover { color: #17467f !important; }
html[data-theme="light"] .footer-whatsapp { color: #17734c !important; }
html[data-theme="light"] :is(.footer-bottom a, .social-links a):hover { color: #205eae; }

/* The assistant follows the selected theme without changing its conversation. */
html[data-theme="light"] .help-panel { background: #fff; color: var(--ink); border-color: #b6c6de; box-shadow: 0 20px 65px rgba(35, 62, 103, .2); }
html[data-theme="light"] .help-header { background: linear-gradient(120deg, #e1ecfd, #ece9f9); border-color: var(--stroke); }
html[data-theme="light"] .help-header h2 { color: var(--ink); }
html[data-theme="light"] :is(.help-header h2 span, .help-header p, .help-step, .help-intro, .help-footer-note, .help-brief label span, .help-summary dt, .help-message .help-summary-note) { color: var(--muted); }
html[data-theme="light"] :is(.help-close, .help-reset, .help-back, .help-contact a, .help-eyebrow, .help-welcome h3 em, .help-skip, .help-answer-links a) { color: var(--light-accent); }
html[data-theme="light"] :is(.help-close, .help-toolbar, .help-contact) { background: #edf3fc; border-color: var(--stroke); }
html[data-theme="light"] .help-reset:hover:not(:disabled) { background: #dbe7f9; }
html[data-theme="light"] .help-body { background: #f7f9fd; scrollbar-color: #7892b5 #edf2f9; }
html[data-theme="light"] :is(.help-welcome h3, .help-brief label, .help-summary dd) { color: var(--ink); }
html[data-theme="light"] .help-message { background: #fff; color: #42536e; border-color: #d4dfef; }
html[data-theme="light"] .help-message-question { background: #e1eafb; color: #233f69; border-color: #b9cbe7; }
html[data-theme="light"] .help-choices button { background: #fff; color: #274b7c; border-color: #bdcde4; }
html[data-theme="light"] .help-choices button:hover { background: #e8effb; border-color: #789ccb; }
html[data-theme="light"] .help-brief textarea { background: #fff; color: var(--ink); border-color: #b6c6de; }
html[data-theme="light"] .help-brief textarea::placeholder { color: #65758c; }
html[data-theme="light"] .help-handoff a { background: #eaf1fc; color: #24558f; border-color: #b6c6de; }
html[data-theme="light"] .help-handoff .help-handoff-primary { background: #e5f4eb; color: #17633f; border-color: #9fc9b0; }
html[data-theme="light"] :is(.help-panel, .contact-tools) :focus-visible { outline-color: #245fad; }

@media (max-width: 720px) {
  html[data-theme="light"] .hero::before {
    background: linear-gradient(90deg, rgba(247,249,253,.7), rgba(247,249,253,.25) 60%, transparent);
  }
  html[data-theme="light"] .nav { background: rgba(247, 249, 253, .99); }
  html[data-theme="light"] .nav-mobile-cta { color: #205eae !important; }
}
@supports selector(::-webkit-scrollbar) {
  html[data-theme="light"] { scrollbar-color: auto; }
  html[data-theme="light"] ::-webkit-scrollbar-track,
  html[data-theme="light"] ::-webkit-scrollbar-corner { background: #edf2f9; }
  html[data-theme="light"] ::-webkit-scrollbar-thumb { border-color: #edf2f9; background: linear-gradient(#8fa8ca, #617fa7); background-clip: padding-box; }
  html[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: #4d709d; background-clip: padding-box; }
}

html[data-theme="light"] .service-card li::before,
html[data-theme="light"] .help-choices button > span:last-child { color: var(--light-accent); }
html[data-theme="light"] :is(.division-it, .division-digital) .service-card > a { color: var(--division-accent); }
