.milvra-scroll-container {
	position: relative;
	width: 100%;
	background-color: #0b0c10;
	color: #ffffff;
	font-family: 'Playfair Display', serif;
}

/* Fixed viewport that handles the scale/3D transition */
.milvra-viewport {
	position: sticky;
	top: 0;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	z-index: 1;
}

/* Setup WP Admin Bar offsets if user is logged in */
body.admin-bar .milvra-viewport {
	top: var(--wp-admin--admin-bar--height, 32px);
	height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
}
@media screen and (max-width: 782px) {
	body.admin-bar .milvra-viewport {
		top: 46px;
		height: calc(100vh - 46px);
	}
}

/* Layer Base styling */
.milvra-layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	transition: opacity 0.3s ease, transform 0.1s ease-out;
	will-change: transform, opacity;
}

/* Layer specific configurations & depth offsets */
.layer-foreground {
	z-index: 10;
}

.layer-entrance {
	z-index: 5;
	opacity: 0;
	transform: scale(0.9);
}

.layer-interior {
	z-index: 2;
	opacity: 0;
	transform: scale(0.85);
}

/* Overlay gradient */
.milvra-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, rgba(11, 12, 16, 0.2) 60%, rgba(11, 12, 16, 0.9) 100%);
	z-index: 12;
	pointer-events: none;
}

/* Scrolling Text Content overlays */
.milvra-content-wrapper {
	position: relative;
	z-index: 20;
	margin-top: -100vh; /* pull content overlaying sticky container */
}

.milvra-trigger-section {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding: 0 10%;
	box-sizing: border-box;
}

.milvra-card {
	background: rgba(11, 12, 16, 0.85);
	padding: 40px;
	border-left: 3px solid #c5a880;
	max-width: 500px;
	backdrop-filter: blur(10px);
	border-radius: 4px;
	transform: translateY(30px);
	opacity: 0;
	transition: all 0.8s ease;
}

.milvra-card.active-card {
	transform: translateY(0);
	opacity: 1;
}

.milvra-meta {
	font-family: 'Montserrat', sans-serif;
	font-size: 11px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #c5a880;
	display: block;
	margin-bottom: 12px;
}

.milvra-card h2 {
	font-size: 36px;
	margin: 0 0 16px;
	color: #ffffff;
	font-weight: 300;
}

.milvra-card p {
	font-size: 16px;
	line-height: 1.7;
	color: #cccccc;
	margin: 0;
}

@media (max-width: 768px) {
	.milvra-trigger-section {
		padding: 0 20px;
	}
	.milvra-card h2 {
		font-size: 28px;
	}
}
