:root {
  /* Brand seed: oklch(0.570 0.158 353.3) — deep rose/crimson */
  --brand-primary: oklch(0.550 0.180 353.3);
  --brand-primary-light: oklch(0.680 0.160 353.3);
  --brand-primary-dim: oklch(0.400 0.130 353.3);
  --brand-primary-muted: oklch(0.320 0.090 353.3);
  --brand-primary-ghost: oklch(0.570 0.158 353.3 / 0.06);

  /* Backgrounds — deeper, colder dark */
  --bg-deep: oklch(0.095 0.006 280);
  --bg-base: oklch(0.115 0.008 280);
  --bg-surface: oklch(0.145 0.010 280);
  --bg-elevated: oklch(0.180 0.012 280);

  /* Text */
  --ink-primary: oklch(0.960 0.003 280);
  --ink-secondary: oklch(0.720 0.008 280);
  --ink-muted: oklch(0.500 0.006 280);

  /* Borders */
  --border-subtle: oklch(0.200 0.010 280);
  --border-default: oklch(0.280 0.012 280);
  --border-glow: oklch(0.550 0.180 353.3 / 0.25);

  /* Accent — warm gold for secondary */
  --accent-gold: oklch(0.750 0.130 85);
  --accent-gold-dim: oklch(0.550 0.090 85);

  /* Functional */
  --success: oklch(0.650 0.150 145);
  --warning: oklch(0.700 0.140 80);
  --error: oklch(0.600 0.180 25);

  /* Typography scale — 1.333 ratio (perfect fourth) */
  --text-xs: clamp(0.694rem, 0.65vi + 0.5rem, 0.75rem);
  --text-sm: clamp(0.833rem, 0.8vi + 0.6rem, 0.875rem);
  --text-base: clamp(0.938rem, 0.9vi + 0.65rem, 1rem);
  --text-lg: clamp(1.063rem, 1.1vi + 0.75rem, 1.188rem);
  --text-xl: clamp(1.25rem, 1.4vi + 0.85rem, 1.375rem);
  --text-2xl: clamp(1.6rem, 2vi + 0.95rem, 2rem);
  --text-3xl: clamp(2.1rem, 2.8vi + 1.1rem, 2.75rem);
  --text-4xl: clamp(2.8rem, 3.5vi + 1.3rem, 3.5rem);
  --text-5xl: clamp(3.4rem, 4.5vi + 1.5rem, 4.5rem);

  /* Spacing */
  --space-2xs: clamp(0.125rem, 0.25vi, 0.25rem);
  --space-xs: clamp(0.25rem, 0.5vi, 0.5rem);
  --space-sm: clamp(0.5rem, 1vi, 0.75rem);
  --space-md: clamp(0.875rem, 1.5vi, 1.25rem);
  --space-lg: clamp(1.25rem, 2.5vi, 2rem);
  --space-xl: clamp(2rem, 4vi, 3rem);
  --space-2xl: clamp(3rem, 6vi, 5rem);
  --space-3xl: clamp(5rem, 10vi, 8rem);
  --space-section: clamp(5rem, 10vi, 8rem);

  /* Radius */
  --radius-xs: 0.125rem;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.75rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px oklch(0 0 0 / 0.4);
  --shadow-md: 0 4px 16px oklch(0 0 0 / 0.5);
  --shadow-lg: 0 12px 48px oklch(0 0 0 / 0.6);
  --shadow-glow: 0 0 60px oklch(0.550 0.180 353.3 / 0.15);
  --shadow-glow-strong: 0 0 80px oklch(0.550 0.180 353.3 / 0.25);
  --shadow-inner: inset 0 1px 0 oklch(1 0 0 / 0.04);

  /* Transitions */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-slower: 800ms;

  /* Z-index scale */
  --z-base: 0;
  --z-above: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal-backdrop: 300;
  --z-modal: 400;
  --z-toast: 500;
  --z-tooltip: 600;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --content-max: 65ch;
}
