:root {
	color-scheme: dark;
	--lab-bg: #030303;
	--lab-ink: #f5f5f2;
	--lab-muted: #777b82;
	--lab-line: rgba(255, 255, 255, 0.16);
	--lab-accent: #5bb6ff;
	--lab-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	min-height: 100%;
	background: var(--lab-bg);
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 72px;
}

body {
	min-height: 100svh;
	overflow-x: hidden;
	color: var(--lab-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	text-rendering: geometricPrecision;
}

a {
	color: inherit;
}

main,
.lab-footer {
	position: relative;
	z-index: 1;
}

.container {
	width: min(100%, 1152px);
	margin: 0 auto;
	padding-inline: 24px;
}

/* ---------- Navigation: matches the main white-version page ---------- */
.lab-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.72);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.5s ease, background-color 0.5s ease;
}

.lab-nav.scrolled {
	background: rgba(255, 255, 255, 0.9);
	border-bottom-color: #d2d2d7;
}

.nav-inner {
	display: flex;
	min-height: 72px;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.nav-logo {
	display: inline-flex;
	min-height: 44px;
	padding: 8px 0;
	align-items: center;
}

.nav-logo img {
	display: block;
	width: auto;
	height: 16px;
	filter: brightness(0);
}

.btn {
	position: relative;
	display: inline-flex;
	min-height: 48px;
	padding: 12px 28px;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 600;
	line-height: 21px;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.3s ease, transform 0.3s var(--lab-ease), box-shadow 0.3s ease;
}

.btn:hover {
	transform: translateY(-1px) scale(1.02);
}

.btn:active {
	transform: scale(0.97);
}

.btn-primary {
	background: #1d1d1f;
	color: #fff;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.06);
}

.btn-primary:hover {
	background: #000;
	box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
}

.btn-primary::after {
	position: absolute;
	top: 0;
	bottom: 0;
	left: -80%;
	width: 50%;
	background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.14), transparent);
	transform: skewX(-20deg);
	transition: left 0.7s var(--lab-ease);
	content: "";
}

.btn-primary:hover::after {
	left: 130%;
}

.btn-nav {
	min-height: 44px;
	padding: 10px 24px;
	font-size: 15px;
	line-height: 20px;
}

a:focus-visible {
	border-radius: 4px;
	outline: 2px solid #0066cc;
	outline-offset: 3px;
}

.btn:focus-visible {
	border-radius: 999px;
}

body::before {
	position: fixed;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(circle at 50% 38%, rgba(90, 102, 119, 0.13), transparent 30%),
		radial-gradient(circle at 50% 115%, rgba(34, 103, 151, 0.08), transparent 34%),
		var(--lab-bg);
	content: "";
	pointer-events: none;
}

body::after {
	position: fixed;
	inset: 0;
	z-index: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-mask-image: radial-gradient(circle at center, #000, transparent 72%);
	mask-image: radial-gradient(circle at center, #000, transparent 72%);
	content: "";
	pointer-events: none;
}

.lab-intro {
	position: relative;
	z-index: 1;
	display: flex;
	min-height: 100svh;
	padding: clamp(96px, 13vh, 132px) 24px clamp(36px, 7vh, 76px);
	flex-direction: column;
	align-items: center;
	justify-content: center;
	isolation: isolate;
}

.lab-orbit {
	position: relative;
	width: min(72vw, 740px);
	height: clamp(300px, 56vh, 600px);
	min-width: 280px;
	flex: 0 1 auto;
}

.lab-orbit__halo {
	position: absolute;
	left: 50%;
	bottom: 7%;
	width: 48%;
	height: 9%;
	border-radius: 50%;
	background: rgba(123, 180, 222, 0.12);
	filter: blur(28px);
	transform: translateX(-50%) scaleX(0.6);
	opacity: 0;
}

.lab-mark-fallback,
.lab-stage {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.lab-mark-fallback {
	inset: 50% auto auto 50%;
	width: min(46%, 310px);
	height: auto;
	transform: translate(-50%, -50%);
	opacity: 0.88;
}

three-d-stage:not(:defined) {
	visibility: hidden;
}

.lab-stage {
	opacity: 0;
	transition: opacity 500ms ease;
}

.is-3d-ready .lab-stage {
	opacity: 1;
}

.is-3d-ready .lab-mark-fallback {
	opacity: 0;
}

.lab-lockup {
	position: relative;
	z-index: 2;
	width: min(100%, 860px);
	margin-top: clamp(-36px, -4vh, -16px);
	text-align: center;
}

.lab-kicker {
	margin: 0 0 15px;
	color: var(--lab-muted);
	font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.28em;
	line-height: 1;
}

.lab-lockup h1 {
	display: flex;
	margin: 0;
	align-items: baseline;
	justify-content: center;
	gap: clamp(10px, 1.8vw, 24px);
	font-size: clamp(22px, 3.45vw, 48px);
	font-weight: 650;
	letter-spacing: 0.18em;
	line-height: 1;
	white-space: nowrap;
}

.lab-lockup h1 span:last-child {
	color: #9da2aa;
	font-weight: 430;
}

.lab-rule {
	position: relative;
	width: min(270px, 46vw);
	height: 1px;
	margin: 28px auto 0;
	overflow: hidden;
	background: var(--lab-line);
}

.lab-rule i {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent, var(--lab-accent), transparent);
	transform: translateX(-110%);
}

.lab-enter {
	display: inline-flex;
	min-height: 44px;
	margin-top: 18px;
	align-items: center;
	gap: 10px;
	color: #86868b;
	font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 250ms ease;
}

.lab-enter:hover {
	color: #f5f5f2;
}

.lab-enter span {
	font-size: 15px;
	transition: transform 300ms var(--lab-ease);
}

.lab-enter:hover span {
	transform: translateY(3px);
}

.js .lab-kicker,
.js .lab-lockup h1,
.js .lab-rule,
.js .lab-enter {
	opacity: 0;
}

.intro-complete .lab-kicker,
.intro-complete .lab-lockup h1,
.intro-complete .lab-rule,
.intro-complete .lab-enter,
.intro-fallback .lab-kicker,
.intro-fallback .lab-lockup h1,
.intro-fallback .lab-rule,
.intro-fallback .lab-enter {
	opacity: 1;
}

.intro-running .lab-kicker {
	animation: lab-copy-in 800ms 1.65s var(--lab-ease) forwards;
}

.intro-running .lab-lockup h1 {
	animation: lab-copy-in 1050ms 1.82s var(--lab-ease) forwards;
}

.intro-running .lab-rule {
	animation: lab-line-in 900ms 2.08s var(--lab-ease) forwards;
}

.intro-running .lab-rule i {
	animation: lab-line-scan 1.15s 2.4s var(--lab-ease) forwards;
}

.intro-running .lab-enter {
	animation: lab-copy-in 900ms 2.42s var(--lab-ease) forwards;
}

.intro-running .lab-orbit__halo {
	animation: lab-halo-in 1.4s 2.55s var(--lab-ease) forwards;
}

@keyframes lab-copy-in {
	from {
		opacity: 0;
		transform: translateY(18px);
		filter: blur(7px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
		filter: blur(0);
	}
}

@keyframes lab-line-in {
	from {
		opacity: 0;
		transform: scaleX(0.25);
	}
	to {
		opacity: 1;
		transform: scaleX(1);
	}
}

@keyframes lab-line-scan {
	to {
		transform: translateX(110%);
	}
}

@keyframes lab-halo-in {
	to {
		opacity: 1;
		transform: translateX(-50%) scaleX(1);
	}
}

/* ---------- Long-form Lab page ---------- */
.lab-section {
	position: relative;
	padding: clamp(104px, 12vw, 168px) 0;
}

.lab-section--light {
	background: #fff;
	color: #1d1d1f;
}

.lab-section--paper {
	background: #f5f5f7;
	color: #1d1d1f;
}

.lab-section--dark {
	background: #050505;
	color: #f5f5f7;
}

.section-label {
	display: flex;
	margin: 0 0 26px;
	align-items: center;
	gap: 18px;
	color: #6e6e73;
	font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.19em;
	line-height: 1.2;
	text-transform: uppercase;
}

.section-label span {
	color: #1d1d1f;
}

.section-label--dark {
	color: #777b82;
}

.section-label--dark span {
	color: #f5f5f7;
}

.section-heading h2,
.mechanism-copy h2,
.signals-heading h2,
.lab-contact h2 {
	margin: 0;
	font-size: clamp(44px, 7vw, 82px);
	font-weight: 680;
	letter-spacing: -0.052em;
	line-height: 0.98;
}

.section-heading--split {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.7fr);
	align-items: end;
	gap: clamp(42px, 8vw, 112px);
}

.section-heading--split > p {
	margin: 0 0 4px;
	color: #6e6e73;
	font-size: clamp(17px, 1.7vw, 20px);
	line-height: 1.55;
}

.lab-mandate .container {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
	gap: clamp(56px, 10vw, 144px);
	align-items: start;
}

.mandate-lede {
	margin: 0 0 clamp(48px, 6vw, 76px);
	font-size: clamp(26px, 3.3vw, 42px);
	font-weight: 560;
	letter-spacing: -0.027em;
	line-height: 1.2;
}

.mandate-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 36px;
}

.mandate-columns p {
	margin: 0;
	color: #5a5a5f;
	font-size: 17px;
	line-height: 1.62;
}

.program-grid {
	display: grid;
	margin-top: clamp(64px, 9vw, 112px);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.program-card {
	display: flex;
	min-height: 400px;
	padding: clamp(28px, 4vw, 48px);
	flex-direction: column;
	border: 1px solid #dedee3;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.045);
	transition: transform 500ms var(--lab-ease), border-color 400ms ease, box-shadow 400ms ease;
}

.program-card:hover {
	border-color: #b8b8be;
	box-shadow: 0 26px 58px rgba(0, 0, 0, 0.08);
	transform: translateY(-5px);
}

.program-card__top {
	display: flex;
	margin-bottom: auto;
	align-items: center;
	justify-content: space-between;
	color: #86868b;
	font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.16em;
}

.program-card__top span {
	color: #0066cc;
}

.program-card__top i {
	font-style: normal;
}

.program-card h3 {
	max-width: 520px;
	margin: 72px 0 18px;
	font-size: clamp(30px, 3.2vw, 44px);
	font-weight: 660;
	letter-spacing: -0.038em;
	line-height: 1.03;
}

.program-card > p {
	max-width: 560px;
	margin: 0;
	color: #5c5c61;
	font-size: 17px;
	line-height: 1.55;
}

.program-card ul {
	display: flex;
	margin: 34px 0 0;
	padding: 0;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
}

.program-card li {
	padding: 7px 11px;
	border: 1px solid #e2e2e7;
	border-radius: 999px;
	color: #59595e;
	font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
}

.mechanism-layout {
	display: grid;
	grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
	gap: clamp(56px, 9vw, 124px);
	align-items: center;
}

.mechanism-copy h2 {
	font-size: clamp(42px, 5.5vw, 68px);
}

.mechanism-copy > p:last-child {
	margin: 34px 0 0;
	color: #96969d;
	font-size: clamp(17px, 1.65vw, 20px);
	line-height: 1.6;
}

.activation-figure {
	margin: 0;
	padding: clamp(22px, 3vw, 38px);
	border: 1px solid #242428;
	border-radius: 22px;
	background: #0b0b0d;
}

.activation-figure svg {
	display: block;
	width: 100%;
	height: auto;
}

.curve-region {
	fill: rgba(255, 255, 255, 0.024);
}

.curve-region--peak {
	fill: rgba(91, 182, 255, 0.075);
}

.curve-axis {
	stroke: #333338;
	stroke-width: 1;
}

.curve-path {
	fill: none;
	stroke: #f5f5f7;
	stroke-linecap: round;
	stroke-width: 3;
	filter: drop-shadow(0 0 12px rgba(91, 182, 255, 0.16));
}

.curve-point {
	fill: #5bb6ff;
}

.activation-figure text {
	fill: #66666d;
	font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
}

.activation-figure .curve-label--active {
	fill: #9ed8ff;
}

.activation-figure figcaption {
	margin-top: 8px;
	color: #6f6f77;
	font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
	font-size: 11px;
	line-height: 1.55;
	text-align: center;
}

.principle-grid {
	display: grid;
	margin-top: clamp(72px, 9vw, 112px);
	padding-top: 42px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px;
	border-top: 1px solid #242428;
}

.principle-grid article > span {
	color: #5bb6ff;
	font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
	font-size: 11px;
}

.principle-grid h3 {
	margin: 28px 0 12px;
	font-size: 21px;
	font-weight: 620;
}

.principle-grid p {
	margin: 0;
	color: #77777f;
	font-size: 15px;
	line-height: 1.6;
}

.stack-list {
	margin-top: clamp(64px, 9vw, 112px);
	border-top: 1px solid #d2d2d7;
}

.stack-row {
	display: grid;
	min-height: 142px;
	padding: 28px 0;
	grid-template-columns: 150px minmax(190px, 0.7fr) minmax(280px, 1.5fr) auto;
	align-items: center;
	gap: 30px;
	border-bottom: 1px solid #d2d2d7;
}

.stack-row__type,
.stack-row > span {
	margin: 0;
	color: #86868b;
	font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.12em;
}

.stack-row h3 {
	margin: 0;
	font-size: clamp(24px, 2.4vw, 32px);
	font-weight: 660;
	letter-spacing: -0.032em;
}

.stack-row h3 + p {
	margin: 0;
	color: #5c5c61;
	font-size: 16px;
	line-height: 1.55;
}

.stack-row > span {
	justify-self: end;
	color: #0066cc;
	white-space: nowrap;
}

.production-feature {
	margin-top: clamp(64px, 9vw, 112px);
	overflow: hidden;
	border: 1px solid #242428;
	border-radius: 28px;
	background: #050505;
	color: #f5f5f7;
	box-shadow: 0 28px 70px rgba(0, 0, 0, 0.14);
}

.production-feature__header {
	display: flex;
	min-height: 72px;
	padding: 18px clamp(24px, 4vw, 44px);
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	border-bottom: 1px solid #242428;
	font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
}

.production-feature__header p {
	margin: 0;
	color: #77777f;
}

.production-feature__header span {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #9da2aa;
}

.production-feature__header i {
	display: block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #5bb6ff;
	box-shadow: 0 0 14px rgba(91, 182, 255, 0.65);
}

.production-feature__body {
	display: grid;
	min-height: 430px;
	padding: clamp(42px, 7vw, 82px) clamp(28px, 6vw, 72px);
	grid-template-columns: minmax(250px, 0.8fr) minmax(300px, 1.2fr);
	align-items: end;
	gap: clamp(48px, 9vw, 132px);
}

.production-feature__identity > p {
	margin: 0 0 22px;
	color: #5bb6ff;
	font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.15em;
}

.production-feature__identity h3 {
	margin: 0;
	font-size: clamp(88px, 14vw, 176px);
	font-weight: 660;
	letter-spacing: -0.085em;
	line-height: 0.74;
}

.production-feature__copy > p {
	margin: 0;
	color: #a0a0a7;
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1.52;
}

.production-feature__copy a {
	display: inline-flex;
	min-height: 46px;
	margin-top: 34px;
	align-items: center;
	gap: 12px;
	border-bottom: 1px solid #4a4a50;
	color: #f5f5f7;
	font-size: 14px;
	font-weight: 620;
	text-decoration: none;
	transition: border-color 250ms ease, color 250ms ease;
}

.production-feature__copy a:hover {
	border-color: #5bb6ff;
	color: #9ed8ff;
}

.production-feature__copy a span {
	transition: transform 300ms var(--lab-ease);
}

.production-feature__copy a:hover span {
	transform: translate(3px, -3px);
}

.production-evidence {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid #242428;
	border-bottom: 1px solid #242428;
}

.production-evidence div {
	display: flex;
	min-height: 152px;
	padding: 28px;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	border-right: 1px solid #242428;
}

.production-evidence div:last-child {
	border-right: none;
}

.production-evidence strong {
	font-size: 18px;
	font-weight: 620;
	letter-spacing: -0.02em;
}

.production-evidence span {
	color: #6f6f77;
	font-size: 12px;
	line-height: 1.5;
}

.production-feature__note {
	padding: 22px clamp(24px, 4vw, 44px);
}

.production-feature__note p {
	margin: 0;
	color: #5d5d64;
	font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
	font-size: 10px;
	line-height: 1.6;
}

.lab-signals {
	padding: clamp(100px, 11vw, 148px) 0;
	background: #050505;
}

.signals-heading {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 0.46fr);
	align-items: end;
	gap: 60px;
}

.signals-heading .section-label {
	grid-column: 1 / -1;
	margin-bottom: -26px;
}

.signals-heading h2 {
	font-size: clamp(48px, 7vw, 82px);
}

.signals-heading > p:last-child {
	margin: 0 0 5px;
	color: #77777f;
	font-size: 15px;
	line-height: 1.6;
}

.signal-grid {
	display: grid;
	margin-top: clamp(64px, 8vw, 96px);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid #242428;
	border-bottom: 1px solid #242428;
}

.signal-grid article {
	display: flex;
	min-height: 230px;
	padding: 38px;
	flex-direction: column;
	justify-content: space-between;
	border-right: 1px solid #242428;
}

.signal-grid article:last-child {
	border-right: none;
}

.signal-grid strong {
	color: #f5f5f7;
	font-size: clamp(42px, 5vw, 66px);
	font-weight: 580;
	letter-spacing: -0.045em;
}

.signal-grid span {
	max-width: 250px;
	color: #77777f;
	font-size: 14px;
	line-height: 1.55;
}

.lab-method .section-heading {
	max-width: 850px;
}

.method-flow {
	display: grid;
	margin: clamp(72px, 9vw, 112px) 0 0;
	padding: 0;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid #cfcfd4;
	border-bottom: 1px solid #cfcfd4;
	list-style: none;
}

.method-flow li {
	min-height: 300px;
	padding: 34px 28px;
	border-right: 1px solid #cfcfd4;
}

.method-flow li:last-child {
	border-right: none;
}

.method-flow li > span {
	color: #0066cc;
	font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
	font-size: 11px;
	font-weight: 600;
}

.method-flow li div {
	margin-top: 98px;
}

.method-flow h3 {
	margin: 0 0 12px;
	font-size: 25px;
	letter-spacing: -0.025em;
}

.method-flow p {
	margin: 0;
	color: #66666b;
	font-size: 15px;
	line-height: 1.6;
}

.lab-contact {
	padding: clamp(112px, 14vw, 190px) 0;
	background: #000;
	color: #f5f5f7;
}

.lab-contact__inner {
	text-align: center;
}

.lab-contact .section-label {
	justify-content: center;
}

.lab-contact h2 {
	font-size: clamp(54px, 8vw, 96px);
}

.lab-contact__inner > p:nth-of-type(2) {
	max-width: 660px;
	margin: 34px auto 0;
	color: #86868b;
	font-size: clamp(17px, 1.7vw, 20px);
	line-height: 1.55;
}

.lab-contact a {
	display: inline-flex;
	min-height: 48px;
	margin-top: 42px;
	padding: 12px 26px;
	align-items: center;
	gap: 12px;
	border-radius: 999px;
	background: #f5f5f7;
	color: #000;
	font-size: 15px;
	font-weight: 650;
	text-decoration: none;
	transition: transform 300ms var(--lab-ease), background-color 300ms ease;
}

.lab-contact a:hover {
	background: #fff;
	transform: translateY(-2px);
}

.lab-footer {
	padding: 30px 0;
	border-top: 1px solid #1d1d1f;
	background: #000;
}

.lab-footer__inner {
	display: flex;
	min-height: 52px;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.lab-footer a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
}

.lab-footer img {
	display: block;
	width: auto;
	height: 15px;
}

.lab-footer p {
	margin: 0;
	color: #64646b;
	font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
	font-size: 10px;
	letter-spacing: 0.09em;
}

.lab-footer__legal {
	display: grid;
	margin-top: 18px;
	padding-top: 28px;
	grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
	gap: clamp(32px, 7vw, 90px);
	border-top: 1px solid #1d1d1f;
}

.lab-footer__legal p {
	max-width: 760px;
	color: #505057;
	font-size: 9.5px;
	letter-spacing: 0.025em;
	line-height: 1.7;
}

.lab-footer__legal strong {
	color: #77777f;
	font-weight: 600;
}

.reveal {
	opacity: 1;
	transform: translateY(0);
}

.js .reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 900ms var(--lab-ease), transform 900ms var(--lab-ease);
}

.js .reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 640px) {
	.lab-intro {
		padding-inline: 18px;
	}

	.lab-orbit {
		width: min(100vw, 520px);
		height: clamp(280px, 52vh, 480px);
	}

	.lab-lockup {
		margin-top: -22px;
	}

	.lab-lockup h1 {
		gap: 8px;
		font-size: clamp(17px, 5.2vw, 26px);
		letter-spacing: 0.12em;
	}

	.lab-kicker {
		font-size: 9px;
	}
}

@media (max-width: 900px) {
	.section-heading--split,
	.lab-mandate .container,
	.mechanism-layout,
	.signals-heading {
		grid-template-columns: 1fr;
	}

	.lab-mandate .container,
	.mechanism-layout {
		gap: 54px;
	}

	.mandate-columns {
		grid-template-columns: 1fr;
		gap: 24px;
	}

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

	.program-card {
		min-height: 360px;
	}

	.production-feature__body {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.production-evidence {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.production-evidence div:nth-child(2) {
		border-right: none;
	}

	.production-evidence div:nth-child(-n + 2) {
		border-bottom: 1px solid #242428;
	}

	.stack-row {
		grid-template-columns: 112px minmax(170px, 0.65fr) 1.35fr;
	}

	.stack-row > span {
		grid-column: 2 / -1;
		justify-self: start;
	}

	.signals-heading .section-label {
		grid-column: auto;
		margin-bottom: -20px;
	}

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

	.signal-grid article {
		min-height: 180px;
		border-right: none;
		border-bottom: 1px solid #242428;
	}

	.signal-grid article:last-child {
		border-bottom: none;
	}

	.method-flow {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.method-flow li:nth-child(2) {
		border-right: none;
	}

	.method-flow li:nth-child(-n + 2) {
		border-bottom: 1px solid #cfcfd4;
	}
}

@media (max-width: 640px) {
	.container {
		padding-inline: 18px;
	}

	.nav-inner {
		padding-inline: 20px;
	}

	.nav-logo img {
		height: 13px;
	}

	.btn-nav {
		padding-inline: 16px;
		font-size: 14px;
	}

	.lab-section {
		padding-block: 88px;
	}

	.section-heading h2,
	.mechanism-copy h2,
	.signals-heading h2 {
		font-size: clamp(40px, 12vw, 56px);
	}

	.program-card {
		min-height: 0;
		padding: 28px;
		border-radius: 20px;
	}

	.program-card h3 {
		margin-top: 64px;
	}

	.production-feature {
		border-radius: 20px;
	}

	.production-feature__header {
		min-height: 88px;
		padding: 18px 22px;
		align-items: flex-start;
		flex-direction: column;
		justify-content: center;
		gap: 8px;
	}

	.production-feature__body {
		min-height: 0;
		padding: 50px 24px 56px;
		gap: 54px;
	}

	.production-feature__identity h3 {
		font-size: clamp(82px, 28vw, 118px);
	}

	.production-feature__copy > p {
		font-size: 17px;
	}

	.production-evidence {
		grid-template-columns: 1fr;
	}

	.production-evidence div,
	.production-evidence div:nth-child(2) {
		min-height: 132px;
		padding: 24px;
		border-right: none;
		border-bottom: 1px solid #242428;
	}

	.production-evidence div:last-child {
		border-bottom: none;
	}

	.production-feature__note {
		padding: 22px 24px;
	}

	.mechanism-layout {
		gap: 42px;
	}

	.activation-figure {
		margin-inline: -8px;
		padding: 12px 8px 20px;
	}

	.principle-grid {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.stack-row {
		padding: 30px 0;
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.stack-row > span {
		grid-column: auto;
		margin-top: 8px;
	}

	.method-flow {
		grid-template-columns: 1fr;
		border-bottom: none;
	}

	.method-flow li,
	.method-flow li:nth-child(2) {
		min-height: 230px;
		padding-inline: 18px;
		border-right: none;
		border-bottom: 1px solid #cfcfd4;
	}

	.method-flow li div {
		margin-top: 60px;
	}

	.lab-footer__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.lab-footer__legal {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}

@media (max-width: 420px) {
	.nav-inner {
		gap: 12px;
	}

	.nav-logo img {
		height: 11px;
	}

	.btn-nav {
		padding-inline: 12px;
		font-size: 12.5px;
		white-space: nowrap;
	}
}

@media (max-height: 700px) {
	.lab-intro {
		padding-block: 84px 28px;
	}

	.lab-orbit {
		height: min(54vh, 380px);
	}

	.lab-rule {
		margin-top: 20px;
	}
}

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

	.btn,
	.btn-primary::after,
	.lab-nav,
	.program-card,
	.lab-contact a,
	.reveal {
		transition: none;
	}

	.btn:hover,
	.program-card:hover,
	.lab-contact a:hover {
		transform: none;
	}

	.js .reveal {
		opacity: 1;
		transform: none;
	}

	.lab-stage {
		transition: none;
	}

	.intro-running .lab-kicker,
	.intro-running .lab-lockup h1,
	.intro-running .lab-rule,
	.intro-running .lab-rule i,
	.intro-running .lab-enter,
	.intro-running .lab-orbit__halo {
		animation: none;
	}
}
