/* ==========================================================================
   Chikus Garden 2.0 — one stylesheet, mobile first.
   Motif: the seed packet. Growing cards and the "this month" card share a
   perforated top edge; everything else stays quiet so content and ads read cleanly.
   ========================================================================== */

@font-face {
	font-family: "Young Serif";
	src: url("../fonts/young-serif-latin.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--paper: #ffffff;
	--paper-2: #f5f8f1;
	--ink: #1f2a24;
	--stone: #59625c;
	--line: #e1e6de;
	--fir: #1e5b3c;
	--fir-dark: #15432c;
	--pea: #eef4e5;
	--pea-line: #c9d9b6;
	--sow: #7aa73c;
	--plant: #2f7d4f;
	--bloom: #b4457a;
	--harvest: #d4801a;
	--watch: #7aa73c;
	--treat: #c77700;
	--urgent: #b42318;
	--serif: "Young Serif", Georgia, "Times New Roman", serif;
	--sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--measure: 680px;
	--wrap: 1180px;
	--radius: 10px;
	--gutter: 16px;
}

@media (min-width: 700px) {
	:root { --gutter: 28px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}
@media (min-width: 1000px) { body { font-size: 1.125rem; } }

img, svg, video { max-width: 100%; height: auto; }
svg.icon { flex: none; }
a { color: var(--fir); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--fir-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--fir); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.005em; }
h3, h4 { font-family: var(--sans); font-weight: 700; }
p { margin: 0 0 1em; }
figure { margin: 0; }
abbr[title] { text-decoration: none; }

.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 {
	position: absolute; left: var(--gutter); top: -100px; z-index: 100;
	background: var(--fir); color: #fff; padding: .6rem 1rem; border-radius: 6px;
}
.skip-link:focus { top: .75rem; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.button, .search-form__button, .contact-form button, .comment-form input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 48px; padding: .7rem 1.25rem; border: 0; border-radius: 8px;
	background: var(--fir); color: #fff; font: 600 1rem/1.2 var(--sans);
	text-decoration: none; cursor: pointer;
}
.button:hover, .search-form__button:hover, .contact-form button:hover { background: var(--fir-dark); color: #fff; }
.button--quiet { background: var(--pea); color: var(--fir-dark); }
.button--quiet:hover { background: var(--pea-line); color: var(--fir-dark); }
.button--small { min-height: 40px; padding: .45rem .9rem; font-size: .9375rem; }

.chip {
	display: inline-flex; align-items: center; gap: .4rem; min-height: 40px;
	padding: .35rem .9rem; border: 1px solid var(--line); border-radius: 999px;
	background: var(--paper); color: var(--ink); font-size: .9375rem; text-decoration: none;
}
.chip span { color: var(--stone); font-size: .8125rem; }
.chip:hover { border-color: var(--fir); color: var(--fir-dark); }
.chip.is-current { background: var(--fir); border-color: var(--fir); color: #fff; }
.chip.is-current span { color: #d6e6d9; }
.chip--small { min-height: 36px; font-size: .875rem; }

.section-title { font-size: 1.5rem; margin: 0 0 1.25rem; }
@media (min-width: 700px) { .section-title { font-size: 1.75rem; } }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--fir); text-decoration: none; margin-right: auto; min-width: 0; }
.brand__name { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); white-space: nowrap; }
.brand:hover .brand__name { color: var(--fir-dark); }
.brand--logo img { max-height: 44px; width: auto; display: block; }
.site-header__tools { display: flex; align-items: center; gap: 4px; }
.icon-button {
	display: inline-grid; place-items: center; width: 44px; height: 44px;
	border: 0; border-radius: 8px; background: transparent; color: var(--ink); cursor: pointer;
}
.icon-button:hover, .icon-button[aria-expanded="true"] { background: var(--pea); color: var(--fir-dark); }
.header-cta { display: none; }

.nav { display: none; }
.nav.is-open {
	display: block; position: absolute; left: 0; right: 0; top: 100%;
	background: var(--paper); border-bottom: 1px solid var(--line);
	box-shadow: 0 12px 24px rgba(31, 42, 36, .08); padding: .5rem var(--gutter) 1rem;
}
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: .75rem 0; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.nav .sub-menu a { padding-left: 1rem; font-weight: 400; }
.nav a:hover, .nav .current-menu-item > a { color: var(--fir); }

@media (min-width: 900px) {
	.nav-toggle { display: none; }
	.header-cta { display: inline-flex; margin-right: 8px; }
	.nav, .nav.is-open { display: block; position: static; box-shadow: none; border: 0; padding: 0; margin-right: 8px; }
	.nav__list { display: flex; gap: 4px; }
	.nav__list > li { position: relative; }
	.nav a { border: 0; padding: .5rem .75rem; border-radius: 8px; font-size: .9875rem; }
	.nav a:hover { background: var(--pea); }
	.nav .sub-menu {
		position: absolute; left: 0; top: 100%; min-width: 220px; padding: .5rem;
		background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
		box-shadow: 0 12px 28px rgba(31, 42, 36, .1); visibility: hidden; opacity: 0;
	}
	.nav .sub-menu a { padding: .5rem .75rem; }
	.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { visibility: visible; opacity: 1; }
}

.site-search { border-top: 1px solid var(--line); background: var(--paper-2); padding: 1rem 0; }

/* ---------- Search form ---------- */
.search-form { display: flex; gap: 8px; width: 100%; max-width: 640px; }
.search-form__input {
	flex: 1; min-width: 0; min-height: 52px; padding: .75rem 1rem;
	border: 1.5px solid var(--pea-line); border-radius: 8px; background: #fff;
	color: var(--ink); font: inherit; font-size: 1.0625rem;
}
.search-form__input:focus { border-color: var(--fir); outline: 3px solid rgba(30, 91, 60, .18); outline-offset: 0; }
.search-form__button { min-height: 52px; }
.search-form__button span { display: none; }
@media (min-width: 500px) { .search-form__button span { display: inline; } }

/* ---------- Breadcrumbs ---------- */
.crumbs { margin: 1.25rem 0 .75rem; font-size: .875rem; color: var(--stone); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: .35rem; color: #a7b0a9; }
.crumbs a { color: var(--stone); text-decoration: none; }
.crumbs a:hover { color: var(--fir); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- Hero (home) ---------- */
.hero { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 2.25rem 0 2.5rem; }
.hero__inner { display: grid; gap: 2rem; }
.hero__title { font-size: clamp(2.25rem, 1.6rem + 3.2vw, 3.75rem); line-height: 1.04; max-width: 13ch; margin-bottom: 1rem; }
.hero__text { font-size: 1.125rem; color: var(--stone); max-width: 36rem; margin-bottom: 1.5rem; }
.hero__search { margin-bottom: 1rem; }
.hero__popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.hero__popular > span { color: var(--stone); font-size: .9375rem; margin-right: 4px; }
@media (min-width: 960px) {
	.hero { padding: 3.5rem 0 4rem; }
	.hero__inner { grid-template-columns: minmax(0, 1.25fr) minmax(320px, .9fr); align-items: start; gap: 4rem; }
}

/* ---------- Seed-packet motif (growing card + month card) ---------- */
.packet, .month {
	position: relative; background: var(--pea); border: 1.5px solid var(--pea-line);
	border-radius: 6px var(--radius) var(--radius) var(--radius); padding: 1.5rem 1.25rem 1.25rem;
}
.packet::before, .month::before {
	content: ""; position: absolute; left: 12px; right: 12px; top: 8px; height: 4px;
	background-image: radial-gradient(circle, var(--pea-line) 1.6px, transparent 2px);
	background-size: 10px 4px; background-repeat: repeat-x;
}
@media (min-width: 700px) { .packet, .month { padding: 1.75rem 1.75rem 1.5rem; } }

.month__title { font-size: 1.5rem; margin-bottom: 1rem; }
.month__task { padding: .75rem 0; border-top: 1px dashed var(--pea-line); }
.month__task h3 { font-size: .9375rem; color: var(--fir-dark); margin-bottom: .4rem; }
.month__task ul, .month__start { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.month__task a, .month__start a { font-weight: 600; }
.month__start { display: grid; gap: .5rem; }
.month__note, .packet__note { margin: .75rem 0 0; font-size: .8125rem; color: var(--stone); }
.month__lead { color: var(--stone); }

.packet { margin: 1.5rem 0; }
.packet__head { margin-bottom: 1rem; }
.packet__title { font-size: 1.375rem; margin-bottom: .25rem; }
.packet__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; color: var(--stone); font-size: .9375rem; }
.packet__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--pea-line); border: 1px solid var(--pea-line); border-radius: 8px; overflow: hidden; }
@media (min-width: 560px) { .packet__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.packet__fact { background: #fbfdf8; padding: .7rem .8rem; }
.packet__facts::after { content: ""; grid-column: auto / -1; background: #fbfdf8; margin-top: -1px; }
.packet__fact dt { display: flex; align-items: center; gap: .35rem; font-size: .8125rem; color: var(--stone); margin-bottom: .15rem; }
.packet__fact dt .icon { color: var(--fir); }
.packet__fact dd { margin: 0; font-weight: 650; font-size: 1rem; line-height: 1.35; }

.packet__cal { margin-top: 1.25rem; overflow-x: auto; }
.packet__cal table { width: 100%; min-width: 320px; border-collapse: separate; border-spacing: 2px 5px; table-layout: fixed; }
.packet__cal caption { text-align: left; font-weight: 700; font-size: .9375rem; margin-bottom: .25rem; }
.packet__cal thead th { font-size: .75rem; font-weight: 600; color: var(--stone); text-align: center; padding-bottom: 2px; }
.packet__cal thead td { width: 6.5rem; }
.packet__cal tbody th { text-align: left; font-size: .8125rem; font-weight: 600; white-space: nowrap; padding-right: .4rem; }
.packet__cal tbody td { height: 18px; background: #fff; border-radius: 3px; }
.packet__cal th.is-now { color: var(--ink); text-decoration: underline 2px var(--fir); text-underline-offset: 3px; }
.packet__cal td.is-now { box-shadow: inset 0 0 0 1.5px var(--fir); }
.cal--sow td.on { background: var(--sow); }
.cal--plant td.on { background: var(--plant); }
.cal--bloom td.on { background: var(--bloom); }
.cal--harvest td.on { background: var(--harvest); }

/* ---------- Guide layout ---------- */
.layout-guide { display: grid; gap: 3rem; padding-bottom: 3rem; }
.guide { min-width: 0; max-width: var(--measure); width: 100%; margin: 0 auto; }
@media (min-width: 1100px) {
	.layout-guide.has-rail { grid-template-columns: minmax(0, var(--measure)) 300px; justify-content: center; gap: 4rem; }
	.layout-guide.has-rail .guide { margin: 0; }
}
.rail { display: none; }
@media (min-width: 1100px) {
	.rail { display: block; padding-top: 4.5rem; }
	.rail__sticky { position: sticky; top: 1.5rem; }
}

.guide__head { margin-bottom: 1.25rem; }
.guide__title { font-size: clamp(2rem, 1.55rem + 2vw, 2.85rem); line-height: 1.08; margin-bottom: 1rem; }

.byline { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; font-size: .9375rem; color: var(--stone); }
.byline__item { display: inline-flex; align-items: center; gap: .5rem; }
.byline a { color: var(--ink); font-weight: 600; text-decoration: none; }
.byline a:hover { color: var(--fir); text-decoration: underline; }
.byline__review .icon { color: var(--fir); }
.byline__cred { color: var(--stone); }

.person-photo { border-radius: 50%; object-fit: cover; flex: none; background: var(--pea); }
.person-photo--initials { display: inline-grid; place-items: center; color: var(--fir-dark); font-weight: 700; font-size: .8125rem; border: 1px solid var(--pea-line); }

.answer { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--fir); background: var(--paper-2); border-radius: 0 8px 8px 0; }
.answer__label { margin: 0 0 .25rem; font-weight: 700; font-size: .9375rem; color: var(--fir-dark); }
.answer__text { margin: 0; font-size: 1.0625rem; }

.guide__image { margin: 1.5rem 0; }
.guide__image img { display: block; width: 100%; border-radius: var(--radius); }
.guide__image figcaption { font-size: .875rem; color: var(--stone); margin-top: .5rem; }

.diagnosis { margin: 1.5rem 0; padding: 1.25rem; border: 1.5px solid var(--line); border-radius: var(--radius); }
.diagnosis__grid { display: grid; gap: 1rem; margin: 0; }
@media (min-width: 560px) { .diagnosis__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.diagnosis dt { font-size: .8125rem; color: var(--stone); }
.diagnosis dd { margin: 0; font-weight: 650; display: flex; align-items: center; gap: .4rem; }
.diagnosis dd .icon { color: var(--fir); }
.diagnosis__plants { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.diagnosis__plants p { margin: 0 0 .5rem; font-size: .8125rem; color: var(--stone); }
.diagnosis__plants ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.diagnosis__plants li { padding: .2rem .7rem; background: var(--paper-2); border-radius: 999px; font-size: .9375rem; }

.sev { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; font-size: inherit; white-space: nowrap; }
.sev__dot { width: .65em; height: .65em; border-radius: 50%; background: var(--stone); }
.sev--watch .sev__dot { background: var(--watch); }
.sev--treat .sev__dot { background: var(--treat); }
.sev--urgent .sev__dot { background: var(--urgent); }

.toc { margin: 1.75rem 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.toc summary { padding: .85rem 1.1rem; font-weight: 700; cursor: pointer; list-style-position: inside; }
.toc ol { margin: 0; padding: 0 1.1rem 1rem 2.4rem; }
.toc li { padding: .2rem 0; }
.toc a { text-decoration: none; color: var(--ink); }
.toc a:hover { color: var(--fir); text-decoration: underline; }

/* ---------- Article body ---------- */
.prose { overflow-wrap: break-word; }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose > h2 { font-size: 1.6rem; margin-top: 2.2em; scroll-margin-top: 1rem; }
.prose > h3 { font-size: 1.15rem; margin-top: 1.8em; }
.prose > h2 + * { margin-top: .7em; }
.prose > h3 + * { margin-top: .35em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 0; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--fir); }
.prose ol > li::marker { font-weight: 700; }
.prose img { border-radius: 8px; }
.prose figcaption, .prose .wp-element-caption { font-size: .875rem; color: var(--stone); margin-top: .5rem; }
.prose blockquote { margin: 1.5em 0; padding: .25em 0 .25em 1.25em; border-left: 3px solid var(--pea-line); color: var(--stone); }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.prose th, .prose td { padding: .55rem .6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--paper-2); }
.prose .wp-block-table { overflow-x: auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose .alignwide, .prose .alignfull { margin-left: 0; margin-right: 0; }
.prose .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.prose .alignleft { float: left; margin: .3em 1.25em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .3em 0 1em 1.25em; max-width: 50%; }
.prose code { font-size: .9em; background: var(--paper-2); padding: .1em .35em; border-radius: 4px; }
.prose .wp-block-button__link { background: var(--fir); color: #fff; border-radius: 8px; padding: .7rem 1.25rem; text-decoration: none; }

/* ---------- Ads: reserved space so nothing jumps ---------- */
.cg-ad { margin: 2rem auto; text-align: center; clear: both; }
.cg-ad__label { display: block; font-size: .6875rem; letter-spacing: .02em; color: #6f7872; margin-bottom: .35rem; }
.cg-ad--incontent, .cg-ad--aftercontent { min-height: 300px; }
@media (min-width: 700px) { .cg-ad--incontent, .cg-ad--aftercontent { min-height: 280px; } }
.cg-ad--sidebar { min-height: 620px; margin-top: 0; }
.cg-ad ins { max-width: 100%; }
.cg-ad--preview .cg-ad__box {
	display: grid; place-items: center; min-height: 250px; border: 2px dashed #c3cbc5;
	border-radius: 8px; color: #6f7872; font-size: .875rem; background: #fafbfa;
}
.cg-ad--sidebar.cg-ad--preview .cg-ad__box { width: 300px; min-height: 600px; }
.rows .cg-ad { grid-column: 1 / -1; margin: .5rem 0; }

/* ---------- People ---------- */
.people { margin: 3rem 0 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: 1.25rem; }
.person { display: flex; gap: 1rem; align-items: flex-start; }
.person__body p { margin: 0; }
.person__role { font-size: .8125rem; color: var(--stone); }
.person__name { font-weight: 700; font-size: 1.0625rem; }
.person__name a { color: var(--ink); text-decoration: none; }
.person__name a:hover { color: var(--fir); text-decoration: underline; }
.person__cred { font-size: .9375rem; color: var(--fir-dark); }
.person__bio { margin-top: .35rem !important; font-size: .9375rem; color: var(--stone); }
.people__policy { margin: 0; font-size: .9375rem; }

/* ---------- Lists: rows and tiles ---------- */
.rows { display: grid; gap: 0; }
.row { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.row:first-child { padding-top: 0; }
@media (min-width: 700px) { .row { grid-template-columns: 200px minmax(0, 1fr); gap: 1.5rem; padding: 1.5rem 0; } }
.row__media { display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--pea); }
.row__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.row__placeholder { display: grid; place-items: center; height: 100%; color: var(--fir); }
.row__kicker { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: 0 0 .25rem; font-size: .8125rem; color: var(--stone); }
.row__title { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; line-height: 1.25; margin-bottom: .35rem; }
@media (min-width: 700px) { .row__title { font-size: 1.4rem; } }
.row__title a { color: var(--ink); text-decoration: none; }
.row__title a:hover { color: var(--fir); text-decoration: underline; }
.row__excerpt { margin: 0; color: var(--stone); font-size: .9375rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rows--compact .row { grid-template-columns: 88px minmax(0, 1fr); padding: .9rem 0; }
.rows--compact .row__title { font-size: 1.125rem; }
.rows--compact .row__excerpt { -webkit-line-clamp: 2; }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1000px) { .tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile__link { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; background: var(--paper); }
.tile__link:hover { border-color: var(--fir); }
.tile__link:hover .tile__name { color: var(--fir-dark); text-decoration: underline; text-decoration-thickness: 1px; }
.tile__media { display: block; aspect-ratio: 4 / 3; background: var(--pea); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile__art { display: grid; place-items: center; height: 100%; color: var(--plant); background: radial-gradient(circle at 50% 120%, #dbe8c9 0 45%, transparent 46%), var(--pea); }
.tile__body { display: flex; flex-direction: column; gap: .15rem; padding: .8rem .9rem 1rem; }
.tile__name { font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; }
.tile__latin { font-style: italic; font-size: .875rem; color: var(--stone); }
.tile__facts { display: flex; flex-wrap: wrap; gap: .25rem .8rem; margin-top: .4rem; font-size: .8125rem; color: var(--stone); }
.tile__facts span { display: inline-flex; align-items: center; gap: .25rem; }
.tile__facts .icon { color: var(--fir); }

/* ---------- Home bands ---------- */
.band { padding: 2.5rem 0; }
@media (min-width: 700px) { .band { padding: 3.5rem 0; } }
.band + .band { border-top: 1px solid var(--line); }
.band__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.band__head .section-title { margin: 0; }
.band__more { display: inline-flex; align-items: center; gap: .2rem; font-weight: 600; white-space: nowrap; text-decoration: none; }
.band__more:hover { text-decoration: underline; }
.split { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 4rem; } .split.split--single { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .rows--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; } .rows--grid .row:nth-child(-n+2) { padding-top: 0; } }

.problems { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.problems a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding: .6rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.problems a:hover .problems__name { color: var(--fir); text-decoration: underline; }
.problems__name { font-family: var(--serif); font-size: 1.15rem; }
.problems .sev { font-size: .875rem; }

.band--people { background: var(--paper-2); }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 700px) { .team { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.team__person { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.team__name { font-weight: 700; color: var(--ink); text-decoration: none; }
.team__name:hover { color: var(--fir); text-decoration: underline; }
.team__role { font-size: .9375rem; color: var(--stone); }

/* ---------- List pages ---------- */
.layout-list { padding-bottom: 3.5rem; }
.page-head { margin: .5rem 0 1.75rem; max-width: 46rem; }
.page-head__title { font-size: clamp(2rem, 1.55rem + 2vw, 2.85rem); line-height: 1.08; margin-bottom: .5rem; }
.page-head__desc { color: var(--stone); font-size: 1.0625rem; }
.page-head__desc p { margin: 0; }
.page-head__meta { color: var(--stone); font-size: .9375rem; margin: 0; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1.5rem; scrollbar-width: thin; }
.chips .chip { flex: none; }
.search-again { margin-bottom: 1.5rem; }
.empty { padding: 2rem 0; max-width: 36rem; }
.empty h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2rem; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 .8rem; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); }
.nav-links .page-numbers.current { background: var(--fir); border-color: var(--fir); color: #fff; }
.nav-links a.page-numbers:hover { border-color: var(--fir); color: var(--fir); }

.profile { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-start; margin: .5rem 0 2.5rem; }
.profile__body { flex: 1; min-width: 260px; max-width: 46rem; }
.profile__cred { font-weight: 600; color: var(--fir-dark); margin: 0 0 .75rem; }
.profile__bio { color: var(--ink); }
.profile__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.profile__links a { display: inline-flex; align-items: center; gap: .3rem; }
.band-inner { margin-top: 2.5rem; }

/* ---------- Pages, forms, 404 ---------- */
.layout-page { padding-bottom: 3.5rem; }
.page-body { max-width: var(--measure); margin: 0 auto; }
.not-found { max-width: 40rem; margin: 3rem auto; }
.not-found__links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.contact-box { margin-top: 2rem; }
.contact-form .field { margin: 0 0 1rem; }
.contact-form label { display: block; font-weight: 600; margin-bottom: .3rem; }
.contact-form input, .contact-form select, .contact-form textarea,
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form textarea {
	width: 100%; min-height: 48px; padding: .65rem .85rem; border: 1.5px solid var(--line);
	border-radius: 8px; font: inherit; color: var(--ink); background: #fff;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--fir); outline: 3px solid rgba(30, 91, 60, .18); outline-offset: 0; }
.contact-form .field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { font-size: .875rem; color: var(--stone); }
.form-notice { padding: .9rem 1rem; border-radius: 8px; font-weight: 600; }
.form-notice--success { background: var(--pea); color: var(--fir-dark); }
.form-notice--error { background: #fdecea; color: #8a1c12; }

.related { margin-top: 3rem; }
.comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.comments__list { padding-left: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--fir-dark); color: #d9e6dc; padding: 3rem 0 1.5rem; font-size: .9375rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer__grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; } }
.site-footer__brand { font-family: var(--serif); font-size: 1.4rem; color: #fff; margin-bottom: .5rem; }
.site-footer__heading { font-weight: 700; color: #fff; margin-bottom: .6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .3rem 0; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-footer__base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .16); display: grid; gap: .25rem; font-size: .8125rem; color: #b8cbbd; }
.site-footer__base p { margin: 0; }

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: no-preference) {
	.tile__link, .chip, .button, .icon-button { transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
	.nav .sub-menu { transition: opacity .12s ease, visibility .12s; }
}
@media print {
	.site-header, .site-footer, .rail, .cg-ad, .toc, .related, .comments { display: none !important; }
	body { font-size: 12pt; }
}

/* ---------- Homepage 2.1: topics + most read ---------- */
.band__head { flex-wrap: wrap; }
.band__note { color: var(--stone); font-size: .9375rem; }
@media (min-width: 960px) {
	.hero__inner--solo { grid-template-columns: minmax(0, 1fr); }
	.hero__inner--solo .hero__copy { max-width: 46rem; }
}

.topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1000px) { .topics { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.topics > li { display: flex; }
.topic {
	position: relative; display: flex; flex-direction: column; width: 100%;
	padding: 1rem 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--paper); color: var(--ink); text-decoration: none;
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.topic:hover { color: var(--ink); border-color: var(--fir); box-shadow: 0 8px 20px -12px rgba(30, 91, 60, .5); transform: translateY(-2px); }
.topic__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: .8rem; border-radius: 50%; background: var(--pea); color: var(--fir); }
.topic__name { font-family: var(--serif); font-size: 1.125rem; line-height: 1.2; overflow-wrap: anywhere; }
.topic__count { margin-top: .3rem; font-size: .875rem; color: var(--stone); font-variant-numeric: tabular-nums; }
.topic__go { position: absolute; top: 1rem; right: .9rem; color: #a9b8a6; transition: transform .15s, color .15s; }
.topic:hover .topic__go { color: var(--fir); transform: translateX(3px); }
.topic--accent { background: var(--fir); border-color: var(--fir); color: #fff; }
.topic--accent:hover { color: #fff; border-color: var(--fir-dark); background: var(--fir-dark); }
.topic--accent .topic__icon { background: rgba(255, 255, 255, .14); color: #fff; }
.topic--accent .topic__count { color: #d3e5cc; }
.topic--accent .topic__go, .topic--accent:hover .topic__go { color: #fff; }
.topics__more { display: none; }
@media (max-width: 699px) {
	.topic { padding: .85rem .85rem .95rem; }
	.topic__icon { width: 40px; height: 40px; margin-bottom: .6rem; }
	.topic__name { font-size: 1.0625rem; }
	.topic__go { top: .85rem; right: .75rem; }
	.topics--collapsible:not(.is-open) > li:nth-child(n+9) { display: none; }
	.topics--collapsible:not(.is-open) + .topics__more { display: flex; justify-content: center; width: 100%; margin-top: 12px; }
}
@media (min-width: 700px) { .topic { padding: 1.25rem 1.25rem 1.35rem; } .topic__name { font-size: 1.25rem; } }

.band--read { background: var(--paper-2); }
.read { display: grid; gap: 1.75rem; }
@media (min-width: 960px) { .read { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3rem; align-items: start; } }
.read--single { max-width: 46rem; }
@media (min-width: 960px) { .read--single { grid-template-columns: minmax(0, 1fr); } }

.lead { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.lead:hover { border-color: var(--fir); box-shadow: 0 10px 24px -16px rgba(30, 91, 60, .55); }
.lead__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--pea); }
.lead__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lead__art { display: grid; place-items: center; height: 100%; color: var(--plant); background: radial-gradient(circle at 50% 130%, #dbe8c9 0 45%, transparent 46%), var(--pea); }
.lead__badge { position: absolute; left: 1rem; top: 1rem; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--fir); color: #fff; font-family: var(--serif); font-size: 1.35rem; box-shadow: 0 0 0 4px rgba(255, 255, 255, .85); }
.lead__body { padding: 1.15rem 1.25rem 1.4rem; }
@media (min-width: 700px) { .lead__body { padding: 1.4rem 1.6rem 1.7rem; } }
.lead__kicker, .ranks__kicker { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: 0 0 .4rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--stone); }
.lead__kicker span:first-child { color: var(--fir); }
.lead__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.45rem, 1.15rem + 1.1vw, 1.95rem); line-height: 1.15; margin: 0 0 .6rem; }
.lead__title a { color: var(--ink); text-decoration: none; }
.lead__title a::after { content: ""; position: absolute; inset: 0; }
.lead:hover .lead__title a { color: var(--fir-dark); text-decoration: underline; text-decoration-thickness: 1px; }
.lead__excerpt { margin: 0; color: var(--stone); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.ranks { list-style: none; margin: 0; padding: 0; }
.ranks__item { position: relative; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: .75rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.ranks__item:first-child { padding-top: .25rem; }
.ranks__item:last-child { border-bottom: 0; }
.ranks__n { font-family: var(--serif); font-size: 2.1rem; line-height: 1; color: #8fb37e; font-variant-numeric: lining-nums; }
.ranks__kicker { display: block; margin-bottom: .2rem; }
.ranks__title { font-family: var(--serif); font-size: 1.15rem; line-height: 1.3; color: var(--ink); text-decoration: none; }
.ranks__title::after { content: ""; position: absolute; inset: 0; }
.ranks__item:hover .ranks__title { color: var(--fir-dark); text-decoration: underline; text-decoration-thickness: 1px; }
.ranks__item:hover .ranks__n { color: var(--fir); }
.ranks--plain .ranks__item { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .ranks__title { font-size: 1.25rem; } }

.band--ad { padding: 1.25rem 0; }
.band--ad .cg-ad { margin: 0 auto; }

@media (prefers-reduced-motion: reduce) {
	.topic, .topic__go, .lead { transition: none; }
	.topic:hover, .topic:hover .topic__go { transform: none; }
}
