/**
 * ═══════════════════════════════════════════════════════════════════════════
 * TRIGGERED! - CINEMATIC DESIGN SYSTEM
 * Agent 1: Creative Director / Visual Designer
 * ═══════════════════════════════════════════════════════════════════════════
 * 
 * Visual Language: Dark, moody, cinematic
 * Inspired by: Prestige film festival catalogs, A24 aesthetics
 * Principles: Restraint, atmosphere, emotional resonance
 */

@font-face {
  font-family: 'Soul Ozees';
  src: url('../assets/fonts/SOUL OZEES.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   COLOR PALETTE
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Primary - Deep Cinematic Blacks */
  --color-void: #000000;
  --color-obsidian: #0a0a0a;
  --color-charcoal: #141414;
  --color-slate: #1a1a1a;
  --color-ash: #242424;

  /* Secondary - Atmospheric Grays */
  --color-smoke: #3a3a3a;
  --color-mist: #6b6b6b;
  --color-silver: #9a9a9a;
  --color-cloud: #c4c4c4;
  --color-bone: #e8e8e8;

  /* Accent - Blockbuster Red (Vibrant, Urgent) */
  --color-crimson: #b00e15;
  --color-blood: #d0111a;
  --color-ember: #E50914;
  /* Netflix/WB style red */
  --color-flame: #ff1f1f;

  /* Accent - Dark Reds (Psychological/Tension) */
  --color-midnight: #1a0505;
  --color-deep-sea: #2d0a0a;
  --color-steel: #4d1515;
  --color-frost: #7a2b2b;

  /* Pure */
  --color-white: #ffffff;
  --color-off-white: #f0f0f0;

  /* Semantic Colors */
  --color-background: var(--color-void);
  --color-surface: var(--color-obsidian);
  --color-text-primary: var(--color-white);
  --color-text-secondary: var(--color-silver);
  --color-text-muted: var(--color-mist);
  --color-accent: var(--color-ember);
  --color-accent-hover: var(--color-flame);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-blur: blur(10px);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Font Families */
  --font-display: 'Soul Ozees', serif;
  --font-heading: 'Soul Ozees', sans-serif;
  --font-body: 'Soul Ozees', sans-serif;
  --font-mono: 'Soul Ozees', monospace;

  /* Font Sizes - Fluid Typography */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3rem);
  --text-5xl: clamp(3rem, 2rem + 5vw, 4.5rem);
  --text-6xl: clamp(3.75rem, 2.5rem + 6.25vw, 6rem);
  --text-hero: clamp(4rem, 3rem + 8vw, 10rem);

  /* Font Weights */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 900;

  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.15;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;

  /* Letter Spacing */
  --tracking-tighter: -0.05em;
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.15em;
  --tracking-ultra: 0.3em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SPACING SYSTEM
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Base Spacing Scale */
  --space-0: 0;
  --space-1: 0.25rem;
  /* 4px */
  --space-2: 0.5rem;
  /* 8px */
  --space-3: 0.75rem;
  /* 12px */
  --space-4: 1rem;
  /* 16px */
  --space-5: 1.25rem;
  /* 20px */
  --space-6: 1.5rem;
  /* 24px */
  --space-8: 2rem;
  /* 32px */
  --space-10: 2.5rem;
  /* 40px */
  --space-12: 3rem;
  /* 48px */
  --space-16: 4rem;
  /* 64px */
  --space-20: 5rem;
  /* 80px */
  --space-24: 6rem;
  /* 96px */
  --space-32: 8rem;
  /* 128px */
  --space-40: 10rem;
  /* 160px */
  --space-48: 12rem;
  /* 192px */
  --space-64: 16rem;
  /* 256px */

  /* Section Spacing */
  --section-gap: clamp(4rem, 8vw, 10rem);
  --container-padding: clamp(1.5rem, 5vw, 4rem);

  /* Max Widths */
  --max-w-prose: 65ch;
  --max-w-content: 1200px;
  --max-w-wide: 1400px;
  --max-w-full: 100%;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOTION & ANIMATION PRINCIPLES
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Durations - Cinematic Timing (Slower, More Deliberate) */
  --duration-instant: 0ms;
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-slower: 750ms;
  --duration-cinematic: 1000ms;
  --duration-dramatic: 1500ms;
  --duration-epic: 2000ms;

  /* Easing - Film-Inspired Curves */
  --ease-linear: linear;
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-cinematic: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-dramatic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Animation Delays for Staggered Reveals */
  --stagger-1: 0ms;
  --stagger-2: 100ms;
  --stagger-3: 200ms;
  --stagger-4: 300ms;
  --stagger-5: 400ms;
}

/* ═══════════════════════════════════════════════════════════════════════════
   EFFECTS & TREATMENTS
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Shadows - Subtle, Cinematic */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(200, 30, 30, 0.3);

  /* Film Grain Overlay */
  --grain-opacity: 0.03;

  /* Border Radius - Minimal */
  --radius-none: 0;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-full: 9999px;

  /* Overlay Gradients */
  --gradient-fade-up: linear-gradient(to top, var(--color-void), transparent);
  --gradient-fade-down: linear-gradient(to bottom, var(--color-void), transparent);
  --gradient-vignette: radial-gradient(ellipse at center, transparent 0%, var(--color-void) 100%);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Z-INDEX SCALE
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --z-behind: -1;
  --z-base: 0;
  --z-raised: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
  --z-max: 9999;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BREAKPOINTS (for reference in JS)
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --bp-sm: 640px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;
  --bp-2xl: 1536px;
}