/* Local webfont declarations for faster, self-hosted loading.
   Includes Space Grotesk (present in repo) and project fonts with likely names.
   Browsers will ignore missing sources and fall back to Google (loaded via JS if needed).
*/

/* Space Grotesk - local files exist */
@font-face {
	font-family: 'Space Grotesk';
	src: url('/assets/fonts/SpaceGrotesk-Light.woff2') format('woff2');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Space Grotesk';
	src: url('/assets/fonts/SpaceGrotesk-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Space Grotesk';
	src: url('/assets/fonts/SpaceGrotesk-Medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Space Grotesk';
	src: url('/assets/fonts/SpaceGrotesk-SemiBold.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Space Grotesk';
	src: url('/assets/fonts/SpaceGrotesk-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* Ubuntu Mono - try common file names if provided in assets */
@font-face {
	font-family: 'Ubuntu Mono';
	src: local('Ubuntu Mono'), local('UbuntuMono-Regular'),
		url('/assets/fonts/Ubuntu_Mono/UbuntuMono-Regular.woff2') format('woff2'),
		url('/assets/fonts/Ubuntu_Mono/ubuntu-mono-v15-latin-regular.woff2') format('woff2'),
		url('/assets/fonts/Ubuntu_Mono/UbuntuMono-Regular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* Vujahday Script - try common file names */
@font-face {
	font-family: 'Vujahday Script';
	src: local('Vujahday Script'), local('VujahdayScript-Regular'),
		url('/assets/fonts/Vujahday_Script/VujahdayScript-Regular.woff2') format('woff2'),
		url('/assets/fonts/Vujahday_Script/vujahday-script-v2-latin-regular.woff2') format('woff2'),
		url('/assets/fonts/Vujahday_Script/VujahdayScript-Regular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* Lacquer - try common file names */
@font-face {
	font-family: 'Lacquer';
	src: local('Lacquer'), local('Lacquer-Regular'),
		url('/assets/fonts/Lacquer/Lacquer-Regular.woff2') format('woff2'),
		url('/assets/fonts/Lacquer/lacquer-v14-latin-regular.woff2') format('woff2'),
		url('/assets/fonts/Lacquer/Lacquer-Regular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* Roboto - common weights used by theme */
@font-face {
	font-family: 'Roboto';
	src: local('Roboto Light'), local('Roboto-Light'),
		url('/assets/fonts/Roboto/Roboto-Light.woff2') format('woff2'),
		url('/assets/fonts/Roboto/roboto-v30-latin-300.woff2') format('woff2');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Roboto';
	src: local('Roboto Regular'), local('Roboto-Regular'),
		url('/assets/fonts/Roboto/Roboto-Regular.woff2') format('woff2'),
		url('/assets/fonts/Roboto/roboto-v30-latin-regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Roboto';
	src: local('Roboto Medium'), local('Roboto-Medium'),
		url('/assets/fonts/Roboto/Roboto-Medium.woff2') format('woff2'),
		url('/assets/fonts/Roboto/roboto-v30-latin-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Roboto';
	src: local('Roboto Bold'), local('Roboto-Bold'),
		url('/assets/fonts/Roboto/Roboto-Bold.woff2') format('woff2'),
		url('/assets/fonts/Roboto/roboto-v30-latin-700.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Roboto';
	src: local('Roboto Black'), local('Roboto-Black'),
		url('/assets/fonts/Roboto/Roboto-Black.woff2') format('woff2'),
		url('/assets/fonts/Roboto/roboto-v30-latin-900.woff2') format('woff2');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

/* PT Serif - normal and italic weights used by theme */
@font-face {
	font-family: 'PT Serif';
	src: local('PT Serif'), local('PTSerif-Regular'),
		url('/assets/fonts/PT_Serif/PTSerif-Regular.woff2') format('woff2'),
		url('/assets/fonts/PT_Serif/pt-serif-v17-latin-regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'PT Serif';
	src: local('PT Serif Italic'), local('PTSerif-Italic'),
		url('/assets/fonts/PT_Serif/PTSerif-Italic.woff2') format('woff2'),
		url('/assets/fonts/PT_Serif/pt-serif-v17-latin-italic.woff2') format('woff2');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'PT Serif';
	src: local('PT Serif Bold'), local('PTSerif-Bold'),
		url('/assets/fonts/PT_Serif/PTSerif-Bold.woff2') format('woff2'),
		url('/assets/fonts/PT_Serif/pt-serif-v17-latin-700.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'PT Serif';
	src: local('PT Serif Bold Italic'), local('PTSerif-BoldItalic'),
		url('/assets/fonts/PT_Serif/PTSerif-BoldItalic.woff2') format('woff2'),
		url('/assets/fonts/PT_Serif/pt-serif-v17-latin-700italic.woff2') format('woff2');
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}
