/* ── Jung & Christian Alchemy — deep slate / psychological palette ── */
:root {
  --jung-bg:      #090a10;
  --jung-surface: #0e1018;
  --jung-card:    #141620;
  --jung-blue:    #4a6880;
  --jung-blue-lt: #6888a0;
  --jung-gold:    #c9a227;
  --jung-gold-lt: #dbb84a;
  --jung-text:    #b8c0cc;
  --jung-white:   #dce4f0;
  --jung-red:     #7a2020;
}

body { background-color: var(--jung-bg); }

/* ── Hero ── */
.jung-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + var(--space-8)) var(--space-4) var(--space-8);
  overflow: hidden;
}
.jung-hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 50% 45%, rgba(74,104,128,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 30% 30% at 50% 42%, rgba(201,162,39,0.05) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 50% 90%, rgba(9,10,16,0) 0%, var(--jung-bg) 80%),
    var(--jung-bg);
  z-index: 0;
}
.jung-hero__content { position: relative; z-index: 1; max-width: 760px; }

/* ── Mandala emblem SVG ── */
.mandala-emblem {
  width: 160px; height: 160px;
  margin: 0 auto var(--space-6);
  display: block;
}

/* ── Section surface ── */
.section--jung {
  background: var(--jung-surface);
  border-top: 1px solid rgba(74,104,128,0.22);
  border-bottom: 1px solid rgba(74,104,128,0.22);
}

/* ── Prose ── */
.jung-prose {
  max-width: 740px;
  margin: 0 auto;
  font-size: var(--text-sm);
  color: var(--jung-text);
  line-height: 1.85;
}
.jung-prose p { margin-bottom: var(--space-4); }
.jung-prose p:last-child { margin-bottom: 0; }

/* ── Timeline of alchemical writings ── */
.writings-timeline {
  position: relative;
  margin: var(--space-6) 0;
  padding-left: var(--space-8);
}
.writings-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom,
    rgba(74,104,128,0.15) 0%,
    rgba(74,104,128,0.55) 20%,
    rgba(201,162,39,0.60) 50%,
    rgba(74,104,128,0.55) 80%,
    rgba(74,104,128,0.15) 100%);
}

.writing-entry {
  position: relative;
  margin-bottom: var(--space-6);
}
.writing-entry:last-child { margin-bottom: 0; }

.writing-entry::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-8) + 14px);
  top: 8px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--jung-blue);
  border: 2px solid var(--jung-bg);
  box-shadow: 0 0 0 2px var(--jung-blue-lt);
}

.writing-entry__year {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jung-gold);
  margin-bottom: var(--space-1);
}
.writing-entry__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--jung-white);
  margin-bottom: var(--space-2);
}
.writing-entry__vol {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jung-blue-lt);
  margin-bottom: var(--space-2);
}
.writing-entry__body {
  font-size: var(--text-sm);
  color: var(--jung-text);
  line-height: 1.78;
}

/* ── Convergence / Divergence panel ── */
.conv-div-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin: var(--space-6) 0;
}
@media (max-width: 680px) { .conv-div-grid { grid-template-columns: 1fr; } }

.conv-col, .div-col {
  background: var(--jung-card);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  border: 1px solid rgba(255,255,255,0.06);
}
.conv-col { border-top: 4px solid rgba(74,104,128,0.70); }
.div-col  { border-top: 4px solid rgba(122,32,32,0.70); }

.conv-div-col__heading {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.conv-col .conv-div-col__heading { color: var(--jung-blue-lt); }
.div-col  .conv-div-col__heading { color: rgba(180,80,80,0.90); }

.conv-div-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.conv-div-list li {
  font-size: var(--text-sm);
  color: var(--jung-text);
  line-height: 1.72;
  padding-left: var(--space-4);
  position: relative;
}
.conv-col .conv-div-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--jung-blue-lt);
  font-size: 9px;
  top: 4px;
}
.div-col .conv-div-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: rgba(180,80,80,0.80);
  font-size: 9px;
  top: 4px;
}
.conv-div-list li strong {
  display: block;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--text-base);
  color: var(--jung-white);
  margin-bottom: 4px;
}

/* ── Victor White feature panel ── */
.white-panel {
  background: var(--jung-card);
  border: 1px solid rgba(201,162,39,0.20);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--space-8) 0;
}
.white-panel__header {
  background: rgba(20,22,32,0.80);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.white-panel__emblem {
  width: 52px; height: 52px;
  color: var(--jung-gold);
  flex-shrink: 0;
}
.white-panel__header-text { flex: 1; }
.white-panel__kicker {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jung-gold);
  margin-bottom: 4px;
}
.white-panel__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--jung-white);
}
.white-panel__body {
  padding: var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
@media (max-width: 640px) { .white-panel__body { grid-template-columns: 1fr; } }

.white-panel__col p {
  font-size: var(--text-sm);
  color: var(--jung-text);
  line-height: 1.80;
  margin-bottom: var(--space-3);
}
.white-panel__col p:last-child { margin-bottom: 0; }
.white-panel__col-title {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jung-blue-lt);
  margin-bottom: var(--space-3);
}

/* Correspondence timeline (small) */
.corr-timeline {
  margin-top: var(--space-4);
  border-left: 2px solid rgba(201,162,39,0.25);
  padding-left: var(--space-4);
}
.corr-entry {
  margin-bottom: var(--space-3);
  font-size: var(--text-xs);
  color: var(--jung-text);
  line-height: 1.65;
}
.corr-entry:last-child { margin-bottom: 0; }
.corr-entry__year {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--jung-gold);
  display: block;
  margin-bottom: 2px;
}

/* ── Pull quote ── */
.jung-pull-quote {
  background: var(--jung-card);
  border: 1px solid rgba(74,104,128,0.25);
  border-left: 4px solid var(--jung-blue);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-7);
  text-align: center;
  max-width: 700px;
  margin: var(--space-8) auto;
}
.jung-pull-quote__marks {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 0.6;
  color: var(--jung-blue);
  opacity: 0.40;
  display: block;
  margin-bottom: var(--space-3);
}
.jung-pull-quote__text {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.50rem);
  font-style: italic;
  color: var(--jung-white);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}
.jung-pull-quote__source {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jung-blue-lt);
}

/* ── Closing synthesis ── */
.synthesis-panel {
  background: var(--jung-card);
  border: 1px solid rgba(201,162,39,0.18);
  border-top: 3px solid rgba(201,162,39,0.50);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin: var(--space-8) 0;
}
.synthesis-panel__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-style: italic;
  color: var(--jung-white);
  margin-bottom: var(--space-4);
}
.synthesis-panel p {
  font-size: var(--text-sm);
  color: var(--jung-text);
  line-height: 1.82;
  margin-bottom: var(--space-4);
}
.synthesis-panel p:last-child { margin-bottom: 0; }

/* ── Overrides ── */
.content-prose { color: var(--jung-text); }
.content-prose strong { color: var(--jung-white); }
.scripture { background: rgba(74,104,128,0.07); }
.epigraph__text { color: var(--jung-text); }

.transition-panel {
  border-left-color: var(--jung-gold);
  background: var(--jung-card);
}

/* ── Page header eyebrow colour ── */
.page-header__eyebrow { color: var(--jung-gold); }

/* ── Stage indicator layout ── */
.stage-indicator {
  max-width: 500px;
  margin: var(--space-4) auto 0;
}

/* ── Footer theming ── */
.site-footer {
  background: var(--jung-surface);
  border-top-color: rgba(74,104,128,0.22);
}
