/*
Theme Name: Cognitive Liberty
Theme URI: https://cognitive-liberty.online
Author: Cognitive Liberty
Description: A fast dark editorial theme for cognitive-liberty.online.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: cognitive-liberty
*/

:root {
	--bg: #050608;
	--bg-2: #0b0e12;
	--surface: #10151b;
	--surface-2: #151b22;
	--text: #f4f1e9;
	--muted: #a6adb5;
	--soft: #737c86;
	--line: rgba(244, 241, 233, 0.14);
	--cyan: #64e7ff;
	--amber: #ffbc6b;
	--green: #8df0c0;
	--violet: #a78bfa;
	--max: 1180px;
	--reading: 760px;
	--radius: 6px;
	--shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
	--glow: 0 0 42px rgba(100, 231, 255, 0.12), 0 28px 90px rgba(0, 0, 0, 0.45);
	color-scheme: dark;
}

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

html {
	background: var(--bg);
	scroll-behavior: smooth;
	scrollbar-color: rgba(100, 231, 255, 0.48) rgba(255, 255, 255, 0.04);
}

body {
	margin: 0;
	background:
		radial-gradient(circle at 78% 10%, rgba(100, 231, 255, 0.16), transparent 31rem),
		radial-gradient(circle at 16% 36%, rgba(255, 188, 107, 0.08), transparent 26rem),
		linear-gradient(180deg, #030405 0%, #071015 44%, #050608 100%);
	color: var(--text);
	font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.7;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: linear-gradient(to bottom, rgba(0,0,0,0.75), transparent 70%);
}

body::after {
	content: "";
	position: fixed;
	left: var(--pointer-x, 50vw);
	top: var(--pointer-y, 28vh);
	z-index: -1;
	width: 32rem;
	height: 32rem;
	pointer-events: none;
	background: radial-gradient(circle, rgba(100, 231, 255, 0.08), transparent 68%);
	transform: translate(-50%, -50%);
	transition: opacity 220ms ease;
}

.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, var(--cyan), var(--amber), var(--violet));
	box-shadow: 0 0 18px rgba(100, 231, 255, 0.45);
	transform: scaleX(0);
	transform-origin: left;
	will-change: transform;
}

.scroll-top {
	position: fixed;
	right: clamp(16px, 2.6vw, 34px);
	bottom: clamp(16px, 2.6vw, 34px);
	z-index: 70;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(100, 231, 255, 0.42);
	border-radius: 50%;
	background:
		radial-gradient(circle at 50% 18%, rgba(244, 241, 233, 0.16), transparent 44%),
		rgba(5, 6, 8, 0.82);
	color: var(--text);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.38), 0 0 28px rgba(100, 231, 255, 0.12);
	backdrop-filter: blur(18px) saturate(1.2);
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transform: translateY(16px) scale(0.88);
	transition: opacity 180ms ease, transform 220ms cubic-bezier(.2,.8,.2,1), border-color 180ms ease, background 180ms ease;
}

.scroll-top span {
	display: block;
	font-size: 1.25rem;
	line-height: 1;
	transform: translateY(-1px);
}

.scroll-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0) scale(1);
}

.scroll-top:hover,
.scroll-top:focus-visible {
	border-color: rgba(100, 231, 255, 0.72);
	background: rgba(100, 231, 255, 0.13);
	outline: none;
	transform: translateY(-3px) scale(1.03);
}

a {
	color: inherit;
	text-decoration-color: rgba(100, 231, 255, 0.55);
	text-underline-offset: 0.18em;
}

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

p,
li,
a {
	overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	hyphens: none;
	overflow-wrap: normal;
	word-break: normal;
}

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

img {
	border-radius: var(--radius);
}

::selection {
	background: rgba(100, 231, 255, 0.28);
	color: #fff;
}

.cl-icon {
	flex: 0 0 auto;
	width: 1.1em;
	height: 1.1em;
	stroke: currentColor;
	vertical-align: -0.18em;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid var(--line);
	background:
		linear-gradient(90deg, rgba(100, 231, 255, 0.05), transparent 32%, rgba(255, 188, 107, 0.035)),
		rgba(3, 5, 7, 0.86);
	backdrop-filter: blur(22px) saturate(1.2);
}

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

.header-inner,
.site-main,
.site-footer-inner {
	width: min(var(--max), calc(100% - 32px));
	margin-inline: auto;
}

.header-inner {
	min-height: 68px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	min-width: 320px;
	max-width: 390px;
}

.brand-mark {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.38);
	border-radius: 50%;
	background: #000;
	box-shadow: 0 0 28px rgba(100, 231, 255, 0.18);
	overflow: hidden;
	position: relative;
}

.brand-mark::before {
	content: "";
	position: absolute;
	inset: 2px;
	border-radius: inherit;
	background: url("assets/cog-lib-logo.svg") center / contain no-repeat;
	opacity: 0.96;
}

.brand-text {
	display: grid;
	line-height: 1.05;
}

.brand-title {
	font-family: ui-serif, Georgia, "Times New Roman", serif;
	font-size: 1.18rem;
	font-weight: 700;
	letter-spacing: 0;
	white-space: nowrap;
}

.brand-subtitle {
	color: var(--muted);
	font-size: 0.72rem;
	letter-spacing: 0;
	max-width: 340px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow-wrap: normal;
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: transparent;
	color: var(--text);
	padding: 9px 11px;
	font: inherit;
}

.primary-menu,
.footer-menu {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
}

.primary-menu {
	flex-wrap: nowrap;
	justify-content: center;
}

.primary-menu a,
.footer-menu a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 11px;
	border-radius: var(--radius);
	color: var(--muted);
	text-decoration: none;
	font-size: 0.92rem;
	overflow-wrap: normal;
	white-space: nowrap;
	transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.primary-menu a span,
.footer-menu a span {
	min-width: 0;
}

.nav-icon {
	width: 17px;
	height: 17px;
	color: var(--cyan);
	opacity: 0.88;
}

.nav-featured .nav-icon {
	color: var(--amber);
	filter: drop-shadow(0 0 10px rgba(255, 188, 107, 0.22));
}

.nav-external-icon {
	width: 14px;
	height: 14px;
	color: var(--amber);
	opacity: 0.92;
	transform: translateY(-1px);
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.footer-menu a:hover {
	background: rgba(255, 255, 255, 0.06);
	color: var(--text);
}

.primary-menu .nav-featured > a,
.footer-menu .nav-featured > a {
	border: 1px solid rgba(100, 231, 255, 0.34);
	background: rgba(100, 231, 255, 0.08);
	color: var(--text);
}

.primary-menu .nav-featured > a:hover,
.footer-menu .nav-featured > a:hover {
	border-color: rgba(100, 231, 255, 0.62);
	background: rgba(100, 231, 255, 0.14);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.search-form {
	position: relative;
	display: flex;
	align-items: center;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background:
		linear-gradient(90deg, rgba(100, 231, 255, 0.055), rgba(255, 255, 255, 0.035) 48%, rgba(255, 188, 107, 0.04)),
		rgba(255, 255, 255, 0.035);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	isolation: isolate;
	overflow: visible;
	transition: border-color 180ms ease, box-shadow 220ms ease, background 220ms ease, transform 220ms ease;
}

.search-form::before {
	content: "";
	position: absolute;
	inset: -1px;
	z-index: -1;
	border-radius: inherit;
	background: linear-gradient(110deg, transparent 0%, rgba(100, 231, 255, 0.36) 38%, rgba(255, 188, 107, 0.28) 52%, transparent 68%);
	opacity: 0;
	transform: translateX(-22%);
	transition: opacity 180ms ease;
	pointer-events: none;
}

.search-form::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 84px;
	bottom: 7px;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(100, 231, 255, 0.72), rgba(255, 188, 107, 0.54), transparent);
	opacity: 0;
	transform: scaleX(0.36);
	transform-origin: left;
	transition: opacity 180ms ease, transform 260ms cubic-bezier(.2,.8,.2,1);
	pointer-events: none;
}

.search-shell {
	position: relative;
	min-width: 0;
}

.search-field {
	width: 176px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--text);
	padding: 10px 12px;
	font: inherit;
	font-size: 0.9rem;
	transition: width 240ms cubic-bezier(.2,.8,.2,1);
}

.search-field::placeholder {
	color: rgba(166, 173, 181, 0.78);
	transition: color 180ms ease;
}

.semantic-search:focus-within {
	border-color: rgba(100, 231, 255, 0.66);
	background:
		linear-gradient(90deg, rgba(100, 231, 255, 0.09), rgba(255, 255, 255, 0.045) 48%, rgba(255, 188, 107, 0.07)),
		rgba(255, 255, 255, 0.04);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 3px rgba(100, 231, 255, 0.1), 0 16px 48px rgba(0, 0, 0, 0.28);
	transform: translateY(-1px);
}

.semantic-search:focus-within::before {
	opacity: 1;
	animation: search-sheen 1500ms ease-in-out infinite;
}

.semantic-search:focus-within::after {
	opacity: 1;
	transform: scaleX(1);
}

.semantic-search:focus-within .search-field {
	width: min(260px, 32vw);
}

.semantic-search:focus-within .search-field::placeholder {
	color: rgba(244, 241, 233, 0.58);
}

.search-suggestions {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 90;
	width: min(440px, calc(100vw - 32px));
	max-height: min(70vh, 560px);
	overflow: auto;
	border: 1px solid rgba(100, 231, 255, 0.26);
	border-radius: 14px;
	background:
		linear-gradient(135deg, rgba(100, 231, 255, 0.08), transparent 44%),
		rgba(5, 7, 10, 0.98);
	box-shadow: 0 24px 76px rgba(0, 0, 0, 0.56), inset 0 1px 0 rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(20px) saturate(1.15);
	padding: 8px;
}

.search-suggestions[hidden] {
	display: none;
}

.search-status,
.search-option {
	display: grid;
	gap: 5px;
	width: 100%;
	padding: 10px 11px;
	border-radius: 10px;
	text-align: left;
}

.search-status {
	color: var(--muted);
	font-size: 0.9rem;
}

.search-option {
	border: 0;
	background: transparent;
	color: var(--text);
	text-decoration: none;
	cursor: pointer;
}

.search-option:hover,
.search-option.is-active {
	background: rgba(100, 231, 255, 0.1);
	color: var(--text);
}

.search-option-title {
	font-family: ui-serif, Georgia, "Times New Roman", serif;
	font-size: 1rem;
	line-height: 1.15;
}

.search-option-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	color: var(--soft);
	font-size: 0.76rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.search-option-excerpt {
	color: var(--muted);
	font-size: 0.86rem;
	line-height: 1.38;
}

.search-submit,
.pwa-install,
.button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	border: 1px solid rgba(100, 231, 255, 0.4);
	border-radius: var(--radius);
	background: rgba(100, 231, 255, 0.08);
	color: var(--text);
	padding: 9px 13px;
	font: inherit;
	font-size: 0.9rem;
	text-decoration: none;
	cursor: pointer;
}

.search-submit:hover,
.pwa-install:hover,
.pwa-install:focus-visible,
.button:hover,
.wp-block-button__link:hover {
	background: rgba(100, 231, 255, 0.18);
	color: #fff;
}

.search-submit {
	position: relative;
	overflow: hidden;
}

.search-submit::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.14), transparent);
	transform: translateX(-130%);
	pointer-events: none;
}

.semantic-search:focus-within .search-submit::after,
.search-submit:hover::after {
	animation: button-sheen 900ms ease;
}

.share-dock {
	position: fixed;
	left: clamp(14px, 2.4vw, 30px);
	bottom: clamp(14px, 2.4vw, 30px);
	z-index: 120;
	display: grid;
	justify-items: start;
	gap: 10px;
	pointer-events: none;
}

.share-trigger,
.share-panel button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid rgba(100, 231, 255, 0.38);
	border-radius: 999px;
	background:
		linear-gradient(135deg, rgba(100, 231, 255, 0.12), rgba(255, 188, 107, 0.07)),
		rgba(5, 8, 10, 0.86);
	color: var(--text);
	font: inherit;
	font-size: 0.9rem;
	cursor: pointer;
	box-shadow: 0 18px 52px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.07);
	backdrop-filter: blur(16px) saturate(1.12);
	pointer-events: auto;
}

.share-trigger {
	min-height: 46px;
	padding: 10px 15px;
}

.share-trigger .cl-icon {
	color: var(--cyan);
	filter: drop-shadow(0 0 12px rgba(100, 231, 255, 0.36));
}

.share-trigger:hover,
.share-trigger:focus-visible,
.share-panel button:hover,
.share-panel button:focus-visible {
	border-color: rgba(100, 231, 255, 0.72);
	background:
		linear-gradient(135deg, rgba(100, 231, 255, 0.18), rgba(255, 188, 107, 0.1)),
		rgba(7, 11, 14, 0.94);
	outline: none;
}

.share-panel {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	min-width: min(420px, calc(100vw - 28px));
	padding: 10px;
	border: 1px solid rgba(100, 231, 255, 0.28);
	border-radius: 18px;
	background:
		radial-gradient(circle at 12% 0%, rgba(255, 188, 107, 0.13), transparent 18rem),
		rgba(3, 5, 7, 0.94);
	box-shadow: 0 24px 76px rgba(0, 0, 0, 0.54), inset 0 1px 0 rgba(255, 255, 255, 0.07);
	backdrop-filter: blur(20px) saturate(1.18);
	transform-origin: bottom left;
	animation: share-panel-in 190ms cubic-bezier(.2,.8,.2,1);
	pointer-events: auto;
}

.share-panel[hidden] {
	display: none;
}

.share-panel button {
	min-height: 42px;
	padding: 9px 11px;
	border-radius: 12px;
	box-shadow: none;
}

.share-panel button .cl-icon {
	width: 17px;
	height: 17px;
	color: var(--amber);
}

.share-status {
	grid-column: 1 / -1;
	min-height: 18px;
	color: var(--green);
	font-size: 0.78rem;
	text-align: center;
}

.button-secondary {
	border-color: rgba(244, 241, 233, 0.22);
	background: rgba(255, 255, 255, 0.035);
	color: var(--muted);
}

.pwa-install {
	gap: 7px;
	white-space: nowrap;
}

.pwa-install[hidden] {
	display: none;
}

.pwa-install .cl-icon {
	color: var(--green);
	filter: drop-shadow(0 0 12px rgba(141, 240, 192, 0.48));
}

.hero-pwa {
	display: grid;
	gap: 8px;
	max-width: 520px;
	margin-top: 24px;
}

.hero-pwa[hidden] {
	display: none;
}

.pwa-install-large {
	justify-content: center;
	width: fit-content;
	padding: 11px 15px;
	border-color: rgba(141, 240, 192, 0.44);
	background:
		linear-gradient(135deg, rgba(141, 240, 192, 0.13), rgba(100, 231, 255, 0.08)),
		rgba(255, 255, 255, 0.04);
	box-shadow: 0 16px 42px rgba(0, 0, 0, 0.25), 0 0 28px rgba(141, 240, 192, 0.1);
}

.hero-pwa p {
	margin: 0;
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.45;
}

.site-main {
	padding-block: 22px 54px;
}

.is-soft-loading .site-main {
	opacity: 0.72;
	transition: opacity 160ms ease;
}

.hero {
	position: relative;
	min-height: min(680px, calc(100svh - 100px));
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
	gap: clamp(26px, 5vw, 70px);
	align-items: center;
	padding: clamp(26px, 5vw, 62px);
	border: 1px solid var(--line);
	border-radius: 18px;
	background:
		linear-gradient(120deg, rgba(255, 255, 255, 0.035), transparent 46%),
		linear-gradient(180deg, rgba(7, 16, 21, 0.86), rgba(5, 6, 8, 0.92));
	box-shadow: var(--glow);
	overflow: hidden;
	isolation: isolate;
}

.hero-video-first {
	grid-template-columns: 1fr;
	align-items: stretch;
	min-height: min(820px, calc(100svh - 100px));
	padding: clamp(16px, 3.8vw, 38px);
}

.hero-video-first .video-deck-home {
	min-height: 100%;
}

.hero-video-meta {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 22px;
}

.hero-video-meta .hero-meta {
	margin-top: 0;
}

.hero::before {
	content: "";
	position: absolute;
	inset: -1px;
	z-index: -1;
	background:
		linear-gradient(90deg, transparent, rgba(100, 231, 255, 0.2), transparent),
		linear-gradient(180deg, transparent, rgba(255, 188, 107, 0.08), transparent);
	opacity: 0.55;
	mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.hero-copy {
	max-width: 720px;
}

.hero-title-lockup {
	display: flex;
	align-items: center;
	gap: clamp(18px, 3vw, 34px);
}

.hero-dove {
	position: relative;
	flex: 0 0 clamp(72px, 6.5vw, 88px);
	width: clamp(72px, 6.5vw, 88px);
	aspect-ratio: 1;
	border: 1px solid rgba(255, 255, 255, 0.26);
	border-radius: 50%;
	background: #000;
	box-shadow:
		0 0 52px rgba(100, 231, 255, 0.14),
		inset 0 0 0 1px rgba(255, 255, 255, 0.06);
	overflow: hidden;
}

.hero-dove::before {
	content: "";
	position: absolute;
	inset: clamp(3px, 0.55vw, 8px);
	border-radius: inherit;
	background: url("assets/cog-lib-logo.svg") center / contain no-repeat;
	opacity: 0.98;
}

.hero h1,
.page-title,
.entry-title {
	margin: 0;
	font-family: ui-serif, Georgia, "Times New Roman", serif;
	font-size: clamp(3rem, 4.3vw, 4.5rem);
	line-height: 0.94;
	letter-spacing: 0;
	hyphens: none;
	overflow-wrap: normal;
	text-wrap: balance;
	word-break: keep-all;
}

.hero h1 span {
	display: block;
	color: transparent;
	-webkit-text-stroke: 1px rgba(244, 241, 233, 0.72);
	white-space: nowrap;
}

.page-title,
.entry-title,
.section-title,
.article-card h3,
.article-row h2,
.article-row h3,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	font-weight: 700;
}

.hero-lede {
	margin: 28px 0 0;
	max-width: 660px;
	color: #d7d2c7;
	font-size: clamp(1.08rem, 1.6vw, 1.35rem);
	font-weight: 400;
	line-height: 1.62;
}

.hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}

.topic-pill {
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 7px 11px;
	color: var(--muted);
	font-size: 0.82rem;
	text-decoration: none;
	background: rgba(255,255,255,0.035);
}

.topic-pill:hover {
	border-color: rgba(100, 231, 255, 0.55);
}

.hero-panel {
	position: relative;
	display: grid;
	align-self: center;
	border: 1px solid var(--line);
	border-radius: 14px;
	overflow: hidden;
	background:
		radial-gradient(circle at 68% 12%, rgba(100, 231, 255, 0.12), transparent 18rem),
		linear-gradient(180deg, rgba(9, 15, 19, 0.92), rgba(4, 5, 7, 0.98));
	box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.hero-panel-media {
	display: block;
	width: 100%;
	aspect-ratio: 1672 / 941;
	object-fit: contain;
	border-radius: 0;
	background: #030405;
}

.hero-panel-content {
	position: relative;
	z-index: 1;
	border-top: 1px solid rgba(255,255,255,0.14);
	padding: 18px 24px 22px;
	background:
		linear-gradient(90deg, rgba(100, 231, 255, 0.06), transparent 44%),
		rgba(5, 6, 8, 0.88);
}

.hero-panel-content strong {
	display: block;
	font-family: ui-serif, Georgia, "Times New Roman", serif;
	font-size: 1.8rem;
	line-height: 1.08;
}

.hero-panel-content p {
	margin: 10px 0 0;
	color: var(--muted);
	font-size: 0.95rem;
}

.mind-map {
	padding-top: clamp(26px, 4vw, 46px);
}

.mind-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid rgba(244, 241, 233, 0.12);
	background: rgba(244, 241, 233, 0.12);
	box-shadow: var(--glow);
}

.mind-card {
	position: relative;
	min-width: 0;
	margin: 0;
	overflow: hidden;
	background: #050608;
	aspect-ratio: 4 / 3;
}

.mind-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, transparent 36%, rgba(5, 6, 8, 0.9)),
		linear-gradient(135deg, rgba(100, 231, 255, 0.1), transparent 44%);
	pointer-events: none;
}

.mind-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	filter: saturate(0.9) contrast(1.04);
	transition: transform 450ms ease, filter 450ms ease;
}

.mind-card:hover img {
	transform: scale(1.035);
	filter: saturate(1) contrast(1.08);
}

.mind-card figcaption {
	position: absolute;
	inset: auto 18px 18px;
	z-index: 1;
	display: grid;
	gap: 5px;
}

.mind-icon {
	width: 44px;
	height: 44px;
	margin-bottom: 8px;
	padding: 9px;
	border: 1px solid rgba(244, 241, 233, 0.18);
	border-radius: 14px;
	background:
		linear-gradient(135deg, rgba(100, 231, 255, 0.16), rgba(255, 188, 107, 0.08)),
		rgba(5, 6, 8, 0.54);
	color: #eafcff;
	box-shadow: 0 0 26px rgba(100, 231, 255, 0.14);
}

.mind-card strong {
	font-family: ui-serif, Georgia, "Times New Roman", serif;
	font-size: clamp(1.35rem, 2.6vw, 2rem);
	line-height: 1;
}

.mind-card span {
	max-width: 24rem;
	color: #d7d2c7;
	font-size: 0.95rem;
	line-height: 1.45;
}

.section {
	padding-block: clamp(30px, 5vw, 58px);
	border-bottom: 1px solid var(--line);
	content-visibility: auto;
	contain-intrinsic-size: 800px;
}

.section-header {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 24px;
	margin-bottom: 24px;
}

.section-header .button {
	margin-left: auto;
}

.section-icon {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(100, 231, 255, 0.28);
	border-radius: 14px;
	background:
		radial-gradient(circle at 30% 22%, rgba(100, 231, 255, 0.22), transparent 70%),
		rgba(100, 231, 255, 0.075);
	color: var(--cyan);
	box-shadow: 0 0 34px rgba(100, 231, 255, 0.11);
}

.section-icon-large {
	width: 56px;
	height: 56px;
	color: var(--amber);
	background:
		radial-gradient(circle at 30% 22%, rgba(255, 188, 107, 0.24), transparent 70%),
		rgba(255, 188, 107, 0.07);
	border-color: rgba(255, 188, 107, 0.32);
}

.section-icon .cl-icon {
	width: 55%;
	height: 55%;
}

.section-title {
	margin: 0;
	font-family: ui-serif, Georgia, "Times New Roman", serif;
	font-size: clamp(1.8rem, 4vw, 3.1rem);
	line-height: 1;
}

.section-kicker {
	color: var(--muted);
	max-width: 520px;
	margin: 0;
}

.article-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}

.article-card {
	display: grid;
	align-content: start;
	gap: 16px;
	min-height: 100%;
	padding: 22px;
	background: rgba(10, 14, 18, 0.96);
	text-decoration: none;
	transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.article-card:hover {
	background: #121821;
	color: var(--text);
	box-shadow: inset 0 0 0 1px rgba(100, 231, 255, 0.28), 0 18px 44px rgba(0, 0, 0, 0.28);
	transform: translateY(-2px);
}

.article-card img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	filter: saturate(0.88) contrast(1.05);
}

.article-card time,
.entry-meta,
.taxonomy-list {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--soft);
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.card-meta-icon {
	width: 15px;
	height: 15px;
	color: var(--amber);
}

.article-card h3 {
	margin: 0;
	font-family: ui-serif, Georgia, "Times New Roman", serif;
	font-size: 1.35rem;
	line-height: 1.15;
}

.article-card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.96rem;
}

.card-read-more {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	width: fit-content;
	margin-top: 2px;
	color: var(--cyan);
	font-size: 0.88rem;
	font-weight: 650;
}

.article-list {
	display: grid;
	border-top: 1px solid var(--line);
}

.native-archive {
	background:
		radial-gradient(circle at 88% 0%, rgba(141, 240, 192, 0.1), transparent 22rem),
		linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent);
}

.native-archive-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid var(--line);
	background: var(--line);
}

.native-archive-card {
	display: grid;
	gap: 10px;
	min-height: 170px;
	padding: clamp(18px, 3vw, 26px);
	background:
		linear-gradient(135deg, rgba(100, 231, 255, 0.07), transparent 54%),
		rgba(10, 14, 18, 0.96);
	text-decoration: none;
}

.native-archive-card:hover,
.native-archive-card:focus-visible {
	background:
		linear-gradient(135deg, rgba(100, 231, 255, 0.13), rgba(255, 188, 107, 0.055)),
		#121821;
	color: var(--text);
	outline: none;
}

.native-archive-card strong {
	color: var(--text);
	font-family: ui-serif, Georgia, "Times New Roman", serif;
	font-size: clamp(1.25rem, 2.4vw, 1.8rem);
	line-height: 1.05;
}

.native-archive-card span {
	color: var(--muted);
	font-size: 0.96rem;
	line-height: 1.45;
}

.native-page-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: 16px;
}

.native-page-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	min-width: 0;
	border: 1px solid rgba(244, 241, 233, 0.11);
	border-radius: var(--radius);
	padding: 12px 14px;
	background: rgba(255, 255, 255, 0.03);
	text-decoration: none;
}

.native-page-list a:hover,
.native-page-list a:focus-visible {
	border-color: rgba(100, 231, 255, 0.38);
	background: rgba(100, 231, 255, 0.08);
	color: var(--text);
	outline: none;
}

.native-page-list span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.native-page-list .cl-icon {
	color: var(--cyan);
}

.article-row {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr) auto;
	gap: 24px;
	align-items: baseline;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
	transition: background 160ms ease, padding-inline 160ms ease;
}

.article-row > * {
	min-width: 0;
}

.article-row:hover {
	background: rgba(100, 231, 255, 0.035);
	padding-inline: 12px;
}

.article-row h2,
.article-row h3 {
	margin: 0;
	font-family: ui-serif, Georgia, "Times New Roman", serif;
	font-size: clamp(1.2rem, 2.6vw, 2rem);
	line-height: 1.12;
}

.article-row p {
	margin: 8px 0 0;
	color: var(--muted);
}

.arrow {
	display: inline-flex;
	align-items: center;
	color: var(--cyan);
	font-size: 1.4rem;
}

.topic-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.manifesto {
	display: grid;
	grid-template-columns: 0.65fr 1.35fr;
	gap: 42px;
	align-items: start;
	padding: clamp(28px, 5vw, 54px);
	border: 1px solid rgba(255, 188, 107, 0.28);
	background:
		linear-gradient(135deg, rgba(255,188,107,0.09), transparent 44%),
		rgba(255,255,255,0.035);
}

.manifesto p {
	margin: 0;
	font-family: ui-serif, Georgia, "Times New Roman", serif;
	font-size: clamp(1.55rem, 3.5vw, 3.4rem);
	line-height: 1.08;
}

.content-shell {
	display: grid;
	grid-template-columns: minmax(0, var(--reading)) minmax(220px, 1fr);
	gap: clamp(28px, 6vw, 90px);
	align-items: start;
}

.contact-page {
	position: relative;
	isolation: isolate;
	min-height: min(980px, calc(100svh - 96px));
	display: grid;
	align-items: center;
	padding: clamp(28px, 5vw, 72px) 0;
	overflow: hidden;
}

.contact-page::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(5, 6, 8, 0.9), rgba(5, 6, 8, 0.58) 48%, rgba(5, 6, 8, 0.88)),
		radial-gradient(circle at 72% 18%, rgba(100, 231, 255, 0.22), transparent 30rem),
		radial-gradient(circle at 18% 80%, rgba(255, 188, 107, 0.12), transparent 26rem),
		radial-gradient(circle at var(--pointer-x, 72%) var(--pointer-y, 28%), rgba(100, 231, 255, 0.18), transparent 22rem);
	pointer-events: none;
}

.contact-panel {
	width: min(760px, 100%);
	padding: clamp(24px, 5vw, 48px);
	border: 1px solid rgba(244, 241, 233, 0.14);
	border-radius: 18px;
	background: rgba(7, 11, 14, 0.72);
	box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
	backdrop-filter: blur(18px);
}

.contact-header {
	margin-bottom: 22px;
}

.contact-content > * {
	max-width: 100%;
}

.contact-content form {
	display: grid;
	gap: 14px;
}

.contact-content input,
.contact-content textarea,
.contact-content select {
	width: 100%;
	border: 1px solid rgba(244, 241, 233, 0.18);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.06);
	color: var(--text);
	padding: 0.78rem 0.9rem;
	font: inherit;
}

.contact-content textarea {
	min-height: 160px;
	resize: vertical;
}

.contact-content input:focus,
.contact-content textarea:focus,
.contact-content select:focus {
	outline: 2px solid rgba(100, 231, 255, 0.46);
	outline-offset: 2px;
}

.contact-content input[type="submit"],
.contact-content button[type="submit"] {
	width: auto;
	justify-self: start;
	border-color: rgba(100, 231, 255, 0.44);
	background: linear-gradient(135deg, rgba(100, 231, 255, 0.22), rgba(255, 188, 107, 0.12));
	cursor: pointer;
}

.entry-header {
	margin-bottom: 30px;
}

.entry-title {
	font-size: clamp(2.4rem, 6vw, 5.8rem);
}

.entry-content {
	color: #ded8ce;
}

.entry-content > * {
	max-width: var(--reading);
}

.entry-content > .alignwide,
.entry-content > .wp-block-image,
.entry-content > .wp-block-gallery {
	max-width: 100%;
}

.home-original-content {
	padding-block: 24px;
}

.archive-workbench {
	border: 1px solid rgba(100, 231, 255, 0.2);
	border-radius: 18px;
	background:
		linear-gradient(135deg, rgba(100, 231, 255, 0.07), transparent 38%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
	box-shadow: var(--glow);
	overflow: hidden;
	transform: translateZ(0);
}

.archive-workbench-bar {
	position: relative;
	z-index: 5;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 14px;
	min-height: 48px;
	padding: 10px 14px;
	border-bottom: 1px solid var(--line);
	background: rgba(7, 11, 14, 0.92);
	backdrop-filter: blur(14px);
}

.archive-workbench-bar strong {
	font-family: ui-serif, Georgia, "Times New Roman", serif;
	font-size: 1.05rem;
	color: var(--text);
}

.archive-workbench-bar a {
	border: 1px solid rgba(100, 231, 255, 0.35);
	border-radius: 999px;
	padding: 5px 10px;
	color: var(--muted);
	font-size: 0.8rem;
	text-decoration: none;
}

.window-controls {
	display: flex;
	gap: 7px;
}

.window-controls span {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--soft);
	box-shadow: 0 0 12px rgba(255, 255, 255, 0.12);
}

.window-controls span:nth-child(1) {
	background: #ff6b6b;
}

.window-controls span:nth-child(2) {
	background: #ffbc6b;
}

.window-controls span:nth-child(3) {
	background: #64e7ff;
}

.archive-scroll {
	max-height: min(980px, calc(100svh - 150px));
	overflow: auto;
	overscroll-behavior: contain;
	scrollbar-color: rgba(100, 231, 255, 0.48) rgba(255, 255, 255, 0.05);
}

.archive-scroll::-webkit-scrollbar {
	width: 10px;
}

.archive-scroll::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.04);
}

.archive-scroll::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, rgba(100, 231, 255, 0.6), rgba(167, 139, 250, 0.45));
	border-radius: 999px;
}

.archive-scroll.entry-content {
	max-width: 100%;
	padding: clamp(18px, 3vw, 34px);
}

.archive-scroll-frame {
	padding: 0;
	background: rgba(5, 8, 11, 0.42);
}

.archive-frame {
	display: block;
	width: 100%;
	height: min(980px, calc(100svh - 150px));
	min-height: 620px;
	border: 0;
	background: transparent;
	color-scheme: dark;
}

.archive-frame-body {
	margin: 0;
	background: #050608;
	color: var(--text);
}

.archive-frame-content {
	padding: clamp(18px, 3vw, 34px);
}

.home-original-content .entry-content > * {
	max-width: var(--reading);
	margin-left: auto;
	margin-right: auto;
}

.home-original-content .entry-content > .n2-section-smartslider,
.home-original-content .entry-content > .n2_ss_slider_publish__option_code,
.home-original-content .entry-content > iframe,
.home-original-content .entry-content > video,
.home-original-content .entry-content > .wp-video,
.home-original-content .entry-content > .wp-block-embed {
	max-width: 100%;
}

.entry-content iframe,
.entry-content video {
	max-width: 100%;
}

.entry-content figure,
.entry-content .wp-caption,
.entry-content .wp-caption img,
.entry-content .wp-caption a,
.entry-content img {
	max-width: 100% !important;
	height: auto;
}

.entry-content .wp-caption-text {
	max-width: 100%;
}

.archive-scroll .n2-section-smartslider,
.archive-scroll .n2-ss-slider,
.archive-scroll .n2-ss-align,
.archive-scroll .n2-ss-slider-wrapper-inside,
.archive-scroll .n2-ss-reveal-clip,
.archive-scroll .n2-ss-showcase-slides,
.archive-scroll .n2-ss-slide,
.archive-scroll .n2-ss-layers-container {
	max-width: 100% !important;
	overflow: hidden !important;
}

.entry-content .su-label,
.entry-content [class*="su-label"] {
	border-radius: 999px !important;
	background: rgba(100, 231, 255, 0.12) !important;
	color: #eafcff !important;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	padding: 0.08em 0.36em !important;
}

.entry-content .su-spoiler,
.entry-content .su-accordion,
.entry-content details {
	border: 1px solid var(--line);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.035);
	overflow: hidden;
}

.entry-content .su-spoiler-title,
.entry-content summary {
	color: var(--text);
}

.entry-content table {
	display: block;
	max-width: 100%;
	overflow: auto;
	border-collapse: collapse;
}

.entry-content p,
.entry-content li {
	font-size: 1.06rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 2em;
	color: var(--text);
	font-family: ui-serif, Georgia, "Times New Roman", serif;
	line-height: 1.1;
}

.entry-content blockquote {
	margin: 2rem 0;
	padding: 1rem 0 1rem 1.4rem;
	border-left: 2px solid var(--amber);
	color: #f1e5d2;
	font-family: ui-serif, Georgia, "Times New Roman", serif;
	font-size: 1.25rem;
}

.entry-content pre,
.entry-content code {
	background: #111821;
	color: #dcf9ff;
	border-radius: var(--radius);
}

.entry-content pre {
	overflow: auto;
	padding: 1rem;
}

.cl-catlist {
	display: grid;
	gap: 0.45rem;
	padding-left: 1.1rem;
}

.cl-footnote-ref a {
	color: var(--cyan);
	text-decoration: none;
}

.cl-footnote-inline {
	display: block;
	margin: 0.55rem 0 1rem;
	padding: 0.72rem 0.9rem;
	border-left: 2px solid rgba(100, 231, 255, 0.45);
	background: rgba(100, 231, 255, 0.055);
	color: var(--muted);
	font-size: 0.94rem;
}

.cl-footnote-inline span {
	color: var(--text);
	font-weight: 700;
}

.entry-sidebar {
	position: sticky;
	top: 110px;
	border-left: 1px solid var(--line);
	padding-left: 22px;
	color: var(--muted);
	font-size: 0.92rem;
}

.entry-sidebar h2 {
	margin: 0 0 12px;
	font-size: 0.82rem;
	color: var(--soft);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	margin-top: 48px;
	background: var(--line);
	border: 1px solid var(--line);
}

.post-nav a {
	padding: 18px;
	background: var(--surface);
	text-decoration: none;
}

.sitemap-hero {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	padding: clamp(32px, 6vw, 72px);
	border: 1px solid var(--line);
	border-radius: 18px;
	background:
		linear-gradient(135deg, rgba(100, 231, 255, 0.08), transparent 48%),
		rgba(255, 255, 255, 0.035);
	box-shadow: var(--glow);
}

.sitemap-hero h1 {
	margin: 0;
	font-family: ui-serif, Georgia, "Times New Roman", serif;
	font-size: clamp(3rem, 8vw, 7rem);
	line-height: 0.92;
}

.sitemap-hero p {
	max-width: 680px;
	margin: 18px 0 0;
	color: var(--muted);
	font-size: clamp(1rem, 1.5vw, 1.22rem);
}

.sitemap-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.sitemap-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin-top: 18px;
	border: 1px solid var(--line);
	background: var(--line);
}

.sitemap-stats div {
	padding: clamp(16px, 3vw, 24px);
	background:
		linear-gradient(135deg, rgba(100, 231, 255, 0.055), transparent 48%),
		rgba(10, 14, 18, 0.94);
}

.sitemap-stats strong {
	display: block;
	color: var(--text);
	font-family: ui-serif, Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 5vw, 3.8rem);
	line-height: 1;
}

.sitemap-stats span {
	color: var(--muted);
	font-size: 0.9rem;
}

.sitemap-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	padding-block: 24px 54px;
}

.sitemap-panel {
	min-width: 0;
	padding: clamp(18px, 3vw, 28px);
	border: 1px solid var(--line);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.028);
}

.sitemap-panel-wide {
	grid-column: 1 / -1;
}

.sitemap-panel-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
	border-bottom: 1px solid var(--line);
	padding-bottom: 12px;
}

.sitemap-panel-header h2 {
	margin: 0;
	font-family: ui-serif, Georgia, "Times New Roman", serif;
	font-size: clamp(1.5rem, 3vw, 2.4rem);
	line-height: 1;
}

.sitemap-panel-header span {
	color: var(--cyan);
	font-size: 0.82rem;
}

.sitemap-list {
	list-style: none;
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
}

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

.sitemap-list li {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.sitemap-list a {
	color: var(--text);
	text-decoration: none;
}

.sitemap-list a:hover {
	color: var(--cyan);
}

.sitemap-list time {
	color: var(--soft);
	font-size: 0.78rem;
}

.sitemap-discovery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.sitemap-discovery a {
	display: block;
	border: 1px solid rgba(100, 231, 255, 0.24);
	border-radius: 12px;
	padding: 14px;
	background: rgba(100, 231, 255, 0.055);
	text-decoration: none;
}

.sitemap-search-panel {
	background:
		radial-gradient(circle at 85% 0%, rgba(141, 240, 192, 0.12), transparent 24rem),
		linear-gradient(135deg, rgba(100, 231, 255, 0.07), rgba(255, 255, 255, 0.02));
}

.sitemap-search-panel p {
	max-width: 720px;
	margin: -4px 0 18px;
	color: var(--muted);
}

.sitemap-search-panel .search-form {
	width: min(760px, 100%);
}

.sitemap-search-panel .search-shell,
.sitemap-search-panel .search-field {
	width: 100%;
}

.sitemap-search-panel .search-field {
	min-height: 48px;
	font-size: 1rem;
}

.site-footer {
	border-top: 1px solid var(--line);
	background:
		linear-gradient(180deg, rgba(100, 231, 255, 0.04), transparent 38%),
		#050608;
}

.site-footer-inner {
	display: grid;
	gap: 22px;
	padding-block: clamp(28px, 5vw, 54px) 24px;
	color: var(--muted);
}

.site-footer-inner > * {
	min-width: 0;
	max-width: 100%;
}

.footer-main {
	display: grid;
	grid-template-columns: minmax(280px, 1fr) minmax(320px, 0.95fr);
	gap: clamp(22px, 5vw, 56px);
	align-items: start;
	padding: clamp(20px, 4vw, 34px);
	border: 1px solid rgba(244, 241, 233, 0.12);
	border-radius: 18px;
	background:
		radial-gradient(circle at 10% 0%, rgba(100, 231, 255, 0.12), transparent 22rem),
		linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
	box-shadow: 0 22px 72px rgba(0, 0, 0, 0.28);
}

.footer-brand {
	display: flex;
	gap: 16px;
	max-width: 680px;
}

.footer-brand-mark {
	flex: 0 0 58px;
	width: 58px;
	height: 58px;
	border: 1px solid rgba(244, 241, 233, 0.26);
	border-radius: 50%;
	background: #000 url("assets/cog-lib-logo.svg") center / contain no-repeat;
	box-shadow: 0 0 34px rgba(100, 231, 255, 0.18);
}

.footer-brand strong {
	display: block;
	color: var(--text);
	font-family: ui-serif, Georgia, "Times New Roman", serif;
	font-size: clamp(1.65rem, 3vw, 2.5rem);
	line-height: 1;
}

.footer-brand p {
	margin: 12px 0 0;
	max-width: 48rem;
	color: #d7d2c7;
	font-size: 1rem;
	line-height: 1.55;
}

.footer-nav {
	justify-self: end;
	width: min(100%, 520px);
}

.footer-menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.footer-menu a {
	border: 1px solid rgba(244, 241, 233, 0.1);
	background: rgba(255, 255, 255, 0.028);
	width: 100%;
}

.footer-media-panel {
	min-width: 0;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border-top: 1px solid rgba(244, 241, 233, 0.1);
	padding-top: 16px;
	font-size: 0.86rem;
}

.footer-bottom a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--muted);
	text-decoration: none;
}

.footer-bottom a .cl-icon {
	color: var(--cyan);
	width: 16px;
	height: 16px;
}

.footer-widgets {
	display: grid;
	gap: 14px;
}

.footer-widget {
	margin: 0;
}

.footer-widget-title {
	margin: 0 0 10px;
	color: var(--text);
	font-size: 0.95rem;
	font-family: inherit;
}

.footer-widget iframe,
.footer-widget video,
.footer-widget .wp-video,
.footer-widget .mejs-container,
.footer-widget .mejs-inner,
.footer-widget .mejs-mediaelement,
.footer-widget .mejs-layers,
.footer-widget .mejs-controls {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
}

.footer-video-deck {
	position: relative;
	display: grid;
	gap: 12px;
	min-width: 0;
	padding: clamp(14px, 2.5vw, 20px);
	border: 1px solid rgba(100, 231, 255, 0.22);
	border-radius: 16px;
	background:
		linear-gradient(135deg, rgba(100, 231, 255, 0.08), transparent 42%),
		rgba(255, 255, 255, 0.035);
	box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
	overflow: hidden;
}

.video-deck-home {
	gap: 16px;
	padding: clamp(14px, 3vw, 24px);
	border-color: rgba(100, 231, 255, 0.3);
	border-radius: 18px;
	background:
		radial-gradient(circle at 12% 0%, rgba(255, 188, 107, 0.11), transparent 28rem),
		linear-gradient(135deg, rgba(100, 231, 255, 0.1), transparent 48%),
		rgba(255, 255, 255, 0.04);
}

.video-deck-home .footer-video-stage {
	aspect-ratio: 16 / 8;
	min-height: min(560px, 58svh);
	max-height: none;
}

.video-deck-home .footer-video-head span {
	font-size: 0.86rem;
}

.video-deck-home .footer-video-slide h2 {
	padding: 96px clamp(18px, 3vw, 28px) clamp(18px, 3vw, 26px);
	font-size: clamp(1.25rem, 2.8vw, 2.25rem);
}

.footer-video-deck.is-video-persistent {
	position: fixed;
	right: max(18px, calc((100vw - var(--max)) / 2));
	bottom: 18px;
	z-index: 110;
	width: min(520px, calc(100vw - 36px));
	min-height: 0;
	padding: 10px;
	border-color: rgba(100, 231, 255, 0.5);
	border-radius: 14px;
	background: rgba(5, 8, 10, 0.94);
	box-shadow: 0 24px 90px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(244, 241, 233, 0.08) inset;
	backdrop-filter: blur(16px);
}

.admin-bar .footer-video-deck.is-video-persistent {
	bottom: 26px;
}

.footer-video-deck.is-video-persistent .footer-video-head span::before {
	content: "Now playing · ";
	color: var(--cyan);
}

.footer-video-deck.is-video-persistent .footer-video-stage {
	aspect-ratio: 16 / 9;
	min-height: 0;
	max-height: none;
}

.footer-video-deck.is-video-persistent .footer-video-slide h2 {
	padding: 46px 12px 12px;
	font-size: 0.98rem;
}

.video-deck-placeholder {
	position: relative;
	display: grid;
	place-items: end start;
	min-height: min(560px, 58svh);
	min-width: 0;
	padding: clamp(18px, 4vw, 34px);
	border: 1px solid rgba(100, 231, 255, 0.24);
	border-radius: 18px;
	background:
		linear-gradient(180deg, rgba(3, 4, 5, 0.1), rgba(3, 4, 5, 0.72)),
		radial-gradient(circle at 18% 8%, rgba(255, 188, 107, 0.18), transparent 28rem),
		url("assets/images/archive-memory-960.webp") center / cover no-repeat,
		#050608;
	box-shadow: var(--glow);
	overflow: hidden;
}

.video-deck-placeholder::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
	background-size: 54px 54px;
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
	pointer-events: none;
}

.video-deck-placeholder::after {
	content: "";
	position: absolute;
	right: clamp(18px, 4vw, 42px);
	top: clamp(18px, 4vw, 42px);
	width: clamp(64px, 11vw, 120px);
	aspect-ratio: 1;
	background: url("assets/cog-lib-logo.svg") center / contain no-repeat;
	filter: drop-shadow(0 0 28px rgba(100, 231, 255, 0.28));
	opacity: 0.88;
}

.has-video-persistent body {
	padding-bottom: 210px;
}

.footer-video-deck::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(90deg, transparent, rgba(100, 231, 255, 0.12), transparent);
	opacity: 0.35;
}

.footer-video-head,
.footer-video-dots {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.footer-video-head span {
	color: var(--text);
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.footer-video-controls {
	display: flex;
	gap: 6px;
}

.footer-video-controls button,
.footer-video-dots button {
	border: 1px solid rgba(100, 231, 255, 0.32);
	background: rgba(255, 255, 255, 0.045);
	color: var(--text);
	cursor: pointer;
}

.footer-video-controls button {
	width: 34px;
	height: 30px;
	border-radius: 999px;
	font-size: 1.1rem;
	line-height: 1;
}

.footer-video-stage {
	position: relative;
	z-index: 1;
	aspect-ratio: 16 / 7;
	max-height: 420px;
	overflow: hidden;
	border-radius: 12px;
	background:
		linear-gradient(180deg, rgba(3, 4, 5, 0.08), rgba(3, 4, 5, 0.78)),
		url("assets/images/hero-cognitive-liberty-960.webp") center / cover no-repeat,
		#030405;
}

.footer-video-slide {
	position: absolute;
	inset: 0;
	display: grid;
	align-content: end;
	opacity: 0;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(3, 4, 5, 0.06), rgba(3, 4, 5, 0.86)),
		var(--video-poster) center / cover no-repeat,
		#071015;
}

.footer-video-slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.footer-video-slide iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: transparent;
	opacity: 1;
	transition: opacity 180ms ease;
}

.footer-video-slide iframe:not([src]) {
	opacity: 0;
	pointer-events: none;
}

.video-consent {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: grid;
	place-items: center;
	gap: 18px;
	padding: clamp(18px, 4vw, 34px);
	background:
		radial-gradient(circle at 50% 20%, rgba(100, 231, 255, 0.17), transparent 22rem),
		linear-gradient(180deg, rgba(3, 4, 5, 0.72), rgba(3, 4, 5, 0.93));
	text-align: center;
}

.video-consent[hidden],
.has-youtube-consent .video-consent {
	display: none;
}

.video-consent > div {
	max-width: 540px;
}

.video-consent strong {
	display: block;
	color: var(--text);
	font-family: ui-serif, Georgia, "Times New Roman", serif;
	font-size: clamp(1.35rem, 3vw, 2.15rem);
	line-height: 1.05;
}

.video-consent p {
	margin: 10px 0 0;
	color: #d7d2c7;
	font-size: 0.96rem;
	line-height: 1.45;
}

.video-consent button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border: 1px solid rgba(100, 231, 255, 0.46);
	border-radius: var(--radius);
	padding: 10px 16px;
	background: rgba(100, 231, 255, 0.16);
	color: var(--text);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34), 0 0 28px rgba(100, 231, 255, 0.12);
}

.video-consent button:hover,
.video-consent button:focus-visible {
	border-color: rgba(100, 231, 255, 0.76);
	background: rgba(100, 231, 255, 0.24);
	outline: none;
}

.footer-video-slide h2 {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 54px 14px 14px;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
	color: var(--text);
	font-size: clamp(0.95rem, 2vw, 1.25rem);
	line-height: 1.15;
}

.footer-video-dots {
	justify-content: center;
}

.footer-video-dots button {
	width: 8px;
	height: 8px;
	padding: 0;
	border-radius: 999px;
}

.footer-video-dots button.is-active {
	width: 24px;
	background: var(--cyan);
}

.js .section:not(.is-visible):not(.reveal-done),
.js .article-card:not(.is-visible):not(.reveal-done),
.js .article-row:not(.is-visible):not(.reveal-done),
.js .archive-workbench:not(.is-visible):not(.reveal-done) {
	opacity: 0.001;
	transform: translateY(18px);
}

.reveal-ready {
	opacity: 0.001;
	transform: translateY(18px);
	transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-ready.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.reveal-ready.reveal-done {
	transition: none;
}

@keyframes cl-mark-pulse {
	0%,
	100% {
		box-shadow: 0 0 24px rgba(100, 231, 255, 0.14);
	}

	50% {
		box-shadow: 0 0 34px rgba(100, 231, 255, 0.34);
	}
}

@keyframes search-sheen {
	0%,
	100% {
		transform: translateX(-34%);
	}

	48% {
		transform: translateX(34%);
	}
}

@keyframes button-sheen {
	to {
		transform: translateX(130%);
	}
}

@keyframes share-panel-in {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.96);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	.reveal-ready {
		opacity: 1;
		transform: none;
	}

	.js .section,
	.js .article-card,
	.js .article-row,
	.js .archive-workbench {
		opacity: 1 !important;
		transform: none !important;
	}

	.semantic-search:focus-within::before,
	.semantic-search:focus-within .search-submit::after,
	.search-submit:hover::after,
	.share-panel {
		animation: none;
	}
}

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

@media (max-width: 1180px) {
	.brand {
		min-width: 260px;
		max-width: 330px;
	}

	.primary-menu a {
		padding-inline: 8px;
		font-size: 0.86rem;
	}

	.nav-icon {
		width: 15px;
		height: 15px;
	}

	.header-actions {
		display: none;
	}
}

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

	.header-inner {
		min-height: 64px;
	}

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

	.site-navigation {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		border-bottom: 1px solid var(--line);
		background: rgba(5, 6, 8, 0.98);
	}

	.site-navigation.is-open {
		display: block;
	}

	.primary-menu {
		width: min(var(--max), calc(100% - 32px));
		margin: 0 auto;
		padding: 10px 0 18px;
		display: grid;
		justify-content: stretch;
	}

	.primary-menu a {
		justify-content: flex-start;
		white-space: normal;
	}

	.header-actions {
		display: none;
	}

	.hero,
	.content-shell,
	.manifesto {
		grid-template-columns: 1fr;
	}

	.hero {
		min-height: auto;
	}

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

	.native-archive-grid,
	.native-page-list {
		grid-template-columns: 1fr;
	}

	.mind-card {
		aspect-ratio: 16 / 10;
	}

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

	.article-row {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.entry-sidebar {
		position: static;
		border-left: 0;
		border-top: 1px solid var(--line);
		padding: 18px 0 0;
	}

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

	.footer-nav {
		justify-self: stretch;
	}

	.sitemap-hero {
		display: grid;
		align-items: start;
		padding: 28px;
	}

	.sitemap-grid,
	.sitemap-columns,
	.sitemap-discovery {
		grid-template-columns: 1fr;
	}

	.sitemap-panel-header {
		display: grid;
		align-items: start;
	}

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

	.hero-video-meta {
		display: grid;
		align-items: start;
	}

	.footer-video-stage {
		aspect-ratio: 16 / 10;
	}

	.search-form {
		width: 100%;
	}

	.search-shell,
	.search-field {
		width: 100%;
	}

	.semantic-search:focus-within .search-field {
		width: 100%;
	}

	.search-suggestions {
		left: 0;
		right: auto;
		width: min(100%, calc(100vw - 32px));
	}
}

@media (max-width: 560px) {
	body {
		font-size: 16px;
	}

	.header-inner,
	.site-main,
	.site-footer-inner {
		width: min(var(--max), calc(100% - 22px));
	}

	.brand {
		min-width: 0;
	}

	.brand-subtitle {
		display: none;
	}

	.hero h1 {
		font-size: clamp(2.7rem, 14vw, 5rem);
	}

	.hero-title-lockup {
		gap: 12px;
	}

	.hero-dove {
		flex-basis: clamp(58px, 18vw, 78px);
		width: clamp(58px, 18vw, 78px);
	}

	.mind-card {
		aspect-ratio: 4 / 3;
	}

	.mind-card figcaption {
		inset: auto 14px 14px;
	}

	.sitemap-hero {
		padding: 22px;
		border-radius: 14px;
	}

	.sitemap-hero h1 {
		font-size: clamp(2.8rem, 18vw, 4.8rem);
	}

	.sitemap-panel {
		border-radius: 14px;
		padding: 16px;
	}

	.footer-video-deck {
		margin-inline: -1px;
		padding: 11px;
		border-radius: 14px;
	}

	.share-dock {
		left: 11px;
		right: 11px;
		bottom: 11px;
		justify-items: stretch;
	}

	.share-trigger {
		justify-self: start;
		min-width: 46px;
		padding-inline: 13px;
	}

	.share-panel {
		grid-template-columns: 1fr;
		width: 100%;
		min-width: 0;
		border-radius: 16px;
	}

	.share-panel button {
		justify-content: flex-start;
		min-height: 48px;
	}

	.footer-video-deck.is-video-persistent {
		left: 10px;
		right: 10px;
		bottom: 10px;
		width: auto;
	}

	.footer-video-deck.is-video-persistent .footer-video-head {
		gap: 8px;
	}

	.footer-video-deck.is-video-persistent .footer-video-stage {
		aspect-ratio: 16 / 10;
	}

	.has-video-persistent body {
		padding-bottom: 260px;
	}

	.footer-main {
		padding: 18px;
		border-radius: 14px;
	}

	.footer-brand {
		display: grid;
	}

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

	.footer-bottom {
		display: grid;
		align-items: start;
	}

	.footer-video-stage {
		aspect-ratio: 4 / 3;
	}

	.section-header {
		display: grid;
		gap: 14px;
	}

	.section-header .button {
		margin-left: 0;
	}

	.archive-scroll {
		max-width: 100%;
		overflow-x: hidden;
	}

	.archive-scroll > *,
	.archive-scroll figure,
	.archive-scroll .wp-caption,
	.archive-scroll .n2-section-smartslider,
	.archive-scroll .n2-ss-slider,
	.archive-scroll .n2-ss-align,
	.archive-scroll .n2-ss-slider-wrapper-inside,
	.archive-scroll .n2-ss-reveal-clip,
	.archive-scroll .n2-ss-showcase-slides,
	.archive-scroll .n2-ss-slide,
	.archive-scroll .n2-ss-layers-container {
		max-width: 100% !important;
	}

	.archive-scroll img,
	.archive-scroll .wp-caption img,
	.archive-scroll .wp-caption a,
	.archive-scroll iframe,
	.archive-scroll video {
		width: auto !important;
		max-width: 100% !important;
		height: auto;
	}

	.article-list,
	.article-row,
	.article-row > * {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}
}
