/*
 * Critical Path: theme styles.
 *
 * Colours, fonts and type sizes are also defined in theme.json (so they appear in the
 * editor); the values below mirror them. Layout: content is 1200px wide with 120px
 * gutters (1248px and 96px on essays), dropping to 48px and 20px gutters on smaller screens.
 */

/* ---------------------------------------------------------------------------
 * Tokens
 * ------------------------------------------------------------------------ */

:root {
	--cp-navy: #04060f;
	--cp-panel: #080d1f;
	--cp-line: #161f3a;
	--cp-border: #243052;
	--cp-text: #e8edf7;
	--cp-secondary: #a9b4cc;
	--cp-muted: #7d8aa6;
	--cp-dim: #5b6b8f;
	--cp-wordmark: #101b40;
	--cp-on-image: #d6defa;

	--cp-light: #edf1f8;
	--cp-reading: #eaf1fb;
	--cp-ink: #0b1230;
	--cp-ink-body: #1c2540;
	--cp-ink-secondary: #46506b;
	--cp-ink-muted: #5d6884;
	--cp-rule: #d3dae8;
	--cp-rule-soft: #c5d1e8;
	--cp-pill: #9aa6c2;

	--cp-cobalt: #11308f;
	--cp-blue: #1d4ed8;
	--cp-apricot: #f68c50;
	--cp-golden: #f3a257;

	--cp-sans: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
	--cp-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

	--cp-gutter: 120px;
	--cp-max: 1200px;
	--cp-side: 320px;
	--cp-side-gap: 96px;
}

body.single-post {
	--cp-gutter: 96px;
	--cp-max: 1248px;
}

@media (max-width: 1100px) {
	:root,
	body.single-post {
		--cp-gutter: 48px;
	}
}

@media (max-width: 760px) {
	:root,
	body.single-post {
		--cp-gutter: 20px;
	}
}

/* Full-width sections keep their content in the centre column. */
.cp-header,
.cp-hero,
.cp-feature,
.cp-latest,
.cp-recent,
.cp-subscribe,
.cp-footer,
.cp-page-head,
.cp-list,
.cp-page-content,
.cp-work-hero,
.cp-work-section,
.cp-about-hero,
.cp-about-work,
.cp-about-press,
.cp-article-head,
.cp-article-image,
.cp-article-end {
	box-sizing: border-box;
	padding-left: max(var(--cp-gutter), calc((100% - var(--cp-max)) / 2));
	padding-right: max(var(--cp-gutter), calc((100% - var(--cp-max)) / 2));
}

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

html {
	scroll-padding-top: 24px;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* The theme sets its own spacing between page sections. */
.wp-site-blocks > *,
.wp-block-template-part > *,
.wp-site-blocks main > * {
	margin-block: 0;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s ease;
}

a:hover {
	color: var(--cp-golden);
}

.cp-light a:hover,
.cp-reading a:hover {
	color: var(--cp-cobalt);
}

:focus-visible {
	outline: 2px solid var(--cp-golden);
	outline-offset: 3px;
}

.cp-light :focus-visible,
.cp-reading :focus-visible {
	outline-color: var(--cp-cobalt);
}

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

/* Marker printed by empty lists; sections that contain it hide themselves (see below). */
.cp-empty {
	display: none;
}

.cp-light {
	background: var(--cp-light);
	color: var(--cp-ink);
}

/* ---------------------------------------------------------------------------
 * Small labels
 * ------------------------------------------------------------------------ */

.cp-kicker {
	margin: 0;
	font-family: var(--cp-mono);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cp-muted);
}

.cp-kicker a {
	color: inherit;
}

.cp-light .cp-kicker {
	color: var(--cp-ink-muted);
}

.cp-kicker.cp-kicker--gold {
	color: var(--cp-golden);
}

.cp-light .cp-kicker.cp-kicker--gold {
	color: var(--cp-cobalt);
}

.cp-kicker--dot::before,
.cp-kicker--dot-gold::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 10px;
	border-radius: 999px;
	background: var(--cp-apricot);
	vertical-align: 2px;
}

.cp-kicker--dot-gold::before {
	background: var(--cp-golden);
}

.cp-meta {
	margin: 0;
	font-family: var(--cp-mono);
	font-size: 16px;
	color: var(--cp-secondary);
}

.cp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 24px;
	border-radius: 10px;
	background: var(--cp-apricot);
	color: var(--cp-navy);
	font-size: 18px;
	font-weight: 600;
}

.cp-button:hover {
	background: var(--cp-golden);
	color: var(--cp-navy);
}

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

.cp-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	min-height: 104px;
}

.cp-header > * {
	margin: 0;
}

.cp-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--cp-text);
	white-space: nowrap;
}

.cp-brand:hover {
	color: var(--cp-text);
}

.cp-brand__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: var(--cp-blue);
	color: #ffffff;
	font-family: var(--cp-mono);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.cp-header .cp-nav {
	color: var(--cp-text);
	font-size: 18px;
	font-weight: 500;
}

.cp-header .cp-nav,
.cp-header .cp-nav .wp-block-navigation__container {
	gap: 48px;
}

.cp-header .cp-nav .wp-block-navigation-item__content {
	color: var(--cp-secondary);
}

.cp-header .cp-nav .wp-block-navigation-item__content:hover,
.cp-header .cp-nav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--cp-text);
}

.cp-header .cp-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 24px var(--cp-gutter);
}

.cp-header .cp-nav .is-menu-open .wp-block-navigation__container {
	gap: 28px;
	font-size: 28px;
}

.cp-header .cp-pill .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	padding: 0 20px;
	border: 1px solid var(--cp-border);
	border-radius: 999px;
	background: transparent;
	color: var(--cp-text);
	font-size: 17px;
	font-weight: 500;
	white-space: nowrap;
}

.cp-header .cp-pill .wp-block-button__link::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: var(--cp-golden);
}

.cp-header .cp-pill .wp-block-button__link:hover {
	border-color: var(--cp-golden);
	color: var(--cp-text);
}

/* ---------------------------------------------------------------------------
 * Section headings (shared)
 * ------------------------------------------------------------------------ */

.cp-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px 24px;
}

.cp-section-head > * {
	margin: 0;
}

.cp-section-head .cp-section-title {
	font-size: 48px;
	line-height: 1.2;
	font-weight: 500;
	letter-spacing: -0.03em;
}

.cp-section-link {
	font-size: 18px;
	font-weight: 500;
	color: var(--cp-secondary);
}

.cp-light .cp-section-link {
	color: var(--cp-cobalt);
}

.cp-page-title {
	margin: 0;
	max-width: 1000px;
	font-size: clamp(48px, 6.7vw, 96px);
	line-height: 1;
	font-weight: 500;
	letter-spacing: -0.04em;
}

.cp-page-intro {
	max-width: 760px;
	font-size: 24px;
	line-height: 1.6;
	color: var(--cp-secondary);
}

.cp-page-intro a {
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ---------------------------------------------------------------------------
 * Homepage
 * ------------------------------------------------------------------------ */

.cp-hero {
	padding-top: 120px;
	padding-bottom: 104px;
}

.cp-hero > * {
	margin: 0;
}

.cp-hero > .cp-hero__title {
	font-size: clamp(48px, 8.6vw, 124px);
	line-height: 0.98;
	font-weight: 500;
	letter-spacing: -0.045em;
	color: var(--cp-text);
}

.cp-hero__title .cp-dim {
	color: var(--cp-dim);
}

.cp-hero > .cp-hero__intro {
	margin-top: 48px;
	max-width: 760px;
	font-size: clamp(21px, 1.9vw, 26px);
	line-height: 1.5;
	color: var(--cp-secondary);
}

/* Latest essay over the corridor image */
.cp-feature {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 440px;
	padding-top: 64px;
	padding-bottom: 48px;
	overflow: hidden;
}

.cp-feature:has(.cp-empty) {
	display: none;
}

.cp-feature > .cp-feature__bg {
	position: absolute;
	inset: 0;
	margin: 0;
}

.cp-feature > .cp-feature__bg img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 55%;
}

.cp-feature > .cp-feature__card {
	position: relative;
	box-sizing: border-box;
	width: 680px;
	max-width: 100%;
	margin: 0;
	padding: 32px 36px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 18px;
	background: rgba(4, 6, 15, 0.8);
}

.cp-feature__list,
.cp-feature__list > li {
	margin: 0;
}

.cp-feature__list > li {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.cp-feature__list > li > * {
	margin: 0;
}

.cp-feature__list .cp-feature__title {
	font-size: 34px;
	line-height: 1.25;
	font-weight: 500;
	letter-spacing: -0.02em;
}

/* The whole card is the link. */
.cp-feature__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 18px;
}

.cp-feature__card .wp-block-post-terms a {
	position: relative;
	z-index: 1;
}

.cp-feature__card:hover .cp-feature__title a {
	color: var(--cp-golden);
}

.cp-feature__card .cp-meta::after {
	content: " →";
}

.cp-feature__excerpt .wp-block-post-excerpt__excerpt {
	margin: 0;
	font-size: 19px;
	line-height: 1.55;
	color: var(--cp-on-image);
}

/* Latest writing (light band) */
.cp-latest {
	padding-top: 144px;
	padding-bottom: 152px;
}

.cp-latest:has(.cp-cards-query .cp-empty) {
	display: none;
}

.cp-latest > .cp-cards-query {
	margin-top: 56px;
}

.wp-block-post-template.cp-cards {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: 40px;
}

/* A single card takes half the width rather than the whole row. */
.wp-block-post-template.cp-cards:has(> li:only-child) {
	grid-auto-flow: row;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Four or more essays: a carousel showing three at a time. */
.wp-block-post-template.cp-cards:has(> li:nth-child(4)) {
	grid-auto-columns: calc((100% - 80px) / 3);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.wp-block-post-template.cp-cards::-webkit-scrollbar {
	display: none;
}

.cp-cards > li {
	scroll-snap-align: start;
}

.cp-section-head > .cp-carousel-nav {
	display: flex;
	gap: 10px;
	margin-left: auto;
	align-self: center;
}

.cp-section-head > .cp-carousel-nav[hidden] {
	display: none;
}

.cp-carousel-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--cp-pill);
	border-radius: 999px;
	background: transparent;
	color: var(--cp-ink);
	font: inherit;
	font-size: 18px;
	cursor: pointer;
}

.cp-carousel-btn:hover:not(:disabled) {
	border-color: var(--cp-cobalt);
	color: var(--cp-cobalt);
}

.cp-carousel-btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.cp-cards > li {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
}

.cp-cards > li > * {
	margin: 0;
}

.cp-cards > li > .cp-card__image {
	margin-bottom: 14px;
}

.cp-cards .cp-card__image img {
	aspect-ratio: 16 / 10;
	height: auto;
	object-fit: cover;
	border-radius: 14px;
}

.cp-cards .cp-card__title {
	font-size: 30px;
	line-height: 1.25;
	font-weight: 500;
	letter-spacing: -0.02em;
	color: var(--cp-ink);
}

.cp-card__title a::after,
.cp-row__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.cp-cards .wp-block-post-terms a,
.cp-rows .wp-block-post-terms a {
	position: relative;
	z-index: 1;
}

.cp-cards > li:hover .cp-card__title a,
.cp-rows > li:hover .cp-row__title a {
	color: var(--cp-cobalt);
}

.cp-card__excerpt .wp-block-post-excerpt__excerpt {
	margin: 0;
	font-size: 20px;
	line-height: 1.6;
	color: var(--cp-ink-secondary);
}

.cp-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-family: var(--cp-mono);
	font-size: 16px;
	color: var(--cp-ink-muted);
}

.cp-card__meta > * {
	margin: 0;
}

.cp-card__meta > * + *::before {
	content: "·";
	margin-right: 10px;
}

/* Rows: older essays on the homepage, and the Essays list */
.cp-latest > .cp-rows-query {
	margin-top: 72px;
}

.cp-rows-query:has(.cp-empty) {
	display: none;
}

.wp-block-post-template.cp-rows {
	border-bottom: 1px solid var(--cp-rule);
}

.cp-rows > li {
	position: relative;
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr) 200px 110px;
	align-items: center;
	column-gap: 24px;
	margin: 0;
	padding: 26px 0;
	border-top: 1px solid var(--cp-rule);
}

.cp-rows > li > *,
.cp-row__main > * {
	margin: 0;
}

.cp-row__date,
.cp-rows .cp-row__time {
	font-family: var(--cp-mono);
	font-size: 16px;
	color: var(--cp-ink-muted);
}

.cp-rows .cp-row__time {
	text-align: right;
}

.cp-row__main .cp-row__title {
	font-size: 26px;
	line-height: 1.3;
	font-weight: 500;
	letter-spacing: -0.015em;
	color: var(--cp-ink);
}

.cp-row__main > .cp-row__excerpt {
	margin-top: 8px;
}

.cp-row__excerpt .wp-block-post-excerpt__excerpt {
	margin: 0;
	font-size: 19px;
	line-height: 1.55;
	color: var(--cp-ink-secondary);
}

.cp-row__label {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cp-row__label a {
	display: inline-block;
	padding: 5px 12px;
	border: 1px solid var(--cp-pill);
	border-radius: 999px;
	font-family: var(--cp-mono);
	font-size: 14px;
	line-height: 1.4;
	color: var(--cp-ink-secondary);
}

.cp-row__label .wp-block-post-terms__separator,
.cp-tags .wp-block-post-terms__separator {
	display: none;
}

/* Recent columns */
.cp-recent {
	padding-top: 96px;
	padding-bottom: 96px;
}

.cp-recent .cp-section-head .cp-section-title {
	font-size: 36px;
}

.cp-recent:has(.cp-empty) {
	display: none;
}

.cp-recent > .cp-work {
	margin-top: 36px;
}

/* ---------------------------------------------------------------------------
 * Subscribe band and footer (every page)
 * ------------------------------------------------------------------------ */

.cp-subscribe {
	position: relative;
	display: flex;
	align-items: center;
	padding-top: 72px;
	padding-bottom: 72px;
	overflow: hidden;
	color: #ffffff;
}

.cp-subscribe > .cp-subscribe__bg {
	position: absolute;
	inset: 0;
	margin: 0;
}

.cp-subscribe > .cp-subscribe__bg img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cp-subscribe > .cp-subscribe__card {
	position: relative;
	box-sizing: border-box;
	width: 560px;
	max-width: 100%;
	margin: 0;
	padding: 36px 40px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 20px;
	background: rgba(4, 6, 15, 0.82);
}

.cp-subscribe__card > * {
	margin: 0;
}

.cp-subscribe__card .cp-kicker {
	color: var(--cp-on-image);
}

.cp-subscribe__card > .cp-subscribe__title {
	margin-top: 14px;
	font-size: 26px;
	line-height: 1.3;
	font-weight: 500;
	letter-spacing: -0.02em;
	color: #ffffff;
}

.cp-subscribe__card > .cp-subscribe__text {
	margin-top: 10px;
	font-size: 19px;
	line-height: 1.5;
	color: var(--cp-on-image);
}

.cp-subscribe__card > .cp-subscribe__form {
	margin-top: 22px;
}

.cp-subscribe__card > .cp-subscribe__alt {
	margin-top: 16px;
	font-size: 17px;
	line-height: 1.5;
	color: var(--cp-on-image);
}

.cp-subscribe a:not(.cp-button):hover {
	color: #ffffff;
}

.cp-subscribe__alt a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Basic styling for an email provider's embedded form. */
.cp-subscribe__form form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.cp-subscribe__form input[type="email"],
.cp-subscribe__form input[type="text"] {
	box-sizing: border-box;
	flex: 1 1 220px;
	height: 52px;
	padding: 0 16px;
	border: 1px solid #8fa3e3;
	border-radius: 10px;
	background: rgba(4, 6, 15, 0.6);
	color: #ffffff;
	font: inherit;
	font-size: 18px;
}

.cp-subscribe__form input::placeholder {
	color: #aebce9;
}

/* WordPress.com / Jetpack Subscribe block: override its inline sizing to match the site. */
.cp-subscribe__form .wp-block-jetpack-subscriptions,
.cp-subscribe__form .wp-block-jetpack-subscriptions__container {
	margin: 0;
	padding: 0;
}

.cp-subscribe__form form p {
	margin: 0;
}

.cp-subscribe__form form p:first-of-type {
	flex: 1 1 220px;
}

.cp-subscribe__form .wp-block-jetpack-subscriptions input[type="email"],
.cp-subscribe__form .wp-block-jetpack-subscriptions input[type="text"] {
	box-sizing: border-box !important;
	width: 100% !important;
	height: 52px !important;
	min-height: 52px !important;
	margin: 0 !important;
	line-height: normal !important;
	padding: 0 16px !important;
	border: 1px solid #8fa3e3 !important;
	border-radius: 10px !important;
	background: rgba(4, 6, 15, 0.6) !important;
	color: #ffffff !important;
	font-size: 18px !important;
}

.cp-subscribe__form .wp-block-jetpack-subscriptions button {
	box-sizing: border-box !important;
	height: 52px !important;
	margin: 0 !important;
	padding: 0 24px !important;
	border-radius: 10px !important;
	font-size: 18px !important;
	line-height: 1;
	white-space: nowrap;
}

.cp-subscribe__form button,
.cp-subscribe__form input[type="submit"] {
	height: 52px;
	padding: 0 24px;
	border: 0;
	border-radius: 10px;
	background: var(--cp-apricot);
	color: var(--cp-navy);
	font: inherit;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
}

.cp-footer {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 56px 24px;
	padding-top: 72px;
	overflow: hidden;
}

.cp-footer > * {
	margin: 0;
}

.cp-footer__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 36px;
	font-size: 17px;
}

.cp-footer__nav a {
	color: var(--cp-secondary);
}

.cp-footer__nav a:hover {
	color: var(--cp-text);
}

.cp-footer > .cp-footer__copy {
	font-family: var(--cp-mono);
	font-size: 15px;
	color: var(--cp-muted);
}

.cp-footer__wordmark {
	grid-column: 1 / -1;
	font-size: clamp(56px, 12.5vw, 180px);
	line-height: 0.8;
	font-weight: 600;
	letter-spacing: -0.05em;
	white-space: nowrap;
	color: var(--cp-wordmark);
	user-select: none;
}

/* ---------------------------------------------------------------------------
 * Essays list and archives
 * ------------------------------------------------------------------------ */

.cp-page-head {
	padding-top: 120px;
	padding-bottom: 72px;
}

.cp-page-head > * {
	margin: 0;
}

.cp-page-head > .cp-kicker + * {
	margin-top: 24px;
}

.cp-page-head > .cp-page-intro {
	margin-top: 32px;
}

.cp-page-head > .cp-filter {
	margin-top: 40px;
}

.wp-block-categories.cp-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 0;
	list-style: none;
}

.cp-filter li {
	margin: 0;
}

.cp-filter a {
	display: inline-flex;
	align-items: center;
	height: 44px;
	padding: 0 20px;
	border: 1px solid var(--cp-border);
	border-radius: 999px;
	font-size: 17px;
	font-weight: 500;
	color: var(--cp-text);
}

.cp-filter a:hover {
	border-color: var(--cp-golden);
	color: var(--cp-text);
}

.cp-filter .current-cat > a {
	border-color: var(--cp-text);
	background: var(--cp-text);
	color: var(--cp-navy);
}

.cp-list {
	padding-top: 96px;
	padding-bottom: 120px;
}

.cp-list-query > .cp-pagination {
	margin-top: 48px;
}

.cp-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-size: 18px;
	font-weight: 500;
}

.cp-pagination a {
	color: var(--cp-cobalt);
}

.cp-pagination .page-numbers {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 8px;
	font-family: var(--cp-mono);
	font-size: 16px;
}

.cp-pagination .page-numbers.current {
	background: var(--cp-ink);
	color: #ffffff;
}

.cp-list-empty {
	margin: 0;
	font-size: 22px;
	color: var(--cp-ink-secondary);
}

/* Generic pages */
.cp-page > .cp-page-content {
	padding-bottom: 120px;
	font-size: 21px;
	line-height: 1.7;
	color: #d3dbea;
}

.cp-page-content > * {
	max-width: 832px;
	margin-block: 0;
}

.cp-page-content > * + * {
	margin-block-start: 28px;
}

.cp-page-content > h2 {
	margin-block-start: 56px;
	font-size: 32px;
	line-height: 1.25;
	color: var(--cp-text);
}

.cp-page-content a {
	color: var(--cp-golden);
	text-decoration: underline;
	text-underline-offset: 3px;
}

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

.cp-article-head {
	padding-top: 112px;
}

.cp-article-head > * {
	margin: 0;
}

.cp-article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	font-family: var(--cp-mono);
	font-size: 16px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cp-muted);
}

.cp-article-meta > * {
	margin: 0;
}

.cp-article-meta > * + *::before {
	content: "·";
	margin-right: 12px;
}

.cp-article-meta .wp-block-post-terms a {
	color: var(--cp-apricot);
}

.cp-article-head > .cp-article-title {
	margin-top: 28px;
	max-width: 1080px;
	font-size: clamp(40px, 5.4vw, 76px);
	line-height: 1.04;
	font-weight: 500;
	letter-spacing: -0.035em;
}

.cp-article-head > .cp-article-dekrow {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 64px;
	margin-top: 32px;
}

.cp-article-dekrow > * {
	margin: 0;
}

.cp-article-dek .wp-block-post-excerpt__excerpt {
	max-width: 860px;
	margin: 0;
	font-size: 26px;
	line-height: 1.5;
	color: var(--cp-secondary);
}

.cp-article-dekrow > .cp-byline {
	flex-shrink: 0;
	font-size: 18px;
	color: var(--cp-secondary);
}

.cp-byline::before {
	content: "By ";
}

.cp-article > .cp-article-image {
	margin-top: 72px;
}

.cp-article > .cp-article-image img {
	box-sizing: border-box;
	width: 100%;
	height: 600px;
	object-fit: cover;
	border: 1px solid var(--cp-line);
	border-radius: 20px;
}

/* The light reading panel */
.cp-article > .cp-reading {
	box-sizing: border-box;
	width: calc(100% - 96px);
	max-width: calc(var(--cp-max) + 96px);
	margin: 64px auto 0;
	padding: 88px 48px 96px;
	border-radius: 28px;
	background: var(--cp-reading);
	color: var(--cp-ink-body);
}

/*
 * Essay text: an 832px column with a 320px side column to its right.
 * In-brief boxes, side notes and "On this page" float into the side column.
 */
.cp-reading > .cp-prose {
	display: flow-root;
	box-sizing: border-box;
	max-width: calc(832px + var(--cp-side-gap) + var(--cp-side));
	margin: 0 auto;
	padding-right: calc(var(--cp-side-gap) + var(--cp-side));
	font-size: 23px;
	line-height: 1.75;
	color: var(--cp-ink-body);
	counter-reset: cp-figure;
}

.cp-prose > * {
	margin-block: 0;
}

.cp-prose > * + * {
	margin-block-start: 34px;
}

.cp-prose > h2 {
	margin-block-start: 72px;
	font-size: 38px;
	line-height: 1.25;
	font-weight: 500;
	letter-spacing: -0.025em;
	color: var(--cp-ink);
}

.cp-prose > h3 {
	margin-block-start: 56px;
	font-size: 28px;
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: -0.015em;
	color: var(--cp-ink);
}

.cp-prose > h2 + *,
.cp-prose > h3 + * {
	margin-block-start: 20px;
}

.cp-prose > .is-style-lede {
	font-size: 27px;
	line-height: 1.6;
	color: var(--cp-ink);
}

.cp-prose a {
	color: var(--cp-cobalt);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.cp-prose a:hover {
	color: var(--cp-ink);
}

.cp-prose strong {
	font-weight: 600;
	color: var(--cp-ink);
}

.cp-prose > ul,
.cp-prose > ol {
	padding-left: 1.3em;
}

.cp-prose > ul > li + li,
.cp-prose > ol > li + li {
	margin-top: 14px;
}

.cp-prose > ul > li::marker {
	color: var(--cp-cobalt);
}

.cp-prose > ol > li::marker {
	font-family: var(--cp-mono);
	font-size: 0.85em;
	color: var(--cp-cobalt);
}

.cp-prose > .cp-sources {
	font-size: 18px;
	line-height: 1.6;
}

.cp-prose > .cp-sources a {
	overflow-wrap: anywhere;
}

.cp-prose code {
	padding: 0.1em 0.35em;
	border-radius: 4px;
	background: #dde6f5;
	font-family: var(--cp-mono);
	font-size: 0.85em;
}

.cp-prose pre,
.cp-prose .wp-block-code {
	overflow-x: auto;
	padding: 28px 32px;
	border-radius: 12px;
	background: var(--cp-ink);
	color: #e1e7f2;
	font-family: var(--cp-mono);
	font-size: 18px;
	line-height: 1.7;
}

.cp-prose pre code {
	padding: 0;
	background: none;
	color: inherit;
	font-size: inherit;
}

.cp-prose > .wp-block-quote {
	margin-inline: 0;
	padding-left: 28px;
	border-left: 3px solid var(--cp-apricot);
}

.cp-prose > .wp-block-pullquote {
	margin-block: 56px;
	padding: 40px 0;
	border-top: 1px solid var(--cp-rule-soft);
	border-bottom: 1px solid var(--cp-rule-soft);
	text-align: left;
}

.cp-prose > .wp-block-pullquote blockquote {
	margin: 0;
}

.cp-prose > .wp-block-pullquote p {
	margin: 0;
	font-size: 36px;
	line-height: 1.3;
	font-weight: 500;
	letter-spacing: -0.02em;
	color: var(--cp-cobalt);
}

.cp-prose > .wp-block-pullquote cite {
	display: block;
	margin-top: 16px;
	font-family: var(--cp-mono);
	font-size: 15px;
	font-style: normal;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--cp-ink-muted);
}

.cp-prose > .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 18px;
	line-height: 1.5;
}

.cp-prose > .wp-block-table th,
.cp-prose > .wp-block-table td {
	padding: 12px 10px;
	border: 0;
	border-bottom: 1px solid var(--cp-rule-soft);
	text-align: left;
}

.cp-prose > .wp-block-table th {
	font-weight: 600;
	color: var(--cp-ink);
}

.cp-prose > .wp-block-separator {
	border: 0;
	border-top: 1px solid var(--cp-rule-soft);
}

/* Figures: numbered, with the caption in the side column */
.cp-prose > .wp-block-image {
	position: relative;
	margin-inline: 0;
}

.cp-prose > .wp-block-image img {
	border-radius: 16px;
}

.cp-prose > .wp-block-image:has(figcaption) {
	counter-increment: cp-figure;
}

.cp-prose > .wp-block-image figcaption {
	margin: 14px 0 0;
	font-size: 17px;
	line-height: 1.6;
	text-align: left;
	color: var(--cp-ink-secondary);
}

.cp-prose > .wp-block-image figcaption::before {
	content: "Fig. " counter(cp-figure);
	display: block;
	margin-bottom: 6px;
	font-family: var(--cp-mono);
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cp-ink-muted);
}

/* Wide and full-width images run under the side column. */
.cp-prose > .alignwide,
.cp-prose > .alignfull {
	margin-right: calc(-1 * (var(--cp-side-gap) + var(--cp-side)));
	max-width: none;
}

/* In brief, side notes and "On this page" */
.cp-prose > .is-style-in-brief,
.cp-prose > .is-style-side-note,
.cp-prose > .cp-toc {
	float: right;
	clear: right;
	box-sizing: border-box;
	width: var(--cp-side);
	margin-right: calc(-1 * (var(--cp-side-gap) + var(--cp-side)));
	margin-bottom: 32px;
}

.cp-prose > .is-style-in-brief:first-child {
	margin-top: 0;
}

/* A note just before a heading lines up with the heading. */
.cp-prose > .is-style-side-note:has(+ h2) {
	margin-top: 72px;
}

.cp-prose > .cp-toc {
	margin-top: 8px;
	margin-bottom: 40px;
}

.is-style-in-brief {
	padding: 28px;
	border: 1px solid var(--cp-rule);
	border-radius: 16px;
	background: #ffffff;
	color: var(--cp-ink-body);
}

.is-style-in-brief > * {
	margin: 0;
}

.is-style-in-brief > :first-child {
	font-family: var(--cp-mono);
	font-size: 14px;
	line-height: 1.5;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cp-cobalt);
}

.is-style-in-brief > ul {
	margin-top: 16px;
	padding: 0;
	list-style: none;
}

.is-style-in-brief > ul > li {
	position: relative;
	padding-left: 19px;
	font-size: 18px;
	line-height: 1.5;
}

.is-style-in-brief > ul > li + li {
	margin-top: 14px;
}

.is-style-in-brief > ul > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: var(--cp-apricot);
}

.is-style-side-note {
	padding-top: 20px;
	border-top: 1px solid var(--cp-rule-soft);
	font-size: 17px;
	line-height: 1.6;
	color: var(--cp-ink-secondary);
}

.is-style-side-note > * {
	margin: 0;
}

.is-style-side-note > * + * {
	margin-top: 10px;
}

.is-style-side-note > :first-child {
	font-family: var(--cp-mono);
	font-size: 14px;
	line-height: 1.5;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cp-cobalt);
}

.is-style-side-note a {
	color: var(--cp-cobalt);
}

.is-style-guest-intro {
	padding: 24px 28px;
	border-left: 3px solid var(--cp-golden);
	border-radius: 0 12px 12px 0;
	background: #ffffff;
	font-size: 19px;
	line-height: 1.6;
	color: var(--cp-ink-body);
}

.is-style-guest-intro > * {
	margin: 0;
}

.is-style-guest-intro > * + * {
	margin-top: 8px;
}

.is-style-guest-intro > :first-child {
	font-family: var(--cp-mono);
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cp-ink-muted);
}

.cp-toc {
	padding: 0 4px;
}

.cp-toc__label {
	margin: 0;
	font-family: var(--cp-mono);
	font-size: 14px;
	line-height: 1.5;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cp-ink-muted);
}

.cp-toc__list {
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.cp-toc__list li + li {
	margin-top: 12px;
}

.cp-toc .cp-toc__list a {
	display: flex;
	align-items: baseline;
	gap: 12px;
	font-size: 17px;
	line-height: 1.4;
	color: var(--cp-ink-secondary);
	text-decoration: none;
}

.cp-toc .cp-toc__list a::before {
	content: "";
	flex-shrink: 0;
	box-sizing: border-box;
	width: 7px;
	height: 7px;
	border: 1px solid var(--cp-pill);
	border-radius: 999px;
	transform: translateY(-2px);
}

.cp-toc .cp-toc__list a:hover {
	color: var(--cp-ink);
}

.cp-toc .cp-toc__list a:hover::before {
	border-color: var(--cp-cobalt);
	background: var(--cp-cobalt);
}

@media (min-width: 1101px) {
	/* The opening paragraph lines up with the top of the In brief box beside it. */
	.cp-prose > .is-style-in-brief:first-child + :not(.cp-toc),
	.cp-prose > .is-style-in-brief:first-child + .cp-toc + * {
		margin-block-start: 0;
	}

	/* A note placed straight after a heading lines up with the paragraph that follows. */
	.cp-prose > h2 + .is-style-side-note,
	.cp-prose > h2 + .is-style-side-note + *,
	.cp-prose > h3 + .is-style-side-note,
	.cp-prose > h3 + .is-style-side-note + * {
		margin-block-start: 20px;
	}

	/* Figure captions sit in the side column, level with the bottom of the image. */
	.cp-prose > .wp-block-image:not(.alignwide):not(.alignfull) figcaption {
		position: absolute;
		left: calc(100% + var(--cp-side-gap));
		bottom: 0;
		box-sizing: border-box;
		width: var(--cp-side);
		margin: 0;
		padding-top: 20px;
		border-top: 1px solid var(--cp-rule-soft);
	}
}

/* End of the essay: tags, next essay, author, sharing */
.cp-article-end {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--cp-side);
	align-items: start;
	gap: 48px var(--cp-side-gap);
	padding-top: 120px;
	padding-bottom: 120px;
}

.cp-article-end > *,
.cp-article-end__main > *,
.cp-article-end__side > * {
	margin: 0;
}

.cp-article-end__main > * + * {
	margin-top: 48px;
}

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

.cp-tags a {
	display: inline-block;
	padding: 6px 14px;
	border: 1px solid var(--cp-border);
	border-radius: 999px;
	font-family: var(--cp-mono);
	font-size: 15px;
	color: var(--cp-secondary);
}

.cp-next .post-navigation-link__label {
	display: block;
	margin-bottom: 14px;
	font-family: var(--cp-mono);
	font-size: 15px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cp-golden);
}

.cp-next a {
	font-size: 38px;
	line-height: 1.2;
	font-weight: 500;
	letter-spacing: -0.025em;
	color: var(--cp-text);
}

.cp-next:not(:has(a)) {
	display: none;
}

.cp-article-end__side {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.cp-article-end__side > .cp-author {
	display: block;
	padding: 32px;
	border: 1px solid var(--cp-line);
	border-radius: 16px;
	background: var(--cp-panel);
}

.cp-author .wp-block-post-author__content > * {
	margin: 0;
}

.cp-author .wp-block-post-author__byline {
	width: auto;
	font-family: var(--cp-mono);
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cp-muted);
}

.cp-author .wp-block-post-author__name {
	margin-top: 10px;
	font-size: 20px;
	font-weight: 500;
}

.cp-author .wp-block-post-author__bio {
	margin-top: 10px;
	font-size: 17px;
	line-height: 1.6;
	color: var(--cp-secondary);
}

.cp-author .wp-block-post-author__bio:empty {
	display: none;
}

.cp-share {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 28px 32px;
	border: 1px solid var(--cp-line);
	border-radius: 16px;
}

.cp-share__label {
	margin: 0 0 2px;
	font-family: var(--cp-mono);
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cp-muted);
}

.cp-share a,
.cp-share__copy {
	padding: 0;
	border: 0;
	background: none;
	color: var(--cp-text);
	font: inherit;
	font-size: 18px;
	font-weight: 500;
	cursor: pointer;
}

.cp-share .cp-share__linkedin {
	color: var(--cp-apricot);
}

.cp-share__copy:hover {
	color: var(--cp-golden);
}

/* ---------------------------------------------------------------------------
 * Selected Work
 * ------------------------------------------------------------------------ */

.cp-work-page {
	counter-reset: cp-section;
}

.cp-work-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 40px;
	padding-top: 72px;
	padding-bottom: 56px;
}

.cp-work-hero > * {
	margin: 0;
}

.cp-work-hero > .cp-work-title {
	font-size: clamp(40px, 4vw, 56px);
	line-height: 1.1;
	font-weight: 500;
	letter-spacing: -0.03em;
}

.cp-jump {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cp-jump a {
	display: inline-flex;
	align-items: center;
	height: 40px;
	padding: 0 18px;
	border: 1px solid var(--cp-border);
	border-radius: 999px;
	font-size: 16px;
	font-weight: 500;
	color: var(--cp-text);
}

.cp-jump a:hover {
	border-color: var(--cp-golden);
	color: var(--cp-text);
}

/* Hide links to types that have nothing in them yet. */
.cp-work-page:has(#articles .cp-empty) .cp-jump a[href="#articles"],
.cp-work-page:has(#research .cp-empty) .cp-jump a[href="#research"],
.cp-work-page:has(#podcasts .cp-empty) .cp-jump a[href="#podcasts"],
.cp-work-page:has(#columns .cp-empty) .cp-jump a[href="#columns"] {
	display: none;
}

.cp-work-section {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	align-items: start;
	gap: 24px 32px;
	padding-top: 64px;
	padding-bottom: 64px;
	border-top: 1px solid var(--cp-line);
}

.cp-work-section.cp-light {
	border-top-color: transparent;
}

.cp-work-section:has(.cp-empty) {
	display: none;
}

.cp-work-section:not(:has(.cp-empty)) {
	counter-increment: cp-section;
}

.cp-work-section > *,
.cp-work-section__head > * {
	margin: 0;
}

.cp-work-section__head::before {
	content: counter(cp-section, decimal-leading-zero);
	display: block;
	margin-bottom: 8px;
	font-family: var(--cp-mono);
	font-size: 15px;
	color: var(--cp-golden);
}

.cp-light .cp-work-section__head::before {
	color: var(--cp-cobalt);
}

.cp-work-section__head .cp-work-section__title {
	font-size: 32px;
	line-height: 1.2;
	font-weight: 500;
	letter-spacing: -0.03em;
}

.cp-work-section__head > .cp-work-section__desc {
	margin-top: 14px;
	font-size: 20px;
	line-height: 1.6;
	color: var(--cp-secondary);
}

.cp-light .cp-work-section__desc {
	color: var(--cp-ink-secondary);
}

/* One calm background for the whole page: a soft fade instead of alternating bands. */
.cp-work-page {
	background:
		radial-gradient(1200px 600px at 85% 0%, rgba(29, 78, 216, 0.10), transparent 70%),
		linear-gradient(180deg, var(--cp-navy) 0%, #070b1c 45%, var(--cp-navy) 100%);
}

.cp-work-page .cp-work-section {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Section number sits on the same line as the title, so the title lines up with the first item. */
.cp-work-page .cp-work-section__head::before {
	display: inline-block;
	margin: 0 14px 0 0;
	vertical-align: 0.35em;
}

.cp-work-page .cp-work-section__title {
	display: inline;
}

/* Lists: rule under each item, first item starts level with the section title. */
.cp-work-page .cp-work--rows {
	border-bottom: 0;
}

.cp-work-page .cp-work-row {
	padding: 6px 0 18px;
	border-top: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cp-work-page .cp-work-row + .cp-work-row {
	padding-top: 18px;
}

/* Work items: tiles (research, podcasts and talks) */
.cp-work--tiles,
.cp-work--tiles-media {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.cp-work-tile {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.025);
	color: var(--cp-text);
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.cp-work-tile:hover {
	border-color: rgba(243, 162, 87, 0.45);
	background: rgba(255, 255, 255, 0.045);
	color: var(--cp-text);
}

.cp-work-tile__media {
	display: block;
	aspect-ratio: 16 / 8;
	overflow: hidden;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cp-work-tile .cp-work-tile__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cp-work-tile__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 22px 24px 24px;
}

.cp-work-tile .cp-kicker {
	font-size: 13px;
	letter-spacing: 0.05em;
	color: var(--cp-muted);
}

.cp-work-tile__title {
	font-size: 21px;
	line-height: 1.3;
	font-weight: 500;
	letter-spacing: -0.015em;
}

.cp-work-tile__summary {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	font-size: 16px;
	line-height: 1.55;
	color: var(--cp-secondary);
}

.cp-work-tile__cta {
	margin-top: auto;
	padding-top: 8px;
	font-size: 16px;
	font-weight: 500;
	color: var(--cp-apricot);
}

/* Work items: rows */
.cp-work--rows {
	border-bottom: 1px solid var(--cp-border);
}

.cp-work-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 190px 110px;
	align-items: baseline;
	column-gap: 24px;
	padding: 18px 0;
	border-top: 1px solid var(--cp-border);
	color: var(--cp-text);
}

.cp-work-row__title {
	font-size: 21px;
	line-height: 1.35;
	font-weight: 500;
	letter-spacing: -0.015em;
}

.cp-work-row__outlet {
	font-size: 17px;
	color: var(--cp-secondary);
}

.cp-work-row__date {
	font-family: var(--cp-mono);
	font-size: 16px;
	text-align: right;
	color: var(--cp-muted);
}

.cp-work-row:hover {
	color: var(--cp-text);
}

.cp-work-row:hover .cp-work-row__title {
	color: var(--cp-golden);
}

.cp-light .cp-work--rows,
.cp-light .cp-work-row {
	border-color: var(--cp-rule);
}

.cp-light .cp-work-row,
.cp-light .cp-work-row:hover {
	color: var(--cp-ink);
}

.cp-light .cp-work-row__outlet {
	color: var(--cp-ink-secondary);
}

.cp-light .cp-work-row__date {
	color: var(--cp-ink-muted);
}

.cp-light .cp-work-row:hover .cp-work-row__title {
	color: var(--cp-cobalt);
	text-decoration: underline;
}

/* Work items: cards (homepage columns) */
.cp-work--cards {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: 40px;
}

/* One column item takes half the width rather than a third. */
.cp-work--cards:has(> :only-child) {
	grid-auto-flow: row;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cp-work-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 24px;
	border-top: 1px solid var(--cp-border);
	color: var(--cp-text);
}

.cp-work-card:hover {
	color: var(--cp-text);
}

.cp-work-card__title {
	font-size: 24px;
	line-height: 1.25;
	font-weight: 500;
	letter-spacing: -0.02em;
}

.cp-work-card:hover .cp-work-card__title {
	color: var(--cp-golden);
}

.cp-work-card .cp-meta {
	color: var(--cp-muted);
}

/* Work items: research */
.cp-work--research {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.cp-work-research {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 28px;
	border: 1px solid var(--cp-rule);
	border-radius: 16px;
	background: #ffffff;
	color: var(--cp-ink);
}

.cp-work-research .cp-kicker {
	letter-spacing: 0.04em;
	color: var(--cp-ink-muted);
}

.cp-work-research__title {
	font-size: 22px;
	line-height: 1.25;
	font-weight: 500;
	letter-spacing: -0.02em;
}

.cp-work-research__summary {
	font-size: 17px;
	line-height: 1.55;
	color: var(--cp-ink-secondary);
}

.cp-work-research__outlet {
	font-size: 17px;
	color: var(--cp-ink-secondary);
}

.cp-work-research .cp-work-research__link {
	margin-top: 8px;
	font-size: 18px;
	font-weight: 600;
	color: var(--cp-cobalt);
}

/* Work items: podcasts and talks */
.cp-work--media {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.cp-work-media {
	display: grid;
	grid-template-columns: 144px minmax(0, 1fr);
	align-items: center;
	column-gap: 24px;
	color: var(--cp-text);
}

.cp-work-media + .cp-work-media {
	padding-top: 18px;
	border-top: 1px solid var(--cp-line);
}

.cp-work-media:hover {
	color: var(--cp-text);
}

.cp-work-media .cp-work-media__img {
	display: block;
	box-sizing: border-box;
	width: 144px;
	height: 90px;
	object-fit: cover;
	border: 1px solid var(--cp-line);
	border-radius: 12px;
}

.cp-work-media__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.cp-work-media .cp-kicker {
	letter-spacing: 0.04em;
}

.cp-work-media__title {
	font-size: 21px;
	line-height: 1.3;
	font-weight: 500;
	letter-spacing: -0.015em;
}

.cp-work-media:hover .cp-work-media__title {
	color: var(--cp-golden);
}

.cp-work-media__cta {
	font-size: 17px;
	font-weight: 500;
	color: var(--cp-apricot);
}

/* ---------------------------------------------------------------------------
 * About
 * ------------------------------------------------------------------------ */

.cp-about > * {
	margin-block: 0;
}

.cp-about-hero {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	align-items: center;
	column-gap: 128px;
	padding-top: 104px;
	padding-bottom: 120px;
}

.cp-about-hero > * {
	margin: 0;
}

/* Without a portrait the text takes the full width. */
.cp-about-portrait:not(:has(img[src])) {
	display: none;
}

.cp-about-hero:not(:has(.cp-about-portrait img[src])) {
	grid-template-columns: minmax(0, 1fr);
}

.cp-about-hero:not(:has(.cp-about-portrait img[src])) .cp-about-intro {
	max-width: 900px;
}

.cp-about-portrait img {
	display: block;
	width: 100%;
	height: 560px;
	object-fit: cover;
	border-radius: 20px;
}

.cp-about-intro > * {
	margin: 0;
}

.cp-about-intro > .cp-about-name {
	margin-top: 24px;
	font-size: clamp(48px, 5.6vw, 80px);
	line-height: 1.02;
	font-weight: 500;
	letter-spacing: -0.04em;
}

.cp-about-intro > .cp-about-role {
	margin-top: 16px;
	font-size: 26px;
	line-height: 1.4;
	color: var(--cp-secondary);
}

.cp-about-intro > .cp-about-bio {
	margin-top: 36px;
	font-size: 24px;
	line-height: 1.6;
	color: #d3dbea;
}

.cp-about-intro > .cp-about-social {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
	margin-top: 36px;
	font-size: 18px;
	font-weight: 500;
}

.cp-about-social a {
	color: var(--cp-secondary);
}

.cp-about-social a:first-child {
	color: var(--cp-apricot);
}

.cp-about-work {
	padding-bottom: 136px;
}

.cp-about-work > * {
	margin: 0;
}

.cp-about-work > .cp-about-work__title {
	font-family: var(--cp-mono);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cp-muted);
}

.cp-about-work > .cp-about-cards {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 28px;
	margin-top: 28px;
}

.cp-about-cards > .cp-about-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding-top: 28px;
	border-top: 1px solid var(--cp-border);
}

.cp-about-cards > .cp-about-card:first-child {
	border-top-color: var(--cp-apricot);
}

.cp-about-card > * {
	margin: 0;
}

.cp-about-card h3 {
	font-size: 26px;
	line-height: 1.25;
	font-weight: 500;
	letter-spacing: -0.015em;
}

.cp-about-card h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.cp-about-card p {
	font-size: 18px;
	line-height: 1.5;
	color: var(--cp-secondary);
}

.cp-about-card::after {
	content: "→";
	font-size: 18px;
	color: var(--cp-muted);
}

.cp-about-card:first-child::after {
	color: var(--cp-apricot);
}

.cp-about-card:hover h3 a {
	color: var(--cp-golden);
}

.cp-about-press {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	align-items: start;
	gap: 48px 96px;
	padding-top: 120px;
	padding-bottom: 120px;
}

.cp-about-press > *,
.cp-about-press__intro > * {
	margin: 0;
}

.cp-about-press__intro h2 {
	font-size: 44px;
	line-height: 1.2;
	font-weight: 500;
	letter-spacing: -0.03em;
	color: var(--cp-ink);
}

.cp-about-press__intro > p {
	margin-top: 18px;
	font-size: 21px;
	line-height: 1.6;
	color: var(--cp-ink-secondary);
}

.cp-about-press__intro > .cp-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
	padding: 0;
	list-style: none;
}

.cp-pills li {
	padding: 8px 16px;
	border: 1px solid var(--cp-pill);
	border-radius: 999px;
	font-family: var(--cp-mono);
	font-size: 15px;
	color: var(--cp-ink-secondary);
}

.cp-about-press > .cp-contact {
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--cp-rule-soft);
}

.cp-contact li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
	padding: 24px 0;
	border-top: 1px solid var(--cp-rule-soft);
	font-size: 21px;
	font-weight: 500;
	color: var(--cp-ink);
}

.cp-contact li a {
	font-family: var(--cp-mono);
	font-size: 16px;
	font-weight: 400;
	color: var(--cp-cobalt);
}

/* ---------------------------------------------------------------------------
 * Tablet (up to 1100px)
 * ------------------------------------------------------------------------ */

@media (max-width: 1100px) {
	.cp-hero {
		padding-top: 88px;
		padding-bottom: 80px;
	}

	.cp-feature {
		min-height: 600px;
	}

	.cp-latest {
		padding-top: 112px;
		padding-bottom: 112px;
	}

	.wp-block-post-template.cp-cards:has(> li:nth-child(3)) {
		grid-auto-columns: calc((100% - 40px) / 2);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.cp-rows > li {
		grid-template-columns: 130px minmax(0, 1fr) auto;
	}

	.cp-rows .cp-row__time {
		display: none;
	}


	/* Essay: side notes move back into the text column. */
	.cp-article > .cp-reading {
		width: calc(100% - 32px);
		padding: 64px 32px 80px;
	}

	.cp-reading > .cp-prose {
		max-width: 832px;
		padding-right: 0;
	}

	.cp-prose > .is-style-in-brief,
	.cp-prose > .is-style-side-note {
		float: none;
		width: auto;
		margin-right: 0;
		margin-bottom: 0;
	}

	.cp-prose > .is-style-side-note:has(+ h2) {
		margin-top: 34px;
	}

	.cp-prose > .cp-toc {
		display: none;
	}

	.cp-prose > .alignwide,
	.cp-prose > .alignfull {
		margin-right: 0;
	}

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

	.cp-article-end__side {
		max-width: 560px;
	}

	.cp-work-section {
		grid-template-columns: minmax(0, 1fr);
		padding-top: 56px;
		padding-bottom: 56px;
	}

	.cp-about-hero {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 48px;
		padding-top: 72px;
	}

	.cp-about-portrait img {
		height: auto;
		max-height: 560px;
		aspect-ratio: 4 / 5;
		max-width: 448px;
	}

	.cp-about-work > .cp-about-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		row-gap: 40px;
	}

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

@media (max-width: 900px) {
	.cp-header .cp-nav,
	.cp-header .cp-nav .wp-block-navigation__container {
		gap: 28px;
	}

	.cp-header .cp-nav {
		font-size: 17px;
	}
}

/* ---------------------------------------------------------------------------
 * Phone (up to 760px)
 * ------------------------------------------------------------------------ */

@media (max-width: 760px) {
	.cp-header {
		min-height: 80px;
		gap: 16px;
	}

	.cp-brand {
		font-size: 18px;
	}

	/* The subscribe band at the foot of every page takes over from the header button. */
	.cp-header > .cp-header__cta {
		display: none;
	}

	.cp-hero {
		padding-top: 56px;
		padding-bottom: 56px;
	}

	.cp-hero > .cp-hero__intro {
		margin-top: 28px;
	}

	.cp-page-intro {
		font-size: 20px;
	}

	.cp-feature {
		min-height: 520px;
		padding-bottom: 20px;
	}

	.cp-feature > .cp-feature__card {
		padding: 24px;
	}

	.cp-feature__list .cp-feature__title {
		font-size: 26px;
	}

	.cp-feature__excerpt .wp-block-post-excerpt__excerpt {
		font-size: 17px;
	}

	.cp-latest,
	.cp-recent,
	.cp-list {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.cp-section-head .cp-section-title {
		font-size: 34px;
	}

	.cp-work--cards,
	.cp-work--cards:has(> :only-child),
	.cp-work--tiles,
	.cp-work--tiles-media,
	.cp-work--research {
		grid-auto-flow: row;
		grid-template-columns: minmax(0, 1fr);
	}

	.wp-block-post-template.cp-cards,
	.wp-block-post-template.cp-cards:has(> li:only-child),
	.wp-block-post-template.cp-cards:has(> li:nth-child(3)),
	.wp-block-post-template.cp-cards:has(> li:nth-child(4)) {
		grid-auto-flow: column;
		grid-template-columns: none;
		grid-auto-columns: 84%;
		gap: 20px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.wp-block-post-template.cp-cards:has(> li:only-child) {
		grid-auto-columns: 100%;
	}

	.cp-cards .cp-card__title,
	.cp-work-card__title {
		font-size: 26px;
	}

	.cp-rows > li {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 10px;
		padding: 22px 0;
	}

	.cp-row__main .cp-row__title {
		font-size: 23px;
	}

	.cp-row__label {
		display: none;
	}

	.cp-subscribe {
		min-height: 0;
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.cp-subscribe > .cp-subscribe__card {
		padding: 28px 24px;
	}

	.cp-subscribe__card > .cp-subscribe__title {
		font-size: 26px;
	}

	.cp-footer {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
		padding-top: 56px;
	}

	.cp-footer__wordmark {
		margin-top: 24px;
	}

	.cp-page-head {
		padding-top: 72px;
		padding-bottom: 48px;
	}

	.cp-article-head {
		padding-top: 56px;
	}

	.cp-article-meta {
		font-size: 14px;
	}

	.cp-article-head > .cp-article-dekrow {
		flex-direction: column;
		align-items: flex-start;
	}

	.cp-article-dek .wp-block-post-excerpt__excerpt {
		font-size: 21px;
	}

	.cp-article > .cp-article-image {
		margin-top: 40px;
	}

	.cp-article > .cp-article-image img {
		height: 240px;
		border-radius: 14px;
	}

	.cp-article > .cp-reading {
		width: 100%;
		margin-top: 40px;
		padding: 48px 20px 64px;
		border-radius: 0;
	}

	.cp-reading > .cp-prose {
		font-size: 20px;
		line-height: 1.7;
	}

	.cp-prose > * + * {
		margin-block-start: 26px;
	}

	.cp-prose > h2 {
		margin-block-start: 56px;
		font-size: 29px;
	}

	.cp-prose > h3 {
		font-size: 24px;
	}

	.cp-prose > .is-style-lede {
		font-size: 22px;
	}

	.cp-prose > .wp-block-pullquote p {
		font-size: 27px;
	}

	.cp-prose pre,
	.cp-prose .wp-block-code {
		padding: 20px;
		font-size: 15px;
	}

	.cp-article-end {
		padding-top: 72px;
		padding-bottom: 72px;
	}

	.cp-next a {
		font-size: 28px;
	}

	.cp-work-hero {
		padding-top: 48px;
		padding-bottom: 40px;
	}

	.cp-work-section {
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.cp-work-section__head .cp-work-section__title {
		font-size: 28px;
	}

	.cp-work-row {
		grid-template-columns: minmax(0, 1fr) auto;
		row-gap: 6px;
	}

	.cp-work-row__title {
		grid-column: 1 / -1;
		font-size: 19px;
	}

	.cp-work-row__date {
		text-align: right;
	}

	.cp-work-research {
		padding: 28px 24px;
	}

	.cp-work-media {
		grid-template-columns: 112px minmax(0, 1fr);
		column-gap: 18px;
	}

	.cp-work-media .cp-work-media__img {
		width: 112px;
		height: 80px;
	}

	.cp-work-media__title {
		font-size: 19px;
	}

	.cp-about-work > .cp-about-cards {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.cp-about-cards > .cp-about-card {
		padding: 22px 0;
	}

	.cp-about-press__intro h2 {
		font-size: 34px;
	}
}
