:root {
  color-scheme: dark;

  --color-bg: #0d1014;
  --color-bg-deep: #080a0d;
  --color-bg-soft: #111419;
  --color-surface: #171a1f;
  --color-surface-raised: #1d2025;
  --color-surface-muted: #14171b;
  --color-border: rgba(255, 255, 255, 0.11);
  --color-border-strong: rgba(255, 255, 255, 0.18);

  --color-text: #f5f2ed;
  --color-text-soft: #d7d3cd;
  --color-text-muted: #9d9b98;
  --color-text-dim: #929499;

  --color-brand: #d6a05c;
  --color-brand-light: #efc27d;
  --color-brand-dark: #8f5d31;
  --color-games: #d6a458;
  --color-projects: #78b75b;
  --color-programs: #6798cf;
  --color-violet: #a779c9;
  --color-error: #ff8c86;
  --color-success: #83cf8c;

  --font-body: "Segoe UI Variable Text", "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: clamp(1.2rem, 1.6vw, 1.35rem);
  --text-2xl: clamp(1.5rem, 2.2vw, 2rem);
  --text-3xl: clamp(2rem, 3.5vw, 3.25rem);
  --text-hero: clamp(2.8rem, 6.1vw, 5.7rem);

  --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-14: 3.5rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-28: 7rem;
  --space-32: 8rem;

  --radius-sm: 0.7rem;
  --radius-md: 1rem;
  --radius-lg: 1.4rem;
  --radius-xl: 2rem;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.32);
  --shadow-card: 0 24px 80px rgba(0, 0, 0, 0.38);
  --shadow-focus: 0 0 0 3px rgba(239, 194, 125, 0.35);

  --container: 90rem;
  --container-narrow: 72rem;
  --page-gutter: clamp(1rem, 3vw, 2.25rem);
  --header-height: 5rem;

  --transition-fast: 150ms ease;
  --transition-base: 260ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 650ms cubic-bezier(0.22, 1, 0.36, 1);

  --z-header: 50;
  --z-overlay: 40;
  --z-progress: 70;
}
