/* ==========================================================================
   Cole Hagen — "the open record"
   Design tokens follow the Design Specification v1.0, Section 4.
   ========================================================================== */

:root {
	--ch-ink: #07090d;
	--ch-slate: #1a212b;
	--ch-paper: #e9e4da;
	--ch-fog: #9aa4b1;
	--ch-red: #c4161c;
	--ch-red-dark: #9e1015;
	--ch-blue: #2ea8ff;
	--ch-gold: #c9a24b;
	--ch-cyan: #3fd0e0;
	--ch-ember: #e2571e;

	--ch-display: "Bebas Neue", "League Gothic", Impact, "Arial Narrow", sans-serif;
	--ch-serif: Literata, Georgia, "Times New Roman", serif;
	--ch-mono: "IBM Plex Mono", ui-monospace, "Courier New", monospace;

	--ch-header-h: 76px;
	--ch-gutter: clamp(20px, 4vw, 56px);
	--ch-max: 1240px;
	--ch-ease: cubic-bezier(.2, .7, .2, 1);
	--ch-accent: var(--ch-red);
	--ch-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	--ch-distress: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='d'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.4 2.75'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23d)'/%3E%3C/svg%3E");
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--ch-header-h);
}

body {
	margin: 0;
	color: var(--ch-paper);
	font-family: var(--ch-serif);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body.ch-menu-open {
	overflow: hidden;
}

body .wp-site-blocks {
	padding: 0;
}

body .wp-site-blocks > * {
	margin-block: 0;
}

main .wp-block-post-content > *,
.ch-main > .wp-block-post-content {
	margin-block: 0;
}

a {
	color: inherit;
	text-underline-offset: .18em;
	text-decoration-thickness: 1px;
}

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

::selection {
	background: var(--ch-red);
	color: var(--ch-paper);
}

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

.ch-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.ch-skip {
	position: fixed;
	left: 16px;
	top: -80px;
	z-index: 1000;
	padding: .7em 1.1em;
	background: var(--ch-paper);
	color: var(--ch-ink);
	font-family: var(--ch-mono);
	font-size: .85rem;
	text-decoration: none;
	transition: top .2s;
}

.ch-skip:focus {
	top: 12px;
}

.ch-eyebrow {
	margin: 0 0 .9em;
	font-family: var(--ch-mono);
	font-size: .78rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ch-accent);
}

/* Distressed texture on the largest display type only. */
.ch-distress {
	-webkit-mask-image: var(--ch-distress);
	mask-image: var(--ch-distress);
	-webkit-mask-size: 260px;
	mask-size: 260px;
}

/* ---------- Backdrop worlds + grain ---------- */

.ch-world {
	position: fixed;
	inset: 0;
	z-index: -2;
	pointer-events: none;
	background: var(--ch-ink);
}

.ch-world__layer {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.4s var(--ch-ease);
}

.ch-world__layer--osj {
	background:
		radial-gradient(60% 55% at 88% 12%, rgba(196, 22, 28, .2), transparent 70%),
		radial-gradient(50% 50% at 8% 92%, rgba(46, 168, 255, .07), transparent 70%),
		linear-gradient(180deg, #0b0e14 0%, #07090d 100%);
}

.ch-world__layer--eval {
	background:
		radial-gradient(55% 55% at 12% 18%, rgba(201, 162, 75, .2), transparent 70%),
		radial-gradient(45% 50% at 88% 80%, rgba(46, 168, 255, .12), transparent 70%),
		linear-gradient(180deg, #0e0d0b 0%, #08090c 100%);
}

.ch-world__layer--ark {
	background:
		radial-gradient(45% 70% at 0% 50%, rgba(63, 208, 224, .2), transparent 70%),
		radial-gradient(40% 70% at 100% 55%, rgba(226, 87, 30, .18), transparent 70%),
		linear-gradient(180deg, #061019 0%, #07090d 100%);
}

html[data-world="osj"] .ch-world__layer--osj,
html[data-world="eval"] .ch-world__layer--eval,
html[data-world="ark"] .ch-world__layer--ark {
	opacity: 1;
}

.ch-grain {
	position: fixed;
	inset: 0;
	z-index: 300;
	pointer-events: none;
	background-image: var(--ch-noise);
	background-size: 220px;
	opacity: .045;
}

/* ---------- Buttons + links ---------- */

.ch-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	min-height: 48px;
	padding: .9em 1.6em .8em;
	border: 1px solid transparent;
	border-radius: 2px;
	font-family: var(--ch-display);
	font-size: 1.2rem;
	font-weight: 400;
	letter-spacing: .09em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}

.ch-btn:active {
	transform: translateY(1px);
}

.ch-btn--primary {
	background: var(--ch-red);
	border-color: var(--ch-red);
	color: var(--ch-paper);
}

.ch-btn--primary:hover {
	background: var(--ch-red-dark);
	border-color: var(--ch-red-dark);
	color: #fff;
}

.ch-btn--ghost {
	background: transparent;
	border-color: rgba(233, 228, 218, .5);
	color: var(--ch-paper);
}

.ch-btn--ghost:hover {
	background: rgba(233, 228, 218, .08);
	border-color: var(--ch-paper);
}

.ch-link-arrow a,
a.ch-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .6em;
	color: var(--ch-paper);
	font-family: var(--ch-display);
	font-size: 1.25rem;
	letter-spacing: .08em;
	text-decoration: none;
	text-transform: uppercase;
	border-bottom: 1px solid var(--ch-accent);
	padding-bottom: .2em;
}

.ch-link-arrow a::after,
a.ch-link-arrow::after {
	content: "\2192";
	font-family: var(--ch-serif);
	transition: transform .25s var(--ch-ease);
}

.ch-link-arrow a:hover::after,
a.ch-link-arrow:hover::after {
	transform: translateX(4px);
}

/* Core buttons (used on simple pages) follow the same look. */
.wp-block-button__link {
	font-family: var(--ch-display);
	letter-spacing: .09em;
	text-transform: uppercase;
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--ch-paper);
	border: 1px solid rgba(233, 228, 218, .5);
}

/* ---------- Stamps ---------- */

.ch-stamp {
	display: inline-block;
	margin: 0;
	padding: .14em .5em .02em;
	border: 3px solid currentColor;
	border-radius: 3px;
	color: var(--ch-accent);
	font-family: var(--ch-display);
	font-weight: 400;
	letter-spacing: .14em;
	line-height: 1;
	text-transform: uppercase;
	-webkit-mask-image: var(--ch-distress);
	mask-image: var(--ch-distress);
	-webkit-mask-size: 180px;
	mask-size: 180px;
}

@keyframes ch-stamp-press {
	0% { opacity: 0; transform: rotate(-7deg) scale(1.5); filter: blur(2px); }
	60% { opacity: 1; transform: rotate(-7deg) scale(.95); filter: blur(0); text-shadow: 0 0 0 currentColor; }
	75% { text-shadow: 0 0 6px currentColor; }
	100% { opacity: 1; transform: rotate(-7deg) scale(1); text-shadow: 0 0 0 transparent; }
}

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

.ch-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--ch-header-h);
	transition: background-color .35s var(--ch-ease), box-shadow .35s var(--ch-ease);
}

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

@media (max-width: 782px) {
	.admin-bar .ch-header {
		top: 46px;
	}
}

.ch-header.is-scrolled,
body:not(.ch-has-hero) .ch-header {
	background: var(--ch-slate);
	box-shadow: 0 1px 0 rgba(201, 162, 75, .55);
}

.ch-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 100%;
	max-width: 1440px;
	margin-inline: auto;
	padding-inline: var(--ch-gutter);
}

.ch-wordmark {
	position: relative;
	z-index: 2;
	color: var(--ch-paper);
	font-family: var(--ch-display);
	font-size: 1.9rem;
	letter-spacing: .16em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

.ch-nav {
	display: flex;
	align-items: center;
	gap: clamp(20px, 2.6vw, 44px);
}

.ch-nav__list {
	display: flex;
	gap: clamp(18px, 2.3vw, 36px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.ch-nav__list a {
	position: relative;
	display: inline-block;
	padding: .45em 0;
	color: var(--ch-paper);
	font-size: 1rem;
	text-decoration: none;
}

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

.ch-nav__list a:hover::after,
.ch-nav__list a:focus-visible::after,
.ch-nav__list .current-menu-item > a::after {
	transform: scaleX(1);
}

.ch-docket-no {
	position: absolute;
	left: 0;
	bottom: 100%;
	color: var(--ch-gold);
	font-family: var(--ch-mono);
	font-size: .66rem;
	letter-spacing: .06em;
	white-space: nowrap;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity .25s, transform .25s var(--ch-ease);
}

.ch-nav__list a:hover .ch-docket-no,
.ch-nav__list a:focus-visible .ch-docket-no {
	opacity: 1;
	transform: none;
}

.ch-header__cta {
	min-height: 44px;
	padding: .75em 1.25em .65em;
	font-size: 1.1rem;
}

.ch-menu-toggle {
	position: relative;
	z-index: 2;
	display: none;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(233, 228, 218, .35);
	border-radius: 2px;
	background: transparent;
	color: var(--ch-paper);
	cursor: pointer;
}

.ch-menu-toggle__bars,
.ch-menu-toggle__bars::before,
.ch-menu-toggle__bars::after {
	position: absolute;
	left: 13px;
	width: 22px;
	height: 2px;
	background: currentColor;
	transition: transform .3s var(--ch-ease), opacity .2s;
}

.ch-menu-toggle__bars {
	top: 23px;
}

.ch-menu-toggle__bars::before,
.ch-menu-toggle__bars::after {
	content: "";
	left: 0;
}

.ch-menu-toggle__bars::before {
	top: -7px;
}

.ch-menu-toggle__bars::after {
	top: 7px;
}

.ch-menu-toggle[aria-expanded="true"] .ch-menu-toggle__bars {
	background: transparent;
}

.ch-menu-toggle[aria-expanded="true"] .ch-menu-toggle__bars::before {
	transform: translateY(7px) rotate(45deg);
}

.ch-menu-toggle[aria-expanded="true"] .ch-menu-toggle__bars::after {
	transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 960px) {
	.ch-menu-toggle {
		display: inline-block;
	}

	.ch-nav {
		position: fixed;
		inset: 0;
		z-index: 1;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 44px;
		padding: calc(var(--ch-header-h) + 24px) var(--ch-gutter) 48px;
		background: var(--ch-ink);
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s var(--ch-ease), visibility .3s;
	}

	.ch-nav.is-open {
		opacity: 1;
		visibility: visible;
	}

	.ch-nav__list {
		flex-direction: column;
		gap: 14px;
	}

	.ch-nav__list a {
		display: flex;
		align-items: baseline;
		gap: .7em;
		padding: 0;
		font-family: var(--ch-display);
		font-size: clamp(2.6rem, 11vw, 4.2rem);
		letter-spacing: .03em;
		line-height: 1;
		text-transform: uppercase;
	}

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

	.ch-docket-no {
		position: static;
		order: -1;
		font-size: .8rem;
		opacity: 1;
		transform: none;
	}

	.ch-header__cta {
		font-size: 1.3rem;
	}
}

/* Pages without a hero start below the fixed header. */
body:not(.ch-has-hero) .ch-main {
	padding-top: var(--ch-header-h);
}

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

.ch-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	isolation: isolate;
	background: var(--ch-ink);
}

.ch-hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	will-change: transform;
}

.ch-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 62% 30%;
	filter: brightness(.6) saturate(.72) contrast(1.15);
}

.ch-hero__particles {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	pointer-events: none;
}

.ch-hero__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(7, 9, 13, .92) 0%, rgba(7, 9, 13, .7) 36%, rgba(7, 9, 13, .18) 70%, rgba(7, 9, 13, .35) 100%),
		linear-gradient(180deg, rgba(7, 9, 13, .6) 0%, rgba(7, 9, 13, 0) 24%, rgba(7, 9, 13, 0) 58%, var(--ch-ink) 100%);
}

.ch-hero__inner {
	width: 100%;
	max-width: 1440px;
	margin-inline: auto;
	padding: calc(var(--ch-header-h) + 10vh) var(--ch-gutter) clamp(64px, 12vh, 132px);
}

.ch-hero__title-wrap {
	position: relative;
	display: inline-block;
	margin: 0 0 clamp(1rem, 2.4vw, 2.4rem);
}

.ch-hero__title {
	position: relative;
	display: inline-block;
	max-width: 12ch;
	margin: 0;
	color: var(--ch-paper);
	font-family: var(--ch-display);
	font-size: clamp(3.2rem, 7.6vw, 7.8rem);
	font-weight: 400;
	letter-spacing: .01em;
	line-height: .9;
	text-transform: uppercase;
}

.ch-hero__headline {
	display: block;
}

.ch-hero__stamp {
	position: absolute;
	left: 52%;
	top: 50%;
	--ch-accent: var(--ch-red);
	font-size: clamp(1.3rem, 3vw, 3.1rem);
	background: rgba(7, 9, 13, .2);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) rotate(-9deg);
}

.ch-hero__tagline {
	min-height: 1.7em;
	margin: 0 0 1em;
	color: var(--ch-blue);
	font-family: var(--ch-mono);
	font-size: clamp(.95rem, 1.35vw, 1.15rem);
	letter-spacing: .02em;
}

.ch-caret {
	display: inline-block;
	width: .55ch;
	height: 1.05em;
	margin-left: 3px;
	vertical-align: -.15em;
	background: var(--ch-blue);
	animation: ch-blink 1.05s steps(1) infinite;
}

.ch-hero__sub {
	max-width: 46ch;
	margin: 0 0 2em;
	color: var(--ch-fog);
	font-size: clamp(1.05rem, 1.3vw, 1.2rem);
	line-height: 1.6;
}

.ch-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

@keyframes ch-blink {
	50% { opacity: 0; }
}

@keyframes ch-rise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

@keyframes ch-img-in {
	0% { opacity: .15; transform: scale(1.07); }
	55% { opacity: .3; }
	100% { opacity: 1; transform: scale(1); }
}

@keyframes ch-particles {
	0% { opacity: 1; }
	72% { opacity: 1; }
	100% { opacity: 0; }
}

@keyframes ch-stamp-lift {
	0% { opacity: 0; transform: translate(-50%, -50%) rotate(-9deg) scale(1.7); }
	10% { opacity: 1; transform: translate(-50%, -50%) rotate(-9deg) scale(1); }
	55% { opacity: 1; transform: translate(-50%, -50%) rotate(-9deg) scale(1); }
	100% { opacity: 0; transform: translate(-28%, -170%) rotate(-19deg) scale(1.08); }
}

/* Before the intro starts: hide the finished state (set by an inline head script). */
.ch-intro-pending .ch-hero__img {
	opacity: .15;
}

.ch-intro-pending .ch-hero__inner > * {
	opacity: 0;
}

.ch-hero.is-intro .ch-hero__img {
	animation: ch-img-in 2.7s var(--ch-ease) both;
}

.ch-hero.is-intro .ch-hero__particles {
	animation: ch-particles 3.1s linear both;
}

.ch-hero.is-intro .ch-hero__title {
	animation: ch-rise .9s var(--ch-ease) .15s both;
}

.ch-hero.is-intro .ch-hero__stamp {
	animation: ch-stamp-lift 2.3s var(--ch-ease) .35s both;
}

.ch-hero.is-intro .ch-hero__tagline {
	animation: ch-rise .5s var(--ch-ease) 1.1s both;
}

.ch-hero.is-intro .ch-hero__sub,
.ch-hero.is-intro .ch-hero__actions {
	animation: ch-rise .9s var(--ch-ease) 2s both;
}

@media (max-width: 700px) {
	.ch-hero__img {
		object-position: 60% 30%;
	}

	.ch-hero__shade {
		background:
			linear-gradient(180deg, rgba(7, 9, 13, .55) 0%, rgba(7, 9, 13, .2) 30%, rgba(7, 9, 13, .85) 62%, var(--ch-ink) 100%);
	}

	.ch-hero__actions .ch-btn {
		flex: 1 1 100%;
	}
}

/* ---------- The premise ---------- */

.ch-premise {
	position: relative;
	padding: clamp(104px, 17vh, 190px) var(--ch-gutter);
	text-align: center;
}

.ch-premise::before {
	content: "";
	display: block;
	width: 56px;
	height: 1px;
	margin: 0 auto 3rem;
	background: var(--ch-gold);
}

.ch-premise p {
	max-width: 30ch;
	margin: 0 auto 1.1em;
	color: var(--ch-paper);
	font-family: var(--ch-serif);
	font-size: clamp(1.45rem, 2.55vw, 2.2rem);
	line-height: 1.42;
}

.ch-premise p:last-child {
	margin-bottom: 0;
	color: var(--ch-fog);
}

/* ---------- Book exhibits ---------- */

.ch-exhibit {
	--ch-accent: var(--ch-red);
	position: relative;
	padding: clamp(84px, 14vh, 160px) var(--ch-gutter);
}

.ch-exhibit[data-world="eval"] {
	--ch-accent: var(--ch-gold);
}

.ch-exhibit[data-world="ark"] {
	--ch-accent: var(--ch-cyan);
}

.ch-exhibit__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(40px, 6vw, 100px);
	align-items: center;
	max-width: var(--ch-max);
	margin-inline: auto;
}

.ch-exhibit--cover-right .ch-exhibit__cover {
	order: 2;
}

.ch-exhibit__cover {
	position: relative;
	display: flex;
	justify-content: center;
	padding-bottom: 12%;
	perspective: 1300px;
}

/* Wet-pavement glow under the cover. */
.ch-exhibit__cover::after {
	content: "";
	position: absolute;
	left: 8%;
	right: 8%;
	bottom: 4%;
	height: 22%;
	z-index: -1;
	background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--ch-accent) 28%, transparent), transparent 75%);
	filter: blur(8px);
}

.ch-cover {
	position: relative;
	display: block;
	width: min(100%, 420px);
	transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transform-style: preserve-3d;
	transition: transform .55s var(--ch-ease);
}

.ch-cover__img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 34px 42px rgba(0, 0, 0, .6));
}

.ch-cover__reflection {
	position: absolute;
	left: 0;
	top: 100%;
	width: 100%;
	height: auto;
	opacity: .3;
	pointer-events: none;
	transform: scaleY(-1);
	filter: blur(3px);
	-webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, transparent 32%);
	mask-image: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, transparent 32%);
}

.ch-tab {
	display: inline-block;
	margin: 0 0 1.4rem;
	padding: .5em 1.6em .42em .9em;
	background: var(--ch-accent);
	color: var(--ch-ink);
	font-family: var(--ch-mono);
	font-size: .76rem;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 0 100%);
}

.ch-exhibit__heading {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .4em 1.1em;
}

.ch-exhibit__title {
	margin: 0;
	color: var(--ch-paper);
	font-family: var(--ch-display);
	font-size: clamp(3rem, 6.3vw, 6rem);
	font-weight: 400;
	letter-spacing: .01em;
	line-height: .92;
	text-transform: uppercase;
}

.ch-exhibit__stamp {
	font-size: clamp(1rem, 1.4vw, 1.25rem);
	transform: rotate(-7deg);
}

.ch-exhibit__subtitle {
	margin: .55em 0 0;
	color: var(--ch-paper);
	font-size: clamp(1.15rem, 1.6vw, 1.4rem);
	font-style: italic;
}

.ch-exhibit__series {
	margin: .5em 0 0;
	color: var(--ch-fog);
	font-family: var(--ch-mono);
	font-size: .8rem;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.ch-exhibit__hook {
	max-width: 32ch;
	margin: 1.4em 0 0;
	color: var(--ch-paper);
	font-size: clamp(1.3rem, 2vw, 1.75rem);
	line-height: 1.42;
}

.ch-exhibit__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 2.2em;
}

/* Redacted pull quote: a paper "document" strip, bars lift on scroll. */
.ch-redact {
	max-width: 36ch;
	margin: 2em 0 0;
	padding: 1.2em 1.4em 1em;
	border-left: 4px solid var(--ch-accent);
	background: var(--ch-paper);
	color: var(--ch-ink);
}

.ch-redact blockquote {
	margin: 0;
}

.ch-redact blockquote p {
	margin: 0;
	font-size: clamp(1.15rem, 1.6vw, 1.35rem);
	font-style: italic;
	line-height: 1.55;
}

.ch-redact__text {
	background-image: linear-gradient(#0b0d11, #0b0d11);
	background-repeat: no-repeat;
	background-position: right center;
	background-size: 100% 88%;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	transition: background-size 1.1s var(--ch-ease) .25s;
}

.ch-redact figcaption {
	margin-top: .8em;
	color: #545b66;
	font-family: var(--ch-mono);
	font-size: .72rem;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ch-redact figcaption::before {
	content: "— ";
}

.ch-js .ch-exhibit:not(.is-inview) .ch-exhibit__stamp {
	opacity: 0;
}

.ch-exhibit.is-inview .ch-exhibit__stamp {
	animation: ch-stamp-press .7s var(--ch-ease) .5s both;
}

.ch-exhibit.is-inview .ch-redact__text,
.ch-redact__text.is-revealed {
	background-size: 0% 88%;
}

/* Without JavaScript the quote must stay readable. */
html:not(.ch-js) .ch-redact__text {
	background-size: 0% 88%;
}

@media (max-width: 860px) {
	.ch-exhibit__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.ch-exhibit--cover-right .ch-exhibit__cover {
		order: 0;
	}

	.ch-cover {
		width: min(72vw, 320px);
	}

	.ch-exhibit__actions .ch-btn {
		flex: 1 1 100%;
	}
}

.ch-exhibit--empty {
	padding: 2rem;
	border: 1px dashed var(--ch-fog);
	color: var(--ch-fog);
	text-align: center;
}

/* ---------- AI Watch strip ---------- */

.ch-record-strip {
	--ch-accent: var(--ch-blue);
	padding: clamp(84px, 13vh, 150px) var(--ch-gutter);
	background: linear-gradient(180deg, rgba(26, 33, 43, 0) 0%, rgba(26, 33, 43, .55) 22%, rgba(26, 33, 43, .55) 78%, rgba(26, 33, 43, 0) 100%);
}

.ch-record-strip__inner {
	max-width: var(--ch-max);
	margin-inline: auto;
}

.ch-record-strip__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 24px 64px;
	align-items: end;
	margin-bottom: 48px;
}

.ch-record-strip__title {
	margin: 0;
	color: var(--ch-paper);
	font-family: var(--ch-display);
	font-size: clamp(2.6rem, 5vw, 4.6rem);
	font-weight: 400;
	line-height: .95;
	text-transform: uppercase;
}

.ch-record-strip__intro {
	max-width: 52ch;
	margin: 0;
	color: var(--ch-fog);
	font-size: 1.05rem;
}

.ch-record-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ch-record article {
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
	padding: 26px 24px 22px;
	border: 1px solid rgba(154, 164, 177, .18);
	border-top: 2px solid var(--ch-blue);
	background: rgba(7, 9, 13, .72);
}

.ch-record__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .3em .9em;
	margin: 0;
	color: var(--ch-fog);
	font-family: var(--ch-mono);
	font-size: .76rem;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ch-record__meta time {
	color: var(--ch-blue);
}

.ch-record__pending {
	flex-basis: 100%;
	color: var(--ch-gold);
}

.ch-record__headline {
	margin: 0;
	color: var(--ch-paper);
	font-family: var(--ch-serif);
	font-size: 1.18rem;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.38;
	text-transform: none;
}

.ch-record__summary {
	margin: 0;
	color: var(--ch-fog);
	font-size: .97rem;
	line-height: 1.6;
}

.ch-record__series {
	margin: 0;
	color: var(--ch-paper);
	font-size: .97rem;
	font-style: italic;
	line-height: 1.55;
}

.ch-record__series span {
	display: block;
	margin-bottom: .2em;
	color: var(--ch-gold);
	font-family: var(--ch-mono);
	font-size: .7rem;
	font-style: normal;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.ch-record__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: auto 0 0;
	padding-top: 10px;
}

.ch-record__tag {
	padding: .3em .7em;
	border: 1px solid rgba(154, 164, 177, .35);
	color: var(--ch-fog);
	font-family: var(--ch-mono);
	font-size: .68rem;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ch-record__link {
	color: var(--ch-blue);
	font-size: .92rem;
	text-decoration: none;
}

.ch-record__link:hover {
	text-decoration: underline;
}

.ch-record-strip__empty {
	margin: 0;
	padding: 28px;
	border: 1px dashed rgba(154, 164, 177, .35);
	color: var(--ch-fog);
	font-family: var(--ch-mono);
	font-size: .85rem;
}

.ch-record-strip__more {
	margin: 40px 0 0;
}

@media (max-width: 960px) {
	.ch-record-strip__head {
		grid-template-columns: 1fr;
	}

	.ch-record-list {
		grid-template-columns: 1fr;
	}
}

/* ---------- Credibility band ---------- */

.ch-credibility {
	padding: clamp(84px, 13vh, 150px) var(--ch-gutter);
}

.ch-credibility > .wp-block-columns {
	max-width: 1100px;
	margin: 0 auto;
	gap: clamp(32px, 5vw, 72px);
}

.ch-monogram-plate {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	max-width: 280px;
	margin: 0 auto;
	border: 1px solid rgba(201, 162, 75, .6);
	background:
		radial-gradient(70% 70% at 50% 40%, rgba(201, 162, 75, .1), transparent 70%),
		var(--ch-slate);
	color: var(--ch-paper);
	font-family: var(--ch-display);
	font-size: clamp(5rem, 11vw, 9rem);
	letter-spacing: -.02em;
	line-height: 1;
	box-shadow: inset 0 0 0 10px var(--ch-slate), inset 0 0 0 11px rgba(201, 162, 75, .35);
}

.ch-credibility h2 {
	margin: 0 0 .6em;
	color: var(--ch-paper);
	font-size: clamp(2.3rem, 4.2vw, 3.8rem);
	line-height: .98;
}

.ch-credibility p {
	max-width: 58ch;
	color: var(--ch-paper);
}

@media (max-width: 781px) {
	.ch-monogram-plate {
		max-width: 180px;
		margin: 0;
	}
}

/* ---------- Join the Record ---------- */

.ch-join {
	--ch-accent: var(--ch-blue);
	padding: clamp(84px, 12vh, 140px) var(--ch-gutter);
	border-top: 1px solid rgba(201, 162, 75, .22);
	background:
		radial-gradient(60% 80% at 50% 0%, rgba(46, 168, 255, .12), transparent 65%),
		rgba(7, 9, 13, .6);
	text-align: center;
}

.ch-join__inner {
	max-width: 760px;
	margin-inline: auto;
}

.ch-join__icon {
	width: 58px;
	height: auto;
	margin: 0 auto 18px;
	color: var(--ch-blue);
}

.ch-join__title {
	margin: 0 0 .35em;
	color: var(--ch-paper);
	font-family: var(--ch-display);
	font-size: clamp(2.8rem, 5.6vw, 4.8rem);
	font-weight: 400;
	line-height: .95;
	text-transform: uppercase;
}

.ch-join__text {
	max-width: 54ch;
	margin: 0 auto 2em;
	color: var(--ch-fog);
}

.ch-join-form__row {
	display: flex;
	gap: 10px;
	max-width: 580px;
	margin-inline: auto;
}

.ch-join-form__input {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 52px;
	padding: 0 18px;
	border: 1px solid rgba(233, 228, 218, .35);
	border-radius: 2px;
	background: rgba(233, 228, 218, .06);
	color: var(--ch-paper);
	font-family: var(--ch-serif);
	font-size: 1rem;
}

.ch-join-form__input::placeholder {
	color: var(--ch-fog);
}

.ch-join-form__input:focus {
	border-color: var(--ch-blue);
	outline: none;
	box-shadow: 0 0 0 2px rgba(46, 168, 255, .35);
}

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

.ch-join-form__interests {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 22px;
	margin: 20px auto 0;
	padding: 0;
	border: 0;
	color: var(--ch-fog);
	font-size: .92rem;
}

.ch-join-form__interests legend {
	width: 100%;
	margin-bottom: 8px;
	font-family: var(--ch-mono);
	font-size: .72rem;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ch-join-form__note {
	margin: 16px 0 0;
	color: var(--ch-fog);
	font-family: var(--ch-mono);
	font-size: .75rem;
	letter-spacing: .06em;
}

.ch-join-form__status {
	margin: 18px 0 0;
	color: var(--ch-blue);
	font-family: var(--ch-mono);
	font-size: .85rem;
}

.ch-join-form__status--error {
	color: #ff8a8a;
}

@media (max-width: 560px) {
	.ch-join-form__row {
		flex-direction: column;
	}
}

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

.ch-footer {
	padding: 72px var(--ch-gutter) 32px;
	border-top: 1px solid rgba(201, 162, 75, .35);
	background: #05070a;
	color: var(--ch-fog);
	font-size: .95rem;
}

.ch-footer__inner {
	max-width: var(--ch-max);
	margin-inline: auto;
}

.ch-footer__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr);
	gap: 40px;
}

.ch-footer__heading {
	margin: 0 0 18px;
	color: var(--ch-gold);
	font-family: var(--ch-mono);
	font-size: .74rem;
	font-weight: 500;
	letter-spacing: .16em;
	line-height: 1.4;
	text-transform: uppercase;
}

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

.ch-footer__list a {
	color: var(--ch-fog);
	text-decoration: none;
}

.ch-footer__list a:hover {
	color: var(--ch-paper);
	text-decoration: underline;
}

.ch-join-form--compact .ch-join-form__row {
	flex-direction: column;
	max-width: none;
}

.ch-join-form--compact .ch-btn {
	align-self: flex-start;
	min-height: 44px;
	font-size: 1.05rem;
}

.ch-footer__base {
	display: grid;
	gap: 10px;
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid rgba(154, 164, 177, .16);
	font-size: .85rem;
	line-height: 1.6;
}

.ch-footer__base p {
	margin: 0;
}

.ch-footer__credit a {
	color: var(--ch-paper);
}

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

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

/* ---------- Simple pages + 404 ---------- */

.ch-main--page {
	padding-bottom: clamp(64px, 10vh, 120px);
}

.ch-page-title {
	margin-top: clamp(48px, 9vh, 96px);
	font-family: var(--ch-display);
	font-size: clamp(3rem, 6vw, 5.5rem);
	font-weight: 400;
	line-height: .95;
	text-transform: uppercase;
}

.ch-404 {
	padding-block: calc(var(--ch-header-h) + 12vh) 14vh;
	text-align: center;
}

.ch-404__title {
	font-size: clamp(3.6rem, 11vw, 9rem);
}

.ch-404__line {
	color: var(--ch-blue);
	font-family: var(--ch-mono);
}

.ch-404__search {
	max-width: 520px;
	margin: 2.5rem auto;
}

.ch-404__actions {
	justify-content: center;
}

/* ---------- Editor preview tweaks ---------- */

.editor-styles-wrapper .ch-header {
	position: relative;
	background: var(--ch-slate);
}

.editor-styles-wrapper .ch-hero {
	min-height: 640px;
}

.editor-styles-wrapper .ch-nav {
	position: static;
	opacity: 1;
	visibility: visible;
}

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

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

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}

	.ch-world__layer {
		transition: opacity .4s linear !important;
	}

	.ch-cover {
		transform: none !important;
	}
}
