/* =============================================================
   psychiatry.help: Design System + Templates
   =============================================================

   Layout: editorial magazine, 12-column grid logic
   Palette: cream / moss / oxblood / ochre / ink + tonal variants
   Type: Fraunces (display) + Inter (body)
   Tone: direct, anti-wellness-culture, clinical-but-human

   Sections in order:
   0. Reset + base
   1. CSS custom properties (tokens)
   2. Typography
   3. Layout primitives (container, grid, dividers)
   4. Buttons + links
   5. Site header / sticky nav
   6. Volume banner
   7. Hero
   8. Featured lead story
   9. Categories grid
  10. Latest Posts (post rows + typo cards)
  11. Podcast section (hidden v1)
  12. Writers (about) section
  13. Bridge to LiveWell
  14. Footer (newsletter band hidden v1, columns visible)
  15. Single post layout
  16. Archive / category layout
  17. Author archive layout
  18. Page (Privacy Policy etc.)
  19. Forum (Asgaros: phase 2)
  20. Block editor overrides (Gutenberg)
  21. Utilities + responsive helpers
  ============================================================ */

/* -------------------------------------------------------------
   0. Reset + base
   ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--c-cream);
	color: var(--c-ink);
	font-family: var(--ff-body);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--c-oxblood); color: var(--c-cream); }
::-moz-selection { background: var(--c-oxblood); color: var(--c-cream); }

/* -------------------------------------------------------------
   1. CSS custom properties (design tokens)
   ------------------------------------------------------------- */
:root {
	/* Brand palette */
	--c-cream:        #F5EFE4;
	--c-cream-dark:   #EBE2D2;
	--c-ink:          #1A1715;
	--c-ink-light:    #4A453F;
	--c-ink-lighter:  #8A8278;
	--c-oxblood:      #7A1F2B;
	--c-oxblood-dark: #5A1620;
	--c-moss:         #2B3A2E;
	--c-moss-light:   #3A4D3F;
	--c-ochre:        #D9A648;
	--c-rule:         #D6CDB9;
	--c-shadow:       rgba(26, 23, 21, 0.08);

	/* Type families */
	--ff-display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
	--ff-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;

	/* Type scale (clamps for fluid sizing) */
	--fs-eyebrow: 0.75rem;
	--fs-body-sm: 0.875rem;
	--fs-body:    1rem;
	--fs-body-lg: 1.125rem;
	--fs-lede:    clamp(1.1rem, 1.6vw, 1.375rem);
	--fs-h3:      clamp(1.2rem, 2vw, 1.5rem);
	--fs-h2:      clamp(1.5rem, 3vw, 2.5rem);
	--fs-h1:      clamp(2rem, 5vw, 3.5rem);
	--fs-hero:    clamp(3.5rem, 9vw, 9rem);

	/* Spacing scale */
	--sp-1: 0.25rem;
	--sp-2: 0.5rem;
	--sp-3: 0.75rem;
	--sp-4: 1rem;
	--sp-5: 1.5rem;
	--sp-6: 2rem;
	--sp-7: 3rem;
	--sp-8: 4rem;
	--sp-9: 6rem;
	--sp-10: 8rem;

	/* Containers */
	--w-prose: 65ch;
	--w-readable: 720px;
	--w-content: 1080px;
	--w-wide: 1280px;
	--w-bleed: 1440px;

	/* Misc */
	--rule-width: 1px;
	--rule-strong-width: 2px;
	--header-h: 64px;
	--transition: 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* -------------------------------------------------------------
   2. Typography
   ------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--ff-display);
	font-weight: 500;
	color: var(--c-ink);
	margin: 0 0 var(--sp-4);
	line-height: 1.15;
	letter-spacing: -0.015em;
	text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.018em; }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-size: 1.125rem; line-height: 1.3; }

.eyebrow {
	font-family: var(--ff-body);
	font-size: var(--fs-eyebrow);
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--c-ink-lighter);
	display: inline-block;
}
.lede {
	font-size: var(--fs-lede);
	line-height: 1.45;
	color: var(--c-ink);
	max-width: var(--w-readable);
	text-wrap: pretty;
}
em, i { font-style: italic; }
strong, b { font-weight: 600; }
small { font-size: var(--fs-body-sm); color: var(--c-ink-light); }
mark, .highlight { background: rgba(217, 166, 72, 0.4); padding: 0 0.15em; color: inherit; }
hr {
	border: 0;
	border-top: var(--rule-width) solid var(--c-rule);
	margin: var(--sp-7) 0;
}
blockquote {
	margin: var(--sp-6) 0;
	padding: 0 0 0 var(--sp-5);
	border-left: 3px solid var(--c-moss);
	font-family: var(--ff-display);
	font-size: 1.375rem;
	line-height: 1.4;
	font-style: italic;
	color: var(--c-ink);
}
blockquote p { margin: 0 0 var(--sp-3); }
blockquote cite {
	display: block;
	margin-top: var(--sp-3);
	font-family: var(--ff-body);
	font-size: var(--fs-body-sm);
	font-style: normal;
	color: var(--c-ink-light);
}

code, pre, kbd, samp {
	font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
	font-size: 0.875em;
}
pre {
	background: var(--c-ink);
	color: var(--c-cream);
	padding: var(--sp-5);
	overflow-x: auto;
	border-radius: 4px;
	line-height: 1.5;
}
code { background: var(--c-cream-dark); padding: 0.1em 0.35em; border-radius: 3px; }
pre code { background: transparent; padding: 0; }

ul, ol { padding-left: 1.4em; margin: 0 0 var(--sp-4); }
li { margin: var(--sp-2) 0; }

/* -------------------------------------------------------------
   3. Layout primitives
   ------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--w-content);
	margin: 0 auto;
	padding: 0 var(--sp-5);
}
.container--wide   { max-width: var(--w-wide); }
.container--bleed  { max-width: var(--w-bleed); }
.container--prose  { max-width: var(--w-readable); }

@media (min-width: 640px) {
	.container { padding: 0 var(--sp-6); }
}

.section { padding: var(--sp-8) 0; border-bottom: var(--rule-width) solid var(--c-rule); }
.section--tight { padding: var(--sp-6) 0; }
.section--roomy { padding: var(--sp-9) 0; }
.section--dark  { background: var(--c-ink);    color: var(--c-cream); border-color: var(--c-ink-light); }
.section--moss  { background: var(--c-moss);   color: var(--c-cream); border-color: var(--c-ink); }
.section--cream { background: var(--c-cream-dark); }
.section--no-rule { border-bottom: 0; }

.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--moss h1, .section--moss h2, .section--moss h3, .section--moss h4 {
	color: var(--c-cream);
}

.grid-12 {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: var(--sp-4);
}
@media (min-width: 768px) {
	.grid-12 { gap: var(--sp-5); }
}

/* -------------------------------------------------------------
   4. Buttons + links
   -------------------------------------------------------------
   Color philosophy (updated 2026-05-15):
   - MOSS is the primary action color (buttons, link underlines,
     focus, hovers). Calm/clinical, fits psychiatry.
   - OXBLOOD is preserved ONLY for typographic brand emphasis
     (".help" in the brand mark, italic "honestly" in the hero,
     selection highlight). Never for primary CTAs anymore.
   - OCHRE is secondary highlight (numbered lists, on-moss accents).
   - INK is text + the default solid button.
*/
.btn {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-3);
	padding: 0.875rem 1.5rem;
	font-family: var(--ff-body);
	font-size: 0.9375rem;
	font-weight: 500;
	background: var(--c-ink);
	color: var(--c-cream);
	border: 0;
	cursor: pointer;
	transition: background-color var(--transition), color var(--transition);
	text-decoration: none;
	line-height: 1;
}
.btn:hover { background: var(--c-moss); }
.btn--moss { background: var(--c-moss); }
.btn--moss:hover { background: var(--c-moss-light); }
.btn--oxblood { background: var(--c-oxblood); }
.btn--oxblood:hover { background: var(--c-oxblood-dark); }
.btn--ghost {
	background: transparent;
	color: var(--c-ink);
	border: 1px solid var(--c-ink);
}
.btn--ghost:hover { background: var(--c-ink); color: var(--c-cream); }
.btn--small {
	padding: 0.5rem 0.875rem;
	font-size: 0.8125rem;
}
.btn--tag {
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-size: 0.75rem;
	font-weight: 600;
	background: var(--c-ochre);
	color: var(--c-ink);
	padding: 0.5rem 0.875rem;
}
.btn--tag:hover { background: var(--c-cream); }

.link {
	color: var(--c-ink);
	text-decoration: underline;
	text-decoration-color: var(--c-moss);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color var(--transition);
}
.link:hover { color: var(--c-moss); }

.underline-link {
	position: relative;
	display: inline;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 100% 1px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size var(--transition);
}
.underline-link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* -------------------------------------------------------------
   5. Site header / sticky nav
   ------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(245, 239, 228, 0.92);
	backdrop-filter: saturate(180%) blur(10px);
	-webkit-backdrop-filter: saturate(180%) blur(10px);
	border-bottom: var(--rule-width) solid transparent;
	transition: border-color var(--transition), background-color var(--transition);
}
.site-header.is-scrolled { border-bottom-color: var(--c-rule); }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	height: var(--header-h);
	max-width: var(--w-content);
	margin: 0 auto;
	padding: 0 var(--sp-5);
}
@media (min-width: 640px) { .site-header__inner { padding: 0 var(--sp-6); } }

.brand-mark {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	font-family: var(--ff-display);
	font-weight: 600;
	font-size: 1.35rem;
	letter-spacing: -0.015em;
	line-height: 1;
	color: var(--c-ink);
	flex-shrink: 0;
}
.brand-mark__accent { color: var(--c-moss); }
.brand-mark__icon { width: 22px; height: 22px; display: inline-block; }

.site-nav {
	display: none;
	align-items: center;
	gap: var(--sp-5);
	margin-left: auto;
	flex-wrap: nowrap;
	margin-right: var(--sp-4);
}
@media (min-width: 720px) {
	.site-nav { display: flex; gap: var(--sp-6); }
}

.site-nav a {
	font-size: 0.9375rem;
	white-space: nowrap;
	color: var(--c-ink-light);
	transition: color var(--transition);
}
.site-nav a:hover { color: var(--c-ink); }

.site-cta {
	display: none;
	align-items: center;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--c-cream);
	background: var(--c-oxblood);
	padding: 0.625rem 1rem;
	transition: background-color var(--transition);
	flex-shrink: 0;
}
.site-cta:hover { background: var(--c-oxblood-dark); }
@media (min-width: 720px) { .site-cta { display: inline-flex; } }

/* Mobile hamburger */
.nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: transparent;
	border: 0;
	color: var(--c-ink);
	cursor: pointer;
}
@media (min-width: 720px) { .nav-toggle { display: none; } }

.mobile-nav {
	display: none;
	background: var(--c-cream);
	border-top: var(--rule-width) solid var(--c-rule);
	padding: var(--sp-4) var(--sp-5) var(--sp-5);
	flex-direction: column;
	gap: var(--sp-4);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a { font-size: 1rem; color: var(--c-ink-light); }
.mobile-nav a:hover { color: var(--c-ink); }
.mobile-nav .site-cta {
	display: inline-flex;
	justify-content: center;
	margin-top: var(--sp-3);
	background: var(--c-ink);
	color: var(--c-cream);
	padding: 0.875rem;
}
.mobile-nav .site-cta:hover { background: var(--c-oxblood); }

/* -------------------------------------------------------------
   6. Volume banner
   ------------------------------------------------------------- */
.vol-banner {
	border-bottom: var(--rule-width) solid var(--c-rule);
	background: var(--c-cream);
}
.vol-banner__inner {
	max-width: var(--w-content);
	margin: 0 auto;
	padding: var(--sp-2) var(--sp-5);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
}
.vol-banner__label {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--c-ink-lighter);
}
.vol-banner__dot {
	width: 8px;
	height: 8px;
	background: var(--c-oxblood);
	display: inline-block;
}
.vol-banner__motto {
	display: none;
	font-size: 0.75rem;
	color: var(--c-ink-lighter);
}
@media (min-width: 640px) {
	.vol-banner__motto { display: inline; }
	.vol-banner__inner { padding: var(--sp-2) var(--sp-6); }
}

/* -------------------------------------------------------------
   7. Hero
   ------------------------------------------------------------- */
.hero {
	border-bottom: var(--rule-width) solid var(--c-rule);
	position: relative;
}
.hero__inner {
	max-width: var(--w-bleed);
	margin: 0 auto;
	padding: var(--sp-7) var(--sp-5) var(--sp-8);
	position: relative;
}
@media (min-width: 768px) {
	.hero__inner { padding: var(--sp-9) var(--sp-7) var(--sp-9); }
}

.hero__headline {
	font-family: var(--ff-display);
	font-size: var(--fs-hero);
	font-weight: 500;
	line-height: 0.92;
	letter-spacing: -0.025em;
	color: var(--c-ink);
	margin: 0;
	text-wrap: balance;
}
.hero__headline span { display: block; }
.hero__headline-italic {
	color: var(--c-oxblood);
	font-style: italic;
	font-weight: 400;
}

.hero__sub-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--sp-5);
	margin-top: var(--sp-7);
	align-items: end;
}
@media (min-width: 768px) {
	.hero__sub-row { grid-template-columns: 7fr 5fr; gap: var(--sp-8); }
}
.hero__sub {
	font-size: var(--fs-lede);
	line-height: 1.45;
	color: var(--c-ink);
	max-width: var(--w-readable);
	margin: 0;
}
.hero__cta-wrap {
	text-align: left;
}
@media (min-width: 768px) {
	.hero__cta-wrap { text-align: right; }
}

/* -------------------------------------------------------------
   8. Featured lead story
   ------------------------------------------------------------- */
.lead-story {
	display: block;
	border-top: var(--rule-strong-width) solid var(--c-ink);
	background: var(--c-moss);
	color: var(--c-cream);
	transition: background-color var(--transition);
}
.lead-story:hover { background: var(--c-moss-light); }
.lead-story__inner {
	display: grid;
	grid-template-columns: 1fr;
	min-height: 420px;
}
@media (min-width: 1024px) {
	.lead-story__inner { grid-template-columns: 7fr 5fr; }
}
.lead-story__body {
	padding: var(--sp-7) var(--sp-5);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--sp-6);
}
@media (min-width: 768px) {
	.lead-story__body { padding: var(--sp-8) var(--sp-7); }
}
.lead-story__eyebrow {
	font-size: 0.6875rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 500;
	color: rgba(245, 239, 228, 0.6);
	display: block;
	margin-bottom: var(--sp-5);
}
.lead-story__cat {
	display: inline-block;
	background: var(--c-ochre);
	color: var(--c-ink);
	font-size: 0.75rem;
	font-weight: 500;
	padding: 0.35rem 0.7rem;
	margin-right: var(--sp-3);
}
.lead-story__meta {
	font-size: 0.8125rem;
	color: rgba(245, 239, 228, 0.5);
	display: inline-block;
	margin-bottom: var(--sp-4);
}
.lead-story__title {
	font-family: var(--ff-display);
	font-weight: 500;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--c-cream);
	margin: 0 0 var(--sp-5);
	max-width: 30ch;
}
.lead-story__excerpt {
	font-size: 1rem;
	color: rgba(245, 239, 228, 0.72);
	line-height: 1.55;
	max-width: 50ch;
	margin: 0 0 var(--sp-5);
}
.lead-story__date {
	font-size: 0.8125rem;
	color: rgba(245, 239, 228, 0.5);
}
.lead-story__readmore {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--c-oxblood);
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	margin-top: var(--sp-6);
	transition: gap var(--transition);
}
.lead-story:hover .lead-story__readmore { gap: var(--sp-3); }

.lead-story__visual {
	display: none;
	align-items: center;
	justify-content: center;
	background: var(--c-moss-light);
	overflow: hidden;
}
@media (min-width: 1024px) {
	.lead-story__visual { display: flex; }
}
.lead-story__visual img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* -------------------------------------------------------------
   9. Categories grid (numbered "buckets")
   ------------------------------------------------------------- */
.cats-section {
	background: var(--c-ink);
	color: var(--c-cream);
	border-bottom: var(--rule-width) solid var(--c-ink-light);
}
.cats-section__inner {
	max-width: var(--w-content);
	margin: 0 auto;
	padding: var(--sp-8) var(--sp-5);
}
@media (min-width: 768px) {
	.cats-section__inner { padding: var(--sp-9) var(--sp-7); }
}
.cats-section__heading {
	font-family: var(--ff-display);
	font-size: clamp(2rem, 4vw, 2.5rem);
	font-weight: 500;
	color: var(--c-cream);
	margin: 0 0 var(--sp-2);
	line-height: 1.1;
}
.cats-section__sub {
	color: rgba(245, 239, 228, 0.6);
	font-size: 0.9375rem;
	margin: 0 0 var(--sp-7);
	max-width: 56ch;
}
.cats-list {
	border-top: var(--rule-strong-width) solid rgba(245, 239, 228, 0.25);
	list-style: none;
	padding: 0;
	margin: 0;
}
.cat-item {
	display: grid;
	grid-template-columns: minmax(56px, 80px) 1fr;
	gap: var(--sp-4);
	padding: var(--sp-6) 0;
	border-bottom: var(--rule-strong-width) solid rgba(245, 239, 228, 0.25);
	transition: opacity var(--transition);
}
.cat-item:last-child { border-bottom: 0; }
.cat-item__num {
	font-family: var(--ff-display);
	font-weight: 500;
	font-size: clamp(3rem, 5vw, 4rem);
	line-height: 1;
	color: var(--c-ochre);
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.04em;
}
.cat-item__body { display: flex; flex-direction: column; gap: var(--sp-2); }
.cat-item__title {
	font-family: var(--ff-display);
	font-weight: 500;
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.15;
	color: var(--c-cream);
	margin: 0;
	transition: color var(--transition);
}
.cat-item:hover .cat-item__title { color: var(--c-ochre); }
.cat-item__blurb {
	font-size: 0.9375rem;
	color: rgba(245, 239, 228, 0.75);
	line-height: 1.6;
	margin: 0;
	max-width: 60ch;
}
.cat-item__link {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	margin-top: var(--sp-3);
	font-size: 0.8125rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--c-ochre);
	transition: gap var(--transition);
}
.cat-item__link:hover { gap: var(--sp-3); }

/* -------------------------------------------------------------
   10. Latest Posts (mixed post rows + typo cards)
   ------------------------------------------------------------- */
.latest {
	border-bottom: var(--rule-width) solid var(--c-rule);
}
.latest__inner {
	max-width: var(--w-content);
	margin: 0 auto;
	padding: var(--sp-8) var(--sp-5);
}
@media (min-width: 768px) {
	.latest__inner { padding: var(--sp-9) var(--sp-6); }
}
.latest__heading-row {
	display: flex;
	align-items: end;
	justify-content: space-between;
	margin-bottom: var(--sp-3);
}
.latest__heading {
	font-family: var(--ff-display);
	font-size: clamp(1.5rem, 3vw, 1.875rem);
	font-weight: 500;
	margin: 0;
}
.latest__view-all {
	font-size: 0.9375rem;
	color: var(--c-ink-light);
	transition: color var(--transition);
}
.latest__view-all:hover { color: var(--c-moss); }

.post-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--sp-5);
	padding: var(--sp-7) 0;
	border-bottom: var(--rule-width) solid var(--c-rule);
	transition: background-color var(--transition);
}
.post-row:last-child { border-bottom: 0; }
.post-row:hover { background-color: rgba(0, 0, 0, 0.012); }

@media (min-width: 640px) {
	.post-row {
		grid-template-columns: repeat(12, 1fr);
		gap: var(--sp-7);
		padding: var(--sp-8) 0;
	}
}

.post-row--with-thumb .post-row__media {
	grid-column: span 1;
}
.post-row--with-thumb .post-row__body  {
	grid-column: span 1;
}
@media (min-width: 640px) {
	.post-row--with-thumb .post-row__media { grid-column: span 5; }
	.post-row--with-thumb .post-row__body  { grid-column: span 7; }
	.post-row--full .post-row__body        { grid-column: span 12; }
}

.post-row__media {
	display: block;
}
.post-row__body {
	display: flex;
	flex-direction: column;
	gap: var(--sp-3);
}
.post-row__meta {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	font-size: 0.75rem;
	color: var(--c-ink-lighter);
}
.post-row__category {
	display: inline-block;
	background: rgba(26, 23, 21, 0.08);
	color: var(--c-ink);
	font-size: 0.75rem;
	font-weight: 500;
	padding: 0.2rem 0.5rem;
}
.post-row__title {
	font-family: var(--ff-display);
	font-weight: 500;
	font-size: clamp(1.25rem, 2.4vw, 1.5rem);
	line-height: 1.18;
	color: var(--c-ink);
	margin: 0;
	text-wrap: balance;
	transition: color var(--transition);
}
.post-row:hover .post-row__title { color: var(--c-moss); }
.post-row__excerpt {
	font-size: 1rem;
	color: var(--c-ink-light);
	line-height: 1.65;
	margin: 0;
	max-width: var(--w-readable);
	text-wrap: pretty;
}
.post-row__date {
	font-size: 0.8125rem;
	color: var(--c-ink-lighter);
}

/* Typo card: when no featured image */
.typo-card {
	display: flex;
	align-items: flex-end;
	padding: var(--sp-5);
	background: var(--card-bg, var(--c-ink));
	color: var(--card-fg, var(--c-cream));
	aspect-ratio: var(--card-aspect, 16/10);
	position: relative;
	overflow: hidden;
}
.typo-card__label {
	font-family: var(--ff-display);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.02em;
	text-wrap: balance;
	max-width: 90%;
}
.typo-card::after {
	content: '';
	position: absolute;
	right: var(--sp-5);
	top: var(--sp-5);
	width: 32px;
	height: 32px;
	border: 2px solid currentColor;
	border-radius: 50%;
	opacity: 0.3;
}

.post-thumb-wrap {
	aspect-ratio: var(--card-aspect, 16/10);
	overflow: hidden;
	background: var(--c-cream-dark);
}
.post-thumb-wrap img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.post-row:hover .post-thumb-wrap img { transform: scale(1.025); }

/* -------------------------------------------------------------
   11. Podcast section (hidden v1)
   ------------------------------------------------------------- */
.podcast-section { display: none; } /* re-enable when podcast is real */

/* -------------------------------------------------------------
   12. Writers / About section
   ------------------------------------------------------------- */
.writers {
	background: rgba(235, 226, 210, 0.4);
	border-bottom: var(--rule-width) solid var(--c-rule);
}
.writers__inner {
	max-width: var(--w-readable);
	margin: 0 auto;
	padding: var(--sp-9) var(--sp-5);
}
@media (min-width: 768px) {
	.writers__inner { padding: var(--sp-10) var(--sp-6); }
}
.writers__eyebrow {
	font-size: 0.8125rem;
	color: var(--c-moss);
	font-weight: 500;
	display: block;
	margin-bottom: var(--sp-4);
	letter-spacing: 0.02em;
}
.writers__text {
	font-family: var(--ff-display);
	font-size: clamp(1.375rem, 2.5vw, 1.75rem);
	line-height: 1.4;
	color: var(--c-ink);
	font-weight: 400;
	margin: 0;
	text-wrap: pretty;
}

/* -------------------------------------------------------------
   13. Bridge to LiveWell
   ------------------------------------------------------------- */
.bridge-section {
	border-bottom: var(--rule-width) solid var(--c-rule);
}
.bridge-section__inner {
	max-width: var(--w-readable);
	margin: 0 auto;
	padding: var(--sp-7) var(--sp-5);
}
.bridge-section__text {
	font-size: 0.9375rem;
	color: var(--c-ink-lighter);
	line-height: 1.65;
	margin: 0;
}
.bridge-section__link {
	color: var(--c-ink);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: var(--c-moss);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color var(--transition);
}
.bridge-section__link:hover { color: var(--c-moss); }

/* -------------------------------------------------------------
   14. Footer
   ------------------------------------------------------------- */
.site-footer { background: var(--c-cream); border-top: var(--rule-width) solid var(--c-rule); }

/* Newsletter band: hidden v1 */
.newsletter-band { display: none; }

.site-footer__cols {
	max-width: var(--w-content);
	margin: 0 auto;
	padding: var(--sp-7) var(--sp-5);
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--sp-6);
}
@media (min-width: 768px) {
	.site-footer__cols {
		grid-template-columns: 4fr 3fr 2fr 3fr;
		gap: var(--sp-6);
		padding: var(--sp-7) var(--sp-6);
	}
}
.site-footer__col-heading {
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--c-ink-lighter);
	font-weight: 500;
	margin: 0 0 var(--sp-3);
	font-family: var(--ff-body);
}
.site-footer__brand-block .brand-mark {
	margin-bottom: var(--sp-3);
}
.site-footer__brand-text {
	color: var(--c-ink-light);
	max-width: 40ch;
	line-height: 1.55;
	margin: 0;
	font-size: 0.9375rem;
}
.site-footer__nav {
	display: flex;
	flex-direction: column;
	gap: var(--sp-2);
}
.site-footer__nav a {
	color: var(--c-ink);
	font-size: 0.9375rem;
	transition: color var(--transition);
}
.site-footer__nav a:hover { color: var(--c-moss); }

.site-footer__legal {
	color: var(--c-ink-lighter);
	font-size: 0.8125rem;
}
@media (min-width: 768px) {
	.site-footer__legal { text-align: right; }
}
.site-footer__bottom {
	border-top: var(--rule-width) solid var(--c-rule);
	max-width: var(--w-content);
	margin: 0 auto;
	padding: var(--sp-4) var(--sp-5);
	display: flex;
	justify-content: space-between;
	font-size: 0.8125rem;
	color: var(--c-ink-lighter);
}

/* -------------------------------------------------------------
   15. Single post layout
   ------------------------------------------------------------- */
.post-header {
	max-width: var(--w-readable);
	margin: 0 auto;
	padding: var(--sp-8) var(--sp-5) var(--sp-6);
}
@media (min-width: 768px) {
	.post-header { padding: var(--sp-9) var(--sp-5) var(--sp-7); }
}
.post-header__meta {
	display: flex;
	gap: var(--sp-3);
	align-items: center;
	font-size: 0.8125rem;
	color: var(--c-ink-lighter);
	margin-bottom: var(--sp-4);
}
.post-header__category {
	color: var(--c-moss);
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 0.75rem;
}
.post-header__category:hover { color: var(--c-moss-light); }
.post-header__title {
	font-family: var(--ff-display);
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--c-ink);
	margin: 0 0 var(--sp-5);
	text-wrap: balance;
}
.post-header__lede {
	font-size: var(--fs-lede);
	line-height: 1.45;
	color: var(--c-ink-light);
	margin: 0 0 var(--sp-6);
	max-width: 50ch;
}
.post-header__byline {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	padding-top: var(--sp-4);
	border-top: var(--rule-width) solid var(--c-rule);
	font-size: 0.9375rem;
}
.post-header__byline .byline-link {
	color: var(--c-ink);
	font-weight: 500;
	transition: color var(--transition);
}
.post-header__byline .byline-link:hover { color: var(--c-moss); }
.post-header__date {
	color: var(--c-ink-lighter);
}
.post-header__readtime {
	color: var(--c-ink-lighter);
}

.post-featured {
	background: var(--c-cream-dark);
	max-width: var(--w-bleed);
	margin: 0 auto var(--sp-7);
}
.post-featured img {
	width: 100%;
	height: auto;
	max-height: 70vh;
	object-fit: cover;
}

.post-body {
	max-width: var(--w-readable);
	margin: 0 auto;
	padding: 0 var(--sp-5) var(--sp-8);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--c-ink);
}
.post-body > * { margin-block: 0 var(--sp-5); }
.post-body > *:first-child { margin-top: 0; }
.post-body > h2 {
	margin-top: var(--sp-7);
	margin-bottom: var(--sp-4);
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.15;
}
.post-body > h3 {
	margin-top: var(--sp-6);
	margin-bottom: var(--sp-3);
	font-size: 1.375rem;
	line-height: 1.25;
}
.post-body p { margin: 0 0 var(--sp-5); }
.post-body a {
	color: var(--c-ink);
	text-decoration: underline;
	text-decoration-color: var(--c-moss);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color var(--transition);
}
.post-body a:hover { color: var(--c-moss); }
.post-body img {
	width: 100%;
	height: auto;
	margin-block: var(--sp-6);
}
.post-body figure { margin: var(--sp-6) 0; }
.post-body figcaption {
	font-size: 0.875rem;
	color: var(--c-ink-light);
	text-align: center;
	margin-top: var(--sp-2);
}
.post-body ul, .post-body ol { margin: 0 0 var(--sp-5); padding-left: 1.4em; }
.post-body li { margin: var(--sp-2) 0; }

.post-footer {
	max-width: var(--w-readable);
	margin: 0 auto;
	padding: var(--sp-6) var(--sp-5);
	border-top: var(--rule-width) solid var(--c-rule);
}
.post-footer__author-card {
	display: flex;
	gap: var(--sp-4);
	align-items: flex-start;
	padding: var(--sp-5);
	background: var(--c-cream-dark);
}
.post-footer__author-avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--c-ink);
	color: var(--c-cream);
	font-family: var(--ff-display);
	font-weight: 500;
	font-size: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.post-footer__author-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.post-footer__author-name {
	font-family: var(--ff-display);
	font-size: 1.25rem;
	font-weight: 500;
	margin: 0 0 var(--sp-1);
	color: var(--c-ink);
}
.post-footer__author-name a:hover { color: var(--c-moss); }
.post-footer__author-bio {
	font-size: 0.9375rem;
	color: var(--c-ink-light);
	line-height: 1.55;
	margin: 0;
}

/* Inter-post nav */
.post-nav {
	max-width: var(--w-content);
	margin: 0 auto;
	padding: var(--sp-7) var(--sp-5);
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--sp-4);
	border-top: var(--rule-width) solid var(--c-rule);
}
@media (min-width: 768px) {
	.post-nav { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
}
.post-nav__item {
	padding: var(--sp-5);
	background: var(--c-cream-dark);
	display: flex;
	flex-direction: column;
	gap: var(--sp-2);
	transition: background-color var(--transition);
}
.post-nav__item:hover { background: var(--c-ochre); }
.post-nav__direction {
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--c-ink-lighter);
	font-weight: 500;
}
.post-nav__title {
	font-family: var(--ff-display);
	font-size: 1.125rem;
	color: var(--c-ink);
	font-weight: 500;
	line-height: 1.25;
	margin: 0;
}
.post-nav__item--next { text-align: right; }

/* ----- Magazine spread additions (current single.php layout) ----- */

.post-hero {
	position: relative;
	min-height: 380px;
	display: flex;
	align-items: flex-end;
	background:
		radial-gradient(circle at 25% 60%, rgba(217, 166, 72, 0.22), transparent 55%),
		radial-gradient(circle at 80% 25%, rgba(122, 31, 43, 0.32), transparent 60%),
		linear-gradient(135deg, var(--c-moss) 0%, var(--c-moss-light) 55%, var(--c-ink) 100%);
	color: var(--c-cream);
	overflow: hidden;
}
.post-hero--has-image {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.post-hero::after {
	content: '';
	position: absolute; inset: 0;
	background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
	background-size: 28px 28px;
	pointer-events: none;
}
.post-hero--has-image::after {
	display: none;
}
.post-hero__inner {
	position: relative; z-index: 1;
	max-width: 1200px; margin: 0 auto;
	width: 100%;
	padding: var(--sp-9) var(--sp-6) var(--sp-8);
}
.post-hero__meta {
	display: flex; gap: var(--sp-3); align-items: center;
	font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
	color: var(--c-ochre); font-weight: 600;
	margin-bottom: var(--sp-4);
}
.post-hero__meta a { color: var(--c-ochre); text-decoration: none; transition: color var(--transition); }
.post-hero__meta a:hover { color: var(--c-cream); }
.post-hero__title {
	font-family: var(--ff-display); font-weight: 500;
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	line-height: 1.02; letter-spacing: -0.02em;
	margin: 0 0 var(--sp-4);
	max-width: 18ch; text-wrap: balance;
	color: var(--c-cream);
}
/* Featured image already has the title baked in — hide the overlaid H1
   visually but keep it in the DOM for SEO and screen readers. */
.post-hero--has-image .post-hero__title {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.post-hero__byline {
	font-size: 0.9375rem; opacity: 0.9;
}
.post-hero__byline a {
	color: var(--c-cream);
	text-decoration: underline; text-decoration-color: var(--c-ochre);
	text-underline-offset: 4px;
	transition: color var(--transition);
}
.post-hero__byline a:hover { color: var(--c-ochre); }

.post-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: var(--sp-8);
	max-width: 1200px;
	margin: 0 auto;
	padding: var(--sp-9) var(--sp-6) var(--sp-10);
}
@media (max-width: 920px) {
	.post-layout {
		grid-template-columns: 1fr;
		gap: var(--sp-7);
		padding: var(--sp-7) var(--sp-5) var(--sp-8);
	}
}

/* .post-body inside .post-layout drops its own max-width / margin. */
.post-layout .post-body {
	max-width: none;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.post-lede {
	font-family: var(--ff-display);
	font-size: 1.375rem; line-height: 1.4;
	color: var(--c-ink);
	margin: 0 0 var(--sp-6) !important;
	font-style: italic;
}

.post-factgrid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--sp-3);
	margin: var(--sp-7) 0;
}
@media (max-width: 700px) { .post-factgrid { grid-template-columns: 1fr; } }
.post-factcard {
	padding: var(--sp-4) var(--sp-4) var(--sp-5);
	background: var(--c-cream-dark);
	border-top: 3px solid var(--c-moss);
}
.post-factcard__label {
	font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--c-moss); font-weight: 600;
	margin-bottom: var(--sp-2);
}
.post-factcard__title {
	font-family: var(--ff-display); font-size: 1.125rem;
	margin: 0 0 var(--sp-2); line-height: 1.2;
}
.post-factcard__body { font-size: 0.9375rem; line-height: 1.5; margin: 0; color: var(--c-ink); }

.post-sidebar {
	position: sticky; top: 90px;
	align-self: start;
	display: flex; flex-direction: column;
	gap: var(--sp-5);
}
@media (max-width: 920px) { .post-sidebar { position: static; } }
.post-sidebar__card {
	padding: var(--sp-4) var(--sp-5);
	background: var(--c-cream-dark);
}
.post-sidebar__label {
	font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--c-moss); font-weight: 600;
	margin-bottom: var(--sp-3);
}

.post-sidebar__toc { list-style: none; margin: 0; padding: 0; counter-reset: tocnum; }
.post-sidebar__toc li {
	counter-increment: tocnum;
	padding: var(--sp-3) 0;
	border-bottom: 1px solid rgba(0,0,0,0.08);
	display: flex; gap: var(--sp-3); align-items: baseline;
}
.post-sidebar__toc li:last-child { border-bottom: 0; }
.post-sidebar__toc li::before {
	content: counter(tocnum, decimal-leading-zero);
	font-family: var(--ff-display); font-size: 0.875rem;
	color: var(--c-moss); font-weight: 500;
	flex-shrink: 0;
}
.post-sidebar__toc a {
	color: var(--c-ink); text-decoration: none;
	font-size: 0.9375rem; line-height: 1.4;
	transition: color var(--transition);
}
.post-sidebar__toc a:hover { color: var(--c-moss); }

.post-sidebar__related { list-style: none; margin: 0; padding: 0; }
.post-sidebar__related li {
	padding: var(--sp-3) 0;
	border-bottom: 1px solid rgba(0,0,0,0.08);
}
.post-sidebar__related li:last-child { border-bottom: 0; }
.post-sidebar__related a {
	color: var(--c-ink); text-decoration: none;
	font-size: 0.9375rem; line-height: 1.4;
	display: block;
	transition: color var(--transition);
}
.post-sidebar__related a:hover { color: var(--c-moss); }

.post-sidebar__cta {
	padding: var(--sp-5);
	background: var(--c-moss);
	color: var(--c-cream);
}
.post-sidebar__cta h4 {
	font-family: var(--ff-display); font-size: 1.125rem;
	margin: 0 0 var(--sp-2);
	color: var(--c-cream);
}
.post-sidebar__cta p {
	font-size: 0.9375rem; line-height: 1.55;
	margin: 0 0 var(--sp-4);
	color: var(--c-cream);
}
.post-sidebar__cta a {
	display: inline-flex; align-items: center; gap: var(--sp-2);
	padding: 0.625rem 1rem;
	background: var(--c-cream); color: var(--c-ink);
	text-decoration: none;
	font-size: 0.875rem; font-weight: 500;
	transition: background-color var(--transition), color var(--transition);
}
.post-sidebar__cta a:hover { background: var(--c-ink); color: var(--c-cream); }

.post-footer-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--sp-6) var(--sp-10);
}
.post-footer-wrap .post-footer,
.post-footer-wrap .post-nav { max-width: none; }

/* ----- Header search ----- */
.search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px; height: 36px;
	background: transparent;
	border: 0;
	color: var(--c-ink);
	cursor: pointer;
	padding: 0;
	transition: color var(--transition);
}
.search-toggle:hover { color: var(--c-moss); }
.search-toggle[aria-expanded="true"] { color: var(--c-moss); }

.site-search-panel {
	background: var(--c-ink);
	color: var(--c-cream);
	max-height: 0;
	overflow: hidden;
	transition: max-height 200ms ease;
}
.site-search-panel.is-open {
	max-height: 200px;
}
.site-search-form {
	max-width: 1200px;
	margin: 0 auto;
	padding: var(--sp-4) var(--sp-6);
	display: flex;
	align-items: center;
	gap: var(--sp-4);
}
.site-search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid rgba(255,255,255,0.3);
	padding: var(--sp-2) 0;
	color: var(--c-cream);
	font-family: var(--ff-display);
	font-size: clamp(1.25rem, 2.5vw, 1.625rem);
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}
.site-search-form input[type="search"]::placeholder {
	color: rgba(245, 239, 228, 0.5);
}
.site-search-form input[type="search"]:focus {
	border-bottom-color: var(--c-ochre);
}
.site-search-form input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.site-search-form__submit {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	padding: 0.625rem 1rem;
	background: var(--c-cream);
	color: var(--c-ink);
	border: 0;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition: background-color var(--transition), color var(--transition);
}
.site-search-form__submit:hover { background: var(--c-ochre); color: var(--c-ink); }
.site-search-form__close {
	background: transparent;
	border: 0;
	color: var(--c-cream);
	font-size: 1.5rem;
	line-height: 1;
	padding: var(--sp-2);
	cursor: pointer;
	opacity: 0.7;
	transition: opacity var(--transition);
}
.site-search-form__close:hover { opacity: 1; }

.visually-hidden {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	border: 0;
}

/* -------------------------------------------------------------
   16. Archive / category layout
   ------------------------------------------------------------- */
.archive-header {
	max-width: var(--w-content);
	margin: 0 auto;
	padding: var(--sp-9) var(--sp-5) var(--sp-7);
	border-bottom: var(--rule-strong-width) solid var(--c-ink);
}
.archive-header__eyebrow {
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--c-moss);
	font-weight: 600;
	margin-bottom: var(--sp-4);
	display: block;
}
.archive-header__title {
	font-family: var(--ff-display);
	font-size: clamp(2.5rem, 7vw, 5rem);
	font-weight: 500;
	line-height: 0.95;
	letter-spacing: -0.025em;
	margin: 0 0 var(--sp-5);
	color: var(--c-ink);
}
.archive-header__desc {
	font-size: var(--fs-lede);
	line-height: 1.5;
	color: var(--c-ink-light);
	max-width: 56ch;
	margin: 0;
}

.archive-grid {
	max-width: var(--w-content);
	margin: 0 auto;
	padding: var(--sp-7) var(--sp-5);
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}

.pagination {
	max-width: var(--w-content);
	margin: 0 auto;
	padding: var(--sp-6) var(--sp-5) var(--sp-9);
	display: flex;
	justify-content: center;
	gap: var(--sp-3);
}
.pagination a, .pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 var(--sp-3);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--c-ink);
	background: var(--c-cream-dark);
	transition: background-color var(--transition), color var(--transition);
}
.pagination a:hover { background: var(--c-ink); color: var(--c-cream); }
.pagination .current {
	background: var(--c-ink);
	color: var(--c-cream);
}

/* -------------------------------------------------------------
   17. Author archive
   ------------------------------------------------------------- */
.author-header {
	max-width: var(--w-readable);
	margin: 0 auto;
	padding: var(--sp-9) var(--sp-5) var(--sp-7);
	text-align: center;
	border-bottom: var(--rule-width) solid var(--c-rule);
}
.author-header__avatar {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--c-ink);
	color: var(--c-cream);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--ff-display);
	font-size: 3rem;
	font-weight: 500;
	margin-bottom: var(--sp-5);
}
.author-header__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.author-header__name {
	font-family: var(--ff-display);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 500;
	line-height: 1.1;
	margin: 0 0 var(--sp-3);
	letter-spacing: -0.02em;
}
.author-header__bio {
	font-size: 1.0625rem;
	color: var(--c-ink-light);
	line-height: 1.55;
	max-width: 50ch;
	margin: 0 auto var(--sp-5);
}
.author-header__meta {
	font-size: 0.8125rem;
	color: var(--c-ink-lighter);
}

/* -------------------------------------------------------------
   18. Page (Privacy Policy etc.)
   ------------------------------------------------------------- */
.page-content {
	max-width: var(--w-readable);
	margin: 0 auto;
	padding: var(--sp-9) var(--sp-5) var(--sp-9);
}
.page-content h1 {
	font-size: clamp(2rem, 4vw, 2.75rem);
	line-height: 1.1;
	margin: 0 0 var(--sp-7);
}
.page-content p, .page-content li {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--c-ink);
}

/* -------------------------------------------------------------
   19. Forum (Asgaros) – placeholder; phase 2
   ------------------------------------------------------------- */
.asgaros-forum-wrapper, #af-wrapper {
	font-family: var(--ff-body) !important;
	color: var(--c-ink);
	max-width: var(--w-content);
	margin: var(--sp-7) auto;
	padding: 0 var(--sp-5);
}

/* -------------------------------------------------------------
   20. Block editor overrides (front-end render of Gutenberg blocks)
   ------------------------------------------------------------- */
.wp-block-button__link {
	background-color: var(--c-ink);
	color: var(--c-cream);
	padding: 0.875rem 1.5rem;
	border-radius: 0;
	font-weight: 500;
}
.wp-block-button__link:hover { background-color: var(--c-oxblood); }
.wp-block-quote {
	border-left: 3px solid var(--c-oxblood);
	padding: 0 0 0 var(--sp-5);
	font-family: var(--ff-display);
	font-size: 1.375rem;
	font-style: italic;
	margin: var(--sp-6) 0;
}
.wp-block-pullquote {
	border-top: var(--rule-strong-width) solid var(--c-ink);
	border-bottom: var(--rule-strong-width) solid var(--c-ink);
	padding: var(--sp-6) 0;
	margin: var(--sp-7) 0;
	text-align: center;
}
.wp-block-pullquote blockquote {
	border: 0;
	padding: 0;
	font-family: var(--ff-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 500;
	line-height: 1.2;
}
.wp-block-image figcaption { font-size: 0.875rem; color: var(--c-ink-light); }
.wp-block-separator { border-top: var(--rule-width) solid var(--c-rule); }

/* =============================================================
   20.5 PRN ARCHIVE (snippet CPT) - Pinterest-style discovery feed.
   - Cream page background
   - CSS columns layout, responsive
   - White cards, soft shadow, subtle hover lift
   - Natural-aspect images and videos (no clipping, no forced ratios)
   - Captions in lightbox only
   - Title-only on insight cards, full body in lightbox
   - Sticky-note is the only color-tinted card type
   ============================================================= */

/* Page background: cream on archive views only. Single snippet view inherits site default. */
body.post-type-archive-snippet,
body.tax-snippet_type {
	background: var(--c-cream);
}

/* Hero band */
.snippet-hero {
	max-width: var(--w-content);
	margin: 0 auto;
	padding: var(--sp-9) var(--sp-5) var(--sp-6);
	border-bottom: var(--rule-strong-width) solid var(--c-ink);
}
.snippet-hero__inner { max-width: 56rem; }
.snippet-hero__eyebrow {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--c-moss);
	font-weight: 600;
	margin-bottom: var(--sp-4);
}
.snippet-hero__title {
	font-family: var(--ff-display);
	font-size: clamp(2.5rem, 7vw, 5rem);
	font-weight: 500;
	line-height: 0.95;
	letter-spacing: -0.025em;
	margin: 0 0 var(--sp-4);
	color: var(--c-ink);
}
.snippet-hero__tagline {
	font-family: var(--ff-display);
	font-style: italic;
	font-size: var(--fs-lede);
	line-height: 1.45;
	color: var(--c-ink-light);
	max-width: 60ch;
	margin: 0 0 var(--sp-5);
}

/* Filter chips */
.snippet-chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	margin-top: var(--sp-4);
}
.snippet-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 0.9rem;
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--c-ink);
	background: var(--c-cream-dark);
	border: 1px solid transparent;
	transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}
.snippet-chip:hover { background: var(--c-ink); color: var(--c-cream); }
.snippet-chip.is-active {
	background: var(--c-ink);
	color: var(--c-cream);
	border-color: var(--c-ink);
}

/* Masonry: CSS columns. Cards flow into columns and pack naturally; break-inside
   keeps a single card from splitting across columns. */
.snippet-masonry {
	column-count: 4;
	column-gap: var(--sp-3);
	max-width: 1400px;
	margin: 0 auto;
	padding: var(--sp-6) var(--sp-5) var(--sp-9);
}
@media (max-width: 1100px) { .snippet-masonry { column-count: 3; } }
@media (max-width: 760px)  { .snippet-masonry { column-count: 2; } }
@media (max-width: 480px)  { .snippet-masonry { column-count: 1; } }

/* Card base: white, soft shadow, rounded corners. */
.snippet-card {
	display: block;
	width: 100%;
	margin: 0 0 var(--sp-3);
	background: #ffffff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.10), 0 1px 2px rgba(0, 0, 0, 0.06);
	transition: transform 200ms ease, box-shadow 200ms ease;
	cursor: pointer;
	break-inside: avoid;
	page-break-inside: avoid;
	color: var(--c-ink);
	position: relative;
}
.snippet-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
}
.snippet-card:focus-visible {
	outline: 2px solid var(--c-moss);
	outline-offset: 2px;
}
.snippet-card a { color: inherit; text-decoration: none; }

/* Media: natural aspect ratio, fills column width. No clipping. */
.snippet-card img,
.snippet-card video {
	width: 100%;
	height: auto;
	display: block;
}

/* Media wrappers (figure / ig-import / __media) collapse to image bounds. */
.snippet-card .snippet-card__media,
.snippet-card figure,
.snippet-card .ig-import,
.snippet-card .ig-import--video {
	margin: 0;
	padding: 0;
	display: block;
}

/* Body padding only on text-only card types. Media cards stay flush. */
.snippet-card--insight,
.snippet-card--quote,
.snippet-card--sticky-note,
.snippet-card--audio {
	padding: var(--sp-4);
}
.snippet-card--insight .snippet-card__body,
.snippet-card--quote .snippet-card__body,
.snippet-card--sticky-note .snippet-card__body,
.snippet-card--audio .snippet-card__body {
	padding: 0;
}

/* Title: subtle on all cards. */
.snippet-card__title {
	font-family: var(--ff-display);
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1.25;
	margin: 0;
	color: var(--c-ink);
}

/* Content text: small, readable, no forced clamping. */
.snippet-card__content {
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--c-ink);
}
.snippet-card__content p { margin: 0 0 var(--sp-3); }
.snippet-card__content p:last-child { margin-bottom: 0; }

/* Sticky-note: the only type-tinted background. Pale yellow. */
.snippet-card--sticky-note {
	background: #FFF6B8;
}

/* Quote: italic serif content. */
.snippet-card--quote .snippet-card__content {
	font-family: var(--ff-display);
	font-style: italic;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--c-ink);
}

/* Insight cards: show the title only; body opens in the lightbox.
   A small "Tap to read" affordance hints the click target. */
.snippet-card--insight {
	text-align: center;
}
.snippet-card--insight .snippet-card__title {
	font-family: var(--ff-display);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.25;
	margin: 0;
	text-align: center;
}
.snippet-card--insight .snippet-card__content { display: none; }
.snippet-card--insight .snippet-card__body::after {
	content: "Tap to read \2192";
	display: block;
	text-align: center;
	margin-top: var(--sp-3);
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-moss);
}

/* Audio: keep audio control flush. */
.snippet-card--audio audio { width: 100%; margin-top: var(--sp-3); }

/* Type label / meta: hidden on cards for a clean Pinterest feel. */
.snippet-card__meta { display: none; }

/* Captions and IG attribution: hidden on cards, shown in lightbox. */
.snippet-card figcaption,
.snippet-card .ig-import__attribution {
	display: none;
}

/* Hover-to-play hint on video cards. Disappears once the video starts playing. */
.snippet-card--video::after {
	content: "Hover to play";
	position: absolute;
	bottom: var(--sp-3);
	right: var(--sp-3);
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	font-size: 0.6875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.25rem 0.5rem;
	border-radius: 3px;
	opacity: 0;
	transition: opacity 200ms ease;
	pointer-events: none;
}
.snippet-card--video:hover::after { opacity: 1; }
.snippet-card--video.is-playing::after { opacity: 0; }

/* Empty paragraphs from wpautop should not take vertical space. */
.snippet-card p:empty,
.snippet-card br:only-child { display: none; }

/* Infinite-scroll sentinel: invisible but laid out so IntersectionObserver fires. */
.snippet-infinite-sentinel {
	display: block;
	width: 100%;
	height: 1px;
	margin-top: var(--sp-6);
}

/* -------------------------------------------------------------
   Lightbox: click a card to open a centered detail panel with the
   full content, including captions / attribution / essay body.
   ------------------------------------------------------------- */
.snippet-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--sp-6);
	opacity: 0;
	transition: opacity 200ms ease;
}
.snippet-lightbox[hidden] { display: none; }
.snippet-lightbox.is-open { opacity: 1; }
.snippet-lightbox__inner {
	position: relative;
	max-width: 720px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	background: var(--c-cream);
	padding: var(--sp-6) var(--sp-7);
	border-radius: 4px;
	color: var(--c-ink);
}
.snippet-lightbox__close {
	position: absolute;
	top: var(--sp-4);
	right: var(--sp-4);
	background: transparent;
	border: 0;
	color: var(--c-ink);
	font-size: 2.5rem;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	z-index: 1;
}
.snippet-lightbox__close:hover { color: var(--c-ochre); }
.snippet-lightbox__close:focus-visible { outline: 2px solid var(--c-ochre); outline-offset: 4px; }
.snippet-lightbox__inner img,
.snippet-lightbox__inner video {
	width: 100%;
	height: auto;
	display: block;
	max-height: 70vh;
	object-fit: contain;
	background: var(--c-ink);
}
.snippet-lightbox__inner .snippet-card__title {
	font-size: 1.5rem;
	margin-bottom: var(--sp-3);
	display: block;
}
.snippet-lightbox__inner figcaption {
	display: block;
	padding: var(--sp-3) 0 0;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--c-ink);
}
.snippet-lightbox__inner .ig-import__attribution {
	display: block;
	padding-top: var(--sp-3);
	font-size: 0.875rem;
	color: var(--c-ink-light);
}
.snippet-lightbox__inner .snippet-card__content {
	display: block;
	font-size: 1rem;
	line-height: 1.6;
}
/* Suppress the "Tap to read" hint inside the lightbox. */
.snippet-lightbox__inner .snippet-card--insight .snippet-card__body::after { display: none; }
.snippet-lightbox__inner .snippet-card__meta {
	display: block;
	margin-top: var(--sp-4);
	padding-top: var(--sp-3);
	border-top: 1px solid var(--c-rule);
	font-size: 0.6875rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--c-ink-lighter);
}

/* Body scroll lock while lightbox is open. */
body.no-scroll { overflow: hidden; }

/* -------------------------------------------------------------
   Single snippet view (fallback - the template_redirect normally
   sends single snippet requests back to the archive lightbox).
   ------------------------------------------------------------- */
.snippet-single-wrap {
	max-width: 720px;
	margin: 0 auto;
	padding: var(--sp-8) var(--sp-5);
}
.snippet-single-back {
	margin-bottom: var(--sp-5);
	font-size: 0.875rem;
}
.snippet-single-back a { color: var(--c-moss); }
.snippet-single-back a:hover { color: var(--c-oxblood); }

/* -------------------------------------------------------------
   21. Utilities + responsive helpers
   ------------------------------------------------------------- */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.text-balance { text-wrap: balance; }
.text-pretty  { text-wrap: pretty; }
.no-wrap      { white-space: nowrap; }
.hide-on-mobile { display: none; }
@media (min-width: 720px) { .hide-on-mobile { display: initial; } .hide-on-desktop { display: none; } }

/* Focus visible: consistent across the theme */
:focus-visible {
	outline: 2px solid var(--c-moss);
	outline-offset: 2px;
}

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

/* Print */
@media print {
	body { background: white; color: black; }
	.site-header, .site-footer, .post-nav, .bridge-section { display: none !important; }
	a { color: black; text-decoration: underline; }
}


/* ----- Header search (always-visible pill) ----- */
.site-search-pill {
	display: inline-flex;
	align-items: center;
	background: #EDEDED;
	border-radius: 9999px;
	padding: 0.5rem 1rem;
	box-shadow: 0 1px 3px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06);
	transition: box-shadow 200ms ease;
	min-width: 200px;
	max-width: 280px;
}
.site-search-pill:focus-within {
	box-shadow: 0 4px 12px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.08);
}
.site-search-pill svg {
	width: 16px; height: 16px;
	color: var(--c-ink-light);
	flex-shrink: 0;
	margin-right: 0.5rem;
}
.site-search-pill input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	outline: none;
	font-family: var(--ff-body);
	font-size: 0.875rem;
	color: var(--c-ink);
	padding: 0;
	-webkit-appearance: none;
	appearance: none;
}
.site-search-pill input::placeholder { color: var(--c-ink-light); opacity: 1; }
.site-search-pill input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }

@media (max-width: 720px) {
	.site-search-pill { display: none; }
}

/* -------------------------------------------------------------
   22. Writers index (/writers/) + About (/about/) + author hero v2
   ------------------------------------------------------------- */

/* Shared head block for writers/about pages */
.writers-page,
.about-page {
	max-width: var(--w-readable);
	margin: 0 auto;
	padding: var(--sp-9) var(--sp-5) var(--sp-9);
}
@media (min-width: 768px) {
	.writers-page,
	.about-page { padding: var(--sp-10) var(--sp-6) var(--sp-9); }
}

.writers-page__head,
.about-page__head {
	margin: 0 0 var(--sp-8);
	border-bottom: var(--rule-width) solid var(--c-rule);
	padding-bottom: var(--sp-6);
}
.writers-page__eyebrow,
.about-page__eyebrow {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--c-moss);
	font-weight: 600;
	margin-bottom: var(--sp-3);
}
.writers-page__title,
.about-page__title {
	font-family: var(--ff-display);
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0 0 var(--sp-5);
	color: var(--c-ink);
}
.writers-page__lede,
.about-page__lede {
	font-family: var(--ff-display);
	font-size: var(--fs-lede);
	line-height: 1.5;
	color: var(--c-ink-light);
	max-width: 60ch;
	margin: 0;
	font-weight: 400;
	text-wrap: pretty;
}

/* Writers grid: 4 cards */
.writers-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--sp-7);
	margin-bottom: var(--sp-8);
}
@media (min-width: 700px) {
	.writers-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6) var(--sp-7); }
}
@media (min-width: 1024px) {
	.writers-grid { grid-template-columns: repeat(2, 1fr); }
}

.writer-card {
	display: flex;
	flex-direction: column;
	gap: var(--sp-4);
}
.writer-card__photo-link {
	display: block;
	width: 100%;
	max-width: 260px;
}
.writer-card__photo {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--c-cream-dark);
	border: 1px solid var(--c-rule);
	transition: filter var(--transition);
}
.writer-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease;
}
.writer-card__photo-link:hover .writer-card__photo img { transform: scale(1.03); }
.writer-card__initial {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	font-family: var(--ff-display);
	font-size: 5rem;
	color: var(--c-cream);
	background: var(--c-ink);
}
.writer-card__body { display: flex; flex-direction: column; gap: var(--sp-2); }
.writer-card__name {
	font-family: var(--ff-display);
	font-size: clamp(1.5rem, 2.5vw, 1.875rem);
	font-weight: 500;
	letter-spacing: -0.015em;
	line-height: 1.15;
	margin: 0;
}
.writer-card__name a { color: var(--c-ink); transition: color var(--transition); }
.writer-card__name a:hover { color: var(--c-oxblood); }
.writer-card__credentials {
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--c-moss);
	font-weight: 600;
	margin: 0;
}
.writer-card__bio {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--c-ink);
	margin: var(--sp-2) 0 var(--sp-3);
	max-width: 52ch;
}
.writer-card__links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2) var(--sp-5);
	margin: 0;
	font-size: 0.9375rem;
}
.writer-card__archive-link {
	color: var(--c-ink);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: var(--c-moss);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color var(--transition);
}
.writer-card__archive-link:hover { color: var(--c-moss); }
.writer-card__livewell-link {
	color: var(--c-ink-lighter);
	font-size: 0.875rem;
	text-decoration: underline;
	text-decoration-color: var(--c-rule);
	text-underline-offset: 3px;
	transition: color var(--transition);
}
.writer-card__livewell-link:hover { color: var(--c-ink); }

.writers-page__foot {
	margin-top: var(--sp-8);
	padding-top: var(--sp-6);
	border-top: var(--rule-width) solid var(--c-rule);
	font-size: 0.9375rem;
	color: var(--c-ink-light);
	line-height: 1.6;
}
.writers-page__foot p { margin: 0 0 var(--sp-3); }
.writers-page__about-link { font-family: var(--ff-display); font-size: 1.125rem; }

/* About page sections */
.about-page__section {
	margin: 0 0 var(--sp-8);
	max-width: 64ch;
}
.about-page__section h2 {
	font-family: var(--ff-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.15;
	margin: 0 0 var(--sp-4);
	color: var(--c-ink);
}
.about-page__section p {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--c-ink);
	margin: 0 0 var(--sp-4);
}
.about-page__commitments {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: var(--sp-3);
}
.about-page__commitments li {
	position: relative;
	padding: var(--sp-3) 0 var(--sp-3) var(--sp-5);
	border-bottom: 1px solid var(--c-rule);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--c-ink);
}
.about-page__commitments li:last-child { border-bottom: 0; }
.about-page__commitments li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.35rem;
	width: 12px;
	height: 2px;
	background: var(--c-oxblood);
}
.about-page__writer-list {
	margin: 0 0 var(--sp-5);
	padding: 0;
	list-style: none;
	font-size: 1.0625rem;
	line-height: 1.7;
}
.about-page__writer-list li {
	padding: var(--sp-2) 0;
	border-bottom: 1px dotted var(--c-rule);
}
.about-page__writer-list li:last-child { border-bottom: 0; }
.about-page__writer-job { color: var(--c-ink-lighter); font-size: 0.95em; }
.about-page__crisis {
	padding: var(--sp-4) var(--sp-5);
	background: rgba(122, 31, 43, 0.06);
	border-left: 3px solid var(--c-oxblood);
	font-size: 1rem;
}

/* Author archive hero v2: larger avatar + credentials */
.author-header--large {
	padding-top: var(--sp-10);
	padding-bottom: var(--sp-8);
}
.author-header__avatar--large {
	width: 180px;
	height: 180px;
	font-size: 4.5rem;
}
@media (min-width: 768px) {
	.author-header__avatar--large { width: 200px; height: 200px; }
}
.author-header__credentials {
	font-size: 0.8125rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--c-moss);
	font-weight: 600;
	margin: 0 0 var(--sp-4);
}
.author-header__livewell-link {
	color: var(--c-ink-lighter);
	text-decoration: underline;
	text-decoration-color: var(--c-rule);
	text-underline-offset: 3px;
	transition: color var(--transition);
}
.author-header__livewell-link:hover { color: var(--c-ink); }
.author-header__sep { color: var(--c-ink-lighter); }

