/* =========================================================================
   biguy — Blissaura mood
   pink frame · white surface · black accents · serif display + Pretendard
   ========================================================================= */

/* ---------- 1. Design tokens --------------------------------------------- */
:root {
	--frame:     #F2A9C2;   /* pink frame border */
	--bg:        #FFFFFF;   /* main surface */
	--surface:   #FFFFFF;
	--surface-2: #FBF6F8;   /* very pale pink-white */
	--text:      #1A1A1A;
	--muted:     #7A7A7A;
	--primary:   #1A1A1A;   /* black for buttons + heavy text */
	--accent:    #E89BB0;   /* pink sparkle / badge accent */
	--accent-soft: #FBE3EC; /* blush */
	--secondary: #FBE3EC;
	--border:    rgba(26,26,26,0.10);
	--shadow:    0 8px 40px rgba(231,155,176,0.18);

	/* Display serif (logo word, big titles) */
	--font-display: 'Fraunces', 'DM Serif Display', 'Gowun Batang', 'Apple SD Gothic Neo', serif;
	/* General serif (subheadings, body emphasis) */
	--font-serif:   'Gowun Batang', 'Fraunces', 'Nanum Myeongjo', serif;
	/* Body sans */
	--font-sans:    'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', sans-serif;

	--container: 1200px;
	--content:   720px;
	--frame-pad: clamp(0px, 2.4vw, 36px);

	--radius-sm: 6px;
	--radius-md: 14px;
	--radius-lg: 22px;

	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html.is-dark,
body.is-dark-default {
	--frame:       #2A1820;
	--bg:          #131013;
	--surface:     #1B1518;
	--surface-2:   #221A1E;
	--text:        #F5EAEE;
	--muted:       #B6A4AB;
	--primary:     #F5EAEE;
	--accent:      #F0AAC0;
	--accent-soft: #2A1A21;
	--secondary:   #2A1A21;
	--border:      rgba(245,234,238,0.10);
	--shadow:      0 8px 40px rgba(0,0,0,0.5);
}

/* ---------- 2. Reset & base ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--frame);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.7;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	letter-spacing: -0.005em;
	transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
body.no-frame { background: var(--bg); }

/* The whole site sits inside a white card with a pink frame around it. */
.page-frame {
	background: var(--bg);
	margin: var(--frame-pad);
	border-radius: clamp(0px, 1.6vw, 24px);
	overflow: hidden;
	min-height: calc(100vh - var(--frame-pad) * 2);
	transition: background 0.4s var(--ease), margin 0.3s var(--ease);
}
body.no-frame .page-frame { margin: 0; border-radius: 0; }

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

a {
	color: var(--text);
	text-decoration: none;
	transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-serif);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.015em;
	margin: 0 0 0.6em;
	color: var(--text);
}
h1 em, h2 em, h3 em { font-family: var(--font-display); font-style: italic; font-weight: 400; }

p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; }
hr {
	border: 0;
	border-top: 1px solid var(--border);
	margin: 3rem auto;
	max-width: 80px;
}

blockquote {
	margin: 2rem 0;
	padding: 0.4rem 0 0.4rem 1.4rem;
	border-left: 2px solid var(--accent);
	font-family: var(--font-serif);
	font-size: 1.1rem;
	color: var(--muted);
}

code, pre {
	font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
	font-size: 0.92em;
}
code { background: var(--accent-soft); padding: 0.12em 0.4em; border-radius: var(--radius-sm); }
pre {
	background: var(--surface-2);
	border: 1px solid var(--border);
	padding: 1.2rem;
	border-radius: var(--radius-md);
	overflow-x: auto;
}

::selection { background: var(--accent); color: #fff; }

.screen-reader-text {
	position: absolute !important; clip: rect(1px, 1px, 1px, 1px);
	width: 1px; height: 1px; overflow: hidden; word-wrap: normal !important;
}
.skip-link {
	position: absolute; top: -40px; left: 16px; padding: 0.6rem 1rem;
	background: var(--text); color: var(--bg); z-index: 999;
	border-radius: var(--radius-sm);
}
.skip-link:focus { top: 16px; }

.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow {
	font-family: var(--font-serif);
	font-style: italic;
	font-size: 1rem;
	color: var(--text);
	letter-spacing: 0;
	margin: 0 0 0.6rem;
}

/* ---------- 3. Sparkle (4-point star) ----------------------------------- */
.sparkle {
	display: inline-block;
	width: 22px;
	height: 22px;
	color: var(--accent);
	flex-shrink: 0;
	vertical-align: middle;
}
.sparkle--accent  { color: var(--accent); }
.sparkle--dark    { color: var(--text); }
.sparkle--outline { color: var(--accent-soft); }
.sparkle--xs { width: 14px; height: 14px; }
.sparkle--sm { width: 18px; height: 18px; }
.sparkle--lg { width: 32px; height: 32px; }

/* ---------- 4. Layout containers ----------------------------------------- */
.site-main > section,
.site-main > article {
	max-width: var(--container);
	margin: 0 auto;
	padding: 5rem 1.5rem;
}
.site-main > article.single,
.site-main > article.page { max-width: var(--content); }
.site-main > .hero-blissa,
.site-main > .marquee { max-width: none; padding: 0; margin: 0; }

/* ---------- 5. Header ---------------------------------------------------- */
.site-header {
	position: relative;
	background: var(--bg);
	border-bottom: 1px solid var(--border);
}
.site-header__inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 1.4rem 1.8rem;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 2rem;
}

.site-branding .site-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.7rem;
	font-weight: 400;
	letter-spacing: -0.02em;
	font-style: italic;
}
.site-branding .site-title a { color: var(--text); }
.site-branding img.custom-logo { max-height: 44px; width: auto; }

.site-nav { display: flex; align-items: center; justify-content: center; gap: 1.6rem; }
.site-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 2.4rem;
}
.site-nav__list a {
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--text);
	position: relative;
}
.site-nav__list a::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: -8px;
	height: 1.5px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s var(--ease);
}
.site-nav__list a:hover::after,
.site-nav__list .current-menu-item a::after { transform: scaleX(1); }

.site-header__cta {
	display: flex; align-items: center; gap: 0.8rem;
	justify-self: end;
}

.theme-toggle {
	background: transparent;
	border: 1px solid var(--border);
	border-radius: 999px;
	width: 38px; height: 38px;
	display: inline-flex; align-items: center; justify-content: center;
	cursor: pointer;
	color: var(--text);
	font-size: 0.95rem;
	transition: border-color 0.2s var(--ease);
}
.theme-toggle:hover { border-color: var(--accent); }
.theme-toggle__sun { display: none; }
.theme-toggle__moon { display: inline; }
html.is-dark .theme-toggle__sun, body.is-dark-default .theme-toggle__sun { display: inline; }
html.is-dark .theme-toggle__moon, body.is-dark-default .theme-toggle__moon { display: none; }

.menu-toggle {
	display: none;
	background: transparent;
	border: 0;
	width: 32px; height: 32px;
	flex-direction: column; justify-content: center; gap: 5px;
	cursor: pointer; padding: 0;
}
.menu-toggle span {
	display: block; height: 1.5px; background: var(--text);
	transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
	.site-header__inner {
		grid-template-columns: auto 1fr auto;
		padding: 1rem 1.2rem;
	}
	.site-nav {
		position: fixed;
		inset: 64px 0 0 0;
		background: var(--bg);
		flex-direction: column;
		padding: 3rem 2rem;
		gap: 2rem;
		transform: translateX(100%);
		transition: transform 0.3s var(--ease);
		align-items: flex-start;
		z-index: 60;
	}
	.site-nav.is-open { transform: translateX(0); }
	.site-nav__list {
		flex-direction: column;
		gap: 1.6rem;
	}
	.site-nav__list a { font-size: 1rem; letter-spacing: 0.2em; }
	.menu-toggle { display: flex; order: 2; }
	.site-header__cta { gap: 0.4rem; }
	.btn-pill--dark { padding: 0.6rem 1.1rem; font-size: 0.78rem; }
}

/* ---------- 6. Buttons --------------------------------------------------- */
.btn-pill {
	display: inline-flex; align-items: center; justify-content: center;
	gap: 0.5em;
	padding: 0.85rem 1.7rem;
	border-radius: 999px;
	font-family: inherit;
	font-weight: 500;
	font-size: 0.9rem;
	letter-spacing: 0.01em;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.btn-pill--dark {
	background: var(--primary);
	color: var(--bg) !important;
}
.btn-pill--dark:hover {
	background: var(--accent);
	color: #fff !important;
	transform: translateY(-1px);
}
.btn-pill--lg {
	padding: 1rem 2.1rem;
	font-size: 0.95rem;
}
.btn-pill--outline {
	background: transparent;
	border-color: var(--text);
	color: var(--text) !important;
}
.btn-pill--outline:hover {
	background: var(--primary);
	color: var(--bg) !important;
}

.btn-primary { /* legacy alias used in comments form */
	display: inline-block;
	padding: 0.9rem 1.8rem;
	background: var(--primary);
	color: var(--bg) !important;
	border: 0;
	border-radius: 999px;
	font-weight: 500;
	font-size: 0.92rem;
	cursor: pointer;
	transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }

.btn-outline { /* legacy alias used in 404 etc */
	display: inline-block;
	padding: 0.85rem 1.8rem;
	border: 1.5px solid var(--text);
	border-radius: 999px;
	font-weight: 500;
	color: var(--text);
}
.btn-outline:hover { background: var(--primary); color: var(--bg); }

/* ---------- 7. Hero (Blissaura) ----------------------------------------- */
.hero-blissa {
	position: relative;
	overflow: hidden;
	padding: 3.5rem 1.5rem 2rem;
}
.hero-blissa__inner {
	max-width: var(--container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 3rem;
	align-items: center;
	min-height: 620px;
}
@media (max-width: 900px) {
	.hero-blissa__inner { grid-template-columns: 1fr; gap: 3rem; min-height: 0; }
	.hero-blissa { padding: 2rem 1.2rem; }
}

/* LEFT column */
.hero-blissa__left {
	position: relative;
	z-index: 1;
	padding-left: clamp(0px, 2vw, 1.5rem);
}
.hero-blissa__logoword {
	position: relative;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(3.4rem, 9vw, 7rem);
	line-height: 1;
	margin: 0 0 1.6rem;
	letter-spacing: -0.04em;
	color: var(--text);
}
.logoword__sparkle {
	position: absolute;
	top: 0.05em; right: -0.1em;
	display: inline-block;
}
.logoword__sparkle .sparkle { width: 28px; height: 28px; }
@media (max-width: 600px) {
	.logoword__sparkle .sparkle { width: 22px; height: 22px; }
}

.hero-blissa__sub {
	max-width: 360px;
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.7;
	margin: 0 0 2rem;
}

/* stat block */
.hero-blissa__stat {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	margin: 3rem 0 0;
	padding: 0.4rem 0;
}
.hero-blissa__stat .sparkle--stat { width: 24px; height: 24px; }
.stat__value {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(2.4rem, 4vw, 3.4rem);
	line-height: 1;
	margin-bottom: 0.2rem;
	color: var(--text);
}
.stat__label {
	font-size: 0.8rem;
	color: var(--muted);
	line-height: 1.5;
}

/* circular badge */
.hero-blissa__badge {
	position: relative;
	width: 220px; height: 220px;
	margin-top: 1.5rem;
	display: flex; align-items: center; justify-content: center;
}
.badge__glow {
	position: absolute;
	inset: -30px;
	background: radial-gradient(closest-side, var(--accent) 0%, rgba(232,155,176,0.55) 35%, rgba(232,155,176,0) 70%);
	filter: blur(28px);
	opacity: 0.55;
	z-index: 0;
	pointer-events: none;
	border-radius: 50%;
}
.badge__svg {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	animation: badge-spin 28s linear infinite;
	z-index: 1;
}
.badge__curve {
	font-family: var(--font-serif);
	font-size: 12px;
	letter-spacing: 0.16em;
	fill: var(--text);
	text-transform: none;
}
.badge__sparkle {
	position: absolute;
	z-index: 2;
	color: var(--text);
	transform: translateY(-30px);
}
.badge__sparkle .sparkle { width: 18px; height: 18px; }
.badge__word {
	position: relative;
	z-index: 2;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(1.9rem, 2.6vw, 2.4rem);
	color: var(--text);
	transform: translateY(14px);
}
@keyframes badge-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
	.badge__svg { animation: none; }
}

/* RIGHT column — blob image */
.hero-blissa__right {
	position: relative;
	min-height: 540px;
	display: flex; align-items: center; justify-content: center;
}
@media (max-width: 900px) {
	.hero-blissa__right { min-height: 460px; order: -1; }
	.hero-blissa__badge { margin: 1rem auto 0; }
}

.blob {
	position: relative;
	width: 92%; max-width: 480px; aspect-ratio: 5/6;
	background: var(--accent-soft);
	overflow: hidden;
	/* organic blob using border-radius corners */
	border-radius: 62% 38% 70% 30% / 50% 60% 40% 50%;
	box-shadow: var(--shadow);
	animation: blob-morph 14s ease-in-out infinite alternate;
}
.blob img {
	width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.blob__placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--font-display); font-style: italic;
	font-size: 1.6rem; color: var(--muted);
	background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent) 100%);
}
@keyframes blob-morph {
	0%   { border-radius: 62% 38% 70% 30% / 50% 60% 40% 50%; }
	50%  { border-radius: 56% 44% 60% 40% / 56% 50% 50% 44%; }
	100% { border-radius: 64% 36% 56% 44% / 46% 64% 36% 54%; }
}
@media (prefers-reduced-motion: reduce) {
	.blob { animation: none; }
}

/* deco sparkles around blob */
.hero-blissa__deco { position: absolute; }
.hero-blissa__deco--1 { top: 18%; right: -2%; }
.hero-blissa__deco--1 .sparkle { width: 28px; height: 28px; }
.hero-blissa__deco--2 { bottom: 28%; right: 2%; }
.hero-blissa__deco--2 .sparkle { width: 36px; height: 36px; opacity: 0.8; }
.hero-blissa__deco--3 { bottom: 8%; right: 12%; }
.hero-blissa__deco--3 .sparkle { width: 16px; height: 16px; }

/* ---------- 8. Marquee --------------------------------------------------- */
.marquee {
	background: var(--primary);
	color: var(--bg);
	overflow: hidden;
	padding: 1.4rem 0;
	margin: 1rem 0 0 !important;
}
.marquee__track {
	display: inline-flex;
	gap: 2rem;
	white-space: nowrap;
	animation: marquee-scroll 38s linear infinite;
	will-change: transform;
}
.marquee__item {
	font-family: var(--font-display);
	font-style: italic;
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	font-weight: 400;
}
.marquee__sep { display: inline-flex; align-items: center; color: var(--accent); }
.marquee__sep .sparkle { width: 18px; height: 18px; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.marquee__track { animation: none; }
}

/* ---------- 9. Latest section ------------------------------------------- */
.latest__header,
.archive__header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 3.5rem;
}
.latest__title,
.archive__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(2.2rem, 4vw, 3.2rem);
	margin-bottom: 0.6rem;
	letter-spacing: -0.02em;
}
.latest__title em { font-style: italic; }
.latest__sub,
.archive__sub {
	color: var(--muted);
	font-size: 1rem;
	margin: 0;
}

.latest__more { text-align: center; margin-top: 3rem; }

/* ---------- 10. Card grid ----------------------------------------------- */
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 2.6rem 2rem;
}
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .card-grid--3 { grid-template-columns: 1fr; } }

.card { margin: 0; }
.card__link { display: block; color: var(--text); }
.card__link:hover .card__title { color: var(--accent); }
.card__link:hover .card__thumb img { transform: scale(1.04); }

.card__thumb {
	overflow: hidden;
	border-radius: 50% 42% 52% 48% / 46% 54% 46% 54%;
	background: var(--accent-soft);
	aspect-ratio: 4 / 5;
	margin-bottom: 1.2rem;
	transition: border-radius 0.6s var(--ease);
}
.card__link:hover .card__thumb { border-radius: 44% 56% 48% 52% / 54% 46% 54% 46%; }
.card__thumb img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform 0.6s var(--ease);
}
.card__thumb--placeholder {
	display: flex; align-items: center; justify-content: center;
	font-family: var(--font-display); font-style: italic;
	color: var(--muted); font-size: 1.2rem;
}

.card__cat {
	display: inline-block;
	font-size: 0.72rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 0.6rem;
	font-weight: 600;
}
.card__title {
	font-family: var(--font-serif);
	font-size: 1.3rem;
	line-height: 1.35;
	margin: 0 0 0.6rem;
	transition: color 0.2s var(--ease);
}
.card__excerpt {
	color: var(--muted);
	font-size: 0.92rem;
	margin: 0 0 0.8rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.card__date {
	font-size: 0.78rem;
	color: var(--muted);
	letter-spacing: 0.05em;
}

/* ---------- 11. Single post --------------------------------------------- */
.single { padding-top: 4rem !important; padding-bottom: 4rem !important; }

.single__header { text-align: center; margin-bottom: 2.5rem; }
.single__cat {
	display: inline-block;
	font-size: 0.74rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 1.2rem;
	font-weight: 600;
}
.single__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(2rem, 4.5vw, 3.2rem);
	line-height: 1.18;
	letter-spacing: -0.02em;
	margin: 0 0 1.2rem;
}
.single__meta {
	color: var(--muted);
	font-size: 0.85rem;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	flex-wrap: wrap;
	justify-content: center;
}
.single__meta .dot { color: var(--border); }

.single__thumb {
	margin: 0 -1.5rem 3rem;
	border-radius: 0;
	overflow: hidden;
}
@media (min-width: 720px) {
	.single__thumb { margin: 0 0 3rem; border-radius: var(--radius-lg); }
}
.single__thumb img { width: 100%; max-height: 70vh; object-fit: cover; }
.single__thumb figcaption {
	text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 0.6rem;
}

.entry-content {
	font-size: 1.05rem;
	line-height: 1.85;
}
.entry-content > * + * { margin-top: 1.4rem; }
.entry-content h2 { margin-top: 2.6rem; font-size: 1.7rem; font-family: var(--font-display); }
.entry-content h3 { margin-top: 2rem; font-size: 1.35rem; font-family: var(--font-serif); }
.entry-content img,
.entry-content figure { border-radius: var(--radius-md); margin: 2rem auto; }
.entry-content a {
	color: var(--accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.entry-content ul li::marker,
.entry-content ol li::marker { color: var(--accent); }

.single__tags {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--border);
	font-size: 0.9rem; color: var(--muted);
}
.single__tags a { color: var(--muted); margin-right: 0.5rem; }
.single__tags a::before { content: '#'; opacity: 0.6; }

/* social share */
.biguy-share {
	margin-top: 2.5rem;
	display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; justify-content: center;
}
.biguy-share__label {
	font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase;
	color: var(--muted); margin-right: 0.4rem;
}
.biguy-share__btn {
	display: inline-flex;
	padding: 0.55rem 1rem;
	border: 1px solid var(--border);
	border-radius: 999px;
	font-size: 0.82rem;
	color: var(--text);
	background: transparent;
	cursor: pointer;
	transition: all 0.2s var(--ease);
}
.biguy-share__btn:hover { background: var(--primary); color: var(--bg); border-color: var(--primary); }

/* author bio */
.author-bio {
	margin-top: 3.5rem;
	padding: 2rem;
	background: var(--surface-2);
	border-radius: var(--radius-md);
	display: flex; gap: 1.4rem; align-items: center;
	border: 1px solid var(--border);
}
.author-bio__avatar img { border-radius: 999px; }
.author-bio__name { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; margin: 0 0 0.3rem; font-weight: 400; }
.author-bio__desc { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.6; }

/* related */
.related { margin-top: 5rem; padding-top: 4rem; border-top: 1px solid var(--border); }
.related__title {
	text-align: center;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.7rem;
	margin-bottom: 2.5rem;
}

/* prev/next */
.single__nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-top: 4rem;
	padding-top: 2.5rem;
	border-top: 1px solid var(--border);
}
.single__nav a {
	display: flex; flex-direction: column; gap: 0.4rem;
	padding: 1.2rem;
	border-radius: var(--radius-md);
	transition: background 0.2s var(--ease);
}
.single__nav a:hover { background: var(--accent-soft); }
.single__nav-next { text-align: right; }
.single__nav-label { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.12em; }
.single__nav-title { font-family: var(--font-serif); font-size: 1rem; }

@media (max-width: 600px) {
	.single__nav { grid-template-columns: 1fr; }
	.single__nav-next { text-align: left; }
}

/* ---------- 12. Comments ------------------------------------------------ */
.comments { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--border); }
.comments__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.5rem;
	margin-bottom: 2rem;
}
.comments__list { list-style: none; padding: 0; margin: 0 0 3rem; }
.comments__list .comment { padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.comments__list .comment:last-child { border-bottom: 0; }
.comments__list .children { list-style: none; padding-left: 1.5rem; margin-top: 1rem; border-left: 2px solid var(--border); }

.comment-form {
	display: grid; gap: 1rem;
	background: var(--surface-2);
	padding: 2rem;
	border-radius: var(--radius-md);
	border: 1px solid var(--border);
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.contact-form input,
.contact-form textarea,
.search-form__input {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid var(--border);
	background: var(--bg);
	color: var(--text);
	border-radius: var(--radius-sm);
	font-family: inherit;
	font-size: 0.95rem;
	transition: border-color 0.2s var(--ease);
}
.comment-form input:focus,
.comment-form textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.search-form__input:focus {
	outline: none; border-color: var(--accent);
}

/* ---------- 13. About / Contact pages ----------------------------------- */
.about__intro {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 4rem;
	align-items: center;
}
@media (max-width: 800px) { .about__intro { grid-template-columns: 1fr; gap: 2.5rem; } }
.about__photo img {
	border-radius: 58% 42% 60% 40% / 50% 56% 44% 50%;
	aspect-ratio: 4 / 5; object-fit: cover; width: 100%;
}
.about__eyebrow,
.contact__eyebrow {
	font-family: var(--font-serif);
	font-style: italic;
	font-size: 1rem;
	color: var(--accent);
	margin-bottom: 0.8rem;
}
.about__title,
.contact__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(2rem, 4vw, 3rem);
	margin-bottom: 1.5rem;
	letter-spacing: -0.02em;
}
.about__content { color: var(--muted); font-size: 1.02rem; line-height: 1.85; }
.about__content p { color: var(--text); }

.contact { max-width: var(--content) !important; }
.contact__header { text-align: center; margin-bottom: 3rem; }
.contact__intro { color: var(--muted); }

.contact-form { display: grid; gap: 1.2rem; }
.field { display: grid; gap: 0.5rem; }
.field__label { font-size: 0.85rem; color: var(--muted); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.field--honey { display: none; }

.alert {
	padding: 1rem 1.4rem;
	border-radius: var(--radius-md);
	margin-bottom: 1.5rem;
	font-size: 0.93rem;
}
.alert--success { background: var(--accent-soft); color: var(--accent); }
.alert--warn { background: rgba(200,140,40,0.10); color: #c88c28; }
.alert--error { background: rgba(180,60,60,0.08); color: #b43c3c; }

/* ---------- 14. Search form --------------------------------------------- */
.search-form { display: flex; gap: 0.6rem; max-width: 480px; margin: 0 auto; }
.search-form__input { flex: 1; }
.search-form__btn {
	display: inline-block;
	padding: 0.85rem 1.6rem;
	background: var(--primary);
	color: var(--bg) !important;
	border: 0;
	border-radius: 999px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s var(--ease);
}
.search-form__btn:hover { background: var(--accent); }
.archive__searchform { margin-top: 2rem; }

/* ---------- 15. Pagination ---------------------------------------------- */
.navigation.pagination { margin-top: 4rem; display: flex; justify-content: center; }
.navigation.pagination .nav-links { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.navigation.pagination .page-numbers {
	display: inline-flex;
	min-width: 40px; height: 40px;
	padding: 0 0.8rem;
	align-items: center; justify-content: center;
	border: 1px solid var(--border);
	border-radius: 999px;
	font-size: 0.88rem; color: var(--text);
	transition: all 0.2s var(--ease);
}
.navigation.pagination .page-numbers:hover,
.navigation.pagination .page-numbers.current {
	background: var(--primary);
	border-color: var(--primary);
	color: var(--bg);
}

/* ---------- 16. 404 ----------------------------------------------------- */
.error-404 {
	text-align: center;
	padding: 6rem 1.5rem !important;
}
.error-404__code {
	font-family: var(--font-display); font-style: italic;
	font-weight: 400;
	font-size: clamp(5rem, 12vw, 9rem);
	line-height: 1;
	color: var(--accent);
	margin: 0 0 1rem;
}
.error-404__title {
	font-family: var(--font-display); font-weight: 400;
	font-size: 1.8rem;
	margin: 0 0 0.8rem;
}
.error-404__desc { color: var(--muted); margin-bottom: 2rem; }
.error-404__search { margin-bottom: 2rem; }

/* ---------- 17. Footer -------------------------------------------------- */
.site-footer {
	margin-top: 6rem;
	padding: 4rem 1.5rem 2.5rem;
	border-top: 1px solid var(--border);
	background: var(--surface-2);
}
.site-footer__inner { max-width: var(--container); margin: 0 auto; }
.site-footer__widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}
.site-footer__meta {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
	gap: 1.5rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--border);
	margin-bottom: 1.5rem;
}
.site-footer__name {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 400;
	font-size: 1.5rem;
}
.site-footer__desc { color: var(--muted); font-size: 0.9rem; margin: 0.4rem 0 0; }
.site-footer__nav-list,
.site-footer__social-list {
	list-style: none; margin: 0; padding: 0;
	display: flex; gap: 1.6rem;
}
.site-footer__nav-list a,
.site-footer__social-list a {
	font-size: 0.78rem; color: var(--muted);
	letter-spacing: 0.18em; text-transform: uppercase;
}
.site-footer__copy {
	margin: 0; font-size: 0.78rem; color: var(--muted);
	letter-spacing: 0.08em; text-align: center;
}

.widget-title {
	font-family: var(--font-display);
	font-weight: 400; font-style: italic;
	font-size: 1.1rem; margin: 0 0 1rem;
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 0.4rem 0; }
.widget ul li a { color: var(--muted); font-size: 0.9rem; }
.widget ul li a:hover { color: var(--accent); }

/* ---------- 18. Reduced motion ------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
