/* site.css — Smash marketing site chrome. Layers on top of ../../colors_and_type.css */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-0);
  color: var(--fg-1);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- web type scale (clamp, fluid) ---------- */
.eyebrow {
  font-family: var(--font-body); font-weight: 700; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--volt);
}
.display {
  font-family: var(--font-display); font-weight: 900; font-style: italic;
  font-size: clamp(40px, 8.5vw, 92px); line-height: .95; letter-spacing: -.02em;
  text-transform: uppercase;
}
.h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 5vw, 54px); line-height: 1; letter-spacing: -.01em; }
.h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3.4vw, 38px); line-height: 1.05; letter-spacing: -.01em; }
.lead { font-size: clamp(16px, 1.7vw, 20px); line-height: 1.55; color: var(--fg-2); }
.body { font-size: 16px; line-height: 1.6; color: var(--fg-2); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 15px 26px; border-radius: var(--r-md); border: none;
  transition: transform .14s var(--ease-snap), filter .14s, background .14s, border-color .14s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); filter: brightness(.93); }
.btn-primary { background: var(--volt); color: var(--fg-on-volt); box-shadow: var(--glow-volt); }
.btn-primary:hover { background: var(--volt-bright); }
.btn-ghost { background: transparent; color: var(--fg-1); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--line-3); background: var(--bg-2); }
.btn-lg { padding: 18px 32px; font-size: 16px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px) saturate(160%);
  background: color-mix(in oklab, var(--bg-0) 80%, transparent);
  border-bottom: 1px solid var(--line-1);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: 24px; color: var(--volt); letter-spacing: -.5px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a.link { font-weight: 600; font-size: 15px; color: var(--fg-2); transition: color .14s; white-space: nowrap; }
.nav a.link:hover { color: var(--fg-1); }
.nav a.link.active { color: var(--fg-1); }
.header-cta { display: flex; align-items: center; gap: 14px; }

/* ---------- theme switch (light / dark choice) ---------- */
.theme-switch { display: inline-flex; align-items: center; gap: 2px; flex-shrink: 0;
  padding: 3px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--bg-2); }
.ts-opt { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border: none; background: transparent; border-radius: var(--r-pill); color: var(--fg-3); cursor: pointer;
  transition: background .15s, color .15s; }
.ts-opt i, .ts-opt svg { width: 16px; height: 16px; }
.ts-opt:hover { color: var(--fg-1); }
/* highlight the active option */
[data-theme="dark"] .ts-opt[data-theme-set="dark"],
:root:not([data-theme="light"]) .ts-opt[data-theme-set="dark"] { background: var(--volt); color: var(--fg-on-volt); }
[data-theme="light"] .ts-opt[data-theme-set="light"] { background: var(--volt); color: var(--fg-on-volt); }
.theme-switch-mob { display: none; margin-left: auto; margin-right: 8px; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.center { text-align: center; }
.divider { height: 1px; background: var(--line-1); border: 0; margin: 0; }

/* ---------- cards ---------- */
.card {
  background: var(--bg-2); border: 1px solid var(--line-1);
  border-radius: var(--r-lg); padding: 26px;
}
.card-volt { border-color: transparent; box-shadow: inset 0 0 0 1px var(--volt-wash); background: linear-gradient(180deg, var(--volt-wash), transparent), var(--bg-2); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-1); padding: 56px 0 40px; background: var(--bg-1); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 6px; font-weight: 700; }
.footer-col a { font-size: 14.5px; color: var(--fg-2); }
.footer-col a:hover { color: var(--fg-1); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-1); color: var(--fg-3); font-size: 13px; }

/* ---------- splash screen ---------- */
.splash {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg-0); display: flex; align-items: center; justify-content: center;
  transition: opacity .4s var(--ease-out) .15s;
  pointer-events: all;
}
@keyframes splash-pop { 0% { transform: scale(.92); } 100% { transform: scale(1); } }
.splash svg {
  width: 120px; height: 120px;
  animation: splash-pop .45s var(--ease-snap);
  transition: transform .8s var(--ease-in-out), opacity .3s var(--ease-out);
  will-change: transform, opacity;
}
.splash.out { opacity: 0; pointer-events: none; }
body.is-loading { overflow: hidden; }
.brand {
  opacity: 0; clip-path: inset(0 100% 0 0);
  transition: opacity .25s var(--ease-out), clip-path .55s var(--ease-out);
}
body.splash-done .brand { opacity: 1; clip-path: inset(0 0 0 0); }

/* ---------- hero sequenced entrance ---------- */
.hero-seq {
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  transition-delay: var(--seq-delay, 0ms);
}
body.splash-done .hero-seq { opacity: 1; transform: none; }
.hero-line { display: block; }

/* ---------- map zone entrance ---------- */
.zone-anim {
  opacity: 0; transform: scale(0.5);
  transition: opacity .5s var(--ease-snap), transform .5s var(--ease-snap);
  transition-delay: var(--zone-delay, 0ms);
}
body.splash-done .zone-anim { opacity: 1; transform: scale(1); }

.float-anim {
  opacity: 0; transform: translateY(40px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  transition-delay: var(--float-delay, 1200ms);
}
body.splash-done .float-anim { opacity: 1; transform: none; }

/* ---------- reveal-on-load / scroll ---------- */
.reveal {
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.pre { opacity: 0; transform: translateY(24px); }
.reveal-card.pre { opacity: 0; transform: translateY(40px) scale(0.95); }

/* ---------- signature line reveal ---------- */
.sig-line {
  display: block; opacity: 0; transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  transition-delay: var(--sig-delay, 0ms);
}
.sig-line.visible { opacity: 1; transform: none; }

/* ---------- step line extension ---------- */
.step { border-top: none !important; position: relative; }
.step::after {
  content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 0;
  background: var(--volt-dim);
  transition: width .7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.step.revealed::after { width: 100%; }

/* ---------- pillar icon bounce ---------- */
.pillar i[data-lucide], .pillar svg {
  transform: scale(0);
  transition: transform .5s var(--ease-snap);
  transition-delay: calc(var(--reveal-delay, 0ms) + 350ms);
}
.pillar.revealed i[data-lucide], .pillar.revealed svg { transform: scale(1); }

/* ---------- card hover ---------- */
.card {
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-3);
  border-color: var(--line-2);
}

/* ---------- zone contested pulse ---------- */
@keyframes zone-pulse {
  0%, 100% { border-color: var(--team-blue); opacity: 1; }
  50% { border-color: var(--contest); opacity: .7; }
}
.zone-contested { animation: zone-pulse 2.8s var(--ease-in-out) infinite; }

/* ---------- gauge bar animation ---------- */
.gauge > span { transition: width 1s var(--ease-out); }
.gauge.gauge-pre > span { width: 0 !important; }

/* ---------- button glow pulse ---------- */
@keyframes btn-glow {
  0%, 100% { box-shadow: var(--glow-volt); }
  50% { box-shadow: 0 0 0 1px rgba(198,255,61,.5), 0 8px 32px rgba(198,255,61,.32); }
}
.btn-primary:hover {
  animation: btn-glow 1.6s var(--ease-in-out) infinite;
}

/* ---------- waitlist input focus ---------- */
.waitlist input {
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

/* ---------- partner marquee ---------- */
.partners {
  padding: clamp(40px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--line-1);
  overflow: hidden;
}
.partners .eyebrow { margin-bottom: 28px; display: block; }
.marquee {
  position: relative; width: 100%; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex; gap: 56px; width: max-content;
  animation: marquee-scroll 32s linear infinite;
}
.marquee-logo {
  flex-shrink: 0; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(16px, 2vw, 22px); letter-spacing: .04em;
  text-transform: uppercase; color: var(--fg-4); white-space: nowrap;
  padding: 12px 0; transition: color var(--dur) var(--ease-out);
}
.marquee-logo:hover { color: var(--fg-2); }
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- mobile menu ---------- */
.mobile-menu {
  display: none; background: none; border: none; color: var(--fg-1); cursor: pointer; padding: 8px;
}
.mobile-menu i { width: 24px; height: 24px; }
.mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  position: fixed; top: 70px; left: 0; right: 0; z-index: 99;
  background: var(--bg-1); border-bottom: 1px solid var(--line-1);
  padding: 16px 24px 20px;
  transform: translateY(-10px); opacity: 0;
  transition: transform .2s var(--ease-out), opacity .2s var(--ease-out);
  pointer-events: none;
}
.mobile-nav.open { display: flex; transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav a { font-weight: 600; font-size: 16px; color: var(--fg-2); padding: 10px 0; }
.mobile-nav a:hover { color: var(--fg-1); }

@media (max-width: 860px) {
  .nav .link { display: none; }
  .mobile-menu { display: block; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .theme-switch-mob { display: inline-flex; }
  .container { padding: 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .splash { display: none; }
  .brand { opacity: 1; clip-path: none; }
  .splash svg { animation: none; }
  .hero-seq { opacity: 1; transform: none; transition: none; }
  .zone-anim { opacity: 1; transform: none; transition: none; }
  .float-anim { opacity: 1; transform: none; transition: none; }
  .sig-line { opacity: 1; transform: none; transition: none; }
  .reveal { transition: none; }
  .reveal.pre, .reveal-card.pre { opacity: 1; transform: none; }
  .step::after { width: 100%; transition: none; }
  .pillar i[data-lucide], .pillar svg { transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .zone-contested { animation: none; }
  .marquee-track { animation: none; }
  .btn-primary:hover { animation: none; }
  .card:hover { transform: none; }
  .gauge > span { transition: none; }
  .gauge.gauge-pre > span { width: unset !important; }
}
