/* CounselPress — Typography tokens */

:root {
  /* Families */
  --font-serif-display: 'Libre Caslon Display', 'Libre Caslon Text', Georgia, 'Times New Roman', serif; /* @kind font */
  --font-serif-text:    'Libre Caslon Text', Georgia, 'Times New Roman', serif; /* @kind font */
  --font-sans:          'Libre Franklin', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif; /* @kind font */
  --font-mono:          'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace; /* @kind font */

  /* Weights */
  --fw-light:    300; /* @kind other */
  --fw-regular:  400; /* @kind other */
  --fw-medium:   500; /* @kind other */
  --fw-semibold: 600; /* @kind other */
  --fw-bold:     700; /* @kind other */

  /* Fluid display scale (editorial serif) */
  --fs-display-1: clamp(2.75rem, 1.9rem + 3.6vw, 4.5rem); /* @kind other */
  --fs-display-2: clamp(2.25rem, 1.7rem + 2.4vw, 3.25rem); /* @kind other */
  --fs-h1: clamp(2rem, 1.6rem + 1.7vw, 2.75rem); /* @kind other */
  --fs-h2: clamp(1.6rem, 1.35rem + 1.05vw, 2.1rem); /* @kind other */
  --fs-h3: clamp(1.3rem, 1.18rem + 0.55vw, 1.6rem); /* @kind other */
  --fs-h4: 1.2rem; /* @kind other */

  /* Text scale (sans) */
  --fs-lead:  1.25rem; /* @kind other */
  --fs-body:  1.0625rem; /* @kind other */
  --fs-sm:    0.9375rem; /* @kind other */
  --fs-xs:    0.8125rem; /* @kind other */
  --fs-eyebrow: 0.75rem; /* @kind other */

  /* Line heights */
  --lh-tight:   1.08; /* @kind other */
  --lh-heading: 1.18; /* @kind other */
  --lh-snug:    1.4; /* @kind other */
  --lh-body:    1.65; /* @kind other */

  /* Letter spacing */
  --ls-display:  -0.01em; /* @kind other */
  --ls-tight:    -0.005em; /* @kind other */
  --ls-normal:   0; /* @kind other */
  --ls-eyebrow:  0.14em; /* @kind other */
  --ls-caps:     0.06em; /* @kind other */

  /* Semantic roles */
  --leading-body: var(--lh-body); /* @kind other */
  --measure: 68ch; /* @kind other */
  --measure-narrow: 54ch; /* @kind other */
}
