/* ==========================================================================
   FONT CONFIG — the only file in the build that names a font file.

   Reckless Standard M Book, LICENSED (Displaay invoice DP16932: Desktop +
   Print, Web; licensee Eloise Reed). The Web usage permits self-hosting via
   @font-face, which is all this does. The file is the woff2 from Displaay's
   Web package, unmodified.

   ONE STYLE. There is no Medium, no Bold, no Italic in the licence, so the
   whole site is set in Book and hierarchy comes from size, colour and space.
   It is declared at weight 300 so that every `font-weight: 300` in the CSS
   matches it exactly; `font-synthesis: none` (site.css) stops the browser
   faking a bold or an italic anywhere.
   ========================================================================== */

@font-face {
  font-family: 'Reckless';
  src: url('../assets/fonts/RecklessStandardM-Book.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Metric-matched fallback, so the font swap costs no layout shift.
   Licensed Book has identical vertical metrics to the trial it replaces
   (1000 upm, asc 883, desc 212, x-height 499, cap 668), so these stand. */
@font-face {
  font-family: 'Reckless Fallback';
  src: local('Georgia'), local('Times New Roman'), local('Times');
  size-adjust: 100.9%;
  ascent-override: 87.5%;
  descent-override: 21%;
  line-gap-override: 0%;
}
