.home-hero {
	position: relative;
	height: 88dvh;
	max-height: 88dvh;
	min-height: 500px;
	background: #101010;
	color: var(--color-white);
}

.home-hero__viewport {
	position: relative;
	height: 100%;
	overflow: hidden;
}

.home-hero.has-draggable-slides .home-hero__viewport {
	touch-action: pan-y;
}

.home-hero__track {
	display: flex;
	height: 100%;
	will-change: transform;
	transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-hero.is-dragging .home-hero__track {
	transition: none;
}

.home-hero__track.is-jumping {
	transition: none;
}

.home-hero__slide {
	position: relative;
	flex: 0 0 100%;
	min-width: 0;
	display: grid;
	align-items: end;
	height: 100%;
	pointer-events: none;
}

.home-hero__slide.is-active {
	pointer-events: auto;
}

.home-hero__picture,
.home-hero__picture img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.home-hero__picture {
	overflow: hidden;
	background: #121212;
}

.home-hero__picture img {
	object-fit: cover;
	object-position: center;
	-webkit-user-drag: none;
	user-select: none;
}

.home-hero__slide::after {
	position: absolute;
	inset: 0;
	content: "";
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0) 34%),
		linear-gradient(0deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0) 58%),
		linear-gradient(90deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0) 45%);
	pointer-events: none;
}

.home-hero__content {
	position: relative;
	z-index: 2;
	justify-self: center;
	width: min(620px, calc(100% - var(--container-x) * 2));
	margin: 0 var(--container-x) clamp(140px, 10vh, 132px);
	text-align: center;
}

.home-hero h1 {
	margin: 0;
	font-size: clamp(29px, 1vw, 63px);
	line-height: 0.96;
	letter-spacing: 0;
	text-wrap: balance;
	text-transform: uppercase;
	font-weight: normal;
	letter-spacing: 1.4px;
}

.home-hero__actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 34px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 28px;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: 12px;
	line-height: 1.1;
	text-align: center;
	transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button--outline {
	background: transparent;
	color: var(--color-white);
	border-color: rgba(255, 255, 255, 0.9);
}

.home-hero__controls {
	position: absolute;
	left: var(--container-x);
	right: var(--container-x);
	bottom: clamp(44px, 5.6vh, 82px);
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
}

.home-hero__dots {
	display: flex;
	align-items: center;
	gap: 14px;
}

.home-hero__dot {
	display: block;
	width: clamp(54px, 5vw, 96px);
	height: 2px;
	padding: 10px 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.home-hero__dot::before {
	display: block;
	width: 100%;
	height: 2px;
	content: "";
	background: rgba(255, 255, 255, 0.36);
	transition: background 180ms ease, transform 180ms ease;
}

.home-hero__dot.is-active::before {
	background: var(--color-white);
	transform: scaleY(1.4);
}

.home-hero__empty {
	display: grid;
	align-content: center;
	justify-items: center;
	min-height: 100dvh;
	padding: calc(var(--header-height) + 48px) var(--container-x) 96px;
	text-align: center;
	background:
		linear-gradient(135deg, rgba(205, 220, 210, 0.72), rgba(232, 216, 188, 0.7)),
		#262626;
}

.home-hero__empty h1 {
	margin-bottom: 30px;
}

.home-products {
	position: relative;
	padding: clamp(58px, 7vw, 92px) 0 clamp(44px, 5vw, 72px);
	overflow: hidden;
	background: var(--color-surface);
	color: var(--color-ink);
}

.home-products+.home-products {
	padding-top: clamp(8px, 2vw, 24px);
}

.home-products__header {
	display: grid;
	gap: 15px;
	padding: 0 var(--container-x) clamp(24px, 3vw, 38px);
}

.home-products__header h2 {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: 0;
	text-transform: uppercase;
}

.home-products__more {
	justify-self: start;
	padding-bottom: 2px;
	border-bottom: 1px solid currentColor;
	font-size: 11px;
	line-height: 1;
	text-transform: uppercase;
}

.home-products__viewport {
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	cursor: grab;
	scrollbar-width: none;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--container-x);
	-webkit-overflow-scrolling: touch;
	touch-action: pan-x pan-y;
	user-select: none;
}

.home-products__viewport::-webkit-scrollbar {
	display: none;
}

.home-products__viewport.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
}

.home-products__track {
	display: flex;
	gap: clamp(18px, 2vw, 28px);
	width: max-content;
	min-width: 100%;
	padding: 0 var(--container-x);
}

@media (hover: hover) {
	.button:hover {
		transform: translateY(-1px);
	}

	.button--outline:hover {
		background: var(--color-white);
		color: var(--color-ink);
	}

	.home-hero__dot:hover::before {
		background: rgba(255, 255, 255, 0.72);
	}

	.home-products__more:hover {
		text-decoration: underline;
		text-underline-offset: 2px;
	}
}

@media (max-width: 640px) {

	.home-hero,
	.home-hero__viewport,
	.home-hero__track,
	.home-hero__slide {
		height: 90dvh;
		max-height: 90dvh;
		min-height: 90dvh;
	}

	.home-hero__slide {
		align-items: end;
	}

	.home-hero__picture img {
		object-position: center;
	}

	.home-hero__content {
		width: calc(100% - var(--container-x) * 2);
		margin-bottom: 96px;
		text-align: center;
	}

	.home-hero__actions {
		justify-content: center;
		gap: 12px;
		margin-top: 24px;
	}

	.button {
		padding: 12px 18px;
		font-size: 15px;
	}

	.home-hero__controls {
		bottom: 34px;
		gap: 8px;
	}

	.home-hero__dot {
		width: clamp(34px, 14vw, 58px);
	}

	.home-products {
		padding-top: 48px;
		padding-bottom: 44px;
	}

	.home-products+.home-products {
		padding-top: 8px;
	}

	.home-products__header {
		gap: 12px;
		padding-bottom: 24px;
	}

	.product-card--carousel {
		flex-basis: min(78vw, 320px);
		width: min(78vw, 320px);
		min-height: 500px;
	}

	.product-card--carousel .product-card__body {
		padding-top: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-hero__track {
		transition-duration: 1ms;
	}
}