.apma-animated-text,
.apma-image-reveal,
.apma-horizontal-scroll,
.apma-text-hover-image,
.apma-video-scroll,
.apma-paragraph-reveal,
.apma-marquee-text,
.apma-rolling-text,
.apma-motion-button,
.apma-lottie-animation {
	box-sizing: border-box;
}

.apma-animated-text *,
.apma-image-reveal *,
.apma-horizontal-scroll *,
.apma-text-hover-image *,
.apma-video-scroll *,
.apma-paragraph-reveal *,
.apma-marquee-text *,
.apma-rolling-text *,
.apma-motion-button *,
.apma-lottie-animation * {
	box-sizing: border-box;
}

.apma-animated-text__heading {
	margin: 0;
}

.apma-split-unit {
	display: inline-block;
	opacity: 0;
	transform: translateY(1em);
	filter: blur(6px);
	transition-property: opacity, transform, filter;
	transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
	will-change: opacity, transform, filter;
}

.apma-animated-text.apma-is-ready .apma-split-unit {
	opacity: 1;
	transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
	filter: blur(0);
}

.apma-image-reveal-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.apma-image-reveal__mask {
	position: relative;
	width: 100%;
	min-height: 160px;
	overflow: hidden;
	clip-path: inset(0 100% 0 0);
	transition: clip-path 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.apma-image-reveal--right .apma-image-reveal__mask {
	clip-path: inset(0 0 0 100%);
}

.apma-image-reveal--top .apma-image-reveal__mask {
	clip-path: inset(0 0 100% 0);
}

.apma-image-reveal--bottom .apma-image-reveal__mask {
	clip-path: inset(100% 0 0 0);
}

.apma-image-reveal--center .apma-image-reveal__mask {
	clip-path: inset(50% 50% 50% 50%);
}

.apma-image-reveal.apma-in-view .apma-image-reveal__mask {
	clip-path: inset(0 0 0 0);
}

.apma-image-reveal__image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: inherit;
	object-fit: cover;
	transform: scale(1.04);
	transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.apma-image-reveal.apma-in-view .apma-image-reveal__image {
	transform: scale(1);
}

.apma-horizontal-scroll {
	--apma-horizontal-slide-width: min(86vw, 1040px);
	position: relative;
	width: 100%;
	overflow: hidden;
	color: #fff;
	isolation: isolate;
}

.apma-horizontal-scroll__viewport {
	display: flex;
	align-items: stretch;
	width: 100%;
	overflow: hidden;
}

.apma-horizontal-scroll__track {
	display: flex;
	align-items: stretch;
	width: max-content;
	padding: clamp(24px, 5vw, 72px) clamp(24px, 5vw, 72px) clamp(88px, 9vw, 116px);
	will-change: transform;
}

.apma-horizontal-scroll__slide {
	display: grid;
	grid-template-columns: minmax(220px, 38vw) minmax(280px, 42vw);
	flex: 0 0 auto;
	width: var(--apma-horizontal-slide-width);
	min-height: 420px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
}

.apma-horizontal-scroll__image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
}

.apma-horizontal-scroll--image-only {
	display: block;
	background: transparent;
	border-color: rgba(255, 255, 255, 0.18);
}

.apma-horizontal-scroll--image-only .apma-horizontal-scroll__image {
	width: 100%;
	height: 100%;
	min-height: inherit;
}

.apma-horizontal-scroll__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 16px;
	padding: clamp(24px, 4vw, 56px);
}

.apma-horizontal-scroll__subtitle {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
	opacity: 0.78;
}

.apma-horizontal-scroll__title {
	margin: 0;
	font-size: clamp(2rem, 5vw, 5rem);
	line-height: 1;
	letter-spacing: 0;
}

.apma-horizontal-scroll__text {
	max-width: 48ch;
}

.apma-horizontal-scroll__text p {
	margin: 0;
}

.apma-horizontal-scroll__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	padding: 12px 18px;
	color: #111827;
	background: #fff;
	border-radius: 8px;
	text-decoration: none;
	transition: transform 0.2s ease, background 0.2s ease;
}

.apma-horizontal-scroll__button:hover,
.apma-horizontal-scroll__button:focus-visible {
	transform: translateY(-2px);
	background: #f3f4f6;
}

.apma-horizontal-scroll--natural {
	overflow: hidden;
}

.apma-horizontal-scroll--natural .apma-horizontal-scroll__viewport {
	overflow-x: auto;
}

.apma-horizontal-scroll--natural.apma-horizontal-scroll--snap .apma-horizontal-scroll__viewport {
	scroll-snap-type: x mandatory;
}

.apma-horizontal-scroll--natural.apma-horizontal-scroll--snap .apma-horizontal-scroll__slide {
	scroll-snap-align: start;
}

.apma-horizontal-scroll__progress {
	position: absolute;
	right: clamp(24px, 5vw, 72px);
	bottom: 24px;
	left: clamp(24px, 5vw, 72px);
	z-index: 3;
	height: 3px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	pointer-events: none;
}

.apma-horizontal-scroll__progress-bar {
	display: block;
	width: 100%;
	height: 100%;
	background: #fff;
	border-radius: inherit;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.16s ease;
}

.apma-horizontal-scroll__nav {
	position: absolute;
	right: clamp(24px, 5vw, 72px);
	bottom: 40px;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 12px;
}

.apma-horizontal-scroll__bullets {
	display: flex;
	align-items: center;
	gap: 8px;
}

.apma-horizontal-scroll__arrow,
.apma-horizontal-scroll__bullet {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.28);
	cursor: pointer;
	transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.apma-horizontal-scroll__arrow {
	width: 38px;
	height: 38px;
	border-radius: 999px;
	font-size: 15px;
	line-height: 1;
}

.apma-horizontal-scroll__bullet {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	font-size: 0;
	line-height: 0;
}

.apma-horizontal-scroll__arrow:hover,
.apma-horizontal-scroll__arrow:focus-visible,
.apma-horizontal-scroll__bullet:hover,
.apma-horizontal-scroll__bullet:focus-visible,
.apma-horizontal-scroll__bullet.apma-is-active {
	background: #fff;
	color: #111827;
	transform: translateY(-1px);
}

.apma-horizontal-scroll__arrow:disabled {
	opacity: 0.42;
	cursor: not-allowed;
	transform: none;
}

.apma-text-hover-image {
	--apma-text-hover-row-padding: clamp(16px, 3vw, 32px) 0;
	--apma-text-hover-row-gap: 0px;
	--apma-text-hover-row-bg: transparent;
	--apma-text-hover-row-hover-bg: transparent;
	--apma-text-hover-transition-duration: 0.35s;
	position: relative;
}

.apma-text-hover-image--fixed {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
	align-items: start;
	gap: clamp(24px, 5vw, 72px);
}

.apma-text-hover-image--fixed-left {
	grid-template-columns: minmax(220px, auto) minmax(0, 1fr);
}

.apma-text-hover-image--fixed-left .apma-text-hover-image__preview {
	grid-column: 1;
	grid-row: 1;
}

.apma-text-hover-image--fixed-left .apma-text-hover-image__list {
	grid-column: 2;
	grid-row: 1;
}

.apma-text-hover-image__list {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: var(--apma-text-hover-row-gap);
	padding: 0;
	margin: 0;
	list-style: none;
}

.apma-text-hover-image__item {
	overflow: hidden;
	background: var(--apma-text-hover-row-bg);
	border-bottom: 1px solid #e5e7eb;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.apma-text-hover-image__item:hover,
.apma-text-hover-image__item.apma-is-active {
	background: var(--apma-text-hover-row-hover-bg);
}

.apma-text-hover-image__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: var(--apma-text-hover-row-padding);
	color: #1f2937;
	font-size: clamp(1.5rem, 5vw, 4rem);
	line-height: 1.05;
	letter-spacing: 0;
	text-decoration: none;
	transition: color 0.2s ease;
}

.apma-text-hover-image__label {
	min-width: 0;
	overflow-wrap: anywhere;
	transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.apma-text-hover-image__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.apma-text-hover-image__icon svg,
.apma-text-hover-image__icon i {
	width: 0.9em;
	height: 0.9em;
}

.apma-text-hover-image--row-text-right-icon-left .apma-text-hover-image__item:hover .apma-text-hover-image__label,
.apma-text-hover-image--row-text-right-icon-left .apma-text-hover-image__item.apma-is-active .apma-text-hover-image__label,
.apma-text-hover-image--row-both-in .apma-text-hover-image__item:hover .apma-text-hover-image__label,
.apma-text-hover-image--row-both-in .apma-text-hover-image__item.apma-is-active .apma-text-hover-image__label,
.apma-text-hover-image--row-text-in-icon-in .apma-text-hover-image__item:hover .apma-text-hover-image__label,
.apma-text-hover-image--row-text-in-icon-in .apma-text-hover-image__item.apma-is-active .apma-text-hover-image__label {
	transform: translateX(8px);
}

.apma-text-hover-image--row-text-right-icon-left .apma-text-hover-image__item:hover .apma-text-hover-image__icon,
.apma-text-hover-image--row-text-right-icon-left .apma-text-hover-image__item.apma-is-active .apma-text-hover-image__icon,
.apma-text-hover-image--row-both-in .apma-text-hover-image__item:hover .apma-text-hover-image__icon,
.apma-text-hover-image--row-both-in .apma-text-hover-image__item.apma-is-active .apma-text-hover-image__icon,
.apma-text-hover-image--row-text-in-icon-in .apma-text-hover-image__item:hover .apma-text-hover-image__icon,
.apma-text-hover-image--row-text-in-icon-in .apma-text-hover-image__item.apma-is-active .apma-text-hover-image__icon {
	transform: translateX(-8px);
}

.apma-text-hover-image--row-text-left-icon-right .apma-text-hover-image__item:hover .apma-text-hover-image__label,
.apma-text-hover-image--row-text-left-icon-right .apma-text-hover-image__item.apma-is-active .apma-text-hover-image__label,
.apma-text-hover-image--row-both-out .apma-text-hover-image__item:hover .apma-text-hover-image__label,
.apma-text-hover-image--row-both-out .apma-text-hover-image__item.apma-is-active .apma-text-hover-image__label {
	transform: translateX(-8px);
}

.apma-text-hover-image--row-text-left-icon-right .apma-text-hover-image__item:hover .apma-text-hover-image__icon,
.apma-text-hover-image--row-text-left-icon-right .apma-text-hover-image__item.apma-is-active .apma-text-hover-image__icon,
.apma-text-hover-image--row-both-out .apma-text-hover-image__item:hover .apma-text-hover-image__icon,
.apma-text-hover-image--row-both-out .apma-text-hover-image__item.apma-is-active .apma-text-hover-image__icon {
	transform: translateX(8px);
}

.apma-text-hover-image__preview {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9999;
	overflow: hidden;
	pointer-events: none;
	opacity: 0;
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	transform: translate3d(0, 0, 0);
	transition: opacity 0.18s ease;
}

.apma-text-hover-image--fixed .apma-text-hover-image__preview {
	position: sticky;
	top: 20vh;
	left: auto;
	z-index: 9999;
	grid-column: 2;
	grid-row: 1;
	width: min(36vw, 420px);
	transform: none;
}

.apma-preview-active .apma-text-hover-image__preview {
	opacity: 1;
}

.apma-text-hover-image__preview-img,
.apma-text-hover-image__preview-video,
.apma-text-hover-image__mobile-image,
.apma-text-hover-image__mobile-video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.apma-text-hover-image__preview-img,
.apma-text-hover-image__preview-video {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: translate3d(0, 0, 0) scale(1);
}

.apma-text-hover-image:not(.apma-is-video) .apma-text-hover-image__preview-img,
.apma-text-hover-image.apma-is-video .apma-text-hover-image__preview-video {
	opacity: 1;
}

.apma-text-hover-image__preview-video,
.apma-text-hover-image__mobile-video {
	background: #111827;
}

.apma-text-hover-image__preview-img.apma-media-enter,
.apma-text-hover-image__preview-video.apma-media-enter {
	animation: apma-text-hover-media-enter var(--apma-text-hover-transition-duration) cubic-bezier(0.2, 0.8, 0.2, 1);
}

.apma-text-hover-image__mobile-media {
	display: none;
	width: 100%;
	margin: 0 0 18px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 8px;
}

.apma-text-hover-image__cursor {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9999;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 14px;
	min-height: 14px;
	padding: 8px 10px;
	color: #fff;
	background: #111827;
	border-radius: 999px;
	font-size: 12px;
	line-height: 1;
	pointer-events: none;
	opacity: 0;
	transform: translate3d(0, 0, 0);
	transition: opacity 0.15s ease;
}

.apma-text-hover-image--cursor-dot .apma-text-hover-image__cursor {
	width: 14px;
	height: 14px;
	min-width: 14px;
	min-height: 14px;
	padding: 0;
	font-size: 0;
}

.apma-text-hover-image--cursor-none .apma-text-hover-image__cursor {
	display: none;
}

.apma-text-hover-image--cursor-none.apma-cursor-active,
.apma-text-hover-image--cursor-dot.apma-cursor-active,
.apma-text-hover-image--cursor-label.apma-cursor-active {
	cursor: none;
}

.apma-cursor-active .apma-text-hover-image__cursor {
	opacity: 1;
}

@keyframes apma-text-hover-media-enter {
	from {
		opacity: 0;
		transform: translate3d(0, 8px, 0) scale(0.92);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0) scale(1);
	}
}

.apma-video-scroll {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	min-height: 70vh;
	overflow: hidden;
	background: #111827;
	isolation: isolate;
}

.apma-video-scroll--fullscreen {
	min-height: 100vh;
}

.apma-video-scroll__video,
.apma-video-scroll__sequence {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	background: #111827;
	backface-visibility: hidden;
	object-fit: cover;
	transform: translateZ(0);
}

.apma-video-scroll--sequence .apma-video-scroll__sequence {
	overflow: hidden;
}

.apma-video-scroll__sequence-frame {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: translateZ(0);
}

.apma-video-scroll__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(0, 0, 0, 0.25);
}

.apma-video-scroll__loader,
.apma-widget-notice {
	position: relative;
	z-index: 3;
	max-width: min(680px, calc(100% - 32px));
	padding: 10px 12px;
	color: #78350f;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.4;
}

.apma-video-scroll__loader {
	position: absolute;
	left: 50%;
	bottom: 24px;
	color: #e5e7eb;
	background: rgba(17, 24, 39, 0.78);
	border-color: rgba(255, 255, 255, 0.16);
	transform: translateX(-50%);
}

.apma-video-scroll--ready .apma-video-scroll__loader {
	display: none;
}

.apma-video-scroll__content {
	position: relative;
	z-index: 2;
	max-width: min(760px, calc(100% - 32px));
	padding: 24px;
	color: #fff;
	text-align: center;
}

.apma-video-scroll__content h1,
.apma-video-scroll__content h2,
.apma-video-scroll__content h3,
.apma-video-scroll__content p {
	margin: 0;
}

.apma-paragraph-reveal {
	--apma-paragraph-initial-color: #9ca3af;
	--apma-paragraph-final-color: #111827;
	color: var(--apma-paragraph-final-color);
}

.apma-paragraph-reveal__content > *:first-child {
	margin-top: 0;
}

.apma-paragraph-reveal__content > *:last-child {
	margin-bottom: 0;
}

.apma-paragraph-reveal__unit {
	display: inline-block;
	opacity: 0;
	transform: translateY(0.8em);
	filter: blur(4px);
	color: var(--apma-paragraph-final-color);
	transition-property: opacity, transform, filter, color;
	transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
	will-change: opacity, transform, filter;
}

.apma-paragraph-reveal--color-reveal .apma-paragraph-reveal__unit {
	opacity: 1;
	color: var(--apma-paragraph-initial-color);
	transform: none;
	filter: none;
}

.apma-paragraph-reveal.apma-is-ready .apma-paragraph-reveal__unit {
	opacity: 1;
	color: var(--apma-paragraph-final-color);
	transform: translate3d(0, 0, 0);
	filter: blur(0);
}

.apma-marquee-text {
	--apma-marquee-gap: 36px;
	--apma-marquee-duration: 28s;
	width: 100%;
	overflow: hidden;
	padding: 18px 0;
	background: #f8fafc;
}

.apma-marquee-text__track {
	display: flex;
	width: max-content;
	animation: apma-marquee var(--apma-marquee-duration) linear infinite;
	will-change: transform;
}

.apma-marquee-text--right .apma-marquee-text__track {
	animation-direction: reverse;
}

.apma-marquee-text--pause-hover:hover .apma-marquee-text__track {
	animation-play-state: paused;
}

.apma-marquee-text__group {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	gap: var(--apma-marquee-gap);
	padding-right: var(--apma-marquee-gap);
}

.apma-marquee-text__item {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	flex: 0 0 auto;
	color: #111827;
	font-size: clamp(1.5rem, 6vw, 5rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0;
	text-decoration: none;
	white-space: nowrap;
}

.apma-marquee-text__item svg,
.apma-marquee-text__item i {
	width: 0.8em;
	height: 0.8em;
	flex: 0 0 auto;
}

.apma-marquee-text--outline .apma-marquee-text__item {
	color: var(--apma-marquee-stroke-color, #111827);
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 1px var(--apma-marquee-stroke-color, #111827);
	text-shadow: none;
}

@keyframes apma-marquee {
	from {
		transform: translate3d(0, 0, 0);
	}

	to {
		transform: translate3d(-50%, 0, 0);
	}
}

.apma-rolling-text {
	display: flex;
	width: 100%;
}

.apma-rolling-text__control {
	--apma-rolling-duration: 0.35s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	max-width: 100%;
	overflow: hidden;
	color: #fff;
	background: #111827;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	line-height: 1.2;
	text-decoration: none;
	transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.apma-rolling-text__clip {
	display: block;
	overflow: hidden;
	height: var(--apma-rolling-line-size, 1.2em);
	line-height: inherit;
}

.apma-rolling-text__stack {
	display: flex;
	flex-direction: column;
	line-height: inherit;
	transform: translateY(0);
	transition: transform var(--apma-rolling-duration) cubic-bezier(0.2, 0.8, 0.2, 1);
	will-change: transform;
}

.apma-rolling-text__line {
	display: block;
	flex: 0 0 var(--apma-rolling-line-size, 1.2em);
	height: var(--apma-rolling-line-size, 1.2em);
	line-height: inherit;
	white-space: nowrap;
}

.apma-rolling-text__control:hover .apma-rolling-text__stack,
.apma-rolling-text__control:focus-visible .apma-rolling-text__stack {
	transform: translateY(-50%);
}

.apma-rolling-text__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.apma-rolling-text__icon svg,
.apma-rolling-text__icon i {
	width: 1em;
	height: 1em;
}

.apma-motion-button {
	--apma-button-duration: 0.28s;
	--apma-button-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
	--apma-button-fill: #e84855;
	display: flex;
	width: 100%;
}

.apma-motion-button__control {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	max-width: 100%;
	overflow: hidden;
	color: #fff;
	background: #111827;
	border: 1px solid transparent;
	border-radius: 8px;
	cursor: pointer;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transform:
		translate3d(var(--apma-button-magnetic-x, 0), var(--apma-button-magnetic-y, 0), 0)
		translateY(var(--apma-button-lift-y, 0))
		scale(var(--apma-button-scale, 1));
	transition:
		color var(--apma-button-duration) var(--apma-button-ease),
		background var(--apma-button-duration) var(--apma-button-ease),
		border-color var(--apma-button-duration) var(--apma-button-ease),
		box-shadow var(--apma-button-duration) var(--apma-button-ease),
		transform var(--apma-button-duration) var(--apma-button-ease);
	will-change: transform;
}

.apma-motion-button__control::before,
.apma-motion-button__control::after {
	position: absolute;
	content: "";
	pointer-events: none;
}

.apma-motion-button__control::before {
	inset: 0;
	z-index: 0;
	background: var(--apma-button-fill);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--apma-button-duration) var(--apma-button-ease);
}

.apma-motion-button__control::after {
	right: 18px;
	bottom: 9px;
	left: 18px;
	z-index: 0;
	height: 2px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--apma-button-duration) var(--apma-button-ease);
}

.apma-motion-button__text,
.apma-motion-button__icon {
	position: relative;
	z-index: 1;
}

.apma-motion-button__text {
	min-width: 0;
	overflow-wrap: anywhere;
}

.apma-motion-button__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	transition: transform var(--apma-button-duration) var(--apma-button-ease);
}

.apma-motion-button__icon svg,
.apma-motion-button__icon i {
	width: 1em;
	height: 1em;
}

.apma-motion-button--full-width .apma-motion-button__control {
	width: 100%;
}

.apma-motion-button--custom-width .apma-motion-button__control {
	width: auto;
}

.apma-motion-button--visual-outline .apma-motion-button__control {
	color: #111827;
	background: transparent;
	border-color: currentColor;
}

.apma-motion-button--visual-ghost .apma-motion-button__control {
	color: #111827;
	background: transparent;
	border-color: transparent;
}

.apma-motion-button--visual-soft .apma-motion-button__control {
	color: #111827;
	background: #f3f4f6;
	border-color: #e5e7eb;
}

.apma-motion-button--lift .apma-motion-button__control:hover,
.apma-motion-button--lift .apma-motion-button__control:focus-visible {
	--apma-button-lift-y: -3px;
}

.apma-motion-button--magnetic .apma-motion-button__control:hover,
.apma-motion-button--magnetic .apma-motion-button__control:focus-visible {
	--apma-button-scale: 1.025;
}

.apma-motion-button--slide-fill .apma-motion-button__control:hover::before,
.apma-motion-button--slide-fill .apma-motion-button__control:focus-visible::before {
	transform: scaleX(1);
}

.apma-motion-button--icon-shift.apma-motion-button--icon-after .apma-motion-button__control:hover .apma-motion-button__icon,
.apma-motion-button--icon-shift.apma-motion-button--icon-after .apma-motion-button__control:focus-visible .apma-motion-button__icon {
	transform: translateX(5px);
}

.apma-motion-button--icon-shift.apma-motion-button--icon-before .apma-motion-button__control:hover .apma-motion-button__icon,
.apma-motion-button--icon-shift.apma-motion-button--icon-before .apma-motion-button__control:focus-visible .apma-motion-button__icon {
	transform: translateX(-5px);
}

.apma-motion-button--pulse .apma-motion-button__control:hover,
.apma-motion-button--pulse .apma-motion-button__control:focus-visible {
	animation: apma-motion-button-pulse 0.8s var(--apma-button-ease) both;
}

.apma-motion-button--underline .apma-motion-button__control:hover::after,
.apma-motion-button--underline .apma-motion-button__control:focus-visible::after {
	transform: scaleX(1);
}

@keyframes apma-motion-button-pulse {
	0% {
		box-shadow: 0 0 0 0 color-mix(in srgb, var(--apma-button-fill) 45%, transparent);
	}

	100% {
		box-shadow: 0 0 0 14px color-mix(in srgb, var(--apma-button-fill) 0%, transparent);
	}
}

.apma-lottie-animation {
	display: flex;
	width: 100%;
}

.apma-lottie-animation__canvas {
	display: block;
	max-width: 100%;
	min-width: 80px;
	aspect-ratio: 1 / 1;
}

.apma-lottie-animation__canvas svg {
	display: block;
	width: 100%;
	height: 100%;
}

.apma-lottie-animation__notice {
	align-self: center;
	margin: 0 0 0 12px;
	padding: 10px 12px;
	color: #6b3b00;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.4;
}

@media (max-width: 767px) {
	.apma-horizontal-scroll {
		overflow: hidden;
	}

	.apma-horizontal-scroll__viewport {
		overflow-x: auto;
	}

	.apma-horizontal-scroll.apma-horizontal-scroll--snap .apma-horizontal-scroll__viewport {
		scroll-snap-type: x mandatory;
	}

	.apma-horizontal-scroll__track {
		padding: 20px 20px 76px;
	}

	.apma-horizontal-scroll__slide {
		grid-template-columns: 1fr;
		width: min(88vw, 420px);
		min-height: auto;
	}

	.apma-horizontal-scroll.apma-horizontal-scroll--snap .apma-horizontal-scroll__slide {
		scroll-snap-align: start;
	}

	.apma-horizontal-scroll__image {
		min-height: 220px;
	}

	.apma-horizontal-scroll__nav {
		right: 20px;
		bottom: 32px;
		left: 20px;
		justify-content: flex-end;
	}

	.apma-horizontal-scroll__progress {
		right: 20px;
		bottom: 18px;
		left: 20px;
	}

	.apma-text-hover-image__preview {
		display: none;
	}

	.apma-text-hover-image--fixed,
	.apma-text-hover-image--fixed-left {
		display: block;
	}

	.apma-text-hover-image__item.apma-is-active .apma-text-hover-image__mobile-media,
	.apma-text-hover-image__item:hover .apma-text-hover-image__mobile-media {
		display: block;
	}

	.apma-text-hover-image__item:not([data-apma-video=""]) .apma-text-hover-image__mobile-image,
	.apma-text-hover-image__item[data-apma-video=""] .apma-text-hover-image__mobile-video {
		display: none;
	}

	.apma-text-hover-image__link {
		font-size: clamp(1.4rem, 9vw, 2.6rem);
	}

	.apma-text-hover-image__cursor {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.apma-split-unit,
	.apma-paragraph-reveal__unit,
	.apma-image-reveal__mask,
		.apma-image-reveal__image,
		.apma-horizontal-scroll__track,
		.apma-marquee-text__track,
		.apma-rolling-text__stack,
		.apma-motion-button__control,
		.apma-motion-button__icon,
		.apma-motion-button__control::before,
		.apma-motion-button__control::after {
		animation: none !important;
		transition: none !important;
		transform: none !important;
		filter: none !important;
	}

	.apma-split-unit,
	.apma-paragraph-reveal__unit {
		opacity: 1 !important;
	}

	.apma-image-reveal__mask {
		clip-path: inset(0 0 0 0) !important;
	}
}
