:root {
	--ink: #1d1b22;
	--paper: #f4e6dc;
	--serif: "Cormorant Garamond", Georgia, serif;
	--chrome-font: var(--serif);
	--chrome-fg: #2a2630;
	--chrome-bg: rgba(244, 230, 220, 0.5);
	--chrome-line: rgba(42, 38, 48, 0.35);
	--dusk: 0;
}

:root.after-dark {
	--chrome-fg: #e9dccf;
	--chrome-bg: rgba(30, 30, 44, 0.45);
	--chrome-line: rgba(233, 220, 207, 0.3);
}

html {
	background: #c9b7b0;
	color: var(--ink);
}

body {
	font-family: var(--serif);
}

.sky,
.sky i {
	position: fixed;
	inset: 0;
	pointer-events: none;
}

.sky {
	z-index: 0;
}

.sky .day {
	background: linear-gradient(180deg, #8e9bb0 0%, #b9b3bd 34%, #e8c7b4 66%, #f3d2b5 80%, #e7b99d 100%);
}

.sky .dusk {
	background: linear-gradient(180deg, #1c2133 0%, #333450 38%, #6b5468 64%, #b26f63 82%, #6d4a4c 100%);
	opacity: var(--dusk);
}

.sky .sun {
	inset: auto;
	left: 62vw;
	top: calc(70vh + var(--dusk) * 30vh);
	width: 46vmax;
	height: 46vmax;
	transform: translate(-50%, -50%);
	background: radial-gradient(circle, rgba(255, 226, 190, 0.9) 0, rgba(255, 210, 170, 0.35) 18%, rgba(255, 200, 160, 0) 60%);
	opacity: calc(1 - var(--dusk) * 0.85);
}

.room-world {
	z-index: 1;
}

.reeds {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100vw;
	height: 26vh;
	z-index: 3;
	pointer-events: none;
}

.reeds .far {
	fill: #57505a;
	opacity: 0.55;
}

.reeds .near {
	fill: #221f26;
}

.room-main {
	z-index: 4;
}

.arrival {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 0 8vw 34vh;
}

.eyebrow,
.hint,
.whisper {
	margin: 0;
	font-style: italic;
	font-weight: 400;
	font-size: clamp(17px, 1.4vw, 22px);
	letter-spacing: 0.02em;
	color: rgba(29, 27, 34, 0.7);
}

h1 {
	margin: 0.1em 0 0.25em;
	font-weight: 300;
	font-size: clamp(64px, 11vw, 190px);
	line-height: 0.9;
	letter-spacing: -0.01em;
	color: #24202a;
}

.dusk-run {
	min-height: 220vh;
}

.night-run {
	min-height: 200vh;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 0 10vw;
}

.after-dark .whisper,
.after-dark .credits,
.after-dark .nav {
	color: rgba(233, 220, 207, 0.78);
}

.colophon {
	min-height: 90vh;
	display: flex;
	align-items: flex-end;
	padding: 0 8vw 30vh;
}

.colophon > div {
	width: min(760px, 100%);
}

.credits {
	margin: 0 0 2.4rem;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 1.7;
	color: rgba(29, 27, 34, 0.6);
}

.nav {
	padding-top: 1rem;
	border-top: 1px solid currentColor;
	font-size: 18px;
	opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
	.sky .dusk,
	.sky .sun {
		transition: none;
	}
}
