/*
Theme Name: drb-journal
Theme URI: https://drbrighten.com
Author: Dr. Brighten team
Author URI: https://drbrighten.com
Description: Editorial / medical-journal theme for drbrighten.com. Zero build step, no jQuery, structural E-E-A-T signaling. See AGENTS.md before changing anything.
Version: 0.1.0
Requires at least: 6.5
Tested up to: 6.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: drb-journal
Tags: blog, news, editorial, accessibility-ready

==========================================================================
   drb-journal — style.css
   --------------------------------------------------------------------------
   00  Theme header (this block) — section map:
   01  Design tokens (:root) + @font-face
   02  Reset & base elements + accessibility primitives
   03  Typography
   04  Layout primitives (.wrap, .article-layout)
   05  Site header & navigation
   06  Site footer
   07  Buttons & form controls
   08  Cards (article, podcast, reviewer)              — Stage 2 ✓
   09  Article — header, meta, body                    — Stage 2 ✓
   10  E-E-A-T components                              — Stage 2 ✓
   11  Table of contents                               — Stage 2 ✓
   12  FAQ accordion                                   — Stage 2 ✓
   13  Archives & pagination                           — Stage 5 ✓
   14  Page sections (hero, trust bar, CTA, podcast)        — Stage 3 ✓ / Stage 5 ✓ (photo session pending)
   15  Ad slots                                        — Stage 2 ✓
   16  Legacy content escape hatch                     — Stage 5 ✓
   17  Utilities
   18  Print

   Built-in from the first commit (plan §10): forest-teal focus rings,
   scroll-padding-top under the sticky header, 3.25rem paragraph spacing,
   prefers-reduced-motion, no fixed heights on text containers.
   ========================================================================== */


/* ==========================================================================
   01  DESIGN TOKENS
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-display-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-display-400italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Metric-override fallbacks — the fallback occupies (nearly) the same box as
   the webfont, so the font-display: swap reflow is too small to register as
   CLS. Without these, the byline <time> shift measured 0.146 on throttled
   mobile. Overrides approximate the webfont's vertical metrics. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  ascent-override: 90.20%;
  descent-override: 22.48%;
  line-gap-override: 0%;
  size-adjust: 107.40%;
}

@font-face {
  font-family: "Playfair Fallback";
  src: local("Georgia");
  ascent-override: 95.27%;
  descent-override: 23.16%;
  line-gap-override: 0%;
  size-adjust: 113.50%;
}

:root {
  /* Color — warm-neutral, never clinical-cold. No pure white, no pure black. */
  --color-forest-teal:   #1C5C52;  /* primary ground, H2s, links */
  --color-deep-teal:     #163F38;  /* footer, pullquotes, callouts */
  --color-warm-gold:     #C9A84C;  /* the single accent */
  --color-antique-gold:  #A8893A;  /* gold hover */
  --color-cream:         #F5F0E8;  /* light section fill */
  --color-warm-white:    #FDFAF5;  /* page background */
  --color-deep-charcoal: #1A1612;  /* body copy */
  --color-warm-gray:     #6B6560;  /* captions, metadata */
  --color-soft-taupe:    #E8E0D5;  /* dividers, borders */

  /* Type */
  --font-headline: "Playfair Display", "Playfair Fallback", Georgia, serif;
  --font-body: "Inter", "Inter Fallback", system-ui, sans-serif;
  --text-h1: clamp(2.25rem, 1.8rem + 1.5vw, 2.75rem);
  --text-h2: clamp(1.5rem, 1.25rem + 0.8vw, 2rem);
  --text-h3: 1.375rem;
  --text-body: 1.125rem;      /* 18px */
  --text-caption: 0.875rem;
  --text-overline: 0.6875rem;
  --leading-body: 1.78;
  --leading-headline: 1.15;

  /* Layout */
  --width-content: 1120px;
  --width-article: 720px;
  --width-sidebar: 280px;
  --gap-layout: 48px;
  --header-height: 64px;

  /* Space ramp */
  --space-xs: 4px;  --space-sm: 8px;  --space-md: 16px; --space-lg: 24px;
  --space-xl: 32px; --space-2xl: 48px; --space-3xl: 64px; --space-4xl: 96px;

  /* Semantic roles — enforce the AA rules at the token level (§10) */
  --color-text:          var(--color-deep-charcoal);
  --color-text-muted:    var(--color-warm-gray);    /* 5.52:1 on warm-white */
  --color-link:          var(--color-forest-teal);  /* 7.46:1 on warm-white */
  --color-eyebrow:       var(--color-forest-teal);  /* NOT gold — gold is 2.19:1 on light */
  --color-eyebrow-on-dark: var(--color-warm-gold);  /* 5.10:1 on deep-teal only */
  --color-focus:         var(--color-forest-teal);
  --color-focus-on-dark: var(--color-cream);
  --color-border-input:  var(--color-warm-gray);    /* 1.4.11 needs 3:1; soft-taupe is 1.26 */
  --color-border-subtle: var(--color-soft-taupe);   /* decorative only */
  --color-text-on-dark:  var(--color-cream);        /* 10.27:1 on deep-teal */
  --color-text-muted-on-dark: rgba(245, 240, 232, 0.65); /* ~5.3:1 on deep-teal */

  /* Surface */
  --radius-sm: 2px; --radius-md: 4px; --radius-lg: 8px;
  --shadow-subtle:   0 1px 3px  rgba(26, 26, 26, 0.04);
  --shadow-card:     0 2px 8px  rgba(26, 26, 26, 0.06);
  --shadow-elevated: 0 4px 16px rgba(26, 26, 26, 0.08);
}

@media (max-width: 768px) {
  :root { --text-body: 1rem; --text-h3: 1.25rem; --header-height: 56px; }
}


/* ==========================================================================
   02  RESET & BASE ELEMENTS + ACCESSIBILITY PRIMITIVES
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  /* 2.4.11 Focus Not Obscured — the sticky header must never hide focus */
  scroll-padding-top: calc(var(--header-height) + var(--space-lg));
}

/* 1.4.10 Reflow backstop: the page must never scroll sideways, whatever
   the content (wide legacy tables, long URLs). `clip` (not `hidden`)
   avoids creating a scroll container that would break position: sticky. */
html, body {
  overflow-x: clip;
}

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

body {
  margin: 0;
  background: var(--color-warm-white);
  color: var(--color-text);
  font: var(--text-body) / var(--leading-body) var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

/* oEmbeds must respect the column too (TikTok blockquotes + iframes) */
iframe { max-width: 100%; }
.article-body iframe { width: 100%; }
.article-body .tiktok-embed,
.article-body blockquote.wp-embedded-content {
  margin-inline: auto;
  max-width: 325px;   /* TikTok's native portrait width */
}
.article-body .wp-block-embed__wrapper iframe { aspect-ratio: auto; }

/* Focus ring — forest-teal on light, cream on dark surfaces. Never gold. */
:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

.site-footer :focus-visible,
.section--teal :focus-visible {
  outline-color: var(--color-focus-on-dark);
}

/* Skip link — visible only on focus, above the sticky header */
.skip-link {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  z-index: 200;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-forest-teal);
  color: var(--color-cream);
  font-size: var(--text-caption);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transform: translateY(calc(-100% - var(--space-md)));
}

.skip-link:focus { transform: none; }


/* ==========================================================================
   03  TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  line-height: var(--leading-headline);
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-md);
  text-wrap: balance;
}

/* Serif → sans step-down at H3: journal section vs. sub-point */
h1 { font-size: var(--text-h1); font-weight: 700; }
h2 { font-size: var(--text-h2); font-weight: 700; color: var(--color-forest-teal); }
h3, h4, h5, h6 { font-family: var(--font-body); font-weight: 600; letter-spacing: -0.005em; }
h3 { font-size: var(--text-h3); }
h4 { font-size: 1.125rem; }
h5, h6 { font-size: 1rem; }

p { margin: 0 0 var(--space-md); }

/* Paragraph rhythm (revised 2026-09-21 per Bryce: 3.25rem read as ~2.5×
   line height and felt airy). 2.25rem = 36px = exactly 2× the 18px body font,
   the WCAG AAA 1.4.8 floor — visually a ~30% tighter gap. Drop to 2rem (32px)
   only if still too airy; that leaves AAA by 4px. */
.article-body p { margin-bottom: 2.25rem; }
.article-body { max-width: 65ch; }

a {
  color: var(--color-link);
  text-decoration-thickness: from-font;
  text-underline-offset: 0.18em;
  /* 30%-opacity teal underline that solidifies on hover */
  text-decoration-color: color-mix(in srgb, var(--color-link) 30%, transparent);
  transition: text-decoration-color 150ms ease, color 150ms ease;
}

a:hover { text-decoration-color: currentColor; }

ul, ol { padding-left: 1.5rem; }
li::marker { color: var(--color-forest-teal); }  /* teal, not gold — 2.19:1 */

blockquote {
  margin: var(--space-xl) 0;
  padding: var(--space-lg) var(--space-xl);
  background: var(--color-deep-teal);
  color: var(--color-text-on-dark);
  border-radius: var(--radius-md);
  font-family: var(--font-headline);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
}

blockquote p { margin: 0; }
blockquote cite { color: var(--color-text-muted-on-dark); }

hr {
  border: none;
  border-top: 1px solid var(--color-border-subtle);
  margin: var(--space-2xl) 0;
}

/* Centered 48px gold hairline — the medical-journal tell. Decorative (§10 1.4.11 exempt). */
.section-divider {
  width: 48px;
  height: 1px;
  margin: var(--space-3xl) auto;
  background: var(--color-warm-gold);
  opacity: 0.4;
}

code, kbd, pre, samp { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.9em; }
code { background: var(--color-cream); padding: 0.15em 0.4em; border-radius: var(--radius-sm); }
pre { overflow-x: auto; padding: var(--space-md); background: var(--color-cream); border-radius: var(--radius-md); }
pre code { background: none; padding: 0; }

table { width: 100%; border-collapse: collapse; margin: var(--space-lg) 0; }
th, td { padding: var(--space-sm) var(--space-md); border: 1px solid var(--color-border-subtle); text-align: left; }
th { font-weight: 600; background: var(--color-cream); }

::selection { background: var(--color-forest-teal); color: var(--color-cream); }


/* ==========================================================================
   04  LAYOUT PRIMITIVES
   ========================================================================== */

.wrap {
  max-width: var(--width-content);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

/* Article + sidebar scaffold. Stage 2 fills the sidebar with TOC/ads/newsletter;
   the grid degrades to a single column without it. */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--width-article)) var(--width-sidebar);
  gap: var(--gap-layout);
  align-items: start;
  justify-content: center;
}

.article-layout > .article-main { min-width: 0; }

/* Sticky sidebar rail (Stage 2 populates it) */
.article-layout > aside {
  position: sticky;
  top: calc(var(--header-height) + var(--space-lg));
  min-width: 0;
}

@media (max-width: 1024px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-layout > aside { position: static; }
}

.section {
  padding-block: var(--space-3xl);
}

.section--teal {
  background: var(--color-forest-teal);
  color: var(--color-cream);
}


/* ==========================================================================
   05  SITE HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-warm-white);
  border-bottom: 1px solid var(--color-border-subtle);
  transition: box-shadow 200ms ease;
}

/* Toggled by site.js (Stage 2). Styles ship now so nothing regresses later. */
.site-header--scrolled {
  box-shadow: 0 1px 0 var(--color-soft-taupe), var(--shadow-subtle);
}

/* Gold accent strip — decorative, exempt from 1.4.11 */
.site-header__accent {
  height: 2px;
  background: var(--color-warm-gold);
}

/* min-height, never height — 1.4.12 user spacing overrides must not clip (§10) */
.site-header__inner {
  max-width: var(--width-content);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  min-height: calc(var(--header-height) - 2px);
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.site-header__logo {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-forest-teal);
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: 44px;
}

.site-header__logo img { max-height: 40px; width: auto; }
.site-header__logo:hover { text-decoration: none; color: var(--color-deep-teal); }

/* Dropdown menus (depth 2) — hover + focus-within for keyboard, 2.4.11-safe */
.site-header__nav-wrap { margin-left: auto; }

.site-header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__nav > li { position: relative; }

/* Submenu panel */
.site-header__nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  margin: 0;
  padding: var(--space-sm) 0;
  list-style: none;
  background: var(--color-warm-white);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
  opacity: 0;
  visibility: hidden;
  transition: opacity 150ms ease, visibility 150ms ease;
  z-index: 200;
}

/* Reveal on hover (pointer) and focus-within (keyboard) */
@media (hover: hover) {
  .site-header__nav > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
  }
}
.site-header__nav > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
}

/* Submenu links */
.site-header__nav .sub-menu a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: var(--space-xs) var(--space-lg);
  white-space: nowrap;
  font-size: var(--text-caption);
  color: var(--color-deep-charcoal);
}

.site-header__nav .sub-menu a:hover,
.site-header__nav .sub-menu a:focus-visible {
  background: var(--color-cream);
  color: var(--color-forest-teal);
}

/* Caret indicator on parents */
.site-header__nav > li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.5;
}

/* Pointer bridge so the submenu doesn't close while moving to it */
.site-header__nav > li.menu-item-has-children > .sub-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

/* 2.5.8: >= 24px target; aiming for a comfortable 44px row */
.site-header__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--text-caption);
  font-weight: 500;
  color: var(--color-deep-charcoal);
  text-decoration: none;
  transition: color 200ms ease;
}

.site-header__nav a:hover,
.site-header__nav .current-menu-item > a { color: var(--color-forest-teal); }

.site-header__search {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.site-header__search input {
  width: clamp(7rem, 12vw, 11rem);
  min-height: 36px;
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--color-border-input);
  border-radius: var(--radius-sm);
  background: var(--color-warm-white);
  color: var(--color-text);
  font: var(--text-caption) / 1.4 var(--font-body);
}

.site-header__search input::placeholder { color: var(--color-text-muted); }

.site-header__search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  border: 1px solid var(--color-border-input);
  border-radius: var(--radius-sm);
  background: none;
  color: var(--color-forest-teal);
  cursor: pointer;
}

.site-header__search button:hover { background: var(--color-cream); }

/* Mobile: hamburger + off-canvas nav (site.js toggles .nav-open on <body>).
   Without JS the button is inert — the in-bar nav row remains as fallback. */
.site-header__hamburger {
	display: none;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	margin-left: var(--space-sm);
	border: 1px solid var(--color-border-input);
	border-radius: var(--radius-sm);
	background: none;
	color: var(--color-deep-charcoal);
	cursor: pointer;
}

.nav-mobile {
	/* display:none when closed — translated panels still create scrollable
	   overflow (visibility:hidden keeps layout boxes); mobile side-scroll bug */
	display: none;
	position: fixed;
	inset: 0;
	z-index: 150;
	align-content: start;
	gap: var(--space-lg);
	padding: calc(var(--header-height) + var(--space-xl)) var(--space-lg) var(--space-xl);
	background: var(--color-warm-white);
	overflow-y: auto;
}

body.nav-open .nav-mobile {
	display: grid;
}

body.nav-open {
	overflow: hidden;
}

.nav-mobile__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--space-xs);
}

.nav-mobile__list a {
	display: flex;
	align-items: center;
	min-height: 48px;
	font-family: var(--font-headline);
	font-size: 1.375rem;
	color: var(--color-deep-charcoal);
	text-decoration: none;
	border-bottom: 1px solid var(--color-border-subtle);
}

.nav-mobile__list a:hover { color: var(--color-forest-teal); }

.nav-mobile .sub-menu {
	list-style: none;
	padding-left: var(--space-lg);
	font-size: var(--text-body);
}

.nav-mobile__search {
	display: flex;
	gap: var(--space-sm);
	border-top: 1px solid var(--color-border-subtle);
	padding-top: var(--space-lg);
}

.nav-mobile__search input { flex: 1; }

@media (max-width: 768px) {
	.site-header__hamburger { display: inline-flex; }
	.site-header__nav { display: none; }      /* replaced by the off-canvas nav */
	.site-header__search { display: none; }   /* the off-canvas carries its own search */
}


/* ==========================================================================
   06  SITE FOOTER
   ========================================================================== */

.site-footer {
  background: var(--color-deep-teal);
  color: var(--color-text-on-dark);
  padding: var(--space-4xl) var(--space-lg) 0;
  margin-top: var(--space-4xl);
}

.site-footer__inner {
  max-width: var(--width-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr; /* 3 cols — Explore column removed 2026-10-09 */
  gap: var(--space-xl);
}

.site-footer__logo {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-cream);
  text-decoration: none;
}

.site-footer__logo:hover { text-decoration: none; }

.site-footer__description {
  font-size: var(--text-caption);
  color: var(--color-text-muted-on-dark);
  line-height: 1.7;
  margin: var(--space-md) 0 var(--space-lg);
}

.site-footer__socials { display: flex; gap: var(--space-sm); }

.site-footer__social-link {
  min-width: 32px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(245, 240, 232, 0.08);
  color: var(--color-cream);
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease;
}

.site-footer__social-link:hover {
  background: var(--color-warm-gold);       /* gold fill on dark — allowed */
  color: var(--color-deep-charcoal);
  text-decoration: none;
}

/* Gold overline on deep-teal — 5.10:1, the one sanctioned gold-on-dark use.
   Column headings are <p class="site-footer__heading"> labels, not headings —
   keeps the document outline sequential no matter what the article above ended on. */
.site-footer h2,
.site-footer h3,
.site-footer .site-footer__heading {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: var(--text-overline);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--color-eyebrow-on-dark);
}

.site-footer .site-footer__heading { margin: 0 0 var(--space-lg); }

.site-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: 0;
  padding: 0;
}

.site-footer__links a {
  display: inline-block;
  padding-block: 4px;               /* 2.5.8: lift toward 24px targets */
  font-size: var(--text-caption);
  color: var(--color-text-muted-on-dark);
  text-decoration: none;
  transition: color 200ms ease;
}

.site-footer__links a:hover { color: var(--color-cream); }

.site-footer__newsletter-text {
  font-size: var(--text-caption);
  color: var(--color-text-muted-on-dark);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

/* Stay in the Know — Kit opt-in via the shared drb-marketing form
   handler (no second handler here; the theme renders markup only). */
.site-footer__form-row {
  display: flex;
  max-width: 360px;
  border: 1.5px solid rgba(245, 240, 232, 0.4);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(253, 250, 245, 0.06);
}

.site-footer__form-row input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0.875rem 1rem;
  min-height: auto;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  color: var(--color-warm-white);
}

.site-footer__form-row input::placeholder { color: rgba(245, 240, 232, 0.65); }

.site-footer__form-row input:focus-visible {
  outline: 2px solid var(--color-cream);
  outline-offset: -3px;
}

.site-footer__form-row button {
  padding: 0.875rem 1.25rem;
  background: var(--color-warm-gold);
  color: var(--color-deep-charcoal);
  border: none;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 200ms ease;
}

.site-footer__form-row button:hover { background: var(--color-antique-gold); }

.site-footer__success-title {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  color: var(--color-warm-white);
  margin: 0;
}

/* The global forest-teal ::selection disappears against the footer's
   deep-teal ground — gold carries it here (fill on dark, §3.2). */
.site-footer ::selection {
  background: var(--color-warm-gold);
  color: var(--color-deep-charcoal);
}

.site-footer__bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  margin-top: var(--space-2xl);
  padding: var(--space-lg) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.site-footer__copyright { font-size: var(--text-overline); color: var(--color-text-muted-on-dark); }

.site-footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-lg); }

.site-footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  font-size: var(--text-overline);
  color: var(--color-text-muted-on-dark);
  text-decoration: none;
  transition: color 200ms ease;
}

.site-footer__legal a:hover { color: var(--color-cream); }

/* Language switcher (WPML). Renders only when 2+ languages are published;
   mirrors the legal links, active language in cream (not gold — text stays
   quiet in the bottom bar). */
.site-footer__languages ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__languages a,
.site-footer__languages span[aria-current] {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  font-size: var(--text-overline);
  color: var(--color-text-muted-on-dark);
  text-decoration: none;
  transition: color 200ms ease;
}

.site-footer__languages a:hover { color: var(--color-cream); }

.site-footer__languages span[aria-current] { color: var(--color-cream); }

.site-footer__disclaimer {
  grid-column: 1 / -1;
  padding-bottom: var(--space-lg);
  font-size: 0.625rem;
  color: var(--color-text-muted-on-dark);  /* 0.65 alpha — passes AA; prototype's 0.3 did not */
  line-height: 1.6;
  max-width: 720px;
  margin: 0;
}

@media (max-width: 768px) {
  .site-footer__inner { grid-template-columns: 1fr; gap: var(--space-xl); }
  .site-footer__bottom { flex-direction: column; text-align: center; }
  .site-footer__legal { justify-content: center; }
  .site-footer__languages ul { justify-content: center; }
}


/* ==========================================================================
   07  BUTTONS & FORM CONTROLS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  min-height: 44px;                 /* never height — 1.4.12 */
  padding: 0.5rem 1.125rem;
  font-family: var(--font-body);
  font-size: var(--text-overline);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.btn:hover { text-decoration: none; }

/* Charcoal on gold — 7.87:1, passes AAA */
.btn--primary {
  background: var(--color-warm-gold);
  color: var(--color-deep-charcoal);
  border: 1px solid var(--color-warm-gold);
}

.btn--primary:hover { background: var(--color-antique-gold); border-color: var(--color-antique-gold); }

/* Forest-teal ghost on light — 7.46:1. The gold ghost variant is dark-surface only. */
.btn--ghost {
  background: transparent;
  color: var(--color-forest-teal);
  border: 1px solid var(--color-forest-teal);
}

.btn--ghost:hover { background: var(--color-forest-teal); color: var(--color-cream); }

/* Gold ghost on deep-teal surfaces only — gold text 5.10:1 there, 2.19:1 on light */
.section--teal .btn--ghost,
.site-footer .btn--ghost {
  color: var(--color-warm-gold);
  border-color: var(--color-warm-gold);
}

/* Outline-light: cream border + cream text on dark bands (teal-on-teal is 1.49:1) */
.btn--outline-light {
  background: transparent;
  color: var(--color-cream);
  border: 1px solid var(--color-cream);
}

.btn--outline-light:hover {
  background: var(--color-cream);
  color: var(--color-deep-teal);
}

.btn--small { min-height: 36px; padding: 0.375rem 0.875rem; }

/* Form controls — 1.4.11: borders warm-gray (5.52:1), never soft-taupe (1.26) */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="url"],
input[type="password"],
textarea,
select {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border-input);
  border-radius: var(--radius-sm);
  background: var(--color-warm-white);
  color: var(--color-text);
  font: var(--text-caption) / 1.5 var(--font-body);
  min-height: 44px;
}

input::placeholder, textarea::placeholder { color: var(--color-text-muted); }

textarea { min-height: 8rem; resize: vertical; }


/* ==========================================================================
   08  CARDS
   ========================================================================== */

.card {
  background: var(--color-warm-white);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-subtle);
}

.related-articles__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-md);
}

.card__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.35;
  margin: 0 0 var(--space-xs);
}

.card__title a { color: var(--color-deep-charcoal); text-decoration: none; }
.card__title a:hover { color: var(--color-forest-teal); text-decoration: underline; }

.card__excerpt {
  font-size: var(--text-caption);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-sm);
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  margin: 0;
  font-size: var(--text-overline);
  color: var(--color-text-muted);
}

.card__reviewer {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-forest-teal);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Episode card — horizontal: artwork left, content right (§3.6) */
.episode-card {
  border-bottom: 1px solid var(--color-border-subtle);
}

.episode-card__link {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  color: inherit;
  text-decoration: none;
}

.episode-card__link:hover .episode-card__title { color: var(--color-forest-teal); text-decoration: underline; }

.episode-card__image { position: relative; }

.episode-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.episode-card__number {
  display: block;
  font-size: var(--text-overline);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-eyebrow);
  margin-bottom: var(--space-xs);
}

.episode-card__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.35;
  margin: 0 0 var(--space-xs);
}

.episode-card__excerpt {
  font-size: var(--text-caption);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-sm);
}

.episode-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: 0;
  font-size: var(--text-overline);
  color: var(--color-text-muted);
}

.episode-card__meta .dot { color: var(--color-text-muted); }

.episode-card__guest {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: var(--space-sm) 0 0;
}

.episode-card__guest-avatar, .episode-card__guest img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin: 0;
}

.episode-card__guest-name { font-size: var(--text-caption); font-weight: 600; }

@media (max-width: 600px) {
  .episode-card__link { grid-template-columns: 112px minmax(0, 1fr); gap: var(--space-md); }
}


/* ==========================================================================
   09  ARTICLE — HEADER, META, BODY
   ========================================================================== */

.article-header {
  padding-block: var(--space-2xl) var(--space-xl);
  background: var(--color-warm-white);
  border-bottom: 1px solid var(--color-border-subtle);
}

.article-header__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: var(--space-2xl);
  align-items: start;
}

@media (max-width: 1024px) {
  .article-header__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
}

.breadcrumbs {
  font-size: var(--text-overline);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-md);
}

.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-forest-teal); }
.breadcrumbs__sep { opacity: 0.5; margin-inline: 4px; }

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin: 0 0 var(--space-md);
}

.category-pills__pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 12px;
  border: 1px solid var(--color-border-subtle);
  border-radius: 999px;
  background: var(--color-cream);
  color: var(--color-forest-teal);
  font-size: var(--text-overline);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.category-pills__pill:hover { border-color: var(--color-forest-teal); text-decoration: none; }

.article-header__title {
  font-size: clamp(2rem, 1.6rem + 1.8vw, 2.75rem);
  margin-bottom: var(--space-md);
}

.article-header__excerpt {
  max-width: 65ch;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

/* Byline strip */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md) var(--space-lg);
  font-size: var(--text-caption);
  color: var(--color-text-muted);
}

.article-meta__author {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.article-meta__avatar, .article-meta__author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0;
}

.article-meta__author a { color: var(--color-deep-charcoal); font-weight: 600; }
.article-meta__author a:hover { color: var(--color-forest-teal); }

.article-meta__dates time { color: inherit; }

.share-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 4px 14px;
  border: 1px solid var(--color-border-input);
  border-radius: 999px;
  background: none;
  color: var(--color-forest-teal);
  font: 600 var(--text-overline) / 1 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.share-link:hover { background: var(--color-cream); }
.share-link.is-copied { background: var(--color-forest-teal); color: var(--color-cream); }

/* Hero figure */
.article-hero {
  margin: var(--space-xl) 0 0;
}

.article-hero img { width: 100%; border-radius: var(--radius-md); }

.article-hero__caption {
  margin-top: var(--space-sm);
  font-size: var(--text-caption);
  color: var(--color-text-muted);
  border-left: 2px solid var(--color-warm-gold);  /* decorative */
  padding-left: var(--space-sm);
}

/* Body — anchor targets clear the sticky header */
.article-body :is(h2, h3, h4)[id] {
  scroll-margin-top: calc(var(--header-height) + var(--space-xl));
}

.article-body figure { margin: var(--space-xl) 0; }
.article-body figcaption {
  font-size: var(--text-caption);
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}

/* Post footer spacing between components */
.article-main > :is(.faq-section, .author-bio, .medical-review, .related-articles, .post-nav) {
  margin-top: var(--space-2xl);
}

.post-nav .nav-links {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.post-nav .nav-previous, .post-nav .nav-next { font-size: var(--text-caption); min-width: 200px; }
.post-nav .nav-next { text-align: right; }


/* ==========================================================================
   10  E-E-A-T COMPONENTS
   ========================================================================== */

/* Proof rail — OD port (§3.8): trust visible beside the headline */
.proof-rail {
  display: grid;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-warm-white);
}

.proof-rail__item {
  padding: var(--space-md) var(--space-lg);
}

.proof-rail__item + .proof-rail__item { border-top: 1px solid var(--color-border-subtle); }

.proof-rail__label {
  display: block;
  margin: 0 0 var(--space-xs);
  color: var(--color-eyebrow);           /* forest-teal — never gold on light */
  font-size: var(--text-overline);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proof-rail__reviewer {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-deep-charcoal);
  font-weight: 600;
  text-decoration: none;
}

.proof-rail__reviewer:hover { color: var(--color-forest-teal); text-decoration: none; }

.proof-rail__avatar, .proof-rail__reviewer img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0;
  flex-shrink: 0;
}

.proof-rail__note {
  display: block;
  margin-top: var(--space-xs);
  font-size: var(--text-caption);
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* Reviewer badge — shield + attribution line */
.reviewer-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: var(--space-sm) 0 0;
  font-size: var(--text-caption);
  color: var(--color-text-muted);
}

.reviewer-badge__shield { color: var(--color-forest-teal); flex-shrink: 0; }
.reviewer-badge a { color: var(--color-deep-charcoal); font-weight: 500; }
.reviewer-badge a:hover { color: var(--color-forest-teal); }
.reviewer-badge__date { color: var(--color-text-muted); }

/* References — markup comes from drb-footnotes; theme styles it (§3.3).
   Rendered at the very bottom of the article column since 2026-09-21 —
   after related reading and the post navigation. */
.article-references {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border-subtle);
}

.article-references h2 {
  margin-bottom: var(--space-md);
}

.article-references ol {
  font-size: var(--text-caption);
  line-height: 1.65;
  color: var(--color-text-muted);
}

.article-references ol li {
  padding-left: 0.5em;
  margin-bottom: var(--space-sm);
}

.article-references a { word-break: break-word; }

/* Author bio — cream card (§3.3) */
.author-bio {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--color-cream);
  border-radius: var(--radius-md);
}

.author-bio__avatar, .author-bio img.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  flex-shrink: 0;
  margin: 0;
}

.author-bio__overline {
  margin: 0 0 var(--space-xs);
  font-size: var(--text-overline);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-eyebrow);           /* forest-teal */
}

.author-bio__name {
  margin: 0 0 2px;
  font-family: var(--font-headline);
  font-size: 1.25rem;
}

.author-bio__name a { color: var(--color-deep-charcoal); text-decoration: none; }
.author-bio__name a:hover { color: var(--color-forest-teal); }

.author-bio__credentials {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--color-forest-teal);
}

.author-bio__text {
  margin: 0;
  font-size: var(--text-caption);
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 60ch;
}

@media (max-width: 600px) {
  .author-bio { flex-direction: column; }
}

/* Medical review disclosure (§3.3) */
.medical-review {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-lg) var(--space-xl);
  border: 1px solid var(--color-border-subtle);
  border-left: 3px solid var(--color-forest-teal);
  border-radius: var(--radius-md);
}

.medical-review__shield { color: var(--color-forest-teal); flex-shrink: 0; margin-top: 3px; }

.medical-review p {
  margin: 0;
  font-size: var(--text-caption);
  line-height: 1.6;
  color: var(--color-text-muted);
}

.medical-review a { color: var(--color-forest-teal); font-weight: 500; }

/* Editorial-trust block patterns (§3.3a) */
.clinical-disclaimer,
.guideline-framework,
.clinical-support-resources {
  margin: var(--space-xl) 0;
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-md);
  background: var(--color-cream);
}

.clinical-disclaimer {
  border-left: 3px solid var(--color-forest-teal);
}

.guideline-framework {
  border: 1px solid var(--color-border-subtle);
  background: var(--color-warm-white);
}

.guideline-framework__eyebrow,
.clinical-support-resources__label {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-overline);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-eyebrow);
}

.clinical-support-resources {
  border: 1px dashed var(--color-warm-gray);
  background: var(--color-warm-white);
}

.clinical-support-resources p, .clinical-support-resources li { font-size: var(--text-caption); }


/* ==========================================================================
   11  TABLE OF CONTENTS
   ========================================================================== */

.toc--mobile { display: none; }

.toc {
  font-size: var(--text-caption);
}

.toc__title {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-overline);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-eyebrow);
}

.toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}

.toc__item {
  border-left: 2px solid var(--color-border-subtle);
}

/* Active state: forest-teal (contrast-safe). Gold was rejected at 2.19:1. */
.toc__item.is-active {
  border-left-color: var(--color-forest-teal);
  font-weight: 600;
}

.toc__item.is-active > a { color: var(--color-forest-teal); }

.toc__item a {
  display: block;
  padding: 6px 0 6px var(--space-md);
  min-height: 24px;
  color: var(--color-text-muted);
  text-decoration: none;
  line-height: 1.45;
}

.toc__item a:hover { color: var(--color-forest-teal); }

.toc__item--level3 a { padding-left: calc(var(--space-md) + var(--space-md)); }

/* Sidebar TOC panel — scrollable nav region for long articles */
.article-sidebar .toc {
  padding: var(--space-lg);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  background: var(--color-warm-white);
}

.article-sidebar .toc__list {
  max-height: 70vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.article-sidebar__ad { margin-top: var(--space-lg); }

@media (max-width: 1024px) {
  .toc--mobile {
    display: block;
    margin: 0 0 var(--space-xl);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-md);
  }

  .toc--mobile > summary {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: var(--space-sm) var(--space-md);
    cursor: pointer;
    font-weight: 600;
    font-size: var(--text-body);
    list-style-position: inside;
  }

  .toc--mobile[open] > summary { border-bottom: 1px solid var(--color-border-subtle); }

  .toc--mobile .toc__list { padding: var(--space-sm) var(--space-md); }
}


/* ==========================================================================
   12  FAQ ACCORDION — native <details>, zero JS
   ========================================================================== */

.faq-section__title {
  margin-bottom: var(--space-lg);
}

.faq-section__item {
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  background: var(--color-warm-white);
}

.faq-section__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: 56px;
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style-position: outside;
}

/* CSS-rotated chevron — zero JS */
.faq-section__item summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-forest-teal);
  border-bottom: 2px solid var(--color-forest-teal);
  transform: rotate(45deg);
  transition: transform 150ms ease;
  flex-shrink: 0;
}

.faq-section__item[open] summary::after {
  transform: rotate(225deg);
}

.faq-section__answer {
  padding: 0 var(--space-lg) var(--space-md);
  font-size: var(--text-caption);
  line-height: 1.65;
  color: var(--color-text-muted);
}


/* ==========================================================================
   13  ARCHIVES & PAGINATION (entry rows, library lists, legal, reviewers, front)
   ========================================================================== */

/* Article cards — browse grid (thumbnails lead; hover invites the click) */
.entry-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: var(--space-lg);
}

.article-card {
  display: flex;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  background: var(--color-warm-white);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.article-card:hover {
  border-color: var(--color-forest-teal);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.article-card__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.article-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: var(--color-cream);
}

.article-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.article-card:hover .article-card__img { transform: scale(1.03); }

.article-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-headline);
  font-size: 3rem;
  color: var(--color-forest-teal);
  opacity: 0.35;
}

.article-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: var(--space-md) var(--space-lg) var(--space-lg);
}

.article-card__category {
  margin: 0 0 var(--space-xs);
  font-size: var(--text-overline);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-eyebrow);
}

.article-card__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.35;
  margin: 0 0 var(--space-xs);
}

.article-card__title a, .article-card__link .article-card__title { color: var(--color-deep-charcoal); }
.article-card:hover .article-card__title { color: var(--color-forest-teal); }

.article-card__excerpt {
  font-size: var(--text-caption);
  line-height: 1.55;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-md);
}

.article-card__meta {
  margin: auto 0 0;   /* pin to card floor */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-overline);
  color: var(--color-text-muted);
}

.article-card__reviewer {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-forest-teal);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .article-card { transition: none; }
  .article-card:hover { transform: none; }
  .article-card__img { transition: none; }
}

/* Topic pathways — child/sibling pills inside category heroes */
.topic-pathways { margin-top: var(--space-lg); }

.topic-pathways__label {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-overline);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-eyebrow);
}

/* Search + 404 headers */
.search-header { padding-block: var(--space-2xl) var(--space-lg); }

.search-header__form {
  display: flex;
  gap: var(--space-sm);
  margin-block: var(--space-lg) var(--space-md);
  max-width: 560px;
}

.search-header__form input { flex: 1; }

.notfound-header { padding-block: var(--space-3xl) var(--space-xl); }

/* Legal layout — nav rail + prose */
.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: var(--space-2xl);
  padding-block: var(--space-xl);
}

.legal-nav__label {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-overline);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-eyebrow);
}

.legal-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-xs);
}

.legal-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  border-left: 2px solid var(--color-border-subtle);
  font-size: var(--text-caption);
  color: var(--color-text-muted);
  text-decoration: none;
}

.legal-nav__list a:hover { color: var(--color-forest-teal); }
.legal-nav__list a[aria-current="page"] { border-left-color: var(--color-forest-teal); color: var(--color-forest-teal); font-weight: 600; }

.legal-main .article-body { max-width: 72ch; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
}

/* Reviewer archive — /reviewers/ landing (decision #22): review-process
   content first, then the roster as condensed author boxes (cream card,
   96px headshot, name, credentials, affiliation — the .author-bio look). */
.review-process {
  padding: var(--space-xl);
  background: var(--color-cream);
  border-radius: var(--radius-md);
}

.review-process h2 { margin-bottom: var(--space-md); }
.review-process .btn { margin-top: var(--space-md); }

.reviewer-section { margin-top: var(--space-3xl); }

.reviewer-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-md);
  margin-bottom: var(--space-lg);
}

.reviewer-section__head h2 { margin: 0; }

.reviewer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.reviewer-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-cream);
  border-radius: var(--radius-md);
}

.reviewer-card__portrait { flex-shrink: 0; }

.reviewer-card__img, .reviewer-card__portrait img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0;
  display: block;
}

.reviewer-card__name {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
  margin: 0 0 2px;
}

.reviewer-card__name a { color: var(--color-deep-charcoal); text-decoration: none; }
.reviewer-card__name a:hover { color: var(--color-forest-teal); }

.reviewer-card__credentials { margin: 0 0 2px; font-size: var(--text-caption); font-weight: 600; color: var(--color-forest-teal); }
.reviewer-card__affiliation { margin: 0; font-size: var(--text-caption); color: var(--color-text-muted); }

@media (max-width: 600px) {
  .reviewer-card { padding: var(--space-md); }
}

/* Front page */
.front-hero {
  background: var(--color-warm-white);
  border-bottom: 1px solid var(--color-border-subtle);
  padding-block: var(--space-3xl) var(--space-2xl);
}

.front-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: var(--space-2xl);
  align-items: start;
}

.front-hero__title {
  font-size: clamp(2.1rem, 1.7rem + 1.9vw, 3rem);
  text-wrap: balance;
  margin-bottom: var(--space-md);
}

.front-hero__lede {
  max-width: 56ch;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.front-hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-md); margin: 0; }

.section-title {
  font-size: var(--text-h2);
  margin-bottom: var(--space-lg);
}

.section-title--on-dark { color: var(--color-cream); }

.front-topics { padding-block: var(--space-2xl); }

.front-episodes { margin-block: var(--space-md) var(--space-lg); }

/* Episode cards on dark sections (front-page podcast band) */
.section--teal .episode-card { border-bottom-color: rgba(245, 240, 232, 0.15); }
.section--teal .episode-card__link { color: var(--color-cream); }
.section--teal .episode-card__title { color: var(--color-cream); }
.section--teal .episode-card__title a { color: var(--color-cream); }
.section--teal .episode-card__excerpt { color: var(--color-text-muted-on-dark); }
.section--teal .episode-card__meta, .section--teal .episode-card__meta .dot { color: var(--color-text-muted-on-dark); }
.section--teal .episode-card__number { color: var(--color-warm-gold); } /* gold overline on deep teal — sanctioned */

.front-books { padding-block: var(--space-2xl); }

.front-books__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-sm);
}

.front-books__list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-family: var(--font-headline);
  font-size: 1.125rem;
}

@media (max-width: 900px) {
  .front-hero__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   14  PAGE SECTIONS — hero, trust bar, CTA (Stage 5) + podcast sections (Stage 3)
   ========================================================================== */

/* Video hero — listen-first episode opener */
.video-hero {
  background: var(--color-deep-teal);
  padding-block: var(--space-xl);
}

.video-hero__embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-deep-charcoal);
}

.video-hero__embed iframe,
.video-hero__embed img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Episode header */
.episode-header { padding-block: var(--space-xl) var(--space-lg); }

.episode-header__number {
  margin: 0 0 var(--space-xs);
  font-size: var(--text-overline);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-eyebrow);
}

.episode-header__title {
  font-size: clamp(1.75rem, 1.45rem + 1.2vw, 2.25rem);
  margin-bottom: var(--space-sm);
}

.episode-meta {
  font-size: var(--text-caption);
  color: var(--color-text-muted);
  margin: 0;
}

.dot { margin-inline: 4px; }

/* Listen On — high on episode pages, and in series heroes */
.listen-on {
  margin-block: var(--space-lg);
}

.listen-on__label {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-overline);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-eyebrow);
}

.listen-on__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.listen-on__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: var(--space-xs) var(--space-md);
  border: 1px solid var(--color-border-input);
  border-radius: 999px;
  background: var(--color-warm-white);
  color: var(--color-deep-charcoal);
  font-size: var(--text-caption);
  font-weight: 600;
  text-decoration: none;
}

.listen-on__link:hover { border-color: var(--color-forest-teal); color: var(--color-forest-teal); text-decoration: none; }

/* Guest card — doubles as the reviewer link (§4) */
.guest-card {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg) var(--space-xl);
  background: var(--color-cream);
  border-radius: var(--radius-md);
  margin-block: var(--space-xl);
}

.guest-card__avatar-img, .guest-card__avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0;
  flex-shrink: 0;
}

.guest-card__overline {
  margin: 0 0 2px;
  font-size: var(--text-overline);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-eyebrow);
}

.guest-card__name {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  margin: 0 0 2px;
}

.guest-card__name a { color: var(--color-deep-charcoal); text-decoration: none; }
.guest-card__name a:hover { color: var(--color-forest-teal); }

.guest-card__credentials {
  margin: 0 0 var(--space-xs);
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--color-forest-teal);
}

.guest-card__bio {
  margin: 0;
  font-size: var(--text-caption);
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* Transcript — low, native details, no fixed heights */
.transcript { margin-top: var(--space-2xl); }

.transcript__title { margin-bottom: var(--space-md); }

.transcript__toggle > summary {
  display: flex;
  align-items: center;
  min-height: 48px;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-forest-teal);
}

.transcript__toggle[open] > summary { margin-bottom: var(--space-lg); }

.transcript__body { font-size: var(--text-caption); line-height: 1.7; }

/* Category hero — podcast archive + topic archives */
.category-hero {
  background: var(--color-warm-white);
  border-bottom: 1px solid var(--color-border-subtle);
  padding-block: var(--space-2xl);
}

.category-hero__overline {
  margin: var(--space-md) 0 var(--space-xs);
  font-size: var(--text-overline);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-eyebrow);
}

.category-hero__title {
  font-size: clamp(1.9rem, 1.55rem + 1.4vw, 2.5rem);
  margin-bottom: var(--space-sm);
}

.category-hero__description {
  max-width: 65ch;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.category-hero__expert {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.category-hero__expert-avatar, .category-hero__expert img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0;
}

.category-hero__expert-text { margin: 0; font-size: var(--text-caption); color: var(--color-text-muted); }

.listen-on--series { margin-top: var(--space-lg); }

/* Library search — the articles hero prompt */
.library-search {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  max-width: 520px;
}

.library-search input { flex: 1; min-height: 48px; }

/* ── PODCAST HERO: cinematic dark landing band (page 1 only) ── */
.podcast-hero {
  background: var(--color-deep-teal);
  color: var(--color-cream);
}

.podcast-hero__spread {
  max-width: var(--width-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: var(--space-3xl) var(--space-lg) var(--space-xl);
}

.podcast-hero__breadcrumbs a { color: var(--color-text-muted-on-dark); }
.podcast-hero__breadcrumbs a:hover { color: var(--color-cream); }
.podcast-hero__breadcrumbs .breadcrumbs__sep { color: var(--color-text-muted-on-dark); }
.podcast-hero__breadcrumbs [aria-current] { color: var(--color-cream); }

.podcast-hero__overline {
  margin: var(--space-md) 0 var(--space-xs);
  font-size: var(--text-overline);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-warm-gold); /* sanctioned gold on deep-teal */
}

.podcast-hero h1 {
  color: var(--color-cream);
  font-size: clamp(2rem, 1.6rem + 1.8vw, 2.75rem);
  margin-bottom: var(--space-sm);
}

.podcast-hero__description {
  color: var(--color-text-muted-on-dark);
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 56ch;
  margin-bottom: var(--space-lg);
}

.podcast-hero__host {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.podcast-hero__host-avatar, .podcast-hero__host img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0;
  border: 2px solid var(--color-warm-gold);
}

.podcast-hero__host-text { margin: 0; line-height: 1.45; }
.podcast-hero__host-text a { color: var(--color-cream); font-weight: 600; }
.podcast-hero__host-text span { display: block; font-size: var(--text-caption); color: var(--color-text-muted-on-dark); }

.podcast-hero__media img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated), 0 24px 48px rgba(0, 0, 0, 0.3);
}

/* Listen-on inside the dark hero */
.podcast-hero .listen-on__label { color: var(--color-warm-gold); }
.podcast-hero .listen-on__link {
  background: rgba(245, 240, 232, 0.08);
  border-color: rgba(245, 240, 232, 0.3);
  color: var(--color-cream);
}
.podcast-hero .listen-on__link:hover {
  border-color: var(--color-warm-gold);
  color: var(--color-warm-gold);
  background: transparent;
}

/* Stats bar */
.podcast-hero__stats {
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  padding-block: var(--space-lg);
}

.podcast-hero__stats-inner {
  max-width: var(--width-content);
  margin: 0 auto;
  padding-inline: var(--space-lg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.podcast-hero__stat { text-align: center; }

.podcast-hero__stat-number {
  display: block;
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  color: var(--color-cream);
}

.podcast-hero__stat-label {
  display: block;
  margin-top: 2px;
  font-size: var(--text-overline);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted-on-dark);
}

/* Compact header for page 2+ */
.podcast-hero--compact {
  padding-block: var(--space-xl);
}

.podcast-hero--compact h1 {
  font-size: var(--text-h2);
  margin: var(--space-sm) 0 0;
}

.podcast-hero--compact .breadcrumbs a { color: var(--color-text-muted-on-dark); }
.podcast-hero--compact .breadcrumbs [aria-current] { color: var(--color-cream); }
.podcast-hero--compact .breadcrumbs .breadcrumbs__sep { color: var(--color-text-muted-on-dark); }

/* Featured episode below the hero */
.podcast-featured {
  padding-block: var(--space-2xl);
  border-bottom: 1px solid var(--color-border-subtle);
}

.podcast-featured__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: var(--space-xl);
  align-items: center;
}

.podcast-featured__image img {
  width: 100%;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 9; /* YouTube thumbnail format — don't crop to square */
  object-fit: cover;
}

.podcast-featured__overline, .podcast-featured__number {
  margin: 0 0 var(--space-xs);
  font-size: var(--text-overline);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-eyebrow);
}

.podcast-featured__title {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  margin-bottom: var(--space-sm);
}

.podcast-featured__title a { color: var(--color-deep-charcoal); text-decoration: none; }
.podcast-featured__title a:hover { color: var(--color-forest-teal); }

.podcast-featured__excerpt { color: var(--color-text-muted); }

.podcast-featured__meta {
  font-size: var(--text-caption);
  color: var(--color-text-muted);
  margin-block: var(--space-xs) 0;
}

.podcast-featured__guest {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-block: var(--space-sm);
  font-size: var(--text-caption);
  color: var(--color-text-muted);
}

.podcast-featured__guest-avatar, .podcast-featured__guest img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin: 0;
}

.podcast-featured__guest strong { color: var(--color-deep-charcoal); }
.podcast-featured__cta { margin-top: var(--space-md); }

@media (max-width: 900px) {
  .podcast-hero__spread { grid-template-columns: minmax(0, 1fr); padding-top: var(--space-2xl); }
  .podcast-hero__media { display: flex; justify-content: center; }
  .podcast-hero__media img { max-width: 280px; }
  .podcast-hero__stats-inner { grid-template-columns: repeat(3, 1fr); }
  .podcast-featured__grid { grid-template-columns: minmax(0, 1fr); }
}
.topic-filter {
  border-bottom: 1px solid var(--color-border-subtle);
  background: var(--color-cream);
}

.topic-filter__scroll {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  padding-block: var(--space-md);
}

@media (max-width: 768px) {
  .topic-filter__scroll {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
}

.topic-filter__link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 14px;
  border: 1px solid var(--color-border-subtle);
  border-radius: 999px;
  background: var(--color-warm-white);
  color: var(--color-deep-charcoal);
  font-size: var(--text-caption);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.topic-filter__link:hover { border-color: var(--color-forest-teal); color: var(--color-forest-teal); text-decoration: none; }

/* Featured latest episode */
.latest-episode {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: var(--space-xl);
  align-items: center;
  padding-block: var(--space-2xl);
  border-bottom: 1px solid var(--color-border-subtle);
}

.latest-episode__image img { width: 100%; border-radius: var(--radius-md); aspect-ratio: 16 / 10; object-fit: cover; }

.latest-episode__overline, .latest-episode__number {
  margin: 0 0 var(--space-xs);
  font-size: var(--text-overline);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-eyebrow);
}

.latest-episode__title {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  margin-bottom: var(--space-sm);
}

.latest-episode__title a { color: var(--color-deep-charcoal); text-decoration: none; }
.latest-episode__title a:hover { color: var(--color-forest-teal); }

.latest-episode__excerpt { color: var(--color-text-muted); }

.latest-episode__guest {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-block: var(--space-md);
  font-size: var(--text-caption);
  color: var(--color-text-muted);
}

.latest-episode__guest-avatar, .latest-episode__guest img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin: 0;
}

.latest-episode__guest-name { font-weight: 600; color: var(--color-deep-charcoal); }

.latest-episode__cta { margin-top: var(--space-md); }

/* Archive toolbar + list */
.archive-content { padding-block: var(--space-xl); }

.archive-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--space-md);
  border-bottom: 2px solid var(--color-soft-taupe);
  margin-bottom: var(--space-md);
}

.archive-toolbar__count {
  font-size: var(--text-overline);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.episode-list { display: grid; }

.related-topics { margin-top: var(--space-3xl); }

.related-topics__title { margin-bottom: var(--space-md); }

@media (max-width: 768px) {
  .latest-episode { grid-template-columns: minmax(0, 1fr); }
  .guest-card { flex-direction: column; }
}


/**
 * Lander scaffolding + block-style bands (amended decision #2 kit).
 * Groups with is-style-* map onto the same tokens; per-book skins remap
 * the tokens under .drb-book-{slug}.
 */
.is-style-teal-band {
  background: var(--color-forest-teal);
  color: var(--color-cream);
  padding-block: var(--space-3xl);
}

.is-style-teal-band :is(h1, h2, h3, h4, h5, h6) { color: var(--color-cream); }
.is-style-teal-band .is-style-eyebrow { color: var(--color-warm-gold); } /* gold overline on teal — sanctioned */
.is-style-teal-band p { color: var(--color-text-muted-on-dark); }
.is-style-teal-band a { color: var(--color-cream); }

.is-style-deep-teal-band {
  background: var(--color-deep-teal);
  color: var(--color-cream);
  padding-block: var(--space-3xl);
}

.is-style-deep-teal-band :is(h1, h2, h3, h4, h5, h6) { color: var(--color-cream); }
.is-style-deep-teal-band .is-style-eyebrow { color: var(--color-warm-gold); }
.is-style-deep-teal-band p { color: var(--color-text-muted-on-dark); }

.is-style-cream-band {
  background: var(--color-cream);
  padding-block: var(--space-3xl);
}

h6.is-style-eyebrow, .is-style-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-overline);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-eyebrow); /* forest-teal on light */
  margin-bottom: var(--space-sm);
}

/* Offset gold frame — §3.4 compositional technique for portraits */
.is-style-offset-frame {
  position: relative;
  margin: var(--space-lg);
}

.is-style-offset-frame::before {
  content: "";
  position: absolute;
  inset: var(--space-md) calc(var(--space-md) * -1) calc(var(--space-md) * -1) var(--space-md);
  border: 1px solid var(--color-warm-gold); /* decorative */
  border-radius: var(--radius-md);
  z-index: 0;
}

.is-style-offset-frame img { position: relative; z-index: 1; border-radius: var(--radius-md); }

/* Journal pullquote — deep-teal panel, ghosted gold quote */
.wp-block-quote.is-style-journal {
  margin-inline: auto;
  max-width: 760px;
  background: none;
  font-family: var(--font-headline);
  font-size: 1.375rem;
  line-height: 1.5;
  padding: 0;
  border: none;
  position: relative;
}

.wp-block-quote.is-style-journal p { font-style: italic; color: var(--color-cream); }
.wp-block-quote.is-style-journal p::before {
  content: "“";
  display: block;
  font-size: 4rem;
  line-height: 1;
  color: var(--color-warm-gold);
  opacity: 0.35; /* decorative */
  margin-bottom: var(--space-xs);
}

.wp-block-quote.is-style-journal cite { color: var(--color-text-muted-on-dark); font-style: normal; font-size: var(--text-caption); }

/* Lander hero grid + lede */
.lander-hero__grid, .front-hero-block .front-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: var(--space-2xl);
  align-items: center;
  max-width: var(--width-content);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.lander-hero__lede { font-size: 1.1875rem; line-height: 1.6; color: var(--color-text-muted); }

.lander-cta {
  background: var(--color-warm-gold);
  color: var(--color-deep-charcoal);
  padding-block: var(--space-2xl);
}

.lander-cta h2 { color: var(--color-deep-charcoal); }
.lander-cta p { color: var(--color-deep-charcoal); }

/* Stats strip (lander kit): number + label pairs, sits inside a dark band. */
.lander-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  max-width: var(--width-content);
  margin-inline: auto;
  padding-inline: var(--space-lg);
  margin-top: var(--space-3xl);
}

.lander-stats__stat { display: flex; flex-direction: column; gap: 2px; }

.lander-stats__number {
  font-family: var(--font-headline);
  font-size: 1.75rem;
  line-height: 1.15;
  color: var(--color-warm-gold); /* gold fill on dark — sanctioned */
}

.lander-stats__label {
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted-on-dark);
}

@media (max-width: 768px) {
  .lander-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Buttons map to the design system (.is-style-primary / .is-style-ghost) */
.wp-block-button.is-style-primary > .wp-block-button__link {
  background: var(--color-warm-gold);
  color: var(--color-deep-charcoal);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: var(--text-overline);
  padding: 0.75rem 1.25rem;
}

.wp-block-button.is-style-primary > .wp-block-button__link:hover { background: var(--color-antique-gold); }

.wp-block-button.is-style-ghost > .wp-block-button__link {
  background: transparent;
  color: var(--color-forest-teal);
  border: 1px solid var(--color-forest-teal);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: var(--text-overline);
  padding: 0.75rem 1.25rem;
}

.is-style-teal-band .wp-block-button.is-style-ghost > .wp-block-button__link,
.is-style-deep-teal-band .wp-block-button.is-style-ghost > .wp-block-button__link {
  color: var(--color-warm-gold); /* ghost on dark — sanctioned */
  border-color: var(--color-warm-gold);
}

/* Details accordions inside landers match article FAQ */
.lander-faq .wp-block-details {
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

.lander-faq .wp-block-details summary { min-height: 56px; display: flex; align-items: center; padding: var(--space-md) var(--space-lg); cursor: pointer; font-weight: 600; }

/* Full-bleed band spacing sanity */
.wp-block-group.alignfull { margin-block: 0; }
.lander-content > .wp-block-group.alignfull + .wp-block-group.alignfull { margin-block: 0; }
.lander-content > *:not(.alignfull) { max-width: var(--width-content); margin-inline: auto; padding-inline: var(--space-lg); }

/* Front-page block hero mirrors the structural hero type */
.front-hero-block { padding-block: var(--space-3xl) var(--space-2xl); background: var(--color-warm-white); border-bottom: 1px solid var(--color-border-subtle); }
.front-hero-block h1 { font-size: clamp(2.1rem, 1.7rem + 1.9vw, 3rem); text-wrap: balance; }

@media (max-width: 900px) {
  .lander-hero__grid, .front-hero-block .front-hero__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   15  AD SLOTS — drb-gam containers
   ========================================================================== */

/* Reserved heights keep CLS at 0 while slots fill client-side.
   collapseEmptyDivs(true) is configured in the GPT head script. */
.drb-gam-slot {
  margin-block: var(--space-xl);
  display: block;
  text-align: center;
}

.article-body .drb-gam-slot { min-height: 100px; }

.article-sidebar__ad .drb-gam-slot {
  min-height: 300px;
  margin-block: 0;
}


/* ==========================================================================
   16  LEGACY CONTENT ESCAPE HATCH
   ========================================================================== */

/* Insurance, not architecture: a neutral wrapper that resets the theme's
   aggressive typography so surviving pasted HTML renders as authored. */
.legacy-content {
  font-size: 1rem;
  line-height: 1.7;
}

.legacy-content p { margin-bottom: 1em; max-width: none; }
.legacy-content h1, .legacy-content h2, .legacy-content h3, .legacy-content h4 {
  font-family: inherit;
  color: inherit;
  line-height: 1.3;
  margin-block: 1.2em 0.5em;
}
.legacy-content img { margin-inline: auto; }



/* ==========================================================================
   17  UTILITIES
   ========================================================================== */

.sr-only,
.screen-reader-text { /* WP core emits this class in pagination/nav markup */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-muted { color: var(--color-text-muted); }

.eyebrow {
  font-size: var(--text-overline);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-eyebrow);  /* forest-teal — never gold on light (2.19:1) */
}

.section--teal .eyebrow,
.site-footer .eyebrow { color: var(--color-eyebrow-on-dark); }

/* Provisional entry rows for archive/home/single loops (Stage 2/5 replace) */
.entry-row {
  padding-block: var(--space-lg);
  border-bottom: 1px solid var(--color-border-subtle);
}

.entry-row h2, .entry-row h3 { margin-bottom: var(--space-xs); }

.entry-row .entry-meta {
  font-size: var(--text-caption);
  color: var(--color-text-muted);
}

.page-header {
  padding-block: var(--space-3xl) var(--space-xl);
}

.page-header h1 { margin-bottom: var(--space-sm); }

.page-header .archive-description {
  max-width: 65ch;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

.pagination { margin-block: var(--space-3xl); }

.pagination .nav-links { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding-inline: var(--space-sm);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  color: var(--color-forest-teal);
  text-decoration: none;
  font-size: var(--text-caption);
  font-weight: 600;
}

.pagination .page-numbers.current {
  background: var(--color-forest-teal);
  color: var(--color-cream);
  border-color: var(--color-forest-teal);
}

.pagination .page-numbers.dots { border-color: transparent; }


/* ==========================================================================
   18  PRINT
   ========================================================================== */

@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .pagination,
  .section-divider { display: none !important; }

  body { background: #fff; color: #000; font-size: 11pt; }

  .article-layout { display: block; }

  a { color: #000; text-decoration: underline; }

  .article-body p { margin-bottom: 0.75em; }
}
