/* ==========================================================================
   LuisStrategIA — Creative Playground
   Design Tokens & CSS Variables
   Provisional Identity: Carbon Black, White & Cobalt Blue
   ========================================================================== */

:root {
  /* ==========================================================================
     Color Tokens
     Provisional palette: Carbon, White, Cobalt
     Defined via custom properties for future single-line palette updates.
     ========================================================================== */
  --color-bg: #101011;               /* Carbon black background */
  --color-bg-alt: #151518;           /* Slightly lighter dark background */
  --color-surface: #191a20;          /* Card & panel surface */
  --color-surface-hover: #22232c;    /* Interactive surface on hover */
  --color-surface-elevated: #1f2028; /* Modals, popovers, docks */
  --color-card-border: #2c2d38;      /* Structural borders */
  --color-line: #292932;             /* Subtle dividing lines */
  --color-line-strong: #3f4150;      /* Strong visual separators */

  /* Ink / Text */
  --color-ink: #f6f6f1;              /* Primary text (warm high-contrast white) */
  --color-ink-muted: #bcbcc6;        /* Secondary supporting text */
  --color-ink-faint: #9da0b0;        /* Captions, timestamps, badges (WCAG AA 6.5:1 on dark) */
  --color-ink-inverse: #101011;      /* Text over light elements */

  /* Cobalt Blue (Primary provisional accent) */
  --color-cobalt: #163de6;           /* Core cobalt blue */
  --color-cobalt-light: #315aff;     /* Bright cobalt for interactive states */
  --color-cobalt-dark: #0f2ab0;      /* Pressed/darker cobalt */
  --color-cobalt-text: #6ea8fe;      /* Accessible cobalt for text/links on dark (WCAG AA 8.1:1) */
  --color-cobalt-soft: rgba(49, 90, 255, 0.12); /* Subtle cobalt tinted bg */
  --color-cobalt-glow: rgba(22, 61, 230, 0.45); /* Ambient glow */

  /* Neutral Accent & Badges */
  --color-badge-doc: #163de6;        /* Documentary photo badge (cobalt) */
  --color-badge-ai: #292935;         /* AI recreation badge (neutral charcoal) */
  --color-badge-ai-text: #e0e0ea;    /* AI badge text */

  /* Interactive States */
  --color-focus: #315aff;            /* Accessible focus outline */
  --focus-ring: 3px solid var(--color-focus);
  --focus-offset: 4px;

  /* Spotlight & Ambient Cursor Coordinates */
  --cursor-x: 50%;
  --cursor-y: 35%;
  --spotlight-radius: 480px;

  /* ==========================================================================
     Typography Tokens
     Anton: High-impact display headlines (creative playground character)
     Space Grotesk: Sharp, modern, legible grotesk body & UI
     Montserrat / System: Precise italics & branding
     ========================================================================== */
  --font-display: 'Anton', Impact, 'Arial Black', sans-serif;
  --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-brand: 'Montserrat', var(--font-body);
  --font-mono: 'Space Mono', Consolas, 'Courier New', monospace;

  /* Type Scale */
  --text-micro: clamp(0.6875rem, 0.65rem + 0.2vw, 0.75rem);   /* 11-12px */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);       /* 12-13px */
  --text-sm: clamp(0.8125rem, 0.77rem + 0.3vw, 0.875rem);      /* 13-14px */
  --text-base: clamp(0.9375rem, 0.88rem + 0.35vw, 1rem);       /* 15-16px */
  --text-md: clamp(1.0625rem, 1rem + 0.4vw, 1.1875rem);        /* 17-19px */
  --text-lg: clamp(1.25rem, 1.15rem + 0.5vw, 1.375rem);        /* 20-22px */
  --text-xl: clamp(1.5rem, 1.35rem + 0.8vw, 1.75rem);          /* 24-28px */
  --text-2xl: clamp(1.875rem, 1.6rem + 1.2vw, 2.25rem);        /* 30-36px */
  --text-3xl: clamp(2.25rem, 1.9rem + 1.8vw, 3rem);            /* 36-48px */
  --text-4xl: clamp(3rem, 2.5rem + 2.5vw, 4.25rem);            /* 48-68px */
  --text-hero: clamp(3.75rem, 2.8rem + 5vw, 6.75rem);          /* 60-108px */

  /* Line Heights */
  --leading-tight: 0.96;
  --leading-snug: 1.15;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;

  /* ==========================================================================
     Spacing Scale
     ========================================================================== */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Layout Containers */
  --container-max: 1280px;
  --container-narrow: 1080px;
  --container-reading: 760px;
  --section-padding-y: clamp(56px, 6vw + 24px, 112px);
  --section-padding-x: clamp(16px, 3vw, 40px);

  /* ==========================================================================
     Borders, Shadows & Radius
     ========================================================================== */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
  --shadow-hard: 8px 8px 0 var(--color-bg);
  --shadow-hard-cobalt: 8px 8px 0 var(--color-cobalt);

  /* ==========================================================================
     Motion & Transitions
     ========================================================================== */
  --ease-spring: cubic-bezier(0.18, 0.89, 0.32, 1.28);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 0.16s ease;
  --transition-normal: 0.28s var(--ease-out);
  --transition-smooth: 0.5s var(--ease-out);
  --transition-transform: transform 0.45s var(--ease-out);
}
