/*
 * The customer's display face for headings: Fraunces 600, latin, self-hosted (SIL OFL 1.1, see
 * Fraunces-OFL.txt beside it). Kept outside customer/src because the repo's fonts test lets only
 * packages/ui's fonts.css name a family; this is the one customer exception (needs-human N-234).
 * Loaded by a link in index.html, from the app's own origin.
 */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/fraunces-latin-600-normal.woff2') format('woff2');
}

/* Times New Roman (Liberation Serif) scaled toward Fraunces' metrics so the swap moves little. */
@font-face {
  font-family: 'Fraunces Fallback';
  font-weight: 600;
  src: local('Times New Roman Bold'), local('Liberation Serif Bold'), local('Georgia Bold');
  size-adjust: 104%;
  ascent-override: 90%;
  descent-override: 23%;
  line-gap-override: 0%;
}

:root[data-app='customer'] {
  --gd-font-display: 'Fraunces', 'Fraunces Fallback', Georgia, 'Times New Roman', serif;
}
