/**
 * Homepage specific styling goes here. Excluded on all subpages
 *
 * @format
 */

/* For most builds, this stylesheet should be wiped and started fresh */

/* PRELOADER */
.preloader-outer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9;
	width: 100%;
	height: 100vh;
	background-color: var(--color-white);
	transition: opacity 600ms ease-out;
}

.preloader-outer.active {
	visibility: visible !important;
}

.preloader-outer.preloader-remove {
	opacity: 0;
	pointer-events: none;
}

.preloader-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.preloader-inner p {
	margin-bottom: 15px;
}

.preloader-inner p:last-of-type {
	margin: 0;
}

.preloader-part {
	margin: 20px;
	display: none;
}

.preloader-part-left.active {
	display: block;
	-webkit-animation: fadeinright 800ms ease-out;
	animation: fadeInRight 800ms ease-out;
}

.preloader-part-right.active {
	display: block;
	-webkit-animation: fadeinleft 500ms ease-out;
	animation: fadeInLeft 500ms ease-out;
}

/* HERO */
.hero {
	position: relative;
	z-index: 1;
	background-color: var(--color-gray-100);
	text-align: center;
	min-height: 570px;
	--hero-slide-duration: 7.5s;
	--hero-slide-zoom-start: 1.08;
}

.hero .js-hero-slider {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.hero-content {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 570px;
	pointer-events: none;
}

.hero-content .row {
	width: 100%;
	pointer-events: auto;
}

.hero-text {
	position: relative;
	z-index: 2;
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--color-white);
	line-height: 1.25;
}

.hero-title {
	font-size: 3.438rem;
	color: inherit;
	line-height: 0.9;
	letter-spacing: -0.463rem;
}

.hero-title span {
	opacity: 0;
	display: inline-block;
	will-change: opacity, transform;
}

.hero-title strong {
	display: block;
	font-weight: 400;
}

.hero-title em {
	font-size: 3.75rem;
	display: block;
}

.hero-text p {
	overflow: hidden;
}

.hero-text p span {
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.281rem;
	animation-delay: 3000ms;
	will-change: opacity, transform;
}

.hero-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.hero-image:before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, #0a0a0a 0%, rgba(10, 10, 10, 0) 26.25%), linear-gradient(180deg, rgba(11, 14, 23, 0) 36.22%, #0b0e17 100%);
	content: '';
	pointer-events: none;
}

.hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.6;
	transform: scale(var(--hero-slide-zoom-start));
	transform-origin: center center;
	will-change: transform;
}

.hero-image img.hero-slide-lazy:not([src]) {
	opacity: 0;
}

.hero-image img.is-zooming {
	animation: heroSlideZoomIn var(--hero-slide-duration) ease-out forwards;
}

.hero-image img.is-zoomed-in {
	transform: scale(1);
}

@keyframes heroSlideZoomIn {
	from {
		transform: scale(var(--hero-slide-zoom-start));
	}

	to {
		transform: scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero-image img,
	.hero-image img.is-zooming,
	.hero-image img.is-zoomed-in {
		animation: none;
		transform: scale(1);
	}
}

.hero .swiper-slide {
	position: relative;
	min-height: 570px;
}

.hero .js-hero-slider .swiper-wrapper,
.hero .swiper-slide {
	height: 100%;
}

button.hero-autoplay-toggle {
	position: absolute;
	bottom: 20px;
	right: 20px;
	z-index: 2;
	opacity: 0;
	width: 25px;
	height: 25px;
	font-size: 0.75rem;
	color: var(--color-white);
	background-color: transparent;
	will-change: opacity, transform;
}

button.hero-autoplay-toggle i {
	color: inherit;
}

button.hero-autoplay-toggle:focus,
button.hero-autoplay-toggle:hover {
	color: var(--color-white);
	background-color: rgba(255, 255, 255, 0.2);
}

@media screen and (min-width: 768px) {
	.hero {
		min-height: 100vh;
	}

	.hero-content {
		min-height: 100vh;
	}

	.hero .row,
	.hero-content .row {
		max-width: calc(760px + var(--gutter-size) * 2);
	}

	.hero .swiper-slide {
		min-height: 100vh;
	}

	.hero-text {
		font-size: 12px;
	}

	.hero-title {
		margin-bottom: 30px;
		font-size: 5rem;
		letter-spacing: -0.688rem;
	}

	.hero-title em,
	.hero-title strong {
		margin-right: 20px;
	}

	.hero-title em {
		display: inline-block;
		font-size: 5.625rem;
	}

	.hero-title em:last-of-type {
		margin-right: 0;
	}

	.hero-title strong {
		display: inline-block;
	}

	.hero-title strong:last-of-type {
		margin-right: 0;
	}

	.hero-text p span {
		letter-spacing: 10px;
		padding-left: 20px;
	}

	.hero-autoplay-toggle {
		bottom: 30px;
		right: 30px;
	}
}

@media screen and (min-width: 1025px) {
	.hero .row,
	.hero-content .row {
		max-width: calc(1000px + var(--gutter-size) * 2);
	}

	.hero-title {
		margin-bottom: 38px;
		font-size: 6.875rem;
		letter-spacing: -17px;
	}

	.hero-title em {
		font-size: 7.5rem;
	}

	.hero-autoplay-toggle {
		bottom: 40px;
		right: 40px;
	}

	.hero-text {
		font-size: 16px;
	}

	.hero-text p span {
		padding-left: 39px;
	}
}

@media screen and (min-width: 1200px) {
	.hero .row,
	.hero-content .row {
		max-width: calc(1000px + var(--gutter-size) * 2);
	}

	.hero-title {
		font-size: 7.5rem;
		letter-spacing: -1.188rem;
	}

	.hero-title em {
		font-size: 8.125rem;
	}

	.hero-title em,
	.hero-title strong {
		margin-right: 30px;
	}

	.hero-text {
		font-size: 18px;
	}
}

@media screen and (min-width: 1441px) {
	.hero .row,
	.hero-content .row {
		max-width: calc(var(--width-normal) + var(--gutter-size) * 2);
	}

	.hero-text {
		font-size: 20px;
	}

	.hero-title {
		margin-bottom: 44px;
		font-size: 130px;
	}

	.hero-title em,
	.hero-title strong {
		margin-right: 34px;
	}

	.hero-title em {
		font-size: 140px;
	}

	.hero-text p span {
		letter-spacing: 0.856rem;
	}
}

/* INTRO */
.intro {
	margin-bottom: 93px;
	padding-top: 43px;
	text-align: center;
	line-height: 1.6;
}

.intro h2 {
	margin-bottom: 6px;
	font-size: 2.063rem;
	font-family: var(--font-family-heading), sans-serif;
	font-weight: 400;
	color: var(--color-alternate);
	letter-spacing: -0.063rem;
}

.intro h3 {
	margin-bottom: 13px;
	font-size: 2.813rem;
	color: var(--color-primary);
	line-height: 1.25;
	overflow: hidden;
}

.intro h3 em {
	display: block;
}

@media screen and (min-width: 768px) {
	.intro {
		margin-bottom: 121px;
		padding-top: 92px;
		line-height: 1.73;
	}

	.intro h2 {
		margin-bottom: 6px;
		font-size: 2.813rem;
	}

	.intro h3 {
		margin-bottom: 15px;
		font-size: 4.063rem;
	}
}

/* ACTION */
.action {
	margin-top: 60px;
	padding-top: 82px;
	padding-bottom: 71px;
	position: relative;
	color: var(--color-white);
	text-align: center;
	background-repeat: no-repeat;
	background-position: top center;
	background-size: cover;
	background-color: var(--color-gray-400);
	line-height: 1.5;
}

.action.active {
	background-image: url('../images/action-phone-bg.webp');
}

.action:before {
	position: absolute;
	top: -60px;
	left: 50%;
	width: 2px;
	height: 0;
	background-color: var(--color-gray-500);
	transform: translateX(-50%);
	transition: 1s ease-out;
	content: '';
	pointer-events: none;
}

.action.animated:before {
	height: 120px;
}

.action .row-narrow {
	max-width: calc(710px + var(--gutter-size) * 2);
}

.action h2 {
	margin-bottom: 14px;
	font-size: 2.25rem;
	font-family: var(--font-family-heading), sans-serif;
	font-weight: 400;
	color: inherit;
	line-height: 1.35;
	letter-spacing: -0.063rem;
}

.action p {
	margin-bottom: 31px;
}

.action .button {
	min-width: 200px;
}

@media screen and (min-width: 768px) {
	.action {
		padding-top: 92px;
		padding-bottom: 107px;
		line-height: 1.6;
	}

	.action.active {
		background-image: url('../images/action-bg.webp');
	}

	.action h2 {
		margin-bottom: 20px;
		font-size: 2.813rem;
	}

	.action p {
		margin-bottom: 34px;
	}
}
