/* Hallmark · genre: atmospheric · macrostructure: Marquee Hero (home) / Long Document (guides) / Index-First (episodes) · theme: custom "Sunday Service"
 * picked 2026-10-12 (round 2, direction B) · nav: N5 floating pill · footer: Ft5 statement
 * vibe: "the chapel at nine on a Sunday morning" · paper oklch(15% 0.012 65) · accent oklch(81% 0.135 82) window gold
 * type: Tanker (display caps) + Satoshi (body) + UnifrakturMaguntia (outlier, two slots per page: the home hero line and the footer line)
 * axes: dark / display-condensed-bold + blackletter outlier / warm
 * Hallmark · pre-emit critique: P5 H5 E4 S5 R4 V5 */
/* Fonts are served from this site (10/14, launch prep): Tanker and Satoshi from Fontshare (ITF Free Font License), UnifrakturMaguntia from
   Google Fonts (SIL Open Font License). Nothing loads from a font CDN, so no visitor IP goes to Fontshare or Google. */
@font-face { font-family: "Tanker"; src: url("../fonts/tanker-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "UnifrakturMaguntia"; src: url("../fonts/unifrakturmaguntia-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
:root {
  --color-paper:    oklch(15% 0.012 65);
  --color-paper-2:  oklch(19.5% 0.014 65);
  --color-paper-3:  oklch(24% 0.016 65);
  --color-rule:     oklch(31% 0.016 70);
  --color-muted:    oklch(73% 0.02 80);
  --color-ink-2:    oklch(87% 0.014 85);
  --color-ink:      oklch(94% 0.014 85);
  --color-accent:   oklch(81% 0.135 82);   /* the window frame's gold */
  --color-accent-ink: oklch(22% 0.03 70);
  --color-light-1:  oklch(74% 0.15 72);    /* amber light through the glass */
  --color-light-2:  oklch(60% 0.16 38);    /* the ember panes */
  --color-felt:     oklch(17.5% 0.01 65);  /* letter board felt */
  --color-groove:   oklch(10.5% 0.008 65);
  --color-focus:    oklch(85% 0.12 85);
  --color-band:     color-mix(in oklch, var(--color-light-1) 22%, transparent);  /* a shaded range on a chart */
  --color-gland-clear:  oklch(92% 0.02 210 / 0.28);  /* trichome heads, drawn on the trichome chart */
  --color-gland-cloudy: oklch(95% 0.01 90);
  --color-gland-amber:  oklch(66% 0.14 58);

  --font-display: "Tanker", "Arial Narrow", Impact, sans-serif;
  --font-body:    "Satoshi", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-outlier: "UnifrakturMaguntia", "Old English Text MT", serif;

  --text-xs: 0.8125rem; --text-sm: 0.9375rem; --text-base: 1.0625rem; --text-read: 1.125rem;
  --text-md: 1.3125rem; --text-lg: 1.625rem; --text-xl: 2.0625rem; --text-2xl: 2.625rem;
  --space-3xs: 0.125rem; --space-2xs: 0.25rem; --space-xs: 0.5rem; --space-sm: 0.75rem; --space-md: 1rem;
  --space-lg: 1.5rem; --space-xl: 2.5rem; --space-2xl: 4rem; --space-3xl: 6rem; --space-4xl: 9rem;
  --rule-hair: 1px; --rule-thick: 6px; --radius: 4px;
  --nav-clear: 5.5rem;
  --z-raised: 10; --z-sticky: 200; --z-nav: 300;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-short: 160ms;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
html { scroll-padding-top: var(--nav-clear); }
body {
  background:
    radial-gradient(42rem 34rem at 82% 4rem, color-mix(in oklch, var(--color-light-1) 22%, transparent), transparent 70%),
    radial-gradient(36rem 26rem at 8% 96%, color-mix(in oklch, var(--color-light-2) 12%, transparent), transparent 70%),
    var(--color-paper);
  background-attachment: fixed;
  color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-base); line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay; z-index: var(--z-raised);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.wrap { max-width: 78rem; margin: 0 auto; padding-inline: var(--space-md); }
.skip { position: absolute; left: var(--space-md); top: -4rem; background: var(--color-accent); color: var(--color-accent-ink); padding: var(--space-xs) var(--space-md); z-index: var(--z-nav); }
.skip:focus { top: var(--space-md); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- N5 floating pill ---------- */
.pill { position: fixed; top: var(--space-md); left: 50%; transform: translateX(-50%); z-index: var(--z-nav);
  display: inline-flex; align-items: center; gap: var(--space-md); padding: 0.4rem 0.45rem 0.4rem 0.9rem; max-width: calc(100% - 1.5rem);
  background: color-mix(in oklch, var(--color-paper) 72%, transparent); backdrop-filter: blur(14px) saturate(130%);
  border: var(--rule-hair) solid var(--color-rule); border-radius: 999px; }
.pill__home { flex-shrink: 0; display: block; }
.pill__home img { height: 1.8rem; width: auto; max-width: none; }
.pill__links { display: none; align-items: center; gap: var(--space-lg); list-style: none; margin: 0; padding: 0; font-size: var(--text-sm); font-weight: 500; line-height: 1; }
.pill__links a, .pill__learn { color: var(--color-muted); text-decoration: none; white-space: nowrap; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.pill__links a:hover, .pill__learn:hover, .pill__links a[aria-current="page"], .pill__learn[aria-expanded="true"] { color: var(--color-ink); }
.pill__live { white-space: nowrap; text-decoration: none; font-weight: 700; font-size: var(--text-sm); line-height: 1; background: var(--color-accent); color: var(--color-accent-ink); padding: 0.6rem 0.95rem; border-radius: 999px; }
.pill__live:active { transform: translateY(1px); }
.pill__menu { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 999px; border: var(--rule-hair) solid var(--color-rule); background: transparent; color: var(--color-ink); cursor: pointer; font: 700 var(--text-xs) var(--font-body); }
.panel { position: fixed; top: 4.6rem; left: 50%; transform: translateX(-50%); z-index: var(--z-nav); width: min(34rem, calc(100% - 1.5rem));
  background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: 0.9rem; padding: var(--space-md) var(--space-lg); }
.panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2xs); }
.panel a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-md); align-items: baseline; padding: var(--space-xs) 0; text-decoration: none; border-bottom: var(--rule-hair) solid var(--color-rule); }
.panel a span { font-size: var(--text-sm); color: var(--color-muted); }
.panel a b { font-weight: 700; }
.panel a:hover b { color: var(--color-accent); }
.panel__sub { margin: var(--space-md) 0 var(--space-2xs); font-size: var(--text-xs); color: var(--color-muted); letter-spacing: 0.08em; text-transform: uppercase; }
@media (min-width: 52rem) {
  .pill__links { display: flex; }
  .pill__menu { display: none; }
}

/* ---------- home: the marquee ---------- */
.marquee { position: relative; min-height: 90dvh; display: grid; align-content: end; padding: var(--space-lg) var(--space-md) var(--space-2xl); }
.marquee__window { position: absolute; right: 4vw; top: 5.5rem; height: min(58dvh, 34rem); width: auto; filter: drop-shadow(0 0 2.5rem color-mix(in oklch, var(--color-light-1) 45%, transparent)); }
.marquee__beams { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(118deg, transparent 38%, color-mix(in oklch, var(--color-light-1) 10%, transparent) 46%, transparent 54%),
    linear-gradient(126deg, transparent 50%, color-mix(in oklch, var(--color-light-2) 8%, transparent) 56%, transparent 63%); }
.marquee h1 { position: relative; margin: 0; display: grid; gap: var(--space-xs); }
.marquee__bl { font-family: var(--font-outlier); font-weight: 400; color: var(--color-accent); font-size: clamp(3rem, 7.4vw, 7rem); line-height: 1; overflow-wrap: anywhere; min-width: 0; }
.marquee__mq { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(3.4rem, 10.5vw, 10rem); line-height: 1.02; letter-spacing: 0.01em; overflow-wrap: anywhere; min-width: 0; }
.marquee__note { position: relative; margin: var(--space-lg) 0 0; max-width: 46ch; font-size: var(--text-md); color: var(--color-ink-2); }
.rule-thick { border: 0; height: var(--rule-thick); background: var(--color-accent); margin: 0 var(--space-md); }

/* ---------- hymn board list (latest services, episode index) ---------- */
.board { padding: var(--space-2xl) var(--space-md) var(--space-3xl); display: grid; gap: var(--space-xl); }
.board__title { margin: 0; font-size: var(--text-md); font-weight: 500; color: var(--color-muted); max-width: 40ch; }
.board__title h2 { display: inline; margin: 0; font: inherit; font-weight: 700; color: var(--color-ink); text-transform: none; letter-spacing: normal; }
.board__title p { display: inline; margin: 0; }
.board__head a { display: inline-block; margin-top: var(--space-md); color: var(--color-accent); font-weight: 700; text-underline-offset: 5px; white-space: nowrap; }
.board__year { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 400; margin: var(--space-xl) 0 var(--space-2xs); color: var(--color-ink); }
.board__year:first-child { margin-top: 0; }
.board__year + p { margin: 0 0 var(--space-sm); color: var(--color-muted); font-size: var(--text-sm); }
.hymns { list-style: none; margin: 0; padding: 0; }
.hymns li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--space-xs) var(--space-lg); align-items: baseline; padding: var(--space-md) 0; border-top: var(--rule-hair) solid var(--color-rule); }
.hymns__num { font-family: var(--font-display); font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1; color: var(--color-accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hymns__num i { font-style: normal; color: var(--color-rule); padding: 0 0.12em; }
.hymns__what { font-size: var(--text-md); line-height: 1.35; }
.hymns__what a { text-decoration: none; }
.hymns__what a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 5px; }
.hymns__what small { display: block; font-size: var(--text-sm); color: var(--color-muted); margin-top: var(--space-2xs); }

/* ---------- archive search band ---------- */
.ask { background: var(--color-paper-2); border-block: var(--rule-hair) solid var(--color-rule); }
.ask__in { display: grid; gap: var(--space-lg); padding-block: var(--space-2xl) var(--space-3xl); }
.ask h2 { margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.02; max-width: 16ch; }
.ask p { margin: 0; max-width: 56ch; color: var(--color-ink-2); }
.search { display: grid; grid-template-columns: minmax(0, 1fr) auto; border: 2px solid var(--color-accent); background: var(--color-paper); border-radius: var(--radius); max-width: 48rem; }
.search input { font: 500 var(--text-md) var(--font-body); color: var(--color-ink); background: transparent; border: 0; padding: 1rem 1.1rem; min-width: 0; outline: 2px solid transparent; }
.search input::placeholder { color: var(--color-muted); }
.search button { font: 700 var(--text-sm) var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; background: var(--color-accent); color: var(--color-accent-ink); border: 0; padding: 0 1.4rem; cursor: pointer; }
.search button:active { transform: translateY(1px); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.chips a { font-size: var(--text-sm); text-decoration: none; color: var(--color-ink); border: var(--rule-hair) solid var(--color-rule); background: var(--color-paper); padding: 0.35rem 0.75rem; border-radius: 999px; white-space: nowrap; }
.chips a:hover { border-color: var(--color-accent); }

/* ---------- letter board (the learning pillars) ---------- */
.learn { padding: var(--space-3xl) var(--space-md) var(--space-2xl); display: grid; gap: var(--space-xl); }
.learn__head h2 { margin: 0; font-size: var(--text-lg); font-weight: 700; }
.learn__head p { margin: var(--space-xs) 0 0; color: var(--color-muted); max-width: 44ch; }
.letterboard { margin: 0; padding: var(--space-lg) var(--space-lg); border: 3px solid var(--color-accent); border-radius: var(--radius);
  background: repeating-linear-gradient(180deg, var(--color-felt) 0 0.9rem, var(--color-groove) 0.9rem 1.05rem); }
.letterboard ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2xs); }
.letterboard a { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2xs) var(--space-lg); text-decoration: none; padding: var(--space-2xs) 0; }
.letterboard b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 4.2vw, 3.3rem); line-height: 1.05; letter-spacing: 0.06em; color: var(--color-ink); text-transform: uppercase; }
.letterboard span { font-size: var(--text-sm); color: var(--color-muted); }
.letterboard a:hover b { color: var(--color-accent); }

/* ---------- home: the host ---------- */
.host { padding: var(--space-2xl) var(--space-md) var(--space-3xl); display: grid; gap: var(--space-xl); align-items: end; }
.host img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 30% 40%; border-radius: var(--radius); }
.host h2 { margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.02; }
.host p { margin: var(--space-md) 0 0; color: var(--color-ink-2); max-width: 52ch; }
.years { list-style: none; margin: var(--space-lg) 0 0; padding: 0; }
.years li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--space-md); padding: var(--space-xs) 0; border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); }
.years b { font-family: var(--font-display); font-weight: 400; font-size: var(--text-lg); line-height: 1; color: var(--color-accent); font-variant-numeric: tabular-nums; }
.host__more { display: inline-block; margin-top: var(--space-lg); color: var(--color-accent); font-weight: 700; text-underline-offset: 5px; white-space: nowrap; }
/* co-hosts: the homepage roster (no photos here: each photo lives on one page, /co-hosts) and the arched portraits on /co-hosts,
   framed like the window */
.cohosts { padding: 0 var(--space-md) var(--space-3xl); display: grid; gap: var(--space-xl); }
.cohosts h2 { margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.02; }
.cohosts__head p { margin: var(--space-md) 0 0; color: var(--color-ink-2); max-width: 46ch; }
.pews { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; }
.pews li { display: grid; gap: var(--space-3xs); padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.pews li:first-child { border-top: var(--rule-hair) solid var(--color-rule); }
.pews b { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: var(--text-lg); line-height: 1.05; color: var(--color-ink); }
.pews span { font-size: var(--text-sm); color: var(--color-muted); }
.prose h2 { clear: both; }
.cohost { margin: var(--space-md) 0 var(--space-lg); width: min(15rem, 70%); }
.nw { white-space: nowrap; }
.cohost img, .cohost--mono span { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px var(--radius) var(--radius);
  border: 3px solid var(--color-accent); box-shadow: 0 0 0 5px var(--color-paper), 0 0 2.5rem color-mix(in oklch, var(--color-light-1) 28%, transparent); }
.cohost--mono span { display: grid; place-items: center; font-family: var(--font-display); font-size: 4.5rem; color: var(--color-accent-ink);
  background: radial-gradient(circle at 50% 30%, var(--color-light-1), var(--color-light-2) 85%); }
.thanks { padding: 0 var(--space-md) var(--space-2xl); color: var(--color-muted); font-size: var(--text-sm); max-width: 60ch; }
.thanks a { color: var(--color-ink-2); }

/* ---------- inner pages ---------- */
.page-head { padding: calc(var(--nav-clear) + var(--space-xl)) var(--space-md) var(--space-xl); display: grid; gap: var(--space-md); }
.crumbs { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }
.crumbs li + li::before { content: "/"; margin-right: var(--space-xs); color: var(--color-rule); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--color-ink); }
.page-head h1 { margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 5.25rem); line-height: 1.02; letter-spacing: 0.005em; max-width: 18ch; overflow-wrap: anywhere; min-width: 0; }
.page-head h1.long { font-size: clamp(2.3rem, 4.8vw, 4.25rem); max-width: 22ch; }
.dek { margin: 0; max-width: 60ch; font-size: var(--text-md); line-height: 1.5; color: var(--color-ink-2); }
.byline { margin: 0; font-size: var(--text-sm); color: var(--color-muted); }

.layout { display: grid; gap: var(--space-2xl); padding: 0 var(--space-md) var(--space-3xl); }
.prose { min-width: 0; max-width: 68ch; font-size: var(--text-read); line-height: 1.7; color: var(--color-ink-2); }
.prose h2 { margin: var(--space-2xl) 0 var(--space-sm); font-family: var(--font-body); font-weight: 700; font-size: var(--text-xl); line-height: 1.15; letter-spacing: -0.01em; color: var(--color-ink); }
.prose h3 { margin: var(--space-xl) 0 var(--space-xs); font-weight: 700; font-size: var(--text-md); line-height: 1.25; color: var(--color-ink); }
.ways { counter-reset: way; }
.ways h3::before { counter-increment: way; content: counter(way) ". "; color: var(--color-accent); font-variant-numeric: tabular-nums; }
.prose p { margin: 0 0 var(--space-md); }
.prose a { color: var(--color-accent); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { color: var(--color-ink); }
.prose ul { margin: 0 0 var(--space-md); padding-left: 1.2em; }
.prose ol:not([class]) { margin: 0 0 var(--space-md); padding-left: 1.4em; }
.prose ol:not([class]) > li::marker { color: var(--color-accent); font-weight: 700; }
td.num small { display: block; margin-top: var(--space-3xs); font: 500 var(--text-xs) var(--font-body); letter-spacing: 0.02em; color: var(--color-muted); }
.prose li { margin-bottom: var(--space-xs); }
.answer { margin: 0 0 var(--space-xl); padding: var(--space-lg); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius); color: var(--color-ink); font-size: var(--text-md); line-height: 1.55; }
.answer p { margin: 0; }

.video { margin: 0 0 var(--space-xl); }
.video__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--color-paper-2); cursor: pointer; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; }
.video__btn img { width: 100%; height: 100%; object-fit: cover; }
.video__btn span { position: absolute; left: var(--space-md); bottom: var(--space-md); display: inline-flex; align-items: center; gap: var(--space-xs); background: var(--color-accent); color: var(--color-accent-ink); font: 700 var(--text-sm) var(--font-body); padding: 0.6rem 1rem; border-radius: 999px; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); display: block; }
.video figcaption { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }

.steps { list-style: none; margin: var(--space-lg) 0; padding: 0; counter-reset: s; }
.steps li { position: relative; display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: var(--space-md); padding: var(--space-md) 0; border-top: var(--rule-hair) solid var(--color-rule); counter-increment: s; }
.steps li::before { content: counter(s); font-family: var(--font-display); font-size: 2.6rem; line-height: 0.9; color: var(--color-accent); font-variant-numeric: tabular-nums; }
.steps b { display: block; color: var(--color-ink); margin-bottom: var(--space-2xs); }
.steps p { margin: 0; }

.table-wrap { overflow-x: auto; margin: var(--space-md) 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: var(--text-sm); }
th, td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: top; }
th { font-weight: 700; color: var(--color-ink); background: var(--color-paper-2); }
td.num, th.num { font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-accent); white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 400; }
tr:last-child td { border-bottom: 0; }
@media (max-width: 26rem) { th, td { padding: 0.6rem 0.55rem; } }  /* four columns fit at 320 px */
td small { display: block; margin-top: var(--space-3xs); font-size: var(--text-xs); color: var(--color-muted); }

/* terpene chart: boiling point ladder; each row sets --x, its place on the figure's 300 to 600 F scale, and the figure sets the shaded --lo/--hi range */
.ladder { margin: var(--space-md) 0 var(--space-lg); padding: var(--space-md); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius); background: var(--color-paper-2); }
.ladder__rows { list-style: none; margin: 0; padding: 0; display: grid; }
.ladder__rows li, .ladder__axis { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); align-items: center; column-gap: var(--space-sm); margin: 0; }
.ladder__name { font-size: var(--text-sm); color: var(--color-ink); }
.ladder__track { position: relative; height: 2.1rem; border-left: var(--rule-hair) solid var(--color-rule);
  background: linear-gradient(to right, transparent var(--lo), var(--color-band) var(--lo), var(--color-band) var(--hi), transparent var(--hi)); }
.ladder__dot { position: absolute; left: var(--x); top: 50%; width: 0.7rem; height: 0.7rem; margin: -0.35rem 0 0 -0.35rem; border-radius: 50%; background: var(--color-accent); }
.ladder__t { position: absolute; left: calc(var(--x) + 0.6rem); top: 50%; transform: translateY(-50%); font-size: var(--text-xs); color: var(--color-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ladder__rows li.flip .ladder__t { left: auto; right: calc(100% - var(--x) + 0.6rem); }
.ladder__scale { position: relative; grid-column: 2; height: 1.5rem; }
.ladder__scale span { position: absolute; left: var(--x); top: 0.4rem; transform: translateX(-50%); font-size: var(--text-xs); color: var(--color-muted); white-space: nowrap; }
.ladder__scale span:first-child { transform: none; }
.ladder__scale span:last-child { transform: translateX(-100%); }
.ladder figcaption { margin-top: var(--space-sm); font-size: var(--text-xs); color: var(--color-muted); }
/* contact form */
.form { display: grid; gap: var(--space-md); margin: var(--space-md) 0 var(--space-lg); max-width: 40rem; }
.form label { display: grid; gap: var(--space-2xs); font-size: var(--text-sm); font-weight: 700; color: var(--color-ink); }
.form input, .form select, .form textarea { font: 400 var(--text-base) var(--font-body); color: var(--color-ink); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius); padding: 0.75rem 0.9rem; width: 100%; min-width: 0; }
.form textarea { min-height: 9rem; resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; border-color: transparent; }
.form button { justify-self: start; font: 700 var(--text-sm) var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; background: var(--color-accent); color: var(--color-accent-ink); border: 0; border-radius: 999px; padding: 0.9rem 1.6rem; cursor: pointer; white-space: nowrap; }
.form button:hover { background: color-mix(in oklch, var(--color-accent) 88%, var(--color-ink)); }
.form button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.form button:active { transform: translateY(1px); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* honeypot: people never see it, bots fill it */
.form small { font-weight: 400; color: var(--color-muted); }
.form button:disabled { opacity: 0.6; cursor: progress; }
.form__status { margin: 0; font-size: var(--text-sm); color: var(--color-ink); }

/* cookie choice (only on builds that load Google Analytics) */
.consent { position: fixed; left: var(--space-md); bottom: var(--space-md); z-index: var(--z-nav); width: min(30rem, calc(100% - 2 * var(--space-md))); padding: var(--space-md); background: var(--color-paper-3); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius); box-shadow: 0 0.75rem 2.5rem color-mix(in oklch, var(--color-groove) 70%, transparent); font-size: var(--text-sm); line-height: 1.5; color: var(--color-ink-2); }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 var(--space-sm); }
.consent__btns { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.consent__btns button { font: 700 var(--text-sm) var(--font-body); border-radius: 999px; padding: 0.6rem 1.3rem; cursor: pointer; white-space: nowrap; border: var(--rule-hair) solid var(--color-accent); }
.consent__btns [data-consent="granted"] { background: var(--color-accent); color: var(--color-accent-ink); }
.consent__btns [data-consent="denied"] { background: transparent; color: var(--color-ink); }
.consent__btns button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.foot__consent { font: inherit; color: var(--color-ink-2); background: none; border: 0; padding: 0; cursor: pointer; white-space: nowrap; }
.foot__consent:hover { color: var(--color-accent); }
.foot__consent:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

/* trichome chart: three stage cards, each with a drawn gland (a stalk and a head in the stage's color) */
.stages { list-style: none; margin: var(--space-md) 0 var(--space-lg); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); }
.stages .stage { margin: 0; display: grid; align-content: start; gap: var(--space-2xs); padding: var(--space-md); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius); background: var(--color-paper-2); font-size: var(--text-sm); line-height: 1.5; }
.stage b { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: var(--text-lg); color: var(--color-ink); letter-spacing: 0.02em; }
.stage i { font-style: normal; color: var(--color-ink); }
.stage__gland { position: relative; display: block; width: 3rem; height: 4.2rem; margin-bottom: var(--space-2xs); }
.stage__gland::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 0.5rem; height: 2.2rem; margin-left: -0.25rem; border-radius: 0.25rem; background: color-mix(in oklch, var(--color-gland-cloudy) 30%, transparent); }
.stage__gland::after { content: ""; position: absolute; left: 50%; top: 0; width: 2.4rem; height: 2.4rem; margin-left: -1.2rem; border-radius: 50%; background: var(--gland); box-shadow: inset 0 0 0 0.12rem color-mix(in oklch, var(--color-gland-cloudy) 55%, transparent); }
.stage--clear { --gland: var(--color-gland-clear); }
.stage--cloudy { --gland: var(--color-gland-cloudy); }
.stage--amber { --gland: var(--color-gland-amber); }
@media (max-width: 40rem) {  /* stacked, with the gland beside the words */
  .stages { grid-template-columns: minmax(0, 1fr); }
  .stages .stage { grid-template-columns: 3rem minmax(0, 1fr); column-gap: var(--space-sm); }
  .stage__gland { grid-row: 1 / span 3; margin-bottom: 0; }
}
@media (max-width: 30rem) {  /* phones: a narrower name column, and only the ends of the scale */
  .ladder { padding: var(--space-sm); }
  .ladder__rows li, .ladder__axis { grid-template-columns: 5.4rem minmax(0, 1fr); column-gap: var(--space-xs); }
  .ladder__name { font-size: var(--text-xs); }
  .ladder__scale span:not(:first-child):not(:last-child) { display: none; }
}
.unit { font-family: var(--font-body); font-size: var(--text-xs); color: var(--color-muted); margin-left: 0.25em; }

.tips { list-style: none; margin: var(--space-md) 0 var(--space-lg); padding: 0; display: grid; gap: var(--space-md); }
.tips li { padding: var(--space-md) var(--space-lg); background: var(--color-paper-2); border-radius: var(--radius); }
.tips q { display: block; font-weight: 700; color: var(--color-ink); quotes: "\201C" "\201D"; margin-bottom: var(--space-2xs); }

.archive-block { margin: var(--space-2xl) 0 0; padding: var(--space-lg); border: 1px dashed var(--color-rule); border-radius: var(--radius); }
.archive-block h2 { margin-top: 0 !important; }
.archive-block .player { margin: var(--space-md) 0 var(--space-sm); }
.archive-ep + .archive-ep { margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.archive-ep__name { margin: 0; font-weight: 700; }
.archive-ep__name a { text-decoration: none; }
.archive-ep__name a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 4px; }
.moments { list-style: none; margin: 0; padding: 0; }
.moments li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: var(--space-md); align-items: start; padding: var(--space-sm) 0; border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-base); }
.moments time, .moments button.t { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1; color: var(--color-accent); font-variant-numeric: tabular-nums; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.moments button.t:hover { text-decoration: underline; text-underline-offset: 4px; }
.moments q { color: var(--color-ink); }
.chapters b { display: block; color: var(--color-ink); }
.panel-list { list-style: none; margin: 0 0 var(--space-lg); padding: 0; display: grid; gap: var(--space-xs); }
.panel-list small { display: block; color: var(--color-muted); font-size: var(--text-sm); }
.credit, .ep-hops { font-size: var(--text-sm); color: var(--color-muted); }
.moments small { display: block; color: var(--color-muted); font-size: var(--text-sm); margin-top: var(--space-3xs); }

.faq details { border-top: var(--rule-hair) solid var(--color-rule); padding: var(--space-sm) 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--color-ink); list-style: none; display: flex; justify-content: space-between; gap: var(--space-md); }
.faq summary::after { content: "+"; color: var(--color-accent); font-weight: 700; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: var(--space-sm) 0 0; }
.refs { font-size: var(--text-sm); color: var(--color-muted); padding-left: 1.2em; }
.refs a { color: var(--color-ink-2); }

.aside { display: grid; gap: var(--space-xl); align-content: start; }
.aside__box { padding: var(--space-lg); background: var(--color-paper-2); border-radius: var(--radius); }
.aside__box .aside__h { margin: 0 0 var(--space-sm); font-size: var(--text-sm); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); font-weight: 700; }
.aside__box ol, .aside__box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-xs); }
.aside__box a { text-decoration: none; font-weight: 500; }
.aside__box a:hover { color: var(--color-accent); }
.aside__box p { margin: 0; font-size: var(--text-sm); color: var(--color-ink-2); }

/* hub: method table + guide list */
.guides { list-style: none; margin: var(--space-md) 0 0; padding: 0; }
.guides li { border-top: var(--rule-hair) solid var(--color-rule); }
.guides a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2xs) var(--space-lg); padding: var(--space-md) 0; text-decoration: none; }
.guides b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.05; text-transform: uppercase; color: var(--color-ink); letter-spacing: 0.01em; }
.guides span { grid-column: 1; font-size: var(--text-base); color: var(--color-muted); }
.guides em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-size: var(--text-sm); color: var(--color-accent); white-space: nowrap; }
.guides a:hover b { color: var(--color-accent); }

/* episode page */
.listen { margin: 0 0 var(--space-xl); padding: var(--space-lg); background: var(--color-paper-2); border-radius: var(--radius); display: grid; gap: var(--space-md); }
.player audio { display: block; width: 100%; }  /* the browser's controls, only when site.js doesn't run */
.player { display: flex; align-items: center; gap: var(--space-sm); min-width: 0; padding: var(--space-xs) var(--space-lg) var(--space-xs) var(--space-xs); background: var(--color-paper-3); border-radius: 999px; }
.player__btn { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); cursor: pointer; transition: transform var(--dur-short) var(--ease-out); }
.player__btn svg { width: 1.3rem; height: 1.3rem; fill: currentColor; }
.player__btn .i-pause, .player.is-playing .player__btn .i-play { display: none; }
.player.is-playing .player__btn .i-pause { display: inline; }
.player__btn:hover { transform: scale(1.06); }
.player__btn:active { transform: scale(0.97); }
.player__btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.player__now, .player__dur { flex: none; font-size: var(--text-sm); color: var(--color-ink-2); font-variant-numeric: tabular-nums; }
.player__dur { color: var(--color-muted); }
.player__bar { flex: 1 1 auto; min-width: 3rem; height: 0.375rem; margin: 0; -webkit-appearance: none; appearance: none; border-radius: 999px; cursor: pointer;
  background: linear-gradient(var(--color-accent), var(--color-accent)) 0 0 / var(--p, 0%) 100% no-repeat, var(--color-rule); }
.player__bar::-webkit-slider-thumb { -webkit-appearance: none; width: 0.95rem; height: 0.95rem; border: 0; border-radius: 50%; background: var(--color-ink); }
.player__bar::-moz-range-thumb { width: 0.95rem; height: 0.95rem; border: 0; border-radius: 50%; background: var(--color-ink); }
.player__bar:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.listen p { margin: 0; font-size: var(--text-sm); color: var(--color-muted); }
.ep-numerals { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 8rem); line-height: 0.9; color: var(--color-accent); letter-spacing: 0.02em; }
.ep-numerals i { font-style: normal; color: var(--color-rule); }
.transcript summary { cursor: pointer; font-weight: 700; color: var(--color-ink); }
.transcript__body { margin-top: var(--space-md); max-height: 70vh; overflow-y: auto; padding-right: var(--space-sm); }
.transcript__body p { margin: 0 0 var(--space-sm); font-size: var(--text-base); }
.transcript__body b { color: var(--color-accent); font-weight: 700; margin-right: var(--space-xs); }
.transcript__body time { font-size: var(--text-xs); color: var(--color-muted); margin-right: var(--space-xs); font-variant-numeric: tabular-nums; }
.transcript__body p.is-here { background: color-mix(in oklch, var(--color-accent) 18%, transparent); outline: 0.4rem solid color-mix(in oklch, var(--color-accent) 18%, transparent); }

/* archive page */
.results { list-style: none; margin: var(--space-lg) 0 0; padding: 0; }
.results li { display: grid; gap: var(--space-2xs); padding: var(--space-md) 0; border-top: var(--rule-hair) solid var(--color-rule); }
.results a { font-weight: 700; text-decoration: none; }
.results a:hover { color: var(--color-accent); }
.results small { color: var(--color-muted); font-size: var(--text-sm); }
.results mark { background: color-mix(in oklch, var(--color-accent) 35%, transparent); color: var(--color-ink); padding: 0 0.1em; border-radius: 2px; }
.note { font-size: var(--text-sm); color: var(--color-muted); }
.results__ep { display: grid; gap: var(--space-xs); }
.results__ep > small { margin-top: calc(-1 * var(--space-2xs)); }
.results__moments { list-style: none; margin: var(--space-2xs) 0 0; padding: 0; display: grid; gap: var(--space-sm); }
.results__moments li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--space-sm); padding: 0; border: 0; }
.results__moments a { font-family: var(--font-display); font-weight: 400; color: var(--color-accent); font-variant-numeric: tabular-nums; }
.results__moments span { font-size: var(--text-base); }
.results__moments small { display: block; }
.more button { font: 700 var(--text-sm) var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; background: none; color: var(--color-accent); border: var(--rule-hair) solid var(--color-accent); padding: 0.7rem 1.2rem; cursor: pointer; margin-top: var(--space-md); }

/* ---------- Ft5 statement footer ---------- */
.foot { display: grid; gap: var(--space-lg); padding: var(--space-3xl) var(--space-md) var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.foot__line { margin: 0; font-family: var(--font-outlier); font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.05; color: var(--color-accent); max-width: 28ch; }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); }
.foot__links a { color: var(--color-ink-2); text-decoration: none; white-space: nowrap; }
.foot__links a:hover { color: var(--color-accent); }
.foot__meta { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-xl); align-items: center; justify-content: space-between; padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }
.foot__meta img { height: 2.3rem; width: auto; }
.foot__meta a { color: var(--color-ink-2); }

@media (min-width: 48rem) {
  .cohost { float: right; width: 13rem; margin: 0.35rem 0 var(--space-md) var(--space-xl); }
}
@media (min-width: 60rem) {
  .wrap { padding-inline: var(--space-xl); }
  .marquee { padding: var(--space-xl) var(--space-xl) var(--space-2xl); }
  .marquee__mq { max-width: 12ch; }
  .rule-thick { margin: 0 var(--space-xl); }
  .board { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); padding: var(--space-3xl) var(--space-xl); }
  .hymns li { grid-template-columns: 10rem minmax(0, 1fr); }
  .learn { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); padding: var(--space-3xl) var(--space-xl) var(--space-3xl); align-items: start; }
  .host { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); padding: var(--space-2xl) var(--space-xl) var(--space-3xl); }
  .cohosts { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl); padding: 0 var(--space-xl) var(--space-3xl); align-items: start; }
  .pews { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-xl); }
  .pews li:nth-child(2) { border-top: var(--rule-hair) solid var(--color-rule); }
  .thanks { padding: 0 var(--space-xl) var(--space-2xl); }
  .page-head { padding: calc(var(--nav-clear) + var(--space-2xl)) var(--space-xl) var(--space-xl); }
  .layout { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-3xl); padding: 0 var(--space-xl) var(--space-3xl); }
  .aside { position: sticky; top: var(--nav-clear); }
  .foot { padding: var(--space-3xl) var(--space-xl) var(--space-xl); }
}
@media (max-width: 47.99rem) {
  .marquee__window { height: 15rem; right: -1.5rem; top: 5rem; opacity: 0.85; }
  .marquee { min-height: 84dvh; }
  .hymns li { grid-template-columns: 5.25rem minmax(0, 1fr); }
  .guides a { grid-template-columns: minmax(0, 1fr); }
  .guides em { grid-row: auto; grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

@media (max-width: 47.99rem) {
  .moments li { grid-template-columns: 4.25rem minmax(0, 1fr); gap: var(--space-sm); }
  .moments time, .moments button.t { font-size: var(--text-md); }
}
