/*
 * MPY International — site-wide typography
 * Body: Source Sans 3 | Display: Noto Serif SC + Cormorant Garamond
 */

:root {
	--font-body: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--font-display: 'Noto Serif SC', 'Cormorant Garamond', 'Palatino Linotype', Georgia, serif;
	--font-accent: 'Cormorant Garamond', 'Noto Serif SC', Georgia, serif;

	/* Responsive type scale (16–18px base) */
	--text-xs: clamp(0.75rem, 0.72rem + 0.12vw, 0.8125rem);
	--text-sm: clamp(0.8125rem, 0.78rem + 0.18vw, 0.875rem);
	--text-base: clamp(1rem, 0.96rem + 0.22vw, 1.125rem);
	--text-md: clamp(1.0625rem, 1rem + 0.28vw, 1.1875rem);
	--text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
	--text-xl: clamp(1.25rem, 1.12rem + 0.55vw, 1.5rem);
	--text-2xl: clamp(1.5rem, 1.28rem + 0.95vw, 1.875rem);
	--text-3xl: clamp(1.875rem, 1.55rem + 1.4vw, 2.375rem);
	--text-title-bar: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);

	--leading-tight: 1.25;
	--leading-normal: 1.6;
	--leading-relaxed: 1.75;
}

body {
	font-family: var(--font-body);
	font-size: var(--text-base);
	line-height: var(--leading-normal);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: var(--leading-tight);
	letter-spacing: 0.02em;
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
h5 { font-size: var(--text-md); }
h6 { font-size: var(--text-base); }

/* Section titles on fire-banner backgrounds */
#title_header,
#title_header_470 {
	font-family: var(--font-display);
	font-size: var(--text-title-bar);
	font-weight: 600;
	letter-spacing: 0.04em;
}

/* Reusable utilities for inline-style migration */
.text-news-title {
	font-family: var(--font-display);
	font-size: var(--text-xl);
	font-weight: 600;
	line-height: var(--leading-tight);
}

.text-news-subtitle {
	font-size: var(--text-lg);
	font-weight: 600;
	line-height: var(--leading-normal);
}

.text-lead {
	font-size: var(--text-lg);
	line-height: var(--leading-relaxed);
}

.contact-website-title {
	font-family: var(--font-accent);
	font-size: var(--text-2xl);
	font-style: italic;
	font-weight: 700;
	line-height: var(--leading-tight);
	margin: 1.25rem auto 0;
	padding: 0 0 0.35rem;
	color: #e7ce00;
	border-bottom: 2px solid rgba(231, 206, 0, 0.55);
	width: auto;
	max-width: 100%;
}
