:root {
	--ink: #17191c;
	--paper: #f5f6f3;
	--white: #ffffff;
	--muted: #62676d;
	--line: #d6d9d5;
	--red: #d53f35;
	--red-dark: #a72b25;
	--amber: #e5a82f;
	--green: #2e8b68;
	--blue: #3076a5;
	--header-height: 72px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-height);
}

body {
	margin: 0;
	color: var(--ink);
	background: var(--paper);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.55;
}

body.menu-open {
	overflow: hidden;
}

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

a {
	color: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

button,
.button {
	font: inherit;
}

.skip-link {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 100;
	padding: 10px 14px;
	color: var(--white);
	background: var(--ink);
	transform: translateY(-150%);
}

.skip-link:focus {
	transform: translateY(0);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-height);
	padding: 0 clamp(18px, 4vw, 64px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	color: var(--white);
	background: #121417;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 800;
	text-decoration: none;
	text-transform: uppercase;
}

.brand img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.brand span {
	white-space: nowrap;
}

nav {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.4vw, 34px);
	font-size: 0.92rem;
	font-weight: 650;
}

nav a {
	text-decoration: none;
}

nav a:not(.steam-link):hover,
nav a:not(.steam-link):focus-visible {
	color: #ffd56a;
}

.steam-link {
	padding: 10px 16px;
	border: 1px solid #f05a4f;
	background: var(--red);
}

.steam-link:hover,
.steam-link:focus-visible {
	background: var(--red-dark);
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 10px;
	border: 0;
	color: var(--white);
	background: transparent;
	cursor: pointer;
}

.menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	margin: 5px 0;
	background: currentColor;
}

.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(760px, calc(100svh - 104px));
	padding: clamp(72px, 10vh, 124px) clamp(20px, 7vw, 112px);
	color: var(--white);
	background: #1e2226 url("/assets/screenshot-traffic-jam.png") center 44% / cover no-repeat;
	isolation: isolate;
}

.hero-scrim {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(8, 10, 12, 0.62);
}

.hero-content {
	width: min(780px, 100%);
}

.kicker,
.eyebrow {
	margin: 0 0 12px;
	color: #f5bd3f;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.hero h1 {
	max-width: 9ch;
	margin: 0;
	font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
	font-size: clamp(4.4rem, 9vw, 8.4rem);
	font-weight: 800;
	line-height: 0.86;
	letter-spacing: 0;
	text-transform: uppercase;
	text-wrap: balance;
}

.hero-copy {
	max-width: 680px;
	margin: 28px 0 0;
	font-size: clamp(1.02rem, 1.8vw, 1.28rem);
	line-height: 1.55;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 20px;
	border: 1px solid transparent;
	font-weight: 750;
	text-decoration: none;
}

.button.primary {
	color: var(--white);
	background: var(--red);
}

.button.primary:hover,
.button.primary:focus-visible {
	background: var(--red-dark);
}

.button.secondary {
	border-color: rgba(255, 255, 255, 0.65);
	color: var(--white);
	background: rgba(10, 12, 14, 0.52);
}

.button.secondary:hover,
.button.secondary:focus-visible {
	background: rgba(10, 12, 14, 0.8);
}

.hero-notes {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin: 28px 0 0;
	padding: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.88rem;
	font-weight: 650;
	list-style: none;
}

.hero-notes li::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 8px;
	background: var(--amber);
}

.section-inner {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.game-band,
.systems-band,
.ai-lab-band,
.gallery-band,
.development-band {
	padding: clamp(72px, 10vw, 128px) 0;
}

.game-band {
	background: var(--white);
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
	gap: clamp(46px, 8vw, 110px);
	align-items: center;
}

h2 {
	max-width: 15ch;
	margin: 0;
	font-size: clamp(2.2rem, 5vw, 4.6rem);
	line-height: 1.02;
	letter-spacing: 0;
	text-wrap: balance;
}

.lead {
	margin: 24px 0 18px;
	font-size: clamp(1.06rem, 1.7vw, 1.25rem);
	line-height: 1.65;
}

.feature-media {
	margin: 0;
}

.feature-media img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border: 1px solid var(--line);
}

figcaption {
	margin-top: 10px;
	color: var(--muted);
	font-size: 0.86rem;
}

.systems-band {
	color: var(--white);
	background: #1a1d20;
}

.section-heading {
	display: flex;
	justify-content: space-between;
	gap: 36px;
	align-items: end;
	margin-bottom: 44px;
}

.section-heading > p {
	max-width: 470px;
	margin: 0;
	color: #c6cacd;
}

.inspector {
	display: grid;
	grid-template-columns: 210px minmax(280px, 0.85fr) minmax(320px, 1.15fr);
	min-height: 440px;
	border: 1px solid #3d4247;
	background: #101214;
}

.inspector-controls {
	display: grid;
	align-content: start;
	border-right: 1px solid #3d4247;
}

.inspector-controls button {
	min-height: 64px;
	padding: 14px 18px;
	border: 0;
	border-bottom: 1px solid #34383c;
	color: #e8e9e6;
	background: transparent;
	text-align: left;
	cursor: pointer;
}

.inspector-controls button:hover,
.inspector-controls button:focus-visible {
	color: var(--ink);
	background: var(--amber);
	outline: none;
}

.inspector-state {
	display: grid;
	align-content: start;
	gap: 25px;
	padding: 30px;
	border-right: 1px solid #3d4247;
}

.metric > div:first-child {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 8px;
	font-size: 0.9rem;
}

.meter {
	overflow: hidden;
	height: 8px;
	background: #34383c;
}

.meter span {
	display: block;
	height: 100%;
	background: var(--green);
	transition: width 220ms ease;
}

.meter.amber span {
	background: var(--amber);
}

.meter.red span {
	background: var(--red);
}

.console {
	overflow: auto;
	height: 160px;
	padding: 16px;
	color: #cfd3d0;
	background: #080a0b;
	font: 0.78rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.console p {
	margin: 0 0 9px;
}

.console span {
	color: #f5bd3f;
}

.inspector-map {
	position: relative;
	min-height: 360px;
	margin: 0;
	background: #e7e9e5;
}

.inspector-map img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	image-rendering: auto;
}

.inspector-map figcaption {
	position: absolute;
	right: 16px;
	bottom: 16px;
	left: 16px;
	margin: 0;
	padding: 10px 12px;
	color: var(--white);
	background: rgba(10, 12, 14, 0.82);
}

.ai-lab-band {
	color: var(--ink);
	background: var(--white);
}

.ai-heading h2 {
	max-width: 18ch;
}

.ai-heading > p {
	color: var(--muted);
}

.ai-capture-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 34px 18px;
}

.ai-capture {
	min-width: 0;
	margin: 0;
}

.ai-capture-wide {
	grid-column: 1 / -1;
}

.ai-capture-button {
	position: relative;
	display: block;
	overflow: hidden;
	width: 100%;
	padding: 0;
	border: 1px solid var(--line);
	background: #17191c;
	cursor: zoom-in;
}

.ai-capture-wide .ai-capture-button {
	aspect-ratio: 16 / 7;
}

.ai-capture:not(.ai-capture-wide) .ai-capture-button {
	aspect-ratio: 16 / 9;
}

.ai-capture-button img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 240ms ease;
}

.ai-capture-button:hover img,
.ai-capture-button:focus-visible img {
	transform: scale(1.018);
}

.ai-capture-button:focus-visible {
	outline: 4px solid var(--blue);
	outline-offset: 2px;
}

.ai-capture-button span {
	position: absolute;
	right: 12px;
	bottom: 12px;
	padding: 8px 10px;
	color: var(--white);
	background: rgba(10, 12, 14, 0.88);
	font-size: 0.84rem;
	font-weight: 750;
}

.ai-capture figcaption {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 8px;
}

.ai-capture figcaption strong {
	color: var(--ink);
}

.ai-proof {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 54px 0 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.ai-proof > div {
	padding: 26px 26px 28px 0;
}

.ai-proof > div + div {
	padding-left: 26px;
	border-left: 1px solid var(--line);
}

.ai-proof dt {
	margin-bottom: 8px;
	font-weight: 800;
}

.ai-proof dd {
	margin: 0;
	color: var(--muted);
	font-size: 0.92rem;
}

.gallery-band {
	background: #e8ebe7;
}

.gallery-band .section-heading > p {
	color: var(--muted);
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-rows: 310px;
	gap: 16px;
}

.shot {
	position: relative;
	overflow: hidden;
	padding: 0;
	border: 0;
	background: #24282b;
	cursor: zoom-in;
}

.shot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 240ms ease;
}

.shot:hover img,
.shot:focus-visible img {
	transform: scale(1.025);
}

.shot:focus-visible {
	outline: 4px solid var(--blue);
	outline-offset: 2px;
}

.shot span {
	position: absolute;
	right: 12px;
	bottom: 12px;
	padding: 8px 10px;
	color: var(--white);
	background: rgba(10, 12, 14, 0.86);
	font-size: 0.84rem;
	font-weight: 750;
}

.shot-wide {
	grid-column: span 1;
}

.development-band {
	color: var(--white);
	background: #25282b;
}

.development-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
	gap: clamp(50px, 9vw, 120px);
	align-items: start;
}

.build-status {
	display: flex;
	gap: 14px;
	align-items: center;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid #4a4f54;
}

.status-dot {
	flex: 0 0 auto;
	width: 12px;
	height: 12px;
	background: var(--amber);
	box-shadow: 0 0 0 5px rgba(229, 168, 47, 0.13);
}

.status-dot.success {
	background: #4fc392;
	box-shadow: 0 0 0 5px rgba(79, 195, 146, 0.13);
}

.build-status strong,
.build-status small {
	display: block;
}

.build-status small {
	margin-top: 4px;
	color: #b9bdc0;
}

.development-links {
	border-top: 1px solid #4a4f54;
}

.development-links a {
	display: flex;
	justify-content: space-between;
	gap: 22px;
	padding: 22px 0;
	border-bottom: 1px solid #4a4f54;
	text-decoration: none;
}

.development-links a:hover,
.development-links a:focus-visible {
	color: #ffd56a;
}

.development-links span {
	color: #b9bdc0;
}

.development-links strong {
	text-align: right;
}

footer {
	display: flex;
	justify-content: space-between;
	gap: 40px;
	align-items: end;
	padding: 46px clamp(20px, 7vw, 112px);
	color: #c4c7c9;
	background: #101214;
}

footer img {
	width: 70px;
	height: 70px;
	object-fit: contain;
}

footer p {
	margin: 10px 0 0;
	font-size: 0.86rem;
}

dialog {
	width: min(1120px, calc(100% - 32px));
	max-width: none;
	max-height: calc(100svh - 32px);
	padding: 52px 16px 18px;
	border: 1px solid #4a4f54;
	color: var(--white);
	background: #101214;
}

dialog::backdrop {
	background: rgba(0, 0, 0, 0.84);
}

dialog img {
	width: 100%;
	max-height: calc(100svh - 130px);
	object-fit: contain;
}

dialog p {
	margin: 14px 0 0;
	text-align: center;
}

.lightbox-close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 40px;
	height: 40px;
	border: 0;
	color: var(--white);
	background: transparent;
	font-size: 1.2rem;
	cursor: pointer;
}

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

	.site-header nav {
		position: fixed;
		top: var(--header-height);
		right: 0;
		bottom: 0;
		left: 0;
		display: none;
		align-items: stretch;
		padding: 34px 24px;
		color: var(--white);
		background: #121417;
	}

	.site-header nav.open {
		display: grid;
		align-content: start;
		gap: 0;
	}

	.site-header nav a {
		padding: 18px 4px;
		border-bottom: 1px solid #35393d;
	}

	.site-header nav .steam-link {
		margin-top: 20px;
		padding: 15px 16px;
		border: 0;
		text-align: center;
	}

	.split,
	.development-grid {
		grid-template-columns: 1fr;
	}

	.inspector {
		grid-template-columns: 180px 1fr;
	}

	.inspector-map {
		grid-column: 1 / -1;
		min-height: 320px;
	}

	.inspector-state {
		border-right: 0;
	}

	.ai-proof {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	:root {
		--header-height: 64px;
	}

	.site-header {
		padding: 0 16px;
	}

	.brand img {
		width: 36px;
		height: 36px;
	}

	.brand span {
		font-size: 0.92rem;
	}

	.hero {
		min-height: calc(100svh - 88px);
		padding: 72px 20px 52px;
		background-position: 62% center;
	}

	.hero h1 {
		font-size: clamp(4rem, 24vw, 6.3rem);
	}

	.hero-actions {
		display: grid;
	}

	.hero-notes {
		display: grid;
		gap: 8px;
	}

	.section-inner {
		width: min(100% - 28px, 1180px);
	}

	.section-heading {
		display: block;
	}

	.section-heading > p {
		margin-top: 20px;
	}

	.split {
		gap: 46px;
	}

	.inspector {
		grid-template-columns: 1fr;
	}

	.inspector-controls {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		border-right: 0;
		border-bottom: 1px solid #3d4247;
	}

	.inspector-controls button {
		min-height: 62px;
		border-right: 1px solid #34383c;
	}

	.inspector-state {
		padding: 24px 18px;
	}

	.inspector-map {
		grid-column: auto;
		min-height: 280px;
	}

	.ai-capture-grid {
		grid-template-columns: 1fr;
	}

	.ai-capture-wide {
		grid-column: auto;
	}

	.ai-capture-wide .ai-capture-button {
		aspect-ratio: 16 / 9;
	}

	.ai-capture figcaption {
		display: block;
	}

	.ai-proof > div + div {
		padding-left: 0;
		border-left: 0;
		border-top: 1px solid var(--line);
	}

	.gallery-grid {
		grid-template-columns: 1fr;
		grid-auto-rows: 240px;
	}

	.shot-wide {
		grid-column: auto;
	}

	footer {
		display: block;
		padding: 40px 20px;
	}

	footer > p {
		margin-top: 30px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	* {
		transition-duration: 0.01ms !important;
	}
}
