/* The letterforms, kept locally. The app must render the firm's
   identity with the internet down, and a law office should not announce
   every page view to a font host. */

/* ONE VARIABLE FILE, EVERY WEIGHT, AND IT WAS ALREADY HERE TWICE.

   This declared DM Sans at 400 and at 500 from two files,
   `DMSans-400.woff2` and `DMSans-500.woff2`. They were byte identical,
   sha256 9fea608a947e6702, 36,932 bytes each: one variable font stored
   twice and pinned to a single weight in each declaration.

   Two costs came out of that. The browser fetched the same 36KB twice.
   And a variable face pinned to 400 can only ever draw 400, so the 89
   elements on the Caseload asking for DM Sans at 600 or 700, which is
   every table column header and the Find button, were drawn by the
   browser's own algorithmic emboldening. Synthetic bold is a smear of
   the 500, and it is why the weight hierarchy read as mush.

   Declared as a range, the one file answers 400, 500, 600 and 700 with
   the letterforms the type designer drew. */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/static/fonts/DMSans-var.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/static/fonts/PlayfairDisplay-700.woff2') format('woff2');
}

/* THE MONO WAS SOMEBODY ELSE'S FONT.

   `--mono` named "SF Mono" first, which is an Apple typeface and is not
   on this machine, so every rule citation on the surface was rendering
   in whatever the stack fell through to. On Windows 11 that is Cascadia
   Mono, which is a decent face and was not a decision anybody made.

   JetBrains Mono is vendored for the same reason as the rest: a rule
   number is a reference and it should look the same on every machine
   that opens the file. 5KB. */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('/static/fonts/JetBrainsMono-var.woff2') format('woff2');
}
