/* Self-hosted fonts. Mirrors the Figma type stack so the site renders
 * even when Google Fonts is blocked or down. Pulled from
 * @expo-google-fonts/{instrument-serif,poppins} and woff2_compress'd.
 */

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

@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/InstrumentSerif_400Regular_Italic.woff2') format('woff2');
}

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

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

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

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

/* Noto Serif KR — subsetted to Latin + Hangul + saju-engine Hanja
 * (~155 CJK chars). Lazy: browsers only fetch the woff2 if the page
 * actually renders a Korean/Hanja glyph, so English-only pages pay
 * nothing for these declarations.
 */

@font-face {
  font-family: 'Noto Serif KR';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/NotoSerifKR_400Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Serif KR';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/NotoSerifKR_600SemiBold.woff2') format('woff2');
}
