/* ============================================
   ELEVATED THOUGHTS — Design Tokens
   All CSS custom properties. Single source of truth.
   ============================================ */

:root {
  /* --- Backgrounds --- */
  --bg-void: #000000;
  --bg-deep: #0A0A0A;
  --bg-surface: #161617;
  --bg-elevated: #1C1C1E;
  --bg-glass: rgba(22, 22, 23, 0.7);

  /* --- Text --- */
  --text-primary: rgba(255, 255, 255, 0.92);
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.40);
  --text-inverse: #0A0A0A;

  /* --- Accent (Cooper's orange) --- */
  --accent: #D97B00;
  --accent-hover: #F08C00;
  --accent-light: #FFB347;
  --accent-glow: rgba(217, 123, 0, 0.19);
  --accent-glow-strong: rgba(217, 123, 0, 0.34);
  --accent-subtle: rgba(217, 123, 0, 0.08);
  --accent-gradient: linear-gradient(135deg, #D97B00 0%, #FFB347 50%, #D97B00 100%);

  /* --- Borders --- */
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --border-accent: rgba(217, 123, 0, 0.3);

  /* --- Typography --- */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Fluid type scale — BOLD, monumental sizing */
  --text-xs: clamp(0.625rem, 0.6rem + 0.15vw, 0.75rem);
  --text-sm: clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem);
  --text-base: clamp(0.875rem, 0.8rem + 0.3vw, 1.0625rem);
  --text-lg: clamp(1.0625rem, 0.95rem + 0.5vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.7vw, 1.75rem);
  --text-2xl: clamp(1.75rem, 1.4rem + 1.5vw, 3rem);
  --text-3xl: clamp(2.5rem, 1.8rem + 3vw, 4.5rem);
  --text-hero: clamp(3.5rem, 2rem + 6vw, 8rem);
  --text-display: clamp(5rem, 3rem + 8vw, 12rem);

  /* Font weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Letter spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.02em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;

  /* Line heights */
  --leading-none: 1;
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* --- Spacing --- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* --- Layout --- */
  --container-max: 1200px;
  --container-narrow: 720px;
  --container-wide: 1400px;
  --nav-height: 4rem;
  --gutter: clamp(1rem, 0.5rem + 2vw, 2.5rem);

  /* --- Radius --- */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* --- Transitions --- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 500ms;
  --duration-slower: 800ms;

  /* --- Shadows --- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 24px var(--accent-glow);
  --shadow-glow-lg: 0 0 48px var(--accent-glow);

  /* --- Z-index --- */
  --z-base: 0;
  --z-above: 10;
  --z-nav: 100;
  --z-overlay: 150;
  --z-modal: 200;
  --z-toast: 300;
}
