/* Local Rubik Fonts - Critical font loading */
/* This ensures fonts are available immediately without external requests */

@font-face {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local('Rubik Light'), local('Rubik-Light'), 
         url('../assets/styles-src/fonts/Rubik/Rubik-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Rubik'), local('Rubik-Regular'), 
         url('../assets/styles-src/fonts/Rubik/Rubik-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: local('Rubik Medium'), local('Rubik-Medium'), 
         url('../assets/styles-src/fonts/Rubik/Rubik-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Rubik Bold'), local('Rubik-Bold'), 
         url('../assets/styles-src/fonts/Rubik/Rubik-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: local('Rubik Black'), local('Rubik-Black'), 
         url('../assets/styles-src/fonts/Rubik/Rubik-Black.ttf') format('truetype');
}

/* Ensure Rubik is the primary font */
body, .rubik-font {
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
