:root {
  /* ==================== CPRN BRAND COLORS ==================== */
  /* Palette: Sacred Warmth — Warm, reverent, spiritual */

  /* Core Brand Colors */
  --navy-blue: #07324B;      /* Primary - Trust, depth, authority */
  --royal-blue: #1E4B9B;     /* Secondary - Richer, more regal */
  --sky-blue: #00A0F0;       /* Tertiary - Hope, clarity, digital */
  --amber-gold: #C8850E;     /* Accent - Divine warmth, prosperity */
  --honey-gold: #D4A84B;     /* Accent Light - Softer highlights */

  /* Aliases for old variable names — keeps existing code working */
  --bright-blue: var(--sky-blue);
  --golden-yellow: var(--amber-gold);

  /* Warm Neutrals */
  --white: #FFFFFF;
  --warm-cream: #FAF8F5;     /* Main background - warmer than gray */
  --soft-ivory: #F5F0E8;     /* Card/section backgrounds */
  --light-gray: #F5F7FA;     /* Legacy - keep for compatibility */
  --charcoal: #1A1A2E;       /* Primary text */
  --slate: #5C6B7A;          /* Muted text - softer than pure gray */
  --dark-navy: #1A1A2E;
  --gray-text: #5C6B7A;

  /* Semantic Colors */
  --primary-color: var(--navy-blue);
  --secondary-color: var(--royal-blue);
  --accent-color: var(--amber-gold);
  --accent-light: var(--honey-gold);
  --text-dark: var(--charcoal);
  --text-muted: var(--slate);
  --text-light: var(--white);
  --bg-light: var(--warm-cream);
  --bg-alt: var(--soft-ivory);

  /* ==================== COLORS ==================== */

  /* Primary */
  --color-royal-blue: #1E4B9B;
  --color-deep-blue: #07324B;
  --color-gold: #C8850E;

  /* Secondary */
  --color-light-gold: #D4A84B;
  --color-sky-blue: #00A0F0;
  --color-light-blue: #E8F4FC;
  --color-white: #FFFFFF;
  --color-dark-text: #1A1A2E;

  /* Backgrounds */
  --color-bg-warm: #FAF8F5;
  --color-bg-ivory: #F5F0E8;
  --color-bg-light: #FAF8F5;

  /* Utility */
  --color-success: #2E7D5A;  /* Sage green - calming */
  --color-warning: #D4920A;
  --color-error: #C94A4A;    /* Softer red */
  --color-info: #1E4B9B;
  --color-light-gray: #FAF8F5;
  --color-medium-gray: #5C6B7A;

  /* Gradients */
  --gradient-blue: linear-gradient(135deg, #07324B 0%, #1E4B9B 100%);
  --gradient-gold: linear-gradient(135deg, #C8850E 0%, #D4A84B 100%);
  --gradient-sky: linear-gradient(180deg, #1E4B9B 0%, #07324B 100%);
  --gradient-warm: linear-gradient(180deg, #FAF8F5 0%, #F5F0E8 100%);

  /* Legacy aliases (keep for backwards compat) */
  --color-primary: #07324B;
  --color-primary-light: #1E4B9B;
  --color-primary-dark: #041f2e;
  --color-accent: #C8850E;
  --color-accent-light: #D4A84B;
  --color-accent-dark: #9a6409;
  --color-cta: #C8850E;
  --color-cta-hover: #A66D0A;
  --color-text: #1A1A2E;
  --color-light: #FAF8F5;
  --color-gray: #5C6B7A;
  --color-dark: #1A1A2E;
  --color-black: #1A1A2E;

  /* ==================== TYPOGRAPHY ==================== */
  /* Palette 1: Reverent & Modern */

  --font-hero: 'Cormorant Garamond', Georgia, serif;
  --font-heading: 'Josefin Sans', 'Segoe UI', sans-serif;
  --font-body: 'Source Sans Pro', 'Segoe UI', sans-serif;
  --font-accent: 'EB Garamond', Georgia, serif;
  --font-nav: 'Josefin Sans', Arial, sans-serif;

  --font-size-xs: 0.75rem;     /* 12px */
  --font-size-sm: 0.875rem;    /* 14px */
  --font-size-base: 1rem;      /* 16px */
  --font-size-lg: 1.125rem;    /* 18px */
  --font-size-xl: 1.25rem;     /* 20px */
  --font-size-2xl: 1.5rem;     /* 24px */
  --font-size-3xl: 1.75rem;    /* 28px */
  --font-size-4xl: 2.25rem;    /* 36px */
  --font-size-5xl: 3rem;       /* 48px */

  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;
  --line-height-loose: 1.8;

  /* ==================== SPACING ==================== */

  --space-0: 0;
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 1rem;      /* 16px */
  --space-4: 1.5rem;    /* 24px */
  --space-5: 2rem;      /* 32px */
  --space-6: 3rem;      /* 48px */
  --space-7: 4rem;      /* 64px */
  --space-8: 5rem;      /* 80px */
  --space-9: 6rem;      /* 96px */
  --space-10: 8rem;     /* 128px */

  /* ==================== BORDERS ==================== */

  --radius-sm: 4px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --border-width: 1px;
  --border-color: #DEE2E6;

  /* ==================== SHADOWS ==================== */

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
  --shadow-hover: 0 10px 40px rgba(27,79,114,0.15);

  /* ==================== TRANSITIONS ==================== */

  --transition-fast: all 0.15s ease;
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;

  /* ==================== Z-INDEX ==================== */

  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;

  /* ==================== CONTAINER ==================== */

  --container-max-width: 1320px;
  --container-padding: 1rem;

  /* ==================== CPRN FONT SIZES (mobile-first) ==================== */

  --font-size-hero: 2.5rem;
  --font-size-h1: 2rem;
  --font-size-h2: 1.75rem;
  --font-size-h3: 1.5rem;
  --font-size-h4: 1.25rem;
  --font-size-body: 1rem;
  --font-size-small: 0.875rem;
  --font-weight-black: 900;

  --letter-spacing-tight: -0.02em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.05em;
}

@media (min-width: 768px) {
  :root {
    --font-size-hero: 3.5rem;
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.75rem;
    --font-size-h4: 1.5rem;
    --font-size-body: 1.125rem;
  }
}
