/* ============================================
   Animal House KSA — Design Tokens
   Palette: Saudi lilac + white
   ============================================ */

:root {
  /* ---- Color: Lilac scale ---- */
  --lilac-50:  #FBF9FD;
  --lilac-100: #F3EEF8;
  --lilac-200: #E6DCF0;
  --lilac-300: #D2C0E3;
  --lilac-400: #B79CD1;
  --lilac-500: #9B7EBD;
  --lilac-600: #815FA3;
  --lilac-700: #654880;
  --lilac-800: #4A345E;
  --lilac-900: #2F2140;

  /* ---- Core surfaces ---- */
  --color-bg: #FFFFFF;
  --color-surface: #FFFFFF;
  --color-surface-offset: var(--lilac-50);
  --color-surface-2: var(--lilac-100);
  --color-surface-dynamic: var(--lilac-100);

  /* ---- Text ---- */
  --color-text: var(--lilac-900);
  --color-text-muted: #6E6178;
  --color-text-faint: #9A8FA4;
  --color-text-on-primary: #FFFFFF;

  /* ---- Brand / accent ---- */
  --color-primary: var(--lilac-600);
  --color-primary-hover: var(--lilac-700);
  --color-primary-light: var(--lilac-300);
  --color-accent: var(--lilac-500);

  /* ---- Semantic ---- */
  --color-error: #B3455A;
  --color-success: #4A7C59;
  --color-border: oklch(from var(--lilac-900) l c h / 0.12);
  --color-border-strong: oklch(from var(--lilac-900) l c h / 0.24);

  /* ---- Shadows (warm-lilac tinted) ---- */
  --shadow-sm: 0 1px 2px oklch(0.32 0.06 300 / 0.08), 0 2px 6px oklch(0.32 0.06 300 / 0.04);
  --shadow-md: 0 4px 12px oklch(0.32 0.06 300 / 0.10), 0 8px 24px oklch(0.32 0.06 300 / 0.06);
  --shadow-lg: 0 8px 24px oklch(0.32 0.06 300 / 0.14), 0 20px 48px oklch(0.32 0.06 300 / 0.10);

  /* ---- Radius ---- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-full: 999px;

  /* ---- Spacing (4px base) ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ---- Type scale ---- */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: clamp(2.25rem, 3.6vw, 3rem);
  --text-hero: clamp(2.75rem, 6vw, 5rem);

  /* ---- Fonts ---- */
  --font-display: 'Fraunces', 'Cormorant Garamond', serif;
  --font-body: 'General Sans', 'Work Sans', system-ui, -apple-system, sans-serif;

  /* ---- Content widths ---- */
  --content-narrow: 640px;
  --content-default: 1080px;
  --content-wide: 1320px;
  --content-full: 100%;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
