/* ============================================
   Design Tokens
   ============================================ */
:root {
  /* Colors — Light Theme (default) */
  --bg-primary: #ffffff;
  --bg-secondary: #f4f4f5;
  --bg-elevated: #e4e4e7;
  --bg-surface: #fafafa;

  --text-primary: #09090b;
  --text-secondary: #52525b;
  --text-muted: #a1a1aa;

  --accent: #0d9488;
  --accent-hover: #0f766e;
  --accent-soft: rgba(13, 148, 136, 0.1);
  --accent-glow: rgba(13, 148, 136, 0.12);
  --accent-gradient: linear-gradient(135deg, #0d9488, #0f766e);

  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.16);

  --nav-bg: rgba(255, 255, 255, 0.85);
  --nav-bar-bg: rgba(244, 244, 245, 0.8);
  --overlay-hover: rgba(0, 0, 0, 0.05);
  --overlay-active: rgba(0, 0, 0, 0.08);
  --overlay-subtle: rgba(0, 0, 0, 0.03);
  --track-bg: rgba(0, 0, 0, 0.08);
  --photo-border: rgba(0, 0, 0, 0.1);
  --dot-grid: rgba(0, 0, 0, 0.04);
  --hero-name-start: #09090b;
  --icon-invert: brightness(0);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --section-gap: 100px;
  --container-max: 1080px;
  --container-pad: 24px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 100px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 24px var(--accent-glow);

  /* Motion */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-fast: 150ms;
  --t-base: 250ms;
  --t-slow: 500ms;
}

/* Dark Theme */
:root.dark {
  --bg-primary: #09090b;
  --bg-secondary: #141417;
  --bg-elevated: #1c1c21;
  --bg-surface: #18181b;

  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;

  --accent: #14b8a6;
  --accent-hover: #0d9488;
  --accent-soft: rgba(20, 184, 166, 0.12);
  --accent-glow: rgba(20, 184, 166, 0.15);
  --accent-gradient: linear-gradient(135deg, #14b8a6, #0d9488);

  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);

  --nav-bg: rgba(9, 9, 11, 0.85);
  --nav-bar-bg: rgba(20, 20, 23, 0.75);
  --overlay-hover: rgba(255, 255, 255, 0.06);
  --overlay-active: rgba(255, 255, 255, 0.1);
  --overlay-subtle: rgba(255, 255, 255, 0.04);
  --track-bg: rgba(255, 255, 255, 0.06);
  --photo-border: rgba(255, 255, 255, 0.08);
  --dot-grid: rgba(255, 255, 255, 0.03);
  --hero-name-start: #fff;
  --icon-invert: brightness(0) invert(1);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 24px var(--accent-glow);
}
