
/* ============================================================
GSAP STICKY STACK
============================================================ */
.salient-gsap-sticky-stack {
	position: relative;
	display: block;
	width: 100%;
	height: var(--stack-height);
	margin: 0;
	padding: 0;
	overflow: visible;
}

.salient-gsap-sticky-stack__pin {
	position: relative;
	width: 100%;
	height: calc(100vh - var(--stack-header-offset));
	min-height: 480px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: #fff;
}

.salient-gsap-sticky-stack__slides {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.salient-gsap-sticky-stack__slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: #e8d6eb;
	will-change: clip-path;
}

.salient-gsap-sticky-stack__slide:nth-child(1) {
	z-index: 1;
}

.salient-gsap-sticky-stack__slide:nth-child(2) {
	z-index: 2;
}

.salient-gsap-sticky-stack__slide:nth-child(3) {
	z-index: 3;
}

.salient-gsap-sticky-stack__slide:nth-child(4) {
	z-index: 4;
}

.salient-gsap-sticky-stack__slide:nth-child(5) {
	z-index: 5;
}

.salient-gsap-sticky-stack__slide:nth-child(6) {
	z-index: 6;
}

.salient-gsap-sticky-stack__slide:nth-child(7) {
	z-index: 7;
}

.salient-gsap-sticky-stack__slide:nth-child(8) {
	z-index: 8;
}

.salient-gsap-sticky-stack__slide:nth-child(9) {
	z-index: 9;
}

.salient-gsap-sticky-stack__slide:nth-child(10) {
	z-index: 10;
}

/* ============================================================
    DESKTOP - IMAGE RIGHT / CONTENT LEFT
    ============================================================ */
.salient-gsap-sticky-stack__media {
	position: absolute;
	right: 0;
	left: auto;
	top: 0;
	width: var(--stack-image-width);
	height: 100%;
	overflow: hidden;
	background: #fff;
	-webkit-mask-image: url("https://cdn-ildkkop.nitrocdn.com/HvvFCMnuNWHCdSoNjdCBBZopvQUxexPM/assets/images/optimized/rev-f3bb824/thirtyhigh.co.uk/wp-content/uploads/2026/09/substract-shape.png");
	mask-image: url("https://cdn-ildkkop.nitrocdn.com/HvvFCMnuNWHCdSoNjdCBBZopvQUxexPM/assets/images/optimized/rev-f3bb824/thirtyhigh.co.uk/wp-content/uploads/2026/09/substract-shape.png");
	mask-size: cover;
	mask-repeat: no-repeat;
	-webkit-mask-size: cover;
	-webkit-mask-repeat: no-repeat;
}

.salient-gsap-sticky-stack__media.nitro-lazy {
	mask-image: none !important;
}

.salient-gsap-sticky-stack__media img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center;
	margin: 0 !important;
	padding: 0 !important;
}

.salient-gsap-sticky-stack__media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .05) 35%, rgba(0, 0, 0, .55) 100%);
}

.salient-gsap-sticky-stack__content {
	position: absolute;
	left: 0;
	right: auto;
	top: 50%;
	width: calc(100% - var(--stack-image-width));
	margin: 0;
	padding: 0px 70px 0 6%;
	background: #e8d6eb;
	z-index: 5;
	box-sizing: border-box;
	transform: translateY(-50%);
}

.salient-gsap-sticky-stack__title {
	margin: 0;
	color: #24300c;
	margin-bottom: 17px;
}

.salient-gsap-sticky-stack__desc {
	width: 100%;
	max-width: 406px;
	margin: 0;
	padding: 0;
	color: #24300c;
}

.salient-gsap-sticky-stack__desc p {
	margin: 0 0 1em;
}

.salient-gsap-sticky-stack__desc p:last-child {
	margin-bottom: 0;
}

/* ============================================================
    TABLET + MOBILE - FULL IMAGE STACKED CARDS
    ============================================================ */
@media (min-width:1000px) and (max-width:1299px) {
	.salient-gsap-sticky-stack__media {
		-webkit-mask-image: unset;
		mask-image: unset;
		border-top-left-radius: 400px;
	}
	
	.salient-gsap-sticky-stack__media.nitro-lazy {
		mask-image: none !important;
	}
}

@media (max-width:999px) {
	.salient-gsap-sticky-stack__content {
		padding: 0px 20px 0 5%;
	}
	
	.salient-gsap-sticky-stack__media {
		mask-image: unset !important;
		-webkit-mask-image: unset !important;
	}
	
	.salient-gsap-sticky-stack__media.nitro-lazy {
		mask-image: none !important;
	}
	
	.salient-gsap-sticky-stack__media {
		border-top-left-radius: 360px;
	}
}

@media (max-width: 690px) {
	.salient-gsap-sticky-stack {
		position: relative;
		width: 100%;
		height: var(--stack-height);
		margin: 0;
		padding: 0;
		overflow: visible;
	}
	
	.salient-gsap-sticky-stack__pin {
		position: relative;
		width: 100%;
		height: calc(100vh - var(--stack-header-offset));
		min-height: 500px;
		margin: 0;
		padding: 0;
		overflow: hidden;
		background: #e8d6eb;
	}
	
	.salient-gsap-sticky-stack__slides {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		overflow: hidden;
	}
	
	.salient-gsap-sticky-stack__slide {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		margin: 0;
		padding: 0;
		overflow: hidden;
		background: #e8d6eb;
		will-change: clip-path;
	}
	
	.salient-gsap-sticky-stack__media {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		overflow: hidden;
		background: #e8d6eb;
		border-radius: 0px !important;
	}
	
	.salient-gsap-sticky-stack__media img {
		display: block;
		width: 100% !important;
		height: 100% !important;
		max-width: none !important;
		object-fit: cover;
		object-position: center;
		margin: 0 !important;
		padding: 0 !important;
	}
	
	.salient-gsap-sticky-stack__media::after {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 2;
		pointer-events: none;
		background: rgba(0, 0, 0, .5);
	}
	
	.salient-gsap-sticky-stack__media .salient-gsap-sticky-stack__content {
		position: absolute;
		inset: 0;
		left: 0;
		right: auto;
		top: 50%;
		width: 100%;
		height: 100%;
		min-height: 0;
		margin: 0;
		padding: 32px 7% 40px;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: flex-start;
		background: transparent;
		border: 0;
		z-index: 5;
		box-sizing: border-box;
	}
	
	.salient-gsap-sticky-stack__content {
		height: 100%;
		background: transparent !important;
		width: 100%;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		padding: 110px 20px !important;
	}
	
	.salient-gsap-sticky-stack__title {
		position: relative;
		left: auto;
		top: auto;
		width: 100%;
		margin: 0 0 18px;
		padding: 0;
		color: #fff;
	}
	
	.salient-gsap-sticky-stack__desc {
		width: 100%;
		max-width: 600px;
		margin: 0;
		padding: 0;
		color: #fff;
	}
	
	.salient-gsap-sticky-stack__desc p {
		margin: 0 0 .8em;
	}
	
	.salient-gsap-sticky-stack__desc p:last-child {
		margin-bottom: 0;
	}
}
