/**
 * PAPERMOTION — Design System Variables
 * Modern editorial typography & video animation interface
 */

:root {
  /* ==========================================================================
     Typography System
     ========================================================================== */
  --font-serif: 'Newsreader', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-headline: 'Playfair Display', 'Newsreader', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, Monaco, 'Courier New', monospace;

  /* Font Sizes - Modular Scale (1.25 / Major Third) */
  --text-2xs: 0.6875rem;   /* 11px */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-md: 1.125rem;     /* 18px */
  --text-lg: 1.25rem;      /* 20px */
  --text-xl: 1.5rem;       /* 24px */
  --text-2xl: 2rem;        /* 32px */
  --text-3xl: 2.5rem;      /* 40px */
  --text-4xl: 3.25rem;     /* 52px */
  --text-5xl: 4.25rem;     /* 68px */
  --text-display: 5.5rem;  /* 88px */

  /* Font Weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 900;

  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;
  --leading-loose: 1.8;

  /* Letter Spacing */
  --tracking-tighter: -0.04em;
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --tracking-wider: 0.08em;
  --tracking-widest: 0.14em;

  /* ==========================================================================
     Spacing Scale
     ========================================================================== */
  --space-0: 0;
  --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 */

  /* ==========================================================================
     Border Radius
     ========================================================================== */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 14px;
  --radius-full: 9999px;

  /* ==========================================================================
     Layout & Dimensions
     ========================================================================== */
  --header-height: 64px;
  --editor-header-height: 54px;
  --editor-sidebar-left: 360px;
  --editor-sidebar-right: 320px;
  --editor-timeline-height: 200px;
  --max-content-width: 1240px;
  --max-hero-width: 1080px;

  /* ==========================================================================
     Transitions & Timing
     ========================================================================== */
  --ease-out-editorial: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-smooth: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);

  --transition-fast: 150ms var(--ease-out-editorial);
  --transition-base: 220ms var(--ease-out-editorial);
  --transition-smooth: 350ms var(--ease-out-editorial);
  --transition-slow: 500ms var(--ease-out-editorial);
  --transition-theme: background-color 300ms ease, color 300ms ease, border-color 300ms ease, fill 300ms ease;

  /* ==========================================================================
     Z-Index Layers
     ========================================================================== */
  --z-base: 1;
  --z-nav: 50;
  --z-dropdown: 100;
  --z-sticky: 150;
  --z-drawer: 200;
  --z-modal-backdrop: 300;
  --z-modal: 350;
  --z-toast: 500;
  --z-tooltip: 600;
}

