/* ===========================================================================
   PALADYN SYSTEMS — website
   Tokens are Paladyn Core's (desktop dashboard + wallpaper), unchanged:
     cyan is ILLUMINATION (edges, rails, focus), never a fill;
     radii 3-4px, machined not bubbly;
     separators are 1px lines, not shadows.
   Sections: 1 fonts · 2 tokens · 3 base · 4 header · 5 layout primitives
             6 type · 7 buttons · 8 components · 9 figures · 10 footer
             11 fallback templates · 12 responsive · 13 motion
   =========================================================================== */

/* 1 ---------------------------------------------------------------- fonts */
@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "IBM Plex Sans";
	src: url("../fonts/ibm-plex-sans-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "IBM Plex Sans";
	src: url("../fonts/ibm-plex-sans-latin-wght-italic.woff2") format("woff2");
	font-weight: 100 700;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "IBM Plex Mono";
	src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "IBM Plex Mono";
	src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

/* 2 --------------------------------------------------------------- tokens */
:root {
	/* Paladyn Core */
	--void: #06090C;
	--base: #0B1014;
	--raised: #121A20;
	--raised2: #18232B;
	--line: #1E2D36;
	--cyan: #22D3EE;
	--text: #C7D5DC;
	--text-hi: #E4EFF4;
	--dim: #7B8E99;
	--wash: #123945;
	/* Metal, sampled from the Paladyn emblem */
	--steel: #9FB0BA;

	--font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--max: 1200px;
	--edge: clamp(20px, 5vw, 64px);
	--pad: max(var(--edge), calc((100% - var(--max)) / 2));
	--header-h: 88px;
	--section-y: clamp(88px, 11vw, 168px);
	--gap: clamp(16px, 2vw, 24px);
	--radius: 3px;

	/* Core engineering grid */
	--grid-minor: linear-gradient(#0E1519 1px, transparent 1px), linear-gradient(90deg, #0E1519 1px, transparent 1px);
	/* Core hex bezel, as drawn on the Paladyn Core desktop background */
	--bezel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-290 -334 580 668' fill='none'%3E%3Cpath d='M0 -330L286 -165V165L0 330L-286 165V-165Z' stroke='%2316323C' stroke-width='1.5'/%3E%3Cpath d='M0 -232L201 -116V116L0 232L-201 116V-116Z' stroke='%23123039'/%3E%3Cpath d='M0 -128L111 -64V64L0 128L-111 64V-64Z' stroke='%2322D3EE' stroke-opacity='.16'/%3E%3Cpath d='M0 -330V-232M0 232V330M286 -165L201 -116M-286 165L-201 116M286 165L201 116M-286 -165L-201 -116' stroke='%2312262E'/%3E%3C/svg%3E");
	--bezel-nodes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-290 -334 580 668' fill='none'%3E%3Cpath d='M0 -330L286 -165V165L0 330L-286 165V-165Z' stroke='%2316323C' stroke-width='1.5'/%3E%3Cpath d='M0 -232L201 -116V116L0 232L-201 116V-116Z' stroke='%23123039'/%3E%3Cpath d='M0 -128L111 -64V64L0 128L-111 64V-64Z' stroke='%2322D3EE' stroke-opacity='.16'/%3E%3Cpath d='M0 -330V-232M0 232V330M286 -165L201 -116M-286 165L-201 116M286 165L201 116M-286 -165L-201 -116' stroke='%2312262E'/%3E%3Ccircle cx='0' cy='-330' r='4.5' fill='%2306090C' stroke='%23244654'/%3E%3Ccircle cx='286' cy='-165' r='4.5' fill='%2306090C' stroke='%23244654'/%3E%3Ccircle cx='286' cy='165' r='4.5' fill='%2306090C' stroke='%23244654'/%3E%3Ccircle cx='0' cy='330' r='4.5' fill='%2306090C' stroke='%23244654'/%3E%3Ccircle cx='-286' cy='165' r='4.5' fill='%2306090C' stroke='%23244654'/%3E%3Ccircle cx='-286' cy='-165' r='4.5' fill='%2306090C' stroke='%23244654'/%3E%3Ccircle cx='0' cy='-128' r='3' fill='%2306090C' stroke='%2322D3EE' stroke-opacity='.4'/%3E%3Ccircle cx='111' cy='-64' r='3' fill='%2306090C' stroke='%2322D3EE' stroke-opacity='.4'/%3E%3Ccircle cx='111' cy='64' r='3' fill='%2306090C' stroke='%2322D3EE' stroke-opacity='.4'/%3E%3Ccircle cx='0' cy='128' r='3' fill='%2306090C' stroke='%2322D3EE' stroke-opacity='.4'/%3E%3Ccircle cx='-111' cy='64' r='3' fill='%2306090C' stroke='%2322D3EE' stroke-opacity='.4'/%3E%3Ccircle cx='-111' cy='-64' r='3' fill='%2306090C' stroke='%2322D3EE' stroke-opacity='.4'/%3E%3Ccircle cx='0' cy='0' r='3.5' fill='%2322D3EE' fill-opacity='.55'/%3E%3C/svg%3E");
	--grid-major: linear-gradient(#131D24 1px, transparent 1px), linear-gradient(90deg, #131D24 1px, transparent 1px);
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	min-height: 100vh;
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	/* Core desktop ground: near-black with a barely-there vertical lift,
	   a cold counter-glow top left and a single cyan glow low right. */
	background-color: var(--void);
	background-image:
		radial-gradient(62% 62% at 80% 86%, rgba(34, 211, 238, 0.06), rgba(14, 116, 144, 0.024) 45%, transparent 100%),
		radial-gradient(48% 48% at 12% 10%, rgba(30, 58, 71, 0.06), transparent 100%),
		linear-gradient(180deg, #080C10 0%, #06090C 55%, #04070A 100%);
	background-attachment: fixed;
}

:where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote) {
	margin: 0;
}

:where(h1, h2, h3, h4, h5, h6) {
	color: var(--text-hi);
	font-weight: 600;
	text-wrap: balance;
}

img,
svg {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--cyan);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

a:hover {
	color: var(--text-hi);
}

::selection {
	background: var(--wash);
	color: var(--text-hi);
}

:focus-visible {
	outline: 2px solid var(--cyan);
	outline-offset: 3px;
	border-radius: 2px;
}

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

.pd-skip {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--raised2);
	color: var(--text-hi);
	border: 1px solid var(--cyan);
	border-radius: var(--radius);
	transform: translateY(-200%);
}

.pd-skip:focus {
	transform: none;
}

/* 4 --------------------------------------------------------------- header */
.pd-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(6, 9, 12, 0.82);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	backdrop-filter: saturate(140%) blur(14px);
	border-bottom: 1px solid var(--line);
}

.pd-header::after {
	/* Core rail: a short cyan segment on the header's base line */
	content: "";
	position: absolute;
	left: var(--pad);
	bottom: -1px;
	width: 96px;
	height: 1px;
	background: var(--cyan);
	opacity: 0.55;
}

.admin-bar .pd-header {
	top: 32px;
}

.pd-header__inner {
	height: var(--header-h);
	padding-inline: var(--pad);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.pd-brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	flex: none;
}

.pd-brand__emblem {
	width: 58px;
	height: 58px;
	filter: drop-shadow(0 0 14px rgba(59, 130, 246, 0.18));
}

.pd-brand__word {
	width: 228px;
	height: 38px;
}

.pd-nav {
	display: flex;
	align-items: center;
	gap: clamp(20px, 3vw, 40px);
}

.pd-nav__list {
	display: flex;
	gap: clamp(18px, 2.4vw, 34px);
	list-style: none;
	margin: 0;
	padding: 0;
}

.pd-nav__list a {
	position: relative;
	display: inline-block;
	padding: 8px 0;
	color: var(--dim);
	text-decoration: none;
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pd-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--cyan);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s ease;
}

.pd-nav__list a:hover,
.pd-nav__list .current-menu-item > a,
.pd-nav__list a[aria-current="page"] {
	color: var(--text-hi);
}

.pd-nav__list a:hover::after,
.pd-nav__list .current-menu-item > a::after,
.pd-nav__list a[aria-current="page"]::after {
	transform: scaleX(1);
}

.pd-nav__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--cyan);
	border-radius: var(--radius);
	background: rgba(18, 26, 32, 0.6);
	color: var(--text-hi);
	text-decoration: none;
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pd-nav__cta:hover,
.pd-nav__cta[aria-current="page"] {
	background: var(--wash);
	color: var(--text-hi);
}

.pd-nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: transparent;
	color: var(--text-hi);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	cursor: pointer;
}

.pd-nav-toggle__close {
	display: none;
}

.pd-header[data-nav-open="true"] .pd-nav-toggle__open {
	display: none;
}

.pd-header[data-nav-open="true"] .pd-nav-toggle__close {
	display: inline;
}

/* 5 --------------------------------------------------- layout primitives */
.pd-main {
	display: block;
	overflow-x: clip;
}

.pd-section {
	position: relative;
	padding: var(--section-y) var(--pad);
}

.pd-section--tight {
	padding-block: clamp(56px, 6vw, 96px);
}

.pd-section--tint {
	background-color: rgba(11, 16, 20, 0.78);
}

.pd-section--rule {
	border-top: 1px solid var(--line);
}

/* Core baseline rule: a cyan lead-in on a section's top line */
.pd-section--rule::before {
	content: "";
	position: absolute;
	top: -1px;
	left: var(--pad);
	width: 120px;
	height: 1px;
	background: var(--cyan);
	opacity: 0.45;
}

/* 6 ----------------------------------------------------------------- type */
.pd-eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--cyan);
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.pd-eyebrow::before {
	content: "";
	width: 40px;
	height: 1px;
	background: var(--cyan);
	flex: none;
}

.pd-kicker {
	color: var(--dim);
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.pd-display {
	color: var(--text-hi);
	font-family: var(--font-display);
	font-weight: 600;
	font-stretch: 112%;
	font-size: clamp(2.625rem, 1.1rem + 3.7vw, 4.75rem);
	line-height: 1;
	letter-spacing: -0.03em;
}

.pd-title {
	color: var(--text-hi);
	font-family: var(--font-display);
	font-weight: 600;
	font-stretch: 110%;
	font-size: clamp(2.5rem, 1.2rem + 3.6vw, 4.75rem);
	line-height: 1;
	letter-spacing: -0.028em;
}

.pd-h2 {
	color: var(--text-hi);
	font-family: var(--font-display);
	font-weight: 600;
	font-stretch: 108%;
	font-size: clamp(2rem, 1.2rem + 2.2vw, 3.375rem);
	line-height: 1.05;
	letter-spacing: -0.024em;
}

.pd-h3 {
	color: var(--text-hi);
	font-family: var(--font-display);
	font-weight: 600;
	font-stretch: 104%;
	font-size: clamp(1.375rem, 1.1rem + 0.7vw, 1.875rem);
	line-height: 1.15;
	letter-spacing: -0.012em;
}

:where(.wp-block-heading):not(.pd-display, .pd-title, .pd-h2, .pd-h3, .pd-kicker) {
	font-family: var(--font-sans);
	font-size: 1.1875rem;
	line-height: 1.3;
}

.pd-lede {
	max-width: 34em;
	color: var(--text);
	font-size: clamp(1.125rem, 0.98rem + 0.5vw, 1.4375rem);
	line-height: 1.55;
}

.pd-statement__text {
	max-width: 23em;
	color: var(--text-hi);
	font-family: var(--font-display);
	font-weight: 500;
	font-stretch: 100%;
	font-size: clamp(1.75rem, 1rem + 2.3vw, 3.25rem);
	line-height: 1.16;
	letter-spacing: -0.022em;
	text-wrap: balance;
}

.pd-num {
	color: var(--cyan);
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pd-muted,
p.pd-muted {
	color: var(--dim);
}

.pd-note {
	color: var(--dim);
	font-size: 0.9375rem;
}

.pd-link a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--text-hi);
	text-decoration: none;
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-bottom: 1px solid var(--line);
	padding-bottom: 4px;
}

.pd-link a:hover {
	border-bottom-color: var(--cyan);
	color: var(--text-hi);
}

p {
	color: var(--text);
}

/* 7 -------------------------------------------------------------- buttons */
.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.wp-block-button.is-style-pd-primary .wp-block-button__link,
.wp-block-button.is-style-pd-ghost .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 26px;
	border-radius: var(--radius);
	font-family: var(--font-mono);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.2;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

/* Primary: cyan edge on a raised plate, never a cyan fill (Core rule) */
.wp-block-button.is-style-pd-primary .wp-block-button__link {
	background: var(--raised2);
	color: var(--text-hi);
	border: 1px solid var(--cyan);
	box-shadow: inset 0 -1px 0 rgba(34, 211, 238, 0.35);
}

.wp-block-button.is-style-pd-primary .wp-block-button__link:hover {
	background: var(--wash);
	color: var(--text-hi);
	box-shadow: inset 0 -1px 0 var(--cyan), 0 0 0 1px rgba(34, 211, 238, 0.15);
}

.wp-block-button.is-style-pd-ghost .wp-block-button__link {
	background: transparent;
	color: var(--text);
	border: 1px solid var(--line);
}

.wp-block-button.is-style-pd-ghost .wp-block-button__link:hover {
	border-color: var(--dim);
	color: var(--text-hi);
}

/* 8 ----------------------------------------------------------- components */

/* Home hero */
.pd-hero {
	position: relative;
	isolation: isolate;
	min-height: min(calc(100svh - var(--header-h)), 960px);
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
	row-gap: 56px;
	align-items: center;
	padding: clamp(56px, 7vw, 112px) var(--pad) clamp(80px, 8vw, 128px);
	border-bottom: 1px solid var(--line);
}

.pd-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image: var(--grid-major), var(--grid-minor);
	background-size: 200px 200px, 200px 200px, 40px 40px, 40px 40px;
	-webkit-mask-image: radial-gradient(60% 75% at 76% 48%, #000 0%, rgba(0, 0, 0, 0.5) 40%, transparent 75%);
	mask-image: radial-gradient(60% 75% at 76% 48%, #000 0%, rgba(0, 0, 0, 0.5) 40%, transparent 75%);
}

.pd-hero::before {
	/* Core horizon line, lower left */
	content: "";
	position: absolute;
	left: var(--pad);
	bottom: clamp(36px, 4vw, 56px);
	width: min(496px, 40%);
	height: 1px;
	background: linear-gradient(90deg, rgba(34, 211, 238, 0.55) 0 116px, var(--line) 116px);
}

.pd-hero__copy {
	grid-column: 1 / span 7;
	display: flex;
	flex-direction: column;
	gap: clamp(28px, 2.6vw, 40px);
}

.pd-hero .pd-lede {
	max-width: 29em;
}

.pd-hero .wp-block-buttons {
	margin-top: 8px;
}

.pd-hero > .pd-fig,
.pd-hero > .wp-block-paladyn-figure {
	grid-column: 8 / span 5;
	justify-self: end;
	width: min(100%, 600px);
}

/* Disciplines strip */
.pd-disciplines {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: clamp(28px, 4vw, 64px);
	row-gap: 48px;
}

.pd-discipline {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.pd-discipline::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 48px;
	height: 1px;
	background: var(--cyan);
}

.pd-discipline .pd-link {
	margin-top: 10px;
}

/* Section head */
.pd-section-head {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
	row-gap: 24px;
	align-items: end;
	margin-bottom: clamp(48px, 6vw, 88px);
}

.pd-section-head__title {
	grid-column: 1 / span 7;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.pd-section-head > p {
	grid-column: 9 / span 4;
	color: var(--dim);
}

/* Statement */
.pd-statement {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
	row-gap: 28px;
}

.pd-statement > .pd-kicker {
	grid-column: 1 / span 3;
	padding-top: 0.9em;
}

.pd-statement__body {
	grid-column: 4 / span 9;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.pd-statement__body > p:not(.pd-statement__text) {
	max-width: 38em;
	color: var(--dim);
	font-size: 1.125rem;
}

/* Focus areas */
.pd-areas {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
	row-gap: 48px;
}

.pd-areas__head {
	grid-column: 1 / span 4;
	align-self: start;
	position: sticky;
	top: calc(var(--header-h) + 48px);
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.pd-areas__head > p:not(.pd-kicker) {
	color: var(--dim);
}

.pd-areas__list {
	grid-column: 6 / span 7;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(28px, 3vw, 48px);
	border-bottom: 1px solid var(--line);
}

.pd-area {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	column-gap: 12px;
	row-gap: 8px;
	padding: 30px 0 38px;
	border-top: 1px solid var(--line);
}

.pd-area > .pd-num {
	grid-row: 1 / span 2;
	padding-top: 5px;
}

.pd-area > :not(.pd-num) {
	grid-column: 2;
}

.pd-area > p:not(.pd-num) {
	color: var(--dim);
	font-size: 0.96875rem;
	line-height: 1.6;
}

/* Feature: figure + copy */
.pd-feature {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
	row-gap: 56px;
	align-items: center;
}

.pd-feature > .pd-fig,
.pd-feature > .wp-block-paladyn-figure {
	grid-column: 1 / span 6;
}

.pd-feature__copy {
	grid-column: 8 / span 5;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.pd-feature--reverse > .pd-fig,
.pd-feature--reverse > .wp-block-paladyn-figure {
	grid-column: 7 / span 6;
	order: 2;
}

.pd-feature--reverse > .pd-feature__copy {
	grid-column: 1 / span 5;
	order: 1;
}

/* Chips */
.pd-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pd-chips li {
	padding: 7px 12px;
	border: 1px solid var(--line);
	border-radius: 2px;
	background: rgba(11, 16, 20, 0.6);
	color: var(--steel);
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	line-height: 1.3;
}

/* Triad */
.pd-triad {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: clamp(28px, 4vw, 64px);
	row-gap: 48px;
}

.pd-triad > .wp-block-group {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.pd-triad > .wp-block-group::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 32px;
	height: 1px;
	background: var(--dim);
}

.pd-triad > .wp-block-group:first-child::before {
	width: 48px;
	background: var(--cyan);
}

.pd-triad > .wp-block-group > p:not(.pd-num) {
	color: var(--dim);
}

/* CTA */
.pd-cta {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 26px;
	text-align: center;
	border-top: 1px solid var(--line);
	overflow: hidden;
}

.pd-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image: var(--grid-major), var(--grid-minor);
	background-size: 200px 200px, 200px 200px, 40px 40px, 40px 40px;
	background-position: center;
	-webkit-mask-image: radial-gradient(55% 70% at 50% 50%, #000 0%, transparent 72%);
	mask-image: radial-gradient(55% 70% at 50% 50%, #000 0%, transparent 72%);
}

.pd-cta::before {
	/* The Core hex bezel, very low contrast, behind the call to action */
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: -1;
	width: min(620px, 90vw);
	aspect-ratio: 572 / 660;
	transform: translate(-50%, -50%);
	pointer-events: none;
	background: var(--bezel) center / contain no-repeat;
}

.pd-cta .pd-h2 {
	max-width: 15em;
}

.pd-cta .pd-lede {
	max-width: 32em;
}

.pd-cta .wp-block-buttons {
	justify-content: center;
	margin-top: 6px;
}

/* Inner page hero */
.pd-page-hero {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
	row-gap: 56px;
	align-items: center;
	padding: clamp(72px, 9vw, 136px) var(--pad) clamp(72px, 8vw, 120px);
	border-bottom: 1px solid var(--line);
}

.pd-page-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image: var(--grid-major), var(--grid-minor);
	background-size: 200px 200px, 200px 200px, 40px 40px, 40px 40px;
	-webkit-mask-image: radial-gradient(55% 80% at 80% 50%, #000 0%, rgba(0, 0, 0, 0.4) 45%, transparent 76%);
	mask-image: radial-gradient(55% 80% at 80% 50%, #000 0%, rgba(0, 0, 0, 0.4) 45%, transparent 76%);
}

.pd-page-hero__copy {
	grid-column: 1 / span 6;
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.pd-page-hero--text .pd-page-hero__copy {
	grid-column: 1 / span 8;
}

.pd-page-hero > .pd-fig,
.pd-page-hero > .wp-block-paladyn-figure {
	grid-column: 8 / span 5;
}

/* About: ledger */
.pd-ledger {
	display: flex;
	flex-direction: column;
	border-bottom: 1px solid var(--line);
}

.pd-ledger__row {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
	row-gap: 14px;
	padding: clamp(36px, 4.5vw, 60px) 0;
	border-top: 1px solid var(--line);
}

.pd-ledger__row > .pd-kicker {
	grid-column: 1 / span 3;
	padding-top: 0.55em;
}

.pd-ledger__row > .pd-ledger__text {
	grid-column: 5 / span 8;
	color: var(--text);
	font-size: clamp(1.1875rem, 1rem + 0.55vw, 1.5rem);
	line-height: 1.55;
}

/* About: principles */
.pd-principles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(32px, 6vw, 112px);
	row-gap: clamp(48px, 6vw, 80px);
}

.pd-principle {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 28px;
	row-gap: 10px;
	align-content: start;
}

.pd-principle > .pd-bignum {
	grid-row: 1 / span 2;
	color: var(--dim);
	font-family: var(--font-display);
	font-weight: 500;
	font-stretch: 118%;
	font-size: clamp(2.5rem, 1.8rem + 2vw, 3.75rem);
	line-height: 0.9;
	letter-spacing: -0.02em;
}

.pd-principle > :not(.pd-bignum) {
	grid-column: 2;
}

.pd-principle > p:not(.pd-bignum) {
	color: var(--dim);
}

/* About: facts */
.pd-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.pd-fact {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 30px 24px;
	border-left: 1px solid var(--line);
}

.pd-fact:first-child {
	border-left: 0;
	padding-left: 0;
}

.pd-fact > p:not(.pd-kicker) {
	color: var(--text-hi);
	font-size: 1.0625rem;
}

.pd-fact a {
	color: var(--text-hi);
	text-decoration-color: var(--line);
}

.pd-fact a:hover {
	text-decoration-color: var(--cyan);
}

/* Research: themed index */
.pd-theme {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
	row-gap: 36px;
	padding-block: clamp(56px, 7vw, 104px);
	border-top: 1px solid var(--line);
}

.pd-theme:first-child {
	padding-top: 0;
	border-top: 0;
}

.pd-theme:last-child {
	padding-bottom: 0;
}

.pd-theme__head {
	grid-column: 1 / span 4;
	align-self: start;
	position: sticky;
	top: calc(var(--header-h) + 48px);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.pd-theme__head > p:not(.pd-num) {
	color: var(--dim);
}

.pd-theme__items {
	grid-column: 6 / span 7;
	display: flex;
	flex-direction: column;
}

.pd-item {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	column-gap: 16px;
	row-gap: 12px;
	padding: 36px 0;
	border-top: 1px solid var(--line);
}

.pd-item:first-child {
	padding-top: 0;
	border-top: 0;
}

.pd-item > .pd-num {
	grid-row: 1 / span 3;
	padding-top: 8px;
}

.pd-item > :not(.pd-num) {
	grid-column: 2;
}

.pd-item > .pd-item__q {
	color: var(--dim);
	font-size: 0.96875rem;
	padding-left: 16px;
	border-left: 1px solid var(--line);
}

/* Checklist */
.pd-checklist {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(32px, 4vw, 56px);
	list-style: none;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--line);
}

.pd-checklist li {
	position: relative;
	padding: 20px 0 20px 30px;
	border-top: 1px solid var(--line);
	color: var(--text);
}

.pd-checklist li::before {
	content: "";
	position: absolute;
	left: 3px;
	top: calc(20px + 0.62em);
	width: 8px;
	height: 8px;
	border: 1px solid var(--cyan);
	transform: rotate(45deg);
}

.pd-checklist--muted li {
	color: var(--dim);
}

.pd-checklist--muted li::before {
	top: calc(20px + 0.8em);
	width: 10px;
	height: 1px;
	border: 0;
	background: var(--dim);
	transform: none;
}

/* Services: table */
.pd-table {
	border-bottom: 1px solid var(--line);
}

.pd-table__head,
.pd-table__row {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 4fr);
	column-gap: clamp(24px, 3vw, 48px);
	align-items: baseline;
}

.pd-table__head {
	padding-bottom: 18px;
}

.pd-table__row {
	position: relative;
	padding: 32px 0;
	border-top: 1px solid var(--line);
	transition: background-color 0.2s ease;
}

.pd-table__row::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 0;
	height: 1px;
	background: var(--cyan);
	transition: width 0.3s ease;
}

.pd-table__row:hover::before {
	width: 96px;
}

.pd-table__row > h3 {
	font-family: var(--font-display);
	font-size: 1.3125rem;
	font-stretch: 104%;
	line-height: 1.25;
}

.pd-table__row > p:nth-child(2) {
	color: var(--text);
}

.pd-table__row > p:nth-child(3) {
	color: var(--steel);
	font-family: var(--font-mono);
	font-size: 0.875rem;
	line-height: 1.55;
}

/* Services: steps */
.pd-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: var(--gap);
	row-gap: 40px;
}

.pd-steps > .wp-block-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-right: 12px;
}

.pd-steps > .wp-block-group > p:not(.pd-num) {
	color: var(--dim);
}

/* Services: fit */
.pd-fit {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(32px, 6vw, 112px);
	row-gap: 56px;
}

.pd-fit > .wp-block-group {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.pd-fit .pd-checklist {
	grid-template-columns: minmax(0, 1fr);
}

/* Infrastructure: split + layers */
.pd-split {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
	row-gap: 56px;
	align-items: center;
}

.pd-split > .pd-fig,
.pd-split > .wp-block-paladyn-figure {
	grid-column: 1 / span 6;
}

.pd-split__copy {
	grid-column: 8 / span 5;
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.pd-layers {
	display: flex;
	flex-direction: column;
	border-bottom: 1px solid var(--line);
}

.pd-layer {
	display: grid;
	grid-template-columns: minmax(0, 11.5em) minmax(0, 1fr);
	column-gap: 20px;
	padding: 18px 0;
	border-top: 1px solid var(--line);
}

.pd-layer > .pd-kicker {
	color: var(--steel);
	padding-top: 0.25em;
}

.pd-layer:first-child > .pd-kicker {
	color: var(--cyan);
}

.pd-layer > p:not(.pd-kicker) {
	color: var(--dim);
	font-size: 0.96875rem;
}

/* Infrastructure: capabilities */
.pd-caps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: clamp(28px, 4vw, 64px);
	row-gap: 56px;
}

.pd-cap {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 26px;
	border-top: 1px solid var(--line);
}

.pd-cap > p:not(.pd-num) {
	color: var(--dim);
}

/* Big editorial pair */
.pd-pair {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
	row-gap: 28px;
	align-items: start;
}

.pd-pair > .pd-h2 {
	grid-column: 1 / span 6;
}

.pd-pair__body {
	grid-column: 8 / span 5;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.pd-pair__body > p {
	color: var(--dim);
}

/* Contact */
.pd-contact {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
	row-gap: 64px;
	align-items: start;
}

.pd-contact__main {
	grid-column: 1 / span 6;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.pd-contact__aside {
	grid-column: 8 / span 5;
	display: flex;
	flex-direction: column;
	gap: 44px;
}

.pd-panel {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: clamp(28px, 3.4vw, 44px);
	background: rgba(11, 16, 20, 0.85);
	border: 1px solid var(--line);
	border-radius: 4px;
}

.pd-panel::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 28px;
	width: 72px;
	height: 1px;
	background: var(--cyan);
}

.pd-email {
	font-family: var(--font-mono);
	font-size: clamp(1.125rem, 0.85rem + 1.2vw, 1.75rem);
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.pd-email a {
	color: var(--text-hi);
	text-decoration: none;
	border-bottom: 1px solid var(--line);
}

.pd-email a:hover {
	border-bottom-color: var(--cyan);
}

/* Prose */
.pd-prose {
	max-width: 46rem;
}

.pd-prose.pd-prose > * + * {
	margin-top: 1.1em;
}

.pd-prose.pd-prose > h2 {
	margin-top: 2.4em;
	color: var(--text-hi);
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-stretch: 104%;
	line-height: 1.25;
}

.pd-prose.pd-prose > h2 + * {
	margin-top: 0.7em;
}

.pd-prose ul,
.pd-prose ol {
	padding-left: 1.2em;
}

.pd-prose.pd-prose li + li {
	margin-top: 0.4em;
}

.pd-prose li::marker {
	color: var(--cyan);
}

.pd-prose a {
	color: var(--text-hi);
	text-decoration-color: var(--cyan);
}

/* 9 -------------------------------------------------------------- figures */
.pd-fig {
	margin: 0;
}

.pd-fig svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.pd-fig figcaption {
	margin-top: 14px;
	color: var(--dim);
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.04em;
}

.pd-fig .e { fill: none; stroke: #2A3C47; stroke-width: 1.25; }
.pd-fig .ea { fill: none; stroke: var(--cyan); stroke-width: 1.5; }
.pd-fig .em { fill: none; stroke: var(--steel); stroke-width: 1.5; stroke-linejoin: round; }
.pd-fig .c { fill: none; stroke: #1B2A33; stroke-width: 1; stroke-dasharray: 2 5; }
.pd-fig .d { stroke-dasharray: 3 4; }
.pd-fig .n { fill: var(--void); stroke: #6E828D; stroke-width: 1.25; }
.pd-fig .na { fill: var(--void); stroke: var(--cyan); stroke-width: 1.5; }
.pd-fig .dot { fill: var(--cyan); }
.pd-fig .dotm { fill: #6E828D; }
.pd-fig .p { fill: var(--base); stroke: #263843; stroke-width: 1; stroke-linejoin: round; }
.pd-fig .pa { stroke: var(--cyan); stroke-opacity: 0.8; }
.pd-fig .t { fill: var(--dim); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; }
.pd-fig .ta { fill: var(--cyan); }
.pd-fig .bz1 { fill: none; stroke: #1B3944; stroke-width: 1.5; }
.pd-fig .bz2 { fill: none; stroke: #16343D; stroke-width: 1; }
.pd-fig .bz3 { fill: none; stroke: var(--cyan); stroke-opacity: 0.22; stroke-width: 1; }
.pd-fig .bzs { fill: none; stroke: #173039; stroke-width: 1; }

.pd-fig--hero,
.pd-fig--lattice {
	filter: drop-shadow(0 0 40px rgba(34, 211, 238, 0.04));
}

.pd-fig--emblem image {
	filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.16));
}

/* 10 -------------------------------------------------------------- footer */
.pd-footer {
	position: relative;
	padding: clamp(64px, 7vw, 104px) var(--pad) 36px;
	background: rgba(4, 7, 10, 0.92);
	border-top: 1px solid var(--line);
	color: var(--dim);
}

.pd-footer::before {
	content: "";
	position: absolute;
	top: -1px;
	left: var(--pad);
	width: 120px;
	height: 1px;
	background: var(--cyan);
	opacity: 0.45;
}

.pd-footer__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--gap);
	row-gap: 48px;
}

.pd-footer__brand {
	grid-column: 1 / span 5;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.pd-footer__brand p {
	max-width: 26em;
	color: var(--dim);
	font-size: 0.9375rem;
}

.pd-footer__email {
	color: var(--text-hi);
	font-family: var(--font-mono);
	font-size: 0.9375rem;
	text-decoration: none;
	border-bottom: 1px solid var(--line);
}

.pd-footer__email:hover {
	color: var(--text-hi);
	border-bottom-color: var(--cyan);
}

.pd-footer__nav {
	grid-column: span 3;
}

.pd-footer__nav:first-of-type {
	grid-column: 7 / span 3;
}

.pd-footer__nav h2 {
	margin-bottom: 18px;
	color: var(--dim);
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.pd-footer__nav ul {
	display: flex;
	flex-direction: column;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pd-footer__nav a {
	color: var(--text);
	text-decoration: none;
	font-size: 0.9375rem;
}

.pd-footer__nav a:hover {
	color: var(--text-hi);
}

.pd-footer__motto {
	grid-column: 1 / -1;
	color: var(--dim);
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
}

.pd-footer__base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 32px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
	color: var(--dim);
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.06em;
}

.pd-footer__base a {
	color: var(--dim);
}

.pd-footer .pd-brand__emblem {
	width: 56px;
	height: 56px;
}

.pd-footer .pd-brand__word {
	width: 216px;
	height: 36px;
}

/* 11 --------------------------------------------------- fallback templates */
.pd-default-content.pd-default-content > * + * {
	margin-top: 1.1em;
}

.pd-404 .pd-link {
	margin-top: 12px;
}

/* 12 ---------------------------------------------------------- responsive */
@media (max-width: 1180px) {
	.pd-hero__copy {
		grid-column: 1 / span 7;
	}

	.pd-hero > .pd-fig,
	.pd-hero > .wp-block-paladyn-figure {
		grid-column: 8 / span 5;
	}

	.pd-nav__list {
		gap: 18px;
	}
}

@media (max-width: 1040px) {
	:root {
		--header-h: 72px;
	}

	.pd-brand__emblem {
		width: 44px;
		height: 44px;
	}

	.pd-brand__word {
		width: 180px;
		height: 30px;
	}

	.js .pd-nav-toggle {
		display: inline-flex;
	}

	.js .pd-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px var(--edge) 28px;
		background: rgba(6, 9, 12, 0.98);
		border-bottom: 1px solid var(--line);
		max-height: calc(100svh - var(--header-h));
		overflow-y: auto;
	}

	.js .pd-header[data-nav-open="true"] .pd-nav {
		display: flex;
	}

	.js .pd-nav__list {
		flex-direction: column;
		gap: 0;
	}

	.js .pd-nav__list a {
		display: block;
		padding: 16px 0;
		font-size: 0.9375rem;
		border-bottom: 1px solid var(--line);
	}

	.js .pd-nav__list a::after {
		display: none;
	}

	.js .pd-nav__cta {
		justify-content: center;
		min-height: 52px;
		margin-top: 20px;
	}

	.no-js .pd-header {
		position: relative;
	}

	.no-js .pd-header__inner {
		height: auto;
		flex-wrap: wrap;
		padding-block: 14px;
	}

	.no-js .pd-nav {
		width: 100%;
		flex-wrap: wrap;
	}

	.no-js .pd-nav__list {
		flex-wrap: wrap;
	}

	.pd-hero {
		min-height: 0;
	}

	.pd-hero__copy,
	.pd-hero > .pd-fig,
	.pd-page-hero__copy,
	.pd-page-hero--text .pd-page-hero__copy,
	.pd-page-hero > .pd-fig,
	.pd-areas__head,
	.pd-areas__list,
	.pd-theme__head,
	.pd-theme__items,
	.pd-statement > .pd-kicker,
	.pd-statement__body,
	.pd-feature > .pd-fig,
	.pd-feature__copy,
	.pd-feature--reverse > .pd-fig,
	.pd-feature--reverse > .pd-feature__copy,
	.pd-split > .pd-fig,
	.pd-split__copy,
	.pd-pair > .pd-h2,
	.pd-pair__body,
	.pd-ledger__row > .pd-kicker,
	.pd-ledger__row > .pd-ledger__text,
	.pd-contact__main,
	.pd-contact__aside,
	.pd-section-head__title,
	.pd-section-head > p {
		grid-column: 1 / -1;
	}

	.pd-hero > .pd-fig,
	.pd-hero > .wp-block-paladyn-figure {
		justify-self: start;
		max-width: 560px;
	}

	.pd-page-hero > .pd-fig,
	.pd-page-hero > .wp-block-paladyn-figure {
		max-width: 480px;
	}

	.pd-feature > .pd-fig,
	.pd-split > .pd-fig,
	.pd-split > .wp-block-paladyn-figure {
		max-width: 600px;
	}

	.pd-feature--reverse > .pd-fig,
	.pd-feature--reverse > .pd-feature__copy {
		order: 0;
	}

	.pd-areas__head,
	.pd-theme__head {
		position: static;
	}

	.pd-steps,
	.pd-caps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.pd-fact:nth-child(3) {
		border-left: 0;
		padding-left: 0;
	}

	.pd-fact:nth-child(n + 3) {
		border-top: 1px solid var(--line);
	}

	.pd-footer__brand {
		grid-column: 1 / -1;
	}

	.pd-footer__nav,
	.pd-footer__nav:first-of-type {
		grid-column: span 6;
	}
}

@media (max-width: 720px) {
	:root {
		--header-h: 64px;
	}

	.pd-brand {
		gap: 10px;
	}

	.pd-brand__emblem {
		width: 40px;
		height: 40px;
	}

	.pd-brand__word {
		width: 156px;
		height: 26px;
	}

	.pd-disciplines,
	.pd-triad,
	.pd-areas__list,
	.pd-principles,
	.pd-checklist,
	.pd-fit,
	.pd-caps,
	.pd-steps {
		grid-template-columns: minmax(0, 1fr);
	}

	.pd-hero .wp-block-buttons,
	.pd-cta .wp-block-buttons {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	.pd-hero .wp-block-button__link,
	.pd-cta .wp-block-button__link {
		width: 100%;
	}

	.pd-hero::before {
		display: none;
	}

	.pd-table__head {
		display: none;
	}

	.pd-table__row {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 10px;
		padding: 26px 0;
	}

	.pd-table__row > p:nth-child(3)::before {
		content: "Output — ";
		color: var(--dim);
	}

	.pd-layer {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 6px;
	}

	.pd-item {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 10px;
	}

	.pd-item > .pd-num,
	.pd-item > :not(.pd-num) {
		grid-column: 1;
		grid-row: auto;
		padding-top: 0;
	}

	.pd-principle {
		grid-template-columns: minmax(0, 1fr);
	}

	.pd-principle > .pd-bignum,
	.pd-principle > :not(.pd-bignum) {
		grid-column: 1;
		grid-row: auto;
	}

	.pd-facts {
		grid-template-columns: minmax(0, 1fr);
	}

	.pd-fact,
	.pd-fact:nth-child(3) {
		padding: 22px 0;
		border-left: 0;
	}

	.pd-fact + .pd-fact {
		border-top: 1px solid var(--line);
	}

	.pd-footer__nav,
	.pd-footer__nav:first-of-type {
		grid-column: 1 / -1;
	}

	.pd-fig .t {
		font-size: 13px;
	}
}

@media (max-width: 782px) {
	.admin-bar .pd-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .pd-header {
		top: 0;
	}
}

/* 13 --------------------------------------------------------------- motion */
@media (prefers-reduced-motion: no-preference) {
	.pd-fig .draw {
		stroke-dasharray: 1;
		stroke-dashoffset: 1;
		animation: pd-draw 1.9s 0.35s cubic-bezier(0.3, 0.7, 0.2, 1) forwards;
	}

	.pd-hero__copy > *,
	.pd-page-hero__copy > * {
		animation: pd-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

	.pd-hero__copy > :nth-child(2),
	.pd-page-hero__copy > :nth-child(2) {
		animation-delay: 0.06s;
	}

	.pd-hero__copy > :nth-child(3),
	.pd-page-hero__copy > :nth-child(3) {
		animation-delay: 0.12s;
	}

	.pd-hero__copy > :nth-child(4),
	.pd-page-hero__copy > :nth-child(4) {
		animation-delay: 0.18s;
	}

	.pd-fig .na {
		transition: stroke-opacity 0.3s ease;
	}
}

@keyframes pd-draw {
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes pd-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
}

@media print {
	body {
		background: #fff;
		color: #000;
	}

	.pd-header,
	.pd-footer,
	.pd-nav-toggle {
		display: none;
	}

	.pd-fig .draw {
		stroke-dasharray: none;
	}
}

/* Figure spacing inside sections */
.pd-fig--path {
	margin-bottom: clamp(28px, 3vw, 44px);
}

.pd-contact .pd-facts {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 720px) {
	.pd-contact .pd-facts {
		grid-template-columns: minmax(0, 1fr);
	}
}

.pd-contact .pd-checklist {
	grid-template-columns: minmax(0, 1fr);
}

/* Text-only page heroes carry the Core bezel on the right, as the desktop does */
.pd-page-hero--text::before {
	content: "";
	position: absolute;
	top: 50%;
	right: max(16px, calc((100% - var(--max)) / 2 - 72px));
	z-index: -1;
	width: min(400px, 29vw);
	aspect-ratio: 580 / 668;
	transform: translateY(-50%);
	pointer-events: none;
	background: var(--bezel-nodes) center / contain no-repeat;
	opacity: 0.95;
}

@media (max-width: 1040px) {
	.pd-page-hero--text::before {
		display: none;
	}
}

/* Tablet: disciplines read as rows rather than three narrow columns */
@media (max-width: 1040px) and (min-width: 721px) {
	.pd-disciplines {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 0;
	}

	.pd-discipline {
		display: grid;
		grid-template-columns: 200px minmax(0, 1fr);
		column-gap: 32px;
		row-gap: 10px;
		padding-block: 28px;
	}

	.pd-discipline > .pd-num {
		grid-row: 1 / span 3;
		padding-top: 6px;
	}

	.pd-discipline > :not(.pd-num) {
		grid-column: 2;
	}

	.pd-discipline .pd-link {
		margin-top: 4px;
	}

	.pd-triad {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 36px;
	}
}

/* Editor: the figure block's wrapper follows the same responsive placement */
@media (max-width: 1040px) {
	.pd-hero > .wp-block-paladyn-figure,
	.pd-page-hero > .wp-block-paladyn-figure,
	.pd-feature > .wp-block-paladyn-figure,
	.pd-feature--reverse > .wp-block-paladyn-figure,
	.pd-split > .wp-block-paladyn-figure {
		grid-column: 1 / -1;
		order: 0;
	}

	.pd-feature > .wp-block-paladyn-figure {
		max-width: 600px;
	}
}

/* Figures with a compact variant: the wide drawing on larger screens, the
   folded one on phones. display:none also hides the unused one from screen readers. */
.pd-fig .pd-fig__compact {
	display: none;
}

.pd-fig .tl {
	font-size: 17px;
}

@media (max-width: 720px) {
	.pd-fig--has-compact .pd-fig__wide {
		display: none;
	}

	.pd-fig--has-compact .pd-fig__compact {
		display: block;
		max-width: 420px;
		margin-inline: auto;
	}

	.pd-fig .tl {
		font-size: 17px;
	}
}

/* Tablet: principles in one column so the text keeps a readable measure */
@media (max-width: 1040px) {
	.pd-principles {
		grid-template-columns: minmax(0, 1fr);
		max-width: 44rem;
	}
}
