/* Базовое семейство: "Gilroy"
   Использование: font-family: "Gilroy", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
   Дальше меняй font-weight (100..950) и font-style (normal|italic) как обычно.
*/

@font-face {
  font-family: "Gilroy";
  src: url("../Fonts/Gilroy-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../Fonts/Gilroy-UltraLight.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

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

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

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

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

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

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

/* У Gilroy есть и Heavy, и Black. Чтобы сохранить оба, дадим им разные веса.
   Heavy — 900, Black — 950 (допустимо; браузеры, не знающие 950, возьмут 900). */
@font-face {
  font-family: "Gilroy";
  src: url("../Fonts/Gilroy-Heavy.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("../Fonts/Gilroy-Black.woff") format("woff");
  font-weight: 950; /* чтобы сосуществовать с Heavy */
  font-style: normal;
  font-display: swap;
}

/* Небольшая утилита: удобный стек по умолчанию */
:root {
  --font-sans: "Gilroy", system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
}
