.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: calc(100svh - var(--site-header-height, var(--header-height)));
	overflow: hidden;
	color: var(--color-white);
	background: #061820;
}

.hero--height-medium {
	min-height: calc((100svh - var(--site-header-height, var(--header-height))) / 1.5);
}

.hero--height-full {
	min-height: calc(100svh - var(--site-header-height, var(--header-height)));
}

.hero__media,
.hero__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.hero__media {
	overflow: hidden;
}

.hero__video,
.hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__embed {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 177.78vh;
	height: 56.25vw;
	min-width: 100%;
	min-height: 100%;
	border: 0;
	transform: translate(-50%, -50%);
}

.hero__overlay {
	z-index: 1;
	background: rgba(6, 24, 32, 0.52);
}

.hero__container {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 2.5rem 1rem 3rem;
}

.hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 42rem;
}

.hero__title {
	margin: 0 0 1rem;
	color: var(--color-white);
	font-family: var(--font-family-serif);
	font-size: 2.4rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -3%;
}

.hero__rotate {
	display: inline;
	white-space: nowrap;
	color: #98e1ff;
}

.hero__rotate.is-typing::after {
	content: "";
	display: inline-block;
	width: 0.08em;
	height: 0.72em;
	margin-left: 0.08em;
	background: currentColor;
	vertical-align: baseline;
	animation: hero-caret 0.7s steps(1) infinite;
}

@keyframes hero-caret {
	50% {
		opacity: 0;
	}
}

.hero__subtitle {
	margin: -0.35rem 0 1rem;
	color: var(--color-white);
	font-family: var(--font-family);
	font-size: 1.05rem;
	font-weight: 500;
	line-height: 1.3;
}

.hero__text {
	margin: 0 0 1.75rem;
	color: var(--color-white);
	font-family: var(--font-family);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
}

.hero__text > *:first-child {
	margin-top: 0;
}

.hero__text > *:last-child {
	margin-bottom: 0;
}

.hero__actions {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 0.75rem;
}

.hero .mbm-button.hero__button {
    justify-content: flex-start;
    width: fit-content;
    white-space: normal;
    text-align: left;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
	.hero {
		min-height: calc(85svh - var(--site-header-height, var(--header-height)));
	}

	.hero--height-medium {
		min-height: calc((85svh - var(--site-header-height, var(--header-height))) / 1.5);
	}

	.hero--height-full {
		min-height: calc(100svh - var(--site-header-height, var(--header-height)));
	}
}

@media (min-width: 992px) {
	.hero {
		align-items: center;
	}

	.hero__title {
		font-size: 3rem;
	}

	.hero__subtitle {
		font-size: 1.35rem;
	}

	.hero__text {
		font-size: 1.2rem;
	}
	.hero__container {
		padding: 4rem;
	}
	.hero__actions {
		flex-direction: row;
	}
}