/* ============================================================
   DESIGN TOKENS — Backyard Playground
   Premium editorial palette targeting millennial families
   ============================================================ */

:root {
  /* --- Colors --- */
  --color-charcoal:    #2D2D2D;   /* Primary text, nav background */
  --color-charcoal-80: rgba(45,45,45,0.80);
  --color-brass:       #C4973B;   /* Accent: CTAs, highlights, hover */
  --color-brass-light: #D9AE5C;   /* Hover state for brass */
  --color-brass-dark:  #A47E2E;   /* Active/pressed state */
  --color-warm-white:  #FAF8F5;   /* Page background */
  --color-sand:        #F0EDE8;   /* Alternate section background */
  --color-sand-dark:   #E4DFD8;   /* Border, divider */
  --color-slate:       #4A4A4A;   /* Body text */
  --color-slate-light: #6E6E6E;   /* Secondary / caption text */
  --color-white:       #FFFFFF;
  --color-black:       #1A1A1A;
  --color-overlay:     rgba(29, 24, 18, 0.52);  /* Hero image overlay */

  /* --- Typography --- */
  --font-serif:   'Cormorant Garamond', 'Georgia', serif;
  --font-sans:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Cormorant Garamond', 'Georgia', serif; /* Logo + large headings */

  /* --- Type Scale --- */
  --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:  2rem;       /* 32px */
  --text-3xl:  2.5rem;     /* 40px */
  --text-4xl:  3.25rem;    /* 52px */
  --text-5xl:  4rem;       /* 64px */

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

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

  /* --- Spacing (8px grid) --- */
  --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 */
  --space-32: 8rem;      /* 128px */

  /* --- Layout --- */
  --container-sm:   640px;
  --container-md:   768px;
  --container-lg:   1024px;
  --container-xl:   1200px;
  --container-2xl:  1440px;

  --gutter:         clamp(1.25rem, 4vw, 2.5rem);
  --section-pad:    clamp(4rem, 8vw, 7rem);

  /* --- Borders & Radius --- */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-full: 9999px;
  --border:      1px solid var(--color-sand-dark);

  /* --- Shadows --- */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg:  0 10px 30px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.07);
  --shadow-xl:  0 20px 60px rgba(0,0,0,0.16);

  /* --- Transitions --- */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.55, 0, 1, 0.45);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast:   150ms;
  --duration-normal: 280ms;
  --duration-slow:   450ms;

  /* --- Z-index layers --- */
  --z-base:      0;
  --z-above:     10;
  --z-sticky:    100;
  --z-overlay:   200;
  --z-modal:     300;
  --z-toast:     400;
}
