/* Metric-adjusted fallbacks: make the system font occupy the same space as the web font
   so swapping in the real font moves nothing (reduces CLS).
   Computed with fontTools from the actual files: size-adjust = web avg advance / fallback avg advance
   (English letter-frequency weighted, plus space, at weight 400); ascent/descent/line-gap overrides =
   web font hhea metrics divided by size-adjust. See ASSETS-MANIFEST.md for the method and caveats.
   Use in the font stacks:  --serif:'Cormorant Garamond','Cormorant Fallback',Georgia,serif;
                            --sans:'Jost','Jost Fallback',system-ui,sans-serif;
   Android has neither Georgia nor Arial/Times New Roman, so local() fails there and the
   generic serif/sans-serif is used unadjusted (no harm, no gain). */

/* Cormorant vs Georgia (Mac, iOS, Windows) */
@font-face{font-family:'Cormorant Fallback';font-style:normal;font-weight:300 600;
  src:local('Georgia');
  size-adjust:88.45%;ascent-override:104.46%;descent-override:32.45%;line-gap-override:0%}
@font-face{font-family:'Cormorant Fallback';font-style:italic;font-weight:300 500;
  src:local('Georgia Italic'),local('Georgia-Italic');
  size-adjust:78.21%;ascent-override:118.14%;descent-override:36.69%;line-gap-override:0%}

/* Alternative: Cormorant vs Times New Roman (use instead of the Georgia pair if the stack goes to Times) */
@font-face{font-family:'Cormorant Fallback TNR';font-style:normal;font-weight:300 600;
  src:local('Times New Roman'),local('TimesNewRomanPSMT');
  size-adjust:97.34%;ascent-override:94.92%;descent-override:29.48%;line-gap-override:0%}
@font-face{font-family:'Cormorant Fallback TNR';font-style:italic;font-weight:300 500;
  src:local('Times New Roman Italic'),local('TimesNewRomanPS-ItalicMT');
  size-adjust:87.57%;ascent-override:105.51%;descent-override:32.77%;line-gap-override:0%}

/* Jost vs Arial */
@font-face{font-family:'Jost Fallback';font-style:normal;font-weight:300 500;
  src:local('Arial'),local('ArialMT'),local('Helvetica');
  size-adjust:95.70%;ascent-override:111.81%;descent-override:39.19%;line-gap-override:0%}

/* Pinyon Script and the Sinhala fonts: no adjusted fallback (script has no like-for-like system face;
   Sinhala only loads on demand). */
