/**
 * MeTimeOnTime — Home hero & overlay header (All Natural inspired).
 */

.mto-home-hero {
	--mto-hero-text: #000000;
	--mto-hero-eyebrow: rgba(0, 0, 0, 0.82);
}

.mto-hero-stack {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
}

/* Hero carousel */
.mto-hero {
	position: absolute;
	inset: 0;
	height: 100%;
	width: 100%;
}

.mto-hero .swiper-inner,
.mto-hero .swiper-container,
.mto-hero .swiper-wrapper,
.mto-hero .swiper-slide {
	height: 100%;
}

.mto-hero__slide {
	position: relative;
	overflow: hidden;
}

.mto-hero__media {
	position: absolute;
	inset: 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.mto-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.08) 0%,
		rgba(0, 0, 0, 0) 35%,
		rgba(0, 0, 0, 0.35) 100%
	);
	pointer-events: none;
}

.mto-hero__content {
	position: absolute;
	left: clamp(20px, 5vw, 80px);
	bottom: clamp(32px, 8vh, 80px);
	z-index: 2;
	max-width: min(520px, calc(100% - 40px));
	color: var(--mto-hero-text);
	font-family: var(--mto-header-font);
}

.mto-hero__eyebrow {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--mto-hero-eyebrow);
}

.mto-hero__heading {
	margin: 0;
	font-size: clamp(32px, 5vw, 56px);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: var(--mto-hero-text);
}

.mto-hero__cta-wrap {
	margin-top: 24px;
}

.mto-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 22px;
	border: 1px solid rgba(0, 0, 0, 0.72);
	border-radius: 3px;
	background: transparent;
	color: #000000;
	font-family: var(--mto-header-font);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	text-transform: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mto-hero__cta:hover,
.mto-hero__cta:focus {
	background: #ffffff;
	border-color: #ffffff;
	color: #000000;
}

.mto-hero .swiper-pagination-wrap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 24px;
	z-index: 3;
	pointer-events: none;
}

.mto-hero .swiper-pagination {
	pointer-events: auto;
}

.mto-hero .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	opacity: 0.45;
	background: #000000;
}

.mto-hero .swiper-pagination-bullet-active {
	opacity: 1;
}

@media (max-width: 767px) {
	.mto-hero__heading {
		font-size: clamp(28px, 8vw, 40px);
	}

	.mto-hero__content {
		left: 20px;
		right: 20px;
		bottom: 72px;
		max-width: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mto-hero__cta {
		transition: none;
	}
}
