@font-face {
	font-family: Rubik;
	src: url('/fonts/rubik-22d59a96.woff2') format('woff2');
	font-weight: 300 900;
	font-display: swap;
}
:root {
	--surface-page: #f8f8fa;
	--fg-primary: #1e1e1e;
	--fg-secondary: #666;
	--fg-brand: #523bc6;
	--surface-action: #523bc6;
	--fg-on-action: #fff;
	--surface-selected: #e9e7ff;
	--fg-on-selected: #4230a2;
	color-scheme: light;
	font-family: Rubik, Arial, sans-serif;
	color: var(--fg-primary);
	background: var(--surface-page);
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
	background: var(--surface-page);
}
a {
	color: inherit;
}
button,
a {
	-webkit-tap-highlight-color: transparent;
}
button {
	font: inherit;
	cursor: pointer;
}
button:disabled {
	cursor: wait;
}
button:focus-visible,
a:focus-visible,
canvas:focus-visible {
	outline: 3px solid var(--fg-brand);
	outline-offset: 5px;
}
[hidden] {
	display: none !important;
}
.header {
	max-width: 1440px;
	margin: auto;
	padding: 36px 64px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.header a {
	display: flex;
}
.logo {
	width: 152px;
	height: auto;
}
.place {
	font-size: 13px;
	color: var(--fg-secondary);
}
main {
	max-width: 1440px;
	margin: auto;
}
.hero {
	display: grid;
	grid-template-columns: 42% 58%;
	align-items: center;
	padding: 12px 32px 18px 64px;
	min-height: calc(100svh - 200px);
}
.copy {
	position: relative;
	z-index: 1;
	padding-bottom: 25px;
}
.eyebrow {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.15em;
	color: var(--fg-brand);
	margin: 0 0 28px;
}
h1 {
	font-size: clamp(46px, 5.1vw, 76px);
	font-weight: 500;
	line-height: 1.04;
	letter-spacing: -0.055em;
	margin: 0;
}
h1 span {
	color: var(--fg-brand);
}
.intro {
	max-width: 330px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--fg-secondary);
	margin: 28px 0 32px;
}
.cta {
	display: inline-flex;
	gap: 24px;
	align-items: center;
	text-decoration: none;
	background: var(--surface-action);
	color: var(--fg-on-action);
	padding: 18px 24px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 500;
}
.cta:hover {
	background: #4230a2;
}
.cta span {
	font-size: 21px;
}
.experience {
	min-width: 0;
	align-self: center;
}
.stage {
	position: relative;
	width: 100%;
	aspect-ratio: 8/7;
}
.poster {
	display: block;
	width: 100%;
	height: auto;
	transition: opacity 0.25s;
}
.canvas-host {
	position: absolute;
	inset: 0;
}
.canvas-host canvas {
	display: block;
	width: 100%;
	height: 100%;
	touch-action: pan-y;
}
.stage.ready .poster {
	opacity: 0;
}
.viewer-bar {
	min-height: 102px;
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 12px;
	margin-top: -6px;
	position: relative;
}
.explore {
	background: none;
	border: 1px solid #b7b6b6;
	color: var(--fg-brand);
	border-radius: 999px;
	min-height: 46px;
	padding: 10px 21px;
	display: flex;
	align-items: center;
	gap: 20px;
	font-size: 13px;
	font-weight: 500;
}
.explore:hover {
	background: var(--surface-selected);
}
.explore span {
	font-size: 22px;
}
.hint {
	font-size: 11px;
	color: var(--fg-secondary);
	margin: 0;
	text-align: center;
	line-height: 1.5;
}
.controls {
	display: flex;
	gap: 12px;
	align-items: center;
}
.times {
	display: flex;
	gap: 4px;
}
.controls button {
	min-height: 44px;
	min-width: 44px;
	border: 0;
	background: transparent;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 12px;
	color: var(--fg-secondary);
}
.controls button[aria-pressed='true'] {
	background: var(--surface-selected);
	color: var(--fg-on-selected);
}
.controls .reset {
	font-size: 23px;
	padding: 6px;
}
.controls button:hover {
	color: var(--fg-brand);
}
footer {
	max-width: 1440px;
	margin: auto;
	padding: 18px 64px 30px;
	display: flex;
	justify-content: space-between;
	gap: 24px;
	font-size: 11px;
	color: var(--fg-secondary);
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
body[data-light='sunset'] {
	--surface-page: #faf5ee;
}
.embed .header,
.embed .copy,
.embed footer {
	display: none;
}
.embed .hero {
	display: block;
	padding: 0;
	min-height: 0;
}
.embed .experience {
	width: 100%;
	max-width: 980px;
	margin: auto;
}
.embed {
	background: transparent;
}
.embed .viewer-bar {
	margin-top: -10px;
}
@media (min-width: 1450px) {
	.hero {
		min-height: 660px;
	}
}
@media (min-width: 761px) and (min-height: 600px) {
	.experience {
		max-width: min(100%, calc((100svh - 245px) * 8 / 7));
		justify-self: center;
	}
}
@media (max-width: 1000px) {
	.header {
		padding: 28px 32px;
	}
	.hero {
		padding-left: 32px;
		grid-template-columns: 43% 57%;
	}
	h1 {
		font-size: clamp(44px, 5.7vw, 58px);
	}
	.intro {
		font-size: 14px;
		padding-right: 12px;
	}
	footer {
		padding-left: 32px;
		padding-right: 32px;
	}
}
@media (max-width: 760px) {
	.header {
		padding: 24px;
	}
	.logo {
		width: 135px;
	}
	.place {
		font-size: 11px;
	}
	.hero {
		display: flex;
		flex-direction: column;
		padding: 28px 20px 0;
		min-height: 0;
		gap: 8px;
	}
	.copy {
		align-self: stretch;
		padding: 0 4px;
	}
	.eyebrow {
		font-size: 10px;
		margin-bottom: 20px;
	}
	h1 {
		font-size: clamp(45px, 10.8vw, 68px);
	}
	h1 br:nth-of-type(2) {
		display: none;
	}
	.intro {
		font-size: 14px;
		max-width: 340px;
		margin: 20px 0 24px;
	}
	.cta {
		padding: 16px 21px;
	}
	.experience {
		width: 100%;
	}
	.stage {
		margin-top: 12px;
	}
	.viewer-bar {
		margin-top: 0;
		min-height: 108px;
	}
	.hint {
		font-size: 10px;
	}
	footer {
		padding: 14px 24px 24px;
		font-size: 10px;
	}
	.embed .stage {
		margin-top: 0;
	}
	.embed .viewer-bar {
		margin-top: 0;
	}
	.controls {
		gap: 2px;
	}
	.controls button {
		padding: 8px 12px;
	}
}
@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}

/* World navigation: wrap controls instead of shrinking touch targets. */
.controls {
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
	max-width: 560px;
}
.viewpoints {
	display: flex;
	gap: 4px;
	width: 100%;
	justify-content: center;
}
.viewer-bar {
	min-height: 160px;
	gap: 8px;
}
@media (min-width: 761px) and (min-height: 600px) {
	.experience {
		max-width: 100%;
	}
}
@media (max-width: 760px) {
	.viewer-bar {
		min-height: 170px;
	}
}

.journey-direction,
.journey-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
	width: 100%;
}
.controls .journey-direction button {
	font-size: 13px;
	font-weight: 500;
	padding: 10px 16px;
}
.journey-phase {
	width: 100%;
	font-size: 16px;
	font-weight: 500;
	text-align: center;
	margin: 10px 0 8px;
	color: var(--fg-primary);
}
#journey-progress {
	appearance: none;
	display: block;
	width: 74%;
	height: 3px;
	border: 0;
	border-radius: 2px;
	background: #eaeaea;
	color: var(--fg-brand);
	margin: 0 auto 8px;
}
#journey-progress::-webkit-progress-bar {
	background: #eaeaea;
	border-radius: 2px;
}
#journey-progress::-webkit-progress-value {
	background: var(--fg-brand);
	border-radius: 2px;
}
#journey-progress::-moz-progress-bar {
	background: var(--fg-brand);
}
.controls {
	max-width: 620px;
}
.viewer-bar {
	min-height: 228px;
}
@media (max-width: 760px) {
	.controls .journey-direction button {
		font-size: 12px;
		padding: 10px 12px;
	}
	.journey-phase {
		font-size: 15px;
	}
	.viewer-bar {
		min-height: 238px;
	}
}

/* The homepage embeds the scene without the demo's copy or controls. */
.animation-only,
.animation-only body {
	background: transparent;
	overflow: hidden;
}
.animation-only .header,
.animation-only .copy,
.animation-only footer,
.animation-only .viewer-bar {
	display: none;
}
.animation-only main,
.animation-only .hero,
.animation-only .experience {
	width: 100%;
	max-width: none;
	height: 100svh;
	min-height: 0;
	margin: 0;
	padding: 0;
	display: block;
}
.animation-only .stage {
	height: 100%;
	aspect-ratio: auto;
	margin: 0;
}
.animation-only .poster {
	height: 100%;
	object-fit: contain;
}

.animation-only .canvas-host canvas {
	cursor: grab;
	touch-action: pan-y !important;
}
.animation-only .canvas-host canvas:active {
	cursor: grabbing;
}
