/*
 * Persistent page backdrop. This file loads after the theme so it can expose
 * the renderer beneath structural section roots without changing card/media
 * surfaces or the navigation's readability gradient.
 */
html {
	background: #030407;
}

body {
	position: relative;
	isolation: isolate;
	background: transparent;
}

#starfield {
	position: fixed;
	inset: 0;
	z-index: -1;
	display: block;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

/* Only page-sized structural layers yield to the starfield. */
.hero,
.film-track,
#sections,
.gh-section,
.closing {
	background: transparent;
}

/* These former paper fades spanned the viewport and hid the persistent field. */
.film-sticky {
	background: transparent;
}

.spiral-bottom-fade {
	background: linear-gradient(
		to bottom,
		transparent,
		rgb(3 4 7 / 10%) 42%,
		rgb(3 4 7 / 32%) 72%,
		transparent
	);
}

.hero-bottom-fade {
	background: linear-gradient(
		to bottom,
		transparent 0%,
		rgb(3 4 7 / 12%) 48%,
		rgb(3 4 7 / 28%) 76%,
		transparent 100%
	);
}

.footer-fade {
	background: linear-gradient(
		to bottom,
		transparent,
		rgb(3 4 7 / 20%) 54%,
		rgb(3 4 7 / 42%)
	);
}

@media (prefers-reduced-motion: reduce) {
	#starfield {
		/* The renderer still paints one deterministic static frame. */
		will-change: auto;
	}
}
