/**
 * Self-hosted fonts: Fraunces + Karla (base), plus the 1.7.0 culture-style faces below.
 * Replaces the Google Fonts CDN request that used to run in inc/enqueue.php.
 * Files live in ../fonts/. Paths here are resolved relative to this
 * stylesheet's own URL, so no PHP path-building is needed.
 */

@font-face {
	font-family: 'Fraunces';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	font-optical-sizing: auto;
	src: url('../fonts/Fraunces.woff2') format('woff2');
}

@font-face {
	font-family: 'Fraunces';
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	font-optical-sizing: auto;
	src: url('../fonts/Fraunces-Italic.woff2') format('woff2');
}

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

@font-face {
	font-family: 'Karla';
	font-style: italic;
	font-weight: 200 800;
	font-display: swap;
	src: url('../fonts/Karla-Italic.woff2') format('woff2');
}

/* ------------------------------------------------------------------
   1.7.0 — culture-style faces. Each style swaps in its own display and
   body faces (see assets/css/nak-culture.css), so a visitor only ever
   downloads the files for the style they are actually looking at: a
   @font-face is fetched only once an element renders with it.

   Indian : Rozha One (display) + Mukta (body)
   Khmer  : Marcellus (display) + Karla (body, above)
   Fusion : Fraunces + Karla (above)
   All    : Noto Serif Khmer — for Khmer dish names and any Khmer script
            in a heading; declared with the Khmer unicode-range so it
            costs nothing on pages with no Khmer text.

   Latin subsets only, from the Fontsource distribution (SIL OFL).
   ------------------------------------------------------------------ */

@font-face {
	font-family: 'Rozha One';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/RozhaOne.woff2') format('woff2');
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
	font-family: 'Marcellus';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/Marcellus.woff2') format('woff2');
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
	font-family: 'Mukta';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/Mukta-400.woff2') format('woff2');
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
	font-family: 'Mukta';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/Mukta-600.woff2') format('woff2');
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
	font-family: 'Mukta';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/Mukta-700.woff2') format('woff2');
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
	font-family: 'Noto Serif Khmer';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/NotoSerifKhmer.woff2') format('woff2-variations');
	unicode-range: U+1780-17FF,U+19E0-19FF,U+200C-200D,U+25CC;
}
