/* ==========================================================================
   MYRTLE'S OILS AND MORE — DESIGN SYSTEM TOKENS
   Root variables & design tokens conforming to /context/design.md
   ========================================================================== */

:root {
  /* --------------------------------------------------
     1. Brand Colors & Neutrals
     -------------------------------------------------- */
  /* Primary Sunny Gold */
  --color-gold-500: #F5B800;
  --color-gold-600: #D99F00;
  --color-gold-100: #FFF9E6;
  --color-gold-gradient: linear-gradient(135deg, #F5B800 0%, #E5A800 100%);

  /* Botanical Flora Green */
  --color-green-700: #2E7D32;
  --color-green-800: #256628;
  --color-green-900: #1B4D20;
  --color-green-100: #E8F5E9;
  --color-green-50:  #F4FAF5;

  /* Castor Amber / Earth Brown */
  --color-amber-700: #8B5A2B;
  --color-amber-800: #6D4420;
  --color-amber-100: #F6EDE3;

  /* Contrast & Charcoal */
  --color-black-900: #1A1A1A;
  --color-black-800: #262626;
  --color-black-700: #333333;
  --color-black-600: #555555;
  --color-black-500: #777777;

  /* Warm Cream & Sand Surfaces */
  --color-cream-100: #FAF8F5;
  --color-cream-200: #F5EFE6;
  --color-sand-200:  #F3ECE2;
  --color-white:     #FFFFFF;

  /* Semantic Feedback */
  --color-success:   #2E7D32;
  --color-warning:   #D97706;
  --color-error:     #C62828;
  --color-border:    rgba(26, 26, 26, 0.12);
  --color-border-subtle: rgba(26, 26, 26, 0.06);

  /* --------------------------------------------------
     2. Typography
     -------------------------------------------------- */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Fluid Type Scale */
  --text-xs:   clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm:   clamp(0.875rem, 0.83rem + 0.2vw, 0.9375rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --text-lg:   clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --text-xl:   clamp(1.375rem, 1.25rem + 0.6vw, 1.625rem);
  --text-2xl:  clamp(1.75rem, 1.5rem + 1.25vw, 2.25rem);
  --text-3xl:  clamp(2.25rem, 1.85rem + 2vw, 3rem);
  --text-hero: clamp(2.75rem, 2.2rem + 2.75vw, 4.25rem);

  /* --------------------------------------------------
     3. Spacing & Sizing
     -------------------------------------------------- */
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.25rem;
  --space-2xl: 3.5rem;
  --space-3xl: 5.5rem;

  --container-max: 1200px;
  --container-narrow: 820px;
  --container-pad: clamp(1rem, 4vw, 2rem);

  /* --------------------------------------------------
     4. Elevation, Radius & Transitions
     -------------------------------------------------- */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 6px rgba(26, 26, 26, 0.05);
  --shadow-md: 0 6px 18px rgba(26, 26, 26, 0.08);
  --shadow-lg: 0 16px 36px rgba(26, 26, 26, 0.12);
  --shadow-hover: 0 12px 28px rgba(245, 184, 0, 0.25);

  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

  --header-height: 82px;
}
