:root {
	--bg: #07090c;
	--text: #f5f3ef;
	--muted: rgba(245, 243, 239, 0.72);
	--line: rgba(255, 255, 255, 0.08);
}

* {
	box-sizing: border-box;
}

html {
	margin: 0;
	padding: 0;
	min-height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	background: var(--bg);
}

body {
	margin: 0;
	padding: 0;
	min-height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	background: var(--bg);
	color: var(--text);
	font-family: Arial, Helvetica, sans-serif;
}

.site-3d {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	background:
		radial-gradient(circle at top, rgba(255, 220, 140, 0.05), transparent 32%),
		linear-gradient(180deg, #090b0f 0%, #06070a 100%);
	z-index: 1;
}

#three-canvas-wrap {
	position: absolute;
	inset: 0;
}

#three-canvas-wrap canvas {
	display: block;
	width: 100%;
	height: 100%;
}

.scroll-stage {
	position: relative;
	height: 1600vh;
	z-index: 0;
	pointer-events: none;
}

.scene-copy {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 9vh;
	z-index: 3;
	display: flex;
	justify-content: center;
	pointer-events: none;
	padding: 0 24px;
}

.scene-copy__inner {
	width: min(760px, 100%);
	text-align: center;
	opacity: 0;
	transform: translateY(18px);
	transition:
		opacity 0.45s ease,
		transform 0.45s ease;
}

.scene-copy.is-visible .scene-copy__inner {
	opacity: 1;
	transform: translateY(0);
}

.scene-copy__eyebrow {
	margin-bottom: 10px;
	font-size: 0.78rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--muted);
}

.scene-copy__title {
	margin: 0;
	font-size: clamp(1.8rem, 4vw, 4.2rem);
	line-height: 0.95;
	letter-spacing: 0.01em;
}

.scene-copy__text {
	margin: 14px auto 0;
	max-width: 46rem;
	font-size: clamp(0.95rem, 1.4vw, 1.15rem);
	line-height: 1.6;
	color: var(--muted);
}

.scene-copy__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 1rem;
	padding: 0.8rem 1.2rem;
	border: 1px solid rgba(255,255,255,0.25);
	border-radius: 999px;
	color: #fff;
	text-decoration: none;
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
	transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}

.scene-copy__button.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.scene-copy__button:hover {
	border-color: rgba(255,255,255,0.5);
}

@media (max-width: 900px) {
	.scroll-stage {
		height: 1900vh;
	}

	.scene-copy {
		bottom: 7vh;
		padding: 0 18px;
	}

	.scene-copy__text {
		max-width: 34rem;
	}
}