/* ═══════════════════════════════════════════════════════════
   THE ESCHATOLOGY PROJECT — Design System
   Single source of truth for all styles.
   To change the look of the entire site, edit variables here.
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ── Design Tokens ── */
:root {
  --bg:           #0d1117;
  --surface:      #161b22;
  --card:         #1c2333;
  --card-hover:   #212d42;
  --border:       #2a3548;
  --border-light: #374660;

  --accent:       #00c9a7;
  --accent-glow:  rgba(0, 201, 167, 0.25);
  --accent2:      #00b4d8;
  --accent2-glow: rgba(0, 180, 216, 0.2);
  --gold:         #f0c060;
  --gold-glow:    rgba(240, 192, 96, 0.2);

  --text:         #e8e6f0;
  --text-muted:   #7890a0;
  --text-faint:   #3a4a5a;

  --fulfilled-bg:  rgba(0, 201, 167, 0.12);
  --fulfilled-text: #00c9a7;
  --pending-bg:    rgba(240, 192, 96, 0.15);
  --pending-text:  #f0c060;
  --debated-bg:    rgba(0, 180, 216, 0.12);
  --debated-text:  #00b4d8;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;

  --font-head: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition: 0.2s ease;
  --glow-accent: 0 0 24px var(--accent-glow);
  --glow-gold:   0 0 24px var(--gold-glow);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent2); }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
p  { margin-bottom: 1rem; color: var(--text-muted); font-size: 0.97rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Layout ── */
.wrapper { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.wrapper--narrow { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }

/* ── Navigation ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--card);
}
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-size: 1.4rem;
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0.25rem;
  }
}

/* ── Watch & Witness current-events briefing ── */
.watch-hero { padding: 6rem 0 4rem; position: relative; overflow: hidden; }
.watch-hero::before { content: ''; position: absolute; width: 700px; height: 700px; top: -430px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, var(--accent-glow), transparent 68%); pointer-events: none; }
.watch-hero .wrapper { position: relative; }
.watch-hero-topline { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; margin-bottom: 1.35rem; }
.watch-hero-topline .eyebrow { margin: 0; }
.watch-hero h1 { margin-bottom: 1rem; font-size: clamp(2.6rem, 5.5vw, 4.4rem); letter-spacing: -0.04em; }
.watch-hero h1 span, .watch-method h2 span { color: var(--accent); }
.watch-intro { max-width: 620px; font-size: 1.1rem; }
.watch-status { display: inline-flex; max-width: 52%; padding: .48rem .8rem; border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted); background: var(--surface); font-size: .74rem; text-align: right; }
.watch-notice { border-block: 1px solid var(--border); background: var(--surface); }
.watch-notice-inner { display: grid; grid-template-columns: auto 1fr; gap: .8rem; padding-block: 1rem; }
.watch-notice-inner > span { color: var(--gold); }
.watch-notice p { margin: 0; font-size: .82rem; }.watch-notice strong { color: var(--text); }
.watch-content { padding: 2.5rem 0 5rem; }.watch-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.6rem; }.watch-heading h2 { margin: 0; }
.watch-refresh:disabled { opacity: .65; cursor: wait; }.watch-controls { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.watch-filter { padding: .43rem .78rem; border: 1px solid var(--border); border-radius: 999px; color: var(--text-muted); background: transparent; cursor: pointer; font: 600 .76rem var(--font-body); }.watch-filter:hover, .watch-filter.active { border-color: var(--border-light); color: var(--text); background: var(--card); }.watch-filter.active { box-shadow: inset 0 0 0 1px rgba(0,201,167,.12); }
.watch-scope { max-width: 840px; margin-bottom: 1.4rem; padding: .75rem .95rem; border-left: 2px solid var(--accent2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: rgba(0,180,216,.06); font-size: .78rem; }
.watch-coverage-block { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.watch-coverage-label { margin-bottom: .7rem; color: var(--text-faint); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.watch-coverage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.watch-coverage-item { display: grid; gap: .18rem; padding: .65rem .72rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: rgba(13,17,23,.24); }
.watch-coverage-item > span { color: var(--accent2); font-size: .59rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.watch-coverage-item > strong { color: var(--text-muted); font-size: .69rem; font-weight: 500; line-height: 1.35; }
.watch-coverage-item > small { color: var(--accent); font-size: .6rem; }
.watch-coverage-item.empty { opacity: .68; }
.watch-coverage-item.unavailable { opacity: .62; }.watch-coverage-item.unavailable > small { color: var(--gold); }
.watch-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }.watch-group { display: flex; flex-direction: column; padding: 1.35rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); }.watch-group:hover { border-color: var(--border-light); background: var(--card-hover); }.watch-group-meta { display: flex; justify-content: space-between; gap: .7rem; margin-bottom: .95rem; color: var(--text-faint); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }.watch-group-meta span:first-child { color: var(--accent2); font-weight: 700; }.watch-group h3 { margin-bottom: .65rem; }.watch-group-summary { min-height: 3.3em; font-size: .84rem; }.watch-source-list { display: grid; margin: .3rem 0 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }.watch-source-item { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: .35rem; width: 100%; padding: .66rem .74rem; border: 0; border-bottom: 1px solid var(--border); color: var(--text-muted); background: rgba(13,17,23,.26); cursor: pointer; text-align: left; font: .76rem/1.45 var(--font-body); }.watch-source-item:last-child { border-bottom: 0; }.watch-source-item:hover { color: var(--accent); background: rgba(0,201,167,.06); }.watch-source-item strong { color: inherit; font-weight: 500; }.watch-source-item > span:last-child { color: var(--accent); }.watch-reflection { margin-top: auto; padding: .9rem .95rem .8rem; border-left: 2px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: rgba(13,17,23,.25); }.watch-reflection > span { display: block; margin-bottom: .32rem; color: var(--gold); font-size: .59rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }.watch-reflection p { margin: 0; font-size: .79rem; }.watch-empty { padding: 1.4rem; border: 1px dashed var(--border); border-radius: var(--radius); text-align: center; }.watch-method { padding: 5rem 0; border-top: 1px solid var(--border); background: var(--surface); }.watch-method-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; }.watch-method h2 { margin: 0; }.watch-method-list { border-top: 1px solid var(--border); }.watch-method-list article { display: grid; grid-template-columns: 34px 1fr; gap: .7rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }.watch-method-list article > span { color: var(--gold); font: 700 .78rem var(--font-head); }.watch-method-list p { margin: 0; font-size: .83rem; }.watch-method-list strong { color: var(--text); }.watch-modal { width: min(500px, calc(100% - 2rem)); padding: 1.45rem; border: 1px solid var(--border-light); border-radius: var(--radius-lg); color: var(--text); background: var(--card); box-shadow: 0 24px 80px rgba(0,0,0,.65); }.watch-modal::backdrop { background: rgba(0,0,0,.68); backdrop-filter: blur(3px); }.watch-modal-top { display: flex; justify-content: space-between; align-items: center; }.watch-modal-top .eyebrow { margin: 0; }.watch-modal-close { width: 30px; height: 30px; border: 1px solid var(--border); border-radius: 50%; color: var(--text-muted); background: transparent; cursor: pointer; font-size: 1.3rem; line-height: 1; }.watch-modal-date { margin: 1.4rem 0 .25rem; color: var(--gold); font-size: .76rem; }.watch-modal h2 { margin-bottom: .65rem; font-size: 1.4rem; }.watch-modal > p { font-size: .86rem; }.watch-modal .btn { margin-top: .45rem; }
.watch-footer .footer-inner { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; text-align: left; }
.watch-footer-notice { max-width: 850px; }
.watch-footer-notice > span { color: var(--gold); }
.watch-footer-notice strong { color: var(--text-muted); }
@media (max-width: 768px) { .watch-hero { padding: 4.5rem 0 3.25rem; }.watch-hero-topline { display: grid; align-items: start; }.watch-heading { display: grid; align-items: start; }.watch-coverage { grid-template-columns: 1fr; }.watch-groups, .watch-method-layout { grid-template-columns: 1fr; gap: 2rem; }.watch-group-summary { min-height: auto; }.watch-source-item { grid-template-columns: 1fr auto; }.watch-status { max-width: 100%; border-radius: var(--radius-sm); text-align: left; }.watch-notice-inner { grid-template-columns: auto 1fr; } }

/* ── Hero ── */
.hero {
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow { margin-bottom: 1rem; }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 span { color: var(--accent); }
.hero-sub {
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: var(--glow-accent);
}
.btn-primary:hover {
  background: #8f70ff;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 0 32px var(--accent-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-light);
  background: var(--card);
}

/* ── Cards ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition);
}
.card:hover {
  background: var(--card-hover);
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

/* ── Tags & Badges ── */
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(124, 92, 252, 0.15);
  color: var(--accent);
  border: 1px solid rgba(124, 92, 252, 0.25);
}
.status-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.status-badge.fulfilled { background: var(--fulfilled-bg); color: var(--fulfilled-text); }
.status-badge.pending   { background: var(--pending-bg);   color: var(--pending-text); }
.status-badge.debated   { background: var(--debated-bg);   color: var(--debated-text); }

/* ── Dividers ── */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.section-label span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

/* ── Scripture Entry Page ── */
.scripture-page-header {
  padding: 5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.scripture-page-header::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 65%);
  pointer-events: none;
}
.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 0.4rem; }

.scripture-title { margin-bottom: 0.5rem; }
.scripture-subtitle {
  font-size: 1.1rem;
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

/* ── Verse Block ── */
.verse-block {
  background: var(--surface);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
  position: relative;
}
.verse-block::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem; left: 1rem;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}
.verse {
  margin-bottom: 0.85rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.8;
}
.verse:last-of-type { margin-bottom: 0.5rem; }
.verse-num {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.75rem;
  margin-right: 0.4rem;
  font-family: var(--font-head);
}
.translation-tag {
  display: block;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-faint);
  font-style: italic;
}

/* ── Content Blocks ── */
.content-block { margin-bottom: 3rem; }
.content-block h3 {
  margin-bottom: 0.75rem;
  color: var(--text);
}
.content-block p { color: var(--text-muted); }

/* ── Key Terms Table ── */
.term-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1rem 0;
}
.term-table th {
  background: var(--surface);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.6rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.term-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.term-table tr:last-child td { border-bottom: none; }
.term-table td:first-child {
  color: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
}
.term-table td:nth-child(2) {
  color: var(--gold);
  font-size: 0.82rem;
  font-style: italic;
}
.term-table tr { transition: background var(--transition); }
.term-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ── Interpretive Grid ── */
.interp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.85rem;
  margin: 1rem 0;
}
.interp-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  transition: all var(--transition);
}
.interp-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}
.interp-school {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.interp-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ── Cross References ── */
.cross-ref-list { list-style: none; margin: 1rem 0; }
.cross-ref-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}
.cross-ref-item:last-child { border-bottom: none; }
.cross-ref-ref {
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--accent2);
  white-space: nowrap;
  min-width: 140px;
  font-size: 0.9rem;
  padding-top: 0.1rem;
}
.cross-ref-body { flex: 1; }
.cross-ref-body p { font-size: 0.88rem; margin-top: 0.35rem; }

/* ── Historical Context ── */
.hist-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.85rem;
  transition: border-color var(--transition);
}
.hist-block:hover { border-color: var(--accent2); }
.hist-era {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 0.3rem;
}
.hist-block h3 { font-size: 0.95rem; margin-bottom: 0.6rem; }
.hist-block p  { font-size: 0.88rem; }

/* ── Prophecy Timeline ── */
.timeline-page-header {
  padding-bottom: 3rem;
}
.timeline-page-header .eyebrow {
  margin-bottom: 0.75rem;
}
.timeline-page-header p {
  max-width: 650px;
  margin-top: 0.85rem;
  font-size: 1rem;
}
.timeline-intro {
  padding: 1rem 0 4rem;
}
.timeline-intro .content-block {
  margin-bottom: 0;
}
.timeline-visual {
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(circle at 15% 45%, var(--accent-glow), transparent 28rem),
    radial-gradient(circle at 85% 55%, var(--gold-glow), transparent 28rem),
    var(--surface);
}
.timeline-visual-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 0.75rem;
}
.timeline-visual-heading .eyebrow {
  margin-bottom: 0.7rem;
}
.timeline-visual-heading p {
  max-width: 430px;
  margin: 0;
  font-size: 0.84rem;
}
.timeline-scroll-cue {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.timeline-scroll-arrow {
  font-size: 0.9rem;
  line-height: 1;
}
.timeline-scroller {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--border-light) transparent;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.timeline-scroller:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: -1px;
}
.timeline-scroller::-webkit-scrollbar {
  height: 8px;
}
.timeline-scroller::-webkit-scrollbar-track {
  background: transparent;
}
.timeline-scroller::-webkit-scrollbar-thumb {
  border: 2px solid var(--surface);
  border-radius: 10px;
  background: var(--border-light);
}
.timeline-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 330px;
  grid-template-rows: minmax(0, 1fr);
  min-width: max-content;
  height: 840px;
  margin: 0;
  padding: 0 max(2.5rem, calc((100vw - 1100px) / 2 + 1.5rem));
  list-style: none;
}
.timeline-track::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 5%, var(--accent2) 48%, var(--accent) 95%, transparent);
  box-shadow: 0 0 18px var(--accent-glow);
}
.timeline-event {
  position: relative;
  display: grid;
  grid-template-rows: 1fr 96px 1fr;
  height: 100%;
  padding: 0 0.75rem;
  scroll-snap-align: center;
}
.timeline-event::before {
  content: '';
  position: absolute;
  z-index: 1;
  left: 50%;
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--border-light), var(--accent2));
}
.timeline-event--top::before {
  top: calc(50% - 48px);
}
.timeline-event--bottom::before {
  top: 50%;
  background: linear-gradient(var(--accent2), var(--border-light));
}
.timeline-card {
  position: relative;
  z-index: 2;
  padding: 1.25rem 1.3rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(28, 35, 51, 0.94);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.timeline-event--top .timeline-card {
  grid-row: 1;
  align-self: end;
}
.timeline-event--bottom .timeline-card {
  grid-row: 3;
  align-self: start;
}
.timeline-card::after {
  content: '';
  position: absolute;
  left: calc(50% - 5px);
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--card);
}
.timeline-event--top .timeline-card::after {
  bottom: -5px;
  transform: rotate(45deg);
}
.timeline-event--bottom .timeline-card::after {
  top: -5px;
  transform: rotate(225deg);
}
.timeline-card:hover {
  border-color: var(--accent2);
  box-shadow: 0 18px 50px rgba(0, 180, 216, 0.12);
  transform: translateY(-2px);
}
.timeline-event--bottom .timeline-card:hover {
  transform: translateY(2px);
}
.timeline-card-meta {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
  color: var(--accent2);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
}
.timeline-card-meta span:first-child {
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 0.72rem;
}
.timeline-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1rem;
  line-height: 1.3;
}
.timeline-card p {
  margin: 0;
  font-size: 0.79rem;
  line-height: 1.62;
}
.timeline-marker {
  position: relative;
  z-index: 3;
  grid-row: 2;
  display: grid;
  place-items: center;
}
.timeline-date {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.72rem;
  border: 1px solid var(--accent2);
  border-radius: 999px;
  color: var(--text);
  background: var(--bg);
  box-shadow: 0 0 0 6px var(--surface), 0 0 22px var(--accent2-glow);
  font: 700 0.68rem var(--font-head);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .timeline-page-header {
    padding-bottom: 2rem;
  }
  .timeline-intro {
    padding: 0.5rem 0 3rem;
  }
  .timeline-visual {
    padding: 3.5rem 0 4rem;
  }
  .timeline-visual-heading {
    display: block;
  }
  .timeline-visual-heading p {
    margin-top: 0.9rem;
  }
  .timeline-scroll-cue {
    margin-top: 1.25rem;
  }
  .timeline-track {
    grid-auto-columns: min(82vw, 310px);
    height: 900px;
    padding-inline: 1.5rem;
  }
  .timeline-event {
    padding-inline: 0.55rem;
  }
  .timeline-card {
    padding: 1.1rem 1.1rem 1.2rem;
  }
  .timeline-card p {
    font-size: 0.76rem;
  }
}

/* ── Related Entries ── */
.related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.related-chip {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
}
.related-chip:hover {
  background: var(--card-hover);
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Scripture Index ── */
.scripture-index-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  transition: all var(--transition);
  text-decoration: none;
}
.scripture-index-card:hover {
  background: var(--card-hover);
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-2px);
}
.scripture-index-card .card-book {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.scripture-index-card h3 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.scripture-index-card .card-ref {
  font-size: 0.82rem;
  color: var(--gold);
  margin-bottom: 0.65rem;
}
.scripture-index-card .card-summary {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ── Homepage Feature Sections ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}
.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.feature-card h3 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.feature-card p  { font-size: 0.85rem; margin: 0; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 4rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}
.footer-inner p {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin: 0;
}
.footer-inner a { color: var(--text-muted); }
.footer-inner a:hover { color: var(--accent); }

/* ── Blog ── */
.blog-list { display: flex; flex-direction: column; gap: 1.5rem; padding-bottom: 4rem; }

.blog-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 201, 167, 0.1);
}
.blog-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.75rem; font-family: var(--font-body); }
.blog-sep  { opacity: 0.5; }
.blog-date { color: var(--accent); font-weight: 500; }
.blog-read-time { color: var(--text-muted); }
.blog-title { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; line-height: 1.25; margin-bottom: 0.6rem; color: var(--text); }
.blog-card:hover .blog-title { color: var(--accent); transition: color var(--transition); }
.blog-summary { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; }

/* Blog entry body */
.blog-body { padding-top: 2rem; }
.blog-body p { font-size: 1rem; line-height: 1.8; color: var(--text); margin-bottom: 1.4rem; }
.blog-body h2 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--accent); margin: 2.5rem 0 0.75rem; }
.blog-body h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; color: var(--gold); margin: 1.75rem 0 0.5rem; }

.blog-quote {
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}
.blog-quote p { font-style: italic; font-size: 0.97rem; color: var(--text); margin-bottom: 0.5rem; }
.blog-quote cite { font-size: 0.78rem; color: var(--accent); font-style: normal; font-family: var(--font-body); }

.blog-note {
  background: rgba(240, 192, 96, 0.07);
  border: 1px solid rgba(240, 192, 96, 0.25);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 1.75rem 0;
}

/* ── Newsletter ── */
.newsletter-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  overflow: hidden;
  text-align: center;
  margin: 2rem 0 3rem;
}
.newsletter-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.newsletter-heading {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.newsletter-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

/* Kit form overrides — dark mode + contain within newsletter-block */
.formkit-form {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

/* Kit sets a fixed pixel width on inner wrappers — nuke it */
.formkit-form > div,
.formkit-form [data-uid] > div {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

/* The two-column wrapper — make it a single column */
.formkit-form [data-style="full"] {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

/* Hide the background image panel only */
.formkit-form .formkit-background {
  display: none !important;
}

/* Form column — full width, no background */
.formkit-form .formkit-column {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  background: transparent !important;
  flex: 1 !important;
}

/* Hide Kit's own heading/sub — we have ours above */
.formkit-form .formkit-header,
.formkit-form .formkit-subheader {
  display: none !important;
}

/* Email input */
.formkit-form .formkit-field input,
.formkit-form input[type="email"] {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-body) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.formkit-form input[type="email"]::placeholder { color: var(--text-muted) !important; }

/* Submit button */
.formkit-form .formkit-submit,
.formkit-form button[type="submit"] {
  background: var(--accent) !important;
  color: #0d1117 !important;
  border: none !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.formkit-form .formkit-submit:hover { opacity: 0.9 !important; }

/* Success / confirmation box — stay inside container */
.formkit-form .formkit-alert,
.formkit-form .formkit-alert-success,
.formkit-form [data-element="errors"],
.formkit-form .formkit-errors {
  background: rgba(0, 201, 167, 0.12) !important;
  border: 1px solid var(--accent) !important;
  color: var(--text) !important;
  border-radius: var(--radius) !important;
  padding: 0.75rem 1rem !important;
  margin: 0.75rem 0 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  text-align: center !important;
  font-size: 0.9rem !important;
}

.formkit-powered-by-convertkit { display: none !important; }

/* ── Utilities ── */
.text-accent  { color: var(--accent); }
.text-gold    { color: var(--gold); }
.text-muted   { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
