/* Art direction: personal cloud engineer portfolio → sober premium consulting
   Palette: neutral warm surfaces + teal accent for trust and technical clarity
   Typography: Cabinet Grotesk + General Sans for structured, modern professionalism
   Density: balanced, spacious enough to feel premium but still operational */

:root,
[data-theme="light"] {
  --font-display: 'Cabinet Grotesk', 'Inter', sans-serif;
  --font-body: 'General Sans', 'Inter', sans-serif;

  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  --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-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --color-bg: #f7f6f2;
  --color-surface: #f9f8f5;
  --color-surface-2: #fbfbf9;
  --color-surface-offset: #eceae4;
  --color-border: #d4d1ca;
  --color-divider: #ddd9d2;
  --color-text: #22282a;
  --color-text-muted: #657175;
  --color-text-faint: #98a3a7;
  --color-text-inverse: #f9f8f4;
  --color-primary: #0a6b74;
  --color-primary-hover: #094f56;
  --color-primary-highlight: #d7e6e8;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);

  --content-default: 1180px;
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --color-bg: #121516;
  --color-surface: #171b1c;
  --color-surface-2: #1d2223;
  --color-surface-offset: #242a2c;
  --color-border: #31393b;
  --color-divider: #2a3032;
  --color-text: #edf0ee;
  --color-text-muted: #a1acad;
  --color-text-faint: #6e797a;
  --color-text-inverse: #152022;
  --color-primary: #63aab3;
  --color-primary-hover: #7cbfc7;
  --color-primary-highlight: #213236;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
}
