/* variables.css — Design tokens */

:root {
  /* Color System — Dark Theme */
  --color-bg-primary: #0a0a0a;
  --color-bg-secondary: #141414;
  --color-bg-elevated: #1c1c1c;
  
  --color-text-primary: #f5f5f5;
  --color-text-secondary: #a8a8a8;
  --color-text-tertiary: #6b6b6b;
  
  --color-accent-crimson: #DC143C;
  --color-accent-purple: #9B59B6;
  
  --color-border: #2a2a2a;
  
  /* Character Accents */
  --color-nyx: #E8720C;
  --color-vespera: #7B2D8E;
  --color-lilith-cyan: #00D4FF;
  --color-lilith-magenta: #FF00FF;
  --color-morrin: #39FF14;
  --color-seraphine: #4A6FA5;
  
  /* Typography Scale — Fluid (Perfect Fourth 1.333) */
  --font-display: 'Italiana', serif;
  --font-body: 'Inter', sans-serif;
  
  --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.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-2xl: clamp(2rem, 1.6rem + 2vw, 3rem);
  --text-3xl: clamp(3rem, 2.2rem + 4vw, 5rem);
  --text-hero: clamp(4rem, 3rem + 5vw, 8rem);
  
  /* Spacing — 8px base grid */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-16: 128px;
  --space-20: 160px;
  
  /* Section Padding — Fluid */
  --section-padding: clamp(4rem, 8vw, 10rem);
  --section-padding-sm: clamp(2rem, 4vw, 5rem);
  
  /* Layout */
  --container-max: 1200px;
  --container-narrow: 720px;
  --container-wide: 1440px;
  --container-padding: clamp(1rem, 4vw, 3rem);
  
  /* Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.7);
  --shadow-glow-crimson: 0 0 24px rgba(220, 20, 60, 0.4);
  --shadow-glow-purple: 0 0 24px rgba(155, 89, 182, 0.4);
  
  /* Transitions */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 0.2s;
  --duration-base: 0.4s;
}

/* Breakpoints (for JS) */
@custom-media --small (min-width: 480px);
@custom-media --tablet (min-width: 768px);
@custom-media --desktop (min-width: 1024px);
@custom-media --wide (min-width: 1440px);
