/* ============================================
   THE HAIR LOFT — Design Tokens
   ============================================ */

:root {
  /* Colors — warm, trusted, approachable */
  --color-cream: #FAF8F5;
  --color-cream-dark: #F0EDE8;
  --color-white: #FFFFFF;
  --color-charcoal: #2C2825;
  --color-charcoal-light: #3D3835;
  --color-warm-gray: #8B8178;
  --color-warm-gray-light: #B5ADA5;
  --color-warm-gray-lighter: #D4CEC8;
  --color-accent: #A67C52;
  --color-accent-dark: #8B6541;
  --color-accent-light: #C9A882;
  --color-accent-subtle: rgba(166, 124, 82, 0.08);
  --color-error: #C44B3F;
  --color-success: #5A8A5E;

  /* Gradient hero fallback */
  --gradient-hero: linear-gradient(160deg, #1A1715 0%, #2C2825 30%, #3D3530 55%, #5C4F44 80%, #8B6541 100%);
  --gradient-warm: linear-gradient(135deg, #FAF8F5 0%, #F0EDE8 50%, #E8E2DB 100%);
  --gradient-section: linear-gradient(180deg, #FAF8F5 0%, #F0EDE8 100%);

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --fs-sm: clamp(0.8125rem, 0.775rem + 0.25vw, 0.875rem);
  --fs-base: clamp(0.9375rem, 0.9rem + 0.25vw, 1rem);
  --fs-md: clamp(1.0625rem, 1rem + 0.35vw, 1.125rem);
  --fs-lg: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --fs-xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --fs-2xl: clamp(1.875rem, 1.4rem + 2.5vw, 2.75rem);
  --fs-3xl: clamp(2.25rem, 1.6rem + 3.5vw, 3.5rem);
  --fs-display: clamp(2.75rem, 1.8rem + 5vw, 4.5rem);

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.6;
  --lh-relaxed: 1.75;

  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.05em;
  --ls-wider: 0.1em;

  /* Spacing */
  --space-2xs: clamp(0.25rem, 0.2rem + 0.25vw, 0.375rem);
  --space-xs: clamp(0.5rem, 0.45rem + 0.25vw, 0.625rem);
  --space-sm: clamp(0.75rem, 0.65rem + 0.5vw, 1rem);
  --space-md: clamp(1rem, 0.85rem + 0.75vw, 1.5rem);
  --space-lg: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  --space-xl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --space-2xl: clamp(3rem, 2rem + 4vw, 5rem);
  --space-3xl: clamp(4rem, 2.5rem + 6vw, 7rem);

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --container-wide: 1400px;
  --container-padding: clamp(1rem, 0.5rem + 2.5vw, 2rem);

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

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(44, 40, 37, 0.05);
  --shadow-sm: 0 2px 4px rgba(44, 40, 37, 0.08);
  --shadow-md: 0 4px 12px rgba(44, 40, 37, 0.1);
  --shadow-lg: 0 8px 24px rgba(44, 40, 37, 0.12);
  --shadow-xl: 0 16px 48px rgba(44, 40, 37, 0.15);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-snappy: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Header */
  --header-height: 72px;
  --header-height-mobile: 60px;

  /* Z-index layers */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-header: 500;
  --z-overlay: 900;
  --z-modal: 1000;
  --z-toast: 1100;
}
