: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; }
}

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

.scam-visual { min-height: 440px; }
.scam-orbit {
  position: absolute;
  width: 332px;
  height: 332px;
  right: -32px;
  top: 10px;
  border: 1px solid rgba(238, 189, 74, 0.22);
  border-radius: 50%;
}
.scam-orbit::after {
  content: "";
  position: absolute;
  inset: 43px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
}
.scam-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  box-shadow: 0 28px 65px rgba(7, 4, 8, 0.34);
}
.scam-card-back {
  width: 79%;
  min-height: 225px;
  right: 0;
  top: 31px;
  padding: 31px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.58);
  background: linear-gradient(145deg, #4e2f51, #261629);
  transform: rotate(6deg);
}
.scam-card-back span {
  color: var(--gold-light);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.scam-card-back strong {
  max-width: 310px;
  margin-top: auto;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.03;
}
.scam-card-front {
  width: 86%;
  min-height: 345px;
  left: 0;
  bottom: 2px;
  padding: 31px;
  border: 1px solid rgba(238, 189, 74, 0.46);
  color: var(--purple);
  background:
    radial-gradient(circle at 100% 0, rgba(238, 189, 74, 0.28), transparent 37%),
    linear-gradient(145deg, #fffdf9, #eee2ce);
  transform: rotate(-3deg);
}
.scam-card-front small {
  color: #91630a;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.tower-mark {
  width: 78px;
  height: 108px;
  display: grid;
  place-items: end center;
  margin: 19px 0 13px;
  clip-path: polygon(44% 0, 56% 0, 65% 28%, 75% 56%, 100% 100%, 70% 100%, 58% 72%, 42% 72%, 30% 100%, 0 100%, 25% 56%, 35% 28%);
  color: var(--gold-light);
  background: linear-gradient(180deg, #3d2340, #211323);
  font-family: var(--serif);
  font-size: 0;
}
.scam-card-front strong {
  max-width: 330px;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 0.98;
}
.scam-card-front p {
  max-width: 325px;
  margin-top: 10px;
  color: #655a66;
  font-size: 11px;
}
.scam-stamp {
  width: fit-content;
  margin-top: auto;
  padding: 7px 12px;
  border: 2px solid rgba(135, 43, 48, 0.62);
  color: #8b3035;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  transform: rotate(-5deg);
}

.law-architecture {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 31px;
}
.law-architecture article {
  min-height: 190px;
  padding: 23px;
  border: 1px solid var(--white-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}
.law-architecture span,
.judgment-card > span,
.sabbath-sequence span {
  color: var(--gold);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.law-architecture strong,
.sabbath-sequence strong {
  display: block;
  margin-top: 21px;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.03;
}
.law-architecture p,
.sabbath-sequence p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
  line-height: 1.65;
}

.judgment-balance {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 16px;
  margin-top: 31px;
}
.judgment-card {
  padding: 27px;
  border: 1px solid var(--white-line);
  border-radius: 20px;
}
.judgment-card-natural { background: rgba(255, 255, 255, 0.035); }
.judgment-card-divine {
  border-color: rgba(238, 189, 74, 0.28);
  background: rgba(238, 189, 74, 0.065);
}
.judgment-card h3 {
  margin: 18px 0 14px;
  color: var(--ivory);
  font-size: 29px;
  line-height: 1;
}
.judgment-card ul {
  margin: 0;
  padding-left: 19px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 11px;
}
.judgment-card li + li { margin-top: 8px; }
.judgment-divider {
  align-self: center;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 38px;
}

.sabbath-sequence {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
  margin-top: 31px;
}
.sabbath-sequence article {
  min-height: 215px;
  padding: 23px;
  border: 1px solid var(--white-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

@media (max-width: 900px) {
  .law-architecture { grid-template-columns: repeat(2, 1fr); }
  .sabbath-sequence { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .scam-visual { min-height: 350px; }
  .scam-card-back { min-height: 185px; padding: 23px; }
  .scam-card-back strong { font-size: 20px; }
  .scam-card-front { width: 90%; min-height: 280px; padding: 24px; }
  .tower-mark { width: 58px; height: 82px; margin: 14px 0 10px; }
  .scam-card-front strong { font-size: 28px; }
  .law-architecture,
  .sabbath-sequence { grid-template-columns: 1fr; }
  .law-architecture article,
  .sabbath-sequence article { min-height: auto; }
  .judgment-balance { grid-template-columns: 1fr; }
  .judgment-divider { transform: rotate(90deg); text-align: center; }
}

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

.sanctuary-visual {
  min-height: 455px;
  overflow: hidden;
  border: 1px solid rgba(238, 189, 74, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 10%, rgba(238, 189, 74, 0.19), transparent 31%),
    linear-gradient(145deg, #2a172d, #120d13);
  box-shadow: 0 32px 80px rgba(6, 3, 7, 0.38);
}

.blueprint-grid {
  position: absolute;
  inset: 0;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(255,255,255,0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.16) 1px, transparent 1px);
  background-size: 28px 28px;
}

.sanctuary-plan {
  position: absolute;
  inset: 42px 30px 82px;
  border: 1px solid rgba(247, 217, 131, 0.6);
  border-radius: 12px;
  box-shadow: inset 0 0 45px rgba(238, 189, 74, 0.06);
}

.plan-label,
.plan-object {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: center;
}

.plan-gate {
  left: -18px;
  top: 50%;
  width: 48px;
  min-height: 34px;
  transform: translateY(-50%) rotate(-90deg);
}

.plan-court {
  position: absolute;
  inset: 16px 48% 16px 16px;
  border: 1px dashed rgba(255,255,255,0.22);
}

.plan-tent {
  position: absolute;
  width: 44%;
  height: 68%;
  right: 16px;
  top: 16%;
  display: grid;
  grid-template-columns: 62% 38%;
  border: 2px solid rgba(247, 217, 131, 0.85);
  background: rgba(255,255,255,0.025);
}

.plan-holy,
.plan-most-holy {
  position: relative;
}

.plan-most-holy {
  border-left: 2px solid rgba(247, 217, 131, 0.78);
  background: rgba(238, 189, 74, 0.075);
}

.plan-object {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(238, 189, 74, 0.65);
  border-radius: 50%;
  background: rgba(238, 189, 74, 0.08);
  box-shadow: 0 0 26px rgba(238, 189, 74, 0.08);
}

.plan-altar { left: 20%; top: 23%; width: 70px; height: 70px; border-radius: 12px; }
.plan-laver { right: 15%; bottom: 19%; }
.plan-bread { left: 8%; top: 12%; width: 48px; height: 36px; border-radius: 9px; }
.plan-lamp { left: 8%; bottom: 12%; width: 48px; height: 36px; border-radius: 9px; }
.plan-incense { right: 10%; top: 50%; width: 42px; height: 42px; transform: translateY(-50%); }
.plan-ark { left: 50%; top: 50%; width: 68px; height: 45px; border-radius: 10px; transform: translate(-50%, -50%); }

.plan-path {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light));
  box-shadow: 0 0 20px rgba(238, 189, 74, 0.5);
}

.blueprint-caption {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,0.62);
}

.blueprint-caption span {
  color: var(--gold);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.blueprint-caption strong {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  text-align: right;
}

.story-sequence,
.purpose-grid,
.courtyard-cards,
.relationship-triptych,
.distortion-grid,
.journey-steps {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.story-sequence,
.purpose-grid,
.courtyard-cards,
.relationship-triptych,
.distortion-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-sequence article,
.purpose-grid article,
.courtyard-cards article,
.relationship-triptych article,
.distortion-grid article,
.journey-steps article,
.sanctuary-layout section,
.mercy-copy article,
.christ-roles article,
.symbol-links section {
  padding: 24px;
  border: 1px solid var(--white-line);
  border-radius: 18px;
  background: rgba(255,255,255,0.035);
}

.story-sequence span,
.courtyard-cards > article > span,
.relationship-triptych > article > span,
.distortion-grid span,
.sanctuary-layout span,
.mercy-copy span,
.christ-roles span,
.blueprint-summary > span {
  color: var(--gold);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.story-sequence strong,
.purpose-grid strong,
.relationship-triptych strong,
.distortion-grid strong,
.sanctuary-layout strong,
.mercy-copy strong,
.journey-steps strong {
  display: block;
  margin-top: 18px;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.03;
}

.story-sequence p,
.purpose-grid p,
.courtyard-cards p,
.relationship-triptych p,
.distortion-grid p,
.sanctuary-layout p,
.mercy-copy p,
.journey-steps p,
.christ-roles p {
  margin: 10px 0 0;
  color: rgba(255,255,255,0.58);
  font-size: 10px;
  line-height: 1.66;
}

.purpose-grid article {
  position: relative;
  padding-top: 34px;
}

.purpose-grid article > span,
.journey-steps article > span {
  position: absolute;
  top: 16px;
  right: 18px;
  color: rgba(238,189,74,0.45);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
}

.sanctuary-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 0;
  margin-top: 18px;
  border: 1px solid rgba(238,189,74,0.3);
  border-radius: 18px;
  overflow: hidden;
}

.sanctuary-layout section {
  min-height: 145px;
  border: 0;
  border-radius: 0;
}

.sanctuary-layout section + section {
  border-left: 1px solid rgba(238,189,74,0.22);
}

.sanctuary-layout section:last-child {
  background: rgba(238,189,74,0.07);
}

.courtyard-cards article {
  min-height: 220px;
  border-color: rgba(238,189,74,0.23);
}

.courtyard-cards h3,
.christ-roles h3 {
  margin: 19px 0 0;
  color: var(--ivory);
  font-size: 28px;
  line-height: 1;
}

.symbol-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}

.symbol-links section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-color: rgba(49,30,51,0.12);
  color: #5d5360;
  background: #fffdf9;
}

.symbol-links strong {
  margin-bottom: 7px;
  color: var(--purple);
  font-family: var(--serif);
  font-size: 22px;
}

.symbol-links a {
  color: #8e620d;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

.symbol-links a:hover { color: var(--purple); }

.relationship-triptych article { min-height: 215px; }

.relationship-formula {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.relationship-formula span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(238,189,74,0.22);
  border-radius: 14px;
  color: rgba(255,255,255,0.73);
  background: rgba(238,189,74,0.05);
  font-size: 10px;
}

.relationship-formula b {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  border-radius: 50%;
  color: var(--purple);
  background: var(--gold);
}

.mercy-architecture {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  margin-top: 30px;
}

.ark-visual {
  position: relative;
  min-height: 310px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(238,189,74,0.34);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 45%, rgba(238,189,74,0.24), transparent 42%),
    linear-gradient(145deg, #3e2542, #1b101d);
}

.ark-visual::before {
  content: "";
  position: absolute;
  width: 72%;
  height: 41%;
  bottom: 18%;
  border: 2px solid var(--gold-light);
  border-radius: 12px;
  background: linear-gradient(145deg, #b98217, #f4d272 50%, #8f5d08);
  box-shadow: 0 22px 40px rgba(0,0,0,0.3);
}

.ark-visual strong {
  position: absolute;
  z-index: 3;
  bottom: 28%;
  color: #2c1a2e;
  font-family: var(--serif);
  font-size: 33px;
}

.mercy-line {
  position: absolute;
  z-index: 3;
  top: 27%;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.cherub {
  position: absolute;
  z-index: 3;
  top: 17%;
  color: var(--gold-light);
  font-size: 64px;
  text-shadow: 0 0 28px rgba(238,189,74,0.4);
}

.cherub-left { left: 18%; transform: rotate(-24deg); }
.cherub-right { right: 18%; transform: rotate(24deg); }

.mercy-copy {
  display: grid;
  gap: 12px;
}

.mercy-copy article { min-height: 145px; }

.christ-roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-top: 30px;
}

.christ-roles article {
  min-height: 225px;
  border-color: rgba(238,189,74,0.28);
}

.role-lamb {
  background:
    radial-gradient(circle at 100% 0, rgba(238,189,74,0.1), transparent 40%),
    rgba(255,255,255,0.035) !important;
}

.role-priest {
  background:
    radial-gradient(circle at 0 100%, rgba(238,189,74,0.12), transparent 42%),
    rgba(238,189,74,0.055) !important;
}

.distortion-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.distortion-grid article:nth-child(2) { border-color: rgba(238,189,74,0.35); background: rgba(238,189,74,0.07); }

.journey-steps {
  grid-template-columns: repeat(4, minmax(0,1fr));
}

.journey-steps article {
  position: relative;
  min-height: 175px;
  padding-top: 44px;
}

.blueprint-summary {
  margin-top: 26px;
  padding: 27px;
  border: 1px solid rgba(238,189,74,0.3);
  border-radius: 19px;
  background: rgba(238,189,74,0.055);
}

.blueprint-summary ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px 26px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.7);
  font-size: 11px;
}

.practice-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 21px;
  color: #625763;
  font-size: 12px;
}

.practice-list a { color: #8d610b; font-weight: 800; }

@media (max-width: 930px) {
  .story-sequence,
  .purpose-grid,
  .courtyard-cards,
  .relationship-triptych,
  .distortion-grid { grid-template-columns: 1fr; }
  .sanctuary-layout { grid-template-columns: 1fr; }
  .sanctuary-layout section + section { border-left: 0; border-top: 1px solid rgba(238,189,74,0.22); }
  .symbol-links { grid-template-columns: 1fr; }
  .relationship-formula { grid-template-columns: 1fr; }
  .journey-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 700px) {
  .sanctuary-visual { min-height: 385px; }
  .sanctuary-plan { inset: 35px 18px 88px; }
  .plan-court { inset: 12px 47% 12px 12px; }
  .plan-tent { width: 46%; right: 12px; }
  .plan-object { font-size: 6px; }
  .plan-altar { width: 55px; height: 55px; }
  .plan-bread,
  .plan-lamp { width: 40px; }
  .plan-incense { width: 34px; height: 34px; }
  .plan-ark { width: 52px; height: 37px; }
  .blueprint-caption { align-items: flex-start; flex-direction: column; gap: 5px; }
  .blueprint-caption strong { font-size: 18px; text-align: left; }
  .mercy-architecture,
  .christ-roles { grid-template-columns: 1fr; }
  .journey-steps,
  .blueprint-summary ul { grid-template-columns: 1fr; }
  .ark-visual { min-height: 270px; }
}

/* =========================================================
   UNDERSTAND BIBLE PROPHECY · GUIDE 1
   Midnight navy + emerald theme within Try Jesus Media brand
   ========================================================= */

.prophecy-theme {
  --prophecy-navy: #16233c;
  --prophecy-navy-deep: #0f1729;
  --prophecy-navy-mid: #203657;
  --prophecy-emerald: #25594b;
  --prophecy-emerald-light: #5f9a86;
  --prophecy-blue: #456f9f;
  background:
    radial-gradient(circle at 10% 22%, rgba(37, 89, 75, 0.11), transparent 27%),
    radial-gradient(circle at 90% 46%, rgba(22, 35, 60, 0.09), transparent 29%),
    linear-gradient(180deg, #fcfaf5 0%, #f2f4f1 100%);
}

.prophecy-theme .site-header {
  border-bottom-color: rgba(22, 35, 60, 0.12);
  background: rgba(255, 253, 249, 0.94);
}

.prophecy-theme .header-link:hover { color: var(--prophecy-navy); }
.prophecy-theme .listen-button { background: var(--prophecy-navy-deep); }
.prophecy-theme .listen-button[aria-pressed="true"] { background: var(--prophecy-emerald); }
.prophecy-theme .page-progress span { background: linear-gradient(90deg, var(--prophecy-emerald-light), var(--gold)); }

.prophecy-shell {
  border-color: rgba(238, 189, 74, 0.3);
  background:
    radial-gradient(circle at 100% 0%, rgba(238, 189, 74, 0.13), transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(37, 89, 75, 0.35), transparent 36%),
    linear-gradient(145deg, #0e1728 0%, #16233c 55%, #102c30 100%);
  box-shadow: 0 30px 90px rgba(10, 20, 34, 0.24);
}

.prophecy-shell::before { border-color: rgba(95, 154, 134, 0.27); }
.prophecy-shell .lesson-shell-glow { background: radial-gradient(circle, rgba(238, 189, 74, 0.16), transparent 66%); }
.prophecy-theme .lesson-progress span {
  background: linear-gradient(90deg, var(--prophecy-emerald-light), var(--gold-light));
  box-shadow: 0 0 20px rgba(95, 154, 134, 0.3);
}
.prophecy-theme .eyebrow { color: #8ec4b1; }
.prophecy-theme .eyebrow span { background: var(--prophecy-emerald-light); }
.prophecy-theme h1 em,
.prophecy-theme h2 em { color: var(--gold-light); }
.prophecy-theme .primary-button {
  color: #101b2f;
  background: linear-gradient(135deg, #f7d983, #eebd4a);
}
.prophecy-theme .gold-quote { border-color: rgba(95, 154, 134, 0.45); background: rgba(37, 89, 75, 0.14); }
.prophecy-theme .gold-quote::before { color: #8ec4b1; }
.prophecy-theme .question-callout,
.prophecy-theme .care-note { border-left-color: var(--prophecy-emerald-light); background: rgba(37, 89, 75, 0.13); }
.prophecy-theme .evidence-drawer[open] { border-color: rgba(95, 154, 134, 0.4); }
.prophecy-theme .evidence-drawer summary i { color: #8ec4b1; }
.prophecy-theme .source-links a:hover { border-color: rgba(95, 154, 134, 0.58); }
.prophecy-theme .lesson-dots button.is-active { background: var(--prophecy-emerald-light); }

.prophecy-hero-visual { min-height: 455px; }
.prophecy-orbit {
  position: absolute;
  border: 1px solid rgba(95, 154, 134, 0.2);
  border-radius: 50%;
}
.prophecy-orbit-one { width: 350px; height: 350px; right: -70px; top: 0; }
.prophecy-orbit-two { width: 230px; height: 230px; right: -10px; top: 60px; border-color: rgba(238, 189, 74, 0.18); }
.statue-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(4, 10, 20, 0.38);
}
.statue-card-back {
  width: 76%;
  min-height: 228px;
  right: 0;
  top: 25px;
  padding: 31px;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.6);
  background: linear-gradient(145deg, #244d49, #132a31);
  transform: rotate(6deg);
}
.statue-card-back span,
.statue-card-front small { font-size: 8px; font-weight: 800; letter-spacing: .17em; }
.statue-card-back strong { max-width: 310px; margin-top: auto; color: #f9f2e6; font-family: var(--serif); font-size: 25px; line-height: 1.04; }
.statue-card-front {
  width: 86%;
  min-height: 365px;
  left: 0;
  bottom: 2px;
  padding: 30px;
  border: 1px solid rgba(238, 189, 74, .42);
  color: var(--prophecy-navy);
  background:
    radial-gradient(circle at 100% 0%, rgba(238, 189, 74, .25), transparent 34%),
    linear-gradient(145deg, #fffdf9, #e9eee8);
  transform: rotate(-2deg);
}
.statue-card-front small { color: #7c5b15; }
.statue-silhouette {
  width: 150px;
  margin: 23px auto 12px;
  display: grid;
  justify-items: center;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .13em;
}
.statue-silhouette span { display: grid; place-items: center; color: #102037; box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
.statue-head { width: 64px; height: 64px; border-radius: 50% 50% 42% 42%; background: linear-gradient(145deg, #f7d983, #c8911f); }
.statue-chest { width: 126px; height: 70px; margin-top: 4px; border-radius: 26px 26px 12px 12px; background: linear-gradient(145deg, #f5f7f8, #aeb8c4); }
.statue-belly { width: 98px; height: 72px; background: linear-gradient(145deg, #d69a58, #9b5b2a); }
.statue-legs { width: 86px; height: 82px; clip-path: polygon(8% 0, 46% 0, 47% 100%, 10% 100%, 0 70%, 0 10%, 54% 0, 92% 0, 100% 10%, 100% 70%, 90% 100%, 53% 100%, 54% 0); background: linear-gradient(145deg, #8a98a5, #343f4d); color: #fff !important; }
.statue-feet { width: 118px; height: 34px; margin-top: 2px; border-radius: 6px 6px 16px 16px; background: repeating-linear-gradient(110deg, #6e7881 0 13px, #b08c72 13px 26px); color: #fff !important; }
.stone-mark { margin-top: auto; padding-top: 15px; border-top: 1px solid rgba(22,35,60,.13); }
.stone-mark span { display: block; color: #39725f; font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.stone-mark strong { display: block; margin-top: 6px; font-family: var(--serif); font-size: 24px; line-height: 1.02; }

.prophecy-story-sequence article { border-color: rgba(95,154,134,.2); }
.prophecy-story-sequence article > span { color: #8ec4b1; }
.prophecy-empire-sequence article { border-color: rgba(95,154,134,.23); background: rgba(37,89,75,.09); }
.prophecy-empire-sequence .empire-symbol { color: #8ec4b1; }
.prophecy-authority-profile article,
.prophecy-substitution-grid article { border-color: rgba(95,154,134,.22); background: rgba(37,89,75,.08); }
.prophecy-authority-profile span,
.prophecy-substitution-grid span { color: #8ec4b1; }

.division-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 31px;
}
.division-grid article {
  min-height: 190px;
  padding: 26px;
  border: 1px solid rgba(95,154,134,.24);
  border-radius: 19px;
  background: rgba(37,89,75,.08);
}
.division-grid span { color: #8ec4b1; font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.division-grid strong { display: block; margin-top: 24px; color: var(--ivory); font-family: var(--serif); font-size: 29px; line-height: 1; }
.division-grid p { margin: 10px 0 0; color: rgba(255,255,255,.58); font-size: 11px; line-height: 1.65; }

.stone-kingdom-feature {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 25px;
  align-items: center;
  margin-top: 30px;
  padding: 28px;
  border: 1px solid rgba(238,189,74,.28);
  border-radius: 21px;
  background: linear-gradient(135deg, rgba(238,189,74,.09), rgba(37,89,75,.12));
}
.stone-kingdom-mark {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(238,189,74,.55);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 34px;
  box-shadow: inset 0 0 30px rgba(238,189,74,.1);
}
.stone-kingdom-feature span { color: #8ec4b1; font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.stone-kingdom-feature strong { display: block; margin-top: 8px; color: var(--ivory); font-family: var(--serif); font-size: 30px; line-height: 1.03; }
.stone-kingdom-feature p { margin: 11px 0 0; color: rgba(255,255,255,.62); font-size: 11px; }

.prophecy-summary { border-color: rgba(95,154,134,.3); background: rgba(37,89,75,.1); }
.prophecy-reflection-card { border-color: rgba(95,154,134,.3); }
.prophecy-next-card {
  border-color: rgba(95,154,134,.35);
  background:
    radial-gradient(circle at 100% 0%, rgba(95,154,134,.15), transparent 35%),
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(37,89,75,.09));
}
.prophecy-discussion-invite {
  background:
    radial-gradient(circle at 0% 100%, rgba(37,89,75,.24), transparent 34%),
    linear-gradient(145deg, #111c30, #16233c 58%, #12312f);
}
.prophecy-theme .lesson-return-link:hover { background: #dce8e1; }

@media (max-width: 900px) {
  .division-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .prophecy-hero-visual { min-height: 380px; }
  .statue-card-back { width: 80%; min-height: 185px; padding: 24px; }
  .statue-card-front { width: 90%; min-height: 310px; padding: 24px; }
  .statue-silhouette { transform: scale(.82); transform-origin: top center; margin-bottom: -28px; }
  .stone-mark strong { font-size: 21px; }
  .stone-kingdom-feature { grid-template-columns: 1fr; }
  .stone-kingdom-mark { width: 76px; height: 76px; }
}

/* =========================================================
   GUIDE 2 — MESSIANIC TIMELINE VISUALS
   ========================================================= */
.messiah-hero-visual {
  min-height: 520px;
}

.timeline-card {
  position: absolute;
  inset: 7% 4% 5% 4%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(247, 217, 131, 0.36);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 12%, rgba(238, 189, 74, 0.16), transparent 30%),
    linear-gradient(155deg, rgba(18, 34, 59, 0.98), rgba(8, 20, 38, 0.98));
  box-shadow: 0 36px 80px rgba(4, 12, 25, 0.45);
}

.timeline-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.timeline-kicker {
  position: relative;
  z-index: 1;
  color: #f7d983;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.timeline-track {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 30px 0;
}

.timeline-node {
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: 18px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: rgba(255,255,255,.055);
  text-align: center;
}

.timeline-node span {
  color: rgba(255,255,255,.62);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.timeline-node strong {
  display: block;
  margin-top: 8px;
  color: #fffdf9;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.timeline-arrow {
  color: #eebd4a;
  font-size: 26px;
}

.timeline-result {
  position: relative;
  z-index: 1;
  padding: 18px 20px;
  border-left: 3px solid #eebd4a;
  background: rgba(238, 189, 74, 0.08);
}

.timeline-result span {
  color: #f7d983;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.timeline-result strong {
  display: block;
  margin-top: 5px;
  color: #fffdf9;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(22px, 3vw, 31px);
  line-height: 1.1;
}

.math-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0;
}

.math-strip article {
  padding: 18px;
  border: 1px solid rgba(238, 189, 74, 0.22);
  border-radius: 18px;
  background: rgba(22, 35, 60, 0.055);
  text-align: center;
}

.math-strip span {
  display: block;
  color: #6d7f95;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.math-strip strong {
  display: block;
  margin-top: 7px;
  color: #16233c;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
}

.program-offer {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 0;
  padding: clamp(30px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(238, 189, 74, 0.3);
  border-radius: 32px;
  background:
    radial-gradient(circle at 92% 18%, rgba(238, 189, 74, 0.2), transparent 26%),
    linear-gradient(145deg, #16233c, #0a172b);
  box-shadow: 0 30px 72px rgba(7, 18, 35, 0.25);
  color: #fffdf9;
}

.program-offer::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -120px;
  bottom: -150px;
  border: 1px solid rgba(247, 217, 131, 0.22);
  border-radius: 50%;
}

.program-offer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.program-offer span {
  display: block;
  margin-bottom: 10px;
  color: #f7d983;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.program-offer h2 {
  max-width: 720px;
  margin: 0;
  color: #fffdf9;
  font-size: clamp(34px, 5vw, 58px);
}

.program-offer p {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255,253,249,.78);
}

.program-offer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f7d983, #eebd4a);
  color: #102039;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 16px 34px rgba(238,189,74,.22);
  transition: transform .2s ease, box-shadow .2s ease;
}

.program-offer a:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(238,189,74,.3);
}

@media (max-width: 820px) {
  .timeline-track {
    grid-template-columns: 1fr;
  }
  .timeline-arrow {
    transform: rotate(90deg);
    text-align: center;
  }
  .math-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .program-offer-inner {
    grid-template-columns: 1fr;
  }
  .program-offer a {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .messiah-hero-visual {
    min-height: 620px;
  }
  .timeline-card {
    inset: 2%;
  }
  .math-strip {
    grid-template-columns: 1fr;
  }
}
