/* ═══════════════════════════════════════════════════════════
   OMNI Distribution — Growth Engine
   Base Stylesheet: Reset, Variables, Typography, Global
   ═══════════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Core Palette */
  --obsidian:        #0A0A0F;
  --obsidian-light:  #12121A;
  --obsidian-mid:    #1A1A25;
  --obsidian-surface:#22222F;
  --cyan:            #00F0FF;
  --cyan-dim:        #00B8C5;
  --cyan-glow:       rgba(0, 240, 255, 0.15);
  --cyan-strong:     rgba(0, 240, 255, 0.35);
  --white:           #F0F0F5;
  --white-dim:       rgba(240, 240, 245, 0.6);
  --white-muted:     rgba(240, 240, 245, 0.35);
  --white-ghost:     rgba(240, 240, 245, 0.08);

  /* Service Energy Colors */
  --energy-cpm:      #00F0FF;
  --energy-theme:    #8B5CF6;
  --energy-blended:  #F59E0B;

  /* Typography */
  --font-display:    'Space Grotesk', sans-serif;
  --font-body:       'Inter', sans-serif;
  --font-mono:       'JetBrains Mono', monospace;

  /* Sizing */
  --nav-height: 72px;
  --section-pad: clamp(80px, 10vw, 140px);
  --container-max: 1280px;

  /* Transitions */
  --ease-out-expo:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart:  cubic-bezier(0.25, 1, 0.5, 1);
  --t-fast:          0.2s;
  --t-med:           0.4s;
  --t-slow:          0.7s;

  /* Z-index scale */
  --z-canvas:    1;
  --z-content:   10;
  --z-nav:       100;
  --z-cursor:    9999;
}

/* ── Reset ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  cursor: none;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--white);
  background: var(--obsidian);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover { color: var(--white); }

img, video, canvas {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: none;
  border: none;
  background: none;
  color: inherit;
}

ul, ol { list-style: none; }

/* ── Typography Scale ── */
.t-mega {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.t-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.t-h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.t-h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  line-height: 1.3;
}

.t-body {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  line-height: 1.7;
  color: var(--white-dim);
}

.t-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
}

.t-mono {
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* ── Layout Utilities ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.section {
  position: relative;
  padding: var(--section-pad) 0;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }
.gap-lg { gap: 48px; }
.gap-xl { gap: 72px; }
.text-center { text-align: center; }

/* ── Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--t-slow) var(--ease-out-expo),
              transform var(--t-slow) var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Film Grain Overlay ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--obsidian);
}
::-webkit-scrollbar-thumb {
  background: var(--obsidian-surface);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan-dim);
}

/* ── Selection ── */
::selection {
  background: var(--cyan);
  color: var(--obsidian);
}
