:root {
	--bg: #0b0f1c;
	--surface: #141b2e;
	--surface-hi: #1d2742;
	--ink: #f1f4fa;
	--muted: #a4b2ce;
	--accent: #ffc107;
	--accent-ink: #0b0f1c;
	--invert-bg: #f1f4fa;
	--invert-ink: #0b0f1c;
	--invert-muted: #43506b;

	--font-display: 'Panchang', 'Arial Black', sans-serif;
	--font-text: 'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	/* Five intentional typographic sizes across the entire studio system */
	--step-small: 0.875rem;
	--step-body: 1.125rem;
	--step-lead: clamp(1.375rem, 1.85vw, 1.75rem);
	--step-head: clamp(2.1rem, 4.1vw, 3.75rem);
	--step-display: clamp(2.25rem, 8.2vw, 7.75rem);

	--gutter: clamp(16px, 2vw, 32px);
	--col-gap: clamp(12px, 1.4vw, 24px);
	--section-gap: clamp(88px, 10vw, 160px);
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	background: var(--bg);
	color: var(--ink);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

body.wps-body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-text);
	font-size: var(--step-body);
	font-weight: 400;
	line-height: 1.5;
	overflow-x: clip;
}

img,
video {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

::selection {
	background: var(--accent);
	color: var(--accent-ink);
}

.wps-skip,
.wps-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.wps-skip:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 18px;
	clip: auto;
	z-index: 999;
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 600;
}

/* 12-column shared grid */
.wps-grid {
	width: 100%;
	padding-inline: var(--gutter);
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--col-gap);
}

.wps-grid > * {
	min-width: 0;
}

.wps-main {
	position: relative;
	z-index: 2;
	background: var(--bg);
}

/* Primary action button — flat, square-cornered, decided once */
.wps-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 14px 26px;
	background: var(--accent);
	color: var(--accent-ink);
	font-family: var(--font-text);
	font-size: var(--step-body);
	font-weight: 600;
	line-height: 1;
	border: 0;
	border-radius: 0;
	cursor: pointer;
	transition: transform 180ms var(--ease-out), background-color 180ms ease, color 180ms ease;
}

.wps-btn-primary:hover,
.wps-btn-primary:focus-visible {
	background: var(--ink);
	color: var(--bg);
	transform: translateY(-2px);
}

.wps-btn-primary:active {
	transform: translateY(0);
}

.wps-text-link {
	display: inline-flex;
	align-items: center;
	font-size: var(--step-body);
	font-weight: 500;
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 4px;
	transition: color 180ms ease;
}

.wps-text-link:hover {
	color: var(--accent);
}

/* Navigation — plain bar, no chrome, no glass, no border */
.wps-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 40;
	background: rgba(11, 15, 28, 0.94);
}

.wps-nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	padding: 14px var(--gutter);
}

.wps-wordmark {
	font-family: var(--font-text);
	font-size: var(--step-body);
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--ink);
	white-space: nowrap;
}

.wps-wordmark-short {
	display: none;
}

.wps-nav-links {
	display: flex;
	align-items: center;
	gap: 28px;
}

.wps-nav-links a {
	font-size: var(--step-small);
	font-weight: 500;
	color: var(--muted);
	white-space: nowrap;
	transition: color 160ms ease;
}

.wps-nav-links a:hover {
	color: var(--ink);
}

.wps-nav-links a.wps-nav-cta {
	padding: 10px 18px;
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 600;
}

.wps-nav-links a.wps-nav-cta:hover {
	background: var(--ink);
	color: var(--bg);
}

.wps-menu-toggle {
	display: none;
	flex-shrink: 0;
	padding: 8px 14px;
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-text);
	font-size: var(--step-small);
	font-weight: 500;
	border: 0;
	border-radius: 0;
	cursor: pointer;
}

.wps-mobile-menu {
	position: fixed;
	inset: 58px 0 0 0;
	z-index: 39;
	background: var(--bg);
	padding: 32px var(--gutter);
}

.wps-mobile-menu[hidden] {
	display: none;
}

.wps-mobile-menu-inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
}

.wps-mobile-menu-inner a {
	font-family: var(--font-display);
	font-size: var(--step-lead);
	font-weight: 700;
	line-height: 1.1;
}

.wps-mobile-menu-inner .wps-btn-primary {
	font-family: var(--font-text);
	font-size: var(--step-body);
	margin-top: 12px;
}

/* 1. HERO — Monumental name above live Space Fighter footage, all inside first viewport */
.wps-hero {
	background: var(--bg);
	padding-top: 68px;
}

.wps-hero-shell {
	height: calc(100svh - 68px);
	min-height: 620px;
	max-height: 980px;
	padding: 12px var(--gutter) 24px var(--gutter);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 18px;
}

.wps-monument {
	margin: 0;
	flex-shrink: 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--step-display);
	line-height: 0.94;
	letter-spacing: -0.025em;
	text-transform: uppercase;
	color: var(--ink);
	max-width: 100%;
}

.wps-monument span {
	display: block;
}

.wps-hero-stage-frame {
	position: relative;
	flex: 1 1 0;
	width: 100%;
	min-height: 220px;
	overflow: hidden;
	background: var(--surface);
}

.wps-hero-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.wps-hero-foot {
	flex-shrink: 0;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.wps-hero-lead {
	margin: 0;
	max-width: 34ch;
	font-size: var(--step-body);
	font-weight: 500;
	line-height: 1.42;
	color: var(--ink);
}

/* Shared section rhythm */
.wps-section {
	padding-top: var(--section-gap);
}

.wps-sec-title {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--step-head);
	line-height: 1;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--ink);
}

/* 2. SHOWCASE — Band of unequal panels + Live Space Fighter Console */
.wps-showcase-head {
	grid-column: 3 / span 10;
	margin-bottom: 40px;
}

.wps-panels {
	width: 100%;
	height: 62svh;
	min-height: 420px;
	max-height: 700px;
	display: flex;
	gap: 0;
	overflow: hidden;
	background: var(--surface);
}

.wps-panel {
	position: relative;
	min-width: 0;
	overflow: hidden;
	transition: flex-grow 500ms var(--ease-out);
}

.wps-panel-1 { flex: 5 1 0; }
.wps-panel-2 { flex: 2.2 1 0; }
.wps-panel-3 { flex: 2.8 1 0; }
.wps-panel-4 { flex: 2 1 0; }

.wps-panel:hover {
	flex-grow: 6;
}

.wps-panel img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 600ms var(--ease-out);
}

.wps-panel-2 img {
	object-position: left center;
}

.wps-panel-3 img {
	object-position: left top;
}

.wps-panel:hover img {
	transform: scale(1.04);
}

.wps-panel-cap {
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 14px 18px;
	background: rgba(11, 15, 28, 0.88);
	color: var(--ink);
	max-width: 92%;
}

.wps-panel-cap-lead {
	top: 24px;
	left: 24px;
	bottom: auto;
	padding: 18px 22px;
	background: rgba(11, 15, 28, 0.88);
}

.wps-panel-title {
	margin: 0;
	font-family: var(--font-text);
	font-size: var(--step-lead);
	font-weight: 500;
	line-height: 1.18;
	color: var(--ink);
}

.wps-panel-note {
	margin: 0;
	font-size: var(--step-small);
	font-weight: 500;
	line-height: 1.35;
	color: var(--ink);
}

.wps-showcase-caption {
	grid-column: 1 / span 7;
	margin: 24px 0 0 0;
	max-width: 58ch;
	font-size: var(--step-body);
	color: var(--muted);
}

/* Live Space Fighter Console (The One Live Thing, marked data-ui) */
.wps-console {
	grid-column: 1 / span 12;
	margin-top: 56px;
	padding: clamp(24px, 3vw, 44px);
	background: var(--surface);
}

.wps-console-top {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 36px;
}

.wps-console-title {
	margin: 0 0 8px 0;
	font-family: var(--font-display);
	font-size: var(--step-lead);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--ink);
}

.wps-console-sub {
	margin: 0;
	max-width: 48ch;
	font-size: var(--step-small);
	color: var(--muted);
}

.wps-toll {
	display: flex;
	flex-wrap: wrap;
	gap: 36px;
	margin: 0;
}

.wps-toll-item dt {
	font-size: var(--step-small);
	color: var(--muted);
	margin-bottom: 4px;
}

.wps-toll-item dd {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--step-lead);
	font-weight: 700;
	line-height: 1;
	color: var(--accent);
	font-variant-numeric: tabular-nums;
}

.wps-mode-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 32px;
}

.wps-mode-tab {
	padding: 12px 20px;
	background: var(--bg);
	color: var(--muted);
	font-family: var(--font-text);
	font-size: var(--step-small);
	font-weight: 500;
	border: 0;
	border-radius: 0;
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease;
}

.wps-mode-tab:hover {
	color: var(--ink);
	background: var(--surface-hi);
}

.wps-mode-tab.is-active {
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 600;
}

.wps-console-body {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(24px, 3vw, 48px);
	align-items: start;
}

.wps-mode-name {
	margin: 0 0 12px 0;
	font-size: var(--step-lead);
	font-weight: 600;
	line-height: 1.2;
	color: var(--ink);
}

.wps-mode-desc {
	margin: 0 0 16px 0;
	font-size: var(--step-body);
	color: var(--ink);
	line-height: 1.55;
}

.wps-mode-rules {
	margin: 0 0 28px 0;
	font-size: var(--step-small);
	color: var(--muted);
}

.wps-console-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
}

.wps-board-wrap {
	background: var(--bg);
	padding: 20px 24px;
}

.wps-board-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
	font-size: var(--step-small);
}

.wps-board-label {
	font-weight: 600;
	color: var(--ink);
}

.wps-board-status {
	color: var(--accent);
}

.wps-board-table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--step-small);
	font-variant-numeric: tabular-nums;
}

.wps-board-table th {
	text-align: left;
	padding: 10px 8px;
	color: var(--muted);
	font-size: var(--step-small);
	font-weight: 500;
	border-bottom: 1px solid rgba(164, 178, 206, 0.22);
}

.wps-board-table td {
	padding: 12px 8px;
	color: var(--ink);
	border-bottom: 1px solid rgba(164, 178, 206, 0.12);
}

.wps-board-table tr:last-child td {
	border-bottom: 0;
}

.wps-board-table .is-num {
	text-align: right;
}

.wps-callsign {
	font-weight: 600;
}

.wps-score {
	font-weight: 600;
	color: var(--accent);
}

/* 3. WORK — Loose scatter with pauses (RimWorld Mods) */
.wps-work-head {
	grid-column: 1 / span 12;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 64px;
}

.wps-mod-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
}

.wps-filter-btn,
.wps-filter-link {
	padding: 6px 0;
	background: transparent;
	color: var(--muted);
	font-family: var(--font-text);
	font-size: var(--step-body);
	font-weight: 500;
	border: 0;
	cursor: pointer;
	transition: color 160ms ease;
}

.wps-filter-btn:hover,
.wps-filter-link:hover {
	color: var(--ink);
}

.wps-filter-btn.is-active {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 2px;
}

.wps-scatter {
	display: flex;
	flex-direction: column;
	gap: clamp(56px, 8vh, 112px);
}

.wps-mod-row.is-hidden {
	display: none;
}

.wps-slot-wide-left .wps-mod-card {
	grid-column: 1 / span 6;
}

.wps-slot-narrow-right {
	margin-top: -56px;
}

.wps-slot-narrow-right .wps-mod-card {
	grid-column: 8 / span 5;
}

.wps-slot-inset-center .wps-mod-card {
	grid-column: 3 / span 7;
}

.wps-scatter-remark-row {
	margin-block: 16px;
}

.wps-scatter-remark {
	grid-column: 2 / span 5;
	margin: 0;
	font-size: var(--step-lead);
	font-weight: 400;
	line-height: 1.35;
	color: var(--ink);
}

.wps-mod-meta {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 10px;
}

.wps-mod-name {
	font-size: var(--step-small);
	font-weight: 600;
	color: var(--ink);
}

.wps-mod-ver {
	font-size: var(--step-small);
	color: var(--muted);
}

.wps-mod-thumb {
	display: block;
	overflow: hidden;
	background: var(--surface);
	aspect-ratio: 16 / 9;
}

.wps-mod-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms var(--ease-out);
}

.wps-mod-thumb:hover img {
	transform: scale(1.04);
}

.wps-mod-foot {
	margin-top: 14px;
}

.wps-mod-desc {
	margin: 0 0 10px 0;
	font-size: var(--step-body);
	color: var(--ink);
	line-height: 1.45;
}

.wps-mod-links {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	font-size: var(--step-small);
	font-weight: 500;
	color: var(--accent);
}

.wps-mod-links a:hover {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* 4. LIST — Statement, table pushed right (Dispatches) */
.wps-list-heading {
	grid-column: 1 / span 12;
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--step-head);
	line-height: 0.98;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--ink);
}

.wps-list-heading span {
	display: block;
}

.wps-list-heading span:first-child {
	padding-left: 3vw;
}

.wps-list-body {
	margin-top: 64px;
	align-items: end;
}

.wps-list-photo {
	grid-column: 1 / span 4;
	margin: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--surface);
}

.wps-list-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wps-list-tag {
	grid-column: 6 / span 1;
	align-self: start;
	margin: 0;
	font-size: var(--step-small);
	color: var(--muted);
}

.wps-list-table {
	grid-column: 7 / span 6;
	align-self: start;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.wps-dispatch-row {
	display: grid;
	grid-template-columns: minmax(110px, 26%) minmax(0, 1fr) auto;
	gap: 16px;
	align-items: baseline;
	font-size: var(--step-body);
	line-height: 1.4;
	transition: transform 180ms var(--ease-out), color 160ms ease;
}

.wps-dispatch-row.is-group-start {
	margin-top: 22px;
}

.wps-dispatch-row:hover {
	transform: translateX(6px);
}

.wps-dispatch-kind {
	font-size: var(--step-small);
	color: var(--muted);
}

.wps-dispatch-title {
	color: var(--ink);
	font-weight: 500;
}

.wps-dispatch-row:hover .wps-dispatch-title {
	color: var(--accent);
}

.wps-dispatch-date {
	font-size: var(--step-small);
	color: var(--muted);
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.wps-list-more {
	margin-top: 28px;
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	font-size: var(--step-body);
	font-weight: 600;
	color: var(--accent);
}

.wps-list-more a:hover {
	color: var(--ink);
}

/* 5. ABOUT — Portrait as drop cap (no heading) */
.wps-about {
	padding-bottom: var(--section-gap);
}

.wps-about-grid {
	align-items: start;
}

.wps-about-facts {
	grid-column: 1 / span 2;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.wps-about-facts dt {
	font-size: var(--step-small);
	color: var(--muted);
	margin-bottom: 2px;
}

.wps-about-facts dd {
	margin: 0;
	font-size: var(--step-body);
	font-weight: 500;
	color: var(--ink);
}

.wps-about-copy {
	grid-column: 3 / span 10;
	max-width: 58ch;
}

.wps-about-p1,
.wps-about-p2 {
	margin: 0;
	max-width: 58ch;
	font-size: var(--step-lead);
	font-weight: 400;
	line-height: 1.3;
	color: var(--muted);
}

.wps-about-p2 {
	margin-top: 1.2em;
}

.wps-about-lead {
	font-weight: 500;
	color: var(--ink);
}

.wps-about-copy a {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 5px;
	text-decoration-thickness: 2px;
}

.wps-about-copy a:hover {
	color: var(--accent);
}

.wps-drop-portrait {
	float: left;
	width: 4.2em;
	height: 4.2em;
	object-fit: cover;
	margin: 0.12em 0.6em 0.25em 0;
	background: var(--surface);
}

/* 6. CTA — One word is the button */
.wps-cta-band {
	width: 100%;
	background: var(--accent);
}

.wps-cta-link {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 48svh;
	padding: 36px var(--gutter) 28px var(--gutter);
	background: var(--accent);
	color: var(--accent-ink);
	transition: background-color 180ms ease, color 180ms ease;
}

.wps-cta-link:hover,
.wps-cta-link:focus-visible {
	background: var(--surface-hi);
	color: var(--accent);
}

.wps-cta-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
}

.wps-cta-sentence {
	margin: 0;
	max-width: 34ch;
	font-size: var(--step-lead);
	font-weight: 500;
	line-height: 1.3;
}

.wps-cta-arrow {
	flex-shrink: 0;
	transition: transform 240ms var(--ease-out);
}

.wps-cta-link:hover .wps-cta-arrow {
	transform: translate(6px, -6px);
}

.wps-cta-word {
	display: block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--step-display);
	line-height: 0.9;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	margin-top: 48px;
}

/* 7. FOOTER — Inverted ground and ink, columns above, monumental wordmark below */
.wps-footer {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 72px;
	padding: 64px var(--gutter) 28px var(--gutter);
	background: var(--invert-bg);
	color: var(--invert-ink);
}

.wps-footer-top {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px var(--col-gap);
}

.wps-footer-col {
	min-width: 0;
}

.wps-footer-head {
	margin: 0 0 12px 0;
	font-size: var(--step-body);
	font-weight: 600;
	color: var(--invert-ink);
}

.wps-footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: var(--step-small);
	color: var(--invert-muted);
}

.wps-footer-col li,
.wps-footer-col a {
	overflow-wrap: anywhere;
}

.wps-footer-col a:hover {
	color: var(--invert-ink);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.wps-footer-spacer {
	display: none;
}

.wps-footer-bottom {
	margin-top: 0;
}

.wps-footer-svg {
	display: block;
	width: 100%;
	height: auto;
	fill: var(--invert-ink);
}

.wps-footer-svg text {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 122px;
	letter-spacing: -0.02em;
}

.wps-footer-svg-mobile {
	display: none;
}

.wps-footer-legal {
	margin: 18px 0 0 0;
	font-size: var(--step-small);
	color: var(--invert-muted);
}

/* Inner templates (Single, Archive, Page, Downloads) */
.wps-inner-main {
	padding-top: 112px;
	padding-bottom: var(--section-gap);
}

.wps-article-head,
.wps-archive-head {
	margin-bottom: 48px;
}

.wps-article-meta {
	grid-column: 1 / span 12;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	margin-bottom: 20px;
	font-size: var(--step-small);
	color: var(--muted);
}

.wps-article-meta a {
	color: var(--accent);
	font-weight: 500;
}

.wps-article-title,
.wps-archive-title {
	grid-column: 1 / span 10;
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: var(--step-head);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--ink);
}

.wps-article-actions {
	grid-column: 1 / span 12;
	margin-top: 28px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
}

.wps-article-hero {
	grid-column: 1 / span 10;
	margin: 0 0 48px 0;
	background: var(--surface);
}

.wps-article-hero img {
	width: 100%;
	max-height: 620px;
	object-fit: cover;
}

.wps-prose {
	grid-column: 1 / span 8;
	font-size: var(--step-body);
	line-height: 1.65;
	color: var(--ink);
}

.wps-prose h2,
.wps-prose h3 {
	margin: 2em 0 0.7em 0;
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.1;
}

.wps-prose p {
	margin: 0 0 1.25em 0;
}

.wps-prose a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.wps-prose img {
	margin: 28px 0;
}

.wps-prose .sdm_download,
.wps-download-box .sdm_download {
	display: inline-block;
	padding: 14px 24px;
	background: var(--accent) !important;
	color: var(--accent-ink) !important;
	font-weight: 600;
	text-decoration: none;
	border-radius: 0 !important;
}

.wps-post-nav {
	grid-column: 1 / span 8;
	margin-top: 64px;
	padding-top: 32px;
	display: flex;
	justify-content: space-between;
	gap: 24px;
	font-size: var(--step-body);
	font-weight: 500;
	color: var(--accent);
}

.wps-comments {
	grid-column: 1 / span 8;
	margin-top: 64px;
	padding: 32px;
	background: var(--surface);
}

.wps-comments input[type="text"],
.wps-comments input[type="email"],
.wps-comments input[type="url"],
.wps-comments textarea {
	width: 100%;
	padding: 12px 14px;
	background: var(--bg);
	color: var(--ink);
	border: 1px solid rgba(164, 178, 206, 0.25);
	font-family: var(--font-text);
	font-size: var(--step-body);
}

.wps-comments input[type="submit"] {
	padding: 14px 26px;
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 600;
	border: 0;
	cursor: pointer;
}

.wps-archive-tabs {
	grid-column: 1 / span 12;
	margin-top: 28px;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	font-size: var(--step-body);
	font-weight: 500;
	color: var(--muted);
}

.wps-archive-tabs a:hover {
	color: var(--accent);
}

.wps-search-form {
	grid-column: 1 / span 7;
	margin-top: 28px;
	display: flex;
	gap: 8px;
}

.wps-search-form input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	padding: 14px 16px;
	background: var(--surface);
	color: var(--ink);
	border: 1px solid rgba(164, 178, 206, 0.28);
	font-family: var(--font-text);
	font-size: var(--step-body);
}

.wps-archive-rows {
	grid-column: 1 / span 12;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.wps-archive-row {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr) auto;
	gap: 24px;
	align-items: center;
	padding: 16px;
	background: var(--surface);
	transition: background-color 160ms ease, transform 180ms var(--ease-out);
}

.wps-archive-row:hover {
	background: var(--surface-hi);
	transform: translateX(4px);
}

.wps-archive-thumb {
	width: 160px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--bg);
	display: flex;
	align-items: center;
	justify-content: center;
}

.wps-archive-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wps-archive-thumb.is-empty {
	font-family: var(--font-display);
	font-size: var(--step-lead);
	color: var(--muted);
}

.wps-archive-info {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.wps-archive-kind {
	font-size: var(--step-small);
	color: var(--muted);
}

.wps-archive-name {
	font-size: var(--step-body);
	font-weight: 500;
	color: var(--ink);
}

.wps-archive-arrow {
	font-size: var(--step-body);
	color: var(--accent);
}

.wps-pagination {
	grid-column: 1 / span 12;
	margin-top: 48px;
}

.wps-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.wps-pagination .page-numbers {
	padding: 10px 16px;
	background: var(--surface);
	color: var(--ink);
	font-size: var(--step-small);
	font-weight: 500;
}

.wps-pagination .page-numbers.current {
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 600;
}

.wps-empty-state {
	grid-column: 1 / span 8;
	margin: 20px 0 28px 0;
	font-size: var(--step-lead);
	color: var(--muted);
}

/* Progressive scroll reveals — visible by default if JS doesn't run */
html.wps-js [data-reveal] {
	opacity: 0;
	transform: translate3d(0, 20px, 0);
	transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out);
}

html.wps-js [data-reveal].is-in {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	html.wps-js [data-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.wps-panel,
	.wps-panel img,
	.wps-btn-primary,
	.wps-dispatch-row,
	.wps-cta-link,
	.wps-cta-arrow {
		transition: none;
	}
}

/* Tablet — 768px */
@media (max-width: 1024px) {
	.wps-showcase-head {
		grid-column: 1 / span 12;
	}
	.wps-console-body {
		grid-template-columns: 1fr;
	}
	.wps-slot-wide-left .wps-mod-card {
		grid-column: 1 / span 8;
	}
	.wps-slot-narrow-right {
		margin-top: 0;
	}
	.wps-slot-narrow-right .wps-mod-card {
		grid-column: 5 / span 8;
	}
	.wps-slot-inset-center .wps-mod-card {
		grid-column: 2 / span 10;
	}
	.wps-list-photo {
		grid-column: 1 / span 5;
	}
	.wps-list-tag {
		display: none;
	}
	.wps-list-table {
		grid-column: 6 / span 7;
	}
	.wps-about-facts {
		grid-column: 1 / span 12;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 32px;
		margin-bottom: 32px;
	}
	.wps-about-copy {
		grid-column: 1 / span 12;
	}
	.wps-footer-top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.wps-prose,
	.wps-article-hero,
	.wps-post-nav,
	.wps-comments {
		grid-column: 1 / span 12;
	}
}

/* Phone — 390px composition */
@media (max-width: 720px) {
	.wps-nav-links {
		display: none;
	}
	.wps-menu-toggle {
		display: inline-flex;
	}
	.wps-wordmark-full {
		display: none;
	}
	.wps-wordmark-short {
		display: inline;
		font-family: var(--font-display);
		font-size: var(--step-body);
	}

	.wps-hero {
		padding-top: 58px;
	}
	.wps-hero-shell {
		height: calc(100svh - 58px);
		min-height: 560px;
		max-height: 860px;
		padding: 12px var(--gutter) 20px var(--gutter);
		gap: 14px;
	}
	.wps-hero-stage-frame {
		min-height: 200px;
	}
	.wps-hero-foot {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	/* Showcase mobile: 2x2 unequal 64/36 and 36/64 */
	.wps-panels {
		display: grid;
		grid-template-columns: repeat(100, minmax(0, 1fr));
		grid-template-rows: 1fr 1fr;
		height: 68svh;
		min-height: 420px;
	}
	.wps-panel-1 { grid-column: 1 / span 64; grid-row: 1; }
	.wps-panel-2 { grid-column: 65 / span 36; grid-row: 1; }
	.wps-panel-3 { grid-column: 1 / span 36; grid-row: 2; }
	.wps-panel-4 { grid-column: 37 / span 64; grid-row: 2; }

	.wps-panel-cap-lead {
		top: 12px;
		left: 12px;
		padding: 10px 12px;
	}
	.wps-showcase-caption {
		grid-column: 1 / span 12;
	}

	.wps-toll {
		gap: 20px;
	}

	/* Work mobile: alternating widths 100%, 75% right, 84% left */
	.wps-scatter {
		gap: 56px;
	}
	.wps-slot-wide-left .wps-mod-card {
		grid-column: 1 / span 12;
	}
	.wps-slot-narrow-right .wps-mod-card {
		grid-column: 4 / span 9;
	}
	.wps-slot-inset-center .wps-mod-card {
		grid-column: 1 / span 10;
	}
	.wps-scatter-remark {
		grid-column: 1 / span 12;
	}

	/* List mobile */
	.wps-list-heading span:first-child {
		padding-left: 0;
	}
	.wps-list-body {
		margin-top: 36px;
		row-gap: 36px;
	}
	.wps-list-table {
		grid-column: 1 / span 12;
		order: 1;
	}
	.wps-list-photo {
		grid-column: 5 / span 8;
		order: 2;
	}
	.wps-dispatch-row {
		grid-template-columns: minmax(0, 1fr) auto;
		row-gap: 4px;
	}
	.wps-dispatch-kind {
		grid-column: 1;
	}
	.wps-dispatch-date {
		grid-column: 2;
		grid-row: 1;
	}
	.wps-dispatch-title {
		grid-column: 1 / span 2;
	}

	/* About mobile */
	.wps-about-copy {
		order: 1;
	}
	.wps-about-facts {
		order: 2;
		margin-top: 28px;
		margin-bottom: 0;
	}
	.wps-drop-portrait {
		width: 104px;
		height: 104px;
	}

	/* CTA mobile */
	.wps-cta-link {
		min-height: 40svh;
		padding: 28px var(--gutter) 20px var(--gutter);
	}
	.wps-cta-arrow {
		width: 32px;
		height: 32px;
	}

	/* Footer mobile */
	.wps-footer {
		gap: 48px;
		padding: 48px var(--gutter) 24px var(--gutter);
	}
	.wps-footer-top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 28px;
	}
	.wps-footer-svg-desktop {
		display: none;
	}
	.wps-footer-svg-mobile {
		display: block;
	}

	.wps-archive-row {
		grid-template-columns: minmax(0, 1fr) auto;
	}
	.wps-archive-thumb {
		display: none;
	}
	.wps-search-form {
		grid-column: 1 / span 12;
	}
}
