/* DM Sans - Primary sans-serif font */
@font-face {
	font-family: 'DM Sans';
	src: url('/fonts/dm-sans-400.ttf') format('truetype');
	font-display: swap;
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'DM Sans';
	src: url('/fonts/dm-sans-600.ttf') format('truetype');
	font-display: swap;
	font-weight: 600;
	font-style: normal;
}

/* DM Sans Fallback - for CLS optimization */
@font-face {
	font-family: 'DM Sans Fallback';
	src: local('Arial');
	ascent-override: 94.35%;
	descent-override: 29.23%;
	line-gap-override: 0.00%;
	size-adjust: 97.94%;
}

/* Playfair Display - Serif font for headings */
@font-face {
	font-family: 'Playfair Display';
	src: url('/fonts/playfair-400.woff2') format('woff2');
	font-display: swap;
	font-weight: 400;
	font-style: normal;
}

/* Playfair Display Fallback - for CLS optimization */
@font-face {
	font-family: 'Playfair Display Fallback';
	src: local('Georgia');
	ascent-override: 97.00%;
	descent-override: 24.00%;
	line-gap-override: 0.00%;
	size-adjust: 105.00%;
}

/* CSS Variables for font stacks */
:root {
	--font-sans: 'DM Sans', 'DM Sans Fallback', system-ui, sans-serif;
	--font-serif: 'Playfair Display', 'Playfair Display Fallback', Georgia, serif;
}
