/* Vamora Fit landing. The page is dark and photographic, so the motion is
   slower here: light drifts, the photo moves under the copy, and the neon line
   writes itself in. */

.vamora-motion .vamora-hero__accent {
	background-size: 220% 100%;
}

.vamora-motion .vamora-hero__image,
.vamora-motion .vamora-why__background {
	transform: translate3d(0, var(--vamora-shift-y, 0px), 0) scale(1.06);
}

.vamora-motion .vamora-hero__trust-icon,
.vamora-motion .vamora-why__point-icon,
.vamora-motion .vamora-showcase__point-icon,
.vamora-motion .vamora-feature__icon {
	transform: scale(var(--vamora-icon-scale, 1)) rotate(var(--vamora-icon-turn, 0deg));
	transition:
		transform var(--motion-reveal) var(--motion-spring) calc(var(--vamora-i, 0) * var(--motion-stagger) + var(--motion-stagger)),
		border-color var(--motion-ui) linear,
		background-color var(--motion-ui) linear;
}

.vamora-motion .vamora-hero__trust-item:not(.is-inview) .vamora-hero__trust-icon,
.vamora-motion .vamora-why__point:not(.is-inview) .vamora-why__point-icon,
.vamora-motion .vamora-showcase__point:not(.is-inview) .vamora-showcase__point-icon,
.vamora-motion .vamora-feature:not(.is-inview) .vamora-feature__icon {
	--vamora-icon-scale: 0.5;
	--vamora-icon-turn: -14deg;
}

.vamora-motion .vamora-feature:hover .vamora-feature__icon {
	background: var(--gradient-primary);
	color: var(--color-white);
}

/* The dashboard shot */
.vamora-motion .vamora-showcase__figure {
	overflow: hidden;
}

.vamora-motion .vamora-showcase__image {
	transition: transform var(--motion-slow) var(--motion-out);
}

.vamora-motion .vamora-showcase__figure:not(.is-inview) .vamora-showcase__image {
	transform: scale(1.08);
}

.vamora-motion .vamora-showcase__figure:hover .vamora-showcase__image {
	transform: scale(var(--motion-zoom));
}

/* Signup to check-in */
.vamora-motion .vamora-process__number {
	transform: scale(var(--vamora-badge-scale, 1));
	transition: transform var(--motion-reveal) var(--motion-spring) calc(var(--vamora-i, 0) * var(--motion-stagger) + var(--motion-stagger));
}

.vamora-motion .vamora-process__step:not(.is-inview) .vamora-process__number {
	--vamora-badge-scale: 0.4;
}

.vamora-motion .vamora-process__step:not(:last-child)::before {
	transform: scaleY(var(--vamora-rail, 0));
	transform-origin: center top;
	transition: transform var(--motion-slow) var(--motion-out) calc(var(--vamora-i, 0) * var(--motion-stagger) + var(--motion-stagger));
}

.vamora-motion .vamora-process__step.is-inview:not(:last-child)::before {
	--vamora-rail: 1;
}

@media (min-width: 75em) {
	.vamora-motion .vamora-process::before {
		transform: scaleX(var(--vamora-rail, 0));
		transform-origin: left center;
		transition: transform var(--motion-draw) var(--motion-out);
	}

	.vamora-motion .vamora-process.is-inview::before {
		--vamora-rail: 1;
	}
}

/* Your fee doesn't grow with your gym */
.vamora-motion .vamora-why__script {
	clip-path: inset(0 var(--vamora-script-hide, 0%) 0 0);
	transition: clip-path var(--motion-draw) var(--motion-out) var(--motion-stagger);
}

.vamora-motion .vamora-why:not(.is-inview) .vamora-why__script {
	--vamora-script-hide: 100%;
}

/* Priced per gym, not per member */
.vamora-motion .vamora-compare__mark .vamora-icon {
	transform: scale(var(--vamora-icon-scale, 1));
	transition: transform var(--motion-reveal) var(--motion-spring) calc(var(--vamora-i, 0) * var(--motion-stagger-tight) + var(--motion-stagger));
}

.vamora-motion .vamora-compare__table tr:not(.is-inview) .vamora-compare__mark .vamora-icon {
	--vamora-icon-scale: 0.3;
}

/* Common questions */
.vamora-motion .vamora-faq__item:hover {
	border-color: rgb(var(--rgb-primary) / 0.45);
}

/* Closing band */
.vamora-motion .vamora-cta__inner {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.vamora-motion .vamora-cta__inner::after {
	position: absolute;
	inset: -40%;
	z-index: -1;
	background: radial-gradient(circle at 24% 50%, rgb(var(--rgb-primary) / 0.4), transparent 58%);
	content: "";
	pointer-events: none;
}

.vamora-motion .vamora-cta__icon {
	transform: translate3d(0, var(--vamora-float), 0);
	transition: transform var(--motion-ui) var(--motion-spring);
}

@media (prefers-reduced-motion: no-preference) {
	.vamora-motion .vamora-hero.is-live .vamora-hero__accent {
		animation: vamora-gradient var(--motion-gradient-cycle) var(--motion-inout) infinite alternate;
	}

	.vamora-motion .vamora-cta.is-live .vamora-cta__inner::after {
		animation: vamora-glow var(--motion-drift-cycle) var(--motion-inout) infinite alternate;
	}

	.vamora-motion .vamora-cta.is-live .vamora-cta__icon {
		animation: vamora-float var(--motion-float-cycle) var(--motion-inout) infinite alternate;
	}

	.vamora-motion .vamora-why.is-live .vamora-why__script {
		animation: vamora-neon calc(var(--motion-pulse-cycle) * 2) var(--motion-inout) infinite alternate;
	}
}

@keyframes vamora-neon {
	from {
		opacity: 0.82;
	}

	to {
		opacity: 1;
	}
}
