/* The business card's paper, plum ink and three neon accents, extended across the site. */
.brand-logo--day,
.footer-brand .brand-logo--day { display: none; }

.theme-switch {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-left: 9px;
  padding: 0;
  color: #a7f0f3;
  background: #111d30;
  border: 1px solid #3b5a7b;
  border-radius: 4px;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s, transform .2s;
}
.theme-switch:hover { transform: translateY(-2px); border-color: #70eaf6; }
.theme-switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.theme-switch-icon { font: 24px/1 Georgia, serif; transform: translateY(-1px); }

html[data-theme="day"] {
  color-scheme: light;
  --bg: #fcfbff;
  --panel: #fff;
  --line: rgba(71, 51, 112, .19);
  --text: #201b3d;
  --muted: #5b5572;
  --accent: #7447e9;
  --purple: #7447e9;
  --blue: #e64bb1;
  --ice: #f7f4ff;
}
html[data-theme="day"] body { background: #fcfbff; color: #201b3d; }
html[data-theme="day"] ::selection { background: #c4f34a; color: #201b3d; }
html[data-theme="day"] :focus-visible { outline-color: #7447e9; }
html[data-theme="day"] .brand-logo--night,
html[data-theme="day"] .footer-brand .brand-logo--night { display: none; }
html[data-theme="day"] .brand-logo--day,
html[data-theme="day"] .footer-brand .brand-logo--day { display: block; }

/* Navigation stays a crisp white strip over the lighter pages. */
html[data-theme="day"] .site-header {
  background: rgba(252, 251, 255, .94);
  border-bottom-color: #ded5f2;
  box-shadow: 0 7px 30px rgba(49, 26, 102, .055);
}
html[data-theme="day"] .desktop-nav a,
html[data-theme="day"] .nav-cta { color: #2b244d; }
html[data-theme="day"] .desktop-nav a:hover,
html[data-theme="day"] .desktop-nav a:focus-visible { color: #7447e9; }
html[data-theme="day"] .nav-cta span { border-color: #7447e9; color: #7447e9; }
html[data-theme="day"] .nav-cta:hover span { color: #201b3d; background: #c4f34a; border-color: #c4f34a; }
html[data-theme="day"] .lang-toggle,
html[data-theme="day"] .theme-switch {
  background: #fff;
  border-color: #c9bce9;
  border-radius: 0;
  color: #201b3d;
}
html[data-theme="day"] .lang-toggle:hover,
html[data-theme="day"] .theme-switch:hover { background: #f5f0ff; border-color: #7447e9; }
html[data-theme="day"] .lang-glyph,
html[data-theme="day"] .theme-switch-icon { color: #7447e9; }
html[data-theme="day"] .lang-chevron { color: #796c97; }
html[data-theme="day"] .lang-menu:not([hidden]) { background: #fff; border-color: #c9bce9; box-shadow: 7px 7px 0 rgba(116, 71, 233, .13); }
html[data-theme="day"] .lang-menu a { color: #282041; }
html[data-theme="day"] .lang-menu a:hover,
html[data-theme="day"] .lang-menu a:focus-visible,
html[data-theme="day"] .lang-menu a[aria-current="page"] { background: #f1eaff; color: #6840cc; }
html[data-theme="day"] .lang-menu small { color: #76648f; }
html[data-theme="day"] .menu-toggle span { background: #201b3d; }
html[data-theme="day"] .mobile-menu:not([hidden]) { background: #fcfbff; color: #201b3d; }
html[data-theme="day"] .mobile-menu a { border-color: #ded5f2; }
html[data-theme="day"] .mobile-menu a span { color: #7447e9; }

/* White cyber hero: a soft sliced panel, fine grid, and the card's neon details. */
html[data-theme="day"] .hero {
  background: radial-gradient(ellipse 48% 54% at 76% 45%, rgba(225, 210, 255, .32), transparent 76%), #fcfbff;
  border-bottom: 5px solid #c4f34a;
}
html[data-theme="day"] .hero::before {
  right: 0; top: 14%; width: 54%; height: 72%; aspect-ratio: auto;
  border: 0; border-radius: 0; box-shadow: none;
  background: linear-gradient(120deg, rgba(239, 232, 255, .25), #f1eaff 58%, #ffebf7);
  clip-path: polygon(12% 0, 100% 0, 100% 79%, 89% 79%, 89% 88%, 82% 88%, 82% 100%, 0 100%, 0 23%);
  animation: none; opacity: .7;
}
html[data-theme="day"] .hero::after {
  inset: 88px 0 0;
  background: linear-gradient(110deg, transparent 55%, rgba(230, 75, 177, .045) 58%, transparent 67%);
}
html[data-theme="day"] .hero-grid {
  background-image: linear-gradient(to right, rgba(116, 71, 233, .09) 1px, transparent 1px), linear-gradient(to bottom, rgba(116, 71, 233, .09) 1px, transparent 1px);
  opacity: .46;
}
html[data-theme="day"] .eyebrow { color: #6840cc; }
html[data-theme="day"] .eyebrow-line { height: 3px; background: #e64bb1; box-shadow: none; }
html[data-theme="day"] .eyebrow-index { color: #8b78b0; }
html[data-theme="day"] .hero h1 { color: #201b3d; text-shadow: none; }
html[data-theme="day"] .hero h1 em {
  color: #7447e9;
  background: linear-gradient(98deg, #6540d3 0%, #7447e9 46%, #d842a7 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
html[data-theme="day"] .hero-description { color: #57506d; }
html[data-theme="day"] .button-primary {
  color: #201b3d; background: #c4f34a; border: 1px solid #201b3d;
  border-radius: 0; box-shadow: 6px 6px 0 #201b3d;
}
html[data-theme="day"] .button-primary:hover { background: #d6ff69; box-shadow: 9px 9px 0 #7447e9; }
html[data-theme="day"] .button-arrow { background: #201b3d; color: #c4f34a; border-radius: 0; }
html[data-theme="day"] .text-link { color: #352b56; }
html[data-theme="day"] .text-link:hover { color: #7447e9; }
html[data-theme="day"] .hero-art-frame::before { background: radial-gradient(ellipse, rgba(182, 150, 249, .3), rgba(242, 210, 240, .1) 48%, transparent 75%); }
html[data-theme="day"] .hero-art-frame::after { border-color: rgba(116, 71, 233, .25); }
html[data-theme="day"] .hero-art canvas { filter: drop-shadow(0 32px 42px rgba(68, 40, 139, .22)); }
html[data-theme="day"] .sculpture-fallback { border-color: #b9a3ef; background: linear-gradient(130deg, #d9cafa, #7857b9 55%, #f5d4ef); }
html[data-theme="day"] .art-cross { color: #db48a8; }
html[data-theme="day"] .art-label { color: #765f9c; }
html[data-theme="day"] .hero-bottom { border-top-color: #ded5f2; color: #6c6088; }
html[data-theme="day"] .scroll-indicator { color: #382c58; }
html[data-theme="day"] .scroll-indicator span { color: #cf3b9c; }

/* The opening statement is quiet, with pixel type reserved for metadata. */
html[data-theme="day"] .intro { background: radial-gradient(ellipse 50% 40% at 77% 53%, rgba(231, 220, 255, .34), transparent 76%), #fff; }
html[data-theme="day"] .section-meta { color: #766887; border-color: #d8cfee; }
html[data-theme="day"] .overline { color: #7447e9; }
html[data-theme="day"] .intro h2 { color: #201b3d; }
html[data-theme="day"] .outline-word { -webkit-text-stroke-color: #7447e9; }
html[data-theme="day"] .intro-glyph { color: #e64bb1; filter: none; }
html[data-theme="day"] .intro-foot p { color: #59516d; }
html[data-theme="day"] .intro-signals { border-color: #d8cfee; }
html[data-theme="day"] .intro-signals span { color: #746487; }

/* Services: paper cards, dark text, and small blocks of neon rather than large dark panels. */
html[data-theme="day"] .services { background: #f7f4ff; color: #201b3d; }
html[data-theme="day"] .services .section-meta { color: #766887; border-color: #d8cfee; }
html[data-theme="day"] .services .overline,
html[data-theme="day"] .extensions-lead .overline,
html[data-theme="day"] .extensions-list span { color: #7447e9; }
html[data-theme="day"] .section-heading-row p,
html[data-theme="day"] .extensions-list p { color: #5c5572; }
html[data-theme="day"] .accent-dot { color: #e64bb1; }
html[data-theme="day"] .service-card,
html[data-theme="day"] .service-card:first-child,
html[data-theme="day"] .service-card:nth-child(4) {
  color: #201b3d; background: #fff; border: 1px solid #d7caef;
  border-radius: 0; box-shadow: 7px 7px 0 rgba(116, 71, 233, .09);
}
html[data-theme="day"] .service-card:first-child { background: linear-gradient(135deg, #fff 60%, #f2ecff); }
html[data-theme="day"] .service-card:nth-child(4) { background: linear-gradient(110deg, #fff 70%, #fff0f9); }
html[data-theme="day"] .service-card:hover,
html[data-theme="day"] .service-card:first-child:hover,
html[data-theme="day"] .service-card:nth-child(4):hover { border-color: #7447e9; box-shadow: 10px 10px 0 rgba(116, 71, 233, .15); }
html[data-theme="day"] .service-card::before { background: linear-gradient(90deg, #7447e9, #e64bb1, #c4f34a); opacity: 1; height: 4px; }
html[data-theme="day"] .card-top,
html[data-theme="day"] .service-card:first-child .card-top,
html[data-theme="day"] .service-card:nth-child(4) .card-top { color: #755d9a; }
html[data-theme="day"] .card-plus,
html[data-theme="day"] .service-card:first-child .card-plus,
html[data-theme="day"] .service-card:nth-child(4) .card-plus { color: #dc43a5; }
html[data-theme="day"] .service-card .card-copy p,
html[data-theme="day"] .service-card:first-child .card-copy p,
html[data-theme="day"] .service-card:nth-child(4) .card-copy p { color: #5b536d; }
html[data-theme="day"] .card-tags,
html[data-theme="day"] .service-card:first-child .card-tags,
html[data-theme="day"] .service-card:nth-child(4) .card-tags { border-color: #e0d8f1; }
html[data-theme="day"] .card-tags span,
html[data-theme="day"] .service-card:first-child .card-tags span,
html[data-theme="day"] .service-card:nth-child(4) .card-tags span { color: #604a84; background: #f1ebff; border-radius: 0; }
html[data-theme="day"] .service-card .card-symbol span,
html[data-theme="day"] .service-card:first-child .card-symbol span,
html[data-theme="day"] .service-card:nth-child(4) .card-symbol span { border-color: #8963dc; }
html[data-theme="day"] .symbol-game span:nth-child(3),
html[data-theme="day"] .symbol-mini span:nth-child(3),
html[data-theme="day"] .symbol-commerce span:nth-child(3) { background: #c4f34a; }
html[data-theme="day"] .service-card:nth-child(4) .card-symbol { filter: drop-shadow(0 12px 24px rgba(116, 71, 233, .16)); }
html[data-theme="day"] .capability-extensions,
html[data-theme="day"] .extensions-list > div { border-color: #d8cfee; }

/* Technical depth uses pale violet and a faint pixel grid. */
html[data-theme="day"] .technology { color: #201b3d; background: radial-gradient(circle at 82% 14%, rgba(233, 219, 255, .48), transparent 34%), #fffdfd; }
html[data-theme="day"] .technology .section-meta { color: #766887; }
html[data-theme="day"] .technology-heading h2 span { color: #7447e9; }
html[data-theme="day"] .technology-heading > p { color: #5c5572; }
html[data-theme="day"] .technology-card { background: #faf8ff; border-color: #d4c6ef; border-radius: 0; box-shadow: 6px 6px 0 rgba(116, 71, 233, .06); }
html[data-theme="day"] .technology-card::before { background-image: linear-gradient(transparent 95%, rgba(116, 71, 233, .07) 95%), linear-gradient(90deg, transparent 95%, rgba(116, 71, 233, .07) 95%); opacity: .5; }
html[data-theme="day"] .technology-card:hover { border-color: #7447e9; box-shadow: 8px 8px 0 rgba(116, 71, 233, .13); }
html[data-theme="day"] .technology-card-top { color: #7447e9; }
html[data-theme="day"] .technology-card-top b { color: #db44a6; }
html[data-theme="day"] .technology-card h3 { color: #201b3d; }
html[data-theme="day"] .technology-card p { color: #5b536d; }
html[data-theme="day"] .technology-tags span { background: #fff; color: #604a84; border-color: #d6c9ee; border-radius: 0; }
html[data-theme="day"] .technology-note { color: #706283; }
html[data-theme="day"] .technology-note span { color: #db44a6; }

/* Real project screenshots remain the visual focus inside lighter cases. */
html[data-theme="day"] .work { color: #201b3d; background: radial-gradient(circle at 83% 17%, rgba(233, 219, 255, .35), transparent 30%), #f8f5ff; }
html[data-theme="day"] .work-heading p { color: #5c5572; }
html[data-theme="day"] .work-card,
html[data-theme="day"] .work-card:first-child,
html[data-theme="day"] .work-card:last-child { color: #201b3d; background: #fff; border-color: #d8cfee; border-radius: 0; box-shadow: 7px 7px 0 rgba(116, 71, 233, .065); }
html[data-theme="day"] .work-card:first-child { background: linear-gradient(130deg, #fff, #f3edff); }
html[data-theme="day"] .work-card:last-child { background: linear-gradient(130deg, #fff, #fff1f9); }
html[data-theme="day"] .work-image { background: linear-gradient(145deg, #332450, #211a3c); border-color: #b8a8d8; }
html[data-theme="day"] .work-image::before { border-color: #b5a0dc; background: #e7dcfb; }
html[data-theme="day"] .work-card:first-child .work-image { box-shadow: 0 23px 42px rgba(59, 35, 111, .18); }
html[data-theme="day"] .work-chrome,
html[data-theme="day"] .work-status { color: #d6c7ee; }
html[data-theme="day"] .work-chrome > span:last-child { color: #c4f34a; }
html[data-theme="day"] .work-type { color: #766887; }
html[data-theme="day"] .work-type span:first-child { color: #7447e9; }
html[data-theme="day"] .work-card h3 { color: #201b3d; }
html[data-theme="day"] .work-card p { color: #5c5572; }
html[data-theme="day"] .case-breakdown { border-color: #ded5f2; }
html[data-theme="day"] .case-breakdown dt { color: #7b6796; }
html[data-theme="day"] .case-breakdown dd { color: #372b58; }
html[data-theme="day"] .partners { color: #201b3d; background: #fff; border-color: #d8cfee; border-radius: 0; box-shadow: 8px 8px 0 rgba(116, 71, 233, .08); }
html[data-theme="day"] .partners-heading .overline { color: #7447e9; }
html[data-theme="day"] .partners-heading p { color: #5c5572; }
html[data-theme="day"] .partner-grid > div.partner-card { background: #faf8ff; border-color: #ded5f2; border-radius: 0; box-shadow: none; }
html[data-theme="day"] .partner-grid > div.partner-card:hover { border-color: #7447e9; background: #fff; box-shadow: 5px 5px 0 rgba(116, 71, 233, .12); }
html[data-theme="day"] .partner-card > span { color: #685d80; }

/* A full neon-lime pause mirrors the highlight stripe on the card. */
html[data-theme="day"] .manifesto { background: #c4f34a; color: #201b3d; }
html[data-theme="day"] .manifesto::before {
  background: linear-gradient(90deg, rgba(32, 27, 61, .065) 1px, transparent 1px), linear-gradient(rgba(32, 27, 61, .065) 1px, transparent 1px), linear-gradient(112deg, #d7ff6b, #baf044);
  background-size: 48px 48px, 48px 48px, auto;
}
html[data-theme="day"] .manifesto p { color: #201b3d; text-shadow: none; }
html[data-theme="day"] .manifesto p span { color: #7447e9; }
html[data-theme="day"] .manifesto-note { color: #4f465f; }
html[data-theme="day"] .manifesto-orbit span { border-color: rgba(93, 57, 164, .3); }

/* The closing sections return to white, with a stronger plum call to action. */
html[data-theme="day"] .approach { color: #201b3d; background: #fff; }
html[data-theme="day"] .approach-lead h2 span { color: #7447e9; }
html[data-theme="day"] .approach-lead p,
html[data-theme="day"] .step p { color: #5c5572; }
html[data-theme="day"] .step { border-color: #ded5f2; }
html[data-theme="day"] .step:hover { background: #f6f1ff; }
html[data-theme="day"] .step-num,
html[data-theme="day"] .step-icon { color: #7447e9; }
html[data-theme="day"] .service-promises { border-color: #ded5f2; }
html[data-theme="day"] .service-promises span { color: #604f7b; border-color: #ded5f2; }
html[data-theme="day"] .contact { color: #201b3d; background: radial-gradient(circle at 90% 12%, rgba(235, 177, 225, .25), transparent 32%), linear-gradient(130deg, #f8f4ff, #fffafb 70%, #f7f1ff); }
html[data-theme="day"] .contact .section-meta { color: #766887; border-color: #d8cfee; }
html[data-theme="day"] .contact h2 em { color: #7447e9; }
html[data-theme="day"] .contact p { color: #5c5572; }
html[data-theme="day"] .contact-link { color: #fff; background: #201b3d; border: 1px solid #201b3d; border-radius: 0; box-shadow: 6px 6px 0 #c4f34a; }
html[data-theme="day"] .contact-link:hover { color: #201b3d; background: #c4f34a; }
html[data-theme="day"] .contact-spark { color: #e64bb1; }
html[data-theme="day"] .contact-details,
html[data-theme="day"] .contact-detail { border-color: #d8cfee; }
html[data-theme="day"] .contact-detail > span { color: #766887; }
html[data-theme="day"] .contact-detail a,
html[data-theme="day"] .contact-detail address { color: #201b3d; }
html[data-theme="day"] .contact-detail a + a { color: #685484; }
html[data-theme="day"] .contact-qr > div { background: #fff; border-color: #ded5f2; border-radius: 0; }
html[data-theme="day"] .contact-qr span { color: #604f7b; }
html[data-theme="day"] .site-footer { color: #201b3d; background: #f5f0ff; border-top: 1px solid #ded5f2; }
html[data-theme="day"] .site-footer > span,
html[data-theme="day"] .site-footer > a:not(.footer-brand),
html[data-theme="day"] .site-footer small,
html[data-theme="day"] .footer-records { color: #635a7a; }
html[data-theme="day"] .footer-records { border-color: #d8cfee; }
html[data-theme="day"] .footer-records a:hover { color: #7447e9; }

/* Subtle telemetry remains legible on paper-colored sections. */
html[data-theme="day"] .ambient-layer { --ambient-ink: rgba(116, 71, 233, .13); --ambient-glow: rgba(230, 75, 177, .12); --ambient-code: rgba(112, 82, 154, .38); }
html[data-theme="day"] .ambient-light .ambient-layer { --ambient-ink: rgba(116, 71, 233, .11); --ambient-glow: rgba(230, 75, 177, .1); --ambient-code: rgba(112, 82, 154, .34); }
html[data-theme="day"] .ambient-violet .ambient-layer { --ambient-ink: rgba(92, 54, 157, .1); --ambient-glow: rgba(230, 75, 177, .12); --ambient-code: rgba(99, 70, 140, .37); }
html[data-theme="day"] .ambient-lime .ambient-layer { --ambient-ink: rgba(54, 69, 37, .1); --ambient-glow: rgba(116, 71, 233, .11); --ambient-code: rgba(48, 61, 36, .4); }

@media (max-width: 970px) {
  html[data-theme="day"] .site-header { background: rgba(252, 251, 255, .96); }
}
@media (max-width: 760px) {
  .theme-switch { width: 36px; height: 36px; margin-left: 8px; }
  html[data-theme="day"] .hero::before { width: 100%; height: 49%; top: 50%; right: -18%; }
  html[data-theme="day"] .hero::after { inset: 70px 0 0; }
  html[data-theme="day"] .hero-art canvas { filter: drop-shadow(0 22px 30px rgba(68, 40, 139, .18)); }
}
@media (max-width: 360px) {
  .theme-switch { width: 33px; height: 33px; margin-left: 5px; }
  .theme-switch-icon { font-size: 21px; }
}
