/*
Theme Name: Rosin Bloom
Theme URI: https://www.stringsprout.com
Author: Marcus Chen
Author URI: https://www.stringsprout.com
Description: A calm, botanical theme with soft sage tones, tinted panels and serif headings, built for beginner music education blogs and learning-resource sites.
Version: 1.8.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rosin-bloom
Tags: blog, education, custom-logo, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. Roots, reset, base
   ========================================================================== */

:root {
	--feat-ratio: 16 / 9;
	--cream: #faf8f0;
	--cream-deep: #f1ecdd;
	--paper: #fffdf8;
	--sage: #7a916c;
	--sage-deep: #57704b;
	--sage-ink: #42563a;
	--sage-tint: #edf2e2;
	--sage-line: #dbe3cc;
	--bark: #7c6247;
	--bark-deep: #5c4934;
	--ink: #3b382d;
	--ink-soft: #726d5e;
	--bend: 10px;
	--bend-lg: 12px;
	--ring: 0 0 0 3px rgba(122, 145, 108, 0.32);
	--serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font: 400 1rem/1.7 var(--sans);
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--serif);
	font-weight: 600;
	line-height: 1.25;
	color: var(--bark-deep);
	margin: 0 0 0.5em;
}

p {
	margin: 0 0 1.15em;
}

a {
	color: var(--sage-deep);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

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

figure {
	margin: 0;
}

button,
input,
textarea,
select {
	font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--sage-deep);
	outline-offset: 2px;
}

/* Screen-reader only text (core class + theme alias). */
.screen-reader-text,
.vine-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ==========================================================================
   2. Layout shell
   ========================================================================== */

.vine-shell {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.vine-shell-inner {
	width: min(72rem, 100% - 2.5rem);
	margin-inline: auto;
}

.vine-main {
	flex: 1 0 auto;
}

.vine-columns {
	display: grid;
	gap: 2.5rem;
	margin: 2rem 0 3.5rem;
}

@media (min-width: 62em) {
	.vine-columns {
		grid-template-columns: minmax(0, 1fr) 18rem;
		align-items: start;
	}
}

/* ==========================================================================
   3. Header (frosted trellis)
   ========================================================================== */

.trellis-head {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(250, 248, 240, 0.85);
	-webkit-backdrop-filter: blur(12px) saturate(1.3);
	backdrop-filter: blur(12px) saturate(1.3);
	border-bottom: 1px solid var(--sage-line);
	transition: box-shadow 0.25s ease;
}

.trellis-head.is-stuck {
	box-shadow: 0 6px 24px -18px rgba(59, 56, 45, 0.45);
}

.trellis-inner {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.6rem;
	padding: 0.7rem 0;
}

.site-brand {
	margin-right: auto;
	min-width: 0;
	order: 1;
}

.brand-name {
	font-family: var(--serif);
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--bark-deep);
}

.brand-name:hover {
	color: var(--sage-deep);
	text-decoration: none;
}

.custom-logo-link {
	display: inline-block;
}

.custom-logo-link img {
	display: block;
	max-height: 44px;
	width: auto;
}

/* Hamburger */
.vine-toggle {
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	border: 1px solid var(--sage-line);
	background: var(--paper);
	display: grid;
	place-items: center;
	cursor: pointer;
	padding: 0;
	order: 3;
}

.vine-toggle:hover {
	background: var(--sage-tint);
}

.vine-toggle-bars {
	display: grid;
	gap: 4px;
}

.vine-toggle-bars span {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--sage-deep);
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.2s ease;
}

.vine-toggle.is-open .vine-toggle-bars span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.vine-toggle.is-open .vine-toggle-bars span:nth-child(2) {
	opacity: 0;
}

.vine-toggle.is-open .vine-toggle-bars span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* Primary navigation — mobile first: collapsible panel */
.vine-nav {
	flex-basis: 100%;
	display: none;
	padding: 0.4rem 0 0.9rem;
	order: 4;
}

.vine-nav.is-open {
	display: block;
}

.vine-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.vine-list .menu-item {
	position: relative;
}

.vine-list a {
	display: block;
	padding: 0.55rem 0.35rem;
	color: var(--ink);
	font-weight: 500;
}

.vine-list a:hover {
	color: var(--sage-deep);
}

.vine-list .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0 0 0.4rem 1.1rem;
	display: none;
}

.vine-list .menu-item.is-open > .sub-menu {
	display: block;
}

.vine-list .sub-menu a {
	font-weight: 400;
	font-size: 0.95rem;
	color: var(--ink-soft);
}

.vine-list .current-menu-item > a,
.vine-list .current_page_item > a {
	color: var(--sage-deep);
	font-weight: 700;
}

.twig-btn {
	position: absolute;
	top: 0.3rem;
	right: 0;
	width: 2rem;
	height: 2rem;
	border: 1px solid var(--sage-line);
	background: var(--paper);
	border-radius: var(--bend);
	color: var(--sage-deep);
	display: grid;
	place-items: center;
	cursor: pointer;
	padding: 0;
}

.twig-btn svg {
	transition: transform 0.2s ease;
}

.vine-list .menu-item.is-open > .twig-btn svg {
	transform: rotate(180deg);
}

/* Search entry — icon + inline dropdown */
.seek-wrap {
	position: relative;
	order: 2;
}

.seek-toggle {
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	border: 1px solid var(--sage-line);
	background: var(--paper);
	color: var(--sage-deep);
	display: grid;
	place-items: center;
	cursor: pointer;
	padding: 0;
}

.seek-toggle:hover,
.seek-toggle[aria-expanded="true"] {
	background: var(--sage-tint);
}

.seek-panel {
	position: absolute;
	right: 0;
	top: calc(100% + 0.55rem);
	width: min(21rem, 90vw);
	background: var(--paper);
	border: 1px solid var(--sage-line);
	border-radius: var(--bend-lg);
	padding: 0.8rem;
	box-shadow: 0 24px 50px -28px rgba(59, 56, 45, 0.45);
	z-index: 70;
}

/* Search form (shared: header panel, sidebar, 404, search page) */
.seek-form {
	display: flex;
	gap: 0.5rem;
}

.seek-field {
	flex: 1 1 auto;
	min-width: 0;
	border: 1px solid var(--sage-line);
	border-radius: var(--bend);
	background: var(--cream);
	color: var(--ink);
	padding: 0.55rem 0.85rem;
}

.seek-field:focus {
	outline: none;
	border-color: var(--sage);
	box-shadow: var(--ring);
}

.seek-submit {
	border: none;
	border-radius: var(--bend);
	background: var(--sage-deep);
	color: #fffdf8;
	font-weight: 600;
	padding: 0.55rem 1.05rem;
	cursor: pointer;
}

.seek-submit:hover {
	background: var(--sage-ink);
}

/* Desktop navigation: two-row header — brand row above, full-width nav row below */
@media (min-width: 62em) {
	.vine-toggle {
		display: none;
	}

	.vine-nav {
		display: block;
		order: 3;
		flex-basis: 100%;
		margin-top: 0.1rem;
		padding: 0.55rem 0 0.1rem;
		border-top: 1px solid var(--sage-line);
	}

	.vine-list {
		display: flex;
		align-items: center;
		gap: 0.15rem;
	}

	.vine-list a {
		padding: 0.5rem 0.65rem;
		border-radius: var(--bend);
		white-space: nowrap;
	}

	.vine-list a:hover {
		background: var(--sage-tint);
		text-decoration: none;
	}

	.vine-list .menu-item-has-children > a::after {
		content: "";
		display: inline-block;
		margin-left: 0.4rem;
		border: solid var(--sage-deep);
		border-width: 0 1.5px 1.5px 0;
		padding: 2.5px;
		transform: rotate(45deg) translateY(-2px);
	}

	.vine-list .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 14rem;
		background: var(--paper);
		border: 1px solid var(--sage-line);
		border-radius: var(--bend-lg);
		padding: 0.45rem;
		display: block;
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
		box-shadow: 0 18px 40px -24px rgba(59, 56, 45, 0.4);
		z-index: 65;
	}

	.vine-list .menu-item-has-children:hover > .sub-menu,
	.vine-list .menu-item-has-children:focus-within > .sub-menu,
	.vine-list .menu-item-has-children.is-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.vine-list .menu-item:last-child > .sub-menu {
		left: auto;
		right: 0;
	}

	.vine-list .sub-menu a {
		padding: 0.45rem 0.65rem;
		border-radius: 8px;
		font-size: 0.92rem;
		white-space: normal;
	}

	.twig-btn {
		display: none;
	}
}

/* ==========================================================================
   4. Breadcrumb trail
   ========================================================================== */

.trail-band {
	background: var(--cream-deep);
	border-bottom: 1px solid var(--sage-line);
}

.trail-crumbs {
	padding: 0.55rem 0;
}

.crumb-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	font-size: 0.85rem;
	color: var(--ink-soft);
}

.crumb {
	display: flex;
	align-items: center;
}

.crumb + .crumb::before {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	border-top: 1.5px solid var(--sage);
	border-right: 1.5px solid var(--sage);
	transform: rotate(45deg);
	margin-right: 0.35rem;
}

.crumb-link {
	color: var(--sage-deep);
}

.crumb.is-here {
	color: var(--ink-soft);
}

/* ==========================================================================
   5. Homepage hero (text only)
   ========================================================================== */

.grove-hero {
	margin: 2.5rem 0 0;
	padding: 3.25rem 1.75rem;
	text-align: center;
	background-color: var(--sage-tint);
	border: 1px solid var(--sage-line);
	border-radius: var(--bend-lg);
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%2357704b' stroke-opacity='.16' stroke-width='2'%3E%3Cpath d='M70 125C35 95 30 50 70 15c40 35 35 80 0 110Z'/%3E%3Cpath d='M70 115V25M70 55l18-14M70 75l-20-16M70 95l18-14'/%3E%3C/g%3E%3C/svg%3E"),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%2357704b' stroke-opacity='.12' stroke-width='2'%3E%3Cpath d='M70 125C35 95 30 50 70 15c40 35 35 80 0 110Z'/%3E%3Cpath d='M70 115V25M70 55l18-14M70 75l-20-16M70 95l18-14'/%3E%3C/g%3E%3C/svg%3E");
	background-repeat: no-repeat, no-repeat;
	background-position: right -1.5rem top -1.5rem, left -1.5rem bottom -1.5rem;
	background-size: 9rem, 9rem;
}

.hero-title {
	font-size: clamp(2rem, 5vw, 3rem);
	margin-bottom: 0.35em;
}

.hero-lede {
	max-width: 44rem;
	margin: 0 auto 1.4rem;
	color: var(--ink-soft);
	font-size: 1.1rem;
}

.hero-cta {
	display: inline-block;
	background: var(--sage-deep);
	color: #fffdf8;
	font-weight: 600;
	padding: 0.72rem 1.5rem;
	border-radius: var(--bend);
}

.hero-cta:hover {
	background: var(--sage-ink);
	text-decoration: none;
}

.feed-title {
	margin: 2rem 0 0;
	font-size: 1.4rem;
}

/* ==========================================================================
   6. Post stream — horizontal thumbnail + text rows
   ========================================================================== */

.vine-feed {
	display: grid;
	gap: 1.25rem;
	align-content: start;
}

.stem-row {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	background: var(--sage-tint);
	border: 1px solid var(--sage-line);
	border-radius: var(--bend-lg);
	padding: 1rem;
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.stem-row:hover {
	border-color: var(--sage);
	transform: translateY(-2px);
}

.stem-row.sticky {
	box-shadow: inset 3px 0 0 var(--sage);
}

@media (min-width: 40em) {
	.stem-row {
		flex-direction: row;
		align-items: stretch;
	}
}

.row-thumb {
	display: block;
	flex: 0 0 auto;
	aspect-ratio: var(--feat-ratio);
	background: var(--cream-deep);
	border-radius: var(--bend);
}

@media (min-width: 40em) {
	.row-thumb {
		flex-basis: 14rem;
		align-self: center;
	}
}

.row-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--bend);
}

.row-body {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	min-width: 0;
	flex: 1 1 auto;
}

.row-terms {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
}

.row-terms a {
	color: var(--bark);
}

.row-title {
	font-size: 1.32rem;
	margin: 0;
}

.row-title a {
	color: var(--bark-deep);
}

.row-title a:hover {
	color: var(--sage-deep);
	text-decoration: none;
}

.row-meta {
	margin: 0;
	font-size: 0.85rem;
	color: var(--ink-soft);
}

.row-meta a {
	color: inherit;
	font-weight: 600;
}

.row-excerpt {
	margin: 0.15rem 0 0.4rem;
	color: var(--ink-soft);
}

.row-more {
	margin-top: auto;
	font-weight: 600;
	color: var(--sage-deep);
}

.none-found {
	background: var(--paper);
	border: 1px dashed var(--sage-line);
	border-radius: var(--bend-lg);
	padding: 2rem 1.5rem;
	text-align: center;
}

.none-title {
	font-size: 1.4rem;
}

.none-text {
	color: var(--ink-soft);
}

.none-found .seek-form {
	max-width: 26rem;
	margin: 0 auto;
}

/* ==========================================================================
   7. Sidebar (grove)
   ========================================================================== */

.grove-side {
	display: grid;
	gap: 1.25rem;
	align-content: start;
}

.side-sprig {
	background: var(--paper);
	border: 1px solid var(--sage-line);
	border-radius: var(--bend-lg);
	padding: 1.1rem 1.15rem;
}

.sprig-title {
	font-size: 1.05rem;
	margin: 0 0 0.65rem;
	padding-bottom: 0.45rem;
	border-bottom: 2px solid var(--sage-tint);
}

.side-sprig ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.4rem;
}

.side-sprig ul ul {
	padding-left: 1rem;
	margin-top: 0.4rem;
}

.side-sprig li a {
	color: var(--ink);
}

.side-sprig li a:hover {
	color: var(--sage-deep);
}

.side-sprig .post-date,
.side-sprig .rss-date {
	display: block;
	font-size: 0.78rem;
	color: var(--ink-soft);
}

.side-sprig select {
	width: 100%;
	border: 1px solid var(--sage-line);
	border-radius: var(--bend);
	background: var(--cream);
	padding: 0.5rem 0.6rem;
}

.side-sprig .wp-calendar-table {
	width: 100%;
	font-size: 0.85rem;
}

.side-sprig .seek-form {
	flex-direction: column;
}

.side-sprig .seek-submit {
	align-self: flex-start;
}

/* ==========================================================================
   8. Single post — TOC rail + score article
   ========================================================================== */

.score-wrap {
	display: grid;
	gap: 2rem;
	margin: 2.25rem 0;
}

@media (min-width: 62em) {
	.score-wrap.has-map {
		grid-template-columns: 15rem minmax(0, 1fr);
		align-items: start;
	}
}

.toc-card {
	background: var(--sage-tint);
	border: 1px solid var(--sage-line);
	border-radius: var(--bend-lg);
	padding: 1rem 1.1rem;
}

@media (min-width: 62em) {
	.toc-rail {
		position: sticky;
		top: 5.5rem;
	}
}

.toc-title {
	margin: 0 0 0.55rem;
	font-family: var(--serif);
	font-weight: 600;
	color: var(--bark-deep);
	font-size: 1.02rem;
}

.toc-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.1rem;
}

.toc-link {
	display: block;
	padding: 0.3rem 0.5rem;
	border-radius: 8px;
	font-size: 0.9rem;
	color: var(--ink);
}

.toc-link:hover {
	background: rgba(255, 253, 248, 0.75);
	color: var(--sage-ink);
	text-decoration: none;
}

.toc-item.level-3 .toc-link {
	padding-left: 1.4rem;
	font-size: 0.85rem;
	color: var(--ink-soft);
}

.score-article {
	max-width: 46rem;
}

.score-head {
	margin-bottom: 1.1rem;
}

.score-terms {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 0.5rem;
}

.score-terms a {
	display: inline-block;
	background: var(--sage-tint);
	border-radius: var(--bend);
	padding: 0.22rem 0.75rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sage-ink);
}

.score-terms a:hover {
	background: var(--sage-line);
	text-decoration: none;
}

.score-title {
	font-size: clamp(1.9rem, 4vw, 2.6rem);
	margin: 0.35rem 0 0.5rem;
}

.score-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-size: 0.9rem;
	color: var(--ink-soft);
}

.score-meta a {
	color: var(--sage-deep);
	font-weight: 600;
}

.score-figure {
	margin: 0 0 1.6rem;
	aspect-ratio: var(--feat-ratio);
	background: var(--cream-deep);
	border-radius: var(--bend-lg);
}

.score-figure img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--bend-lg);
}

/* ==========================================================================
   9. Prose (single + page bodies)
   ========================================================================== */

.score-body,
.leaf-body {
	font-size: 1.05rem;
}

.score-body h2,
.leaf-body h2 {
	font-size: 1.6rem;
	margin: 1.8em 0 0.6em;
	scroll-margin-top: 5rem;
}

.score-body h3,
.leaf-body h3 {
	font-size: 1.3rem;
	margin: 1.6em 0 0.5em;
	scroll-margin-top: 5rem;
}

.score-body h4,
.leaf-body h4 {
	font-size: 1.12rem;
	margin: 1.4em 0 0.5em;
}

.score-body a,
.leaf-body a {
	color: var(--sage-deep);
	text-decoration: underline;
	text-decoration-color: var(--sage-line);
	text-underline-offset: 2px;
}

.score-body a:hover,
.leaf-body a:hover {
	text-decoration-color: var(--sage-deep);
}

.score-body ul,
.score-body ol,
.leaf-body ul,
.leaf-body ol {
	margin: 0 0 1.15em;
	padding-left: 1.4rem;
}

.score-body li,
.leaf-body li {
	margin-bottom: 0.35em;
}

.score-body blockquote,
.leaf-body blockquote {
	margin: 0 0 1.4em;
	padding: 1rem 1.25rem;
	background: var(--sage-tint);
	border-left: 3px solid var(--sage);
	border-radius: 0 var(--bend) var(--bend) 0;
	font-family: var(--serif);
	color: var(--bark-deep);
}

.score-body blockquote p:last-child,
.leaf-body blockquote p:last-child {
	margin-bottom: 0;
}

.score-body code,
.leaf-body code {
	background: var(--cream-deep);
	border-radius: 6px;
	padding: 0.1em 0.4em;
	font-size: 0.9em;
}

.score-body pre,
.leaf-body pre {
	background: var(--cream-deep);
	border-radius: var(--bend);
	padding: 1rem 1.2rem;
	overflow-x: auto;
	font-size: 0.9rem;
}

.score-body img,
.leaf-body img {
	border-radius: var(--bend);
}

.score-body figcaption,
.leaf-body figcaption {
	font-size: 0.85rem;
	color: var(--ink-soft);
	margin-top: 0.4rem;
}

.score-body table,
.leaf-body table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.4em;
	font-size: 0.95rem;
}

.score-body th,
.score-body td,
.leaf-body th,
.leaf-body td {
	border: 1px solid var(--sage-line);
	padding: 0.5rem 0.7rem;
	text-align: left;
}

.score-body th,
.leaf-body th {
	background: var(--sage-tint);
	font-family: var(--serif);
}

.alignleft {
	float: left;
	margin: 0.3rem 1.25rem 1rem 0;
	max-width: 50%;
}

.alignright {
	float: right;
	margin: 0.3rem 0 1rem 1.25rem;
	max-width: 50%;
}

.aligncenter {
	display: block;
	margin: 0 auto 1rem;
}

.score-pages {
	margin: 1.5rem 0 0;
	display: flex;
	gap: 0.4rem;
	font-weight: 600;
}

/* Quiet per-article note (from the wpc_article_note option) */
.margin-note {
	margin: 0 0 1.6rem;
	padding-left: 0.9rem;
	border-left: 2px solid var(--sage-line);
	font-size: 0.9rem;
	font-style: italic;
	color: var(--bark);
}

/* Tag trail */
.tag-trail {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1.9rem;
	padding: 0;
}

.tag-trail a {
	display: block;
	background: var(--sage-tint);
	border-radius: var(--bend);
	padding: 0.3rem 0.85rem;
	font-size: 0.85rem;
	color: var(--sage-ink);
}

.tag-trail a:hover {
	background: var(--sage-line);
	text-decoration: none;
}

/* Author bio */
.bio-block {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	background: var(--paper);
	border: 1px solid var(--sage-line);
	border-radius: var(--bend-lg);
	padding: 1.25rem;
	margin: 0 0 2rem;
}

.bio-avatar {
	flex: 0 0 auto;
}

.bio-avatar img {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: 50%;
}

.bio-kicker {
	display: block;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bark);
}

.bio-name {
	font-family: var(--serif);
	font-size: 1.18rem;
	font-weight: 600;
	color: var(--bark-deep);
	margin: 0.1rem 0 0.35rem;
}

.bio-note {
	margin: 0;
	font-size: 0.95rem;
	color: var(--ink-soft);
}

/* ==========================================================================
   10. Related posts (kinship)
   ========================================================================== */

.kinship-block {
	margin: 0 0 2.75rem;
}

.kin-title {
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.kin-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
}

.kin-card {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	background: var(--sage-tint);
	border: 1px solid var(--sage-line);
	border-radius: var(--bend-lg);
	padding: 0.85rem;
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.kin-card:hover {
	transform: translateY(-2px);
	border-color: var(--sage);
}

.kin-thumb {
	display: block;
	aspect-ratio: var(--feat-ratio);
	background: var(--cream-deep);
	border-radius: var(--bend);
}

.kin-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--bend);
}

.kin-name {
	font-size: 1.06rem;
	margin: 0;
	line-height: 1.35;
}

.kin-name a {
	color: var(--bark-deep);
}

.kin-name a:hover {
	color: var(--sage-deep);
	text-decoration: none;
}

.kin-date {
	margin: auto 0 0;
	font-size: 0.8rem;
	color: var(--ink-soft);
}

/* ==========================================================================
   11. Comments (echoes) + form (murmur)
   ========================================================================== */

.echo-area {
	margin: 0 0 3.25rem;
	background: var(--paper);
	border: 1px solid var(--sage-line);
	border-radius: var(--bend-lg);
	padding: 1.5rem;
}

.echo-heading {
	font-size: 1.4rem;
	margin-bottom: 0.25rem;
}

.echo-heading span {
	color: var(--sage-deep);
}

.echo-list {
	list-style: none;
	margin: 1.1rem 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}

.echo-list .children {
	list-style: none;
	margin: 1rem 0 0;
	padding-left: 1.1rem;
	border-left: 2px solid var(--sage-tint);
	display: grid;
	gap: 1rem;
}

.echo-card {
	background: var(--cream);
	border: 1px solid var(--cream-deep);
	border-radius: var(--bend-lg);
	padding: 1rem 1.1rem;
}

.echo-list .bypostauthor > .echo-card {
	border-color: var(--sage);
}

.echo-top {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.55rem;
}

.echo-avatar img {
	display: block;
	width: 44px;
	height: 44px;
	border-radius: 50%;
}

.echo-name {
	font-weight: 700;
	color: var(--bark-deep);
}

.echo-name a {
	color: var(--bark-deep);
}

.echo-when {
	display: block;
	font-size: 0.8rem;
	color: var(--ink-soft);
}

.echo-pending {
	margin: 0 0 0.5rem;
	font-size: 0.85rem;
	font-style: italic;
	color: var(--bark);
}

.echo-text p {
	margin: 0 0 0.8em;
}

.echo-text p:last-child {
	margin-bottom: 0;
}

.echo-reply a {
	display: inline-block;
	margin-top: 0.6rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--sage-deep);
}

.echo-steps {
	display: flex;
	gap: 0.4rem;
	margin: 1rem 0;
}

.echo-closed {
	font-size: 0.9rem;
	color: var(--ink-soft);
	font-style: italic;
}

.murmur-wrap {
	margin-top: 1.6rem;
}

.murmur-title {
	font-size: 1.25rem;
	margin-bottom: 0.6rem;
}

.murmur-form .comment-notes,
.murmur-form .logged-in-as {
	font-size: 0.9rem;
	color: var(--ink-soft);
}

.murmur-row {
	margin: 0 0 0.9rem;
	display: grid;
	gap: 0.3rem;
}

.murmur-label {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--bark-deep);
}

.murmur-input,
.murmur-textarea {
	width: 100%;
	border: 1px solid var(--sage-line);
	border-radius: var(--bend);
	background: var(--cream);
	color: var(--ink);
	padding: 0.6rem 0.85rem;
}

.murmur-input:focus,
.murmur-textarea:focus {
	outline: none;
	border-color: var(--sage);
	box-shadow: var(--ring);
}

.murmur-textarea {
	resize: vertical;
}

.murmur-form .comment-form-cookies-consent {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	margin: 0 0 1rem;
}

.murmur-form .comment-form-cookies-consent label {
	margin: 0;
	font-weight: 400;
	color: var(--ink-soft);
}

.murmur-submit-row {
	margin: 0;
}

.murmur-submit {
	border: none;
	border-radius: var(--bend);
	background: var(--sage-deep);
	color: #fffdf8;
	font-weight: 600;
	padding: 0.7rem 1.6rem;
	cursor: pointer;
}

.murmur-submit:hover {
	background: var(--sage-ink);
}

/* Comment reply form rendered inside the list */
.echo-list .murmur-wrap {
	background: var(--paper);
	border: 1px solid var(--sage-line);
	border-radius: var(--bend-lg);
	padding: 1.1rem;
}

/* ==========================================================================
   12. Static page (leaf) + archive heads + search + 404
   ========================================================================== */

.leaf-page {
	width: 100%;
	margin: 2rem 0 3rem;
}

.leaf-head {
	margin-bottom: 1.1rem;
}

.leaf-title {
	font-size: clamp(2rem, 4vw, 2.75rem);
	margin: 0;
}

.leaf-figure {
	margin: 0 0 1.6rem;
	aspect-ratio: var(--feat-ratio);
	background: var(--cream-deep);
	border-radius: var(--bend-lg);
}

.leaf-figure img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--bend-lg);
}

.leaf-body {
	max-width: 46rem;
}

.term-head {
	margin: 2rem 0 1.5rem;
}

.term-kicker {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bark);
}

.term-title {
	font-size: clamp(1.8rem, 4vw, 2.4rem);
	margin: 0.2rem 0 0.5rem;
}

.term-intro {
	max-width: 46rem;
	color: var(--ink-soft);
}

.term-intro p {
	margin: 0.25rem 0;
}

.search-again {
	max-width: 30rem;
	margin: -0.5rem 0 1.5rem;
}

.hollow-block {
	max-width: 40rem;
	margin: 4rem auto 5rem;
	text-align: center;
}

.hollow-code {
	font-family: var(--serif);
	font-size: clamp(4rem, 12vw, 6rem);
	line-height: 1;
	color: var(--sage);
	margin: 0 0 0.5rem;
}

.hollow-title {
	font-size: 1.8rem;
}

.hollow-text {
	color: var(--ink-soft);
}

.hollow-block .seek-form {
	max-width: 26rem;
	margin: 1.25rem auto 0;
}

.hollow-home {
	display: inline-block;
	margin-top: 1rem;
	font-weight: 600;
}

/* ==========================================================================
   13. Pagination (page steps)
   ========================================================================== */

.page-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 2rem 0 0;
}

.page-steps .page-numbers,
.echo-steps .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 2.4rem;
	height: 2.4rem;
	padding: 0 0.65rem;
	border: 1px solid var(--sage-line);
	border-radius: var(--bend);
	background: var(--paper);
	color: var(--sage-deep);
	font-weight: 600;
	font-size: 0.92rem;
}

.page-steps .page-numbers:hover,
.echo-steps .page-numbers:hover {
	background: var(--sage-tint);
	text-decoration: none;
}

.page-steps .page-numbers.current,
.echo-steps .page-numbers.current {
	background: var(--sage-deep);
	border-color: var(--sage-deep);
	color: #fffdf8;
}

.page-steps .page-numbers.dots,
.echo-steps .page-numbers.dots {
	border: none;
	background: none;
	color: var(--ink-soft);
}

/* ==========================================================================
   14. Footer (roots)
   ========================================================================== */

.root-footer {
	margin-top: auto;
	background-color: #414c36;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23e6ead9' stroke-opacity='.07' stroke-width='2'%3E%3Cpath d='M70 125C35 95 30 50 70 15c40 35 35 80 0 110Z'/%3E%3Cpath d='M70 115V25M70 55l18-14M70 75l-20-16M70 95l18-14'/%3E%3C/g%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right -1.5rem top -1.5rem;
	background-size: 10rem;
	color: #e6ead9;
	padding: 3rem 0 1.5rem;
}

.root-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem 2.75rem;
}

.root-brand {
	flex: 1 1 14rem;
	min-width: 12rem;
}

.root-brand .brand-name {
	color: #f4f2e6;
	font-size: 1.4rem;
}

.root-brand .brand-name:hover {
	color: #ffffff;
}

.root-brand .custom-logo-link img {
	max-height: 48px;
}

.root-col {
	flex: 1 1 9.5rem;
	min-width: 9rem;
}

.root-heading {
	font-family: var(--sans);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #aebb98;
	margin: 0 0 0.8rem;
}

.root-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.45rem;
}

.root-links a {
	color: #dfe5d2;
	font-size: 0.95rem;
}

.root-links a:hover {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.root-base {
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(230, 234, 217, 0.18);
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 1.5rem;
}

.colophon-line {
	margin: 0;
	font-size: 0.85rem;
	color: #c9d2b8;
}

.foot-note {
	margin: 0;
	font-size: 0.85rem;
	color: #aebba0;
	flex: 1 1 24rem;
}

/* ==========================================================================
   15. Misc
   ========================================================================== */

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

	*,
	*::before,
	*::after {
		transition: none !important;
	}
}

@media (max-width: 39.99em) {
	.bio-block {
		flex-direction: column;
	}

	.alignleft,
	.alignright {
		float: none;
		max-width: 100%;
		margin: 0 0 1rem;
	}
}
