/* WindSensor brand fonts, migrated from the previous windsensor.com theme. */
@font-face {
	font-family: "Museo Sans W01";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("../fonts/museo-sans-300.woff2") format("woff2");
}

@font-face {
	font-family: "Museo Sans W01";
	font-style: italic;
	font-weight: 300;
	font-display: swap;
	src: url("../fonts/museo-sans-300-italic.woff2") format("woff2");
}

@font-face {
	font-family: "Museo Sans W01";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/museo-sans-500.woff2") format("woff2");
}

@font-face {
	font-family: "Museo Sans W01";
	font-style: italic;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/museo-sans-500-italic.woff2") format("woff2");
}

@font-face {
	font-family: "Museo Sans W01";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/museo-sans-700.woff2") format("woff2");
}

@font-face {
	font-family: "Museo Sans W01";
	font-style: italic;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/museo-sans-700-italic.woff2") format("woff2");
}

@font-face {
	font-family: "Oswald";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("../fonts/oswald-latin-variable.woff2") format("woff2");
}

/* Keep the sticky desktop header below WordPress' logged-in admin bar. */
@media screen and (min-width: 783px) {
	body.admin-bar .ws-header {
		inset-block-start: 32px;
	}
}

/*
 * Preserve the Ken Burns end state while an outgoing slide fades away.
 * The active slide animation still starts at scale(1); once its active class
 * is removed, this base transform prevents the image snapping back mid-fade.
 */
.ws-hero[data-motion="ken-burns"] .ws-hero-slide__image {
	transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
	.ws-hero[data-motion="ken-burns"] .ws-hero-slide__image {
		transform: none;
	}
}
