/* ==========================================================================
   Lexical Chronicle — design system for Lexically Historical Buff
   ========================================================================== */

:root {
	--lx-ink: #1b1714;
	--lx-sepia: #6b5e52;
	--lx-parchment: #f6f0e6;
	--lx-paper: #fbf8f2;
	--lx-vellum: #ddd0bc;
	--lx-sand: #efe7da;
	--lx-line: rgba(27, 23, 20, 0.12);
	--lx-obsidian: #110e0c;
	--lx-cream: #ede4d3;
	--lx-cream-soft: rgba(237, 228, 211, 0.72);
	--lx-terracotta: #a0442a;
	--lx-gold: #b8893b;
	--lx-gold-2: #d8b26a;
	--lx-jade: #2e5e4e;

	--lx-display: var(--wp--preset--font-family--display, "Cormorant Garamond", Georgia, serif);
	--lx-serif: var(--wp--preset--font-family--serif, "Source Serif 4", Georgia, serif);
	--lx-sans: var(--wp--preset--font-family--sans, Inter, system-ui, sans-serif);

	--lx-gutter: clamp(16px, 4vw, 48px);
	--lx-header-h: 76px;
	--lx-radius: 14px;
	--lx-shadow: 0 1px 2px rgba(27, 23, 20, 0.06), 0 18px 40px -18px rgba(27, 23, 20, 0.35);
	--lx-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--lx-key: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23B8893B' stroke-width='1.3'%3E%3Cpath d='M0 19H20M18 19V1H4V15H14V5H8V11'/%3E%3C/svg%3E");
	--lx-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

@media (max-width: 782px) {
	:root {
		--lx-header-h: 64px;
	}
}

/* ---------- Base ---------- */

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--lx-header-h) + 24px);
}

body.lx-site {
	background: var(--lx-parchment);
	color: var(--lx-ink);
	text-rendering: optimizeLegibility;
	font-kerning: normal;
}

.lx-site ::selection {
	background: var(--lx-gold-2);
	color: var(--lx-ink);
}

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

.lx-site .wp-site-blocks {
	padding-top: 0;
	padding-bottom: 0;
}

.lx-site .wp-site-blocks > *,
.lx-main > *,
.lx-section > *,
.lx-post-hero > *,
.lx-post-hero__inner > * {
	margin-block-start: 0;
}

.lx-main {
	margin: 0;
	overflow-x: clip;
}

/* Dark openings slide under the transparent sticky header. */
body .lx-main > :is(.lx-hero, .lx-post-hero) {
	margin-top: calc(-1 * var(--lx-header-h));
}

.lx-wrap {
	width: min(100% - 2 * var(--lx-gutter), 1240px);
	margin-inline: auto;
}

.lx-svg {
	display: block;
}

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

/* Archeo underlines every link on hover; components handle their own hover. */
body.lx-site a:hover {
	text-decoration-style: solid;
}

body.lx-site :is(.lx-header, .lx-footer, .lx-hero, .lx-ring, .lx-word, .lx-option, .lx-exhibit, .lx-related, .lx-essays, .lx-post-support, .lx-post-eyebrow, .lx-404) a:hover,
body.lx-site a.lx-btn:hover {
	text-decoration: none;
}

.lx-dark {
	--lx-ill-bg: var(--lx-obsidian);
	background-color: var(--lx-obsidian);
	color: var(--lx-cream);
}

.lx-dot {
	opacity: 0.55;
	margin-inline: 0.5em;
}

/* ---------- Type helpers ---------- */

.lx-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.85em;
	margin: 0;
	font-family: var(--lx-sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--lx-terracotta);
	text-decoration: none;
}

.lx-eyebrow::before {
	content: "";
	width: 28px;
	height: 1px;
	background: currentColor;
	flex: none;
}

.lx-dark .lx-eyebrow {
	color: var(--lx-gold-2);
}

.lx-head {
	max-width: 780px;
	margin-bottom: clamp(40px, 5vw, 64px);
}

.lx-head__title {
	margin: 0.45em 0 0.35em;
	font-family: var(--lx-display);
	font-size: clamp(2.125rem, 1.4rem + 2.8vw, 3.625rem);
	font-weight: 600;
	line-height: 1.04;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.lx-head__title em {
	font-style: italic;
	font-weight: 500;
	color: var(--lx-terracotta);
}

.lx-head__lead {
	margin: 0;
	max-width: 40em;
	font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
	line-height: 1.65;
	color: var(--lx-sepia);
}

.lx-head__page {
	margin: 0.75rem 0 0;
	font-family: var(--lx-sans);
	font-size: 0.875rem;
	color: var(--lx-sepia);
}

.lx-dark .lx-head__title {
	color: var(--lx-paper);
}

.lx-dark .lx-head__lead {
	color: var(--lx-cream-soft);
}

.lx-text {
	font-size: 1.125rem;
	color: var(--lx-sepia);
}

/* ---------- Buttons ---------- */

.lx-btn,
.lx-site .lx-subscribe .wp-block-button__link,
.lx-site .lx-subscribe button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	padding: 0.95em 1.55em;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--lx-ink);
	color: var(--lx-paper);
	font-family: var(--lx-sans);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.1;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.25s var(--lx-ease), background-color 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.lx-btn:hover,
.lx-site .lx-subscribe .wp-block-button__link:hover,
.lx-site .lx-subscribe button[type="submit"]:hover {
	transform: translateY(-2px);
	background: var(--lx-terracotta);
	color: #fff;
	box-shadow: 0 12px 24px -12px rgba(160, 68, 42, 0.7);
}

.lx-btn--gold {
	background: linear-gradient(135deg, #e0bd78, #b8893b);
	color: var(--lx-ink);
}

.lx-btn--gold:hover {
	background: linear-gradient(135deg, #ecca88, #c49447);
	color: var(--lx-ink);
	box-shadow: 0 12px 26px -12px rgba(184, 137, 59, 0.85);
}

.lx-btn--light {
	background: var(--lx-paper);
	color: var(--lx-ink);
}

.lx-btn--ghost {
	background: rgba(251, 248, 242, 0.04);
	border-color: rgba(251, 248, 242, 0.35);
	color: var(--lx-paper);
}

.lx-btn--ghost:hover {
	background: rgba(251, 248, 242, 0.12);
	border-color: var(--lx-gold-2);
	color: var(--lx-paper);
	box-shadow: none;
}

.lx-btn--outline {
	background: transparent;
	border-color: rgba(27, 23, 20, 0.35);
	color: var(--lx-ink);
}

.lx-btn--outline:hover {
	background: var(--lx-ink);
	border-color: var(--lx-ink);
	color: var(--lx-paper);
	box-shadow: none;
}

.lx-icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}

.lx-round {
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(237, 228, 211, 0.3);
	border-radius: 50%;
	background: transparent;
	color: var(--lx-cream);
	font-size: 1.125rem;
	cursor: pointer;
	transition: background-color 0.25s, border-color 0.25s, transform 0.25s var(--lx-ease);
}

.lx-round:hover {
	background: var(--lx-gold-2);
	border-color: var(--lx-gold-2);
	color: var(--lx-ink);
	transform: scale(1.06);
}

/* ---------- Header ---------- */

.lx-header-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
	margin: 0;
}

.lx-header {
	--fg: var(--lx-ink);
	--bg: var(--lx-paper);
	position: relative;
	color: var(--fg);
	background: rgba(246, 240, 230, 0.88);
	border-bottom: 1px solid var(--lx-line);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	transition: background-color 0.4s, color 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.lx-has-hero .lx-header:not(.is-scrolled),
.lx-has-dark-top .lx-header:not(.is-scrolled),
.lx-header.is-open {
	--fg: var(--lx-paper);
	--bg: var(--lx-ink);
	background: transparent;
	border-color: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.lx-header.is-open {
	background: var(--lx-obsidian);
}

/* Over a dark opening, a smoked-glass bar keeps the menu legible once scrolling starts. */
.lx-has-hero .lx-header.is-past-top:not(.is-scrolled, .is-open),
.lx-has-dark-top .lx-header.is-past-top:not(.is-scrolled, .is-open) {
	background: rgba(17, 14, 12, 0.74);
	border-color: rgba(237, 228, 211, 0.08);
	-webkit-backdrop-filter: saturate(1.3) blur(14px);
	backdrop-filter: saturate(1.3) blur(14px);
}

.lx-header.is-scrolled {
	box-shadow: 0 10px 30px -22px rgba(0, 0, 0, 0.55);
}

.lx-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	width: min(100% - 2 * var(--lx-gutter), 1320px);
	height: var(--lx-header-h);
	margin-inline: auto;
}

.lx-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: inherit;
	text-decoration: none;
	min-width: 0;
}

.lx-brand__seal {
	width: 42px;
	height: 42px;
	flex: none;
	color: var(--lx-gold);
	transition: transform 0.8s var(--lx-ease);
}

.lx-brand:hover .lx-brand__seal {
	transform: rotate(-12deg) scale(1.05);
}

.lx-brand__text {
	min-width: 0;
}

.lx-brand__name {
	display: block;
	font-family: var(--lx-display);
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: 0.005em;
	white-space: nowrap;
}

.lx-brand__tag {
	display: block;
	margin-top: 4px;
	font-family: var(--lx-sans);
	font-size: 0.65rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	opacity: 0.68;
	white-space: nowrap;
}

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

.lx-nav__list {
	display: flex;
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lx-nav__list a {
	position: relative;
	padding: 8px 0;
	color: inherit;
	font-family: var(--lx-sans);
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
}

.lx-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.35s var(--lx-ease);
}

.lx-nav__list a:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

.lx-lang {
	display: inline-flex;
	gap: 2px;
	padding: 3px;
	border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
	border-radius: 999px;
}

.lx-lang a {
	padding: 5px 9px;
	border-radius: 999px;
	color: inherit;
	font-family: var(--lx-sans);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-decoration: none;
	opacity: 0.72;
	transition: background-color 0.25s, color 0.25s, opacity 0.25s;
}

.lx-lang a:hover {
	opacity: 1;
}

.lx-lang a.is-current {
	background: var(--fg, var(--lx-ink));
	color: var(--bg, var(--lx-paper));
	opacity: 1;
}

.lx-nav__cta {
	padding: 0.8em 1.25em;
}

.lx-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	margin-left: auto;
	padding: 0 11px;
	border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.lx-burger__bar {
	display: block;
	height: 1.5px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.35s var(--lx-ease), opacity 0.2s;
}

.is-open .lx-burger__bar:nth-child(1) {
	transform: translateY(6.5px) rotate(45deg);
}

.is-open .lx-burger__bar:nth-child(2) {
	opacity: 0;
}

.is-open .lx-burger__bar:nth-child(3) {
	transform: translateY(-6.5px) rotate(-45deg);
}

.lx-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	pointer-events: none;
}

.lx-progress__bar {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, var(--lx-terracotta), var(--lx-gold-2));
	transform: scaleX(var(--p, 0));
	transform-origin: 0 50%;
}

@media (max-width: 1080px) {
	.lx-burger {
		display: inline-flex;
	}

	.lx-nav {
		position: fixed;
		inset: var(--lx-nav-top, calc(var(--wp-admin--admin-bar--height, 0px) + var(--lx-header-h))) 0 0 0;
		flex-direction: column;
		align-items: flex-start;
		gap: 32px;
		margin: 0;
		padding: 32px var(--lx-gutter) 48px;
		overflow-y: auto;
		background: var(--lx-obsidian);
		color: var(--lx-cream);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-12px);
		transition: opacity 0.35s var(--lx-ease), transform 0.35s var(--lx-ease), visibility 0s 0.35s;
	}

	.lx-header.is-open .lx-nav {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition-delay: 0s;
	}

	.lx-nav__list {
		flex-direction: column;
		gap: 6px;
		width: 100%;
	}

	.lx-nav__list a {
		display: block;
		padding: 10px 0;
		border-bottom: 1px solid rgba(237, 228, 211, 0.12);
		font-family: var(--lx-display);
		font-size: clamp(1.75rem, 1.4rem + 2vw, 2.5rem);
		font-weight: 600;
	}

	.lx-nav__list a::after {
		display: none;
	}

	.lx-nav .lx-lang {
		--fg: var(--lx-cream);
		--bg: var(--lx-ink);
	}

	.lx-nav .lx-lang a {
		padding: 8px 14px;
		font-size: 0.8125rem;
	}
}

@media (max-width: 480px) {
	.lx-brand__seal {
		width: 36px;
		height: 36px;
	}

	.lx-brand__name {
		font-size: 1.125rem;
	}

	.lx-brand__tag {
		display: none;
	}
}

html.lx-nav-open {
	overflow: hidden;
}

/* ---------- Entrance + scroll animations ---------- */

@keyframes lx-rise {
	from {
		opacity: 0;
		translate: 0 26px;
	}
	to {
		opacity: 1;
		translate: 0 0;
	}
}

@keyframes lx-spin {
	to {
		rotate: 360deg;
	}
}

@keyframes lx-drop {
	0% {
		transform: scaleY(0);
		transform-origin: top;
	}
	45% {
		transform: scaleY(1);
		transform-origin: top;
	}
	55% {
		transform: scaleY(1);
		transform-origin: bottom;
	}
	100% {
		transform: scaleY(0);
		transform-origin: bottom;
	}
}

.lx-js .lx-anim {
	animation: lx-rise 1s var(--lx-ease) both;
	animation-delay: calc(var(--d, 0) * 120ms + 120ms);
}

.lx-js [data-reveal] {
	opacity: 0;
	translate: 0 32px;
	transition: opacity 0.9s var(--lx-ease), translate 0.9s var(--lx-ease);
	transition-delay: calc(var(--d, 0) * 90ms);
}

.lx-js [data-reveal].is-in {
	opacity: 1;
	translate: 0 0;
}

[data-tilt] {
	transform: perspective(1100px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg));
	transition: transform 0.6s var(--lx-ease), box-shadow 0.4s var(--lx-ease), opacity 0.9s var(--lx-ease), translate 0.9s var(--lx-ease);
}

.lx-js .lx-ill.is-drawable :is(path, circle, ellipse, rect, polygon):not([stroke-dasharray]) {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 2.2s var(--lx-ease);
}

.lx-js .is-in .lx-ill.is-drawable :is(path, circle, ellipse, rect, polygon) {
	stroke-dashoffset: 0;
}

/* ---------- Hero ---------- */

.lx-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 100vh;
	min-height: 100svh;
	margin-top: calc(-1 * var(--lx-header-h));
	padding: calc(var(--lx-header-h) + clamp(32px, 7vh, 80px)) 0 clamp(88px, 12vh, 132px);
	overflow: hidden;
}

.lx-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.lx-hero__glow {
	position: absolute;
	inset: -20% -10%;
	background:
		radial-gradient(55% 45% at 72% 42%, rgba(184, 137, 59, 0.3), transparent 62%),
		radial-gradient(45% 45% at 12% 85%, rgba(160, 68, 42, 0.26), transparent 62%),
		radial-gradient(40% 35% at 40% 0%, rgba(46, 94, 78, 0.32), transparent 70%);
}

.lx-hero__dial {
	position: absolute;
	top: 50%;
	right: -14%;
	width: min(115vh, 980px);
	aspect-ratio: 1;
	translate: 0 -50%;
	color: rgba(216, 178, 106, 0.17);
}

.lx-hero__dial svg {
	width: 100%;
	height: 100%;
	animation: lx-spin 260s linear infinite;
}

.lx-hero__grain,
.lx-post-hero::after {
	position: absolute;
	inset: 0;
	background-image: var(--lx-grain);
	opacity: 0.16;
	mix-blend-mode: overlay;
}

.lx-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	align-items: center;
	gap: clamp(40px, 6vw, 96px);
	width: min(100% - 2 * var(--lx-gutter), 1320px);
	margin-inline: auto;
}

.lx-hero__title {
	margin: 0.4em 0 0.4em;
	color: var(--lx-paper);
	font-family: var(--lx-display);
	font-size: clamp(2.875rem, 1.3rem + 5.4vw, 6.25rem);
	font-weight: 600;
	line-height: 0.98;
	letter-spacing: -0.018em;
	text-wrap: balance;
}

.lx-hero__title em {
	font-style: italic;
	font-weight: 500;
	color: var(--lx-gold-2);
}

.lx-hero__lead {
	max-width: 34em;
	margin: 0;
	color: var(--lx-cream-soft);
	font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
	line-height: 1.65;
}

.lx-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 2.25rem;
}

.lx-hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 28px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	translate: -50% 0;
	color: var(--lx-cream-soft);
	font-family: var(--lx-sans);
	font-size: 0.6875rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	text-decoration: none;
}

.lx-hero__scroll i {
	display: block;
	width: 1px;
	height: 44px;
	background: linear-gradient(var(--lx-gold-2), transparent);
	animation: lx-drop 2.4s var(--lx-ease) infinite;
}

/* 3D exhibit of the latest essays */
.lx-exhibit {
	perspective: 1400px;
}

.lx-exhibit__stage {
	position: relative;
	width: min(100%, 500px);
	aspect-ratio: 4 / 5;
	margin-inline: auto;
	transform-style: preserve-3d;
	transform: rotateX(var(--rx, 5deg)) rotateY(var(--ry, -14deg));
	transition: transform 0.9s var(--lx-ease);
}

.lx-exhibit__stage::before {
	content: "";
	position: absolute;
	inset: -20px;
	border: 1px solid rgba(216, 178, 106, 0.35);
	border-radius: 12px;
	transform: translateZ(-60px);
}

.lx-exhibit__plate {
	position: absolute;
	inset: 0;
	display: block;
	overflow: hidden;
	border-radius: 8px;
	background: #000;
	box-shadow: 0 50px 90px -35px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(216, 178, 106, 0.28);
}

.lx-exhibit__plate img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: sepia(0.12) contrast(1.04);
	transition: transform 1.4s var(--lx-ease);
}

.lx-exhibit__plate--0 {
	transform: translateZ(70px);
}

.lx-exhibit__plate--0::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 50%, rgba(17, 14, 12, 0.75));
	pointer-events: none;
}

.lx-exhibit__plate--0:hover img {
	transform: scale(1.04);
}

.lx-exhibit__plate--1 {
	transform: translateZ(-30px) translate(-15%, -9%) rotate(-5deg) scale(0.84);
	filter: brightness(0.55) saturate(0.8);
}

.lx-exhibit__plate--2 {
	transform: translateZ(-120px) translate(17%, -15%) rotate(6deg) scale(0.76);
	filter: brightness(0.38) saturate(0.7);
}

.lx-exhibit__label {
	position: absolute;
	left: -3%;
	bottom: 7%;
	max-width: 80%;
	padding: 16px 20px 18px;
	border-radius: 8px;
	background: rgba(251, 248, 242, 0.97);
	color: var(--lx-ink);
	box-shadow: 0 28px 50px -22px rgba(0, 0, 0, 0.7);
	transform: translateZ(105px);
}

.lx-exhibit__kicker {
	display: block;
	margin-bottom: 6px;
	color: var(--lx-terracotta);
	font-family: var(--lx-sans);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.lx-exhibit__label a {
	color: inherit;
	font-family: var(--lx-display);
	font-size: clamp(1.0625rem, 0.9rem + 0.6vw, 1.375rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-decoration: none;
}

@media (max-width: 900px) {
	.lx-hero__inner {
		grid-template-columns: 1fr;
	}

	.lx-exhibit__stage {
		width: min(78%, 380px);
	}

	.lx-hero__scroll {
		display: none;
	}
}

/* ---------- Sections ---------- */

.lx-section {
	position: relative;
	padding-block: clamp(80px, 10vw, 148px);
}

.lx-frieze,
.lx-gallery__frieze,
.lx-footer__frieze {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 20px;
	background: var(--lx-key) repeat-x 0 0 / 20px 20px;
	opacity: 0.4;
}

/* Pillars — what the site is about */
.lx-pillars {
	background:
		radial-gradient(60% 50% at 100% 0%, rgba(184, 137, 59, 0.1), transparent 70%),
		var(--lx-parchment);
}

.lx-pillars__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
}

.lx-pillar {
	position: relative;
	padding: 26px 26px 30px;
	border: 1px solid var(--lx-line);
	border-radius: var(--lx-radius);
	background: var(--lx-paper);
	transform-style: preserve-3d;
}

.lx-pillar:hover {
	box-shadow: var(--lx-shadow);
}

.lx-pillar__art {
	display: grid;
	place-items: center;
	aspect-ratio: 5 / 4;
	margin: -4px -4px 20px;
	border-radius: 10px;
	background: radial-gradient(circle at 50% 60%, rgba(184, 137, 59, 0.14), transparent 68%);
	color: var(--lx-ink);
	transform: translateZ(28px);
}

.lx-ill {
	width: 100%;
	max-width: 210px;
	height: auto;
	overflow: visible;
}

.lx-ill .a {
	stroke: var(--lx-gold);
}

.lx-ill .f {
	opacity: 0.07;
}

.lx-pillar__num {
	margin: 0 0 4px;
	color: var(--lx-gold);
	font-family: var(--lx-display);
	font-size: 1.0625rem;
	font-style: italic;
	font-weight: 600;
}

.lx-pillar__title {
	margin: 0 0 10px;
	font-size: 1.625rem;
	line-height: 1.1;
}

.lx-pillar__text {
	margin: 0;
	color: var(--lx-sepia);
	font-size: 1rem;
	line-height: 1.6;
}

.lx-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: clamp(48px, 6vw, 88px) 0 0;
	border-block: 1px solid var(--lx-line);
}

.lx-stat {
	display: flex;
	flex-direction: column-reverse;
	gap: 8px;
	padding: 30px 24px;
	border-left: 1px solid var(--lx-line);
}

.lx-stat:first-child {
	border-left: 0;
	padding-left: 0;
}

.lx-stat__label {
	color: var(--lx-sepia);
	font-family: var(--lx-sans);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.lx-stat__value {
	margin: 0;
	color: var(--lx-ink);
	font-family: var(--lx-display);
	font-size: clamp(2.5rem, 1.8rem + 2.6vw, 4rem);
	font-weight: 600;
	font-variant-numeric: lining-nums tabular-nums;
	line-height: 1;
}

@media (max-width: 1080px) {
	.lx-pillars__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.lx-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lx-stat:nth-child(odd) {
		border-left: 0;
		padding-left: 0;
	}

	.lx-stat:nth-child(n + 3) {
		border-top: 1px solid var(--lx-line);
	}
}

@media (max-width: 560px) {
	.lx-pillars__grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- 3D gallery ring ---------- */

.lx-gallery {
	overflow: hidden;
	background:
		radial-gradient(70% 50% at 50% 100%, rgba(184, 137, 59, 0.2), transparent 70%),
		radial-gradient(50% 40% at 50% 0%, rgba(46, 94, 78, 0.22), transparent 70%),
		var(--lx-obsidian);
}

.lx-gallery .lx-head {
	margin-inline: auto;
	text-align: center;
}

.lx-gallery .lx-head__lead {
	margin-inline: auto;
}

.lx-ring {
	--w: clamp(190px, 21vw, 290px);
	--h: calc(var(--w) * 1.32);
}

.lx-ring__stage {
	display: grid;
	place-items: center;
	height: calc(var(--h) + 72px);
	perspective: 1700px;
	perspective-origin: 50% 40%;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}

.lx-ring.is-3d .lx-ring__stage {
	cursor: grab;
}

.lx-ring.is-dragging .lx-ring__stage {
	cursor: grabbing;
}

.lx-ring__spinner {
	position: relative;
	width: var(--w);
	height: var(--h);
	margin: 0;
	padding: 0;
	list-style: none;
	transform-style: preserve-3d;
	transform: translateZ(calc(var(--radius, 640px) * -1)) rotateX(-5deg) rotateY(var(--angle, 0deg));
}

.lx-ring__item {
	position: absolute;
	inset: 0;
	margin: 0;
	transform: rotateY(calc(var(--i) * 360deg / var(--count))) translateZ(var(--radius, 640px));
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	opacity: var(--vis, 1);
	filter: brightness(var(--lum, 1));
}

.lx-ring__item a {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 10px;
	background: #000;
	box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(216, 178, 106, 0.25);
	color: var(--lx-paper);
	-webkit-box-reflect: below 12px linear-gradient(transparent 74%, rgba(255, 255, 255, 0.16));
	-webkit-user-drag: none;
}

.lx-ring__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
	filter: sepia(0.1);
}

.lx-ring__title {
	transition: opacity 0.3s;
	position: absolute;
	inset: auto 0 0;
	padding: 48px 16px 16px;
	background: linear-gradient(transparent, rgba(17, 14, 12, 0.92));
	font-family: var(--lx-display);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

/* The caption under the ring already names the front image. */
.lx-ring.is-3d .lx-ring__item.is-front .lx-ring__title {
	opacity: 0;
}

.lx-ring__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	width: min(100% - 2 * var(--lx-gutter), 720px);
	margin: 8px auto 0;
}

.lx-ring__caption {
	flex: 1;
	min-height: 2.6em;
	margin: 0;
	color: var(--lx-cream);
	font-family: var(--lx-display);
	font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.02em;
	text-align: center;
	text-transform: uppercase;
	text-wrap: balance;
}

/* Without 3D (no JS or reduced motion): a horizontal, swipeable strip. */
.lx-ring:not(.is-3d) .lx-ring__stage {
	display: block;
	height: auto;
	perspective: none;
}

.lx-ring:not(.is-3d) .lx-ring__spinner {
	display: flex;
	gap: 16px;
	width: auto;
	height: auto;
	padding: 8px var(--lx-gutter) 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	transform: none;
}

.lx-ring:not(.is-3d) .lx-ring__item {
	position: relative;
	flex: 0 0 var(--w);
	height: var(--h);
	transform: none;
	scroll-snap-align: center;
}

.lx-ring:not(.is-3d) .lx-ring__item a {
	-webkit-box-reflect: unset;
}

.lx-ring:not(.is-3d) .lx-ring__controls {
	display: none;
}

/* ---------- Essay cards ---------- */

.lx-essays {
	background: var(--lx-parchment);
}

.lx-essays__query {
	margin-block: 0;
}

.lx-card-grid,
.lx-site .wp-block-post-template.lx-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 2.4vw, 32px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.lx-card-grid > li,
.lx-site .wp-block-post-template.lx-card-grid > li {
	margin: 0;
}

.lx-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--lx-line);
	border-radius: var(--lx-radius);
	background: var(--lx-paper);
}

.lx-card-grid > li > .lx-card {
	height: 100%;
}

.lx-card:hover {
	box-shadow: var(--lx-shadow);
}

.lx-card > * {
	margin-block: 0;
}

.lx-card__media,
.lx-site .lx-card .wp-block-post-featured-image {
	position: relative;
	aspect-ratio: 4 / 3;
	margin: 0;
	overflow: hidden;
	background: var(--lx-vellum);
}

.lx-card__media img,
.lx-site .lx-card .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: sepia(0.08);
	transition: transform 1.2s var(--lx-ease);
}

.lx-card__media a {
	display: block;
	height: 100%;
}

.lx-card__placeholder {
	display: grid;
	place-items: center;
	background:
		radial-gradient(circle at 50% 55%, rgba(216, 178, 106, 0.22), transparent 65%),
		var(--lx-obsidian);
	color: var(--lx-cream);
}

.lx-card__placeholder .lx-ill {
	width: 58%;
}

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

.lx-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 22px 24px 26px;
}

.lx-card__body > * {
	margin-block: 0;
}

.lx-card__meta {
	margin: 0;
	color: var(--lx-sepia);
	font-family: var(--lx-sans);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lx-card__title,
.lx-site .lx-card .wp-block-post-title {
	margin: 0;
	font-family: var(--lx-display);
	font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
	font-weight: 600;
	line-height: 1.14;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.lx-card__title a,
.lx-site .lx-card .wp-block-post-title a {
	color: var(--lx-ink);
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size 0.45s var(--lx-ease), color 0.25s;
}

.lx-card__title a::after,
.lx-site .lx-card .wp-block-post-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.lx-card:hover .lx-card__title a,
.lx-site .lx-card:hover .wp-block-post-title a {
	color: var(--lx-terracotta);
	background-size: 100% 1px;
}

.lx-card__excerpt,
.lx-card .wp-block-post-excerpt {
	margin: 0;
	color: var(--lx-sepia);
	font-size: 1rem;
	line-height: 1.6;
}

.lx-card .wp-block-post-excerpt__excerpt {
	margin: 0;
}

.lx-card .wp-block-post-excerpt__more-text {
	display: none;
}

.lx-pagination {
	gap: 8px;
	margin-top: clamp(40px, 5vw, 64px);
	font-family: var(--lx-sans);
}

.lx-pagination a,
.lx-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	padding: 0 16px;
	border: 1px solid var(--lx-line);
	border-radius: 999px;
	color: var(--lx-ink);
	font-size: 0.875rem;
	text-decoration: none;
	transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.lx-pagination a:hover {
	border-color: var(--lx-ink);
}

.lx-pagination .page-numbers.current {
	background: var(--lx-ink);
	border-color: var(--lx-ink);
	color: var(--lx-paper);
}

.lx-pagination .page-numbers.dots {
	border: 0;
}

@media (max-width: 1000px) {
	.lx-card-grid,
	.lx-site .wp-block-post-template.lx-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.lx-card-grid,
	.lx-site .wp-block-post-template.lx-card-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Etymology flip cards ---------- */

.lx-words {
	background:
		radial-gradient(50% 40% at 0% 100%, rgba(46, 94, 78, 0.1), transparent 70%),
		linear-gradient(var(--lx-paper), var(--lx-parchment));
}

.lx-words__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.lx-word {
	perspective: 1300px;
}

.lx-word__card {
	position: relative;
	display: grid;
	height: 100%;
	min-height: 360px;
	transform-style: preserve-3d;
	transition: transform 0.95s var(--lx-ease);
}

@media (hover: hover) {
	.lx-word:hover .lx-word__card {
		transform: rotateY(180deg);
	}
}

.lx-word.is-flipped .lx-word__card,
html:not(.lx-js) .lx-word:focus-within .lx-word__card {
	transform: rotateY(180deg);
}

.lx-word__face {
	position: relative;
	grid-area: 1 / 1;
	display: flex;
	flex-direction: column;
	padding: 28px 26px;
	border-radius: var(--lx-radius);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

.lx-word__front {
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background:
		radial-gradient(80% 60% at 50% 40%, rgba(184, 137, 59, 0.22), transparent 70%),
		var(--lx-obsidian);
	color: var(--lx-cream);
	text-align: center;
	box-shadow: 0 24px 50px -30px rgba(17, 14, 12, 0.8);
}

.lx-word__front::before {
	content: "";
	position: absolute;
	inset: 10px;
	border: 1px solid rgba(216, 178, 106, 0.32);
	border-radius: 9px;
	pointer-events: none;
}

.lx-word__front::after {
	content: "";
	position: absolute;
	left: 10px;
	right: 10px;
	top: 10px;
	height: 14px;
	background: var(--lx-key) repeat-x 0 0 / 14px 14px;
	opacity: 0.45;
}

.lx-word__no {
	position: absolute;
	top: 34px;
	left: 26px;
	color: var(--lx-gold-2);
	font-family: var(--lx-display);
	font-size: 1rem;
	font-style: italic;
}

.lx-word__term {
	margin: 0.15em 0 0.25em;
	color: var(--lx-paper);
	font-family: var(--lx-display);
	font-size: clamp(2.5rem, 1.9rem + 1.6vw, 3.375rem);
	font-style: italic;
	font-weight: 600;
	line-height: 1;
	overflow-wrap: anywhere;
}

.lx-word__origin {
	color: var(--lx-gold-2);
	font-family: var(--lx-sans);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.lx-word__turn {
	position: absolute;
	left: 50%;
	bottom: 20px;
	padding: 8px 10px;
	translate: -50% 0;
	border: 0;
	background: none;
	color: rgba(237, 228, 211, 0.6);
	font-family: var(--lx-sans);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
}

.lx-word__back {
	transform: rotateY(180deg);
	border: 1px solid var(--lx-line);
	background: var(--lx-paper);
	box-shadow: var(--lx-shadow);
}

.lx-word__chain {
	display: grid;
	gap: 4px;
	margin: 0 0 16px;
	padding: 0 0 16px;
	border-bottom: 1px solid var(--lx-line);
	list-style: none;
	font-family: var(--lx-display);
	font-size: 1.125rem;
	line-height: 1.3;
}

.lx-word__chain li + li::before {
	content: "↳ ";
	color: var(--lx-gold);
	font-family: var(--lx-sans);
	font-size: 0.85em;
}

.lx-word__chain li:last-child {
	color: var(--lx-terracotta);
	font-size: 1.375rem;
	font-weight: 700;
}

.lx-word__text {
	margin: 0 0 auto;
	color: var(--lx-sepia);
	font-size: 0.95rem;
	line-height: 1.58;
}

.lx-word__link {
	display: inline-flex;
	align-self: flex-start;
	gap: 0.5em;
	margin-top: 18px;
	color: var(--lx-terracotta);
	font-family: var(--lx-sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
}

@media (max-width: 1080px) {
	.lx-words__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.lx-words__grid {
		grid-template-columns: 1fr;
	}

	.lx-word__card {
		min-height: 320px;
	}
}

/* ---------- Support ---------- */

.lx-support {
	background:
		radial-gradient(60% 60% at 0% 50%, rgba(184, 137, 59, 0.12), transparent 70%),
		var(--lx-sand);
}

.lx-support__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: clamp(40px, 6vw, 96px);
}

.lx-support__art {
	width: min(240px, 60%);
	margin-bottom: 8px;
	color: var(--lx-ink);
}

.lx-support__intro .lx-head {
	margin-bottom: 0;
}

.lx-support__options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.lx-option {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 28px;
	border: 1px solid var(--lx-line);
	border-radius: 18px;
	background: var(--lx-paper);
}

.lx-option > * {
	margin: 0;
}

.lx-option:hover {
	box-shadow: var(--lx-shadow);
}

.lx-option--featured {
	border-color: transparent;
	background:
		radial-gradient(90% 70% at 100% 0%, rgba(184, 137, 59, 0.3), transparent 65%),
		var(--lx-obsidian);
	color: var(--lx-cream);
}

.lx-option--wide {
	grid-column: 1 / -1;
}

.lx-option__icon {
	width: 34px;
	height: 34px;
	color: var(--lx-gold);
}

.lx-option__title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	margin-top: 4px;
	font-size: 1.625rem;
	line-height: 1.1;
}

.lx-option--featured .lx-option__title {
	color: var(--lx-paper);
}

.lx-option__price {
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(160, 68, 42, 0.1);
	color: var(--lx-terracotta);
	font-family: var(--lx-sans);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.lx-option--featured .lx-option__price {
	background: rgba(216, 178, 106, 0.16);
	color: var(--lx-gold-2);
}

.lx-option p {
	color: var(--lx-sepia);
	font-size: 1rem;
	line-height: 1.55;
}

.lx-option--featured p {
	color: var(--lx-cream-soft);
}

.lx-option .lx-btn {
	align-self: flex-start;
	margin-top: auto;
}

.lx-support__secure {
	display: flex;
	grid-column: 1 / -1;
	align-items: center;
	gap: 8px;
	margin: 2px 0 0;
	color: var(--lx-sepia);
	font-family: var(--lx-sans);
	font-size: 0.8125rem;
}

/* Jetpack subscribe form */
.lx-subscribe,
.lx-subscribe .wp-block-jetpack-subscriptions__container {
	margin: 4px 0 0;
}

.lx-subscribe form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.lx-subscribe form > p,
.lx-subscribe form .wp-block-jetpack-subscriptions__form-elements {
	margin: 0;
}

.lx-subscribe form p:first-of-type,
.lx-subscribe #subscribe-email {
	flex: 1 1 240px;
}

.lx-site .lx-subscribe input[type="email"] {
	width: 100%;
	min-height: 50px;
	padding: 0 20px;
	border: 1px solid var(--lx-vellum);
	border-radius: 999px;
	background: #fff;
	color: var(--lx-ink);
	font-family: var(--lx-sans);
	font-size: 1rem;
}

.lx-site .lx-subscribe input[type="email"]:focus {
	border-color: var(--lx-gold);
	outline: 2px solid rgba(184, 137, 59, 0.35);
	outline-offset: 0;
}

.lx-site .lx-subscribe .wp-block-button__link,
.lx-site .lx-subscribe button[type="submit"] {
	min-height: 50px;
	margin: 0;
}

/* Jetpack prints inline radius/margins on these fields. */
.lx-subscribe .wp-block-jetpack-subscriptions__form-elements {
	display: flex;
	flex: 1 1 100%;
	flex-wrap: wrap;
	gap: 10px;
}

.lx-subscribe #subscribe-email {
	flex: 1 1 220px;
	margin: 0;
}

.lx-subscribe #subscribe-submit {
	flex: 0 0 auto;
	margin: 0;
}

.lx-site .lx-subscribe :is(input[type="email"], button) {
	border-radius: 999px !important;
}

.lx-site .lx-subscribe button {
	margin-left: 0 !important;
	padding: 0 1.6em !important;
	font-size: 0.8125rem !important;
}

@media (max-width: 900px) {
	.lx-support__layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.lx-support__options {
		grid-template-columns: 1fr;
	}
}

/* ---------- Footer ---------- */

.lx-footer-part {
	margin: 0;
}

.lx-footer {
	position: relative;
	padding: clamp(64px, 8vw, 104px) 0 28px;
}

.lx-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
	gap: clamp(32px, 4vw, 56px);
}

.lx-footer__brand p {
	max-width: 30em;
	margin: 22px 0 0;
	color: rgba(237, 228, 211, 0.62);
	font-size: 0.98rem;
	line-height: 1.65;
}

.lx-footer__title {
	margin: 0 0 18px;
	color: var(--lx-gold-2);
	font-family: var(--lx-sans);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.lx-footer ul {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lx-footer a {
	color: rgba(237, 228, 211, 0.85);
	text-decoration: none;
	transition: color 0.25s;
}

.lx-footer a:hover {
	color: var(--lx-gold-2);
}

.lx-footer__col a {
	font-family: var(--lx-sans);
	font-size: 0.9375rem;
}

.lx-footer .lx-lang--full {
	display: grid;
	gap: 12px;
	padding: 0;
	border: 0;
}

.lx-footer .lx-lang--full a {
	padding: 0;
	border-radius: 0;
	background: none;
	color: rgba(237, 228, 211, 0.85);
	font-size: 0.9375rem;
	font-weight: 400;
	letter-spacing: 0;
	opacity: 1;
}

.lx-footer .lx-lang--full a.is-current {
	color: var(--lx-gold-2);
}

.lx-footer .lx-lang--full a.is-current::after {
	content: " ●";
	font-size: 0.6em;
	vertical-align: middle;
}

.lx-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: clamp(48px, 6vw, 72px);
	padding-top: 24px;
	border-top: 1px solid rgba(237, 228, 211, 0.12);
	color: rgba(237, 228, 211, 0.5);
	font-family: var(--lx-sans);
	font-size: 0.8125rem;
}

.lx-footer__bottom p {
	margin: 0;
}

.lx-footer__bottom a {
	color: rgba(237, 228, 211, 0.7);
}

@media (max-width: 900px) {
	.lx-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lx-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 480px) {
	.lx-footer__grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Single essay ---------- */

.lx-post-hero {
	position: relative;
	isolation: isolate;
	margin-top: calc(-1 * var(--lx-header-h));
	padding: calc(var(--lx-header-h) + clamp(56px, 9vw, 120px)) var(--lx-gutter) clamp(56px, 7vw, 96px);
	overflow: hidden;
	background:
		radial-gradient(50% 70% at 85% 10%, rgba(184, 137, 59, 0.26), transparent 65%),
		radial-gradient(45% 60% at 5% 100%, rgba(160, 68, 42, 0.22), transparent 65%),
		var(--lx-obsidian);
}

.lx-post-hero::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 20px;
	background: var(--lx-key) repeat-x 0 0 / 20px 20px;
	opacity: 0.35;
}

.lx-post-hero::after {
	content: "";
	z-index: -1;
}

.lx-post-hero__inner {
	max-width: 960px;
	margin-inline: auto;
	text-align: center;
}

.lx-post-eyebrow {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.lx-post-eyebrow__langs {
	color: var(--lx-cream-soft);
	font-family: var(--lx-sans);
	font-size: 0.8125rem;
}

.lx-post-eyebrow__langs a {
	color: var(--lx-gold-2);
	text-decoration: none;
	border-bottom: 1px solid rgba(216, 178, 106, 0.4);
}

.lx-site .lx-post-title {
	margin: 0.45em auto 0.45em;
	color: var(--lx-paper);
	font-size: clamp(2.25rem, 1.3rem + 3.6vw, 4.5rem);
	line-height: 1.02;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	text-wrap: balance;
}

.lx-post-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 0;
	margin: 0;
	color: var(--lx-cream-soft);
	font-family: var(--lx-sans);
	font-size: 0.875rem;
}

.lx-post-meta strong {
	color: var(--lx-paper);
	font-weight: 600;
}

.lx-post-hero--page {
	padding-bottom: clamp(48px, 6vw, 80px);
}

/* Long-form reading */
.lx-prose {
	padding-block: clamp(48px, 6vw, 88px) 16px;
	font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
	line-height: 1.78;
	font-variant-numeric: oldstyle-nums proportional-nums;
	hyphens: manual;
	overflow-wrap: break-word;
}

.lx-prose > * {
	margin-block: 0 1.3em;
}

.lx-prose strong.lx-plain {
	font-weight: inherit;
}

.lx-prose p:empty {
	display: none;
}

.lx-prose > p:first-of-type::first-letter {
	float: left;
	margin: 0.06em 0.12em 0 0;
	color: var(--lx-terracotta);
	font-family: var(--lx-display);
	font-size: 4.4em;
	font-weight: 600;
	line-height: 0.8;
}

.lx-prose :is(h2, h3, h4) {
	margin-top: 2em;
	margin-bottom: 0.6em;
}

.lx-prose h2 {
	font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem);
}

.lx-prose h3 {
	font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
}

.lx-prose a {
	color: var(--lx-terracotta);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.lx-prose img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}

.lx-prose figure,
.lx-prose .wp-block-image {
	margin-block: 2.4em;
}

.lx-prose .wp-block-image:not(.alignleft, .alignright) img {
	display: block;
	margin-inline: auto;
}

.lx-prose figcaption,
.lx-prose .wp-element-caption {
	margin-top: 0.9em;
	color: var(--lx-sepia);
	font-family: var(--lx-sans);
	font-size: 0.8125rem;
	line-height: 1.5;
	text-align: center;
}

.lx-prose blockquote {
	margin-inline: 0;
	padding-left: 1.5rem;
	border-left: 3px solid var(--lx-gold);
	font-family: var(--lx-display);
	font-size: 1.375rem;
	font-style: italic;
	line-height: 1.45;
}

.lx-prose hr {
	width: 120px;
	height: 20px;
	margin: 3em auto;
	border: 0;
	background: var(--lx-key) repeat-x 0 0 / 20px 20px;
	opacity: 0.6;
}

.lx-prose :is(ul, ol) {
	padding-left: 1.4em;
}

.lx-prose li + li {
	margin-top: 0.4em;
}

.lx-post-end {
	padding-bottom: clamp(56px, 7vw, 96px);
}

.lx-post-end > * {
	margin-block: 0 32px;
}

.lx-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-family: var(--lx-sans);
	font-size: 0.8125rem;
}

.lx-tags a {
	padding: 6px 12px;
	border: 1px solid var(--lx-line);
	border-radius: 999px;
	color: var(--lx-sepia);
	text-decoration: none;
}

.lx-tags .wp-block-post-terms__separator {
	display: none;
}

.lx-post-support {
	position: relative;
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	align-items: center;
	gap: 28px;
	padding: 34px;
	overflow: hidden;
	border: 1px solid var(--lx-line);
	border-radius: 18px;
	background: var(--lx-paper);
	box-shadow: var(--lx-shadow);
}

.lx-post-support::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: linear-gradient(90deg, var(--lx-terracotta), var(--lx-gold-2), var(--lx-jade));
}

.lx-post-support__art {
	color: var(--lx-ink);
}

.lx-post-support__title {
	margin: 0 0 6px;
	font-size: 1.75rem;
}

.lx-post-support p {
	margin: 0 0 20px;
	color: var(--lx-sepia);
	font-size: 1rem;
	line-height: 1.6;
}

.lx-post-support__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

@media (max-width: 600px) {
	.lx-post-support {
		grid-template-columns: 1fr;
		padding: 28px 22px;
	}

	.lx-post-support__art {
		width: 120px;
	}
}

.lx-related {
	padding-block: clamp(64px, 8vw, 112px);
	background: var(--lx-sand);
}

.lx-related__title {
	margin: 0 0 clamp(28px, 3vw, 44px);
	font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.lx-comments {
	padding-block: clamp(56px, 7vw, 96px);
	font-family: var(--lx-sans);
}

.lx-comments .wp-block-comments-title {
	font-size: 1.75rem;
}

.lx-comment {
	padding: 20px 0;
	border-bottom: 1px solid var(--lx-line);
}

.lx-comment__head {
	gap: 12px;
	align-items: center;
}

.lx-site .lx-comments :is(input:not([type="submit"]), textarea) {
	border: 1px solid var(--lx-vellum);
	border-radius: 10px;
	background: #fff;
	color: var(--lx-ink);
}

/* ---------- Listing + 404 ---------- */

.lx-listing .lx-section {
	padding-top: clamp(56px, 7vw, 96px);
}

.lx-404__inner {
	max-width: 720px;
	text-align: center;
}

.lx-404__art {
	width: 220px;
	margin: 0 auto 12px;
	color: var(--lx-ink);
}

.lx-404 .lx-head__lead {
	margin: 0 auto 32px;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.lx-js .lx-anim {
		animation: none;
	}

	.lx-js [data-reveal] {
		opacity: 1;
		translate: none;
		transition: none;
	}

	[data-tilt] {
		transform: none;
	}

	.lx-hero__dial svg,
	.lx-hero__scroll i {
		animation: none;
	}

	.lx-word__card,
	.lx-exhibit__stage {
		transition: none;
	}

	.lx-js .lx-ill.is-drawable :is(path, circle, ellipse, rect, polygon) {
		stroke-dashoffset: 0;
		transition: none;
	}
}
