/* =====================================================================
   AmperieLabs — main stylesheet
   White ground, hairline grid, Inter Tight. Two-fork accent system:
   Services = teal, solid rules; Research = copper, dotted rules.
   ===================================================================== */

:root {
	--teal: #49B6A2;
	--teal-2: #1D9E75;
	--teal-deep: #0B7773;
	--copper: #D85A30;
	--logo-teal: #80c1bf;
	--logo-copper: #e28155;
	--char: #111417;
	--muted: rgba(17,20,23,0.48);
	--faint: rgba(17,20,23,0.42);
	--hairline: rgba(17,20,23,0.10);
	--bg: #FFFFFF;
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);

	/* fork accent (shared pages default to the brand teal) */
	--accent: var(--teal-2);
	--accent-deep: var(--teal-deep);
	--accent-rule: var(--teal-2);
	--rule-style: solid;
}
body.fork-services {
	--accent: var(--teal-2);
	--accent-deep: var(--teal-deep);
	--accent-rule: var(--teal-2);
	--rule-style: solid;
}
body.fork-research {
	--accent: var(--copper);
	--accent-deep: var(--copper);
	--accent-rule: repeating-linear-gradient(to right,
		var(--copper) 0, var(--copper) 3px, transparent 3px, transparent 7px);
	--rule-style: dotted;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	background: var(--bg);
	color: var(--char);
	font-family: "Inter Tight", "Inter", -apple-system, sans-serif;
	font-weight: 400;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
::selection { background: rgba(73,182,162,0.22); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* --- accessibility helpers --- */
.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	position: absolute;
	word-wrap: normal;
}
.skip-link:focus {
	clip-path: none;
	width: auto;
	height: auto;
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 100;
	padding: 0.7rem 1.1rem;
	background: var(--char);
	color: #fff;
	font-size: 13px;
	letter-spacing: 0.1em;
}
a:focus-visible {
	outline: 1px solid var(--accent, var(--teal-2));
	outline-offset: 4px;
}

/* =================== ENTRANCE (locked design) =================== */
.entrance {
	position: relative;
	width: 100vw;
	height: 100vh;
	height: 100svh;
	min-height: 620px;
	background: var(--bg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

/* --- signal stage --- */
.stage {
	position: relative;
	height: 46vh;
	flex: none;
}
.sig {
	position: absolute;
	top: calc(32vh - 110px);
	left: 0;
	width: 100%;
	height: 220px;
	display: block;
	overflow: visible;
}
.sig path { fill: none; vector-effect: non-scaling-stroke; }
.sig-teal path.trace   { stroke: var(--teal); stroke-width: 0.7; opacity: 0.24; stroke-linecap: round; stroke-linejoin: round; }
.sig-copper path.trace { stroke: var(--logo-copper); stroke-width: 0.9; opacity: 0.42; stroke-linecap: round; stroke-linejoin: round; }
.sig-teal circle   { fill: var(--teal-2); opacity: 0.28; }
.sig-copper circle { fill: var(--copper); opacity: 0.24; }
.scatter circle { fill: var(--char); opacity: 0.06; }
.dirty-samples .sample {
	fill: var(--teal-2);
	opacity: 0.48;
	transform-box: fill-box;
	transform-origin: center;
}
.dirty-samples .sample.noise { opacity: 0.22; }
.dirty-samples .sample.hot { opacity: 0.68; }
.freq-bins line {
	stroke: var(--teal-2);
	stroke-width: 0.65;
	stroke-linecap: round;
	opacity: 0.2;
	vector-effect: non-scaling-stroke;
}
.e-signal .dirty-samples .sample.hot {
	animation: sampleping 0.9s ease-out var(--d, 0s) both;
}

/* pulse sweeps: idle (invisible) until the bird settles, then
   desynchronised pulses run through the blue side and one strong
   clean pulse exits on the copper side */
.sig .sweep { stroke-linecap: round; stroke-linejoin: round; fill: none; opacity: 0; }
.sig .sweep-t1 { stroke: var(--teal-2); stroke-width: 1.35; stroke-dasharray: 0.032 0.968; stroke-dashoffset: 0.82; }
.sig .sweep-t2 { stroke: var(--teal-2); stroke-width: 1.15; stroke-dasharray: 0.026 0.974; stroke-dashoffset: 0.5; }
.sig .sweep-t3 { stroke: var(--teal-2); stroke-width: 1.3;  stroke-dasharray: 0.03 0.97;   stroke-dashoffset: 0.28; }
.sig .sweep-c  { stroke: var(--copper); stroke-width: 2;    stroke-dasharray: 0.12 0.88;  stroke-dashoffset: -1; }
.e-signal .sweep-t1 { animation: dirtimpulse1 1.15s cubic-bezier(0.42, 0, 0.45, 1) 0s    forwards; }
.e-signal .sweep-t2 { animation: dirtimpulse2 0.9s  cubic-bezier(0.35, 0, 0.5, 1) 0.28s forwards; }
.e-signal .sweep-t3 { animation: dirtimpulse3 1.05s cubic-bezier(0.45, 0, 0.35, 1) 0.62s forwards; }
.e-signal .sweep-c  { animation: cleanimpulse 1.0s cubic-bezier(0.34, 0, 0.18, 1) 1.45s forwards; }
@keyframes dirtimpulse1 { 0% { opacity: 0; stroke-dashoffset: 0.82; } 16%, 70% { opacity: 0.68; } 100% { opacity: 0; stroke-dashoffset: -0.18; } }
@keyframes dirtimpulse2 { 0% { opacity: 0; stroke-dashoffset: 0.5; }  12%, 68% { opacity: 0.56; } 100% { opacity: 0; stroke-dashoffset: -0.5; } }
@keyframes dirtimpulse3 { 0% { opacity: 0; stroke-dashoffset: 0.28; } 18%, 72% { opacity: 0.62; } 100% { opacity: 0; stroke-dashoffset: -0.72; } }
@keyframes cleanimpulse { 0% { opacity: 0; stroke-dashoffset: -1; } 18%, 78% { opacity: 0.78; } 100% { opacity: 0; stroke-dashoffset: 0.12; } }
@keyframes sampleping {
	0% { opacity: 0.2; transform: scale(0.8); }
	30% { opacity: 0.8; transform: scale(1.55); }
	100% { opacity: 0.34; transform: scale(1); }
}

.sig-teal, .sig-copper { transition: opacity 0.4s ease; }
.entrance:has(.route.services:hover) .sig-teal,
.entrance:has(.route.services:focus-visible) .sig-teal { opacity: 1.12; }
.entrance:has(.route.research:hover) .sig-copper,
.entrance:has(.route.research:focus-visible) .sig-copper { opacity: 1.12; }

/* white dissolve under the logo */
.dissolve {
	position: absolute;
	top: calc(32vh - 130px);
	left: 50%;
	transform: translateX(-50%);
	width: min(54vw, 720px);
	height: 260px;
	background: radial-gradient(closest-side, #fff 55%, rgba(255,255,255,0) 100%);
	pointer-events: none;
	transition: width 0.9s var(--ease-out);
}
.js .entrance:not(.e-assemble):not(.e-static) .dissolve { width: 280px; }

/* calibration rings + axis */
.rings {
	position: absolute;
	top: calc(32vh - 240px);
	left: calc(50% - 240px);
	width: 480px;
	height: 480px;
	pointer-events: none;
	transition: opacity 0.7s ease;
}
.e-assemble .rings, .e-static .rings,
.e-assemble .scatter, .e-static .scatter { opacity: 0; }
.scatter { transition: opacity 0.7s ease; }
.rings circle { fill: none; vector-effect: non-scaling-stroke; }
.rings .r1 { stroke: rgba(73,182,162,0.10); stroke-width: 1; }
.rings .r2 { stroke: rgba(216,90,48,0.08);  stroke-width: 1; }
.rings .tick  { stroke: rgba(17,20,23,0.16); stroke-width: 1; }
.rings .cross { stroke: rgba(17,20,23,0.14); stroke-width: 1; }
.rings .axis  {
	stroke: rgba(17,20,23,0.12);
	stroke-width: 1;
	stroke-dasharray: 1 7;
	stroke-linecap: round;
}

/* soft halo + landing flash behind the mark */
.pulse, .flash {
	position: absolute;
	top: calc(32vh - 110px);
	left: calc(50% - 110px);
	width: 220px;
	height: 220px;
	border-radius: 50%;
	opacity: 0;
	pointer-events: none;
}
.pulse {
	background: radial-gradient(closest-side, rgba(73,182,162,0.14), rgba(216,90,48,0.05) 60%, transparent 100%);
	filter: blur(10px);
}
.flash {
	background: radial-gradient(closest-side, rgba(128,193,191,0.6), rgba(226,129,84,0.22) 55%, transparent 100%);
	filter: blur(6px);
}
.e-landed .pulse { animation: pulse 0.7s ease-in-out 0.1s; }
.e-landed .flash { animation: flashout 0.42s ease-out; }
@keyframes pulse    { 0% { opacity: 0; transform: scale(0.8); } 45% { opacity: 1; } 100% { opacity: 0; transform: scale(1.18); } }
@keyframes flashout { 0% { opacity: 0; transform: scale(0.55); } 18% { opacity: 1; } 100% { opacity: 0; transform: scale(1.3); } }

/* --- the logo scene --- */
.logosvg {
	position: absolute;
	top: 32vh;
	left: 50%;
	width: min(600px, 60vw);
	height: auto;
	transform: translate(-50%, -71.8%);
	overflow: visible;
}
.logosvg .t { fill: var(--logo-teal); }
.logosvg .c { fill: var(--logo-copper); }
.logosvg .w { fill: #fff; }

/* root slide: A centered first, then glides to reveal the wordmark */
#logoRoot { transition: transform 1.05s var(--ease-out); }
.js .entrance:not(.e-assemble):not(.e-static) #logoRoot { transform: translateX(281px); }

/* the A resolves in early */
.js .entrance:not(.e-static) #apath { animation: resolve 0.6s var(--ease-out) 0.9s backwards; }

/* flying bird vs perched mark */
#birdfly { opacity: 0; }
.js .entrance:not(.e-landed):not(.e-static) #birdfly { opacity: 1; }
.js .entrance:not(.e-landed):not(.e-static) #logobird { opacity: 0; }
.e-landed #flytail,
.e-landed #flycover { opacity: 0; }
.e-landed #logobird {
	transform-box: fill-box;
	transform-origin: center;
	animation: perchresolve 0.18s ease-out both;
}
.e-landed #birdfly { animation: birdhandoff 0.14s ease-out both; }
.e-landed #wing2 {
	transform: none;
	transition: none;
}
@keyframes perchresolve {
	from { opacity: 0; transform: scale(0.985); }
	to   { opacity: 1; transform: scale(1); }
}
@keyframes birdhandoff {
	0%   { opacity: 1; }
	45%  { opacity: 0.35; }
	100% { opacity: 0; }
}

/* bird rig */
#birdface { transform-box: fill-box; transform-origin: center; transition: transform 0.22s ease-in-out; }
#birdface.face-left { transform: scaleX(-1); }
#birdrock { transform-box: fill-box; transform-origin: 50% 40%; }
#wing2 { transform-box: fill-box; transform-origin: 92% 92%; transition: transform 0.35s ease; }
#birdfly.flying #wing2 { animation: flap 0.13s ease-in-out infinite alternate; transition: none; }
#birdfly.flying #birdrock { animation: rock 0.26s ease-in-out infinite alternate; }
@keyframes flap { from { transform: rotate(15deg); } to { transform: rotate(-21deg); } }
@keyframes rock { from { transform: rotate(3.5deg) translateY(-2px); } to { transform: rotate(-2.5deg) translateY(2px); } }

/* lightning tail: appears when the bird perches */
.js .entrance:not(.e-landed):not(.e-static) #bolt { opacity: 0; }
.e-landed #bolt {
	transform-box: fill-box;
	transform-origin: 50% 8%;
	animation: boltin 0.55s ease-out both;
}
@keyframes boltin {
	0%   { opacity: 0;    transform: scale(0.88); }
	18%  { opacity: 0.9;  transform: scale(0.97); }
	30%  { opacity: 0.15; }
	46%  { opacity: 1;    transform: scale(1.01); }
	58%  { opacity: 0.45; }
	74%  { opacity: 1; }
	100% { opacity: 1;    transform: scale(1); }
}

/* wordmark letters cascade rightward */
.letter { transform-box: fill-box; }
.js .entrance:not(.e-assemble):not(.e-static) .letter { opacity: 0; }
.e-assemble .letter { animation: letterin 0.55s var(--ease-out) var(--ld, 0.2s) both; }
@keyframes letterin { from { opacity: 0; transform: translateX(-16px); } }

/* --- tagline --- */
.tagline {
	text-align: center;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--faint);
	padding: 0 1.5rem;
	text-indent: 0.3em;
}

/* --- routes --- */
.routes {
	margin-top: 8vh;
	display: grid;
	grid-template-columns: 1fr 1px 1fr;
	align-items: start;
	padding: 0 5vw;
}
.divider {
	position: relative;
	align-self: stretch;
	margin-top: -5vh;
	min-height: calc(100% + 5vh);
	border-left: 1px dotted rgba(17,20,23,0.10);
}
.divider::after {
	content: "";
	position: absolute;
	top: 50%;
	left: -2px;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--teal);
}

.route {
	position: relative;
	justify-self: center;
	text-align: center;
	padding: 2.4rem 3rem 2.2rem;
	display: block;
}
.route .idx {
	display: block;
	font-size: 13px;
	letter-spacing: 0.32em;
	font-weight: 400;
	font-variant-numeric: tabular-nums;
	text-indent: 0.32em;
}
.route h2 {
	margin-top: 0.9rem;
	font-size: clamp(40px, 4.2vw, 60px);
	font-weight: 300;
	letter-spacing: 0.18em;
	text-indent: 0.18em;
	text-transform: uppercase;
	line-height: 1.05;
	transition: transform 0.3s var(--ease-out);
}
.route:hover h2, .route:focus-visible h2 { transform: translateY(-2px); }
.route .rule {
	display: block;
	width: 60px;
	height: 1px;
	margin: 1.35rem auto 0;
}
.route p {
	margin: 1.4rem auto 0;
	font-size: 20px;
	font-weight: 300;
	line-height: 1.5;
	color: rgba(17,20,23,0.78);
}
.route .enter {
	display: inline-flex;
	align-items: baseline;
	gap: 0.7rem;
	margin-top: 1.9rem;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.26em;
	text-transform: uppercase;
}
.route .enter .arr {
	font-weight: 300;
	letter-spacing: 0;
	transition: transform 0.3s var(--ease-out);
}
.route:hover .enter .arr, .route:focus-visible .enter .arr { transform: translateX(8px); }

.route.services .idx, .route.services .enter { color: var(--teal-2); }
.route.services h2 { color: var(--teal-deep); }
.route.services .rule { background: var(--teal-2); }
.route.services p { max-width: 360px; }
.route.research .idx, .route.research .enter { color: var(--copper); }
.route.research h2 { color: var(--copper); }
.route.research .rule { background: var(--copper); }
.route.research p { max-width: 390px; }

.bk {
	position: absolute;
	width: 14px;
	height: 14px;
	opacity: 0.3;
	transition: opacity 0.35s ease;
}
.route.services .bk { border-color: var(--teal-2); }
.route.research .bk { border-color: var(--copper); }
.bk.tl { top: 0;    left: 0;   border-top: 1px solid;    border-left: 1px solid; }
.bk.tr { top: 0;    right: 0;  border-top: 1px solid;    border-right: 1px solid; }
.bk.bl { bottom: 0; left: 0;   border-bottom: 1px solid; border-left: 1px solid; }
.bk.br { bottom: 0; right: 0;  border-bottom: 1px solid; border-right: 1px solid; }
.route:hover .bk, .route:focus-visible .bk { opacity: 0.75; }

.route:focus-visible { outline: 1px solid var(--teal-2); outline-offset: 8px; }
.route.research:focus-visible { outline-color: var(--copper); }

/* --- scroll cue --- */
.cue {
	margin-top: auto;
	align-self: center;
	margin-bottom: 3.5vh;
	width: 1px;
	height: 32px;
	background: linear-gradient(rgba(73,182,162,0.55), rgba(73,182,162,0));
}

/* UI phase */
.js .entrance:not(.e-ui):not(.e-static) .tagline,
.js .entrance:not(.e-ui):not(.e-static) .route,
.js .entrance:not(.e-ui):not(.e-static) .divider,
.js .entrance:not(.e-ui):not(.e-static) .cue { opacity: 0; }
.e-ui .tagline { animation: rise 0.5s var(--ease-out) both; }
.e-ui .route.services { animation: rise 0.55s var(--ease-out) 0.16s both; }
.e-ui .route.research { animation: rise 0.55s var(--ease-out) 0.24s both; }
.e-ui .divider { animation: fadein 0.6s ease 0.35s both; }
.e-ui .cue { animation: fadein 0.5s ease 0.75s both, cuedrop 2.6s ease-in-out 1.4s infinite; }
.e-static .cue { animation: cuedrop 2.6s ease-in-out infinite; }

@keyframes fadein  { from { opacity: 0; } }
@keyframes rise    { from { opacity: 0; transform: translateY(8px); } }
@keyframes resolve { from { opacity: 0; filter: blur(5px); } }
@keyframes cuedrop { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(7px); opacity: 0.45; } }

/* load-time: the static signal and faint calibration environment fade in once */
@media (prefers-reduced-motion: no-preference) {
	.js .sig-teal, .js .sig-copper { animation: fadein 0.6s ease 0.1s both; }
	.js .scatter circle {
		animation: fadein 0.4s ease both;
		animation-delay: calc(0.05s + var(--d, 0s));
	}
	.js .rings .r1, .js .rings .r2 {
		stroke-dasharray: 1;
		stroke-dashoffset: 1;
		animation: ringdraw 0.55s ease-out 1.4s forwards;
	}
	.js .rings .tick, .js .rings .cross, .js .rings .axis {
		opacity: 0;
		animation: fadein 0.45s ease 1.7s forwards;
	}
	.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s var(--ease-out); }
	.js .reveal.in { opacity: 1; transform: none; }
}
@keyframes ringdraw { to { stroke-dashoffset: 0; } }

/* =================== SHELL =================== */
.below {
	position: relative;
	background: var(--bg);
	overflow-wrap: break-word;
}

.siteheader {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(255,255,255,0.88);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-top: 1px solid var(--hairline);
	border-bottom: 1px solid var(--hairline);
}
.siteheader .in {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0.6rem clamp(1.25rem, 4vw, 2.5rem);
	min-height: 78px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.siteheader img { height: 34px; display: block; }
.siteheader nav {
	display: flex;
	gap: 0.35rem clamp(1.35rem, 3.2vw, 3rem);
	flex-wrap: wrap;
	justify-content: flex-end;
}
.siteheader nav a {
	font-size: 13px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
	transition: color 0.25s ease;
}
.siteheader nav a:hover { color: var(--char); }
.siteheader nav a[aria-current="page"] { color: var(--accent-deep); }

/* interior page head */
.page-head { border-bottom: 1px solid var(--hairline); }
.page-head .in {
	max-width: 1160px;
	margin: 0 auto;
	padding: clamp(3rem, 7vh, 4.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2rem, 4vh, 2.8rem);
}
.page-head .section-kicker { margin-bottom: 1.1rem; }
body.fork-services .page-head .section-kicker { color: var(--teal-2); }
body.fork-research .page-head .section-kicker { color: var(--copper); }
.page-head h1 {
	font-size: clamp(32px, 3.6vw, 50px);
	font-weight: 300;
	line-height: 1.15;
	letter-spacing: -0.01em;
	max-width: 26ch;
}

/* =================== SECTIONS & GRIDS =================== */
.below section {
	max-width: 1160px;
	margin: 0 auto;
	padding: clamp(4rem, 8vh, 6.5rem) clamp(1.25rem, 4vw, 2.5rem);
}
.below section + section { border-top: 1px solid var(--hairline); }

.below h3 {
	font-size: clamp(26px, 2.8vw, 38px);
	font-weight: 300;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--char);
	max-width: 22ch;
}

.section-head {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: end;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head > * { margin-top: 0; }
.section-kicker {
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--muted);
}

.card-grid {
	display: grid;
	gap: 1px;
	background: var(--hairline);
	border: 1px solid var(--hairline);
}
.overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.domain-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.engage-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.info-card,
.domain-card,
.route-card {
	position: relative;
	background: rgba(255,255,255,0.96);
	transition: background 0.25s ease;
	margin: 0;
}
.info-card {
	min-height: 260px;
	padding: clamp(1.6rem, 3vw, 2.4rem);
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 0;
}
.overview-grid .info-card { justify-content: space-between; }
.engage-grid .info-card,
.status-grid .info-card,
.work-grid .info-card { min-height: 0; }
.info-card::before,
.route-card::before {
	content: "";
	display: block;
	flex: none;
	width: 42px;
	height: 1px;
	background: var(--accent-rule);
	opacity: 0.7;
	margin-bottom: 0;
}
/* fork accent system: services = teal solid, research = copper dotted */
.info-card.accent-copper::before,
.route-card.r::before {
	background: repeating-linear-gradient(to right,
		var(--copper) 0, var(--copper) 3px, transparent 3px, transparent 7px);
}
.info-card.accent-teal::before,
.route-card.s::before { background: var(--teal-2); }

.card-eyebrow,
.domain-card .idx,
.route-card .idx {
	display: block;
	font-size: 12px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	font-variant-numeric: tabular-nums;
	color: rgba(17,20,23,0.42);
}
.info-card h4,
.route-card h4 {
	margin-top: 1.4rem;
	font-size: clamp(20px, 2vw, 27px);
	font-weight: 300;
	letter-spacing: 0.02em;
	line-height: 1.25;
	color: var(--char);
	max-width: 22ch;
}
.info-card p,
.route-card p {
	margin-top: 1.2rem;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	color: rgba(17,20,23,0.72);
}
.info-card p strong { font-weight: 500; color: var(--char); }
.info-card ul {
	list-style: none;
	margin-top: 1.2rem;
	padding: 0;
}
.info-card li {
	padding: 0.55rem 0;
	border-top: 1px var(--rule-style) var(--hairline);
	font-size: 15px;
	line-height: 1.55;
	color: rgba(17,20,23,0.72);
}
.info-card li:first-child { border-top: 0; padding-top: 0; }

.domain-card {
	min-height: 138px;
	padding: 1.35rem 1.25rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.domain-card strong {
	display: block;
	font-size: 14px;
	line-height: 1.35;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(17,20,23,0.72);
}
.domain-card:nth-child(odd) .idx { color: var(--teal-2); }
.domain-card:nth-child(even) .idx { color: var(--copper); }

/* signal lifecycle strip: joins the grid above it; the sequence resolves
   from teal (raw) to copper (deployed), echoing the entrance signal */
.lifecycle {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1px;
	background: var(--hairline);
	border: 1px solid var(--hairline);
	border-top: 0;
}
.lifecycle .step {
	background: rgba(255,255,255,0.96);
	padding: 1.05rem 1.2rem 1.15rem;
	transition: background 0.25s ease;
}
.lifecycle .step:hover { background: #fff; }
.lifecycle .idx {
	display: block;
	font-size: 11px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	font-variant-numeric: tabular-nums;
	color: var(--teal-2);
}
.lifecycle .step:last-child .idx { color: var(--copper); }
.lifecycle strong {
	display: block;
	margin-top: 0.55rem;
	font-size: 12.5px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(17,20,23,0.66);
}

.route-card {
	min-height: 300px;
	padding: clamp(1.8rem, 3vw, 2.7rem);
	display: flex;
	flex-direction: column;
}
.route-card.s h4,
.route-card.s .idx,
.route-card.s .enter { color: var(--teal-deep); }
.route-card.r h4,
.route-card.r .idx,
.route-card.r .enter { color: var(--copper); }
.route-card .enter {
	display: inline-flex;
	align-items: baseline;
	gap: 0.6rem;
	margin-top: auto;
	padding-top: 2rem;
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}
.route-card .enter .arr { transition: transform 0.3s var(--ease-out); }
.info-card:hover,
.domain-card:hover { background: #fff; }
.route-card:hover .enter .arr { transform: translateX(6px); }

.route-card.s { background: #F7FCFB; }
.route-card.r { background: #FDF8F7; }
.route-card.s:hover { background: #F2FAF8; }
.route-card.r:hover { background: #FCF4F2; }

.card-corners::before,
.card-corners::after {
	content: "";
	position: absolute;
	width: 12px;
	height: 12px;
	opacity: 0.28;
}
.card-corners::before {
	top: 1rem;
	right: 1rem;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
}
.card-corners::after {
	bottom: 1rem;
	left: 1rem;
	border-bottom: 1px solid currentColor;
	border-left: 1px solid currentColor;
}
.card-corners.teal { color: var(--teal-2); }
.card-corners.copper { color: var(--copper); }
.card-corners.copper::before { border-top-style: dotted; border-right-style: dotted; }
.card-corners.copper::after  { border-bottom-style: dotted; border-left-style: dotted; }

/* =================== CONTENT PRIMITIVES =================== */
.pagecontent {
	--pad-x: clamp(1.25rem, 4vw, 2.5rem);
	padding-bottom: clamp(4rem, 8vh, 6.5rem);
}
.pagecontent > :not(section):not(.wp-block-group) {
	max-width: min(72ch, 1160px);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--pad-x);
	padding-right: var(--pad-x);
}
.pagecontent > p:first-child { margin-top: clamp(2.5rem, 5vh, 3.5rem); }
.pagecontent > p { margin-top: 1.15rem; }
.pagecontent p,
.pagecontent ul,
.pagecontent ol {
	font-size: 16px;
	line-height: 1.7;
	color: rgba(17,20,23,0.72);
}
.pagecontent h2:not(.wp-block-heading *),
.below section h2 {
	font-size: clamp(24px, 2.4vw, 34px);
	font-weight: 300;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--char);
	max-width: 26ch;
}

/* large intro paragraph */
.lede {
	font-size: clamp(18px, 1.8vw, 22px) !important;
	font-weight: 300;
	line-height: 1.6;
	color: rgba(17,20,23,0.8) !important;
	max-width: 58ch;
}

/* hairline row list (bulleted content rendered as ruled rows) */
ul.rowlist,
ol.rowlist {
	list-style: none;
	padding: 0;
	margin-top: 1.6rem;
	border-top: 1px var(--rule-style) var(--hairline);
}
.rowlist li {
	padding: 0.85rem 0.2rem;
	border-bottom: 1px var(--rule-style) var(--hairline);
	font-size: 15.5px;
	line-height: 1.6;
	color: rgba(17,20,23,0.72);
	position: relative;
	padding-left: 1.6rem;
}
.rowlist li::before {
	content: "";
	position: absolute;
	left: 0.15rem;
	top: 1.42rem;
	width: 7px;
	height: 1px;
	background: var(--accent);
}

/* enter links: pattern-friendly form <p class="enter"><a>Label</a></p> */
.enter { color: var(--accent-deep); }
p.enter {
	margin-top: 1.8rem;
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--accent-deep);
}
p.enter > a { color: inherit; }
p.enter > a::after {
	content: "→";
	display: inline-block;
	margin-left: 0.6rem;
	letter-spacing: 0;
	transition: transform 0.3s var(--ease-out);
}
p.enter > a:hover::after { transform: translateX(6px); }
p.enter.enter-copper { color: var(--copper); }
p.enter.enter-teal { color: var(--teal-deep); }

/* quiet cross-link line (spec section 8: one light link per fork) */
p.crosslink {
	margin-top: clamp(2rem, 4vh, 3rem);
	padding-top: 1.2rem;
	border-top: 1px var(--rule-style) var(--hairline);
	font-size: 14px;
	color: var(--muted);
}
p.crosslink a { color: var(--accent-deep); }
p.crosslink a:hover { text-decoration: underline; }

/* footnote / disclaimer line */
p.smallprint {
	margin-top: 1.6rem;
	font-size: 13px;
	letter-spacing: 0.04em;
	color: var(--muted);
}

/* =================== FORMS (Contact Form 7) =================== */
.wpcf7 form { margin-top: 1.4rem; }
.wpcf7 form p { margin-top: 1.05rem; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
	display: block;
	width: 100%;
	margin-top: 0.45rem;
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--hairline);
	border-radius: 0;
	background: #fff;
	font: inherit;
	font-size: 15px;
	letter-spacing: normal;
	text-transform: none;
	color: var(--char);
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	outline: none;
	border-color: var(--accent);
}
.wpcf7 input[type="submit"] {
	margin-top: 1.4rem;
	padding: 0.85rem 2rem;
	border: 1px solid var(--accent-deep);
	background: transparent;
	color: var(--accent-deep);
	font: inherit;
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease;
}
.wpcf7 input[type="submit"]:hover {
	background: var(--accent-deep);
	color: #fff;
}
.wpcf7 .wpcf7-not-valid-tip { font-size: 12px; color: var(--copper); letter-spacing: 0.02em; text-transform: none; }
.wpcf7 .wpcf7-response-output {
	margin: 1.4rem 0 0;
	padding: 0.9rem 1.1rem;
	border: 1px solid var(--hairline) !important;
	font-size: 14px;
	color: var(--char);
}

/* =================== POSTS FALLBACK =================== */
.post-list .post-item {
	padding: 1.8rem 0;
	border-top: 1px solid var(--hairline);
}
.post-list .post-item:first-child { border-top: 0; padding-top: 0; }
.post-list h2 { margin-top: 0.5rem; font-weight: 300; font-size: clamp(22px, 2.2vw, 30px); }
.post-list h2 a:hover { color: var(--accent-deep); }
.pagination, .navigation {
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 clamp(1.25rem, 4vw, 2.5rem) 3rem;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.pagination a, .navigation a { color: var(--accent-deep); }

/* =================== FOOTER =================== */
.sitefooter {
	border-top: 1px solid var(--hairline);
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--muted);
}
.sitefooter .in {
	max-width: 1160px;
	margin: 0 auto;
	padding: 2rem clamp(1.25rem, 4vw, 2.5rem) 2.2rem;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1.5rem;
}
.sitefooter img { height: 22px; width: auto; display: block; justify-self: start; opacity: 0.9; }
.sitefooter nav { display: flex; gap: clamp(1.1rem, 2.5vw, 2rem); }
.sitefooter nav a { color: var(--muted); transition: color 0.25s ease; }
.sitefooter nav a:hover { color: var(--char); }
.sitefooter p { justify-self: end; }

/* =================== RESPONSIVE =================== */
@media (max-width: 1100px) {
	.logosvg { width: min(520px, 62vw); }
	.rings { transform: scale(0.86); transform-origin: center; }
	.domain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lifecycle { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.engage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
	.entrance { height: auto; min-height: 100svh; padding-bottom: 1rem; }
	.stage { height: 33vh; }
	.sig { top: calc(23vh - 110px); }
	.sig-teal path.trace { opacity: 0.16; }
	.sig-copper path.trace { opacity: 0.32; }
	.dirty-samples .sample { opacity: 0.28; }
	.dirty-samples .sample.noise { opacity: 0.12; }
	.dirty-samples .sample.hot { opacity: 0.42; }
	.freq-bins line { opacity: 0.1; }
	.dissolve { top: calc(23vh - 115px); width: min(88vw, 400px); height: 230px; }
	.js .entrance:not(.e-assemble):not(.e-static) .dissolve { width: 210px; }
	.rings { top: calc(23vh - 240px); transform: scale(0.62); }
	.pulse, .flash { top: calc(23vh - 110px); }
	.logosvg { top: 23vh; width: min(360px, 88vw); }
	.tagline { font-size: 9.5px; letter-spacing: 0.17em; text-indent: 0.17em; padding: 0 1rem; }
	.routes { margin-top: 5vh; grid-template-columns: 1fr; gap: 2.6rem; padding: 0 1.5rem; }
	.divider { display: none; }
	.route { padding: 1.8rem 1.6rem; }
	.route h2 { font-size: 34px; letter-spacing: 0.14em; text-indent: 0.14em; }
	.route p { font-size: 16.5px; }
	.cue { margin-top: 3rem; margin-bottom: 2.5vh; }
	/* the stacked header is tall on small screens; release it from sticky
	   so it does not consume the viewport while reading */
	.siteheader { position: static; }
	.siteheader .in {
		height: auto;
		min-height: 0;
		padding-top: 1rem;
		padding-bottom: 1rem;
		flex-direction: column;
		gap: 0.85rem;
	}
	.siteheader img { height: 31px; }
	.siteheader nav {
		width: 100%;
		justify-content: center;
		gap: 0.35rem clamp(0.7rem, 3vw, 1.1rem);
		flex-wrap: wrap;
	}
	.siteheader nav a {
		font-size: 10.5px;
		letter-spacing: 0.13em;
		padding: 0.3rem 0.15rem;
	}
	.section-head { grid-template-columns: 1fr; gap: 1.8rem; align-items: start; margin-bottom: 1.7rem; }
	.section-head .section-kicker { justify-self: start; }
	.overview-grid,
	.domain-grid,
	.route-grid,
	.work-grid,
	.engage-grid,
	.status-grid { grid-template-columns: 1fr; }
	.info-card,
	.route-card { min-height: 0; }
	.domain-card { min-height: 104px; }
	.lifecycle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.page-head h1 { font-size: 30px; }
	.page-head .in { padding-top: 2.2rem; padding-bottom: 1.6rem; }
	.wpcf7 input[type="submit"] { width: 100%; }
	.pagecontent > :not(section):not(.wp-block-group) { max-width: none; }
	.sitefooter .in {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 1rem;
		text-align: center;
		padding-top: 1.6rem;
	}
	.sitefooter img, .sitefooter p { justify-self: center; }
	.sitefooter nav { flex-wrap: wrap; justify-content: center; }
}
