:root {
  /* Colors - The Sacred Library Palette */
  --ink: #18120b;
  --ink-light: #2b2319;
  --parchment: #f9f6f0;
  --parchment-mid: #efe9dc;
  --parchment-card: #ffffff;
  --gold: #b38b2d;
  --gold-light: #d6a743;
  --gold-tint: rgba(179, 139, 45, 0.12);
  --gold-border: rgba(179, 139, 45, 0.28);
  --emerald: #143328;
  --emerald-mid: #1d4638;
  --emerald-light: #2c6351;
  --emerald-tint: rgba(20, 51, 40, 0.06);
  --muted: #6e6456;
  --muted-light: #9c9181;
  --border-subtle: rgba(24, 18, 11, 0.08);
  --border-gold: rgba(179, 139, 45, 0.35);
  --surface: #ffffff;
  --destructive: #942b2b;
  --success: #1f633d;

  /* Typography */
  --font-serif: 'Amiri', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Amiri', serif;

  /* Fluid Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.825rem);
  --text-sm: clamp(0.85rem, 0.8rem + 0.25vw, 0.925rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem);
  --text-md: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
  --text-lg: clamp(1.35rem, 1.2rem + 0.8vw, 1.65rem);
  --text-xl: clamp(1.75rem, 1.5rem + 1.2vw, 2.25rem);
  --text-2xl: clamp(2.25rem, 1.8rem + 2vw, 3.25rem);
  --text-display: clamp(2.8rem, 2.2rem + 3.2vw, 4.75rem);

  /* Spacing Scale */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  --space-24: 6rem;    /* 96px */
  --space-32: 8rem;    /* 128px */

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(24, 18, 11, 0.04);
  --shadow-md: 0 8px 24px rgba(24, 18, 11, 0.06);
  --shadow-lg: 0 16px 40px rgba(24, 18, 11, 0.09);
  --shadow-gold: 0 12px 30px rgba(179, 139, 45, 0.18);

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 960px;
  --container-editorial: 1140px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 150ms var(--ease-out-expo);
  --transition-base: 300ms var(--ease-out-expo);
  --transition-slow: 500ms var(--ease-out-expo);
}
