/**
 * Zezuru Elements — Hero Slider
 *
 * Full-bleed media slider. Loaded only on pages that contain the block, and
 * also inside the block editor canvas for a faithful preview.
 *
 * Structure
 *   section.zezel-hero
 *     .zezel-hero__track
 *       .zezel-hero__slide (.is-active | .is-entering | .is-leaving | .is-dormant)
 *         .zezel-hero__media  > img | video | .zezel-hero__placeholder
 *         .zezel-hero__overlay
 *         .zezel-hero__inner > .zezel-hero__content > eyebrow, title, text, actions
 *     .zezel-hero__ui (pager, counter, pause, arrows)
 *
 * @package Zezuru_Elements
 * @since   2.6.0
 */

/* ---------------------------------------------------------------------
 * Frame
 * ------------------------------------------------------------------ */
.zezel-hero {
	--zezel-hero-speed: 1100ms;
	--zezel-hero-interval: 6500ms;
	--zezel-hero-h: 80vh;
	--zezel-hero-min: 520px;
	--zezel-hero-content: 760px;
	--zezel-hero-accent: #6c5ce7;
	--zezel-hero-ease: cubic-bezier(.77, 0, .175, 1);
	--zezel-hero-out: cubic-bezier(.16, 1, .3, 1);
	--zezel-hero-gutter: clamp(1.25rem, 5vw, 4.5rem);
	--zezel-dir: 1;

	position: relative;
	isolation: isolate;
	overflow: hidden;
	box-sizing: border-box;
	min-height: max(var(--zezel-hero-min), var(--zezel-hero-h));
	color: #fff;
	background: #0b0b1a;
	-webkit-font-smoothing: antialiased;
	touch-action: pan-y;
}
.zezel-hero *,
.zezel-hero *::before,
.zezel-hero *::after { box-sizing: border-box; }

.zezel-hero--h-screen { --zezel-hero-h: 100vh; min-height: max(var(--zezel-hero-min), 100svh); }
.zezel-hero--h-large  { --zezel-hero-h: 85vh; }
.zezel-hero--h-medium { --zezel-hero-h: 65vh; }

/* Escape a boxed theme container (classic themes without align-full). */
.zezel-hero--breakout {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}

.zezel-hero__track { position: absolute; inset: 0; }

/* ---------------------------------------------------------------------
 * Slides & transitions
 * ------------------------------------------------------------------ */
.zezel-hero__slide {
	position: absolute;
	inset: 0;
	display: flex;
	opacity: 0;
	visibility: hidden;
	color: var(--zezel-hero-fg, #fff);
	transition: opacity var(--zezel-hero-speed) ease, visibility 0s linear var(--zezel-hero-speed);
}
.zezel-hero__slide.is-dormant { display: none; }
.zezel-hero__slide.is-active {
	z-index: 2;
	opacity: 1;
	visibility: visible;
	transition: opacity var(--zezel-hero-speed) ease, transform var(--zezel-hero-speed) var(--zezel-hero-ease), clip-path var(--zezel-hero-speed) var(--zezel-hero-ease), visibility 0s;
}
.zezel-hero__slide.is-leaving {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	transition: transform var(--zezel-hero-speed) var(--zezel-hero-ease), filter var(--zezel-hero-speed) ease, visibility 0s linear var(--zezel-hero-speed);
}
.zezel-hero__slide.is-entering { transition: none !important; }

/* Fade (cross-fade: the outgoing slide stays solid underneath) */
.zezel-hero--fx-fade .is-entering { opacity: 0; }

/* Slide */
.zezel-hero--fx-slide .is-entering { opacity: 1; transform: translate3d(calc(var(--zezel-dir) * 100%), 0, 0); }
.zezel-hero--fx-slide .is-active   { transform: translate3d(0, 0, 0); }
.zezel-hero--fx-slide .is-leaving  { transform: translate3d(calc(var(--zezel-dir) * -28%), 0, 0); filter: brightness(.5); }

/* Zoom */
.zezel-hero--fx-zoom .is-entering { opacity: 0; transform: scale(1.16); }
.zezel-hero--fx-zoom .is-active   { transform: scale(1); }
.zezel-hero--fx-zoom .is-leaving  { transform: scale(.94); filter: brightness(.6) blur(2px); }

/* Curtain (directional clip-path wipe) */
.zezel-hero--fx-curtain .is-entering { opacity: 1; clip-path: inset(0 0 0 100%); }
.zezel-hero--fx-curtain.is-back .is-entering { clip-path: inset(0 100% 0 0); }
.zezel-hero--fx-curtain .is-active   { clip-path: inset(0 0 0 0); }
.zezel-hero--fx-curtain .is-leaving  { transform: scale(1.06); filter: brightness(.55); }

/* Parallax (the media counter-moves inside the sliding frame) */
.zezel-hero--fx-parallax .zezel-hero__media { transition: transform var(--zezel-hero-speed) var(--zezel-hero-ease); }
.zezel-hero--fx-parallax .is-entering { opacity: 1; transform: translate3d(calc(var(--zezel-dir) * 100%), 0, 0); }
.zezel-hero--fx-parallax .is-entering .zezel-hero__media { transform: translate3d(calc(var(--zezel-dir) * -55%), 0, 0); transition: none; }
.zezel-hero--fx-parallax .is-active { transform: translate3d(0, 0, 0); }
.zezel-hero--fx-parallax .is-leaving { transform: translate3d(calc(var(--zezel-dir) * -100%), 0, 0); }
.zezel-hero--fx-parallax .is-leaving .zezel-hero__media { transform: translate3d(calc(var(--zezel-dir) * 55%), 0, 0); }

/* ---------------------------------------------------------------------
 * Media
 * ------------------------------------------------------------------ */
.zezel-hero__media { position: absolute; inset: 0; overflow: hidden; }
.zezel-hero__media img,
.zezel-hero__media video {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transform-origin: 50% 50%;
}

.zezel-hero--kenburns .is-active .zezel-hero__media > :is(img, video) {
	animation: zezel-hero-kb calc(var(--zezel-hero-interval) + var(--zezel-hero-speed) * 2) var(--zezel-hero-out) both;
}
.zezel-hero--kenburns .zezel-hero__slide:nth-child(even).is-active .zezel-hero__media > :is(img, video) { animation-name: zezel-hero-kb-alt; }
.zezel-hero--kenburns .is-leaving .zezel-hero__media > :is(img, video) { animation-play-state: paused; }

.zezel-hero__placeholder {
	position: absolute;
	inset: -20%;
	background:
		radial-gradient(40% 50% at 20% 30%, color-mix(in srgb, var(--zezel-hero-accent) 85%, transparent), transparent 70%),
		radial-gradient(35% 45% at 80% 20%, rgba(0, 184, 148, .55), transparent 70%),
		radial-gradient(45% 55% at 70% 85%, rgba(253, 121, 168, .45), transparent 70%),
		linear-gradient(135deg, #0b0b1a, #1b1440 60%, #0b0b1a);
	filter: saturate(1.15);
	animation: zezel-hero-mesh 18s ease-in-out infinite alternate;
}
.zezel-hero__slide:nth-child(even) .zezel-hero__placeholder { animation-direction: alternate-reverse; filter: hue-rotate(40deg) saturate(1.1); }

/* ---------------------------------------------------------------------
 * Overlay — colour and strength per slide, shape per slider.
 * ------------------------------------------------------------------ */
.zezel-hero__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: var(--zezel-hero-ov, #0b0b1a);
	opacity: var(--zezel-hero-ov-a, .45);
}
.zezel-hero--overlay-gradient .zezel-hero__overlay {
	-webkit-mask-image: linear-gradient(100deg, #000 0%, rgba(0, 0, 0, .85) 35%, rgba(0, 0, 0, .25) 75%, rgba(0, 0, 0, .1) 100%);
	mask-image: linear-gradient(100deg, #000 0%, rgba(0, 0, 0, .85) 35%, rgba(0, 0, 0, .25) 75%, rgba(0, 0, 0, .1) 100%);
	opacity: calc(var(--zezel-hero-ov-a, .45) + .3);
}
.zezel-hero--overlay-gradient .zezel-hero__slide--right .zezel-hero__overlay {
	-webkit-mask-image: linear-gradient(260deg, #000 0%, rgba(0, 0, 0, .85) 35%, rgba(0, 0, 0, .25) 75%, rgba(0, 0, 0, .1) 100%);
	mask-image: linear-gradient(260deg, #000 0%, rgba(0, 0, 0, .85) 35%, rgba(0, 0, 0, .25) 75%, rgba(0, 0, 0, .1) 100%);
}
.zezel-hero--overlay-gradient .zezel-hero__slide--center .zezel-hero__overlay,
.zezel-hero--overlay-radial .zezel-hero__overlay {
	-webkit-mask-image: radial-gradient(75% 70% at 50% 55%, #000 0%, rgba(0, 0, 0, .55) 60%, rgba(0, 0, 0, .9) 100%);
	mask-image: radial-gradient(75% 70% at 50% 55%, #000 0%, rgba(0, 0, 0, .55) 60%, rgba(0, 0, 0, .9) 100%);
	opacity: calc(var(--zezel-hero-ov-a, .45) + .2);
}
.zezel-hero--overlay-bottom .zezel-hero__overlay {
	-webkit-mask-image: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .6) 45%, transparent 85%);
	mask-image: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .6) 45%, transparent 85%);
	opacity: calc(var(--zezel-hero-ov-a, .45) + .35);
}
.zezel-hero--overlay-none .zezel-hero__overlay { display: none; }

/* Fine grain for a filmic finish (tiny inline SVG, no request). */
.zezel-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	opacity: .07;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------------
 * Content
 * ------------------------------------------------------------------ */
.zezel-hero__inner {
	position: relative;
	z-index: 4;
	display: flex;
	width: 100%;
	max-width: calc(1320px + var(--zezel-hero-gutter) * 2);
	margin: 0 auto;
	padding: calc(var(--zezel-hero-gutter) * 1.3) var(--zezel-hero-gutter) calc(var(--zezel-hero-gutter) + 5.5rem);
	align-items: center;
}
.zezel-hero__slide--v-top    .zezel-hero__inner { align-items: flex-start; }
.zezel-hero__slide--v-bottom .zezel-hero__inner { align-items: flex-end; }
.zezel-hero__slide--center   .zezel-hero__inner { justify-content: center; text-align: center; }
.zezel-hero__slide--right    .zezel-hero__inner { justify-content: flex-end; text-align: right; }

.zezel-hero__content { max-width: var(--zezel-hero-content); }

.zezel-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .6em;
	margin: 0 0 1.4rem;
	padding: .5em 1em .5em .8em;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .14em;
	line-height: 1;
	text-transform: uppercase;
}
.zezel-hero__eyebrow::before {
	content: "";
	width: .5em;
	height: .5em;
	border-radius: 50%;
	background: var(--zezel-hero-accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--zezel-hero-accent) 30%, transparent), 0 0 14px var(--zezel-hero-accent);
}

.zezel-hero .zezel-hero__title {
	margin: 0 0 1.25rem;
	color: inherit;
	font-size: clamp(2.35rem, 1.2rem + 4.4vw, 5.4rem);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -.03em;
	text-wrap: balance;
}
.zezel-hero__title em,
.zezel-hero__title strong {
	font-style: normal;
	background: linear-gradient(100deg, #fff 10%, color-mix(in srgb, var(--zezel-hero-accent) 70%, #fff));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.zezel-hero__text {
	max-width: 36em;
	margin: 0 0 2.2rem;
	font-size: clamp(1rem, .9rem + .45vw, 1.25rem);
	line-height: 1.6;
	opacity: .86;
	text-wrap: pretty;
}
.zezel-hero__slide--center .zezel-hero__text { margin-left: auto; margin-right: auto; }
.zezel-hero__slide--right  .zezel-hero__text { margin-left: auto; }

.zezel-hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.zezel-hero__slide--center .zezel-hero__actions { justify-content: center; }
.zezel-hero__slide--right  .zezel-hero__actions { justify-content: flex-end; }

.zezel-hero__cta {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	padding: 1rem 1.6rem;
	border-radius: 999px;
	font-size: .98rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none !important;
	transition: transform .4s var(--zezel-hero-out), box-shadow .4s var(--zezel-hero-out), background-color .3s ease, border-color .3s ease;
}
.zezel-hero__cta svg { width: 1.1em; height: 1.1em; transition: transform .4s var(--zezel-hero-out); }
.zezel-hero__cta:hover svg { transform: translateX(4px); }
.zezel-hero__cta--primary {
	color: #fff !important;
	background: var(--zezel-hero-accent);
	box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--zezel-hero-accent) 75%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.zezel-hero__cta--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px color-mix(in srgb, var(--zezel-hero-accent) 85%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25); }
.zezel-hero__cta--secondary {
	color: inherit !important;
	border: 1px solid rgba(255, 255, 255, .35);
	background: rgba(255, 255, 255, .06);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}
.zezel-hero__cta--secondary:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); transform: translateY(-2px); }
.zezel-hero__cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------------------------------------------------------------------
 * Text animations (JS adds .is-ready to the slider and .is-shown to the
 * slide whose text should be on screen). Without JS everything is visible.
 * ------------------------------------------------------------------ */
.zezel-hero.is-ready:not(.zezel-hero--text-none) .zezel-hero__content > * {
	opacity: 0;
	transition: opacity .9s var(--zezel-hero-out), transform 1.1s var(--zezel-hero-out), filter 1s var(--zezel-hero-out), clip-path 1.1s var(--zezel-hero-out);
	transition-delay: 0s;
}
.zezel-hero.is-ready .is-shown .zezel-hero__content > * {
	opacity: 1;
	transform: none;
	filter: none;
	clip-path: inset(-10% -10% -10% -10%);
	transition-delay: calc(var(--zezel-hero-speed) * .35 + var(--zezel-n, 0) * 130ms);
}
.zezel-hero.is-ready .is-leaving .zezel-hero__content > * {
	opacity: 0;
	transform: translate3d(0, -14px, 0);
	transition-duration: .45s;
}

.zezel-hero--text-rise.is-ready  .zezel-hero__content > * { transform: translate3d(0, 34px, 0); }
.zezel-hero--text-blur.is-ready  .zezel-hero__content > * { transform: scale(1.04); filter: blur(14px); }
.zezel-hero--text-mask.is-ready  .zezel-hero__content > * { transform: translate3d(0, 40%, 0); clip-path: inset(0 0 100% 0); opacity: 1; }
.zezel-hero--text-typing.is-ready .zezel-hero__content > *:not(.zezel-hero__title),
.zezel-hero--text-letters.is-ready .zezel-hero__content > *:not(.zezel-hero__title) { transform: translate3d(0, 24px, 0); }
.zezel-hero--text-typing.is-ready .zezel-hero__title,
.zezel-hero--text-letters.is-ready .zezel-hero__title { opacity: 1; transform: none; }

/* Letters */
.zezel-hero__word { display: inline-block; white-space: nowrap; }
.zezel-hero__char {
	display: inline-block;
	opacity: 0;
	transform: translate3d(0, .5em, 0) rotate(6deg);
	filter: blur(8px);
	transition: opacity .7s var(--zezel-hero-out), transform .9s var(--zezel-hero-out), filter .7s var(--zezel-hero-out);
	transition-delay: calc(var(--zezel-hero-speed) * .3 + var(--zezel-c, 0) * 24ms);
}
.is-shown .zezel-hero__char { opacity: 1; transform: none; filter: none; }
.is-leaving .zezel-hero__char { transition-delay: 0s; transition-duration: .3s; }

/* Typing caret */
.zezel-hero__caret {
	display: inline-block;
	width: .06em;
	min-width: 3px;
	height: .9em;
	margin-left: .06em;
	vertical-align: -.06em;
	background: var(--zezel-hero-accent);
	animation: zezel-hero-blink 1s steps(1) infinite;
}

/* Failsafe: if the script never runs, reveal text after 3 s. */
.zezel-js .zezel-hero:not(.is-ready) .zezel-hero__content > * {
	opacity: 0;
	animation: zezel-hero-failsafe .6s ease 3s forwards;
}

/* ---------------------------------------------------------------------
 * UI: pager, counter, pause, arrows
 * ------------------------------------------------------------------ */
.zezel-hero__ui {
	position: absolute;
	z-index: 5;
	left: 50%;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	width: 100%;
	max-width: calc(1320px + var(--zezel-hero-gutter) * 2);
	padding: 0 var(--zezel-hero-gutter) clamp(1.25rem, 3.5vw, 2.75rem);
	transform: translateX(-50%);
}

.zezel-hero__pager { display: flex; align-items: center; gap: .55rem; }
.zezel-hero__dot {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	gap: .55rem;
	margin: 0;
	padding: .6rem 0;
	border: 0;
	background: none;
	color: rgba(255, 255, 255, .6);
	font-family: inherit;
	font-size: .75rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .08em;
	cursor: pointer;
	transition: color .3s ease;
}
.zezel-hero__dot:hover,
.zezel-hero__dot.is-active { color: #fff; }
.zezel-hero__dot i {
	position: relative;
	display: block;
	width: 2.75rem;
	height: 3px;
	overflow: hidden;
	border-radius: 3px;
	background: rgba(255, 255, 255, .28);
}
.zezel-hero__dot i::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: #fff;
	transform: scaleX(0);
	transform-origin: left center;
}
.zezel-hero__dot.is-active i { background: rgba(255, 255, 255, .45); }
.zezel-hero__dot.is-active i::after { transform: scaleX(1); transition: transform .5s ease; }
.zezel-hero.is-autoplay .zezel-hero__dot.is-active i::after {
	transition: none;
	animation: zezel-hero-fill var(--zezel-hero-interval) linear forwards;
}
.zezel-hero.is-paused .zezel-hero__dot.is-active i::after { animation-play-state: paused; }

.zezel-hero__pager--dots .zezel-hero__dot i { width: .55rem; height: .55rem; border-radius: 50%; transition: width .5s var(--zezel-hero-out); }
.zezel-hero__pager--dots .zezel-hero__dot.is-active i { width: 2rem; border-radius: 1rem; }
.zezel-hero__pager--numbers .zezel-hero__dot i { width: 3.5rem; }

.zezel-hero__dot:focus-visible,
.zezel-hero__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }

.zezel-hero__controls { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.zezel-hero__counter {
	margin-right: .6rem;
	color: rgba(255, 255, 255, .65);
	font-size: .85rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: .08em;
}
.zezel-hero__counter b { color: #fff; font-size: 1.15rem; font-weight: 600; }
.zezel-hero__counter span { margin: 0 .4em; opacity: .5; }

.zezel-hero__btn {
	display: inline-grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 50%;
	color: #fff;
	background: rgba(255, 255, 255, .08);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	cursor: pointer;
	transition: background-color .3s ease, border-color .3s ease, transform .4s var(--zezel-hero-out);
}
.zezel-hero__btn:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .55); transform: scale(1.06); }
.zezel-hero__btn svg { width: 1.2rem; height: 1.2rem; fill: currentColor; }
.zezel-hero__prev svg,
.zezel-hero__next svg { fill: none; }
.zezel-hero__toggle .zezel-i-play { display: none; }
.zezel-hero.is-user-paused .zezel-hero__toggle .zezel-i-play { display: block; }
.zezel-hero.is-user-paused .zezel-hero__toggle .zezel-i-pause { display: none; }

/* Scroll cue */
.zezel-hero__cue {
	position: absolute;
	z-index: 5;
	left: 50%;
	bottom: clamp(1.25rem, 3.5vw, 2.75rem);
	width: 26px;
	height: 42px;
	margin-left: -13px;
	border: 2px solid rgba(255, 255, 255, .55);
	border-radius: 14px;
}
.zezel-hero__cue i {
	position: absolute;
	top: 8px;
	left: 50%;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	border-radius: 2px;
	background: #fff;
	animation: zezel-hero-cue 2s var(--zezel-hero-out) infinite;
}
.zezel-hero:has(.zezel-hero__ui) .zezel-hero__cue { bottom: calc(clamp(1.25rem, 3.5vw, 2.75rem) + 4.5rem); }

/* ---------------------------------------------------------------------
 * Small screens
 * ------------------------------------------------------------------ */
@media (max-width: 781px) {
	.zezel-hero__inner { padding-bottom: calc(var(--zezel-hero-gutter) + 6rem); }
	.zezel-hero__slide--right .zezel-hero__inner { justify-content: flex-start; text-align: left; }
	.zezel-hero__slide--right .zezel-hero__actions { justify-content: flex-start; }
	.zezel-hero__counter { display: none; }
	.zezel-hero__dot i { width: 1.9rem; }
	.zezel-hero__btn { width: 2.6rem; height: 2.6rem; }
	.zezel-hero__cta { padding: .9rem 1.3rem; }
}

/* ---------------------------------------------------------------------
 * Keyframes
 * ------------------------------------------------------------------ */
@keyframes zezel-hero-kb      { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
@keyframes zezel-hero-kb-alt  { from { transform: scale(1.14) translate3d(1.5%, 1%, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
@keyframes zezel-hero-fill    { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes zezel-hero-blink   { 50% { opacity: 0; } }
@keyframes zezel-hero-cue     { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes zezel-hero-mesh    { from { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); } to { transform: translate3d(4%, -3%, 0) rotate(8deg) scale(1.08); } }
@keyframes zezel-hero-failsafe { to { opacity: 1; } }

/* ---------------------------------------------------------------------
 * Reduced motion: instant cuts, no Ken Burns, text always visible.
 * ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	.zezel-hero__slide,
	.zezel-hero__slide.is-active,
	.zezel-hero__slide.is-leaving,
	.zezel-hero__media,
	.zezel-hero__content > *,
	.zezel-hero__char { transition-duration: 1ms !important; transition-delay: 0s !important; }
	.zezel-hero__media > *,
	.zezel-hero__placeholder,
	.zezel-hero__cue i { animation: none !important; }
	.zezel-hero.is-ready .zezel-hero__content > *,
	.zezel-hero__char { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
}

/* ---------------------------------------------------------------------
 * Editor canvas
 * ------------------------------------------------------------------ */
.zezel-hero.is-editor .zezel-hero__content [contenteditable] { outline-offset: 4px; }
.zezel-hero.is-editor .zezel-hero__cta { cursor: text; }
