.hero__section,
:is(.dark .hero__section) {
	--hero-x: 50%;
	--hero-y: 48%;
	background-image: none;
	overflow: hidden;
}

.hero__scene {
	filter: brightness(1);
	height: 100%;
	inset: 0;
	pointer-events: none;
	position: absolute;
	transition: filter 0.45s ease;
	width: 100%;
	z-index: 0;
}

.hero__section.is-bright .hero__scene {
	filter: brightness(1.2);
}

.hero__scene-base,
.hero__scene-glow {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.hero__scene-base {
	background-image: url("../images/light-bg.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

:is(.dark .hero__scene-base) {
	background-image: url("../images/dark-bg.png");
}

.hero__scene-glow {
	background: radial-gradient(circle at var(--hero-x) var(--hero-y), rgba(214, 238, 255, 0.55) 0 70px, rgba(80, 160, 255, 0.28) 180px, transparent 340px);
	mix-blend-mode: screen;
}

:is(.dark .hero__scene-glow) {
	background: radial-gradient(circle at var(--hero-x) var(--hero-y), rgba(214, 238, 255, 0.72) 0 64px, rgba(64, 140, 220, 0.34) 170px, transparent 320px);
}

.hero__section .hero__socials,
.hero__section .hero__dark-mode {
	z-index: 2;
}

@media (max-width: 768px) {
	.hero__scene-glow {
		background: radial-gradient(circle at var(--hero-x) var(--hero-y), rgba(214, 238, 255, 0.55) 0 46px, rgba(80, 160, 255, 0.28) 110px, transparent 200px);
	}

	:is(.dark .hero__scene-glow) {
		background: radial-gradient(circle at var(--hero-x) var(--hero-y), rgba(214, 238, 255, 0.72) 0 42px, rgba(64, 140, 220, 0.34) 100px, transparent 190px);
	}
}
