:root {
  --black: #0b0b0d;
  --ink: #111827;
  --ivory: #f5f1e8;
  --gold: #c8a96b;
  --burgundy: #4a1e24;
  --stone: #8b8b90;
  --moss: #6f7f5d;
  --teal: #4a8b89;
  --line: rgba(245, 241, 232, 0.16);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  background: var(--ivory);
  color: var(--black);
  padding: 0.65rem 0.85rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(11, 11, 13, 0.82), rgba(11, 11, 13, 0));
  transition: transform 0.3s ease;
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  text-decoration: none;
  font-family: Cinzel, serif;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.brand i {
  color: var(--gold);
  font-style: normal;
}

nav {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  color: rgba(245, 241, 232, 0.82);
  font-size: 0.92rem;
}

nav a {
  text-decoration: none;
}

.pray-link {
  font-family: Cinzel, serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-decoration: none;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
  padding: 6px 14px;
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 2px;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.pray-link:hover {
  border-color: var(--gold);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center start;
  overflow: hidden;
  isolation: isolate;
  padding: 7rem clamp(1.25rem, 7vw, 7rem) 4rem;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  z-index: -4;
  object-fit: cover;
  opacity: 0.48;
  pointer-events: none;
}

.hero-overlay {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(11, 11, 13, 0.94), rgba(11, 11, 13, 0.58) 48%, rgba(11, 11, 13, 0.22)),
    linear-gradient(0deg, var(--black), transparent 28%);
}

.hero-content {
  width: min(770px, 100%);
}

.kicker,
.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 {
  font-size: 7.2rem;
  max-width: 10ch;
}

h2 {
  font-size: 4.7rem;
}

h3 {
  font-size: 4rem;
}

.question-rotator {
  min-height: 3rem;
  margin: 1.3rem 0;
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: rgba(245, 241, 232, 0.92);
}

.question-rotator span {
  display: none;
}

.question-rotator span.active {
  display: block;
}

.hero-copy {
  max-width: 52rem;
  color: rgba(245, 241, 232, 0.84);
  font-size: 1.12rem;
}

.primary-action,
.final-actions a,
.resource-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border: 1px solid rgba(200, 169, 107, 0.6);
  background: rgba(200, 169, 107, 0.12);
  color: var(--ivory);
  padding: 0.7rem 1rem;
  text-decoration: none;
  font-weight: 700;
}

.primary-action:hover,
.final-actions a:hover,
.resource-grid a:hover {
  background: var(--gold);
  color: var(--black);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  width: 2rem;
  height: 3.2rem;
  border: 1px solid rgba(245, 241, 232, 0.45);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue span {
  display: block;
  width: 0.38rem;
  height: 0.38rem;
  margin: 0.65rem auto 0;
  border-radius: 50%;
  background: var(--gold);
  animation: drop 1.8s infinite;
}

@keyframes drop {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(1.25rem); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

.intro-band,
.proof-band,
.chapter-shell,
.exhibit,
.resources,
.finale {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 5vw, 5rem);
}

.chapter-shell {
  padding-inline: clamp(1.25rem, 3vw, 3rem);
}

.section-inner,
.section-heading {
  width: min(1180px, 100%);
  margin: 0 auto 2rem;
}

.intro-band {
  background: var(--ink);
}

.proof-band {
  background:
    radial-gradient(circle at 18% 18%, rgba(200, 169, 107, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(11, 11, 13, 1));
}

.proof-band .section-heading p:last-child {
  max-width: 48rem;
  color: rgba(245, 241, 232, 0.78);
}

.proof-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.proof-card {
  display: grid;
  gap: 0.85rem;
  min-height: 16rem;
  border: 1px solid rgba(245, 241, 232, 0.14);
  background:
    linear-gradient(150deg, rgba(200, 169, 107, 0.08), rgba(74, 139, 137, 0.06)),
    rgba(245, 241, 232, 0.035);
  padding: 1.25rem;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.proof-card:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 169, 107, 0.72);
  background: rgba(200, 169, 107, 0.11);
}

.proof-card-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(200, 169, 107, 0.36);
  color: var(--gold);
  padding: 0.3rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-card h3 {
  font-size: clamp(2rem, 3.3vw, 3rem);
}

.proof-card p {
  margin: 0;
  color: rgba(245, 241, 232, 0.78);
}

.proof-card strong {
  margin-top: auto;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.proof-card-summary {
  grid-column: 1 / -1;
  background:
    linear-gradient(115deg, rgba(74, 30, 36, 0.34), rgba(74, 139, 137, 0.14)),
    rgba(245, 241, 232, 0.035);
}

.section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

.section-inner p:last-child,
.section-heading p + h2 {
  color: rgba(245, 241, 232, 0.88);
}

.liturgical-now {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 5rem);
  background:
    linear-gradient(90deg, rgba(74, 30, 36, 0.72), rgba(17, 24, 39, 0.82)),
    radial-gradient(circle at 82% 24%, rgba(200, 169, 107, 0.22), transparent 30%),
    var(--burgundy);
}

.liturgical-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(16rem, 0.7fr) minmax(0, 1.3fr);
  border-top: 1px solid rgba(245, 241, 232, 0.22);
  border-bottom: 1px solid rgba(245, 241, 232, 0.22);
}

.liturgical-date,
.liturgical-copy {
  padding: clamp(1.2rem, 4vw, 2rem);
}

.liturgical-date {
  border-right: 1px solid rgba(245, 241, 232, 0.18);
}

.liturgical-date span {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.liturgical-date strong {
  display: block;
  margin-top: 0.4rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
}

.liturgical-copy p {
  margin: 0 0 1rem;
  max-width: 58rem;
  color: rgba(245, 241, 232, 0.82);
  font-size: 1.06rem;
}

.liturgical-copy a {
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

.story-journey {
  width: min(1440px, 100%);
  margin: 0 auto clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(19rem, 0.66fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
}

.journey-stage {
  position: sticky;
  top: 5.5rem;
  min-height: min(82svh, 54rem);
  display: grid;
  align-content: end;
  justify-items: start;
  gap: 1rem;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(1.5rem, 6vw, 6rem);
  border: 1px solid rgba(245, 241, 232, 0.13);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.28);
}

.journey-stage::before,
.journey-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  transition: opacity 0.3s ease;
}

.journey-stage::before {
  background:
    linear-gradient(90deg, rgba(11, 11, 13, 0.95), rgba(11, 11, 13, 0.42) 54%, rgba(11, 11, 13, 0.18)),
    var(--journey-image) center / cover;
  transform: scale(1.04);
  animation: slowDrift 18s ease-in-out infinite alternate;
}

.journey-stage::after {
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(11, 11, 13, 0.94), transparent 42%),
    radial-gradient(circle at 80% 18%, rgba(200, 169, 107, 0.22), transparent 34%);
}

.journey-question { --journey-image: url("assets/conversion-sunset.jpg"); }
.journey-christ { --journey-image: url("assets/beliefs-priest.jpg"); }
.journey-cross { --journey-image: url("assets/difficult-questions.jpg"); }
.journey-church { --journey-image: url("assets/global-charity.jpg"); }
.journey-mass { --journey-image: url("assets/mass-chalice.jpg"); }
.journey-witness { --journey-image: url("https://images.unsplash.com/photo-1569511166187-97eb6e387e19?auto=format&fit=crop&w=1400&q=80"); }
.journey-life { --journey-image: url("assets/daily-bench.jpg"); }

.journey-stage h3 {
  max-width: 9ch;
  font-size: clamp(4rem, 8vw, 8.5rem);
}

.journey-stage p:not(.eyebrow) {
  margin: 0;
  max-width: 45rem;
  color: rgba(245, 241, 232, 0.86);
  font-size: clamp(1.04rem, 1.25vw, 1.22rem);
}

.journey-steps {
  display: grid;
  gap: 0.8rem;
  counter-reset: journey;
}

.journey-step {
  position: relative;
  min-height: 9.8rem;
  border: 1px solid rgba(245, 241, 232, 0.14);
  border-left: 3px solid rgba(245, 241, 232, 0.18);
  background: rgba(245, 241, 232, 0.045);
  padding: 1rem 1rem 1rem 4.2rem;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.journey-step::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1rem;
  bottom: 1rem;
  width: 1px;
  background: rgba(200, 169, 107, 0.32);
}

.journey-step::after {
  content: "";
  position: absolute;
  left: 0.66rem;
  top: 1.05rem;
  width: 0.7rem;
  height: 0.7rem;
  border: 1px solid rgba(200, 169, 107, 0.72);
  border-radius: 50%;
  background: var(--black);
  transition: background 0.25s ease, transform 0.25s ease;
}

.journey-step:hover,
.journey-step.active {
  border-left-color: var(--gold);
  background: rgba(200, 169, 107, 0.12);
}

.journey-step.active {
  transform: translateX(-0.55rem);
}

.journey-step.active::after {
  background: var(--gold);
  transform: scale(1.35);
}

.journey-step span {
  display: block;
  color: var(--gold);
  font-family: Cinzel, serif;
  font-weight: 800;
}

.journey-step strong {
  display: block;
  margin-top: 0.15rem;
  color: var(--ivory);
  font-size: 1.05rem;
}

.journey-step p {
  margin: 0.4rem 0 0;
  color: rgba(245, 241, 232, 0.68);
  font-size: 0.9rem;
}

@media (min-width: 1200px) {
  .story-journey {
    grid-template-columns: minmax(0, 1.55fr) minmax(20rem, 0.45fr);
  }

  .journey-steps {
    padding-top: 0.35rem;
  }
}

@keyframes slowDrift {
  from { transform: scale(1.04) translateX(-0.4rem); }
  to { transform: scale(1.08) translateX(0.4rem); }
}

.chapter-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.path-guide {
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(200, 169, 107, 0.25);
  background:
    linear-gradient(135deg, rgba(200, 169, 107, 0.14), rgba(74, 139, 137, 0.08)),
    rgba(245, 241, 232, 0.03);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.path-guide-copy {
  width: min(760px, 100%);
}

.path-guide-copy p:last-child {
  color: rgba(245, 241, 232, 0.82);
}

.path-guide-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.path-guide-steps span {
  border: 1px solid rgba(200, 169, 107, 0.35);
  background: rgba(11, 11, 13, 0.45);
  color: var(--ivory);
  padding: 0.7rem 0.95rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.chapter-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.16), rgba(11, 11, 13, 0.94)),
    radial-gradient(circle at 85% 15%, rgba(200, 169, 107, 0.24), transparent 30%),
    rgba(245, 241, 232, 0.04);
  color: var(--ivory);
  min-height: 15rem;
  padding: 1.1rem;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.chapter-card:hover {
  border-color: rgba(200, 169, 107, 0.75);
  background: rgba(200, 169, 107, 0.12);
  transform: translateY(-2px);
}

.chapter-card-start {
  border-color: rgba(200, 169, 107, 0.65);
  background:
    linear-gradient(145deg, rgba(200, 169, 107, 0.2), rgba(74, 139, 137, 0.12)),
    rgba(245, 241, 232, 0.05);
}

.chapter-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(200, 169, 107, 0.45);
  color: var(--gold);
  font-family: Cinzel, serif;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.chapter-card-kicker {
  margin: 0 0 0.45rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chapter-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.9rem;
}

.chapter-card p:last-child {
  margin: 0;
  color: rgba(245, 241, 232, 0.74);
}

.chapter-nav {
  position: sticky;
  top: 5rem;
  z-index: 5;
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  background: var(--black);
  scrollbar-color: var(--gold) transparent;
}

.episode-card,
.belief-map button,
.myth-card,
.filter-row button,
.country-list button {
  border: 1px solid var(--line);
  background: rgba(245, 241, 232, 0.04);
  color: var(--ivory);
  min-height: 2.8rem;
  padding: 0.55rem 0.8rem;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.episode-card {
  flex: 0 0 13.5rem;
  display: grid;
  align-content: end;
  gap: 0.45rem;
  min-height: 9.5rem;
  text-decoration: none;
  font-weight: 700;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.16), rgba(11, 11, 13, 0.94)),
    radial-gradient(circle at 78% 20%, rgba(200, 169, 107, 0.26), transparent 38%),
    rgba(245, 241, 232, 0.04);
}

.episode-card span {
  color: var(--gold);
  font-family: Cinzel, serif;
  font-size: 1.35rem;
}

.episode-card strong {
  color: var(--ivory);
}

.episode-card small {
  color: rgba(245, 241, 232, 0.46);
  font-size: 0.72rem;
  line-height: 1.45;
  font-weight: 500;
}

.episode-card.active,
.episode-card:hover,
.belief-map button:hover,
.myth-card:hover,
.filter-row button:hover,
.country-list button:hover {
  border-color: rgba(200, 169, 107, 0.75);
  background: rgba(200, 169, 107, 0.16);
}

.chapter-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 1.05fr);
  min-height: 720px;
  border: 1px solid var(--line);
  background: rgba(245, 241, 232, 0.035);
  scroll-margin-top: 15rem;
}

body.home .chapter-panel {
  display: none;
}

body.home .chapter-nav {
  position: static;
}

body.chapter-page main {
  padding-top: 6rem;
}

body.chapter-page .chapter-shell {
  padding-top: 2rem;
}

.chapter-pager {
  width: min(1180px, 100%);
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.chapter-pager a {
  border: 1px solid rgba(200, 169, 107, 0.45);
  color: var(--gold);
  padding: 0.75rem 1rem;
  text-decoration: none;
  font-weight: 800;
}

.chapter-pager a:hover {
  background: var(--gold);
  color: var(--black);
}

.lesson-page main {
  padding-top: 0;
}

.lesson-hero {
  position: relative;
  min-height: 74svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 8rem clamp(1.25rem, 5vw, 5rem) 4rem;
}

.lesson-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(11, 11, 13, 0.92), rgba(11, 11, 13, 0.45)),
    linear-gradient(0deg, var(--black), transparent 35%),
    url("https://commons.wikimedia.org/wiki/Special:Redirect/file/St-Peter%20Basilica%20interior%202010.jpg");
  background-size: cover;
  background-position: center;
}

.beliefs-hero .lesson-hero-bg {
  background-image:
    linear-gradient(90deg, rgba(11, 11, 13, 0.92), rgba(11, 11, 13, 0.45)),
    linear-gradient(0deg, var(--black), transparent 35%),
    url("assets/beliefs-priest.jpg");
  background-position: center;
}

.questions-hero .lesson-hero-bg {
  background-image:
    linear-gradient(90deg, rgba(11, 11, 13, 0.82), rgba(11, 11, 13, 0.3)),
    linear-gradient(0deg, var(--black), transparent 35%),
    url("assets/difficult-questions.jpg");
  background-position: center top;
}

.daily-hero .lesson-hero-bg {
  background-image:
    linear-gradient(90deg, rgba(11, 11, 13, 0.75), rgba(11, 11, 13, 0.2)),
    linear-gradient(0deg, var(--black), transparent 35%),
    url("assets/daily-bench.jpg");
  background-position: center;
}

.conversion-hero .lesson-hero-bg {
  background-image:
    linear-gradient(90deg, rgba(11, 11, 13, 0.88), rgba(11, 11, 13, 0.35)),
    linear-gradient(0deg, var(--black), transparent 35%),
    url("assets/conversion-sunset.jpg");
  background-position: center;
}

.misconception-hero .lesson-hero-bg {
  background-image:
    linear-gradient(90deg, rgba(11, 11, 13, 0.92), rgba(11, 11, 13, 0.45)),
    linear-gradient(0deg, var(--black), transparent 35%),
    url("https://images.unsplash.com/photo-1548625149-fc4a29cf7092?auto=format&fit=crop&w=1800&q=85");
}

.ritual-hero .lesson-hero-bg {
  background-image:
    linear-gradient(90deg, rgba(11, 11, 13, 0.92), rgba(11, 11, 13, 0.45)),
    linear-gradient(0deg, var(--black), transparent 35%),
    url("https://images.unsplash.com/photo-1511285560929-80b456fea0bc?auto=format&fit=crop&w=1800&q=85");
}

.mass-hero .lesson-hero-bg {
  background-image:
    linear-gradient(90deg, rgba(11, 11, 13, 0.94), rgba(11, 11, 13, 0.5)),
    linear-gradient(0deg, var(--black), transparent 35%),
    url("assets/mass-chalice.jpg");
  background-position: center;
}

.science-hero .lesson-hero-bg {
  background-image:
    linear-gradient(90deg, rgba(11, 11, 13, 0.92), rgba(11, 11, 13, 0.45)),
    linear-gradient(0deg, var(--black), transparent 35%),
    url("assets/science-microscope.jpg");
  background-position: center;
}

.global-hero .lesson-hero-bg {
  background-image:
    linear-gradient(90deg, rgba(11, 11, 13, 0.88), rgba(11, 11, 13, 0.45)),
    linear-gradient(0deg, var(--black), transparent 35%),
    url("assets/global-charity.jpg");
  background-position: center;
}

.saints-hero .lesson-hero-bg {
  background-image:
    linear-gradient(90deg, rgba(11, 11, 13, 0.92), rgba(11, 11, 13, 0.45)),
    linear-gradient(0deg, var(--black), transparent 35%),
    url("https://images.unsplash.com/photo-1569511166187-97eb6e387e19?auto=format&fit=crop&w=1800&q=85");
}

.production-main {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 7rem clamp(1.25rem, 5vw, 5rem) 3rem;
}

.production-card {
  width: min(920px, 100%);
  margin: 0 auto;
  border-top: 1px solid rgba(200, 169, 107, 0.45);
  border-bottom: 1px solid rgba(200, 169, 107, 0.25);
  padding: clamp(2rem, 6vw, 4.5rem) 0;
}

.production-card h1 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  max-width: 11ch;
}

.production-card strong {
  display: inline-flex;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(200, 169, 107, 0.55);
  color: var(--gold);
  padding: 0.45rem 0.7rem;
  font-family: Cinzel, serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.production-card p:not(.eyebrow) {
  max-width: 44rem;
  color: rgba(245, 241, 232, 0.78);
  font-size: 1rem;
}

.production-card .chapter-pager {
  margin-top: 2rem;
}

.lesson-hero-copy {
  width: min(820px, 100%);
}

.lesson-hero h1 {
  font-size: 5.8rem;
  max-width: 11ch;
}

.lesson-hero p {
  color: rgba(245, 241, 232, 0.84);
  font-size: 1.12rem;
  max-width: 48rem;
}

.lesson-layout,
.lesson-shell {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  padding: 4rem 0;
}

.lesson-rail {
  position: sticky;
  top: 5.5rem;
  display: grid;
  gap: 0.4rem;
}

.lesson-rail a {
  border-left: 2px solid transparent;
  color: rgba(245, 241, 232, 0.58);
  padding: 0.55rem 0.75rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
}

.lesson-rail a:hover,
.lesson-rail a.active {
  border-left-color: var(--gold);
  color: var(--gold);
  background: rgba(200, 169, 107, 0.08);
}

.lesson-body,
.lesson-content {
  display: grid;
  gap: 3rem;
}

.lesson-section {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  scroll-margin-top: 6.5rem;
}

.lesson-section h2 {
  margin-bottom: 1rem;
  font-size: 3.2rem;
}

.lesson-section p {
  color: rgba(245, 241, 232, 0.78);
}

.lesson-lede {
  color: var(--ivory) !important;
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  line-height: 1.7;
}

.lesson-section blockquote {
  margin: 2rem 0 0;
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
  color: var(--ivory);
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
}

.lesson-section cite {
  display: block;
  margin-top: 0.75rem;
  color: var(--gold);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.lesson-kicker {
  margin-bottom: 0.75rem;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.belief-grid-large {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  margin-top: 1.5rem;
}

.belief-tile-large {
  min-height: 13rem;
  border: 0;
  background: rgba(245, 241, 232, 0.045);
  color: var(--ivory);
  padding: 1.2rem;
  text-align: left;
  cursor: pointer;
}

.belief-tile-large:hover,
.belief-tile-large.active {
  background: rgba(200, 169, 107, 0.13);
}

.belief-tile-large span {
  display: block;
  margin-bottom: 0.55rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.belief-tile-large p {
  margin: 0;
  font-size: 0.9rem;
}

.belief-tile-large small {
  display: block;
  margin-top: 0.8rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
}

.myth-board .belief-tile-large,
.foundation-board .belief-tile-large {
  min-height: 26rem;
  padding: 0;
  perspective: 1200px;
  background: transparent;
}

.myth-card-inner {
  position: relative;
  min-height: 26rem;
  transform-style: preserve-3d;
  transition: transform 0.55s ease;
}

.myth-tile-large.active .myth-card-inner,
.foundation-tile.active .myth-card-inner {
  transform: rotateY(180deg);
}

.myth-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.7rem;
  border: 1px solid rgba(245, 241, 232, 0.12);
  background: rgba(245, 241, 232, 0.045);
  padding: 1.15rem;
  backface-visibility: hidden;
  overflow: hidden;
}

.myth-front {
  background:
    linear-gradient(145deg, rgba(200, 169, 107, 0.11), rgba(245, 241, 232, 0.035)),
    rgba(245, 241, 232, 0.045);
}

.myth-back {
  justify-content: flex-start;
  background: rgba(23, 29, 26, 0.98);
  transform: rotateY(180deg);
  overflow-y: auto;
}

.myth-back strong {
  color: var(--gold);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.myth-back p {
  margin: -0.35rem 0 0.25rem;
  font-size: 0.84rem;
  line-height: 1.45;
}

.myth-back small {
  margin-top: auto;
  line-height: 1.45;
}

.myth-tile-large:hover .myth-front,
.myth-tile-large.active .myth-back,
.myth-tile-large:focus-visible .myth-front,
.foundation-tile:hover .myth-front,
.foundation-tile.active .myth-back,
.foundation-tile:focus-visible .myth-front {
  border-color: rgba(200, 169, 107, 0.6);
  background-color: rgba(200, 169, 107, 0.12);
}

.common-grid strong {
  color: var(--ivory);
}

.detail-drawer,
.quiz-result,
.did-you-know {
  border: 1px solid rgba(200, 169, 107, 0.35);
  background: rgba(200, 169, 107, 0.08);
  color: rgba(245, 241, 232, 0.88);
  padding: 1rem;
  margin-top: 1rem;
}

.sacrament-steps {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1.5rem;
  background: var(--line);
}

.sacrament-steps button {
  border: 0;
  background: rgba(245, 241, 232, 0.045);
  color: var(--ivory);
  min-height: 5rem;
  padding: 0.8rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.sacrament-steps button.active,
.sacrament-steps button:hover {
  background: rgba(74, 139, 137, 0.18);
}

.sacrament-steps span {
  display: block;
  color: var(--gold);
  font-family: Cinzel, serif;
  font-size: 1.25rem;
}

.sacrament-detail {
  border: 1px solid var(--line);
  padding: 1.2rem;
  background: rgba(245, 241, 232, 0.035);
}

.sacrament-detail h3 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.common-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 1.5rem 0;
  background: var(--line);
}

.common-grid span {
  background: rgba(245, 241, 232, 0.045);
  color: rgba(245, 241, 232, 0.76);
  padding: 0.85rem 1rem;
}

.evidence-grid {
  display: grid;
  gap: 1px;
  margin-top: 1.5rem;
  background: var(--line);
}

.evidence-item {
  background: rgba(245, 241, 232, 0.035);
  border: 0;
  padding: 0;
}

.evidence-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem;
  font-weight: 800;
  color: var(--ivory);
}

.evidence-item summary::-webkit-details-marker {
  display: none;
}

.evidence-item summary::after {
  content: "+";
  float: right;
  color: var(--gold);
}

.evidence-item[open] summary::after {
  content: "-";
}

.evidence-item p,
.evidence-item ul {
  margin: 0;
  padding: 0 1rem 1rem;
}

.evidence-item ul {
  padding-left: 2rem;
  color: rgba(245, 241, 232, 0.76);
  display: grid;
  gap: 0.45rem;
}

.evidence-item a {
  color: var(--gold);
}

.quiz {
  display: grid;
  gap: 0.65rem;
}

.quiz button {
  border: 1px solid var(--line);
  background: rgba(245, 241, 232, 0.045);
  color: var(--ivory);
  min-height: 3.2rem;
  padding: 0.85rem 1rem;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.quiz button.correct {
  border-color: rgba(74, 139, 137, 0.8);
  background: rgba(74, 139, 137, 0.2);
}

.quiz button.incorrect {
  border-color: rgba(122, 57, 72, 0.8);
  background: rgba(122, 57, 72, 0.22);
}

.reflection-block textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(245, 241, 232, 0.045);
  color: var(--ivory);
  padding: 1rem;
  font: inherit;
  resize: vertical;
}

.save-reflection {
  margin-top: 0.75rem;
  border: 1px solid rgba(200, 169, 107, 0.6);
  background: rgba(200, 169, 107, 0.14);
  color: var(--ivory);
  padding: 0.7rem 1rem;
  font-weight: 800;
  cursor: pointer;
}

.save-state {
  margin-left: 0.75rem;
  color: var(--gold);
  font-weight: 800;
}

.deep-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.deep-toggle {
  border: 0;
  background: rgba(245, 241, 232, 0.045);
  color: var(--ivory);
  padding: 1rem;
  text-align: left;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.deep-body {
  display: none;
  background: rgba(245, 241, 232, 0.025);
  padding: 1rem;
}

.deep-body.open {
  display: block;
}

.chapter-panel img {
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
}

.panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.4rem, 4vw, 4rem);
}

.panel-copy p {
  color: rgba(245, 241, 232, 0.82);
}

.episode-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.episode-meta span {
  border: 1px solid rgba(245, 241, 232, 0.14);
  background: rgba(245, 241, 232, 0.045);
  color: rgba(245, 241, 232, 0.78);
  padding: 0.35rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.content-stack {
  display: grid;
  gap: 0.85rem;
}

.content-stack div {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.content-stack h4 {
  margin: 0 0 0.25rem;
  color: var(--ivory);
  font-size: 0.95rem;
}

.content-stack p {
  margin: 0;
  font-size: 0.95rem;
}

.learning-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.learning-tile {
  background: rgba(245, 241, 232, 0.045);
  padding: 1rem;
}

.learning-tile span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--ivory);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.learning-tile p {
  margin: 0;
  color: rgba(245, 241, 232, 0.72);
  font-size: 0.86rem;
}

.learning-tile small {
  display: block;
  margin-top: 0.7rem;
  color: var(--gold);
  font-size: 0.72rem;
}

.sacrament-list,
.question-list,
.source-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.sacrament-list div,
.question-list div {
  background: rgba(245, 241, 232, 0.045);
  padding: 0.9rem 1rem;
}

.sacrament-list strong,
.question-list strong,
.source-list h4 {
  display: block;
  margin: 0 0 0.25rem;
  color: var(--ivory);
  font-size: 0.95rem;
}

.sacrament-list p,
.question-list p {
  margin: 0;
  color: rgba(245, 241, 232, 0.68);
  font-size: 0.86rem;
}

.source-list {
  background: rgba(245, 241, 232, 0.035);
  border-top: 1px solid var(--line);
  padding: 1rem 0 0;
}

.source-list a {
  display: block;
  border-top: 1px solid var(--line);
  color: rgba(245, 241, 232, 0.72);
  padding: 0.65rem 0;
  text-decoration: none;
  font-size: 0.84rem;
}

.source-list a:hover {
  color: var(--gold);
}

.reference-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.reference-strip a {
  border: 1px solid rgba(200, 169, 107, 0.42);
  color: var(--gold);
  padding: 0.45rem 0.6rem;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.knowledge-check {
  border: 1px solid rgba(74, 139, 137, 0.55);
  background: rgba(74, 139, 137, 0.1);
  padding: 0.85rem;
}

.knowledge-check p {
  margin: 0 0 0.5rem;
  color: var(--ivory);
  font-weight: 700;
}

.knowledge-check button {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(245, 241, 232, 0.06);
  color: var(--ivory);
  min-height: 2.6rem;
  padding: 0.55rem 0.75rem;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.belief-map,
.myth-grid,
.filter-row,
.country-list,
.resource-grid,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.belief-map button,
.myth-card,
.filter-row button,
.country-list button {
  text-align: center;
  min-width: 6.5rem;
}

.reflection,
blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
}

blockquote {
  margin: 0;
}

.pattern-compare,
.mass-steps,
.timeline,
.day-line {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  list-style-position: inside;
}

.pattern-compare span,
.mass-steps li,
.timeline span,
.day-line span {
  border-left: 3px solid var(--teal);
  background: rgba(74, 139, 137, 0.13);
  padding: 0.8rem 1rem;
}

.text-link {
  color: var(--gold);
  font-weight: 700;
}

.video-companion {
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(200, 169, 107, 0.34);
  background: rgba(200, 169, 107, 0.08);
  padding: 1rem;
}

.video-companion h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.video-companion p {
  margin: 0;
}

.video-companion iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: var(--black);
}

.church-explorer,
.mass-walkthrough {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: start;
}

.church-plan {
  position: relative;
  min-height: 30rem;
  overflow: hidden;
  border: 1px solid rgba(245, 241, 232, 0.16);
  background:
    linear-gradient(180deg, rgba(245, 241, 232, 0.08), rgba(245, 241, 232, 0.02)),
    repeating-linear-gradient(90deg, rgba(245, 241, 232, 0.035) 0 1px, transparent 1px 4.6rem),
    var(--ink);
}

.church-plan::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 2rem;
  width: 42%;
  height: 8rem;
  border: 1px solid rgba(200, 169, 107, 0.4);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  transform: translateX(-50%);
}

.nave-path {
  position: absolute;
  left: 50%;
  top: 9rem;
  bottom: 1.4rem;
  width: 26%;
  border-inline: 1px solid rgba(245, 241, 232, 0.14);
  transform: translateX(-50%);
}

.church-hotspot {
  position: absolute;
  min-height: 2.4rem;
  border: 1px solid rgba(245, 241, 232, 0.22);
  background: rgba(11, 11, 13, 0.78);
  color: var(--ivory);
  padding: 0.45rem 0.65rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.church-hotspot:hover,
.church-hotspot.active {
  border-color: var(--gold);
  background: rgba(200, 169, 107, 0.22);
}

.church-hotspot.altar { left: 50%; top: 6.2rem; transform: translateX(-50%); }
.church-hotspot.ambo { left: 20%; top: 10.5rem; }
.church-hotspot.tabernacle { right: 14%; top: 4rem; }
.church-hotspot.font { left: 50%; bottom: 2rem; transform: translateX(-50%); }
.church-hotspot.crucifix { left: 50%; top: 1rem; transform: translateX(-50%); }
.church-hotspot.candles { right: 18%; top: 11.5rem; }

.church-detail,
.mass-stage {
  border: 1px solid rgba(200, 169, 107, 0.34);
  background: rgba(200, 169, 107, 0.08);
  padding: clamp(1.1rem, 3vw, 1.5rem);
}

.church-detail h3,
.mass-stage h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.church-detail p,
.mass-stage p {
  margin: 0;
  color: rgba(245, 241, 232, 0.82);
}

.mass-stage {
  position: sticky;
  top: 7rem;
  min-height: 20rem;
}

.mass-flow {
  display: grid;
  gap: 0.75rem;
}

.mass-flow-step {
  border-left: 3px solid rgba(245, 241, 232, 0.18);
  background: rgba(245, 241, 232, 0.045);
  padding: 1rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.mass-flow-step.active {
  border-color: var(--gold);
  background: rgba(200, 169, 107, 0.12);
}

.mass-flow-step span {
  display: block;
  color: var(--gold);
  font-family: Cinzel, serif;
  font-weight: 800;
}

.mass-flow-step h4 {
  margin: 0.2rem 0 0.35rem;
  color: var(--ivory);
  font-size: 1.12rem;
}

.mass-flow-step p {
  margin: 0;
  color: rgba(245, 241, 232, 0.72);
  font-size: 0.92rem;
}

.exhibit {
  background: var(--burgundy);
}

.beauty-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.beauty-grid figure {
  margin: 0;
}

.beauty-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

figcaption {
  margin-top: 0.65rem;
  color: rgba(245, 241, 232, 0.78);
}

.exhibit-question {
  width: min(1180px, 100%);
  margin: 1.5rem auto 0;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
}

.resources {
  background: #101613;
}

.prayer {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 5vw, 5rem);
  background:
    linear-gradient(135deg, rgba(74, 139, 137, 0.16), transparent 40%),
    linear-gradient(180deg, #121417, #0f1513);
}

.standalone-prayer {
  min-height: 100svh;
  padding-top: clamp(7rem, 12vw, 10rem);
}

.standalone-prayer .section-heading p:last-child {
  max-width: 44rem;
  color: rgba(245, 241, 232, 0.72);
}

.prayer-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.gospel-reader,
.lectio-guide {
  border: 1px solid var(--line);
  background: rgba(245, 241, 232, 0.045);
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.reader-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.reader-heading h3 {
  margin: 0.15rem 0 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.reader-source,
.quiet-action {
  border: 1px solid rgba(245, 241, 232, 0.22);
  background: rgba(245, 241, 232, 0.05);
  color: rgba(245, 241, 232, 0.88);
  padding: 0.55rem 0.75rem;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.reader-source:hover,
.quiet-action:hover,
.lectio-steps button:hover,
.lectio-steps button.active {
  border-color: rgba(200, 169, 107, 0.75);
  background: rgba(200, 169, 107, 0.16);
  color: var(--ivory);
}

.daily-gospel {
  display: grid;
  gap: 1rem;
}

.daily-gospel h4 {
  margin: 0;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
}

.daily-gospel .reading-date,
.reading-status,
.save-state {
  color: rgba(245, 241, 232, 0.58);
  font-size: 0.9rem;
}

.daily-gospel .gospel-text {
  max-height: 34rem;
  overflow: auto;
  padding-right: 0.5rem;
  color: rgba(245, 241, 232, 0.82);
}

.daily-gospel .gospel-text p {
  margin: 0 0 1rem;
}

.gospel-frame {
  width: 100%;
  min-height: 34rem;
  border: 1px solid rgba(245, 241, 232, 0.18);
  background: var(--ivory);
}

.lectio-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.lectio-steps button {
  min-height: 2.6rem;
  border: 1px solid var(--line);
  background: rgba(245, 241, 232, 0.04);
  color: rgba(245, 241, 232, 0.78);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.lectio-panel {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.lectio-panel h4 {
  margin: 0.15rem 0 0.5rem;
  font-size: 1.6rem;
}

.lectio-panel label {
  display: block;
  margin: 1.1rem 0 0.45rem;
  color: rgba(245, 241, 232, 0.74);
  font-weight: 700;
}

.lectio-panel textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid rgba(245, 241, 232, 0.18);
  background: rgba(11, 11, 13, 0.46);
  color: var(--ivory);
  padding: 0.85rem;
  font: inherit;
  line-height: 1.5;
}

.lectio-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.small-action {
  border: 1px solid rgba(200, 169, 107, 0.6);
  cursor: pointer;
  font: inherit;
}

.resource-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.resource-grid a {
  flex: 1 1 12rem;
}

.finale {
  position: relative;
  min-height: 78svh;
  display: grid;
  place-items: end start;
  overflow: hidden;
}

.finale > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.finale::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(11, 11, 13, 0.94), rgba(11, 11, 13, 0.42)), linear-gradient(0deg, rgba(11, 11, 13, 0.9), transparent 45%);
}

.finale div {
  width: min(780px, 100%);
}

.finale p {
  color: rgba(245, 241, 232, 0.84);
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  max-width: min(24rem, calc(100vw - 2rem));
  padding: 0.85rem 1rem;
  background: var(--ivory);
  color: var(--black);
  opacity: 0;
  transform: translateY(0.6rem);
  transition: 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
  }

  nav {
    display: none;
  }

  .hero-video {
    display: none;
  }

  .section-inner,
  .liturgical-panel,
  .story-journey,
  .church-explorer,
  .mass-walkthrough,
  .chapter-panel,
  .beauty-grid,
  .prayer-layout {
    grid-template-columns: 1fr;
  }

  .liturgical-date {
    border-right: 0;
    border-bottom: 1px solid rgba(245, 241, 232, 0.18);
  }

  .chapter-nav {
    top: 0;
    margin-inline: -1.25rem;
    padding-inline: 1.25rem;
  }

  .chapter-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-card,
  .proof-card-summary {
    min-height: auto;
    grid-column: auto;
  }

  .chapter-card {
    min-height: auto;
  }

  .journey-stage {
    position: sticky;
    top: 0;
    min-height: 58svh;
    margin-inline: -1.25rem;
    border-inline: 0;
  }

  .journey-stage h3 {
    font-size: 3.35rem;
  }

  .journey-steps {
    margin-top: 0.25rem;
  }

  .journey-step {
    min-height: 7.25rem;
  }

  .journey-step.active {
    transform: none;
  }

  .episode-card {
    flex-basis: 11rem;
    min-height: 7rem;
    font-size: 0.9rem;
  }

  .brand {
    font-size: 1rem;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  h3 {
    font-size: 2.25rem;
  }

  .question-rotator {
    font-size: 1.45rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .exhibit-question {
    font-size: 1.35rem;
  }

  .learning-grid {
    grid-template-columns: 1fr;
  }

  .mass-stage {
    position: static;
    min-height: auto;
  }

  .church-plan {
    min-height: 25rem;
  }

  .lesson-hero h1 {
    font-size: 3.25rem;
  }

  .lesson-layout,
  .lesson-shell {
    grid-template-columns: 1fr;
  }

  .lesson-rail {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lesson-section h2 {
    font-size: 2.35rem;
  }

  .belief-grid-large,
  .common-grid,
  .sacrament-steps {
    grid-template-columns: 1fr;
  }

  .chapter-panel,
  .chapter-panel img {
    min-height: auto;
  }

  .chapter-panel img {
    aspect-ratio: 16 / 10;
  }

  .reader-heading {
    display: grid;
  }

  .lectio-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
