/**
 * mio.land - Fonts System
 * All fonts are self-hosted and licensed under OFL (Open Font License)
 * These fonts can be embedded in exports (SVG, HTML, PDF)
 */

/* ================================
   INTER - UI Default
   ================================ */
@font-face {
    font-family: 'Inter';
    src: url('./lib/fonts/Inter/static/Inter_18pt-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./lib/fonts/Inter/static/Inter_18pt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./lib/fonts/Inter/static/Inter_18pt-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./lib/fonts/Inter/static/Inter_18pt-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./lib/fonts/Inter/static/Inter_18pt-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./lib/fonts/Inter/static/Inter_18pt-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* ================================
   LATO - Friendly Sans
   ================================ */
@font-face {
    font-family: 'Lato';
    src: url('./lib/fonts/Lato/Lato-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('./lib/fonts/Lato/Lato-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('./lib/fonts/Lato/Lato-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('./lib/fonts/Lato/Lato-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('./lib/fonts/Lato/Lato-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('./lib/fonts/Lato/Lato-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('./lib/fonts/Lato/Lato-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('./lib/fonts/Lato/Lato-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('./lib/fonts/Lato/Lato-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('./lib/fonts/Lato/Lato-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* ================================
   MONTSERRAT - Geometric Elegant
   ================================ */
@font-face {
    font-family: 'Montserrat';
    src: url('./lib/fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('./lib/fonts/Montserrat/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* ================================
   NUNITO SANS - Rounded Friendly
   ================================ */
@font-face {
    font-family: 'Nunito Sans';
    src: url('./lib/fonts/Nunito_Sans/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.ttf') format('truetype');
    font-weight: 200 1000;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nunito Sans';
    src: url('./lib/fonts/Nunito_Sans/NunitoSans-Italic-VariableFont_YTLC,opsz,wdth,wght.ttf') format('truetype');
    font-weight: 200 1000;
    font-style: italic;
    font-display: swap;
}

/* ================================
   OPEN SANS - Neutral Readable
   ================================ */
@font-face {
    font-family: 'Open Sans';
    src: url('./lib/fonts/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('./lib/fonts/Open_Sans/OpenSans-Italic-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 300 800;
    font-style: italic;
    font-display: swap;
}

/* ================================
   RUBIK - Geometric Modern
   ================================ */
@font-face {
    font-family: 'Rubik';
    src: url('./lib/fonts/Rubik/Rubik-VariableFont_wght.ttf') format('truetype');
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('./lib/fonts/Rubik/Rubik-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 300 900;
    font-style: italic;
    font-display: swap;
}

/* ================================
   SPACE GROTESK - Tech Modern
   ================================ */
@font-face {
    font-family: 'Space Grotesk';
    src: url('./lib/fonts/Space_Grotesk/static/SpaceGrotesk-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('./lib/fonts/Space_Grotesk/static/SpaceGrotesk-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('./lib/fonts/Space_Grotesk/static/SpaceGrotesk-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('./lib/fonts/Space_Grotesk/static/SpaceGrotesk-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('./lib/fonts/Space_Grotesk/static/SpaceGrotesk-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* ================================
   PLAYFAIR DISPLAY - Elegant Serif
   ================================ */
@font-face {
    font-family: 'Playfair Display';
    src: url('./lib/fonts/Playfair_Display/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('./lib/fonts/Playfair_Display/PlayfairDisplay-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 400 900;
    font-style: italic;
    font-display: swap;
}

/* ================================
   PLAYFAIR DISPLAY SC - Small Caps
   ================================ */
@font-face {
    font-family: 'Playfair Display SC';
    src: url('./lib/fonts/Playfair_Display_SC/PlayfairDisplaySC-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display SC';
    src: url('./lib/fonts/Playfair_Display_SC/PlayfairDisplaySC-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display SC';
    src: url('./lib/fonts/Playfair_Display_SC/PlayfairDisplaySC-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display SC';
    src: url('./lib/fonts/Playfair_Display_SC/PlayfairDisplaySC-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display SC';
    src: url('./lib/fonts/Playfair_Display_SC/PlayfairDisplaySC-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display SC';
    src: url('./lib/fonts/Playfair_Display_SC/PlayfairDisplaySC-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* ================================
   ZILLA SLAB - Modern Slab Serif
   ================================ */
@font-face {
    font-family: 'Zilla Slab';
    src: url('./lib/fonts/Zilla_Slab/ZillaSlab-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zilla Slab';
    src: url('./lib/fonts/Zilla_Slab/ZillaSlab-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Zilla Slab';
    src: url('./lib/fonts/Zilla_Slab/ZillaSlab-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zilla Slab';
    src: url('./lib/fonts/Zilla_Slab/ZillaSlab-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Zilla Slab';
    src: url('./lib/fonts/Zilla_Slab/ZillaSlab-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zilla Slab';
    src: url('./lib/fonts/Zilla_Slab/ZillaSlab-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Zilla Slab';
    src: url('./lib/fonts/Zilla_Slab/ZillaSlab-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zilla Slab';
    src: url('./lib/fonts/Zilla_Slab/ZillaSlab-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Zilla Slab';
    src: url('./lib/fonts/Zilla_Slab/ZillaSlab-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zilla Slab';
    src: url('./lib/fonts/Zilla_Slab/ZillaSlab-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* ================================
   DANCING SCRIPT - Handwritten
   ================================ */
@font-face {
    font-family: 'Dancing Script';
    src: url('./lib/fonts/Dancing_Script/DancingScript-VariableFont_wght.ttf') format('truetype');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

/* ================================
   DM MONO - Clean Monospace
   ================================ */
@font-face {
    font-family: 'DM Mono';
    src: url('./lib/fonts/DM_Mono/DMMono-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Mono';
    src: url('./lib/fonts/DM_Mono/DMMono-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DM Mono';
    src: url('./lib/fonts/DM_Mono/DMMono-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Mono';
    src: url('./lib/fonts/DM_Mono/DMMono-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DM Mono';
    src: url('./lib/fonts/DM_Mono/DMMono-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Mono';
    src: url('./lib/fonts/DM_Mono/DMMono-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

/* ================================
   PIXEL - Retro Pixel Style
   ================================ */
@font-face {
    font-family: 'Pixel';
    src: url('./lib/fonts/Pixel/Pixel-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pixel';
    src: url('./lib/fonts/Pixel/Pixel-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pixel Mono';
    src: url('./lib/fonts/Pixel/Pixel-Mono.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ================================
   NOTO SCRIPTS - Écritures qu'Inter ne couvre pas
   OROGEN n'a pas de police système pour ces écritures : sans elles, les claviers de la
   banque (os/keyboard-layouts/) et le texte saisi s'affichent en carrés vides. Une seule
   famille composée, une police Noto par écriture ; chacune n'est chargée que lorsqu'un de
   ses caractères est affiché (unicode-range). Arabe : bloc entier, pour qu'un mot ne
   mélange jamais deux polices (liaisons des lettres).
   ================================ */
@font-face {
    font-family: 'Noto Scripts';
    src: local('Noto Sans Cherokee'), url('./lib/fonts/Noto_Scripts/NotoSansCherokee-Regular.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+13A0-13FF, U+AB70-ABBF;
}

@font-face {
    font-family: 'Noto Scripts';
    src: local('Noto Sans Ethiopic'), url('./lib/fonts/Noto_Scripts/NotoSansEthiopic-Regular.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+1200-139F, U+2D80-2DDF, U+AB00-AB2F, U+1E7E0-1E7FF;
}

@font-face {
    font-family: 'Noto Scripts';
    src: local('Noto Sans Devanagari'), url('./lib/fonts/Noto_Scripts/NotoSansDevanagari-Regular.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0900-097F, U+1CD0-1CFF, U+A8E0-A8FF;
}

@font-face {
    font-family: 'Noto Scripts';
    src: local('Noto Sans Bengali'), url('./lib/fonts/Noto_Scripts/NotoSansBengali-Regular.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0980-09FF;
}

@font-face {
    font-family: 'Noto Scripts';
    src: local('Noto Sans Gurmukhi'), url('./lib/fonts/Noto_Scripts/NotoSansGurmukhi-Regular.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0A00-0A7F;
}

@font-face {
    font-family: 'Noto Scripts';
    src: local('Noto Sans Gujarati'), url('./lib/fonts/Noto_Scripts/NotoSansGujarati-Regular.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0A80-0AFF;
}

@font-face {
    font-family: 'Noto Scripts';
    src: local('Noto Sans Oriya'), url('./lib/fonts/Noto_Scripts/NotoSansOriya-Regular.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0B00-0B7F;
}

@font-face {
    font-family: 'Noto Scripts';
    src: local('Noto Sans Telugu'), url('./lib/fonts/Noto_Scripts/NotoSansTelugu-Regular.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0C00-0C7F;
}

@font-face {
    font-family: 'Noto Scripts';
    src: local('Noto Sans Kannada'), url('./lib/fonts/Noto_Scripts/NotoSansKannada-Regular.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0C80-0CFF;
}

@font-face {
    font-family: 'Noto Scripts';
    src: local('Noto Sans Malayalam'), url('./lib/fonts/Noto_Scripts/NotoSansMalayalam-Regular.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0D00-0D7F;
}

@font-face {
    font-family: 'Noto Scripts';
    src: local('Noto Sans Thai'), url('./lib/fonts/Noto_Scripts/NotoSansThai-Regular.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0E00-0E7F;
}

@font-face {
    font-family: 'Noto Scripts';
    src: local('Noto Sans Arabic'), url('./lib/fonts/Noto_Scripts/NotoSansArabic-Regular.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
    font-family: 'Noto Scripts';
    src: local('Noto Sans Canadian Aboriginal'), url('./lib/fonts/Noto_Scripts/NotoSansCanadianAboriginal-Regular.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+1400-167F, U+18B0-18FF, U+11AB0-11ABF;
}

@font-face {
    font-family: 'Noto Scripts';
    src: local('Noto Sans Tifinagh'), url('./lib/fonts/Noto_Scripts/NotoSansTifinagh-Regular.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+2D30-2D7F;
}

/* ================================
   CSS VARIABLES FOR FONTS
   ================================ */
:root {
    /* Primary UI Font */
    --font-ui: 'Inter', 'Noto Scripts', sans-serif;
    
    /* Document Fonts */
    --font-sans: 'Inter', 'Noto Scripts', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-mono: 'DM Mono', monospace;
    --font-display: 'Montserrat', sans-serif;
    --font-handwritten: 'Dancing Script', cursive;
    --font-pixel: 'Pixel', monospace;
    --font-pixel-mono: 'Pixel Mono', monospace;
    
    /* Font Stack Fallbacks */
    --font-stack-sans: 'Inter', 'Open Sans', 'Lato', sans-serif;
    --font-stack-serif: 'Playfair Display', 'Zilla Slab', serif;
    --font-stack-mono: 'DM Mono', monospace;
    --font-stack-pixel: 'Pixel', 'Pixel Mono', monospace;
}

