/* ==========================================================================
   Merrowdain - CSS Design Variables & Tokens
   Editorial, warm, refined, accessible design system for Merrowdain
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --color-primary: #633B50;
  --color-primary-dark: #402638;
  --color-primary-light: #7E4C66;
  --color-primary-subtle: rgba(99, 59, 80, 0.08);

  --color-secondary: #C98291;
  --color-secondary-dark: #A86574;
  --color-secondary-light: #DF9DAA;
  --color-secondary-subtle: rgba(201, 130, 145, 0.12);

  --color-accent: #E9C8D0;
  --color-accent-soft: #F5E8EB;
  --color-accent-subtle: rgba(233, 200, 208, 0.25);

  --color-bg: #FAF7F5;
  --color-bg-alt: #F3ECE8;
  --color-surface: #FFFFFF;
  --color-surface-translucent: rgba(255, 255, 255, 0.88);

  --color-text-main: #29252A;
  --color-text-muted: #777078;
  --color-text-subtle: #99919A;
  --color-text-inverse: #FAF7F5;

  --color-border: #E9E1E4;
  --color-border-hover: #D4C6CB;
  --color-border-focus: #633B50;

  --color-success: #3E6B56;
  --color-success-bg: #EDF5F1;
  --color-warning: #945B25;
  --color-warning-bg: #FCF4ED;
  --color-danger: #993344;
  --color-danger-bg: #FBEBED;

  /* Typography Stacks */
  --font-serif: "Newsreader", "Playfair Display", "Iowan Old Style", "Apple Garamond", "Baskerville", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Font Sizes */
  --text-xs: 0.75rem;
  /* 12px */
  --text-sm: 0.875rem;
  /* 14px */
  --text-base: 1rem;
  /* 16px */
  --text-md: 1.125rem;
  /* 18px */
  --text-lg: 1.25rem;
  /* 20px */
  --text-xl: 1.5rem;
  /* 24px */
  --text-2xl: 1.875rem;
  /* 30px */
  --text-3xl: 2.25rem;
  /* 36px */
  --text-4xl: 3rem;
  /* 48px */
  --text-5xl: 3.75rem;
  /* 60px */

  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.55;
  --leading-relaxed: 1.7;

  /* 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 */

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows (Restrained, subtle editorial elevation) */
  --shadow-xs: 0 1px 2px rgba(64, 38, 56, 0.04);
  --shadow-sm: 0 2px 8px rgba(64, 38, 56, 0.06);
  --shadow-md: 0 8px 24px rgba(64, 38, 56, 0.07);
  --shadow-lg: 0 16px 36px rgba(64, 38, 56, 0.1);
  --shadow-xl: 0 24px 50px rgba(64, 38, 56, 0.14);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 240ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 360ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1240px;
  --header-height: 84px;
  --header-height-scrolled: 68px;

  /* Z-indices */
  --z-header: 100;
  --z-drawer: 200;
  --z-modal: 500;
  --z-toast: 1000;
}