/*
 * OISTE components: ported from oiste-revamp-master/assets/css/oiste.css (v0.2).
 * Sections 2-5 and 7-19, plus 21, are copied unchanged.
 * Removed: section 1 (tokens, which now come from theme.json),
 *          section 6 (header and nav, replaced by navigation.css for core/navigation),
 *          section 20 (review mode, PoC only) and the PoC banner.
 * The short token names below are ALIASES of theme.json presets.
 * theme.json is the single source of every value; do not define token values here.
 */
:root {
	--navy-900: var(--wp--preset--color--navy-900);
	--navy-800: var(--wp--preset--color--navy-800);
	--navy-700: var(--wp--preset--color--navy-700);
	--navy-600: var(--wp--preset--color--navy-600);
	--navy-500: var(--wp--preset--color--navy-500);
	--navy-100: var(--wp--preset--color--navy-100);
	--navy-050: var(--wp--preset--color--navy-050);
	--gold-600: var(--wp--preset--color--gold-600);
	--gold-500: var(--wp--preset--color--gold-500);
	--gold-300: var(--wp--preset--color--gold-300);
	--gold-100: var(--wp--preset--color--gold-100);
	--pq-700: var(--wp--preset--color--pq-700);
	--pq-500: var(--wp--preset--color--pq-500);
	--pq-300: var(--wp--preset--color--pq-300);
	--pq-100: var(--wp--preset--color--pq-100);
	--paper: var(--wp--preset--color--paper);
	--surface: var(--wp--preset--color--surface);
	--ink: var(--wp--preset--color--ink);
	--ink-2: var(--wp--preset--color--ink-2);
	--ink-3: var(--wp--preset--color--ink-3);
	--line: var(--wp--preset--color--line);
	--line-2: var(--wp--preset--color--line-2);
	--link: var(--navy-600);
	--focus: var(--wp--custom--focus);
	--note-ink: var(--wp--custom--note-ink); /* PoC token, used inline by the History intent callout */
	--control-border: var(--wp--custom--control-border);
	--f-display: var(--wp--preset--font-family--display);
	--f-sans: var(--wp--preset--font-family--sans);
	--f-mono: var(--wp--preset--font-family--mono);
	--fs-xs: var(--wp--preset--font-size--xs);
	--fs-sm: var(--wp--preset--font-size--sm);
	--fs-md: var(--wp--preset--font-size--md);
	--fs-lg: var(--wp--preset--font-size--lg);
	--fs-h4: var(--wp--preset--font-size--h-4);
	--fs-h3: var(--wp--preset--font-size--h-3);
	--fs-h2: var(--wp--preset--font-size--h-2);
	--fs-h1: var(--wp--preset--font-size--h-1);
	--s-1: var(--wp--preset--spacing--10);
	--s-2: var(--wp--preset--spacing--20);
	--s-3: var(--wp--preset--spacing--30);
	--s-4: var(--wp--preset--spacing--40);
	--s-5: var(--wp--preset--spacing--50);
	--s-6: var(--wp--preset--spacing--60);
	--s-7: var(--wp--preset--spacing--70);
	--s-8: var(--wp--preset--spacing--80);
	--s-9: var(--wp--preset--spacing--90);
	--wrap: var(--wp--style--global--content-size);
	--measure: var(--wp--custom--measure);
	--gutter: var(--wp--custom--gutter);
	--header-h: var(--wp--custom--header-height);
	--radius: var(--wp--custom--radius--default);
	--radius-sm: var(--wp--custom--radius--sm);
	--shadow: var(--wp--preset--shadow--card);
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--f-sans);
	font-size: var(--fs-md);
	line-height: 1.6;
	font-feature-settings: "kern", "liga";
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
}

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

a {
	color: var(--link);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	text-decoration-thickness: 2px;
}

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

h1,
h2,
h3,
h4 {
	font-family: var(--f-display);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0;
	color: inherit;
	text-wrap: balance;
}

h1 {
	font-size: var(--fs-h1);
	font-weight: 500;
	letter-spacing: -0.02em;
}

h2 {
	font-size: var(--fs-h2);
	font-weight: 500;
}

h3 {
	font-size: var(--fs-h3);
	font-weight: 500;
}

h4 {
	font-size: var(--fs-h4);
	font-family: var(--f-sans);
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.3;
}

p {
	margin: 0;
}

ul,
ol {
	margin: 0;
	padding-left: 1.25em;
}

code,
kbd,
.mono {
	font-family: var(--f-mono);
	font-size: 0.92em;
}

hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 0;
}

table {
	border-collapse: collapse;
	width: 100%;
}

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip {
	position: absolute;
	left: var(--gutter);
	top: -100px;
	background: var(--navy-900);
	color: #fff;
	padding: 0.6rem 1rem;
	z-index: 100;
	border-radius: var(--radius-sm);
}

.skip:focus {
	top: 0.5rem;
}

/* ---------- 3. Layout ---------- */
.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section {
	padding-block: var(--s-8);
}

.section--tight {
	padding-block: var(--s-7);
}

.section--surface {
	background: var(--surface);
}

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

.stack > * + * {
	margin-top: var(--s-4);
}

.stack-lg > * + * {
	margin-top: var(--s-6);
}

.grid {
	display: grid;
	gap: var(--s-6);
}

.grid-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--s-6) var(--s-7);
}

.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--s-5);
}

.grid-4 {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--s-5);
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: var(--s-7);
	align-items: start;
}

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

.sidebar-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 17rem;
	gap: var(--s-7);
	align-items: start;
}

@media (max-width: 62rem) {

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

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

	/* minmax(0, 1fr), not 1fr: a 1fr track grows to its widest child (e.g. the archive table),
	   so .table-wrap could never scroll and the page overflowed at 390 px. The approved mockup
	   has the same defect; fixed here (Repository update, 4 Nov 2026). Desktop is unchanged. */
	.sidebar-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Long unbroken strings (e.g. URLs shown as link text) wrap instead of widening the page. */
	.oiste-content :is(p, li) {
		overflow-wrap: anywhere;
	}
}

@media (max-width: 52rem) {

	.split,
	.split--even,
	.grid-2 {
		grid-template-columns: 1fr;
		gap: var(--s-5);
	}
}

@media (max-width: 36rem) {

	.grid-3,
	.grid-4 {
		grid-template-columns: 1fr;
	}

	.section {
		padding-block: var(--s-7);
	}
}

/* ---------- 4. Type helpers ---------- */
.kicker {
	font-family: var(--f-mono);
	font-size: var(--fs-xs);
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pq-700);
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.kicker--gold {
	color: var(--gold-600);
}

.lead {
	font-size: var(--fs-lg);
	line-height: 1.55;
	color: var(--ink-2);
	max-width: 42rem;
}

.prose {
	max-width: var(--measure);
}

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

.prose h2 {
	font-size: var(--fs-h3);
	margin-top: 2.2em;
}

.prose h3 {
	font-size: var(--fs-h4);
	font-family: var(--f-sans);
	font-weight: 600;
	margin-top: 1.8em;
}

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

.prose blockquote {
	margin: 1.6em 0;
	padding-left: 1.25rem;
	border-left: 2px solid var(--gold-500);
	font-family: var(--f-display);
	font-size: 1.25rem;
	line-height: 1.45;
}

.muted {
	color: var(--ink-3);
}

.small {
	font-size: var(--fs-sm);
}

.xs {
	font-size: var(--fs-xs);
}

.tabnum {
	font-variant-numeric: tabular-nums;
}

.section-head {
	display: grid;
	gap: var(--s-3);
	margin-bottom: var(--s-6);
	max-width: 46rem;
}

.section-head p {
	color: var(--ink-2);
}

/* ---------- 5. Buttons and links ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font: 600 var(--fs-sm)/1 var(--f-sans);
	padding: 0.85rem 1.2rem;
	border-radius: var(--radius-sm);
	border: 1px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn--primary {
	background: var(--navy-600);
	color: #fff;
}

.btn--primary:hover {
	background: var(--navy-700);
}

.btn--ghost {
	border-color: currentcolor;
	color: var(--navy-600);
	background: transparent;
}

.btn--ghost:hover {
	background: var(--navy-050);
}

.btn--on-dark {
	background: #fff;
	color: var(--navy-900);
}

.btn--on-dark:hover {
	background: var(--gold-100);
}

.btn--ghost-dark {
	border-color: rgba(255, 255, 255, 0.45);
	color: #fff;
}

.btn--ghost-dark:hover {
	background: rgba(255, 255, 255, 0.08);
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-3);
}

.arrow::after {
	content: "";
	width: 0.5em;
	height: 0.5em;
	border-top: 1.5px solid currentcolor;
	border-right: 1.5px solid currentcolor;
	transform: rotate(45deg);
	margin-left: 0.1em;
	flex: none;
}

.textlink {
	font-weight: 600;
	font-size: var(--fs-sm);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--navy-600);
}

.textlink:hover {
	text-decoration: underline;
}

.ext::after {
	content: "\2197";
	font-size: 0.85em;
	margin-left: 0.2em;
}

/* ---------- 7. Breadcrumb (certificate-path style) ---------- */
.crumbs {
	font-family: var(--f-mono);
	font-size: var(--fs-xs);
	color: var(--ink-3);
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.crumbs li + li::before {
	content: "/";
	margin-right: 0.35rem;
	color: var(--line);
}

.crumbs a {
	color: var(--ink-2);
	text-decoration: none;
}

.crumbs a:hover {
	color: var(--navy-600);
	text-decoration: underline;
}

/* ---------- 8. Page hero (inner pages) ---------- */
.page-hero {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	padding-block: var(--s-6) var(--s-7);
}

.page-hero__inner {
	display: grid;
	gap: var(--s-4);
	max-width: 52rem;
}

.page-hero h1 {
	font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
}

.page-hero .lead {
	margin-top: var(--s-1);
}

.page-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2) var(--s-5);
	font-size: var(--fs-sm);
	color: var(--ink-3);
	margin-top: var(--s-2);
}

.page-hero--pq {
	background: var(--navy-900);
	color: #e8eef4;
	border-bottom: 0;
}

.page-hero--pq .lead {
	color: #b9c8d6;
}

.page-hero--pq .crumbs,
.page-hero--pq .crumbs a {
	color: #9fb2c4;
}

.page-hero--pq .kicker {
	color: var(--pq-300);
}

/* ---------- 9. Dark band ---------- */
.band-dark {
	background: var(--navy-900);
	color: #e6edf4;
	--ink: #e6edf4;
	--ink-2: #bccad8;
	--ink-3: #93a7bb;
	--line: rgba(255, 255, 255, 0.14);
	--line-2: rgba(255, 255, 255, 0.08);
	--link: #9cc3f0;
}

.band-dark .kicker {
	color: var(--pq-300);
}

.band-dark .kicker--gold {
	color: var(--gold-300);
}

.band-dark .lead {
	color: #bccad8;
}

/* ---------- 10. Home hero ---------- */
.hero {
	background: linear-gradient(180deg, var(--navy-900) 0%, #0e2640 100%);
	color: #eaf0f6;
	overflow: hidden;
	position: relative;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(60rem 30rem at 85% 20%, rgba(18, 122, 134, 0.22), transparent 60%);
	pointer-events: none;
}

.hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: var(--s-7);
	align-items: center;
	padding-block: var(--s-8) var(--s-7);
}

.hero__eyebrow {
	font-family: var(--f-mono);
	font-size: var(--fs-xs);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gold-300);
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
}

.hero__eyebrow {
	flex-direction: column;
	gap: 0.35rem;
}

.hero__eyebrow span + span {
	color: #93a7bb;
}

.hero h1 {
	margin-top: var(--s-4);
	font-size: clamp(2.4rem, 1.6rem + 3.2vw, 4rem);
	max-width: 17ch;
}

.hero .lead {
	color: #bccad8;
	margin-top: var(--s-5);
	max-width: 34rem;
}

.hero .btn-row {
	margin-top: var(--s-6);
}

@media (max-width: 60rem) {

	.hero__grid {
		grid-template-columns: 1fr;
		padding-block: var(--s-7) var(--s-6);
	}
}

/* Light home hero */
.home-hero {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
}

.home-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: var(--s-7);
	align-items: center;
	padding-block: var(--s-8);
}

.home-hero h1 {
	font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.3rem);
	max-width: 20ch;
	margin-top: var(--s-2);
}

.home-hero .lead {
	margin-top: var(--s-2);
}

.home-hero__facts {
	list-style: none;
	padding: 0;
	margin: var(--s-4) 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.25rem;
	font-size: var(--fs-xs);
	font-family: var(--f-mono);
	letter-spacing: 0.02em;
	color: var(--ink-3);
}

.home-hero__facts li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.home-hero__facts li::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--gold-500);
}

.home-hero__img img {
	aspect-ratio: 4/3;
	object-fit: cover;
}

@media (max-width: 60rem) {

	.home-hero__grid {
		grid-template-columns: 1fr;
		gap: var(--s-5);
		padding-block: var(--s-6) var(--s-7);
	}
}

.hero .crumbs,
.hero .crumbs a {
	color: #9fb2c4;
}

/* Root hierarchy diagram */
.rootfig {
	width: 100%;
	height: auto;
	color: #9fb6ca;
}

.rootfig text {
	font-family: var(--f-sans);
	fill: currentcolor;
}

.rootfig .t-strong {
	fill: #f2f6fa;
	font-weight: 600;
}

.rootfig .t-mono {
	font-family: var(--f-mono);
}

.rootfig .t-pq {
	fill: #8fe0e4;
}

.rootfig .t-gold {
	fill: #efc877;
}

.rootfig .box {
	fill: #10283f;
	stroke: #3e5e7e;
}

.rootfig .box-pq {
	fill: #0e2b3a;
	stroke: var(--pq-300);
}

.rootfig .wire {
	stroke: #46678a;
	fill: none;
	stroke-width: 1;
}

.rootfig .wire-pq {
	stroke: var(--pq-300);
	fill: none;
	stroke-width: 1.4;
	stroke-dasharray: 700;
	stroke-dashoffset: 700;
	animation: draw 1.6s 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes draw {

	to {
		stroke-dashoffset: 0;
	}
}

@media (prefers-reduced-motion: reduce) {

	.rootfig .wire-pq {
		stroke-dashoffset: 0;
	}
}

.fig-caption {
	font-size: var(--fs-xs);
	color: #8ea3b7;
	margin-top: var(--s-2);
}

/* Credentials strip */
.creds {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(3, 12, 22, 0.35);
	position: relative;
}

.creds__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cred {
	padding: var(--s-5) var(--s-5) var(--s-5) 0;
	display: grid;
	gap: 0.25rem;
}

.cred + .cred {
	padding-left: var(--s-5);
	border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.cred b {
	font-weight: 600;
	font-size: var(--fs-sm);
	color: #fff;
}

.cred span {
	font-size: var(--fs-xs);
	color: #98abbe;
	line-height: 1.45;
}

@media (max-width: 60rem) {

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

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

	.cred:nth-child(n+3) {
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}
}

@media (max-width: 30rem) {

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

	.cred,
	.cred + .cred {
		padding-left: 0;
		border-left: 0;
	}

	.cred + .cred {
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}
}

/* ---------- 11. Cards ---------- */
.card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: var(--s-5);
	display: flex;
	flex-direction: column;
	gap: var(--s-3);
	height: 100%;
}

details.card {
	height: auto;
	gap: 0;
}

details.card summary {
	cursor: pointer;
}

.card--link {
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.card--link:hover {
	border-color: var(--navy-600);
	box-shadow: var(--shadow);
}

.card--link:hover h3,
.card--link:hover h4 {
	color: var(--navy-600);
}

.card h3 {
	font-size: 1.375rem;
}

.card p {
	color: var(--ink-2);
	font-size: var(--fs-sm);
}

.card__foot {
	margin-top: auto;
	padding-top: var(--s-2);
}

.card__tag {
	font-family: var(--f-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.card--pq {
	border-top: 3px solid var(--pq-500);
}

.card--gold {
	border-top: 3px solid var(--gold-500);
}

.band-dark .card {
	background: var(--navy-800);
	border-color: rgba(255, 255, 255, 0.12);
}

/* Plain list of rules, no card chrome */
.ruled {
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 1px solid var(--line);
}

.ruled > li {
	padding-block: var(--s-5);
	border-bottom: 1px solid var(--line);
	display: grid;
	grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
	gap: var(--s-3) var(--s-6);
}

.ruled > li h3,
.ruled > li h4 {
	font-size: var(--fs-h4);
}

.ruled > li p {
	color: var(--ink-2);
}

@media (max-width: 44rem) {

	.ruled > li {
		grid-template-columns: 1fr;
	}
}

/* Pillars (three columns separated by rules) */
.pillars {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--line);
}

.pillar {
	padding: var(--s-5) var(--s-5) var(--s-5) 0;
	display: grid;
	gap: var(--s-2);
	align-content: start;
}

.pillar + .pillar {
	padding-left: var(--s-5);
	border-left: 1px solid var(--line);
}

.pillar h3 {
	font-size: 1.375rem;
}

.pillar p {
	color: var(--ink-2);
	font-size: var(--fs-sm);
}

@media (max-width: 52rem) {

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

	.pillar,
	.pillar + .pillar {
		padding-left: 0;
		border-left: 0;
	}

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

/* ---------- 12. Tables ---------- */
.table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}

.table {
	font-size: var(--fs-sm);
	min-width: 36rem;
}

.table th {
	text-align: left;
	font-family: var(--f-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--ink-3);
	padding: 0.85rem 1rem;
	border-bottom: 1px solid var(--line);
	background: var(--navy-050);
	white-space: nowrap;
}

.table td {
	padding: 0.85rem 1rem;
	border-bottom: 1px solid var(--line-2);
	vertical-align: top;
}

.table tr:last-child td {
	border-bottom: 0;
}

.table td:first-child {
	font-weight: 600;
	color: var(--ink);
}

.table .mono {
	font-weight: 400;
}

.spec {
	font-size: var(--fs-sm);
}

.spec th {
	text-align: left;
	font-family: var(--f-mono);
	font-weight: 500;
	font-size: 0.6875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pq-300);
	padding: 0 0 0.6rem;
	border-bottom: 1px solid var(--line);
}

.spec td {
	padding: 0.75rem 1rem 0.75rem 0;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
	color: var(--ink-2);
}

.spec td:first-child {
	color: var(--ink);
	width: 34%;
	font-weight: 500;
}

.spec tr:last-child td {
	border-bottom: 0;
}

/* ---------- 13. Certificates and documents ---------- */
.cert {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: var(--s-3) var(--s-5);
	padding: var(--s-5);
}

.cert__name {
	font-family: var(--f-mono);
	font-weight: 500;
	font-size: var(--fs-md);
	color: var(--ink);
}

.cert__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 1.25rem;
	font-size: var(--fs-xs);
	color: var(--ink-3);
}

.cert__meta b {
	font-weight: 500;
	color: var(--ink-2);
}

.cert__fp {
	grid-column: 1/-1;
	display: flex;
	gap: var(--s-3);
	align-items: center;
	background: var(--navy-050);
	border-radius: var(--radius-sm);
	padding: 0.6rem 0.75rem;
	font-family: var(--f-mono);
	font-size: 0.78rem;
	color: var(--ink-2);
	overflow-x: auto;
}

.cert__fp code {
	white-space: nowrap;
}

.cert__fp .label {
	font-family: var(--f-sans);
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ink-3);
	flex: none;
}

.copy {
	margin-left: auto;
	flex: none;
	font: 600 0.75rem/1 var(--f-sans);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 0.4rem 0.6rem;
	cursor: pointer;
	color: var(--navy-600);
}

.copy:hover {
	border-color: var(--navy-600);
}

.cert--pq {
	border-left: 3px solid var(--pq-500);
}

.cert--legacy .cert__name {
	color: var(--ink-2);
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font: 500 0.6875rem/1 var(--f-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.3rem 0.5rem;
	border-radius: 2px;
	background: var(--navy-050);
	color: var(--ink-2);
	white-space: nowrap;
}

.badge--pq {
	background: var(--pq-100);
	color: var(--pq-700);
}

.badge--gold {
	background: var(--gold-100);
	color: var(--gold-600);
}

.badge--ok {
	background: #e2f2e7;
	color: #1d6a38;
}

.badge--warn {
	background: #fcebd6;
	color: #8a4b0b;
}

.doc {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: var(--s-4);
	align-items: center;
	padding: var(--s-4) 0;
	border-bottom: 1px solid var(--line);
}

.doc:first-child {
	border-top: 1px solid var(--line);
}

.doc__icon {
	width: 2.4rem;
	height: 3rem;
	border: 1px solid var(--line);
	border-radius: 2px;
	background: var(--surface);
	position: relative;
	display: grid;
	place-items: end center;
	padding-bottom: 0.3rem;
	font: 500 0.5625rem/1 var(--f-mono);
	color: var(--ink-3);
}

.doc__icon::before {
	content: "";
	position: absolute;
	top: -1px;
	right: -1px;
	width: 0.7rem;
	height: 0.7rem;
	background: linear-gradient(225deg, var(--paper) 50%, var(--line) 50%);
}

.doc__title {
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
}

.doc__title:hover {
	color: var(--navy-600);
	text-decoration: underline;
}

.doc__meta {
	font-size: var(--fs-xs);
	color: var(--ink-3);
	font-family: var(--f-mono);
}

@media (max-width: 36rem) {

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

	.doc > :last-child {
		grid-column: 2;
	}
}

/* ---------- 14. Timeline ---------- */
.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: var(--s-6);
}

.chip {
	font: 500 var(--fs-sm)/1 var(--f-sans);
	padding: 0.6rem 0.9rem;
	border: 1px solid var(--line);
	background: var(--surface);
	color: var(--ink-2);
	border-radius: 999px;
	cursor: pointer;
}

.chip[aria-pressed="true"] {
	background: var(--navy-600);
	border-color: var(--navy-600);
	color: #fff;
}

.chip:hover {
	border-color: var(--navy-600);
}

.tl {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tl::before {
	content: "";
	position: absolute;
	left: 7.25rem;
	top: 0.5rem;
	bottom: 0.5rem;
	width: 1px;
	background: var(--line);
}

.tl__item {
	position: relative;
	display: grid;
	grid-template-columns: 6.25rem minmax(0, 1fr);
	gap: 0 2rem;
	padding-bottom: var(--s-6);
}

.tl__item[hidden] {
	display: none;
}

.tl__year {
	font-family: var(--f-mono);
	font-size: var(--fs-sm);
	font-weight: 500;
	color: var(--ink-2);
	text-align: right;
	padding-top: 0.15rem;
}

.tl__dot {
	position: absolute;
	left: calc(7.25rem - 4.5px);
	top: 0.45rem;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--paper);
	border: 1.5px solid var(--ink-3);
}

.tl__item--key .tl__dot {
	background: var(--gold-500);
	border-color: var(--gold-500);
	width: 12px;
	height: 12px;
	left: calc(7.25rem - 5.5px);
}

.tl__item--pq .tl__dot {
	background: var(--pq-500);
	border-color: var(--pq-500);
}

.tl__body {
	display: grid;
	gap: 0.4rem;
	max-width: 44rem;
}

.tl__era {
	font-family: var(--f-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gold-600);
}

.tl__body h3 {
	font-size: 1.3rem;
	font-weight: 600;
}

.tl__body p {
	color: var(--ink-2);
	font-size: var(--fs-sm);
}

@media (max-width: 40rem) {

	.tl::before {
		left: 5px;
	}

	.tl__item {
		grid-template-columns: 1fr;
		padding-left: 1.75rem;
	}

	.tl__year {
		text-align: left;
	}

	.tl__dot,
	.tl__item--key .tl__dot {
		left: 0;
	}
}

/* Horizontal milestone rail (home) */
.rail {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rail::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0.35rem;
	border-top: 1px solid var(--line);
}

.rail li {
	position: relative;
	padding: 1.5rem var(--s-4) 0 0;
	display: grid;
	gap: 0.35rem;
	align-content: start;
}

.rail li::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 50%;
	background: var(--paper);
	border: 1.5px solid var(--ink-3);
}

.rail li.key::before {
	background: var(--gold-500);
	border-color: var(--gold-500);
}

.rail li.pq::before {
	background: var(--pq-500);
	border-color: var(--pq-500);
}

.rail b {
	font-family: var(--f-mono);
	font-weight: 500;
	font-size: var(--fs-sm);
}

.rail h3 {
	font-size: 1.125rem;
	font-family: var(--f-sans);
	font-weight: 600;
	line-height: 1.3;
}

.rail p {
	font-size: var(--fs-sm);
	color: var(--ink-2);
}

@media (max-width: 60rem) {

	.rail {
		grid-template-columns: 1fr;
		gap: var(--s-4);
	}

	.rail::before {
		left: 0.35rem;
		right: auto;
		top: 0;
		bottom: 0;
		border-top: 0;
		border-left: 1px solid var(--line);
	}

	.rail li {
		padding: 0 0 0 1.75rem;
	}
}

/* Deadlines */
.deadlines {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.deadline {
	padding: var(--s-5);
	display: grid;
	gap: 0.4rem;
	align-content: start;
}

.deadline + .deadline {
	border-left: 1px solid var(--line);
}

.deadline b {
	font-family: var(--f-mono);
	font-weight: 500;
	font-size: 1.75rem;
	color: var(--pq-300);
	line-height: 1;
}

.deadline span {
	font-size: var(--fs-sm);
	color: var(--ink-2);
}

.deadline small {
	font-size: var(--fs-xs);
	color: var(--ink-3);
}

@media (max-width: 52rem) {

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

	.deadline:nth-child(3) {
		border-left: 0;
	}

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

@media (max-width: 30rem) {

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

	.deadline + .deadline {
		border-left: 0;
		border-top: 1px solid var(--line);
	}
}

/* ---------- 15. People ---------- */
.people {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
	gap: var(--s-6);
}

.person {
	display: grid;
	gap: var(--s-3);
	align-content: start;
}

.person img {
	aspect-ratio: 4/5;
	object-fit: cover;
	width: 100%;
	border-radius: var(--radius);
	background: var(--navy-100);
	filter: grayscale(1);
}

.person h3 {
	font-size: 1.375rem;
	font-weight: 600;
}

.person__role {
	font-family: var(--f-mono);
	font-size: var(--fs-xs);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gold-600);
}

.person p {
	font-size: var(--fs-sm);
	color: var(--ink-2);
}

.person details summary {
	cursor: pointer;
	font-weight: 600;
	font-size: var(--fs-sm);
	color: var(--navy-600);
}

.person details p {
	margin-top: var(--s-2);
}

/* ---------- 16. News ---------- */
.news {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--s-6);
}

.news-card {
	display: grid;
	gap: var(--s-3);
	align-content: start;
	text-decoration: none;
	color: inherit;
}

.news-card img {
	aspect-ratio: 16/10;
	object-fit: cover;
	width: 100%;
	border-radius: var(--radius);
	background: var(--navy-100);
}

.news-card__ph {
	aspect-ratio: 16/10;
	border-radius: var(--radius);
	background: var(--navy-900);
	display: grid;
	place-items: center;
	overflow: hidden;
}

.news-card__ph svg {
	width: 70%;
}

.news-card time,
.news-meta {
	font-family: var(--f-mono);
	font-size: var(--fs-xs);
	color: var(--ink-3);
}

.news-card h3 {
	font-size: 1.25rem;
	line-height: 1.3;
}

.news-card:hover h3 {
	color: var(--navy-600);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.news-card p {
	font-size: var(--fs-sm);
	color: var(--ink-2);
}

@media (max-width: 60rem) {

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

@media (max-width: 36rem) {

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

.news-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--line);
}

.news-list li {
	display: grid;
	grid-template-columns: 8rem minmax(0, 1fr) 12rem;
	gap: var(--s-5);
	padding-block: var(--s-5);
	border-bottom: 1px solid var(--line);
	align-items: start;
}

.news-list img {
	width: 100%;
	aspect-ratio: 3/2;
	object-fit: cover;
	border-radius: var(--radius-sm);
}

.news-list h3 {
	font-size: 1.25rem;
}

.news-list p {
	font-size: var(--fs-sm);
	color: var(--ink-2);
	margin-top: 0.35rem;
}

@media (max-width: 48rem) {

	.news-list li {
		grid-template-columns: 1fr;
	}

	.news-list img {
		max-width: 20rem;
	}
}

/* ---------- 17. Callouts, quotes, figures ---------- */
.callout {
	border: 1px solid var(--line);
	border-left: 3px solid var(--navy-600);
	background: var(--surface);
	border-radius: var(--radius-sm);
	padding: var(--s-4) var(--s-5);
	display: grid;
	gap: 0.4rem;
	font-size: var(--fs-sm);
}

.callout b {
	font-weight: 600;
}

.callout--pq {
	border-left-color: var(--pq-500);
}

.callout--intent {

	/* PoC v0.2 also declared border-left-color: var(--gold-500) here, but the later
	   border-color shorthand overrode it, so the rendered left edge is #ead9b0.
	   The dead declaration is removed and the rendering is unchanged. Design intent to confirm (DESIGN_SYSTEM §8). */
	background: var(--gold-100);
	border-color: #ead9b0;
}

.quote {
	font-family: var(--f-display);
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
	line-height: 1.3;
	font-weight: 400;
	max-width: 28ch;
	margin: 0;
}

.quote + cite,
.quote-cite {
	display: block;
	font-style: normal;
	font-family: var(--f-mono);
	font-size: var(--fs-xs);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink-3);
	margin-top: var(--s-4);
}

.figure {
	margin: 0;
	display: grid;
	gap: var(--s-2);
}

.figure img {
	border-radius: var(--radius);
	width: 100%;
	object-fit: cover;
}

.figure figcaption {
	font-size: var(--fs-xs);
	color: var(--ink-3);
}

.toc {
	position: sticky;
	top: calc(var(--header-h) + 1.5rem);
	max-height: calc(100vh - var(--header-h) - 3rem);
	overflow-y: auto;
	display: grid;
	gap: 0.35rem;
	font-size: var(--fs-sm);
	border-left: 1px solid var(--line);
	padding-left: var(--s-4);
}

.toc b {
	font-family: var(--f-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-3);
	font-weight: 500;
	margin-bottom: 0.35rem;
}

.toc a {
	color: var(--ink-2);
	text-decoration: none;
}

.toc a:hover {
	color: var(--navy-600);
}

@media (max-width: 62rem) {

	.toc {
		position: static;
	}
}

/* Numbered articles (Ethical Chart) */
.articles {
	counter-reset: art;
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: var(--s-5);
}

.articles > li {
	counter-increment: art;
	display: grid;
	grid-template-columns: 4.5rem minmax(0, 1fr);
	gap: var(--s-4);
	padding-top: var(--s-5);
	border-top: 1px solid var(--line);
}

.articles > li::before {
	content: counter(art);
	font-family: var(--f-mono);
	font-size: var(--fs-sm);
	color: var(--gold-600);
	padding-top: 0.2rem;
}

.articles--art > li::before {
	content: "Art. " counter(art);
}

.articles h3 {
	font-size: 1.3rem;
	font-weight: 600;
}

.articles p,
.articles li li {
	color: var(--ink-2);
	font-size: var(--fs-sm);
}

.articles ol {
	margin-top: 0.6rem;
	list-style: lower-alpha;
}

@media (max-width: 36rem) {

	.articles > li {
		grid-template-columns: 1fr;
	}
}

/* ---------- 18. Forms ---------- */
.field {
	display: grid;
	gap: 0.35rem;
}

.field label {
	font-weight: 600;
	font-size: var(--fs-sm);
}

.input {
	font: inherit;
	font-size: var(--fs-md);
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--control-border);
	border-radius: var(--radius-sm);
	background: var(--surface);
	color: var(--ink);
	width: 100%;
}

.input:focus {
	outline: 2px solid var(--focus);
	outline-offset: 0;
	border-color: var(--focus);
}

.check {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	font-size: var(--fs-sm);
	color: var(--ink-2);
}

.check input {
	margin-top: 0.25rem;
	width: 1.05rem;
	height: 1.05rem;
	accent-color: var(--navy-600);
}

.form-status {
	font-size: var(--fs-sm);
	font-weight: 600;
	color: #1d6a38;
}

.newsletter {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--s-6);
	align-items: end;
}

.newsletter form {
	display: grid;
	gap: var(--s-3);
}

.newsletter__row {
	display: flex;
	gap: var(--s-2);
}

.newsletter__row .input {
	flex: 1;
}

@media (max-width: 52rem) {

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

	.newsletter__row {
		flex-direction: column;
	}
}

/* ---------- 19. Footer ---------- */
.site-footer {
	background: var(--navy-900);
	color: #a9bacb;
	font-size: var(--fs-sm);
}

.site-footer a {
	color: #d5e0ea;
	text-decoration: none;
}

.site-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
	gap: var(--s-6);
	padding-block: var(--s-8) var(--s-7);
}

.footer__brand img {
	height: 2.6rem;
	width: auto;
	margin-bottom: var(--s-4);
}

.footer__brand p {
	max-width: 22rem;
	line-height: 1.55;
}

.footer__col h2 {
	font-family: var(--f-mono);
	font-size: 0.6875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #7f95aa;
	font-weight: 500;
	margin-bottom: var(--s-3);
}

.footer__col ul {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 0.5rem;
}

.footer__contact {
	display: grid;
	gap: var(--s-4);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding-block: var(--s-5);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__contact b {
	display: block;
	color: #fff;
	font-weight: 600;
	margin-bottom: 0.2rem;
}

.footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--s-3);
	padding-block: var(--s-5);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: var(--fs-xs);
	color: #7f95aa;
}

.footer__legal ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-4);
	list-style: none;
	padding: 0;
}

.footer__social {
	display: flex;
	gap: var(--s-3);
	margin-top: var(--s-4);
}

.footer__social a {
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--radius-sm);
	padding: 0.45rem 0.6rem;
	font-size: var(--fs-xs);
}

@media (max-width: 62rem) {

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

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

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

@media (max-width: 30rem) {

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

/* ---------- 21. Utilities ---------- */
.mt-2 {
	margin-top: var(--s-2);
}

.mt-3 {
	margin-top: var(--s-3);
}

.mt-4 {
	margin-top: var(--s-4);
}

.mt-5 {
	margin-top: var(--s-5);
}

.mt-6 {
	margin-top: var(--s-6);
}

.mt-7 {
	margin-top: var(--s-7);
}

.center {
	text-align: center;
}

.nowrap {
	white-space: nowrap;
}


/* ---------- News index (Query Loop): mockup list layout ---------- */
.filters a.chip {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.chip[aria-current="page"] {
	background: var(--navy-600);
	border-color: var(--navy-600);
	color: #fff;
}

.news-list > li {
	margin: 0;
}

.news-list .news-list__img {
	margin: 0;
}

.news-list .news-card__ph {
	aspect-ratio: 3/2;
}

.news-list .news-card__ph img {
	width: 40%;
	aspect-ratio: auto;
	border-radius: 0;
}

.news-list .news-list__title {
	font-size: 1.25rem;
	margin: 0.25rem 0 0;
}

.news-list .news-list__title a {
	color: inherit;
	text-decoration: none;
}

.news-list .news-list__title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.news-list .wp-block-post-excerpt__excerpt {
	margin: 0.35rem 0 0;
}

.news-list__topic {
	justify-self: end;
}

.news-list__topic a {
	display: inline-flex;
	font: 500 0.6875rem/1 var(--f-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.3rem 0.5rem;
	border-radius: 2px;
	background: var(--navy-050);
	color: var(--ink-2);
	text-decoration: none;
}

.news-list__topic .wp-block-post-terms__separator {
	display: none;
}

@media (max-width: 48rem) {

	.news-list__topic {
		justify-self: start;
	}
}

/* ---------- Query pagination (no PoC equivalent; built from PoC tokens) ----------
   Page numbers on the left, previous/next on the right; current page as a filled navy square. */
.oiste-pagination.wp-block-query-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--s-3) var(--s-5);
	padding-top: var(--s-5);
	font: 500 var(--fs-sm)/1 var(--f-sans);
}

.oiste-pagination .wp-block-query-pagination-numbers {
	order: -1;
	margin-inline-end: auto;
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
}

.oiste-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 var(--s-2);
	border-radius: var(--radius);
	color: var(--ink-2);
	text-decoration: none;
}

.oiste-pagination a.page-numbers:hover {
	background: var(--navy-050);
	color: var(--navy-600);
}

.oiste-pagination .page-numbers.current {
	background: var(--navy-600);
	color: #fff;
	font-weight: 600;
}

.oiste-pagination .page-numbers.dots {
	min-width: auto;
}

.oiste-pagination .wp-block-query-pagination-previous,
.oiste-pagination .wp-block-query-pagination-next {
	display: inline-flex;
	align-items: center;
	min-height: 2.5rem;
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}

.oiste-pagination .wp-block-query-pagination-previous:hover,
.oiste-pagination .wp-block-query-pagination-next:hover {
	color: var(--navy-600);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

@media (max-width: 40rem) {

	.oiste-pagination .wp-block-query-pagination-numbers {
		flex-basis: 100%;
		margin-inline-end: 0;
	}

	.oiste-pagination .wp-block-query-pagination-next {
		margin-inline-start: auto;
	}
}
