/* 01-settings/_typography.css — one monospace family does every job. Hierarchy from
   weight/case/tone/tracking, never a second face. Box-drawing glyphs must render in this
   family at the cell width, so the stack is mono end to end. */
:root {
  /* the one family. Working default = system-mono. Self-host upgrade: JetBrains Mono /
     IBM Plex Mono (drop woff2 in fonts/, add @font-face in 03-generic, prepend here). */
  --font-mono: ui-monospace, "JetBrains Mono", "Cascadia Code", "SF Mono",
               "IBM Plex Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace;
  --font-body: var(--font-mono);

  /* tight modular scale — terminal-ish, not a print scale */
  --text-xs:  0.78rem;
  --text-sm:  0.875rem;
  --text-md:  1rem;     /* base cell */
  --text-lg:  1.15rem;
  --text-xl:  1.4rem;
  --text-2xl: clamp(1.6rem, 1.2rem + 1.6vw, 1.95rem);
  --text-3xl: clamp(2.1rem, 1.4rem + 2.8vw, 2.6rem);

  /* line-height = the cell grid. Body wants room; chrome/code wants 1 cell. */
  --lh-tight: 1.2;
  --lh-cell:  1.45;   /* the rhythm unit for prose */
  --lh-code:  1.5;

  --fw-regular: 400;
  --fw-medium:  500;
  --fw-bold:    700;

  /* tracking — UPPER labels get air; body none */
  --tracking-label: 0.14em;
  --tracking-wide:  0.04em;

  --ch: 1ch; /* the horizontal cell — layout measures in ch */
}
