/* Bits&Pieces — Typography tokens */
:root {
  /* Families */
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', system-ui, sans-serif; /* @kind font */
  --font-body:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;   /* @kind font */
  --font-mono:    'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;     /* @kind font */

  /* Weights */
  --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 */ /* Plus Jakarta only */

  /* Fluid display scale (poster energy) */
  --fs-display-1: clamp(3rem, 1.5rem + 6vw, 6rem);          /* @kind other */
  --fs-display-2: clamp(2.25rem, 1.2rem + 4.2vw, 4.25rem);  /* @kind other */
  --fs-h1: clamp(2rem, 1.3rem + 2.6vw, 3rem);               /* @kind other */
  --fs-h2: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);          /* @kind other */
  --fs-h3: clamp(1.3rem, 1.1rem + 0.9vw, 1.625rem);         /* @kind other */
  --fs-h4: 1.25rem;        /* @kind font */
  --fs-lead: 1.25rem;      /* @kind font */ /* intro paragraph */
  --fs-body: 1rem;         /* @kind font */ /* 16px base */
  --fs-sm: 0.875rem;       /* @kind font */
  --fs-xs: 0.75rem;        /* @kind font */
  --fs-overline: 0.6875rem;/* @kind font */ /* uppercase eyebrows */
  --fs-mono: 0.8125rem;    /* @kind font */ /* timecodes */

  /* Line heights */
  --lh-tight: 1.02;   /* @kind font */ /* display */
  --lh-snug: 1.12;    /* @kind font */ /* headings */
  --lh-normal: 1.55;  /* @kind font */ /* body */
  --lh-relaxed: 1.7;  /* @kind font */

  /* Letter spacing */
  --ls-display: -0.03em; /* @kind font */ /* tight, punchy */
  --ls-heading: -0.02em; /* @kind font */
  --ls-body: 0em;        /* @kind font */
  --ls-overline: 0.14em; /* @kind font */ /* wide uppercase */
  --ls-mono: 0.02em;     /* @kind font */

  /* Semantic text shorthands */
  --text-display: var(--fw-bold) var(--fs-display-1)/var(--lh-tight) var(--font-display); /* @kind other */
  --text-h1:      var(--fw-bold) var(--fs-h1)/var(--lh-snug) var(--font-display);          /* @kind other */
  --text-body:    var(--fw-regular) var(--fs-body)/var(--lh-normal) var(--font-body);      /* @kind other */
}
