:root {
	--bg: #f4efe6;
	--surface: #fffaf2;
	--text: #221c17;
	--muted: #6b6258;
	--line: #d9cbbb;
	--accent: #8c2f1b;
	--accent-soft: #f2dccf;
}

* {
	box-sizing: border-box;
}

body {
	font-family: Georgia, "Times New Roman", serif;
	background: var(--bg);
	color: var(--text);
	margin: 0;
}

a {
	color: inherit;
}

.page-shell {
	max-width: 1120px;
	margin: 0 auto;
	padding: 3rem 1.25rem 4rem;
}

.page-header {
	margin-bottom: 2rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--line);
}

.breadcrumbs {
	margin-bottom: 1.25rem;
}

.breadcrumbs-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

.breadcrumbs-item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-width: 0;
}

.breadcrumbs-item:not(:last-child)::after {
	content: "/";
	color: var(--line);
}

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

.breadcrumbs-link:hover {
	color: var(--accent);
}

.breadcrumbs-current {
	color: var(--accent);
}

.page-header-tight {
	margin-bottom: 1.5rem;
}

.eyebrow {
	margin: 0 0 0.5rem;
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--accent);
}

.page-header h1,
.article-page h1 {
	margin: 0;
	font-size: clamp(2.4rem, 4vw, 4.2rem);
	line-height: 0.96;
	letter-spacing: -0.03em;
}

.page-copy,
.section-copy,
.story-card p,
.category-card p,
.article-standfirst,
.article-body {
	color: var(--muted);
	line-height: 1.7;
}

.hero-card,
.story-card,
.category-card,
.article-page,
.not-found {
	background: var(--surface);
	border: 1px solid var(--line);
}

.hero-card {
	padding: 1.5rem;
	margin-bottom: 2rem;
}

.hero-card h2 {
	margin: 0.5rem 0 0.75rem;
	font-size: clamp(2rem, 3vw, 3.2rem);
	line-height: 1.02;
}

.hero-link,
.story-link {
	text-decoration: none;
}

.hero-link:hover,
.story-link:hover,
.link:hover,
.section-link:hover,
.pill-link:hover,
.tag-link:hover,
.not-found-link:hover {
	color: var(--accent);
}

.section-block {
	margin-top: 2.5rem;
}

.section-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.75rem;
}

.section-heading h2 {
	margin: 0;
	font-size: 1.8rem;
}

.section-link,
.link,
.readings-link,
.not-found-link {
	color: var(--accent);
	text-decoration: none;
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
}

.story-grid,
.category-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 1rem;
}

.story-card,
.category-card {
	padding: 1.15rem;
}

.story-card {
	grid-column: span 6;
}

.category-card {
	grid-column: span 4;
}

.meta-row,
.tag-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	align-items: center;
}

.meta-row {
	margin: 0 0 0.65rem;
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--muted);
}

.pill-link,
.tag-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	padding: 0.3rem 0.7rem;
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.pill-link {
	background: var(--accent);
	color: #fff7f1;
}

.tag-link {
	background: var(--accent-soft);
	color: var(--accent);
}

.article-page {
	max-width: 760px;
	margin: 2rem auto;
	padding: 1.5rem;
}

.article-standfirst {
	font-size: 1.15rem;
	margin-top: 0.75rem;
}

.article-body {
	margin-top: 1.5rem;
}

.article-body h2,
.article-body h3 {
	color: var(--text);
}

.article-footer {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid var(--line);
}

.not-found {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 60vh;
	max-width: 45ch;
	margin: 4rem auto;
	padding: 2rem;
	text-align: center;
}

.not-found-code {
	font-size: 6rem;
	font-weight: 200;
	line-height: 1;
	color: var(--accent);
	margin: 0 0 0.5rem;
	letter-spacing: -0.02em;
}

.not-found-title {
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0 0 1rem;
}

.not-found-copy {
	line-height: 1.6;
	margin: 0 0 2rem;
	color: var(--muted);
}

@media (max-width: 800px) {
	.story-card,
	.category-card {
		grid-column: 1 / -1;
	}

	.section-heading,
	.article-footer {
		flex-direction: column;
		align-items: flex-start;
	}

	.page-shell {
		padding: 2rem 1rem 3rem;
	}

	.article-page {
		margin-top: 1rem;
		padding: 1.15rem;
	}

	.breadcrumbs-list {
		row-gap: 0.35rem;
	}
}
