/* ============================================================
   EXELIQ — LIGHT THEME PREVIEW ("paper + volt")
   Loaded only on light-preview pages, on top of styles.css.
   Volt stays for fills/buttons (dark text on lime is strong);
   volt-colored TEXT switches to olive ink for contrast.
   Cinematic media (orb, film, screenshots) stays in dark frames.
   ============================================================ */

.theme-light {
  --bg: #ffffff;
  --bg-2: #f6f6f8;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --line: rgba(16, 16, 20, 0.1);
  --line-strong: rgba(16, 16, 20, 0.2);
  --text: #101014;
  --muted: #4d4d56;
  --faint: #85858e;
  --volt-ink: #55761a; /* volt as readable text on paper */
}

/* grain: lighter touch on paper */
.theme-light body::before { opacity: 0.035; }

/* ---------- text accents: volt → olive ink ---------- */
.theme-light .eyebrow,
.theme-light .volt-text,
.theme-light .service-card .num,
.theme-light .auto-tile .num,
.theme-light .case-body .client,
.theme-light .step-num,
.theme-light .spec-marker,
.theme-light .reel-captions strong,
.theme-light .reel-hint,
.theme-light .case-link,
.theme-light .why-chip,
.theme-light .nav-links .nav-drop a b,
.theme-light .stat .value em {
  color: var(--volt-ink);
}
.theme-light .eyebrow::before { background: var(--volt-ink); }
.theme-light .logo .dot { color: var(--volt-ink); }
.theme-light .outline-word { -webkit-text-stroke-color: rgba(16, 16, 20, 0.45); }
.theme-light .giant-word { -webkit-text-stroke-color: rgba(16, 16, 20, 0.1); }
.theme-light ::selection { background: #101014; color: var(--volt); }

/* ---------- hero atmosphere: pale, airy ---------- */
.theme-light .hero-mesh {
  background:
    radial-gradient(45% 38% at 78% 30%, rgba(160, 200, 40, 0.12), transparent 70%),
    radial-gradient(38% 32% at 12% 82%, rgba(143, 123, 255, 0.07), transparent 70%);
}
.theme-light .hero-grid-lines {
  background-image:
    linear-gradient(rgba(16, 16, 20, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 16, 20, 0.05) 1px, transparent 1px);
}
.theme-light .hero-lede { color: #3c3c44; }
.theme-light .hero-lede::before { background: linear-gradient(180deg, var(--volt-ink), rgba(85, 118, 26, 0.15)); }
.theme-light .hero-lede strong { color: var(--text); }

/* the orb renders itself in olive ink for light mode; just soften its halo */
.theme-light .hero-visual::before {
  background: radial-gradient(circle, rgba(120, 160, 26, 0.12), transparent 62%);
}

/* ---------- nav ---------- */
.theme-light .nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: var(--line);
}
.theme-light .nav-drop {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 55px rgba(16, 16, 20, 0.18);
}
.theme-light .nav-links.open { background: rgba(255, 255, 255, 0.98); }

/* ---------- buttons: volt fill already carries dark text ---------- */
.theme-light .btn-volt {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 10px 24px -10px rgba(120, 160, 20, 0.55),
    0 2px 6px rgba(16, 16, 20, 0.15);
}
.theme-light .btn-ghost {
  background: #ffffff;
  border-color: var(--line-strong);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(16, 16, 20, 0.06);
}
.theme-light .btn-ghost .arrow { background: rgba(85, 118, 26, 0.12); color: var(--volt-ink); }
.theme-light .btn-ghost:hover { background: #f8f8fa; border-color: rgba(85, 118, 26, 0.45); }

/* ---------- marquee ---------- */
.theme-light .marquee-track span { color: #a0a0a8; }
.theme-light .marquee-track span::after { color: var(--volt-ink); }

/* ---------- cards: white paper with soft shadows ---------- */
.theme-light .service-card,
.theme-light .auto-tile,
.theme-light .why-card,
.theme-light .feature,
.theme-light .case-card,
.theme-light .form-card,
.theme-light .channel {
  box-shadow: 0 1px 2px rgba(16, 16, 20, 0.04), 0 12px 32px -18px rgba(16, 16, 20, 0.18);
}
.theme-light .service-card:hover,
.theme-light .auto-tile:hover,
.theme-light .why-card:hover {
  border-color: rgba(85, 118, 26, 0.45);
  box-shadow: 0 20px 45px -20px rgba(16, 16, 20, 0.3), 0 0 0 1px rgba(85, 118, 26, 0.1);
}
.theme-light .why-icon,
.theme-light .feature .icon,
.theme-light .channel .icon {
  background: rgba(120, 160, 26, 0.14);
  color: var(--volt-ink);
}
.theme-light .why-card:hover .why-icon { box-shadow: 0 0 20px -6px rgba(120, 160, 26, 0.55); }
.theme-light .why-card::before {
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(120, 160, 26, 0.1), transparent 70%);
}
.theme-light .ghost { -webkit-text-stroke-color: rgba(16, 16, 20, 0.08); }
.theme-light .why-card:hover .ghost { -webkit-text-stroke-color: rgba(85, 118, 26, 0.35); }
.theme-light .why-hero {
  background:
    radial-gradient(60% 80% at 85% 15%, rgba(160, 200, 40, 0.12), transparent 65%),
    #ffffff;
}
.theme-light .why-chip { border-color: rgba(85, 118, 26, 0.4); }
.theme-light .why-chip i { background: var(--volt-ink); box-shadow: 0 0 8px rgba(120, 160, 26, 0.8); }
.theme-light .grow-path i { background: linear-gradient(90deg, rgba(85, 118, 26, 0.5), rgba(85, 118, 26, 0.12)); }
.theme-light .grow-path::after { background: var(--volt-ink); box-shadow: 0 0 10px rgba(120, 160, 26, 0.8); }
.theme-light .auto-tile.cta { background: rgba(120, 160, 26, 0.1); border-color: rgba(85, 118, 26, 0.35); }
.theme-light .auto-tile.cta:hover { background: rgba(120, 160, 26, 0.16); }
.theme-light .auto-tile.live { border-color: rgba(85, 118, 26, 0.5); box-shadow: 0 0 32px -12px rgba(120, 160, 26, 0.5); }
.theme-light .auto-tile.live .num::after { color: var(--volt-ink); }

/* dark generated art reads as framed pieces on white cards */
.theme-light .card-img::after { background: linear-gradient(180deg, transparent 55%, rgba(255, 255, 255, 0.92) 100%); }
.theme-light .auto-img::after { background: linear-gradient(180deg, transparent 55%, rgba(255, 255, 255, 0.94) 100%); }
.theme-light .case-media { background: #101018; }

/* ---------- showreel: dark film in a light room ---------- */
.theme-light .reel-frame {
  border-color: rgba(16, 16, 20, 0.18);
  box-shadow: 0 40px 90px -30px rgba(16, 16, 20, 0.45);
}
.theme-light .reel-progress { background: rgba(16, 16, 20, 0.08); }

/* ---------- stats / process / footer ---------- */
.theme-light .stats-band,
.theme-light .marquee { background: var(--bg-2); }
.theme-light .process-step:hover { background: rgba(120, 160, 26, 0.06); }
.theme-light .cta-mesh { background: radial-gradient(50% 60% at 50% 100%, rgba(160, 200, 40, 0.14), transparent 70%); }
.theme-light footer { background: var(--bg-2); }
.theme-light .footer-grid a:hover { color: var(--volt-ink); }

/* ---------- chat: the ember draws itself in olive for light mode ---------- */
.theme-light .exchat-panel {
  background: #ffffff;
  border-color: var(--line-strong);
  box-shadow: 0 30px 80px rgba(16, 16, 20, 0.25);
}
.theme-light .exchat-head { background: var(--surface-2); }
.theme-light .exchat-msg.from-ai { background: var(--surface-2); border-color: var(--line); }
.theme-light .exchat-msg.from-user { background: rgba(120, 160, 26, 0.14); border-color: rgba(85, 118, 26, 0.3); }
.theme-light .exchat-dot { background: var(--volt-ink); box-shadow: 0 0 8px rgba(120, 160, 26, 0.8); }
.theme-light .exchat-head p { color: var(--faint); }
.theme-light .exchat-form { background: var(--surface-2); }
.theme-light .exchat-form input { background: #ffffff; }
.theme-light .exchat-teaser { background: #ffffff; border-color: rgba(85, 118, 26, 0.4); box-shadow: 0 14px 40px rgba(16, 16, 20, 0.18); }
.theme-light .exchat-chips button { background: #ffffff; }
.theme-light .exchat-avatar { color: #0a0d02; }

/* ---------- inner-page elements ---------- */
/* overlays that sit ON the dark film keep their dark-theme colors */
.theme-light .reel-badge { color: #f2f1ea; }
.theme-light .reel-hint { color: #cdff44; }
.theme-light .reel-badge .hud-ping { background: #cdff44; box-shadow: 0 0 10px rgba(205, 255, 68, 0.8); }

/* split media: dark art framed on paper */
.theme-light .split .media {
  box-shadow: 0 24px 55px -22px rgba(16, 16, 20, 0.4);
  border-color: rgba(16, 16, 20, 0.15);
}

/* accordion */
.theme-light .spec-head:hover { color: var(--volt-ink); }
.theme-light .spec-head:hover .spec-plus::before,
.theme-light .spec-head:hover .spec-plus::after { background: var(--volt-ink); }
.theme-light .spec-item.open .spec-plus::before { background: var(--volt-ink); }

/* checklists and tags */
.theme-light .checklist li::before { color: var(--volt-ink); }
.theme-light .tag { color: var(--muted); }

/* forms */
.theme-light .field input,
.theme-light .field select,
.theme-light .field textarea { background: #ffffff; }
.theme-light .field input:focus,
.theme-light .field select:focus,
.theme-light .field textarea:focus {
  border-color: var(--volt-ink);
  box-shadow: 0 0 0 3px rgba(120, 160, 26, 0.18);
}
.theme-light .form-status.ok { background: rgba(120, 160, 26, 0.14); color: #3f5a10; }
.theme-light .form-status.err { background: rgba(200, 60, 60, 0.1); color: #b03535; }

/* misc accents */
.theme-light .card-link .arrow { color: var(--volt-ink); }
.theme-light .hud-ping { background: var(--volt-ink); box-shadow: 0 0 8px rgba(120, 160, 26, 0.7); }
.theme-light .hud-ping::after { border-color: rgba(120, 160, 26, 0.6); }
.theme-light .exchat-teaser strong { color: var(--text); }
