/*
 * HERO cinematic 2.5D (prototyp ETAP 7) — właściciel: integrator.
 *
 * Dwa tryby tego samego markupu (patterns/home-hero.php):
 *  A. STATYCZNY (bazowy): bez JS, przy prefers-reduced-motion: reduce, w edytorze i gdy silnik
 *     nie wystartował. Render dzienny na pełną szerokość + zielony „taras” z logo, hasłem i CTA.
 *  B. CINEMATIC: html.inb-js (ustawiane w <head>, przed pierwszym renderem — bez skoku układu)
 *     i brak preferencji ograniczenia ruchu. Sekcja wydłuża się, scena przykleja się pod nagłówkiem
 *     (sticky, bez JS), a scroll-scene.js podaje postęp --p (0…1). Gdy silnik nie wystartuje,
 *     html.inb-scene-fallback (functions.php) przywraca tryb A.
 *
 * Choreografia (B) — postęp --p rozpisany na fazy:
 *   --a  zbliżenie        p 0,04–0,46  łuk otwiera się na cały kadr, warstwy rosną z różną prędkością
 *   --t  dzień → zmierzch p 0,36–0,66  ta sama kamera (wyrównane rendery), zapalają się światła
 *   --m  przesłanie       p 0,58–0,88  zielony taras wjeżdża z dołu, hasło i CTA; budynek odjeżdża w prawo
 *   p 0,88–1  kadr końcowy stoi, potem sekcja odjeżdża naturalnym scrollem.
 * Głębia (desktop): niebo i zabudowa to osobne warstwy z tego samego renderu (wiz/generated/hero/).
 * Niebo skaluje się wolniej niż zabudowa — paralaksa bez dorysowywania architektury.
 */

@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --a { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --t { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --m { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --ae { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --te { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --me { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --mp { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --mpe { syntax: "<number>"; inherits: true; initial-value: 0; }

/* =========================================================================
 * A. Tryb statyczny (bazowy)
 * ========================================================================= */

.inb-hero {
	--inb-hero-min: clamp(34rem, 84svh, 50rem);
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.inb-cine__stage {
	position: relative;
	display: grid;
	min-height: var(--inb-hero-min);
}

.inb-cine__frame {
	grid-area: 1 / 1;
	position: relative;
	z-index: 0;
	margin: 0;
}

.inb-cine__layer {
	margin: 0;
}

.inb-cine__layer img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 52% 40%;
}

.inb-cine__base img {
	min-height: var(--inb-hero-min);
}

/* Warstwy sceny są potrzebne tylko w trybie B. display:none = obraz z loading="lazy" nie jest pobierany. */
.inb-cine__frame > .inb-cine__layer:not(.inb-cine__base) {
	display: none;
}

/* Przyciemnienie górnej krawędzi pod nagłówkiem strony. */
.inb-cine__frame::after {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 30%;
	z-index: 1;
	background: linear-gradient(to bottom, color-mix(in srgb, var(--wp--custom--color--surface-dark) 45%, transparent), transparent);
	pointer-events: none;
}

.inb-hero .inb-hero__content {
	grid-area: 1 / 1;
	align-self: end;
	position: relative;
	z-index: 2;
	isolation: isolate;
	width: min(100%, 44rem);
	padding: 0 var(--wp--preset--spacing--40) clamp(2.5rem, 1.5rem + 4vw, 5.5rem) max(var(--wp--preset--spacing--40), calc((100vw - var(--wp--style--global--wide-size)) / 2));
	box-sizing: content-box;
}

/* Zielony kształt „tarasu” (REF-001): łuk startuje nad treścią przy lewej krawędzi i opada w prawo. */
.inb-hero .inb-hero__content::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	bottom: 0;
	top: calc(-1 * clamp(4.5rem, 2rem + 7vw, 9rem));
	width: calc(100% + 26vw);
	background: var(--wp--custom--color--surface-dark);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 700' preserveAspectRatio='none'%3E%3Cpath d='M0 700V62C232 4 520 6 712 128c150 96 236 300 288 572z'/%3E%3C/svg%3E") left bottom / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 700' preserveAspectRatio='none'%3E%3Cpath d='M0 700V62C232 4 520 6 712 128c150 96 236 300 288 572z'/%3E%3C/svg%3E") left bottom / 100% 100% no-repeat;
	pointer-events: none;
}

.inb-hero__content > * {
	margin-block: 0;
}

/* Logo klienta: geometria i kolor bez zmian (plik SVG), tylko skala. viewBox 1484.5 × 339.7. */
.inb-cine__logo img {
	display: block;
	width: clamp(11rem, 8rem + 8vw, 15rem);
	height: auto;
	aspect-ratio: 1484.5 / 339.7;
}

.inb-cine__logo {
	margin-block-end: clamp(1.25rem, 1rem + 1vw, 2rem) !important;
}

/* Hasło: [Blisko / natury.] | Blisko wszystkiego, co ważne. */
.inb-hero__title {
	display: grid;
	grid-template-columns: auto minmax(0, 10.5ch);
	align-items: center;
	column-gap: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: var(--wp--custom--font-weight--light);
	line-height: 1.12;
	letter-spacing: var(--wp--custom--letter-spacing--tight);
	color: var(--wp--custom--color--on-dark);
}

.inb-hero__title strong {
	display: block;
	padding-inline-end: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
	border-inline-end: 2px solid var(--wp--custom--color--rule-on-dark);
	font-size: var(--wp--preset--font-size--display);
	font-weight: var(--wp--custom--font-weight--black);
	line-height: var(--wp--custom--line-height--display);
	letter-spacing: var(--wp--custom--letter-spacing--display);
	text-transform: uppercase;
}

.inb-hero__title strong mark {
	text-transform: none;
	font-weight: var(--wp--custom--font-weight--bold);
}

.inb-hero__lead {
	max-width: 34rem;
	margin-block-start: clamp(1.25rem, 1rem + 1vw, 2rem) !important;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: var(--wp--custom--font-weight--light);
	color: var(--wp--custom--color--on-dark-muted);
	text-wrap: pretty;
}

.inb-hero__actions {
	margin-block-start: clamp(1.5rem, 1rem + 1.5vw, 2.5rem) !important;
	gap: 0.75rem;
}

.inb-hero__cta .wp-block-button__link {
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/*
 * CTA HERO bez podkreślenia w każdym stanie. Przyczyna globalna: theme.json
 * (styles.elements.button[":hover"].typography.textDecoration = "underline"), a mikrointerakcje
 * z base.css, które je wyłączają, celowo omijają HERO (main > :not(.inb-hero)). W trybie
 * cinematic przyciski przyjmują :hover dopiero w kadrze końcowym (.is-end), na dotyku — po stuknięciu.
 * Fokus klawiatury zostaje sygnalizowany obrysem (outline), nie podkreśleniem.
 */
.inb-hero .inb-hero__actions .wp-block-button__link,
.inb-hero .inb-hero__actions .wp-block-button__link:is(:hover, :focus, :focus-visible, :active, :visited) {
	text-decoration: none;
}

/* Edytor: pokaż wszystkie warstwy jako miniatury, żeby dało się je zaznaczyć i podmienić. */
.editor-styles-wrapper .inb-cine__frame {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 4px;
	align-content: start;
}

.editor-styles-wrapper .inb-cine__frame > .inb-cine__layer:not(.inb-cine__base) {
	display: block;
	aspect-ratio: 16 / 9;
}

.editor-styles-wrapper .inb-cine__frame > .inb-cine__base {
	grid-column: 1 / -1;
}

.editor-styles-wrapper .inb-cine__frame::after {
	display: none;
}

/* Tablet i mobile (statyczny): render u góry, logo i hasło na zieleni pod łukiem. */
@media (max-width: 781px) {
	.inb-cine__stage {
		display: block;
		min-height: 0;
	}

	.inb-cine__frame::after {
		display: none;
	}

	.inb-cine__base img {
		min-height: 0;
		height: clamp(17rem, 58svh, 30rem);
		object-position: 48% 50%;
	}

	.inb-hero .inb-hero__content {
		width: auto;
		box-sizing: border-box;
		padding: 0.5rem var(--wp--preset--spacing--40) 3rem;
		background: var(--wp--custom--color--surface-dark);
	}

	/* Łuk zachodzący na render. */
	.inb-hero .inb-hero__content::before {
		z-index: 0;
		inset-inline: 0;
		top: auto;
		bottom: calc(100% - 1px);
		width: auto;
		height: 3.5rem;
		background: inherit;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V18C90-4 210 0 280 22c46 14 82 30 120 38z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V18C90-4 210 0 280 22c46 14 82 30 120 38z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
	}

	.inb-hero__title {
		grid-template-columns: auto minmax(0, 1fr);
	}
}

@media (max-width: 420px) {
	.inb-hero__title {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 0.85rem;
	}

	.inb-hero__title strong {
		padding-inline-end: 0;
		border-inline-end: 0;
		padding-block-end: 0.85rem;
		border-block-end: 2px solid var(--wp--custom--color--rule-on-dark);
		width: fit-content;
	}

	.inb-hero__actions .wp-block-button,
	.inb-hero__actions .wp-block-button__link {
		width: 100%;
	}
}

/*
 * Zgodność wsteczna: HERO v1 (placeholder) zapisany w bazie przez Site Editor ma markup
 * section > figure.inb-hero__media + .inb-hero__content (bez .inb-cine). Pliki wzorców go nie
 * nadpisują, więc bez tych reguł układ by się rozpadł. Do usunięcia, gdy na stagingu i produkcji
 * nie będzie zapisanej kopii szablonu „Strona główna” ze starym HERO (docs/context/HOME_V1_EDITING.md).
 */
.inb-hero:not(.inb-cine) {
	display: grid;
	min-height: var(--inb-hero-min);
}

.inb-hero:not(.inb-cine) > .inb-hero__media {
	grid-area: 1 / 1;
	margin: 0;
}

.inb-hero:not(.inb-cine) > .inb-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: var(--inb-hero-min);
	object-fit: cover;
	object-position: 70% 40%;
}

@media (max-width: 781px) {
	.inb-hero:not(.inb-cine) {
		display: block;
		min-height: 0;
	}

	.inb-hero:not(.inb-cine) > .inb-hero__media img {
		min-height: 0;
		height: clamp(17rem, 58svh, 30rem);
		object-position: 62% 50%;
	}
}

/* =========================================================================
 * B. Tryb cinematic
 * ========================================================================= */

/* Niskie okna (np. telefon w poziomie) zostają w trybie A — kadr ma za mało wysokości na hasło i CTA. */
@media (prefers-reduced-motion: no-preference) and (min-height: 30rem) {
	.inb-js:not(.inb-scene-fallback) .inb-cine {
		--a: clamp(0, (var(--p) - 0.04) / 0.42, 1);
		--t: clamp(0, (var(--p) - 0.36) / 0.3, 1);
		--m: clamp(0, (var(--p) - 0.58) / 0.3, 1);
		/* smoothstep: x² · (3 − 2x) */
		--ae: calc(var(--a) * var(--a) * (3 - 2 * var(--a)));
		--te: calc(var(--t) * var(--t) * (3 - 2 * var(--t)));
		--me: calc(var(--m) * var(--m) * (3 - 2 * var(--m)));
		/* Panel tarasu wyprzedza tekst: dojeżdża w pierwszych ~55% fazy --m, tekst startuje od 0,45. */
		--mp: clamp(0, var(--m) * 1.8, 1);
		--mpe: calc(var(--mp) * var(--mp) * (3 - 2 * var(--mp)));
		height: var(--inb-cine-length, 330svh);
		overflow: visible;
	}

	/* Scena przyklejona pod nagłówkiem strony (wysokość nagłówka mierzy silnik). */
	.inb-js:not(.inb-scene-fallback) .inb-cine__stage {
		position: sticky;
		/* Wartość zastępcza = wysokość nagłówka z layout.css (2 × 0,625rem + 3,25rem) + pasek admina,
		   żeby pierwszy render miał już właściwy wymiar (pomiar silnika nie przesuwa układu — CLS). */
		top: var(--inb-header-h, calc(4.5rem + var(--wp-admin--admin-bar--height, 0px)));
		height: calc(100svh - var(--inb-header-h, calc(4.5rem + var(--wp-admin--admin-bar--height, 0px))));
		min-height: 0;
		overflow: clip;
	}

	/* Rama = okno kamery: łuk portalu otwiera się na cały kadr. */
	.inb-js:not(.inb-scene-fallback) .inb-cine__frame {
		position: absolute;
		inset: 0;
		--inv: calc(1 - var(--ae));
		clip-path: inset(calc(var(--inv) * 21%) calc(var(--inv) * 25%) calc(var(--inv) * 7%) calc(var(--inv) * 25%) round calc(var(--inv) * 25vw) calc(var(--inv) * 25vw) calc(var(--inv) * 0.5rem) calc(var(--inv) * 0.5rem));
	}

	.inb-js:not(.inb-scene-fallback) .inb-cine__frame::after {
		height: 22%;
		opacity: var(--me);
	}

	.inb-js:not(.inb-scene-fallback) .inb-cine__frame > .inb-cine__layer {
		display: block;
		position: absolute;
		inset: 0;
		transform-origin: 50% 75%;
		backface-visibility: hidden;
	}

	/* Wszystkie warstwy dokładnie w wymiarze sceny (nadpisuje wysokości trybu A) — inaczej pary
	   dzień/zmierzch nie pokrywają się przy przenikaniu. */
	.inb-js:not(.inb-scene-fallback) .inb-cine__frame > .inb-cine__layer img {
		height: 100%;
		min-height: 0;
	}

	/* Zabudowa (i render bazowy, dopóki warstwy się nie wczytają): szybsza warstwa. */
	.inb-js:not(.inb-scene-fallback) .inb-cine__base,
	.inb-js:not(.inb-scene-fallback) .inb-cine__scene {
		transform: translate3d(calc((1 - var(--ae)) * 2% + var(--me) * 4%), 0, 0) scale(calc(0.74 + 0.36 * var(--ae)));
	}

	/* Niebo: wolniejsza warstwa (paralaksa). Przy --p = 0 skala równa zabudowie — kadr = render. */
	.inb-js:not(.inb-scene-fallback) .inb-cine__sky {
		transform: translate3d(calc((1 - var(--ae)) * 2% + var(--me) * 1.5%), 0, 0) scale(calc(0.74 + 0.3 * var(--ae)));
	}

	.inb-js:not(.inb-scene-fallback) .inb-cine__sky--dusk,
	.inb-js:not(.inb-scene-fallback) .inb-cine__scene--dusk,
	.inb-js:not(.inb-scene-fallback) .inb-cine__dusk {
		opacity: var(--te);
	}

	/* Desktop: render bazowy ustępuje warstwom dopiero, gdy są zdekodowane (bez mignięcia). */
	.inb-js:not(.inb-scene-fallback) .inb-cine__sky,
	.inb-js:not(.inb-scene-fallback) .inb-cine__scene {
		visibility: hidden;
	}

	.inb-js:not(.inb-scene-fallback) .inb-cine.is-ready .inb-cine__sky,
	.inb-js:not(.inb-scene-fallback) .inb-cine.is-ready .inb-cine__scene {
		visibility: visible;
	}

	.inb-js:not(.inb-scene-fallback) .inb-cine.is-ready .inb-cine__base {
		visibility: hidden;
	}

	/* Zmierzch pełnokadrowy służy tylko mobile; na desktopie — warstwy. */
	.inb-js:not(.inb-scene-fallback) .inb-cine__dusk {
		display: none !important;
	}

	/* Treść: nakładka na całą scenę; logo u góry, hasło i CTA w lewym dolnym rogu. */
	.inb-js:not(.inb-scene-fallback) .inb-cine .inb-hero__content {
		position: absolute;
		inset: 0;
		/* Absolutny element w gridzie respektuje align-self z trybu A — tu ma wypełnić scenę. */
		align-self: stretch;
		justify-self: stretch;
		/* Flow layout Gutenberga dodaje drugiemu dziecku margin-block-start (blockGap). */
		margin: 0 !important;
		z-index: 2;
		display: grid;
		grid-template-rows: auto 1fr auto auto auto;
		align-content: stretch;
		width: auto;
		box-sizing: border-box;
		padding: 0 var(--wp--preset--spacing--40) clamp(2.5rem, 1.5rem + 4vw, 5.5rem) max(var(--wp--preset--spacing--40), calc((100vw - var(--wp--style--global--wide-size)) / 2));
		pointer-events: none;
	}

	.inb-js:not(.inb-scene-fallback) .inb-cine .inb-hero__content > * {
		pointer-events: auto;
		max-width: 40rem;
	}

	/* Zielony taras = warstwa pierwszego planu: wjeżdża od dołu szybciej niż cokolwiek innego. */
	.inb-js:not(.inb-scene-fallback) .inb-cine .inb-hero__content::before {
		top: auto;
		height: min(64%, 38rem);
		width: min(100%, calc(max(var(--wp--preset--spacing--40), calc((100vw - var(--wp--style--global--wide-size)) / 2)) + 44rem + 26vw));
		transform: translate3d(0, calc((1 - var(--mpe)) * 105%), 0);
	}

	/* Logo: dominuje w pierwszym kadrze nad łukiem, odpływa w górę przy otwieraniu ramy. */
	.inb-js:not(.inb-scene-fallback) .inb-cine__logo {
		grid-row: 1;
		justify-self: center;
		align-self: center;
		height: 21%;
		max-width: none !important;
		display: grid;
		place-items: center;
		margin: 0 !important;
		position: absolute;
		inset: 0 0 auto;
		opacity: calc(1 - var(--a) * 2.4);
		transform: translate3d(0, calc(var(--ae) * -40%), 0) scale(calc(1 - var(--ae) * 0.12));
	}

	.inb-js:not(.inb-scene-fallback) .inb-cine__logo img {
		width: clamp(13rem, 6rem + 15vw, 21rem);
	}

	.inb-js:not(.inb-scene-fallback) .inb-cine .inb-hero__title {
		grid-row: 3;
		opacity: clamp(0, (var(--m) - 0.45) * 3.5, 1);
		transform: translate3d(0, calc((1 - clamp(0, (var(--m) - 0.42) * 2.4, 1)) * 2.5rem), 0);
	}

	.inb-js:not(.inb-scene-fallback) .inb-cine .inb-hero__lead {
		grid-row: 4;
		opacity: clamp(0, (var(--m) - 0.56) * 3.5, 1);
		transform: translate3d(0, calc((1 - clamp(0, (var(--m) - 0.52) * 2.4, 1)) * 2rem), 0);
	}

	.inb-js:not(.inb-scene-fallback) .inb-cine .inb-hero__actions {
		grid-row: 5;
		opacity: clamp(0, (var(--m) - 0.66) * 3.5, 1);
		transform: translate3d(0, calc((1 - clamp(0, (var(--m) - 0.62) * 2.7, 1)) * 1.5rem), 0);
	}

	/* Elementy zanikające nie przechwytują kliknięć; fokus klawiatury przewija do kadru końcowego. */
	.inb-js:not(.inb-scene-fallback) .inb-cine:not(.is-end) .inb-hero__actions {
		pointer-events: none;
	}

	/* --- Mobile (cinematic): krótsza scena, mniej warstw, łuk na całą szerokość. --- */
	@media (max-width: 781px) {
		.inb-js:not(.inb-scene-fallback) .inb-cine {
			--inb-cine-length: 240svh;
		}

		.inb-js:not(.inb-scene-fallback) .inb-cine__frame {
			clip-path: inset(calc(var(--inv) * 19%) calc(var(--inv) * 6%) calc(var(--inv) * 6%) calc(var(--inv) * 6%) round calc(var(--inv) * 44vw) calc(var(--inv) * 44vw) calc(var(--inv) * 0.5rem) calc(var(--inv) * 0.5rem));
		}

		.inb-js:not(.inb-scene-fallback) .inb-cine__frame > .inb-cine__layer {
			transform-origin: 50% 55%;
		}

		.inb-js:not(.inb-scene-fallback) .inb-cine__layer img {
			object-position: 48% 50%;
		}

		/* Bez warstw głębi (transfer, płynność): render dzienny + wyrównany zmierzch. */
		.inb-js:not(.inb-scene-fallback) .inb-cine__frame > .inb-cine__sky,
		.inb-js:not(.inb-scene-fallback) .inb-cine__frame > .inb-cine__scene {
			display: none;
		}

		.inb-js:not(.inb-scene-fallback) .inb-cine.is-ready .inb-cine__base,
		.inb-js:not(.inb-scene-fallback) .inb-cine__base {
			visibility: visible;
		}

		.inb-js:not(.inb-scene-fallback) .inb-cine__frame > .inb-cine__dusk {
			display: block !important;
		}

		.inb-js:not(.inb-scene-fallback) .inb-cine__base,
		.inb-js:not(.inb-scene-fallback) .inb-cine__dusk {
			/* Start: kadr obniżony, żeby dach był widoczny w łuku; koniec: uniesiony nad zielony panel. */
			transform: translate3d(0, calc((1 - var(--ae)) * 15% - var(--me) * 17%), 0) scale(calc(1 + 0.08 * var(--ae)));
		}

		.inb-js:not(.inb-scene-fallback) .inb-cine .inb-hero__content {
			padding: 0 var(--wp--preset--spacing--40) 2rem;
			background: none;
		}

		.inb-js:not(.inb-scene-fallback) .inb-cine .inb-hero__content > * {
			max-width: none;
		}

		.inb-js:not(.inb-scene-fallback) .inb-cine__logo {
			height: 19%;
		}

		.inb-js:not(.inb-scene-fallback) .inb-cine__logo img {
			width: min(74vw, 18rem);
		}

		/* Zielony panel z łukiem na górnej krawędzi wjeżdża od dołu pod hasło. */
		.inb-js:not(.inb-scene-fallback) .inb-cine .inb-hero__content::before {
			inset: auto 0 0;
			top: auto;
			width: auto;
			height: 58%;
			max-height: none;
			background: var(--wp--custom--color--surface-dark);
			-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 600' preserveAspectRatio='none'%3E%3Cpath d='M0 600V34C90 0 210 4 280 30c46 17 82 33 120 42v528z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
			mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 600' preserveAspectRatio='none'%3E%3Cpath d='M0 600V34C90 0 210 4 280 30c46 17 82 33 120 42v528z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
			transform: translate3d(0, calc((1 - var(--mpe)) * 100%), 0);
		}

		.inb-js:not(.inb-scene-fallback) .inb-cine .inb-hero__lead {
			font-size: var(--wp--preset--font-size--small);
		}
	}
}
