/*
 * Typography, aligned with the Poparide design system (poparide-client, apps/web/app/globals.css).
 *
 * Roca Bold is the display face for headings. It is the same file the main site ships
 * (apps/web/public/fonts/Roca-Bold.otf) and the family name matches the design system token
 * --font-display. Body text stays on Proxima Soft (Typekit kit loaded by main.css).
 *
 * Loaded after main.css / theme-colors.css so these rules win over the legacy heading rules
 * (main.css sets headings to proxima-soft). h5 and h6 stay on Proxima Soft: they are small
 * labels, and the design system only uses Roca for display sizes.
 */

@font-face {
	font-family: 'Roca-Bold';
	src: url('../fonts/roca/Roca-Bold.otf') format('opentype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--font-display: 'Roca-Bold', 'proxima-soft', system-ui, sans-serif;
}

h1, h2, h3, h4,
.h1, .h2, .h3, .h4 {
	font-family: var(--font-display);
	font-weight: 700;
}

h1, .h1 {
	letter-spacing: -0.02em;
}
