@font-face {
	font-family: "Anton";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(assets/fonts/anton.woff2) format("woff2");
}
@font-face {
	font-family: "Space Grotesk";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url(assets/fonts/space-grotesk.woff2) format("woff2");
}

:root {
	--concrete: #f2f2f2;
	--ink: #0a0a0a;
	--white: #ffffff;
	--red: #dc2626;
	--hairline: rgba(10, 10, 10, 0.12);
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
	background: var(--concrete);
	color: var(--ink);
	font-family: "Space Grotesk", system-ui, sans-serif;
	letter-spacing: 0.02em;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
h1,
h2,
h3 {
	font-family: "Anton", sans-serif;
	text-transform: uppercase;
	letter-spacing: -0.03em;
	line-height: 0.85;
	font-weight: 400;
}

/* ---------- grain ---------- */
.grain {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 60;
	opacity: 0.04;
	background-image: url(assets/noise.svg);
	background-size: 180px;
	animation: grainShift 0.6s steps(1) infinite;
}
@keyframes grainShift {
	0% {
		transform: translate(0, 0);
	}
	10% {
		transform: translate(-3%, -2%);
	}
	30% {
		transform: translate(2%, -4%);
	}
	50% {
		transform: translate(-2%, 3%);
	}
	70% {
		transform: translate(3%, 2%);
	}
	90% {
		transform: translate(-3%, -1%);
	}
	100% {
		transform: translate(0, 0);
	}
}

/* ---------- generic ---------- */
.imgwrap {
	position: relative;
	overflow: hidden;
	display: block;
}
.imgwrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 700ms ease;
}
.imgwrap:hover img {
	transform: scale(1.05);
}

.link {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.2s;
}
.link:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
}
.mono {
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.04em;
}
.util {
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.08em;
}

.badge {
	position: absolute;
	background: var(--white);
	color: var(--ink);
	padding: 4px 8px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	z-index: 2;
}
.dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--red);
	animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.25;
	}
}

.shell {
	padding: 0 32px;
}
@media (max-width: 640px) {
	.shell {
		padding: 0 18px;
	}
}

/* ---------- header ---------- */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 40;
	background: var(--concrete);
	border-bottom: 1px solid var(--hairline);
	color: var(--ink);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 32px;
}
.logo {
	font-family: "Anton", sans-serif;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 0.9;
	color: var(--ink);
}
.logo small {
	display: block;
	font-family: "Space Grotesk";
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.2em;
	margin-top: 4px;
	text-transform: uppercase;
}
.nav {
	display: flex;
	flex-direction: row;
	gap: 36px;
	align-items: center;
}
.nav a {
	color: var(--ink);
	font-size: 15px;
}
@media (max-width: 900px) {
	.nav {
		gap: 20px;
	}
}
@media (max-width: 640px) {
	.nav {
		display: none;
	}
}

/* ---------- hero ---------- */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: flex-end;
	padding: 0 32px 9vh;
}
.hero-img {
	position: absolute;
	right: 0;
	top: 0;
	width: 65%;
	height: 100%;
}
.hero-img img {
	object-position: left;
}
.hero-img .vlabel {
	position: absolute;
	bottom: 24px;
	left: 0;
	transform: rotate(-90deg);
	transform-origin: left bottom;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	white-space: nowrap;
	color: #fff;
	mix-blend-mode: difference;
	display: flex;
	align-items: center;
	gap: 8px;
}
.hero-copy {
	position: relative;
	z-index: 5;
	width: 42%;
}
.hero h1 {
	font-size: clamp(32px, 6vw, 90px);
}
.hero h1 span {
	display: block;
	margin-bottom: 0.12em;
}
.hero h1 span:last-child {
	margin-bottom: 0;
}
.hero .category {
	margin: 18px 0 0;
	font-size: 15px;
	font-weight: 700;
	max-width: 360px;
	line-height: 1.35;
}
.hero p {
	max-width: 360px;
	margin: 14px 0 28px;
	font-size: 15px;
	line-height: 1.5;
	font-weight: 400;
}
.cta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px 36px;
}
.cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.12em;
	font-weight: 700;
	position: relative;
	color: inherit;
	text-decoration: none;
	padding-bottom: 6px;
}
.cta::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	height: 1px;
	width: 100%;
	background: var(--ink);
	transform: scaleX(0.4);
	transform-origin: left;
	transition: transform 0.4s var(--ease);
}
.cta:hover::after {
	transform: scaleX(1);
}
.cta.secondary {
	background: var(--ink);
	color: var(--white);
	border: 1px solid var(--ink);
	padding: 10px 18px;
	transition: background 0.2s ease, color 0.2s ease;
}
.cta.secondary::after {
	display: none;
}
.cta.secondary:hover {
	background: var(--white);
	color: var(--ink);
}

/* ---------- status tags (Available / Beta / Coming Soon) ----------
   "Corner pin" style: mounted top-right of a card's imgwrap, same
   placement convention as the existing white .badge chips on module
   images (see .card .badge above). .tag--inline is the fallback for
   contexts with no imgwrap to pin onto (e.g. the audit-trail note in
   the How Pónt Works section). */
.tag {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	font-family: "Space Grotesk";
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 3px 7px;
	line-height: 1.6;
	background: var(--white);
	border: 1px solid var(--ink);
	color: var(--ink);
}
.tag--inline {
	position: static;
	margin-left: 8px;
}
.tag-live {
	background: var(--ink);
	color: var(--white);
	border-color: var(--ink);
}
.tag-beta {
	background: var(--white);
	color: var(--ink);
	border-color: var(--ink);
}
.tag-soon {
	background: var(--white);
	color: #888;
	border-style: dashed;
	border-color: var(--hairline);
}
@media (max-width: 900px) {
	.hero-copy {
		width: 72%;
	}
	.hero-img {
		width: 80%;
		opacity: 0.5;
	}
}
@media (max-width: 640px) {
	.hero-copy {
		width: 100%;
	}
	.hero-img {
		opacity: 0.35;
	}
}

/* ---------- section heads ---------- */
.sec {
	padding: 120px 0 0;
}
.sec-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	border-top: 2px solid var(--ink);
	padding-top: 14px;
	margin: 0 32px;
}
.sec-head h2 {
	font-size: clamp(36px, 7vw, 90px);
}
.sec-head .meta {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	text-align: right;
}

/* ---------- horizontal strip ---------- */
.strip {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	padding: 40px 32px 8px;
	cursor: grab;
	scrollbar-width: none;
}
.strip::-webkit-scrollbar {
	display: none;
}
.strip.drag {
	cursor: grabbing;
}
.card {
	flex: 0 0 clamp(260px, 28vw, 360px);
}
.card .imgwrap {
	aspect-ratio: 3 / 4;
}
@media (max-width: 640px) {
	.strip {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 16px 12px;
		overflow-x: visible;
		padding: 24px 18px;
		scroll-snap-type: none;
	}
	.card {
		flex: none;
		max-width: none;
		scroll-snap-align: none;
	}
	.card:nth-child(3n) {
		grid-column: span 2;
	}
	.card .imgwrap {
		aspect-ratio: 1 / 1;
	}
	.card:nth-child(3n) .imgwrap {
		aspect-ratio: 2 / 1;
	}
}
.card .imgwrap .sec-img {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.5s ease;
}
.card:hover .imgwrap .sec-img {
	opacity: 1;
}
.card-meta {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-top: 14px;
	border-top: 1px solid var(--hairline);
	padding-top: 10px;
}
.card-meta .t {
	font-weight: 700;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 0.02em;
}
.card-meta .p {
	font-size: 13px;
}
.card-copy {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 1.4;
	color: var(--ink-60, currentColor);
	opacity: 0.75;
}
.card-add {
	margin-top: 6px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--ink);
	padding: 0;
}
.card-add:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

/* ---------- linda / case brain ---------- */
.linda {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 48px;
	padding: 40px 32px 0;
	align-items: start;
}
.linda-copy {
	position: sticky;
	top: 120px;
}
.linda-lede {
	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;
	margin: 0 0 16px;
	max-width: 380px;
}
.linda-copy p:not(.linda-lede) {
	font-size: 14px;
	line-height: 1.6;
	color: #333;
	max-width: 360px;
}
.linda-chat {
	background: var(--white);
	border: 1px solid var(--hairline);
	padding: 24px;
}
.linda-body {
	min-height: 220px;
	transition: opacity 0.4s var(--ease);
}
.linda-body.fade {
	opacity: 0;
}
.linda-chat-head {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 700;
	border-bottom: 1px solid var(--hairline);
	padding-bottom: 14px;
	margin-bottom: 18px;
}
.linda-msg {
	display: block;
	margin-bottom: 18px;
}
.linda-msg .who {
	display: block;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 700;
	color: #888;
	margin-bottom: 6px;
}
.linda-msg .txt {
	font-size: 14px;
	line-height: 1.55;
}
.linda-msg.linda-a .txt {
	border-left: 3px solid var(--ink);
	padding-left: 12px;
	display: block;
}
.linda-msg .txt.typing::after {
	content: "";
	display: inline-block;
	width: 2px;
	height: 1em;
	margin-left: 2px;
	background: var(--ink);
	vertical-align: text-bottom;
	animation: caretBlink 0.9s step-end infinite;
}
@keyframes caretBlink {
	50% {
		opacity: 0;
	}
}
.linda-sources {
	display: flex;
	flex-direction: column;
	gap: 6px;
	opacity: 0;
	transition: opacity 0.5s ease;
}
.linda-sources.show {
	opacity: 1;
}
.linda-sources .src {
	font-size: 12px;
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-thickness: 1px;
	opacity: 0.75;
}
.linda-sources .src:hover {
	opacity: 1;
}
@media (max-width: 900px) {
	.linda {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.linda-copy {
		position: static;
	}
}
@media (prefers-reduced-motion: reduce) {
	.linda-msg .txt.typing::after {
		animation: none;
	}
	.linda-body {
		transition: none;
	}
}

/* ---------- technical grid ---------- */
.tech {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 24px;
	padding: 40px 32px 0;
}
.tech-left {
	grid-column: span 4;
	position: sticky;
	top: 120px;
	align-self: start;
}
.tech-left h2 {
	font-size: clamp(28px, 3.6vw, 72px);
	white-space: nowrap;
	margin-bottom: 28px;
}
.arch {
	border-left: 2px solid var(--ink);
	padding-left: 16px;
	margin-bottom: 26px;
}
.arch h4 {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	margin-bottom: 6px;
}
.arch p {
	font-size: 13px;
	line-height: 1.5;
	color: #333;
}
.tech-right {
	grid-column: span 8;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.tech-right .imgwrap.r45 {
	aspect-ratio: 4 / 5;
}
.tech-right .imgwrap.r45 img.crop-left {
	object-position: left center;
}
.tech-right .imgwrap.r45 img.crop-right {
	object-position: right center;
}
@media (max-width: 900px) {
	.tech-left {
		grid-column: span 12;
		position: static;
	}
	.tech-right {
		grid-column: span 12;
	}
}

/* ---------- inventory ---------- */
.inv {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 24px 32px;
	padding: 40px 32px 0;
}
.inv-item .imgwrap {
	aspect-ratio: 4 / 5;
}
.s6 {
	grid-column: span 6;
}
.s3 {
	grid-column: span 3;
}
.s4 {
	grid-column: span 4;
}
.mt24 {
	margin-top: 6rem;
}
.mt12 {
	margin-top: 3rem;
}
.inv-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-top: 14px;
}
.inv-head .t {
	font-weight: 700;
	text-transform: uppercase;
	font-size: 13px;
}
.inv-head .p {
	font-size: 13px;
}
.inv-sub {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 8px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.sizes {
	display: flex;
	gap: 10px;
}
.sizes .oos {
	text-decoration: line-through;
	opacity: 0.4;
}
.live {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* ---------- roadmap: future-vision strip ---------- */
.vision {
	margin: 56px 32px 0;
	padding-top: 32px;
	border-top: 1px solid var(--hairline);
}
.vision-kicker {
	font-family: "Space Grotesk";
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: #888;
	margin-bottom: 10px;
}
.vision-lede {
	max-width: 640px;
	font-size: 15px;
	line-height: 1.55;
	color: #333;
	margin-bottom: 28px;
}
.lifecycle {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0 0 8px;
	gap: 0;
}
.lifecycle li {
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-family: "Anton", sans-serif;
	font-size: clamp(15px, 1.6vw, 20px);
	letter-spacing: -0.01em;
	white-space: nowrap;
	padding: 6px 0;
}
.lifecycle li:not(:last-child)::after {
	content: "→";
	font-family: "Space Grotesk";
	font-weight: 400;
	color: #bbb;
	margin: 0 18px;
}
.lifecycle .n {
	font-family: "Space Grotesk";
	font-size: 11px;
	font-weight: 700;
	color: #999;
}
@media (max-width: 640px) {
	.vision {
		margin: 40px 18px 0;
		padding-top: 24px;
	}
	.lifecycle {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 4px;
	}
	.lifecycle::-webkit-scrollbar { display: none; }
	.lifecycle li:not(:last-child)::after {
		margin: 0 12px;
	}
}
@media (max-width: 900px) {
	.s3 {
		grid-column: span 6;
	}
	.mt24,
	.mt12 {
		margin-top: 1rem;
	}
}
@media (max-width: 640px) {
	/* — Roadmap: horizontal auto-scrolling carousel on mobile — */
	.inv {
		display: flex;
		flex-direction: row;
		gap: 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding: 28px 18px 12px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
		/* auto-scroll animation — driven by JS via --inv-play; CSS animation
	   property is kept only as a no-JS fallback hint. */
		animation: none;
		scroll-behavior: smooth;
	}
	.inv::-webkit-scrollbar { display: none; }
	.inv-item {
		flex: 0 0 42vw;
		max-width: 180px;
		scroll-snap-align: start;
		margin-top: 0 !important; /* remove mt24/mt12 offsets */
	}
	.inv-item .imgwrap {
		aspect-ratio: 1 / 1; /* compact square tiles */
	}
	.s6,
	.s3,
	.s4 {
		/* grid-column irrelevant in flex context */
		grid-column: unset;
	}
}

/* ---------- footer ---------- */
.footer {
	background: var(--ink);
	color: #fff;
	margin-top: 140px;
	padding: 96px 32px 0;
	overflow: hidden;
}
.fgrid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 24px;
	padding-bottom: 60px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.fgrid h5 {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	margin-bottom: 16px;
	color: #777;
}
.fgrid a {
	display: block;
	color: #fff;
	font-size: 13px;
	margin-bottom: 8px;
	text-decoration: none;
}
.fgrid a:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
}
.fcol.wide {
	grid-column: span 2;
}
.footer-demo {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	max-width: 380px;
}
.footer-demo input {
	flex: 1 1 160px;
	background: none;
	border: none;
	border-bottom: 1px solid #fff;
	color: #fff;
	font-size: 13px;
	padding: 8px 0;
	outline: none;
	font-family: "Space Grotesk";
}
.footer-demo input::placeholder {
	color: #888;
}
.footer-demo button {
	flex: 0 0 auto;
	background: #fff;
	color: var(--ink);
	border: none;
	font-family: "Space Grotesk";
	font-weight: 700;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 0 16px;
	white-space: nowrap;
	cursor: pointer;
	transition: opacity 0.2s ease;
}
.footer-demo button:hover {
	opacity: 0.85;
}
.form-msg {
	margin-top: 10px;
	font-size: 12px;
	color: #888;
	min-height: 1em;
}
.form-msg.error {
	color: var(--red);
}
.foot-meta {
	display: flex;
	justify-content: space-between;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #888;
	padding: 28px 0;
}
.ghost {
	font-family: "Anton";
	font-size: 10vw;
	line-height: 0.8;
	color: rgba(255, 255, 255, 0.1);
	text-transform: uppercase;
	letter-spacing: -0.03em;
	margin-bottom: -1.5vw;
}
@media (max-width: 900px) {
	.fgrid {
		grid-template-columns: repeat(3, 1fr);
	}
	.fcol.wide {
		grid-column: span 3;
	}
}
@media (max-width: 640px) {
	.fgrid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ---------- one case: routing + status board (motion.js) ----------
   Two fixed 600x540 stages, scaled to fit by JS, pinned inside a tall
   scroll track. motion.js reads one progress value for the whole
   section and drives both scenes from the same timeline, so chaos and
   resolve land at the same moment on both sides. */
.mo {
	padding-top: 0;
}
.mo-track {
	height: 300vh;
	position: relative;
}
.mo-pin {
	position: sticky;
	top: 0;
	height: 100vh;
	padding: 100px 0 24px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.mo-pin > * {
	flex-shrink: 0;
}
.mo-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin: 0 32px;
}
.mo-cell {
	position: relative;
	overflow: hidden;
}
.mo-stage {
	position: absolute;
	top: 0;
	left: 0;
	width: 600px;
	height: 540px;
	transform-origin: 0 0;
	background: var(--white);
	border: 1px solid var(--hairline);
	overflow: hidden;
	--title: 0;
}
.mo-dark {
	background: var(--ink);
	color: var(--white);
	border-color: var(--ink);
}
.mo-readout {
	position: absolute;
	top: 16px;
	left: 18px;
	right: 18px;
	display: flex;
	justify-content: space-between;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	z-index: 5;
}
.mo-count {
	color: var(--red);
	font-variant-numeric: tabular-nums;
}
.mo-stage.resolved .mo-count {
	color: inherit;
}
.mo-title {
	position: absolute;
	left: 18px;
	bottom: 14px;
	font-family: "Anton", sans-serif;
	font-size: 56px;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	overflow: hidden;
	z-index: 5;
}
.mo-title span {
	display: block;
	transform: translateY(calc((1 - var(--title)) * 105%));
}

/* routing scene */
.mo-svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.mo-grid-line {
	fill: none;
	stroke: rgba(10, 10, 10, 0.045);
	stroke-width: 1;
}
.mo-trace {
	fill: none;
	stroke: var(--ink);
	stroke-width: 1.25;
	stroke-dasharray: 1 1;
	stroke-dashoffset: 1;
}
.mo-trace.dead {
	stroke: var(--red);
}
.mo-marks path {
	fill: none;
	stroke: var(--red);
	stroke-width: 2.25;
	opacity: 0;
}
.mo-tag rect {
	fill: var(--white);
	stroke: var(--ink);
	stroke-width: 1;
}
.mo-tag text {
	font-family: "Space Grotesk";
	font-size: 8.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-anchor: middle;
	dominant-baseline: central;
	fill: var(--ink);
}
.mo-tag {
	opacity: 0;
}
.mo-node rect {
	fill: var(--white);
	stroke: var(--ink);
	stroke-width: 2;
}
.mo-node-kicker {
	font-family: "Space Grotesk";
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	fill: #888;
}
.mo-node-name {
	font-family: "Anton";
	font-size: 22px;
	text-transform: uppercase;
	fill: var(--ink);
}
.mo-bus path {
	fill: none;
	stroke: var(--red);
	stroke-width: 3.5;
	stroke-dasharray: 1 1;
	stroke-dashoffset: 1;
}
.mo-hub {
	opacity: 0;
	transform-box: view-box;
	transform-origin: 300px 240px;
}
.mo-hub rect {
	fill: var(--ink);
}
.mo-hub-label {
	font-family: "Anton";
	font-size: 22px;
	fill: var(--white);
	text-anchor: middle;
}
.mo-hub-sub {
	font-family: "Space Grotesk";
	font-size: 7.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	fill: var(--white);
	text-anchor: middle;
	opacity: 0.7;
}

/* status board scene */
.mo-board {
	position: absolute;
	left: 30px;
	top: 108px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.mo-row {
	display: grid;
	grid-template-columns: auto 30px;
	grid-template-rows: auto auto;
	column-gap: 10px;
	row-gap: 8px;
	align-items: center;
}
.mo-row-label {
	grid-column: 1 / -1;
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: #8a8a8a;
}
.mo-flaps {
	display: flex;
	gap: 3px;
}
.mo-flap {
	position: relative;
	width: 28px;
	height: 44px;
	background: #1a1a1a;
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Space Grotesk";
	font-size: 21px;
	font-weight: 700;
	line-height: 1;
}
/* the split: a hard seam across the middle of every cell */
.mo-flap::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 1px;
	background: var(--ink);
}
/* mid-flip: the top half darkens -- reads as the flap falling */
.mo-flap.tick::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 50%;
	background: rgba(0, 0, 0, 0.45);
}
.mo-mark {
	font-family: "Anton";
	font-size: 28px;
	text-align: center;
	color: var(--red);
}
.mo-row.agree .mo-mark {
	color: var(--white);
}
.mo-bracket {
	position: absolute;
	right: -14px;
	top: 18px;
	bottom: 0;
	width: 8px;
	border: 2px solid var(--red);
	border-left: 0;
	transform: scaleY(var(--bracket, 0));
}

/* shared timeline rail */
.mo-rail {
	position: relative;
	margin: 0 32px;
	height: 26px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
}
.mo-rail-label {
	position: absolute;
	top: 0;
	color: #999;
}
.mo-rail-label.is-chaos {
	left: 0;
}
.mo-rail-label.is-resolve {
	left: 50%;
	padding-left: 8px;
	border-left: 2px solid var(--ink);
}
.mo-rail-label.on {
	color: var(--ink);
}
.mo-rail-label.is-chaos.on {
	color: var(--red);
}
.mo-rail-bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--hairline);
}
.mo-rail-bar i {
	display: block;
	height: 100%;
	width: calc(var(--p, 0) * 100%);
	background: var(--ink);
}

@media (max-width: 900px) {
	.mo-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.mo-pin {
		padding-top: 84px;
		gap: 12px;
	}
}
@media (max-width: 640px) {
	.mo-grid,
	.mo-rail {
		margin: 0 16px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.mo-track {
		height: auto;
	}
	.mo-pin {
		position: static;
		height: auto;
	}
}

/* ---------- reveal ---------- */
.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 0.7s var(--ease),
		transform 0.7s var(--ease);
}
.reveal.in {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.grain {
		animation: none;
	}
	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.dot {
		animation: none;
	}
}
