/* ========================================
   Design Tokens - Blanq Premium Portfolio
   ======================================== */

:root {
  /* Color Palette - Unusually Reference Match */
  --bg-primary: #0A0A0A;
  --bg-secondary: #111111;
  --bg-elevated: #141414;
  --text-primary: #FFFFFF;
  --text-secondary: #CCCCCC;
  --accent: #FF6B35;
  --accent-glow: rgba(255, 107, 53, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  
  /* Typography - Exact Design System */
  --font-headline: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Font Sizes - Design System Specs */
  --fs-nav: 0.85rem;
  --fs-body: 1rem;
  --fs-h1: clamp(4rem, 8vw, 8rem);
  --fs-h2: clamp(2rem, 4vw, 4rem);
  --fs-h3: clamp(1.5rem, 3vw, 2.5rem);
  --fs-display: clamp(6rem, 12vw, 10rem);
  
  /* Font Weights */
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --fw-extrabold: 800;
  
  /* Line Heights */
  --lh-tight: 1.2;
  --lh-normal: 1.5;
  --lh-relaxed: 1.7;
  
  /* Letter Spacing */
  --ls-tight: -0.03em;
  --ls-normal: 0;
  --ls-wide: 0.05em;
  --ls-wider: 0.1em;
  
  /* Spacing - Design System */
  --space-1: 0.5rem;    /* 8px */
  --space-2: 1rem;      /* 16px */
  --space-3: 1.5rem;    /* 24px */
  --space-4: 2rem;      /* 32px */
  --space-5: 2.5rem;    /* 40px */
  --space-6: 3rem;      /* 48px */
  --space-8: 4rem;      /* 64px */
  --space-10: 5rem;     /* 80px */
  --space-12: 6rem;     /* 96px */
  --space-16: 8rem;     /* 128px */
  --space-20: 10rem;    /* 160px */
  
  /* Section Padding - Unusually Reference Specs */
  --section-padding-y: 120px;  /* Desktop */
  --section-padding-y-mobile: 60px;  /* Mobile */
  --section-padding-x: 40px;   /* 40px horizontal padding */
  --container-max-width: 1400px;
  --grid-gap: 24px;
  --grid-gap-large: 48px;
  
  /* Border Radius */
  --radius-card: 16px;
  --radius-button: 999px;
  --radius-image: 12px;
  
  /* Container Max Widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;
  --container-2xl: 1440px;
  
  /* Border Radius */
  --radius-sm: 0.25rem;   /* 4px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px var(--accent-glow);
  
  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
  --z-overlay: 500;
  --z-cursor: 600;
  
  /* Breakpoints (for JS/media queries) */
  --bp-mobile: 768px;
  --bp-tablet: 1200px;
  --bp-desktop: 1600px;
}

/* Reduced Motion Overrides */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0.01ms;
    --transition-base: 0.01ms;
    --transition-slow: 0.01ms;
    --transition-smooth: 0.01ms;
  }
}
