:root {
	color-scheme: dark;
	--module: 4px;
	--page: #111412;
	--page-deep: #090b0a;
	--ink: #171b19;
	--panel-dark: #292e2b;
	--panel: #474a44;
	--panel-raised: #626158;
	--panel-light: #898172;
	--line-dark: #141816;
	--line-light: #938a7a;
	--paper: #eee7d9;
	--text: #e1dacd;
	--muted: #aaa18f;
	--faint: #777469;
	--orange: #e98a2f;
	--orange-bright: #ffad4a;
	--orange-dark: #8e4827;
	--green: #76b65c;
	--green-bright: #b9e681;
	--yellow: #e2bd4f;
	--red: #d15e49;
	--blue: #6f9ca0;
	--header-height: 64px;
	--quickbar-height: 86px;
	--ui-font:
		"Arial Narrow", "Avenir Next Condensed", "Roboto Condensed",
		"Helvetica Neue", Arial, sans-serif;
	--mono-font:
		"SFMono-Regular", "Cascadia Mono", "Liberation Mono", Menlo, Consolas,
		monospace;
	--bevel:
		inset 2px 2px 0 rgba(255, 255, 255, 0.11),
		inset -2px -2px 0 rgba(0, 0, 0, 0.4), 0 3px 0 #101311;
	--deep-bevel:
		inset 2px 2px 0 rgba(0, 0, 0, 0.62),
		inset -1px -1px 0 rgba(255, 255, 255, 0.08);
}

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

html,
body {
	min-width: 320px;
	min-height: 100%;
	margin: 0;
}

html {
	background: var(--page-deep);
}

body {
	overflow: hidden;
	background:
		radial-gradient(circle at 50% -20%, #30362f 0, transparent 42%),
		var(--page-deep);
	color: var(--text);
	font-family: var(--ui-font);
	font-size: 16px;
	letter-spacing: 0.025em;
}

a {
	color: inherit;
}

button,
input,
textarea,
select {
	font: inherit;
}

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

button:focus-visible,
a:focus-visible {
	outline: 2px solid var(--orange-bright);
	outline-offset: 3px;
}

[hidden] {
	display: none !important;
}

.visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.skip-link {
	position: fixed;
	z-index: 1000;
	top: 8px;
	left: 8px;
	padding: 10px 14px;
	border: 2px solid var(--orange);
	background: var(--ink);
	color: var(--paper);
	font-family: var(--mono-font);
	font-size: 12px;
	transform: translateY(-150%);
}

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

.site-shell {
	display: grid;
	grid-template-rows: var(--header-height) minmax(0, 1fr) var(--quickbar-height);
	width: 100%;
	height: 100vh;
	height: 100dvh;
	overflow: hidden;
	background: var(--page);
}

/* Shared header */

.site-header {
	position: relative;
	z-index: 50;
	display: grid;
	grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
	align-items: center;
	gap: 20px;
	min-width: 0;
	padding: 8px 14px;
	border-bottom: 3px solid var(--line-dark);
	background:
		linear-gradient(
			90deg,
			rgba(255, 255, 255, 0.04),
			transparent 20% 80%,
			rgba(0, 0, 0, 0.18)
		),
		linear-gradient(#5d5c54, #3f433e 52%, #323734 53%);
	box-shadow:
		inset 0 1px rgba(255, 255, 255, 0.14),
		inset 0 -1px rgba(255, 255, 255, 0.05),
		0 5px 14px rgba(0, 0, 0, 0.48);
}

.site-header::after {
	position: absolute;
	right: 0;
	bottom: -3px;
	left: 0;
	height: 3px;
	background: repeating-linear-gradient(
		125deg,
		#1c201e 0 12px,
		#b86b2f 12px 22px,
		#1c201e 22px 34px
	);
	content: "";
	opacity: 0.7;
}

.site-identity {
	display: inline-flex;
	align-items: center;
	justify-self: start;
	min-width: 0;
	text-decoration: none;
}

.site-identity img {
	flex: none;
	margin-right: 10px;
	filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.6));
}

.site-identity span {
	display: grid;
	min-width: 0;
}

.site-identity strong {
	overflow: hidden;
	color: var(--paper);
	font-size: 14px;
	font-stretch: condensed;
	letter-spacing: 0.13em;
	line-height: 1.05;
	text-overflow: ellipsis;
	text-shadow: 0 2px 1px #161917;
	white-space: nowrap;
}

.site-identity small {
	margin-top: 3px;
	overflow: hidden;
	color: #c99a61;
	font-family: var(--mono-font);
	font-size: 8px;
	letter-spacing: 0.12em;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.system-readout {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	min-height: 34px;
	padding: 0 16px;
	border: 1px solid #232825;
	background: rgba(20, 24, 22, 0.68);
	box-shadow: var(--deep-bevel);
	color: #8c887d;
	font-family: var(--mono-font);
	font-size: 8px;
	letter-spacing: 0.09em;
	white-space: nowrap;
}

.system-readout__online {
	color: #a1c987;
}

.system-readout__online i,
.identity-hub__status i,
.status-light,
.status-badge i,
.project-slot__status i {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 5px;
	border: 1px solid #172018;
	border-radius: 50%;
	background: var(--green);
	box-shadow: 0 0 7px rgba(118, 182, 92, 0.72);
	vertical-align: 0;
}

.header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	min-width: 0;
}

.utility-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 34px;
	padding: 0 11px;
	border: 1px solid #202421;
	border-radius: 2px;
	background: linear-gradient(#68665d, #464a45);
	box-shadow: var(--bevel);
	color: #ded6c8;
	font-family: var(--mono-font);
	font-size: 8px;
	letter-spacing: 0.07em;
	cursor: pointer;
	white-space: nowrap;
}

.utility-button:hover {
	background: linear-gradient(#7a7569, #555851);
	color: #fff8e9;
}

.utility-button:active,
.utility-button[aria-pressed="true"] {
	padding-top: 2px;
	background: linear-gradient(#393d39, #54554d);
	box-shadow: var(--deep-bevel);
	color: var(--orange-bright);
}

.utility-button__lamp {
	width: 7px;
	height: 7px;
	border: 1px solid #1a1d1b;
	border-radius: 50%;
	background: #6b695f;
	box-shadow: inset 0 1px 2px #171a18;
}

.utility-button[aria-pressed="true"] .utility-button__lamp {
	background: var(--orange);
	box-shadow: 0 0 7px rgba(233, 138, 47, 0.7);
}

#motion-button[aria-pressed="false"] .utility-button__lamp {
	background: var(--green);
	box-shadow: 0 0 7px rgba(118, 182, 92, 0.6);
}

/* Main routing area */

.site-main {
	position: relative;
	z-index: 1;
	min-height: 0;
	overflow: hidden;
	background: radial-gradient(
		circle at center,
		#2a302b 0,
		#151916 68%,
		#0c0e0d 100%
	);
}

.home-view,
.site-view {
	position: absolute;
	inset: 0;
}

.home-view {
	overflow: hidden;
}

.site-view {
	z-index: 20;
	padding: clamp(12px, 2vw, 28px);
	overflow: auto;
	background:
		linear-gradient(rgba(10, 12, 11, 0.78), rgba(10, 12, 11, 0.92)),
		repeating-linear-gradient(45deg, #2d312d 0 2px, #272b28 2px 6px);
	scrollbar-color: #8d6a43 #242824;
	scrollbar-width: thin;
}

/*
 * Route-specific styles load with their feature modules. This lightweight
 * shell prevents unstyled CPU or ecosystem markup from flashing meanwhile.
 */

.cpu-loader,
.ecosystem-loader {
	position: absolute;
	z-index: 100;
	inset: 0;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 10px;
	padding: 24px;
	background: #090c0a;
	color: #b9e681;
	font-family: var(--mono-font);
	text-align: center;
}

.feature-loader__error {
	display: grid;
	justify-items: center;
	gap: 8px;
	max-width: 52ch;
}

.cpu-loader__content {
	display: grid;
	justify-items: center;
	gap: 10px;
}

.cpu-loader__chip,
.ecosystem-loader__gear {
	display: block;
	width: 34px;
	height: 34px;
	border: 7px dotted currentcolor;
	border-radius: 50%;
	opacity: 0.72;
	animation: feature-loader-spin 2s linear infinite;
}

@keyframes feature-loader-spin {
	to {
		transform: rotate(1turn);
	}
}

.feature-loader__error strong {
	color: var(--orange-bright);
	font-size: 12px;
	letter-spacing: 0.12em;
}

.feature-loader__error small {
	color: var(--muted);
	font-size: 9px;
	line-height: 1.5;
}

.site-view.is-entering .machine-window,
.site-view.is-entering .terminal,
.site-view.is-entering .cpu-app {
	animation: window-enter 240ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes window-enter {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.985);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* Factory map */

.factory-stage {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	padding: 10px 18px 30px;
	overflow: hidden;
}

.factory-map {
	position: relative;
	width: auto;
	max-width: min(100%, 1440px);
	height: 100%;
	max-height: 810px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border: 2px solid #0d100e;
	border-radius: 3px;
	background: #2d302b;
	box-shadow:
		0 0 0 2px #5e5b50,
		0 0 0 5px #171a17,
		0 18px 40px rgba(0, 0, 0, 0.55),
		inset 0 0 50px rgba(0, 0, 0, 0.42);
	isolation: isolate;
}

.factory-map::before,
.factory-map::after {
	position: absolute;
	z-index: 12;
	pointer-events: none;
	content: "";
}

.factory-map::before {
	inset: 0;
	border: 8px solid transparent;
	border-image: repeating-linear-gradient(
			135deg,
			#161a17 0 10px,
			#a2602d 10px 18px,
			#161a17 18px 28px
		)
		8;
	opacity: 0.74;
}

.factory-map::after {
	inset: 12px;
	border: 1px solid rgba(217, 201, 167, 0.14);
	box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.46);
}

.factory-map__tiles {
	position: absolute;
	z-index: -3;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
		linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
		linear-gradient(
			90deg,
			transparent 49%,
			rgba(8, 10, 9, 0.23) 50%,
			transparent 51%
		),
		linear-gradient(135deg, #383a33 0%, #2a2e29 52%, #33352f 100%);
	background-size:
		6.25% 11.111%,
		6.25% 11.111%,
		25% 100%,
		100% 100%;
}

.factory-map__tiles::before {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(
			circle at 8% 20%,
			rgba(8, 10, 8, 0.2) 0 1px,
			transparent 2px
		),
		radial-gradient(
			circle at 70% 80%,
			rgba(225, 202, 158, 0.07) 0 1px,
			transparent 2px
		),
		radial-gradient(
			circle at 38% 54%,
			rgba(0, 0, 0, 0.2) 0 2px,
			transparent 3px
		);
	background-size:
		34px 29px,
		47px 53px,
		91px 73px;
	content: "";
	opacity: 0.72;
}

.factory-map__vignette {
	position: absolute;
	z-index: 11;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(
			ellipse at center,
			transparent 55%,
			rgba(4, 6, 5, 0.58) 100%
		),
		linear-gradient(
			105deg,
			rgba(227, 178, 101, 0.035),
			transparent 40% 68%,
			rgba(0, 0, 0, 0.14)
		);
}

.logistics-network {
	position: absolute;
	z-index: 0;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
}

.belt-shadow,
.belt-frame,
.belt-rail,
.belt-bed,
.belt-treads {
	fill: none;
	stroke-linecap: butt;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}

.belt-shadow {
	stroke: rgba(4, 6, 5, 0.78);
	stroke-width: 46px;
	filter: drop-shadow(0 5px 4px rgba(0, 0, 0, 0.58));
}

.belt-frame {
	stroke: #111614;
	stroke-width: 40px;
}

.belt-rail {
	stroke: #625f56;
	stroke-width: 34px;
	filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.75));
}

.belt-bed {
	stroke: #1d2422;
	stroke-width: 24px;
}

.belt-treads {
	stroke: var(--belt-color);
	stroke-width: 18px;
	stroke-dasharray: 3px 12px;
	opacity: var(--belt-opacity);
	filter: var(--belt-filter);
	animation: belt-flow var(--belt-speed) linear infinite;
	transition:
		stroke 180ms ease,
		opacity 180ms ease;
}

.route {
	--belt-color: #a56639;
	--belt-filter: none;
	--belt-opacity: 0.68;
	--belt-speed: 2.3s;
	--drive-color: #a9693b;
	--drive-core: #6d7d55;
	--drive-state: paused;
	opacity: 0.86;
	transition: opacity 180ms ease;
}

.factory-map[data-active-machine="projects"] .route--projects,
.factory-map[data-active-machine="resume"] .route--resume,
.factory-map[data-active-machine="github"] .route--github,
.factory-map[data-active-machine="linkedin"] .route--linkedin,
.factory-map[data-active-machine="contact"] .route--contact {
	--belt-color: var(--orange-bright);
	--belt-filter: url(#route-glow);
	--belt-opacity: 1;
	--belt-speed: 1.15s;
	--drive-color: var(--orange);
	--drive-core: var(--green-bright);
	--drive-state: running;
	opacity: 1;
}

.route--resume .belt-treads {
	animation-delay: -0.42s;
}

.route--github .belt-treads {
	animation-delay: -0.88s;
}

.route--linkedin .belt-treads {
	animation-delay: -1.26s;
}

.route--contact .belt-treads {
	animation-delay: -1.67s;
}

@keyframes belt-flow {
	to {
		stroke-dashoffset: -30px;
	}
}

.drive-node__housing {
	fill: #161c1a;
	stroke: #0c100f;
	stroke-width: 3;
	vector-effect: non-scaling-stroke;
}

.drive-node__rim {
	fill: #4f554f;
	stroke: #8d8576;
	stroke-width: 2;
	vector-effect: non-scaling-stroke;
}

.drive-node__rotor {
	fill: none;
	stroke: var(--drive-color);
	stroke-linecap: round;
	stroke-width: 3;
	transform-box: fill-box;
	transform-origin: center;
	vector-effect: non-scaling-stroke;
	animation: drive-turn 3.2s linear infinite;
	animation-play-state: var(--drive-state);
}

.drive-node__core {
	fill: var(--drive-core);
	stroke: #d5a260;
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
	transition: fill 180ms ease;
}

.belt-coupler rect {
	fill: #4b514d;
	stroke: #111614;
	stroke-width: 3;
	vector-effect: non-scaling-stroke;
}

.belt-coupler path {
	fill: none;
	stroke: #9e9583;
	stroke-width: 1.5;
	vector-effect: non-scaling-stroke;
}

.belt-coupler circle {
	fill: #c3b69d;
	stroke: #171c1a;
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
}

@keyframes drive-turn {
	to {
		transform: rotate(360deg);
	}
}

.factory-pipe {
	position: absolute;
	z-index: -1;
	display: flex;
	align-items: center;
	height: 2.2%;
	min-height: 8px;
	border: 2px solid #151917;
	background: linear-gradient(#746d5f, #3c4440 48%, #262c29 52%, #55574f);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
	transform-origin: left center;
}

.factory-pipe span {
	width: 5%;
	min-width: 8px;
	height: 170%;
	margin-left: 24%;
	border: 1px solid #171a18;
	background: linear-gradient(90deg, #393e3b, #817969 50%, #343936);
}

.factory-pipe--left {
	top: 17%;
	left: 2%;
	width: 29%;
	transform: rotate(-5deg);
}

.factory-pipe--right {
	right: 2%;
	bottom: 18%;
	width: 26%;
	transform: rotate(3deg);
}

.floor-mark {
	position: absolute;
	z-index: -1;
	color: rgba(225, 203, 165, 0.13);
	font-family: var(--mono-font);
	font-size: clamp(8px, 1.2vw, 17px);
	font-weight: 700;
	letter-spacing: 0.22em;
	transform: rotate(-8deg);
}

.floor-mark--north {
	top: 14%;
	left: 34%;
}

.floor-mark--south {
	right: 31%;
	bottom: 12%;
}

.identity-hub {
	position: absolute;
	z-index: 5;
	top: 35%;
	left: 38%;
	width: 24%;
	min-width: 0;
	padding: clamp(11px, 1.25vw, 20px);
	border: 2px solid #151917;
	border-radius: 2px;
	background: linear-gradient(#66645b, #3f4540 58%, #343a36);
	box-shadow:
		var(--bevel),
		0 14px 20px rgba(0, 0, 0, 0.42);
	text-align: center;
}

.identity-hub::before,
.identity-hub::after {
	position: absolute;
	top: 8px;
	width: 7px;
	height: 7px;
	border: 1px solid #212522;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #c1b59d, #4c504a 68%);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
	content: "";
}

.identity-hub::before {
	left: 8px;
}

.identity-hub::after {
	right: 8px;
}

.identity-hub__eyebrow,
.section-label,
.machine-window__kicker {
	display: block;
	color: #c58c53;
	font-family: var(--mono-font);
	font-size: clamp(6px, 0.58vw, 9px);
	letter-spacing: 0.16em;
}

.identity-hub h1 {
	margin: clamp(6px, 0.7vw, 11px) 0 3px;
	color: var(--paper);
	font-size: clamp(16px, 1.9vw, 31px);
	font-stretch: condensed;
	letter-spacing: 0.12em;
	line-height: 0.95;
	text-shadow: 0 2px 1px #171a18;
}

.identity-hub > p {
	margin: 0;
	color: #d1c7b7;
	font-family: var(--mono-font);
	font-size: clamp(6px, 0.64vw, 10px);
	letter-spacing: 0.13em;
}

.identity-hub .identity-hub__education {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: clamp(6px, 0.7vw, 11px);
	padding: clamp(5px, 0.55vw, 8px);
	border: 1px solid #252a27;
	background: rgba(18, 22, 20, 0.5);
	box-shadow: var(--deep-bevel);
	color: #b5ad9e;
	font-size: clamp(5px, 0.52vw, 8px);
}

.identity-hub__education span {
	color: var(--orange-bright);
	white-space: nowrap;
}

.identity-hub .identity-hub__intro {
	margin-top: clamp(6px, 0.65vw, 10px);
	color: #d7cfc1;
	font-size: clamp(6px, 0.56vw, 9px);
	letter-spacing: 0.025em;
	line-height: 1.45;
}

.identity-hub__status {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: clamp(6px, 0.65vw, 10px);
	color: #9fb38f;
	font-family: var(--mono-font);
	font-size: clamp(5px, 0.48vw, 8px);
	letter-spacing: 0.08em;
}

.machine {
	position: absolute;
	z-index: 4;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	transform: translateY(0);
	transform-origin: center 75%;
	transition: transform 180ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.machine--projects {
	top: 20%;
	left: 4.5%;
	width: 25%;
}

.machine--resume {
	top: 20%;
	left: 73%;
	width: 19%;
}

.machine--github {
	top: 64%;
	left: 8%;
	width: 20%;
}

.machine--linkedin {
	top: 64%;
	left: 72%;
	width: 20%;
}

.machine--contact {
	top: max(2%, 18px);
	left: 42%;
	width: 16%;
}

.machine--contact .machine-tooltip {
	top: calc(100% + 5px);
	bottom: auto;
}

.machine:hover,
.machine:focus-visible {
	z-index: 9;
	transform: translateY(-5px) scale(1.025);
}

.machine:active {
	transform: translateY(1px) scale(0.99);
}

.machine__art {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 8px 5px rgba(0, 0, 0, 0.45));
	pointer-events: none;
}

/* Animated machinery overlays stay aligned to each 320 x 240 machine asset. */

.machine__motion {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: visible;
	pointer-events: none;
}

.machine__motion i {
	position: absolute;
	display: block;
	font-style: normal;
}

.machine--projects .machine__art,
.machine--projects .machine__motion--assembler {
	animation: machine-thrum 1.7s steps(2, end) infinite;
	transform-origin: 50% 82%;
}

@keyframes machine-thrum {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-1px);
	}
}

.machine__gear {
	top: 36%;
	left: 39.5%;
	width: 21%;
	aspect-ratio: 1;
	border: clamp(1px, 0.16vw, 2px) dashed rgba(239, 151, 70, 0.82);
	border-radius: 50%;
	box-shadow:
		inset 0 0 0 clamp(2px, 0.3vw, 4px) rgba(22, 28, 27, 0.45),
		0 0 7px rgba(233, 138, 47, 0.18);
	animation: machine-gear-turn 4.8s linear infinite;
}

.machine__gear::before,
.machine__gear::after {
	position: absolute;
	top: 48%;
	left: 13%;
	width: 74%;
	height: 4%;
	border-radius: 999px;
	background: rgba(225, 132, 55, 0.68);
	box-shadow: 0 0 3px rgba(233, 138, 47, 0.35);
	content: "";
}

.machine__gear::after {
	transform: rotate(90deg);
}

@keyframes machine-gear-turn {
	to {
		transform: rotate(360deg);
	}
}

.machine__spark {
	top: 57%;
	left: 45%;
	width: clamp(2px, 0.28vw, 4px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: #ffd58a;
	box-shadow: 0 0 5px #f0933d;
	opacity: 0;
	animation: machine-spark 3.2s ease-out infinite;
}

.machine__spark--two {
	left: 52%;
	animation-delay: -3.08s;
}

.machine__spark--three {
	top: 55%;
	left: 49%;
	animation-delay: -2.96s;
}

@keyframes machine-spark {
	0%,
	84%,
	100% {
		opacity: 0;
		transform: translate(0, 0) scale(0.5);
	}
	87% {
		opacity: 1;
	}
	96% {
		opacity: 0;
		transform: translate(-9px, 12px) scale(1.2);
	}
}

.machine--projects .machine__steam {
	animation: steam-puff 4.8s ease-out infinite;
}

.machine__archive-scan {
	top: 25%;
	left: 25.5%;
	width: 48.5%;
	height: clamp(1px, 0.18vw, 3px);
	background: linear-gradient(90deg, transparent, #b9e681 22% 78%, transparent);
	box-shadow: 0 0 8px rgba(185, 230, 129, 0.75);
	opacity: 0;
	animation: archive-scan 4.6s ease-in-out infinite;
}

@keyframes archive-scan {
	0%,
	12% {
		opacity: 0;
		transform: translateY(0);
	}
	18% {
		opacity: 0.82;
	}
	70% {
		opacity: 0.48;
		transform: translateY(5200%);
	}
	76%,
	100% {
		opacity: 0;
		transform: translateY(5200%);
	}
}

.machine__archive-dial {
	top: 43.5%;
	left: 64.5%;
	width: 10.5%;
	aspect-ratio: 1;
	border: clamp(1px, 0.16vw, 2px) dashed rgba(225, 137, 61, 0.78);
	border-radius: 50%;
	animation: archive-dial 8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.machine__archive-dial::before {
	position: absolute;
	top: 12%;
	left: calc(50% - 1px);
	width: 2px;
	height: 35%;
	border-radius: 2px;
	background: #e29549;
	content: "";
}

@keyframes archive-dial {
	0%,
	20% {
		transform: rotate(0);
	}
	38%,
	68% {
		transform: rotate(135deg);
	}
	86%,
	100% {
		transform: rotate(360deg);
	}
}

.machine__code-screen {
	top: 35.5%;
	left: 20.5%;
	width: 35.5%;
	height: 26%;
	overflow: hidden;
	border-radius: 2px;
}

.machine__code-screen::before {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		transparent 0 44%,
		rgba(118, 182, 92, 0.2) 48%,
		rgba(185, 230, 129, 0.68) 50%,
		transparent 54%
	);
	content: "";
	animation: code-screen-scan 2.8s linear infinite;
}

.machine__code-screen::after {
	position: absolute;
	right: 12%;
	bottom: 14%;
	width: 12%;
	height: 4%;
	background: #b9e681;
	box-shadow: 0 0 4px rgba(185, 230, 129, 0.72);
	content: "";
	animation: code-cursor 900ms steps(2, end) infinite;
}

@keyframes code-screen-scan {
	from {
		transform: translateY(-55%);
	}
	to {
		transform: translateY(55%);
	}
}

@keyframes code-cursor {
	50% {
		opacity: 0;
	}
}

.machine__uplink-ring {
	top: -2%;
	left: 72%;
	width: 19%;
	aspect-ratio: 1;
	border: clamp(1px, 0.18vw, 3px) solid transparent;
	border-top-color: rgba(245, 159, 77, 0.9);
	border-right-color: rgba(245, 159, 77, 0.45);
	border-radius: 50%;
	animation: uplink-ping 2.4s ease-out infinite;
}

@keyframes uplink-ping {
	0% {
		opacity: 0;
		transform: scale(0.3) rotate(-35deg);
	}
	18% {
		opacity: 0.92;
	}
	72%,
	100% {
		opacity: 0;
		transform: scale(1.5) rotate(28deg);
	}
}

.machine__rack-lights {
	top: 36.5%;
	left: 79%;
	width: clamp(2px, 0.28vw, 4px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: #b9e681;
	box-shadow:
		0 clamp(14px, 2.7vw, 43px) 0 #e98a2f,
		0 clamp(27px, 5.2vw, 81px) 0 #b9e681,
		0 0 5px rgba(185, 230, 129, 0.6);
	animation: rack-lights 1.3s steps(2, end) infinite;
}

@keyframes rack-lights {
	50% {
		opacity: 0.32;
	}
}

.machine__network-wave {
	top: 7%;
	left: 41%;
	width: 18%;
	aspect-ratio: 1;
	border: clamp(1px, 0.18vw, 3px) solid rgba(239, 148, 67, 0.72);
	border-radius: 50%;
	opacity: 0;
	animation: relay-wave 2.7s ease-out infinite;
}

@keyframes relay-wave {
	0% {
		opacity: 0.75;
		transform: scale(0.2);
	}
	75%,
	100% {
		opacity: 0;
		transform: scale(1.9);
	}
}

.machine__network-node {
	width: clamp(3px, 0.38vw, 6px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: #b9e681;
	box-shadow: 0 0 7px rgba(185, 230, 129, 0.9);
	animation: relay-node 2.1s ease-in-out infinite;
}

.machine__network-node:nth-of-type(2) {
	top: 21%;
	left: 20.5%;
}

.machine__network-node:nth-of-type(3) {
	top: 11%;
	left: 31.5%;
	animation-delay: -0.35s;
}

.machine__network-node:nth-of-type(4) {
	top: 21%;
	right: 14%;
	animation-delay: -0.7s;
}

.machine__network-node:nth-of-type(5) {
	top: 11%;
	right: 27%;
	animation-delay: -1.05s;
}

.machine__network-node:nth-of-type(6) {
	top: 51%;
	left: 15%;
	animation-delay: -1.4s;
}

.machine__network-node:nth-of-type(7) {
	top: 51%;
	right: 9.5%;
	animation-delay: -1.75s;
}

@keyframes relay-node {
	0%,
	100% {
		opacity: 0.28;
		transform: scale(0.72);
	}
	45% {
		opacity: 1;
		transform: scale(1.5);
	}
}

.machine__radar-sweep {
	top: 36.5%;
	left: 34%;
	width: 34%;
	height: clamp(1px, 0.18vw, 3px);
	background: linear-gradient(90deg, #b9e681, rgba(185, 230, 129, 0));
	box-shadow: -2px 0 4px rgba(185, 230, 129, 0.7);
	transform: rotate(-24deg);
	transform-origin: left center;
	animation: radar-search 3.4s ease-in-out infinite alternate;
}

.machine__radar-sweep::after {
	position: absolute;
	right: 0;
	top: 50%;
	width: clamp(3px, 0.38vw, 6px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: #eaf9bb;
	box-shadow: 0 0 8px #b9e681;
	content: "";
	transform: translateY(-50%);
}

@keyframes radar-search {
	from {
		opacity: 0.34;
		transform: rotate(-45deg);
	}
	to {
		opacity: 0.92;
		transform: rotate(-9deg);
	}
}

.machine__radar-echo {
	top: 15%;
	left: 49%;
	width: 18%;
	aspect-ratio: 1;
	border: clamp(1px, 0.18vw, 3px) solid transparent;
	border-top-color: rgba(233, 138, 47, 0.88);
	border-right-color: rgba(233, 138, 47, 0.36);
	border-radius: 50%;
	opacity: 0;
	animation: radar-echo 2.6s ease-out infinite;
}

.machine__radar-echo--two {
	animation-delay: -1.3s;
}

@keyframes radar-echo {
	0% {
		opacity: 0.72;
		transform: scale(0.35) rotate(-25deg);
	}
	72%,
	100% {
		opacity: 0;
		transform: scale(1.8) rotate(16deg);
	}
}

.machine:hover .machine__gear,
.machine:focus-visible .machine__gear {
	animation-duration: 2.4s;
}

.machine:hover .machine__archive-scan,
.machine:focus-visible .machine__archive-scan {
	animation-duration: 2.5s;
}

.machine:hover .machine__uplink-ring,
.machine:focus-visible .machine__uplink-ring,
.machine:hover .machine__network-wave,
.machine:focus-visible .machine__network-wave,
.machine:hover .machine__radar-echo,
.machine:focus-visible .machine__radar-echo {
	animation-duration: 1.45s;
}

.machine__plate {
	position: relative;
	z-index: 3;
	display: grid;
	justify-items: center;
	width: min(88%, 230px);
	min-width: 0;
	margin-top: clamp(-23px, -1.45vw, -10px);
	padding: clamp(5px, 0.55vw, 9px) 8px;
	border: 1px solid #121613;
	border-radius: 2px;
	background: linear-gradient(#67645b, #393e3a 52%, #303532);
	box-shadow: var(--bevel);
	color: #e5ddcf;
	text-align: center;
	transition:
		background 150ms ease,
		color 150ms ease;
}

.machine__plate::before,
.machine__plate::after {
	position: absolute;
	top: 50%;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #aaa08e;
	box-shadow: 0 1px 1px #111;
	content: "";
	transform: translateY(-50%);
}

.machine__plate::before {
	left: 6px;
}

.machine__plate::after {
	right: 6px;
}

.machine__plate strong {
	max-width: 90%;
	overflow: hidden;
	font-size: clamp(10px, 0.77vw, 12px);
	letter-spacing: 0.11em;
	line-height: 1.05;
	text-overflow: ellipsis;
	text-shadow: 0 1px 1px #111;
	white-space: nowrap;
}

.machine__plate small {
	margin-top: 3px;
	color: #c28a50;
	font-family: var(--mono-font);
	font-size: clamp(5px, 0.5vw, 8px);
	letter-spacing: 0.13em;
}

.machine:hover .machine__plate,
.machine:focus-visible .machine__plate {
	background: linear-gradient(#f0a34b, #cc702f 52%, #9c4c29);
	color: #211a13;
}

.machine:hover .machine__plate strong,
.machine:focus-visible .machine__plate strong,
.machine:hover .machine__plate small,
.machine:focus-visible .machine__plate small {
	color: #211a13;
	text-shadow: 0 1px rgba(255, 255, 255, 0.25);
}

.machine__light {
	position: absolute;
	z-index: 5;
	top: 23%;
	right: 17%;
	width: clamp(6px, 0.72vw, 11px);
	height: clamp(6px, 0.72vw, 11px);
	border: 2px solid #171c18;
	border-radius: 50%;
	background: var(--green);
	box-shadow: 0 0 8px rgba(118, 182, 92, 0.55);
	pointer-events: none;
}

.machine__light--warning {
	background: var(--yellow);
	box-shadow: 0 0 8px rgba(226, 189, 79, 0.55);
}

.machine:hover .machine__light,
.machine:focus-visible .machine__light {
	background: var(--green-bright);
	box-shadow: 0 0 14px rgba(185, 230, 129, 0.88);
	animation: lamp-pulse 700ms ease-out;
}

@keyframes lamp-pulse {
	50% {
		transform: scale(1.45);
	}
}

.machine__steam {
	position: absolute;
	z-index: 1;
	top: 20%;
	left: 30%;
	width: 8%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: rgba(203, 210, 196, 0.2);
	opacity: 0;
	pointer-events: none;
}

.machine:hover .machine__steam,
.machine:focus-visible .machine__steam {
	animation: steam-puff 900ms ease-out;
}

@keyframes steam-puff {
	0% {
		opacity: 0;
		transform: translate(0, 0) scale(0.25);
	}
	25% {
		opacity: 0.5;
	}
	100% {
		opacity: 0;
		transform: translate(-10px, -28px) scale(2.4);
	}
}

.machine__signal {
	position: absolute;
	z-index: 0;
	top: 14%;
	right: 14%;
	width: 24%;
	aspect-ratio: 1;
	border: 2px solid transparent;
	border-top-color: rgba(233, 138, 47, 0.5);
	border-radius: 50%;
	opacity: 0;
	pointer-events: none;
}

.machine:hover .machine__signal,
.machine:focus-visible .machine__signal {
	animation: signal-ring 1.2s ease-out infinite;
}

@keyframes signal-ring {
	0% {
		opacity: 0.8;
		transform: scale(0.4);
	}
	100% {
		opacity: 0;
		transform: scale(1.9);
	}
}

.machine__metadata {
	position: absolute;
	z-index: 5;
	top: calc(100% + 5px);
	max-width: 120%;
	padding: 3px 6px;
	border: 1px solid rgba(107, 111, 103, 0.45);
	background: rgba(13, 16, 14, 0.82);
	color: #ad9c86;
	font-family: var(--mono-font);
	font-size: clamp(5px, 0.45vw, 7px);
	letter-spacing: 0.07em;
	white-space: nowrap;
}

.machine-tooltip {
	position: absolute;
	z-index: 20;
	bottom: calc(100% - 14px);
	left: 50%;
	width: max-content;
	max-width: 240px;
	padding: 8px 10px;
	border: 1px solid #867d6d;
	background: #202421;
	box-shadow: 0 5px 12px rgba(0, 0, 0, 0.45);
	color: #ddd4c5;
	font-family: var(--mono-font);
	font-size: 9px;
	line-height: 1.4;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 5px);
	transition:
		opacity 130ms ease 120ms,
		transform 130ms ease 120ms;
}

.machine:hover .machine-tooltip,
.machine:focus-visible .machine-tooltip {
	opacity: 1;
	transform: translate(-50%, 0);
}

.factory-instruction {
	position: absolute;
	bottom: 5px;
	left: 50%;
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	color: #767a70;
	font-family: var(--mono-font);
	font-size: 8px;
	letter-spacing: 0.06em;
	transform: translateX(-50%);
	white-space: nowrap;
}

.factory-instruction > span:first-child {
	color: #b77a42;
}

.factory-instruction__divider {
	width: 2px;
	height: 2px;
	border-radius: 50%;
	background: #77786f;
}

/* Factorio-inspired content windows */

.machine-window {
	width: min(100%, 1240px);
	min-height: min(100%, 690px);
	margin: 0 auto;
	border: 2px solid #151917;
	border-radius: 3px;
	background: linear-gradient(135deg, #57564f, #383d38 45%, #303531);
	box-shadow:
		0 0 0 2px #777064,
		0 0 0 5px #151816,
		0 22px 55px rgba(0, 0, 0, 0.62),
		inset 1px 1px rgba(255, 255, 255, 0.1);
}

.machine-window--compact {
	width: min(100%, 940px);
	min-height: 0;
}

.machine-window__titlebar {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 64px;
	padding: 10px 12px 10px 18px;
	border-bottom: 2px solid #242824;
	background: linear-gradient(#5e5c54, #424641);
	box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08);
}

.machine-window__titlebar > div {
	min-width: 0;
}

.machine-window__titlebar h1 {
	margin: 2px 0 0;
	color: var(--paper);
	font-size: clamp(22px, 3vw, 34px);
	font-weight: 700;
	letter-spacing: 0.045em;
	line-height: 1;
	text-shadow: 0 2px 1px #181b19;
}

.machine-window__kicker {
	font-size: 8px;
}

.machine-window__grip {
	position: relative;
	flex: 1;
	height: 28px;
	min-width: 24px;
	overflow: hidden;
}

.machine-window__grip::before {
	position: absolute;
	top: 50%;
	right: 12px;
	left: 12px;
	height: 12px;
	background: repeating-linear-gradient(
		to bottom,
		rgba(20, 24, 21, 0.55) 0 1px,
		rgba(255, 255, 255, 0.08) 1px 2px,
		transparent 2px 4px
	);
	content: "";
	transform: translateY(-50%);
}

.window-close,
.ecosystem-close {
	display: grid;
	flex: none;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid #1c201d;
	border-radius: 2px;
	background: linear-gradient(#777268, #4a4d48);
	box-shadow: var(--bevel);
	color: #ded7ca;
	font-family: Arial, sans-serif;
	font-size: 27px;
	line-height: 1;
	text-decoration: none;
}

.window-close:hover,
.ecosystem-close:hover {
	background: linear-gradient(#ef9b48, #b85b2c);
	color: #201914;
}

.window-close:active,
.ecosystem-close:active {
	padding-top: 2px;
	box-shadow: var(--deep-bevel);
}

.project-console {
	display: grid;
	grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
	gap: 12px;
	min-height: 610px;
	padding: 12px;
}

.project-catalog,
.project-detail,
.resume-console,
.contact-console {
	border: 2px solid #242824;
	box-shadow: var(--deep-bevel);
}

.project-catalog {
	background: #625f56;
}

.project-detail,
.resume-console,
.contact-console {
	background: #918b7e;
}

.project-catalog {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.subheader {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 42px;
	padding: 8px 11px;
	border-bottom: 2px solid #202521;
	background: #303531;
	color: #d8d0c1;
}

.subheader h2 {
	margin: 0;
	font-size: 13px;
	letter-spacing: 0.07em;
}

.subheader span {
	color: #b8af9e;
	font-family: var(--mono-font);
	font-size: 9px;
}

.project-slot {
	position: relative;
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 10px;
	align-items: center;
	min-height: 98px;
	margin: 10px;
	padding: 9px;
	border: 2px solid #252a26;
	border-radius: 2px;
	background: linear-gradient(#777267, #55584f);
	box-shadow: var(--bevel);
	color: #eee5d6;
	font: inherit;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.project-slot:hover,
.project-slot:focus-visible,
.project-slot.is-selected {
	border-color: #75411f;
	background: linear-gradient(#e69a47, #b7602d 52%, #8f4827);
	color: #201a14;
}

.project-slot__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 76px;
	height: 76px;
	overflow: hidden;
	border: 2px solid #272b28;
	background: #202623;
	box-shadow: var(--deep-bevel);
}

.project-slot__icon img {
	width: 94px;
	max-width: none;
}

.project-slot__icon > span {
	position: absolute;
	right: 3px;
	bottom: 2px;
	color: #efe5d5;
	font-family: var(--mono-font);
	font-size: 9px;
	text-shadow: 0 1px 2px #000;
}

.project-slot__copy {
	display: grid;
	min-width: 0;
}

.project-slot__copy strong {
	overflow: hidden;
	font-size: 15px;
	letter-spacing: 0.04em;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.project-slot__copy small {
	margin-top: 4px;
	color: #bcb3a4;
	font-family: var(--mono-font);
	font-size: 8px;
}

.project-slot:hover .project-slot__copy small,
.project-slot:focus-visible .project-slot__copy small,
.project-slot.is-selected .project-slot__copy small {
	color: #34251b;
}

.project-slot__status {
	grid-column: 2;
	color: #23291f;
	font-family: var(--mono-font);
	font-size: 7px;
	letter-spacing: 0.08em;
}

.project-slot__status i {
	width: 6px;
	height: 6px;
	box-shadow: none;
}

.catalog-readout {
	display: grid;
	gap: 3px;
	margin: auto 10px 10px;
	padding: 11px;
	border: 1px solid #252a26;
	background: #272c29;
	box-shadow: var(--deep-bevel);
	font-family: var(--mono-font);
}

.catalog-readout span {
	color: #aaa393;
	font-size: 7px;
	letter-spacing: 0.11em;
}

.catalog-readout strong {
	color: #c8bead;
	font-size: 10px;
	font-weight: 400;
}

.project-detail {
	display: grid;
	grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
	gap: clamp(18px, 3vw, 40px);
	min-width: 0;
	padding: clamp(16px, 2.5vw, 34px);
}

.project-detail[hidden] {
	display: none;
}

.project-detail__visual {
	align-self: center;
	min-width: 0;
}

.project-detail__screen {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border: 5px solid #343a36;
	border-radius: 2px;
	background: radial-gradient(circle at center, #173127, #09110e 72%), #09110e;
	box-shadow:
		0 0 0 2px #1a1e1b,
		0 0 0 4px #80786a,
		var(--deep-bevel),
		0 13px 18px rgba(0, 0, 0, 0.35);
}

.project-detail__screen--cpu {
	background: radial-gradient(circle at 50% 43%, #173955, #09131f 72%), #09131f;
}

.project-detail__screen--cpu .scan-sweep {
	background: linear-gradient(
		to bottom,
		transparent,
		rgba(84, 184, 255, 0.14),
		transparent
	);
}

.project-detail__screen--cpu .screen-corner {
	border-color: rgba(115, 199, 255, 0.58);
}

.project-detail__screen::after {
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		to bottom,
		rgba(185, 230, 129, 0.025) 0,
		rgba(185, 230, 129, 0.025) 1px,
		transparent 1px,
		transparent 4px
	);
	content: "";
	pointer-events: none;
}

.project-detail__screen img {
	width: 88%;
	height: auto;
	filter: drop-shadow(0 11px 8px rgba(0, 0, 0, 0.55));
}

.scan-sweep {
	position: absolute;
	z-index: 2;
	top: -30%;
	left: 0;
	width: 100%;
	height: 20%;
	background: linear-gradient(
		to bottom,
		transparent,
		rgba(131, 203, 116, 0.13),
		transparent
	);
	animation: scan-sweep 4.8s linear infinite;
	pointer-events: none;
}

@keyframes scan-sweep {
	to {
		transform: translateY(680%);
	}
}

.screen-corner {
	position: absolute;
	z-index: 3;
	width: 22px;
	height: 22px;
	border-color: rgba(185, 230, 129, 0.55);
	border-style: solid;
}

.screen-corner--tl {
	top: 9px;
	left: 9px;
	border-width: 1px 0 0 1px;
}

.screen-corner--br {
	right: 9px;
	bottom: 9px;
	border-width: 0 1px 1px 0;
}

.project-detail__telemetry {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin-top: 10px;
	padding: 9px 11px;
	border: 1px solid #242824;
	background: #292e2b;
	box-shadow: var(--deep-bevel);
	color: #a6a092;
	font-family: var(--mono-font);
	font-size: 8px;
	letter-spacing: 0.07em;
}

.status-light--green {
	width: 6px;
	height: 6px;
}

.project-detail__content {
	align-self: center;
	min-width: 0;
}

.section-label {
	margin: 0 0 8px;
	font-size: 8px;
}

.project-detail .section-label {
	color: #321d12;
	font-weight: 700;
}

.project-detail__content h2,
.resume-console__content h2,
.contact-console__content h2 {
	margin: 0;
	color: #20211d;
	font-size: clamp(27px, 4vw, 47px);
	letter-spacing: -0.015em;
	line-height: 0.98;
	text-shadow: 0 1px rgba(255, 255, 255, 0.18);
}

.project-lede,
.resume-console__content > p,
.contact-console__content > p {
	color: #20211d;
	font-family: var(--mono-font);
	font-size: 11px;
	line-height: 1.72;
}

.project-lede {
	max-width: 62ch;
	margin: 15px 0 20px;
}

.project-specs {
	display: grid;
	gap: 1px;
	margin: 0;
	border: 1px solid #403f38;
	background: #403f38;
}

.project-specs div {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 12px;
	padding: 8px 10px;
	background: rgba(224, 216, 200, 0.16);
}

.project-specs dt {
	color: #261d15;
	font-family: var(--mono-font);
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.project-specs dd {
	margin: 0;
	color: #20211d;
	font-size: 11px;
}

.project-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 15px;
}

.project-tags span {
	padding: 5px 8px;
	border: 1px solid #3e4039;
	border-radius: 2px;
	background: #4a4b43;
	box-shadow: inset 1px 1px rgba(255, 255, 255, 0.08);
	color: #d7cebf;
	font-family: var(--mono-font);
	font-size: 8px;
}

.window-actions,
.contact-links {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 20px;
}

.industrial-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 9px 15px;
	border: 1px solid #20241f;
	border-radius: 2px;
	background: linear-gradient(#747168, #4a4e48);
	box-shadow: var(--bevel);
	color: #eee5d6;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	cursor: pointer;
}

.industrial-button:hover {
	background: linear-gradient(#858074, #5a5d55);
	color: #fff9eb;
}

.industrial-button--primary {
	background: linear-gradient(#f0a24a, #cc702f 55%, #a44f29);
	color: #271c13;
	text-shadow: 0 1px rgba(255, 255, 255, 0.25);
}

.industrial-button--primary:hover {
	background: linear-gradient(#ffb85d, #e08234 55%, #b9582b);
	color: #1e1711;
}

.industrial-button:active {
	padding-top: 11px;
	padding-bottom: 7px;
	box-shadow: var(--deep-bevel);
}

/* Resume and contact consoles */

.resume-console,
.contact-console {
	display: grid;
	grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
	gap: clamp(22px, 4vw, 56px);
	margin: 12px;
	padding: clamp(18px, 4vw, 48px);
}

.resume-console__vault,
.contact-console__radar {
	position: relative;
	display: grid;
	place-items: center;
	align-self: center;
	min-width: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border: 4px solid #313632;
	background: radial-gradient(circle at center, #252e29, #131816 72%), #151916;
	box-shadow:
		0 0 0 2px #171a18,
		0 0 0 4px #81796a,
		var(--deep-bevel);
}

.resume-console__vault img,
.contact-console__radar img {
	position: relative;
	z-index: 2;
	width: 91%;
	filter: drop-shadow(0 12px 8px rgba(0, 0, 0, 0.55));
}

.vault-scan {
	position: absolute;
	z-index: 3;
	top: 5%;
	bottom: 5%;
	left: 0;
	width: 2px;
	background: rgba(226, 189, 79, 0.72);
	box-shadow: 0 0 10px rgba(226, 189, 79, 0.65);
	animation: vault-scan 3.8s ease-in-out infinite alternate;
}

@keyframes vault-scan {
	to {
		transform: translateX(430px);
	}
}

.resume-console__content,
.contact-console__content {
	align-self: center;
	color: #20211d;
}

.status-badge {
	display: inline-flex;
	align-items: center;
	min-height: 27px;
	margin-bottom: 13px;
	padding: 5px 9px;
	border: 1px solid #3b3b35;
	background: rgba(38, 41, 37, 0.15);
	color: #0a0c09;
	font-family: var(--mono-font);
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.09em;
}

.status-badge--warning i {
	background: var(--yellow);
	box-shadow: 0 0 7px rgba(226, 189, 79, 0.5);
}

.status-badge--ready i {
	background: var(--green);
}

.document-slot {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	gap: 11px;
	align-items: center;
	min-height: 44px;
	margin: 20px 0 12px;
	padding: 10px;
	border: 2px solid #3a3a34;
	background: rgba(37, 41, 37, 0.18);
	box-shadow: var(--deep-bevel);
	color: #20211d;
	text-decoration: none;
}

.document-slot:hover,
.document-slot:focus-visible {
	border-color: #7d4b2a;
	background: rgba(233, 138, 47, 0.16);
}

.document-slot__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 58px;
	border: 2px solid #5d5548;
	background: #d0c7b8;
	color: #3e3a33;
	font-family: var(--mono-font);
	font-size: 10px;
	font-weight: 700;
}

.document-slot > span:nth-child(2) {
	display: grid;
	min-width: 0;
}

.document-slot strong {
	overflow: hidden;
	color: #000;
	font-family: var(--mono-font);
	font-size: 10px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.document-slot small {
	margin-top: 4px;
	color: #000;
	font-size: 9px;
}

.document-slot__state {
	color: #000;
	font-family: var(--mono-font);
	font-size: 8px;
	font-weight: 700;
}

.technical-note {
	padding: 7px;
	border-left: 3px solid #8f5a33;
	background: rgba(36, 39, 35, 0.13);
	font-family: var(--mono-font) !important;
	font-size: 8px !important;
}

.radar-grid {
	position: absolute;
	z-index: 0;
	width: 76%;
	aspect-ratio: 1;
	border: 1px solid rgba(118, 182, 92, 0.2);
	border-radius: 50%;
	background:
		linear-gradient(
			90deg,
			transparent 49.7%,
			rgba(118, 182, 92, 0.18) 50%,
			transparent 50.3%
		),
		linear-gradient(
			transparent 49.7%,
			rgba(118, 182, 92, 0.18) 50%,
			transparent 50.3%
		),
		repeating-radial-gradient(
			circle,
			transparent 0 22%,
			rgba(118, 182, 92, 0.16) 22.5% 23%,
			transparent 23.5% 44%
		);
}

.radar-sweep {
	position: absolute;
	z-index: 1;
	width: 76%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: conic-gradient(
		from 0deg,
		transparent 0 318deg,
		rgba(118, 182, 92, 0.02) 323deg,
		rgba(118, 182, 92, 0.32) 356deg,
		transparent 360deg
	);
	animation: radar-sweep 4s linear infinite;
}

@keyframes radar-sweep {
	to {
		transform: rotate(1turn);
	}
}

.radar-blip {
	position: absolute;
	z-index: 2;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--green-bright);
	box-shadow: 0 0 9px var(--green-bright);
	animation: blip 2s steps(1) infinite;
}

.radar-blip--one {
	top: 31%;
	left: 62%;
}

.radar-blip--two {
	top: 56%;
	left: 35%;
	animation-delay: 900ms;
}

@keyframes blip {
	0%,
	20% {
		opacity: 1;
	}
	21%,
	100% {
		opacity: 0.18;
	}
}

.email-channel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 6px 12px;
	margin-top: 20px;
	padding: 13px;
	border: 2px solid #383a34;
	background: rgba(31, 35, 31, 0.17);
	box-shadow: var(--deep-bevel);
}

.email-channel__label {
	grid-column: 1 / -1;
	color: #000;
	font-family: var(--mono-font);
	font-size: 7px;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.email-channel a {
	align-self: center;
	overflow-wrap: anywhere;
	color: #000;
	font-family: var(--mono-font);
	font-size: clamp(12px, 2vw, 17px);
	font-weight: 700;
	text-decoration-color: #8d5633;
	text-underline-offset: 4px;
}

.email-channel button {
	min-height: 36px;
	padding: 7px 10px;
	border: 1px solid #31332e;
	background: linear-gradient(#737067, #4c5049);
	box-shadow: var(--bevel);
	color: #e3dbcd;
	font-family: var(--mono-font);
	font-size: 8px;
	cursor: pointer;
}

.email-channel button:hover {
	background: linear-gradient(#ef9f49, #b75d2e);
	color: #211914;
}

/* Quickbar */

.quickbar {
	position: relative;
	z-index: 55;
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 4px;
	min-width: 0;
	padding: 7px max(10px, env(safe-area-inset-right))
		max(7px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
	overflow-x: auto;
	overflow-y: hidden;
	border-top: 3px solid #171a18;
	background:
		linear-gradient(
			90deg,
			rgba(255, 255, 255, 0.04),
			transparent 25% 75%,
			rgba(0, 0, 0, 0.13)
		),
		linear-gradient(#4e504a, #343936);
	box-shadow:
		inset 0 1px rgba(255, 255, 255, 0.12),
		0 -7px 18px rgba(0, 0, 0, 0.42);
	scrollbar-width: none;
}

.quickbar::-webkit-scrollbar {
	display: none;
}

.quickbar-slot {
	position: relative;
	display: grid;
	grid-template-rows: minmax(34px, 1fr) auto;
	flex: 0 0 86px;
	place-items: center;
	min-width: 0;
	padding: 5px 4px 4px;
	border: 1px solid #1b201c;
	border-radius: 2px;
	background: linear-gradient(#626158, #414640 60%, #363b37);
	box-shadow: var(--bevel);
	color: #cfc7b9;
	font-family: var(--mono-font);
	font-size: 9px;
	letter-spacing: 0.04em;
	text-align: center;
	text-decoration: none;
}

.quickbar-slot:hover,
.quickbar-slot[aria-current="page"] {
	background: linear-gradient(#eda048, #bd632f 58%, #8e4828);
	color: #201914;
}

.quickbar-slot:active {
	padding-top: 7px;
	padding-bottom: 2px;
	box-shadow: var(--deep-bevel);
}

.quickbar-slot img {
	width: 34px;
	height: 34px;
}

.quickbar-slot > span:last-child {
	white-space: nowrap;
}

.quickbar-slot__number {
	position: absolute;
	z-index: 2;
	top: 3px;
	left: 5px;
	color: #aaa393;
	font-size: 7px;
}

.quickbar-slot:hover .quickbar-slot__number,
.quickbar-slot[aria-current="page"] .quickbar-slot__number {
	color: #3e291c;
}

.quickbar-slot__glyph {
	display: grid;
	place-items: center;
	min-width: 36px;
	height: 34px;
	color: #d6cbb9;
	font-size: 13px;
	font-weight: 700;
	text-shadow: 0 2px #171a18;
}

.quickbar-slot__glyph--gear {
	width: 30px;
	min-width: 30px;
	height: 30px;
	border: 6px dotted #b9783d;
	border-radius: 50%;
	background: #303633;
	box-shadow: 0 0 0 4px #303633;
}

.quickbar-slot__glyph--gear::after {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ae7040;
	content: "";
}

.quickbar-slot__glyph--file {
	width: 27px;
	min-width: 27px;
	height: 34px;
	border: 2px solid #a49b8a;
	background: #464b46;
	font-size: 7px;
}

.quickbar-slot__glyph--code {
	color: #d48a43;
	font-family: var(--mono-font);
}

.quickbar-slot__glyph--network {
	color: #76a4a4;
	font-size: 10px;
}

.quickbar-slot__glyph--signal {
	color: #d18a42;
	font-size: 11px;
	transform: rotate(-28deg);
}

.quickbar-slot:hover .quickbar-slot__glyph,
.quickbar-slot[aria-current="page"] .quickbar-slot__glyph {
	color: #2a2018;
	text-shadow: none;
}

.quickbar-slot:hover .quickbar-slot__glyph--gear,
.quickbar-slot[aria-current="page"] .quickbar-slot__glyph--gear {
	border-color: #33271e;
	background: #d77b33;
	box-shadow: 0 0 0 4px #d77b33;
}

/* Alt mode and global feedback */

.alt-data {
	display: none !important;
}

.site-shell.is-alt-mode .alt-data {
	display: inline-flex !important;
}

.site-shell.is-alt-mode .catalog-readout .alt-data,
.site-shell.is-alt-mode .technical-note {
	display: block !important;
}

.toast {
	position: fixed;
	z-index: 200;
	right: 18px;
	bottom: calc(var(--quickbar-height) + 18px);
	max-width: min(320px, calc(100vw - 36px));
	padding: 11px 14px;
	border: 1px solid #8e826f;
	background: #252a27;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
	color: #e0d7c8;
	font-family: var(--mono-font);
	font-size: 9px;
}

.toast.is-visible {
	animation: toast-in 180ms ease-out both;
}

@keyframes toast-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
}

.noscript-notice {
	position: fixed;
	z-index: 100;
	top: 70px;
	right: 12px;
	left: 12px;
	padding: 12px;
	border: 1px solid var(--yellow);
	background: #282820;
	color: var(--paper);
	font-family: var(--mono-font);
	font-size: 11px;
	text-align: center;
}

html:not(.js) body {
	overflow: auto;
}

html:not(.js) .site-shell {
	display: block;
	height: auto;
	overflow: visible;
}

html:not(.js) .site-main {
	overflow: visible;
}

html:not(.js) .home-view,
html:not(.js) .site-view {
	position: relative;
	inset: auto;
	min-height: 680px;
}

html:not(.js) .site-view[hidden] {
	display: block !important;
}

html:not(.js) .site-view--ecosystem {
	display: none !important;
}

html:not(.js) .site-view--cpu {
	display: none !important;
}

html:not(.js) .quickbar {
	position: sticky;
	bottom: 0;
}

.site-shell.is-motion-paused .belt-treads,
.site-shell.is-motion-paused .drive-node__rotor,
.site-shell.is-motion-paused .scan-sweep,
.site-shell.is-motion-paused .vault-scan,
.site-shell.is-motion-paused .radar-sweep,
.site-shell.is-motion-paused .radar-blip,
.site-shell.is-motion-paused .machine__signal,
.site-shell.is-motion-paused .machine__steam,
.site-shell.is-motion-paused .machine__light,
.site-shell.is-motion-paused .cpu-loader__chip,
.site-shell.is-motion-paused .ecosystem-loader__gear {
	animation-play-state: paused !important;
}

.site-shell.is-motion-paused .machine__art,
.site-shell.is-motion-paused .machine__motion,
.site-shell.is-motion-paused .machine__motion *,
.site-shell.is-motion-paused .machine__motion *::before,
.site-shell.is-motion-paused .machine__motion *::after {
	animation-play-state: paused !important;
}

/* Responsive layouts */

@media (max-width: 1100px) {
	.project-detail {
		grid-template-columns: minmax(230px, 0.8fr) minmax(300px, 1.2fr);
		gap: 20px;
	}

	.project-console {
		grid-template-columns: 250px minmax(0, 1fr);
	}

	.project-slot__copy strong {
		line-height: 1.1;
		white-space: normal;
	}
}

@media (max-width: 980px) {
	.site-header {
		grid-template-columns: minmax(180px, 1fr) auto;
	}

	.system-readout {
		display: none;
	}
}

@media (max-width: 820px) {
	:root {
		--header-height: 58px;
		--quickbar-height: calc(77px + env(safe-area-inset-bottom, 0px));
	}

	body {
		overflow: hidden;
	}

	.site-header {
		gap: 8px;
		padding: 7px 8px;
	}

	.site-identity {
		min-height: 44px;
	}

	.site-identity img {
		width: 32px;
		height: 32px;
		margin-right: 7px;
	}

	.site-identity strong {
		font-size: 12px;
	}

	.site-identity small {
		font-size: 6px;
	}

	.header-actions {
		gap: 5px;
	}

	.utility-button {
		min-width: 44px;
		min-height: 44px;
		padding-inline: 7px;
		font-size: 8px;
	}

	.utility-button__lamp {
		width: 6px;
		height: 6px;
	}

	.home-view {
		overflow: auto;
		scrollbar-width: thin;
	}

	.factory-stage {
		display: block;
		height: auto;
		min-height: 100%;
		padding: 12px 12px 34px;
		overflow: visible;
	}

	.factory-map {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
		width: 100%;
		max-width: 680px;
		height: auto;
		min-height: 0;
		margin: 0 auto;
		padding: 16px;
		aspect-ratio: auto;
		overflow: visible;
		background: #30332e;
	}

	.factory-map::before {
		position: fixed;
		inset: auto;
		display: none;
	}

	.factory-map::after {
		inset: 7px;
	}

	.factory-map__tiles {
		z-index: -1;
		background-size:
			50px 50px,
			50px 50px,
			100% 100%,
			100% 100%;
	}

	.factory-map__vignette,
	.logistics-network,
	.factory-pipe,
	.floor-mark {
		display: none;
	}

	.identity-hub {
		position: relative;
		top: auto;
		left: auto;
		grid-column: 1 / -1;
		width: 100%;
		padding: 18px;
	}

	.identity-hub h1 {
		font-size: 27px;
	}

	.identity-hub > p {
		font-size: 12px;
	}

	.identity-hub .identity-hub__intro {
		max-width: 68ch;
		margin-inline: auto;
		font-size: 11px;
	}

	.identity-hub .identity-hub__education {
		font-size: 12px;
	}

	.identity-hub__eyebrow,
	.identity-hub__status {
		font-size: 9px;
	}

	.machine {
		position: relative;
		top: auto;
		left: auto;
		display: grid;
		grid-template-rows: minmax(128px, 1fr) auto;
		width: auto;
		min-height: 214px;
		padding: 8px 8px 12px;
		overflow: visible;
		border: 2px solid #171a18;
		background: rgba(54, 58, 53, 0.83);
		box-shadow: var(--bevel);
	}

	.machine:hover,
	.machine:focus-visible {
		transform: translateY(-2px);
	}

	.machine__art {
		align-self: end;
		justify-self: center;
		width: min(100%, 220px);
		max-height: 160px;
	}

	.machine__motion {
		top: 8px;
		left: max(8px, calc(50% - 110px));
		width: min(calc(100% - 16px), 220px);
	}

	.machine__plate {
		align-self: end;
		width: 100%;
		margin-top: -12px;
		padding: 8px;
	}

	.machine__plate strong {
		font-size: 12px;
	}

	.machine__plate small {
		font-size: 12px;
	}

	.machine__metadata {
		top: auto;
		right: 7px;
		bottom: 7px;
		left: 7px;
		overflow: hidden;
		font-size: 6px;
		text-overflow: ellipsis;
	}

	.site-shell.is-alt-mode .machine {
		padding-bottom: 30px;
	}

	.machine-tooltip {
		display: none;
	}

	.factory-instruction {
		display: none;
	}

	.site-view {
		padding: 10px;
	}

	.machine-window {
		min-height: 0;
	}

	.machine-window__titlebar {
		min-height: 56px;
		padding: 8px 9px 8px 13px;
	}

	.machine-window__titlebar h1 {
		font-size: 24px;
	}

	.window-close {
		width: 44px;
		height: 44px;
	}

	.project-console {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.project-catalog {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		min-height: 0;
		padding: 8px;
	}

	.project-catalog .subheader,
	.catalog-readout {
		display: none;
	}

	.project-slot {
		grid-template-columns: 60px minmax(0, 1fr);
		gap: 8px;
		min-height: 82px;
		margin: 0;
		padding: 7px;
	}

	.project-slot__icon {
		width: 60px;
		height: 60px;
	}

	.project-slot__status {
		display: none;
	}

	.project-slot__copy strong {
		white-space: normal;
	}

	.project-detail {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.project-detail__content {
		order: 1;
	}

	.project-detail__visual {
		order: 2;
		width: min(100%, 480px);
		margin: auto;
	}

	.resume-console,
	.contact-console {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 20px;
	}

	.resume-console__content,
	.contact-console__content {
		order: 1;
	}

	.resume-console__vault,
	.contact-console__radar {
		order: 2;
		width: min(100%, 320px);
		margin: auto;
	}

	.email-channel a,
	.email-channel button {
		min-height: 44px;
	}

	.email-channel a {
		display: flex;
		align-items: center;
	}

	.industrial-button {
		min-height: 44px;
	}

	.quickbar {
		justify-content: flex-start;
		padding-top: 6px;
		padding-bottom: max(6px, env(safe-area-inset-bottom));
	}

	.quickbar-slot {
		flex-basis: 75px;
		font-size: 12px;
	}

	.quickbar-slot img,
	.quickbar-slot__glyph {
		transform: scale(0.88);
	}
}

@media (max-width: 560px) {
	:root {
		--quickbar-height: calc(68px + env(safe-area-inset-bottom, 0px));
	}

	.site-header {
		grid-template-columns: minmax(118px, 1fr) auto;
		gap: 5px;
		padding-inline: 7px;
	}

	.site-identity small {
		display: none;
	}

	.site-identity strong {
		font-size: 11px;
		letter-spacing: 0.07em;
	}

	.site-identity img {
		width: 28px;
		height: 28px;
		margin-right: 6px;
	}

	.header-actions {
		gap: 4px;
	}

	.utility-button {
		gap: 4px;
		min-width: 44px;
		min-height: 44px;
		padding-inline: 5px;
		font-size: 7px;
		letter-spacing: 0.015em;
	}

	.factory-stage {
		padding: 10px 10px 22px;
	}

	.factory-map {
		grid-template-columns: 1fr;
		gap: 9px;
		padding: 10px;
		border-color: #0c0f0d;
		background:
			linear-gradient(rgba(255, 255, 255, 0.018), transparent 24%), #242925;
		box-shadow:
			0 0 0 2px #5e5b50,
			0 0 0 5px #111512,
			0 14px 28px rgba(0, 0, 0, 0.45),
			inset 0 0 28px rgba(0, 0, 0, 0.36);
	}

	.factory-map::after {
		inset: 5px;
	}

	.identity-hub {
		grid-column: auto;
		padding: 19px 18px 17px;
		border-width: 1px;
		border-top: 3px solid #a85f2d;
		background:
			linear-gradient(105deg, rgba(255, 255, 255, 0.055), transparent 45%),
			linear-gradient(#4d524c, #303632);
		text-align: left;
	}

	.identity-hub::before,
	.identity-hub::after {
		top: 11px;
	}

	.identity-hub h1 {
		margin: 8px 0 4px;
		font-size: clamp(27px, 8.5vw, 36px);
		letter-spacing: 0.085em;
		line-height: 0.95;
	}

	.identity-hub > p {
		font-size: 10px;
	}

	.identity-hub .identity-hub__education {
		justify-content: flex-start;
		gap: 5px 9px;
		width: fit-content;
		margin-top: 13px;
		padding: 7px 9px;
		font-size: 9px;
		line-height: 1.35;
	}

	.identity-hub .identity-hub__intro {
		margin: 13px 0 0;
		font-size: 12px;
		letter-spacing: 0.01em;
		line-height: 1.5;
	}

	.identity-hub__status {
		justify-content: flex-start;
		margin-top: 11px;
		font-size: 8px;
	}

	.machine,
	.machine--contact {
		position: relative;
		display: grid;
		grid-template-columns: 118px minmax(0, 1fr) 22px;
		grid-template-rows: 104px;
		grid-column: auto;
		align-items: stretch;
		width: 100%;
		min-height: 104px;
		padding: 0;
		overflow: hidden;
		border: 1px solid #111512;
		border-left: 3px solid #6e6c62;
		background:
			linear-gradient(90deg, #1b211e 0 118px, transparent 118px),
			linear-gradient(#4a4f49, #303632);
		box-shadow:
			inset 1px 1px rgba(255, 255, 255, 0.08),
			inset -1px -1px rgba(0, 0, 0, 0.45),
			0 3px 0 #111411;
		transform: none;
	}

	.machine::after {
		position: absolute;
		top: 50%;
		right: 12px;
		width: 8px;
		height: 8px;
		border-top: 2px solid #b8ad9b;
		border-right: 2px solid #b8ad9b;
		content: "";
		transform: translateY(-50%) rotate(45deg);
	}

	.machine:hover,
	.machine:focus-visible {
		border-left-color: var(--orange-bright);
		background:
			linear-gradient(90deg, #222a26 0 118px, transparent 118px),
			linear-gradient(#5a5e56, #383e39);
		transform: none;
	}

	.machine:active {
		transform: translateY(1px);
	}

	.machine__art,
	.machine--contact .machine__art {
		position: relative;
		z-index: 2;
		top: auto;
		right: auto;
		grid-column: 1;
		grid-row: 1;
		align-self: center;
		justify-self: center;
		width: 112px;
		max-height: 92px;
		opacity: 1;
		filter: drop-shadow(0 5px 4px rgba(0, 0, 0, 0.48));
	}

	.machine__motion,
	.machine--contact .machine__motion {
		top: 6px;
		right: auto;
		left: 3px;
		width: 112px;
		opacity: 0.92;
	}

	.machine__plate {
		position: relative;
		z-index: 3;
		right: auto;
		bottom: auto;
		left: auto;
		display: flex;
		grid-column: 2;
		grid-row: 1;
		flex-direction: column;
		align-items: center;
		align-self: stretch;
		justify-content: center;
		width: auto;
		min-width: 0;
		margin: 0;
		padding: 14px 10px 14px 15px;
		border: 0;
		border-left: 1px solid rgba(151, 143, 127, 0.24);
		background: transparent;
		box-shadow: none;
		text-align: center;
	}

	.machine__plate::before,
	.machine__plate::after {
		display: none;
	}

	.machine__plate strong {
		max-width: 100%;
		color: #bdb5a7;
		font-size: 9px;
		letter-spacing: 0.1em;
		line-height: 1.35;
		white-space: normal;
	}

	.machine__plate small {
		margin-top: 6px;
		color: var(--orange-bright);
		font-size: 15px;
		font-weight: 700;
		letter-spacing: 0.12em;
		line-height: 1;
	}

	.machine:hover .machine__plate,
	.machine:focus-visible .machine__plate {
		background: transparent;
		color: inherit;
	}

	.machine:hover .machine__plate strong,
	.machine:focus-visible .machine__plate strong {
		color: #eee6d8;
		text-shadow: 0 1px 1px #111;
	}

	.machine:hover .machine__plate small,
	.machine:focus-visible .machine__plate small {
		color: var(--orange-bright);
		text-shadow: none;
	}

	.machine__light {
		top: 11px;
		right: 11px;
		width: 7px;
		height: 7px;
		border-width: 1px;
	}

	.machine__metadata,
	.site-shell.is-alt-mode .machine__metadata {
		display: none !important;
	}

	.site-shell.is-alt-mode .machine {
		padding-bottom: 0;
	}

	.site-view {
		padding: 6px;
	}

	.machine-window__titlebar {
		min-height: 54px;
		padding-left: 11px;
	}

	.machine-window__titlebar h1 {
		font-size: 22px;
	}

	.project-console {
		gap: 8px;
		padding: 8px;
	}

	.project-catalog {
		gap: 6px;
		padding: 6px;
	}

	.project-slot {
		grid-template-columns: 42px minmax(0, 1fr);
		gap: 6px;
		min-height: 68px;
		padding: 6px;
	}

	.project-slot__icon {
		width: 42px;
		height: 48px;
	}

	.project-slot__icon img {
		width: 58px;
	}

	.project-slot__copy strong {
		font-size: 11px;
		line-height: 1.1;
	}

	.project-slot__copy small {
		font-size: 7px;
		line-height: 1.25;
	}

	.project-detail {
		gap: 0;
		padding: 14px;
	}

	.project-detail__visual {
		display: none;
	}

	.project-detail__content h2,
	.resume-console__content h2,
	.contact-console__content h2 {
		font-size: clamp(27px, 9vw, 36px);
	}

	.project-lede {
		margin: 12px 0 15px;
	}

	.project-specs div {
		grid-template-columns: 76px minmax(0, 1fr);
		gap: 8px;
		padding: 7px 8px;
	}

	.project-specs dd {
		font-size: 10px;
		line-height: 1.35;
	}

	.resume-console,
	.contact-console {
		gap: 0;
		margin: 6px;
		padding: 14px;
	}

	.resume-console__vault,
	.contact-console__radar {
		display: none;
	}

	.document-slot {
		grid-template-columns: 42px minmax(0, 1fr);
		gap: 9px;
		margin-top: 16px;
	}

	.document-slot__icon {
		width: 42px;
		height: 50px;
	}

	.document-slot__state {
		grid-column: 2;
	}

	.document-slot strong {
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.email-channel {
		grid-template-columns: 1fr;
	}

	.email-channel button {
		width: 100%;
		min-height: 44px;
	}

	.window-actions,
	.contact-links {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.contact-links .industrial-button:first-child {
		grid-column: 1 / -1;
	}

	.industrial-button {
		width: auto;
		min-height: 44px;
		padding-inline: 10px;
	}

	.quickbar {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 4px;
		justify-content: stretch;
		padding: 4px max(4px, env(safe-area-inset-right))
			max(4px, env(safe-area-inset-bottom)) max(4px, env(safe-area-inset-left));
		overflow: hidden;
	}

	.quickbar-slot--social {
		display: none;
	}

	.quickbar-slot {
		grid-template-rows: 26px auto;
		min-width: 0;
		min-height: 56px;
		padding: 3px 2px;
		font-size: 10px;
	}

	.quickbar-slot__number {
		display: none;
	}

	.quickbar-slot img,
	.quickbar-slot__glyph {
		width: 26px;
		height: 26px;
		min-width: 26px;
		transform: none;
	}

	.quickbar-slot__glyph--gear {
		border-width: 5px;
	}
}

@media (pointer: coarse) {
	.site-identity,
	.utility-button,
	.window-close,
	.email-channel a,
	.email-channel button,
	.industrial-button {
		min-height: 44px;
	}

	.window-close {
		width: 44px;
		height: 44px;
	}

	.email-channel a {
		display: flex;
		align-items: center;
	}
}

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

@media print {
	body {
		overflow: visible;
		background: #fff;
		color: #111;
	}

	.site-shell {
		display: block;
		height: auto;
	}

	.site-header,
	.quickbar,
	.home-view,
	.window-close,
	.ecosystem-close {
		display: none !important;
	}

	.site-main,
	.site-view {
		position: static;
		overflow: visible;
		background: #fff;
	}

	.site-view[hidden] {
		display: none !important;
	}
}
