/* ==========================================================================
   NSGCG Design Tokens & CSS Custom Properties
   National Stained Glass Consulting Group
   ========================================================================== */

:root {
  /* Brand Colors */
  --brand-tan: #D4C5A9;
  --brand-tan-light: #E8DFCE;
  --brand-cream: #F5F0E8;
  --brand-cream-dark: #EDE5D5;
  --brand-dark: #2A2520;
  --brand-dark-soft: #3D3630;
  --brand-white: #FDFCFA;

  /* Stained Glass Accent Colors */
  --accent-blue: #1E3A5F;
  --accent-blue-light: #2A4F7A;
  --accent-blue-dark: #152C48;
  --accent-red: #8B2332;
  --accent-red-light: #A52D3F;
  --accent-red-dark: #6E1B28;
  --accent-amber: #C8922A;
  --accent-amber-light: #D9A73E;
  --accent-amber-dark: #A67820;
  --accent-green: #2D5F3E;
  --accent-green-light: #3A7A50;
  --accent-green-dark: #224A30;

  /* Vivid Jewel Tones — light-through-glass luminosity */
  --jewel-blue: #1B6CA8;
  --jewel-blue-glow: rgba(27, 108, 168, 0.35);
  --jewel-amber: #E8A020;
  --jewel-amber-glow: rgba(232, 160, 32, 0.35);
  --jewel-ruby: #C0392B;
  --jewel-ruby-glow: rgba(192, 57, 43, 0.25);
  --jewel-emerald: #1A8A4A;
  --jewel-emerald-glow: rgba(26, 138, 74, 0.25);
  --jewel-violet: #7B3FA0;
  --jewel-violet-glow: rgba(123, 63, 160, 0.2);
  --jewel-gold: #D4A843;
  --lead-dark: #1C1815;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-bg-strong: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: rgba(0, 0, 0, 0.08);
  --glass-card-bg: rgba(255, 252, 246, 0.82);
  --glass-card-border: rgba(212, 197, 169, 0.38);

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-accent: 'Bricolage Grotesque', 'Plus Jakarta Sans', sans-serif;

  /* Font Sizes — Mobile First */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 5rem;
  --text-8xl: 6.5rem;
  --text-display: clamp(2.8rem, 7vw, 6rem);
  --text-hero: clamp(3rem, 8vw, 7rem);

  /* Font Weights */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Line Heights */
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

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

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;
  --container-max: 1400px;
  --gutter: var(--space-5);

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

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(42, 37, 32, 0.06);
  --shadow-md: 0 4px 12px rgba(42, 37, 32, 0.08);
  --shadow-lg: 0 8px 30px rgba(42, 37, 32, 0.12);
  --shadow-xl: 0 16px 50px rgba(42, 37, 32, 0.16);
  --shadow-glass: 0 8px 32px rgba(42, 37, 32, 0.06);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 500ms;
  --duration-reveal: 800ms;

  /* Z-index scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
}

/* Desktop scale-up */
@media (min-width: 1024px) {
  :root {
    --gutter: var(--space-8);
  }
}
