/* ==========================================================================
   Design Tokens — doderlein.com
   Derived from current brand: dark theme, D-DIN Exp + Barlow fonts
   ========================================================================== */

:root {
  /* Colors */
  --color-primary: #030201;
  --color-secondary: #f7f8f2;
  --color-tertiary: rgba(247, 248, 242, 0.5);
  --color-accent: #c9a84c;
  --color-accent-hover: #d4b85e;
  --color-surface: #0d0d12;
  --color-surface-elevated: #1a1a22;
  --color-surface-border: rgba(247, 248, 242, 0.08);
  --color-text-primary: #f7f8f2;
  --color-text-secondary: rgba(247, 248, 242, 0.65);
  --color-text-muted: rgba(247, 248, 242, 0.4);
  --color-success: #4caf50;
  --color-error: #e63b2e;

  /* Typography */
  --font-heading: 'D-DIN Exp', 'Inter', system-ui, sans-serif;
  --font-body: 'Barlow', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Font sizes — fluid scale */
  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem);
  --text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  --text-xl: clamp(1.4rem, 1.2rem + 1vw, 2rem);
  --text-2xl: clamp(1.8rem, 1.4rem + 2vw, 3rem);
  --text-3xl: clamp(2.2rem, 1.6rem + 3vw, 4rem);
  --text-display: clamp(2.8rem, 2rem + 4vw, 5.5rem);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 10rem;

  /* Layout */
  --content-width: 900px;
  --content-wide: 1200px;
  --nav-height: 72px;

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

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(201, 168, 76, 0.15);
}
