/*
 * The Taipei Review — self-hosted webfonts.
 *
 * Instrument Serif (display), Space Grotesk (UI/body) and a two-part subset of
 * Noto Serif TC (decorative Traditional Chinese). Self-hosted so the theme
 * makes no third-party request, and so the block editor renders in the same
 * faces as the front end.
 *
 * The Chinese face is split in two: a 27-glyph "core" carrying the characters
 * the theme's own furniture uses (the seal, 索引, 週報, 實用資訊, 臺北旅遊誌…)
 * which is ~15 KB and always loads, and a 220-glyph "extended" file that only
 * downloads if an editor writes Chinese outside that set. Anything outside
 * both falls through to the system CJK serif named in --han.
 *
 * Instrument Serif and Space Grotesk: SIL Open Font License 1.1.
 * Noto Serif TC: SIL Open Font License 1.1.
 */

/* Instrument Serif — roman, latin */
@font-face {
	font-family: "Instrument Serif";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/instrument-serif-400-latin.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;
}

/* Instrument Serif — roman, latin-ext */
@font-face {
	font-family: "Instrument Serif";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/instrument-serif-400-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Instrument Serif — italic, latin */
@font-face {
	font-family: "Instrument Serif";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/instrument-serif-italic-latin.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;
}

/* Instrument Serif — italic, latin-ext */
@font-face {
	font-family: "Instrument Serif";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/instrument-serif-italic-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Space Grotesk — variable 300–700, latin */
@font-face {
	font-family: "Space Grotesk";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/space-grotesk-var-latin.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;
}

/* Space Grotesk — variable 300–700, latin-ext */
@font-face {
	font-family: "Space Grotesk";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/space-grotesk-var-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Noto Serif TC — core subset (theme furniture) */
@font-face {
	font-family: "Noto Serif TC";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("../fonts/noto-serif-tc-core.woff2") format("woff2");
	unicode-range: U+4e2d, U+5316-5317, U+5357, U+53f0, U+5831, U+591c, U+5be6, U+5e02, U+5f15, U+5f71, U+6307, U+651d, U+6587, U+65c5, U+7528, U+7d22, U+7e41, U+81fa, U+8857, U+8a0a, U+8a8c, U+8cc7, U+8fea, U+9031, U+904a, U+9ad4;
}

/* Noto Serif TC — extended subset (editorial Chinese) */
@font-face {
	font-family: "Noto Serif TC";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("../fonts/noto-serif-tc-ext.woff2") format("woff2");
	unicode-range: U+4e00, U+4e03, U+4e09-4e0b, U+4e3b, U+4e5d, U+4e8c, U+4e94, U+4ea4, U+4eba, U+4efd, U+4f4f, U+4f5c, U+4f73, U+4f86, U+4fe1, U+50f9, U+514d, U+5167, U+516b-516d, U+51ac, U+51fa, U+5206-5207, U+520a, U+524d, U+5305, U+5341, U+5348, U+535a, U+5361, U+53e3-53e4, U+53f2, U+5403, U+540c, U+5496, U+54c1, U+5546, U+5561, U+56db, U+5708, U+5712, U+5716, U+5718, U+5730, U+57fa, U+5834, U+58eb, U+590f, U+5927, U+5929, U+5b50, U+5b57, U+5b63, U+5b87, U+5b9c, U+5bbf, U+5bc6, U+5bfa, U+5c08, U+5c0b, U+5c0e-5c0f, U+5c55, U+5c71, U+5cb8, U+5e73, U+5e97, U+5edf, U+5ef3, U+5f0f, U+5f8c, U+5fc3, U+5fc5, U+60a0, U+610f, U+623f, U+6295, U+6377, U+6392, U+63a8, U+63d0, U+63db, U+641c, U+653b, U+653e, U+6599, U+65b0, U+65bc, U+65e5, U+65e9, U+6625, U+6642, U+665a, U+666f, U+6674, U+66f4, U+6700, U+671f, U+677e, U+6797, U+683c, U+6843, U+689d, U+696d, U+6a23, U+6a5f, U+6b0a, U+6b3e, U+6b65, U+6b77, U+6c11, U+6c23, U+6c34, U+6cb3, U+6cc9, U+6ce8, U+6d77, U+6de1, U+6e2f, U+6e56, U+6e6f, U+6e90, U+6eaa-6eab, U+6f22, U+6f3f, U+6f6e, U+6ff1, U+706b, U+7136, U+71df, U+7247-7248, U+725b, U+7269, U+745e, U+751c, U+7565, U+767e, U+76ee, U+79c1, U+79cb, U+79d2, U+79d8, U+7a0b, U+7ad9, U+7b2c, U+7bc0, U+7c21, U+7d61, U+7db4, U+7de8, U+7f8e, U+7fa9, U+8001, U+8005, U+806f, U+8089, U+81ea, U+82b1, U+82b3, U+82f1, U+8336, U+83ef, U+842c, U+8449, U+84ee, U+85a6, U+862d, U+865f, U+884c, U+8853, U+89bd, U+8a00, U+8a02, U+8a08, U+8a2a, U+8a2d, U+8a9e, U+8c46, U+8ca8, U+8cbb, U+8cfc, U+8e5f, U+8eca, U+8f2f, U+901a, U+904b, U+9053, U+907f, U+9192, U+9304, U+9435, U+958b, U+9593, U+95b1, U+95dc, U+9662, U+9686, U+968a, U+96b1, U+96de, U+96e8, U+96fb, U+984c, U+98a8, U+98df, U+98ef, U+98f2, U+9903, U+9910, U+9928, U+9ad8, U+9eb5, U+9ede;
}
