/* Homepage hero — Figma "V1_LaFleur_WebsiteHeader_1026" (node 3:17).
   Sizes are the Figma 1920px frame scaled by --u, with floors for small screens. */

.lf-hero {
	--u: calc(min(100vw, 1920px) / 1920);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	box-sizing: border-box;
	margin-block: 0 !important;
	padding: max(3rem, calc(var(--u) * 120)) max(1.25rem, calc(var(--u) * 112)) max(1rem, calc(var(--u) * 40));
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}

/* Orbit ring, top right */
.lf-hero::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: calc(var(--u) * -215);
	left: calc(var(--u) * 1412);
	width: calc(var(--u) * 793);
	aspect-ratio: 793 / 780;
	background: url("../images/hero/hero-orbit.svg") no-repeat center / contain;
	pointer-events: none;
}

.lf-hero > * {
	margin-block: 0;
	margin-inline: 0 !important;
	max-width: none;
}

/* Headline: blob and loop are sized in em so they track the type */
.lf-hero h1 {
	position: relative;
	z-index: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: max(3.25rem, calc(var(--u) * 160));
	font-weight: 400;
	line-height: 0.8624;
	letter-spacing: 0;
	white-space: nowrap;
}

.lf-hero h1::before,
.lf-hero h1::after {
	content: "";
	position: absolute;
	z-index: -1;
	pointer-events: none;
}

.lf-hero h1::before {
	left: 0.5em;
	top: 0.44em;
	width: 1.532em;
	height: 1.587em;
	background: url("../images/hero/hero-blob.png") no-repeat center / 100% 100%;
}

.lf-hero h1::after {
	left: 2.11em;
	top: -0.147em;
	width: 3.252em;
	aspect-ratio: 709 / 308;
	background: url("../images/hero/hero-loop.svg") no-repeat center / contain;
}

.lf-hero h1 mark {
	background: none;
	color: var(--wp--preset--color--analytic-red);
}

.lf-hero .lf-hero__body {
	margin-top: max(1.5rem, calc(var(--u) * 48));
	max-width: 650px;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.55;
}

.lf-hero .wp-block-buttons {
	margin-top: max(1.75rem, calc(var(--u) * 48));
}

.lf-hero .wp-block-button__link {
	padding: 0.543em 0.8em;
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--heading);
	font-size: max(1.25rem, calc(var(--u) * 28));
	font-weight: 400;
	line-height: 1.371;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.lf-hero .wp-block-button__link:hover {
	transform: translateY(-2px);
}

.lf-hero .wp-block-button__link:focus-visible {
	outline: 3px solid var(--wp--preset--color--design-blue);
	outline-offset: 3px;
}

.lf-hero .lf-hero__fine {
	margin-top: max(1rem, calc(var(--u) * 24));
	max-width: none;
	font-family: var(--wp--preset--font-family--body);
	font-size: max(0.9375rem, calc(var(--u) * 20));
	font-style: italic;
	line-height: 1.37;
}

@media (max-width: 781px) {
	.lf-hero::before {
		top: -3.5rem;
		left: auto;
		right: -5.5rem;
		width: 10rem;
		opacity: 0.9;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lf-hero .wp-block-button__link {
		transition: none;
	}

	.lf-hero .wp-block-button__link:hover {
		transform: none;
	}
}
