:root {
	--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--color-bg: #f6f1ea;
	--color-surface: #fffdf9;
	--color-surface-strong: #f0e6d8;
	--color-text: #1f1d1a;
	--color-muted: #6d655d;
	--color-border: rgba(31, 29, 26, 0.12);
	--color-accent: #b55233;
	--color-accent-strong: #8f3c22;
	--color-shadow: 0 24px 60px rgba(60, 35, 20, 0.12);
	--container: min(1120px, calc(100% - 2rem));
	--radius: 1.25rem;
	--header-height: 5.5rem;
	--transition: 200ms ease;
}

:root[data-theme="dark"] {
	--color-bg: #171a1f;
	--color-surface: #20252d;
	--color-surface-strong: #2a313b;
	--color-text: #eef2f6;
	--color-muted: #a0a9b5;
	--color-border: rgba(238, 242, 246, 0.12);
	--color-accent: #ff8a62;
	--color-accent-strong: #ffb096;
	--color-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

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

html {
	scroll-behavior: smooth;
}

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

body {
	margin: 0;
	font-family: var(--font-body);
	background:
		radial-gradient(circle at top left, rgba(181, 82, 51, 0.12), transparent 30%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent),
		var(--color-bg);
	color: var(--color-text);
	line-height: 1.7;
}

body.menu-open {
	overflow: hidden;
}

body.menu-open::before {
	content: "";
	position: fixed;
	inset: 0;
	background: rgba(18, 16, 14, 0.22);
	backdrop-filter: blur(6px);
	z-index: 998;
}

a {
	color: inherit;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.14em;
}

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

input,
button,
textarea {
	font: inherit;
}

.container,
.narrow-container {
	width: var(--container);
	margin: 0 auto;
}

.narrow-container {
	max-width: 820px;
}

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

.skip-link:focus {
	position: fixed;
	top: 1rem;
	left: 1rem;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.75rem 1rem;
	background: var(--color-surface);
	z-index: 1000;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	padding: 0.85rem 0;
	background: rgba(246, 241, 234, 0.82);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid transparent;
	transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

:root[data-theme="dark"] .site-header {
	background: rgba(23, 26, 31, 0.84);
}

body.has-scrolled .site-header {
	border-color: var(--color-border);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.site-header__inner,
.site-branding,
.site-header__nav-group,
.site-header__actions,
.front-hero__actions,
.entry-meta,
.section-heading,
.section-heading__actions,
.newsletter-form,
.site-footer__bottom {
	display: flex;
	align-items: center;
}

.site-header__inner,
.section-heading,
.site-footer__bottom {
	justify-content: space-between;
}

.site-header__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 1.5rem;
}

.site-branding {
	gap: 0.75rem;
	min-width: 0;
	align-items: center;
}

.site-branding__text {
	display: block;
}

.site-logo img {
	max-width: 64px;
	max-height: 64px;
}

.site-title {
	font-size: 1.95rem;
}

.site-title a {
	text-decoration: none;
}

.site-description {
	display: none;
}

.site-title,
.site-description,
.entry-title,
.widget-title,
.page-title,
.site-footer__title,
.site-footer__heading,
.front-hero h1,
.archive-hero h1,
.section-heading h2 {
	margin: 0;
}

.site-title,
.entry-title,
.page-title,
.front-hero h1,
.archive-hero h1,
.section-heading h2,
.site-footer__title,
.widget-title {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.site-description,
.entry-meta,
.archive-description,
.post-card .entry-summary,
.newsletter-message,
.site-footer p,
.widget,
.contact-list {
	color: var(--color-muted);
}

.main-navigation ul,
.footer-menu,
.featured-list,
.contact-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.main-navigation ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.9rem 1.1rem;
}

.main-navigation li {
	line-height: 1.2;
}

.main-navigation a {
	display: inline-flex;
	padding: 0.35rem 0;
	font-family: var(--font-heading);
	font-size: 0.98rem;
	font-weight: 600;
}

.main-navigation a,
.header-search-toggle,
.header-search-link,
.section-link {
	text-decoration: none;
}

.main-navigation a:hover,
.main-navigation a:focus-visible,
.header-search-toggle:hover,
.header-search-toggle:focus-visible,
.header-search-link:hover,
.header-search-link:focus-visible,
.section-link:hover,
.section-link:focus-visible,
.site-title a:hover,
.site-title a:focus-visible {
	color: var(--color-accent);
}

.menu-toggle,
.theme-toggle,
.back-to-top,
.button {
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: transform var(--transition), background var(--transition), color var(--transition), opacity var(--transition);
}

.menu-toggle,
.theme-toggle,
.header-search-link {
	background: var(--color-surface);
	box-shadow: var(--color-shadow);
}

.menu-toggle {
	display: none;
	padding: 0.75rem;
	flex-direction: column;
	gap: 0.3rem;
}

.menu-toggle span:not(.screen-reader-text) {
	display: block;
	width: 1.2rem;
	height: 2px;
	background: var(--color-text);
	transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
	transform: translateY(0.45rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(4) {
	transform: translateY(-0.45rem) rotate(-45deg);
}

.theme-toggle,
.header-search-toggle,
.header-search-link {
	padding: 0.72rem 0.95rem;
}

.site-header__nav-group {
	justify-content: flex-end;
	gap: 1.1rem;
	min-width: 0;
}

.main-navigation__mobile-head,
.main-navigation__mobile-search {
	display: none;
}

.site-header__actions {
	justify-content: flex-end;
	gap: 0.6rem;
	flex-shrink: 0;
}

.header-search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 999px;
	background: var(--color-surface);
	box-shadow: var(--color-shadow);
	font-family: var(--font-heading);
	font-weight: 600;
	color: var(--color-text);
	cursor: pointer;
}

.theme-toggle__icon::before {
	content: "◐";
}

.eyebrow {
	margin: 0 0 0.75rem;
	color: var(--color-accent);
	font-family: var(--font-heading);
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.front-hero,
.archive-hero,
.front-section,
.newsletter-section,
.site-footer {
	padding: 2rem 0;
}

.site-main {
	padding: 0 0 2rem;
}

.site-main--home {
	padding-top: 1rem;
}

.front-hero__grid,
.archive-hero__grid,
.content-layout,
.site-footer__grid,
.newsletter-section__inner {
	display: grid;
	gap: 1.5rem;
}

.front-hero__grid {
	grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
	align-items: stretch;
}

.archive-hero__grid,
.newsletter-section__inner {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
}

.archive-hero {
	margin-top: 0.25rem;
}

.archive-hero__grid {
	grid-template-columns: 1fr;
}

.archive-hero__content {
	max-width: 48rem;
}

.front-hero__content,
.front-hero__panel,
.archive-hero,
.newsletter-section__inner,
.page-card,
.single-post-card,
.widget,
.search-card,
.comments-area,
.author-box,
.contact-panel {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	box-shadow: var(--color-shadow);
}

.front-hero__content,
.front-hero__panel,
.archive-hero,
.page-card,
.single-post-card,
.comments-area,
.author-box,
.contact-panel {
	padding: clamp(1.25rem, 2.6vw, 2rem);
}

.front-hero h1,
.page-title,
.entry-title {
	font-size: clamp(1.95rem, 4vw, 3.6rem);
}

.archive-hero h1 {
	font-size: clamp(1.55rem, 2.5vw, 2.35rem);
}

.front-hero__content > p:not(.eyebrow),
.archive-hero p {
	max-width: 38rem;
	font-size: 1.04rem;
}

.front-hero__actions {
	gap: 0.85rem;
	flex-wrap: wrap;
	margin-top: 1.5rem;
}

.archive-hero__actions {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-top: 1.25rem;
}

.front-hero__panel {
	align-self: stretch;
}

.front-hero__label {
	margin: 0 0 1rem;
	font-family: var(--font-heading);
	font-size: 0.95rem;
	font-weight: 700;
}

.section-heading {
	align-items: flex-end;
	margin-bottom: 1rem;
}

.section-heading__text {
	max-width: 40rem;
	margin: 0.6rem 0 0;
	color: var(--color-muted);
}

.section-heading__actions {
	justify-content: flex-start;
	margin-bottom: 1.5rem;
}

.section-link.button {
	min-width: 11rem;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.9rem 1.4rem;
	background: var(--color-accent);
	color: #fff;
	text-decoration: none;
}

.button:hover,
.menu-toggle:hover,
.theme-toggle:hover,
.header-search-toggle:hover,
.back-to-top:hover,
.header-search-link:hover {
	transform: translateY(-1px);
}

.site-search-panel {
	padding: 0 0 1rem;
}

.site-search-panel__inner {
	display: grid;
	gap: 0.9rem;
	padding: 1rem 1.1rem 1.1rem;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: calc(var(--radius) - 0.1rem);
	box-shadow: var(--color-shadow);
}

.site-search-panel .search-form {
	max-width: 36rem;
}

.button--secondary {
	background: var(--color-surface-strong);
	color: var(--color-text);
}

.featured-list li + li,
.footer-menu li + li,
.comment-list li + li {
	margin-top: 1rem;
}

.content-layout {
	grid-template-columns: minmax(0, 2fr) minmax(280px, 0.9fr);
	align-items: start;
	gap: 1.5rem;
}

.site-main--single .content-layout {
	grid-template-columns: minmax(0, 1.75fr) minmax(260px, 0.65fr);
	gap: 1.75rem;
}

.content-layout--page {
	grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}

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

.post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 28px 52px rgba(60, 35, 20, 0.16);
}

.post-card__media img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.post-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: clamp(1.25rem, 2vw, 1.7rem);
}

.post-card .entry-title {
	font-size: clamp(1.4rem, 2vw, 1.9rem);
	line-height: 1.18;
	letter-spacing: -0.035em;
}

.post-card .entry-title a {
	text-decoration: none;
}

.post-card .entry-title a:hover {
	color: var(--color-accent-strong);
}

.post-card .entry-summary {
	font-size: 1rem;
	line-height: 1.65;
}

.post-card .entry-author {
	display: none;
}

.post-card .entry-summary p {
	margin-bottom: 0;
}

.post-card__read {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	align-self: flex-start;
	margin-top: auto;
	padding-top: 1.2rem;
	font-size: 0.87rem;
	font-weight: 750;
	color: var(--color-accent-strong);
	text-decoration: none;
}

.post-card__read span {
	font-size: 1.15rem;
	transition: transform var(--transition);
}

.post-card__read:hover span {
	transform: translateX(3px);
}

.entry-taxonomy,
.entry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.entry-taxonomy a,
.entry-tags a {
	display: inline-flex;
	padding: 0.3rem 0.7rem;
	background: var(--color-surface-strong);
	border-radius: 999px;
	text-decoration: none;
	font-size: 0.9rem;
}

.entry-meta {
	gap: 0.75rem;
	flex-wrap: wrap;
	font-size: 0.95rem;
	font-family: var(--font-body);
}

/* Reading experience */
.reading-progress {
	position: fixed;
	z-index: 1001;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	pointer-events: none;
}

.reading-progress span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--color-accent);
}

.site-main--single {
	padding-top: 2rem;
}

.single-story {
	max-width: 1050px;
	margin: 0 auto;
}

.story-header {
	max-width: 800px;
	margin: 0 auto 2rem;
}

.story-back {
	display: inline-block;
	margin-bottom: 1.8rem;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--color-muted);
	text-decoration: none;
}

.story-back:hover {
	color: var(--color-accent-strong);
}

.story-header .entry-taxonomy {
	margin-bottom: 0.9rem;
}

.story-header .entry-title {
	max-width: 850px;
	font-size: clamp(2.5rem, 5vw, 4.5rem);
	line-height: 1.04;
	letter-spacing: -0.055em;
}

.story-dek {
	max-width: 740px;
	margin: 1.25rem 0 1.35rem;
	font-size: clamp(1.1rem, 1.6vw, 1.35rem);
	line-height: 1.55;
	color: var(--color-muted);
}

.story-header .entry-meta {
	font-size: 0.9rem;
	font-weight: 600;
}

.story-header .entry-meta {
	gap: 0.35rem 1rem;
}

.story-cover {
	margin: 0 0 2.5rem;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--color-surface-strong);
}

.story-cover img {
	width: 100%;
	max-height: 560px;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.article-highlights {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	margin: 0 0 2.5rem;
	padding: clamp(1.5rem, 3vw, 2.2rem);
	background: #18373b;
	color: #f7fbf8;
	border-radius: var(--radius);
	box-shadow: 0 22px 44px rgba(15, 46, 48, 0.16);
}

.article-highlights__eyebrow {
	margin: 0 0 0.85rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #a8e7d5;
}

.article-highlights__lead {
	margin: 0;
	font-size: clamp(1.2rem, 1.8vw, 1.55rem);
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: -0.025em;
}

.article-highlights__list {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.article-highlights__list li {
	display: grid;
	grid-template-columns: 2.1rem 1fr;
	align-items: start;
	gap: 0.7rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.article-highlights__list li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.article-highlights__list span {
	font-size: 0.8rem;
	font-weight: 800;
	color: #a8e7d5;
}

.article-highlights__list p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.5;
}

.story-layout {
	display: grid;
	grid-template-columns: minmax(0, 710px) minmax(205px, 1fr);
	align-items: start;
	gap: clamp(2rem, 5vw, 4rem);
}

.story-main {
	min-width: 0;
}

.site-main--single .entry-content {
	font-size: clamp(1.05rem, 1.3vw, 1.17rem);
	line-height: 1.85;
	counter-reset: article-section;
}

.site-main--single .entry-content > p:first-of-type {
	font-size: 1.2em;
	line-height: 1.7;
	color: var(--color-text);
}

.site-main--single .entry-content p,
.site-main--single .entry-content ul,
.site-main--single .entry-content ol {
	margin-bottom: 1.3em;
}

.site-main--single .entry-content h2 {
	margin: 3rem 0 1rem;
	padding-top: 0.5rem;
	font-size: clamp(1.65rem, 2.3vw, 2.25rem);
	line-height: 1.16;
	letter-spacing: -0.04em;
	scroll-margin-top: calc(var(--header-height) + 1rem);
	counter-increment: article-section;
}

.site-main--single .entry-content h2::before {
	content: counter(article-section, decimal-leading-zero);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	margin: 0 0.7rem 0.2rem 0;
	background: var(--color-accent);
	color: #fff;
	border-radius: 0.55rem;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0;
	vertical-align: middle;
}

.site-main--single .entry-content h3 {
	margin: 2rem 0 0.7rem;
	font-size: clamp(1.3rem, 1.7vw, 1.55rem);
	letter-spacing: -0.025em;
}

.site-main--single .entry-content li + li {
	margin-top: 0.45rem;
}

.site-main--single .entry-content > ul,
.site-main--single .entry-content > ol {
	padding: 1.15rem 1.25rem 1.15rem 2.65rem;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 0.9rem;
}

.site-main--single .entry-content li::marker {
	color: var(--color-accent);
}

.site-main--single .entry-content blockquote {
	padding: 1.1rem 1.5rem;
	background: var(--color-surface-strong);
	border-radius: 0 0.8rem 0.8rem 0;
}

.story-guide {
	position: sticky;
	top: calc(var(--header-height) + 1.5rem);
	border-left: 1px solid var(--color-border);
}

.story-guide__inner {
	padding-left: 1.35rem;
}

.story-guide__label {
	margin: 0 0 0.9rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-accent-strong);
}

.story-guide__details summary {
	display: none;
}

.story-guide__nav {
	display: grid;
	gap: 0.2rem;
	max-height: min(65vh, 620px);
	overflow-y: auto;
}

.story-guide__nav a {
	display: block;
	padding: 0.45rem 0;
	font-size: 0.9rem;
	line-height: 1.4;
	color: var(--color-muted);
	text-decoration: none;
}

.story-guide__nav a:hover,
.story-guide__nav a.is-active {
	color: var(--color-accent-strong);
	font-weight: 700;
}

.story-guide__back {
	display: inline-block;
	margin-top: 1.5rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--color-accent-strong);
	text-decoration: none;
}

.story-after {
	max-width: 710px;
	margin: 2.5rem auto 0 0;
}

@media (max-width: 900px) {
	.story-layout {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.story-guide {
		grid-row: 1;
		position: static;
		padding: 1rem 1.2rem;
		background: var(--color-surface);
		border: 1px solid var(--color-border);
		border-radius: 0.9rem;
	}

	.story-guide__inner {
		padding-left: 0;
	}

	.story-guide__label,
	.story-guide__back {
		display: none;
	}

	.story-guide__details summary {
		display: list-item;
		font-size: 0.9rem;
		font-weight: 750;
		color: var(--color-accent-strong);
		cursor: pointer;
	}

	.story-guide__nav {
		margin-top: 0.6rem;
	}

	.story-guide__nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-height: none;
	}

	.story-guide__back {
		margin-top: 0.8rem;
	}
}

@media (max-width: 640px) {
	.article-highlights {
		grid-template-columns: 1fr;
		gap: 1.4rem;
		margin-bottom: 1.35rem;
		padding: 1.4rem;
	}

	.article-highlights__lead {
		font-size: 1.25rem;
	}

	.site-main--single {
		padding-top: 1.25rem;
	}

	.story-header {
		margin-bottom: 1.4rem;
	}

	.story-header .entry-title {
		font-size: clamp(2.2rem, 10vw, 3.2rem);
	}

	.story-dek {
		font-size: 1.08rem;
	}

	.story-cover {
		margin-bottom: 1.5rem;
	}

	.story-cover img {
		aspect-ratio: 4 / 3;
	}

	.story-guide__nav {
		grid-template-columns: 1fr;
	}

	body .back-to-top {
		right: 0.6rem;
		bottom: 0.6rem;
		width: 2.7rem;
		height: 2.7rem;
		padding: 0;
		font-size: 0;
	}

	body .back-to-top::before {
		content: "↑";
		font-size: 1.4rem;
	}

	.site-main--single .entry-content {
		font-size: 1.05rem;
		line-height: 1.75;
	}

	.site-main--single .entry-content > p:first-of-type {
		font-size: 1.08rem;
	}

	.site-main--single .entry-content > ul,
	.site-main--single .entry-content > ol {
		padding: 1rem 1rem 1rem 2.25rem;
	}
}

@media (max-width: 360px) {
	.site-header .site-title {
		font-size: 1.3rem;
		letter-spacing: -0.04em;
	}

	.site-header__actions .theme-toggle {
		display: none;
	}
}

.entry-header--single {
	margin-bottom: 1.5rem;
}

.entry-header--single .entry-title {
	font-size: clamp(1.9rem, 3.2vw, 3.2rem);
	line-height: 1.08;
	margin-bottom: 0.85rem;
}

.entry-header--single .entry-meta {
	font-size: 1rem;
}

.entry-thumbnail--single img {
	width: 100%;
	margin-bottom: 1.5rem;
	border-radius: calc(var(--radius) - 0.5rem);
}

.single-post-card {
	padding: clamp(1.1rem, 2.2vw, 1.75rem);
}

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

.entry-content > * + * {
	margin-top: 1rem;
}

.entry-content {
	font-size: 1.04rem;
	line-height: 1.8;
}

.entry-content h2,
.entry-content h3 {
	font-family: var(--font-heading);
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.entry-content h2 {
	font-size: clamp(1.45rem, 2vw, 2rem);
	margin-top: 1.75rem;
}

.entry-content h3 {
	font-size: clamp(1.2rem, 1.7vw, 1.55rem);
	margin-top: 1.5rem;
}

.entry-content blockquote {
	margin: 2rem 0;
	padding-left: 1.25rem;
	border-left: 4px solid var(--color-accent);
	font-style: italic;
}

.entry-content table {
	display: block;
	width: 100%;
	border-collapse: collapse;
	overflow-x: auto;
}

.entry-content th,
.entry-content td {
	min-width: 8rem;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--color-border);
	text-align: left;
	vertical-align: top;
}

.widget-area {
	display: grid;
	gap: 1.25rem;
	position: sticky;
	top: calc(var(--header-height) + 1rem);
}

.widget {
	padding: 1.2rem;
}

.widget-title,
.wp-block-heading,
.widget h2 {
	font-size: 1.05rem;
	line-height: 1.2;
}

.widget ul {
	padding-left: 1rem;
}

.widget li + li {
	margin-top: 0.75rem;
}

.search-form {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.search-field,
.newsletter-form input[type="email"] {
	width: min(100%, 320px);
	padding: 0.9rem 1rem;
	background: transparent;
	color: var(--color-text);
	border: 1px solid var(--color-border);
	border-radius: 999px;
}

.widget .search-form,
.wp-block-search__inside-wrapper {
	display: flex;
	gap: 0.65rem;
	flex-wrap: nowrap;
}

.widget .search-field,
.wp-block-search__input {
	width: 100%;
	min-width: 0;
	border-radius: 0.95rem;
	border: 1px solid var(--color-border);
	padding: 0.85rem 1rem;
	background: var(--color-bg);
}

.widget .search-submit,
.wp-block-search__button {
	border: 0;
	border-radius: 999px;
	padding: 0.85rem 1.2rem;
	background: var(--color-accent);
	color: #fff;
	font-family: var(--font-heading);
	font-weight: 700;
	cursor: pointer;
}

.related-posts,
.author-box,
.comments-area {
	margin-top: 1.5rem;
}

.page-shell {
	display: grid;
	gap: 1.5rem;
}

.journal-layout,
.search-results-layout {
	max-width: 62rem;
	margin: 0 auto;
}

.journal-layout {
	margin-top: 1.5rem;
}

.page-header--archive,
.search-hero,
.empty-search-panel {
	padding: clamp(1.4rem, 2.8vw, 2rem);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	box-shadow: var(--color-shadow);
}

.search-hero {
	display: grid;
	gap: 0.9rem;
}

.search-hero .page-title {
	font-size: clamp(1.75rem, 3vw, 2.7rem);
}

.search-hero__text {
	margin: 0;
	max-width: 40rem;
	color: var(--color-muted);
	font-size: 1rem;
}

.search-hero .search-form {
	max-width: 32rem;
}

.search-hero .button {
	width: auto;
	min-width: 8rem;
}

.search-hero--empty .page-title {
	font-size: clamp(1.6rem, 2.6vw, 2.3rem);
}

.empty-search-panel {
	margin-top: 1.5rem;
}

.empty-search-panel--results {
	max-width: 46rem;
}

.empty-search-panel h2 {
	margin: 0 0 0.9rem;
	font-family: var(--font-heading);
	font-size: 1.2rem;
	line-height: 1.2;
}

.page-story {
	display: grid;
	gap: 1.5rem;
}

.page-hero {
	display: grid;
	gap: 0.9rem;
	padding: clamp(1.5rem, 2.8vw, 2.25rem);
	background:
		linear-gradient(135deg, rgba(181, 82, 51, 0.08), transparent 60%),
		var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	box-shadow: var(--color-shadow);
}

.page-hero__lede {
	max-width: 44rem;
	margin: 0;
	font-size: 1.05rem;
	color: var(--color-muted);
}

.page-story__grid,
.policy-grid,
.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
	gap: 1.5rem;
	align-items: start;
}

.page-story__rail {
	display: grid;
	gap: 1.25rem;
}

.info-card {
	padding: 1.25rem;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	box-shadow: var(--color-shadow);
}

.info-card h2,
.contact-panel--enhanced h2 {
	margin: 0 0 0.9rem;
	font-family: var(--font-heading);
	font-size: 1.2rem;
	line-height: 1.15;
}

.info-list {
	margin: 0;
	padding-left: 1.1rem;
	display: grid;
	gap: 0.75rem;
	color: var(--color-muted);
}

.metric-stack {
	display: grid;
	gap: 1rem;
}

.metric-stack strong,
.contact-method strong {
	display: block;
	font-family: var(--font-heading);
	font-size: 0.98rem;
}

.metric-stack p,
.contact-method span,
.contact-panel--enhanced p {
	margin: 0.25rem 0 0;
	color: var(--color-muted);
}

.contact-panel--enhanced {
	display: grid;
	gap: 1rem;
}

.contact-methods {
	display: grid;
	gap: 0.9rem;
}

.contact-method {
	padding: 1rem 1.05rem;
	background: rgba(181, 82, 51, 0.06);
	border: 1px solid var(--color-border);
	border-radius: 1rem;
}

.contact-method a {
	display: inline-block;
	margin-top: 0.25rem;
	font-family: var(--font-heading);
	text-decoration: none;
}

.comments-title,
.comment-reply-title {
	margin: 0 0 1rem;
	font-family: var(--font-heading);
	font-size: clamp(1.5rem, 2.2vw, 2rem);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.comment-respond {
	display: grid;
	gap: 1rem;
}

.comment-notes,
.logged-in-as,
.comment-form-cookies-consent {
	color: var(--color-muted);
	font-size: 0.98rem;
}

.comment-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1.1rem;
	align-items: start;
}

.comment-form p {
	margin: 0;
}

.comment-form label {
	display: block;
	margin-bottom: 0.45rem;
	font-family: var(--font-heading);
	font-size: 0.95rem;
	font-weight: 700;
}

.comment-form-comment,
.comment-form-cookies-consent,
.form-submit,
.comment-notes,
.logged-in-as {
	grid-column: 1 / -1;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
	display: grid;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
	width: 100%;
	padding: 0.95rem 1rem;
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	background: var(--color-bg);
	color: var(--color-text);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.comment-form textarea {
	min-height: 14rem;
	resize: vertical;
}

.comment-form-cookies-consent {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.75rem;
	align-items: start;
	padding: 0.35rem 0 0;
}

.comment-form-cookies-consent input {
	margin-top: 0.2rem;
	width: 1.05rem;
	height: 1.05rem;
}

.comment-form .submit {
	min-width: 12rem;
	padding-inline: 1.5rem;
}

.newsletter-section__inner {
	padding: clamp(1.5rem, 3vw, 2.5rem);
}

.newsletter-form {
	gap: 0.75rem;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.newsletter-message--error {
	color: #b42318;
}

.site-footer__grid {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.site-footer__heading {
	margin-bottom: 1rem;
	font-size: 1.1rem;
}

.site-footer__bottom {
	padding-top: 2rem;
	margin-top: 2rem;
	border-top: 1px solid var(--color-border);
}

.comments-closed {
	margin-top: 1.5rem;
	color: var(--color-muted);
}

.footer-menu a {
	text-decoration: none;
}

.author-box {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.25rem;
	margin: 2rem 0;
}

.back-to-top {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	padding: 0.9rem 1rem;
	background: var(--color-text);
	color: var(--color-bg);
	opacity: 0;
	pointer-events: none;
}

.back-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
}

.navigation.pagination {
	margin-top: 2rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.nav-links .page-numbers {
	padding: 0.65rem 0.95rem;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	text-decoration: none;
}

.nav-links .current {
	background: var(--color-accent);
	color: #fff;
	border-color: var(--color-accent);
}

.comment-list {
	padding-left: 0;
	list-style: none;
}

.comment-body {
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--color-border);
}

.error-404,
.no-results {
	text-align: center;
}

@media (max-width: 960px) {
	.site-header {
		padding: 0.75rem 0;
	}

	.site-header__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 0.75rem;
	}

	.site-header__nav-group {
		display: contents;
	}

	.site-title {
		font-size: 1.65rem;
	}

	.front-hero__grid,
	.archive-hero__grid,
	.content-layout,
	.site-main--single .content-layout,
	.content-layout--page,
	.page-story__grid,
	.policy-grid,
	.contact-layout,
	.site-footer__grid,
	.newsletter-section__inner,
	.post-grid {
		grid-template-columns: 1fr;
	}

	.main-navigation {
		position: fixed;
		z-index: 999;
		top: 1rem;
		left: 1rem;
		width: min(22rem, calc(100vw - 2rem));
		max-height: calc(100vh - 2rem);
		overflow: auto;
		padding: 0.9rem;
		background:
			linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 65%),
			var(--color-surface);
		border: 1px solid var(--color-border);
		border-radius: 1.1rem;
		box-shadow: 0 20px 36px rgba(36, 24, 16, 0.16);
		opacity: 0;
		pointer-events: none;
		transform: translateY(-0.5rem) scale(0.985);
		transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
	}

	.main-navigation.is-open {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0) scale(1);
	}

	.main-navigation ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0.15rem;
	}

	.main-navigation a {
		width: 100%;
		padding: 0.8rem 0.35rem;
		border-radius: 0;
		background: transparent;
		border: 0;
		border-bottom: 1px solid rgba(31, 29, 26, 0.08);
		font-size: 1rem;
		font-weight: 700;
		line-height: 1.2;
	}

	.main-navigation .current-menu-item > a,
	.main-navigation .current_page_item > a {
		background: transparent;
		border-color: rgba(31, 29, 26, 0.08);
		color: var(--color-accent);
	}

	.menu-toggle {
		display: inline-flex;
	}

	.main-navigation__mobile-head,
	.main-navigation__mobile-search {
		display: grid;
	}

	.main-navigation__mobile-head {
		grid-template-columns: 1fr auto;
		align-items: center;
		gap: 0.75rem;
		padding-bottom: 1rem;
		margin-bottom: 0.85rem;
		border-bottom: 1px solid rgba(31, 29, 26, 0.08);
	}

	.main-navigation__title,
	.main-navigation__search-label {
		margin: 0;
		font-family: var(--font-heading);
		font-size: 0.95rem;
		font-weight: 700;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		color: var(--color-muted);
	}

	.main-navigation__close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 2.5rem;
		height: 2.5rem;
		border: 0;
		border-radius: 999px;
		background: rgba(31, 29, 26, 0.06);
		color: var(--color-text);
		font-size: 1.65rem;
		line-height: 1;
		cursor: pointer;
	}

	.main-navigation__mobile-search {
		display: none;
	}

	.main-navigation__mobile-search .search-form {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0.65rem;
	}

	.main-navigation__mobile-search .button {
		width: 100%;
	}

	.widget-area {
		position: static;
	}
}

@media (max-width: 640px) {
	.front-hero__actions,
	.section-heading,
	.section-heading__actions,
	.site-footer__bottom,
	.search-form,
	.newsletter-form,
	.author-box {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-header__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto auto;
		grid-template-areas: "branding actions toggle";
		align-items: center;
		gap: 0.55rem;
	}

	.site-branding {
		grid-area: branding;
	}

	.menu-toggle {
		grid-area: toggle;
		justify-self: end;
	}

	.site-header__actions {
		grid-area: actions;
		width: auto;
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 0.4rem;
	}

	.site-header__actions .theme-toggle,
	.site-header__actions .header-search-toggle {
		width: 2.65rem;
		height: 2.65rem;
		min-width: 2.65rem;
		padding: 0;
		justify-content: center;
	}

	.site-header__actions .header-search-toggle {
		position: relative;
		font-size: 0;
	}

	.site-header__actions .header-search-toggle::before {
		content: "";
		width: 0.8rem;
		height: 0.8rem;
		border: 2px solid currentColor;
		border-radius: 50%;
		transform: translate(-2px, -2px);
	}

	.site-header__actions .header-search-toggle::after {
		content: "";
		position: absolute;
		width: 0.45rem;
		height: 2px;
		background: currentColor;
		transform: translate(6px, 6px) rotate(45deg);
	}

	body.menu-open .site-header__actions {
		opacity: 0;
		pointer-events: none;
	}

	body.menu-open .site-branding,
	body.menu-open .menu-toggle {
		opacity: 0;
		pointer-events: none;
	}

	.front-hero,
	.archive-hero,
	.front-section,
	.newsletter-section,
	.site-footer {
		padding: 1.25rem 0;
	}

	.front-hero h1,
	.page-title {
		font-size: clamp(1.7rem, 9vw, 2.45rem);
	}

	.archive-hero h1 {
		font-size: clamp(1.35rem, 7vw, 1.9rem);
	}

	.theme-toggle,
	.button,
	.search-field,
	.newsletter-form input[type="email"] {
		width: 100%;
	}

	.theme-toggle {
		width: auto;
		min-width: 3.25rem;
		justify-content: center;
	}

	.header-search-toggle {
		flex: 0 0 auto;
	}

	.header-search-link {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex: 1;
	}

	.section-heading__actions .section-link.button {
		width: 100%;
	}

	.post-card .entry-title {
		font-size: clamp(1.2rem, 5vw, 1.55rem);
	}

	.entry-header--single .entry-title {
		font-size: clamp(1.65rem, 8vw, 2.35rem);
	}

	.entry-content {
		font-size: 1rem;
	}

	.page-hero {
		padding: 1.25rem;
	}

	.comment-form {
		grid-template-columns: 1fr;
	}

	.widget .search-form,
	.wp-block-search__inside-wrapper {
		grid-template-columns: 1fr;
	}
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
