/* Epsilon's faces, self-hosted under the client's licence: Avenir Next for
 * headings, Avenir for body. Weights match apps/mobile/src/theme/avenirFaces.ts
 * (Avenir has no 600/700 cut: 600 shares Medium, 700 is Heavy).
 * woff2 first (about a third of the size); the TTF is the fallback and the
 * source the woff2 was made from (fontTools, lossless). */

@font-face {
  font-family: 'Avenir Next';
  src: url('/fonts/AvenirNext-Regular.woff2') format('woff2'), url('/fonts/AvenirNext-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('/fonts/AvenirNext-Medium.woff2') format('woff2'), url('/fonts/AvenirNext-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('/fonts/AvenirNext-DemiBold.woff2') format('woff2'), url('/fonts/AvenirNext-DemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('/fonts/AvenirNext-Bold.woff2') format('woff2'), url('/fonts/AvenirNext-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir Next';
  src: url('/fonts/AvenirNext-Heavy.woff2') format('woff2'), url('/fonts/AvenirNext-Heavy.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir';
  src: url('/fonts/Avenir-Roman.woff2') format('woff2'), url('/fonts/Avenir-Roman.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir';
  src: url('/fonts/Avenir-Medium.woff2') format('woff2'), url('/fonts/Avenir-Medium.ttf') format('truetype');
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir';
  src: url('/fonts/Avenir-Heavy.woff2') format('woff2'), url('/fonts/Avenir-Heavy.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir';
  src: url('/fonts/Avenir-Black.woff2') format('woff2'), url('/fonts/Avenir-Black.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
