/* ============================================
   LINKS MAGAZINE — DESIGN TOKENS
   variables.css
   ============================================ */

:root {

  /* ----------------------------------------
     COLORS
     ---------------------------------------- */
  --color-black:        #0D0D0D;
  --color-white:        #FFFFFF;
  --color-cream:        #F9F5EE;
  --color-green:        #1B4D2E;
  --color-green-light:  #2E7D4F;
  --color-gold:         #B8973A;
  --color-gray-100:     #F4F4F4;
  --color-gray-300:     #D1D1D1;
  --color-gray-500:     #888888;
  --color-gray-800:     #2C2C2C;
  --color-text:         #1A1A1A;
  --color-text-muted:   #666666;

  /* ----------------------------------------
     TYPOGRAPHY
     ---------------------------------------- */
  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-headline: 'Playfair Display', Georgia, serif;
  --font-body:     'Lora', Georgia, serif;
  --font-ui:       'DM Sans', system-ui, -apple-system, sans-serif;
  --font-caption:  'DM Sans', system-ui, -apple-system, sans-serif;

  /* ----------------------------------------
     TYPE SCALE
     ---------------------------------------- */
  --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 */
  --text-8xl:  6rem;       /* 96px */

  /* ----------------------------------------
     SPACING (4px base unit)
     ---------------------------------------- */
  --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 */

  /* ----------------------------------------
     MAX WIDTHS
     ---------------------------------------- */
  --max-width-sm:      640px;
  --max-width-md:      768px;
  --max-width-lg:      1024px;
  --max-width-xl:      1320px;
  --max-width-article: 800px;
  --max-width-reading: 680px;

  /* ----------------------------------------
     BORDER RADIUS
     ---------------------------------------- */
  --radius-sm:   2px;
  --radius-base: 4px;
  --radius-md:   6px;
  --radius-lg:   8px;
  --radius-full: 9999px;

  /* ----------------------------------------
     Z-INDEX LAYERS
     ---------------------------------------- */
  --z-base:    1;
  --z-raised:  10;
  --z-nav:     100;
  --z-overlay: 200;
  --z-modal:   300;
  --z-toast:   400;

  /* ----------------------------------------
     TRANSITION SPEEDS
     ---------------------------------------- */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
  --transition-slower: 600ms ease;

  /* ----------------------------------------
     SHADOWS
     ---------------------------------------- */
  --shadow-sm:   0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-base: 0 2px 8px rgba(0, 0, 0, 0.12);
  --shadow-md:   0 4px 16px rgba(0, 0, 0, 0.14);
  --shadow-lg:   0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-xl:   0 16px 48px rgba(0, 0, 0, 0.20);

  /* ----------------------------------------
     BORDERS
     ---------------------------------------- */
  --border-thin:  1px solid var(--color-gray-300);
  --border-rule:  1px solid var(--color-green);
  --border-gold:  1px solid var(--color-gold);

  /* ----------------------------------------
     ASPECT RATIOS
     ---------------------------------------- */
  --ratio-hero:     56.25%;  /* 16:9  */
  --ratio-card:     62.5%;   /* 16:10 */
  --ratio-square:   100%;
  --ratio-portrait: 133%;    /* 3:4   */
  --ratio-cinema:   42%;     /* ~21:9 */
}
