/* The presskit, on top of site.css: one column of "slides" like the pitch deck, in the game's type and colours.
 * No boxes: a small accent kicker, a big Black Italic line, and room. */

.kit {
	display: block;
	padding: 0 var(--gutter);
}

.vignette--kit {
	position: fixed;
	background: radial-gradient(ellipse 80% 70% at 50% 35%, rgba(4, 12, 18, 0.35) 0%, rgba(4, 12, 18, 0.82) 70%, rgba(3, 8, 12, 0.96) 100%);
}

.kit-back {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	color: var(--accent);
	background: var(--panel);
	border: 2px solid rgba(90, 202, 255, 0.35);
	transition: border-color 0.15s, transform 0.15s;
}

.kit-back svg { width: 20px; height: 20px; }
.kit-back:hover { border-color: var(--accent); transform: scale(1.06); }

.slide {
	max-width: 960px;
	margin: 0 auto;
	padding: clamp(48px, 9vh, 96px) 0;
}

.slide + .slide { border-top: 1px solid rgba(255, 255, 255, 0.07); }

.slide--cover {
	min-height: 78vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 28px;
}

.logo--kit {
	--size: clamp(64px, 12vw, 168px);
	justify-content: center;
}

.kicker {
	margin: 0 0 22px;
	font-style: italic;
	font-weight: 900;
	font-size: 15px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--accent);
}

.slide--cover .kicker { margin: 0; }

.hook, .statement {
	margin: 0;
	max-width: 22ch;
	font-style: italic;
	font-weight: 900;
	font-size: clamp(26px, 3.6vw, 40px);
	line-height: 1.15;
	color: var(--light);
}

.hook { max-width: 26ch; color: var(--text); font-size: clamp(20px, 2.6vw, 28px); }

.body {
	max-width: 56ch;
	margin: 20px 0 0;
	font-size: 18px;
	line-height: 1.6;
	color: var(--text-muted);
}

.note { margin: 24px 0 0; font-size: 14px; color: var(--text-muted); }
.slide a { color: var(--accent); text-decoration: none; }
.slide a:hover { text-decoration: underline; }

/* Facts: a row of label over value, no boxes. */
.facts {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 28px 24px;
}

.facts dt {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.facts > div:last-child { grid-column: span 2; }

.facts dd {
	margin: 6px 0 0;
	font-style: italic;
	font-weight: 900;
	font-size: 20px;
	color: var(--light);
	overflow-wrap: anywhere;
}

.facts dd a {
	white-space: nowrap;
}

/* Downloads: the picture is the button. */
.downloads {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 22px;
}

.slide a.asset {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: var(--light);
	text-decoration: none;
	scroll-margin-top: 16px;
}

.asset__preview {
	display: block;
	aspect-ratio: 16 / 9;
	margin-bottom: 8px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
	overflow: hidden;
	box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.35);
	transition: transform 0.12s ease-out, box-shadow 0.12s ease-out;
}

.asset__preview img { width: 100%; height: 100%; object-fit: contain; display: block; }
.asset:hover .asset__preview { box-shadow: 5px 5px 0 var(--accent-deep); }
.asset:active .asset__preview { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--accent-deep); }
.asset__name { font-style: italic; font-weight: 900; font-size: 18px; }
.asset__meta { font-size: 13px; color: var(--text-muted); }

.shots {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 22px;
}

.shots img {
	display: block;
	width: 100%;
	border-radius: 14px;
	box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.35);
}

/* Cursors: no tiles, just each skin riding its rail and its name. */
.cursor-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 8px 18px;
}

.cursor-tile { margin: 0; }
.cursor-tile canvas { display: block; width: 100%; height: 96px; }

.cursor-tile figcaption {
	margin-top: -6px;
	text-align: center;
	font-style: italic;
	font-weight: 900;
	font-size: 15px;
	color: var(--text-muted);
}

/* mod.io: label, value, copy. */
.fields { margin: 0; }

.field {
	display: grid;
	grid-template-columns: 170px 1fr;
	gap: 16px;
	padding: 14px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.field:first-child { border-top: 0; }

.field dt {
	padding-top: 2px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.field dt span { display: block; margin-top: 4px; letter-spacing: 0; text-transform: none; }
.field dt span.is-over { color: rgb(233, 100, 103); }

.field dd {
	position: relative;
	margin: 0;
	color: var(--light);
	font-weight: 700;
	line-height: 1.55;
	white-space: pre-wrap;
}

.field dd[data-copy] { padding-right: 76px; }

.copy {
	position: absolute;
	top: -2px;
	right: 0;
	padding: 3px 12px;
	border-radius: 999px;
	border: 2px solid rgba(90, 202, 255, 0.4);
	background: transparent;
	color: var(--accent);
	font: inherit;
	font-size: 13px;
	font-weight: 900;
	cursor: pointer;
	white-space: nowrap;
}

.copy:hover { border-color: var(--accent); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; white-space: normal !important; }

.chips span {
	padding: 2px 12px;
	border-radius: 999px;
	background: rgba(90, 202, 255, 0.14);
	font-size: 14px;
}

@media (max-width: 600px) {
	.field { grid-template-columns: 1fr; gap: 6px; }
	.facts dd { font-size: 18px; }
}

.lead-note { margin: -8px 0 24px; font-size: 15px; color: var(--text-muted); }
.asset.is-over .asset__meta:last-child { color: rgb(233, 100, 103); }

/* Colours: a pill of each, its name and hex; a click copies the hex. */
.group {
	margin: 28px 0 12px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.palette {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
	gap: 14px;
	white-space: normal !important;
}

.swatch {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--light);
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.swatch::before {
	content: "";
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: 999px;
	background: var(--c);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.14), 4px 4px 0 rgba(0, 0, 0, 0.35);
	transition: transform 0.12s ease-out, box-shadow 0.12s ease-out;
}

.swatch:active::before { transform: translate(4px, 4px); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.14), 0 0 0 rgba(0, 0, 0, 0.35); }
.swatch span { display: block; font-style: italic; font-weight: 900; font-size: 16px; }
.swatch code { display: block; font-size: 13px; color: var(--text-muted); }
.swatch.is-copied code { color: var(--accent); }

.palette--modio { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.palette--modio .swatch::before { width: 36px; height: 36px; }

.shots a { display: block; color: var(--text-muted); text-decoration: none; }
.shots a span { display: block; margin-top: 8px; font-style: italic; font-weight: 900; font-size: 15px; }
.shots a:hover span { color: var(--light); }

/* The cover's button is the landing's Play button, in the page's flow. */
.kit-download { margin-top: 6px; cursor: pointer; border: 0; font: inherit; }
.kit-download:disabled { cursor: progress; opacity: 0.75; }
.kit-download .play__chip svg { width: 56%; height: 56%; fill: none; }
.kit-download .play__chip path { stroke: var(--accent); }
