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

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

/* HERO */
.hero {
	padding-top: 80px;
	padding-bottom: 80px;
	position: relative;
	min-height: calc(100vh - var(--header-height));
	display: flex;
	align-items: center;
	margin-top: var(--header-height);
}

.hero:before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.57);
	pointer-events: none;
	content: '';
}

.hero .row {
	max-width: var(--width-wide);
}

.hero .column {
	padding: 0 20px;
}

.hero-text {
	position: relative;
	z-index: 2;
	color: var(--color-white);
}

.hero-text h1 {
	position: relative;
	margin-bottom: 5px;
	font-size: 3.7rem;
	font-weight: 900;
	color: inherit;
	mix-blend-mode: difference;
	font-family: var(--font-family-body), sans-serif;
	text-transform: uppercase;
	line-height: 1;
}

.hero-text h1 > span {
	display: block;
	overflow: hidden;
}

.hero-text h1 > span > span {
	display: block;
}

.hero-title-1,
.hero-title-3 {
	margin-bottom: 10px;
	display: block;
	font-size: 1.25rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 5px;
	line-height: 1;
}

.hero-title-1 span {
	animation-delay: 500ms;
}

.hero-title-2 span {
	animation-delay: 1000ms;
}

.hero-title-3 span {
	animation-delay: 1500ms;
}

.hero-title-2 {
	margin-bottom: 4px;
	display: block;
}

.hero-title-3 {
	line-height: 1.3;
}

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

.hero-bg img,
.hero-bg video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-video-pause {
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 10px;
	border: 0;
	background: none;
	color: var(--color-secondary);
	z-index: 2;
}

.home-video-pause:hover,
.home-video-pause:focus {
	color: #fff;
}

@media screen and (min-width: 768px) {
	.hero:before {
		background-color: rgba(0, 0, 0, 0.36);
	}

	.hero-text h1 {
		margin-bottom: 16px;
		font-size: 7.5rem;
	}

	.hero-title-2 {
		margin-bottom: 16px;
	}
	.hero-title-1,
	.hero-title-3 {
		margin-bottom: 12px;
		font-size: 1.3rem;
		letter-spacing: 6px;
	}
}

@media screen and (min-width: 1200px) {
	.hero-text h1 {
		margin-bottom: 24px;
		font-size: 11.5rem;
	}

	.hero-title-2 {
		margin-bottom: 23px;
	}
	.hero-title-1,
	.hero-title-3 {
		margin-bottom: 12px;
		font-size: 1.5rem;
		letter-spacing: 6px;
	}
}

@media screen and (min-width: 1440px) {
	.hero-text h1 {
		font-size: 15.625rem;
		line-height: 0.8;
	}
	.hero-title-1,
	.hero-title-3 {
		font-size: 2.063rem;
	}
}

/* LEGAL */
.legal {
	padding-top: 39px;
	position: relative;
	overflow: hidden;
}

.legal-heading {
	display: none;
	position: absolute;
	top: -20px;
	right: 0;
	opacity: 0.05;
	font-family: var(--font-family-heading), sans-serif;
	font-size: 7.5rem;
	color: var(--color-primary);
	line-height: 1;
	letter-spacing: -6px;
	pointer-events: none;
}

.legal .row {
	max-width: 1140px;
}

.legal-column {
	position: relative;
}

.legal-text {
	margin-bottom: 44px;
	padding: 0 9px;
	line-height: 1.65;
}

.legal-text p:first-of-type {
	margin-bottom: 6px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--color-secondary);
	/* letter-spacing: 4.5px;
	line-height: 1.3;
	max-width: 222px; */
}

.legal-text h1 {
	margin-bottom: 15px;
	font-size: 2.188rem;
	font-family: var(--font-family-heading), sans-serif;
	font-weight: 500;
	color: var(--color-primary);
	/* line-height: 1.13;
	letter-spacing: -1.5px;
	max-width: 222px; */
}

.legal-text h1 strong {
	color: var(--color-secondary);
	font-weight: 400;
}

.legal-text p {
	font-size: 15px;
	margin-bottom: 14px;
}

.legal-text p strong {
	font-size: 1rem;
	color: var(--color-secondary);
}

.legal-slider {
	padding: 33px 0 16px;
	position: relative;
}

.js-legal-slider {
	z-index: 1;
	box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.25);
	background: #fff;
}

.legal-column .slide-item:focus {
	outline: inherit;
}

.legal-slider-arrows {
	margin-top: -25px;
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
}

.legal-image {
	position: absolute;
	top: 0;
	left: -25px;
	width: calc(100% + 50px);
	height: 100%;
}

.legal-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media screen and (min-width: 470px) {
	.legal-text h1,
	.legal-text p:first-of-type {
		max-width: none;
	}
}

@media screen and (min-width: 768px) {
	.legal {
		margin-bottom: 76px;
		padding-top: 104px;
	}

	.legal-heading {
		display: block;
	}

	.legal-holder {
		margin: 0 -15px;
		display: flex;
		flex-wrap: wrap;
	}

	.legal-column {
		padding: 0 15px;
		width: 50%;
	}

	.legal-text {
		margin-bottom: 0;
		padding: 16px 0 0;
		font-size: 1rem;
		line-height: 1.9;
	}

	.legal-text h1 {
		margin-bottom: 23px;
	}

	.legal-text p strong {
		font-size: 1.125rem;
		line-height: 1.5;
	}

	.legal-text p:first-of-type {
		font-size: 1.25rem;
	}

	.legal-slider {
		margin-left: auto;
		margin-right: 0;
		padding: 0;
		max-width: 400px;
	}

	.legal-slider-arrows {
		margin-top: 0;
		padding-top: 30px;
		justify-content: inherit;
	}

	.legal-image {
		top: -104px;
		left: 132px;
		width: 45vw;
		height: calc(100% + 104px);
	}
}

@media screen and (min-width: 1025px) {
	.legal-heading {
		top: -49px;
		font-size: 13.875rem;
	}

	.legal-text h1 {
		font-size: 3.313rem;
	}

	.legal-column {
		width: 56%;
	}

	.legal-column.small {
		width: 44%;
	}

	.legal-text p {
		font-size: 16px;
	}

	.legal-text p:first-of-type {
		font-size: 18px;
	}
}

@media screen and (min-width: 1440px) {
	.legal-heading {
		top: -45px;
	}

	.legal .row {
		max-width: calc(var(--width-normal) + var(--gutter-size) * 2);
	}

	.legal-column {
		width: 50%;
	}

	.legal-column {
		width: 50%;
	}

	.legal-column.small {
		width: 50%;
	}
}

/* CARD-LEGAL */
.card-legal {
	padding: 36px 31px 50px;
	background-color: var(--color-white);
}

.card-legal h2 {
	margin-bottom: 7px;
	font-size: 2.188rem;
	font-family: var(--font-family-heading), sans-serif;
	font-weight: 500;
	color: var(--color-green);
	line-height: 1.2;
}

.card-legal-text {
	margin-bottom: 10px;
	padding-bottom: 21px;
	font-size: 0.938rem;
	line-height: 1.5;
	color: var(--color-near-black);
	border-bottom: 1px solid var(--color-gray-100);
}

.card-legal-text:last-of-type {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.card-legal p:last-of-type {
	margin-bottom: 0;
}

.card-legal-text p strong {
	color: var(--color-secondary);
}

@media screen and (min-width: 768px) {
	.card-legal {
		padding: 60px 57px 97px;
	}
}

@media screen and (min-width: 1025px) {
	.card-legal h2 {
		font-size: 3.063rem;
	}
}
