/* Arkadian Studio — a heavenly Arcadia: dawn skies, floating islands, gold and pearl. */

:root {
	--ivory: #fbf7ef;
	--pearl: #f5efe4;
	--sand: #eadfcb;
	--mist: #eeebf5;
	--ink: #1b2a4a;
	--ink-2: #46536f;
	--ink-3: #737d97;
	--azure: #2e5c9b;
	--gold: #c99b4c;
	--gold-text: #8e6526;
	--gold-light: #f3d99f;
	--gold-pale: #fbebc6;
	--twilight: #161b36;
	--serif: 'Cormorant Garamond', 'Iowan Old Style', 'Times New Roman', serif;
	--caps: 'Cinzel', 'Trajan Pro', 'Times New Roman', serif;
	--sans: 'Jost', 'Avenir Next', system-ui, sans-serif;
	--header-h: 82px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 10px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--ivory);
	color: var(--ink);
	font-family: var(--sans);
	font-weight: 400;
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol {
	margin: 0;
}

ul,
ol {
	padding: 0;
	list-style: none;
}

button {
	font: inherit;
}

:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 100;
	padding: 10px 18px;
	background: var(--ink);
	color: #fff;
	border-radius: 8px;
	text-decoration: none;
}

.skip-link:focus {
	top: 12px;
}

.container {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
}

.narrow {
	max-width: 960px;
}

.star {
	width: 12px;
	height: 12px;
	flex: none;
	color: var(--gold);
}

/* ---------- Type ---------- */
.eyebrow,
.kicker {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 22px;
	font-family: var(--caps);
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: var(--gold-text);
}

.eyebrow.center {
	display: flex;
	justify-content: center;
}

.title {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(42px, 5.6vw, 80px);
	line-height: 1.02;
	letter-spacing: -0.012em;
	color: var(--ink);
}

.title em,
.gild {
	font-style: italic;
	padding-right: 0.06em;
	background: linear-gradient(100deg, #a27632, #d9ae5e 25%, #8e6526 50%, #d9ae5e 75%, #a27632);
	background-size: 200% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: gild 10s linear infinite;
}

.lead {
	max-width: 660px;
	margin: 22px auto 0;
	font-family: var(--serif);
	font-size: clamp(20px, 1.9vw, 24px);
	font-weight: 500;
	line-height: 1.5;
	color: var(--ink-2);
}

.section-head {
	max-width: 780px;
	margin: 0 auto clamp(48px, 6vw, 76px);
}

.section-head.center {
	text-align: center;
}

@keyframes gild {
	to {
		background-position: -200% 0;
	}
}

/* ---------- Buttons ---------- */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 30px;
	border: 1px solid transparent;
	border-radius: 6px;
	font-family: var(--sans);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	overflow: hidden;
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s, color 0.35s, border-color 0.35s;
}

.btn svg {
	width: 18px;
	height: 18px;
	flex: none;
}

.btn::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
	transform: translateX(-120%);
	transition: transform 0.9s var(--ease);
	pointer-events: none;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn:hover::after {
	transform: translateX(120%);
}

/* The arch: a doorway-shaped button, rounded on top like Arcadian arches. */
.btn-arch {
	padding: 19px 32px 15px;
	border-radius: 999px 999px 6px 6px;
	background: var(--ink);
	color: #fff8ea;
	box-shadow: 0 14px 30px -14px rgba(27, 42, 74, 0.6), inset 0 0 0 1px rgba(243, 217, 159, 0.35);
}

.btn-arch:hover {
	box-shadow: 0 20px 40px -14px rgba(27, 42, 74, 0.6), inset 0 0 0 1px rgba(243, 217, 159, 0.6);
}

.btn-light {
	background: linear-gradient(180deg, #fffdf7, #f6ebd3);
	color: var(--ink);
	box-shadow: 0 16px 36px -14px rgba(20, 40, 90, 0.5), inset 0 0 0 1px rgba(201, 155, 76, 0.55);
}

.btn-ghost {
	padding: 19px 30px 15px;
	border-radius: 999px 999px 6px 6px;
	border-color: rgba(255, 255, 255, 0.8);
	background: rgba(30, 52, 104, 0.22);
	text-shadow: 0 1px 8px rgba(20, 40, 90, 0.4);
	color: #fff;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: #fff;
}

.btn-sm {
	padding: 13px 22px 11px;
	font-size: 13.5px;
}

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	color: #fff;
	transition: background-color 0.45s, box-shadow 0.45s, color 0.45s;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: var(--header-h);
}

.site-header.is-scrolled,
.site-header.is-solid {
	background: rgba(251, 247, 239, 0.86);
	-webkit-backdrop-filter: blur(16px) saturate(1.2);
	backdrop-filter: blur(16px) saturate(1.2);
	color: var(--ink);
	box-shadow: 0 1px 0 rgba(201, 155, 76, 0.28);
}

.brand {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: inherit;
	text-decoration: none;
}

.brand img {
	width: 40px;
	height: 40px;
	filter: drop-shadow(0 2px 8px rgba(120, 80, 20, 0.25));
}

.brand-name span {
	display: block;
	font-family: var(--caps);
	font-size: 19px;
	font-weight: 500;
	letter-spacing: 0.2em;
	line-height: 1;
}

.brand-name small {
	display: block;
	margin-top: 6px;
	font-family: var(--caps);
	font-size: 9.5px;
	letter-spacing: 0.66em;
	line-height: 1;
	opacity: 0.85;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 34px;
}

.site-nav a:not(.btn) {
	position: relative;
	font-family: var(--caps);
	font-size: 13px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	color: inherit;
}

.site-nav a:not(.btn)::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -10px;
	width: 5px;
	height: 5px;
	background: var(--gold);
	transform: translateX(-50%) rotate(45deg) scale(0);
	transition: transform 0.35s var(--ease);
}

.site-nav a:not(.btn):hover::after {
	transform: translateX(-50%) rotate(45deg) scale(1);
}

.site-header:not(.is-scrolled):not(.is-solid) .site-nav .btn-arch {
	background: linear-gradient(180deg, #fffdf7, #f6ebd3);
	color: var(--ink);
	box-shadow: 0 10px 24px -12px rgba(20, 40, 90, 0.5), inset 0 0 0 1px rgba(201, 155, 76, 0.55);
}

.site-header.menu-open {
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	background: transparent;
	box-shadow: none;
	color: #fff;
}

.menu-toggle {
	display: none;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid currentColor;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	position: relative;
	z-index: 2;
}

.menu-toggle svg {
	width: 22px;
	height: 22px;
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 100vh;
	min-height: 100svh;
	padding: calc(var(--header-h) + 30px) 0 22vh;
	overflow: hidden;
	isolation: isolate;
	color: #fff;
	background: linear-gradient(180deg, #1f4a8a 0%, #3a69ab 16%, #739cd2 34%, #b4c0e4 52%, #e6cedc 64%, #f7cfb6 76%, #ffddab 88%, #ffe7c2 100%);
}

.hero-sky {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.hero::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	height: 18vh;
	background: linear-gradient(180deg, rgba(251, 247, 239, 0), rgba(251, 247, 239, 0.7) 55%, var(--ivory));
	pointer-events: none;
}

.hero-sky > *,
.legal-sky > *,
.lost-sky > * {
	position: absolute;
}

.px {
	transform: translate3d(calc(var(--mx, 0) * var(--dx) * -1px), calc(var(--my, 0) * var(--dy) * -1px + var(--sy, 0) * var(--ds) * 1px), 0);
	will-change: transform;
}

.sun {
	left: 63%;
	top: 60%;
	width: 52vmin;
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: radial-gradient(circle, #fff 0 3.2%, #fff8e2 4.6%, rgba(255, 243, 210, 0.9) 8%, rgba(255, 226, 170, 0.45) 18%, rgba(255, 214, 160, 0.18) 34%, transparent 64%);
	animation: sunPulse 9s ease-in-out infinite;
}

.sun::after {
	content: '';
	position: absolute;
	inset: -70%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 236, 200, 0.32), transparent 60%);
}

@keyframes sunPulse {
	50% {
		transform: translate(-50%, -50%) scale(1.06);
		filter: brightness(1.06);
	}
}

.rays {
	left: 63%;
	top: 60%;
	width: 230vmax;
	height: 230vmax;
	transform: translate(-50%, -50%);
	background:
		repeating-conic-gradient(from 0deg, rgba(255, 250, 232, 0) 0deg, rgba(255, 247, 226, 0.17) 2.2deg, rgba(255, 250, 232, 0) 4.6deg, rgba(255, 250, 232, 0) 9deg),
		repeating-conic-gradient(from 3deg, rgba(255, 250, 232, 0) 0deg, rgba(255, 240, 210, 0.11) 1.5deg, rgba(255, 250, 232, 0) 3deg, rgba(255, 250, 232, 0) 13deg);
	-webkit-mask: radial-gradient(circle, #000 0, rgba(0, 0, 0, 0.55) 11%, transparent 36%);
	mask: radial-gradient(circle, #000 0, rgba(0, 0, 0, 0.55) 11%, transparent 36%);
	animation: raySpin 260s linear infinite;
}

@keyframes raySpin {
	to {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

.peaks-wrap {
	left: 50%;
	bottom: 13%;
	width: max(112vw, 1100px);
	margin-left: calc(max(112vw, 1100px) / -2);
}

.peaks-wrap img {
	width: 100%;
	opacity: 0.95;
}

/* Tileable cloud seas drifting forever. */
.band {
	left: 0;
	right: 0;
	height: var(--h);
}

.band i {
	position: absolute;
	top: 0;
	left: 0;
	width: calc(var(--h) * var(--ar) * 3);
	height: 100%;
	background: var(--img) repeat-x 0 0 / calc(var(--h) * var(--ar)) 100%;
	animation: drift var(--dur) linear infinite;
}

@keyframes drift {
	to {
		transform: translateX(calc(var(--h) * var(--ar) * -1));
	}
}

.band-far {
	--h: clamp(150px, 24vh, 300px);
	--ar: 5.714;
	--dur: 220s;
	--img: url('../images/hero/cloud-far.webp');
	bottom: 9%;
}

.band-mid {
	--h: clamp(190px, 30vh, 380px);
	--ar: 4.615;
	--dur: 150s;
	--img: url('../images/hero/cloud-mid.webp');
	bottom: -9%;
}

.band-near {
	--h: clamp(220px, 36vh, 460px);
	--ar: 3.75;
	--dur: 95s;
	--img: url('../images/hero/cloud-near.webp');
	bottom: -22vh;
}

.isle img {
	width: 100%;
}

.isle-main {
	right: 2%;
	top: 12%;
	width: min(47vw, 840px);
}

.isle-b {
	left: 37%;
	top: 64%;
	width: min(15vw, 270px);
}

.isle-c {
	left: 47%;
	top: 11%;
	width: min(9vw, 160px);
}

.bob {
	position: relative;
	animation: bob var(--bob, 9s) ease-in-out var(--delay, 0s) infinite;
}

@keyframes bob {
	50% {
		transform: translateY(calc(var(--lift, 12px) * -1));
	}
}

/* Waterfalls pouring off the islands into the clouds. */
.fall {
	position: absolute;
	width: 1.6%;
	height: 78%;
	transform: translateX(-50%);
}

.fall i {
	position: absolute;
	inset: 0;
	clip-path: polygon(28% 0, 72% 0, 100% 100%, 0 100%);
	background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0 7px, rgba(214, 232, 248, 0.72) 7px 15px, rgba(255, 255, 255, 0.9) 15px 24px, rgba(232, 242, 252, 0.6) 24px 30px);
	background-size: 100% 60px;
	-webkit-mask: linear-gradient(to bottom, #000 0, #000 50%, transparent 96%);
	mask: linear-gradient(to bottom, #000 0, #000 50%, transparent 96%);
	animation: flow 0.7s linear infinite;
}

.fall--thin {
	width: 2.4%;
	height: 70%;
}

.fall::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 14%;
	width: 900%;
	height: 14%;
	transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
	animation: spray 3.2s ease-in-out infinite;
}

@keyframes flow {
	to {
		background-position: 0 60px;
	}
}

@keyframes spray {
	50% {
		transform: translateX(-50%) scale(1.18, 1.3);
		opacity: 0.75;
	}
}

.puff img {
	width: 100%;
	animation: driftX 80s ease-in-out infinite alternate;
}

.puff-a {
	right: -9%;
	top: 56%;
	width: min(44vw, 780px);
}

.puff-b {
	right: 19%;
	top: 2%;
	width: min(26vw, 460px);
	opacity: 0.92;
}

.puff-b img {
	animation-duration: 110s;
	animation-direction: alternate-reverse;
}

@keyframes driftX {
	from {
		transform: translateX(-7vw);
	}
	to {
		transform: translateX(7vw);
	}
}

.flock {
	top: 24%;
	left: 0;
	width: 100%;
	height: 120px;
}

.birds {
	position: absolute;
	width: 150px;
	color: rgba(38, 50, 92, 0.6);
	animation: fly 42s linear infinite;
}

.wing {
	transform-box: fill-box;
	transform-origin: center;
	animation: flap 0.55s ease-in-out var(--d) infinite alternate;
}

@keyframes fly {
	0% {
		transform: translate(-22vw, 40px) scale(0.9);
	}
	50% {
		transform: translate(48vw, -10px) scale(0.75);
	}
	100% {
		transform: translate(118vw, 20px) scale(0.6);
	}
}

@keyframes flap {
	to {
		transform: scaleY(-0.55);
	}
}

.motes {
	inset: 0;
	width: 100%;
	height: 100%;
}

.flare {
	inset: 0;
	transform: translate3d(calc(var(--mx, 0) * 30px), calc(var(--my, 0) * 18px), 0);
}

.flare i {
	position: absolute;
	border-radius: 50%;
	mix-blend-mode: screen;
	transform: translate(-50%, -50%);
}

.flare i:nth-child(1) {
	left: 62%;
	top: 49%;
	width: 46px;
	height: 46px;
	background: radial-gradient(circle, rgba(255, 228, 180, 0.35), transparent 70%);
}

.flare i:nth-child(2) {
	left: 54%;
	top: 53%;
	width: 110px;
	height: 110px;
	border: 1px solid rgba(220, 230, 255, 0.18);
	background: radial-gradient(circle, transparent 55%, rgba(190, 210, 255, 0.12) 70%, transparent 72%);
}

.flare i:nth-child(3) {
	left: 43%;
	top: 59%;
	width: 26px;
	height: 26px;
	background: radial-gradient(circle, rgba(255, 210, 160, 0.4), transparent 70%);
}

.flare i:nth-child(4) {
	left: 32%;
	top: 65%;
	width: 170px;
	height: 170px;
	background: radial-gradient(circle, rgba(255, 236, 210, 0.12), transparent 66%);
}

.hero-copy {
	position: relative;
	z-index: 2;
}

.hero-copy > * {
	max-width: 640px;
}

.hero-copy::before {
	content: '';
	position: absolute;
	left: -8%;
	top: -12%;
	width: min(820px, 100%);
	height: 124%;
	z-index: -1;
	background: radial-gradient(closest-side, rgba(22, 46, 94, 0.32), transparent);
	pointer-events: none;
}

.kicker {
	color: #fff6e0;
	text-shadow: 0 1px 12px rgba(20, 40, 90, 0.4);
}

.kicker .star {
	color: var(--gold-light);
}

.hero h1 {
	max-width: 820px;
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(54px, 8.6vw, 128px);
	line-height: 0.94;
	letter-spacing: -0.016em;
	text-shadow: 0 2px 34px rgba(20, 40, 90, 0.35);
}

.hero h1 em {
	font-style: italic;
	filter: drop-shadow(0 2px 18px rgba(20, 40, 90, 0.35));
	text-shadow: none;
}

.hero h1 .w {
	display: inline-block;
}

.hero h1 .w-em {
	padding-right: 0.05em;
	background: linear-gradient(100deg, #fff6dc, #f6d08a 35%, #fff0c8 55%, #f2c46e 80%, #fff6dc);
	background-size: 220% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: gild 9s linear infinite;
}

.js .hero h1 .w {
	opacity: 0;
	filter: blur(14px);
	transform: translateY(26px);
	animation: rise 1.5s var(--ease) calc(0.25s + var(--i) * 0.14s) forwards;
}

.js .hero h1 .w-em {
	animation: rise 1.5s var(--ease) calc(0.25s + var(--i) * 0.14s) forwards, gild 9s linear 2s infinite;
}

@keyframes rise {
	to {
		opacity: 1;
		filter: blur(0);
		transform: none;
	}
}

.hero-lead {
	margin-top: 28px;
	max-width: 540px;
	font-size: 19px;
	font-weight: 300;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.94);
	text-shadow: 0 1px 14px rgba(20, 40, 90, 0.45);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 38px;
}

.js .hero-lead,
.js .hero-actions,
.js .kicker {
	opacity: 0;
	transform: translateY(16px);
	animation: rise 1.2s var(--ease) forwards;
}

.js .kicker {
	animation-delay: 0.1s;
}

.js .hero-lead {
	animation-delay: 1.1s;
}

.js .hero-actions {
	animation-delay: 1.3s;
}

.scroll-cue {
	position: absolute;
	left: 50%;
	bottom: 26px;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	transform: translateX(-50%);
	color: var(--ink);
	text-decoration: none;
	font-family: var(--caps);
	font-size: 11px;
	letter-spacing: 0.34em;
	text-transform: uppercase;
}

.scroll-cue i {
	position: relative;
	width: 1px;
	height: 44px;
	background: rgba(27, 42, 74, 0.35);
	overflow: hidden;
}

.scroll-cue i::after {
	content: '';
	position: absolute;
	left: -2px;
	top: -8px;
	width: 5px;
	height: 12px;
	border-radius: 4px;
	background: var(--gold);
	animation: cue 2.2s var(--ease) infinite;
}

@keyframes cue {
	to {
		transform: translateY(56px);
	}
}

/* ---------- Intro / manifesto ---------- */
.intro {
	position: relative;
	padding: clamp(90px, 11vw, 150px) 0 clamp(70px, 8vw, 110px);
	background: var(--ivory);
	text-align: center;
}

.manifesto {
	font-family: var(--serif);
	font-size: clamp(28px, 3.6vw, 48px);
	font-weight: 400;
	line-height: 1.32;
	color: var(--ink);
}

.manifesto .gold {
	font-style: italic;
	color: var(--gold-text);
}

.js .manifesto .mw {
	opacity: 0.16;
	transition: opacity 0.6s, filter 0.6s;
	filter: blur(1.5px);
}

.js .manifesto .mw.lit {
	opacity: 1;
	filter: none;
}

.divider {
	width: min(360px, 80%);
	height: auto;
	margin: 48px auto 0;
	color: var(--gold);
}

.platform-label {
	margin-top: 34px;
	font-family: var(--caps);
	font-size: 12px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.marquee {
	margin-top: 22px;
	overflow: hidden;
	-webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
	display: flex;
	align-items: center;
	width: max-content;
	animation: marquee 55s linear infinite;
}

.marquee-track span {
	margin-right: 36px;
	font-family: var(--caps);
	font-size: clamp(18px, 2vw, 26px);
	letter-spacing: 0.14em;
	white-space: nowrap;
	color: var(--ink-2);
}

.marquee-track .star {
	width: 14px;
	height: 14px;
	margin-right: 36px;
}

@keyframes marquee {
	to {
		transform: translateX(-50%);
	}
}

/* ---------- Realms ---------- */
.realms {
	padding: clamp(70px, 8vw, 110px) 0 clamp(90px, 11vw, 150px);
	background: linear-gradient(180deg, var(--ivory), var(--mist) 55%, var(--ivory));
}

.realm-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
}

.arch {
	position: relative;
	aspect-ratio: 3 / 4;
	border-radius: 999px 999px 16px 16px;
	overflow: hidden;
	isolation: isolate;
	transform: translateZ(0);
	box-shadow: 0 44px 60px -40px rgba(40, 50, 90, 0.55);
}

.arch img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.8s var(--ease);
}

.realm:hover .arch img {
	transform: scale(1.08);
}

.arch::after {
	content: '';
	position: absolute;
	inset: 9px;
	border: 1px solid rgba(255, 240, 205, 0.75);
	border-radius: inherit;
	pointer-events: none;
	z-index: 2;
}

.arch::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(115deg, transparent 35%, rgba(255, 250, 235, 0.45) 50%, transparent 65%);
	transform: translateX(-100%);
	transition: transform 1.4s var(--ease);
	pointer-events: none;
}

.realm:hover .arch::before {
	transform: translateX(100%);
}

.arch-num {
	position: absolute;
	top: 13%;
	left: 50%;
	z-index: 3;
	transform: translateX(-50%);
	font-family: var(--caps);
	font-size: 18px;
	letter-spacing: 0.2em;
	color: #fff7e2;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.fx {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
	pointer-events: none;
}

.fx-mist {
	position: absolute;
	left: -60%;
	top: 70%;
	width: 220%;
	height: 20%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(255, 255, 255, 0.75), transparent);
	animation: mist 16s ease-in-out infinite alternate;
}

.fx-mist--2 {
	top: 56%;
	height: 12%;
	opacity: 0.6;
	animation-duration: 22s;
	animation-direction: alternate-reverse;
}

@keyframes mist {
	from {
		transform: translateX(-12%);
	}
	to {
		transform: translateX(12%);
	}
}

.petal {
	position: absolute;
	left: var(--x);
	top: -6%;
	width: 10px;
	height: 8px;
	border-radius: 100% 0 100% 0;
	background: linear-gradient(135deg, #fff0f4, #f4a3bd);
	opacity: 0;
	animation: petal var(--t) linear var(--d) infinite;
}

@keyframes petal {
	0% {
		opacity: 0;
		transform: translate(0, 0) rotate(0) scale(var(--s));
	}
	10% {
		opacity: 1;
	}
	50% {
		transform: translate(34px, 220px) rotate(200deg) scale(var(--s));
	}
	90% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		transform: translate(-10px, 470px) rotate(420deg) scale(var(--s));
	}
}

.fx-aurora {
	position: absolute;
	left: -20%;
	right: -20%;
	top: 6%;
	height: 34%;
	background: linear-gradient(100deg, transparent 10%, rgba(126, 230, 255, 0.45) 35%, rgba(192, 140, 255, 0.45) 60%, transparent 85%);
	filter: blur(16px);
	mix-blend-mode: screen;
	animation: aurora 10s ease-in-out infinite alternate;
}

@keyframes aurora {
	from {
		transform: translateX(-10%) skewX(-8deg);
		opacity: 0.6;
	}
	to {
		transform: translateX(10%) skewX(8deg);
		opacity: 1;
	}
}

.spark {
	position: absolute;
	left: var(--x);
	top: var(--y);
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 10px 3px rgba(190, 240, 255, 0.85);
	animation: twinkle 2.6s ease-in-out var(--d) infinite;
}

.fly {
	position: absolute;
	left: var(--x);
	top: var(--y);
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #fff6b8;
	box-shadow: 0 0 12px 4px rgba(255, 233, 138, 0.8);
	animation: wander var(--t) ease-in-out var(--d) infinite alternate, twinkle 2.2s ease-in-out var(--d) infinite;
}

@keyframes wander {
	33% {
		transform: translate(18px, -22px);
	}
	66% {
		transform: translate(-14px, -8px);
	}
	100% {
		transform: translate(10px, -34px);
	}
}

@keyframes twinkle {
	0%,
	100% {
		opacity: 0.25;
	}
	50% {
		opacity: 1;
	}
}

.realm-copy {
	padding: 26px 6px 0;
	text-align: center;
}

.realm-kind {
	font-family: var(--caps);
	font-size: 11.5px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--gold-text);
}

.realm h3 {
	margin: 8px 0 10px;
	font-family: var(--serif);
	font-size: 31px;
	font-weight: 500;
	line-height: 1.1;
}

.realm p:not(.realm-kind) {
	font-size: 16px;
	font-weight: 300;
	color: var(--ink-2);
}

.tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}

.tags li {
	padding: 5px 13px;
	border: 1px solid rgba(201, 155, 76, 0.4);
	border-radius: 999px;
	font-size: 13px;
	color: var(--ink-2);
	background: rgba(255, 255, 255, 0.6);
}

/* ---------- Works ---------- */
.works {
	position: relative;
	padding: clamp(90px, 11vw, 150px) 0 clamp(60px, 8vw, 110px);
	background: radial-gradient(60% 40% at 15% 20%, rgba(157, 192, 230, 0.18), transparent), radial-gradient(50% 40% at 85% 60%, rgba(243, 217, 159, 0.22), transparent), var(--ivory);
}

.folio {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: clamp(36px, 6vw, 90px);
	align-items: center;
	margin-top: clamp(70px, 9vw, 130px);
}

.folio:first-of-type {
	margin-top: 0;
}

.folio--flip {
	grid-template-columns: 1fr 1.3fr;
}

.folio--flip .folio-stage {
	order: 2;
}

.folio-stage {
	position: relative;
	padding: clamp(36px, 5vw, 64px) clamp(18px, 4vw, 54px) clamp(46px, 6vw, 74px);
	border-radius: 50% 50% 32px 32px / 120px 120px 32px 32px;
	overflow: hidden;
	isolation: isolate;
	background: var(--stage);
	box-shadow: 0 50px 80px -50px rgba(30, 40, 80, 0.55);
}

.folio-stage::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4%;
	height: 46%;
	z-index: -1;
	background: url('../images/hero/cloud-mid.webp') repeat-x 0 100% / auto 100%;
	opacity: var(--cloud-o, 0.9);
	animation: stageClouds 90s linear infinite;
}

.folio-stage::after {
	content: '';
	position: absolute;
	inset: 12px;
	z-index: -1;
	border: 1px solid rgba(255, 240, 205, 0.35);
	border-radius: inherit;
	pointer-events: none;
}

@keyframes stageClouds {
	to {
		background-position: -1200px 100%;
	}
}

.folio--lumen {
	--stage: radial-gradient(60% 50% at 70% 70%, rgba(255, 190, 120, 0.55), transparent), linear-gradient(180deg, #2a1e3d 0%, #6b2f4a 45%, #d0674a 82%, #f6a75e 100%);
	--cloud-o: 0.55;
}

.folio--browser {
	--stage: radial-gradient(50% 40% at 70% 20%, rgba(255, 222, 170, 0.45), transparent), linear-gradient(180deg, #1a3466 0%, #46719f 50%, #d6c2d2 100%);
	--cloud-o: 0.75;
}

.folio--hoot {
	--stage: radial-gradient(40% 40% at 80% 15%, rgba(255, 246, 200, 0.9), transparent), linear-gradient(180deg, #7fc2ee 0%, #bfe2f7 55%, #fff0d2 100%);
	--cloud-o: 1;
}

.folio--isles {
	--stage: radial-gradient(40% 40% at 75% 70%, rgba(255, 226, 170, 0.6), transparent), linear-gradient(180deg, #2a5596 0%, #7aa3d6 55%, #f6d6be 100%);
	--cloud-o: 0.95;
}

.folio-stage .device {
	animation: float 8s ease-in-out infinite;
}

@keyframes float {
	50% {
		transform: translateY(-10px);
	}
}

.folio-num {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--caps);
	font-size: 12.5px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--gold-text);
}

.ptag {
	padding: 4px 11px;
	border: 1px solid rgba(201, 155, 76, 0.45);
	border-radius: 999px;
	font-family: var(--sans);
	font-size: 11px;
	letter-spacing: 0.14em;
	color: var(--ink-3);
}

.folio h3 {
	margin: 14px 0 4px;
	font-family: var(--serif);
	font-size: clamp(46px, 5vw, 68px);
	font-weight: 400;
	line-height: 1;
}

.folio-kind {
	margin-bottom: 18px;
	font-family: var(--serif);
	font-size: 21px;
	font-style: italic;
	color: var(--gold-text);
}

.folio-copy > p:not(.folio-num):not(.folio-kind) {
	font-size: 17px;
	font-weight: 300;
	color: var(--ink-2);
}

.folio-features {
	display: grid;
	gap: 14px;
	margin-top: 26px;
}

.folio-features li {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 15.5px;
	color: var(--ink);
}

.folio-features svg {
	width: 38px;
	height: 38px;
	flex: none;
	padding: 9px;
	border-radius: 999px 999px 8px 8px;
	background: linear-gradient(180deg, #fffaf0, #f3e6cc);
	box-shadow: inset 0 0 0 1px rgba(201, 155, 76, 0.4);
	color: var(--gold-text);
}

.folio-platforms {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 26px;
}

.folio-platforms li {
	padding: 6px 13px;
	border-radius: 6px;
	background: rgba(27, 42, 74, 0.06);
	font-size: 13px;
	font-weight: 500;
	color: var(--ink-2);
}

/* ---------- Device frames ---------- */
.device {
	position: relative;
	z-index: 1;
	margin: 0 auto;
}

.tv {
	width: 100%;
	max-width: 720px;
}

.tv-screen {
	position: relative;
	aspect-ratio: 16 / 9;
	border: clamp(5px, 0.8vw, 9px) solid #0c0d11;
	border-radius: 10px;
	background: #000;
	overflow: hidden;
	container-type: inline-size;
	box-shadow: 0 0 0 1px #2a2c33, 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}

.tv-screen::after,
.phone-screen::after,
.tablet-screen::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 30;
	background: linear-gradient(125deg, rgba(255, 255, 255, 0.08) 0%, transparent 30%);
	pointer-events: none;
}

.tv-foot {
	width: 30%;
	height: 14px;
	margin: 0 auto;
	background: linear-gradient(#2a2c33, #0f1014);
	clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}

.phone-screen {
	position: relative;
	aspect-ratio: 9 / 19.5;
	border: 10px solid #0e0f13;
	border-radius: 46px;
	background: #000;
	overflow: hidden;
	container-type: inline-size;
	box-shadow: 0 0 0 2px #2b2d35, 0 50px 90px -30px rgba(0, 0, 0, 0.75);
}

.phone-screen::before {
	content: '';
	position: absolute;
	top: 9px;
	left: 50%;
	z-index: 40;
	width: 31%;
	height: 7.6%;
	max-height: 26px;
	transform: translateX(-50%);
	border-radius: 20px;
	background: #000;
}

.phone-land {
	width: 100%;
	max-width: 680px;
}

.phone-screen--land {
	aspect-ratio: 19.5 / 9;
	border-width: clamp(6px, 1.5vw, 10px);
	border-radius: clamp(26px, 6vw, 44px);
}

.phone-screen--land::before {
	top: 50%;
	left: 1.3%;
	width: 2.7%;
	height: 25%;
	max-height: none;
	transform: translateY(-50%);
}

.tablet {
	width: 100%;
	max-width: 640px;
}

.tablet-screen {
	position: relative;
	aspect-ratio: 4 / 3;
	border: clamp(10px, 1.4vw, 15px) solid #f2f2f4;
	border-radius: 30px;
	background: #fff;
	overflow: hidden;
	container-type: inline-size;
	box-shadow: 0 0 0 1px #d6d6dc, 0 0 0 4px #c9c9d1, 0 50px 90px -30px rgba(40, 60, 100, 0.6);
}

/* ---------- Lumen (TV streaming) ---------- */
.lumen {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: #07080c;
	color: #fff;
	font-family: var(--sans);
	line-height: 1.3;
}

.lu-bg {
	position: absolute;
	inset: 0 0 26% 22%;
}

.lu-bg img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1.1s ease;
	animation: kenburns 18s ease-in-out infinite alternate;
}

.lu-bg img.is-on {
	opacity: 1;
}

@keyframes kenburns {
	to {
		transform: scale(1.08) translate(-1.5%, -1%);
	}
}

.lu-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #07080c 22%, rgba(7, 8, 12, 0.75) 38%, rgba(7, 8, 12, 0) 66%), linear-gradient(0deg, #07080c 30%, rgba(7, 8, 12, 0) 60%);
}

.lu-rail {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.6cqw;
	width: 6.4cqw;
	padding-top: 3cqw;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent);
}

.lu-rail svg {
	width: 2.1cqw;
	height: 2.1cqw;
	color: rgba(255, 255, 255, 0.5);
}

.lu-rail svg.on {
	color: #fff;
	filter: drop-shadow(0 0 0.6cqw rgba(243, 217, 159, 0.8));
}

.lu-avatar {
	display: grid;
	place-items: center;
	width: 3.2cqw;
	height: 3.2cqw;
	margin-bottom: 1cqw;
	border-radius: 0.6cqw;
	background: linear-gradient(135deg, #f3d99f, #c56b47);
	font-size: 1.6cqw;
	font-weight: 600;
}

.lu-top {
	position: absolute;
	top: 2.4cqw;
	left: 9cqw;
	right: 3cqw;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.lu-logo {
	display: flex;
	align-items: center;
	gap: 0.7cqw;
	font-family: var(--caps);
	font-size: 1.9cqw;
	letter-spacing: 0.32em;
	color: var(--gold-light);
	text-transform: uppercase;
}

.lu-logo .star {
	width: 1.4cqw;
	height: 1.4cqw;
	color: var(--gold-light);
}

.lu-time {
	font-size: 1.5cqw;
	color: rgba(255, 255, 255, 0.8);
}

.lu-info {
	position: absolute;
	top: 7.4cqw;
	left: 9cqw;
	z-index: 3;
	width: 46cqw;
}

.lu-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.6cqw;
	font-size: 1.15cqw;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--gold-light);
}

.lu-badge svg {
	width: 1.4cqw;
	height: 1.4cqw;
}

.lu-title {
	margin: 0.8cqw 0 1cqw;
	font-family: var(--serif);
	font-size: 5.4cqw;
	font-weight: 600;
	line-height: 0.95;
	text-shadow: 0 0.3cqw 2cqw rgba(0, 0, 0, 0.5);
	transition: opacity 0.5s;
}

.lu-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1cqw;
	font-size: 1.3cqw;
	color: rgba(255, 255, 255, 0.85);
}

.lu-new {
	font-weight: 600;
	color: #8be3a8;
}

.lu-rate,
.lu-hd {
	padding: 0.1cqw 0.5cqw;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 0.3cqw;
	font-size: 1.05cqw;
}

.lu-desc {
	display: -webkit-box;
	margin-top: 1cqw;
	max-width: 40cqw;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	font-size: 1.4cqw;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.8);
	transition: opacity 0.5s;
}

.lumen.is-swapping .lu-title,
.lumen.is-swapping .lu-desc {
	opacity: 0;
}

.lu-btns {
	display: flex;
	gap: 1cqw;
	margin-top: 1.8cqw;
}

.lu-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.7cqw;
	padding: 0.85cqw 1.8cqw;
	border-radius: 0.5cqw;
	background: rgba(255, 255, 255, 0.18);
	font-size: 1.4cqw;
	font-weight: 600;
}

.lu-btn svg {
	width: 1.6cqw;
	height: 1.6cqw;
}

.lu-btn--play {
	background: #fff;
	color: #0a0a0c;
}

.lu-btn--play svg {
	fill: currentColor;
}

.lu-btn--icon {
	width: 3.4cqw;
	height: 3.4cqw;
	padding: 0;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.3);
}

.lu-rows {
	position: absolute;
	left: 9cqw;
	right: 0;
	bottom: -8.5cqw;
	z-index: 3;
}

.lu-row + .lu-row {
	margin-top: 2.2cqw;
}

.lu-row-title {
	margin-bottom: 0.9cqw;
	font-size: 1.55cqw;
	font-weight: 600;
}

.lu-tiles {
	display: flex;
	gap: 1.2cqw;
}

.lu-tile {
	position: relative;
	flex: 0 0 17cqw;
	aspect-ratio: 16 / 9;
	border-radius: 0.7cqw;
	overflow: hidden;
	transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.lu-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lu-tile::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), transparent 55%);
}

.lu-tile.is-focused {
	z-index: 2;
	transform: scale(1.12);
	box-shadow: 0 0 0 0.3cqw #f3d99f, 0 1cqw 3cqw rgba(0, 0, 0, 0.6), 0 0 3cqw rgba(243, 217, 159, 0.45);
}

.lu-name {
	position: absolute;
	left: 0.9cqw;
	right: 0.9cqw;
	bottom: 1.1cqw;
	z-index: 1;
	line-height: 1;
	text-shadow: 0 0.2cqw 1cqw rgba(0, 0, 0, 0.7);
}

.t-cinzel {
	font-family: var(--caps);
	font-size: 1.45cqw;
	letter-spacing: 0.12em;
}

.t-italic {
	font-family: var(--serif);
	font-size: 2.1cqw;
	font-style: italic;
	font-weight: 600;
}

.t-bold {
	font-size: 1.35cqw;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lu-l {
	position: absolute;
	top: 0.5cqw;
	left: 0.7cqw;
	z-index: 1;
	font-family: var(--caps);
	font-size: 1.5cqw;
	font-weight: 600;
	color: var(--gold-light);
	text-shadow: 0 0 0.6cqw rgba(0, 0, 0, 0.6);
}

.lu-ep {
	position: absolute;
	top: 0.6cqw;
	right: 0.6cqw;
	z-index: 1;
	padding: 0.15cqw 0.5cqw;
	border-radius: 0.3cqw;
	background: rgba(0, 0, 0, 0.55);
	font-size: 0.95cqw;
}

.lu-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	height: 0.35cqw;
	background: rgba(255, 255, 255, 0.3);
}

.lu-progress::after {
	content: '';
	position: absolute;
	inset: 0 auto 0 0;
	width: var(--p);
	background: #e5b65c;
}

.lu-top10 {
	position: absolute;
	top: 0;
	right: 0.7cqw;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0.3cqw 0.45cqw 0.4cqw;
	border-radius: 0 0 0.3cqw 0.3cqw;
	background: linear-gradient(180deg, #e7b860, #b4812f);
	color: #1a1205;
	font-size: 0.75cqw;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.06em;
}

.lu-top10 b {
	font-size: 1.35cqw;
}

/* ---------- Smart TV browser ---------- */
.webtv {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #0e1424;
	color: #fff;
	font-family: var(--sans);
	line-height: 1.3;
}

.br-tabs {
	display: flex;
	align-items: flex-end;
	gap: 0.4cqw;
	height: 3.8cqw;
	padding: 0 1.4cqw;
	background: #090e1a;
}

.br-tab {
	display: flex;
	align-items: center;
	gap: 0.7cqw;
	width: 17cqw;
	height: 3cqw;
	padding: 0 1.1cqw;
	border-radius: 0.8cqw 0.8cqw 0 0;
	font-size: 1.15cqw;
	color: rgba(255, 255, 255, 0.6);
	white-space: nowrap;
}

.br-tab svg {
	width: 1.3cqw;
	height: 1.3cqw;
	flex: none;
}

.br-tab svg:last-child {
	width: 1.1cqw;
	height: 1.1cqw;
	margin-left: auto;
	opacity: 0.55;
}

.br-tab.on {
	background: #1b2338;
	color: #fff;
}

.br-newtab {
	display: grid;
	place-items: center;
	align-self: center;
	width: 2.4cqw;
	height: 2.4cqw;
	border-radius: 50%;
	color: rgba(255, 255, 255, 0.7);
}

.br-newtab svg {
	width: 1.4cqw;
	height: 1.4cqw;
}

.br-clock {
	align-self: center;
	margin-left: auto;
	font-size: 1.2cqw;
	color: rgba(255, 255, 255, 0.7);
}

.br-bar {
	display: flex;
	align-items: center;
	gap: 1.5cqw;
	height: 5cqw;
	padding: 0 1.8cqw;
	background: #1b2338;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.br-bar > svg {
	width: 1.9cqw;
	height: 1.9cqw;
	flex: none;
	color: rgba(255, 255, 255, 0.88);
}

.br-bar > svg.dim {
	opacity: 0.35;
}

.br-url {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 0.9cqw;
	height: 3.2cqw;
	padding: 0 1.3cqw;
	border-radius: 3cqw;
	background: #0e1424;
	font-size: 1.25cqw;
	color: rgba(255, 255, 255, 0.55);
}

.br-url svg {
	width: 1.5cqw;
	height: 1.5cqw;
}

.br-count {
	display: grid;
	place-items: center;
	width: 2cqw;
	height: 2cqw;
	border: 0.2cqw solid rgba(255, 255, 255, 0.88);
	border-radius: 0.45cqw;
	font-size: 1.05cqw;
	font-weight: 600;
}

.br-page {
	position: relative;
	flex: 1;
	overflow: hidden;
}

.br-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
}

.br-page::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(12, 20, 44, 0.5), rgba(12, 20, 44, 0.32) 40%, rgba(10, 14, 30, 0.62));
}

.br-hello {
	position: absolute;
	top: 2.4cqw;
	left: 3cqw;
	text-shadow: 0 0.2cqw 1cqw rgba(0, 0, 0, 0.45);
}

.br-hello b {
	display: block;
	font-family: var(--serif);
	font-size: 2.7cqw;
	font-weight: 500;
}

.br-hello span {
	display: flex;
	align-items: center;
	gap: 0.6cqw;
	font-size: 1.2cqw;
	color: rgba(255, 255, 255, 0.88);
}

.br-hello svg {
	width: 1.5cqw;
	height: 1.5cqw;
}

.br-search {
	position: absolute;
	top: 8.6cqw;
	left: 50%;
	display: flex;
	align-items: center;
	gap: 1.4cqw;
	width: 52cqw;
	transform: translateX(-50%);
}

.br-search img {
	width: 4.2cqw;
	height: 4.2cqw;
	flex: none;
	filter: drop-shadow(0 0.3cqw 1cqw rgba(0, 0, 0, 0.4));
}

.br-field {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 1cqw;
	height: 4.6cqw;
	padding: 0 1.8cqw;
	border-radius: 3cqw;
	background: rgba(255, 255, 255, 0.94);
	color: var(--ink);
	font-size: 1.6cqw;
	box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, 0.28);
}

.br-field svg {
	width: 1.8cqw;
	height: 1.8cqw;
	flex: none;
	color: var(--ink-2);
}

.br-field svg:last-child {
	margin-left: auto;
	color: var(--azure);
}

.br-field .is-empty {
	color: #8a93ab;
}

.br-caret {
	width: 0.16cqw;
	height: 2cqw;
	margin-left: -0.7cqw;
	background: var(--azure);
	animation: caret 1s steps(2) infinite;
}

@keyframes caret {
	50% {
		opacity: 0;
	}
}

.br-dials {
	position: absolute;
	top: 17.4cqw;
	left: 50%;
	display: grid;
	grid-template-columns: repeat(4, 9cqw);
	gap: 2cqw 3.6cqw;
	transform: translateX(-50%);
}

.br-dial {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.8cqw;
	transition: transform 0.45s var(--ease);
}

.br-dial i {
	display: grid;
	place-items: center;
	width: 7cqw;
	height: 7cqw;
	border-radius: 1.8cqw;
	background: linear-gradient(145deg, var(--a), var(--b));
	box-shadow: 0 0.8cqw 2cqw rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.28);
	transition: box-shadow 0.45s var(--ease);
}

.br-dial svg {
	width: 3cqw;
	height: 3cqw;
	color: #fff;
}

.br-dial b {
	font-size: 1.25cqw;
	font-weight: 500;
	text-shadow: 0 0.2cqw 0.8cqw rgba(0, 0, 0, 0.6);
}

.br-dial.is-hover {
	transform: scale(1.12);
}

.br-dial.is-hover i {
	box-shadow: 0 0 0 0.3cqw #fff, 0 1.2cqw 3cqw rgba(0, 0, 0, 0.45), 0 0 3cqw rgba(255, 255, 255, 0.35);
}

.br-hints {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: center;
	gap: 3cqw;
	padding: 1.1cqw;
	background: linear-gradient(0deg, rgba(8, 12, 24, 0.8), transparent);
	font-size: 1.1cqw;
	color: rgba(255, 255, 255, 0.85);
}

.br-hints span {
	display: flex;
	align-items: center;
	gap: 0.6cqw;
}

.br-hints kbd {
	display: grid;
	place-items: center;
	min-width: 2.3cqw;
	height: 2.3cqw;
	padding: 0 0.5cqw;
	border-radius: 1.2cqw;
	background: rgba(255, 255, 255, 0.18);
	font: 600 0.95cqw var(--sans);
}

.br-hints kbd svg {
	width: 1.2cqw;
	height: 1.2cqw;
}

.br-cursor {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 5;
	width: 2.6cqw;
	transform: translate(60cqw, 30cqw);
	transition: transform 1s cubic-bezier(0.5, 0, 0.2, 1);
	filter: drop-shadow(0 0.3cqw 0.6cqw rgba(0, 0, 0, 0.5));
}

.br-ripple {
	position: absolute;
	top: 0.4cqw;
	left: 0.4cqw;
	width: 5cqw;
	height: 5cqw;
	border: 0.25cqw solid #fff;
	border-radius: 50%;
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.2);
}

.br-cursor.is-click .br-ripple {
	animation: ripple 0.7s ease-out;
}

@keyframes ripple {
	0% {
		opacity: 0.9;
		transform: translate(-50%, -50%) scale(0.2);
	}
	100% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(1.3);
	}
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* ---------- Hoot (kids tablet) ---------- */
.hoot {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: linear-gradient(180deg, #8ed0f5 0%, #c9e9fa 55%, #fff4da 100%);
	color: #2b2148;
	font-family: var(--sans);
	line-height: 1.25;
}

.ho-clouds {
	position: absolute;
	inset: 0;
	background: radial-gradient(9cqw 3.5cqw at 20% 22%, rgba(255, 255, 255, 0.95), transparent 70%), radial-gradient(12cqw 4cqw at 62% 16%, rgba(255, 255, 255, 0.9), transparent 70%), radial-gradient(10cqw 3.6cqw at 88% 30%, rgba(255, 255, 255, 0.85), transparent 70%);
	animation: hoClouds 30s ease-in-out infinite alternate;
}

@keyframes hoClouds {
	to {
		transform: translateX(-6cqw);
	}
}

.ho-top {
	position: absolute;
	top: 2.6cqw;
	left: 3cqw;
	right: 3cqw;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2cqw;
}

.ho-logo {
	display: flex;
	align-items: center;
	gap: 0.8cqw;
	font-size: 4cqw;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: #6e4fc2;
}

.ho-logo img {
	width: 5.4cqw;
}

.ho-tabs {
	display: flex;
	gap: 1cqw;
}

.ho-tabs span {
	display: flex;
	align-items: center;
	gap: 0.6cqw;
	padding: 0.9cqw 1.6cqw;
	border-radius: 3cqw;
	font-size: 1.7cqw;
	font-weight: 600;
	color: #4a3c78;
}

.ho-tabs span.on {
	background: #fff;
	color: #6e4fc2;
	box-shadow: 0 0.5cqw 1.2cqw rgba(80, 60, 160, 0.18);
}

.ho-tabs svg {
	width: 1.9cqw;
	height: 1.9cqw;
}

.ho-tools {
	display: flex;
	align-items: center;
	gap: 1cqw;
}

.ho-timer {
	display: flex;
	align-items: center;
	gap: 0.6cqw;
	padding: 0.9cqw 1.4cqw;
	border-radius: 3cqw;
	background: #fff3c4;
	color: #9a5f12;
	font-size: 1.6cqw;
	font-weight: 600;
}

.ho-timer svg {
	width: 1.8cqw;
	height: 1.8cqw;
}

.ho-round {
	display: grid;
	place-items: center;
	width: 4.4cqw;
	height: 4.4cqw;
	border-radius: 50%;
	background: #fff;
	color: #6e4fc2;
	box-shadow: 0 0.5cqw 1.2cqw rgba(80, 60, 160, 0.15);
}

.ho-round svg {
	width: 2cqw;
	height: 2cqw;
}

.ho-body {
	position: absolute;
	top: 11.5cqw;
	left: 3cqw;
	right: 3cqw;
	z-index: 2;
	display: grid;
	grid-template-columns: 28cqw 1fr;
	gap: 3cqw;
}

.ho-pip {
	position: relative;
	padding-top: 7cqw;
}

.ho-owl {
	width: 21cqw;
	margin-left: 2cqw;
	animation: bob 3.2s ease-in-out infinite;
	--lift: 1.4cqw;
}

.ho-owl + .ho-bubble {
	position: absolute;
	top: 0;
	left: 4cqw;
	right: -2cqw;
	padding: 1.2cqw 1.6cqw;
	border-radius: 2cqw;
	background: #fff;
	font-size: 1.75cqw;
	font-weight: 600;
	box-shadow: 0 0.6cqw 1.6cqw rgba(80, 60, 160, 0.15);
}

.ho-bubble::after {
	content: '';
	position: absolute;
	left: 6cqw;
	bottom: -1.2cqw;
	border: 0.8cqw solid transparent;
	border-top: 0.8cqw solid #fff;
	border-left: 0.8cqw solid #fff;
}

.ho-cats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2cqw;
}

.ho-cat {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	aspect-ratio: 1.9;
	padding: 1.2cqw;
	border-radius: 2.6cqw;
	color: #fff;
	box-shadow: 0 0.9cqw 0 var(--edge), 0 1.6cqw 2.4cqw rgba(60, 40, 120, 0.2);
}

.ho-cat svg {
	position: absolute;
	top: 1cqw;
	left: 50%;
	width: 46%;
	transform: translateX(-50%);
}

.ho-cat b {
	font-size: 2.2cqw;
	font-weight: 600;
	text-shadow: 0 0.2cqw 0 rgba(0, 0, 0, 0.15);
}

.ho-c1 {
	--edge: #d9654f;
	background: linear-gradient(160deg, #ffb86b, #ff8e72);
	animation: pick 2.6s ease-in-out infinite;
}

.ho-c2 {
	--edge: #6650d0;
	background: linear-gradient(160deg, #7fb6ff, #8c7bff);
}

.ho-c3 {
	--edge: #2c9583;
	background: linear-gradient(160deg, #5ed3a8, #3cb4a0);
}

.ho-c4 {
	--edge: #d4507a;
	background: linear-gradient(160deg, #ff8fb1, #ff6f91);
}

@keyframes pick {
	0%,
	100% {
		transform: none;
		outline: 0.5cqw solid rgba(255, 255, 255, 0);
	}
	50% {
		transform: translateY(-0.6cqw) scale(1.03);
		outline: 0.5cqw solid rgba(255, 255, 255, 0.95);
		outline-offset: 0.4cqw;
	}
}

.ho-row {
	position: absolute;
	left: 3cqw;
	right: 3cqw;
	bottom: 2.4cqw;
	z-index: 2;
}

.ho-row-title {
	display: flex;
	align-items: center;
	gap: 0.7cqw;
	margin-bottom: 1.2cqw;
	font-size: 1.9cqw;
	font-weight: 600;
}

.ho-row-title svg {
	width: 2.2cqw;
	height: 2.2cqw;
	color: #6e4fc2;
}

.ho-thumbs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.8cqw;
}

.ho-thumb {
	display: grid;
	grid-template-columns: 12cqw 1fr;
	grid-template-rows: auto auto;
	align-items: center;
	column-gap: 1.2cqw;
	padding: 0.8cqw;
	border-radius: 2cqw;
	background: #fff;
	box-shadow: 0 0.6cqw 1.4cqw rgba(80, 60, 160, 0.12);
}

.ho-thumb img {
	grid-row: span 2;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 1.3cqw;
}

.ho-thumb b {
	align-self: end;
	font-size: 1.65cqw;
	font-weight: 600;
}

.ho-thumb small {
	display: flex;
	align-items: center;
	gap: 0.5cqw;
	align-self: start;
	font-size: 1.4cqw;
	color: #7a6fa0;
}

.ho-thumb small svg {
	width: 1.5cqw;
	height: 1.5cqw;
}

/* ---------- Sky Isles (mobile & TV game) ---------- */
.isles {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: linear-gradient(180deg, #2a5596 0%, #6f98cf 38%, #c3c7e6 64%, #f6d6be 84%, #ffe2b4 100%);
	color: #fff;
	font-family: var(--sans);
	line-height: 1.2;
}

.isles > * {
	position: absolute;
}

.g-sun {
	left: 72%;
	top: 60%;
	width: 46cqw;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, #fff 0 3%, rgba(255, 243, 210, 0.9) 7%, rgba(255, 226, 170, 0.4) 18%, transparent 60%);
	transform: translate(-50%, -50%);
}

.g-peaks {
	left: -6cqw;
	bottom: 6cqw;
	width: 124cqw;
	max-width: none;
	opacity: 0.8;
	animation: gPeaks 50s linear infinite alternate;
}

@keyframes gPeaks {
	to {
		transform: translateX(-40cqw);
	}
}

.g-band {
	left: 0;
	right: 0;
	background-repeat: repeat-x;
	background-size: auto 100%;
}

.g-band--far {
	bottom: -1cqw;
	height: 13cqw;
	background-image: url('../images/hero/cloud-far.webp');
	animation: gFar 24s linear infinite;
}

.g-band--near {
	bottom: -7cqw;
	height: 16cqw;
	background-image: url('../images/hero/cloud-near.webp');
	animation: gNear 8s linear infinite;
}

@keyframes gFar {
	to {
		background-position: -74.28cqw 0;
	}
}

@keyframes gNear {
	to {
		background-position: -60cqw 0;
	}
}

.g-isle {
	left: 0;
	animation: gIsle linear infinite;
}

.g-isle--a {
	top: 6cqw;
	width: 11cqw;
	animation-duration: 26s;
	animation-delay: -9s;
	opacity: 0.9;
}

.g-isle--b {
	top: 12cqw;
	width: 19cqw;
	animation-duration: 15s;
	animation-delay: -4s;
}

@keyframes gIsle {
	from {
		transform: translateX(108cqw);
	}
	to {
		transform: translateX(-30cqw);
	}
}

.g-orbs {
	top: 21cqw;
	left: 0;
	width: 40cqw;
	animation: gOrbs 5.5s linear infinite;
}

.g-orbs i {
	position: absolute;
	width: 2.4cqw;
	height: 2.4cqw;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #fffadf, #f6cb62 55%, #c98a2e);
	box-shadow: 0 0 1.4cqw rgba(255, 214, 120, 0.9);
	animation: orb 1.4s ease-in-out infinite;
}

@keyframes orb {
	50% {
		transform: scale(1.15);
		filter: brightness(1.15);
	}
}

@keyframes gOrbs {
	from {
		transform: translateX(104cqw);
	}
	to {
		transform: translateX(-46cqw);
	}
}

.g-ship {
	left: 17cqw;
	top: 15cqw;
	width: 15cqw;
	animation: gShip 3.2s ease-in-out infinite;
}

.g-ship svg {
	width: 100%;
	filter: drop-shadow(0 1cqw 1.2cqw rgba(40, 40, 90, 0.35));
}

.g-ship .prop {
	transform-box: fill-box;
	transform-origin: center;
	animation: prop 0.12s linear infinite alternate;
}

@keyframes gShip {
	50% {
		transform: translateY(-2.4cqw) rotate(-3deg);
	}
}

@keyframes prop {
	to {
		transform: scaleY(0.15);
	}
}

.g-pop {
	left: 31cqw;
	top: 16cqw;
	font-size: 2.4cqw;
	font-weight: 600;
	color: #ffe7a6;
	text-shadow: 0 0.2cqw 0.8cqw rgba(120, 70, 10, 0.6);
	opacity: 0;
	animation: gPop 2.75s ease-out infinite;
}

@keyframes gPop {
	0%,
	55% {
		opacity: 0;
		transform: translateY(0) scale(0.7);
	}
	65% {
		opacity: 1;
		transform: translateY(-1cqw) scale(1.1);
	}
	100% {
		opacity: 0;
		transform: translateY(-5cqw) scale(1);
	}
}

.g-hud {
	top: 2.2cqw;
	left: 7cqw;
	right: 4cqw;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.g-left {
	display: grid;
	gap: 0.8cqw;
}

.g-hearts {
	display: flex;
	gap: 0.5cqw;
}

.g-hearts svg {
	width: 2.6cqw;
	height: 2.6cqw;
	fill: #ff5a6e;
	stroke: #fff;
	stroke-width: 1.6;
	filter: drop-shadow(0 0.2cqw 0.4cqw rgba(0, 0, 0, 0.25));
}

.g-level {
	position: relative;
	padding: 0.4cqw 1cqw 0.9cqw;
	border-radius: 1cqw;
	background: rgba(20, 30, 70, 0.45);
	font-size: 1.3cqw;
	font-weight: 600;
	overflow: hidden;
}

.g-level i {
	position: absolute;
	left: 0;
	bottom: 0;
	width: var(--v);
	height: 0.4cqw;
	background: linear-gradient(90deg, #ffe08a, #f2b84b);
}

.g-score {
	text-align: center;
	text-shadow: 0 0.3cqw 1cqw rgba(20, 30, 70, 0.5);
}

.g-score b {
	display: block;
	font-size: 3.4cqw;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.g-score small {
	font-size: 1.15cqw;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.g-right {
	display: flex;
	align-items: center;
	gap: 0.9cqw;
}

.g-pill {
	display: flex;
	align-items: center;
	gap: 0.6cqw;
	padding: 0.5cqw 1.1cqw 0.5cqw 0.6cqw;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 2cqw;
	background: rgba(20, 30, 70, 0.45);
	font-size: 1.5cqw;
	font-weight: 600;
}

.g-pill svg {
	width: 1.8cqw;
	height: 1.8cqw;
	color: #9fe7ff;
	fill: rgba(159, 231, 255, 0.35);
}

.g-coin {
	width: 1.9cqw;
	height: 1.9cqw;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #fffadf, #f6cb62 55%, #c98a2e);
	box-shadow: inset 0 0 0 0.25cqw rgba(160, 100, 30, 0.45);
}

.g-pause {
	display: grid;
	place-items: center;
	width: 3.8cqw;
	height: 3.8cqw;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--ink);
	box-shadow: 0 0.3cqw 0.8cqw rgba(0, 0, 0, 0.2);
}

.g-pause svg {
	width: 1.8cqw;
	height: 1.8cqw;
	fill: currentColor;
}

.g-toast {
	top: 9.6cqw;
	left: 50%;
	display: flex;
	align-items: center;
	gap: 0.6cqw;
	padding: 0.6cqw 1.6cqw;
	border-radius: 2cqw;
	background: linear-gradient(180deg, #fff6dc, #f3d38c);
	color: var(--ink);
	font-size: 1.5cqw;
	font-weight: 600;
	white-space: nowrap;
	box-shadow: 0 0.6cqw 1.6cqw rgba(120, 80, 20, 0.3);
	opacity: 0;
	transform: translate(-50%, 1cqw);
	animation: gToast 6s ease infinite 1s;
}

.g-toast svg {
	width: 1.6cqw;
	height: 1.6cqw;
	color: #b4812f;
}

@keyframes gToast {
	0%,
	60% {
		opacity: 0;
		transform: translate(-50%, 1cqw) scale(0.9);
	}
	66%,
	88% {
		opacity: 1;
		transform: translate(-50%, 0) scale(1);
	}
	100% {
		opacity: 0;
		transform: translate(-50%, -1cqw) scale(1);
	}
}

.g-stick {
	left: 7cqw;
	bottom: 3.4cqw;
	width: 9cqw;
	height: 9cqw;
	border: 0.25cqw solid rgba(255, 255, 255, 0.6);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
}

.g-stick i {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 4.2cqw;
	height: 4.2cqw;
	margin: -2.1cqw 0 0 -2.1cqw;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	box-shadow: 0 0.4cqw 1cqw rgba(0, 0, 0, 0.2);
	animation: gStick 3.2s ease-in-out infinite;
}

@keyframes gStick {
	30% {
		transform: translate(1.4cqw, -1.6cqw);
	}
	60% {
		transform: translate(0.6cqw, 1.2cqw);
	}
}

.g-buttons {
	right: 4.5cqw;
	bottom: 3.4cqw;
	display: flex;
	align-items: flex-end;
	gap: 1.6cqw;
}

.g-btn {
	display: grid;
	place-items: center;
	width: 6.4cqw;
	height: 6.4cqw;
	border: 0.25cqw solid rgba(255, 255, 255, 0.7);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}

.g-btn svg {
	width: 2.8cqw;
	height: 2.8cqw;
}

.g-btn--boost {
	width: 7.6cqw;
	height: 7.6cqw;
	margin-bottom: 2cqw;
	border-color: #fff3d0;
	background: linear-gradient(180deg, #ffe08a, #e09a3a);
	box-shadow: 0 0 2cqw rgba(255, 200, 100, 0.6);
	animation: boost 3s ease-in-out infinite;
}

.g-btn--boost svg {
	fill: #fff;
}

@keyframes boost {
	50% {
		box-shadow: 0 0 3.4cqw rgba(255, 210, 120, 0.9);
		transform: scale(1.05);
	}
}

/* ---------- Platforms ---------- */
.horizons {
	padding: clamp(90px, 11vw, 150px) 0;
	background: linear-gradient(180deg, var(--ivory), var(--pearl));
}

.horizon-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}

.horizon {
	overflow: hidden;
	border: 1px solid rgba(201, 155, 76, 0.28);
	border-radius: 999px 999px 26px 26px / 260px 260px 26px 26px;
	background: #fffdf8;
	box-shadow: 0 40px 70px -50px rgba(40, 50, 90, 0.45);
}

.horizon-art {
	position: relative;
	aspect-ratio: 16 / 8;
	overflow: hidden;
}

.horizon-art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.6s var(--ease);
}

.horizon:hover .horizon-art img {
	transform: scale(1.06);
}

.medallion {
	position: absolute;
	left: 50%;
	bottom: -32px;
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border: 1px solid rgba(201, 155, 76, 0.5);
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #fffdf6, #f1e4c8);
	color: var(--gold-text);
	transform: translateX(-50%);
	box-shadow: 0 14px 30px -12px rgba(150, 110, 40, 0.5);
}

.medallion svg {
	width: 28px;
	height: 28px;
}

.horizon-body {
	padding: 54px clamp(24px, 4vw, 46px) 40px;
	text-align: center;
}

.horizon h3 {
	font-family: var(--serif);
	font-size: 36px;
	font-weight: 500;
	line-height: 1.1;
}

.horizon p {
	max-width: 460px;
	margin: 12px auto 0;
	font-weight: 300;
	color: var(--ink-2);
}

.horizon ul {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 22px;
	max-width: 480px;
	margin: 26px auto 0;
	text-align: left;
}

.horizon li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
}

.horizon li svg {
	width: 17px;
	height: 17px;
	flex: none;
	color: var(--gold);
}

/* ---------- Path ---------- */
.path {
	padding: clamp(90px, 11vw, 150px) 0;
	background: radial-gradient(50% 30% at 50% 0%, rgba(243, 217, 159, 0.35), transparent), var(--pearl);
}

.steps {
	position: relative;
	max-width: 1000px;
	margin: 0 auto;
}

.steps ol {
	display: grid;
	gap: clamp(46px, 7vw, 90px);
}

.step {
	display: grid;
	grid-template-columns: 1fr 100px 1fr;
	align-items: center;
	gap: 44px;
}

.node {
	position: relative;
	z-index: 2;
	grid-column: 2;
	grid-row: 1;
	display: grid;
	place-items: center;
	width: 100px;
	height: 100px;
	border: 1px solid rgba(201, 155, 76, 0.45);
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #fffdf6, #f1e4c8);
	box-shadow: 0 20px 40px -20px rgba(150, 110, 40, 0.5);
	transition: box-shadow 0.7s, transform 0.7s var(--ease);
}

.node svg {
	width: 32px;
	height: 32px;
	color: var(--gold-text);
}

.node small {
	position: absolute;
	bottom: -28px;
	font-family: var(--caps);
	font-size: 12px;
	letter-spacing: 0.24em;
	color: var(--gold-text);
}

.step.lit .node {
	transform: scale(1.06);
	box-shadow: 0 0 0 8px rgba(243, 217, 159, 0.35), 0 0 60px rgba(243, 200, 120, 0.85);
}

.step-copy {
	grid-column: 1;
	grid-row: 1;
	text-align: right;
}

.step--right .step-copy {
	grid-column: 3;
	text-align: left;
}

.step h3 {
	font-family: var(--serif);
	font-size: 34px;
	font-weight: 500;
	line-height: 1.1;
}

.step p {
	max-width: 380px;
	margin-top: 8px;
	margin-left: auto;
	font-weight: 300;
	color: var(--ink-2);
}

.step--right p {
	margin-left: 0;
}

.path-line {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
}

.path-line path {
	fill: none;
	stroke-linecap: round;
}

.path-line .track {
	stroke: rgba(201, 155, 76, 0.4);
	stroke-width: 1.5;
	stroke-dasharray: 3 9;
}

.path-line .glow {
	stroke: #d9ae5e;
	stroke-width: 3;
	filter: drop-shadow(0 0 6px rgba(243, 200, 120, 0.9));
}

.path-orb {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: radial-gradient(circle, #fff 0 30%, #ffe6a8 50%, rgba(255, 210, 120, 0) 72%);
	box-shadow: 0 0 34px 12px rgba(255, 214, 140, 0.7);
	transform: translate(-50%, -50%);
	opacity: 0;
	transition: opacity 0.4s;
}

.path-orb.is-on {
	opacity: 1;
}

/* ---------- Principles over the lake ---------- */
.lake {
	position: relative;
	padding: clamp(110px, 13vw, 180px) 0 clamp(90px, 11vw, 150px);
	overflow: hidden;
	isolation: isolate;
	color: #fff;
}

.lake-art {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
}

.lake-art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 46%;
	transform: scale(1.1) translateY(calc(var(--lp, 0) * 40px));
	will-change: transform;
}

.lake-art::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(60% 34% at 50% 18%, rgba(24, 44, 92, 0.42), transparent), linear-gradient(180deg, rgba(25, 45, 85, 0.5) 0%, rgba(25, 45, 85, 0) 36%, rgba(25, 45, 85, 0) 56%, rgba(30, 36, 80, 0.55) 84%, #1f2552 100%);
}

.lake-shimmer {
	position: absolute;
	left: 0;
	right: 0;
	top: 62%;
	bottom: 0;
	background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0) 0 9px, rgba(255, 248, 230, 0.12) 9px 10px, rgba(255, 255, 255, 0) 10px 19px);
	-webkit-mask: radial-gradient(60% 70% at 58% 0%, #000, transparent);
	mask: radial-gradient(60% 70% at 58% 0%, #000, transparent);
	animation: shimmer 6s linear infinite;
	mix-blend-mode: screen;
}

@keyframes shimmer {
	to {
		background-position: 0 38px;
	}
}

.lake-mist {
	position: absolute;
	left: -30%;
	width: 160%;
	top: 56%;
	height: 14%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(255, 244, 230, 0.7), transparent);
	animation: mist 26s ease-in-out infinite alternate;
}

.lake-mist--2 {
	top: 66%;
	height: 10%;
	opacity: 0.6;
	animation-duration: 34s;
	animation-direction: alternate-reverse;
}

.lake-head .title,
.contact .title {
	color: #fff;
	text-shadow: 0 2px 30px rgba(20, 30, 70, 0.35);
}

.lake-head .title em,
.contact .title em,
.legal-hero .title em,
.lost .title em {
	background-image: linear-gradient(100deg, #fff6dc, #f6d08a 30%, #fff0c8 55%, #f2c46e 80%, #fff6dc);
	text-shadow: none;
	filter: drop-shadow(0 2px 16px rgba(20, 30, 70, 0.35));
}

.lake-head .eyebrow,
.contact .eyebrow,
.legal-hero .eyebrow,
.lost .eyebrow {
	color: #fff3d6;
}

.lake-head .eyebrow .star,
.contact .eyebrow .star,
.legal-hero .eyebrow .star,
.lost .eyebrow .star {
	color: var(--gold-light);
}

.lake-head .lead,
.contact .lead,
.legal-hero .lead,
.lost .lead {
	color: rgba(255, 255, 255, 0.92);
	text-shadow: 0 1px 14px rgba(20, 30, 70, 0.45);
}

.tenets {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: clamp(160px, 24vh, 300px);
}

.tenet {
	padding: 58px 26px 30px;
	border: 1px solid rgba(255, 255, 255, 0.42);
	border-radius: 999px 999px 22px 22px / 160px 160px 22px 22px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(30, 44, 92, 0.32));
	-webkit-backdrop-filter: blur(16px) saturate(1.3);
	backdrop-filter: blur(16px) saturate(1.3);
	text-align: center;
	box-shadow: 0 30px 60px -30px rgba(10, 20, 50, 0.5);
}

.tenet-icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 18px;
	border: 1px solid rgba(255, 240, 205, 0.6);
	border-radius: 50%;
	background: rgba(255, 246, 220, 0.18);
	color: #fff3d6;
}

.tenet-icon svg {
	width: 24px;
	height: 24px;
}

.tenet h3 {
	font-family: var(--serif);
	font-size: 27px;
	font-weight: 500;
	line-height: 1.1;
}

.tenet p {
	margin-top: 10px;
	font-size: 15.5px;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.9);
}

/* ---------- Contact ---------- */
.contact {
	position: relative;
	padding: clamp(130px, 15vw, 210px) 0 clamp(140px, 16vw, 220px);
	overflow: hidden;
	isolation: isolate;
	color: #fff;
	text-align: center;
}

.contact-art {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	background: #2a2550;
}

.contact-art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 64%;
}

.contact-art::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, #1f2552 0%, rgba(31, 37, 82, 0) 26%, rgba(22, 30, 60, 0) 72%, #1c2148 100%);
}

.contact-glow {
	position: absolute;
	left: 50%;
	top: 64%;
	width: 70vmax;
	height: 40vmax;
	transform: translate(-50%, -50%);
	background: radial-gradient(closest-side, rgba(255, 200, 130, 0.35), transparent);
	animation: sunPulse2 7s ease-in-out infinite;
}

@keyframes sunPulse2 {
	50% {
		opacity: 0.6;
	}
}

.lantern {
	position: absolute;
	left: var(--x);
	bottom: -40px;
	width: 11px;
	height: 15px;
	border-radius: 40% 40% 30% 30%;
	background: radial-gradient(circle at 50% 40%, #fff2c6, #ffb04e 60%, #e07a2e);
	box-shadow: 0 0 22px 7px rgba(255, 170, 80, 0.45);
	opacity: 0;
	animation: lantern var(--t) linear var(--d) infinite;
}

@keyframes lantern {
	0% {
		opacity: 0;
		transform: translate(0, 0) scale(var(--s));
	}
	10% {
		opacity: 0.95;
	}
	50% {
		transform: translate(26px, -55vh) scale(var(--s));
	}
	85% {
		opacity: 0.8;
	}
	100% {
		opacity: 0;
		transform: translate(-8px, -110vh) scale(calc(var(--s) * 0.6));
	}
}

.contact-inner {
	position: relative;
	max-width: 760px;
}

.ring-wrap {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: -1;
	width: min(860px, 130vw);
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	color: rgba(255, 232, 190, 0.5);
	pointer-events: none;
}

.ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	animation: spin 90s linear infinite;
}

.ring text {
	font-family: var(--caps);
}

.ring--inner {
	inset: 13%;
	width: 74%;
	height: 74%;
	opacity: 0.6;
	animation-duration: 130s;
	animation-direction: reverse;
}

.email-big {
	display: inline-block;
	margin-top: 34px;
	padding-bottom: 6px;
	border-bottom: 1px solid rgba(255, 230, 180, 0.55);
	font-family: var(--serif);
	font-size: clamp(30px, 4.6vw, 60px);
	font-weight: 500;
	line-height: 1.15;
	color: #fff;
	text-decoration: none;
	text-shadow: 0 2px 24px rgba(20, 20, 60, 0.4);
	transition: border-color 0.3s, color 0.3s;
	overflow-wrap: anywhere;
}

.email-big:hover {
	border-color: var(--gold-light);
	color: var(--gold-pale);
}

.contact-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 36px;
}

.btn-copy.is-copied {
	background: rgba(255, 246, 220, 0.3);
	border-color: var(--gold-light);
}

.chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 26px;
}

.chip {
	padding: 8px 18px;
	border: 1px solid rgba(255, 240, 205, 0.45);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	font-size: 14px;
	text-decoration: none;
	transition: background-color 0.3s, border-color 0.3s;
}

.chip:hover {
	background: rgba(255, 255, 255, 0.18);
	border-color: var(--gold-light);
}

.contact-more {
	margin-top: 30px;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.82);
}

.contact-more a {
	color: #fff3d6;
}

/* ---------- Footer ---------- */
.site-footer {
	position: relative;
	overflow: hidden;
	padding: 30px 0 30px;
	background: linear-gradient(180deg, #1c2148, #121633);
	color: rgba(236, 232, 255, 0.78);
	font-size: 15.5px;
}

.constellation {
	width: 100%;
	height: 110px;
	color: var(--gold-light);
	opacity: 0.85;
}

.tw {
	animation: twinkle 3.4s ease-in-out var(--d) infinite;
}

.constellation .shoot {
	stroke-dasharray: 80;
	stroke-dashoffset: 80;
	animation: shoot 7s ease-in 2s infinite;
}

@keyframes shoot {
	0% {
		stroke-dashoffset: 80;
		opacity: 1;
	}
	8% {
		stroke-dashoffset: 0;
		opacity: 1;
	}
	14%,
	100% {
		stroke-dashoffset: -80;
		opacity: 0;
	}
}

.footer-top {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
	gap: 40px;
	padding: 20px 0 50px;
	border-bottom: 1px solid rgba(243, 217, 159, 0.18);
}

.site-footer .brand {
	color: #fff;
}

.footer-brand p {
	max-width: 320px;
	margin-top: 18px;
	font-weight: 300;
}

.footer-col h3 {
	margin-bottom: 18px;
	font-family: var(--caps);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--gold-light);
}

.footer-col ul {
	display: grid;
	gap: 10px;
}

.footer-col a {
	color: rgba(236, 232, 255, 0.85);
	text-decoration: none;
	transition: color 0.3s;
}

.footer-col a:hover {
	color: var(--gold-light);
}

.footer-col--mail small {
	display: block;
	font-size: 12.5px;
	opacity: 0.6;
}

.footer-col--mail a {
	overflow-wrap: anywhere;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
	padding-top: 26px;
	font-size: 14px;
}

.footer-note {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.footer-bottom a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--gold-light);
	text-decoration: none;
}

.footer-bottom a svg {
	width: 15px;
	height: 15px;
}

/* ---------- Legal pages ---------- */
.read-progress {
	position: fixed;
	top: var(--header-h);
	left: 0;
	right: 0;
	z-index: 49;
	height: 2px;
	pointer-events: none;
}

.read-progress i {
	position: relative;
	display: block;
	width: calc(var(--p, 0) * 100%);
	height: 100%;
	background: linear-gradient(90deg, #f3d99f, #c99b4c);
}

.read-progress i::after {
	content: '';
	position: absolute;
	right: -5px;
	top: -4px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #fff6dc;
	box-shadow: 0 0 12px 4px rgba(243, 200, 120, 0.85);
}

.legal-hero {
	position: relative;
	padding: calc(var(--header-h) + 90px) 0 150px;
	overflow: hidden;
	isolation: isolate;
	color: #fff;
	background: linear-gradient(180deg, #2a5596 0%, #6f98cf 42%, #c3c7e6 72%, #f6d6be 100%);
}

.legal-sky {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.legal-sky .band-far {
	--h: 150px;
	bottom: 40px;
}

.legal-sky .band-near {
	--h: 190px;
	bottom: -60px;
}

.legal-hero::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 120px;
	z-index: 0;
	background: linear-gradient(180deg, rgba(251, 247, 239, 0), rgba(251, 247, 239, 0.75) 60%, var(--ivory));
	pointer-events: none;
}

.legal-hero .container {
	position: relative;
	z-index: 1;
}

.isle-legal {
	right: 7%;
	top: 22%;
	width: min(170px, 26vw);
}

.legal-hero .title {
	color: #fff;
	text-shadow: 0 2px 30px rgba(20, 40, 90, 0.35);
}

.legal-hero .lead {
	margin-left: 0;
	max-width: 620px;
}

.legal-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}

.legal-meta li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	font-size: 14.5px;
}

.legal-meta svg {
	width: 16px;
	height: 16px;
}

.legal-meta a {
	color: #fff;
}

.manuscript {
	padding: 30px 0 120px;
	background: var(--ivory);
}

.doc {
	max-width: 780px;
	margin: 0 auto;
	counter-reset: sec;
	font-size: 17.5px;
	line-height: 1.85;
	color: var(--ink-2);
}

.doc p + p,
.doc p + ul,
.doc ul + p {
	margin-top: 16px;
}

.doc .effective {
	display: inline-block;
	margin-bottom: 24px;
	padding: 6px 14px;
	border: 1px solid rgba(201, 155, 76, 0.45);
	border-radius: 999px;
	font-family: var(--caps);
	font-size: 13px;
	letter-spacing: 0.12em;
	color: var(--gold-text);
}

.doc .opening::first-letter {
	float: left;
	padding: 0.06em 0.12em 0 0;
	font-family: var(--serif);
	font-size: 4.3em;
	font-weight: 500;
	line-height: 0.82;
	color: var(--gold-text);
}

.doc h2 {
	position: relative;
	counter-increment: sec;
	margin: 64px 0 16px;
	padding-top: 30px;
	font-family: var(--serif);
	font-size: clamp(28px, 3vw, 36px);
	font-weight: 500;
	line-height: 1.15;
	color: var(--ink);
}

.doc h2::before {
	content: counter(sec, upper-roman);
	position: absolute;
	right: calc(100% + 30px);
	top: calc(30px + 0.35em);
	font-family: var(--caps);
	font-size: 15px;
	letter-spacing: 0.14em;
	color: var(--gold-text);
	white-space: nowrap;
}

.doc h2::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 72px;
	height: 1px;
	background: linear-gradient(90deg, var(--gold), transparent);
}

.doc ul {
	display: grid;
	gap: 8px;
}

.doc li {
	position: relative;
	padding-left: 28px;
}

.doc li::before {
	content: '';
	position: absolute;
	left: 6px;
	top: 0.72em;
	width: 7px;
	height: 7px;
	background: var(--gold);
	transform: rotate(45deg);
}

.doc a {
	color: var(--azure);
	overflow-wrap: anywhere;
}

.doc-end {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 22px;
	max-width: 780px;
	margin: 80px auto 0;
	padding: 28px 30px;
	border: 1px solid rgba(201, 155, 76, 0.3);
	border-radius: 999px 999px 26px 26px / 120px 120px 26px 26px;
	background: linear-gradient(135deg, #fffdf8, #f4ecdc);
}

.doc-end img {
	width: 76px;
	height: 76px;
	flex: none;
}

.doc-end div {
	flex: 1;
	min-width: 200px;
}

.doc-end strong {
	display: block;
	font-family: var(--serif);
	font-size: 26px;
	font-weight: 500;
	line-height: 1.2;
}

.doc-end span {
	color: var(--ink-3);
	font-size: 15px;
}

.doc-end .btn {
	overflow-wrap: anywhere;
}

.doc-next {
	max-width: 780px;
	margin: 30px auto 0;
	text-align: center;
	color: var(--ink-3);
}

.doc-next a {
	color: var(--gold-text);
	font-weight: 500;
}

.to-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 40;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 13px 18px 11px;
	border: 1px solid rgba(201, 155, 76, 0.5);
	border-radius: 999px 999px 6px 6px;
	background: rgba(251, 247, 239, 0.92);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: var(--ink);
	font-size: 14px;
	cursor: pointer;
	opacity: 0;
	transform: translateY(16px);
	pointer-events: none;
	transition: opacity 0.4s, transform 0.4s var(--ease);
	box-shadow: 0 14px 30px -16px rgba(30, 40, 80, 0.5);
}

.to-top.is-visible {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.to-top svg {
	width: 16px;
	height: 16px;
}

/* ---------- 404 ---------- */
.lost {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 100vh;
	min-height: 100svh;
	padding: calc(var(--header-h) + 40px) 0 120px;
	overflow: hidden;
	isolation: isolate;
	color: #fff;
	text-align: center;
	background: linear-gradient(180deg, #24508f 0%, #6f98cf 40%, #c9c7e4 66%, #f8d3b6 86%, #ffe2b4 100%);
}

.lost-sky {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.lost-sky .sun {
	left: 50%;
	top: 62%;
}

.isle-lost {
	left: 50%;
	top: 50%;
	width: min(300px, 54vw);
	margin-left: calc(min(300px, 54vw) / -2);
}

.lost-copy {
	position: relative;
	transform: translateY(-14vh);
}

.lost .title {
	color: #fff;
	text-shadow: 0 2px 30px rgba(20, 40, 90, 0.4);
}

.lost .hero-actions {
	justify-content: center;
}

/* ---------- Reveal ---------- */
.js [data-reveal] {
	opacity: 0;
	filter: blur(8px);
	transform: translateY(40px);
	transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease);
	transition-delay: var(--delay, 0s);
}

.js [data-reveal].is-revealed {
	opacity: 1;
	filter: none;
	transform: none;
}

.js .divider .draw {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 1.8s var(--ease);
}

.js .divider.is-revealed .draw {
	stroke-dashoffset: 0;
}

/* Sections out of view pause their animations to stay light on the device. */
.is-paused *,
.is-paused *::before,
.is-paused *::after {
	animation-play-state: paused !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.realm-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px 28px;
	}

	.tenets {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-top {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 960px) {
	.menu-toggle {
		display: grid;
	}

	.site-nav {
		position: fixed;
		inset: 0;
		flex-direction: column;
		justify-content: center;
		gap: 30px;
		padding: 40px 24px;
		background: radial-gradient(60% 40% at 70% 70%, rgba(255, 226, 170, 0.6), transparent), linear-gradient(180deg, #1f4a8a 0%, #4a78b8 45%, #b9c3e6 78%, #f6d3b8 100%);
		color: #fff;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.45s, visibility 0.45s;
	}

	.site-nav.is-open {
		opacity: 1;
		visibility: visible;
	}

	.site-nav a:not(.btn) {
		font-size: 22px;
		letter-spacing: 0.2em;
	}

	.site-nav .btn-arch {
		margin-top: 12px;
		background: linear-gradient(180deg, #fffdf7, #f6ebd3) !important;
		color: var(--ink) !important;
	}

	.site-header.menu-open {
		color: #fff;
	}

	.folio,
	.folio--flip {
		grid-template-columns: 1fr;
	}

	.folio--flip .folio-stage {
		order: 0;
	}

	.folio-copy {
		max-width: 620px;
	}

	.horizon-grid {
		grid-template-columns: 1fr;
		max-width: 640px;
		margin: 0 auto;
	}

	.step {
		grid-template-columns: 76px 1fr;
		gap: 26px;
	}

	.node {
		grid-column: 1;
		width: 76px;
		height: 76px;
	}

	.node svg {
		width: 26px;
		height: 26px;
	}

	.step-copy,
	.step--right .step-copy {
		grid-column: 2;
		text-align: left;
	}

	.step p {
		margin-left: 0;
	}

	.doc h2::before {
		position: static;
		display: block;
		margin-bottom: 6px;
	}
}

@media (max-width: 760px) {
	.isle-main {
		right: -8%;
		top: auto;
		bottom: 11vw;
		width: 86vw;
	}

	.isle-b {
		left: -7%;
		top: auto;
		bottom: 6vw;
		width: 30vw;
	}

	.isle-c {
		left: 72%;
		top: 9%;
		width: 20vw;
	}

	.puff-b {
		top: 8%;
		width: 60vw;
	}

	.puff-a {
		top: auto;
		bottom: 10%;
		width: 80vw;
	}

	.sun {
		left: 62%;
		width: 80vmin;
	}

	.rays {
		left: 62%;
	}

	.hero {
		align-items: flex-start;
		min-height: 0;
		padding-top: calc(var(--header-h) + 36px);
		padding-bottom: 96vw;
	}

	.sun,
	.rays {
		top: calc(100% - 40vw);
	}

	.band-far {
		bottom: 8vw;
	}

	.peaks-wrap {
		bottom: 14vw;
	}

	.hero-copy::before {
		width: 130%;
		height: 120%;
	}

	.hero-lead {
		font-size: 17px;
	}

	.scroll-cue {
		display: none;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 16px;
	}

	.container {
		padding: 0 16px;
	}

	.brand-name span {
		font-size: 16px;
	}

	.realm-grid {
		grid-template-columns: 1fr;
		max-width: 380px;
		margin: 0 auto;
	}

	.folio-stage {
		border-radius: 999px 999px 24px 24px / 120px 120px 24px 24px;
		padding-top: 46px;
	}

	.horizon ul {
		grid-template-columns: 1fr;
	}

	.horizon {
		border-radius: 999px 999px 22px 22px / 140px 140px 22px 22px;
	}

	.tenets {
		grid-template-columns: 1fr;
		margin-top: 38vh;
	}

	.footer-top {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.hero-actions .btn,
	.contact-actions .btn {
		padding-left: 24px;
		padding-right: 24px;
	}

	.doc {
		font-size: 16.5px;
	}

	.doc-end {
		border-radius: 26px;
		text-align: center;
		justify-content: center;
	}

	.isle-legal {
		top: 12%;
		right: 4%;
		width: 26vw;
		opacity: 0.8;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}

	.js [data-reveal],
	.js .hero h1 .w,
	.js .hero-lead,
	.js .hero-actions,
	.js .kicker {
		opacity: 1 !important;
		filter: none !important;
		transform: none !important;
	}

	.js .manifesto .mw {
		opacity: 1;
		filter: none;
	}
}
