/* ============================================================
   Marginalia — Typography tokens
   Four roles: marker display, handwriting, body UI, typewriter.
   ============================================================ */
:root {
  /* --- Families ---
     'Pretendard' is listed first but is declared (in pretendard.css)
     only for Hangul/CJK unicode-ranges, so it renders KOREAN text while
     Latin glyphs fall through to the brand faces below. */
  --font-display: 'Pretendard', 'Caveat Brush', 'Comic Sans MS', cursive;     /* chunky marker headlines */
  --font-hand:    'Pretendard', 'Caveat', 'Segoe Script', cursive;            /* flowing handwriting / annotations */
  --font-body:    'Pretendard', 'Courier Prime', ui-monospace, 'Courier New', monospace; /* UI + reading text (was Nunito) */
  --font-mono:    'Pretendard', 'Courier Prime', ui-monospace, 'Courier New', monospace; /* typed diary / metadata */

  /* --- Type scale (rem, 1rem = 16px) --- */
  --text-2xs: 0.6875rem;  /* 11px — stamps, tiny meta */
  --text-xs:  0.8125rem;  /* 13px */
  --text-sm:  0.9375rem;  /* 15px */
  --text-md:  1rem;       /* 16px — body base */
  --text-lg:  1.1875rem;  /* 19px */
  --text-xl:  1.5rem;     /* 24px */
  --text-2xl: 2rem;       /* 32px */
  --text-3xl: 2.75rem;    /* 44px */
  --text-4xl: 3.75rem;    /* 60px */
  --text-5xl: 5rem;       /* 80px — hero marker */

  /* --- Weights (Nunito) --- */
  --fw-regular: 400;  /* @kind font */
  --fw-medium:  500;  /* @kind font */
  --fw-semibold:600;  /* @kind font */
  --fw-bold:    700;  /* @kind font */
  --fw-extra:   800;  /* @kind font */

  /* --- Line heights --- */
  --lh-tight:   1.05;   /* @kind font */
  --lh-snug:    1.25;   /* @kind font */
  --lh-normal:  1.55;   /* @kind font */
  --lh-relaxed: 1.7;    /* @kind font */

  /* --- Letter spacing --- */
  --ls-tight:  -0.01em; /* @kind font */
  --ls-normal: 0;       /* @kind font */
  --ls-wide:   0.04em;  /* @kind font */
  --ls-stamp:  0.14em;  /* @kind font */
}
