@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600;700&display=swap");

:root {
  font-synthesis: none;
}

:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #60706a;
  --paper: #fffaf1;
  --panel: #ffffff;
  --line: rgba(23, 33, 31, 0.16);
  --history: #a06a1f;
  --judgment: #08756f;
  --warning: #c84e2f;
  --trouble: #9b2f58;
  --plagues: #5e4aa8;
  --advent: #2468a8;
  --eternity: #3f7f46;
  --active-color: var(--judgment);
  --shadow: 0 24px 60px rgba(33, 43, 39, 0.16);
  --rail: #737873;
  --dot: #191b2a;
  --drawer-width: 60vw;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: #f7f7f5;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button {
  font: inherit;
}

html {
  scroll-behavior: smooth;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(14px, 2.6vw, 34px);
  border-bottom: 1px solid rgba(23, 33, 31, 0.08);
  background:
    linear-gradient(90deg, rgba(8, 117, 111, 0.08), rgba(180, 83, 9, 0.07), rgba(37, 99, 235, 0.08)),
    rgba(250, 250, 247, 0.94);
  box-shadow: 0 14px 34px rgba(23, 33, 31, 0.08);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 252px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(8, 117, 111, 0.3);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 115%, rgba(245, 158, 11, 0.18), transparent 44%),
    linear-gradient(135deg, #075f5a, #1d4ed8);
  box-shadow: 0 14px 30px rgba(8, 117, 111, 0.22);
}

.brand-hourglass {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 30px;
  height: 38px;
  background:
    linear-gradient(31deg, transparent 44%, rgba(255, 255, 255, 0.95) 45% 55%, transparent 56%) left top / 50% 50% no-repeat,
    linear-gradient(-31deg, transparent 44%, rgba(255, 255, 255, 0.95) 45% 55%, transparent 56%) right top / 50% 50% no-repeat,
    linear-gradient(-31deg, transparent 44%, rgba(255, 255, 255, 0.95) 45% 55%, transparent 56%) left bottom / 50% 50% no-repeat,
    linear-gradient(31deg, transparent 44%, rgba(255, 255, 255, 0.95) 45% 55%, transparent 56%) right bottom / 50% 50% no-repeat;
  transform: translate(-50%, -50%);
}

.brand-hourglass::before,
.brand-hourglass::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  height: 3px;
  border-radius: 999px;
  background: #fff;
}

.brand-hourglass::before {
  top: 0;
}

.brand-hourglass::after {
  bottom: 0;
}

.glass-top,
.glass-bottom {
  position: absolute;
  left: 50%;
  border: 0;
  background: #fbbf24;
  transform: translateX(-50%);
}

.glass-top {
  top: 7px;
  width: 16px;
  height: 10px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.glass-bottom {
  bottom: 5px;
  width: 18px;
  height: 11px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.glass-stream {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: #fbbf24;
  transform: translateX(-50%);
}

.glass-bottom::after {
  content: none;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.42rem, 2.2vw, 2rem);
  font-weight: 900;
  line-height: 0.94;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid rgba(23, 33, 31, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  padding: 10px 18px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(23, 33, 31, 0.05);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: color-mix(in srgb, var(--active-color) 46%, rgba(23, 33, 31, 0.12));
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(23, 33, 31, 0.1);
  transform: translateY(-1px);
}

.site-nav a[aria-current="page"] {
  background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--active-color) 10%, white));
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 7px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--active-color), #f59e0b);
}

.page {
  padding: clamp(14px, 2.6vw, 34px);
}

.poster-panel {
  background: rgba(255, 255, 255, 0.95);
  border: 0;
  box-shadow: 0 18px 50px rgba(33, 43, 39, 0.06);
}

.poster-scroll {
  padding: clamp(18px, 3vw, 42px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 6vw, 5.6rem);
  line-height: 0.9;
  text-align: center;
  letter-spacing: 0;
}

.subtitle {
  max-width: 820px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  text-align: center;
}

.timeline-header {
  margin-bottom: clamp(34px, 5vw, 66px);
}

.home-page {
  --active-color: #08756f;
}

.home-shell {
  overflow: clip;
}

.home-hero {
  max-width: 1040px;
  margin: 0 auto clamp(34px, 5vw, 64px);
  text-align: center;
}

.home-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.home-actions a,
.feature-card a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid color-mix(in srgb, var(--active-color) 38%, rgba(23, 33, 31, 0.14));
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(23, 33, 31, 0.06);
}

.home-actions a:first-child {
  background: var(--active-color);
  color: #fff;
}

.home-actions a:hover,
.feature-card a:hover {
  transform: translateY(-2px);
}

.home-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto clamp(30px, 5vw, 58px);
}

.home-intro > div {
  border-left: 7px solid var(--active-color);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), color-mix(in srgb, var(--active-color) 7%, white));
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 14px 38px rgba(23, 33, 31, 0.07);
}

.home-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.58;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto clamp(34px, 6vw, 68px);
}

.feature-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  align-items: flex-start;
  border-top: 7px solid var(--active-color);
  background: rgba(255, 255, 255, 0.82);
  padding: 20px;
  box-shadow: 0 16px 42px rgba(33, 43, 39, 0.07);
}

.feature-card:nth-child(2) {
  --active-color: #b45309;
}

.feature-card:nth-child(3) {
  --active-color: #b91c1c;
}

.feature-card:nth-child(4) {
  --active-color: #2563eb;
}

.feature-number {
  margin-bottom: 18px;
  color: var(--active-color);
  font-size: 0.86rem;
  font-weight: 950;
}

.feature-card h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.2vw, 2.5rem);
  line-height: 0.98;
}

.feature-card p {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.feature-card a {
  margin-top: auto;
}

.how-to-panel {
  max-width: 1120px;
  margin: 0 auto;
  border-left: 9px solid #17211f;
  background: linear-gradient(135deg, #fff, #eef4f2);
  padding: clamp(22px, 4vw, 42px);
  box-shadow: 0 18px 50px rgba(33, 43, 39, 0.08);
}

.how-to-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: how-to;
}

.how-to-list li {
  position: relative;
  min-height: 190px;
  background: rgba(255, 255, 255, 0.82);
  padding: 54px 16px 16px;
  color: var(--muted);
  line-height: 1.48;
  box-shadow: 0 10px 28px rgba(23, 33, 31, 0.05);
  counter-increment: how-to;
}

.how-to-list li::before {
  content: counter(how-to, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 14px;
  color: var(--active-color);
  font-size: 0.85rem;
  font-weight: 950;
}

.how-to-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.study-page {
  --active-color: #b45309;
}

.study-shell {
  overflow: clip;
}

.study-hero {
  max-width: 1000px;
  margin: 0 auto clamp(26px, 4vw, 48px);
  text-align: center;
}

.message-subnav {
  position: sticky;
  top: 84px;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 auto clamp(30px, 5vw, 60px);
  padding: 10px;
  border: 1px solid rgba(23, 33, 31, 0.09);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(23, 33, 31, 0.08);
}

.message-subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: var(--muted);
  padding: 8px 12px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.message-subnav a:hover,
.message-subnav a[aria-current="page"] {
  background: color-mix(in srgb, var(--active-color) 10%, white);
  color: var(--ink);
}

.study-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto clamp(40px, 7vw, 86px);
}

.study-intro > div {
  border-left: 7px solid var(--active-color);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), color-mix(in srgb, var(--active-color) 8%, white));
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 14px 38px rgba(23, 33, 31, 0.07);
}

.study-label,
.message-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--active-color);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.study-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.58;
}

.message-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto clamp(28px, 5vw, 56px);
}

.message-choice-card {
  --message-color: #b45309;
  display: grid;
  gap: 10px;
  min-height: 245px;
  border-left: 9px solid var(--message-color);
  background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--message-color) 8%, white));
  color: var(--ink);
  padding: clamp(20px, 3vw, 30px);
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(33, 43, 39, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.message-choice-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(33, 43, 39, 0.12);
}

.message-choice-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.98;
}

.message-choice-card span:last-child {
  color: var(--muted);
  line-height: 1.48;
}

.message-section {
  --message-color: #b45309;
  scroll-margin-top: 130px;
  max-width: 1120px;
  margin: 0 auto clamp(44px, 7vw, 86px);
  padding: clamp(22px, 4vw, 42px);
  border-left: 10px solid var(--message-color);
  background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--message-color) 7%, white));
  box-shadow: 0 18px 50px rgba(33, 43, 39, 0.08);
}

.first-message {
  --message-color: #b45309;
}

.second-message {
  --message-color: #0f766e;
}

.third-message {
  --message-color: #b91c1c;
}

.combined-message {
  --message-color: #2563eb;
}

.message-heading {
  max-width: 860px;
  margin-bottom: clamp(22px, 4vw, 36px);
}

.message-heading h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4.5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.message-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.55;
}

.message-section .message-kicker {
  color: var(--message-color);
}

.study-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.study-card {
  border-top: 6px solid var(--message-color);
  background: rgba(255, 255, 255, 0.78);
  padding: 18px;
  box-shadow: 0 10px 28px rgba(23, 33, 31, 0.05);
}

.study-card h3,
.source-note h3 {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.study-card p {
  margin-bottom: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.study-card p:last-child {
  margin-bottom: 0;
}

.faith-card {
  border-top-color: #08756f;
  background: linear-gradient(135deg, #fff, rgba(8, 117, 111, 0.08));
}

.wide-card {
  grid-column: 1 / -1;
}

.study-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
}

.study-list li {
  color: var(--muted);
  line-height: 1.44;
}

.study-list strong {
  color: var(--ink);
}

.source-note {
  margin-top: 18px;
  border: 1px solid color-mix(in srgb, var(--message-color) 42%, rgba(23, 33, 31, 0.1));
  background: linear-gradient(135deg, color-mix(in srgb, var(--message-color) 10%, white), rgba(255, 255, 255, 0.9));
  padding: 18px;
}

.source-note p {
  margin-bottom: 10px;
  color: var(--muted);
  line-height: 1.48;
}

.source-note p:last-child {
  margin-bottom: 0;
}

.study-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  max-width: 1120px;
  margin: 0 auto;
}

.study-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid rgba(23, 33, 31, 0.12);
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 10px 28px rgba(23, 33, 31, 0.06);
}

.study-actions a:hover {
  border-color: color-mix(in srgb, var(--active-color) 45%, rgba(23, 33, 31, 0.12));
  color: var(--active-color);
}

.timeline {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 0 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 9px;
  transform: translateX(-50%);
  border-radius: 0;
  background: var(--rail);
  opacity: 0.92;
}

.timeline-phase {
  position: relative;
  margin: 0 0 clamp(38px, 6vw, 72px);
  padding: clamp(22px, 4vw, 42px) 0 clamp(4px, 2vw, 18px);
}

.timeline-phase::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(760px, 62vw);
  border-radius: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--phase-color) 10%, transparent));
  pointer-events: none;
}

.phase-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
  gap: 20px;
  align-items: end;
  min-height: 116px;
  margin-bottom: clamp(18px, 3vw, 34px);
}

.phase-header::after {
  content: "";
  grid-column: 2;
  justify-self: center;
  align-self: stretch;
  width: 9px;
  min-height: 86px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--phase-color), var(--phase-color-2));
  box-shadow: 0 0 0 7px #fff;
}

.phase-header > * {
  grid-column: 1;
  justify-self: end;
  width: min(100%, 470px);
  text-align: right;
}

.phase-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--phase-color);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.phase-header h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 4.2vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.phase-header p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.48;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  min-height: clamp(155px, 15vw, 225px);
  margin: 0;
}

.timeline-node {
  position: absolute;
  left: 50%;
  top: 26px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  padding: 0;
  border: 0;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 33, 31, 0.16), 0 0 0 6px color-mix(in srgb, var(--color) 16%, transparent);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.timeline-node::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid color-mix(in srgb, var(--color) 24%, #d7ded9);
  border-radius: 50%;
}

.node-number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color), var(--color-2, var(--color)));
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.85rem;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 4px rgba(23, 33, 31, 0.38);
}

.timeline-node:hover,
.timeline-node.active {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 12px 30px rgba(23, 33, 31, 0.2), 0 0 0 7px color-mix(in srgb, var(--color) 24%, transparent);
}

.timeline-node:focus-visible {
  outline: 4px solid color-mix(in srgb, var(--color) 42%, white);
  outline-offset: 4px;
}

.timeline-card {
  position: relative;
  width: min(100%, 470px);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  padding: 0;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  transition: transform 160ms ease, color 160ms ease;
}

.timeline-item:nth-child(odd) .timeline-card,
.timeline-item:nth-child(even) .timeline-card {
  grid-column: 1;
  justify-self: end;
  text-align: right;
}

.timeline-card:hover,
.timeline-card.active {
  transform: translateY(-3px);
  color: var(--active-color);
}

.timeline-card.active .event-title {
  color: var(--color);
}

.stage-num {
  display: none;
}

.event-title {
  display: block;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.45vw, 2.65rem);
  font-weight: 900;
  line-height: 1.02;
}

.event-caption {
  display: block;
  max-width: 420px;
  margin-left: auto;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.timeline-item:nth-child(odd) .event-caption,
.timeline-item:nth-child(even) .event-caption {
  margin-left: auto;
  margin-right: 0;
}

.present-marker {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  min-height: 194px;
  margin: -18px 0 34px;
}

.present-pin {
  position: absolute;
  left: 50%;
  top: 18px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  transform: translateX(-50%);
  border: 7px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f766e, #f59e0b 50%, #2563eb);
  box-shadow: 0 12px 32px rgba(14, 116, 144, 0.25), 0 0 0 5px rgba(15, 118, 110, 0.18);
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 1px 5px rgba(23, 33, 31, 0.42);
}

.present-card {
  grid-column: 1;
  justify-self: end;
  width: min(100%, 470px);
  border: 1px solid rgba(15, 118, 110, 0.28);
  border-right: 8px solid #0f766e;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.1), rgba(245, 158, 11, 0.14));
  padding: 18px 20px;
  text-align: right;
  box-shadow: 0 18px 40px rgba(23, 33, 31, 0.1);
}

.present-label {
  display: block;
  margin-bottom: 8px;
  color: #08756f;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.present-title {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  font-weight: 900;
  line-height: 1.04;
}

.present-copy {
  display: block;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.46;
}

.drawer-backdrop {
  position: fixed;
  inset: 0 var(--drawer-width) 0 0;
  z-index: 30;
  background: rgba(23, 33, 31, 0.28);
  opacity: 0;
  transition: opacity 180ms ease;
}

.drawer-backdrop.open {
  opacity: 1;
}

.detail-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  display: grid;
  align-content: start;
  gap: 16px;
  width: var(--drawer-width);
  height: 100vh;
  overflow-y: auto;
  border-left: 8px solid var(--active-color);
  background: rgba(255, 252, 246, 0.99);
  box-shadow: -24px 0 70px rgba(23, 33, 31, 0.24);
  padding: 30px;
  transform: translateX(105%);
  transition: transform 220ms ease;
}

.detail-drawer.open {
  transform: translateX(0);
}

.drawer-close {
  justify-self: end;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(23, 33, 31, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.drawer-close:hover {
  border-color: var(--active-color);
  color: var(--active-color);
}

#detailTitle {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 5vw, 3.45rem);
  line-height: 0.96;
}

#detailSummary {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.drawer-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(23, 33, 31, 0.09);
  box-shadow: 0 12px 30px rgba(23, 33, 31, 0.05);
  padding: 17px;
}

.overview-card {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.drawer-kicker {
  margin: 0 0 10px;
  color: var(--active-color);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.description-box,
.related-sequence,
.basics-card,
.meaning-card {
  border-left: 6px solid var(--active-color);
}

.description-box h3,
.related-sequence h3,
.placement-card h3,
.source-card h3,
.basics-card h3,
.meaning-card h3,
.further-card h3 {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.answer-stack {
  display: grid;
  gap: 13px;
}

.answer-block {
  display: grid;
  gap: 6px;
}

.answer-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

.question-label {
  color: color-mix(in srgb, var(--active-color) 82%, var(--ink));
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.compact-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.compact-list li {
  color: var(--muted);
  line-height: 1.35;
}

#detailDescription {
  display: grid;
  gap: 10px;
}

#detailDescription p {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

.placement-grid {
  display: grid;
  gap: 12px;
  margin: 0;
}

.placement-grid div {
  border-left: 5px solid color-mix(in srgb, var(--active-color) 80%, white);
  padding-left: 12px;
}

.related-sequence ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.related-sequence li {
  color: var(--muted);
  line-height: 1.42;
}

.related-sequence strong {
  color: var(--ink);
}

.source-card {
  display: grid;
  gap: 9px;
}

.source-card h3:not(:first-child) {
  margin-top: 8px;
}

.source-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.source-list li {
  color: var(--muted);
  line-height: 1.35;
}

.detail-grid {
  display: grid;
  gap: 14px;
  margin: 0;
}

.detail-grid div {
  border-top: 6px solid var(--active-color);
  padding-top: 10px;
}

dt {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.35;
}

.reference-box {
  border: 1px solid color-mix(in srgb, var(--active-color) 45%, rgba(23, 33, 31, 0.1));
  border-top: 6px solid var(--active-color);
}

.reference-box h3 {
  margin-bottom: 10px;
  font-size: 1rem;
  text-transform: uppercase;
}

.reference-box ul {
  margin: 0;
  padding-left: 18px;
}

.reference-box li {
  margin: 8px 0;
  color: var(--muted);
  line-height: 1.38;
}

.further-card {
  border: 1px solid color-mix(in srgb, var(--active-color) 40%, rgba(23, 33, 31, 0.1));
  background: linear-gradient(135deg, color-mix(in srgb, var(--active-color) 10%, white), rgba(255, 255, 255, 0.74));
}

.further-card p {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
  line-height: 1.45;
}

.learn-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 14px;
  border: 1px solid color-mix(in srgb, var(--active-color) 42%, rgba(23, 33, 31, 0.14));
  background: var(--active-color);
  color: #fff;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--active-color) 20%, transparent);
}

.learn-more-link:hover {
  transform: translateY(-2px);
}

.article-page {
  --active-color: #0f766e;
}

.article-shell {
  overflow: clip;
}

.article-hero {
  margin-bottom: clamp(24px, 4vw, 42px);
}

.article-jump-nav {
  position: sticky;
  top: 84px;
  z-index: 19;
  display: flex;
  justify-content: center;
  gap: 8px;
  max-width: 1180px;
  margin: 0 auto clamp(32px, 5vw, 58px);
  padding: 10px;
  border: 1px solid rgba(23, 33, 31, 0.09);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(23, 33, 31, 0.08);
}

.article-jump-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: var(--muted);
  padding: 8px 12px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.article-jump-nav a:hover {
  background: color-mix(in srgb, var(--active-color) 10%, white);
  color: var(--ink);
}

.article-phase {
  scroll-margin-top: 140px;
  max-width: 1180px;
  margin: 0 auto clamp(42px, 7vw, 86px);
  border-left: 10px solid var(--phase-color);
  background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--phase-color) 6%, white));
  padding: clamp(20px, 4vw, 38px);
  box-shadow: 0 18px 50px rgba(33, 43, 39, 0.08);
}

.article-phase-heading {
  max-width: 820px;
  margin-bottom: 24px;
}

.article-phase-heading h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.96;
}

.article-phase-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.5;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.article-card {
  --article-color: var(--active-color);
  display: grid;
  gap: 10px;
  min-height: 250px;
  border-top: 7px solid var(--article-color);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  padding: 18px;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(23, 33, 31, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(23, 33, 31, 0.11);
}

.article-number {
  color: var(--article-color);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.article-card-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.3vw, 2.5rem);
  font-weight: 900;
  line-height: 1;
}

.article-card-summary {
  color: var(--muted);
  line-height: 1.5;
}

.article-card-link {
  align-self: end;
  color: var(--article-color);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.article-reader {
  --article-color: var(--active-color);
  max-width: 1120px;
  margin: 0 auto;
}

.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.article-breadcrumb a,
.article-breadcrumb span,
.article-actions a,
.article-pager a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid rgba(23, 33, 31, 0.1);
  background: #fff;
  color: var(--muted);
  padding: 9px 12px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 900;
}

.article-breadcrumb a:hover,
.article-actions a:hover,
.article-pager a:hover {
  border-color: color-mix(in srgb, var(--article-color) 42%, rgba(23, 33, 31, 0.14));
  color: var(--ink);
}

.article-reader-hero {
  position: relative;
  border-left: 12px solid var(--article-color);
  background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--article-color) 8%, white));
  padding: clamp(22px, 5vw, 54px);
  box-shadow: 0 18px 50px rgba(33, 43, 39, 0.08);
}

.article-reader-number {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 20px;
  border: 7px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--article-color), var(--article-color-2));
  color: #fff;
  font-size: 1.7rem;
  font-weight: 950;
  box-shadow: 0 12px 30px rgba(23, 33, 31, 0.16);
}

.article-reader-hero h1,
.article-empty h1 {
  margin-bottom: 16px;
  text-align: left;
}

.article-reader-hero p:last-child {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.58;
}

.article-fact-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 clamp(26px, 5vw, 52px);
}

.article-fact-panel > div,
.article-source-card {
  border-top: 7px solid var(--article-color);
  background: rgba(255, 255, 255, 0.82);
  padding: 18px;
  box-shadow: 0 12px 32px rgba(23, 33, 31, 0.06);
}

.article-fact-panel span,
.article-source-card h3 {
  display: block;
  margin-bottom: 10px;
  color: var(--article-color);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.article-fact-panel p,
.article-fact-panel li,
.article-source-card li {
  color: var(--muted);
  line-height: 1.44;
}

.article-fact-panel ul,
.article-source-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.article-fact-panel p {
  margin: 0;
}

.article-body {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  max-width: 880px;
  margin: 0 auto clamp(28px, 5vw, 54px);
}

.article-body-section {
  border-left: 7px solid color-mix(in srgb, var(--article-color) 76%, white);
  padding-left: clamp(18px, 3vw, 28px);
}

.article-body-section h2,
.article-source-card h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.2vw, 3.25rem);
  line-height: 1;
}

.article-body-section p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.68;
}

.article-body-section p:last-child {
  margin-bottom: 0;
}

.article-essay-section {
  border-left: 0;
  padding-left: 0;
}

.article-essay-section p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  line-height: 1.76;
}

.article-source-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.article-source-card h2 {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.article-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.article-pager a {
  display: grid;
  min-height: 96px;
  align-content: center;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.3;
}

.article-pager a span {
  color: var(--article-color);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.article-empty {
  max-width: 860px;
  margin: 0 auto;
  border-left: 10px solid var(--active-color);
  background: linear-gradient(135deg, #fff, color-mix(in srgb, var(--active-color) 8%, white));
  padding: clamp(24px, 5vw, 54px);
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

@media (max-width: 780px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }

  .brand-link {
    min-width: 0;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-title {
    font-size: 1.35rem;
  }

  .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .site-nav a {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 8px 14px;
    white-space: nowrap;
  }

  .page {
    padding: 10px;
  }

  .poster-scroll {
    padding: 18px;
  }

  .study-hero {
    margin-bottom: 24px;
  }

  .message-subnav {
    top: 116px;
    justify-content: flex-start;
    overflow-x: auto;
    margin-bottom: 34px;
    padding: 8px;
  }

  .message-subnav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .study-intro,
  .home-intro,
  .study-grid,
  .message-choice-grid,
  .article-grid,
  .article-fact-panel,
  .article-source-card,
  .article-pager {
    grid-template-columns: 1fr;
  }

  .article-jump-nav {
    top: 116px;
    justify-content: flex-start;
    overflow-x: auto;
    margin-bottom: 34px;
    padding: 8px;
  }

  .article-jump-nav a {
    flex: 0 0 auto;
  }

  .article-phase {
    scroll-margin-top: 116px;
    border-left-width: 7px;
    padding: 20px;
  }

  .article-card {
    min-height: 0;
  }

  .article-reader-hero {
    border-left-width: 8px;
    padding: 22px;
  }

  .article-reader-number {
    width: 64px;
    height: 64px;
    font-size: 1.35rem;
  }

  .article-body-section {
    border-left-width: 6px;
    padding-left: 16px;
  }

  .article-source-card h2 {
    grid-column: auto;
  }

  .home-actions {
    justify-content: stretch;
  }

  .home-actions a {
    justify-content: center;
    width: 100%;
  }

  .feature-grid,
  .how-to-list {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .how-to-list li {
    min-height: 0;
  }

  .how-to-panel {
    border-left-width: 7px;
    padding: 20px;
  }

  .message-choice-card {
    min-height: 0;
    border-left-width: 7px;
  }

  .message-section {
    scroll-margin-top: 116px;
    padding: 20px;
    border-left-width: 7px;
  }

  .message-heading h2 {
    font-size: clamp(2rem, 11vw, 3.35rem);
  }

  .wide-card {
    grid-column: auto;
  }

  .study-actions {
    flex-direction: column;
  }

  .timeline::before {
    left: 32px;
  }

  .timeline-phase {
    margin-bottom: 46px;
    padding: 18px 0 0;
  }

  .timeline-phase::before {
    inset: 0;
    width: auto;
    background: linear-gradient(90deg, color-mix(in srgb, var(--phase-color) 9%, transparent), transparent);
  }

  .phase-header {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    min-height: auto;
    margin-bottom: 28px;
  }

  .phase-header::after {
    grid-column: 1;
    justify-self: center;
    min-height: 100%;
    width: 7px;
    box-shadow: 0 0 0 6px #fff;
  }

  .phase-header > * {
    grid-column: 2;
    justify-self: stretch;
    width: 100%;
    text-align: left;
  }

  .phase-header h2 {
    font-size: clamp(2rem, 10vw, 3.3rem);
  }

  .timeline-item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    min-height: auto;
    margin-bottom: 36px;
    padding-left: 0;
  }

  .timeline-node {
    left: 32px;
    top: 22px;
    width: 68px;
    height: 68px;
  }

  .node-number {
    width: 54px;
    height: 54px;
    font-size: 1.45rem;
  }

  .timeline-item:nth-child(odd) .timeline-card,
  .timeline-item:nth-child(even) .timeline-card {
    grid-column: 2;
    justify-self: stretch;
    text-align: left;
  }

  .present-marker {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    min-height: auto;
    margin: 0 0 36px;
  }

  .present-pin {
    left: 32px;
    top: 12px;
    width: 62px;
    height: 62px;
    font-size: 0.78rem;
  }

  .present-card {
    grid-column: 2;
    justify-self: stretch;
    width: 100%;
    border-right: 1px solid rgba(15, 118, 110, 0.28);
    border-left: 7px solid #0f766e;
    text-align: left;
  }

  .timeline-card {
    width: 100%;
  }

  .event-caption,
  .timeline-item:nth-child(even) .event-caption {
    margin-left: 0;
    margin-right: 0;
  }

  .detail-drawer {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: min(78vh, 680px);
    border-left: 0;
    border-top: 8px solid var(--active-color);
    border-radius: 18px 18px 0 0;
    transform: translateY(105%);
    padding: 24px;
  }

  .drawer-backdrop {
    inset: 0;
  }

  .detail-drawer.open {
    transform: translateY(0);
  }
}

.event-caption:empty,
.phase-header p:empty,
.article-phase-heading p:empty,
.article-card-summary:empty,
.article-reader-hero > p:empty,
.article-fact-panel p:empty,
.article-fact-panel ul:empty,
.article-source-card ul:empty,
.study-hero .subtitle:empty,
#detailSummary:empty,
#basicWhat:empty,
#egwEmphasis:empty,
#detailDescription:empty,
#symbolMeaning:empty,
#peopleAffected:empty,
#propheticIssue:empty,
#furtherReading:empty,
.compact-list:empty,
.source-list:empty,
#detailNotes:empty,
#sequenceList:empty {
  display: none;
}

.article-body-section,
.article-fact-panel > div,
.article-source-card > div,
.drawer-card {
  min-height: 72px;
}

/* Presentation redesign */
:root {
  --ink: #12201d;
  --muted: #5a6b66;
  --paper: #f3f7f5;
  --panel: #ffffff;
  --line: rgba(18, 32, 29, 0.12);
  --active-color: #0f766e;
  --shadow: 0 22px 70px rgba(18, 32, 29, 0.11);
  --soft-shadow: 0 12px 34px rgba(18, 32, 29, 0.08);
  --rail: #263530;
  --drawer-width: 60vw;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  position: relative;
  background:
    linear-gradient(180deg, #edf4f2 0, #f8faf8 320px, #f3f6f4 100%);
  color: var(--ink);
  font-family: var(--sans);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(18, 32, 29, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 32, 29, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 72%);
  pointer-events: none;
}

.site-header {
  padding: 12px clamp(14px, 2.8vw, 38px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.26), rgba(37, 99, 235, 0.12)),
    #12201d;
  box-shadow: 0 18px 48px rgba(18, 32, 29, 0.22);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, #0f766e, #b45309, #2563eb, #65a30d);
}

.brand-link {
  color: #fff;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 45%),
    linear-gradient(135deg, #0f766e, #1d4ed8);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.brand-title {
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 0.98;
}

.brand-subtitle {
  color: rgba(232, 246, 241, 0.78);
  letter-spacing: 0.06em;
}

.site-nav {
  gap: 8px;
}

.site-nav a {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(239, 250, 247, 0.82);
  padding: 9px 15px;
  box-shadow: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: rgba(255, 255, 255, 0.42);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.2);
}

.site-nav a[aria-current="page"] {
  background: #fff;
}

.site-nav a[aria-current="page"]::after {
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
}

.page {
  padding: clamp(18px, 3vw, 42px);
}

.poster-panel {
  background: transparent;
  box-shadow: none;
}

.poster-scroll {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0;
}

.eyebrow,
.phase-kicker,
.study-label,
.message-kicker,
.drawer-kicker {
  letter-spacing: 0.08em;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 7.2vw, 6.6rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.subtitle {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.home-hero,
.study-hero,
.timeline-header,
.article-hero {
  position: relative;
  overflow: hidden;
  max-width: none;
  margin: 0 auto clamp(28px, 5vw, 66px);
  border: 1px solid rgba(18, 32, 29, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 247, 244, 0.92)),
    linear-gradient(90deg, rgba(15, 118, 110, 0.12), rgba(180, 83, 9, 0.1), rgba(37, 99, 235, 0.11));
  padding: clamp(34px, 7vw, 86px) clamp(18px, 5vw, 70px);
  box-shadow: var(--shadow);
  text-align: center;
}

.home-hero::before,
.study-hero::before,
.timeline-header::before,
.article-hero::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(18, 32, 29, 0.08);
  border-radius: 6px;
  pointer-events: none;
}

.home-hero::after,
.study-hero::after,
.timeline-header::after,
.article-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: min(360px, 60%);
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, #0f766e, #b45309, #2563eb);
}

.home-hero > *,
.study-hero > *,
.timeline-header > *,
.article-hero > * {
  position: relative;
}

.home-actions,
.study-actions {
  gap: 12px;
}

.home-actions a,
.feature-card a,
.study-actions a,
.article-breadcrumb a,
.article-breadcrumb span,
.article-actions a,
.article-pager a,
.learn-more-link {
  border-radius: 8px;
}

.home-actions a {
  border-color: rgba(18, 32, 29, 0.12);
  background: #fff;
  padding: 11px 16px;
  box-shadow: var(--soft-shadow);
}

.home-actions a:first-child {
  border-color: #0f766e;
  background: linear-gradient(135deg, #0f766e, #2563eb);
}

.home-intro,
.study-intro {
  gap: 16px;
  max-width: 1120px;
}

.home-intro > div,
.study-intro > div {
  border: 1px solid rgba(18, 32, 29, 0.1);
  border-left: 6px solid var(--active-color);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.study-card,
.article-card,
.article-fact-panel > div,
.article-source-card,
.source-note,
.drawer-card,
.present-card {
  border-radius: 8px;
}

.feature-card {
  min-height: 300px;
  border: 1px solid rgba(18, 32, 29, 0.1);
  border-top: 6px solid var(--active-color);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.feature-number,
.article-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--active-color) 12%, white);
  color: var(--active-color);
}

.feature-card h2,
.message-choice-card strong,
.article-card-title {
  font-family: var(--serif);
}

.how-to-panel {
  border: 1px solid rgba(18, 32, 29, 0.1);
  border-top: 8px solid #12201d;
  border-left: 1px solid rgba(18, 32, 29, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #fff, #edf5f2);
  box-shadow: var(--shadow);
}

.how-to-list li {
  border: 1px solid rgba(18, 32, 29, 0.09);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.message-subnav,
.article-jump-nav {
  top: 82px;
  justify-content: flex-start;
  overflow-x: auto;
  border: 1px solid rgba(18, 32, 29, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--soft-shadow);
}

.message-subnav a,
.article-jump-nav a {
  border-radius: 6px;
}

.message-choice-card {
  min-height: 230px;
  border: 1px solid rgba(18, 32, 29, 0.1);
  border-left: 8px solid var(--message-color);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.message-section {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.message-heading {
  max-width: 980px;
  padding-left: clamp(18px, 3vw, 28px);
  border-left: 8px solid var(--message-color);
}

.study-grid {
  gap: 16px;
}

.study-card {
  border: 1px solid rgba(18, 32, 29, 0.1);
  border-top: 6px solid var(--message-color);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.source-note {
  border: 1px solid color-mix(in srgb, var(--message-color) 30%, rgba(18, 32, 29, 0.1));
  border-left: 7px solid var(--message-color);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.timeline {
  max-width: 1420px;
  padding-bottom: 40px;
}

.timeline::before {
  width: 6px;
  background: linear-gradient(180deg, #0f766e, #b45309, #9b2f58, #2563eb, #65a30d);
  opacity: 1;
}

.timeline-phase {
  margin-bottom: clamp(48px, 7vw, 92px);
  padding-top: clamp(16px, 4vw, 38px);
}

.timeline-phase::before {
  width: min(720px, 58vw);
  border: 1px solid color-mix(in srgb, var(--phase-color) 18%, transparent);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--phase-color) 7%, transparent));
}

.phase-header {
  margin-bottom: clamp(24px, 4vw, 46px);
}

.phase-header::after {
  width: 6px;
  background: linear-gradient(180deg, var(--phase-color), var(--phase-color-2));
  box-shadow: 0 0 0 8px #f8faf8;
}

.phase-header h2 {
  font-family: var(--serif);
}

.timeline-item {
  min-height: clamp(160px, 14vw, 215px);
}

.timeline-node {
  top: 20px;
  width: 74px;
  height: 74px;
  box-shadow: 0 8px 26px rgba(18, 32, 29, 0.18), 0 0 0 7px color-mix(in srgb, var(--color) 14%, transparent);
}

.node-number {
  width: 60px;
  height: 60px;
  font-size: 1.65rem;
}

.timeline-card {
  padding: 2px 0 16px;
}

.timeline-card::after {
  content: "";
  position: absolute;
  top: 34px;
  right: -52px;
  width: 36px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--color));
}

.event-title {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 2.35rem);
}

.event-caption {
  font-size: 0.98rem;
}

.present-marker {
  margin: -10px 0 46px;
}

.present-pin {
  top: 14px;
  width: 74px;
  height: 74px;
  border-width: 6px;
  background: linear-gradient(135deg, #12201d, #0f766e);
}

.present-card {
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-right: 8px solid #0f766e;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.detail-drawer {
  gap: 14px;
  border-left: 6px solid var(--active-color);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--active-color) 8%, white), #fff 180px);
  box-shadow: -28px 0 90px rgba(18, 32, 29, 0.28);
}

.drawer-close {
  border-radius: 8px;
}

.drawer-card {
  border: 1px solid rgba(18, 32, 29, 0.1);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
}

.overview-card {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.description-box,
.related-sequence,
.basics-card,
.meaning-card,
.reference-box,
.source-card,
.further-card {
  border-left: 5px solid var(--active-color);
}

.learn-more-link {
  width: 100%;
  background: linear-gradient(135deg, var(--active-color), color-mix(in srgb, var(--active-color) 60%, #2563eb));
}

.article-phase {
  border: 0;
  border-top: 8px solid var(--phase-color);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: clamp(20px, 4vw, 38px);
  box-shadow: var(--soft-shadow);
}

.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.article-card {
  min-height: 230px;
  border: 1px solid rgba(18, 32, 29, 0.1);
  border-top: 6px solid var(--article-color);
  background: #fff;
  box-shadow: none;
}

.article-card:hover {
  box-shadow: var(--soft-shadow);
}

.article-reader-hero,
.article-empty {
  border: 1px solid rgba(18, 32, 29, 0.1);
  border-left: 10px solid var(--article-color);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.article-reader-number {
  border-width: 6px;
}

.article-fact-panel > div,
.article-source-card {
  border: 1px solid rgba(18, 32, 29, 0.1);
  border-top: 6px solid var(--article-color);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.article-body-section {
  border-left-width: 6px;
}

.article-body-section h2,
.article-source-card h2 {
  font-family: var(--serif);
}

.article-pager a {
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

@media (max-width: 1100px) {
  .feature-grid,
  .how-to-list,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    align-items: start;
  }

  .site-nav {
    flex-wrap: wrap;
  }
}

@media (min-width: 781px) and (max-width: 980px) {
  .article-page .article-jump-nav a {
    flex-basis: 50%;
  }
}

@media (max-width: 780px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .site-nav {
    flex-wrap: nowrap;
  }

  .page {
    padding: 12px;
  }

  .home-hero,
  .study-hero,
  .timeline-header,
  .article-hero {
    padding: 34px 18px 46px;
  }

  h1 {
    font-size: clamp(2.65rem, 16vw, 4.3rem);
  }

  .feature-grid,
  .how-to-list,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .message-subnav,
  .article-jump-nav {
    top: 116px;
  }

  .timeline::before {
    left: 34px;
    width: 5px;
  }

  .timeline-phase::before {
    border-radius: 8px;
  }

  .phase-header::after {
    width: 5px;
    box-shadow: 0 0 0 7px #f8faf8;
  }

  .timeline-node {
    left: 34px;
    width: 66px;
    height: 66px;
  }

  .node-number {
    width: 52px;
    height: 52px;
    font-size: 1.35rem;
  }

  .timeline-card::after {
    display: none;
  }

  .present-pin {
    left: 34px;
    width: 62px;
    height: 62px;
  }

  .present-card {
    border-right-width: 1px;
    border-left: 7px solid #0f766e;
  }

  .detail-drawer {
    height: min(82vh, 720px);
    border-left: 0;
    border-top: 7px solid var(--active-color);
    border-radius: 8px 8px 0 0;
  }
}

/* Final Chapters inspired UI */
:root {
  --parchment-50: #fcfbf8;
  --parchment-100: #f6f3eb;
  --parchment-200: #ece3cf;
  --parchment-300: #e0ceaa;
  --parchment-400: #d2b480;
  --parchment-500: #c59d5e;
  --parchment-700: #99673f;
  --parchment-800: #7f5537;
  --parchment-900: #67462f;
  --midnight: #0f172a;
  --crimson: #991b1b;
  --ink: var(--midnight);
  --muted: #5f6674;
  --paper: var(--parchment-50);
  --panel: #ffffff;
  --line: rgba(15, 23, 42, 0.12);
  --active-color: var(--parchment-700);
  --rail: var(--parchment-300);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 28px 80px rgba(15, 23, 42, 0.13);
  --soft-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

body {
  background:
    linear-gradient(180deg, rgba(252, 251, 248, 0.98), rgba(246, 243, 235, 0.96)),
    var(--parchment-50);
  color: var(--midnight);
  font-family: var(--sans);
}

body::before {
  background-image:
    radial-gradient(circle at 1px 1px, rgba(197, 157, 94, 0.22) 1px, transparent 0);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 62%);
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.site-header::after {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--parchment-500), transparent);
}

.brand-link {
  color: var(--midnight);
}

.brand-mark {
  border: 1px solid rgba(197, 157, 94, 0.44);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent),
    var(--midnight);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
}

.brand-title {
  color: var(--midnight);
  font-family: var(--serif);
  letter-spacing: 0;
}

.brand-subtitle {
  color: var(--parchment-800);
}

.site-nav a {
  min-height: 42px;
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: var(--midnight);
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-color: rgba(15, 23, 42, 0.12);
  background: var(--midnight);
  color: var(--parchment-50);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
}

.site-nav a[aria-current="page"]::after {
  background: var(--parchment-500);
}

.home-hero {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 120px);
  border: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.38), rgba(15, 23, 42, 0.82) 52%, rgba(252, 251, 248, 0.98) 100%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.18)),
    url("https://images.unsplash.com/photo-1504198458649-3128b932f49e?q=80&w=2400&auto=format&fit=crop");
  background-position: center;
  background-size: cover;
  box-shadow: none;
  color: var(--parchment-50);
  padding: clamp(80px, 12vw, 150px) clamp(18px, 5vw, 70px);
}

.home-hero::before {
  inset: clamp(18px, 3vw, 34px);
  border-color: rgba(236, 227, 207, 0.18);
}

.home-hero::after {
  bottom: clamp(28px, 6vw, 64px);
  width: min(420px, 70%);
  background: linear-gradient(90deg, transparent, var(--parchment-400), transparent);
}

.home-hero .eyebrow {
  display: inline-flex;
  justify-self: center;
  width: auto;
  border: 1px solid rgba(224, 206, 170, 0.42);
  border-radius: 999px;
  background: rgba(103, 70, 47, 0.34);
  color: var(--parchment-200);
  padding: 7px 12px;
  backdrop-filter: blur(10px);
}

.home-hero h1 {
  max-width: 980px;
  color: var(--parchment-50);
  font-size: clamp(4rem, 10vw, 8.8rem);
  text-shadow: 0 12px 42px rgba(0, 0, 0, 0.45);
}

.home-hero .subtitle {
  color: var(--parchment-100);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  font-weight: 300;
}

.home-actions a {
  border-radius: 999px;
  border-color: rgba(224, 206, 170, 0.35);
  background: rgba(255, 255, 255, 0.92);
  color: var(--midnight);
}

.home-actions a:first-child {
  border-color: transparent;
  background: var(--parchment-500);
  color: var(--midnight);
  box-shadow: 0 0 28px rgba(197, 157, 94, 0.34);
}

.home-actions a:hover,
.feature-card a:hover,
.study-actions a:hover,
.article-card:hover,
.message-choice-card:hover,
.book-card:hover {
  transform: translateY(-3px);
}

.home-intro {
  margin-top: clamp(34px, 6vw, 74px);
}

.home-intro > div,
.study-intro > div,
.feature-card,
.study-card,
.article-card,
.message-choice-card,
.how-to-list li,
.article-fact-panel > div,
.article-source-card,
.book-card {
  border-color: var(--parchment-200);
  background: rgba(255, 255, 255, 0.92);
}

.study-label,
.message-kicker,
.phase-kicker,
.eyebrow,
.drawer-kicker {
  color: var(--parchment-700);
}

.feature-card,
.study-card,
.article-card,
.message-choice-card {
  box-shadow: var(--soft-shadow);
}

.feature-number,
.article-number {
  background: var(--parchment-100);
  color: var(--parchment-800);
}

.how-to-panel {
  border-top-color: var(--midnight);
  background: linear-gradient(135deg, #fff, var(--parchment-100));
}

.section-heading {
  max-width: 760px;
  margin: 0 auto clamp(28px, 5vw, 56px);
  text-align: center;
}

.section-heading h2,
.preparation-callout h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.94;
}

.section-heading p,
.preparation-callout p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.prophecy-books {
  max-width: 1180px;
  margin: clamp(44px, 8vw, 92px) auto 0;
}

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

.book-card {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--parchment-200);
  border-radius: 8px;
  color: var(--midnight);
  padding: 118px 24px 24px;
  text-decoration: none;
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.book-card:hover {
  border-color: var(--parchment-500);
  box-shadow: var(--shadow);
}

.book-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 108px;
  background:
    linear-gradient(90deg, var(--parchment-800) 0 36px, transparent 36px),
    linear-gradient(135deg, var(--parchment-100), #fff);
  border-bottom: 1px solid var(--parchment-200);
}

.book-spine {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 32px;
  background: var(--parchment-800);
  box-shadow: 8px 0 20px rgba(15, 23, 42, 0.12);
}

.book-icon {
  position: absolute;
  left: 50%;
  top: 34px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  transform: translateX(-50%);
  border: 1px solid var(--parchment-300);
  border-radius: 50%;
  background: #fff;
  color: var(--parchment-800);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
}

.book-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
}

.book-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.preparation-callout {
  position: relative;
  max-width: 980px;
  margin: clamp(34px, 5vw, 64px) auto 0;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(103, 70, 47, 0.88)),
    var(--midnight);
  color: var(--parchment-50);
  padding: clamp(30px, 4.5vw, 56px);
  text-align: center;
  box-shadow: var(--shadow);
}

.preparation-callout::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(224, 206, 170, 0.18);
  border-radius: 6px;
}

.preparation-callout > * {
  position: relative;
}

.preparation-callout h2 {
  color: var(--parchment-50);
}

.preparation-callout p {
  max-width: 740px;
  margin: 0 auto 22px;
  color: var(--parchment-200);
}

.preparation-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border: 1px solid rgba(224, 206, 170, 0.44);
  border-radius: 50%;
  background: rgba(224, 206, 170, 0.1);
}

.preparation-icon::before {
  content: "";
  width: 30px;
  height: 42px;
  border: 3px solid var(--parchment-300);
  border-top-width: 5px;
  border-bottom-width: 5px;
  clip-path: polygon(0 0, 100% 0, 58% 50%, 100% 100%, 0 100%, 42% 50%);
}

.study-hero,
.timeline-header,
.article-hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 243, 235, 0.94));
  border-color: var(--parchment-200);
}

.timeline {
  max-width: 1220px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.97), rgba(15, 23, 42, 0.94)),
    var(--midnight);
  color: var(--parchment-50);
  padding: clamp(34px, 6vw, 76px) 0;
  box-shadow: var(--shadow);
}

.timeline::before {
  width: 2px;
  background: var(--parchment-300);
  opacity: 0.65;
}

.timeline-phase::before {
  display: none;
}

.phase-header h2,
.event-title {
  color: var(--parchment-50);
}

.phase-header p,
.event-caption {
  color: rgba(246, 243, 235, 0.72);
}

.phase-header::after {
  width: 2px;
  background: linear-gradient(180deg, var(--parchment-500), var(--parchment-300));
  box-shadow: 0 0 0 10px var(--midnight);
}

.timeline-card {
  border: 1px solid rgba(224, 206, 170, 0.14);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.42);
  padding: 22px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
}

.timeline-card:hover,
.timeline-card.active {
  color: var(--parchment-400);
  border-color: rgba(197, 157, 94, 0.7);
}

.timeline-card.active .event-title {
  color: var(--parchment-400);
}

.timeline-node {
  background: var(--midnight);
  box-shadow: 0 0 0 1px rgba(224, 206, 170, 0.24), 0 0 24px rgba(197, 157, 94, 0.24);
}

.timeline-node::before {
  border-color: var(--parchment-500);
}

.node-number {
  background: linear-gradient(135deg, var(--parchment-700), var(--parchment-500));
  color: var(--midnight);
  text-shadow: none;
}

.present-pin {
  background: var(--crimson);
  box-shadow: 0 0 28px rgba(153, 27, 27, 0.55);
}

.present-card {
  border-color: rgba(197, 157, 94, 0.34);
  border-right-color: var(--crimson);
  background: rgba(255, 255, 255, 0.96);
}

.detail-drawer {
  background:
    linear-gradient(180deg, var(--parchment-100), #fff 220px);
}

.article-phase,
.article-reader-hero,
.article-empty,
.article-fact-panel > div,
.article-source-card,
.source-note {
  border-color: var(--parchment-200);
}

@media (max-width: 1100px) {
  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .home-hero {
    min-height: calc(100vh - 146px);
    padding: 70px 18px 86px;
  }

  .home-hero h1 {
    font-size: clamp(3.4rem, 18vw, 5.4rem);
  }

  .book-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding: 34px 0;
  }

  .timeline::before {
    left: 34px;
  }

  .phase-header::after {
    box-shadow: 0 0 0 9px var(--midnight);
  }

  .timeline-card {
    padding: 18px;
  }

  .present-card {
    border-right-color: rgba(197, 157, 94, 0.34);
  }
}

/* Dossier Editorial UI */
:root {
  --alabaster-100: #ffffff;
  --alabaster-200: #f9f8f6;
  --alabaster-300: #f0efea;
  --alabaster-400: #e2e0d8;
  --ink: #1c1c1c;
  --ink-light: #4a4a4a;
  --muted: #7a7a7a;
  --carmine: #9b2c2c;
  --carmine-light: #c53030;
  --carmine-glow: rgba(155, 44, 44, 0.15);
  --paper: var(--alabaster-200);
  --panel: var(--alabaster-100);
  --line: var(--alabaster-400);
  --rail: rgba(28, 28, 28, 0.1);
  --active-color: var(--carmine);
  --timeline-gap: clamp(36px, 4vw, 70px);
  --timeline-left: 40%;
  --drawer-left: 40vw;
  --drawer-width: calc(100vw - var(--drawer-left));
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Outfit", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
  --soft-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

html {
  background: var(--alabaster-200);
}

body {
  overflow-x: hidden;
  background: var(--alabaster-200);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
}

body::before {
  content: none;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--alabaster-200);
}

::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: var(--alabaster-400);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--carmine);
}

h1,
h2,
h3,
.brand-title,
.event-title,
.article-card-title,
.article-body-section h2,
.article-source-card h2,
.message-heading h2,
.section-heading h2,
.preparation-callout h2,
.book-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: rgba(249, 248, 246, 0.84);
  box-shadow: none;
  padding: 22px clamp(18px, 4vw, 48px);
  backdrop-filter: blur(22px);
}

.site-header::after {
  content: none;
}

.nav-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--carmine);
  transition: width 100ms linear;
}

.brand-link {
  min-width: 0;
  color: var(--ink);
  gap: 12px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid var(--carmine);
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.brand-mark::before {
  content: "";
  position: absolute;
  width: 17px;
  height: 17px;
  border: 2px solid var(--carmine);
  border-radius: 50%;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--carmine);
}

.brand-hourglass {
  display: none;
}

.brand-copy {
  gap: 0;
}

.brand-title {
  color: var(--ink);
  font-size: clamp(1.28rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.brand-subtitle {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.site-nav {
  gap: clamp(14px, 2.5vw, 32px);
}

.site-nav a {
  min-height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  padding: 0 0 5px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--carmine);
  transform: none;
}

.site-nav a[aria-current="page"]::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--carmine);
}

.page {
  padding: 104px clamp(18px, 4vw, 48px) clamp(40px, 6vw, 72px);
}

.home-page {
  padding: 0;
}

.poster-panel,
.poster-scroll,
.home-shell,
.study-shell,
.article-shell {
  width: 100%;
  max-width: none;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.home-page .poster-scroll {
  max-width: none;
}

.home-hero {
  display: grid;
  place-items: center;
  min-height: clamp(560px, 70svh, 720px);
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(249, 248, 246, 0.92), rgba(249, 248, 246, 1)),
    radial-gradient(circle at 50% 40%, rgba(155, 44, 44, 0.06), transparent 42%);
  box-shadow: none;
  color: var(--ink);
  padding: clamp(96px, 8vw, 124px) clamp(18px, 6vw, 80px) clamp(40px, 5vw, 66px);
  text-align: center;
}

.home-hero::before {
  content: none;
}

.home-hero::after {
  content: none;
}

.eyebrow,
.study-label,
.message-kicker,
.phase-kicker,
.drawer-kicker {
  color: var(--carmine);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.home-hero .eyebrow {
  display: block;
  width: auto;
  margin-bottom: 18px;
  border: 0;
  background: transparent;
  color: var(--carmine);
  padding: 0;
}

.home-hero h1,
.study-hero h1,
.timeline-header h1,
.article-hero h1 {
  color: var(--ink);
  font-size: clamp(4.15rem, 9vw, 8rem);
  font-weight: 500;
  line-height: 0.84;
  text-shadow: none;
}

.home-hero .subtitle,
.subtitle {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 300;
  line-height: 1.58;
}

.home-actions {
  gap: 0;
}

.home-actions a,
.feature-card a,
.study-actions a,
.article-breadcrumb a,
.article-breadcrumb span,
.article-actions a,
.article-pager a,
.learn-more-link {
  border-radius: 0;
}

.home-actions a,
.feature-card a,
.study-actions a,
.article-breadcrumb a,
.article-breadcrumb span,
.article-actions a,
.article-pager a {
  min-height: 46px;
  border: 1px solid var(--alabaster-400);
  background: var(--alabaster-100);
  color: var(--ink);
  padding: 13px 18px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: none;
}

.home-actions a:first-child,
.study-actions a:first-child {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--alabaster-100);
}

.home-actions a:hover,
.feature-card a:hover,
.study-actions a:hover,
.article-breadcrumb a:hover,
.article-actions a:hover,
.article-pager a:hover {
  border-color: var(--carmine);
  color: var(--carmine);
  transform: none;
}

.home-actions a:first-child:hover,
.study-actions a:first-child:hover {
  background: var(--carmine);
  color: #fff;
}

.home-intro,
.feature-grid,
.how-to-panel,
.prophecy-books,
.preparation-callout {
  width: min(100%, 1180px);
  margin-left: auto;
  margin-right: auto;
}

.home-intro {
  gap: 18px;
  margin-top: clamp(26px, 4vw, 46px);
}

.home-intro > div,
.study-intro > div,
.feature-card,
.study-card,
.message-choice-card,
.book-card,
.article-card,
.article-fact-panel > div,
.article-source-card,
.drawer-card,
.source-note,
.how-to-list li {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--alabaster-300);
  border-radius: 8px;
  background: var(--alabaster-100);
  box-shadow: none;
}

.home-intro > div,
.study-intro > div {
  border-left: 0;
  padding: clamp(22px, 3vw, 34px);
}

.feature-grid {
  gap: 18px;
  margin-top: clamp(26px, 4vw, 46px);
}

.feature-card {
  min-height: 300px;
  border-top: 1px solid var(--alabaster-300);
  padding: clamp(24px, 3vw, 34px);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.feature-card:hover,
.article-card:hover,
.message-choice-card:hover,
.book-card:hover {
  border-color: var(--carmine);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.feature-card::after,
.article-card .watermark,
.timeline-card .watermark {
  position: absolute;
  top: -28px;
  right: 18px;
  z-index: 0;
  color: rgba(28, 28, 28, 0.035);
  font-family: var(--serif);
  font-size: clamp(7rem, 12vw, 10rem);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.feature-card::after {
  content: attr(data-watermark);
}

.feature-card:nth-child(1)::after {
  content: "01";
}

.feature-card:nth-child(2)::after {
  content: "02";
}

.feature-card:nth-child(3)::after {
  content: "03";
}

.feature-card:nth-child(4)::after {
  content: "04";
}

.feature-card > *,
.article-card > *,
.timeline-card > * {
  position: relative;
  z-index: 1;
}

.article-card .watermark,
.timeline-card .watermark {
  z-index: 0;
}

.feature-number,
.article-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--alabaster-300);
  border-radius: 50%;
  background: var(--alabaster-200);
  color: var(--carmine);
}

.feature-card h2,
.article-card-title,
.message-choice-card strong {
  font-size: clamp(1.8rem, 2.7vw, 2.65rem);
  line-height: 1;
}

.feature-card p,
.home-intro p,
.study-intro p,
.message-choice-card span:last-child,
.book-card p,
.article-card-summary {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.how-to-panel {
  border: 1px solid var(--alabaster-300);
  border-left: 0;
  border-top: 1px solid var(--alabaster-300);
  border-radius: 8px;
  background: var(--alabaster-100);
  box-shadow: none;
}

.how-to-list li {
  min-height: 170px;
  border-radius: 8px;
  padding-top: 46px;
}

.section-heading h2,
.preparation-callout h2,
.message-heading h2 {
  color: var(--ink);
  font-size: clamp(2.7rem, 5.4vw, 4.9rem);
  font-weight: 500;
  line-height: 0.9;
}

.prophecy-books {
  margin-top: clamp(42px, 6vw, 74px);
}

.book-grid {
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.book-card {
  min-height: 260px;
  border-radius: 8px;
  color: var(--ink);
  padding: 78px 26px 26px;
}

.book-card::before {
  height: 78px;
  background: var(--alabaster-300);
}

.book-spine {
  width: 1px;
  background: var(--carmine);
  box-shadow: none;
}

.book-icon {
  top: 24px;
  border-color: var(--alabaster-400);
  color: var(--carmine);
}

.preparation-callout {
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: var(--alabaster-100);
  box-shadow: var(--shadow);
}

.preparation-callout::before {
  border-color: rgba(255, 255, 255, 0.12);
}

.preparation-callout h2 {
  color: var(--alabaster-100);
}

.preparation-callout p {
  color: var(--alabaster-400);
}

.preparation-icon {
  position: relative;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.preparation-icon::before,
.preparation-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 36px;
  height: 5px;
  border-radius: 999px;
  background: var(--alabaster-100);
  transform: translateX(-50%);
}

.preparation-icon::before {
  top: 14px;
}

.preparation-icon::after {
  bottom: 14px;
}

.prep-glass {
  position: absolute;
  left: 50%;
  top: 17px;
  width: 34px;
  height: 30px;
  transform: translateX(-50%);
}

.prep-glass::before,
.prep-glass::after {
  content: "";
  position: absolute;
  left: 2px;
  width: 30px;
  height: 19px;
  border: 2px solid rgba(255, 255, 255, 0.72);
}

.prep-glass::before {
  top: 0;
  border-bottom: 0;
  clip-path: polygon(0 0, 100% 0, 56% 100%, 44% 100%);
}

.prep-glass::after {
  bottom: -12px;
  border-top: 0;
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
}

.prep-sand {
  position: absolute;
  left: 50%;
  width: 18px;
  background: var(--carmine);
  transform: translateX(-50%);
}

.prep-sand-top {
  top: 22px;
  height: 9px;
  clip-path: polygon(0 0, 100% 0, 58% 100%, 42% 100%);
}

.prep-sand-bottom {
  bottom: 22px;
  height: 9px;
  clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%);
}

.preparation-callout .home-actions a {
  border-color: var(--carmine);
  background: var(--carmine);
  color: #fff;
}

.preparation-callout .home-actions a:hover {
  border-color: var(--carmine-light);
  background: var(--carmine-light);
  color: #fff;
}

.study-hero,
.timeline-header,
.article-hero,
.article-empty {
  position: relative;
  overflow: hidden;
  max-width: 1180px;
  margin: 0 auto clamp(28px, 4.5vw, 56px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: clamp(28px, 5vw, 54px) 0 clamp(18px, 3vw, 32px);
  text-align: center;
}

.study-hero::before,
.timeline-header::before,
.article-hero::before {
  content: none;
}

.study-hero::after,
.timeline-header::after,
.article-hero::after {
  content: none;
}

.timeline-header::after {
  content: none;
}

.study-hero h1,
.timeline-header h1,
.article-hero h1 {
  font-size: clamp(3.8rem, 8vw, 7rem);
}

.study-page {
  padding-top: clamp(72px, 5vw, 92px);
}

.study-page .study-hero {
  margin-bottom: clamp(10px, 1.8vw, 20px);
  padding: clamp(2px, 1.2vw, 12px) 0 clamp(8px, 1.6vw, 16px);
}

.study-page .study-hero h1 {
  margin-bottom: clamp(10px, 1.8vw, 18px);
  font-size: clamp(4rem, 8.4vw, 7.2rem);
  line-height: 0.88;
}

.study-page .message-subnav {
  margin-bottom: clamp(10px, 1.8vw, 20px);
}

.message-subnav,
.article-jump-nav {
  top: 92px;
  justify-content: center;
  border: 1px solid var(--alabaster-300);
  border-radius: 8px;
  background: rgba(249, 248, 246, 0.9);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.message-subnav a,
.article-jump-nav a {
  border-radius: 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.message-subnav a:hover,
.message-subnav a[aria-current="page"],
.article-jump-nav a:hover {
  background: transparent;
  color: var(--carmine);
}

.message-choice-grid {
  gap: 14px;
}

.message-choice-card {
  min-height: 220px;
  border-left: 1px solid var(--alabaster-300);
  padding: 24px;
}

.message-choice-card::before {
  background: var(--carmine);
}

.message-section {
  border: 1px solid var(--alabaster-300);
  border-left: 4px solid var(--carmine);
  border-radius: 8px;
  background: var(--alabaster-100);
  box-shadow: none;
  margin-bottom: clamp(26px, 4.5vw, 54px);
  padding: clamp(20px, 3vw, 32px);
}

.message-heading {
  border-left-color: var(--carmine);
}

.study-card {
  border-top: 1px solid var(--alabaster-300);
}

.verse-outline {
  display: grid;
  gap: clamp(14px, 2.2vw, 22px);
  margin-top: clamp(18px, 3vw, 30px);
}

.verse-entry {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--alabaster-300);
  border-left: 4px solid rgba(155, 44, 44, 0.75);
  border-radius: 8px;
  background: var(--alabaster-100);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 20px 50px -40px rgba(28, 28, 28, 0.3);
}

.verse-entry::after {
  content: "";
  position: absolute;
  inset: auto -20px -60px auto;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(155, 44, 44, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.verse-entry.highlight-entry {
  border-left-color: var(--carmine);
  background:
    linear-gradient(90deg, rgba(155, 44, 44, 0.055), transparent 34%),
    var(--alabaster-100);
}

.verse-ref {
  margin: 0 0 12px;
  color: var(--carmine);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.verse-entry h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(1.75rem, 3.2vw, 3.1rem);
  font-weight: 600;
  line-height: 0.98;
}

.verse-entry p:not(.verse-ref) {
  max-width: 84ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  line-height: 1.75;
}

.verse-entry p + p {
  margin-top: 14px;
}

.study-intro.enriched-intro {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1240px;
}

.response-panel {
  max-width: 1240px;
  margin: clamp(26px, 4vw, 52px) auto clamp(14px, 3vw, 30px);
  border: 1px solid var(--alabaster-300);
  border-left: 4px solid var(--carmine);
  border-radius: 8px;
  background: var(--alabaster-100);
  padding: clamp(24px, 4vw, 44px);
}

.response-panel h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  font-weight: 600;
  line-height: 0.92;
}

.response-panel > p {
  max-width: 78ch;
  margin: 0 0 clamp(24px, 4vw, 42px);
  color: var(--muted);
  font-size: clamp(1.06rem, 1.8vw, 1.22rem);
  line-height: 1.68;
}

.response-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--alabaster-300);
  border-left: 1px solid var(--alabaster-300);
}

.response-grid > div {
  min-height: 178px;
  border-right: 1px solid var(--alabaster-300);
  border-bottom: 1px solid var(--alabaster-300);
  padding: clamp(18px, 2.4vw, 28px);
}

.response-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  font-weight: 700;
  line-height: 1;
}

.response-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.58;
}

.source-note {
  border-left: 4px solid var(--carmine);
  background: var(--alabaster-100);
}

.timeline {
  max-width: 1420px;
  margin: 0 auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  padding: 0 0 30px;
}

.timeline::before,
.scroll-line {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--timeline-left);
  width: 1px;
  transform: translateX(-50%);
}

.timeline::before {
  background: rgba(28, 28, 28, 0.1);
  opacity: 1;
}

.scroll-line {
  z-index: 1;
  height: 100%;
  background: var(--carmine);
  pointer-events: none;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  transition: transform 75ms linear;
}

.timeline-phase {
  margin: 0;
  padding: 0;
}

.timeline-phase::before {
  display: none;
}

.phase-header {
  display: block;
  width: var(--timeline-left);
  min-height: 0;
  margin: 0 0 30px;
  padding-right: clamp(24px, 5vw, 64px);
  text-align: right;
}

.phase-header::after {
  display: none;
}

.phase-header > * {
  width: auto;
  text-align: right;
}

.phase-header h2 {
  color: var(--ink);
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 600;
  line-height: 0.95;
}

.phase-header p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.timeline-item,
.present-marker {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 0;
  margin: 0 0 clamp(42px, 6vw, 86px);
  padding: 0;
}

.timeline-meta {
  position: sticky;
  top: 34vh;
  z-index: 2;
  width: var(--timeline-left);
  height: fit-content;
  padding-right: clamp(24px, 5vw, 64px);
  text-align: right;
}

.timeline-meta .stage-num {
  display: block;
  margin-bottom: 10px;
  color: var(--carmine);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.timeline-meta strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 3.45rem);
  font-weight: 600;
  line-height: 0.94;
}

.timeline-node,
.present-pin {
  left: var(--timeline-left);
  top: 18px;
  z-index: 4;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(28, 28, 28, 0.3);
  border-radius: 50%;
  background: var(--alabaster-200);
  box-shadow: none;
  transform: translateX(-50%);
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.timeline-node::before {
  content: none;
}

.timeline-node:hover,
.timeline-node.viewed,
.timeline-node.active {
  border-color: var(--carmine);
  background: var(--carmine);
  box-shadow: 0 0 0 4px var(--carmine-glow);
  transform: translateX(-50%) scale(1.3);
}

.node-number {
  position: absolute;
  left: 50%;
  top: 50%;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: transparent;
  font-size: 0;
  text-shadow: none;
  transform: translate(-50%, -50%);
}

.timeline-card {
  position: relative;
  grid-column: auto !important;
  justify-self: auto !important;
  width: calc((100% - var(--timeline-left)) - var(--timeline-gap));
  max-width: none;
  margin-left: var(--timeline-gap);
  overflow: hidden;
  border: 1px solid var(--alabaster-300);
  border-radius: 8px;
  background: var(--alabaster-100);
  color: var(--ink);
  padding: clamp(24px, 3vw, 40px);
  text-align: left !important;
  box-shadow: none;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.timeline-card::after {
  display: none;
}

.timeline-card:hover,
.timeline-card.active {
  border-color: var(--carmine);
  box-shadow: var(--shadow);
  color: var(--ink);
  transform: translateY(-4px);
}

.timeline-card.active .event-title {
  color: var(--ink);
}

.timeline-card:hover .watermark,
.timeline-card.active .watermark,
.article-card:hover .watermark {
  color: var(--carmine-glow);
}

.event-title {
  color: var(--ink);
  font-size: clamp(2.05rem, 4vw, 4.2rem);
  font-weight: 600;
  line-height: 0.94;
}

.event-caption,
.timeline-item:nth-child(odd) .event-caption,
.timeline-item:nth-child(even) .event-caption {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.65;
}

.event-card-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  border-top: 1px solid var(--alabaster-300);
  padding-top: 18px;
  color: var(--ink-light);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.present-marker {
  align-items: flex-start;
}

.present-pin {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--carmine);
  background: var(--carmine);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.present-card {
  width: calc((100% - var(--timeline-left)) - var(--timeline-gap));
  max-width: none;
  margin-left: calc(var(--timeline-left) + var(--timeline-gap));
  border: 1px solid var(--alabaster-300);
  border-left: 4px solid var(--carmine);
  border-right: 1px solid var(--alabaster-300);
  border-radius: 8px;
  background: var(--alabaster-100);
  box-shadow: none;
  padding: clamp(22px, 3vw, 34px);
  text-align: left;
}

.present-label {
  color: var(--carmine);
  letter-spacing: 0.2em;
}

.present-title {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.7vw, 3.8rem);
  font-weight: 600;
}

.present-copy {
  color: var(--muted);
  line-height: 1.7;
}

.drawer-backdrop {
  z-index: 100;
  background: rgba(28, 28, 28, 0.34);
}

.detail-drawer {
  z-index: 110;
  align-content: start;
  grid-auto-rows: max-content;
  gap: 12px;
  border-left: 4px solid var(--carmine);
  background: rgba(249, 248, 246, 0.99);
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.22);
  padding: 24px;
  overflow-x: hidden;
}

.detail-drawer .drawer-card,
.detail-drawer .overview-card {
  min-height: 0;
  height: auto;
  overflow: visible;
  overflow-wrap: anywhere;
}

.detail-drawer .overview-card {
  border-bottom: 1px solid var(--alabaster-300);
  padding-bottom: 18px;
}

.drawer-close {
  border-color: var(--alabaster-400);
  background: var(--alabaster-100);
  color: var(--ink);
}

.drawer-close:hover {
  border-color: var(--carmine);
  color: var(--carmine);
}

#detailTitle {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3vw, 2.85rem);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}

#detailSummary,
.answer-block p,
.compact-list li,
#detailDescription p,
.placement-grid dd,
.source-list li,
.reference-box li,
.further-card p {
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.description-box,
.related-sequence,
.basics-card,
.meaning-card,
.reference-box,
.source-card,
.further-card {
  border-left: 4px solid var(--carmine);
}

.question-label,
.article-fact-panel span,
.article-source-card h3,
.article-card-link {
  color: var(--carmine);
  letter-spacing: 0.14em;
}

.learn-more-link {
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  letter-spacing: 0.14em;
}

.learn-more-link:hover {
  background: var(--carmine);
}

.article-phase {
  border: 1px solid var(--alabaster-300);
  border-radius: 8px;
  background: var(--alabaster-100);
  box-shadow: none;
  margin-bottom: clamp(26px, 4vw, 52px);
  padding: clamp(22px, 3vw, 34px);
}

.article-phase-heading h2 {
  color: var(--ink);
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 600;
}

.article-grid {
  gap: 18px;
}

.article-card {
  min-height: 240px;
  border-top: 1px solid var(--alabaster-300);
  padding: 24px;
}

.article-card-title {
  color: var(--ink);
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 600;
}

.article-reader-hero,
.article-empty {
  border: 1px solid var(--alabaster-300);
  border-left: 4px solid var(--carmine);
  border-radius: 8px;
  background: var(--alabaster-100);
  box-shadow: none;
  text-align: left;
  margin-bottom: clamp(22px, 3vw, 40px);
  padding: clamp(22px, 3.5vw, 40px);
}

.article-reader-hero::after,
.article-empty::after {
  content: none;
}

.article-reader-number {
  width: 50px;
  height: 50px;
  border: 1px solid var(--alabaster-300);
  background: var(--ink);
  color: #fff;
  box-shadow: none;
  font-family: var(--sans);
}

.article-reader-hero h1,
.article-empty h1 {
  font-size: clamp(2.75rem, 5.2vw, 5rem);
}

.article-fact-panel > div,
.article-source-card {
  border-top: 1px solid var(--alabaster-300);
  background: var(--alabaster-100);
  box-shadow: none;
}

.article-body-section {
  border-left: 4px solid var(--carmine);
  padding-left: clamp(16px, 2.4vw, 24px);
}

.article-body-section h2,
.article-source-card h2 {
  color: var(--ink);
  font-weight: 600;
}

.article-body-section p,
.article-fact-panel p,
.article-fact-panel li,
.article-source-card li {
  color: var(--muted);
  line-height: 1.76;
}

.article-page .article-jump-nav {
  position: static;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  overflow: visible;
  padding: 0;
  background: var(--alabaster-100);
}

.article-page .article-jump-nav a {
  flex: 0 0 25%;
  justify-content: center;
  min-height: 54px;
  border-left: 1px solid var(--alabaster-300);
  border-right: 1px solid var(--alabaster-300);
  border-bottom: 1px solid var(--alabaster-300);
  padding: 14px 16px;
  text-align: center;
  white-space: normal;
  line-height: 1.35;
}

.article-page .article-jump-nav a:hover {
  background: rgba(155, 44, 44, 0.055);
}

.article-pager a {
  border-radius: 8px;
  background: var(--alabaster-100);
}

.site-footer {
  border-top: 1px solid var(--alabaster-300);
  background: var(--alabaster-200);
  padding: 34px clamp(18px, 4vw, 48px);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 1180px);
  margin: 0 auto;
  color: var(--muted);
}

.footer-brand,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-brand,
.site-footer a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer a:hover {
  color: var(--carmine);
}

.site-footer p {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .feature-grid,
  .book-grid,
  .article-grid,
  .article-fact-panel,
  .article-source-card,
  .study-intro.enriched-intro,
  .response-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .page {
    padding: 116px 16px 46px;
  }

  .study-page {
    padding-top: 98px;
  }

  .home-page {
    padding: 0;
  }

  .home-hero {
    min-height: auto;
    padding: 118px 18px 54px;
  }

  .home-hero h1,
  .study-hero h1,
  .timeline-header h1,
  .article-hero h1 {
    font-size: clamp(3.35rem, 14vw, 5rem);
  }

  .study-hero h1 {
    max-width: 8.5ch;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.75rem, 10.5vw, 3.55rem);
    line-height: 0.98;
    overflow-wrap: normal;
  }

  .study-page .study-hero {
    margin-bottom: 12px;
    padding: 10px 0 12px;
  }

  .home-actions {
    width: 100%;
  }

  .home-actions a {
    width: 100%;
    justify-content: center;
  }

  .home-intro,
  .study-intro.enriched-intro,
  .feature-grid,
  .how-to-list,
  .book-grid,
  .message-choice-grid,
  .response-grid,
  .study-grid,
  .article-grid,
  .article-fact-panel,
  .article-source-card,
  .article-pager {
    grid-template-columns: 1fr;
  }

  .message-subnav,
  .article-jump-nav {
    top: 108px;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .article-page .article-jump-nav {
    top: auto;
    display: flex;
    overflow: visible;
  }

  .article-page .article-jump-nav a {
    flex-basis: 100%;
  }

  .timeline::before,
  .scroll-line {
    left: 34px;
  }

  .phase-header {
    width: auto;
    margin-left: 64px;
    padding-right: 0;
    text-align: left;
  }

  .phase-header > * {
    text-align: left;
  }

  .timeline-item,
  .present-marker {
    display: block;
    margin-bottom: 46px;
    padding-left: 64px;
  }

  .timeline-meta {
    position: static;
    width: auto;
    padding-right: 0;
    margin-bottom: 16px;
    text-align: left;
  }

  .timeline-meta strong {
    font-size: clamp(1.85rem, 8vw, 2.8rem);
  }

  .timeline-node,
  .present-pin {
    left: 34px;
  }

  .timeline-card,
  .present-card {
    width: 100%;
    margin-left: 0;
    padding: 20px;
  }

  .event-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .detail-drawer {
    height: min(82vh, 720px);
    border-left: 0;
    border-top: 4px solid var(--carmine);
    border-radius: 8px 8px 0 0;
  }

  .footer-inner,
  .site-footer nav {
    flex-direction: column;
  }
}

@media (max-width: 780px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    left: 0;
    right: 0;
    width: 100%;
  }

  .page,
  .poster-panel,
  .poster-scroll,
  .study-shell {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .brand-link {
    min-width: 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-title {
    font-size: clamp(1.05rem, 6vw, 1.45rem);
  }

  .brand-subtitle {
    font-size: 0.54rem;
    letter-spacing: 0.18em;
  }

  .site-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px 16px;
    overflow: visible;
    width: 100%;
  }

  .site-nav a {
    justify-content: center;
    min-width: 0;
    text-align: center;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    white-space: normal;
  }

  .message-subnav {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: visible;
    margin-top: 12px;
  }

  .message-subnav a {
    justify-content: center;
    min-width: 0;
    padding: 12px 8px;
    text-align: center;
    white-space: normal;
  }

  .study-hero,
  .study-page .study-hero,
  .message-subnav,
  .message-section,
  .message-heading,
  .verse-entry {
    width: 100%;
    max-width: calc(100vw - 32px);
  }

  .study-hero .subtitle,
  .study-page .study-hero .subtitle {
    max-width: 100%;
  }

  .message-section,
  .verse-entry {
    min-width: 0;
    padding: 18px 16px;
  }

  .message-heading h2,
  .verse-entry h3 {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .message-heading h2 {
    font-size: clamp(1.72rem, 8.4vw, 2.22rem);
    line-height: 1.04;
  }

  .verse-entry h3 {
    font-size: clamp(1.65rem, 9vw, 2.35rem);
    line-height: 1.03;
  }

  .verse-entry p:not(.verse-ref),
  .message-heading p:last-child {
    font-size: 1rem;
    line-height: 1.68;
  }
}
