/* ===== NotPeople × CHRONA deck — tokens ===== */
:root {
  /* Brand purples (CHRONA) */
  --lav-50:  #F4EEFF;
  --lav-100: #E8DCF7;
  --lav-200: #D6C2F0;
  --lav-300: #C0A6EC;
  --lav-400: #A98CE0;
  --lav-500: #8E6DD8;

  /* Perception blue (eye-of-god) */
  --blue-400: #5C8BFF;
  --blue-500: #2F6BFF;
  --blue-600: #1E4DE0;

  /* Ink */
  --ink-950: #0A0812;
  --ink-900: #120F1C;
  --ink-800: #1A1626;
  --ink-700: #262138;
  --ink-400: #9A92B2;
  --ink-300: #C9C2DC;
  --ink-200: #E4DFEE;
  --paper:   #F7F3FF;
  --white:   #FFFFFF;

  /* Accents */
  --warm:    #F4C9A3;   /* from chrona icon 1 warm hint */
  --mint:    #B8E3CE;   /* complementary accent, used sparingly */

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #000;
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  color: var(--ink-200);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

deck-stage > section {
  width: 1920px;
  height: 1080px;
  position: relative;
  overflow: hidden;
}

/* ===== Reusable surfaces ===== */
.sl-dark {
  background: radial-gradient(ellipse at 50% 45%, #1a1530 0%, #0A0812 55%, #000 100%);
  color: var(--ink-200);
}
.sl-paper {
  background:
    linear-gradient(180deg, #F7F3FF 0%, #EEE6FD 100%);
  color: var(--ink-950);
}
.sl-lav {
  background:
    radial-gradient(ellipse 60% 60% at 70% 30%, rgba(255,255,255,0.8), transparent 70%),
    radial-gradient(ellipse 70% 70% at 20% 80%, rgba(201, 169, 245, 0.8), transparent 70%),
    linear-gradient(180deg, #E7DCFB 0%, #D6C2F0 100%);
  color: var(--ink-950);
}

/* Vertical scanline texture (from CHRONA lenticular feel) */
.scanlines::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.00) 0px,
    rgba(255,255,255,0.00) 2px,
    rgba(255,255,255,0.04) 2px,
    rgba(255,255,255,0.04) 3px
  );
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 1;
}
.sl-paper.scanlines::before,
.sl-lav.scanlines::before {
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.00) 0px,
    rgba(255,255,255,0.00) 3px,
    rgba(255,255,255,0.35) 3px,
    rgba(255,255,255,0.35) 4px
  );
  mix-blend-mode: soft-light;
  opacity: 0.7;
}

/* Grain */
.grain::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.7  0 0 0 0 0.7  0 0 0 0 0.9  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.35;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 2;
}

/* ===== Type ===== */
.display {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
}
.mono {
  font-family: 'JetBrains Mono', 'Geist Mono', ui-monospace, monospace;
  letter-spacing: 0;
}
.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 20px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.7;
}
.eyebrow .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lav-300);
  margin-right: 16px;
  vertical-align: middle;
  box-shadow: 0 0 12px var(--lav-300);
}

/* ===== Layout helpers ===== */
.slide-pad { padding: 64px 120px; position: relative; z-index: 3; height: 100%; }

.slide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
}

.logo-wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  letter-spacing: 0.32em;
  font-size: 22px;
}
.logo-wordmark .eye {
  display: inline-block;
  vertical-align: middle;
  margin: 0 2px;
  transform: translateY(-1px);
}

.slide-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  letter-spacing: 0.2em;
  opacity: 0.5;
}

.rule {
  height: 1px;
  background: currentColor;
  opacity: 0.12;
  width: 100%;
}

/* ===== Cards ===== */
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
}
.card-paper {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(10,8,18,0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
}

/* Stat block */
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

/* Chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.04em;
  background: rgba(255,255,255,0.03);
}
.chip-paper {
  border: 1px solid rgba(10,8,18,0.12);
  background: rgba(255,255,255,0.5);
  color: var(--ink-900);
}

/* Utility: glow */
.glow-lav { box-shadow: 0 0 80px rgba(192, 166, 236, 0.35); }
.glow-blue { box-shadow: 0 0 80px rgba(92, 139, 255, 0.35); }

/* ===== Animations ===== */
@keyframes pulse-soft {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes spin-rev {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
@keyframes scan {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
@keyframes blink {
  0%, 94%, 100% { transform: scaleY(1); }
  97% { transform: scaleY(0.05); }
}
@keyframes ticker-v {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@keyframes dashmove {
  to { stroke-dashoffset: -40; }
}
@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

/* Noise overlay for deep dark */
.noise-dark {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.4  0 0 0 0 0.45  0 0 0 0 0.7  0 0 0 0.3 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.4; mix-blend-mode: screen; pointer-events: none; z-index: 2;
}

/* Custom scrollbar kill for embeds */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }
