/* =====================================================================
   PARATOPE — main stylesheet
   Token system, layout primitives, sections, motion.
   ===================================================================== */

:root {
	--px-ink:    #0B0F14;
	--px-ink-2:  #070A0E;
	--px-ink-3:  #10161D;
	--px-bone:   #E8EEF2;
	--px-bone-dim: #9AA7B2;
	--px-rule:   #1B232C;
	--px-blue:   #3A7DFF;
	--px-glow:   #00FFC6;
	--px-warn:   #FF6A4D;

	--px-ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
	--px-ease-io:  cubic-bezier(0.65, 0, 0.35, 1);

	--px-section-y: clamp(6rem, 12vh, 10rem);
	--px-content:   1280px;
	--px-text:      780px;

	--px-font-sans:    'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
	--px-font-display: 'Söhne', 'Inter', ui-sans-serif, system-ui, sans-serif;
	--px-font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* =================== base reset & typography =================== */
html { scroll-behavior: smooth; }
html, body {
	margin: 0 !important;
	padding: 0 !important;
}
/* WordPress wraps everything in `.wp-site-blocks`. With `useRootPaddingAwareAlignments`
   it can inject a top padding via `--wp--style--root--padding-top` even when our
   theme.json sets it to 0. We force-zero the whole chain so the hero canvas
   docks flush against the viewport top. */
.wp-site-blocks,
.wp-site-blocks > main,
main.wp-block-group {
	margin-top: 0 !important;
	padding-top: 0 !important;
	border-top: 0 !important;
}
main.wp-block-group > *:first-child {
	margin-top: 0 !important;
}
/* Canvas needs to be block-level with no descender baseline space. */
.px-hero__stage canvas {
	vertical-align: top !important;
	margin: 0 !important;
	border: 0 !important;
}
body.paratope {
	background: var(--px-ink);
	color: var(--px-bone);
	font-family: var(--px-font-sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.paratope::selection { background: var(--px-glow); color: var(--px-ink); }

a { color: inherit; text-decoration: none; transition: color .2s var(--px-ease-out); }
a:hover { color: var(--px-glow); }

img, svg, video, canvas { display: block; max-width: 100%; }

/* =================== header / nav =================== */
.paratope-header {
	position: fixed; top: 0; left: 0; right: 0;
	z-index: 50;
	padding: 1.75rem clamp(1.25rem, 4vw, 2.5rem) 1.25rem;
	border: none;
	/* Fully transparent at the top of the page — the hero bg shows through.
	   Background + blur kick in only when scrolled. */
	background: transparent;
	transition: backdrop-filter .3s var(--px-ease-out), background .3s var(--px-ease-out), box-shadow .3s var(--px-ease-out), padding .3s var(--px-ease-out);
}
.paratope-header.is-scrolled {
	padding-top: 1rem;
	padding-bottom: 1rem;
	background: rgba(7, 10, 14, 0.78);
	/* Use box-shadow instead of border-bottom so an unscrolled transparent
	   border doesn't render as a faint 1px line in some browsers. */
	box-shadow: 0 1px 0 0 var(--px-rule);
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
}
.paratope-header__inner {
	max-width: var(--px-content);
	margin: 0 auto;
	width: 100%;
}
.paratope-header .wp-block-group > .wp-block-site-logo,
.paratope-header .wp-block-group > .paratope-logo--parallel {
	flex: 0 0 auto;
}
.paratope-header .paratope-logo--parallel {
	height: 80px;
	width: auto;
	margin-left: 16px;
	filter: drop-shadow(0 0 14px rgba(0,255,198,0.28));
	transition: filter .3s var(--px-ease-out), height .3s var(--px-ease-out);
}
.paratope-header a:hover + .paratope-logo--parallel {
	filter: drop-shadow(0 0 22px rgba(0,255,198,0.5));
}
.paratope-header .wp-block-site-logo img {
	height: 80px; width: auto;
	filter: drop-shadow(0 0 14px rgba(0,255,198,0.28));
	transition: filter .3s var(--px-ease-out), height .3s var(--px-ease-out);
}
.paratope-header .wp-block-site-logo a:hover img {
	filter: drop-shadow(0 0 22px rgba(0,255,198,0.5));
}
/* Slightly shrink the logo once the header condenses on scroll */
.paratope-header.is-scrolled .wp-block-site-logo img { height: 64px; }
.paratope-header.is-scrolled .paratope-logo--parallel { height: 64px; }
@media (max-width: 720px) {
	.paratope-header .wp-block-site-logo img { height: 56px; }
	.paratope-header.is-scrolled .wp-block-site-logo img { height: 48px; }
	.paratope-header .paratope-logo--parallel { height: 56px; }
	.paratope-header.is-scrolled .paratope-logo--parallel { height: 48px; }
}
.paratope-header .wp-block-navigation a {
	font-size: 0.875rem;
	letter-spacing: 0.02em;
	color: var(--px-bone-dim);
	font-weight: 500;
}
.paratope-header .wp-block-navigation a:hover { color: var(--px-bone); }
.paratope-header .wp-block-navigation .wp-block-navigation__container { gap: 2rem; }

/* =================== shared section primitives =================== */
.px-section {
	position: relative;
	padding-block: var(--px-section-y);
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
	max-width: var(--px-content);
	margin-inline: auto;
}
.px-section + .px-section { padding-top: 0; }

.px-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--px-font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--px-bone-dim);
	margin-bottom: 1.75rem;
}
.px-eyebrow__dot {
	width: 6px; height: 6px;
	border-radius: 999px;
	background: var(--px-glow);
	box-shadow: 0 0 12px var(--px-glow), 0 0 24px rgba(0,255,198,0.4);
	animation: px-pulse 2.4s ease-in-out infinite;
}
@keyframes px-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.5; transform: scale(1.15); }
}
.px-section__num {
	font-family: var(--px-font-mono);
	color: var(--px-bone);
	margin-right: 0.5rem;
	opacity: 0.85;
}

.px-h-large {
	font-size: clamp(2rem, 4.5vw, 3.75rem);
	font-weight: 650;
	line-height: 1.0;
	letter-spacing: -0.038em;
	max-width: 18ch;
	margin: 0 0 1.5rem;
}
.px-h-display {
	font-size: clamp(2.5rem, 7vw, 5.5rem);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.042em;
	max-width: 14ch;
	margin: 0 0 2rem;
}
.px-display {
	font-family: var(--px-font-display);
	font-size: clamp(2.5rem, 8vw, 7rem);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: -0.035em;
	margin: 0 0 1.5rem;
}
.px-display__accent {
	background: linear-gradient(135deg, var(--px-glow) 0%, var(--px-blue) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.px-lede {
	font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
	line-height: 1.65;
	color: var(--px-bone);
	font-weight: 200;
	max-width: 50ch;
	margin: 0 0 1.5rem;
}
.px-sub {
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--px-bone-dim);
	max-width: 50ch;
	margin: 0 0 2.25rem;
}
.px-body {
	font-size: 1.0625rem;
	line-height: 1.72;
	color: var(--px-bone);
	max-width: 52ch;
	margin: 0 0 1.25rem;
}

.px-pull {
	font-size: clamp(1.25rem, 2.5vw, 1.875rem);
	line-height: 1.3;
	font-weight: 500;
	letter-spacing: -0.015em;
	color: var(--px-bone);
	border-left: 1px solid var(--px-rule);
	padding-left: 1.5rem;
	margin: 2.5rem 0 0;
	max-width: 36ch;
}
.px-pull--xl {
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	line-height: 1.15;
	font-weight: 600;
	border-left: none;
	padding-left: 0;
	margin-top: 4rem;
	max-width: 24ch;
}
.px-pull__accent { color: var(--px-glow); }
.px-strike {
	position: relative;
	display: inline-block;
}
.px-strike::after {
	content: '';
	position: absolute;
	left: 0; right: 0; top: 55%;
	height: 2px;
	background: var(--px-warn);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 1.1s var(--px-ease-out) .2s;
}
.is-revealed .px-strike::after { transform: scaleX(1); }

/* =================== buttons =================== */
.wp-block-button.is-style-px-primary .wp-block-button__link {
	background: var(--px-bone);
	color: var(--px-ink);
	border-radius: 999px;
	padding: 0.95rem 1.6rem;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	transition: all .25s var(--px-ease-out);
	border: 1px solid var(--px-bone);
}
.wp-block-button.is-style-px-primary .wp-block-button__link:hover {
	background: var(--px-glow);
	border-color: var(--px-glow);
	color: var(--px-ink);
	box-shadow: 0 0 30px rgba(0, 255, 198, 0.45);
	transform: translateY(-1px);
}
.wp-block-button.is-style-px-ghost .wp-block-button__link {
	background: transparent;
	color: var(--px-bone);
	border: 1px solid var(--px-rule);
	border-radius: 999px;
	padding: 0.95rem 1.6rem;
	font-size: 0.9rem;
	font-weight: 500;
	transition: all .25s var(--px-ease-out);
}
.wp-block-button.is-style-px-ghost .wp-block-button__link:hover {
	border-color: var(--px-bone);
	color: var(--px-bone);
	background: rgba(232, 238, 242, 0.04);
}
.px-cta-row { gap: 0.75rem; margin-top: 1.5rem; }

/* =================== HERO (v2) ===================
 * Two-column layout: typography left, WebGL stage right.
 * The section is full-bleed (breaks out of the 1280px section cap)
 * and houses a Three.js scene in the right column. See assets/js/hero.js.
 *
 * v1 CSS is archived at assets/_archived/hero-v1.css.
 * ================================================== */
.px-hero {
	/* Full-bleed: break out of 1280px section cap */
	max-width: none !important;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-inline: 0 !important;
	padding-block: 0 !important;

	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	position: relative;
	background: var(--px-ink);
}

/* WebGL stage — FULL BLEED. The 3D scene is the entire hero background, with
   typography and a left-side gradient veil layered on top. */
.px-hero__stage {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.px-hero__stage canvas {
	display: block;
	width: 100% !important;
	height: 100% !important;
	background: transparent;
}

/* Fallback (no WebGL): subtle radial glow on the right where the scene would be. */
.px-hero__stage-fallback {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 70% 55%, rgba(0, 255, 198, 0.18) 0%, rgba(0, 255, 198, 0.05) 30%, transparent 60%),
		radial-gradient(circle at 70% 85%, rgba(58, 125, 255, 0.10) 0%, transparent 50%);
	opacity: 0;
	transition: opacity 600ms var(--px-ease-out);
	pointer-events: none;
}
.px-hero__stage.is-fallback .px-hero__stage-fallback { opacity: 1; }

/* Veil — multi-stop gradient. Strong dark on the left for typography legibility,
   fading transparent toward the right where the scene reads.
   Plus a subtle bottom fade so the section blends into the next section. */
.px-hero__veil {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(90deg,
			rgba(11, 15, 20, 0.97) 0%,
			rgba(11, 15, 20, 0.88) 22%,
			rgba(11, 15, 20, 0.50) 45%,
			rgba(11, 15, 20, 0.15) 65%,
			rgba(11, 15, 20, 0)    82%),
		linear-gradient(180deg,
			transparent 75%,
			var(--px-ink) 100%);
}

/* Grid is now single-column (just the typography). The 3D stage is full-bleed
   behind it; we just need the text constrained to the left. */
.px-hero__grid {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	min-height: 100vh;
	min-height: 100svh;
	max-width: 1600px;
	margin: 0 auto;
	padding-inline: clamp(1.5rem, 6vw, 4.5rem);
}

.px-hero__text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-block: 7rem 5rem;
	max-width: 780px;
	position: relative;
	z-index: 3;
}
.px-hero__text > * {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Hero typography — uppercase display, sized so the longest line
   ("CONDITIONALLY ACTIVE.") fits the text container without wrapping. */
.px-hero .px-display {
	font-size: clamp(2.1rem, 5.0vw, 4.5rem);
	margin-bottom: 1.75rem;
	text-transform: uppercase;
	letter-spacing: -0.025em;
	line-height: 1.0;
}
.px-hero .px-lede { max-width: 48ch; margin-bottom: 0.5rem; }

.px-hero__scrollcue {
	position: absolute;
	bottom: 1.75rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 4;
	display: flex; align-items: center; gap: 0.75rem;
	font-family: var(--px-font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--px-bone-dim);
	white-space: nowrap;
}
.px-hero__scrollcue-dot {
	animation: px-scrolldot 2s ease-in-out infinite;
}
@keyframes px-scrolldot {
	0% { transform: translateY(0); opacity: 1; }
	60% { transform: translateY(8px); opacity: 0; }
	61% { transform: translateY(0); opacity: 0; }
	100% { transform: translateY(0); opacity: 1; }
}

/* Mobile: 3D stage stays as the background; veil shifts to a top-down fade
   so the antibody/tumor are partially visible behind the text. */
@media (max-width: 900px) {
	.px-hero__veil {
		background:
			linear-gradient(180deg,
				rgba(11, 15, 20, 0.92) 0%,
				rgba(11, 15, 20, 0.70) 35%,
				rgba(11, 15, 20, 0.20) 65%,
				rgba(11, 15, 20, 0)    85%),
			linear-gradient(180deg,
				transparent 80%,
				var(--px-ink) 100%);
	}
	.px-hero__text { padding-block: 6.5rem 2rem; max-width: none; }
	.px-hero .px-display { font-size: clamp(2.25rem, 11vw, 4rem); }
	.px-hero__scrollcue { display: none; }
}

/* =================== SPLIT (platform overview) =================== */
/* No fixed min-height — the section's natural height comes from three
   narrative beats spaced apart, each paired with a phase of the cluster. */
.px-split__cols {
	gap: clamp(2rem, 5vw, 5rem) !important;
	align-items: flex-start !important;
}
/* Sticky LEFT column (the cluster visualization) so it stays in view while
   the right-column beats scroll past. */
.px-split__cols .wp-block-column:nth-child(1) {
	position: sticky;
	top: 14vh;
	align-self: flex-start;
	height: fit-content;
}

/* Each narrative beat sized so the trio paces across the activation animation. */
.px-split__story { display: flex; flex-direction: column; }
.px-beat {
	min-height: 60vh;
	padding-block: 0 !important;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.px-beat:first-child { min-height: 50vh; padding-top: 4vh !important; justify-content: flex-start; }
.px-beat:last-child  { min-height: 70vh; padding-bottom: 4vh !important; }
.px-beat__label {
	font-family: var(--px-font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--px-bone-dim);
	margin: 0 0 1.5rem !important;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
}
.px-beat__num {
	color: var(--px-glow);
	font-weight: 600;
	letter-spacing: 0.08em;
	min-width: 1.5rem;
}
.px-h-medium {
	font-size: clamp(1.5rem, 2.6vw, 2.25rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.025em;
	max-width: 22ch;
	margin: 0 0 1rem;
}

@media (max-width: 900px) {
	.px-split__cols .wp-block-column:nth-child(1) { position: static; top: auto; }
	.px-beat,
	.px-beat:first-child,
	.px-beat:last-child { min-height: 0; padding-block: 1.5rem !important; }
}
.px-keyrow {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1px;
	background: var(--px-rule);
	border: 1px solid var(--px-rule);
	margin: 1.5rem 0 0;
}
.px-keyrow__item {
	background: var(--px-ink);
	padding: 1.25rem 1.25rem;
}
.px-keyrow__label {
	font-family: var(--px-font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--px-bone-dim);
	margin: 0 0 0.4rem !important;
}
.px-keyrow__value {
	font-size: 1rem;
	font-weight: 500;
	margin: 0 !important;
}

/* cluster diagram block (used in platform overview + shortcode) */
.paratope-cluster, .px-cluster {
	position: relative;
	width: 100%;
	min-height: 460px;
	aspect-ratio: 5 / 4;
	border: 1px solid var(--px-rule);
	border-radius: 18px;
	background:
		radial-gradient(ellipse at 60% 55%, rgba(0, 255, 198, 0.06), transparent 60%),
		linear-gradient(180deg, var(--px-ink-3) 0%, var(--px-ink-2) 100%);
	overflow: hidden;
	box-shadow: 0 30px 80px -40px rgba(0, 255, 198, 0.15), inset 0 0 0 1px rgba(255,255,255,0.02);
}
.px-cluster__canvas { position: absolute; inset: 0; }
.px-cluster__legend {
	position: absolute;
	left: 1rem; bottom: 1rem;
	display: flex; flex-direction: column; gap: 0.4rem;
	font-family: var(--px-font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	color: var(--px-bone-dim);
	z-index: 2;
}
.px-cluster__legend-item { display: inline-flex; align-items: center; gap: 0.5rem; }
.px-cluster__caption {
	position: absolute;
	right: 1rem; bottom: 1rem;
	font-family: var(--px-font-mono);
	font-size: 0.65rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--px-bone-dim);
	opacity: 0.6;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}
.px-cluster__caption::before {
	content: '';
	width: 16px; height: 1px;
	background: currentColor;
}
.px-dot { width: 8px; height: 8px; border-radius: 999px; display: inline-block; }
.px-dot--inert { background: rgba(154, 167, 178, 0.7); }
.px-dot--active { background: var(--px-glow); box-shadow: 0 0 8px var(--px-glow); }

/* =================== PROBLEM =================== */
.px-problem .px-h-large { margin-bottom: 1rem; }

.px-problem__callout {
	margin-top: 2.25rem;
	padding: 1.75rem 1.75rem;
	border: 1px solid var(--px-rule);
	border-radius: 14px;
	background: linear-gradient(180deg, rgba(58,125,255,0.03), rgba(58,125,255,0));
	position: relative;
	overflow: hidden;
}
.px-problem__callout::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: linear-gradient(180deg, var(--px-warn), rgba(255,106,77,0.4) 70%);
	box-shadow: 0 0 16px rgba(255, 106, 77, 0.4);
}
.px-problem__callout-text {
	margin: 0 !important;
	color: var(--px-bone-dim);
	font-size: 1rem;
	line-height: 1.75;
	max-width: 80ch;
}

/* Dangerous opener — small, monospaced, red-orange to set tone */
.px-warning-line {
	font-family: var(--px-font-mono);
	font-size: clamp(0.85rem, 1.2vw, 1rem);
	letter-spacing: 0.04em;
	color: var(--px-warn);
	text-transform: none;
	margin: 0 0 1.25rem !important;
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	padding-left: 0;
	position: relative;
}
.px-warning-line::before {
	content: '';
	width: 24px;
	height: 1px;
	background: var(--px-warn);
	box-shadow: 0 0 8px rgba(255, 106, 77, 0.6);
}

.px-grid-4 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.25rem;
	margin: 3rem 0 0 !important;
}

/* Cascade reveal — each card waits a beat longer than the previous one,
   so the four constraints stack visually, like the system compounding. */
.px-grid-4--cascade .px-card.px-reveal { transition-delay: 0ms; }
.px-grid-4--cascade .px-card.px-card--heat-1.is-revealed { transition-delay: 0ms; }
.px-grid-4--cascade .px-card.px-card--heat-2.is-revealed { transition-delay: 120ms; }
.px-grid-4--cascade .px-card.px-card--heat-3.is-revealed { transition-delay: 240ms; }
.px-grid-4--cascade .px-card.px-card--heat-4.is-revealed { transition-delay: 360ms; }

.px-card {
	padding: 1.75rem 1.5rem;
	border: 1px solid var(--px-rule);
	border-radius: 14px;
	background: linear-gradient(180deg, rgba(58,125,255,0.03), rgba(58,125,255,0));
	transition: border-color .3s var(--px-ease-out), transform .3s var(--px-ease-out), background .3s var(--px-ease-out);
	position: relative;
	overflow: hidden;
}
.px-card::before {
	content: '';
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 2px;
	background: linear-gradient(180deg, var(--px-warn), transparent 70%);
	transform: scaleY(0);
	transform-origin: top;
	transition: transform .8s var(--px-ease-out);
}
.px-card.is-revealed::before { transform: scaleY(1); }
.px-card:hover { border-color: rgba(232,238,242,0.18); transform: translateY(-2px); }
.px-card__num {
	font-family: var(--px-font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	color: var(--px-warn);
	margin: 0 0 1rem !important;
}
.px-card__title {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0 0 0.6rem !important;
	letter-spacing: -0.01em;
}
.px-card__body {
	font-size: 0.95rem;
	color: var(--px-bone-dim);
	line-height: 1.65;
	margin: 0 !important;
}

/* Thermal escalation — accent intensifies card-by-card, like heat building */
.px-card--heat-1::before { background: linear-gradient(180deg, rgba(255,106,77,0.45), transparent 70%); }
.px-card--heat-2::before { background: linear-gradient(180deg, rgba(255,106,77,0.65), transparent 70%); }
.px-card--heat-3::before { background: linear-gradient(180deg, rgba(255,106,77,0.85), transparent 70%); }
.px-card--heat-4::before {
	background: linear-gradient(180deg, var(--px-warn), rgba(255,106,77,0.4) 70%);
	width: 3px;
	box-shadow: 0 0 16px rgba(255, 106, 77, 0.4);
}
.px-card--heat-1 .px-card__num { color: rgba(255, 106, 77, 0.7); }
.px-card--heat-2 .px-card__num { color: rgba(255, 106, 77, 0.85); }
.px-card--heat-3 .px-card__num { color: var(--px-warn); }
.px-card--heat-4 .px-card__num {
	color: var(--px-warn);
	text-shadow: 0 0 10px rgba(255, 106, 77, 0.55);
}
.px-card--heat-4 {
	background: linear-gradient(180deg, rgba(255, 106, 77, 0.06), rgba(255, 106, 77, 0));
}

/* Collapse pull — the closing line lands hard.
   When revealed, the second clause flares cyan as if the resolution arrives. */
.px-pull--collapse {
	margin-top: 5rem !important;
	font-size: clamp(2rem, 4.5vw, 3.25rem) !important;
	line-height: 1.05 !important;
	font-weight: 650 !important;
	letter-spacing: -0.025em !important;
	max-width: 22ch !important;
	border-left: none !important;
	padding-left: 0 !important;
	position: relative;
}
.px-pull--collapse .px-pull__accent {
	background: linear-gradient(135deg, var(--px-warn), var(--px-glow));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	display: inline-block;
}
.px-pull--collapse::before {
	content: '';
	position: absolute;
	left: 0; top: -2rem;
	width: 60px; height: 1px;
	background: linear-gradient(90deg, var(--px-warn), transparent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 1s var(--px-ease-out) .3s;
}
.px-pull--collapse.is-revealed::before { transform: scaleX(1); }

/* =================== FAILURE =================== */
.px-failure {
	max-width: none !important;
	padding-inline: 0;
}
.px-failure > * {
	max-width: var(--px-content);
	margin-left: auto;
	margin-right: auto;
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.px-failure__eyebrow {
	width: 100%;
}
.px-failure__opener .px-lede {
    font-size: clamp(1.2rem, 2.1vw, 2.65rem);
    line-height: 1.25;
}
.px-failure__leadline {
	font-weight: 850;
	font-size: clamp(1.3rem, 2.4vw, 1.85rem);
}
.px-failure__cols { gap: clamp(2rem, 5vw, 5rem) !important; align-items: flex-start; }
.px-bullets {
	list-style: none !important;
	padding: 0 !important;
	margin: 1.5rem 0 0 !important;
}
.px-bullets li {
	position: relative;
	padding-left: 1.75rem;
	padding-block: 0.75rem;
	border-bottom: 1px solid var(--px-rule);
	font-size: 1.0625rem;
	color: var(--px-bone);
}
.px-bullets li::before {
	content: '';
	position: absolute;
	left: 0; top: 1.15rem;
	width: 10px; height: 1px;
	background: var(--px-bone-dim);
}
.px-contain {
	border: 1px solid var(--px-rule);
	border-radius: 14px;
	padding: 1.25rem;
	background: linear-gradient(180deg, var(--px-ink-3), var(--px-ink-2));
	aspect-ratio: 1 / 1;
	max-width: 420px;
	margin-left: auto;
}
.is-revealed .px-contain__leak { animation: px-leak 4s ease-in-out infinite; }
.is-revealed .px-contain__glow { animation: px-glow 3s ease-in-out infinite; }
@keyframes px-leak {
	0%, 100% { transform: scale(1); opacity: 0.5; }
	50% { transform: scale(1.18); opacity: 0.85; }
}
@keyframes px-glow {
	0%, 100% { transform: scale(1); opacity: 0.4; }
	50% { transform: scale(1.05); opacity: 0.85; }
}

/* =================== INNOVATION =================== */
.px-pillars {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1px !important;
	margin: 3rem 0 0 !important;
	background: var(--px-rule);
	border: 1px solid var(--px-rule);
	border-radius: 14px;
	overflow: hidden;
}
.px-pillar {
	padding: 2rem 1.75rem 2.25rem !important;
	background: var(--px-ink);
	transition: background .3s var(--px-ease-out);
}
.px-pillar:hover { background: var(--px-ink-3); }
.px-pillar__icon {
	display: flex; align-items: center; justify-content: center;
	width: 56px; height: 56px;
	border-radius: 12px;
	border: 1px solid var(--px-rule);
	background: linear-gradient(135deg, rgba(58,125,255,0.06), rgba(0,255,198,0.04));
	margin-bottom: 1.5rem;
}
.px-pillar__title {
	font-size: 1.375rem;
	font-weight: 600;
	margin: 0 0 0.6rem !important;
	letter-spacing: -0.015em;
}
.px-pillar__body {
	color: var(--px-bone-dim);
	font-size: 0.9375rem;
	line-height: 1.6;
	margin: 0 0 1rem !important;
}
.px-pillar__list {
	list-style: none !important;
	padding: 0 !important;
	margin: 1rem 0 0 !important;
	font-family: var(--px-font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	color: var(--px-bone);
}
.px-pillar__list li {
	padding: 0.4rem 0;
	border-top: 1px solid var(--px-rule);
}
.px-pillar__list li:first-child { border-top: none; }
.px-pillar__list li::before { content: '— '; color: var(--px-glow); }

/* =================== PEDIATRIC =================== */
.px-pediatric__cols { gap: clamp(2rem, 5vw, 5rem) !important; align-items: flex-start; }
.px-mutation {
	display: grid;
	gap: 1rem;
	max-width: 460px;
	margin-left: auto;
}
.px-mutation__panel {
	border: 1px solid var(--px-rule);
	border-radius: 12px;
	padding: 1rem 1.25rem 1.25rem;
	background: var(--px-ink-3);
}
.px-mutation__label {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	font-family: var(--px-font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--px-bone-dim);
	margin-bottom: 0.75rem;
}
.px-mutation__label > :first-child { color: var(--px-bone); letter-spacing: 0.18em; }
.px-mutation__field {
	position: relative;
	height: 110px;
	border-radius: 8px;
	background: linear-gradient(180deg, rgba(11,15,20,0.7), rgba(7,10,14,0.7));
	overflow: hidden;
}
.px-mutation__field canvas { position: absolute; inset: 0; }

/* =================== COMPANIES =================== */
.px-companies__cols { gap: 1.25rem !important; margin-top: 2.5rem !important; }
.px-company {
	padding: 2.5rem !important;
	border: 1px solid var(--px-rule);
	border-radius: 16px;
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, var(--px-ink-3), var(--px-ink));
	transition: border-color .3s var(--px-ease-out);
}
.px-company:hover { border-color: rgba(232,238,242,0.16); }
.px-company::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--px-glow), transparent);
	opacity: 0;
	transition: opacity .4s var(--px-ease-out);
}
.px-company:hover::before { opacity: 1; }
.px-company--parallel::before { background: linear-gradient(90deg, transparent, var(--px-blue), transparent); }
.px-company__tag {
	font-family: var(--px-font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--px-glow);
	margin: 0 0 1.5rem !important;
}
.px-company--parallel .px-company__tag { color: var(--px-blue); }
.px-company__name {
	font-size: 2rem;
	font-weight: 650;
	letter-spacing: -0.025em;
	margin: 0 0 1rem !important;
}
.px-company__body {
	color: var(--px-bone-dim);
	font-size: 1rem;
	line-height: 1.6;
	margin: 0 0 2rem !important;
}
.px-company__heading {
	font-family: var(--px-font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--px-bone-dim);
	margin: 0 0 0.75rem !important;
}
.px-company__list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	font-size: 0.95rem;
}
.px-company__list li {
	padding: 0.5rem 0;
	border-top: 1px solid var(--px-rule);
}
.px-companies__parent {
	margin-top: 2.5rem !important;
	color: var(--px-bone-dim);
	font-size: 0.95rem;
}

/* =================== FOOTER CTA =================== */
.px-footercta {
	position: relative;
	border-top: 1px solid var(--px-rule);
	border-bottom: 1px solid var(--px-rule);
	max-width: none !important;
	padding-block: clamp(8rem, 14vh, 12rem) !important;
	overflow: hidden;
}
.px-footercta > * { max-width: var(--px-content); margin-left: auto; margin-right: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.px-footercta__glow {
	position: absolute;
	left: 50%; top: 50%;
	transform: translate(-50%, -50%);
	width: 80vw; height: 60vh;
	max-width: 1000px;
	background: radial-gradient(ellipse at center, rgba(0,255,198,0.18) 0%, rgba(58,125,255,0.06) 35%, rgba(0,0,0,0) 70%);
	pointer-events: none;
	z-index: 0;
	filter: blur(40px);
	animation: px-breathe 8s ease-in-out infinite;
}
.px-footercta > .px-eyebrow,
.px-footercta > .wp-block-heading,
.px-footercta > .wp-block-buttons { position: relative; z-index: 1; }
@keyframes px-breathe {
	0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
	50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}

/* =================== PAGE HERO (sub pages) =================== */
.px-pagehero {
	padding-top: clamp(8rem, 16vh, 12rem) !important;
	padding-bottom: clamp(3rem, 6vh, 5rem) !important;
	position: relative;
	overflow: hidden;
}
.px-pagehero__glow {
	position: absolute !important; /* !important: defeats the .px-pagehero > * rule below which would otherwise flip this to relative and pull the glow into flow */
	right: -10%; top: -20%;
	width: 60vw; height: 60vh;
	background: radial-gradient(ellipse at center, rgba(0,255,198,0.18), rgba(58,125,255,0.05) 40%, transparent 70%);
	filter: blur(40px);
	pointer-events: none;
	z-index: 0;
}
/* Stack the text/CTA content above the glow. Exclude the glow itself so its
   position:absolute is preserved (was the source of a 1070px tall section on
   /platform — the glow was entering flow as a 60vh block). */
.px-pagehero > *:not(.px-pagehero__glow) { position: relative; z-index: 1; }

/* ----- Platform variant: dialed back, document-tone hero -----
   Reference design: LEFT-aligned editorial masthead. Large 2-line display
   title with gradient accent on the second phrase, a single short lede,
   two small CTAs. Breathing room above for tall masthead feel; tight
   internal rhythm between elements. */
section.px-pagehero.px-pagehero--platform {
	padding-top: clamp(10rem, 22vh, 15rem) !important;
	padding-bottom: clamp(4rem, 8vh, 6rem) !important;
	text-align: left;
	/* Defeat inherited min-height/height from page-level layout. */
	min-height: 0 !important;
	height: auto !important;
}
/* Pin every child to the LEFT edge of the section content area. */
section.px-pagehero.px-pagehero--platform > * {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100%;
}
/* Readable line-length caps. */
.px-pagehero--platform .px-pagehero__title { max-width: 18ch; margin-bottom: 1.5rem; }
.px-pagehero--platform .px-pagehero__sub   { max-width: 56ch; margin-bottom: 2rem; }
/* Buttons group flush left, small gap. */
.px-pagehero--platform .px-pagehero__cta {
	justify-content: flex-start !important;
	gap: 0.6rem !important;
}
/* Compact pill sizing used for editorial mastheads — slightly smaller than
   default button so they read as supporting CTAs, not primary actions. */
.px-btn--sm .wp-block-button__link {
	padding: 0.55rem 1.1rem !important;
	font-size: 0.85rem !important;
}
.px-pagehero--platform .px-pagehero__glow {
	/* Glow shifted to upper-right to anchor behind the particle constellation. */
	right: 0; top: 50%;
	transform: translate(15%, -50%);
	width: 60vw; height: 70vh;
	background:
		radial-gradient(ellipse at center, rgba(0, 255, 198, 0.12), rgba(58, 125, 255, 0.04) 40%, transparent 70%);
	filter: blur(60px);
}
/* Particle constellation — decorative network field on the right half of
   the hero. Soft mask fades it out toward the text column on the left so
   it never competes with the typography. */
.px-pagehero__particles {
	position: absolute !important;
	top: 0;
	right: 0;
	width: min(60%, 800px);
	height: 100%;
	z-index: 0;
	pointer-events: none;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, black 35%, black 90%, transparent 100%);
	        mask-image: linear-gradient(90deg, transparent 0%, black 35%, black 90%, transparent 100%);
}
@media (max-width: 880px) {
	/* On small screens hide the constellation — text takes the full width. */
	.px-pagehero__particles { display: none; }
}
.px-pagehero__title {
	font-family: var(--px-font-display);
	font-size: clamp(2rem, 4.4vw, 4rem);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -0.025em;
	color: var(--px-bone);
	margin: 0 0 1.25rem;
	max-width: 22ch;
}
/* Use --px-blue (defined in :root) instead of --px-elec (which doesn't
   exist) — undefined CSS variables broke the gradient and rendered the
   accent text fully transparent. */
.px-pagehero__title .px-display__accent {
	background: linear-gradient(120deg, var(--px-glow), var(--px-blue));
	-webkit-background-clip: text;
	background-clip: text;
	color: var(--px-glow); /* fallback if background-clip:text fails */
	font-style: normal;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
	.px-pagehero__title .px-display__accent { color: transparent; }
}
.px-pagehero__sub {
	font-size: clamp(1rem, 1.25vw, 1.15rem);
	line-height: 1.55;
	color: var(--px-bone);
	max-width: 56ch;
	margin: 0 0 0.75rem;
}
.px-pagehero__support {
	font-size: clamp(0.9rem, 1.05vw, 1rem);
	line-height: 1.55;
	color: var(--px-bone-dim);
	max-width: 56ch;
	margin: 0 0 2.25rem;
}
.px-pagehero__cta {
	gap: 0.75rem !important;
}

/* =================== PLATFORM — SECTION 1: PREMISE =================== */
/* Centered narrative beat — the premise statement carries the opening
   argument of the page: "Activity should occur only where disease exists." */
.px-premise {
	padding-block: clamp(4rem, 9vh, 7rem) !important;
	text-align: center;
}
.px-premise > * {
	margin-left: auto !important;
	margin-right: auto !important;
}
.px-premise .px-h-large {
	max-width: 22ch;
	margin-bottom: 1.75rem;
}
.px-premise .px-body--lead {
	max-width: 62ch;
}
.px-body--lead {
	font-size: clamp(1.05rem, 1.3vw, 1.2rem);
	line-height: 1.65;
	color: var(--px-bone);
	max-width: 60ch;
	margin: 0 0 1.25rem;
}
.px-body--lead:last-child { margin-bottom: 0; }

/* =================== PLATFORM — SECTION 2: INERT vs ACTIVE =================== */
/* The page's ONE moment of intensity. Two states, mirrored layout, soft
   divider/arrow in the middle. */
.px-states {
	padding-block: clamp(4rem, 8vh, 6rem) !important;
}
.px-states__grid {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: clamp(1.5rem, 3vw, 3rem);
	align-items: stretch;
	margin-top: 2.5rem;
	position: relative;
}
.px-states__col {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: clamp(1.5rem, 2.5vw, 2.25rem);
	border: 1px solid var(--px-rule);
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.0));
	transition: border-color .4s var(--px-ease-out), background .4s var(--px-ease-out);
}
.px-states__col--active {
	border-color: rgba(0, 255, 198, 0.32);
	background: linear-gradient(180deg, rgba(0, 255, 198, 0.04), rgba(0, 255, 198, 0.0));
	box-shadow: 0 0 60px -20px rgba(0, 255, 198, 0.25);
}
.px-states__where {
	font-family: var(--px-font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--px-bone-dim);
	margin: 0;
}
.px-states__title {
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	font-weight: 650;
	letter-spacing: -0.02em;
	line-height: 1;
	margin: 0 0 0.5rem;
	color: var(--px-bone);
}
.px-states__title--active {
	color: var(--px-glow);
}
.px-states__visual {
	width: 100%;
	aspect-ratio: 4 / 3;
	background: #000;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	display: grid;
	place-items: center;
	overflow: hidden;
	margin: 0.5rem 0 1rem;
}
.px-states__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.px-states__col--active .px-states__visual {
	border-style: solid;
	border-color: rgba(0, 255, 198, 0.18);
}

.px-states__visual {
	display: none !important;
}
.px-states__body {
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--px-bone-dim);
	margin: 0 0 0.5rem;
}
.px-states__list {
	list-style: none;
	padding: 0;
	margin: 0;
	font-family: var(--px-font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	color: var(--px-bone-dim);
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}
.px-states__list li {
	padding-left: 1rem;
	position: relative;
}
.px-states__list li::before {
	content: '';
	position: absolute;
	left: 0; top: 0.55em;
	width: 6px; height: 1px;
	background: var(--px-bone-dim);
}
.px-states__list--active li::before {
	background: var(--px-glow);
	box-shadow: 0 0 6px var(--px-glow);
}
.px-states__divider {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 60px;
	position: relative;
}
.px-states__arrow {
	display: block;
	width: 60px; height: 1px;
	background: linear-gradient(90deg, var(--px-rule), var(--px-glow), var(--px-rule));
	position: relative;
}
.px-states__arrow::after {
	content: '';
	position: absolute;
	right: -2px; top: 50%;
	transform: translateY(-50%) rotate(45deg);
	width: 8px; height: 8px;
	border-top: 1px solid var(--px-glow);
	border-right: 1px solid var(--px-glow);
}

@media (max-width: 880px) {
	.px-states__grid {
		grid-template-columns: 1fr;
	}
	.px-states__divider {
		min-height: 60px;
		min-width: 0;
	}
	.px-states__arrow {
		width: 1px; height: 60px;
		background: linear-gradient(180deg, var(--px-rule), var(--px-glow), var(--px-rule));
	}
	.px-states__arrow::after {
		right: 50%; top: auto; bottom: -2px;
		transform: translateX(50%) rotate(135deg);
	}
}

/* =================== PLATFORM — SECTION 3 OVERRIDE: SPEC-FEEL CARDS =================== */
/* Innovation pillars on the platform page lean "technical spec" — less
   marketing glow, tighter borders, restrained hover state. */
.px-innovation--spec .px-pillar {
	background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.0));
	border-radius: 12px;
}
.px-innovation--spec .px-pillar:hover {
	background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
	border-color: rgba(0, 255, 198, 0.18);
	box-shadow: none;
	transform: none;
}
.px-innovation--spec .px-pillar__icon {
	opacity: 0.7;
}

/* =================== PLATFORM — SECTION 5: MECHANISM (3-STEP FLOW) =================== */
.px-mech {
	padding-block: clamp(5rem, 10vh, 8rem) !important;
}
.px-mech__steps {
	list-style: none;
	padding: 0;
	margin: 3rem 0 0;
	display: grid;
	grid-template-columns: 1fr auto 1fr auto 1fr;
	gap: clamp(1rem, 2.5vw, 2rem);
	align-items: stretch;
}
.px-mech__step {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: clamp(1.25rem, 2vw, 2rem);
	border: 1px solid var(--px-rule);
	border-radius: 14px;
	background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0));
	transition: border-color .4s var(--px-ease-out), background .4s var(--px-ease-out);
}
.px-mech__step:hover { border-color: rgba(58, 125, 255, 0.25); }
.px-mech__step--active {
	border-color: rgba(0, 255, 198, 0.32);
	background: linear-gradient(180deg, rgba(0, 255, 198, 0.04), rgba(0, 255, 198, 0));
	box-shadow: 0 0 50px -20px rgba(0, 255, 198, 0.25);
}
.px-mech__num {
	font-family: var(--px-font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	color: var(--px-bone-dim);
}
.px-mech__step--active .px-mech__num { color: var(--px-glow); }
.px-mech__visual {
	width: 100%;
	aspect-ratio: 1 / 1;
	background: #000;
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: 10px;
	overflow: hidden;
	display: grid;
	place-items: center;
	margin: 0.25rem 0 0.75rem;
}
.px-mech__visual img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}
.px-mech__step--active .px-mech__visual {
	border-color: rgba(0, 255, 198, 0.18);
}

.px-mech__visual {
	display: none !important;
}
.px-mech__title {
	font-size: clamp(1.05rem, 1.3vw, 1.2rem);
	font-weight: 600;
	letter-spacing: -0.015em;
	color: var(--px-bone);
	margin: 0;
}
.px-mech__step--active .px-mech__title { color: var(--px-glow); }
.px-mech__sub {
	font-size: 0.85rem;
	color: var(--px-bone-dim);
	margin: 0;
}
.px-mech__connector {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
}
.px-mech__connector::before {
	content: '';
	width: 32px; height: 1px;
	background: linear-gradient(90deg, var(--px-rule), rgba(0, 255, 198, 0.4));
}

/* Inline bullets — laid out on the SAME grid template as the steps above
   (1fr auto 1fr auto 1fr) so each bullet sits directly under its card.
   A top rule visually grounds them as a continuation of the flow. */
.px-bullets--inline {
	margin-top: 2.5rem !important;
	padding-top: 2rem !important;
	border-top: 1px solid var(--px-rule);
	display: grid;
	grid-template-columns: 1fr auto 1fr auto 1fr;
	gap: clamp(1rem, 2.5vw, 2rem);
	list-style: none;
	padding-left: 0 !important;
}
.px-bullets--inline li:nth-child(2) { grid-column-start: 3; }
.px-bullets--inline li:nth-child(3) { grid-column-start: 5; }
.px-bullets--inline li {
	font-family: var(--px-font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	color: var(--px-bone-dim);
	padding-left: 1rem;
	position: relative;
	margin: 0;
}
.px-bullets--inline li::before {
	content: '';
	position: absolute;
	left: 0; top: 0.55em;
	width: 6px; height: 1px;
	background: var(--px-glow);
	box-shadow: 0 0 4px var(--px-glow);
}

@media (max-width: 880px) {
	.px-mech__steps {
		grid-template-columns: 1fr;
	}
	.px-mech__connector {
		min-height: 30px;
	}
	.px-mech__connector::before {
		width: 1px; height: 30px;
		background: linear-gradient(180deg, var(--px-rule), rgba(0, 255, 198, 0.4));
	}
	/* Stack supporting bullets on mobile too. */
	.px-bullets--inline {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}
	.px-bullets--inline li:nth-child(2),
	.px-bullets--inline li:nth-child(3) {
		grid-column-start: auto;
	}
}

/* =================== PLATFORM — SECTION 6: SAFETY =================== */
.px-safety {
	padding-block: clamp(5rem, 9vh, 7rem) !important;
}
.px-safety__cols { gap: clamp(2rem, 5vw, 5rem) !important; }
.px-safety__list {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}
.px-safety__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.35rem;
	padding: 1.25rem 0;
	border-top: 1px solid var(--px-rule);
}
.px-safety__row:first-child { border-top: none; padding-top: 0; }
.px-safety__row dt {
	font-family: var(--px-font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--px-glow);
	margin: 0;
}
.px-safety__row dd {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--px-bone-dim);
}

/* =================== PLATFORM — SECTION 7: CLOSING =================== */
.px-platclose {
	padding-block: clamp(5rem, 10vh, 8rem) !important;
	text-align: center;
}
.px-platclose__title {
	margin: 0 auto 1.25rem !important;
	max-width: 28ch;
}
.px-platclose__sub {
	margin: 0 auto 2.5rem !important;
	max-width: 56ch;
}
.px-platclose__cta {
	justify-content: center !important;
	gap: 0.75rem !important;
}

/* =================== PIPELINE =================== */
.px-pipeline__legend {
	display: grid;
	grid-template-columns: 280px repeat(5, 1fr);
	gap: 0;
	font-family: var(--px-font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--px-bone-dim);
	border-bottom: 1px solid var(--px-rule);
	margin: 3rem 0 0;
	padding-bottom: 0.75rem;
}
.px-pipeline__legend > :first-child { display: none; }
.px-pipeline__legend .px-pipeline__stage:first-of-type { grid-column: 2; }
.px-pipeline__rows { margin-top: 0; }
.px-pipeline__row {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 0;
	align-items: center;
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--px-rule);
}
.px-pipeline__name {
	font-family: var(--px-font-mono);
	font-size: 0.85rem;
	letter-spacing: 0.06em;
	color: var(--px-bone);
}
.px-pipeline__sub {
	font-size: 0.8rem;
	color: var(--px-bone-dim);
	margin-top: 0.25rem;
}
.px-pipeline__bar {
	position: relative;
	height: 8px;
	background: var(--px-ink-3);
	border-radius: 999px;
	overflow: hidden;
}
.px-pipeline__bar::before {
	content: '';
	position: absolute; inset: 0;
	background-image: linear-gradient(90deg, var(--px-rule) 1px, transparent 1px);
	background-size: calc(100% / 5) 100%;
	opacity: 0.6;
}
.px-pipeline__fill {
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: calc((var(--px-stage, 1) / 5) * 100%);
	background: linear-gradient(90deg, var(--px-blue), var(--px-glow));
	border-radius: 999px;
	box-shadow: 0 0 16px rgba(0,255,198,0.4);
	transform-origin: left;
	transform: scaleX(0);
	transition: transform 1.4s var(--px-ease-out);
}
.px-pipeline__row.is-revealed .px-pipeline__fill { transform: scaleX(1); }
.px-fineprint {
	margin-top: 2rem;
	font-family: var(--px-font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	color: var(--px-bone-dim);
}
@media (max-width: 760px) {
	.px-pipeline__legend { display: none; }
	.px-pipeline__row { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* =================== CONTACT =================== */
.px-contact__cols { gap: clamp(2rem, 5vw, 5rem) !important; align-items: flex-start; }
.px-contact__meta { margin-top: 2.5rem !important; }
.px-contact__label {
	font-family: var(--px-font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--px-bone-dim);
	margin: 1.25rem 0 0.25rem !important;
}
.px-form-shell {
	border: 1px solid var(--px-rule);
	border-radius: 18px;
	padding: 2rem;
	background: linear-gradient(180deg, var(--px-ink-3), var(--px-ink));
	min-height: 420px;
}
/* Native contact form */
.px-form { display: grid; gap: 1.1rem; }
.px-form__row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 540px) { .px-form__row { grid-template-columns: 1fr; } }
.px-form__field { display: grid; gap: 0.4rem; }
.px-form__label {
	font-family: var(--px-font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--px-bone-dim);
}
.px-form input[type="text"],
.px-form input[type="email"],
.px-form select,
.px-form textarea {
	background: var(--px-ink);
	color: var(--px-bone);
	border: 1px solid var(--px-rule);
	border-radius: 10px;
	padding: 0.85rem 1rem;
	font-family: var(--px-font-sans);
	font-size: 1rem;
	transition: border-color .2s var(--px-ease-out), box-shadow .2s var(--px-ease-out);
	width: 100%;
}
.px-form input:focus,
.px-form select:focus,
.px-form textarea:focus {
	border-color: var(--px-glow);
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 255, 198, 0.18);
}
.px-form textarea { resize: vertical; min-height: 130px; }
.px-form__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.px-form__submit {
	justify-self: start;
	background: var(--px-bone);
	color: var(--px-ink);
	border: 0;
	border-radius: 999px;
	padding: 0.95rem 1.6rem;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	cursor: pointer;
	transition: all .25s var(--px-ease-out);
	margin-top: 0.5rem;
}
.px-form__submit:hover {
	background: var(--px-glow);
	box-shadow: 0 0 30px rgba(0, 255, 198, 0.4);
	transform: translateY(-1px);
}
.px-form__success,
.px-form__error {
	padding: 0.9rem 1rem;
	border-radius: 10px;
	font-size: 0.9rem;
	border: 1px solid var(--px-rule);
}
.px-form__success { color: var(--px-glow); border-color: rgba(0, 255, 198, 0.4); background: rgba(0, 255, 198, 0.05); }
.px-form__error   { color: var(--px-warn); border-color: rgba(255, 106, 77, 0.4); background: rgba(255, 106, 77, 0.05); }

/* =================== FOOTER =================== */
.paratope-footer { font-size: 0.95rem; }
.paratope-footer__cols { gap: 3rem !important; align-items: flex-start; }
.paratope-footer .wp-block-site-logo img { height: 28px; width: auto; }
.paratope-footer__list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0.5rem 0 0 !important;
	font-size: 0.95rem;
}
.paratope-footer__list li {
	padding: 0.4rem 0;
	color: var(--px-bone-dim);
}
.paratope-footer__list a:hover { color: var(--px-glow); }

/* =================== reveals =================== */
.px-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity .9s var(--px-ease-out),
		transform .9s var(--px-ease-out);
}
.px-reveal.is-revealed { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.px-reveal { opacity: 1; transform: none; }
}

/* =================== responsive tweaks =================== */
@media (max-width: 900px) {
	.px-hero { min-height: 90vh; }
	.px-hero__inner { padding-top: 7rem; padding-bottom: 5rem; }
	.px-pull--xl { margin-top: 2.5rem; }
	.paratope-cluster, .px-cluster { min-height: 320px; aspect-ratio: 1 / 1; }
}
@media (max-width: 640px) {
	.px-keyrow { grid-template-columns: 1fr; }
	.px-companies__cols { flex-direction: column !important; }
	.paratope-footer__cols { flex-direction: column !important; }
}

/* WP block tweaks */
.wp-block-navigation .wp-block-navigation-item__content { color: inherit; }
.wp-block-navigation__responsive-container.is-menu-open { background: var(--px-ink); }
.wp-element-button { border: 0; }
