/* ==========================================================================
   Scrolling Hero — Scroll-Pinned Canvas Section
   ========================================================================== */

.scrolling-hero-scroll-container {
	height: 400vh;
	position: relative;
}

.scrolling-hero-sticky-wrapper {
	position: sticky;
	top: 0;
	height: 100vh;
	width: 100%;
	overflow: hidden;
}

#scrolling-hero-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
}

.scrolling-hero-dark-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(12, 11, 10, 0.95) 100%);
	pointer-events: none;
	z-index: 5;
	opacity: 0.8;
	transition: opacity 0.1s ease-out;
}

.scrolling-hero-text-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	z-index: 10;
	width: 90%;
	max-width: 900px;
	pointer-events: all;
}

/* Exact colors from the demo design system */
.scrolling-hero-scroll-container,
.scrolling-hero-sticky-wrapper {
	--sh-text-light: #faf8f5;
	--sh-text-dark:  #1a1917;
	--sh-gold:       #dfb48f;
	--sh-accent:     #c67453;
}

.scrolling-hero-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: 5rem;
	font-weight: 300;
	line-height: 1.15;
	margin-bottom: 24px;
	letter-spacing: -0.01em;
	color: var(--sh-text-light);
}

/* em tags inside the title render as italic gold — matches the demo's .italic-serif */
.scrolling-hero-title em {
	font-style: italic;
	color: var(--sh-gold);
}

.scrolling-hero-subtitle {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.2rem;
	font-weight: 300;
	color: rgba(250, 248, 245, 0.8);
	max-width: 640px;
	margin: 0 auto 40px auto;
	line-height: 1.7;
	letter-spacing: 0.02em;
}

.scrolling-hero-btn {
	display: inline-block;
	background: transparent;
	border: 1px solid rgba(250, 248, 245, 0.5);
	color: var(--sh-text-light);
	padding: 16px 36px;
	border-radius: 50px;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.scrolling-hero-btn:hover {
	background-color: var(--sh-text-light);
	color: var(--sh-text-dark);
	border-color: var(--sh-text-light);
	box-shadow: 0 10px 25px rgba(250, 248, 245, 0.15);
}

.scrolling-hero-scroll-indicator {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	z-index: 10;
	opacity: 0.8;
	transition: opacity 0.4s ease;
}

.scrolling-hero-scroll-text {
	font-family: 'Montserrat', sans-serif;
	font-size: 0.7rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--sh-text-light);
	font-weight: 500;
}

.scrolling-hero-scroll-line-container {
	width: 1px;
	height: 48px;
	background-color: rgba(255, 255, 255, 0.15);
	position: relative;
	overflow: hidden;
}

.scrolling-hero-scroll-line {
	width: 100%;
	height: 100%;
	background-color: var(--sh-gold);
	position: absolute;
	top: -100%;
	animation: scrollingHeroLineAnim 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes scrollingHeroLineAnim {
	0%   { top: -100%; }
	50%  { top: 0; }
	100% { top: 100%; }
}

@media (max-width: 992px) {
	.scrolling-hero-title {
		font-size: 3.8rem;
	}
}

@media (max-width: 768px) {
	.scrolling-hero-title {
		font-size: 2.8rem;
	}
	.scrolling-hero-subtitle {
		font-size: 1rem;
		margin-bottom: 30px;
	}
}
