/* ════════════════════════════════════════════════════════════════
   Self-hosted Google Fonts - Roboto + Roboto Condensed
   ════════════════════════════════════════════════════════════════

   WHY: Google Fonts loads asynchronously. Even with display=optional,
   the font files arrive after first paint and replace the fallback,
   causing text elements to change width by 2-8px (visible "flicker").

   FIX: Self-host the woff2 files and preload them. The browser fetches
   fonts from the same domain (no DNS lookup, no external request delay)
   and they're available at first paint → no font swap → no size change.

   These are variable fonts (single file covers all weights 100-900).
   Only Latin + Latin-ext subsets are self-hosted. Other scripts
   (Georgian, Cyrillic, Greek, etc.) use Noto Sans fonts loaded
   separately from Google Fonts with display=optional.

   FAMILY NAME: our Roboto ships as 'Ino Roboto', NOT 'Roboto'.
   Google Maps injects fonts.googleapis.com CSS that redefines 'Roboto'
   with static weights (300/400/500/700). Since the last-declared
   @font-face wins, those late faces (~2.5s) would hijack page text and
   re-render it with different metrics (visible "swell" + CLS).
   A unique family name makes the collision impossible.
*/

/* Roboto - body font (variable, covers 100-900). Named 'Ino Roboto'
   so Google Maps' injected 'Roboto' faces can never hijack our text. */
@font-face {
	font-family: 'Ino Roboto';
	font-style: normal;
	font-stretch: 100%;
	font-weight: 100 900;
	font-display: block;  /* Wait for font - it's preloaded, so ~0ms wait */
	src: url('/assets/fonts/self-hosted/roboto-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Ino Roboto';
	font-style: normal;
	font-stretch: 100%;
	font-weight: 100 900;
	font-display: block;
	src: url('/assets/fonts/self-hosted/roboto-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Roboto Condensed - heading font (variable, covers 100-900) */
@font-face {
	font-family: 'Roboto Condensed';
	font-style: normal;
	font-stretch: 100%;
	font-weight: 100 900;
	font-display: block;
	src: url('/assets/fonts/self-hosted/roboto-condensed-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Roboto Condensed';
	font-style: normal;
	font-stretch: 100%;
	font-weight: 100 900;
	font-display: block;
	src: url('/assets/fonts/self-hosted/roboto-condensed-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Ino Roboto symbols slice (stars, arrows, geometric shapes) - moved here
   from deferred script-fonts.css: rating stars paint on nearly every page,
   so this slice must be a critical face. Measured on cold loads it was the
   single late font on detail/home/search, arriving ~300-400ms after the
   preload wave and swapping star glyphs mid-paint. It is preloaded in
   master head, so font-display:block resolves in ~0ms. */
@font-face {
	font-family: 'Ino Roboto';
	font-style: normal;
	font-stretch: 100%;
	font-weight: 100 900;
	font-display: block;
	src: url('/assets/fonts/self-hosted/roboto/symbols.14.woff2') format('woff2');
	unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AD, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F7FF, U+1F800-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FA89, U+1FA8F-1FAC6, U+1FACE-1FADC, U+1FADF-1FAE9, U+1FAF0-1FAF8, U+1FB00-1FBFF;
}
