.demo-grid {
	--body-text: #585858;
	--body-text-alt: #32bc15;
	--body-text-alt-rgb: 50, 188, 21;
	--body-bg: #010101;
	--link-text: #c7c5c5;
	--link-text-hover: #fff;
	--content-font: "Space Grotesk", sans-serif;
	background:
		radial-gradient(ellipse at 50% 40%, rgba(50, 188, 21, 0.06) 0%, transparent 55%),
		radial-gradient(circle at 50% 50%, #141414 0%, #010101 75%);
	background-attachment: fixed;
}

.content {
	--pieces-height: 90vh;
	--pieces-height: 90dvh;
	height: 100vh;
	height: 100dvh;
	overflow: hidden;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.page-nav {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	opacity: 0;
	font-family: var(--content-font);
	font-weight: 500;
}

.page-nav__item {
	font-size: 10vh;
}

.page-nav__social {
	display: flex;
	gap: 1.25em;
	margin: 1.75em 0 0;
	padding: 0 0 0.25em;
}

.page-nav__social-link {
	display: block;
	transition: transform 0.2s ease, color 0.2s ease;
}

.page-nav__social-link .icon {
	width: 1.75em;
	height: 1.75em;
	margin: 0;
}

.page-nav__social-link:hover,
.page-nav__social-link:focus-visible {
	color: var(--body-text-alt);
	transform: translateY(-3px);
}

.content .pieces {
	height: var(--pieces-height);
	width: calc(var(--pieces-height) * calc(429/573));
	position: absolute;
	left: 50%;
	top: calc(50% + 1.5em);
	margin-left: calc(-1 * var(--pieces-height) * calc(429/573) / 2);
	margin-top: calc(-1 * var(--pieces-height) / 2);
	cursor: pointer;
	transition: filter 0.3s ease;
}

.page-nav--open ~ .pieces {
	pointer-events: none;
	filter: blur(3px);
}

.content .electric-head {
	position: absolute;
	left: 50%;
	top: calc(50% + 1.5em);
	transform: translate(-50%, -50%);
	pointer-events: none;
	z-index: 1;
	opacity: 1;
	transition: opacity 0.4s ease;
}

.page-nav--open ~ .electric-head {
	opacity: 0;
}

.hero-hint {
	position: fixed;
	left: 50%;
	bottom: 0.6em;
	z-index: 10;
	transform: translateX(-50%);
	display: flex;
	align-items: flex-end;
	gap: 0.3em;
	color: var(--body-text-alt);
	pointer-events: none;
	animation: heroHintFade 2.4s ease-in-out infinite;
	transition: opacity 0.4s ease;
}

.hero-hint__arrow {
	width: 1.3em;
	height: 1.9em;
	transform: rotate(-6deg);
}

.hero-hint__text {
	font-family: 'Caveat', var(--content-font), cursive;
	font-weight: 600;
	font-size: 2.1em;
	line-height: 1;
	white-space: nowrap;
}

.has-interacted .hero-hint {
	animation: none;
	opacity: 0;
}

@keyframes heroHintFade {
	0%, 100% {
		opacity: 0.85;
	}
	50% {
		opacity: 0.35;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero-hint {
		animation: none;
		opacity: 0.85;
	}
}

@media screen and (max-width: 40em) {
	.content {
		--pieces-height: 70vh;
		--pieces-height: 70dvh;
	}
	.page-nav__item {
		font-size: 6vh;
	}
	.hero-hint {
		bottom: 1.5em;
	}
}