:root {
	color-scheme: dark;

	/*
	 * Dark palette tuned to mirror light-theme contrast hierarchy:
	 * page / card / chip steps, primary vs muted ratio, border alphas, shared accent.
	 */
	--color-bg: #0d0d0d;
	--color-surface: #181818;
	--color-surface-light: #252525;
	--color-text: #ececec;
	--color-muted: #8a8a8a;
	--color-accent: #c50500;
	--color-border: rgba(255, 255, 255, 0.1);
	--color-on-accent: #ffffff;
	--color-footer-bg: #080808;
	--color-border-intense: rgba(255, 255, 255, 0.2);
	--color-border-elevate: rgba(255, 255, 255, 0.15);
	--color-border-mid: rgba(255, 255, 255, 0.18);
	--color-border-secondary-hover: rgba(255, 255, 255, 0.32);
	--color-surface-faint: rgba(255, 255, 255, 0.03);
	--color-accent-tint: rgba(197, 5, 0, 0.08);
	--color-partners-tint: rgba(255, 255, 255, 0.04);
	--color-nav-item-hover-bg: rgba(255, 255, 255, 0.06);

	/* Hero photograph scrims */
	--hero-gradient-scrim: linear-gradient(180deg, rgba(13, 13, 13, 0.12) 0%, rgba(13, 13, 13, 0.62) 100%);
	--hero-gradient-spot: radial-gradient(1200px 420px at 50% 18%, rgba(197, 5, 0, 0.14), transparent 58%);

	--container-width: 1200px;
	--container-padding: 20px;
	/* Matches .page-content__body / article prose column */
	--content-body-max-width: 72ch;
	/* apple.com — SF Pro stacks (falls back to system-ui / Helvetica / Arial) */
	--font-text: "SF Pro Text", "SF Pro Icons", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--font-display: "SF Pro Display", "SF Pro Icons", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--radius: 10px;
	--transition: 160ms ease;

	/*
	 * Fluid type scale (single system: mobile ↔ 5K).
	 * vw term scales gently on large displays without caps feeling tiny on phones.
	 */
	--fs-body: clamp(18px, 0.55vw + 15px, 23px);
	--lh-body: 1.5;
	--fs-nav: clamp(15px, 0.45vw + 13px, 19px);
	--lh-nav: 1.2;
	--fs-button: clamp(17px, 0.5vw + 15px, 21px);
	--fs-section: clamp(30px, 2.8vw + 18px, 52px);
	--lh-section: 1.08;
	--fs-section-lead: clamp(20px, 0.95vw + 16px, 27px);
	--lh-section-lead: 1.2;
	--fs-card-title: clamp(21px, 0.65vw + 17px, 28px);
	--fs-caption: clamp(15px, 0.35vw + 13px, 18px);
	--fs-small: clamp(13px, 0.22vw + 12px, 16px);
	--fs-entry-h2: clamp(26px, 1.9vw + 18px, 38px);
	--fs-entry-h3: clamp(22px, 1.15vw + 17px, 30px);
	--fs-article-title: clamp(34px, 3vw + 22px, 58px);
	--fs-brand: clamp(18px, 0.48vw + 15px, 22px);

	/*
	 * Elevation — layered diffuse shadows (dark UI).
	 * Header has no top inset highlight so the bar sits flush under the browser chrome.
	 * Light theme uses softer contact shadows (same tokens, values below).
	 */
	/* Header bottom: same “light line” idea as .site-footer border-top (inset + 1px border) */
	--shadow-header-chrome-edge: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
	--shadow-header:
		0 4px 24px rgba(0, 0, 0, 0.45),
		0 1px 3px rgba(0, 0, 0, 0.55);
	--shadow-sm:
		inset 0 1px 0 rgba(255, 255, 255, 0.05),
		0 2px 8px rgba(0, 0, 0, 0.32),
		0 6px 24px rgba(0, 0, 0, 0.22);
	--shadow-md:
		inset 0 1px 0 rgba(255, 255, 255, 0.07),
		0 6px 20px rgba(0, 0, 0, 0.38),
		0 16px 48px rgba(0, 0, 0, 0.28);
	--shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.18);
	--shadow-footer:
		inset 0 1px 0 rgba(255, 255, 255, 0.05),
		0 -8px 32px rgba(0, 0, 0, 0.35),
		0 -2px 8px rgba(0, 0, 0, 0.25);
	/* Soft ambient separation between stacked sections */
	--shadow-section: 0 24px 48px -32px rgba(0, 0, 0, 0.35);
	--shadow-nav-panel: 0 16px 40px rgba(0, 0, 0, 0.35);
	/* Hover chip parallel to typographic “/” (nav separators) */
	--nav-link-hover-skew: -18deg;
}

@media (prefers-color-scheme: light) {
	:root {
		color-scheme: light;

		--color-bg: #f2f2f2;
		--color-surface: #ffffff;
		--color-surface-light: #e8e8e8;
		--color-text: #121212;
		--color-muted: #5a5a5a;
		--color-accent: #c50500;
		--color-border: rgba(0, 0, 0, 0.1);
		--color-on-accent: #ffffff;
		--color-footer-bg: #e8e8e8;
		--color-border-intense: rgba(0, 0, 0, 0.2);
		--color-border-elevate: rgba(0, 0, 0, 0.15);
		--color-border-mid: rgba(0, 0, 0, 0.18);
		--color-border-secondary-hover: rgba(0, 0, 0, 0.32);
		--color-surface-faint: rgba(0, 0, 0, 0.03);
		--color-accent-tint: rgba(197, 5, 0, 0.08);
		--color-partners-tint: rgba(0, 0, 0, 0.04);
		--color-nav-item-hover-bg: rgba(0, 0, 0, 0.06);

		--hero-gradient-scrim: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(242, 242, 242, 0.78) 100%);
		--hero-gradient-spot: radial-gradient(1200px 420px at 50% 18%, rgba(197, 5, 0, 0.12), transparent 58%);

		--shadow-header-chrome-edge: inset 0 -1px 0 rgba(255, 255, 255, 0.9);
		--shadow-header:
			0 2px 8px rgba(0, 0, 0, 0.04),
			0 8px 28px rgba(0, 0, 0, 0.06);
		--shadow-sm:
			inset 0 1px 0 rgba(255, 255, 255, 0.98),
			0 1px 2px rgba(0, 0, 0, 0.04),
			0 4px 16px rgba(0, 0, 0, 0.05);
		--shadow-md:
			inset 0 1px 0 rgba(255, 255, 255, 1),
			0 2px 6px rgba(0, 0, 0, 0.05),
			0 12px 36px rgba(0, 0, 0, 0.07);
		--shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.04);
		--shadow-footer:
			inset 0 1px 0 rgba(255, 255, 255, 0.85),
			0 -4px 20px rgba(0, 0, 0, 0.05),
			0 -1px 3px rgba(0, 0, 0, 0.04);
		--shadow-section: 0 20px 40px -28px rgba(0, 0, 0, 0.06);
		--shadow-nav-panel: 0 12px 32px rgba(0, 0, 0, 0.08);
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	font-family: var(--font-text);
	font-size: 100%;
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-text);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	font-weight: 400;
	letter-spacing: -0.022em;
	font-style: normal;
	font-synthesis: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body,
button,
input,
textarea,
select {
	font-synthesis: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-display);
	font-weight: 600;
}

b,
strong {
	font-weight: 600;
}

img,
picture,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color var(--transition), opacity var(--transition);
}

a:hover {
	color: var(--color-accent);
}

a:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 3px;
}

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

.skip-link:focus {
	position: fixed;
	top: calc(12px + env(safe-area-inset-top, 0px));
	left: calc(12px + env(safe-area-inset-left, 0px));
	z-index: 10000;
	padding: 12px 16px;
	background: var(--color-accent);
	color: var(--color-on-accent);
	text-decoration: none;
	clip: auto;
	width: auto;
	height: auto;
	margin: 0;
	border-radius: var(--radius);
}

.container {
	width: min(var(--container-width), 100%);
	margin-inline: auto;
	padding-inline: var(--container-padding);
}

.site-main {
	flex: 1 0 auto;
	padding-block: clamp(24px, 4vw, 56px);
}

/* Hero sits under the header without extra gap above the photo */
.site-main--has-hero {
	padding-top: 0;
}

.site-main--single {
	padding-block: clamp(16px, 3vw, 40px);
}

/* Header: same surface as footer + same hairline from content as footer has from main */
.site-header {
	position: sticky;
	top: 0;
	z-index: 9999;
	padding-top: env(safe-area-inset-top, 0px);
	padding-left: env(safe-area-inset-left, 0px);
	padding-right: env(safe-area-inset-right, 0px);
	background: var(--color-footer-bg);
	border-bottom: 1px solid var(--color-border);
	box-shadow: var(--shadow-header-chrome-edge), var(--shadow-header);
}

.site-header__inner {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding-block: 15px;
	box-sizing: border-box;
}

.site-header__brand-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-width: 0;
}

.site-header__brand {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	min-width: 0;
}

.site-header__brand-link {
	display: inline-flex;
	align-items: center;
	gap: 18px;
	text-decoration: none;
	color: inherit;
}

.site-header__logo-wrap .custom-logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.site-header__logo-wrap img,
.site-header__logo-wrap .custom-logo {
	max-height: 33px;
	width: auto;
}

.site-header__logo {
	flex: 0 0 auto;
}

.site-header__menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	border: none;
	border-radius: var(--radius);
	background: var(--color-surface);
	color: var(--color-text);
	box-shadow: var(--shadow-xs);
	cursor: pointer;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	transition:
		background var(--transition),
		box-shadow var(--transition),
		color var(--transition);
	font: inherit;
}

.site-header__menu-toggle:hover {
	background: var(--color-surface-light);
	box-shadow: var(--shadow-sm);
}

.site-header__menu-toggle:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
}

.site-header__menu-toggle-box {
	display: grid;
	gap: 5px;
	width: 20px;
	justify-items: stretch;
	align-content: center;
}

.site-header__menu-toggle-bar {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform var(--transition), opacity var(--transition);
}

.site-nav {
	display: block;
}

.site-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.site-nav__list a {
	display: block;
	position: relative;
	isolation: isolate;
	padding: 5px 10px;
	border-radius: 0;
	text-decoration: none;
	color: var(--color-text);
	font-family: var(--font-text);
	font-size: var(--fs-nav);
	line-height: var(--lh-nav);
	font-weight: 600;
	letter-spacing: -0.018em;
	transition: color var(--transition);
}

.site-nav__list a::before {
	content: '';
	position: absolute;
	z-index: -1;
	left: -10px;
	right: -10px;
	top: 0;
	bottom: 0;
	background: var(--color-nav-item-hover-bg);
	transform: skewX(var(--nav-link-hover-skew));
	border-radius: 2px;
	opacity: 0;
	transition: opacity var(--transition);
	pointer-events: none;
}

.site-nav__list a:hover {
	color: var(--color-accent);
}

.site-nav__list a:hover::before {
	opacity: 1;
}

.site-nav__list a:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 3px;
	z-index: 1;
}

@media (max-width: 1199px) {
	/* Icon only — no chip background / elevation */
	.site-header__menu-toggle {
		background: transparent;
		box-shadow: none;
		border-radius: 0;
	}

	.site-header__menu-toggle:hover {
		background: transparent;
		box-shadow: none;
	}

	.site-header__menu-toggle:focus-visible {
		outline: 2px solid var(--color-accent);
		outline-offset: 4px;
	}

	.site-nav {
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		visibility: hidden;
		transition: max-height 240ms ease, opacity var(--transition), visibility var(--transition);
		background: transparent;
		box-shadow: none;
	}

	.site-nav.is-open {
		max-height: 80vh;
		opacity: 1;
		visibility: visible;
		padding-bottom: 4px;
		overflow: auto;
		background: transparent;
		box-shadow: none;
	}

	body.nav-open {
		overflow: hidden;
	}
}

@media (min-width: 1200px) {
	.site-header__inner {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
		gap: clamp(12px, 2vw, 28px);
	}

	.site-header__brand-row {
		flex: 0 0 auto;
	}

	.site-header .site-header__menu-toggle {
		display: none;
	}

	.site-nav {
		flex: 1 1 auto;
		min-width: 0;
		max-height: none;
		opacity: 1;
		visibility: visible;
		overflow: visible;
	}

	.site-nav__list {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: flex-end;
		align-items: center;
		gap: 0;
		width: 100%;
		row-gap: 4px;
	}

	.site-nav__list > li {
		display: inline-flex;
		align-items: center;
		flex-wrap: nowrap;
	}

	/* Same pattern as .section-header__title-sep — muted slash between items */
	.site-nav__list > li:not(:last-child)::after {
		content: ' / ';
		color: var(--color-muted);
		font-weight: 600;
		font-size: var(--fs-nav);
		line-height: var(--lh-nav);
		letter-spacing: -0.018em;
		pointer-events: none;
		user-select: none;
		white-space: pre;
	}

	.site-nav__list a {
		padding: 4px 10px;
		white-space: nowrap;
	}
}

/* Hero — large cover photo */
.hero {
	position: relative;
	z-index: 1;
	isolation: isolate;
	margin: 0;
	box-shadow: var(--shadow-header);
}

.hero__frame {
	position: relative;
	width: 100%;
	min-height: clamp(280px, 62vh, 800px);
	max-height: min(88vh, 920px);
	overflow: hidden;
	background: var(--color-surface);
}

.hero__frame--fallback {
	background:
		linear-gradient(145deg, var(--color-surface-light) 0%, var(--color-surface) 45%, rgba(225, 6, 0, 0.15) 100%);
}

.hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: var(--hero-gradient-scrim), var(--hero-gradient-spot);
}

/* Sections */
.section {
	padding-block: clamp(28px, 5vw, 72px);
	border-bottom: 1px solid var(--color-border);
	box-shadow: var(--shadow-section);
}

.section:last-of-type {
	border-bottom: none;
	box-shadow: none;
}

/* Front page: no lines/shadows between blocks — sections separated by layout/backgrounds later */
body.home .site-main > .section {
	border-bottom: none;
	box-shadow: none;
}

.section-header {
	margin-bottom: clamp(20px, 3vw, 32px);
}

.section-header__title {
	margin: 0 0 8px;
	font-family: var(--font-display);
	font-size: var(--fs-section);
	line-height: var(--lh-section);
	font-weight: 600;
	letter-spacing: -0.012em;
}

.section-header__title-sep {
	color: var(--color-muted);
	font-weight: 600;
}

.section-header__title-link {
	color: var(--color-accent);
	text-decoration: none;
	font-weight: 600;
}

.section-header__title-link:hover {
	text-decoration: underline;
}

.section-header__description {
	margin-top: 12px;
}

.section-header__lead {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--fs-section-lead);
	line-height: var(--lh-section-lead);
	font-weight: 400;
	letter-spacing: 0.006em;
	color: var(--color-muted);
	max-width: 70ch;
}

.text-link {
	color: var(--color-accent);
	text-decoration: none;
	font-family: var(--font-text);
	font-size: var(--fs-body);
	font-weight: 500;
}

.text-link:hover {
	text-decoration: underline;
}

/* Cards & grids */
.news-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}

@media (min-width: 640px) {
	.news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 980px) {
	.news-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition:
		border-color var(--transition),
		transform var(--transition),
		box-shadow var(--transition);
}

.card:hover {
	border-color: var(--color-border-elevate);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.card__link {
	display: grid;
	grid-template-rows: auto 1fr;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.card__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--color-surface-light);
}

.card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 320ms ease;
}

.card:hover .card__image {
	transform: scale(1.03);
}

.card__body {
	padding: 16px 16px 18px;
	display: grid;
	gap: 8px;
}

.card__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--fs-card-title);
	line-height: 1.25;
	font-weight: 600;
	letter-spacing: 0.004em;
}

.card__meta {
	margin: 0;
	font-family: var(--font-text);
	font-size: var(--fs-caption);
	line-height: 1.35;
	font-weight: 400;
	letter-spacing: -0.014em;
	color: var(--color-muted);
}

.card__excerpt {
	margin: 0;
	font-family: var(--font-text);
	font-size: var(--fs-caption);
	line-height: 1.45;
	font-weight: 400;
	letter-spacing: -0.014em;
	color: var(--color-muted);
}

.card__cta {
	margin-top: 4px;
	font-family: var(--font-text);
	font-weight: 600;
	font-size: var(--fs-caption);
	line-height: 1.35;
	letter-spacing: -0.014em;
	color: var(--color-accent);
}

/* Calendar preview */
.calendar-preview-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.calendar-preview-list__link {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	text-decoration: none;
	color: inherit;
	box-shadow: var(--shadow-xs);
	transition: border-color var(--transition), box-shadow var(--transition);
}

.calendar-preview-list__link:hover {
	border-color: var(--color-border-mid);
	box-shadow: var(--shadow-sm);
}

.calendar-preview-list__title {
	font-family: var(--font-text);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	font-weight: 600;
	letter-spacing: -0.018em;
}

.calendar-preview-list__date {
	font-family: var(--font-text);
	font-size: var(--fs-caption);
	line-height: 1.35;
	letter-spacing: -0.014em;
	color: var(--color-muted);
}

.calendar-preview-stub {
	padding: 20px;
	border-radius: var(--radius);
	border: 1px dashed var(--color-border);
	background: var(--color-surface-faint);
	box-shadow: var(--shadow-xs);
}

.calendar-preview-stub__list {
	margin: 12px 0 16px;
	padding-left: 1.2rem;
	color: var(--color-muted);
}

.cta-editorial {
	display: grid;
	gap: 16px;
	justify-items: stretch;
	width: 100%;
	padding: 24px;
	border-radius: var(--radius);
	background: linear-gradient(135deg, var(--color-accent-tint), transparent 55%), var(--color-surface);
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-sm);
}

.cta-editorial__text {
	margin: 0;
	width: 100%;
	min-width: 0;
	max-width: none;
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	letter-spacing: -0.018em;
	color: var(--color-muted);
}

/* Media grid */
.media-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

@media (min-width: 782px) {
	.media-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 14px;
	}
}

.media-grid__cell {
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--color-border);
	background: var(--color-surface);
	box-shadow: var(--shadow-xs);
}

.media-grid__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 16 / 10;
}

/* Partners */
.partners-strip {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

@media (min-width: 782px) {
	.partners-strip {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

.partners-strip__slot {
	min-height: 64px;
	display: grid;
	place-items: center;
	padding: 12px;
	border-radius: var(--radius);
	border: 1px dashed var(--color-border);
	background: var(--color-partners-tint);
	box-shadow: var(--shadow-xs);
}

.partners-strip__label {
	font-family: var(--font-text);
	font-size: var(--fs-small);
	line-height: 1.4;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--color-muted);
	text-transform: uppercase;
}

/* Article / page */
.article-single__header {
	margin-bottom: 16px;
}

.article-single__title {
	margin: 0 0 8px;
	font-family: var(--font-display);
	font-size: var(--fs-article-title);
	line-height: var(--lh-section);
	font-weight: 600;
	letter-spacing: -0.02em;
}

.article-single__meta {
	margin: 0;
	font-family: var(--font-text);
	font-size: var(--fs-caption);
	line-height: 1.35;
	letter-spacing: -0.014em;
	color: var(--color-muted);
}

.article-single__figure {
	margin: 0 0 24px;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--color-border);
	background: var(--color-surface);
	box-shadow: var(--shadow-sm);
}

.article-single__content {
	font-family: var(--font-text);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	letter-spacing: -0.018em;
	max-width: var(--content-body-max-width);
}

.entry-content>*:first-child {
	margin-top: 0;
}

.entry-content>*:last-child {
	margin-bottom: 0;
}

.entry-content h2 {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: var(--fs-entry-h2);
	margin-top: 1.6em;
	margin-bottom: 0.6em;
	line-height: var(--lh-section);
	letter-spacing: -0.015em;
}

.entry-content h3 {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: var(--fs-entry-h3);
	margin-top: 1.6em;
	margin-bottom: 0.6em;
	line-height: var(--lh-section-lead);
	letter-spacing: 0.005em;
}

.entry-content p {
	margin: 0 0 1em;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 1em;
	padding-left: 1.2rem;
}

.entry-content a {
	color: var(--color-accent);
}

.article-single__footer {
	margin-top: 32px;
}

.page-content__body {
	max-width: var(--content-body-max-width);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	letter-spacing: -0.018em;
}

.page-content__footer {
	margin-top: clamp(24px, 4vw, 40px);
}

.archive-description {
	font-family: var(--font-text);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	letter-spacing: -0.018em;
	color: var(--color-muted);
}

.archive-description p {
	margin: 0;
}

/* Pagination */
.pagination {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: center;
}

.pagination a.page-numbers,
.pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25em;
	min-height: 2.25em;
	padding: 6px 10px;
	text-decoration: none;
	border-radius: var(--radius);
	font-family: var(--font-text);
	font-size: var(--fs-small);
	font-weight: 500;
	color: var(--color-text);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	transition:
		color var(--transition),
		border-color var(--transition),
		background var(--transition);
}

.pagination a.page-numbers:hover {
	color: var(--color-accent);
	border-color: var(--color-border-elevate);
}

.pagination span.page-numbers.current {
	color: var(--color-accent);
	border-color: var(--color-border-mid);
	font-weight: 600;
}

.pagination span.page-numbers.dots {
	min-width: unset;
	padding: 6px 4px;
	background: transparent;
	border: none;
	color: var(--color-muted);
	font-weight: 400;
	cursor: default;
}

/* Footer */
.site-footer {
	padding-block: clamp(10px, 1.65vw, 19px);
	background: var(--color-footer-bg);
	border-top: 1px solid var(--color-border);
	margin-top: auto;
	box-shadow: var(--shadow-footer);
}

.site-footer__tagline {
	margin: 0 0 6px;
	font-family: var(--font-text);
	color: var(--color-muted);
	max-width: 52ch;
	font-size: var(--fs-caption);
	line-height: 1.45;
	letter-spacing: -0.014em;
}

.site-footer__copy {
	margin: 0;
	padding: 0;
	border: none;
	font-family: var(--font-text);
	font-size: var(--fs-small);
	line-height: 1.4;
	letter-spacing: -0.008em;
	color: var(--color-muted);
}

.no-results__message {
	margin: 0;
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	letter-spacing: -0.018em;
	color: var(--color-muted);
}

.section--news__empty {
	margin: 0;
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	letter-spacing: -0.018em;
	color: var(--color-muted);
}