:root {
  --purple: #311e33;
  --purple-deep: #211323;
  --purple-mid: #432745;
  --gold: #eebd4a;
  --gold-light: #f7d983;
  --cream: #fbf7ef;
  --ivory: #fffdf9;
  --ink: #231a24;
  --muted: #746b75;
  --line: rgba(49, 30, 51, 0.13);
  --white-line: rgba(255, 255, 255, 0.12);
  --shadow: 0 28px 80px rgba(34, 18, 36, 0.19);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 28%, rgba(238, 189, 74, 0.08), transparent 24%),
    linear-gradient(180deg, #fcf9f3 0%, #f8f2e8 100%);
  font-family: var(--sans);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
a { color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--gold); color: var(--purple-deep); }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 9px;
  color: var(--purple-deep);
  background: var(--gold-light);
  font-weight: 800;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(49, 30, 51, 0.1);
  background: rgba(255, 253, 249, 0.93);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--purple-deep);
  text-decoration: none;
}
.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  overflow: hidden;
  border: 1px solid rgba(238, 189, 74, 0.6);
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 9px 22px rgba(33, 19, 35, 0.14);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.brand-type { display: flex; flex-direction: column; line-height: 1; letter-spacing: 0.18em; }
.brand-type strong { font-family: var(--serif); font-size: 16px; }
.brand-type small { margin-top: 6px; color: #a16f09; font-size: 8px; font-weight: 800; letter-spacing: 0.5em; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-link {
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
}
.header-link:hover { color: var(--purple); }
.listen-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  color: var(--ivory);
  background: #181319;
  box-shadow: 0 10px 25px rgba(24, 19, 25, 0.18);
  font-size: 12px;
  font-weight: 800;
}
.listen-button:hover { transform: translateY(-1px); }
.listen-button[aria-pressed="true"] { background: var(--purple); }
.listen-icon { font-size: 11px; }

.page-progress {
  position: fixed;
  inset: 76px 0 auto;
  z-index: 1001;
  height: 2px;
  pointer-events: none;
}
.page-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.lesson-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 62px 0 52px;
}
.lesson-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(238, 189, 74, 0.28);
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 100% 0%, rgba(238, 189, 74, 0.12), transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(111, 62, 115, 0.25), transparent 34%),
    linear-gradient(145deg, #1c121e 0%, #271729 58%, #211323 100%);
  box-shadow: var(--shadow);
}
.lesson-shell::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  left: -200px;
  bottom: -235px;
  border: 1px solid rgba(238, 189, 74, 0.22);
  border-radius: 50%;
  pointer-events: none;
}
.lesson-shell-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  top: -240px;
  right: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 189, 74, 0.15), transparent 66%);
  pointer-events: none;
}
.lesson-topline {
  position: relative;
  z-index: 2;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lesson-progress {
  position: relative;
  z-index: 2;
  height: 5px;
  margin: 0 28px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}
.lesson-progress span {
  display: block;
  width: 12.5%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #dcae34, var(--gold-light));
  box-shadow: 0 0 18px rgba(238, 189, 74, 0.35);
  transition: width 0.35s ease;
}
.panel-stage { position: relative; z-index: 2; }
.lesson-panel { padding: 64px 66px 54px; animation: panel-in 0.45s ease; }
.lesson-panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.panel-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); gap: 56px; align-items: center; }
.panel-copy { max-width: 720px; }
.panel-copy-wide { max-width: 970px; margin: 0 auto; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 17px;
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.eyebrow span { width: 27px; height: 1px; background: var(--gold); }
h1, h2, h3, blockquote { font-family: var(--serif); }
h1 {
  margin: 0;
  color: var(--ivory);
  font-size: clamp(47px, 6.2vw, 78px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.035em;
}
h1 em, h2 em { color: var(--gold-light); font-style: normal; }
h2 {
  max-width: 880px;
  margin: 0;
  color: var(--ivory);
  font-size: clamp(43px, 5.6vw, 68px);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.032em;
}
.panel-copy h3 { color: var(--ivory); }
.panel-copy p { margin: 20px 0 0; font-size: 14px; line-height: 1.82; }
.panel-lead { color: rgba(255, 255, 255, 0.88); font-size: 17px !important; }
.compact-lead { max-width: 830px; }
.study-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 27px; }
.study-chips span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.035);
  font-size: 10px;
}
.primary-button, .secondary-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 29px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.primary-button {
  color: var(--purple-deep);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 15px 34px rgba(238, 189, 74, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.primary-button:hover, .secondary-button:hover { transform: translateY(-2px); }
.secondary-button {
  color: var(--ivory);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}
.save-note { color: rgba(255, 255, 255, 0.44); font-size: 10px !important; }

.hero-visual { position: relative; min-height: 425px; }
.evidence-card {
  position: absolute;
  border: 1px solid rgba(238, 189, 74, 0.32);
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(10, 6, 11, 0.34);
}
.evidence-card-back {
  width: 78%;
  min-height: 225px;
  right: 1%;
  top: 12%;
  padding: 26px;
  transform: rotate(7deg);
  color: var(--purple);
  background: linear-gradient(145deg, #fffef9, #eee6d7);
}
.evidence-card-back span, .evidence-card-front small { display: block; font-size: 8px; font-weight: 800; letter-spacing: 0.18em; }
.evidence-card-back strong { display: block; margin-top: 55px; font-family: var(--serif); font-size: 26px; line-height: 1.05; }
.evidence-card-front {
  width: 82%;
  min-height: 340px;
  left: 0;
  bottom: 0;
  padding: 34px;
  transform: rotate(-3deg);
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 85% 15%, rgba(238, 189, 74, 0.18), transparent 30%),
    linear-gradient(145deg, #3b2140, #201322);
}
.evidence-number { color: var(--gold-light); font-family: var(--serif); font-size: 48px; }
.evidence-seal { width: 54px; height: 54px; display: grid; place-items: center; margin: 26px 0; border: 1px solid rgba(238, 189, 74, 0.6); border-radius: 50%; color: var(--gold); }
.evidence-card-front strong { display: block; margin-top: 12px; color: var(--ivory); font-family: var(--serif); font-size: 31px; line-height: 1; }
.evidence-card-front p { margin-top: 12px; font-size: 12px; }

.story-rail, .history-timeline, .scripture-path { margin-top: 38px; border-top: 1px solid var(--white-line); }
.story-rail article, .history-timeline article, .scripture-path article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--white-line);
}
.story-rail article > span, .scripture-path article > span { color: var(--gold); font-family: var(--serif); font-size: 25px; }
.story-rail strong, .history-timeline strong, .scripture-path strong { color: var(--ivory); font-size: 13px; }
.story-rail p, .history-timeline p, .scripture-path p { margin: 5px 0 0; color: rgba(255, 255, 255, 0.6); font-size: 12px; }
.gold-quote {
  position: relative;
  margin: 36px 0 0;
  padding: 28px 30px 28px 56px;
  border: 1px solid rgba(238, 189, 74, 0.22);
  border-radius: 20px;
  color: var(--gold-light);
  background: rgba(238, 189, 74, 0.055);
  font-size: clamp(25px, 3.5vw, 38px);
  font-weight: 600;
  line-height: 1.08;
}
.gold-quote::before { content: "“"; position: absolute; left: 19px; top: 11px; color: var(--gold); font-size: 52px; }

.evidence-drawer {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.035);
}
.evidence-drawer summary {
  min-height: 59px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  list-style: none;
  cursor: pointer;
  color: var(--ivory);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.025em;
}
.evidence-drawer summary::-webkit-details-marker { display: none; }
.evidence-drawer summary i { color: var(--gold); font-size: 20px; font-style: normal; transition: transform 0.25s ease; }
.evidence-drawer[open] summary i { transform: rotate(45deg); }
.evidence-drawer[open] summary { border-bottom: 1px solid var(--white-line); }
.drawer-content { padding: 24px; }
.drawer-content > p:first-child { margin-top: 0; }
.drawer-content p { font-size: 12px; }
.source-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.source-links a {
  min-height: 74px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.source-links a:hover { border-color: rgba(238, 189, 74, 0.65); background: rgba(238, 189, 74, 0.07); }
.source-links a span { font-size: 11px; font-weight: 700; }
.source-links a small { margin-top: 4px; color: rgba(255, 255, 255, 0.45); font-size: 8px; }
.source-links-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.drawer-note { padding: 14px 16px; border-left: 2px solid var(--gold); color: rgba(255, 255, 255, 0.68); background: rgba(238, 189, 74, 0.05); }
.drawer-list { margin: 17px 0 0; padding-left: 20px; color: rgba(255, 255, 255, 0.68); font-size: 12px; }
.drawer-list li + li { margin-top: 7px; }

.diagnosis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.diagnosis-grid article { min-height: 215px; padding: 25px; border: 1px solid var(--white-line); border-radius: 18px; background: rgba(255, 255, 255, 0.035); }
.diagnosis-grid article > span { color: var(--gold); font-family: var(--serif); font-size: 30px; }
.diagnosis-grid strong { display: block; margin-top: 24px; color: var(--ivory); font-size: 13px; }
.diagnosis-grid p { margin-top: 8px; color: rgba(255, 255, 255, 0.57); font-size: 11px; }
.insight-band {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 25px;
  margin-top: 25px;
  padding: 24px;
  border: 1px solid rgba(238, 189, 74, 0.24);
  border-radius: 18px;
  background: rgba(238, 189, 74, 0.055);
}
.insight-band span { color: var(--gold); font-size: 8px; font-weight: 800; letter-spacing: 0.18em; }
.insight-band strong { color: var(--ivory); font-family: var(--serif); font-size: 24px; line-height: 1.1; }

.contrast-layout { display: grid; grid-template-columns: 1fr 58px 1fr; align-items: stretch; gap: 16px; margin-top: 36px; }
.contrast-card { padding: 28px; border-radius: 20px; }
.contrast-card span { font-size: 8px; font-weight: 800; letter-spacing: 0.16em; }
.contrast-card ul { list-style: none; margin: 25px 0 0; padding: 0; }
.contrast-card li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid rgba(255, 255, 255, 0.09); color: rgba(255, 255, 255, 0.75); font-size: 12px; }
.contrast-card li::before { content: "•"; position: absolute; left: 2px; color: var(--gold); }
.contrast-card-muted { border: 1px solid var(--white-line); background: rgba(255, 255, 255, 0.035); }
.contrast-card-muted span { color: rgba(255, 255, 255, 0.48); }
.contrast-card-gold { border: 1px solid rgba(238, 189, 74, 0.3); background: rgba(238, 189, 74, 0.07); }
.contrast-card-gold span { color: var(--gold-light); }
.contrast-divider { display: grid; place-items: center; color: var(--gold); font-family: var(--serif); font-size: 36px; }
.three-step-truth { display: grid; gap: 9px; margin-top: 26px; }
.three-step-truth span { display: flex; align-items: center; gap: 15px; padding: 13px 16px; border: 1px solid var(--white-line); border-radius: 13px; color: rgba(255, 255, 255, 0.72); font-size: 12px; }
.three-step-truth b { color: var(--gold); font-family: var(--serif); font-size: 18px; }

.belief-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.belief-card { min-height: 270px; padding: 28px; border-radius: 20px; }
.belief-card > span { font-size: 8px; font-weight: 800; letter-spacing: 0.17em; }
.belief-card h3 { margin: 25px 0 10px; font-size: 34px; line-height: 1; }
.belief-card p { margin: 0; font-size: 12px; }
.belief-card-lie { border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.035); }
.belief-card-lie > span { color: rgba(255, 255, 255, 0.45); }
.belief-card-truth { border: 1px solid rgba(238, 189, 74, 0.3); background: rgba(238, 189, 74, 0.075); }
.belief-card-truth > span { color: var(--gold-light); }

.history-timeline article { grid-template-columns: 120px 1fr; }
.timeline-year { color: var(--gold-light); font-family: var(--serif); font-size: 22px; }
.question-callout { margin-top: 28px; padding: 28px; border-radius: 19px; color: var(--purple); background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 16px 38px rgba(238, 189, 74, 0.15); }
.question-callout small { display: block; font-size: 8px; font-weight: 800; letter-spacing: 0.18em; }
.question-callout strong { display: block; max-width: 780px; margin-top: 10px; font-family: var(--serif); font-size: 30px; line-height: 1.03; }

.scripture-path { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 0; gap: 12px; }
.scripture-path article { min-height: 138px; padding: 20px; border: 1px solid var(--white-line); border-radius: 16px; background: rgba(255, 255, 255, 0.03); }

.discovery-summary { margin-top: 31px; padding: 28px; border: 1px solid rgba(238, 189, 74, 0.27); border-radius: 20px; background: rgba(238, 189, 74, 0.06); }
.discovery-summary > span { color: var(--gold-light); font-size: 8px; font-weight: 800; letter-spacing: 0.18em; }
.discovery-summary ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px 25px; margin: 23px 0 0; padding: 0; list-style: none; }
.discovery-summary li { position: relative; padding-left: 22px; color: rgba(255, 255, 255, 0.7); font-size: 12px; }
.discovery-summary li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.reflection-card { margin-top: 25px; padding: 30px; border-radius: 21px; color: var(--purple); background: linear-gradient(145deg, #fffdf9, #f1e8d7); box-shadow: 0 18px 48px rgba(7, 4, 8, 0.2); }
.reflection-card small { color: #9b6907; font-size: 8px; font-weight: 800; letter-spacing: 0.18em; }
.reflection-card h3 { margin: 13px 0 0; color: var(--purple); font-size: 36px; line-height: 1.02; }
.reflection-card p { color: #665c67; font-size: 12px; }
.completion-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.next-lesson-card { margin-top: 28px; padding: 28px; border: 1px solid var(--white-line); border-radius: 20px; background: rgba(255, 255, 255, 0.035); }
.next-lesson-card > span { color: var(--gold); font-size: 8px; font-weight: 800; letter-spacing: 0.18em; }
.next-lesson-card h3 { margin: 13px 0 7px; font-size: 35px; line-height: 1; }
.next-lesson-card p { margin: 0; color: rgba(255, 255, 255, 0.58); font-size: 12px; }

.lesson-navigation {
  position: relative;
  z-index: 2;
  min-height: 76px;
  display: grid;
  grid-template-columns: 130px 1fr 130px;
  align-items: center;
  gap: 18px;
  padding: 0 28px;
  border-top: 1px solid var(--white-line);
  background: rgba(12, 7, 13, 0.18);
}
.nav-button { min-height: 40px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; color: rgba(255, 255, 255, 0.72); background: rgba(255, 255, 255, 0.035); font-size: 10px; font-weight: 800; }
.nav-button:hover { border-color: rgba(238, 189, 74, 0.6); color: var(--gold-light); }
.nav-button:disabled { opacity: 0.32; cursor: not-allowed; }
.lesson-dots { display: flex; justify-content: center; gap: 8px; }
.lesson-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.lesson-dots button.is-active { width: 24px; border-radius: 99px; background: var(--gold); }

.discussion-invite {
  position: relative;
  width: min(1080px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 35px;
  margin: 18px auto 42px;
  padding: 40px 44px;
  overflow: hidden;
  border: 1px solid rgba(238, 189, 74, 0.26);
  border-radius: 24px;
  color: var(--ivory);
  background: linear-gradient(135deg, var(--purple-deep), #412542);
  box-shadow: 0 24px 60px rgba(33, 19, 35, 0.15);
}
.discussion-orbit { position: absolute; width: 260px; height: 260px; right: -110px; top: -145px; border: 1px solid rgba(238, 189, 74, 0.24); border-radius: 50%; }
.discussion-invite > div:not(.discussion-orbit) { position: relative; z-index: 1; }
.discussion-invite span { color: var(--gold-light); font-size: 8px; font-weight: 800; letter-spacing: 0.18em; }
.discussion-invite h2 { max-width: 720px; margin-top: 12px; font-size: clamp(34px, 4.5vw, 49px); }
.discussion-invite p { max-width: 710px; margin: 12px 0 0; color: rgba(255, 255, 255, 0.63); font-size: 12px; }
.discussion-invite > a { position: relative; z-index: 2; min-height: 52px; display: inline-flex; align-items: center; gap: 10px; padding: 0 22px; border-radius: 999px; color: var(--purple-deep); background: linear-gradient(135deg, var(--gold-light), var(--gold)); text-decoration: none; font-size: 10px; font-weight: 800; white-space: nowrap; }

.site-footer {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 40px;
  text-align: center;
}
.lesson-return { display: flex; justify-content: center; margin: 0 0 22px; }
.lesson-return-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid rgba(238, 189, 74, 0.65);
  border-radius: 999px;
  color: var(--purple);
  background: var(--ivory);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.lesson-return-link span { color: #a8730d; font-size: 16px; }
.lesson-return-link:hover { transform: translateY(-2px); background: var(--gold-light); box-shadow: 0 12px 28px rgba(49, 30, 51, 0.12); }
.social-footer { max-width: 900px; margin: 0 auto; padding-top: 28px; border-top: 1px solid var(--line); }
.social-intro { margin: 0 0 17px !important; color: var(--purple) !important; font-family: var(--serif); font-size: 22px !important; font-weight: 700; }
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.social-link { min-height: 35px; display: inline-flex; align-items: center; gap: 8px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--purple); background: rgba(255, 255, 255, 0.62); text-decoration: none; font-size: 9px; font-weight: 700; }
.social-link:hover { border-color: var(--gold); background: var(--ivory); }
.site-footer > p { margin: 13px 0 0; color: var(--muted); font-size: 10px; }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 2000; padding: 11px 16px; border-radius: 999px; color: var(--ivory); background: rgba(33, 19, 35, 0.94); box-shadow: 0 13px 34px rgba(33, 19, 35, 0.24); font-size: 10px; opacity: 0; pointer-events: none; transform: translate(-50%, 18px); transition: opacity 0.2s ease, transform 0.2s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .lesson-panel { padding: 54px 38px 46px; }
  .panel-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 370px; max-width: 620px; }
  .diagnosis-grid { grid-template-columns: 1fr; }
  .contrast-layout { grid-template-columns: 1fr; }
  .contrast-divider { min-height: 35px; }
  .belief-comparison { grid-template-columns: 1fr; }
  .scripture-path { grid-template-columns: 1fr; }
  .discussion-invite { grid-template-columns: 1fr; }
  .discussion-invite > a { width: fit-content; }
}

@media (max-width: 640px) {
  .site-header { min-height: 68px; padding: 0 14px; }
  .brand-mark { width: 40px; height: 40px; flex-basis: 40px; }
  .brand-type strong { font-size: 14px; }
  .header-actions { gap: 8px; }
  .header-link { font-size: 10px; }
  .listen-button { min-height: 40px; padding: 0 14px; }
  .page-progress { top: 68px; }
  .lesson-main { width: min(100% - 18px, 1180px); padding-top: 24px; }
  .lesson-shell { border-radius: 21px; }
  .lesson-topline { padding: 0 16px; }
  .lesson-progress { margin: 0 16px; }
  .lesson-panel { padding: 39px 20px 36px; }
  h1 { font-size: 46px; }
  h2 { font-size: 42px; }
  .panel-copy p { font-size: 13px; }
  .panel-lead { font-size: 15px !important; }
  .hero-visual { min-height: 315px; }
  .evidence-card-back { width: 76%; }
  .evidence-card-front { width: 87%; min-height: 275px; padding: 25px; }
  .evidence-card-front strong { font-size: 27px; }
  .evidence-seal { margin: 15px 0; }
  .story-rail article, .history-timeline article { grid-template-columns: 1fr; gap: 6px; }
  .history-timeline article { padding: 19px 0; }
  .source-links, .source-links-compact { grid-template-columns: 1fr; }
  .insight-band { grid-template-columns: 1fr; gap: 9px; }
  .discovery-summary ul { grid-template-columns: 1fr; }
  .reflection-card { padding: 23px; }
  .reflection-card h3 { font-size: 29px; }
  .completion-actions { flex-direction: column; }
  .completion-actions a,
  .completion-actions button.primary-button { width: 100%; margin-top: 8px; }
  .lesson-navigation { grid-template-columns: 1fr 1fr; padding: 12px 16px; }
  .lesson-dots { grid-column: 1 / -1; grid-row: 1; }
  .nav-back { grid-column: 1; grid-row: 2; }
  .nav-next { grid-column: 2; grid-row: 2; }
  .discussion-invite { width: min(100% - 18px, 1080px); padding: 30px 23px; }
  .discussion-invite > a { width: 100%; justify-content: center; }
}

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


/* =========================================================
   LESSON 6 — ANTICHRIST INVESTIGATION COMPONENTS
   ========================================================= */
.dossier-visual { min-height: 470px; }
.dossier-orbit {
  position: absolute;
  width: 330px;
  height: 330px;
  right: 5%;
  top: 8%;
  border: 1px solid rgba(238, 189, 74, .25);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(238, 189, 74, .035), 0 0 0 86px rgba(255, 255, 255, .018);
}
.dossier-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  border-radius: 23px;
  box-shadow: 0 28px 65px rgba(7, 4, 8, .32);
}
.dossier-card-back {
  width: 79%;
  min-height: 235px;
  right: 0;
  top: 30px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .11);
  color: rgba(255, 255, 255, .54);
  background: linear-gradient(145deg, #4b2d4e, #28182b);
  transform: rotate(5deg);
}
.dossier-card-back span { color: var(--gold-light); font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.dossier-card-back strong { max-width: 310px; margin-top: auto; font-family: var(--serif); font-size: 25px; line-height: 1.03; }
.dossier-card-front {
  width: 86%;
  min-height: 330px;
  left: 0;
  bottom: 6px;
  padding: 34px;
  border: 1px solid rgba(238, 189, 74, .42);
  color: var(--purple);
  background:
    radial-gradient(circle at 100% 0%, rgba(238, 189, 74, .26), transparent 36%),
    linear-gradient(145deg, #fffdf9, #eee3d0);
  transform: rotate(-2deg);
}
.dossier-card-front small { color: #92630b; font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.dossier-card-front strong { max-width: 350px; margin-top: 17px; font-family: var(--serif); font-size: 37px; line-height: .95; }
.dossier-card-front p { max-width: 330px; margin-top: 12px; color: #665c67; font-size: 12px; }
.dossier-stamp {
  width: fit-content;
  margin: 24px 0 7px;
  padding: 8px 13px;
  border: 2px solid rgba(145, 99, 10, .65);
  color: #91630a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  transform: rotate(-4deg);
}

.substitution-grid,
.authority-profile {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-top: 30px;
}
.substitution-grid article,
.authority-profile article {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--white-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .035);
}
.substitution-grid span,
.authority-profile span { color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.substitution-grid strong,
.authority-profile strong { display: block; margin-top: 23px; color: var(--ivory); font-family: var(--serif); font-size: 27px; line-height: 1; }
.substitution-grid p,
.authority-profile p { margin: 10px 0 0; color: rgba(255, 255, 255, .58); font-size: 11px; line-height: 1.65; }
.authority-profile { grid-template-columns: repeat(2, 1fr); }
.authority-profile article { min-height: 160px; }

.empire-sequence {
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: stretch;
  gap: 10px;
  margin-top: 31px;
}
.empire-sequence article {
  width: min(185px, 18vw);
  min-height: 215px;
  display: flex;
  flex-direction: column;
  padding: 22px 18px;
  border: 1px solid var(--white-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .035);
}
.empire-sequence > i { align-self: center; color: rgba(238, 189, 74, .55); font-style: normal; }
.empire-symbol { color: var(--gold-light); font-family: var(--serif); font-size: 39px; line-height: 1; }
.empire-sequence small { margin-top: 25px; color: rgba(255, 255, 255, .42); font-size: 7px; font-weight: 800; letter-spacing: .14em; }
.empire-sequence strong { margin-top: 7px; color: var(--ivory); font-family: var(--serif); font-size: 28px; }
.empire-sequence p { margin: auto 0 0; color: rgba(255, 255, 255, .55); font-size: 10px; line-height: 1.55; }

.clue-ledger {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 28px;
  margin-top: 29px;
  border-top: 1px solid var(--white-line);
}
.clue-ledger article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 15px;
  padding: 21px 0;
  border-bottom: 1px solid var(--white-line);
}
.clue-ledger article > span {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(238, 189, 74, .55);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 17px;
}
.clue-ledger strong { display: block; color: var(--ivory); font-family: var(--serif); font-size: 23px; line-height: 1.02; }
.clue-ledger p { margin: 7px 0 0; color: rgba(255, 255, 255, .55); font-size: 10px; line-height: 1.6; }

.care-note {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  margin-top: 29px;
  padding: 24px;
  border-left: 3px solid var(--gold);
  border-radius: 0 17px 17px 0;
  background: rgba(238, 189, 74, .075);
}
.care-note span { color: var(--gold-light); font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.care-note p { margin: 0; color: rgba(255, 255, 255, .7); font-size: 11px; }

.time-equation {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin: 31px 0;
}
.time-equation article {
  padding: 25px 18px;
  border: 1px solid rgba(238, 189, 74, .26);
  border-radius: 18px;
  text-align: center;
  background: rgba(238, 189, 74, .06);
}
.time-equation small { display: block; color: rgba(255, 255, 255, .45); font-size: 7px; font-weight: 800; letter-spacing: .17em; }
.time-equation strong { display: block; margin-top: 8px; color: var(--gold-light); font-family: var(--serif); font-size: 30px; }
.time-equation > span { color: rgba(255, 255, 255, .38); font-family: var(--serif); font-size: 28px; }
.prophetic-timeline { margin-top: 29px; }

.interpretation-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.interpretation-list article { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.interpretation-list strong { color: var(--purple); font-family: var(--serif); font-size: 27px; }
.interpretation-list p { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }

.substitution-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
  margin-top: 30px;
}
.substitution-stack article {
  display: grid;
  grid-template-columns: 38px 1fr auto 1fr;
  align-items: center;
  gap: 11px;
  min-height: 88px;
  padding: 18px;
  border: 1px solid var(--white-line);
  border-radius: 17px;
  background: rgba(255, 255, 255, .035);
}
.substitution-stack span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--gold-light); background: rgba(238, 189, 74, .11); font-size: 9px; font-weight: 800; }
.substitution-stack strong,
.substitution-stack b { color: var(--ivory); font-family: var(--serif); font-size: 19px; line-height: 1; }
.substitution-stack b { color: var(--gold-light); }
.substitution-stack i { color: rgba(255, 255, 255, .35); font-size: 8px; font-style: normal; text-transform: uppercase; letter-spacing: .1em; }

@media (max-width: 900px) {
  .substitution-grid { grid-template-columns: 1fr; }
  .authority-profile { grid-template-columns: 1fr; }
  .empire-sequence { grid-template-columns: repeat(4, 1fr); }
  .empire-sequence article { width: auto; }
  .empire-sequence > i { display: none; }
  .clue-ledger { grid-template-columns: 1fr; }
  .interpretation-list { grid-template-columns: 1fr; }
  .substitution-stack { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .dossier-visual { min-height: 335px; }
  .dossier-card-back { width: 80%; min-height: 190px; padding: 24px; }
  .dossier-card-front { width: 89%; min-height: 265px; padding: 25px; }
  .dossier-card-front strong { font-size: 29px; }
  .dossier-card-back strong { font-size: 20px; }
  .empire-sequence { grid-template-columns: 1fr 1fr; }
  .empire-sequence article { min-height: 185px; }
  .care-note { grid-template-columns: 1fr; gap: 8px; }
  .time-equation { grid-template-columns: 1fr; }
  .time-equation > span { transform: rotate(90deg); text-align: center; }
  .substitution-stack article { grid-template-columns: 34px 1fr; }
  .substitution-stack i,
  .substitution-stack b { grid-column: 2; }
}


/* =========================================================
   GET TO KNOW JESUS · GUIDE 1 CUSTOM ART DIRECTION
   ========================================================= */

.restoration-visual { min-height: 440px; }
.restoration-orbit {
  position: absolute;
  width: 330px;
  height: 330px;
  right: -40px;
  top: 8px;
  border: 1px solid rgba(238, 189, 74, 0.22);
  border-radius: 50%;
}
.restoration-orbit::after {
  content: "";
  position: absolute;
  inset: 44px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
}
.museum-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(238, 189, 74, 0.34);
  border-radius: 24px;
  box-shadow: 0 28px 65px rgba(8, 4, 9, 0.34);
}
.museum-card-back {
  width: 78%;
  min-height: 218px;
  right: 0;
  top: 35px;
  padding: 28px;
  transform: rotate(6deg);
  color: var(--purple);
  background: linear-gradient(145deg, #fffdf8, #eee4d1);
}
.museum-card-back span,
.museum-card-front small {
  display: block;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.museum-card-back strong {
  display: block;
  margin-top: 66px;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.06;
}
.museum-card-front {
  width: 84%;
  min-height: 355px;
  left: 0;
  bottom: 0;
  padding: 27px;
  transform: rotate(-3deg);
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 90% 10%, rgba(238, 189, 74, 0.17), transparent 30%),
    linear-gradient(145deg, #47284b, #211323);
}
.canvas-window {
  position: relative;
  height: 165px;
  margin-bottom: 25px;
  overflow: hidden;
  border: 9px solid #d9b55b;
  outline: 1px solid rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(125deg, transparent 45%, rgba(255, 255, 255, 0.13) 46% 48%, transparent 49%),
    radial-gradient(circle at 28% 34%, #a9624c 0 12%, transparent 13%),
    radial-gradient(circle at 63% 65%, #d0a368 0 15%, transparent 16%),
    radial-gradient(circle at 75% 22%, #ede0c5 0 10%, transparent 11%),
    linear-gradient(135deg, #3a3140, #b87555 38%, #d6bd84 67%, #463243);
  box-shadow: inset 0 0 38px rgba(19, 10, 20, 0.4);
}
.canvas-tear {
  position: absolute;
  width: 3px;
  background: rgba(255, 253, 249, 0.72);
  box-shadow: 0 0 0 1px rgba(49, 30, 51, 0.3);
  transform-origin: center;
}
.canvas-tear-one { height: 210px; left: 49%; top: -25px; transform: rotate(16deg); }
.canvas-tear-two { height: 160px; left: 65%; top: 18px; transform: rotate(-29deg); }
.canvas-gold {
  position: absolute;
  width: 110px;
  height: 110px;
  left: 42%;
  top: 23px;
  border: 2px solid rgba(247, 217, 131, 0.72);
  border-radius: 50%;
  box-shadow: 0 0 35px rgba(238, 189, 74, 0.22);
}
.museum-card-front strong {
  display: block;
  margin-top: 10px;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1;
}
.museum-card-front p { margin-top: 10px; font-size: 11px; }

.suffering-grid article { min-height: 205px; }
.permission-path { margin-top: 34px; }
.cross-answer {
  position: relative;
  overflow: hidden;
  margin-top: 32px;
  padding: 31px;
  border: 1px solid rgba(238, 189, 74, 0.34);
  border-radius: 21px;
  color: var(--purple);
  background: linear-gradient(145deg, #fffdf9, #eee3cf);
  box-shadow: 0 20px 55px rgba(6, 3, 7, 0.24);
}
.cross-answer::after {
  content: "✦";
  position: absolute;
  right: 22px;
  top: 12px;
  color: rgba(238, 189, 74, 0.55);
  font-size: 48px;
}
.cross-answer span { color: #99670a; font-size: 8px; font-weight: 800; letter-spacing: 0.18em; }
.cross-answer strong { display: block; max-width: 760px; margin-top: 12px; font-family: var(--serif); font-size: clamp(30px, 4.2vw, 43px); line-height: 1.02; }
.cross-answer p { max-width: 800px; margin-top: 14px; color: #6c626d; font-size: 12px; }

.premium-next-card {
  position: relative;
  overflow: hidden;
  padding: 31px 31px 29px;
  border-color: rgba(238, 189, 74, 0.38);
  background:
    radial-gradient(circle at 100% 0, rgba(238, 189, 74, 0.12), transparent 35%),
    rgba(255, 255, 255, 0.045);
}
.premium-next-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
}
.next-card-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.next-card-link:hover { color: var(--ivory); }

/* Welcome-page-style footer, with the return button added above socials. */
.footer-inner { width: min(100%, 920px); margin: 0 auto; text-align: center; }
.footer-brand { justify-content: center; }
.footer-brand .brand-mark { width: 48px; height: 48px; flex-basis: 48px; }
.footer-tagline { margin: 14px auto 0 !important; color: var(--muted) !important; font-size: 12px !important; }
.footer-inner .lesson-return { margin: 25px 0 22px; }
.footer-social-links { padding-top: 25px; border-top: 1px solid var(--line); }
.footer-inner .copyright { margin: 18px 0 0; color: var(--muted); font-size: 10px; }

@media (max-width: 640px) {
  .restoration-visual { min-height: 350px; }
  .museum-card-back { min-height: 180px; padding: 22px; }
  .museum-card-back strong { margin-top: 48px; font-size: 20px; }
  .museum-card-front { width: 90%; min-height: 285px; padding: 22px; }
  .canvas-window { height: 126px; border-width: 7px; }
  .museum-card-front strong { font-size: 27px; }
  .cross-answer { padding: 24px 22px; }
  .cross-answer::after { font-size: 34px; }
  .premium-next-card { padding: 27px 24px; }
}
