/* Design tokens — single source of truth for the design system */
:root {
  /* Colors — backgrounds */
  --bg-base: #1a1a24;
  --bg-surface: #24242f;
  --bg-surface-2: #2e2e3c;
  --bg-elevated: #383849;
  --bg-overlay: rgba(26, 26, 36, 0.92);
  --bg-overlay-strong: rgba(26, 26, 36, 0.97);

  /* Colors — borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(212, 165, 116, 0.35);
  --border-accent-strong: rgba(212, 165, 116, 0.6);

  /* Colors — text */
  --text-primary: #f5efe6;
  --text-body: #c9c2b8;
  --text-muted: #7a7269;
  --text-faint: #4a4540;

  /* Colors — accents (rose gold / champagne) */
  --accent: #d4a574;
  --accent-light: #e8c39e;
  --accent-deep: #a37e52;
  --accent-glow: rgba(212, 165, 116, 0.18);
  --accent-glow-strong: rgba(212, 165, 116, 0.35);

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #d4a574 0%, #e8c39e 50%, #c9a374 100%);
  --gradient-gold-soft: linear-gradient(135deg, rgba(212, 165, 116, 0.2) 0%, rgba(232, 195, 158, 0.1) 100%);
  --gradient-fade: linear-gradient(180deg, transparent 0%, #1a1a24 100%);
  --gradient-fade-top: linear-gradient(180deg, #1a1a24 0%, transparent 100%);
  --gradient-radial: radial-gradient(ellipse at top, rgba(212, 165, 116, 0.08) 0%, transparent 60%);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --fs-xs: 0.75rem;     /* 12px */
  --fs-sm: 0.875rem;    /* 14px */
  --fs-base: 1rem;      /* 16px */
  --fs-md: 1.125rem;    /* 18px */
  --fs-lg: 1.25rem;     /* 20px */
  --fs-xl: 1.5rem;      /* 24px */
  --fs-2xl: 2rem;       /* 32px */
  --fs-3xl: 2.5rem;     /* 40px */
  --fs-4xl: 3.5rem;     /* 56px */
  --fs-5xl: 4.5rem;     /* 72px */
  --fs-6xl: 6rem;       /* 96px */

  --lh-tight: 1.1;
  --lh-snug: 1.3;
  --lh-normal: 1.5;
  --lh-relaxed: 1.7;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.15em;
  --tracking-widest: 0.25em;

  /* Spacing scale */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.5rem;    /* 24px */
  --space-6: 2rem;      /* 32px */
  --space-7: 3rem;      /* 48px */
  --space-8: 4rem;      /* 64px */
  --space-9: 6rem;      /* 96px */
  --space-10: 8rem;     /* 128px */
  --space-11: 10rem;    /* 160px */

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 960px;
  --container-wide: 1440px;
  --container-padding: clamp(1.25rem, 4vw, 2.5rem);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px var(--accent-glow);
  --shadow-glow-strong: 0 12px 48px var(--accent-glow-strong);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 180ms;
  --duration-base: 240ms;
  --duration-slow: 480ms;

  /* Z-index */
  --z-base: 1;
  --z-sticky: 50;
  --z-header: 100;
  --z-overlay: 500;
  --z-modal: 1000;
}
