/* system.css: the site's design system, loaded first by every page. For now: the type scale (his call 2026-10-14).

   Six roles, and every piece of text on the site uses one of them, never a size of its own. Pick by what the text
   does, not by how big it should look; weight (500/600) is the only variation within a role.

   Fluid: each size grows evenly from its phone value (at a 390px window) to its desktop value (at 1440px), and stops
   there. All of them grow at the same rate, so the steps keep their proportions at every width. In rem, so a reader
   who raises the browser's text size scales the whole system. Sizes on the 8px grid; Label is the floor. */
:root {
  --fs-display:  clamp(2.5rem, 1.7571rem + 3.0476vw, 4.5rem);    /* 40 → 72  the panel's title: the name, a project's or case's name */
  --fs-headline: clamp(2rem, 1.4429rem + 2.2857vw, 3.5rem);      /* 32 → 56  a page's opening statement; the email address */
  --fs-heading:  clamp(1.5rem, 1.3143rem + .7619vw, 2rem);       /* 24 → 32  section headings */
  --fs-lead:     clamp(1.125rem, .9857rem + .5714vw, 1.5rem);    /* 18 → 24  the line under a statement; sub-headings, in 600 */
  --fs-body:     clamp(1rem, .9536rem + .1905vw, 1.125rem);      /* 16 → 18  all running text; links and buttons, in 600 */
  --fs-label:    .875rem;                                        /* 14       labels, captions, numbers, meta */

  --lh-display: .92;   --ls-display: -.05em;
  --lh-headline: 1.02; --ls-headline: -.045em;
  --lh-heading: 1.16;  --ls-heading: -.032em;
  --lh-lead: 1.38;     --ls-lead: -.015em;
  --lh-body: 1.5;      --ls-body: normal;
  --lh-label: 1.4;     --ls-label: -.005em;
}
