/* ---------------------------------------------------------------------------
   Baden-Württemberg corporate web fonts
   Source: design/bawue-sans.zip, design/bawue-serif.zip (foundry "Web" folder)

   Weight mapping follows the foundry's own ReadMe @font-face snippets EXACTLY.
   Note the two non-obvious points:
     - BaWueSansWeb "Regular" is weight 500, NOT 400.
     - The serif family is named "BaWueSerif", not "BaWueSerifWeb".
   Declaring Sans Regular as 400 makes browsers synthesize a fake weight, which
   is part of why the previous setup rendered incorrectly.

   Regular is additionally declared at 400 so that any element asking for the
   CSS default weight resolves to a real file instead of a synthesized one.
--------------------------------------------------------------------------- */

/* --- BaWueSansWeb ------------------------------------------------------- */

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

@font-face {
	font-family: "BaWueSansWeb";
	src: url("../fonts/BaWueSansWeb-RegularItalic.woff2") format("woff2"),
	     url("../fonts/BaWueSansWeb-RegularItalic.woff") format("woff");
	font-weight: 400 500;
	font-style: italic;
	font-display: swap;
}

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

@font-face {
	font-family: "BaWueSansWeb";
	src: url("../fonts/BaWueSansWeb-SemiBoldItalic.woff2") format("woff2"),
	     url("../fonts/BaWueSansWeb-SemiBoldItalic.woff") format("woff");
	font-weight: 600;
	font-style: italic;
	font-display: swap;
}

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

@font-face {
	font-family: "BaWueSansWeb";
	src: url("../fonts/BaWueSansWeb-BoldItalic.woff2") format("woff2"),
	     url("../fonts/BaWueSansWeb-BoldItalic.woff") format("woff");
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

/* --- BaWueSerif --------------------------------------------------------- */

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

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