/* ==========================================================================
   AGDEA — Design Tokens
   Single source of truth for colors, typography, spacing, motion.
   Mirrors /config.json. Edit both together.
   ========================================================================== */

:root {
  /* ----- Colors: Primary ----- */
  --color-black: #0A0A0A;
  --color-pink: #E83E8C;
  --color-pink-dark: #A61E5C;

  /* ----- Colors: Secondary ----- */
  --color-anthracite: #1A1A1A;
  --color-soft-white: #F5F5F5;
  --color-muted-grey: #AAAAAA;

  /* ----- Colors: Extended ----- */
  --color-border-subtle: rgba(245, 245, 245, 0.08);
  --color-border-hover: rgba(232, 62, 140, 0.35);
  --color-overlay: rgba(10, 10, 10, 0.72);
  --color-pink-glow: rgba(232, 62, 140, 0.18);

  /* ----- Semantic aliases ----- */
  --bg: var(--color-black);
  --bg-elevated: var(--color-anthracite);
  --text: var(--color-soft-white);
  --text-muted: var(--color-muted-grey);
  --accent: var(--color-pink);
  --accent-hover: var(--color-pink-dark);
  --border: var(--color-border-subtle);

  /* ----- Typography ----- */
  --font-display: 'Playfair Display', 'Canela', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 2rem;
  --fs-4xl: 2.75rem;
  --fs-5xl: 3.75rem;
  --fs-6xl: 5rem;

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

  --ls-tight: -0.01em;
  --ls-normal: 0;
  --ls-wide: 0.04em;
  --ls-wider: 0.12em;
  --ls-widest: 0.24em;

  --lh-tight: 1.1;
  --lh-snug: 1.25;
  --lh-normal: 1.5;
  --lh-loose: 1.75;

  /* ----- Spacing scale ----- */
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* ----- Radius ----- */
  --radius-none: 0;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-pill: 999px;

  /* ----- Shadows ----- */
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-card-hover: 0 1px 2px rgba(0, 0, 0, 0.5), 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 24px rgba(232, 62, 140, 0.25);

  /* ----- Gradients ----- */
  --gradient-depth: linear-gradient(135deg, #0A0A0A, #1A1A1A);
  --gradient-pink: linear-gradient(135deg, #E83E8C, #A61E5C);

  /* ----- Motion ----- */
  --transition-fast: 180ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* ----- Layout ----- */
  --container-max: 1200px;
  --content-max: 720px;
  --gutter: 1.5rem;
  --ticker-h: 28px;

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

/* Honor user's reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-base: 0ms;
    --transition-slow: 0ms;
  }
}
