/* ============================================
   GIVINGTUESDAY SWITZERLAND — DESIGN TOKENS
   ============================================
   Brand-aligned design system.
   Optimized for Gutenberg Pattern reusability.
   ============================================ */

:root {
  /* ——— Color Palette ——— */
  --color-primary: #e30000;          /* GivingTuesday red */
  --color-primary-hover: #c50000;
  --color-primary-light: #FDF0ED;
  --color-secondary: #1D1D1F;        /* Near-black */
  --color-accent: #F5A623;           /* Warm gold */
  --color-success: #2ECC71;

  --color-text: #1D1D1F;
  --color-text-muted: #6E6E73;
  --color-text-light: #FFFFFF;

  --color-bg: #FFFFFF;
  --color-bg-soft: #FAFAFA;
  --color-bg-warm: #FDF8F5;
  --color-bg-dark: #1D1D1F;

  --color-border: #E8E8ED;
  --color-border-light: #F2F2F7;

  /* ——— Typography ——— */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs: clamp(0.7rem, 0.65rem + 0.2vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
  --text-base: clamp(0.9rem, 0.85rem + 0.3vw, 1rem);
  --text-lg: clamp(1rem, 0.95rem + 0.4vw, 1.15rem);
  --text-xl: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  --text-2xl: clamp(1.35rem, 1.15rem + 1vw, 1.85rem);
  --text-3xl: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.7rem + 2.5vw, 3.5rem);

  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.6;

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

  /* ——— Spacing ——— */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
  --space-section: clamp(3rem, 2.5rem + 3vw, 5rem);

  /* ——— Layout ——— */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-wide: 1400px;
  --gutter: clamp(1.5rem, 1rem + 2vw, 3rem);

  /* ——— Borders & Radius ——— */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* ——— Shadows ——— */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);

  /* ——— Transitions ——— */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ——— Dark Mode Support (future) ——— */
@media (prefers-color-scheme: dark) {
  :root {
    /* Placeholder: uncomment when dark mode is needed */
    /* --color-bg: #1D1D1F;
    --color-bg-soft: #2C2C2E;
    --color-text: #FFFFFF;
    --color-text-muted: #A1A1A6; */
  }
}
