/* ==========================================================================
   BeART TM — hero „technický viewport" (template-parts/hero-wire.php)
   --------------------------------------------------------------------------
   CAD pracovná plocha: mriežka, pravítka, osi, kóty a drôtený 3D model loga
   z vrstiev (preserve-3d). Pracovný cyklus 16 s:
     0–25 %  01 NÁVRH   obrys sa dokreslí, kóty
    25–50 %  02 REZ     po kontúre prejde fréza
    50–75 %  03 VÝROBA  vrstvy narastú, vrchná dostane prechod
    75–100 % 04 SVETLO  rozsvietenie
   Animuje sa len transform, opacity, stroke-dashoffset a celočíselné
   @property počítadlá. Východiskové hodnoty (bez animácie) = hotový,
   rozsvietený model — to je stav pri prefers-reduced-motion.
   Pozor: opacity < 1 na prvku s preserve-3d ho sploští, preto sa stmievajú
   len listové prvky (vrstvy), nikdy `.beart-wf-object`.
   ========================================================================== */

.beart-wf {
	--wf-ink: var(--beart-on-surface);
	--wf-muted: var(--beart-on-surface-muted);
	--wf-grid: color-mix(in oklab, var(--beart-on-surface) 5%, transparent);
	--wf-grid-major: color-mix(in oklab, var(--beart-on-surface) 10%, transparent);
	--wf-tick: color-mix(in oklab, var(--beart-on-surface) 32%, transparent);
	--wf-accent: var(--beart-accent);
	--wf-cycle: 16s;
	--wf-gap: clamp(3px, 0.42vw, 6.5px);

	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: clamp(1.5rem, 1rem + 2vw, 3rem) 0 clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}

/* ---------- Rastrový portrét v pozadí ---------- */
.beart-wf-raster {
	position: absolute;
	z-index: -1;
	top: 50%;
	left: calc(50% - min(450px, 31vw) - 40px);
	width: min(900px, 62vw);
	aspect-ratio: 1;
	opacity: 0.36;
	transform: perspective(1400px) translateY(-50%);
	pointer-events: none;
}

.beart-wf-raster {
	--wf-raster-color: var(--beart-violet-600);
}

:root[data-theme="dark"] .beart-wf-raster {
	--wf-raster-color: var(--beart-lilac-300);
	opacity: 0.36;
}

.beart-wf-raster-canvas {
	display: block;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.8s ease;
}

.beart-wf-raster.is-ready .beart-wf-raster-canvas {
	opacity: 1;
}

.beart-wf-inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2rem, 1rem + 3vw, 4rem);
	align-items: center;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 2.5rem;
}

/* ---------- Text ---------- */
.beart-wf-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin: 0 0 1.2rem;
	font-family: var(--font-mono);
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wf-accent);
}

.beart-wf-eyebrow::before {
	content: '';
	width: 28px;
	height: 1.5px;
	background: currentColor;
}

.beart-wf-title {
	margin: 0 0 1.3rem;
	font-size: clamp(2.2rem, 1.2rem + 2.5vw, 3.7rem);
	font-weight: 900;
	line-height: 1.02;
	letter-spacing: -0.045em;
	color: var(--beart-on-surface-strong);
	text-wrap: balance;
}

.beart-wf-title-accent {
	display: block;
	background: linear-gradient(90deg, #c8288f 0%, var(--beart-violet-600) 70%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

:root[data-theme="dark"] .beart-wf-title-accent {
	background-image: linear-gradient(90deg, #f6a6e4 0%, #b79cfb 70%);
}

.beart-wf-lead {
	max-width: 34em;
	margin: 0 0 2rem;
	font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.18rem);
	line-height: 1.65;
	color: var(--wf-muted);
}

.beart-wf-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 2rem;
}

.beart-wf-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.9rem 1.4rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--beart-on-surface-strong);
	text-decoration: none;
	border: 1.5px solid var(--beart-line-strong);
	border-radius: 10px;
	transition: transform 0.2s var(--beart-ease-out, ease), border-color 0.2s ease, box-shadow 0.2s ease;
}

.beart-wf-btn:hover {
	transform: translateY(-2px);
	border-color: var(--beart-on-surface-strong);
}

.beart-wf-btn--primary {
	color: var(--beart-ink-000);
	background: var(--beart-gradient-brand);
	border-color: transparent;
	box-shadow: 0 10px 26px rgba(139, 92, 246, 0.28);
}

.beart-wf-btn--primary:hover {
	border-color: transparent;
	box-shadow: 0 14px 32px rgba(139, 92, 246, 0.38);
}

.beart-wf-pillars {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.beart-wf-pillars a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--beart-on-surface-soft);
	text-decoration: none;
}

.beart-wf-pillars a::before {
	content: '';
	width: 9px;
	height: 9px;
	border: 1.5px solid var(--pa);
	border-radius: 2px;
	transition: transform 0.25s var(--beart-ease-out, ease), background-color 0.25s ease;
}

.beart-wf-pillars a:hover {
	color: var(--beart-on-surface-strong);
}

.beart-wf-pillars a:hover::before {
	background: var(--pa);
	transform: rotate(45deg);
}

/* ---------- Viewport ---------- */
.beart-wf-viewport {
	position: relative;
	aspect-ratio: 16 / 11;
	min-height: 360px;
	overflow: hidden;
	color: var(--wf-ink);
	background-color: color-mix(in oklab, var(--beart-surface-raised) 55%, transparent);
	background-image:
		linear-gradient(var(--wf-grid-major) 1px, transparent 1px),
		linear-gradient(90deg, var(--wf-grid-major) 1px, transparent 1px),
		linear-gradient(var(--wf-grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--wf-grid) 1px, transparent 1px);
	background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
	background-position: -1px -1px;
	border: 1px solid var(--beart-line-strong);
	border-radius: 18px;
	isolation: isolate;
}

/* Vinetácia — mriežka sa k okrajom stráca, stred ostáva čistý. */
.beart-wf-viewport::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background: radial-gradient(70% 65% at 55% 50%, transparent 45%, color-mix(in oklab, var(--beart-surface-raised) 80%, transparent) 100%);
	pointer-events: none;
}

.beart-wf-defs {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.beart-wf-ruler {
	position: absolute;
	z-index: 2;
	pointer-events: none;
}

.beart-wf-ruler--x {
	top: 0;
	left: 18px;
	right: 0;
	height: 18px;
	background:
		repeating-linear-gradient(90deg, var(--wf-tick) 0 1px, transparent 1px 10px) left bottom / 100% 5px no-repeat,
		repeating-linear-gradient(90deg, var(--wf-tick) 0 1px, transparent 1px 50px) left bottom / 100% 11px no-repeat;
	border-bottom: 1px solid var(--beart-line);
}

.beart-wf-ruler--y {
	top: 18px;
	left: 0;
	bottom: 0;
	width: 18px;
	background:
		repeating-linear-gradient(180deg, var(--wf-tick) 0 1px, transparent 1px 10px) right top / 5px 100% no-repeat,
		repeating-linear-gradient(180deg, var(--wf-tick) 0 1px, transparent 1px 50px) right top / 11px 100% no-repeat;
	border-right: 1px solid var(--beart-line);
}

.beart-wf-corner {
	position: absolute;
	z-index: 2;
	width: 14px;
	height: 14px;
	border: 0 solid var(--wf-accent);
	pointer-events: none;
}

.beart-wf-corner--tl { top: 28px; left: 28px; border-top-width: 1.5px; border-left-width: 1.5px; }
.beart-wf-corner--tr { top: 28px; right: 10px; border-top-width: 1.5px; border-right-width: 1.5px; }
.beart-wf-corner--bl { bottom: 10px; left: 28px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.beart-wf-corner--br { bottom: 10px; right: 10px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

.beart-wf-label,
.beart-wf-readout,
.beart-wf-timeline {
	position: absolute;
	z-index: 3;
	font-family: var(--font-mono);
	font-size: 0.66rem;
	letter-spacing: 0.08em;
	color: var(--wf-muted);
}

.beart-wf-label--tl { top: 32px; left: 50px; }
.beart-wf-label--tr { top: 32px; right: 32px; display: inline-flex; align-items: center; gap: 0.45rem; }

.beart-wf-live {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

/* ---------- Scéna a model ---------- */
.beart-wf-stage {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: grid;
	place-items: center;
	perspective: 1500px;
	perspective-origin: 50% 30%;
}

.beart-wf-object {
	position: relative;
	width: 60%;
	aspect-ratio: 810 / 338;
	margin-top: -4%;
	transform-style: preserve-3d;
	transform: rotateX(56deg) rotateZ(-26deg);
}

.beart-wf-floor {
	position: absolute;
	inset: -26% -18%;
	background-image:
		linear-gradient(var(--beart-glow-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--beart-glow-line) 1px, transparent 1px);
	background-size: 8.33% 12.5%;
	border: 1px solid var(--beart-glow-line);
	opacity: 0.55;
	-webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
	mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
	transform: translateZ(-1px);
}

.beart-wf-dims,
.beart-wf-layer {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.beart-wf-dims {
	transform: translateZ(0.5px);
}

.beart-wf-dim {
	fill: none;
	stroke: var(--wf-accent);
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
	stroke-dasharray: 100;
	stroke-dashoffset: 0;
}

.beart-wf-dimtext {
	font-family: var(--font-mono);
	font-size: 22px;
	letter-spacing: 0.06em;
	fill: var(--wf-accent);
}

.beart-wf-layer {
	transform: translateZ(calc(var(--i) * var(--wf-gap)));
	fill: none;
	stroke: color-mix(in oklab, #f25fc2, #6d3be4 calc(var(--i) * 10%));
	stroke-width: 1;
	opacity: 0.6;
}

.beart-wf-layer--shadow {
	stroke: var(--wf-ink);
	stroke-dasharray: 0.06 0.09;
	opacity: 0.28;
}

.beart-wf-layer--face {
	opacity: 1;
	stroke: none;
}

.beart-wf-outline {
	stroke: var(--wf-ink);
	stroke-width: 1.4;
	stroke-dasharray: 100;
	stroke-dashoffset: 0;
}

.beart-wf-fill {
	fill: url(#wf-grad);
	opacity: 0.9;
}

.beart-wf-glow {
	stroke: var(--beart-violet-400);
	stroke-width: 9;
	stroke-linejoin: round;
	opacity: 0.28;
}

.beart-wf-spark {
	stroke: #ff3d9a;
	stroke-width: 3.5;
	stroke-linecap: round;
	stroke-dasharray: 0.6 99.4;
	stroke-dashoffset: 0;
	opacity: 0;
}

/* Kóta hĺbky: zvislá čiara postavená v osi Z v pravom dolnom rohu. */
.beart-wf-zdim {
	position: absolute;
	top: 100%;
	left: calc(100% + 14px);
	width: 0;
	height: calc(10 * var(--wf-gap));
	border-left: 1px solid var(--wf-accent);
	transform-origin: top left;
	transform: rotateX(90deg);
}

.beart-wf-zdim::before,
.beart-wf-zdim::after {
	content: '';
	position: absolute;
	left: -5px;
	width: 9px;
	border-top: 1px solid var(--wf-accent);
}

.beart-wf-zdim::before { top: 0; }
.beart-wf-zdim::after { bottom: 0; }

.beart-wf-zdim span {
	position: absolute;
	top: 50%;
	left: 7px;
	font-family: var(--font-mono);
	font-size: 0.62rem;
	color: var(--wf-accent);
	transform: translateY(-50%);
}

/* ---------- Osi, súradnice, časová os ---------- */
.beart-wf-axes {
	position: absolute;
	z-index: 3;
	left: 26px;
	bottom: 54px;
	width: 58px;
	height: 58px;
	overflow: visible;
}

.beart-wf-axis { fill: none; stroke-width: 1.6; stroke-linecap: round; }
.beart-wf-axis--x { stroke: #e0368f; }
.beart-wf-axis--y { stroke: var(--beart-violet-400); }
.beart-wf-axis--z { stroke: #22a8d6; }

.beart-wf-axes text {
	font-family: var(--font-mono);
	font-size: 9px;
	fill: var(--wf-muted);
}

@property --wf-x { syntax: '<integer>'; inherits: false; initial-value: 1200; }
@property --wf-y { syntax: '<integer>'; inherits: false; initial-value: 495; }
@property --wf-z { syntax: '<integer>'; inherits: false; initial-value: 60; }
@property --wf-l { syntax: '<integer>'; inherits: false; initial-value: 10; }

.beart-wf-readout {
	top: 54px;
	right: 32px;
	display: grid;
	gap: 0.2rem;
	margin: 0;
	padding: 0.6rem 0.75rem;
	background: color-mix(in oklab, var(--beart-surface) 82%, transparent);
	border: 1px solid var(--beart-line);
	border-radius: 8px;
}

.beart-wf-readout div {
	display: flex;
	justify-content: space-between;
	gap: 1.2rem;
}

.beart-wf-readout dt { color: var(--wf-muted); }
.beart-wf-readout dd { margin: 0; color: var(--wf-ink); font-weight: 700; font-variant-numeric: tabular-nums; }

.beart-wf-num--x { counter-reset: wfx var(--wf-x); }
.beart-wf-num--y { counter-reset: wfy var(--wf-y); }
.beart-wf-num--z { counter-reset: wfz var(--wf-z); }
.beart-wf-num--l { counter-reset: wfl var(--wf-l); }
.beart-wf-num--x::after { content: counter(wfx) '.0'; }
.beart-wf-num--y::after { content: counter(wfy) '.0'; }
.beart-wf-num--z::after { content: counter(wfz) '.0'; }
.beart-wf-num--l::after { content: counter(wfl, decimal-leading-zero) ' / 10'; }

.beart-wf-timeline {
	left: 50px;
	right: 32px;
	bottom: 22px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.7rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.beart-wf-timeline li {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.15rem 0.45rem;
	align-items: baseline;
}

.beart-wf-step-name {
	font-weight: 700;
	text-transform: uppercase;
	color: var(--wf-ink);
}

.beart-wf-step-bar {
	position: relative;
	grid-column: 1 / -1;
	height: 2px;
	overflow: hidden;
	background: var(--beart-line);
}

.beart-wf-step-bar::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #f25fc2, var(--beart-violet-400));
	transform-origin: left center;
}

/* ---------- Rozloženie ---------- */
@media (max-width: 960px) {
	.beart-wf-raster {
		top: 44%;
		left: -15vw;
		width: 130vw;
		opacity: 0.24;
	}

	.beart-wf-inner {
		grid-template-columns: minmax(0, 1fr);
		padding: 0 1.25rem;
	}

	.beart-wf-viewport {
		order: -1;
		aspect-ratio: 4 / 3;
		min-height: 300px;
	}

	.beart-wf-object {
		width: 70%;
	}
}

@media (max-width: 560px) {
	.beart-wf-readout,
	.beart-wf-label--tl,
	.beart-wf-axes {
		display: none;
	}

	.beart-wf-timeline {
		left: 30px;
		right: 16px;
		bottom: 16px;
		gap: 0.45rem;
		font-size: 0.58rem;
	}

	.beart-wf-timeline li {
		grid-template-columns: 1fr;
	}

	.beart-wf-step-num {
		display: none;
	}

	.beart-wf-object {
		width: 78%;
		margin-top: -8%;
	}
}

/* ==========================================================================
   RÉŽIA (len keď používateľ pohyb nevypol)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
	.beart-wf.is-paused * {
		animation-play-state: paused !important;
	}

	.beart-wf-live { animation: wf-blink 1.6s steps(1, end) infinite; }

	/* Raster: body zhlukuje hero-raster.js, CSS pridáva len pomalý 3D náklon. */
	.beart-wf-raster { animation: wf-raster-sway 22s ease-in-out infinite alternate; }

	.beart-wf-object { animation: wf-orbit 11s ease-in-out infinite alternate; }

	.beart-wf-outline { animation: wf-draw var(--wf-cycle) linear infinite; }
	.beart-wf-dim { animation: wf-dims var(--wf-cycle) linear infinite; }
	.beart-wf-dimtext { animation: wf-dimtext var(--wf-cycle) linear infinite; }
	.beart-wf-spark { animation: wf-spark var(--wf-cycle) linear infinite; }
	.beart-wf-fill { animation: wf-fill var(--wf-cycle) linear infinite; }
	.beart-wf-glow { animation: wf-glow var(--wf-cycle) linear infinite; }
	.beart-wf-zdim { animation: wf-zdim var(--wf-cycle) linear infinite; }

	.beart-wf-layer:not(.beart-wf-layer--shadow):not(.beart-wf-layer--face) {
		animation: wf-build var(--wf-cycle) linear infinite both;
		animation-delay: calc(var(--i) * 0.34s);
	}

	.beart-wf-num--x { animation: wf-x var(--wf-cycle) linear infinite; }
	.beart-wf-num--y { animation: wf-y var(--wf-cycle) linear infinite; }
	.beart-wf-num--z { animation: wf-z var(--wf-cycle) linear infinite; }
	.beart-wf-num--l { animation: wf-l var(--wf-cycle) linear infinite; }

	.beart-wf-timeline li:nth-child(1) .beart-wf-step-bar::after { animation: wf-bar-1 var(--wf-cycle) linear infinite; }
	.beart-wf-timeline li:nth-child(2) .beart-wf-step-bar::after { animation: wf-bar-2 var(--wf-cycle) linear infinite; }
	.beart-wf-timeline li:nth-child(3) .beart-wf-step-bar::after { animation: wf-bar-3 var(--wf-cycle) linear infinite; }
	.beart-wf-timeline li:nth-child(4) .beart-wf-step-bar::after { animation: wf-bar-4 var(--wf-cycle) linear infinite; }
	.beart-wf-timeline li:nth-child(1) .beart-wf-step-name { animation: wf-step-1 var(--wf-cycle) steps(1, end) infinite; }
	.beart-wf-timeline li:nth-child(2) .beart-wf-step-name { animation: wf-step-2 var(--wf-cycle) steps(1, end) infinite; }
	.beart-wf-timeline li:nth-child(3) .beart-wf-step-name { animation: wf-step-3 var(--wf-cycle) steps(1, end) infinite; }
	.beart-wf-timeline li:nth-child(4) .beart-wf-step-name { animation: wf-step-4 var(--wf-cycle) steps(1, end) infinite; }
}

@keyframes wf-blink {
	0% { opacity: 1; }
	50% { opacity: 0.25; }
}

@keyframes wf-orbit {
	from { transform: rotateX(58deg) rotateZ(-34deg); }
	to { transform: rotateX(52deg) rotateZ(-14deg); }
}

/* 01 NÁVRH — obrys a kóty. */
@keyframes wf-draw {
	0% { stroke-dashoffset: 100; opacity: 1; }
	20% { stroke-dashoffset: 0; }
	95% { stroke-dashoffset: 0; opacity: 1; }
	100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes wf-dims {
	0%, 6% { stroke-dashoffset: 100; opacity: 1; }
	22% { stroke-dashoffset: 0; }
	95% { stroke-dashoffset: 0; opacity: 1; }
	100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes wf-dimtext {
	0%, 16% { opacity: 0; }
	22%, 95% { opacity: 1; }
	100% { opacity: 0; }
}

/* 02 REZ — svietiaci bod prejde po kontúre. */
@keyframes wf-spark {
	0%, 24.9% { stroke-dashoffset: 100; opacity: 0; }
	25% { stroke-dashoffset: 100; opacity: 1; }
	49% { stroke-dashoffset: 0; opacity: 1; }
	50%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

/* 03 VÝROBA — vrstvy (oneskorenie podľa --i) a výplň čela. */
@keyframes wf-build {
	0%, 50% { opacity: 0; }
	52%, 94% { opacity: 0.6; }
	100% { opacity: 0; }
}

@keyframes wf-zdim {
	0%, 50% { transform: rotateX(90deg) scaleY(0); }
	70%, 100% { transform: rotateX(90deg) scaleY(1); }
}

@keyframes wf-fill {
	0%, 60% { opacity: 0; }
	70%, 94% { opacity: 0.9; }
	100% { opacity: 0; }
}

/* 04 SVETLO — rozsvietenie čela. */
@keyframes wf-glow {
	0%, 75% { opacity: 0; }
	78% { opacity: 0.55; }
	80% { opacity: 0.15; }
	83%, 94% { opacity: 0.42; }
	100% { opacity: 0; }
}

/* Súradnice nástroja a číslo vrstvy. */
@keyframes wf-x {
	0% { --wf-x: 0; }
	20% { --wf-x: 1200; }
	25% { --wf-x: 1200; }
	31% { --wf-x: 184; }
	37% { --wf-x: 836; }
	43% { --wf-x: 402; }
	50% { --wf-x: 1200; }
	100% { --wf-x: 1200; }
}

@keyframes wf-y {
	0% { --wf-y: 0; }
	20% { --wf-y: 495; }
	28% { --wf-y: 88; }
	34% { --wf-y: 412; }
	41% { --wf-y: 236; }
	50% { --wf-y: 495; }
	100% { --wf-y: 495; }
}

@keyframes wf-z {
	0%, 25% { --wf-z: 0; }
	27%, 48% { --wf-z: -3; }
	50% { --wf-z: 0; }
	72% { --wf-z: 60; }
	100% { --wf-z: 60; }
}

@keyframes wf-l {
	0%, 50% { --wf-l: 0; }
	72% { --wf-l: 10; }
	100% { --wf-l: 10; }
}

/* Časová os — pás kroku sa plní počas jeho štvrtiny cyklu. */
@keyframes wf-bar-1 { 0% { transform: scaleX(0); } 25%, 97% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes wf-bar-2 { 0%, 25% { transform: scaleX(0); } 50%, 97% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes wf-bar-3 { 0%, 50% { transform: scaleX(0); } 75%, 97% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes wf-bar-4 { 0%, 75% { transform: scaleX(0); } 97% { transform: scaleX(1); } 100% { transform: scaleX(0); } }

@keyframes wf-step-1 { 0% { opacity: 1; } 25% { opacity: 0.45; } }
@keyframes wf-step-2 { 0% { opacity: 0.45; } 25% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes wf-step-3 { 0% { opacity: 0.45; } 50% { opacity: 1; } 75% { opacity: 0.45; } }
@keyframes wf-step-4 { 0% { opacity: 0.45; } 75% { opacity: 1; } }

/* Pozadie — portrét z bodiek pomaly dýcha v priestore. */
@keyframes wf-raster-sway {
	from { transform: perspective(1400px) translateY(-50%) rotateY(-9deg) rotateX(3deg); }
	to { transform: perspective(1400px) translateY(-50%) rotateY(7deg) rotateX(-2deg) translateZ(40px); }
}
