/* fhg-scale.css — one reading size across the estate. Release 56, 15 Nov 2026.
 *
 * Owner: "One page is easy to see and read. The next I need to zoom." Measured
 * on the release 55 tree, the median running text ran from 12.5px to 18.5px
 * between pages, and the institutions pages needed 120% zoom. The cause was
 * not one bad size but a thousand page-local ones, each chosen against its own
 * neighbor, in a face (Tinos, Times New Roman's metrics) whose x-height is
 * about 86% of a sans's: scripts/reading-size-guard.py has the measurement.
 *
 * THE SCALE. One set of sizes, byte-identical on fhguniversity.com and
 * fairleyholdings.com, linked by every page before its own styles. Page CSS
 * picks a token; it never types a size (scripts/type-scale-guard.py).
 *
 *   --fs-body   18.5px   running text, cards, tables, forms, on every width.
 *                        Not 18: scripts/reading-size-guard.py measured that
 *                        Tinos needs 18.1px to read like a 15.5px sans, the
 *                        size that needs no zoom, and its floors are not
 *                        lowered to fit a scale
 *   --fs-small  16px     secondary and supporting text, notes, captions
 *   --fs-fine   15px     fine print: the floor for anything a reader must read
 *   --fs-label  14px     uppercase, letter-spaced eyebrows and labels, chip
 *                        counts and badges only
 *   --fs-1 ... --fs-7    headings and display, on one ratio of 1.2 from the
 *                        body size (22.2, 26.6, 32, 38.4, 46, 55.2, 66.3);
 *                        from --fs-3 up they narrow on a phone, never below
 *                        the step under them
 *
 * Changing a value here changes both sites at once, which is the point. The
 * decision is design decision DD30 in config/design-decisions.json.
 */
:root {
  --fs-label: 14px;
  --fs-fine: 15px;
  --fs-small: 16px;
  --fs-body: 18.5px;
  --fs-1: 22.2px;
  --fs-2: 26.64px;
  --fs-3: clamp(26.64px, 2.6vw, 31.97px);
  --fs-4: clamp(28px, 3.4vw, 38.36px);
  --fs-5: clamp(31px, 4.2vw, 46.04px);
  --fs-6: clamp(34px, 5vw, 55.24px);
  --fs-7: clamp(40px, 6.4vw, 66.29px);
}

/* Running text that sets no size of its own reads at the body size. */
body { font-size: var(--fs-body); }
