/* ==========================================================================
   Design Tokens — Haya Beauty Lounge
   All custom properties live here. Nothing outside this file should declare
   raw colours, font families, or hardcoded sizes.
   ========================================================================== */

:root {

  /* --------------------------------------------------------------------------
     Colour palette
     -------------------------------------------------------------------------- */
  --rose-gold:   #B76E79;
  --champagne:   #F7E7CE;
  --charcoal:    #2B2B2B;
  --ivory:       #FFFDF7;
  --soft-pink:   #FDF2F0;
  --gold-accent: #C9A96E;
  --white:       #FFFFFF;

  /* Tints / shades derived from the palette */
  --rose-gold-light:  #D4959E;
  --rose-gold-dark:   #8E4D57;
  --charcoal-light:   #4A4A4A;
  --charcoal-muted:   #6B6B6B;
  --champagne-dark:   #E8CC9A;
  --gold-accent-dark: #A07840;

  /* --------------------------------------------------------------------------
     Typography
     -------------------------------------------------------------------------- */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Fluid type scale — clamp(min, preferred, max)
     Breakpoint reference: 320px → 1280px viewport            */
  --text-xs:   clamp(0.70rem, 0.68rem + 0.10vw, 0.75rem);   /*  ~11–12px */
  --text-sm:   clamp(0.82rem, 0.79rem + 0.16vw, 0.875rem);  /*  ~13–14px */
  --text-base: clamp(1.00rem, 0.96rem + 0.20vw, 1.063rem);  /*  ~16–17px */
  --text-md:   clamp(1.13rem, 1.07rem + 0.28vw, 1.25rem);   /*  ~18–20px */
  --text-lg:   clamp(1.25rem, 1.16rem + 0.43vw, 1.50rem);   /*  ~20–24px */
  --text-xl:   clamp(1.50rem, 1.34rem + 0.78vw, 2.00rem);   /*  ~24–32px */
  --text-2xl:  clamp(1.875rem, 1.61rem + 1.33vw, 2.75rem);  /*  ~30–44px */
  --text-3xl:  clamp(2.25rem,  1.86rem + 1.95vw, 3.50rem);  /*  ~36–56px */
  --text-4xl:  clamp(2.875rem, 2.22rem + 3.26vw, 5.00rem);  /*  ~46–80px */

  /* Line heights */
  --leading-tight:  1.2;
  --leading-snug:   1.4;
  --leading-base:   1.6;
  --leading-relaxed:1.8;

  /* Letter spacing */
  --tracking-tight:  -0.02em;
  --tracking-normal:  0;
  --tracking-wide:    0.05em;
  --tracking-widest:  0.12em;

  /* --------------------------------------------------------------------------
     Spacing (8px base)
     -------------------------------------------------------------------------- */
  --space-xs:   0.5rem;   /*  8px */
  --space-sm:   0.75rem;  /* 12px */
  --space-md:   1rem;     /* 16px */
  --space-lg:   1.5rem;   /* 24px */
  --space-xl:   2rem;     /* 32px */
  --space-2xl:  3rem;     /* 48px */
  --space-3xl:  5rem;     /* 80px */

  /* --------------------------------------------------------------------------
     Border radii
     -------------------------------------------------------------------------- */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-full: 9999px;

  /* --------------------------------------------------------------------------
     Shadows (warm-tinted)
     -------------------------------------------------------------------------- */
  --shadow-sm:  0 1px 3px rgba(43, 28, 20, 0.08),
                0 1px 2px rgba(43, 28, 20, 0.06);
  --shadow-md:  0 4px 12px rgba(43, 28, 20, 0.10),
                0 2px 4px  rgba(43, 28, 20, 0.07);
  --shadow-lg:  0 16px 40px rgba(43, 28, 20, 0.12),
                0 4px  12px rgba(43, 28, 20, 0.08);

  /* --------------------------------------------------------------------------
     Motion
     -------------------------------------------------------------------------- */
  --ease-out:       cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out:    cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce:    cubic-bezier(0.34, 1.56, 0.64, 1);

  --transition-fast: 150ms var(--ease-out);
  --transition-base: 300ms var(--ease-out);
  --transition-slow: 600ms var(--ease-out);

  /* --------------------------------------------------------------------------
     Layout
     Breakpoints (for reference — used in media queries throughout the project):
       --bp-sm:  640px
       --bp-md:  960px
       --bp-lg: 1280px
     -------------------------------------------------------------------------- */
  --container-max: 1280px;
  --container-pad: var(--space-lg);

  --header-height:        72px;
  --header-height-mobile: 60px;
}
