/* =========================================================================
   Homepage hero slider  [mc_hero]
   Site font (Rubik), brand gold accent, dark product photography.
   ========================================================================= */

.mch {
	--mch-gold: #c6a15b;
	--mch-gold-hi: #e9cf96;
	--mch-gold-hover: #d6b677;
	--mch-ink: #0e0f12;
	--mch-white: #ffffff;
	--mch-interval: 6500ms;
	--mch-ease: cubic-bezier(.2, .7, .2, 1);
	--mch-pad: clamp(28px, 4.6vw, 84px);

	position: relative;
	isolation: isolate;
	overflow: hidden;
	border-radius: 18px;
	background: var(--mch-ink);
	color: var(--mch-white);
	font-family: var(--tb-text-primary-font, Rubik), Rubik, "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	box-shadow: 0 1px 2px rgba(14, 15, 18, .06), 0 18px 40px -22px rgba(14, 15, 18, .45);
}

.mch *,
.mch *::before,
.mch *::after { box-sizing: border-box; }

/* All slides share one grid cell, so they stack and crossfade. */
.mch__viewport {
	display: grid;
	height: clamp(420px, 33vw, 560px);
}

.mch__slide {
	grid-area: 1 / 1;
	position: relative;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1.1s var(--mch-ease), visibility 0s linear 1.1s;
}
.mch__slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
	transition: opacity 1.1s var(--mch-ease), visibility 0s;
}

/* ---------- Media ---------- */

.mch__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}
.mch .mch__media img {
	position: absolute;
	display: block;
	max-width: none;
	margin: 0;
	border: 0;
	border-radius: 0;
	transform: scale(1.09);
	transition: transform 8s cubic-bezier(.15, .6, .25, 1);
	will-change: transform;
}
.mch__slide.is-active .mch__media img { transform: scale(1); }

/* Product render on a flat #333 backdrop: keep it sharp, anchor right,
   and let the backdrop colour fill the rest. */
.mch__slide--contain .mch__media { background: #333333; }
.mch .mch__slide--contain .mch__media img {
	top: 0;
	right: 0;
	width: auto;
	height: 100%;
	transform-origin: 75% 50%;
}

/* Lifestyle photo: fill the frame. */
.mch .mch__slide--cover .mch__media img {
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 60% 50%;
	transform-origin: 60% 55%;
}

.mch__shade {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(10, 10, 12, .92) 0%, rgba(10, 10, 12, .72) 30%, rgba(10, 10, 12, .18) 58%, rgba(10, 10, 12, 0) 72%),
		linear-gradient(0deg, rgba(10, 10, 12, .55) 0%, rgba(10, 10, 12, 0) 34%);
}

/* ---------- Content ---------- */

.mch__content {
	position: absolute;
	z-index: 2;
	left: var(--mch-pad);
	top: 50%;
	width: min(540px, 52%);
	transform: translateY(-56%);
}

.mch__in {
	opacity: 0;
	transform: translate3d(0, 22px, 0);
	transition: opacity .35s ease, transform .35s ease;
}
.mch__slide.is-active .mch__in {
	opacity: 1;
	transform: none;
	transition: opacity .8s var(--mch-ease), transform .9s var(--mch-ease);
}
.mch__slide.is-active .mch__eyebrow { transition-delay: .30s; }
.mch__slide.is-active .mch__title   { transition-delay: .42s; }
.mch__slide.is-active .mch__text    { transition-delay: .56s; }
.mch__slide.is-active .mch__actions { transition-delay: .68s; }
.mch__slide.is-active .mch__perks   { transition-delay: .80s; }

.mch .mch__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 20px;
	padding: 7px 14px 7px 11px;
	border: 1px solid rgba(233, 207, 150, .32);
	border-radius: 999px;
	background: rgba(198, 161, 91, .12);
	color: var(--mch-gold-hi);
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: .16em;
	text-transform: uppercase;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.mch .mch__eyebrow::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--mch-gold);
	box-shadow: 0 0 0 3px rgba(198, 161, 91, .25);
}

.mch .mch__title {
	margin: 0 0 18px;
	padding: 0;
	color: var(--mch-white);
	font-family: inherit;
	font-size: clamp(38px, 3.7vw, 64px);
	font-weight: 300;
	line-height: 1.02;
	letter-spacing: -.02em;
	text-transform: none;
}
.mch .mch__title span { display: block; }
.mch .mch__title strong {
	display: block;
	font-weight: 700;
	color: var(--mch-gold-hi);
	background: linear-gradient(92deg, #f6e2b0 0%, #e2c27f 45%, #c39a50 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	padding-bottom: .06em;
}

.mch .mch__text {
	max-width: 430px;
	margin: 0 0 30px;
	color: rgba(255, 255, 255, .78);
	font-size: 16.5px;
	font-weight: 400;
	line-height: 1.6;
}

.mch__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 30px;
}

.mch .mch__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: .01em;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.mch .mch__btn svg {
	width: 17px;
	height: 17px;
	flex: none;
	transition: transform .25s ease;
}
.mch .mch__btn--primary {
	background: var(--mch-gold);
	color: var(--mch-ink);
	box-shadow: 0 10px 24px -12px rgba(198, 161, 91, .8);
}
.mch .mch__btn--primary:hover,
.mch .mch__btn--primary:focus-visible {
	background: var(--mch-gold-hover);
	color: var(--mch-ink);
	transform: translateY(-1px);
}
.mch .mch__btn--primary:hover svg { transform: translateX(3px); }
.mch .mch__btn--ghost {
	border-color: rgba(255, 255, 255, .34);
	background: rgba(255, 255, 255, .04);
	color: var(--mch-white);
}
.mch .mch__btn--ghost:hover,
.mch .mch__btn--ghost:focus-visible {
	border-color: var(--mch-white);
	background: var(--mch-white);
	color: var(--mch-ink);
}

.mch .mch__perks {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.mch .mch__perks li {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	padding: 0;
	color: rgba(255, 255, 255, .7);
	font-size: 13.5px;
	line-height: 1.3;
}
.mch .mch__perks svg {
	width: 19px;
	height: 19px;
	flex: none;
	color: var(--mch-gold);
}

/* ---------- Navigation ---------- */

.mch__nav {
	position: absolute;
	z-index: 3;
	left: var(--mch-pad);
	right: calc(var(--mch-pad) * .55);
	bottom: 26px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	pointer-events: none;
}
.mch__nav > * { pointer-events: auto; }

.mch__dots { display: flex; gap: 18px; }

.mch .mch__dot,
.mch .mch__arrow {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	font: inherit;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	cursor: pointer;
}

.mch .mch__dot {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 32px;
	padding: 0;
	border: 0;
	background: none;
	color: rgba(255, 255, 255, .55);
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: .08em;
	transition: color .3s ease;
}
.mch .mch__dot:hover,
.mch .mch__dot.is-active { color: var(--mch-white); background: none; }

.mch__dot-bar {
	position: relative;
	width: 56px;
	height: 2px;
	overflow: hidden;
	border-radius: 2px;
	background: rgba(255, 255, 255, .24);
	transition: width .4s var(--mch-ease);
}
.mch__dot.is-active .mch__dot-bar { width: 84px; }
.mch__dot-fill {
	position: absolute;
	inset: 0 auto 0 0;
	width: 0;
	background: var(--mch-gold);
}
.mch__dot.is-active .mch__dot-fill {
	animation: mch-progress var(--mch-interval) linear forwards;
}
.mch:hover .mch__dot.is-active .mch__dot-fill,
.mch:focus-within .mch__dot.is-active .mch__dot-fill,
.mch.is-paused .mch__dot.is-active .mch__dot-fill {
	animation-play-state: paused;
}
@keyframes mch-progress {
	from { width: 0; }
	to   { width: 100%; }
}

.mch__arrows { display: flex; gap: 10px; }

.mch .mch__arrow {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 50%;
	background: rgba(14, 15, 18, .28);
	color: var(--mch-white);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.mch .mch__arrow:hover,
.mch .mch__arrow:focus-visible {
	border-color: var(--mch-white);
	background: var(--mch-white);
	color: var(--mch-ink);
}
.mch .mch__arrow svg { width: 20px; height: 20px; }
.mch .mch__arrow--prev svg { transform: rotate(180deg); }

.mch :focus-visible {
	outline: 2px solid var(--mch-gold);
	outline-offset: 3px;
}

/* ---------- Tablet ---------- */

@media (max-width: 1024px) {
	.mch__viewport { height: clamp(380px, 46vw, 460px); }
	.mch__content { width: min(470px, 62%); }
	.mch__shade {
		background:
			linear-gradient(90deg, rgba(10, 10, 12, .94) 0%, rgba(10, 10, 12, .8) 38%, rgba(10, 10, 12, .25) 70%, rgba(10, 10, 12, .05) 100%),
			linear-gradient(0deg, rgba(10, 10, 12, .6) 0%, rgba(10, 10, 12, 0) 36%);
	}
	.mch .mch__text { font-size: 15.5px; margin-bottom: 24px; }
	.mch__actions { margin-bottom: 0; }
	.mch .mch__perks { display: none; }
}

/* ---------- Mobile: image on top, copy below ---------- */

@media (max-width: 767px) {
	.mch { border-radius: 14px; }
	.mch__viewport { height: auto; }
	.mch__slide { display: flex; flex-direction: column; background: var(--mch-ink); }

	.mch__media {
		position: relative;
		inset: auto;
		flex: none;
		aspect-ratio: 16 / 10;
	}
	.mch .mch__slide--contain .mch__media img,
	.mch .mch__slide--cover .mch__media img {
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	.mch .mch__slide--contain .mch__media img { object-position: 72% 50%; transform-origin: 72% 50%; }
	.mch .mch__slide--cover .mch__media img { object-position: 50% 50%; transform-origin: 50% 55%; }

	.mch__shade {
		inset: 0 0 auto 0;
		aspect-ratio: 16 / 10;
		background: linear-gradient(180deg, rgba(14, 15, 18, 0) 45%, rgba(14, 15, 18, .65) 80%, var(--mch-ink) 100%);
	}

	.mch__content {
		position: relative;
		left: auto;
		top: auto;
		width: auto;
		transform: none;
		margin-top: -34px;
		padding: 0 20px 82px;
	}
	.mch .mch__eyebrow { margin-bottom: 14px; font-size: 11px; }
	.mch .mch__title { font-size: clamp(30px, 8.6vw, 38px); margin-bottom: 12px; }
	.mch .mch__text { font-size: 15px; margin-bottom: 20px; }
	.mch__actions { gap: 10px; }
	.mch .mch__btn { min-height: 46px; padding: 0 20px; font-size: 14.5px; }

	.mch__nav { left: 20px; right: 20px; bottom: 20px; }
	.mch__dots { gap: 14px; }
	.mch__dot-bar { width: 36px; }
	.mch__dot.is-active .mch__dot-bar { width: 60px; }
	.mch .mch__arrow { width: 40px; height: 40px; }
	.mch .mch__arrow svg { width: 18px; height: 18px; }
}

@media (max-width: 380px) {
	.mch .mch__btn--ghost { display: none; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	.mch__slide,
	.mch__slide.is-active,
	.mch__in,
	.mch__slide.is-active .mch__in,
	.mch .mch__media img { transition: none !important; }
	.mch .mch__media img { transform: none !important; }
	.mch__dot.is-active .mch__dot-fill { animation: none; width: 100%; }
}
