/* ================================================================
   REGIOS FONTS
   Gilroy for headings, Raleway for body text.
   Local woff2/woff sources for performance.
   ================================================================ */

/* --- Gilroy --- */

@font-face {
    font-family: "Gilroy";
    src: url("/fonts/regios/gilroy/Gilroy-Light.woff2") format("woff2"),
         url("/fonts/regios/gilroy/Gilroy-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src: url("/fonts/regios/gilroy/Gilroy-Regular.woff2") format("woff2"),
         url("/fonts/regios/gilroy/Gilroy-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src: url("/fonts/regios/gilroy/Gilroy-Medium.woff2") format("woff2"),
         url("/fonts/regios/gilroy/Gilroy-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src: url("/fonts/regios/gilroy/Gilroy-SemiBold.woff2") format("woff2"),
         url("/fonts/regios/gilroy/Gilroy-SemiBold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src: url("/fonts/regios/gilroy/Gilroy-Bold.woff2") format("woff2"),
         url("/fonts/regios/gilroy/Gilroy-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src: url("/fonts/regios/gilroy/Gilroy-ExtraBold.woff2") format("woff2"),
         url("/fonts/regios/gilroy/Gilroy-ExtraBold.woff") format("woff");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src: url("/fonts/regios/gilroy/Gilroy-Black.woff2") format("woff2"),
         url("/fonts/regios/gilroy/Gilroy-Black.woff") format("woff");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* --- Raleway --- */

@font-face {
    font-family: "Raleway";
    src: url("/fonts/regios/raleway/Raleway-Light.woff2") format("woff2"),
         url("/fonts/regios/raleway/Raleway-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Raleway";
    src: url("/fonts/regios/raleway/Raleway.woff2") format("woff2"),
         url("/fonts/regios/raleway/Raleway.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Raleway";
    src: url("/fonts/regios/raleway/Raleway-Medium.woff2") format("woff2"),
         url("/fonts/regios/raleway/Raleway-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Raleway";
    src: url("/fonts/regios/raleway/Raleway-SemiBold.woff2") format("woff2"),
         url("/fonts/regios/raleway/Raleway-SemiBold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Raleway";
    src: url("/fonts/regios/raleway/Raleway-Bold.woff2") format("woff2"),
         url("/fonts/regios/raleway/Raleway-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Raleway";
    src: url("/fonts/regios/raleway/Raleway-ExtraBold.woff2") format("woff2"),
         url("/fonts/regios/raleway/Raleway-ExtraBold.woff") format("woff");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* --- Lining figures (all numbers same height) for consistent alignment --- */

.theme-regios {
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1;
}

/* Gilroy (headings) also supports tabular figures for equal-width numbers */
.theme-regios h1,
.theme-regios h2,
.theme-regios h3,
.theme-regios h4,
.theme-regios h5,
.theme-regios h6 {
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "lnum" 1, "tnum" 1;
}

