/* People Commons - self hosted web fonts.
   Replaces the Google Fonts link. Add this one line to the <head> of any page,
   before /pc-styles.css:
     <link rel="stylesheet" href="/fonts/fonts.css">

   Nothing here reaches outside peoplecommons.com. The files come from the
   official open source releases of each family and are covered by the SIL
   Open Font License, see OFL.txt in this folder.

   Bricolage Grotesque and Instrument Sans are the brand faces and are used on
   every page. The other three are only offered inside the carousel editor, so
   a browser downloads them only on the page that actually uses them. */

/* ---------- brand ---------- */

/* One file covers every weight. The optical size axis is kept, so the letter
   shapes still adjust with the type size the way they did before. */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/fonts/bricolage-grotesque.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Sans';
  src: url('/fonts/instrument-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- carousel display faces ---------- */

@font-face {
  font-family: 'Playfair Display';
  src: url('/fonts/playfair-display-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/poppins-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
