/* ===========================================================================
   WW2 Visual Archive — ww2visualarchive
   theme-extras.css

   Everything the design system does not cover but a WordPress theme needs:
   the policy bar, the navigation actions and drawer, the sidebar layout,
   widgets, archive cards, article headers, the featured-image placements,
   comments, forms, the consent bar and the ad slots.

   Load order:  fonts.css → design-system.css → THIS → style.css

   Two rules from the original build that must not be broken here:
     1. Never put `.gold` on an element that sets its own background. `.gold`
        uses background-clip:text, so a flat background wins and hides the text.
     2. No `backdrop-filter` inside anything with `clip-path` — Chrome
        rasterises the clipped layer at the wrong scale and blurs it.
   =========================================================================== */

/* ===========================================================================
   01 · TOKENS THE DESIGN SYSTEM DOES NOT DEFINE
   =========================================================================== */

:root {
	--side-w: 320px;
	--radius: 15px;
	--radius-sm: 9px;
	--sec-pad: clamp(72px, 9vw, 124px);
	--stack: 24px;
	--wrap: 1240px;
	--touch: 44px;

	/* Section rhythm, driven by the density preset. */
	--gap-lg: clamp(34px, 4.4vw, 62px);
	--gap-md: clamp(20px, 2.6vw, 34px);
	--gap-sm: 14px;
}

/* Density preset --------------------------------------------------------- */
.density-compact {
	--sec-pad: clamp(48px, 6vw, 86px);
	--gap-lg: clamp(24px, 3vw, 42px);
	--gap-md: 18px;
}

.density-roomy {
	--sec-pad: clamp(84px, 10vw, 168px);
	--gap-lg: clamp(46px, 6vw, 84px);
	--gap-md: clamp(28px, 3.4vw, 46px);
}

/* The design system hard-codes `.sec` padding, so restate it from the token. */
.sec {
	padding: var(--sec-pad) 0;
}

.sec--tinted {
	background: rgba(28, 22, 13, 0.45);
}

.sec--tight {
	padding: clamp(46px, 5vw, 76px) 0;
}

.sec-head--sm {
	max-width: 620px;
}

h2.sec-h--sm {
	font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.sec-more {
	margin-top: 34px;
	display: flex;
	justify-content: center;
}

/* Corner treatment ------------------------------------------------------- */
.corner-sharp .plate,
.corner-sharp .archive-card,
.corner-sharp .rel-card,
.corner-sharp .feat__frame,
.corner-sharp .rel-rail__thumb,
.corner-sharp .widget,
.corner-sharp .ad-wrap {
	border-radius: 0;
}

.corner-soft .plate,
.corner-soft .archive-card,
.corner-soft .rel-card,
.corner-soft .feat__frame,
.corner-soft .widget {
	border-radius: 18px;
}

/* ===========================================================================
   02 · SIGNATURE
   =========================================================================== */

.sig {
	display: inline-block;
}

.sig-link {
	color: inherit;
	text-decoration: none;
}

.sig-mark {
	font-family: 'IBM Plex Mono', monospace;
	letter-spacing: 0.08em;
}

.sig--byline {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--brass);
}

.sig-band {
	position: relative;
	margin: 42px 0 0;
	padding: 22px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.sig-band__rule {
	display: block;
	width: 100%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(201, 150, 43, 0.42), transparent);
}

.sig-band__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	justify-content: center;
}

.sig-band__label {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 9.5px;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: var(--faint);
}

.sig-band__mark {
	font-family: Anton, sans-serif;
	font-size: clamp(1.05rem, 2.2vw, 1.45rem);
	letter-spacing: 0.04em;
	color: var(--bone);
}

.sig-band__link {
	color: var(--gold);
	text-decoration: none;
	border-bottom: 1px solid rgba(242, 206, 107, 0.34);
}

.sig-band__link:hover {
	color: var(--gold-lt);
	border-bottom-color: var(--gold-lt);
}

.sig-band__hash {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.2em;
	color: var(--brass);
}

/* ===========================================================================
   03 · POLICY STRIP (header) AND POLICY BAR (footer)
   =========================================================================== */

.policy-strip {
	position: relative;
	z-index: 60;
	background: linear-gradient(180deg, rgba(11, 9, 6, 0.98), rgba(6, 5, 4, 0.94));
	border-bottom: 1px solid rgba(201, 150, 43, 0.16);
}

.policy-strip__in {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 38px;
	padding-top: 6px;
	padding-bottom: 6px;
	flex-wrap: wrap;
}

.policy-strip__label,
.policy-strip__sig {
	font-size: 9px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--faint);
	white-space: nowrap;
}

.policy-strip__sig {
	margin-left: auto;
	color: var(--brass);
}

.policy-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.policy-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.policy-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 13px;
	border-radius: 999px;
	border: 1px solid rgba(201, 150, 43, 0.28);
	background: rgba(201, 150, 43, 0.06);
	color: var(--muted);
	font-family: 'IBM Plex Mono', monospace;
	font-size: 9.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	transition: color 0.25s, border-color 0.25s, background 0.25s;
	white-space: nowrap;
}

.policy-btn:hover,
.policy-btn:focus-visible {
	color: var(--gold-lt);
	border-color: rgba(242, 206, 107, 0.6);
	background: rgba(201, 150, 43, 0.14);
}

.policy-btn__dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--brass);
	flex: none;
}

.policy-btn--sm {
	padding: 6px 11px;
	font-size: 9px;
}

.policy-bar {
	margin-top: 46px;
	padding-top: 26px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.policy-bar__rule {
	display: block;
	width: 100%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(201, 150, 43, 0.32), transparent);
}

.policy-bar__head {
	display: flex;
	align-items: baseline;
	gap: 16px;
	flex-wrap: wrap;
}

.policy-bar__label {
	font-size: 10px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--brass);
}

.policy-bar__note {
	font-size: 11.5px;
	color: var(--faint);
}

/* ===========================================================================
   04 · NAV ACTIONS
   =========================================================================== */

.nav-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
}

.nav-cta {
	padding: 11px 20px;
	font-size: 12.5px;
	white-space: nowrap;
}

.soc-row--nav {
	gap: 7px;
}

/* Burger ---------------------------------------------------------------- */
.nav-burger {
	display: none;
	width: var(--touch);
	height: var(--touch);
	align-items: center;
	justify-content: center;
	background: rgba(201, 150, 43, 0.08);
	border: 1px solid rgba(201, 150, 43, 0.32);
	border-radius: 11px;
	cursor: pointer;
	padding: 0;
	flex: none;
	transition: background 0.25s, border-color 0.25s;
}

.nav-burger:hover {
	background: rgba(201, 150, 43, 0.18);
	border-color: rgba(242, 206, 107, 0.6);
}

.nav-burger__box {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 18px;
}

.nav-burger__box span {
	display: block;
	height: 2px;
	background: var(--gold);
	border-radius: 2px;
	transition: transform 0.3s, opacity 0.3s;
}

.nav-burger[aria-expanded='true'] .nav-burger__box span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.nav-burger[aria-expanded='true'] .nav-burger__box span:nth-child(2) {
	opacity: 0;
}

.nav-burger[aria-expanded='true'] .nav-burger__box span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* ===========================================================================
   05 · OFF-CANVAS DRAWER
   =========================================================================== */

.drawer-scrim {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(4, 3, 2, 0.72);
	opacity: 0;
	transition: opacity 0.3s;
}

.drawer-scrim.is-open {
	opacity: 1;
}

.drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	z-index: 210;
	width: min(420px, 88vw);
	background: linear-gradient(170deg, #14100a, #080706);
	border-left: 1px solid rgba(201, 150, 43, 0.28);
	box-shadow: -30px 0 90px rgba(0, 0, 0, 0.7);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.32s cubic-bezier(0.22, 0.72, 0.2, 1);
	overflow: hidden;
}

.drawer--right {
	right: 0;
}

.drawer--left {
	left: 0;
	border-left: 0;
	border-right: 1px solid rgba(201, 150, 43, 0.28);
	transform: translateX(-100%);
}

.drawer.is-open {
	transform: translateX(0);
}

.drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
	border-bottom: 1px solid rgba(201, 150, 43, 0.18);
	flex: none;
}

.drawer__brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.drawer__seal {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid rgba(201, 150, 43, 0.45);
	flex: none;
}

.drawer__brandtxt {
	min-width: 0;
}

.drawer__brandtxt b {
	display: block;
	font-family: Anton, sans-serif;
	font-weight: 400;
	font-size: 14px;
	letter-spacing: 0.04em;
	color: var(--bone);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.drawer__brandtxt em {
	display: block;
	font-style: normal;
	font-size: 8.5px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--brass);
	margin-top: 3px;
}

.drawer__close {
	width: var(--touch);
	height: var(--touch);
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 1px solid rgba(201, 150, 43, 0.26);
	border-radius: 10px;
	color: var(--gold);
	cursor: pointer;
	flex: none;
	transition: background 0.25s;
}

.drawer__close:hover {
	background: rgba(201, 150, 43, 0.16);
}

.drawer__body {
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.drawer__menu,
.drawer__nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.drawer__menu > li,
.drawer__nav li {
	border-bottom: 1px solid rgba(201, 150, 43, 0.12);
}

.drawer__menu a,
.drawer__nav a {
	display: flex;
	align-items: center;
	min-height: var(--touch);
	padding: 12px 4px;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
	text-decoration: none;
	transition: color 0.22s, padding-left 0.22s;
}

.drawer__menu a:hover,
.drawer__nav a:hover {
	color: var(--gold);
	padding-left: 8px;
}

.drawer__menu .sub-menu,
.drawer__nav .sub-menu {
	display: none;
	padding-left: 14px;
}

.drawer__menu .menu-item-has-children.is-open > .sub-menu,
.drawer__nav .menu-item-has-children.is-open > .sub-menu {
	display: block;
}

.submenu-toggle {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(201, 150, 43, 0.08);
	border: 1px solid rgba(201, 150, 43, 0.24);
	border-radius: 8px;
	cursor: pointer;
	position: absolute;
	right: 0;
	top: 12px;
}

.submenu-toggle span {
	display: block;
	width: 8px;
	height: 8px;
	border-right: 1.5px solid var(--gold);
	border-bottom: 1.5px solid var(--gold);
	transform: rotate(45deg);
	transition: transform 0.25s;
}

.menu-item-has-children {
	position: relative;
}

.menu-item-has-children.is-open > .submenu-toggle span {
	transform: rotate(-135deg);
}

.drawer__policy,
.drawer__social {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.drawer__policy-label {
	font-size: 9px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--faint);
}

.drawer__foot {
	border-top: 1px solid rgba(201, 150, 43, 0.16);
	padding-top: 16px;
	font-size: 9.5px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--faint);
}

body.drawer-open {
	overflow: hidden;
}

/* ===========================================================================
   06 · SITE LAYOUT — sidebar grid
   =========================================================================== */

.site-content {
	position: relative;
	z-index: 2;
}

.wrap.layout {
	display: grid;
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
	padding-top: clamp(38px, 5vw, 70px);
	padding-bottom: clamp(48px, 6vw, 90px);
}

.wrap.layout--sidebar-right {
	grid-template-columns: minmax(0, 1fr) var(--side-w);
}

.wrap.layout--sidebar-left {
	grid-template-columns: var(--side-w) minmax(0, 1fr);
}

.wrap.layout--full {
	grid-template-columns: minmax(0, 1fr);
}

.sidebar-left .sidebar {
	order: -1;
}

.content-area {
	min-width: 0;
}

.content-area--404 {
	padding: clamp(40px, 6vw, 90px) 0;
}

/* Sidebar behaviour ------------------------------------------------------ */
.sidebar {
	min-width: 0;
}

.sidebar-inner {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.sidebar-behavior-sticky .sidebar-inner {
	position: sticky;
	top: calc(var(--nav-h) + 26px);
	max-height: calc(100vh - var(--nav-h) - 52px);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
}

.sidebar-behavior-fixed .sidebar {
	position: relative;
	height: 100%;
}

.sidebar-behavior-fixed .sidebar-inner {
	position: fixed;
	top: calc(var(--nav-h) + 26px);
	width: calc(var(--side-w) - 0px);
	max-height: calc(100vh - var(--nav-h) - 52px);
	overflow-y: auto;
}

.sidebar-behavior-scroll .sidebar-inner {
	position: static;
}

.sidebar-sig {
	font-size: 9px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--faint);
	padding-top: 8px;
	border-top: 1px solid rgba(201, 150, 43, 0.16);
}

/* ===========================================================================
   07 · WIDGETS
   =========================================================================== */

.widget {
	padding: 22px 20px;
	position: relative;
}

.widget + .widget {
	margin-top: 0;
}

.widget-title,
.widget-head .widget-title {
	font-family: Anton, sans-serif;
	font-weight: 400;
	font-size: 1.1rem;
	letter-spacing: 0.02em;
	margin: 0;
	color: var(--bone);
}

.widget-head {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 16px;
}

.widget-head__rule {
	display: block;
	height: 1px;
	margin-top: 10px;
	background: linear-gradient(90deg, rgba(201, 150, 43, 0.45), transparent);
}

.widget-foot {
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid rgba(201, 150, 43, 0.14);
	font-size: 9px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--faint);
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget li {
	border-bottom: 1px solid rgba(201, 150, 43, 0.1);
}

.widget li a {
	display: flex;
	align-items: center;
	min-height: 42px;
	font-size: 13px;
	color: var(--muted);
	text-decoration: none;
	transition: color 0.22s, padding-left 0.22s;
}

.widget li a:hover {
	color: var(--gold);
	padding-left: 5px;
}

.widget select,
.widget input[type='text'],
.widget input[type='search'],
.widget input[type='email'],
.widget input[type='url'] {
	width: 100%;
	background: rgba(6, 5, 4, 0.7);
	border: 1px solid rgba(201, 150, 43, 0.26);
	border-radius: 9px;
	padding: 11px 13px;
	color: var(--bone);
	font-size: 13px;
	min-height: var(--touch);
}

.widget-title--footer {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--brass);
	margin-bottom: 16px;
}

.widget--footer {
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}

/* The seal widget -------------------------------------------------------- */
.seal-widget {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 12px;
}

.seal-widget__seal {
	display: block;
	width: 96px;
	height: 96px;
}

.seal-widget__img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 1px solid rgba(201, 150, 43, 0.4);
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}

.seal-widget__title {
	font-family: Anton, sans-serif;
	font-weight: 400;
	font-size: 1.15rem;
	margin: 0;
	color: var(--bone);
}

.seal-widget__strap {
	font-size: 9.5px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--brass);
}

/* Shorts widget ---------------------------------------------------------- */
.shorts-widget {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.shorts-widget__btn {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	text-align: left;
	background: rgba(6, 5, 4, 0.5);
	border: 1px solid rgba(201, 150, 43, 0.2);
	border-radius: 11px;
	padding: 9px;
	cursor: pointer;
	color: inherit;
	transition: border-color 0.25s, transform 0.25s;
}

.shorts-widget__btn:hover {
	border-color: rgba(242, 206, 107, 0.55);
	transform: translateY(-2px);
}

.shorts-widget__thumb {
	position: relative;
	width: 54px;
	aspect-ratio: 9 / 16;
	flex: none;
	overflow: hidden;
	border-radius: 7px;
	background: #000;
}

.shorts-widget__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.shorts-widget__thumb .short-play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(6, 5, 4, 0.4);
}

.shorts-widget__thumb .short-play svg {
	width: 18px;
	height: 18px;
	fill: var(--gold);
}

.shorts-widget__body {
	min-width: 0;
}

.shorts-widget__title {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--bone);
}

.shorts-widget__meta {
	display: block;
	margin-top: 4px;
	font-size: 9.5px;
	letter-spacing: 0.14em;
	color: var(--brass);
}

/* ===========================================================================
   08 · ARCHIVE CARDS (blog listings)
   =========================================================================== */

.archive-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: var(--gap-md);
}

.archive-card {
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.archive-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #0a0906;
}

.archive-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.archive-card:hover .archive-card__media img {
	transform: scale(1.06);
}

.archive-card__pin {
	position: absolute;
	top: 12px;
	left: 12px;
	font-family: 'Black Ops One', sans-serif;
	font-size: 9px;
	letter-spacing: 0.18em;
	padding: 5px 10px;
	border-radius: 5px;
	color: #060504;
	background: linear-gradient(180deg, var(--gold-lt), var(--brass));
}

.archive-card__body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

.archive-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.archive-card__title {
	font-family: Anton, sans-serif;
	font-weight: 400;
	font-size: 1.22rem;
	line-height: 1.16;
	margin: 0;
}

.archive-card__title a {
	color: var(--bone);
	text-decoration: none;
	transition: color 0.25s;
}

.archive-card__title a:hover {
	color: var(--gold);
}

.archive-card__excerpt {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.62;
	color: var(--muted);
}

.archive-card__foot {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid rgba(201, 150, 43, 0.14);
}

/* Card style: frame ------------------------------------------------------ */
.card-style-frame .archive-card {
	background: transparent;
	box-shadow: none;
	border-color: rgba(201, 150, 43, 0.34);
}

.card-style-frame .archive-card:hover {
	border-color: rgba(242, 206, 107, 0.7);
}

/* Card style: cinematic -------------------------------------------------- */
.card-style-cinematic .archive-card {
	position: relative;
	min-height: 340px;
	justify-content: flex-end;
}

.card-style-cinematic .archive-card__media {
	position: absolute;
	inset: 0;
	aspect-ratio: auto;
}

.card-style-cinematic .archive-card__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 5, 4, 0.15) 0%, rgba(6, 5, 4, 0.78) 55%, rgba(6, 5, 4, 0.96) 100%);
}

.card-style-cinematic .archive-card__body {
	position: relative;
	z-index: 2;
}

.card-style-cinematic .archive-card__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ===========================================================================
   09 · ARCHIVE HEAD (listings)
   =========================================================================== */

.archive-head {
	margin-bottom: clamp(30px, 4vw, 52px);
}

.archive-head__eyebrow {
	margin-top: 14px;
}

.archive-title {
	font-family: Anton, sans-serif;
	font-weight: 400;
	font-size: clamp(1.9rem, 4.4vw, 3.1rem);
	line-height: 1.02;
	margin: 12px 0 0;
	color: var(--bone);
}

.archive-desc {
	margin-top: 14px;
	max-width: 720px;
}

.archive-count {
	margin-top: 18px;
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--faint);
}

.archive-count__sig {
	margin-left: auto;
}

.archive-head__rule {
	display: block;
	margin-top: 20px;
	height: 1px;
	background: linear-gradient(90deg, rgba(201, 150, 43, 0.5), rgba(201, 150, 43, 0.04));
}

/* ===========================================================================
   10 · ARTICLE HEADER
   =========================================================================== */

.record {
	margin-bottom: clamp(40px, 5vw, 70px);
}

.entry-header {
	position: relative;
	margin-bottom: clamp(26px, 3.4vw, 44px);
}

.entry-header__inner {
	position: relative;
	z-index: 2;
}

.entry-title {
	font-family: Anton, sans-serif;
	font-weight: 400;
	font-size: clamp(1.85rem, 4.6vw, 3.3rem);
	line-height: 1.03;
	letter-spacing: 0.004em;
	margin: 14px 0 0;
	color: var(--bone);
}

.entry-lede {
	margin: 18px 0 0;
	font-size: clamp(15px, 1.6vw, 17.5px);
	line-height: 1.66;
	color: var(--muted);
	max-width: 68ch;
}

.entry-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}

.entry-meta-row {
	margin-top: 20px;
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.entry-meta-row__sig {
	margin-left: auto;
}

.entry-meta-row__updated {
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--faint);
}

/* Backdrop placement ----------------------------------------------------- */
.entry-header--backdrop {
	min-height: clamp(360px, 52vh, 560px);
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	border-radius: var(--radius);
	margin-bottom: clamp(30px, 4vw, 52px);
}

.entry-header--backdrop .entry-header__inner {
	padding: clamp(26px, 4vw, 52px);
	width: 100%;
}

.feat--backdrop {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.feat__frame--bleed {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.feat__frame--bleed img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.feat__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 5, 4, 0.55) 0%, rgba(6, 5, 4, 0.72) 45%, rgba(6, 5, 4, 0.96) 100%);
}

.feat__grain {
	position: absolute;
	inset: 0;
	opacity: 0.24;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
	pointer-events: none;
}

/* ===========================================================================
   11 · FEATURED IMAGE
   =========================================================================== */

.feat {
	margin: 0 0 clamp(24px, 3vw, 40px);
}

.feat__frame {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	border: 1px solid rgba(201, 150, 43, 0.34);
	background: #0a0906;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 233, 168, 0.06);
}

.feat__frame--wide {
	aspect-ratio: 16 / 9;
}

.feat__frame--portrait {
	aspect-ratio: 3 / 4;
}

.feat__frame img,
.featured-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.feat__sheen {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(115deg, rgba(255, 233, 168, 0.12) 0%, transparent 34%, transparent 70%, rgba(201, 150, 43, 0.09) 100%);
}

.feat__corner {
	position: absolute;
	width: 22px;
	height: 22px;
	border: 1.5px solid rgba(242, 206, 107, 0.55);
	pointer-events: none;
}

.feat__corner--tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.feat__corner--tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.feat__corner--bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.feat__corner--br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

.feat__cap {
	margin-top: 12px;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--faint);
	text-align: center;
}

/* Beside ----------------------------------------------------------------- */
.feat--beside {
	float: right;
	width: min(42%, 340px);
	margin: 6px 0 22px 32px;
}

.feat--beside .feat__frame--portrait {
	aspect-ratio: 3 / 4;
}

/* The article header must contain the float. */
.entry-header__text::after {
	content: '';
	display: table;
	clear: both;
}

/* Inline ----------------------------------------------------------------- */
.feat--inline {
	margin: clamp(26px, 3.4vw, 42px) 0;
}

/* Placeholder ------------------------------------------------------------ */
.feat__empty {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	background: linear-gradient(160deg, rgba(28, 22, 13, 0.9), rgba(8, 7, 6, 0.95));
}

.feat__empty-seal {
	width: 74px;
	height: 74px;
	border-radius: 50%;
	border: 1px solid rgba(201, 150, 43, 0.34);
	opacity: 0.75;
}

.feat__empty-text {
	font-size: 9px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--faint);
}

/* ===========================================================================
   12 · ENTRY CONTENT
   ---------------------------------------------------------------------------

   Every selector in this section is written as

       :is(.entry-content, .editor-styles-wrapper) …

   rather than a bare .entry-content. That single :is() is what makes the block
   editor a true WYSIWYG: WordPress wraps the editor canvas in
   .editor-styles-wrapper, and inc/editor.php loads this very stylesheet into
   that canvas through add_editor_style(). One source of truth, so the editor
   and the front end cannot drift apart — which is exactly how themes end up
   with an editor that looks like a different website.

   :is() takes the specificity of its most specific argument, so
   :is(.entry-content, .editor-styles-wrapper) h2 is (0,1,1) — identical to the
   .entry-content h2 it replaced. Nothing else in the cascade moves.
   =========================================================================== */

:is(.entry-content, .editor-styles-wrapper) {
	font-size: clamp(15.5px, 1.55vw, 17px);
	line-height: 1.78;
	color: rgba(239, 231, 215, 0.86);
	max-width: 74ch;
}

:is(.entry-content, .editor-styles-wrapper) > * + * {
	margin-top: 1.15em;
}

:is(.entry-content, .editor-styles-wrapper) h2 {
	font-family: Anton, sans-serif;
	font-weight: 400;
	font-size: clamp(1.4rem, 2.8vw, 2rem);
	line-height: 1.14;
	margin: 1.9em 0 0.55em;
	color: var(--bone);
}

:is(.entry-content, .editor-styles-wrapper) h3 {
	font-family: Anton, sans-serif;
	font-weight: 400;
	font-size: clamp(1.15rem, 2.1vw, 1.45rem);
	margin: 1.6em 0 0.5em;
	color: var(--bone);
}

:is(.entry-content, .editor-styles-wrapper) h4 {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--brass);
	margin: 1.7em 0 0.6em;
}

:is(.entry-content, .editor-styles-wrapper) a {
	color: var(--gold);
	text-decoration: none;
	border-bottom: 1px solid rgba(242, 206, 107, 0.32);
	transition: color 0.22s, border-color 0.22s;
}

:is(.entry-content, .editor-styles-wrapper) a:hover {
	color: var(--gold-lt);
	border-bottom-color: var(--gold-lt);
}

:is(.entry-content, .editor-styles-wrapper) strong {
	color: var(--bone);
}

:is(.entry-content, .editor-styles-wrapper) ul,
:is(.entry-content, .editor-styles-wrapper) ol {
	padding-left: 1.35em;
}

:is(.entry-content, .editor-styles-wrapper) li + li {
	margin-top: 0.5em;
}

:is(.entry-content, .editor-styles-wrapper) li::marker {
	color: var(--brass);
}

:is(.entry-content, .editor-styles-wrapper) blockquote {
	margin: 1.7em 0;
	padding: 20px 24px;
	border-left: 3px solid var(--brass);
	background: rgba(28, 22, 13, 0.6);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-size: 1.06em;
	color: var(--bone);
}

:is(.entry-content, .editor-styles-wrapper) blockquote cite {
	display: block;
	margin-top: 12px;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10px;
	font-style: normal;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--brass);
}

:is(.entry-content, .editor-styles-wrapper) code {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 0.9em;
	background: rgba(6, 5, 4, 0.72);
	border: 1px solid rgba(201, 150, 43, 0.2);
	border-radius: 5px;
	padding: 2px 7px;
	color: var(--gold-lt);
}

:is(.entry-content, .editor-styles-wrapper) pre {
	background: rgba(6, 5, 4, 0.82);
	border: 1px solid rgba(201, 150, 43, 0.22);
	border-radius: var(--radius-sm);
	padding: 18px;
	overflow-x: auto;
}

:is(.entry-content, .editor-styles-wrapper) pre code {
	background: none;
	border: 0;
	padding: 0;
}

:is(.entry-content, .editor-styles-wrapper) table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.94em;
}

:is(.entry-content, .editor-styles-wrapper) th,
:is(.entry-content, .editor-styles-wrapper) td {
	border: 1px solid rgba(201, 150, 43, 0.2);
	padding: 11px 14px;
	text-align: left;
}

:is(.entry-content, .editor-styles-wrapper) th {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--brass);
	background: rgba(28, 22, 13, 0.7);
}

:is(.entry-content, .editor-styles-wrapper) hr {
	border: 0;
	height: 1px;
	margin: 2.4em 0;
	background: linear-gradient(90deg, transparent, rgba(201, 150, 43, 0.4), transparent);
}

:is(.entry-content, .editor-styles-wrapper) img {
	border-radius: var(--radius-sm);
	height: auto;
}

:is(.entry-content, .editor-styles-wrapper) iframe {
	max-width: 100%;
	border-radius: var(--radius-sm);
	border: 0;
}

.entry-content--front {
	max-width: 74ch;
	margin: 0 auto;
}

.page-links {
	margin-top: 2em;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--faint);
}

/* ===========================================================================
   13 · ENTRY FOOTER
   =========================================================================== */

.entry-footer {
	margin-top: clamp(34px, 4vw, 56px);
}

.entry-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
}

.entry-tags__label {
	font-size: 9.5px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--faint);
	margin-right: 4px;
}

.entry-tags a {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid rgba(201, 150, 43, 0.26);
	background: rgba(201, 150, 43, 0.06);
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	text-decoration: none;
	transition: color 0.22s, border-color 0.22s;
}

.entry-tags a:hover {
	color: var(--gold-lt);
	border-color: rgba(242, 206, 107, 0.6);
}

.entry-signoff {
	margin-top: 34px;
	display: flex;
	align-items: center;
	gap: 16px;
}

.entry-signoff__rule {
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(201, 150, 43, 0.36), transparent);
}

.entry-signoff__text {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 9.5px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--brass);
	white-space: nowrap;
}

/* ===========================================================================
   14 · POST META, CRUMBS, PAGER
   =========================================================================== */

.post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--faint);
}

.post-meta a {
	color: var(--muted);
	text-decoration: none;
}

.post-meta a:hover {
	color: var(--gold);
}

.meta-sep {
	color: rgba(201, 150, 43, 0.55);
}

.crumbs {
	margin-bottom: 6px;
	font-size: 9.5px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--faint);
}

.crumbs ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.crumbs li + li::before {
	content: '/';
	margin-right: 8px;
	color: rgba(201, 150, 43, 0.5);
}

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

.crumbs a:hover {
	color: var(--gold);
}

.pager {
	margin-top: clamp(34px, 4vw, 56px);
}

.pager-in {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: center;
}

.pager-in a,
.pager-in span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--touch);
	min-height: var(--touch);
	padding: 0 14px;
	border-radius: 10px;
	border: 1px solid rgba(201, 150, 43, 0.24);
	background: rgba(28, 22, 13, 0.6);
	font-family: 'IBM Plex Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	text-decoration: none;
	transition: color 0.22s, border-color 0.22s, background 0.22s;
}

.pager-in a:hover {
	color: var(--gold-lt);
	border-color: rgba(242, 206, 107, 0.6);
	background: rgba(201, 150, 43, 0.12);
}

.pager-in .current {
	color: #0b0906;
	background: linear-gradient(180deg, var(--gold-lt), var(--brass));
	border-color: transparent;
	font-weight: 700;
}

/* ===========================================================================
   15 · SEARCH FORM
   =========================================================================== */

.search-form {
	width: 100%;
}

.search-form__field {
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(6, 5, 4, 0.7);
	border: 1px solid rgba(201, 150, 43, 0.28);
	border-radius: 12px;
	padding: 6px 6px 6px 14px;
	transition: border-color 0.25s, box-shadow 0.25s;
}

.search-form__field:focus-within {
	border-color: rgba(242, 206, 107, 0.65);
	box-shadow: 0 0 0 3px rgba(201, 150, 43, 0.14);
}

.search-form__icon {
	color: var(--brass);
	display: flex;
	flex: none;
}

.search-form__input {
	flex: 1;
	min-width: 0;
	background: transparent;
	border: 0;
	outline: none;
	color: var(--bone);
	font-size: 14px;
	min-height: 36px;
}

.search-form__input::placeholder {
	color: var(--faint);
}

.search-form__submit {
	flex: none;
	padding: 11px 18px;
	font-size: 12px;
}

.search-again,
.empty-plate__search,
.notfound__search {
	margin-bottom: clamp(28px, 3.6vw, 48px);
	max-width: 560px;
}

.btn--sm {
	padding: 11px 20px;
	font-size: 12.5px;
}

/* ===========================================================================
   16 · COMMENTS
   =========================================================================== */

.comments-area {
	margin-top: clamp(44px, 5vw, 78px);
	padding-top: clamp(30px, 3.6vw, 50px);
	border-top: 1px solid rgba(201, 150, 43, 0.2);
}

.comments-head {
	margin-bottom: 26px;
}

.comments-title {
	font-family: Anton, sans-serif;
	font-weight: 400;
	font-size: clamp(1.25rem, 2.4vw, 1.7rem);
	margin: 10px 0 0;
	color: var(--bone);
}

.comments-head__rule {
	display: block;
	margin-top: 14px;
	height: 1px;
	background: linear-gradient(90deg, rgba(201, 150, 43, 0.42), transparent);
}

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

.comment-list .children {
	list-style: none;
	margin: 0 0 0 22px;
	padding: 0;
}

.comment-body {
	padding: 20px 0;
	border-bottom: 1px solid rgba(201, 150, 43, 0.12);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.comment-author img {
	border-radius: 50%;
	border: 1px solid rgba(201, 150, 43, 0.3);
}

.comment-author .fn {
	font-family: Anton, sans-serif;
	font-weight: 400;
	font-size: 1rem;
	font-style: normal;
	color: var(--bone);
}

.comment-metadata {
	margin: 6px 0 12px 64px;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 9.5px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--faint);
}

.comment-metadata a {
	color: var(--faint);
	text-decoration: none;
}

.comment-content {
	margin-left: 64px;
	font-size: 14.5px;
	line-height: 1.7;
	color: rgba(239, 231, 215, 0.82);
}

.comment-content p + p {
	margin-top: 0.9em;
}

.reply {
	margin: 10px 0 0 64px;
}

.comment-reply-link {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 9.5px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--brass);
	text-decoration: none;
}

.comment-reply-link:hover {
	color: var(--gold);
}

.comment-respond {
	margin-top: 40px;
	padding: 26px 24px;
	background: rgba(28, 22, 13, 0.6);
	border: 1px solid rgba(201, 150, 43, 0.22);
	border-radius: var(--radius);
}

.comment-reply-title {
	font-family: Anton, sans-serif;
	font-weight: 400;
	font-size: clamp(1.2rem, 2.2vw, 1.55rem);
	margin: 0 0 6px;
	color: var(--bone);
}

.comment-notes {
	font-size: 12.5px;
	color: var(--faint);
	margin-bottom: 20px;
}

.comment-form {
	display: grid;
	gap: 16px;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 9.5px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--brass);
}

.comment-form input[type='text'],
.comment-form input[type='email'],
.comment-form input[type='url'],
.comment-form textarea {
	width: 100%;
	background: rgba(6, 5, 4, 0.72);
	border: 1px solid rgba(201, 150, 43, 0.26);
	border-radius: 10px;
	padding: 13px 15px;
	color: var(--bone);
	font-size: 14px;
	font-family: inherit;
	transition: border-color 0.25s, box-shadow 0.25s;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: rgba(242, 206, 107, 0.6);
	box-shadow: 0 0 0 3px rgba(201, 150, 43, 0.13);
}

.comment-form textarea {
	min-height: 140px;
	resize: vertical;
}

.comment-form .submit {
	justify-self: start;
	border: 0;
	cursor: pointer;
}

.no-comments {
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--faint);
}

/* ===========================================================================
   17 · AUTHOR PLATE
   =========================================================================== */

.author-plate {
	margin-top: clamp(34px, 4vw, 56px);
	padding: 24px;
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.author-plate__img {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	border: 1px solid rgba(201, 150, 43, 0.38);
}

.author-plate__name {
	font-family: Anton, sans-serif;
	font-weight: 400;
	font-size: 1.2rem;
	margin: 6px 0 0;
	color: var(--bone);
}

.author-plate__bio {
	margin: 8px 0 12px;
	font-size: 13.5px;
	line-height: 1.66;
	color: var(--muted);
}

/* ===========================================================================
   18 · AD SLOTS
   =========================================================================== */

.ad-wrap {
	position: relative;
	margin: clamp(26px, 3.4vw, 44px) auto;
	padding: 18px 14px 14px;
	max-width: 100%;
	background: rgba(28, 22, 13, 0.4);
	border: 1px solid rgba(201, 150, 43, 0.14);
	border-radius: var(--radius-sm);
	/* Reserved height prevents the layout shift that costs CWV points. */
	min-height: 120px;
	overflow: hidden;
}

.ad-wrap--header {
	margin-top: 0;
	border-radius: 0;
	border-left: 0;
	border-right: 0;
	max-width: none;
	min-height: 100px;
}

.ad-wrap--sidebar {
	min-height: 260px;
}

.ad-label {
	position: absolute;
	top: 6px;
	left: 12px;
	font-size: 8px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--faint);
}

.ad-wrap .adsbygoogle {
	display: block;
}

.ww2va-inline-ad {
	margin: clamp(26px, 3.4vw, 42px) 0;
}

/* ===========================================================================
   19 · COOKIE CONSENT
   =========================================================================== */

.consent {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 300;
	padding: 16px;
	background: linear-gradient(180deg, rgba(20, 16, 10, 0.98), rgba(8, 7, 6, 0.99));
	border-top: 1px solid rgba(201, 150, 43, 0.3);
	transform: translateY(100%);
	transition: transform 0.36s cubic-bezier(0.22, 0.72, 0.2, 1);
}

.consent.is-open {
	transform: translateY(0);
}

.consent__inner {
	max-width: var(--wrap);
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: space-between;
}

.consent__text {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--muted);
	max-width: 70ch;
}

.consent__link {
	color: var(--gold);
	text-decoration: none;
	border-bottom: 1px solid rgba(242, 206, 107, 0.34);
	margin-left: 6px;
}

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

.consent__actions .btn {
	padding: 12px 24px;
	font-size: 12.5px;
	border: 0;
	cursor: pointer;
}

/* ===========================================================================
   20 · 404
   =========================================================================== */

.notfound {
	text-align: center;
	max-width: 860px;
	margin: 0 auto;
}

.notfound__code {
	display: flex;
	justify-content: center;
	gap: 10px;
	font-family: Anton, sans-serif;
	font-size: clamp(4rem, 16vw, 10rem);
	line-height: 0.9;
	color: rgba(201, 150, 43, 0.16);
	letter-spacing: 0.02em;
}

.notfound__seal {
	display: block;
	width: 96px;
	height: 96px;
	margin: -24px auto 18px;
}

.notfound__seal img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 1px solid rgba(201, 150, 43, 0.34);
	opacity: 0.85;
}

.notfound__title {
	font-family: Anton, sans-serif;
	font-weight: 400;
	font-size: clamp(1.5rem, 4vw, 2.6rem);
	line-height: 1.06;
	margin: 14px 0 0;
	color: var(--bone);
}

.notfound__text {
	margin: 18px auto 0;
	max-width: 62ch;
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--muted);
}

.notfound__search {
	margin: 30px auto;
}

.notfound__actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

.notfound__wings {
	margin-top: 46px;
}

.notfound__wings-label {
	display: block;
	margin-bottom: 16px;
	font-size: 9.5px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--faint);
}

.notfound__recent {
	margin-top: 56px;
	text-align: left;
}

.notfound__sig {
	margin-top: 46px;
	font-size: 9.5px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--faint);
}

/* ===========================================================================
   21 · EMPTY PLATE
   =========================================================================== */

.empty-plate {
	text-align: center;
	padding: clamp(38px, 5vw, 66px) clamp(20px, 3vw, 44px);
	border: 1px dashed rgba(201, 150, 43, 0.32);
	border-radius: var(--radius);
	background: rgba(28, 22, 13, 0.35);
}

.empty-plate__seal {
	display: block;
	width: 90px;
	height: 90px;
	margin: 0 auto 20px;
	opacity: 0.7;
}

.empty-plate__seal img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 1px solid rgba(201, 150, 43, 0.3);
}

.empty-plate h2,
.empty-plate h3 {
	font-family: Anton, sans-serif;
	font-weight: 400;
	font-size: clamp(1.3rem, 3vw, 1.9rem);
	margin: 0 0 12px;
	color: var(--bone);
}

.empty-plate p {
	margin: 0 auto 22px;
	max-width: 56ch;
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--muted);
}

.empty-plate__search,
.empty-plate .btn {
	margin-left: auto;
	margin-right: auto;
}

.empty-plate__wings {
	margin-top: 34px;
	text-align: left;
}

/* ===========================================================================
   22 · FOOTER EXTRAS
   =========================================================================== */

.foot-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: clamp(26px, 3.4vw, 48px);
}

.foot-sig {
	margin-top: 18px;
	font-size: 9.5px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--faint);
}

.foot-handles {
	margin-top: 18px;
	font-size: 10.5px;
	line-height: 1.9;
	color: var(--faint);
}

.foot-count {
	margin-left: 8px;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 9px;
	letter-spacing: 0.14em;
	color: var(--brass);
}

.foot-p--sm {
	font-size: 12.5px;
	color: var(--faint);
}

.foot-widgets {
	margin-top: 48px;
	padding-top: 34px;
	border-top: 1px solid rgba(201, 150, 43, 0.16);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: clamp(24px, 3vw, 42px);
}

.foot-built {
	margin-top: 8px;
	font-size: 9.5px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--faint);
}

.foot-bottom {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.strip__eyebrow {
	margin-bottom: 10px;
}

.strip__p {
	margin: 0;
}

.strip__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.strip__actions .btn {
	padding: 14px 24px;
	font-size: 13px;
}

/* ===========================================================================
   23 · SIDEBAR OFF / ON HELPERS
   =========================================================================== */

.no-sidebar .sidebar,
.sidebar-none .sidebar {
	display: none;
}

.sidebar-none .wrap.layout {
	grid-template-columns: minmax(0, 1fr);
}

/* ---------------------------------------------------------------------------
   The front page with the sidebar switched on.

   Every front-page section is a full-width band whose own `.wrap` supplies the
   1240px measure and the 22px gutter. Dropping those bands inside a grid column
   would apply the gutter twice — 44px on each side of a column that is already
   ~320px narrower — and would also stack the grid's own vertical padding on top
   of the hero's. So the outer grid takes over both jobs and the inner wraps
   step aside.
   ------------------------------------------------------------------------ */
.front-layout {
	padding-top: 0;
	padding-bottom: 0;
}

.front-layout > .content-area > .sec > .wrap,
.front-layout > .content-area > .wrap {
	padding-left: 0;
	padding-right: 0;
	max-width: none;
}

/* The hero is the exception: it is the one band designed to run edge to edge,
   and it reads as broken when it is boxed into the content column. */
.front-layout > .content-area > .hero > .wrap {
	padding-left: 0;
	padding-right: 0;
	max-width: none;
}

@media (max-width: 900px) {
	/* Below the tablet breakpoint the grid collapses anyway, so the front page
	   goes back to being a plain full-width stack. */
	.front-layout {
		display: block;
	}
}

/* ===========================================================================
   24 · RESPONSIVE — tablet and mobile
   ---------------------------------------------------------------------------
   Three deliberate bands:
     desktop   ≥ 1200px   the full four-column footer, rail, wide sidebar
     tablet    901–1199   two-column footer, sidebar narrows, rail hidden
     mobile    ≤ 900px    single column, drawer nav, everything stacks
     small     ≤ 560px    tighter type, larger touch targets
   =========================================================================== */

/* ---- Tablet landscape / small desktop ---------------------------------- */
@media (max-width: 1200px) {
	.foot-grid {
		grid-template-columns: 1.3fr 1fr 1fr;
	}

	.foot-col--wings {
		grid-column: span 3;
	}
}

/* ---- Tablet ------------------------------------------------------------ */
@media (max-width: 1024px) {
	:root {
		--side-w: 290px;
	}

	.wrap.layout {
		gap: 34px;
	}

	.feat--beside {
		width: min(44%, 300px);
		margin-left: 26px;
	}

	.archive-grid {
		grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	}
}

/* ---- Mobile / tablet portrait: the sidebar always drops below ---------- */
@media (max-width: 900px) {
	.wrap.layout,
	.wrap.layout--sidebar-right,
	.wrap.layout--sidebar-left {
		grid-template-columns: minmax(0, 1fr);
	}

	.sidebar-left .sidebar {
		order: 0;
	}

	/* Sticky and fixed make no sense once the sidebar is a stacked block. */
	.sidebar-behavior-sticky .sidebar-inner,
	.sidebar-behavior-fixed .sidebar-inner,
	.sidebar-behavior-stickyfoot .sidebar-inner {
		position: static;
		max-height: none;
		overflow: visible;
		width: auto;
	}

	/* The drawer takes over navigation. */
	.nav-burger {
		display: inline-flex;
	}

	.nav-links {
		display: none;
	}

	.soc-row--nav {
		display: none;
	}

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

	.foot-col--wings {
		grid-column: span 2;
	}

	/* Beside becomes a normal stacked image on a phone. */
	.feat--beside {
		float: none;
		width: 100%;
		margin: 0 0 24px;
	}

	.feat__frame--portrait {
		aspect-ratio: 16 / 10;
	}

	.entry-header--backdrop {
		min-height: 320px;
	}

	.author-plate {
		flex-direction: column;
	}

	.consent__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.consent__actions .btn {
		flex: 1;
		justify-content: center;
	}
}

/* ---- Mobile ------------------------------------------------------------ */
@media (max-width: 640px) {
	.policy-strip__label,
	.policy-strip__sig {
		display: none;
	}

	.policy-strip__in {
		justify-content: center;
	}

	.policy-strip .policy-nav {
		gap: 6px;
	}

	.policy-btn--sm {
		padding: 7px 10px;
		font-size: 8.5px;
		letter-spacing: 0.1em;
	}

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

	.foot-col--wings {
		grid-column: span 1;
	}

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

	:is(.entry-content, .editor-styles-wrapper) {
		font-size: 15.5px;
	}

	.foot-bottom {
		gap: 10px;
		font-size: 11.5px;
	}

	.ad-wrap {
		min-height: 100px;
	}
}

/* ---- Small phones ------------------------------------------------------ */
@media (max-width: 560px) {
	.nav-cta {
		padding: 10px 14px;
		font-size: 11.5px;
	}

	.entry-title {
		font-size: clamp(1.6rem, 8vw, 2.1rem);
	}

	.feat__corner {
		width: 16px;
		height: 16px;
	}

	.comment-content,
	.comment-metadata,
	.reply {
		margin-left: 0;
	}

	.entry-signoff__text {
		font-size: 8.5px;
		letter-spacing: 0.16em;
	}
}

/* ---- Very small -------------------------------------------------------- */
@media (max-width: 400px) {
	.soc-row .soc {
		width: 38px;
		height: 38px;
	}

	.policy-nav {
		gap: 5px;
	}

	.policy-btn {
		padding: 7px 9px;
		font-size: 8px;
	}
}

/* ===========================================================================
   25 · ACCESSIBILITY & MOTION
   =========================================================================== */

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

@media (prefers-reduced-motion: reduce) {
	.drawer,
	.consent,
	.archive-card__media img,
	.nav-burger__box span,
	.submenu-toggle span {
		transition: none !important;
	}

	* {
		scroll-behavior: auto !important;
	}
}

/* ===========================================================================
   26 · PRINT
   =========================================================================== */

@media print {
	#atmos,
	#progress,
	#vaultrail,
	#nav,
	.drawer,
	.drawer-scrim,
	.policy-strip,
	.consent,
	.ad-wrap,
	.sidebar,
	.rel-deck,
	.comments-area,
	.foot-widgets,
	.site-footer {
		display: none !important;
	}

	body {
		background: #fff;
		color: #111;
	}

	.entry-content,
	.entry-content a {
		color: #111;
	}

	.wrap.layout {
		display: block;
		padding: 0;
	}
}
