/* ═══════════════════════════════════════════════════════
   IVAN.BAR — Design Tokens
   ═══════════════════════════════════════════════════════ */

/* ─── Custom Fonts ─── */
@font-face {
  font-family: 'UpUpAndAway';
  src: url('/assets/fonts/CCUpUpAndAway.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ─── Brand Colors ─── */
  --color-brand-red: #C41B1B;
  --color-brand-red-dark: #9E1515;
  --color-brand-red-light: #E84444;

  /* ─── Neutrals ─── */
  --color-black: #111111;
  --color-dark: #1A1A1A;
  --color-text-primary: #2D2D2D;
  --color-text-secondary: #6B6B6B;
  --color-text-muted: #999999;
  --color-border: #E0DCD7;
  --color-border-light: #EDEBE8;
  --color-surface: #FFFFFF;
  --color-surface-warm: #FAF7F2;
  --color-surface-alt: #F5F1EB;
  --color-background: #FAF7F2;

  /* ─── Accents ─── */
  --color-accent-gold: #D4A853;
  --color-accent-gold-light: #F0DDB8;
  --color-accent-green: #4A7C59;
  --color-accent-green-light: #E8F2EB;
  --color-coral: #E07166;
  --color-coral-light: #F7E4E2;

  /* ─── Product Colors ─── */
  --color-product-macadamia: #8B4513;
  --color-product-peanut-butter: #D4A853;
  --color-product-dark-choc: #3C1F0A;
  --color-product-tart-cherry: #C41B1B;

  /* ─── Typography ─── */
  --font-heading: 'UpUpAndAway', 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */
  --text-7xl: 4.5rem;      /* 72px */

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

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

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

  /* ─── Spacing ─── */
  --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 ─── */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-wide: 1400px;
  --header-height: 72px;
  --gutter: var(--space-6);

  /* ─── Borders ─── */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

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

  /* ─── Transitions ─── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
  --duration-slower: 600ms;

  /* ─── Z-Index ─── */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-overlay: 400;
  --z-modal: 500;
}
