/* site.css — public pages (home, teaching, about, beliefs, support, news).
 *
 * Sections, in order:
 *   1. Colors and type
 *   2. Page shell (skip link, header, nav)
 *   3. Buttons and shared type
 *   4. Home (hero, pillars, latest teaching, series, why, cards)
 *   5. Inner pages (teaching chips, about, beliefs, support, watch)
 *   6. Footer
 *   7. Motion
 *   8. News
 *
 * Change colors in :root. Photos are in /images (see images/README.txt).
 * Control-panel styles live in admin.css.
 */

/* ========== 1. Colors and type ========== */
:root {
  --bg: #07111c;
  --fg: #f4efe4;
  --card: #0c1a2b;
  --muted: #c4b896;
  --faint: #7e8ea3;
  --primary: #f5c400;
  --primary-fg: #07111c;
  --border: color-mix(in oklab, var(--primary) 18%, transparent);
  --paper: #0a1624;
  --ink: #f4efe4;
  --display: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --inscription: "Cormorant SC", "Cormorant Garamond", Palatino, serif;
  --serif: "Source Serif 4", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
  --caps: 0.16em;
  --shadow: 0 0 0 1px color-mix(in oklab, var(--primary) 14%, transparent);
  --shadow-hover: 0 0 0 1px color-mix(in oklab, var(--primary) 32%, transparent);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --cloud: url("/images/bg-clouds.jpg");
}

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

html {
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--fg);
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  line-height: 1.55;
  background: var(--bg);
  color: var(--fg);
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--bg) 78%, transparent), color-mix(in oklab, var(--bg) 88%, transparent)),
    var(--cloud) center / cover no-repeat;
  opacity: 0.38;
}
body > * {
  position: relative;
  z-index: 1;
}

img { max-width: 100%; display: block; }
h1, h2, h3 { text-wrap: balance; font-weight: 600; }
p { text-wrap: pretty; }
a { color: inherit; }

.wrap {
  width: min(72rem, calc(100% - 2.5rem));
  margin-inline: auto;
}
@media (min-width: 640px) {
  .wrap { width: min(72rem, calc(100% - 4rem)); }
}

/* ========== 2. Page shell ========== */
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
  z-index: 80;
  background: var(--primary);
  color: var(--primary-fg);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
}
.logo-mark {
  width: 2.15rem;
  height: 2.15rem;
  object-fit: contain;
  object-position: center;
  display: block;
  flex-shrink: 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.logo svg { width: 2rem; height: 2rem; color: var(--primary); }
.logo-name {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-desk {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 0.95rem;
}
.nav-desk a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}
.nav-desk a:hover,
.nav-desk a[aria-current="page"] { color: var(--fg); }
.header-cta { display: none; }

.nav-mobile summary {
  list-style: none;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: var(--fg);
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile[open] summary { background: var(--card); }
.nav-panel {
  position: absolute;
  right: 1.25rem;
  top: 3.6rem;
  width: min(20rem, calc(100vw - 2.5rem));
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  box-shadow: var(--shadow);
}
.nav-panel a {
  text-decoration: none;
  padding: 0.7rem 0.75rem;
  border-radius: 8px;
  font-size: 1.05rem;
}
.nav-panel a:hover { background: var(--card); }

@media (min-width: 768px) {
  .nav-desk, .header-cta { display: flex; }
  .nav-mobile { display: none; }
}

/* ========== 3. Buttons and shared type ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 550;
  line-height: 1;
  border-radius: 10px;
  padding: 0.7rem 1.05rem;
  border: 1px solid transparent;
  background: var(--primary);
  color: var(--primary-fg);
  cursor: pointer;
}
.btn:hover { filter: brightness(1.06); }
.btn-lg { padding: 0.85rem 1.2rem; font-size: 0.95rem; }
.btn-outline {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}
.btn-outline:hover { background: var(--card); }
.btn-sm { padding: 0.45rem 0.75rem; font-size: 0.8rem; }

.kicker {
  margin: 0;
  font-family: var(--inscription);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--primary);
}
.display {
  font-family: var(--display);
  letter-spacing: -0.02em;
  font-weight: 600;
}
.muted { color: var(--muted); }
.faint { color: var(--faint); }

/* ========== 4. Home ========== */
.hero {
  position: relative;
  isolation: isolate;
  /* svh ignores the mobile address bar, so the hero does not grow/shrink as it hides */
  min-height: 88vh;
  min-height: 88svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero img.bg,
.band img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% 42%;
  z-index: -2;
}
@media (min-width: 768px) {
  .hero img.bg {
    object-position: 42% 38%;
  }
}
.hero .veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, var(--bg) 6%, color-mix(in oklab, var(--bg) 82%, transparent) 48%, color-mix(in oklab, var(--bg) 55%, transparent) 100%);
}
.hero-logo {
  position: absolute;
  left: 50%;
  top: 1.15rem;
  transform: translateX(-50%);
  z-index: 1;
  line-height: 0;
  pointer-events: none;
}
.hero-logo img {
  width: min(17.5rem, 62vw);
  height: auto;
  max-height: 36vh;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.7));
}
.hero-logo[hidden] { display: none; }
.hero-inner { padding: 7rem 0 4rem; }
.hero:has(.hero-logo:not([hidden])) .hero-inner { padding-top: 16.5rem; }
.hero h1 {
  margin: 1rem 0 0;
  max-width: 42rem;
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  line-height: 0.95;
  font-family: var(--display);
}
.hero .lede {
  margin: 1.4rem 0 0;
  max-width: 36rem;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.6;
  color: color-mix(in oklab, var(--fg) 85%, transparent);
}
.hero-ink {
  position: absolute;
  right: -2%;
  bottom: 6%;
  width: min(46vw, 30rem);
  color: var(--primary);
  opacity: 0.2;
  pointer-events: none;
  z-index: -1;
}
.hero-ink svg { width: 100%; height: auto; display: block; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.pillars {
  border-block: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 82%, transparent);
  padding: 3.5rem 0;
}
.pillar-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .pillar-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.pillar { display: flex; gap: 1rem; }
.pillar svg { flex-shrink: 0; margin-top: 0.2rem; color: var(--primary); width: 1.25rem; height: 1.25rem; }
.pillar h2 { margin: 0; font-family: var(--display); font-size: 1.25rem; }
.pillar p { margin: 0.4rem 0 0; font-size: 0.9rem; color: var(--muted); }

.section { padding: 4rem 0; }
@media (min-width: 640px) { .section { padding: 6rem 0; } }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.section-head h2 {
  margin: 0.4rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.latest-grid {
  margin-top: 2rem;
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .latest-grid { grid-template-columns: 3fr 2fr; gap: 2.5rem; align-items: center; }
}

.embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.q-list { margin: 1.4rem 0 0; padding: 0; list-style: none; }
.q-list li {
  border-left: 1px solid color-mix(in oklab, var(--primary) 40%, transparent);
  padding: 0.15rem 0 0.15rem 1rem;
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
}

.quote-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: right;
  min-height: 22rem;
  padding: 2.4rem 1.25rem 4rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.quote-band .wrap {
  position: absolute;
  top: 1.6rem;
  right: 1rem;
  left: auto;
  width: 13.5rem;
  max-width: calc(100% - 2rem);
  margin: 0;
  padding: 0.7rem 0.75rem;
  border-radius: 8px;
  background: color-mix(in oklab, var(--bg) 72%, transparent);
}
.quote-band img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 8% 52%;
  z-index: -2;
}
@media (min-width: 768px) {
  .quote-band {
    min-height: 24rem;
    padding: 5.5rem 2rem;
    align-items: center;
  }
  .quote-band img.bg {
    object-position: 30% 58%;
  }
}
.quote-band .veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to left, color-mix(in oklab, var(--bg) 88%, transparent) 0%, color-mix(in oklab, var(--bg) 55%, transparent) 30%, transparent 58%);
}
.quote-band blockquote {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: none;
  padding: 0;
  border: 0;
  text-align: right;
}
@media (min-width: 768px) {
  .quote-band .wrap {
    top: 50%;
    transform: translateY(-50%);
    right: max(2rem, calc((100% - 72rem) / 2));
    width: 24rem;
    max-width: 24rem;
    padding: 0;
    background: none;
    border-radius: 0;
  }
  .quote-band footer {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
  }
}
.quote-band p {
  margin: 0;
  overflow-wrap: break-word;
  font-family: var(--display);
  font-size: clamp(1.05rem, 3.2vw, 1.9rem);
  font-style: italic;
  font-weight: 500;
  color: var(--fg);
  line-height: 1.3;
  text-shadow: 0 1px 18px color-mix(in oklab, var(--bg) 75%, transparent);
}
.quote-band footer {
  margin-top: 1.2rem;
  font-family: var(--inscription);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: color-mix(in oklab, var(--primary) 78%, var(--fg));
}

.series-list { margin: 0; padding: 0; list-style: none; border-block: 1px solid var(--border); }
.series-preview {
  position: relative;
  margin-top: 2.5rem;
}
.series-preview.is-clipped { overflow: hidden; }
.series-preview.is-clipped .series-list li:nth-child(n + 7) { display: none; }
.series-fade {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4.5rem;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg) 78%);
}
.series-preview.is-clipped .series-fade { display: block; }
[data-series-more] { margin-top: 1.25rem; }
.series-list li { border-bottom: 1px solid var(--border); }
.series-list li:last-child { border-bottom: 0; }
.series-list a {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.2rem 0;
  text-decoration: none;
}
@media (min-width: 640px) {
  .series-list a {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.5rem;
  }
}
.series-list .num {
  display: inline-block;
  width: 2rem;
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--primary);
}
.series-list .ttl {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
}
.series-list a:hover .ttl { color: var(--primary); }

.why {
  border-top: 1px solid var(--border);
  background: var(--card);
}
.why-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.why img { border-radius: 12px; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 42%; width: 100%; box-shadow: var(--shadow); }
.why h2 { margin: 0.4rem 0 0; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); }

.cards {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 640px) { .cards.two, .cards.three { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }

.cards > li { display: flex; min-width: 0; }
.cards > li > .card { flex: 1; width: 100%; }

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-decoration: none;
  height: 100%;
  color: inherit;
}
.card:hover { box-shadow: var(--shadow-hover); }
.card .thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}
.card:hover .thumb img { transform: scale(1.03); }
.card .body { padding: 1.2rem; display: flex; flex-direction: column; flex: 1; }
.card .meta {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: var(--caps);
  text-transform: uppercase;
  color: var(--faint);
}
.card h2, .card h3 {
  margin: 0.5rem 0 0;
  font-family: var(--display);
  font-size: 1.35rem;
}
.card .scripture {
  margin: 0.25rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted);
}
.card .sum {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Keep the YouTube player and lists from shoving the page when they refresh */
.news-band,
[data-recent],
[data-grid],
[data-series],
[data-proverbs],
[data-latest-player] {
  overflow-anchor: none;
}

/* ========== 5. Inner pages ========== */
.page { padding: 3.5rem 0 5rem; }
.page h1 {
  margin: 0.7rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.1rem);
}
.lede {
  margin: 1rem 0 0;
  max-width: 40rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.65;
}

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
[data-teaching] .chips[hidden] { display: none; }
.chip {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}
.chip[aria-pressed="true"], .chip.is-on {
  background: var(--primary);
  color: var(--primary-fg);
  border-color: transparent;
}
.teach-find {
  margin-top: 1.6rem;
  padding: 1.1rem 1.15rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.teach-find-label {
  display: block;
  font-family: var(--inscription);
  font-size: 0.72rem;
  letter-spacing: var(--caps);
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 0.65rem;
}
.teach-find-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
}
.teach-find-field {
  position: relative;
  flex: 1 1 16rem;
  min-width: 12rem;
}
.teach-find input[type="search"],
.teach-find select {
  font: inherit;
  color: var(--fg);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  min-height: 2.85rem;
  width: 100%;
}
.teach-find select { flex: 1 1 11rem; width: auto; min-width: 10rem; }
.teach-pane {
  display: none;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
  margin-top: 0.65rem;
}
.teach-pane.is-on { display: flex; }
.teach-suggest {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0.25rem 0;
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.teach-suggest button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--fg);
  font: inherit;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
}
.teach-suggest button:hover,
.teach-suggest button:focus {
  background: color-mix(in oklab, var(--primary) 12%, transparent);
  color: var(--fg);
}
.teach-find-meta {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.teach-find-meta:empty { display: none; }

.more-row {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.more-row p { margin: 0; max-width: 36rem; font-size: 0.9rem; color: var(--muted); }

.about-hero, .support-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 6rem 0;
}
.about-hero {
  background: var(--bg);
}
.about-hero .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% 22%;
  z-index: -2;
}
@media (min-width: 768px) {
  .about-hero .bg {
    object-position: 48% 18%;
  }
}
.about-hero .veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to right, color-mix(in oklab, var(--bg) 82%, transparent) 0%, color-mix(in oklab, var(--bg) 48%, transparent) 38%, transparent 78%);
}
.support-hero .veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, var(--bg), color-mix(in oklab, var(--bg) 80%, transparent) 50%, color-mix(in oklab, var(--bg) 40%, transparent));
}
.about-hero h1, .support-hero h1 {
  margin: 1rem 0 0;
  max-width: 44rem;
  font-family: var(--display);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
}
.about-hero h1 {
  max-width: 22rem;
}
.about-grid {
  display: grid;
  gap: 3rem;
  padding: 4rem 0 5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 5fr 7fr; gap: 4rem; }
}
.portrait {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.portrait img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.portrait .cap { padding: 1.2rem; }
.portrait .cap p { margin: 0; font-family: var(--display); font-size: 1.25rem; }
.portrait .cap span { display: block; margin-top: 0.2rem; font-size: 0.85rem; color: var(--muted); }
.prose h2 { margin: 2.6rem 0 0; font-family: var(--display); font-size: 1.8rem; }
.prose h2:first-child { margin-top: 0; }
.prose [data-bio-body] h2,
.prose [data-bio-body] h3,
.prose [data-bio-body] h4 {
  margin: 2.6rem 0 0;
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--fg);
}
.prose [data-bio-body] h2:first-child,
.prose [data-bio-body] h3:first-child,
.prose [data-bio-body] h4:first-child { margin-top: 0; }
.prose p { margin: 1rem 0 0; color: var(--muted); }

.beliefs { max-width: 48rem; }
.belief-list { list-style: none; padding: 0; margin: 3rem 0 0; }
.belief-list li { border-top: 1px solid var(--border); padding-top: 2rem; margin-top: 2.4rem; }
.belief-list .n { margin: 0; font-family: var(--inscription); color: var(--primary); font-size: 0.95rem; letter-spacing: 0.08em; }
.belief-list h2 { margin: 0.2rem 0 0; font-family: var(--display); font-size: 1.5rem; }
.belief-list p { margin: 0.7rem 0 0; color: var(--muted); }
.callout {
  margin-top: 3.5rem;
  background: var(--card);
  border-radius: 12px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.callout h2 { margin: 0; font-family: var(--display); font-size: 1.5rem; }
.callout p { margin: 0.5rem 0 0; font-size: 0.9rem; color: var(--muted); }
.callout .btn { margin-top: 1.2rem; }

.channel-grid {
  display: grid;
  gap: 1.5rem;
  padding: 3.5rem 0 5rem;
}
@media (min-width: 768px) { .channel-grid { grid-template-columns: repeat(3, 1fr); } }
.channel {
  background: var(--card);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.channel svg { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.channel h2 { margin: 1rem 0 0; font-family: var(--display); font-size: 1.5rem; }
.channel p { margin: 0.5rem 0 0; flex: 1; font-size: 0.9rem; color: var(--muted); }
.channel .btn { margin-top: 1.4rem; width: 100%; }

.support-hero {
  border-bottom: 1px solid var(--border);
}
.support-hero .veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, var(--bg), color-mix(in oklab, var(--bg) 80%, transparent) 55%);
}
.patreon-band {
  padding: 3rem 0 0;
}
.patreon-panel {
  background: var(--card);
  border-radius: 12px;
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .patreon-panel {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    padding: 2.4rem 2.6rem;
    align-items: start;
  }
}
.patreon-panel h2 {
  margin: 0.4rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 600;
}
.patreon-panel > div > p {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 38rem;
}
.patreon-panel .btn { margin-top: 1.5rem; }
.patreon-reasons {
  list-style: none;
  margin: 0;
  padding: 0;
}
.patreon-reasons li {
  border-top: 1px solid var(--border);
  padding: 1.1rem 0 0;
  margin-top: 1.1rem;
}
.patreon-reasons li:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.patreon-reasons h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
}
.patreon-reasons p {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
@media (min-width: 768px) {
  .channel-grid.pair { grid-template-columns: repeat(2, 1fr); }
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
}
.back:hover { color: var(--fg); }
.watch { max-width: 56rem; padding: 3rem 0 5rem; }
.watch h1 {
  margin: 0.7rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 3rem);
}
.watch .meta { margin: 0.7rem 0 0; color: var(--muted); }
.watch .embed { margin-top: 2rem; }
.watch .notes { margin-top: 2.5rem; max-width: 42rem; }
.watch .notes h2 { margin: 2.4rem 0 0; font-family: var(--display); font-size: 1.5rem; }
.watch .notes p.muted,
.watch .notes [data-summary]:not(.rich) { white-space: pre-wrap; }
.watch-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.watch-transcript { margin-top: 1.6rem; }
.watch-transcript p {
  white-space: pre-wrap;
  max-width: 42rem;
}
.chapters { margin: 1rem 0 0; padding: 0; list-style: none; border-block: 1px solid var(--border); }
.chapters li {
  display: flex;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.chapters li:last-child { border-bottom: 0; }
.chapters .t { width: 3rem; flex-shrink: 0; color: var(--primary); font-variant-numeric: tabular-nums; }
.pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.pager a { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.pager a:hover { color: var(--fg); }
.pager strong { display: block; color: var(--fg); font-family: var(--display); font-size: 1.15rem; font-weight: 600; margin-top: 0.2rem; }

/* ========== 6. Footer ========== */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 88%, transparent);
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 0;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 5fr 3fr 4fr; }
}
.site-footer .blurb { margin: 1rem 0 0; max-width: 24rem; font-size: 0.9rem; color: var(--muted); }
.site-footer h3 {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: var(--caps);
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 550;
}
.site-footer ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.site-footer li + li { margin-top: 0.45rem; }
.site-footer a { text-decoration: none; font-size: 0.9rem; color: var(--muted); }
.site-footer a:hover { color: var(--fg); }
.legal {
  border-top: 1px solid var(--border);
  padding: 1.1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--faint);
}

/* ========== 7. Motion ========== */
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); filter: blur(3px); }
  to { opacity: 1; transform: none; filter: none; }
}
.rise { animation: rise 640ms var(--ease) both; }
.rise-2 { animation-delay: 90ms; }
.rise-3 { animation-delay: 180ms; }
.rise-4 { animation-delay: 270ms; }
@media (prefers-reduced-motion: reduce) {
  .rise, .rise-2, .rise-3, .rise-4 { animation: none; }
}

.ink-rule {
  display: block;
  width: min(16rem, 70%);
  height: 1.15rem;
  margin: 0.85rem 0 0;
  color: color-mix(in oklab, var(--primary) 70%, var(--muted));
}
.ink-rule-wide {
  width: min(22rem, 80%);
  margin: 0 auto 1.1rem;
}
.ink-clarion {
  display: block;
  width: min(18rem, 78%);
  height: auto;
  aspect-ratio: 320 / 80;
  color: color-mix(in oklab, var(--primary) 65%, var(--muted));
}
.ink-clarion-nav {
  width: min(11rem, 70%);
  margin: 0 0 0.6rem;
}
.footer-ink {
  display: flex;
  justify-content: center;
  padding: 1.4rem 0 0.4rem;
  color: var(--primary);
  opacity: 0.72;
}
.footer-ink .ink-clarion {
  width: min(16rem, 72%);
  margin: 0 auto;
  overflow: visible;
}

.ct-check {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
}
.ct-chk-input {
  position: absolute;
  opacity: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  inset: 0 auto auto 0;
  cursor: pointer;
}
.ct-chk {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
  color: var(--primary);
  display: inline-grid;
  place-items: center;
  transform-origin: center;
}
.ct-chk svg { width: 100%; height: 100%; display: block; overflow: visible; }
.ct-chk-box { fill: transparent; stroke: currentColor; stroke-width: 1.6; }
.ct-chk.is-on .ct-chk-box { fill: color-mix(in oklab, currentColor 22%, transparent); }
.ct-chk-mark {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
}
.ct-chk.is-on .ct-chk-mark { stroke-dashoffset: 0; }
.ct-chk-input:focus-visible + .ct-chk {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}
.pillar p,
.blurb,
.belief-list p,
.callout p,
.news-item p,
.community-card p,
.more-row p {
  font-family: var(--serif);
}

/* ========== 8. News ========== */
.news-band {
  border-bottom: 1px solid var(--border);
  background: var(--card);
}
.news-home {
  max-width: 42rem;
}
.news-home h2 {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.news-preview {
  position: relative;
  margin-top: 0.9rem;
  max-height: 8.25rem;
  overflow: hidden;
}
.news-preview .body {
  margin: 0;
  color: var(--muted);
}
.news-fade {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4.75rem;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--card) 70%);
}
.news-home [data-news-more] { margin-top: 1.2rem; }
.news-home .rich h2,
.news-home .rich h3,
.news-home .rich h4 {
  margin-top: 0.7rem;
  font-size: 1.5rem;
  font-family: var(--display);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.2;
}
.news-home .rich h2:first-child,
.news-home .rich h3:first-child,
.news-home .rich h4:first-child { margin-top: 0; }
.news-item {
  scroll-margin-top: 5.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.news-item h2 {
  margin: 0.4rem 0 0;
  font-family: var(--display);
  font-size: 1.7rem;
}
.news-item .rich { margin-top: 0.7rem; }
.news-item p { margin: 0.7rem 0 0; color: var(--muted); }

.rich p { margin: 0.7rem 0 0; color: var(--muted); font-family: var(--serif); }
.rich p:first-child { margin-top: 0; }
.rich h2, .rich h3, .rich h4 {
  margin: 1.4rem 0 0.15rem;
  font-family: var(--display);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.2;
}
.rich h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.rich h3, .rich h4 { font-size: 1.4rem; }
.rich strong { font-weight: 600; color: var(--fg); }
.rich em { font-style: italic; }
.rich u { text-decoration: underline; }
.rich img { max-width: 100%; height: auto; border-radius: 10px; margin: 1rem 0; }
.rich iframe.ql-video,
.rich .ql-video {
  display: block;
  width: 100%;
  max-width: 40rem;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 10px;
  margin: 1rem 0;
  background: #000;
}
.rich ul, .rich ol { margin: 0.7rem 0 0; padding-left: 1.3rem; color: var(--muted); }
.rich li { margin: 0.25rem 0; }
.rich blockquote {
  margin: 1rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--primary);
  color: var(--fg);
}
.rich pre, .rich code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
}
.rich pre {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  overflow-x: auto;
}
.rich .ql-font-source-sans { font-family: var(--sans); }
.rich .ql-font-source-serif { font-family: var(--serif); }
.rich .ql-font-cormorant { font-family: var(--display); }
.rich .ql-font-cormorant-sc { font-family: var(--inscription); }
.rich .ql-font-georgia { font-family: Georgia, "Times New Roman", serif; }
.rich a { color: var(--primary); text-decoration: underline; }

.community-card {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.community-card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.7rem;
}
.community-card .rich { margin-top: 0.7rem; }

.reach-hero { padding: 3.5rem 0 2rem; border-bottom: 1px solid var(--border); }
.reach-hero h1 {
  margin: 0.4rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 3.1rem);
}
.reach-hero .rich { margin-top: 1rem; max-width: 40rem; }
.social-grid {
  display: grid;
  gap: 0.85rem;
  padding: 2.5rem 0 1rem;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
}
.social-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--card);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  text-decoration: none;
  box-shadow: var(--shadow);
  min-height: 3rem;
}
.social-btn:hover { box-shadow: var(--shadow-hover); }
.social-btn svg { width: 1.15rem; height: 1.15rem; color: var(--primary); flex-shrink: 0; }
.social-btn span { font-weight: 500; }
.reach-form-wrap { padding: 1rem 0 5rem; }
.reach-form {
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.2rem;
}
.reach-form label { font-size: 0.8rem; color: var(--faint); display: flex; flex-direction: column; gap: 0.35rem; }
.reach-form input, .reach-form textarea {
  font: inherit;
  color: var(--fg);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.75rem;
  min-height: 2.75rem;
}
.reach-form textarea { min-height: 10rem; resize: vertical; }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-note { margin: 0.4rem 0 0; font-size: 0.92rem; }
.form-note.is-ok { color: #b8c9a8; }
.form-note.is-err { color: #e7b4a4; }
