/* ═══════════════════════════════════════════════════════
   VOXPHASE CINEMATIC — re-skin layer (loads after styles.css)
   Light default · dark via existing [data-theme] toggle
   ═══════════════════════════════════════════════════════ */

/* ---------- TOKENS ---------- */
:root {
  --bg: #F7F5F0;
  --bg-elev: #EFEDE6;
  --bg-card: #FFFFFF;
  --ink: #0E0C16;
  --ink-2: rgba(14,12,22,0.64);
  --muted: rgba(14,12,22,0.46);
  --line: rgba(14,12,22,0.12);
  --line-2: rgba(14,12,22,0.2);
  /* Readability: accent text is deep violet on light bg */
  --accent: #5A45E8;
  --accent-2: #C93A10;
  --accent-3: #6D3BE8;
  --glow: none;
}
[data-theme="dark"] {
  --bg: #08060F;
  --bg-elev: #100D1A;
  --bg-card: #141020;
  --ink: #F2F0EA;
  --ink-2: rgba(242,240,234,0.62);
  --muted: rgba(242,240,234,0.42);
  --line: rgba(255,255,255,0.09);
  --line-2: rgba(255,255,255,0.2);
  --accent: #9C86FF;
  --accent-2: #FF8A66;
  --accent-3: #C4B0FF;
  --glow: 0 0 60px rgba(156,134,255,0.5);
}

/* ---------- TYPE SCALE ---------- */
h1, h2, h3, h4 { font-weight: 480; }
.kicker {
  letter-spacing: 0.3em;
  font-size: 11.5px;
  color: var(--accent);
}
.kicker::before { display: none; }
.section-head h2 {
  font-size: clamp(38px, 5.5vw, 72px);
  letter-spacing: -0.035em;
  line-height: 0.98;
}

/* ---------- NAV — full-width cinematic bar ---------- */
.nav-shell {
  top: 0;
  justify-content: stretch;
}
.nav {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  width: 100%;
  max-width: 100%;
  padding: 14px clamp(20px, 4vw, 48px);
  justify-content: space-between;
}
.nav-links .nav-link { font-size: 13.5px; }
.nav-links .nav-underline { background: var(--accent); }

/* ---------- CINEMATIC HERO ---------- */
.cin-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 !important;
}
.cin-hero canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.cin-hero-veil {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, transparent 20%, color-mix(in srgb, var(--bg) 75%, transparent) 80%),
              linear-gradient(to bottom, color-mix(in srgb, var(--bg) 30%, transparent), transparent 25%, transparent 70%, var(--bg));
  pointer-events: none;
}
.cin-hero-in {
  position: relative;
  width: 100%;
  text-align: center;
  padding: 130px 0 80px;
}
.cin-kick {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 30px;
}
.cin-hero h1 {
  font-size: clamp(52px, 9.5vw, 136px);
  font-weight: 480;
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin: 0 0 30px;
}
.cin-hero h1 .serif {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.cin-hero h1 .glow {
  color: var(--accent);
  text-shadow: var(--glow);
}
.cin-hero-sub {
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 54ch;
  margin: 0 auto 40px;
}
.cin-hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Buttons — cinematic */
.btn { border-radius: 999px; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent), 0 10px 40px color-mix(in srgb, var(--accent) 30%, transparent);
}
[data-theme="dark"] .btn-primary { color: #041414; }
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--accent);
  filter: brightness(1.08);
}

/* ---------- MARQUEE ---------- */
.cin-marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  position: relative;
}
.cin-marquee-track {
  display: flex; gap: 56px;
  white-space: nowrap;
  width: max-content;
  animation: cinMarq 26s linear infinite;
}
@keyframes cinMarq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cin-marquee span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 56px;
}
.cin-marquee b { color: var(--accent); font-weight: 400; }
@media (prefers-reduced-motion: reduce) { .cin-marquee-track { animation: none; } }

/* ---------- SERVICE ROWS (editorial index) ---------- */
.svc-rows { margin-top: 48px; display: grid; }
.svc-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 38px clamp(12px, 3vw, 36px);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.svc-row:hover::before { opacity: 1; }
.svc-row > * { position: relative; }
.svc-row .idx { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.svc-row h3 {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 480;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.svc-row h3 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.svc-row p { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0; max-width: 62ch; }
.svc-row .go {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  font-size: 20px;
  transition: all 0.3s;
  color: var(--ink);
}
.svc-row:hover .go {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: rotate(-45deg);
}
[data-theme="dark"] .svc-row:hover .go { color: #041414; }
@media (max-width: 720px) {
  .svc-row { grid-template-columns: 1fr; gap: 12px; }
  .svc-row .idx, .svc-row .go { display: none; }
}

/* ---------- STATS — huge cinematic numbers ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3.5vw, 48px);
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
@media (max-width: 880px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }
.stat { border: 0 !important; padding: 0 !important; text-align: left !important; }
.stat-num, .stat .num {
  font-size: clamp(48px, 6vw, 92px) !important;
  font-weight: 460 !important;
  letter-spacing: -0.045em !important;
  line-height: 1 !important;
  font-variant-numeric: tabular-nums;
}
.stat-num .unit, .stat-num small {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
}
.stat-label {
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase;
  color: var(--muted) !important;
  margin-top: 12px !important;
}

/* ---------- PAGE HERO — cinematic ---------- */
.page-hero { padding: 150px 0 44px; }
.page-hero .kicker { color: var(--accent); }
.page-hero-title {
  font-size: clamp(44px, 7.5vw, 104px);
  font-weight: 480;
  letter-spacing: -0.04em;
  line-height: 0.94;
}
.page-hero-title .display { color: var(--accent); text-shadow: var(--glow); }
.page-hero .hero-bg-orb { opacity: 0.25; }

/* ---------- CTA STRIP — centered glow finale ---------- */
.cta-strip {
  display: block;
  text-align: center;
  background: transparent;
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: clamp(64px, 9vw, 120px) 24px;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  left: 50%; bottom: -320px;
  width: 900px; height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent) 26%, transparent), color-mix(in srgb, var(--accent) 10%, transparent) 45%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.cta-strip > * { position: relative; }
.cta-strip .kicker { color: var(--accent); }
.cta-strip h3 {
  font-size: clamp(36px, 5.5vw, 76px);
  font-weight: 480;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 10px auto 28px;
  max-width: 20ch;
  color: var(--ink);
}
.cta-strip h3 .display { color: var(--accent); text-shadow: var(--glow); }
.cta-strip-actions { justify-content: center; }
.cta-strip .btn-ghost {
  color: var(--ink);
  border-color: var(--line-2);
}
.cta-strip .btn-ghost:hover { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }

/* ---------- HOME TEASER → replaced by svc-rows (keep fallback styles) ---------- */
.teaser-grid { display: none; }

/* ---------- MISC POLISH ---------- */
.hero-bg-orb { display: none; }
.footer {
  background: transparent;
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.footer-logo { filter: none; }
[data-theme="dark"] .footer-logo { filter: brightness(1.55) saturate(1.1); }
.footer, .footer a, .footer p { color: var(--ink-2); }
.footer h5 { color: var(--ink); }
.footer-bottom {
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* Cloud dark block stays dark in both themes — fine as-is */

/* Support pillars/channels & pricing inherit tokens automatically */
