/* ==========================================================================
   VARIABLES & DESIGN TOKENS
   SHIVA TIWARI - Graphic Designer Portfolio
   ========================================================================== */

:root {
  /* Color System */
  --bg-primary: #F5F4F0;       /* Editorial off-white / canvas */
  --bg-secondary: #ECEAE4;     /* Muted off-white tone */
  --bg-surface: #FFFFFF;       /* Pure white card surface */
  --text-primary: #0E0E0E;     /* Near-black high-contrast text */
  --text-secondary: #4A4945;   /* Body readable secondary */
  --text-muted: #7E7D77;       /* Small captions & metadata */
  
  /* Signature Brand Accent */
  --accent: #FF4B2B;           /* Electric Vermilion Red-Orange */
  --accent-hover: #E03E20;     /* Darker hover state */
  --accent-subtle: rgba(255, 75, 43, 0.08);
  --accent-glow: rgba(255, 75, 43, 0.25);

  /* Borders & Dividers */
  --border: rgba(14, 14, 14, 0.1);
  --border-strong: rgba(14, 14, 14, 0.22);
  --border-subtle: rgba(14, 14, 14, 0.05);

  /* Inverted / Dark Band System */
  --dark-bg: #0E0E0E;
  --dark-surface: #171716;
  --dark-surface-elevated: #222220;
  --dark-text: #F5F4F0;
  --dark-text-muted: #8E8D88;
  --dark-border: rgba(245, 244, 240, 0.12);
  --dark-border-strong: rgba(245, 244, 240, 0.25);

  /* Typography */
  --font-sans: 'Inter Tight', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* Font Scale (Clamp-driven editorial sizing) */
  --text-hero: clamp(3rem, 8.8vw, 9.2rem);
  --text-h1: clamp(2.5rem, 6vw, 5.5rem);
  --text-h2: clamp(2rem, 4.2vw, 3.8rem);
  --text-h3: clamp(1.4rem, 2.4vw, 2.2rem);
  --text-h4: clamp(1.15rem, 1.8vw, 1.5rem);
  --text-body-lg: clamp(1.125rem, 1.5vw, 1.35rem);
  --text-body: 1rem;
  --text-sm: 0.875rem;
  --text-label: 0.75rem;       /* 12px uppercase labels */

  --tracking-tight: -0.04em;
  --tracking-normal: 0em;
  --tracking-loose: 0.04em;
  --tracking-caps: 0.16em;     /* Eyebrow letter-spacing */

  --leading-none: 0.94;
  --leading-tight: 1.05;
  --leading-snug: 1.25;
  --leading-normal: 1.55;
  --leading-relaxed: 1.7;

  /* Spacing Scale */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.25rem;
  --space-2xl: 3.5rem;
  --space-3xl: 5.5rem;
  --space-4xl: 8.5rem;
  --space-5xl: 12rem;

  /* Layout */
  --container-max: 1440px;
  --gutter: clamp(1.25rem, 3.5vw, 3rem);
  --header-height: 80px;

  /* Border Radii */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Motion & Easing Curves */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;
  --duration-reveal: 1.1s;

  /* Shadows */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-elevated: 0 16px 40px rgba(0, 0, 0, 0.08);
  --shadow-dark: 0 20px 50px rgba(0, 0, 0, 0.5);

  /* Z-Index Hierarchy */
  --z-negative: -1;
  --z-normal: 1;
  --z-elevate: 10;
  --z-header: 100;
  --z-overlay: 500;
  --z-cursor: 9999;
}

