/* ==========================================================================
   Recipe Diaries — fanned card slider
   ========================================================================== */
.recipes {
	padding-block: clamp(56px, 8vw, 100px);
}

.recipes__fan {
	position: relative;
	height: clamp(280px, 34vw, 360px);
	max-width: 100px;
	margin: 0 auto;
	overflow: visible;
}

.recipes__card {
	position: absolute;
	top: 20px;
	left: 50%;
	width: clamp(150px, 20vw, 230px);
	height: 230px;
	padding: 0;
	border: 11px solid var(--c-white);
	box-shadow: 0 16px 30px -12px rgba(23, 51, 33, .4);
	background-color: var(--c);
	transform: translateX(calc(-50% + var(--x, 0px))) translateY(0) rotate(var(--rot, 0deg)) scale(var(--scale, .92));
	z-index: var(--z, 1);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, .85);
	font-size: 30px;
	transition: transform .35s ease, box-shadow .35s ease, width .6s ease, height .6s ease, top .6s ease, border-width .6s ease;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.recipes__fan:hover .recipes__card:not(.is-front) {
	transform: translateX(calc(-50% + var(--x, 0px))) translateY(-12px) rotate(var(--rot, 0deg)) scale(var(--scale, .92));
}

.recipes__card:hover,
.recipes__fan:hover .recipes__card:not(.is-front):hover {
	z-index: 50 !important;
	transform: translateX(calc(-50% + var(--x, 0px))) translateY(-28px) rotate(var(--rot, 0deg)) scale(1.06) !important;
	box-shadow: 0 30px 48px -14px rgba(23, 51, 33, .55);
}

.recipes__card.is-front {
	--scale: 1;
	cursor: pointer;
	box-shadow: 0 22px 40px -14px rgba(23, 51, 33, .5);
	height: 300px;
	top: -14px;
	border-width: 15px;
	width: clamp(153px, 25vw, 280px);
}

.recipes__card.is-front:hover {
	z-index: 51 !important;
	transform: translateX(calc(-50% + var(--x, 0px))) translateY(-22px) rotate(0deg) scale(1.05) !important;
	box-shadow: 0 34px 52px -14px rgba(23, 51, 33, .6);
}

.recipes__play-hint {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(10, 30, 15, .15);
	border-radius: 6px;
	opacity: 1;
	transition: opacity .25s;
	object-fit: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	pointer-events: none;
}

.recipes__play-hint i {
	opacity: 0;
	visibility: hidden;
	background: var(--c-green-400);
	color: #fff;
	width: 52px;
	height: 52px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 20px;
	border-radius: 100%;
}

.recipes__card.is-front:hover .recipes__play-hint i {
	opacity: 1;
	visibility: visible;
}

@media (max-width: 1199px) {
	.recipes__fan.is-visible {
		height: initial !important;
		display: flex;
		gap: 11px;
		width: 100% !important;
		max-width: 100%;
		flex-wrap: wrap;
	}

	.recipes__card,
	.recipes__card:hover,
	.recipes__card.is-front:hover,
	.recipes__fan:hover .recipes__card:not(.is-front),
	.recipes__fan:hover .recipes__card:not(.is-front):hover {
		transform: none !important;
		position: relative;
		height: initial;
		left: initial;
		width: 49%;
		z-index: auto !important;
	}
}

/* ==========================================================================
   Milestones — stacked card slider
   ========================================================================== */
.milestones__frame {
	max-width: 660px;
	margin-inline: auto;
	padding-inline: 28px;
}
.milestones__stage {
	position: relative;
	aspect-ratio: 16 / 11;
	border-radius: var(--radius-md);
	overflow: visible;
}

.milestones__stage .milestones__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transform: translateX(0) scale(.86);
	transition: transform .55s ease, opacity .55s ease, box-shadow .55s ease;
	z-index: 1;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 18px 36px -18px rgba(23, 51, 33, .35);
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	background: linear-gradient(150deg, var(--c-red), var(--c-red-700));
}

.milestones__stage .milestones__slide img {
	width: 100%;
	flex: 1;
	min-height: 0;
	object-fit: cover;
	display: block;
}

.milestones__stage .milestones__slide.is-prev {
	opacity: .85;
	pointer-events: auto;
	transform: translateX(-14%) scale(.9);
	z-index: 2;
}

.milestones__stage .milestones__slide.is-next {
	opacity: .85;
	pointer-events: auto;
	transform: translateX(14%) scale(.9);
	z-index: 2;
}

.milestones__stage .milestones__slide.is-active {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(0) scale(1);
	z-index: 4;
	box-shadow: 0 26px 46px -20px rgba(23, 51, 33, .45);
}

.milestones__stage .milestones__slide.is-active:hover {
	transform: translateX(0) scale(1.03) translateY(-8px);
	box-shadow: 0 32px 50px -18px rgba(23, 51, 33, .55);
}

.milestones__cascade .cascade__arrow {
	z-index: 6;
}

@media (max-width: 640px) {
	.milestones__frame {
		padding-inline: 12px;
	}

	.milestones__stage .milestones__slide.is-prev {
		transform: translateX(-8%) scale(.92);
	}

	.milestones__stage .milestones__slide.is-next {
		transform: translateX(8%) scale(.92);
	}
}

/* ==========================================================================
   Testimonials — stacked card slider
   ========================================================================== */
.peek__card.is-prev {
	opacity: .9;
	pointer-events: auto;
	transform: translateX(-10%) scale(.92);
	z-index: 2;
}

.peek__card.is-next {
	opacity: .9;
	pointer-events: auto;
	transform: translateX(10%) scale(.92);
	z-index: 2;
}

.peek__card.is-active {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(0) scale(1);
	z-index: 4;
	box-shadow: 0 26px 46px -20px rgba(23, 51, 33, .42);
}

.peek__card.is-active:hover {
	transform: translateX(0) scale(1.02) translateY(-8px);
	box-shadow: 0 32px 52px -18px rgba(23, 51, 33, .5);
}

@media (max-width: 640px) {
	.peek {
		padding-inline: 12px;
	}

	.peek__card.is-prev {
		transform: translateX(-5%) scale(.94);
	}

	.peek__card.is-next {
		transform: translateX(5%) scale(.94);
	}
}

/* ==========================================================================
   Brands side-card states live in style.css (keep in sync)
   ========================================================================== */
.brands__card.is-active:hover {
	box-shadow: 0 28px 48px -16px rgba(23, 51, 33, .5);
}

.brands__card.is-prev:hover,
.brands__card.is-next:hover,
.brands__card.is-prev2:hover,
.brands__card.is-next2:hover {
	filter: brightness(1.06);
}


.cascade__slide.milestones__slide.is-prev, .cascade__slide.milestones__slide.is-next {
	opacity: 0.3;
}
.peek__card.is-prev, .peek__card.is-next {
	opacity: 0.3;
}