/**
 * EPIC typography scale — reusable heading/body classes.
 */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	text-transform: none;
}

.h1,
.h1>h2{
	font-family: var(--epic-font-heading);
	font-size: 44px;
	font-weight: 900;
	line-height: 0.97;
	text-transform: uppercase;
}

.h3,
h3{
	font-family: var(--epic-font-din);
	font-size: min(calc(42 / 1440 * 100vw), 42px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

@media (min-width: 1200px) {
	.h1,
	.h1>h2{
		font-size: min(calc(117 / 1440 * 100vw), 117px);
	}
}

/* Tablet + mobile only (Tresmares-style). Desktop rules above stay as-is. */
@media (max-width: 1100px) {
	.h3,
	h3{
		font-size: min(5.455vw, 36px);
		line-height: 1.2;
		letter-spacing: 0.14em;
	}
}

@media (max-width: 600px) {
	.h1,
	.h1>h2{
		font-size: 36px;
		line-height: 0.98;
	}

	.h3,
	h3{
		font-size: min(6.8vw, 26px);
		line-height: 1.25;
		letter-spacing: 0.1em;
	}
}
