/*
 * Indcus — main stylesheet
 * Warm "craft studio" editorial look: paper background, terracotta thread,
 * stitched dividers and washi-tape labels.
 */

/* ---------- Tokens ---------- */
:root {
	--paper: #fbf7f1;
	--paper-2: #f4ece1;
	--card: #fffdf9;
	--ink: #231c17;
	--ink-2: #5c5048;
	--ink-3: #85776c;
	--clay: #b4462a;
	--clay-dark: #8f3520;
	--clay-soft: #f6ddd3;
	--sage: #56704f;
	--sage-soft: #e3ead9;
	--mustard: #e3a93c;
	--mustard-soft: #f8e7bf;
	--line: #e6dacb;

	--font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
	--font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--radius: 18px;
	--radius-sm: 10px;
	--shadow: 0 1px 0 rgba(35, 28, 23, .04), 0 10px 30px -18px rgba(35, 28, 23, .35);
	--shadow-lift: 0 2px 0 rgba(35, 28, 23, .05), 0 22px 40px -22px rgba(35, 28, 23, .45);

	--container: 1200px;
	--narrow: 760px;
	--gutter: clamp(16px, 4vw, 32px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a { color: var(--clay); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--clay-dark); }

:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.01em;
	color: var(--ink);
	margin: 0 0 .5em;
	font-variation-settings: "SOFT" 50, "WONK" 0;
}

p { margin: 0 0 1.1em; }

.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;
}

.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0;
	top: 12px; left: 12px; z-index: 1000;
	padding: 12px 18px;
	background: var(--ink); color: #fff;
	border-radius: var(--radius-sm);
	text-decoration: none;
}

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }

.site-main { display: block; outline: none; padding-bottom: clamp(48px, 7vw, 96px); }

.icon { flex: none; }

/* Stitched divider */
.stitch {
	height: 0;
	border-top: 2px dashed var(--clay);
	opacity: .55;
	margin: 0 var(--gutter);
}

/* Washi tape label (category) */
.tape {
	position: relative;
	display: inline-block;
	padding: 3px 12px 4px;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	color: #5a3d0a;
	background: repeating-linear-gradient(-45deg, rgba(227, 169, 60, .55) 0 6px, rgba(227, 169, 60, .4) 6px 12px);
	transform: rotate(-1.5deg);
	clip-path: polygon(2% 0, 98% 4%, 100% 50%, 98% 96%, 2% 100%, 0 50%);
	transition: transform .2s var(--ease);
}
.tape:hover { color: #3d2905; transform: rotate(0deg); }

/* Buttons */
.btn,
.comment-form .submit {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	min-height: 48px;
	padding: 12px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--clay);
	color: #fff;
	font: 600 1rem/1 var(--font-body);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover,
a:hover .btn,
.comment-form .submit:hover { background: var(--clay-dark); color: #fff; }
.btn .icon { transition: transform .2s var(--ease); }
a:hover .btn .icon { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(251, 247, 241, .92);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header__bar {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 76px;
}

.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand__img { height: 46px; width: auto; }
.brand--footer .brand__img { height: 52px; }

.primary-nav { margin-left: auto; }
.primary-menu,
.primary-menu ul { list-style: none; margin: 0; padding: 0; }
.primary-menu { display: flex; gap: 4px; align-items: center; }
.primary-menu > li { position: relative; }
.primary-menu .menu-link {
	display: block;
	padding: 10px 14px;
	color: var(--ink);
	font-weight: 600;
	font-size: .95rem;
	text-decoration: none;
	border-radius: 999px;
	transition: background-color .2s var(--ease), color .2s var(--ease);
}
.primary-menu .menu-link:hover,
.primary-menu .current-menu-item > .menu-link { background: var(--clay-soft); color: var(--clay-dark); }

.primary-menu .sub-menu {
	position: absolute;
	top: 100%; left: 0;
	min-width: 220px;
	padding: 8px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-lift);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.site-header__tools { display: flex; gap: 6px; }
.primary-nav + .site-header__tools { margin-left: 0; }

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px; height: 44px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	transition: background-color .2s var(--ease);
}
.icon-btn:hover { background: var(--paper-2); }

.menu-toggle { display: none; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline; }

.header-area { padding: 16px 0; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.header-area .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.area-widget { max-width: 100%; min-width: min(100%, 320px); text-align: center; }
.area-widget ins.adsbygoogle { display: block; }
.footer-area { padding: 8px 0 28px; }
.footer-area .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; color: #c9bcae; }
.header-search { border-top: 1px solid var(--line); padding: 16px 0; background: var(--paper); }
.header-search .search-form { max-width: 640px; margin-inline: auto; }


@media (max-width: 900px) {
	.menu-toggle { display: inline-grid; }
	.site-header__tools { margin-left: auto; }
	.primary-nav {
		position: absolute;
		top: 100%; left: 0; right: 0;
		margin: 0;
		padding: 8px var(--gutter) 20px;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-lift);
		display: none;
	}
	.primary-nav.is-open { display: block; }
	.primary-menu { flex-direction: column; align-items: stretch; }
	.primary-menu .menu-link { padding: 14px 12px; border-radius: var(--radius-sm); }
	.primary-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; background: none; }
}

/* ---------- Search form ---------- */
.search-form { position: relative; display: flex; }
.search-form__input {
	width: 100%;
	min-height: 52px;
	padding: 12px 56px 12px 20px;
	border: 2px solid var(--line);
	border-radius: 999px;
	background: var(--card);
	color: var(--ink);
	font: inherit;
	transition: border-color .2s var(--ease);
}
.search-form__input:focus { outline: none; border-color: var(--clay); }
.search-form__btn {
	position: absolute;
	right: 4px; top: 50%;
	transform: translateY(-50%);
	display: grid; place-items: center;
	width: 44px; height: 44px;
	border: 0; border-radius: 999px;
	background: var(--clay); color: #fff;
	cursor: pointer;
}
.search-form__btn:hover { background: var(--clay-dark); }

/* ---------- Intro / page heads ---------- */
.intro {
	position: relative;
	padding: clamp(48px, 8vw, 104px) 0 clamp(96px, 11vw, 150px);
	text-align: center;
	overflow: hidden;
}
.intro::before {
	/* thread loop doodle */
	content: "";
	position: absolute;
	inset: auto 50% 0 auto;
	width: 1400px; height: 150px;
	transform: translateX(50%);
	background: url("../images/thread.svg") center bottom / 100% 100% no-repeat;
	opacity: .6;
	pointer-events: none;
}
.intro__inner { position: relative; }
.intro__kicker,
.page-head__kicker,
.section-head__kicker,
.feature__kicker {
	display: inline-block;
	margin: 0 0 14px;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--sage);
}
.intro__title {
	max-width: 15ch;
	margin: 0 auto .35em;
	font-size: clamp(2.5rem, 6.5vw, 5rem);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -.025em;
}
.intro__lead { max-width: 52ch; margin: 0 auto; font-size: 1.15rem; color: var(--ink-2); }

.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); text-align: center; }
.page-head__title { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: .3em; }
.page-head__desc { max-width: 60ch; margin: 0 auto; color: var(--ink-2); }
.page-head__search { max-width: 520px; margin: 20px auto 0; }

.section-head { margin: clamp(40px, 6vw, 72px) 0 24px; }
.section-head--row { display: flex; align-items: center; gap: 20px; }
.section-head--row::after { content: ""; flex: 1; border-top: 2px dashed var(--line); }
.section-head__title { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* ---------- Thumbs ---------- */
.thumb { position: relative; display: block; overflow: hidden; background: var(--paper-2); }
.thumb__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.thumb__ph {
	position: absolute; inset: 0;
	display: grid; place-items: center;
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 600;
	color: rgba(35, 28, 23, .55);
	background-image: radial-gradient(rgba(35, 28, 23, .12) 1.2px, transparent 1.3px);
	background-size: 14px 14px;
}
.thumb__ph--0 { background-color: var(--clay-soft); }
.thumb__ph--1 { background-color: var(--sage-soft); }
.thumb__ph--2 { background-color: var(--mustard-soft); }
.thumb__ph--3 { background-color: #eadff2; }

/* ---------- Feature ---------- */
.feature {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
	padding: clamp(14px, 2vw, 20px);
	background: var(--card);
	border-radius: calc(var(--radius) + 6px);
	box-shadow: var(--shadow);
}
.feature > a { display: block; border-radius: var(--radius); overflow: hidden; }
.feature__media { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.feature > a:hover .thumb__img { transform: scale(1.03); }
.feature__body { padding: 12px clamp(8px, 2vw, 24px) 12px 0; }
.feature__title { font-size: clamp(1.8rem, 3.4vw, 2.75rem); line-height: 1.08; margin-bottom: .4em; }
.feature__title a { color: inherit; text-decoration: none; background: linear-gradient(var(--mustard-soft), var(--mustard-soft)) 0 88% / 0 .32em no-repeat; transition: background-size .35s var(--ease); }
.feature__title a:hover { background-size: 100% .32em; }
.feature__excerpt { color: var(--ink-2); font-size: 1.08rem; }
.feature .meta { margin-bottom: 22px; }
.feature__body > a { text-decoration: none; }

@media (max-width: 860px) {
	.feature { grid-template-columns: 1fr; }
	.feature__body { padding: 4px 8px 12px; }
}

/* ---------- Meta ---------- */
.meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
	margin: 0;
	font-size: .85rem;
	color: var(--ink-3);
}

/* ---------- Cards ---------- */
.card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 2.6vw, 32px);
	margin-top: clamp(24px, 4vw, 40px);
}
.section-head + .card-grid { margin-top: 0; }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
	display: flex;
	flex-direction: column;
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card:hover .thumb__img { transform: scale(1.04); }
.card > a { display: block; }
.card__media { aspect-ratio: 4 / 3; }
.card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: 1; padding: 18px 20px 20px; }
.card__title { margin: 0; font-size: 1.28rem; line-height: 1.22; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--clay); }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.card { position: relative; }
.card .tape { position: relative; z-index: 1; }
.card__excerpt {
	margin: 0;
	color: var(--ink-2);
	font-size: .95rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.card .meta { margin-top: auto; padding-top: 4px; }

@media (max-width: 1100px) { .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
	.card-grid,
	.card-grid--4 { grid-template-columns: 1fr; }
}

/* ---------- Pagination ---------- */
.pagination { margin-top: clamp(36px, 5vw, 56px); }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-width: 44px; height: 44px;
	padding: 0 14px;
	border-radius: 999px;
	background: var(--card);
	box-shadow: inset 0 0 0 1px var(--line);
	color: var(--ink);
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color .2s var(--ease), color .2s var(--ease);
}
.pagination a.page-numbers:hover { background: var(--clay-soft); color: var(--clay-dark); }
.pagination .current { background: var(--ink); color: #fff; box-shadow: none; }
.pagination .dots { background: none; box-shadow: none; }

/* ---------- Popular Topics ---------- */
.popular {
	position: relative;
	padding: clamp(48px, 7vw, 88px) 0;
	background: var(--paper-2);
	border-top: 1px solid var(--line);
}
.popular .section-head { margin: 0 0 clamp(24px, 3.5vw, 36px); text-align: center; }
.popular .section-head__title { font-size: clamp(1.9rem, 4vw, 2.8rem); }

.popular__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2.2vw, 28px);
	list-style: none;
	margin: 0;
	padding: 0;
}
.popular__grid.count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
.popular__grid.count-1 { grid-template-columns: minmax(0, 420px); justify-content: center; }

.pop-card > a {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	color: var(--ink);
	text-decoration: none;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pop-card > a:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow-lift); }
.pop-card > a:hover .thumb__img { transform: scale(1.05); }
.pop-card__media { aspect-ratio: 4 / 3; }
.pop-card__body { position: relative; display: flex; gap: 12px; align-items: flex-start; flex: 1; padding: 16px 18px 20px; }
.pop-card__num {
	flex: none;
	display: grid; place-items: center;
	width: 38px; height: 38px;
	margin-top: -36px;
	border-radius: 50%;
	background: var(--clay);
	color: #fff;
	font: 700 .85rem/1 var(--font-body);
	box-shadow: 0 0 0 4px var(--card);
	position: relative;
}
/* sewing-button holes */
.pop-card__num::before {
	content: "";
	position: absolute; inset: 5px;
	border: 1.5px dashed rgba(255, 255, 255, .55);
	border-radius: 50%;
}
.pop-card__title {
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.25;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.pop-card > a:hover .pop-card__title { color: var(--clay); }

@media (max-width: 1000px) { .popular__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
	.popular__grid,
	.popular__grid.count-2 { grid-template-columns: 1fr; }
	.pop-card > a { flex-direction: row; align-items: stretch; }
	.pop-card__media { aspect-ratio: auto; width: 38%; flex: none; min-height: 110px; }
	.pop-card__body { align-items: center; padding: 14px 16px; }
	.pop-card__num { margin-top: 0; width: 32px; height: 32px; box-shadow: none; }
}

/* Compact list (sidebar) */
.pop-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: pop; }
.pop-list__item a { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; color: var(--ink); text-decoration: none; }
.pop-list__media { width: 72px; height: 72px; border-radius: var(--radius-sm); }
.pop-list__media .thumb__ph { font-size: 1.6rem; }
.pop-list__title { font-family: var(--font-display); font-weight: 600; line-height: 1.25; font-size: 1rem; }
.pop-list__item a:hover .pop-list__title { color: var(--clay); }

/* ---------- Single ---------- */
.entry-head { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 3vw, 32px); text-align: center; }
.entry-head .tape { margin-bottom: 18px; }
.entry-title { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.06; letter-spacing: -.02em; margin-bottom: .4em; }
.entry-head .meta { justify-content: center; }
.entry-hero { margin: 0 auto clamp(32px, 5vw, 56px); }
.entry-hero__img { width: 100%; max-height: 640px; object-fit: cover; border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow); }

.entry-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.entry-main { min-width: 0; max-width: var(--narrow); }
@media (max-width: 1000px) {
	.entry-layout { grid-template-columns: 1fr; }
	.entry-main { margin-inline: auto; width: 100%; }
}

.entry-content { font-size: 1.125rem; line-height: 1.75; }
.entry-content > * { margin-top: 0; margin-bottom: 1.3em; }
.entry-content h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.8em; }
.entry-content h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-top: 1.6em; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption { margin-top: 8px; font-size: .85rem; color: var(--ink-3); text-align: center; }
.entry-content ul,
.entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--clay); font-weight: 700; }
.entry-content blockquote {
	margin-inline: 0;
	padding: 20px 24px;
	border-left: 4px solid var(--clay);
	background: var(--card);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-family: var(--font-display);
	font-size: 1.25rem;
}
.entry-content hr { border: 0; border-top: 2px dashed var(--line); margin: 2.5em 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.entry-content th,
.entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content pre { overflow: auto; padding: 16px; background: var(--ink); color: #f8efe4; border-radius: var(--radius-sm); }
.entry-content .alignwide { max-width: none; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.5em; }
.entry-content::after { content: ""; display: table; clear: both; }

.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 32px 0 0; padding: 0; }
.entry-tags a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--sage-soft); color: var(--sage); font-size: .85rem; font-weight: 600; text-decoration: none; }
.entry-tags a:hover { background: var(--sage); color: #fff; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; padding-top: 32px; border-top: 2px dashed var(--line); }
.post-nav > a { text-decoration: none; color: var(--ink); }
.post-nav__item { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 20px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s var(--ease); }
.post-nav > a:hover .post-nav__item { transform: translateY(-3px); }
.post-nav__item--next { text-align: right; }
.post-nav > a:only-child:last-child .post-nav__item--next { grid-column: 2; }
.post-nav__label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); }
.post-nav__title { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; line-height: 1.25; }
.post-nav > a:hover .post-nav__title { color: var(--clay); }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav__item--next { text-align: left; } }

/* ---------- Sidebar & widgets ---------- */
.sidebar__inner { position: sticky; top: 100px; display: grid; gap: 24px; }
.widget { padding: 22px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.widget-title { position: relative; margin-bottom: 16px; padding-bottom: 12px; font-size: 1.2rem; }
.widget-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; border-top: 2px dashed var(--clay); }
.widget ul { margin: 0; padding-left: 1.1em; }
.widget li { margin-bottom: 6px; }

/* ---------- Comments ---------- */
.comments { margin-top: 56px; }
.comments__title,
.comment-reply-title { font-size: 1.6rem; }
.comment-list { list-style: none; margin: 0 0 40px; padding: 0; }
.comment-list .children { list-style: none; padding-left: clamp(16px, 4vw, 40px); }
.comment-body { margin-bottom: 18px; padding: 18px 20px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.comment-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; margin-bottom: 8px; font-size: .9rem; }
.comment-author .avatar { float: left; margin-right: 12px; border-radius: 50%; }
.comment-metadata a { color: var(--ink-3); text-decoration: none; }
.comment-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 2px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--card);
	font: inherit;
	color: var(--ink);
}
.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--clay); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }

/* ---------- Empty / 404 ---------- */
.empty-state { padding: clamp(48px, 8vw, 96px) 0; text-align: center; }
.empty-state .search-form { max-width: 520px; margin: 24px auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #e9dfd3; padding-top: 0; }
.site-footer .stitch { border-color: var(--mustard); opacity: .8; margin: 0; transform: translateY(-1px); }
.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
	gap: 32px 48px;
	padding-top: clamp(40px, 6vw, 64px);
	padding-bottom: 32px;
}
.site-footer__widgets { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.site-footer .brand__img { filter: none; }
.site-footer__text { max-width: 42ch; margin-top: 16px; color: #c9bcae; }
.footer-menu { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 4px; list-style: none; margin: 0; padding: 0; }
.footer-menu .menu-link { display: inline-block; padding: 10px 14px; color: #f4ebe0; text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 999px; }
.footer-menu .menu-link:hover { background: rgba(255, 255, 255, .08); color: var(--mustard); }
.footer-widget__title { color: #fff; font-size: 1.1rem; }
.site-footer a { color: #f4ebe0; }
.site-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
	padding-top: 20px; padding-bottom: 28px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: .9rem;
	color: #b3a597;
}
.site-footer__bottom p { margin: 0; }
.to-top { color: #f4ebe0; text-decoration: none; font-weight: 600; }
.to-top:hover { color: var(--mustard); }
@media (max-width: 760px) {
	.site-footer__grid { grid-template-columns: 1fr; }
	.footer-menu { justify-content: flex-start; margin-left: -14px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
	.card:hover,
	.pop-card > a:hover { transform: none; }
}
