/* Zen Aura — About hero block (acf/za-about-hero). ZA-MARKER: about-hero-styles */

.za-about-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-top: calc(var(--wp--custom--header-height) + var(--wp--preset--spacing--70));
	padding-bottom: calc(var(--wp--preset--spacing--60) + var(--wp--custom--wave-height));
}

/* slides up under the transparent header */
.entry-content > .za-about-hero.wp-block-acf-za-about-hero {
	margin-top: calc(var(--wp--custom--header-height) * -1);
}

.za-about-hero::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -6%;
	right: -12%;
	width: min(60rem, 80vw);
	aspect-ratio: 900 / 760;
	background: var(--wp--custom--texture--wash-lavender) center / contain no-repeat;
	opacity: 0.55;
}

.za-about-hero__head {
	display: grid;
	gap: var(--wp--preset--spacing--60);
	margin-bottom: var(--wp--preset--spacing--80);
}

.za-about-hero .za-about-hero__head h1 {
	color: var(--wp--preset--color--brand);
	max-width: 8ch;
}

:lang(si) .za-about-hero .za-about-hero__head h1 {
	max-width: 14em;
}

.za-about-hero .za-about-hero__lead {
	font-size: var(--wp--preset--font-size--md);
	line-height: var(--wp--custom--leading--snug);
	max-width: 40ch;
}

.za-about-hero__frame {
	aspect-ratio: 1440 / 530;
	overflow: hidden;
	border-radius: clamp(5rem, 22vw, 22rem) clamp(5rem, 22vw, 22rem) var(--wp--custom--radius--l) var(--wp--custom--radius--l) / clamp(3.5rem, 14vw, 13rem) clamp(3.5rem, 14vw, 13rem) var(--wp--custom--radius--l) var(--wp--custom--radius--l);
	box-shadow: var(--wp--preset--shadow--lift);
}

.za-about-hero .za-about-hero__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 39.99rem) {
	.za-about-hero__frame {
		aspect-ratio: 4 / 3;
	}
}

@media (min-width: 56rem) {
	.za-about-hero__head {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: end;
		column-gap: var(--wp--preset--spacing--90);
	}
}

@media (prefers-reduced-motion: no-preference) {
	.za-js body:not(.block-editor-iframe__body) .za-about-hero__frame {
		animation: za-unveil-up var(--wp--custom--duration--unveil) var(--wp--custom--ease--unveil) 0.2s backwards;
	}
}

@keyframes za-unveil-up {
	from { clip-path: inset(100% 0 0 0); }
	to { clip-path: inset(0 0 0 0); }
}
