/*
 * Averta @font-face declarations for the global-fan-seller-ui app.
 *
 * font-display: swap → render fallback (helvetica/arial) immediately, swap to
 *   Averta when downloaded. Avoids invisible text during font load.
 *
 * Metric overrides match Averta's x-height and ascent/descent to its
 * helvetica/arial fallback (declared in app/components/GlobalStyles.tsx),
 * eliminating CLS at the swap moment. Values calibrated with
 * https://meowni.ca/font-style-matcher/ against helvetica.
 */
@font-face {
  font-family: 'Averta';
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  size-adjust: 96.5%;
  ascent-override: 95%;
  descent-override: 22%;
  line-gap-override: 0%;
  src: url('fonts/averta-black.woff2') format('woff2');
}
@font-face {
  font-family: 'Averta';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  size-adjust: 96.5%;
  ascent-override: 95%;
  descent-override: 22%;
  line-gap-override: 0%;
  src: url('fonts/averta-extrabold.woff2') format('woff2');
}
@font-face {
  font-family: 'Averta';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  size-adjust: 96.5%;
  ascent-override: 95%;
  descent-override: 22%;
  line-gap-override: 0%;
  src: url('fonts/averta-bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Averta';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  size-adjust: 96.5%;
  ascent-override: 95%;
  descent-override: 22%;
  line-gap-override: 0%;
  src: url('fonts/averta-semibold.woff2') format('woff2');
}
@font-face {
  font-family: 'Averta';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  size-adjust: 96.5%;
  ascent-override: 95%;
  descent-override: 22%;
  line-gap-override: 0%;
  src: url('fonts/averta-regular.woff2') format('woff2');
}
