/* The Nothing intro (assets/js/intro.js). Every rule is scoped to the intro, so
   it changes nothing on the page itself. */
html.nothing-intro-open { overflow: hidden; background: #000; }
html.nothing-intro-open:not(.nothing-intro-leaving) body { visibility: hidden; }
html.nothing-intro-leaving { background: none; }

#nothing-intro {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: #000;
	overflow: hidden;
	overscroll-behavior: none;
	cursor: pointer;
	outline: none;
	letter-spacing: 0;
	-webkit-tap-highlight-color: transparent;
	transition: opacity 700ms ease;
}
html.nothing-intro-leaving #nothing-intro { opacity: 0; }

#nothing-intro .ni-viewport {
	width: 100%;
	height: 100vh;
	height: 100svh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

#ni-stage {
	position: relative;
	width: 840px;
	height: 600px;
	background: #000;
	overflow: visible;
	flex: none;
	transform-origin: center center;
}

#nothing-intro .ni-ring {
	position: absolute;
	left: 420px;
	top: 300px;
	width: 313.9px;
	height: 313.9px;
	transform: translate(-50%, -50%);
	pointer-events: none;
}
#nothing-intro .ni-ring svg { display: block; width: 100%; height: 100%; overflow: visible; }
#nothing-intro .ni-add { mix-blend-mode: plus-lighter; }
#nothing-intro .ni-overlay { mix-blend-mode: overlay; }

#ni-wordmark {
	position: absolute;
	left: 0;
	top: 279px;
	width: 840px;
	text-align: center;
	font-family: "Nothing Sans", sans-serif;
	font-weight: 800;
	font-size: 58px;
	line-height: normal;
	color: transparent;
	-webkit-background-clip: text;
	background-clip: text;
	opacity: 0;
	pointer-events: none;
}

/* The page's kicker. Outside the scaled stage, so it keeps its size on a phone. */
#ni-byline {
	position: absolute;
	left: 0;
	width: 100%;
	text-align: center;
	font-family: "Nothing Sans", -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.3333;
	color: transparent;
	-webkit-background-clip: text;
	background-clip: text;
	opacity: 0;
	pointer-events: none;
}
@media (max-width: 1366px) {
	#ni-byline { font-size: 14px; }
}

@media print {
	#nothing-intro { display: none; }
	html.nothing-intro-open { background: none; }
	html.nothing-intro-open:not(.nothing-intro-leaving) body { visibility: visible; }
}
