/**
 * BROWZ — Design Tokens & Core System
 * Built on the 8px spatial grid & Vision Board V.01 Luxury Aesthetic
 */

:root {
  /* ==========================================================================
     Color Palette (Vision Board V.01 Strict Specification)
     ========================================================================== */
  --color-bg-base: #F7F4EE;         /* Base Ivory (50%) */
  --color-bg-subtle: #EFECE5;       /* Muted Warm Ivory / Card Tint */
  --color-bg-surface: #FFFFFF;      /* Clean White Surface */
  --color-bg-dark: #171412;         /* Deep Espresso Brown (Hero/Footer) */
  --color-bg-dark-surface: #221D1A; /* Elevated Dark Surface */

  --color-text-primary: #27221E;    /* Primary Espresso (15%) */
  --color-text-secondary: #6B6259;  /* Muted Espresso / Body */
  --color-text-muted: #6E6458;      /* Secondary Taupe Text (v5.3: ciemniejszy, kontrast >= 4,5:1 na #F7F4EE/#FFF) */
  --color-text-inverse: #F7F4EE;    /* Inverse Ivory Text */
  --color-text-inverse-muted: #B7AA9B;

  --color-accent-taupe: #B7AA9B;    /* Warm Taupe (10%) */
  --color-accent-gold: #C9A86A;     /* Soft Satin Champagne Gold */
  --color-accent-gold-text: #7F6428; /* v5.3: złoto jako KOLOR TEKSTU na jasnym tle (kontrast >= 4,5:1); #C9A86A zostaje dla teł/obramowań/dekoracji */
  --color-accent-warm: #9E8E7E;

  --color-divider: #D8D0C5;         /* Subtle Hairline Dividers */
  --color-divider-light: #EBE5DB;
  --color-divider-dark: #2F2925;

  --color-badge-bg: #27221E;
  --color-badge-text: #F7F4EE;
  
  /* Status Colors */
  --color-success: #3A6351;
  --color-error: #8B3A3A;

  /* ==========================================================================
     Typography
     ========================================================================== */
  --font-serif: 'Cormorant Garamond', Garamond, Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Font Sizes */
  --text-xs: 0.6875rem;   /* 11px */
  --text-sm: 0.8125rem;   /* 13px */
  --text-base: 0.9375rem; /* 15px */
  --text-md: 1.0625rem;   /* 17px */
  --text-lg: 1.25rem;     /* 20px */
  --text-xl: 1.5rem;      /* 24px */
  --text-2xl: 2rem;       /* 32px */
  --text-3xl: 2.75rem;    /* 44px */
  --text-4xl: 3.5rem;     /* 56px */
  --text-5xl: 4.75rem;    /* 76px */

  /* Line Heights */
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;

  /* Tracking / Letter Spacing */
  --tracking-tighter: -0.03em;
  --tracking-tight: -0.01em;
  --tracking-normal: 0em;
  --tracking-wide: 0.08em;
  --tracking-wider: 0.16em;
  --tracking-widest: 0.28em;
  --tracking-logo: 0.36em;

  /* ==========================================================================
     Spatial Grid (8px Base Scale) & Layout
     ========================================================================== */
  --space-2: 2px;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-64: 64px;
  --space-80: 80px;
  --space-96: 96px;
  --space-120: 120px;  /* Editorial section spacing */
  --space-160: 160px;  /* Editorial major breathe */

  --container-max: 1480px;
  --container-narrow: 1140px;
  --header-height: 80px;
  --announcement-height: 38px;

  /* ==========================================================================
     Elevations, Borders & Radii
     ========================================================================== */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-full: 9999px;

  --shadow-subtle: 0 4px 20px rgba(39, 34, 30, 0.04);
  --shadow-card: 0 10px 30px rgba(39, 34, 30, 0.06);
  --shadow-drawer: -10px 0 50px rgba(23, 20, 18, 0.25);
  --shadow-modal: 0 25px 60px rgba(23, 20, 18, 0.35);

  /* ==========================================================================
     Transitions & Motion
     ========================================================================== */
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 0.2s var(--ease-luxury);
  --transition-normal: 0.35s var(--ease-luxury);
  --transition-slow: 0.6s var(--ease-luxury);
  --transition-image: 0.8s var(--ease-luxury);

  /* ==========================================================================
     Z-Indices
     ========================================================================== */
  --z-base: 1;
  --z-sticky: 100;
  --z-dropdown: 200;
  --z-drawer: 300;
  --z-modal: 400;
  --z-toast: 500;
}
