/* ==========================================================================
   Homepage masthead: shrink the big slide titles (.title-xl)
   TRIAL — to revert, delete the <link> to this file in /index.html.
   Tweak --mh-title-scale to fine-tune (1 = original size).
   ========================================================================== */
body.home .masthead {
	--mh-title-scale: 0.7;
}

/* Desktop + all slides (original: min(max(50px, 8.4375vw), 135px)) */
body.home .masthead .masthead__text .title-xl {
	font-size: calc(var(--mh-title-scale) * min(max(50px, 8.4375vw), 135px));
}

@media (max-width: 840px) {
	/* Holiday slides on mobile/tablet: use the same sizing as the other slides
	   so all titles match (holiday.css original: min(max(44px, 12.8vw), 90px)) */
	body.home .masthead .masthead__text .holiday-slide .holiday-title {
		font-size: calc(var(--mh-title-scale) * min(max(50px, 8.4375vw), 135px));
	}
}
