/* Design tokens — dark portfolio revamp 2.0 */
:root {
  /* Palette */
  --bg: #090d16;
  --bg-elevated: #0e1320;
  --surface: #131929;
  --surface-hover: #1a233a;
  --surface-active: #222e4c;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-accent: rgba(56, 189, 248, 0.28);
  --text: #eaf0f8;
  --text-muted: #8e9bb2;
  --accent: #38bdf8;
  --accent-hover: #60cbf9;
  --accent-muted: rgba(56, 189, 248, 0.14);
  --accent-glow: rgba(56, 189, 248, 0.32);
  --accent-gradient: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
  --success: #22c55e;
  --success-muted: rgba(34, 197, 94, 0.18);
  --data: #14b8a6;
  --data-muted: rgba(20, 184, 166, 0.15);
  --laravel: #f43f5e;
  --laravel-muted: rgba(244, 63, 94, 0.16);
  --vue: #10b981;
  --vue-muted: rgba(16, 185, 129, 0.16);
  --dotnet: #a78bfa;
  --dotnet-muted: rgba(167, 139, 250, 0.16);
  --warning: #f59e0b;
  --warning-muted: rgba(245, 158, 11, 0.16);
  --danger: #f87171;

  /* Typography */
  --font-display: "DM Sans", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.82rem + 0.25vw, 0.9375rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --text-hero: clamp(2.5rem, 1.75rem + 3.75vw, 4rem);
  --leading-tight: 1.15;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-section: clamp(4rem, 8vw, 6rem);

  /* Layout */
  --container: min(1140px, 100% - 2.5rem);
  --header-h: 4.25rem;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.38);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.48);
  --glass: rgba(14, 19, 32, 0.88);
  --glass-card: rgba(19, 25, 41, 0.75);
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.38s cubic-bezier(0.4, 0, 0.2, 1);

  /* Focus */
  --focus-ring: 0 0 0 3px var(--accent-muted);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --transition: 0.01ms;
    --transition-slow: 0.01ms;
  }
}
