/*
Theme Name: Anti-Christ Thin Veil
Theme URI: https://anti-christ.net
Author: Custom Theme Build
Description: A privacy-first gothic civic journal theme for lawful dissent, civil liberties writing, anti-corporate critique, and philosophical essays. No external fonts, trackers, or third-party assets.
Version: 3.11.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: anti-christ-thin-veil
Tags: blog, custom-menu, featured-images, dark, editor-style
*/

:root {
	--actv-void: #050404;
	--actv-ash: #12100f;
	--actv-concrete: #1d1b19;
	--actv-smoke: #2b2925;
	--actv-bone: #efe7d1;
	--actv-paper: #cfc3a2;
	--actv-dim: #92866e;
	--actv-red: #8f201f;
	--actv-red-dark: #4e0e0d;
	--actv-gold: #a47f37;
	--actv-terminal: #6bd6a1;
	--actv-border: rgba(239, 231, 209, 0.18);
	--actv-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
	--actv-radius: 8px;
	--actv-display: "Old English Text MT", "Blackletter", "Cinzel", "Trajan Pro", Georgia, serif;
	--actv-serif: Georgia, "Times New Roman", serif;
	--actv-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	--actv-width: 1180px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		linear-gradient(135deg, rgba(143, 32, 31, 0.18), transparent 44rem),
		linear-gradient(215deg, rgba(107, 214, 161, 0.06), transparent 34rem),
		linear-gradient(135deg, rgba(255, 255, 255, 0.025) 25%, transparent 25%),
		var(--actv-void);
	background-size: auto, auto, 9px 9px, auto;
	color: var(--actv-bone);
	font-family: var(--actv-serif);
	font-size: 17px;
	line-height: 1.65;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: -1;
	background:
		linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
	background-size: 38px 38px;
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 88%);
}

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

a {
	color: var(--actv-bone);
	text-decoration-color: rgba(164, 127, 55, 0.55);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

a:hover,
a:focus {
	color: var(--actv-terminal);
}

:focus-visible {
	outline: 2px solid var(--actv-terminal);
	outline-offset: 4px;
}

::selection {
	background: var(--actv-red);
	color: var(--actv-bone);
}

.screen-reader-text,
.skip-link {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	left: 1rem;
	padding: 0.85rem 1rem;
	position: fixed;
	top: 1rem;
	width: auto;
	z-index: 9999;
	background: var(--actv-bone);
	color: var(--actv-void);
	font-family: var(--actv-mono);
	font-size: 0.9rem;
	text-transform: uppercase;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid var(--actv-border);
	background: rgba(5, 4, 4, 0.86);
	backdrop-filter: blur(10px);
}

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

.header-inner,
.footer-inner,
.site-main,
.entry-shell,
.archive-shell {
	width: min(var(--actv-width), calc(100% - 2rem));
	margin-inline: auto;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: nowrap;
	min-height: 64px;
	padding: 0.45rem 0;
}

.site-branding {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 0.65rem;
	min-width: max-content;
}

.brand-mark {
	display: grid;
	grid-template-columns: 36px 1fr;
	align-items: center;
	gap: 0.62rem;
	text-decoration: none;
}

.brand-mark img,
.custom-logo {
	width: 36px;
	height: 36px;
	border: 1px solid rgba(164, 127, 55, 0.55);
	border-radius: 50%;
	background: var(--actv-ash);
	box-shadow: 0 0 18px rgba(143, 32, 31, 0.28);
}

.brand-name {
	display: block;
	font-family: var(--actv-display);
	font-size: 1.22rem;
	letter-spacing: 0.04em;
	line-height: 1;
}

.brand-subtitle {
	display: block;
	font-family: var(--actv-mono);
	font-size: 0.55rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--actv-dim);
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 0.5rem;
	border: 1px solid var(--actv-border);
	background: rgba(255, 255, 255, 0.04);
	color: var(--actv-bone);
	border-radius: 999px;
	padding: 0.55rem 0.8rem;
	font-family: var(--actv-mono);
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	width: 1.4rem;
	height: 1px;
	background: currentColor;
	box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}

.primary-menu,
.footer-menu {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0.12rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--actv-mono);
	font-size: 0.64rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.primary-menu a,
.footer-menu a {
	display: block;
	padding: 0.42rem 0.48rem;
	border: 1px solid transparent;
	border-radius: 999px;
	text-decoration: none;
	color: var(--actv-paper);
	white-space: nowrap;
}

.footer-menu {
	flex-wrap: wrap;
	gap: 0.25rem;
	font-size: 0.74rem;
	letter-spacing: 0.08em;
}

.footer-menu a {
	padding: 0.65rem 0.72rem;
	white-space: normal;
}

.primary-menu a:hover,
.primary-menu a:focus,
.primary-menu .current-menu-item > a,
.footer-menu a:hover,
.footer-menu a:focus {
	border-color: var(--actv-border);
	background: rgba(164, 127, 55, 0.08);
	color: var(--actv-bone);
}

.primary-nav {
	flex: 1 1 auto;
	min-width: 0;
	margin-left: auto;
}

.member-entry-link {
	display: none;
	align-items: center;
	justify-content: center;
	min-height: 2.55rem;
	white-space: nowrap;
	border: 1px solid rgba(107, 214, 161, 0.38);
	border-radius: 999px;
	background: rgba(107, 214, 161, 0.08);
	color: var(--actv-terminal);
	font-family: var(--actv-mono);
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	line-height: 1;
	padding: 0.65rem 0.78rem;
	text-decoration: none;
	text-transform: uppercase;
}

.member-entry-link:hover,
.member-entry-link:focus {
	border-color: rgba(107, 214, 161, 0.72);
	color: var(--actv-bone);
}

.site-main {
	padding: clamp(2rem, 5vw, 5rem) 0;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
	gap: clamp(1.5rem, 5vw, 4rem);
	align-items: center;
	min-height: min(780px, calc(100vh - 110px));
}

.section-label,
.card-kicker,
.entry-meta-line,
.archive-kicker {
	font-family: var(--actv-mono);
	font-size: 0.74rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--actv-terminal);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--actv-display);
	font-weight: 700;
	line-height: 0.96;
	margin: 0 0 1rem;
	color: var(--actv-bone);
}

h1 {
	font-size: clamp(3rem, 5rem, 5.6rem);
	letter-spacing: 0;
	text-wrap: balance;
}

h2 {
	font-size: clamp(2rem, 3.4rem, 3.7rem);
	letter-spacing: 0;
}

h3 {
	font-size: clamp(1.35rem, 1.8rem, 1.95rem);
	letter-spacing: 0;
}

p {
	margin-top: 0;
}

.lead,
.archive-lead,
.entry-summary-large {
	font-size: clamp(1.05rem, 1.2rem, 1.25rem);
	color: var(--actv-paper);
	max-width: 760px;
}

.hero-copy {
	position: relative;
}

.hero-copy h1 span {
	color: var(--actv-red);
	text-shadow: 0 0 30px rgba(143, 32, 31, 0.55);
}

.hero-actions,
.section-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.6rem;
}

.button,
.wp-block-button__link,
.comment-reply-link,
.form-submit .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	border-radius: 999px;
	border: 1px solid var(--actv-border);
	padding: 0.78rem 1.05rem;
	font-family: var(--actv-mono);
	font-size: 0.76rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}

.button-primary,
.wp-block-button__link,
.form-submit .submit {
	background: linear-gradient(135deg, var(--actv-red), var(--actv-red-dark));
	color: var(--actv-bone);
	box-shadow: 0 14px 40px rgba(143, 32, 31, 0.28);
}

.button-ghost,
.comment-reply-link {
	background: rgba(255, 255, 255, 0.035);
	color: var(--actv-paper);
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
.form-submit .submit:hover,
.form-submit .submit:focus {
	transform: translateY(-1px);
	color: var(--actv-bone);
	border-color: rgba(107, 214, 161, 0.55);
}

.sigil-card {
	position: relative;
	min-height: 430px;
	border: 1px solid var(--actv-border);
	border-radius: var(--actv-radius);
	background:
		linear-gradient(160deg, rgba(143, 32, 31, 0.2), transparent 40%),
		linear-gradient(0deg, rgba(239, 231, 209, 0.06), rgba(239, 231, 209, 0.02));
	box-shadow: var(--actv-shadow);
	overflow: hidden;
}

.sigil-card::before,
.sigil-card::after {
	content: "";
	position: absolute;
	inset: 1rem;
	border: 1px solid rgba(164, 127, 55, 0.32);
	border-radius: var(--actv-radius);
}

.sigil-card::after {
	inset: 3rem;
	border-color: rgba(107, 214, 161, 0.25);
	transform: rotate(6deg);
}

.sigil-card img {
	position: absolute;
	inset: 50% auto auto 50%;
	width: min(260px, 65%);
	transform: translate(-50%, -50%);
	filter: drop-shadow(0 0 38px rgba(143, 32, 31, 0.45));
}

.signal-line {
	position: absolute;
	left: 1.4rem;
	right: 1.4rem;
	bottom: 1.4rem;
	font-family: var(--actv-mono);
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--actv-terminal);
	border-top: 1px solid var(--actv-border);
	padding-top: 1rem;
}

.section-block {
	padding: clamp(2.5rem, 6vw, 5.5rem) 0;
	border-top: 1px solid var(--actv-border);
}

.section-head {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(250px, 0.55fr);
	gap: 2rem;
	align-items: end;
	margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.section-head p {
	color: var(--actv-paper);
}

.manifesto-statement {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.statement-cell,
.veil-card,
.resource-card,
.archive-node,
.contact-panel,
.page-authored-content,
.entry-content,
.comment-body {
	border: 1px solid var(--actv-border);
	border-radius: var(--actv-radius);
	background:
		linear-gradient(180deg, rgba(239, 231, 209, 0.06), rgba(239, 231, 209, 0.025)),
		rgba(18, 16, 15, 0.78);
	box-shadow: 0 16px 60px rgba(0, 0, 0, 0.26);
}

.statement-cell {
	padding: 1.25rem;
	min-height: 210px;
}

.statement-cell strong {
	display: block;
	font-family: var(--actv-display);
	font-size: 2rem;
	line-height: 0.9;
	color: var(--actv-bone);
	margin-bottom: 1rem;
}

.statement-cell p {
	color: var(--actv-paper);
	font-size: 0.98rem;
}

.post-grid,
.resource-grid,
.archive-grid,
.two-column-grid,
.three-column-grid {
	display: grid;
	gap: 1rem;
}

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

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

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

.post-card {
	position: relative;
	overflow: hidden;
}

.post-card::before,
.resource-card::before,
.archive-node::before,
.contact-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(130deg, rgba(143, 32, 31, 0.14), transparent 42%);
	opacity: 0.7;
}

.post-card-link,
.resource-card,
.archive-node,
.contact-panel,
.entry-content,
.page-authored-content {
	position: relative;
	display: block;
	padding: clamp(1.15rem, 2.8vw, 1.8rem);
	text-decoration: none;
	min-width: 0;
}

.post-card h3,
.resource-card h3,
.archive-node h3 {
	margin-top: 1rem;
}

.post-card p,
.resource-card p,
.archive-node p,
.contact-panel p {
	color: var(--actv-paper);
}

.post-card:hover,
.resource-card:hover,
.archive-node:hover {
	border-color: rgba(107, 214, 161, 0.35);
	transform: translateY(-2px);
}

.post-card,
.resource-card,
.archive-node {
	transition: transform 160ms ease, border-color 160ms ease;
}

.archive-node.is-featured,
.dossier-feature .contact-panel {
	border-color: rgba(107, 214, 161, 0.38);
	background:
		linear-gradient(145deg, rgba(107, 214, 161, 0.1), transparent 42%),
		linear-gradient(180deg, rgba(239, 231, 209, 0.07), rgba(239, 231, 209, 0.025)),
		rgba(18, 16, 15, 0.84);
}

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

.taxonomy-strip,
.footer-standard-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}

.taxonomy-strip span,
.taxonomy-strip a,
.footer-standard-links a {
	display: inline-flex;
	align-items: center;
	min-height: 2.4rem;
	border: 1px solid var(--actv-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.035);
	color: var(--actv-paper);
	font-family: var(--actv-mono);
	font-size: 0.74rem;
	letter-spacing: 0.08em;
	line-height: 1.2;
	padding: 0.62rem 0.84rem;
	text-decoration: none;
	text-transform: uppercase;
}

.taxonomy-strip a:hover,
.taxonomy-strip a:focus,
.footer-standard-links a:hover,
.footer-standard-links a:focus {
	border-color: rgba(107, 214, 161, 0.45);
	color: var(--actv-terminal);
}

.taxonomy-grid,
.dossier-grid {
	display: grid;
	gap: 1rem;
}

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

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

.dossier-panel {
	border: 1px solid var(--actv-border);
	border-radius: var(--actv-radius);
	background:
		linear-gradient(180deg, rgba(239, 231, 209, 0.06), rgba(239, 231, 209, 0.025)),
		rgba(18, 16, 15, 0.78);
	box-shadow: 0 16px 60px rgba(0, 0, 0, 0.26);
	padding: clamp(1.15rem, 1.8rem, 2rem);
}

.dossier-panel p,
.dossier-panel li {
	color: var(--actv-paper);
}

.source-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}

.source-list li {
	border: 1px solid var(--actv-border);
	border-radius: var(--actv-radius);
	background: rgba(255, 255, 255, 0.03);
	min-width: 0;
}

.source-list a {
	display: block;
	padding: 0.95rem 1rem;
	overflow-wrap: anywhere;
}

.entry-taxonomy-links,
.entry-standards-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 1rem;
}

.entry-standards-links a,
.entry-taxonomy-links a {
	border: 1px solid var(--actv-border);
	border-radius: 999px;
	color: var(--actv-paper);
	font-family: var(--actv-mono);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	padding: 0.52rem 0.75rem;
	text-decoration: none;
	text-transform: uppercase;
}

.entry-standards-links a:hover,
.entry-standards-links a:focus,
.entry-taxonomy-links a:hover,
.entry-taxonomy-links a:focus {
	border-color: rgba(107, 214, 161, 0.45);
	color: var(--actv-terminal);
}

.critique-list,
.civic-list,
.protocol-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.8rem;
}

.critique-list li,
.civic-list li,
.protocol-list li {
	position: relative;
	padding: 0.9rem 0.95rem 0.9rem 2.25rem;
	border: 1px solid var(--actv-border);
	border-radius: var(--actv-radius);
	background: rgba(255, 255, 255, 0.028);
	color: var(--actv-paper);
}

.critique-list li::before,
.civic-list li::before,
.protocol-list li::before {
	content: "//";
	position: absolute;
	left: 0.85rem;
	top: 0.9rem;
	font-family: var(--actv-mono);
	color: var(--actv-terminal);
}

.archive-strip {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.archive-callout {
	border-left: 2px solid var(--actv-red);
	padding: 1.2rem;
	background: rgba(143, 32, 31, 0.08);
	color: var(--actv-paper);
}

.contact-ritual {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.45fr);
	gap: 1rem;
}

.contact-panel .button {
	margin-top: 1rem;
}

.terminal-box {
	font-family: var(--actv-mono);
	font-size: 0.84rem;
	line-height: 1.75;
	color: var(--actv-terminal);
	border: 1px solid rgba(107, 214, 161, 0.28);
	border-radius: var(--actv-radius);
	background: rgba(3, 10, 7, 0.76);
	padding: 1.25rem;
	box-shadow: inset 0 0 42px rgba(107, 214, 161, 0.08);
}

.terminal-box p,
.terminal-box li {
	color: var(--actv-terminal);
}

.field-guide-band {
	position: relative;
}

.field-guide-grid,
.research-strip {
	display: grid;
	gap: 1rem;
}

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

.front-field-guide-grid {
	grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.7fr));
}

.field-guide-card,
.research-strip > div {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--actv-border);
	border-radius: var(--actv-radius);
	background:
		linear-gradient(180deg, rgba(239, 231, 209, 0.06), rgba(239, 231, 209, 0.025)),
		rgba(18, 16, 15, 0.78);
	box-shadow: 0 16px 60px rgba(0, 0, 0, 0.26);
	padding: clamp(1.15rem, 2.8vw, 1.8rem);
	text-decoration: none;
}

.field-guide-card {
	display: block;
	min-height: 320px;
	overflow-wrap: anywhere;
	transition: transform 160ms ease, border-color 160ms ease;
}

.field-guide-card::before,
.research-strip > div::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(145deg, rgba(107, 214, 161, 0.12), transparent 38%),
		linear-gradient(28deg, transparent 62%, rgba(143, 32, 31, 0.16));
}

.field-guide-card > *,
.research-strip > div > * {
	position: relative;
}

.field-guide-card:hover,
.field-guide-card:focus {
	border-color: rgba(107, 214, 161, 0.42);
	transform: translateY(-2px);
}

.field-guide-card.is-wide {
	grid-column: span 2;
}

.field-guide-number {
	position: absolute;
	right: 1rem;
	top: 0.65rem;
	font-family: var(--actv-display);
	font-size: 4rem;
	line-height: 1;
	color: rgba(239, 231, 209, 0.07);
}

.field-guide-card h3,
.research-strip h3 {
	max-width: 16ch;
	margin-top: 1.2rem;
}

.field-guide-card p,
.research-strip p {
	color: var(--actv-paper);
}

.field-guide-protocol {
	align-items: stretch;
}

.field-guide-protocol .entry-content,
.field-guide-protocol .terminal-box {
	min-height: 100%;
}

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

.research-strip > div {
	min-height: 280px;
}

.member-system-grid,
.member-auth-grid,
.member-submit-layout {
	display: grid;
	gap: 1rem;
}

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

.member-auth-grid,
.member-submit-layout {
	grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.42fr);
	align-items: start;
}

.member-card,
.age-gate-panel,
.member-auth-panel,
.member-side-panel,
.dispatch-form {
	border: 1px solid var(--actv-border);
	border-radius: var(--actv-radius);
	background:
		linear-gradient(180deg, rgba(239, 231, 209, 0.06), rgba(239, 231, 209, 0.025)),
		rgba(18, 16, 15, 0.78);
	box-shadow: 0 16px 60px rgba(0, 0, 0, 0.26);
}

.member-card,
.age-gate-panel,
.member-auth-panel,
.member-side-panel,
.dispatch-form {
	padding: clamp(1.15rem, 2.8vw, 1.8rem);
}

.member-card {
	position: relative;
	display: block;
	min-height: 270px;
	overflow: hidden;
	text-decoration: none;
	transition: transform 160ms ease, border-color 160ms ease;
}

.member-card::before,
.age-gate-panel::before,
.member-auth-panel::before,
.member-side-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(130deg, rgba(107, 214, 161, 0.1), transparent 46%);
	opacity: 0.75;
}

.member-card,
.age-gate-panel,
.member-auth-panel,
.member-side-panel {
	position: relative;
}

.member-card > *,
.age-gate-panel > *,
.member-auth-panel > *,
.member-side-panel > * {
	position: relative;
}

.member-card:hover,
.member-card:focus {
	border-color: rgba(107, 214, 161, 0.42);
	transform: translateY(-2px);
}

.member-card p,
.age-gate-panel p,
.member-auth-panel p,
.member-side-panel p {
	color: var(--actv-paper);
}

.member-card .button,
.member-auth-panel .button,
.member-side-panel .button {
	margin-top: 0.7rem;
	margin-right: 0.45rem;
}

.age-gate-panel {
	max-width: 920px;
	margin-inline: auto;
}

.member-alert {
	border: 1px solid rgba(164, 127, 55, 0.42);
	border-radius: var(--actv-radius);
	background: rgba(164, 127, 55, 0.1);
	color: var(--actv-bone);
	margin: 0 0 1rem;
	padding: 1rem 1.1rem;
}

.member-alert.is-success {
	border-color: rgba(107, 214, 161, 0.42);
	background: rgba(107, 214, 161, 0.1);
}

.member-form {
	display: grid;
	gap: 1rem;
}

.member-form p {
	margin: 0;
}

.member-form textarea {
	resize: vertical;
}

.member-form input[type="submit"],
.member-auth-panel input[type="submit"],
.pdb-member-panel input[type="submit"],
.pdb-member-panel button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	border-radius: 999px;
	border: 1px solid var(--actv-border);
	background: linear-gradient(135deg, var(--actv-red), var(--actv-red-dark));
	color: var(--actv-bone);
	font-family: var(--actv-mono);
	font-size: 0.76rem;
	letter-spacing: 0.14em;
	padding: 0.78rem 1.05rem;
	text-transform: uppercase;
}

.checkbox-line {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.7rem;
	align-items: start;
	font-family: var(--actv-serif);
	font-size: 1rem;
	letter-spacing: 0;
	text-transform: none;
}

.checkbox-line input {
	width: auto;
	margin-top: 0.3rem;
}

.member-form-note {
	font-size: 0.95rem;
	margin-top: 1rem;
}

.pdb-member-panel {
	margin-top: 1.25rem;
}

.pdb-member-panel table {
	width: 100%;
	border-collapse: collapse;
}

.pdb-member-panel td,
.pdb-member-panel th {
	border-color: var(--actv-border);
	padding: 0.45rem;
}

.pdb-member-panel input[type="checkbox"],
.pdb-member-panel input[type="radio"] {
	width: auto;
}

.hidden-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.archive-hero,
.entry-header,
.page-hero,
.not-found {
	padding: clamp(2rem, 6vw, 5rem) 0 clamp(1.5rem, 4vw, 3rem);
	border-bottom: 1px solid var(--actv-border);
	margin-bottom: clamp(2rem, 5vw, 4rem);
}

.archive-hero h1,
.entry-title,
.page-hero h1 {
	font-size: clamp(2.75rem, 4.6rem, 5rem);
}

.entry-shell,
.archive-shell {
	max-width: 920px;
}

.entry-content {
	font-size: 1.08rem;
	color: var(--actv-paper);
}

.entry-content > * + * {
	margin-top: 1.15rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 2.2rem;
	color: var(--actv-bone);
}

.entry-content blockquote,
.wp-block-quote {
	margin: 1.8rem 0;
	padding: 1.2rem 1.4rem;
	border-left: 3px solid var(--actv-red);
	background: rgba(143, 32, 31, 0.08);
	color: var(--actv-bone);
}

.entry-content code,
.entry-content pre,
.wp-block-code {
	font-family: var(--actv-mono);
	background: rgba(107, 214, 161, 0.09);
	color: var(--actv-terminal);
}

.entry-content code {
	padding: 0.08rem 0.3rem;
	border-radius: 6px;
}

.entry-content pre,
.wp-block-code {
	padding: 1rem;
	overflow-x: auto;
	border: 1px solid rgba(107, 214, 161, 0.25);
	border-radius: var(--actv-radius);
}

.entry-footer,
.post-navigation,
.posts-navigation,
.comments-area {
	margin-top: 2rem;
}

.post-navigation .nav-links,
.posts-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	font-family: var(--actv-mono);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.comment-list {
	list-style: none;
	padding: 0;
}

.comment-body {
	padding: 1.2rem;
	margin-bottom: 1rem;
}

input,
textarea,
select {
	width: 100%;
	border: 1px solid var(--actv-border);
	border-radius: var(--actv-radius);
	background: rgba(255, 255, 255, 0.035);
	color: var(--actv-bone);
	font: inherit;
	padding: 0.8rem 0.9rem;
}

label {
	font-family: var(--actv-mono);
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--actv-paper);
}

.site-footer {
	border-top: 1px solid var(--actv-border);
	background: rgba(5, 4, 4, 0.92);
	padding: 2.4rem 0;
}

.footer-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
	gap: 1.5rem;
	align-items: start;
}

.footer-contact-links {
	border-top: 1px solid rgba(240, 233, 219, 0.16);
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	grid-template-columns: none;
	justify-content: center;
	margin-top: 1.25rem;
	padding-top: 1rem;
}

.footer-contact-links a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.footer-mark {
	font-family: var(--actv-display);
	font-size: 2.2rem;
	letter-spacing: 0;
	line-height: 1;
	margin-bottom: 0.6rem;
}

.footer-note,
.site-info {
	color: var(--actv-dim);
	font-size: 0.92rem;
}

.widget {
	margin-bottom: 1rem;
}

.widget-title {
	font-size: 1.5rem;
}

.wp-caption,
.gallery-caption {
	color: var(--actv-dim);
	font-family: var(--actv-mono);
	font-size: 0.78rem;
}

.alignwide {
	max-width: min(1100px, 100%);
}

.alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.bypostauthor .comment-body {
	border-color: rgba(164, 127, 55, 0.48);
}

@media (max-width: 980px) {
	.hero-grid,
	.section-head,
	.manifesto-statement,
	.contact-ritual,
	.archive-strip,
	.front-field-guide-grid,
	.member-auth-grid,
	.member-submit-layout,
	.footer-inner {
		grid-template-columns: 1fr;
	}

	.manifesto-statement,
	.post-grid,
	.resource-grid,
	.archive-grid,
	.pillar-grid,
	.field-guide-grid,
	.research-strip,
	.member-system-grid,
	.taxonomy-grid,
	.two-column-grid,
	.three-column-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.front-field-guide-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1100px) {
	.header-inner {
		align-items: center;
		flex-wrap: wrap;
		min-height: 58px;
		padding: 0.45rem 0;
	}

	.nav-toggle {
		display: inline-flex;
		margin-left: auto;
	}

	.primary-nav {
		display: none;
		order: 3;
		width: 100%;
	}

	.member-entry-link {
		display: none;
	}

	.primary-nav.is-open {
		display: block;
	}

	.primary-menu {
		display: grid;
		gap: 0.4rem;
		padding-top: 0.8rem;
	}

	.primary-menu a {
		border-color: var(--actv-border);
		border-radius: 12px;
		padding: 0.65rem 0.72rem;
	}
}

@media (max-width: 760px) {
	body {
		font-size: 15.5px;
	}

	.admin-bar .site-header {
		top: 0;
	}

	.hero-grid,
	.manifesto-statement,
	.post-grid,
	.resource-grid,
	.archive-grid,
	.pillar-grid,
	.field-guide-grid,
	.research-strip,
	.member-system-grid,
	.taxonomy-grid,
	.dossier-grid,
	.source-list,
	.two-column-grid,
	.three-column-grid,
	.post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	h1 {
		font-size: 3.1rem;
	}

	h2 {
		font-size: 2.25rem;
	}

	.sigil-card {
		min-height: 330px;
	}

	.field-guide-card.is-wide {
		grid-column: auto;
	}
}

@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;
	}
}
