/* Self-hosted font declarations (GE-2758).
   Lives in public/ so Vite copies it through untouched and the absolute
   /fonts/... URLs survive the build (vite.config.ts uses base:'' which
   would otherwise rewrite them to relative paths and break under
   index.html hash-routing redirects). */

/* Poppins — full brand-guide weight set (200–800).
   Browsers fetch on demand, so unused weights don't cost bandwidth.
   Weights 500 (Medium) and 700 (Bold) were previously missing from the
   CDN setup — ~600 elements were rendering with synthetic weights.
   Also registered for PDFs in src/utils/pdf/pdfFonts.ts. */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('/fonts/Poppins/Poppins-ExtraLight.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/Poppins/Poppins-Light.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Poppins/Poppins-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/Poppins/Poppins-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/Poppins/Poppins-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Poppins/Poppins-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/Poppins/Poppins-ExtraBold.ttf') format('truetype');
}

/* Wedges — display font (also registered for PDFs as 'Playful') */
@font-face {
  font-family: 'Wedges';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Wedges/Wedges.woff') format('woff');
}
