/* Excel Ent — Front page hero (Figma 1084:2499 / 1023:20995, desktop) */

.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: block;
	overflow: hidden;
	isolation: isolate;
	color: #fff;
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.08);
	opacity: 0;
	transition:
		opacity 1s var(--ee-ease, cubic-bezier(0.22, 1, 0.36, 1)),
		transform 1.8s var(--ee-ease, cubic-bezier(0.22, 1, 0.36, 1));
	pointer-events: none;
}

.hero__bg.is-active {
	opacity: 1;
	z-index: 1;
}

.hero.is-loaded .hero__bg.is-active {
	transform: scale(1);
}

.hero.is-loaded .hero__bg:not(.is-active) {
	transform: scale(1.04);
}

/*
 * Desktop — shift hero photos down via layout (not transform).
 * Transform is used for Ken Burns / parallax, so translateY was getting overwritten.
 */
@media (min-width: 1200px) {
	.hero__media {
		background: #050505;
	}

	.hero__bg {
		inset: auto;
		top: 14%;
		left: 0;
		right: 0;
		bottom: auto;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center top;
		transform: scale(1.08);
		transform-origin: center top;
	}

	.hero.is-loaded .hero__bg.is-active {
		transform: scale(1);
	}

	.hero.is-loaded .hero__bg:not(.is-active) {
		transform: scale(1.04);
	}
}

.hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: rgba(0, 0, 0, 0.34);
	pointer-events: none;
}

.hero__layout {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 40px;
	min-height: 100vh;
	min-height: 100svh;
	padding: calc(var(--ee-header-zone, 357px) + 40px) 80px 60px;
	box-sizing: border-box;
}

.hero__main {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 80px;
	width: 100%;
}

.hero__copy {
	display: flex;
	flex-direction: column;
	gap: 60px;
	flex: 1 1 auto;
	min-width: 0;
	max-width: none;
	padding-bottom: 0;
}

.hero__intro {
	display: flex;
	flex-direction: column;
	gap: 71px;
	max-width: 720px;
}

.hero__title {
	margin: 0;
	font-family: var(--ee-font-condensed, "Open Sans", sans-serif);
	font-variation-settings: "wdth" 75;
	font-weight: 600;
	font-size: 100px;
	line-height: 109px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #fff;
}

.hero__title-line {
	display: block;
	overflow: hidden;
}

.hero__lede {
	margin: 0;
	max-width: 543px;
	font-family: var(--ee-font-body-os, "Open Sans", sans-serif);
	font-variation-settings: "wdth" 100;
	font-weight: 400;
	font-size: 18px;
	line-height: 29px;
	letter-spacing: 1px;
	color: #fff;
}

.hero__actions {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 30px;
	width: auto;
	max-width: 100%;
}

.btn-hero {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 290px;
	min-height: 74px;
	padding: 0 40px;
	box-sizing: border-box;
	font-family: var(--ee-font-condensed, "Open Sans", sans-serif);
	font-variation-settings: "wdth" 75;
	font-size: 24px;
	line-height: 1;
	letter-spacing: 1px;
	text-decoration: none;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
	/* Hover motion lives in button-hovers.css */
}

.btn-hero--primary {
	font-weight: 800;
	color: #fff;
	border: 0;
	border-bottom: 2px solid #f89a42;
}

.btn-hero--outline {
	font-weight: 400;
	color: #fff;
	background: transparent;
	border: 1px solid #fff;
}

/* Stats */
.hero__stats {
	display: flex;
	flex-direction: column;
	gap: 40px;
	width: 130px;
	flex-shrink: 0;
	padding: 0;
}

.hero-stat {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.hero-stat__num {
	margin: 0;
	font-family: var(--ee-font-condensed, "Open Sans", sans-serif);
	font-variation-settings: "wdth" 75;
	font-weight: 700;
	font-size: 40px;
	line-height: 1;
	letter-spacing: 1px;
	color: #fff;
}

.hero-stat__label {
	margin: 0;
	font-family: var(--ee-font-condensed, "Open Sans", sans-serif);
	font-variation-settings: "wdth" 75;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.2;
	letter-spacing: 1px;
	color: #fff;
}

/* Occasion carousel */
.hero__carousel {
	align-self: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	width: 128px;
}

.hero-carousel__dots {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 128px;
	height: 20px;
}

.hero-carousel__dot {
	display: block;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.29);
	cursor: pointer;
	transition: transform 0.3s var(--ee-ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1)), background 0.3s ease, border-color 0.3s ease;
}

.hero-carousel__dot.is-active {
	border: 2px solid #f8a742;
	background: linear-gradient(180deg, #f89a42, #eb2055);
}

.hero-carousel__dot:hover,
.hero-carousel__dot:focus-visible {
	transform: scale(1.08);
}

.hero-carousel__dot:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 4px;
}

.hero-carousel__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 234px;
}

.hero-carousel__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	line-height: 0;
	transition: transform 0.3s var(--ee-ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1));
}

.hero-carousel__btn:hover,
.hero-carousel__btn:focus-visible {
	transform: scale(1.08);
}

.hero-carousel__btn--prev img {
	transform: rotate(180deg);
	width: 35px;
	height: 35px;
}

.hero-carousel__btn--next img {
	width: 34px;
	height: 34px;
}

.hero-carousel__media {
	position: relative;
	width: 129px;
	height: 129px;
	flex-shrink: 0;
}

.hero-carousel__ring {
	position: absolute;
	inset: 0;
	width: 129px;
	height: 129px;
	pointer-events: none;
}

.hero-carousel__thumb {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 91px;
	height: 91px;
	border-radius: 50%;
	object-fit: cover;
	transform: translate(-50%, -50%);
}

.hero-carousel__label {
	margin: 0;
	font-family: "Nosifer", cursive;
	font-weight: 400;
	font-size: 16px;
	line-height: normal;
	letter-spacing: 2px;
	text-align: center;
	color: #fff;
	text-transform: none;
}

.hero-carousel__progress {
	position: relative;
	width: 145px;
	height: 4px;
}

.hero-carousel__track {
	position: absolute;
	inset: 0;
	border-radius: 14px;
	background: #fff;
}

.hero-carousel__fill {
	position: absolute;
	left: 0;
	top: 0;
	height: 4px;
	width: 43px;
	border-radius: 14px;
	background: linear-gradient(90deg, #eb2055, #f89a42);
	transition: width 0.45s var(--ee-ease, cubic-bezier(0.22, 1, 0.36, 1)), left 0.45s var(--ee-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

/* Entrance motion hooks */
.hero__title-line,
.hero__lede,
.hero__actions,
.hero__stats,
.hero__carousel {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.85s var(--ee-ease, cubic-bezier(0.22, 1, 0.36, 1)), transform 0.85s var(--ee-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.hero.is-loaded .hero__title-line {
	opacity: 1;
	transform: none;
	transition-delay: 0.05s;
}

.hero.is-loaded .hero__title-line:nth-child(2) {
	transition-delay: 0.14s;
}

.hero.is-loaded .hero__lede {
	opacity: 1;
	transform: none;
	transition-delay: 0.28s;
}

.hero.is-loaded .hero__actions {
	opacity: 1;
	transform: none;
	transition-delay: 0.42s;
}

.hero.is-loaded .hero__stats {
	opacity: 1;
	transform: none;
	transition-delay: 0.5s;
}

.hero.is-loaded .hero__carousel {
	opacity: 1;
	transform: none;
	transition-delay: 0.58s;
}

/* Mid desktop */
@media (min-width: 1200px) and (max-width: 1599px) {
	.hero__layout {
		padding: calc(var(--ee-header-zone, 320px) + 32px) 48px 48px;
		gap: 32px;
	}

	.hero__main {
		gap: 48px;
	}

	.hero__intro {
		gap: 48px;
	}

	.hero__title {
		font-size: 72px;
		line-height: 1.05;
	}

	.hero__actions {
		gap: 20px;
	}

	.btn-hero {
		min-width: 240px;
		min-height: 64px;
		padding: 0 28px;
		font-size: 20px;
	}

	.hero-stat__num {
		font-size: 32px;
	}
}

/* Tablet — Figma 1083:582 */
@media (min-width: 768px) and (max-width: 1199px) {
	body.home .hero,
	body.front-page .hero {
		min-height: 100vh;
		min-height: 100svh;
	}

	.hero__layout {
		padding: calc(var(--ee-header-zone-tablet, 280px) + 40px) 40px 48px;
		min-height: 100vh;
		min-height: 100svh;
		gap: 48px;
	}

	.hero__main {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	.hero__copy {
		display: contents;
	}

	.hero__intro {
		order: 1;
		gap: 40px;
		max-width: none;
	}

	.hero__title {
		font-size: 80px;
		line-height: 60px;
		letter-spacing: 1px;
		font-weight: 700;
	}

	.hero__title-line {
		display: inline;
	}

	.hero__title-line + .hero__title-line::before {
		content: "\00a0";
	}

	.hero__lede {
		max-width: 690px;
		font-size: 24px;
		line-height: 36px;
		letter-spacing: 1px;
	}

	.hero__stats {
		order: 2;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		gap: 48px;
		width: 100%;
		margin-top: 60px;
		margin-bottom: 112px;
	}

	.hero-stat {
		flex: 0 0 auto;
		min-width: 0;
		gap: 20px;
	}

	.hero-stat__num {
		font-size: 34px;
		font-weight: 700;
		letter-spacing: 1px;
	}

	.hero-stat__label {
		font-size: 16px;
		line-height: normal;
		letter-spacing: 1px;
	}

	.hero__actions {
		order: 3;
		flex-direction: column;
		align-items: stretch;
		width: 324px;
		max-width: 100%;
		gap: 34px;
	}

	.btn-hero {
		min-width: 0;
		width: 100%;
		min-height: 0;
		padding: 20px;
		font-size: 20px;
	}

	.btn-hero--primary {
		box-shadow: 0 4px 2px rgba(155, 77, 255, 0.5);
	}

	.btn-hero--outline {
		min-height: 0;
		box-sizing: border-box;
	}

	.hero__carousel {
		align-self: center;
		width: auto;
		gap: 0;
		margin-top: 0;
	}

	.hero-carousel__nav,
	.hero-carousel__label {
		display: none;
	}

	.hero-carousel__progress {
		width: 51px;
		height: 4px;
	}

	.hero-carousel__fill {
		width: 45%;
	}
}

/* Phone — Figma 2473:4513 */
@media (max-width: 767px) {
	.hero {
		height: calc(100svh - 100px);
		min-height: calc(100svh - 100px);
	}

	.hero__layout {
		height: 100%;
		min-height: 0;
		padding: 180px 24px 20px;
		gap: 22px;
		justify-content: space-between;
	}

	.hero__main {
		flex-direction: column;
		gap: 0;
		width: 100%;
	}

	.hero__copy {
		display: contents;
	}

	.hero__intro {
		order: 1;
		gap: 17px;
		max-width: none;
	}

	.hero__title {
		font-size: 40px;
		line-height: 30px;
		letter-spacing: 1px;
		font-weight: 700;
	}

	.hero__title-line {
		display: inline;
	}

	.hero__title-line + .hero__title-line::before {
		content: "\00a0";
	}

	.hero__lede {
		max-width: none;
		font-size: 14px;
		line-height: 22px;
		letter-spacing: 1px;
	}

	.hero__stats {
		order: 2;
		display: flex;
		flex-direction: row;
		align-items: flex-start;
		justify-content: space-between;
		gap: 0;
		width: 100%;
		margin-top: 28px;
		margin-bottom: 32px;
	}

	.hero-stat {
		flex: 0 1 auto;
		min-width: 0;
		gap: 12px;
	}

	.hero-stat:last-child {
		flex: 0 0 68px;
		max-width: 68px;
	}

	.hero-stat__num {
		font-size: 20px;
		font-weight: 700;
		line-height: normal;
		letter-spacing: 1px;
	}

	.hero-stat__label {
		font-size: 10px;
		line-height: normal;
		letter-spacing: 0;
	}

	.hero__actions {
		order: 3;
		flex-direction: row;
		align-items: stretch;
		width: 100%;
		max-width: none;
		gap: 16px;
	}

	.hero__actions .btn-hero--outline {
		order: 1;
	}

	.hero__actions .btn-hero--primary {
		order: 2;
	}

	.btn-hero {
		flex: 1 1 0;
		min-width: 0;
		width: auto;
		height: 51px;
		min-height: 51px;
		padding: 20px;
		font-size: 16px;
		font-weight: 700;
		white-space: nowrap;
	}

	.btn-hero--primary {
		box-shadow: 0 4px 2px rgba(155, 77, 255, 0.5);
	}

	.btn-hero--outline {
		min-height: 51px;
		box-sizing: border-box;
	}

	.hero__carousel {
		order: 4;
		align-self: center;
		width: auto;
		gap: 0;
		margin-top: 0;
		flex-shrink: 0;
	}

	.hero-carousel__dots {
		width: 51px;
		height: 9px;
		gap: 5px;
		justify-content: center;
	}

	.hero-carousel__dot {
		flex: 0 0 9px;
		width: 9px;
		height: 9px;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.29);
	}

	.hero-carousel__dot.is-active {
		border: 1px solid #f8a742;
		background: linear-gradient(180deg, #f89a42, #eb2055);
	}

	.hero-carousel__nav,
	.hero-carousel__label {
		display: none;
	}

	.hero-carousel__progress {
		width: 51px;
		height: 4px;
	}

	.hero-carousel__fill {
		width: 45%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero__bg,
	.hero__title-line,
	.hero__lede,
	.hero__actions,
	.hero__stats,
	.hero__carousel,
	.hero-carousel__fill {
		transition: none !important;
		animation: none !important;
		transform: none !important;
	}

	.hero__bg {
		opacity: 0 !important;
	}

	.hero__bg.is-active {
		opacity: 1 !important;
	}
}
