:root {
	--ink: #14121a;
	--ink-soft: #3d3848;
	--muted: #6b6578;
	--paper: #f7f4ef;
	--paper-2: #efeae2;
	--card: #ffffff;
	--accent: #c45c3e;
	--accent-dark: #9e3f28;
	--gold: #b8954a;
	--line: rgba(20, 18, 26, 0.08);
	--shadow: 0 18px 50px rgba(20, 18, 26, 0.08);
	--shadow-hover: 0 24px 60px rgba(20, 18, 26, 0.14);
	--radius: 16px;
	--font-display: "Fraunces", Georgia, serif;
	--font-body: "Source Sans 3", system-ui, sans-serif;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	background: var(--paper);
	color: var(--ink);
	line-height: 1.65;
	min-height: 100vh;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 50% at 10% -10%, rgba(196, 92, 62, 0.12), transparent 50%),
		radial-gradient(ellipse 60% 40% at 90% 0%, rgba(184, 149, 74, 0.1), transparent 45%);
	pointer-events: none;
	z-index: 0;
}

a {
	color: inherit;
}

.site-shell {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.container {
	width: min(1120px, calc(100% - 32px));
	margin: 0 auto;
}

.site-header {
	background: linear-gradient(135deg, #1a1724 0%, #2a2438 55%, #1f1b2d 100%);
	color: #f8f6f2;
	padding: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(12px);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 20px 0;
}

.site-logo {
	text-decoration: none;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.site-logo__title {
	font-family: var(--font-display);
	font-size: clamp(1.35rem, 3vw, 1.75rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.site-logo__tagline {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--gold);
	font-weight: 600;
}

.site-nav a {
	color: rgba(248, 246, 242, 0.82);
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 600;
	padding: 8px 14px;
	border-radius: 999px;
	transition: background 0.2s, color 0.2s;
}

.site-nav a:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.site-main {
	flex: 1;
	padding: 40px 0 64px;
}

.page-intro {
	margin-bottom: 36px;
}

.page-intro h1 {
	font-family: var(--font-display);
	font-size: clamp(2rem, 5vw, 2.75rem);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.15;
	margin-bottom: 8px;
}

.page-intro p {
	color: var(--muted);
	font-size: 1.05rem;
	max-width: 520px;
}

.post-featured {
	display: block;
	text-decoration: none;
	background: var(--card);
	border-radius: calc(var(--radius) + 4px);
	overflow: hidden;
	box-shadow: var(--shadow);
	border: 1px solid var(--line);
	margin-bottom: 32px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-featured:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-hover);
}

.post-featured__visual {
	height: 220px;
	background:
		linear-gradient(135deg, rgba(196, 92, 62, 0.9), rgba(42, 36, 56, 0.95)),
		url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	display: flex;
	align-items: flex-end;
	padding: 28px;
}

.post-featured__badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	padding: 6px 12px;
	border-radius: 999px;
	margin-bottom: 12px;
}

.post-featured__body {
	padding: 28px 32px 32px;
}

.post-featured__title {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 4vw, 2.1rem);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--ink);
	margin-bottom: 12px;
}

.post-featured__excerpt {
	color: var(--ink-soft);
	font-size: 1.05rem;
	line-height: 1.6;
}

.post-grid {
	display: grid;
	gap: 20px;
}

.post-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px 26px;
	box-shadow: 0 8px 30px rgba(20, 18, 26, 0.04);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}

.post-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
	border-color: rgba(196, 92, 62, 0.2);
}

.post-card__link {
	text-decoration: none;
	display: block;
}

.post-card__title {
	font-family: var(--font-display);
	font-size: 1.28rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.02em;
	margin-bottom: 10px;
	transition: color 0.2s;
}

.post-card:hover .post-card__title {
	color: var(--accent);
}

.post-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--muted);
	font-size: 0.86rem;
	font-weight: 600;
}

.post-meta__dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--gold);
}

.post-card__excerpt {
	margin-top: 12px;
	color: var(--ink-soft);
	font-size: 0.98rem;
}

.read-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 16px;
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--accent);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.read-more svg {
	width: 16px;
	height: 16px;
	transition: transform 0.2s;
}

.post-card:hover .read-more svg {
	transform: translateX(4px);
}

.empty-state {
	text-align: center;
	padding: 80px 24px;
	background: var(--card);
	border-radius: var(--radius);
	border: 1px dashed var(--line);
}

.empty-state__icon {
	font-size: 3rem;
	margin-bottom: 16px;
	opacity: 0.35;
}

.empty-state h2 {
	font-family: var(--font-display);
	font-size: 1.5rem;
	margin-bottom: 8px;
}

.empty-state p {
	color: var(--muted);
}

.article-wrap {
	max-width: 760px;
	margin: 0 auto;
}

.article-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: calc(var(--radius) + 4px);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.article-hero {
	padding: 48px 40px 32px;
	background: linear-gradient(180deg, var(--paper-2) 0%, var(--card) 100%);
	border-bottom: 1px solid var(--line);
}

.article-hero h1 {
	font-family: var(--font-display);
	font-size: clamp(1.85rem, 5vw, 2.65rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.03em;
	margin: 16px 0 0;
}

.article-lead {
	margin-top: 20px;
	font-size: 1.15rem;
	color: var(--ink-soft);
	font-style: italic;
	line-height: 1.7;
	border-left: 3px solid var(--accent);
	padding-left: 18px;
}

.article-content {
	padding: 36px 40px 44px;
	font-size: 1.08rem;
	color: var(--ink-soft);
}

.article-content p {
	margin-bottom: 1.25em;
}

.article-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 28px;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.92rem;
	color: var(--accent);
	padding: 10px 0;
}

.article-back:hover {
	color: var(--accent-dark);
}

.site-footer {
	margin-top: auto;
	padding: 28px 0;
	border-top: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.5);
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	color: var(--muted);
	font-size: 0.88rem;
}

.pagination-wrap {
	margin-top: 40px;
	display: flex;
	justify-content: center;
}

@media (min-width: 720px) {
	.post-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.post-featured__visual {
		height: 280px;
	}
}

@media (max-width: 640px) {
	.site-header__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.article-hero,
	.article-content {
		padding-left: 24px;
		padding-right: 24px;
	}

	.post-featured__body {
		padding: 22px;
	}
}
