:root {
	--background: #020617;
	--background-soft: #0f172a;
	--surface: rgba(15, 23, 42, 0.82);
	--surface-strong: #111827;
	--border: rgba(148, 163, 184, 0.2);
	--border-strong: rgba(125, 211, 252, 0.42);
	--text: #f8fafc;
	--text-muted: #94a3b8;
	--text-soft: #cbd5e1;
	--accent: #22d3ee;
	--accent-strong: #38bdf8;
	--accent-purple: #a855f7;
	--success: #34d399;
	--danger: #fb7185;
	--shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
	--radius: 8px;
	--radius-sm: 6px;
	--max-width: 1180px;
	--font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.16), transparent 30rem),
		radial-gradient(circle at 84% 12%, rgba(168, 85, 247, 0.14), transparent 26rem),
		var(--background);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.7;
}

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

a {
	color: inherit;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--accent);
}

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

button,
input,
textarea,
select {
	font: inherit;
}

.container {
	margin-inline: auto;
	max-width: var(--max-width);
	padding-inline: clamp(1rem, 4vw, 2rem);
	width: 100%;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.screen-reader-text:focus {
	background: var(--accent);
	clip: auto;
	clip-path: none;
	color: #001018;
	display: block;
	font-weight: 700;
	height: auto;
	left: 1rem;
	padding: 0.75rem 1rem;
	top: 1rem;
	width: auto;
	z-index: 100000;
}

.site-header {
	backdrop-filter: blur(18px);
	background: rgba(2, 6, 23, 0.78);
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 50;
}

.header-inner,
.footer-inner {
	align-items: center;
	display: flex;
	gap: 1.5rem;
	justify-content: space-between;
	min-height: 76px;
}

.site-branding {
	min-width: 0;
}

.site-title,
.footer-brand {
	color: var(--text);
	display: inline-flex;
	align-items: center;
	font-size: 1rem;
	font-weight: 800;
	gap: 0.55rem;
	letter-spacing: 0;
	text-decoration: none;
}

/* .footer-brand::before {
	background: linear-gradient(135deg, var(--accent), var(--accent-purple));
	border-radius: 4px;
	content: "";
	height: 1rem;
	margin-right: 0.55rem;
	margin-top: 0.35rem;
	width: 1rem;
} */

.brand-logo {
	filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.18));
	height: 2rem;
	object-fit: contain;
	width: 2.5rem;
}

.custom-logo {
	height: auto;
	max-width: 4rem;
}

.site-description {
	color: var(--text-muted);
	font-size: 0.82rem;
	margin: 0.1rem 0 0;
}

.menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-menu a {
	border-radius: var(--radius-sm);
	color: var(--text-soft);
	display: inline-flex;
	font-size: 0.92rem;
	font-weight: 600;
	padding: 0.55rem 0.75rem;
	text-decoration: none;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
	background: rgba(34, 211, 238, 0.1);
	color: var(--accent);
}

.hero-section,
.archive-header,
.error-section {
	padding-block: clamp(4rem, 10vw, 8rem);
}

.front-hero {
	--sphere-center-x: 76%;
	--sphere-center-y: 78%;
	height: 500px;
	overflow: hidden;
	padding-block: 0;
	position: relative;
}

.hero-grid {
	align-items: center;
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
	height: 100%;
	min-height: 0;
	position: relative;
	z-index: 2;
}

.hero-copy h1,
.archive-header h1,
.entry-title,
.error-card h1 {
	font-size: clamp(2.6rem, 7vw, 5.8rem);
	letter-spacing: 0;
	line-height: 0.96;
	margin: 0;
	max-width: 11ch;
}

.eyebrow {
	color: var(--accent);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0;
	margin: 0 0 1rem;
	text-transform: uppercase;
}

.hero-lede {
	color: var(--text-soft);
	font-size: clamp(1.05rem, 2vw, 1.28rem);
	margin-top: 1.35rem;
	max-width: 38rem;
}

.hero-panel,
.error-card,
.empty-state {
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.74));
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: clamp(1.2rem, 3vw, 2rem);
}

.hero-panel {
	min-height: 22rem;
	position: relative;
}

.hero-particle-sphere {
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.hero-particle-sphere::before {
	background: linear-gradient(90deg, var(--background) 0%, rgba(2, 6, 23, 0.58) 22%, transparent 52%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.hero-particle-sphere canvas {
	background: transparent;
	display: block;
	height: 100%;
	opacity: 0.82;
	width: 100%;
}

.hero-dna-helix {
	height: 156%;
	left: var(--sphere-center-x);
	mix-blend-mode: screen;
	opacity: 0.62;
	perspective: 900px;
	pointer-events: none;
	position: absolute;
	top: var(--sphere-center-y);
	transform: translate(-50%, -50%) rotate(12deg);
	width: 360px;
	z-index: 1;
}

.dna {
	animation: dna-spin 14s linear infinite;
	height: 100%;
	position: relative;
	transform-style: preserve-3d;
	width: 100%;
}

.dna-strand {
	align-items: center;
	display: flex;
	height: 0.94rem;
	justify-content: space-between;
	left: 50%;
	position: absolute;
	top: var(--strand-top);
	transform: translateX(-50%) rotateY(var(--strand-angle));
	transform-style: preserve-3d;
	width: 20rem;
}

.dna-bridge {
	align-self: center;
	background: linear-gradient(90deg, rgba(34, 211, 238, 0.08), rgba(96, 165, 250, 0.38), rgba(168, 85, 247, 0.08));
	display: block;
	flex: 1 1 auto;
	height: 2px;
	overflow: hidden;
	position: relative;
	transform: none;
	width: 100%;
}

.dna-bridge::before {
	animation: dna-bridge-glow var(--bridge-glow-duration, 2.8s) ease-in-out var(--bridge-glow-delay, 0ms) infinite alternate;
	background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.95), rgba(168, 85, 247, 0.9), transparent);
	box-shadow: 0 0 12px rgba(34, 211, 238, 0.72);
	content: "";
	inset: -3px auto -3px 0;
	opacity: var(--bridge-glow-opacity, 0.88);
	position: absolute;
	transform: translateX(-60%);
	width: 42%;
}

.dna-node {
	border-radius: 999px;
	display: block;
	flex: 0 0 auto;
	height: 0.94rem;
	position: relative;
	transform-style: preserve-3d;
	width: 0.94rem;
	z-index: 1;
}

.dna-bead {
	animation: dna-billboard 14s linear infinite;
	border-radius: inherit;
	display: block;
	height: 100%;
	width: 100%;
}

.dna-node-a .dna-bead {
	background:
		radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.34) 16%, transparent 30%),
		radial-gradient(circle at 68% 74%, var(--dna-shadow-a), var(--dna-mid-a) 42%, var(--dna-light-a) 100%);
	box-shadow:
		inset -0.12rem -0.14rem 0.22rem rgba(2, 6, 23, 0.55),
		inset 0.1rem 0.1rem 0.18rem rgba(255, 255, 255, 0.34),
	0 0 18px currentColor;
	color: var(--dna-glow-a);
}

.dna-node-a {
	transform: none;
}

.dna-node-b .dna-bead {
	background:
		radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.28) 16%, transparent 30%),
		radial-gradient(circle at 68% 74%, var(--dna-shadow-b), var(--dna-mid-b) 42%, var(--dna-light-b) 100%);
	box-shadow:
		inset -0.12rem -0.14rem 0.22rem rgba(2, 6, 23, 0.55),
		inset 0.1rem 0.1rem 0.18rem rgba(255, 255, 255, 0.3),
		0 0 18px currentColor;
	color: var(--dna-glow-b);
}

.dna-node-b {
	transform: none;
}

.dna-color-a-0 {
	--dna-glow-a: rgba(34, 211, 238, 0.86);
	--dna-light-a: #67e8f9;
	--dna-mid-a: #22d3ee;
	--dna-shadow-a: #0891b2;
}

.dna-color-a-1 {
	--dna-glow-a: rgba(168, 85, 247, 0.86);
	--dna-light-a: #c084fc;
	--dna-mid-a: #a855f7;
	--dna-shadow-a: #6d28d9;
}

.dna-color-a-2 {
	--dna-glow-a: rgba(96, 165, 250, 0.86);
	--dna-light-a: #93c5fd;
	--dna-mid-a: #60a5fa;
	--dna-shadow-a: #2563eb;
}

.dna-color-b-0 {
	--dna-glow-b: rgba(34, 211, 238, 0.86);
	--dna-light-b: #67e8f9;
	--dna-mid-b: #22d3ee;
	--dna-shadow-b: #0891b2;
}

.dna-color-b-1 {
	--dna-glow-b: rgba(168, 85, 247, 0.86);
	--dna-light-b: #c084fc;
	--dna-mid-b: #a855f7;
	--dna-shadow-b: #6d28d9;
}

.dna-color-b-2 {
	--dna-glow-b: rgba(96, 165, 250, 0.86);
	--dna-light-b: #93c5fd;
	--dna-mid-b: #60a5fa;
	--dna-shadow-b: #2563eb;
}

@keyframes dna-spin {
	from {
		transform: rotateY(0deg);
	}

	to {
		transform: rotateY(-360deg);
	}
}

@keyframes dna-billboard {
	from {
		transform: rotateY(var(--strand-counter-angle));
	}

	to {
		transform: rotateY(calc(var(--strand-counter-angle) + 360deg));
	}
}

@keyframes dna-bridge-glow {
	from {
		transform: translateX(-70%);
	}

	to {
		transform: translateX(240%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.dna,
	.dna-bead,
	.dna-bridge::before {
		animation: none;
	}
}

.panel-bar {
	background: linear-gradient(90deg, var(--accent), var(--accent-purple));
	border-radius: 999px;
	height: 0.55rem;
	margin-bottom: 2rem;
	width: 8rem;
}

.code-line {
	background: rgba(148, 163, 184, 0.22);
	border-radius: 999px;
	height: 0.85rem;
	margin-bottom: 1rem;
	width: 100%;
}

.code-line.short {
	width: 56%;
}

.code-line.muted {
	opacity: 0.55;
	width: 78%;
}

.metric-row {
	bottom: 2rem;
	display: grid;
	gap: 0.85rem;
	grid-template-columns: repeat(3, 1fr);
	left: 2rem;
	position: absolute;
	right: 2rem;
}

.metric-row span {
	background: rgba(34, 211, 238, 0.09);
	border: 1px solid rgba(34, 211, 238, 0.25);
	border-radius: var(--radius-sm);
	height: 4rem;
}

.hero-image img,
.featured-image img,
.post-card-media img {
	aspect-ratio: 16 / 10;
	border-radius: var(--radius);
	object-fit: cover;
	width: 100%;
}

.post-card-media {
	background: rgba(15, 23, 42, 0.72);
	border: 0;
	color: inherit;
	cursor: pointer;
	display: block;
	flex: 0 0 auto;
	padding: 0;
	position: relative;
	text-align: left;
	width: 100%;
}

.post-card-media img {
	border-radius: 0;
	display: block;
	height: 12rem;
}

.content-section {
	padding-block: clamp(2.5rem, 7vw, 5rem);
}

.home-posts-section {
	border-top: 1px solid var(--border);
}

.section-header {
	align-items: end;
	display: grid;
	gap: 1.25rem;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 36rem);
	margin-bottom: 1.5rem;
}

.section-header h2 {
	font-size: clamp(1.8rem, 4vw, 3.2rem);
	line-height: 1.05;
	margin: 0;
}

.home-post-search {
	justify-self: end;
	margin-top: 0;
	width: 100%;
}

.post-grid {
	--resource-card-height: 30rem;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: minmax(var(--resource-card-height), auto);
}

.post-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	position: relative;
	transition: border-color 180ms ease, transform 180ms ease;
}

.resource-card::before {
	background: linear-gradient(90deg, var(--accent), var(--accent-purple));
	content: "";
	height: 3px;
	inset: 0 0 auto;
	position: absolute;
}

.resource-card-video::before {
	background: linear-gradient(90deg, #60a5fa, #a855f7);
}

.resource-card-photo::before {
	background: linear-gradient(90deg, #a855f7, #22d3ee);
}

.resource-card-external-article::before {
	background: linear-gradient(90deg, #38bdf8, #818cf8);
}

.post-card:hover {
	border-color: var(--border-strong);
	transform: translateY(-2px);
}

.post-card-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 1.2rem;
}

.resource-media-card {
	aspect-ratio: auto;
	min-height: 0;
}

.resource-media-card::before {
	z-index: 2;
}

.resource-media-trigger {
	background: none;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: block;
	height: 100%;
	padding: 0;
	position: relative;
	text-align: left;
	width: 100%;
}

.resource-video-trigger .resource-play-icon {
	left: 50%;
	right: auto;
	top: 50%;
	transform: translate(-50%, -50%);
}

.resource-video-trigger:hover img {
	filter: saturate(1.16) brightness(0.8);
}

.resource-video-link {
	cursor: pointer;
	font: inherit;
}

.resource-image-link {
	margin-top: 0.8rem;
}

.resource-media-trigger img {
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: transform 260ms ease, filter 260ms ease;
	width: 100%;
}

.resource-media-card:hover .resource-media-trigger img {
	filter: saturate(1.16) brightness(0.8);
	transform: scale(1.05);
}

.resource-card-overlay {
	background: linear-gradient(180deg, transparent 16%, rgba(2, 6, 23, 0.42) 52%, rgba(2, 6, 23, 0.92));
	display: flex;
	flex-direction: column;
	inset: 0;
	justify-content: flex-end;
	padding: 1.2rem;
	position: absolute;
}

.resource-card-overlay .post-card-title {
	color: var(--text);
	display: block;
	margin: 0;
}

.resource-zoom-icon,
.resource-play-icon {
	align-items: center;
	background: rgba(2, 6, 23, 0.64);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	display: inline-flex;
	height: 3rem;
	justify-content: center;
	position: absolute;
	right: 1rem;
	top: 1rem;
	width: 3rem;
}

.resource-zoom-icon::before {
	border: 2px solid currentColor;
	border-radius: 999px;
	content: "";
	height: 0.9rem;
	width: 0.9rem;
}

.resource-zoom-icon::after {
	background: currentColor;
	content: "";
	height: 0.58rem;
	position: absolute;
	right: 0.83rem;
	top: 1.73rem;
	transform: rotate(-45deg);
	width: 2px;
}

.resource-play-icon::before {
	border-bottom: 0.55rem solid transparent;
	border-left: 0.82rem solid currentColor;
	border-top: 0.55rem solid transparent;
	content: "";
	margin-left: 0.16rem;
}

.resource-card-external-article .text-link::after {
	border-right: 2px solid currentColor;
	border-top: 2px solid currentColor;
	content: "";
	height: 0.45rem;
	margin-left: 0.45rem;
	transform: translateY(-0.05rem) rotate(45deg);
	width: 0.45rem;
}

.entry-meta {
	color: var(--text-muted);
	font-size: 0.82rem;
	font-weight: 700;
	margin-bottom: 0.6rem;
	text-transform: uppercase;
}

.resource-category-badge {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	padding-bottom: 0.15rem;
	scrollbar-width: thin;
	white-space: nowrap;
}

.resource-category-badge::-webkit-scrollbar {
	height: 3px;
}

.resource-category-badge::-webkit-scrollbar-thumb {
	background: rgba(148, 163, 184, 0.36);
	border-radius: 999px;
}

.post-card-title {
	font-size: 1.25rem;
	line-height: 1.2;
	margin: 0 0 0.8rem;
}

.post-card-title a {
	text-decoration: none;
}

.post-card-excerpt {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	color: var(--text-soft);
	display: -webkit-box;
	font-size: 0.95rem;
	overflow: hidden;
}

.post-card-body .text-link {
	margin-top: auto;
}

.resource-card-details {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	list-style: none;
	margin: 0 0 0.95rem;
	padding: 0;
}

.resource-card-details li {
	background: rgba(15, 23, 42, 0.72);
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: var(--radius-sm);
	color: var(--text-soft);
	font-size: 0.78rem;
	font-weight: 700;
	padding: 0.42rem 0.55rem;
}

.resource-viewer-open {
	overflow: hidden;
}

.resource-viewer[hidden] {
	display: none;
}

.resource-viewer {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: clamp(1rem, 4vw, 2rem);
	position: fixed;
	z-index: 1000;
}

.resource-viewer-backdrop {
	backdrop-filter: blur(16px);
	background: rgba(2, 6, 23, 0.84);
	inset: 0;
	position: absolute;
}

.resource-viewer-dialog {
	background: rgba(15, 23, 42, 0.92);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	max-height: calc(100vh - 2rem);
	max-width: min(72rem, 100%);
	overflow: hidden;
	position: relative;
	width: 100%;
}

.resource-viewer-close {
	background: rgba(2, 6, 23, 0.78);
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	cursor: pointer;
	height: 2.75rem;
	position: absolute;
	right: 1rem;
	top: 1rem;
	width: 2.75rem;
	z-index: 2;
}

.resource-viewer-close::before,
.resource-viewer-close::after {
	background: var(--text);
	content: "";
	height: 1rem;
	left: 50%;
	position: absolute;
	top: 50%;
	width: 2px;
}

.resource-viewer-close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.resource-viewer-close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.resource-viewer-title {
	color: var(--text);
	font-size: 1rem;
	margin: 0;
	padding: 1rem 4.5rem 1rem 1.2rem;
}

.resource-viewer-body {
	background: #020617;
	display: grid;
	place-items: center;
}

.resource-viewer-body img {
	border: 0;
	display: block;
	max-height: calc(100vh - 7rem);
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.resource-viewer-body iframe {
	aspect-ratio: 16 / 9;
	border: 0;
	display: block;
	width: 100%;
}

.text-link,
.button-primary,
.search-submit,
.search-clear {
	align-items: center;
	background: var(--accent);
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	color: #001018;
	display: inline-flex;
	font-weight: 800;
	line-height: 1;
	margin-top: 1rem;
	padding: 0.75rem 0.95rem;
	text-decoration: none;
}

.text-link {
	background: transparent;
	border: 0;
	color: var(--accent);
	cursor: pointer;
	font: inherit;
	padding: 0;
}

.button-primary:hover,
.search-submit:hover {
	background: var(--accent-strong);
	color: #001018;
	cursor: pointer;
}

.singular-layout {
	padding-block: clamp(4rem, 10vw, 7rem);
}

.singular-layout .entry-header {
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.prose {
	color: var(--text-soft);
	font-size: 1.05rem;
	max-width: 74ch;
}

.prose :where(h2, h3, h4),
.entry-content :where(h2, h3, h4) {
	color: var(--text);
	line-height: 1.15;
	margin-top: 2.4rem;
}

.prose a {
	color: var(--accent);
}

.prose blockquote {
	border-left: 3px solid var(--accent);
	color: var(--text);
	margin-left: 0;
	padding-left: 1.25rem;
}

.prose code,
.prose pre,
.wp-block-code {
	background: rgba(15, 23, 42, 0.95);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text);
}

.prose code {
	padding: 0.15rem 0.32rem;
}

.prose pre,
.wp-block-code {
	overflow-x: auto;
	padding: 1rem;
}

.search-form {
	align-items: stretch;
	display: flex;
	gap: 0.6rem;
	margin-top: 1.5rem;
	max-width: 36rem;
}

.search-form label {
	flex: 1;
}

.search-actions {
	display: flex;
	gap: 0.6rem;
}

.search-field {
	background: rgba(15, 23, 42, 0.9);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text);
	height: 2.75rem;
	padding: 0.7rem 0.85rem;
	width: 100%;
}

.search-submit,
.search-clear {
	height: 2.75rem;
	margin-top: 0;
	white-space: nowrap;
}

.search-clear {
	background: transparent;
	border-color: var(--border);
	color: var(--text-soft);
}

.search-clear:hover {
	border-color: var(--border-strong);
	color: var(--text);
}

.search-field:focus {
	border-color: var(--accent);
	outline: 2px solid rgba(34, 211, 238, 0.16);
}

.pagination-wrap {
	grid-column: 1 / -1;
	margin-top: 2rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.page-numbers {
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text-soft);
	padding: 0.55rem 0.8rem;
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
	background: rgba(34, 211, 238, 0.1);
	border-color: var(--border-strong);
	color: var(--accent);
}

.archive-description {
	color: var(--text-soft);
	max-width: 46rem;
}

.error-card,
.empty-state {
	margin-inline: auto;
	max-width: 46rem;
}

.site-footer {
	background:
		linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(2, 6, 23, 0.96)),
		var(--background);
	border-top: 1px solid var(--border);
	color: var(--text-muted);
	padding-block: clamp(3rem, 7vw, 5rem) 1.5rem;
}

.footer-inner {
	align-items: start;
	display: grid;
	gap: clamp(2.5rem, 6vw, 5rem);
	grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.55fr);
	min-height: auto;
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.footer-brand-block {
	max-width: 22rem;
}

.footer-brand {
	font-size: 1.25rem;
}

.footer-brand-block p {
	color: var(--text-soft);
	line-height: 1.7;
	margin: 1.1rem 0 0;
}

.footer-note {
	border-left: 2px solid rgba(34, 211, 238, 0.62);
	color: var(--text-muted) !important;
	font-size: 0.88rem;
	padding-left: 1rem;
}

.footer-link-grid {
	display: grid;
	gap: clamp(1.75rem, 4vw, 3rem);
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-link-column h2 {
	color: var(--text);
	font-size: 0.76rem;
	letter-spacing: 0;
	margin: 0 0 1rem;
	text-transform: uppercase;
}

.footer-link-column ul,
.footer-menu {
	display: grid;
	gap: 0.78rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-link-column a,
.footer-social a {
	color: var(--text-muted);
	font-size: 0.92rem;
	text-decoration: none;
	transition: color 160ms ease;
}

.footer-link-column a:hover,
.footer-social a:hover {
	color: var(--accent);
}

.footer-bottom {
	align-items: center;
	border-top: 1px solid var(--border);
	display: flex;
	gap: 1.5rem;
	justify-content: space-between;
	min-height: auto;
	padding-top: 1.5rem;
}

.footer-bottom p {
	margin: 0;
}

.footer-social {
	display: flex;
	gap: 1rem;
	justify-content: flex-end;
}

.wp-block-button__link {
	background: var(--accent);
	border-radius: var(--radius-sm);
	color: #001018;
	font-weight: 800;
}

.wp-block-table table,
table {
	border-collapse: collapse;
	width: 100%;
}

.wp-block-table td,
.wp-block-table th,
td,
th {
	border: 1px solid var(--border);
	padding: 0.75rem;
}

@media (max-width: 900px) {
	.header-inner {
		align-items: flex-start;
		flex-direction: column;
		justify-content: flex-start;
		padding-block: 1rem;
	}

	.footer-inner {
		grid-template-columns: 1fr;
		padding-block: 0 2.5rem;
	}

	.footer-brand-block {
		max-width: 34rem;
	}

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

	.hero-grid,
	.section-header,
	.post-grid {
		grid-template-columns: 1fr;
	}

	.post-grid {
		--resource-card-height: 28rem;
	}

	.home-post-search {
		justify-self: stretch;
	}

	.hero-copy h1,
	.archive-header h1,
	.entry-title,
	.error-card h1 {
		max-width: 100%;
	}

	.hero-particle-sphere {
		margin: 0;
		min-height: 0;
	}

	.hero-particle-sphere::before {
		background: linear-gradient(90deg, rgba(2, 6, 23, 0.64), transparent 45%);
	}

	.hero-particle-sphere canvas {
		min-height: 0;
	}

	.hero-dna-helix {
		opacity: 0.45;
		width: 220px;
	}

	.dna-strand {
		width: 12rem;
	}

}

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

	.hero-section,
	.archive-header,
	.error-section {
		padding-block: 3rem;
	}

	.front-hero {
		padding-block: 0;
	}

	.search-form {
		flex-direction: column;
	}

	.search-actions {
		width: 100%;
	}

	.search-actions .search-submit,
	.search-actions .search-clear {
		flex: 1;
		justify-content: center;
	}

	.footer-link-grid {
		grid-template-columns: 1fr;
	}

	.post-grid {
		--resource-card-height: 26rem;
	}

	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.footer-social {
		justify-content: flex-start;
	}

	.hero-panel {
		min-height: 17rem;
	}

	.hero-particle-sphere {
		margin-inline: 0;
	}

	.hero-particle-sphere canvas {
		min-height: 0;
	}

	.hero-dna-helix {
		opacity: 0.35;
		width: 180px;
	}

	.dna-strand {
		width: 9.5rem;
	}

	.metric-row {
		bottom: 1.2rem;
		left: 1.2rem;
		right: 1.2rem;
	}
}
