/* ─────────────────────────────────────────────────────────────────────────
   tokens.css — Desert Glow Med Spa · Premium Pink/Glam Palette
   Single source of truth for all design tokens.
   Import this first. Never define raw values anywhere else.
   ───────────────────────────────────────────────────────────────────────── */
:root {

  /* ── Brand Palette — Light Surfaces ────────────────────────────── */
  /* Blush-tinted whites replacing warm cream/sand                    */
  --cream:             #FDF4F8;
  --cream-dim:         #F8E6F3;
  --sand:              #EFCEDF;
  --sand-light:        #FAF0F5;

  /* ── Brand Palette — Rose ───────────────────────────────────────── */
  /* Deep rose replaces terracotta — main brand accent                */
  --terracotta:        #D4578A;
  --terracotta-dark:   #A93A6D;
  --terracotta-deep:   #6E1940;

  /* ── Brand Palette — Pink Glow ──────────────────────────────────── */
  /* Hot pink replaces gold — eyebrows, icons, CTAs, accent links     */
  --gold:              #EC4899;
  --gold-light:        #F472B6;
  --gold-dim:          #9D1D55;

  /* ── Brand Palette — Mauve ──────────────────────────────────────── */
  /* Replaces sage — AI status indicator, subtle accents              */
  --sage:              #B8819A;

  /* ── Dark Backgrounds ───────────────────────────────────────────── */
  /* Cool near-black with faint pink undertone replacing warm browns  */
  --night:             #080509;
  --night-soft:        #0F0712;
  --night-mid:         #130A16;
  --night-warm:        #190E1E;
  --night-accent:      #211228;

  /* ── Text ───────────────────────────────────────────────────────── */
  /* Light surface text — cool near-black replacing warm browns       */
  --text-dark:         #180818;
  --text-mid:          #4A305A;
  --text-light:        #7A6080;
  /* Dark surface text — blush-tinted whites replacing warm creams   */
  --text-inverse:      #FDF4F8;
  --text-inverse-dim:  rgba(253, 244, 248, 0.68);
  --text-inverse-mute: rgba(253, 244, 248, 0.42);

  /* ── Glassmorphism ──────────────────────────────────────────────── */
  --glass-dark-bg:     rgba(8, 5, 9, 0.74);
  --glass-dark-border: rgba(212, 87, 138, 0.20);
  --glass-warm-bg:     rgba(25, 14, 30, 0.80);
  --glass-warm-border: rgba(212, 87, 138, 0.26);
  --glass-blur:        blur(18px);
  --glass-blur-sm:     blur(10px);

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

  /* Fluid type scale — clamp(min, preferred, max) */
  --text-xs:   0.70rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  clamp(1.3rem, 2.2vw, 1.65rem);
  --text-3xl:  clamp(1.65rem, 3vw, 2.25rem);
  --text-4xl:  clamp(2rem, 4vw, 3.2rem);
  --text-5xl:  clamp(2.6rem, 5.5vw, 4.8rem);
  --text-hero: clamp(3.4rem, 8.5vw, 7.5rem);

  --leading-tight:  1.10;
  --leading-snug:   1.32;
  --leading-normal: 1.58;
  --leading-loose:  1.82;

  --tracking-tight:   -0.025em;
  --tracking-normal:  0em;
  --tracking-wide:    0.06em;
  --tracking-wider:   0.14em;
  --tracking-widest:  0.22em;

  /* ── Spacing ────────────────────────────────────────────────────── */
  --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;

  --section-y:   clamp(4.5rem, 9vw, 8rem);
  --container:   1380px;
  --gutter:      clamp(1.25rem, 4.5vw, 3.5rem);

  /* ── Shapes ─────────────────────────────────────────────────────── */
  --radius-sm:   4px;
  --radius:      8px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   28px;
  --radius-full: 9999px;

  /* ── Elevation ──────────────────────────────────────────────────── */
  --shadow-sm:   0 2px 10px rgba(8, 5, 9, 0.12);
  --shadow:      0 5px 24px  rgba(8, 5, 9, 0.20);
  --shadow-lg:   0 12px 48px rgba(8, 5, 9, 0.30);
  --shadow-xl:   0 24px 72px rgba(8, 5, 9, 0.42);
  --shadow-gold: 0 4px 32px  rgba(236, 72, 153, 0.32);

  /* ── Motion ─────────────────────────────────────────────────────── */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.4, 0, 1, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:   140ms;
  --dur-base:   250ms;
  --dur-slow:   400ms;
  --dur-xslow:  700ms;

  /* ── Z-index ────────────────────────────────────────────────────── */
  --z-base:    1;
  --z-raised:  10;
  --z-float:   50;
  --z-overlay: 100;
  --z-nav:     200;
}
