/**
 * Tamkeen Custom Fonts - Self Hosted WOFF2 with Metric-Adjusted Fallbacks
 * Ensures typography loads reliably even when Elementor "Google Fonts" is disabled.
 */

@font-face {
	font-family: 'Bricolage Grotesque';
	src: url('../fonts/bricolage-grotesque.woff2') format('woff2');
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Manrope';
	src: url('../fonts/manrope.woff2') format('woff2');
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'DM Mono';
	src: url('../fonts/dm-mono-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'DM Mono';
	src: url('../fonts/dm-mono-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

/* Metric-Adjusted Fallbacks to eliminate layout shift (CLS) */
@font-face {
	font-family: 'Bricolage Fallback';
	src: local('Arial Black'), local('Impact'), local('Segoe UI Bold'), local('Arial Bold');
	ascent-override: 95%;
	descent-override: 25%;
	line-gap-override: 0%;
	size-adjust: 102%;
}

@font-face {
	font-family: 'Manrope Fallback';
	src: local('Segoe UI'), local('Helvetica Neue'), local('Arial');
	ascent-override: 95%;
	descent-override: 25%;
	line-gap-override: 0%;
	size-adjust: 100%;
}

@font-face {
	font-family: 'DM Mono Fallback';
	src: local('Courier New'), local('Consolas'), local('Liberation Mono'), monospace;
	ascent-override: 86%;
	descent-override: 22%;
	line-gap-override: 0%;
	size-adjust: 92%;
}
