/* ============================================
   REMCO VROOM, Custom Design Tokens
   Dark-mode-first premium personal brand
   ============================================ */

:root {
  /* --- Type Scale (Fluid) --- */
  --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.9rem  + 0.5vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 0.95rem + 0.85vw, 1.5rem);
  --text-xl:   clamp(1.5rem,  1rem    + 1.5vw, 2.25rem);
  --text-2xl:  clamp(2rem,    1.2rem  + 2.5vw, 3.5rem);
  --text-3xl:  clamp(2.5rem,  1rem    + 4vw,   5rem);
  --text-hero: clamp(3rem,    0.5rem  + 7vw,   8rem);

  /* --- 4px Spacing System --- */
  --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;
  --space-32: 8rem;

  /* --- Fonts --- */
  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* --- Accent Colors (both modes) --- */
  --color-primary: #00C2CC;
  --color-primary-hover: #00D8E3;
  --color-primary-active: #008B94;
  --color-primary-highlight: rgba(0,194,204,0.12);
  --color-accent-warm: #F5A623;

  /* --- Radius --- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* --- Transitions --- */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-golden: cubic-bezier(0.16, 1, 0.3, 1);

  /* --- Content Widths --- */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;
}

/* ============================================
   LIGHT MODE
   ============================================ */
[data-theme="light"] {
  --color-bg: #F8F9FA;
  --color-surface: #FFFFFF;
  --color-surface-2: #F0F1F3;
  --color-surface-offset: #E8E9ED;
  --color-divider: #D4D5DA;
  --color-border: #C8C9CE;

  --color-text: #1A1B23;
  --color-text-muted: #5C5D6B;
  --color-text-faint: #9A9BA5;

  --shadow-sm: 0 1px 2px rgba(26,27,35,0.06);
  --shadow-md: 0 4px 12px rgba(26,27,35,0.08);
  --shadow-lg: 0 12px 32px rgba(26,27,35,0.12);
}

/* ============================================
   DARK MODE (PRIMARY / DEFAULT)
   ============================================ */
:root, [data-theme="dark"] {
  --color-bg: #0A0A0F;
  --color-surface: #1A1B23;
  --color-surface-2: #22232E;
  --color-surface-offset: #14151C;
  --color-divider: rgba(255,255,255,0.06);
  --color-border: rgba(255,255,255,0.08);

  --color-text: #F8F9FA;
  --color-text-muted: #9A9BA5;
  --color-text-faint: #5C5D6B;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.4);
}

/* ============================================
   GLASS EFFECTS
   ============================================ */
.glass {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

[data-theme="light"] .glass {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.08);
}
