@charset "utf-8";
/* DK Digital Labs - cinematic stylesheet.
   One file for every page. Each part is marked with a comment so it is easy to find later.
   To change the look, start with the colours and fonts in the first section. */

/*-- This is the CSS section of the headline font
   Bodoni Moda is stored in the site's fonts folder, so every visitor sees it and nothing loads from
   another website. Licence: SIL Open Font License (fonts/OFL-LICENSE.txt). */
@font-face {
	font-family: "Bodoni Moda";
	src: url("../fonts/bodoni-moda-latin-400-normal.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Bodoni Moda";
	src: url("../fonts/bodoni-moda-latin-400-italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
/*-- This is the CSS section of the headline font*/

/*-- This is the CSS section of the colours and fonts*/
:root {
	--black: #050507;          /* deep black, like the video */
	--film: #0d0c12;           /* panels */
	--line: #24222b;           /* thin borders */
	--paper: #f4f1ea;          /* ivory text */
	--dim: #9b97a3;            /* secondary text */
	--signal: #b9a0ff;         /* soft violet accent */
	--violet: #8b5cf6;         /* deep violet, from the logo facet */
	--serif: "Bodoni Moda", "Bodoni MT", Didot, "Bodoni 72", "Playfair Display", Georgia, serif;
	--sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	--label: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	--text-size: 1rem;         /* size of normal text */
	--heading-scale: 1;        /* 1 = normal, bigger number = bigger headlines */
	--radius: 0px;             /* button corner rounding */
	--grain: 0.035;            /* film grain strength, 0 = off */
	color-scheme: dark;
}
/*-- This is the CSS section of the colours and fonts*/

/*-- This is the CSS section of the body*/
* {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
	margin: 0;
	background: var(--black);
	color: var(--paper);
	font-family: var(--sans);
	font-size: var(--text-size);
	line-height: 1.7;
	font-weight: 300;
	overflow-x: clip;
	overflow-wrap: break-word;
}
/* Film grain: a very light noise layer over the whole page */
body::after {
	content: "";
	position: fixed;
	inset: -50%;
	z-index: 90;
	pointer-events: none;
	opacity: var(--grain);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: grain 0.9s steps(3) infinite;
}
@keyframes grain {
	0% { transform: translate(0, 0); }
	33% { transform: translate(-3%, 2%); }
	66% { transform: translate(2%, -3%); }
	100% { transform: translate(0, 0); }
}
img {
	display: block;
	max-width: 100%;
	height: auto;
}
a {
	color: inherit;
}
h1, h2, h3 {
	font-family: var(--serif);
	font-weight: 400;
	line-height: 1.1;
	margin: 0 0 0.5em;
}
h1 em, h2 em {
	color: var(--signal);
}
p {
	margin: 0 0 1em;
	color: var(--dim);
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline: 2px solid var(--signal);
	outline-offset: 4px;
}
[hidden] {
	display: none !important;
}
.container {
	width: min(1180px, 100% - 40px);
	margin: 0 auto;
}
.skip {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	background: var(--paper);
	color: var(--black);
	padding: 10px 16px;
}
.skip:focus {
	top: 12px;
}
/* Small typewriter labels, like the slate at the start of a scene */
.slate {
	font-family: var(--label);
	font-size: 0.75rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--signal);
	margin-bottom: 18px;
}
.slate span {
	color: var(--dim);
}
/*-- This is the CSS section of the body*/

/*-- This is the CSS section of the buttons*/
.button {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	padding: 12px 26px;
	border: 1px solid var(--paper);
	border-radius: var(--radius);
	background: transparent;
	color: var(--paper);
	font-family: var(--label);
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.3s, color 0.3s;
}
.button:hover {
	background: var(--paper);
	color: var(--black);
}
.button.main {
	background: var(--paper);
	color: var(--black);
}
.button.main:hover {
	background: var(--signal);
	border-color: var(--signal);
}
.button[disabled] {
	border-color: var(--line);
	color: var(--dim);
	cursor: not-allowed;
}
.button[disabled]:hover {
	background: transparent;
	color: var(--dim);
}
.buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}
.text-link {
	font-family: var(--label);
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--signal);
}
/*-- This is the CSS section of the buttons*/

/*-- This is the CSS section of the header and navigation*/
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	transition: background 0.4s, border-color 0.4s;
	border-bottom: 1px solid transparent;
}
/* When the page scrolls, the header gets a dark background (added by script.js) */
.header.solid {
	background: rgba(7, 8, 11, 0.92);
	border-bottom-color: var(--line);
}
.header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	min-height: 76px;
	gap: 12px;
}
.logo {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	font-family: var(--serif);
	font-size: 1rem;
	letter-spacing: 0.24em;
}
.logo img {
	width: 30px;
	height: 30px;
}
.navigation {
	display: flex;
	gap: 34px;
	font-family: var(--label);
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.navigation a {
	text-decoration: none;
	color: var(--dim);
	padding: 6px 0;
}
.navigation a:hover, .navigation a[aria-current="page"] {
	color: var(--paper);
}
.navigation a[aria-current="page"] {
	border-bottom: 1px solid var(--signal);
}
.menu-button {
	display: none;
	background: none;
	border: 1px solid var(--line);
	color: var(--paper);
	font-family: var(--label);
	font-size: 0.75rem;
	letter-spacing: 0.16em;
	padding: 9px 14px;
}
/*-- This is the CSS section of the header and navigation*/

/*-- This is the CSS section of the Homepage*/
/* The stage: a tall section whose inside stays pinned while you scroll.
   script.js sets --p from 0 (top) to 1 (end of the stage): the crystal turns,
   then bursts into violet light, and the title gives way to the statement. */
.stage {
	--p: 0;
	position: relative;
	height: 230vh;
}
.stage-pin {
	position: sticky;
	top: 0;
	height: 100vh;
	height: 100svh;
	overflow: hidden;
	background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(60, 30, 120, 0.25), transparent 70%), var(--black);
}
#crystal {
	position: absolute;
	z-index: 2;   /* in front of the title, like the object in the video */
	inset: 0;
	width: 100%;
	height: 100%;
}
/* The big title is split in two, with the crystal turning between the words */
.stage-title {
	position: absolute;
	inset: 0;
	display: grid;
	align-content: center;
	padding: 0 4vw;
	margin: 0;
	font-size: calc(clamp(3.2rem, 11.5vw, 11rem) * var(--heading-scale));
	line-height: 0.92;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	pointer-events: none;
	opacity: clamp(0, calc(1 - var(--p) * 2.6), 1);
	transform: scale(calc(1 + var(--p) * 0.25));
}
.stage-title span {
	display: block;
	animation: unveil 1.8s cubic-bezier(0.2, 0.7, 0.1, 1) both;
}
.stage-title .left {
	justify-self: start;
	animation-delay: 0.3s;
}
.stage-title .right {
	justify-self: end;
	animation-delay: 0.6s;
}
@keyframes unveil {
	from { opacity: 0; letter-spacing: 0.12em; filter: blur(12px); }
	to { opacity: 1; letter-spacing: -0.01em; filter: none; }
}
/* Tiny captions in the corners of the stage */
.stage-label {
	position: absolute;
	z-index: 3;
	max-width: 260px;
	font-family: var(--label);
	font-size: 0.68rem;
	line-height: 1.6;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--dim);
	margin: 0;
	opacity: clamp(0, calc(1 - var(--p) * 3), 1);
	animation: fade 2s 1.2s backwards;   /* "backwards" so the scroll fade can take over afterwards */
}
.stage-label.top-right {
	top: 110px;
	right: 4vw;
	text-align: right;
}
.stage-label.bottom-left {
	left: 4vw;
	bottom: 40px;
}
.stage-label.bottom-right {
	right: 4vw;
	bottom: 40px;
	text-align: right;
}
.stage-label strong {
	color: var(--paper);
	font-weight: 400;
}
/* The statement that appears over the violet burst */
.stage-statement {
	position: absolute;
	z-index: 3;
	left: 50%;
	top: 50%;
	width: min(920px, 100% - 40px);
	transform: translate(-50%, calc(-50% + (1 - var(--p)) * 60px));
	text-align: center;
	opacity: clamp(0, calc((var(--p) - 0.45) * 3), 1);
}
.stage-statement p {
	font-family: var(--serif);
	font-size: calc(clamp(1.7rem, 3.6vw, 3.2rem) * var(--heading-scale));
	line-height: 1.2;
	color: var(--paper);
	text-shadow: 0 0 40px rgba(5, 5, 7, 0.6);
}
.stage-statement .buttons {
	justify-content: center;
}
.scroll-hint {
	position: absolute;
	left: 50%;
	bottom: 40px;
	transform: translateX(-50%);
	width: 1px;
	height: 56px;
	background: linear-gradient(var(--paper), transparent);
	opacity: clamp(0, calc(0.6 - var(--p) * 3), 0.6);
	animation: drip 2.4s ease-in-out infinite;
}
@keyframes drip {
	0% { transform: translateX(-50%) scaleY(0); transform-origin: top; }
	50% { transform: translateX(-50%) scaleY(1); transform-origin: top; }
	51% { transform-origin: bottom; }
	100% { transform: translateX(-50%) scaleY(0); transform-origin: bottom; }
}
/* Opening shot: full screen with black letterbox bars that open when the page loads */
.opening {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: grid;
	align-items: center;
	padding: 120px 0 90px;
	overflow: hidden;
	background:
		radial-gradient(ellipse 55% 60% at 72% 48%, rgba(110, 60, 230, 0.2), transparent 70%),
		radial-gradient(ellipse 40% 50% at 82% 30%, rgba(200, 120, 255, 0.12), transparent 70%),
		var(--black);
}
.opening::before, .opening::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 7vh;
	background: #000;
	z-index: 2;
	animation: letterbox 1.8s cubic-bezier(0.7, 0, 0.2, 1) both;
}
.opening::before {
	top: 0;
}
.opening::after {
	bottom: 0;
}
@keyframes letterbox {
	from { height: 50vh; }
	to { height: 7vh; }
}
/* Soft dark edges, like an old lens */
.vignette {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.75) 100%);
	z-index: 1;
}
.opening .container {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 40px;
	align-items: center;
}
.opening h1 {
	font-size: calc(clamp(3rem, 7.5vw, 6.6rem) * var(--heading-scale));
	letter-spacing: -0.02em;
	line-height: 0.98;
}
/* Each line of the big title rises into view one after another */
.opening h1 .line {
	display: block;
	overflow: hidden;
	padding-bottom: 0.06em;
}
.opening h1 .line span {
	display: block;
	animation: rise 1.2s cubic-bezier(0.2, 0.7, 0.1, 1) both;
}
.opening h1 .line:nth-child(1) span { animation-delay: 1.1s; }
.opening h1 .line:nth-child(2) span { animation-delay: 1.3s; }
.opening h1 .line:nth-child(3) span { animation-delay: 1.5s; }
@keyframes rise {
	from { transform: translateY(105%); }
	to { transform: translateY(0); }
}
.opening .lead {
	font-size: 1.15rem;
	max-width: 460px;
	animation: fade 1.4s 1.9s both;
}
.opening .buttons {
	animation: fade 1.4s 2.1s both;
}
@keyframes fade {
	from { opacity: 0; }
	to { opacity: 1; }
}
/* The logo is lit like a projector beam and breathes slowly */
.projector {
	position: relative;
	justify-self: center;
	width: min(440px, 100%);
	animation: fade 2.4s 0.6s both;
}
.projector img {
	width: 100%;
	filter: drop-shadow(0 0 60px rgba(160, 120, 255, 0.25)) drop-shadow(0 0 120px rgba(200, 120, 255, 0.18));
	animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.03); }
}
/* Credits in the corners of the opening shot */
.credit {
	position: absolute;
	z-index: 3;
	font-family: var(--label);
	font-size: 0.68rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--dim);
	animation: fade 1.6s 2.4s both;
}
.credit.left {
	left: 20px;
	bottom: calc(7vh + 18px);
}
.credit.right {
	right: 20px;
	bottom: calc(7vh + 18px);
}
/* Each part of the page is a scene */
.scene {
	padding: 120px 0;
	border-top: 1px solid var(--line);
}
.scene-title {
	max-width: 760px;
	margin-bottom: 56px;
}
.scene-title h2 {
	font-size: calc(clamp(2.2rem, 4.6vw, 3.8rem) * var(--heading-scale));
	letter-spacing: -0.015em;
}
/* Now showing: the widescreen feature for EduPlanner Pro */
.feature {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 56px;
	align-items: center;
}
.screen {
	position: relative;
	aspect-ratio: 2.39 / 1;
	display: grid;
	place-items: center;
	border: 1px solid var(--line);
	background:
		radial-gradient(ellipse 60% 80% at 50% 50%, rgba(160, 120, 255, 0.14), transparent 70%),
		linear-gradient(180deg, #120c22, #050507);
	overflow: hidden;
}
.screen p {
	margin: 0;
	font-family: var(--serif);
	font-size: calc(clamp(1.8rem, 4vw, 3.2rem) * var(--heading-scale));
	color: var(--paper);
}
.screen .slate {
	position: absolute;
	top: 16px;
	left: 20px;
	margin: 0;
}
.feature h3 {
	font-size: 2rem;
}
/* In development: a film strip that scrolls sideways */
.reel {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(280px, 1fr);
	gap: 4px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 22px 0;
	background:
		repeating-linear-gradient(90deg, transparent 0 14px, var(--black) 14px 26px) top / 100% 10px no-repeat,
		repeating-linear-gradient(90deg, transparent 0 14px, var(--black) 14px 26px) bottom / 100% 10px no-repeat,
		#1a1c22;
}
.frame {
	scroll-snap-align: start;
	background: var(--film);
	padding: 34px 30px;
	min-height: 300px;
	display: flex;
	flex-direction: column;
}
.frame .number {
	font-family: var(--label);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	color: var(--dim);
	margin-bottom: auto;
	padding-bottom: 40px;
}
.frame h3 {
	font-size: 1.6rem;
}
.frame p {
	font-size: 0.95rem;
}
.frame .button {
	margin-top: 10px;
	align-self: flex-start;
}
/* The thinking: big quotes, one per line */
.principles {
	list-style: none;
	margin: 0;
	padding: 0;
}
.principles li {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 20px;
	padding: 34px 0;
	border-bottom: 1px solid var(--line);
}
.principles .number {
	font-family: var(--label);
	color: var(--violet);
	letter-spacing: 0.2em;
	padding-top: 10px;
}
.principles h3 {
	font-size: calc(clamp(1.6rem, 3vw, 2.4rem) * var(--heading-scale));
}
.principles p {
	margin: 0;
}
/* Final call to action, like the last line of a film */
.finale {
	text-align: center;
	padding: 150px 0;
	border-top: 1px solid var(--line);
	background: radial-gradient(ellipse 50% 70% at 50% 100%, rgba(160, 120, 255, 0.09), transparent 70%);
}
.finale h2 {
	font-size: calc(clamp(2.4rem, 5.5vw, 4.6rem) * var(--heading-scale));
	max-width: 900px;
	margin: 0 auto 20px;
}
.finale .buttons {
	justify-content: center;
}
/*-- This is the CSS section of the Homepage*/

/*-- This is the CSS section of the inner pages (About, Apps, App details, Support, Legal)*/
/* Title card at the top of each inner page */
.title-card {
	position: relative;
	padding: 170px 0 80px;
	border-bottom: 1px solid var(--line);
	background: radial-gradient(ellipse 45% 80% at 85% 20%, rgba(160, 120, 255, 0.08), transparent 70%);
}
.title-card h1 {
	font-size: calc(clamp(2.8rem, 6.5vw, 5.6rem) * var(--heading-scale));
	letter-spacing: -0.02em;
	max-width: 900px;
}
.title-card .lead {
	font-size: 1.15rem;
	max-width: 620px;
}
.breadcrumb {
	font-family: var(--label);
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dim);
	margin-bottom: 40px;
}
.two-columns {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 70px;
	padding: 90px 0 120px;
}
.block {
	border-top: 1px solid var(--line);
	padding-top: 28px;
	margin-bottom: 48px;
}
.block h2 {
	font-size: 2rem;
}
.facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 36px 0;
	padding: 24px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.facts dt {
	font-family: var(--label);
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--dim);
}
.facts dd {
	margin: 4px 0 0;
}
.checklist {
	padding-left: 20px;
	color: var(--dim);
}
.checklist li {
	margin: 8px 0;
}
.steps {
	list-style: none;
	padding: 0;
	margin: 0;
}
.steps li {
	display: grid;
	grid-template-columns: 50px 1fr;
	gap: 12px;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}
.steps .number {
	font-family: var(--label);
	color: var(--violet);
}
.steps h3 {
	font-family: var(--sans);
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 4px;
}
.steps p {
	margin: 0;
	font-size: 0.95rem;
}
.notice {
	border-left: 2px solid var(--violet);
	padding: 14px 20px;
	margin-bottom: 32px;
	background: rgba(200, 120, 255, 0.05);
	color: #d4cbe8;
	font-size: 0.95rem;
}
.notice a, .legal a, .block p a, details a {
	color: var(--signal);
}
/* Questions that open and close */
details {
	border-bottom: 1px solid var(--line);
	padding: 18px 0;
}
summary {
	cursor: pointer;
	font-family: var(--serif);
	font-size: 1.2rem;
}
details p {
	margin: 12px 0 0;
}
/* Privacy and terms */
.legal {
	max-width: 760px;
	padding: 80px 0 120px;
}
.legal h2 {
	font-size: 1.8rem;
	margin-top: 50px;
}
/*-- This is the CSS section of the inner pages*/

/*-- This is the CSS section of the forms (Support and Account deletion)*/
.form {
	display: grid;
	gap: 26px;
}
.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 26px;
}
label {
	display: block;
	font-family: var(--label);
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--dim);
	margin-bottom: 8px;
}
input, select, textarea {
	width: 100%;
	font: inherit;
	color: var(--paper);
	background: transparent;
	border: 0;
	border-bottom: 1px solid #4a4f5a;
	padding: 10px 2px;
	border-radius: 0;
}
select option {
	background: var(--film);
}
textarea {
	min-height: 140px;
	resize: vertical;
}
input:focus, select:focus, textarea:focus {
	border-bottom-color: var(--signal);
}
.help {
	font-size: 0.85rem;
	margin: 8px 0 0;
}
.status {
	color: var(--signal);
	margin: 0;
}
/*-- This is the CSS section of the forms*/

/*-- This is the CSS section of the Footer (styled like end credits)*/
.credits {
	border-top: 1px solid var(--line);
	padding: 90px 0 40px;
	text-align: center;
}
.credits .logo {
	justify-content: center;
	margin-bottom: 50px;
}
.credit-list {
	max-width: 620px;
	margin: 0 auto 60px;
}
.credit-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	padding: 8px 0;
	font-size: 0.95rem;
}
.credit-row .role {
	text-align: right;
	font-family: var(--label);
	font-size: 0.72rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--dim);
	padding-top: 4px;
}
.credit-row ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
}
.credit-row a {
	text-decoration: none;
}
.credit-row a:hover {
	color: var(--signal);
}
.soon {
	color: var(--dim);
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	cursor: not-allowed;
}
.the-end {
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.4rem;
	color: var(--dim);
	margin-bottom: 30px;
}
.copyright {
	font-family: var(--label);
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--dim);
	margin: 0;
}
/* The small link to the staff dashboard, under the copyright line */
.staff-link {
	margin: 14px 0 0;
	font-family: var(--label);
	font-size: 0.66rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.staff-link a {
	color: var(--dim);
	text-decoration: none;
	opacity: 0.7;
}
.staff-link a:hover, .staff-link a:focus-visible {
	color: var(--signal);
	opacity: 1;
}
/*-- This is the CSS section of the Footer*/

/*-- This is the CSS section of the scroll animation*/
/* Only used when script.js is running, so the page still shows everything without JavaScript */
.js .reveal {
	opacity: 0;
	transform: translateY(28px);
	filter: blur(6px);
	transition: opacity 1.1s ease, transform 1.1s ease, filter 1.1s ease;
}
.js .reveal.shown {
	opacity: 1;
	transform: none;
	filter: none;
}
/*-- This is the CSS section of the scroll animation*/

/*-- This is the CSS section for tablets and phones*/
@media (min-width: 801px) {
	.navigation {
		display: flex !important;
	}
}
/* On short screens the corner credits would sit on top of the buttons */
@media (max-height: 760px) {
	.credit {
		display: none;
	}
}
@media (max-width: 800px) {
	.stage-label.top-right, .stage-label.bottom-right {
		display: none;
	}
	.stage-title {
		font-size: 15vw;   /* big enough that each phrase breaks onto two lines around the crystal */
	}
	.menu-button {
		display: block;
	}
	.header {
		background: rgba(7, 8, 11, 0.92);
	}
	.navigation {
		width: 100%;
		flex-direction: column;
		gap: 0;
		padding-bottom: 14px;
	}
	.navigation a {
		padding: 14px 0;
		border-bottom: 1px solid var(--line);
	}
	.navigation a[aria-current="page"] {
		border-bottom-color: var(--signal);
	}
	.opening .container, .feature, .two-columns {
		grid-template-columns: 1fr;
	}
	.opening {
		padding-top: 110px;
	}
	.projector {
		width: min(300px, 80%);
		order: -1;
	}
	.credit {
		display: none;
	}
	.scene {
		padding: 80px 0;
	}
	.screen {
		aspect-ratio: 16 / 9;
	}
	.principles li {
		grid-template-columns: 1fr;
		gap: 4px;
	}
	.form-row, .facts {
		grid-template-columns: 1fr;
	}
	.title-card {
		padding-top: 140px;
	}
	.two-columns {
		gap: 20px;
		padding: 60px 0 80px;
	}
	.credit-row {
		grid-template-columns: 1fr;
		gap: 6px;
	}
	.credit-row .role, .credit-row ul {
		text-align: center;
	}
}
/*-- This is the CSS section for tablets and phones*/

/*-- This is the CSS section for people who turn off motion*/
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
	}
	.js .reveal {
		opacity: 1;
		transform: none;
		filter: none;
	}
}
/*-- This is the CSS section for people who turn off motion*/
