/* Self-hosted, pinned fonts. See docs/m0/fonts.md for sources, versions,
   licences and sha256 of every file below. All files are served from
   /fonts (this directory) — no requests to fonts.googleapis.com or
   fonts.gstatic.com. font-display: block avoids a fallback-font flash
   before the Malayalam glyphs are ready (these are short, local files). */

@font-face {
  font-family: 'Courier Prime';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('./courier-prime-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Courier Prime';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url('./courier-prime-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Manjari';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('./manjari-malayalam-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Manjari';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url('./manjari-malayalam-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Sans Malayalam';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('./noto-sans-malayalam-malayalam-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans Malayalam';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url('./noto-sans-malayalam-malayalam-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Serif Malayalam';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('./noto-serif-malayalam-malayalam-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Serif Malayalam';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url('./noto-serif-malayalam-malayalam-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Gayathri';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('./gayathri-malayalam-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Gayathri';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url('./gayathri-malayalam-700-normal.woff2') format('woff2');
}

/* Rachana: traditional (non-reformed) Malayalam orthography, from the
   Swathanthra Malayalam Computing (SMC) project. Upstream ships only TTF;
   these woff2 files were produced locally from that TTF with fontTools
   (lossless sfnt->woff2 repack, no reshaping/hinting change) — see
   docs/m0/fonts.md for the sha256 of both the original TTF and this woff2. */
@font-face {
  font-family: 'Rachana';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('./Rachana-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Rachana';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url('./Rachana-Bold.woff2') format('woff2');
}
