/* Orio website. Colours and shapes follow the game's title screen and menus (Fredoka, lavender on deep purple, the white
   pill between a blue and a red dot). */

@font-face {
	font-family: "Fredoka";
	src: url("fonts/Fredoka.ttf") format("truetype");
	font-weight: 300 700;
	font-stretch: 75% 125%;
	font-display: swap;
}

:root {
	--blue: #5fe6e2;
	--red: #e6453f;
	--charged: #e83cda;
	--sky: #8654bf;
	--ground: #1b0c31;
	--ground-2: #261243;
	--ground-3: #33195a;
	--line: rgba(217, 200, 255, .16);
	--ink: #f4eeff;
	--lav: #d9c8ff;
	--dim: #b3a0d8;
	--dark: #2a1456;
	--panel: rgba(22, 9, 42, .78);
	--radius: 22px;
	--wrap: 1120px;
	--edge-w: max(100vw, 1100px);
	--edge-h: calc(var(--edge-w) * 520 / 1920);
	--font: "Fredoka", ui-rounded, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
	background: #4a2a78;
	color: var(--ink);
	font-family: var(--font);
	font-size: 18px;
	line-height: 1.55;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 84px;
}

body { margin: 0; min-height: 100vh; overflow-x: hidden; }
img, video, canvas { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: #fff; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: #fff; }
h1 { font-size: clamp(38px, 6vw, 68px); }
h2 { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: 22px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.visually-hidden {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: #fff; color: var(--dark); padding: 8px 14px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* ------------------------------------------------------------ the sky behind everything */
#sky {
	position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; display: block;
	background: radial-gradient(120% 90% at 30% 40%, #8a4aa5 0%, #6a3790 45%, #4f2a78 100%);
}

/* ------------------------------------------------------------ the dots and the pill (the game's menu) */
.dots { display: inline-flex; align-items: center; gap: .32em; vertical-align: middle; }
.dot { display: inline-block; border-radius: 50%; flex: none; }
.dot-blue { width: .62em; height: .62em; background: var(--blue); box-shadow: 0 0 .5em rgba(95, 230, 226, .75); }
.dot-red { width: .42em; height: .42em; background: var(--red); box-shadow: 0 0 .5em rgba(230, 69, 63, .8); }

h2.dotted { display: flex; align-items: center; gap: .45em; }
h2.dotted::before, h2.dotted::after { content: ""; border-radius: 50%; flex: none; }
h2.dotted::before { width: .5em; height: .5em; background: var(--blue); box-shadow: 0 0 .5em rgba(95, 230, 226, .75); }
h2.dotted::after { width: .34em; height: .34em; background: var(--red); box-shadow: 0 0 .5em rgba(230, 69, 63, .8); }
.center h2.dotted, h2.dotted.center { justify-content: center; }

.pill {
	--pad: .5em;
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: var(--pad) 1.25em; border: 0; border-radius: 999px; cursor: pointer;
	font: 600 1rem/1.15 var(--font); text-decoration: none; white-space: nowrap;
	color: var(--dark); background: linear-gradient(#fff, #dccbff);
	box-shadow: 0 3px 0 rgba(12, 4, 26, .55), 0 0 0 0 rgba(95, 230, 226, 0);
	transition: transform .15s ease, box-shadow .2s ease;
}
.pill:hover { color: var(--dark); transform: translateY(-1px); box-shadow: 0 4px 0 rgba(12, 4, 26, .55), 0 0 22px 2px rgba(200, 170, 255, .45); }
.pill:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(12, 4, 26, .55); }
.pill img { height: 1.05em; width: auto; display: block; }
.pill.is-ghost { background: rgba(217, 200, 255, .1); color: var(--lav); box-shadow: inset 0 0 0 2px rgba(217, 200, 255, .35); }
.pill.is-ghost:hover { color: #fff; box-shadow: inset 0 0 0 2px var(--lav), 0 0 22px 2px rgba(200, 170, 255, .3); }
.pill.is-soon { cursor: default; opacity: .78; }
.pill.is-soon:hover { transform: none; }
.pill.is-small { font-size: .86rem; }
.soon {
	font-size: .68em; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
	padding: .15em .6em; border-radius: 999px; background: rgba(42, 20, 86, .16); color: inherit;
}
.is-ghost .soon { background: rgba(217, 200, 255, .16); }

/* The menu itself: a list, the picked item a pill between the two dots */
.menu { display: grid; justify-items: center; gap: 2px; margin: 0; padding: 14px 60px 16px; list-style: none; background: var(--panel); border-radius: 30px; }
.menu-item {
	position: relative; display: inline-flex; align-items: center; gap: .4em;
	padding: .2em 1em; border-radius: 999px; text-decoration: none; white-space: nowrap;
	font: 600 clamp(20px, 2.1vw, 27px)/1.3 var(--font); color: var(--lav); text-shadow: 0 2px 0 rgba(12, 4, 26, .7);
	transition: color .12s, background .12s;
}
.menu-item::before, .menu-item::after {
	content: ""; position: absolute; top: 50%; border-radius: 50%; opacity: 0; transform: translateY(-50%) scale(.4);
	transition: opacity .15s, transform .2s cubic-bezier(.3, 1.6, .5, 1);
}
.menu-item::before { right: calc(100% + .32em); width: .78em; height: .78em; background: var(--blue); box-shadow: 0 0 .6em rgba(95, 230, 226, .8); }
.menu-item::after { left: calc(100% + .32em); width: .5em; height: .5em; background: var(--red); box-shadow: 0 0 .6em rgba(230, 69, 63, .85); }
.menu-item:is(:hover, :focus-visible),
.menu:not(:hover):not(:focus-within) .menu-item.is-picked {
	color: var(--dark); text-shadow: none; background: linear-gradient(#fff, #dccbff); outline: 0;
}
.menu-item:is(:hover, :focus-visible)::before, .menu-item:is(:hover, :focus-visible)::after,
.menu:not(:hover):not(:focus-within) .menu-item.is-picked::before,
.menu:not(:hover):not(:focus-within) .menu-item.is-picked::after {
	opacity: 1; transform: translateY(-50%) scale(1); animation: dot-beat 2.4s ease-in-out infinite;
}
.menu-item::after { animation-delay: -1.2s !important; }
.menu-item.is-soon { cursor: default; }
.menu-item .soon { background: rgba(217, 200, 255, .18); text-shadow: none; }
.menu-item:is(:hover, :focus-visible) .soon, .menu:not(:hover):not(:focus-within) .menu-item.is-picked .soon { background: rgba(42, 20, 86, .14); }
@keyframes dot-beat { 0%, 100% { scale: 1; } 50% { scale: .72; } }

/* ------------------------------------------------------------ top bar */
.top {
	position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; align-items: center; gap: 18px;
	padding: 12px clamp(14px, 3vw, 34px); transition: background .25s, box-shadow .25s;
}
.top.is-solid { background: rgba(22, 9, 42, .86); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.top-logo { display: block; line-height: 0; transition: opacity .25s; margin-right: auto; }
.top-logo img { height: 40px; width: auto; display: block; }
.page-home .top:not(.is-solid) .top-logo { opacity: 0; pointer-events: none; }
.top-links { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.top-links a {
	display: block; padding: .3em .8em; border-radius: 999px; text-decoration: none;
	font-weight: 600; font-size: 17px; color: var(--lav); text-shadow: 0 2px 0 rgba(12, 4, 26, .6);
}
.top-links a:hover, .top-links a[aria-current="page"] { color: var(--dark); background: linear-gradient(#fff, #dccbff); text-shadow: none; }
.top-toggle { display: none; }

@media (max-width: 520px) { .menu { padding-inline: 44px; } .menu-item { font-size: 20px; } }
@media (max-width: 900px) {
	.top-toggle {
		display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
		background: rgba(22, 9, 42, .7); color: #fff; cursor: pointer; order: 3;
	}
	.top-toggle span, .top-toggle span::before, .top-toggle span::after { display: block; width: 20px; height: 3px; border-radius: 3px; background: currentColor; }
	.top-toggle span { position: relative; }
	.top-toggle span::before, .top-toggle span::after { content: ""; position: absolute; left: 0; }
	.top-toggle span::before { top: -7px; }
	.top-toggle span::after { top: 7px; }
	.top-links {
		position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 10px;
		background: rgba(14, 5, 28, .93); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
	}
	.top-links a { font-size: 28px; }
	.top.is-open .top-links { opacity: 1; visibility: visible; }
	.top.is-open .top-logo { opacity: 1 !important; }
}

/* ------------------------------------------------------------ the title scene */
.hero { position: relative; overflow: hidden; height: var(--hero-h, 100svh); }
.hero::after {
	/* The terrain goes on under the scene into the page's ground */
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: calc(var(--stage-h, 100svh) * .78); pointer-events: none;
	background: linear-gradient(to bottom, rgba(27, 12, 49, 0), var(--ground) min(100%, calc(var(--stage-h, 100svh) * .22)));
}
.stage { position: absolute; left: 50%; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; transform: translateX(calc(-960px * var(--s, 1))) scale(var(--s, 1)); }
.stage > * { position: absolute; display: block; max-width: none; }
.stage-terrain { left: 0; top: 0; width: 1920px; height: 1080px; }
.stage-title { left: 384px; top: 128px; width: 1164px; height: 509px; }
.stage-gl { left: 0; top: 0; width: 1920px; height: 1080px; }
.stage-static { left: 384px; top: 128px; width: 1164px; height: 509px; object-fit: contain; display: none; }
.no-webgl .stage-gl { display: none; }
.no-webgl .stage-static { display: block; }
.no-webgl .stage-title { display: none; }
.stage.is-waiting .stage-title { opacity: 0; }
.stage.is-shaking { animation: land-shake .5s linear; }
@keyframes land-shake {
	0% { translate: 0 0; } 12% { translate: -5px 7px; } 25% { translate: 6px -5px; } 38% { translate: -5px 4px; } 52% { translate: 4px -3px; }
	66% { translate: -3px 2px; } 80% { translate: 2px -1px; } 100% { translate: 0 0; }
}
.hero-menu { position: absolute; z-index: 2; left: var(--menu-x, 50%); top: var(--menu-y, 70%); transform: translateX(-50%); }
.hero-menu.is-waiting { opacity: 0; translate: 0 -12px; }
.hero-menu { transition: opacity .6s ease, translate .6s cubic-bezier(.2, .7, .2, 1); }

/* ------------------------------------------------------------ ground and sky bands */
.ground { position: relative; background: var(--ground); padding: clamp(40px, 7vw, 88px) 0; }
.ground + .ground, .hero + .ground { margin-top: -1px; } /* No hairline of sky between two pieces of ground */
.ground + .ground { padding-top: 0; }
.ground.has-top { margin-top: var(--edge-h); padding-top: 8px; }
.ground.has-under { margin-bottom: var(--edge-h); padding-bottom: 8px; }
.ground.has-top::before, .ground.has-under::after {
	content: ""; position: absolute; left: 0; right: 0; height: var(--edge-h); pointer-events: none;
	background:
		linear-gradient(to bottom, rgba(27, 12, 49, 0) 55%, var(--ground) 99%),
		url("img/hero/terrain.webp") 50% 100% / var(--edge-w) auto no-repeat;
}
.ground.has-top::before { bottom: calc(100% - 1px); }
.ground.has-under::after { top: calc(100% - 1px); transform: scale(-1, -1); }
.ground.flip-top::before { transform: scaleX(-1); }

.air { position: relative; padding: clamp(36px, 6vw, 80px) 0; overflow-x: clip; }
.lead { font-size: clamp(21px, 2.5vw, 30px); line-height: 1.35; font-weight: 500; color: #fff; max-width: 26em; margin: 0 auto 1.6em; text-align: center; text-wrap: balance; }
.center { text-align: center; }
.section-head { margin-bottom: clamp(20px, 3vw, 36px); }

/* ------------------------------------------------------------ trailer */
.trailer {
	position: relative; width: min(100%, 980px); margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
	background: #0d0518; box-shadow: 0 0 0 3px rgba(217, 200, 255, .22), 0 24px 60px rgba(8, 2, 18, .6);
}
.trailer img, .trailer iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.trailer-play {
	position: absolute; inset: 0; width: 100%; display: grid; place-items: center; border: 0; padding: 0; cursor: pointer;
	background: radial-gradient(circle, rgba(13, 5, 24, .15) 0, rgba(13, 5, 24, .6) 100%); color: inherit; font: inherit;
}
.trailer-play .pill { font-size: clamp(18px, 2.4vw, 26px); }
.trailer-play:hover .pill { transform: scale(1.05); }
.trailer-play[disabled] { cursor: default; }
.play-icon { width: 0; height: 0; border-style: solid; border-width: .38em 0 .38em .62em; border-color: transparent transparent transparent var(--dark); }

/* ------------------------------------------------------------ about: islands in the sky */
.feature { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(4px, 1.5vw, 18px); margin-bottom: clamp(56px, 9vw, 120px); }
.feature:last-of-type { margin-bottom: 0; }
.feature-text { max-width: 780px; text-align: center; background: var(--panel); border-radius: 28px; padding: clamp(20px, 2.6vw, 32px) clamp(20px, 3vw, 40px); }
.feature-text h2 { font-size: clamp(25px, 2.8vw, 34px); }
.feature-text p { color: var(--ink); text-wrap: pretty; }
.feature-text p:last-child { margin-bottom: 0; }
/* A loop's level sits in the middle of its picture, with room around it for what flies in: --zoom makes the picture
   wider than its column (it runs off both sides evenly), and its ends fade so nothing pops in at an edge. */
.island {
	--z: var(--zoom, 1);
	position: relative; width: calc(min(100%, 1000px) * var(--z)); max-width: none; aspect-ratio: 1170 / 658;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
@media (max-width: 800px) { .island { --z: var(--zoom-small, var(--zoom, 1)); } }
.island > img, .island > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.island canvas { opacity: 0; transition: opacity .3s; }
.island.is-playing canvas { opacity: 1; }
.island.is-playing img { opacity: 0; }
.island video { position: absolute; left: 0; top: 0; width: 2px; height: 2px; opacity: 0; pointer-events: none; }
.framed { position: relative; width: min(100%, 900px); margin-top: 14px; aspect-ratio: 1170 / 658; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 3px rgba(217, 200, 255, .22), 0 24px 60px rgba(8, 2, 18, .5); background: #0d0518; }
.framed video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: clamp(40px, 7vw, 90px) 0 0; padding: 0; list-style: none; }
.chips li { padding: .35em 1em; border-radius: 999px; background: var(--panel); color: var(--lav); font-weight: 500; }

/* ------------------------------------------------------------ screenshots */
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.shot { display: block; position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--ground-2); box-shadow: 0 0 0 2px var(--line); cursor: zoom-in; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.shot:hover img { transform: scale(1.04); }
.shot:hover { box-shadow: 0 0 0 3px var(--lav), 0 0 26px rgba(200, 170, 255, .35); }

.lightbox { position: fixed; inset: 0; z-index: 300; display: none; }
.lightbox.is-open { display: block; }
.lightbox-back { position: absolute; inset: 0; background: rgba(9, 3, 18, .9); opacity: 0; transition: opacity .3s; }
.lightbox.is-shown .lightbox-back { opacity: 1; }
.lightbox-view { position: absolute; inset: 0; display: grid; place-items: center; padding: clamp(10px, 3vw, 44px); }
.lightbox-view img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 10px; display: block; }
.lightbox-btn {
	position: absolute; z-index: 2; width: 52px; height: 52px; border: 0; border-radius: 50%; cursor: pointer;
	background: var(--panel); color: #fff; font: 600 26px/1 var(--font); display: grid; place-items: center;
}
.lightbox-btn:hover { background: linear-gradient(#fff, #dccbff); color: var(--dark); }
.lightbox-close { top: 14px; right: 14px; }
.lightbox-prev { left: 14px; top: 50%; translate: 0 -50%; }
.lightbox-next { right: 14px; top: 50%; translate: 0 -50%; }
.lightbox-prev::before { content: ""; width: .5em; height: .5em; border: solid currentColor; border-width: 0 0 4px 4px; rotate: 45deg; translate: 3px 0; border-radius: 2px; }
.lightbox-next::before { content: ""; width: .5em; height: .5em; border: solid currentColor; border-width: 4px 4px 0 0; rotate: 45deg; translate: -3px 0; border-radius: 2px; }
.lightbox-close::before, .lightbox-close::after { content: ""; position: absolute; width: 22px; height: 4px; border-radius: 3px; background: currentColor; rotate: 45deg; }
.lightbox-close::after { rotate: -45deg; }

/* ------------------------------------------------------------ community */
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0 0 8px; padding: 0; list-style: none; }
.links .pill { font-size: clamp(18px, 2vw, 22px); }
.steam-widget { display: block; width: min(100%, 646px); height: 190px; margin: 34px auto 0; border: 0; border-radius: 6px; }
.note { color: var(--dim); font-size: .88rem; }

/* ------------------------------------------------------------ the band above the footer: the Steam page's header loop */
.banner { position: relative; margin-top: -1px; background: var(--ground); overflow: hidden; }
.banner-frame { position: relative; width: min(100%, 2000px); margin: 0 auto; }
.banner video {
	/* As wide as the page. On a narrow screen it keeps some height and loses its ends instead (both portals stay in) */
	display: block; width: 100%; height: max(calc(min(100vw, 2000px) * 768 / 3120), 112px); object-fit: cover; background: #3d4270;
}
.banner-frame::after { /* Its night sky and its blocks come out of the page's ground */
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(to bottom, var(--ground) 0, rgba(27, 12, 49, 0) 17%, rgba(27, 12, 49, 0) 84%, var(--ground) 100%);
}
@media (min-width: 2001px) {
	.banner-frame::after {
		background:
			linear-gradient(to right, var(--ground) 0, rgba(27, 12, 49, 0) 7%, rgba(27, 12, 49, 0) 93%, var(--ground) 100%),
			linear-gradient(to bottom, var(--ground) 0, rgba(27, 12, 49, 0) 17%, rgba(27, 12, 49, 0) 84%, var(--ground) 100%);
	}
}

/* ------------------------------------------------------------ footer */
.foot { background: var(--ground); margin-top: -1px; padding: 30px 0 40px; color: var(--dim); font-size: .9rem; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 30px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.foot-links a { color: var(--lav); text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.foot-small { margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 6px; text-align: center; }
.foot-small p { margin: 0; }

/* ------------------------------------------------------------ inner pages */
.page-head { padding: clamp(120px, 16vw, 170px) 0 10px; text-align: center; }
.page-head h1 { text-shadow: 0 4px 0 rgba(12, 4, 26, .55); margin: 0; }
.page-head p { color: #fff; font-weight: 500; font-size: 1.15rem; margin: .5em 0 0; text-shadow: 0 2px 0 rgba(12, 4, 26, .55); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: clamp(24px, 2.6vw, 30px); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose p, .prose li { color: var(--lav); overflow-wrap: anywhere; }

.kit { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .kit { grid-template-columns: 1fr; } }
@media (min-width: 861px) { .kit > aside { position: sticky; top: 92px; } }
.facts { margin: 0; padding: clamp(18px, 2.4vw, 26px); border-radius: var(--radius); background: var(--ground-2); box-shadow: 0 0 0 2px var(--line); }
.facts dt { font-weight: 600; color: #fff; margin-top: .9em; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: .1em 0 0; color: var(--lav); overflow-wrap: anywhere; }
.todo { color: #ffd27a; }
.kit-body > section { margin-bottom: clamp(34px, 5vw, 56px); }
.kit-body h2 { font-size: clamp(24px, 2.6vw, 32px); }
.kit-body p, .kit-body li { color: var(--lav); }
.kit-body ul { padding-left: 1.2em; }
.downloads { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 0; }
.assets { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 14px; margin: 16px 0 0; padding: 0; list-style: none; }
.asset { display: block; border-radius: 14px; overflow: hidden; background: var(--ground-2); box-shadow: 0 0 0 2px var(--line); text-decoration: none; color: var(--lav); }
.asset:hover { box-shadow: 0 0 0 3px var(--lav); color: #fff; }
.asset-img { aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 10px; background: repeating-conic-gradient(#3a1f66 0 25%, #2d1752 0 50%) 0 0 / 22px 22px; }
.asset-img img, .asset-img video { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; }
.asset-img.is-cover { padding: 0; }
.asset-img.is-cover img, .asset-img.is-cover video { width: 100%; height: 100%; object-fit: cover; }
.asset span { display: block; padding: 8px 12px 10px; font-size: .84rem; font-weight: 500; }
.asset small { display: block; color: var(--dim); font-weight: 400; }

/* ------------------------------------------------------------ the portal that opens and closes pages (see iris.js) */
.iris { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 9000; pointer-events: none; display: block; }
html.iris-cover body::before {
	content: ""; position: fixed; inset: 0; z-index: 8999; background: #0b0414; animation: iris-give-up 0s 4s forwards;
}
@keyframes iris-give-up { to { visibility: hidden; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { animation: none !important; transition: none !important; }
}
