/* ========================================
   CSS CUSTOM PROPERTIES & DESIGN TOKENS
   ======================================== */

:root {
  /* Color Palette */
  --color-primary: #2C4A3E;        /* Muted sage-forest */
  --color-secondary: #8B6344;      /* Walnut brown */
  --color-accent: #C49B6A;         /* Soft gold */
  --color-bg-main: #FAFAF8;        /* Barely-warm white */
  --color-bg-light: #FFFFFF;       /* Pure white */
  --color-bg-warm: #F5F1EB;        /* Warm linen for alternating sections */
  --color-text: #2A2A28;           /* Warm near-black */
  --color-text-light: #7A766E;     /* Warm gray */
  --color-border: #E5E1DB;         /* Warm border */
  --color-shadow: rgba(0, 0, 0, 0.06);
  --color-shadow-hover: rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-family-display: 'Cormorant Garamond', Georgia, serif;
  --font-family-base: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Font Sizes - Fluid Responsive */
  --font-size-sm: clamp(0.875rem, 1.5vw, 1rem);
  --font-size-base: clamp(1rem, 2vw, 1.125rem);
  --font-size-lg: clamp(1.125rem, 2.5vw, 1.25rem);
  --font-size-xl: clamp(1.25rem, 3vw, 1.5rem);
  --font-size-2xl: clamp(1.5rem, 3.5vw, 2rem);
  --font-size-3xl: clamp(2rem, 5vw, 3rem);

  /* Line Heights */
  --line-height-tight: 1.4;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* Spacing Scale */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-2xl: 64px;
  --spacing-3xl: 120px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Transitions & Animations */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Box Shadows */
  --shadow-sm: 0 1px 2px var(--color-shadow);
  --shadow-md: 0 1px 3px var(--color-shadow);
  --shadow-lg: 0 10px 25px var(--color-shadow-hover);
  --shadow-xl: 0 20px 40px var(--color-shadow-hover);

  /* Z-Index Scale */
  --z-dropdown: 10;
  --z-sticky: 100;
  --z-modal: 200;
  --z-tooltip: 300;

  /* Container Widths */
  --container-max-width: 1280px;
  --container-padding-mobile: var(--spacing-md);
  --container-padding-tablet: var(--spacing-lg);
  --container-padding-desktop: var(--spacing-xl);
}

/* Responsive font sizes for better readability */
@media (max-width: 480px) {
  :root {
    --font-size-base: 1rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
  }
}
