/* ============================================
   LEVITICUS THEOLOGY - COMPLETE CSS
   All components from the HTML included
   Template: v5.8.1 Thematic Study
   ============================================ */

/* ============================================
   COSMIC HERO (Deep space + halo ring)
   ============================================ */
    
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 5.5rem 1.75rem 4.25rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.92);
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(87,169,255,0.28), transparent 55%),
    radial-gradient(900px 600px at 25% 15%, rgba(233,75,255,0.18), transparent 55%),
    radial-gradient(900px 650px at 75% 20%, rgba(255,155,74,0.12), transparent 60%),
    radial-gradient(900px 800px at 50% 70%, rgba(62,228,255,0.10), transparent 60%),
    linear-gradient(180deg, #070b14 0%, #050711 40%, #04040c 100%);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(380px 300px at 50% 28%,
      rgba(255,255,255,0.22),
      rgba(210,245,255,0.14) 30%,
      rgba(87,169,255,0.10) 55%,
      transparent 72%),
    radial-gradient(540px 420px at 50% 32%,
      rgba(255,255,255,0.10),
      rgba(233,75,255,0.06) 55%,
      transparent 75%);
  filter: blur(10px);
  opacity: 0.95;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%,
      transparent 0 190px,
      rgba(212,175,55,0.22) 196px,
      rgba(212,175,55,0.05) 215px,
      transparent 235px),
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,0.35) 0 1px, transparent 2px),
    radial-gradient(1px 1px at 38% 18%, rgba(255,255,255,0.28) 0 1px, transparent 2px),
    radial-gradient(1px 1px at 68% 16%, rgba(255,255,255,0.30) 0 1px, transparent 2px),
    radial-gradient(1px 1px at 84% 26%, rgba(255,255,255,0.26) 0 1px, transparent 2px),
    radial-gradient(1px 1px at 22% 46%, rgba(255,255,255,0.20) 0 1px, transparent 2px),
    radial-gradient(1px 1px at 74% 54%, rgba(255,255,255,0.18) 0 1px, transparent 2px),
    repeating-linear-gradient(0deg,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 1px,
      rgba(0,0,0,0.015) 2px,
      rgba(0,0,0,0.015) 3px);
  opacity: 0.85;
  pointer-events: none;
  mix-blend-mode: overlay;
}

@media (prefers-reduced-motion: no-preference) {
  .hero::before {
    animation: heroBloom 10s ease-in-out infinite;
  }
  .hero::after {
    animation: heroDrift 18s ease-in-out infinite;
  }
}

@keyframes heroBloom {
  0%, 100% { transform: translate3d(0,0,0) scale(1); opacity: 0.95; }
  50% { transform: translate3d(0,-8px,0) scale(1.02); opacity: 0.88; }
}

@keyframes heroDrift {
  0%, 100% { transform: translate3d(0,0,0); opacity: 0.85; }
  50% { transform: translate3d(6px,-4px,0); opacity: 0.78; }
}

.hero h1, .hero .hero-title {
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(62,228,255,0.92), rgba(233,75,255,0.85));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

.hero .hero-subtitle {
  color: rgba(255,255,255,0.78);
  max-width: 900px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hero-greek {
  font-size: 1.2rem;
  color: rgba(212,175,55,0.85);
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 12px rgba(212,175,55,0.3);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin: 0.5rem 0;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  max-width: 980px;
  margin: 1.5rem auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(212,175,55,0.95);
  line-height: 1;
  text-shadow: 0 4px 16px rgba(212,175,55,0.4);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   QUICK NAV PILLS — Section Jump Links
   ============================================ */

.quick-nav-pills {
  margin: 1.5rem 0 2.5rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(42,161,152,0.06), rgba(212,175,55,0.04));
  border: 1.5px solid rgba(42,161,152,0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

/* Subtle top-edge accent line */
.quick-nav-pills::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2aa198, #d4af37, #2aa198);
  border-radius: 16px 16px 0 0;
  opacity: 0.5;
}

.quick-nav-label {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f766e;
  opacity: 0.7;
  padding-right: 0.5rem;
  border-right: 2px solid rgba(42,161,152,0.2);
}

.quick-nav-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  color: #1e293b;
  background: white;
  border: 1.5px solid rgba(42,161,152,0.25);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: all 0.25s ease;
  cursor: pointer;
}

.nav-pill:hover {
  color: #0f766e;
  background: linear-gradient(135deg, rgba(42,161,152,0.12), rgba(212,175,55,0.08));
  border-color: #2aa198;
  box-shadow: 0 3px 10px rgba(42,161,152,0.2);
  transform: translateY(-2px);
}

.nav-pill:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(42,161,152,0.15);
}

/* ---- Mobile: horizontal scroll ---- */
@media (max-width: 768px) {
  .quick-nav-pills {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 0.75rem;
  }

  .quick-nav-label {
    border-right: none;
    padding-right: 0;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid rgba(42,161,152,0.2);
    width: 100%;
  }

  .quick-nav-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* IE/Edge */
    padding-bottom: 0.25rem;
    width: 100%;
  }

  .quick-nav-scroll::-webkit-scrollbar {
    display: none;                  /* Chrome/Safari */
  }

  .nav-pill {
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
  }
}

/* ============================================
   THEOLOGY CARD - Main content sections
   ============================================ */

.theology-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.theology-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.theology-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #1a202c;
  font-weight: 800;
}

.theology-card h4 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #0f766e;
  font-weight: 800;
}

.theology-card p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 1rem;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animation delays for staggered effects */
.animation-delay-100 {
  transition-delay: 0.1s;
}

.animation-delay-200 {
  transition-delay: 0.2s;
}

.animation-delay-300 {
  transition-delay: 0.3s;
}

.animation-delay-400 {
  transition-delay: 0.4s;
}

.animation-delay-500 {
  transition-delay: 0.5s;
}

.animation-delay-600 {
  transition-delay: 0.6s;
}

/* ============================================
   THESIS CARD - Enhanced scroll animations
   ============================================ */

.thesis-card {
  background: linear-gradient(135deg, #fef3f2 0%, #f0f9f8 100%);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
  border-left: 5px solid var(--page-accent);
  /* REMOVED: opacity: 0 and transform - starts visible now */
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, border-left-width 0.3s ease;
}

/* REMOVED .thesis-card.visible class - not needed */

.thesis-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 32px rgba(42,161,152,0.25);
  border-left-width: 8px;
}

.thesis-card h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #1a202c;
  /* REMOVED: scroll animation - always visible */
}

.thesis-card:hover h2 {
  transform: translateX(5px);
  transition: transform 0.3s ease;
}

.thesis-card .lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #334155;
  /* REMOVED: scroll animation - always visible */
}

/* ============================================
   DIAGRAM CONTAINERS - Warm dark charcoal
   ============================================ */

.diagram-wrap {
  margin: 1.75rem 0 0;
  background: #1a1518;
  border: 1px solid rgba(160, 130, 110, 0.18);
  border-radius: 18px;
  padding: 1.25rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.diagram-wrap:hover {
  border-color: rgba(160, 130, 110, 0.32);
  box-shadow: 0 8px 24px rgba(80, 60, 40, 0.15);
}

.diagram-wrap svg,
.diagram-wrap img,
.diagram-wrap object {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.diagram-caption {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Diagram captions - LIGHT text on DARK diagram backgrounds */
.diagram-wrap .diagram-caption {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 500 !important;
}

.diagram-wrap .diagram-caption strong {
  color: rgba(255, 255, 255, 1) !important;
  font-weight: 700 !important;
}

/* ============================================
   TORAH SYMMETRY DIAGRAM
   ============================================ */

.torah-symmetry-wrap {
  margin: 2rem auto 2.25rem;
  padding: 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(42,161,152,0.05), rgba(0,0,0,0));
  border: 2px solid rgba(42,161,152,0.18);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  max-width: 1100px;
}

.torah-symmetry-svg {
  width: 100%;
  height: auto;
  display: block;
}

.ts-frame {
  fill: white;
  stroke: rgba(42,161,152,0.25);
  stroke-width: 3;
}

.ts-box {
  fill: rgba(42,161,152,0.06);
  stroke: rgba(42,161,152,0.30);
  stroke-width: 2;
}

.ts-node-book .ts-box {
  fill: rgba(0,0,0,0.02);
}

.ts-title {
  font-weight: 900;
  font-size: 18px;
  fill: #1a202c;
}

.ts-sub {
  font-weight: 700;
  font-size: 13px;
  fill: #475569;
}

.ts-mirror {
  stroke: rgba(42,161,152,0.55);
  stroke-width: 3;
  stroke-dasharray: 8 8;
}

.ts-mirror-label {
  font-weight: 900;
  font-size: 12px;
  fill: rgba(15,118,110,0.95);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.ts-hinge {
  font-weight: 900;
  font-size: 14px;
  fill: rgba(15,118,110,0.95);
}

.ts-center {
  fill: rgba(42,161,152,0.14);
  stroke: #0f766e;
  stroke-width: 4;
}

.ts-center-title {
  font-weight: 900;
  font-size: 16px;
  fill: #0f766e;
}

.ts-center-sub {
  font-weight: 900;
  font-size: 12px;
  fill: #475569;
  letter-spacing: 0.04em;
}

.ts-arrow {
  fill: none;
  stroke: rgba(42,161,152,0.75);
  stroke-width: 4;
  stroke-linecap: round;
}

.ts-arrowhead {
  fill: rgba(42,161,152,0.85);
}

.ts-caption {
  font-weight: 800;
  font-size: 12px;
  fill: #475569;
  opacity: 0.95;
}

.ts-lev15 {
  fill: rgba(156,39,176,0.05);
  stroke: rgba(156,39,176,0.25);
}

.ts-lev17 {
  fill: rgba(212,175,55,0.08);
  stroke: rgba(212,175,55,0.30);
}

/* ============================================
   CALLOUT ROWS & MINI CARDS - ENHANCED
   ============================================ */

.callout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

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

.mini-card {
  background: linear-gradient(135deg, rgba(42,161,152,0.05), rgba(156,39,176,0.03));
  border: 2px solid rgba(42,161,152,0.2);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Animated top border bar */
.mini-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2aa198, #9c27b0, #2aa198);
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.mini-card:hover::before {
  transform: scaleX(1);
  animation: gradientFlow 3s ease-in-out infinite;
}

@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Subtle glow effect */
.mini-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, 
    rgba(42,161,152,0.15), 
    rgba(156,39,176,0.15)
  );
  border-radius: 16px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mini-card:hover::after {
  opacity: 0.3;
  animation: gentlePulse 2s ease-in-out infinite;
}

@keyframes gentlePulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.4; }
}

.mini-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 32px rgba(42,161,152,0.2);
  border-color: #2aa198;
  background: linear-gradient(135deg, rgba(42,161,152,0.08), rgba(156,39,176,0.05));
}

.mini-card h4 {
  color: #1a202c !important;
  font-weight: 700 !important;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
  position: relative;
}

.mini-card:hover h4 {
  transform: translateX(5px);
  color: #0f766e !important;
}

.mini-card ul {
  margin: 0.5rem 0 0 1.2rem;
  padding: 0;
}

.mini-card p {
  color: #4a5568 !important;
  line-height: 1.7 !important;
  margin: 0.75rem 0;
}

.mini-card li {
  color: #4a5568 !important;
  line-height: 1.6 !important;
  margin: 0.5rem 0;
  position: relative;
  padding-left: 0.5rem;
}

.mini-card li::marker {
  color: #2aa198;
  font-weight: 700;
}

.mini-card li strong,
.mini-card p strong {
  color: #1a202c !important;
  font-weight: 700 !important;
}

/* ============================================
   PILL NOTES
   ============================================ */

.pill-note {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #9c27b0, #7b1fa2);
  border: 1px solid rgba(156, 39, 176, 0.5);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 1rem;
  box-shadow: 0 2px 8px rgba(156, 39, 176, 0.2);
  transition: all 0.3s ease;
}

.pill-note:hover {
  background: linear-gradient(135deg, #7b1fa2, #6a1b9a);
  border-color: rgba(156, 39, 176, 0.8);
  box-shadow: 0 4px 12px rgba(156, 39, 176, 0.3);
  transform: translateY(-2px);
}


Copy

/* ============================================
   SCRIPTURE QUOTES - Deep teal wash
   ============================================ */

.scripture-quote {
  background: rgba(15,118,110,0.12);
  border-left: 4px solid #0f766e;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 8px;
  font-family: 'Georgia', serif;
  line-height: 1.8;
  opacity: 1 !important;
  transform: none !important;
  transition: all 0.3s ease;
}

.scripture-quote:hover {
  border-left-color: #0d9488;
  background: rgba(15,118,110,0.18);
}

.scripture-quote,
.scripture-quote .scroll-text,
.scripture-quote .block {
  color: #1e293b !important;
}

.scripture-ref {
  display: block;
  margin-top: 1rem;
  color: #0f766e !important;
  font-weight: 700 !important;
  font-style: normal;
  font-size: 0.95rem;
}

.scroll-text {
  font-family: 'Georgia', serif;
  line-height: 1.9;
}

.scroll-text .block {
  margin: 1rem 0;
}

/* ============================================
   CONVICTIONS LIST
   ============================================ */

.convictions-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.convictions-list li {
  position: relative;
  padding-left: 2rem;
  margin: 1rem 0;
  line-height: 1.7;
  color: #334155 !important;
}

.convictions-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: rgba(120, 160, 255, 0.8);
  font-weight: bold;
  font-size: 1.2rem;
}

.convictions-list li strong {
  color: #1e293b !important;
  font-weight: 700 !important;
}

/* ============================================
   CORE LOGIC QUOTE - The main thesis!
   ============================================ */

.core-logic-quote {
  background: linear-gradient(135deg, rgba(42,161,152,0.1), rgba(212,175,55,0.1));
  border-left: 4px solid #2aa198;
  border-radius: 16px;
  padding: 2rem;
  margin-top: 1.5rem;
  box-shadow: 0 4px 12px rgba(42,161,152,0.1);
  position: relative;
  transition: all 0.4s ease;
}

.core-logic-quote::before {
  content: '💭';
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  opacity: 0.2;
  animation: thoughtFloat 6s ease-in-out infinite;
}

.core-logic-quote.animate-on-scroll {
  animation: gentleFadeIn 0.8s ease-out;
}

.core-logic-quote:hover {
  box-shadow: 0 8px 24px rgba(42,161,152,0.2);
  transform: translateY(-2px);
  border-left-width: 6px;
}

/* Subtle breathing glow effect */
.core-logic-quote::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, 
    rgba(42,161,152,0.15), 
    rgba(212,175,55,0.15)
  );
  border-radius: 16px;
  z-index: -1;
  opacity: 0;
  animation: gentleBreathe 4s ease-in-out infinite;
}

.core-logic-quote strong:first-child {
  display: block;
  font-size: 1.2rem;
  color: #0f766e;
  margin-bottom: 0.75rem;
}

.core-logic-quote p:first-of-type {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #1e293b;
  font-style: italic;
}

/* Highlight key phrase on scroll */
.core-logic-quote.animate-on-scroll strong {
  background: linear-gradient(120deg, 
    transparent 0%, 
    rgba(42,161,152,0.2) 50%, 
    transparent 100%
  );
  background-size: 200% 100%;
  animation: highlightSweep 2s ease-out;
  animation-delay: 0.5s;
  padding: 0 0.25rem;
}

@keyframes gentleFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gentleBreathe {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 0.3;
  }
}

@keyframes thoughtFloat {
  0%, 100% {
    transform: translateY(0px) rotate(-5deg);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-6px) rotate(5deg);
    opacity: 0.3;
  }
}

@keyframes highlightSweep {
  0% { background-position: -100% 0; }
  50% { background-position: 0 0; }
  100% { background-position: 100% 0; }
}

/* ============================================
   KEY INSIGHTS - ENHANCED (Supporting points)
   ============================================ */

.key-insight {
  background: linear-gradient(135deg, 
    rgba(212,175,55,0.1), 
    rgba(42,161,152,0.1)
  );
  border-left: 4px solid #d4af37;
  border-radius: 16px;
  padding: 1.75rem;
  margin: 2rem 0;
  box-shadow: 0 4px 12px rgba(212,175,55,0.15);
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}

/* Glowing border effect */
.key-insight::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, 
    rgba(212,175,55,0.3), 
    rgba(42,161,152,0.3)
  );
  border-radius: 16px;
  z-index: -1;
  opacity: 0;
  animation: insightGlow 4s ease-in-out infinite;
}

@keyframes insightGlow {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.4; }
}

/* Icon or decorative element */
.key-insight::after {
  content: '💡';
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  opacity: 0.15;
  animation: lightbulbFloat 6s ease-in-out infinite;
}

@keyframes lightbulbFloat {
  0%, 100% {
    transform: translateY(0px) rotate(-5deg);
    opacity: 0.15;
  }
  50% {
    transform: translateY(-8px) rotate(5deg);
    opacity: 0.25;
  }
}

.key-insight:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 12px 28px rgba(212,175,55,0.25);
  border-left-width: 6px;
  background: linear-gradient(135deg, 
    rgba(212,175,55,0.15), 
    rgba(42,161,152,0.15)
  );
}

.key-insight:hover::before {
  animation: insightGlowHover 2s ease-in-out infinite;
}

@keyframes insightGlowHover {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.key-insight strong {
  color: #1e293b !important;
  font-weight: 700 !important;
  font-size: 1.05rem;
}

.key-insight p {
  color: #334155 !important;
  line-height: 1.8;
  margin: 0.5rem 0;
}

/* First strong element gets special treatment */
.key-insight strong:first-child {
  display: block;
  font-size: 1.2rem;
  color: #b8860b !important;
  margin-bottom: 0.75rem;
  background: linear-gradient(120deg, 
    transparent 0%, 
    rgba(212,175,55,0.2) 50%, 
    transparent 100%
  );
  background-size: 200% 100%;
  padding: 0 0.25rem;
}

.key-insight:hover strong:first-child {
  animation: highlightSweep 2s ease-out;
}

/* ============================================
   CRITICAL DISTINCTION BOX - Warning Animation
   ============================================ */

.critical-distinction-box {
  background: linear-gradient(135deg, rgba(239,68,68,0.1), rgba(245,158,11,0.1));
  border-left: 5px solid #ef4444;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(239,68,68,0.15);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.critical-distinction-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ef4444, #f59e0b, #ef4444);
  background-size: 200% 100%;
  animation: warningPulse 3s ease-in-out infinite;
}

.critical-distinction-box::after {
  content: '⚠️';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2.5rem;
  opacity: 0.15;
  animation: warningFloat 4s ease-in-out infinite;
}

.critical-distinction-box.animate-on-scroll {
  animation: criticalSlideIn 0.6s ease-out;
}

.critical-distinction-box:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 32px rgba(239,68,68,0.25);
  border-left-width: 8px;
}

.critical-distinction-box strong:first-child {
  display: block;
  font-size: 1.3rem;
  color: #dc2626;
  margin-bottom: 0.5rem;
  animation: urgentPulse 2s ease-in-out infinite;
}

.critical-distinction-box ul li {
  margin: 0.75rem 0;
  position: relative;
  padding-left: 0.5rem;
}

.critical-distinction-box ul li::marker {
  color: #ef4444;
}

.critical-distinction-box ul li strong {
  color: #dc2626;
}

.critical-distinction-box .scripture-ref {
  font-size: 0.85rem;
  color: #64748b;
  font-style: italic;
  margin-top: 0.25rem;
  padding-left: 0.5rem;
  border-left: 2px solid #fca5a5;
  background: linear-gradient(90deg, rgba(239,68,68,0.05), transparent);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
  margin-left: 0.5rem;
}

@keyframes criticalSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-30px) scale(0.95);
  }
  60% {
    transform: translateX(5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes warningPulse {
  0%, 100% {
    background-position: 0% 50%;
    opacity: 0.8;
  }
  50% {
    background-position: 100% 50%;
    opacity: 1;
  }
}

@keyframes warningFloat {
  0%, 100% {
    transform: translateY(0px) rotate(-5deg);
    opacity: 0.15;
  }
  50% {
    transform: translateY(-8px) rotate(5deg);
    opacity: 0.25;
  }
}

@keyframes urgentPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.02);
  }
}

/* ============================================
   CONTENT ATTRIBUTION
   ============================================ */

.content-attribution {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(42,161,152,0.05), rgba(212,175,55,0.05));
  border-left: 4px solid #2aa198;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #475569 !important;
}

.content-attribution strong {
  color: #2aa198 !important;
}

.content-attribution a {
  color: #2aa198;
  text-decoration: none;
  border-bottom: 1px dotted #2aa198;
}

.content-attribution a:hover {
  border-bottom-style: solid;
}

/* ============================================
   TWO-GOAT SECTION
   ============================================ */

.two-goat-title {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  text-align: center;
  color: #1a202c;
  font-weight: 800;
}

.two-goat-subtitle {
  text-align: center;
  color: #64748b;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.goat-panel {
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  border-left: 4px solid #2aa198;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.goat-panel:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  border-left-width: 6px;
}

.goat-panel h5 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.goat-panel:hover h5 {
  transform: translateX(5px);
}

.goat-panel p {
  margin-bottom: 0.75rem;
  color: #374151;
  line-height: 1.6;
}

.goat-panel p strong {
  color: #1f2937;
  font-weight: 700;
}

.goat-panel .goat-note {
  font-size: 0.9rem;
  font-style: italic;
  color: #64748b;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.goat-yahweh {
  border-left-color: #2aa198;
}

.goat-yahweh h5 {
  color: #2aa198;
}

.goat-azazel {
  border-left-color: #9c27b0;
}

.goat-azazel h5 {
  color: #9c27b0;
}

/* ============================================
   HEBREW VOCABULARY CARDS
   ============================================ */

.hebrew-vocab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0 3rem;
}

.hebrew-vocab-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hebrew-vocab-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

.hebrew-vocab-card .hebrew-text {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  direction: rtl;
  font-family: 'Times New Roman', serif;
}

.hebrew-vocab-card .transliteration {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 0.5rem;
}

.hebrew-vocab-card .english {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.hebrew-vocab-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 1rem;
}

.status-property {
  display: inline-block;
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* ============================================
   TWO-AXIS EXPLANATION
   ============================================ */

.two-axis-explanation {
  background: linear-gradient(135deg, rgba(42,161,152,0.08), rgba(212,175,55,0.08));
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  border: 2px solid rgba(42,161,152,0.2);
}

.two-axis-explanation h5 {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--page-accent-dark);
  margin: 0 0 1rem;
  text-align: center;
}

/* ============================================
   STATUS PROGRESSION DIAGRAM
   ============================================ */

.status-progression-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.progression-stage {
  flex: 1;
  min-width: 180px;
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.progression-stage:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
  z-index: 10;
}

.progression-arrow {
  flex-shrink: 0;
  font-size: 2rem;
  font-weight: 900;
}

.progression-process {
  flex: 1;
  min-width: 200px;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.progression-stages {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* ============================================
   EDEN PATTERN - INTERACTIVE FLIP CARDS
   ============================================ */

.eden-pattern-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
  min-height: 280px;
}

.pattern-stage {
  flex: 0 0 auto;
  width: 200px;
  height: 300px;
  perspective: 1000px;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 5;
}

.pattern-stage:hover {
  transform: scale(1.05);
}

.pattern-stage-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.pattern-stage.flipped .pattern-stage-inner {
  transform: rotateY(180deg);
}

.pattern-stage-front,
.pattern-stage-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border: 2px solid;
}

.pattern-stage-back {
  justify-content: flex-start;
  overflow-y: auto;
  overflow-x: hidden;
}

.pattern-stage-back::-webkit-scrollbar {
  width: 4px;
}

.pattern-stage-back::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
}

.pattern-stage-back::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.4);
  border-radius: 10px;
}

.pattern-stage-front {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-color: #2aa198;
}

.pattern-stage-back {
  background: linear-gradient(135deg, #2aa198 0%, #268c83 100%);
  border-color: #268c83;
  color: white;
  transform: rotateY(180deg);
}

.stage-icon {
  font-size: 3.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.stage-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: #2aa198;
}

.pattern-stage-back .stage-title {
  color: white;
}

.stage-subtitle {
  font-size: 0.9rem;
  opacity: 0.75;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stage-detail-content {
  text-align: left;
}

.stage-detail-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.stage-detail-text {
  font-size: 0.75rem;
  line-height: 1.5;
}

.stage-detail-text strong {
  display: block;
  margin-top: 0.4rem;
  font-weight: 700;
  font-size: 0.75rem;
}

.stage-detail-text strong:first-child {
  margin-top: 0;
}

.pattern-arrow {
  font-size: 2rem;
  color: #94a3b8;
  flex-shrink: 0;
}

/* ============================================
   UNCLEAN CATEGORIES GRID
   ============================================ */

.unclean-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.unclean-category {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  border: 2px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.unclean-category:hover {
  border-color: #2aa198;
  box-shadow: 0 8px 24px rgba(42,161,152,0.15);
  transform: translateY(-4px);
}

.category-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

.category-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #2aa198;
  margin-bottom: 0.5rem;
}

.category-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #64748b;
}

.category-examples {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.85rem;
  font-style: italic;
  color: #94a3b8;
}

/* ============================================
   TRAJECTORY FLOWCHART STYLES — v2
   Teal → Rust → Gold arc with inverted DoA
   ============================================ */

.trajectory-flowchart {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 2.5rem 2.5rem 3.5rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  position: relative;
}

/* ── Timeline Spine ── */
.trajectory-flowchart::before {
  content: '';
  position: absolute;
  left: 2.25rem;
  top: 3.5rem;
  bottom: 3.5rem;
  width: 3px;
  background: linear-gradient(
    to bottom,
    #0f766e 0%,
    #2aa198 20%,
    #c2410c 35%,
    #d97706 55%,
    #b8860b 70%,
    #0f766e 85%,
    #94a3b8 100%
  );
  border-radius: 2px;
}

/* ── Flow Boxes (shared) ── */
.flow-box {
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  margin: 1.25rem 0;
  position: relative;
  border: 2px solid;
  transition: box-shadow 0.3s ease;
}

.flow-box:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* Spine dot on each box */
.flow-box::before {
  content: '';
  position: absolute;
  left: -1.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 2px currentColor;
  z-index: 2;
}

/* ── STAGE 1: God's Intent — deep teal ── */
.flow-intent {
  border-color: #0f766e;
  background: linear-gradient(135deg, rgba(15,118,110,0.10), rgba(15,118,110,0.04));
  color: #0f766e;
}
.flow-intent::before { background: #0f766e; }

/* ── STAGE 2: Creation — teal ── */
.flow-creation {
  border-color: #14b8a6;
  background: linear-gradient(135deg, rgba(20,184,166,0.10), rgba(20,184,166,0.04));
  color: #14b8a6;
}
.flow-creation::before { background: #14b8a6; }

/* ── STAGE 3: Loss — rust (the rupture) ── */
.flow-loss {
  border-color: #c2410c;
  background: linear-gradient(135deg, rgba(194,65,12,0.08), rgba(194,65,12,0.03));
  color: #c2410c;
}
.flow-loss::before { background: #c2410c; }

/* ── STAGE 4: Sanctuary — teal-gold transition ── */
.flow-sanctuary {
  border-color: #2aa198;
  background: linear-gradient(135deg, rgba(42,161,152,0.08), rgba(212,175,55,0.05));
  color: #2aa198;
}
.flow-sanctuary::before { background: #2aa198; }

/* ── STAGE 5: Pollution — warm amber ── */
.flow-problem {
  border-color: #d97706;
  background: linear-gradient(135deg, rgba(217,119,6,0.08), rgba(217,119,6,0.03));
  color: #d97706;
}
.flow-problem::before { background: #d97706; }

/* ── STAGE 6: Maintenance — muted gold ── */
.flow-maintenance {
  border-color: #b8860b;
  background: linear-gradient(135deg, rgba(184,134,11,0.08), rgba(184,134,11,0.03));
  color: #b8860b;
}
.flow-maintenance::before { background: #b8860b; }

/* ── STAGE 7: Day of Atonement — INVERTED (climax) ── */
.flow-atonement {
  border-color: #b8860b;
  border-width: 3px;
  background: linear-gradient(135deg, #0f766e, #14544e);
  padding: 2rem;
  box-shadow: 0 6px 24px rgba(15,118,110,0.3);
}
.flow-atonement::before {
  background: #d4af37;
  width: 15px;
  height: 15px;
  left: -2rem;
  box-shadow: 0 0 0 3px white, 0 0 0 5px #d4af37;
}
.flow-atonement .flow-header {
  color: #fef3c7 !important;
}
.flow-atonement .flow-subtitle {
  color: rgba(255,255,255,0.75) !important;
}
.flow-atonement .flow-content {
  color: rgba(255,255,255,0.92) !important;
}
.flow-atonement .flow-content strong {
  color: #fef3c7 !important;
}
.flow-atonement .flow-ref {
  color: rgba(255,255,255,0.65) !important;
}

/* ── STAGE 8: Open Question — dashed grey (unresolved) ── */
.flow-question {
  border-color: #94a3b8;
  border-style: dashed;
  background: linear-gradient(135deg, rgba(148,163,184,0.10), rgba(148,163,184,0.04));
  color: #94a3b8;
}
.flow-question::before {
  background: #94a3b8;
  border-radius: 3px;
  width: 9px;
  height: 9px;
}

/* ── Typography ── */
.flow-header {
  font-size: 1.1rem;
  font-weight: 900;
  color: #1a202c;
  text-align: center;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.flow-subtitle {
  font-size: 0.95rem;
  color: #475569;
  text-align: center;
  font-style: italic;
  margin-bottom: 1rem;
}

.flow-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #1e293b;
}

.flow-ref {
  font-size: 0.88rem;
  color: #475569;
  font-style: italic;
}

/* ── Arrows & Transitions ── */
.flow-arrow {
  text-align: center;
  font-size: 1.5rem;
  color: #94a3b8;
  margin: 0.25rem 0;
  line-height: 1;
}

.flow-transition {
  text-align: center;
  font-size: 0.92rem;
  color: #64748b;
  font-style: italic;
  margin: 0.25rem 0;
  padding: 0.35rem 1rem;
  position: relative;
}

.flow-arrow {
  display: none;
}

/* Transition dot on spine */
.flow-transition::before {
  content: '';
  position: absolute;
  left: -0.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #94a3b8;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .trajectory-flowchart {
    padding: 1.5rem 1.5rem 1.5rem 2.5rem;
  }

  .trajectory-flowchart::before {
    left: 1.25rem;
  }

  .flow-box::before {
    left: -1.85rem;
  }

  .flow-atonement::before {
    left: -2rem;
  }

  .flow-transition::before {
    left: -0.6rem;
  }

  .flow-box {
    padding: 1.25rem;
  }

  .flow-atonement {
    padding: 1.5rem;
  }

  .flow-header {
    font-size: 1rem;
  }

  .flow-content {
    font-size: 0.95rem;
  }
}

/* ============================================
   PROSE WALKTHROUGH
   ============================================ */

.prose-walkthrough {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.prose-block {
  background: white;
  border-left: 4px solid #2aa198;
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.prose-block:hover {
  border-left-width: 6px;
  box-shadow: 0 4px 12px rgba(42,161,152,0.15);
  transform: translateX(4px);
}

.prose-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f766e;
  margin-bottom: 0.75rem;
}

.prose-content {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #475569;
}

.prose-content strong {
  color: #0f766e;
  font-weight: 700;
}

/* ============================================
   TEACHING TIP
   ============================================ */

.teaching-tip {
  border: 2px solid rgba(251,191,36,.5);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  background: rgba(251,191,36,.08);
  margin: 1.15rem 0;
  font-size: .95rem;
  line-height: 1.5;
}

.teaching-tip strong {
  color: rgba(251,191,36,1);
  font-size: 1rem;
}

/* ============================================
   SECTION CHIP
   ============================================ */

.section-chip {
  display: inline-block;
  margin: .75rem 0 1.25rem;
  padding: .35rem .6rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.12);
}

/* ============================================
   GRID-2 UTILITY
   ============================================ */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

/* ============================================
   Q&A PILLS - Complete styling
   ============================================ */

.qa-pills-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.qa-pill {
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.qa-pill-question {
  background: linear-gradient(135deg, #2aa198, #0f766e);
  color: white;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 12px;
  user-select: none;
}

.qa-pill:hover .qa-pill-question {
  background: linear-gradient(135deg, #0f766e, #0d5f58);
  transform: translateX(4px);
}

.qa-pill.active .qa-pill-question {
  background: linear-gradient(135deg, #d4af37, #b8860b) !important;
  border-radius: 12px 12px 0 0 !important;
}

.qa-pill-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.qa-pill-text {
  flex: 1;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  font-style: italic;
}

.qa-pill-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.qa-pill.active .qa-pill-toggle {
  transform: rotate(45deg);
}

.qa-pill-answer {
  max-height: 0;
  overflow: hidden;
  background: white;
  border: 2px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 12px 12px;
  transition: max-height 0.5s ease, padding 0.4s ease;
  padding: 0 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
  color: #334155;
}

.qa-pill.active .qa-pill-answer {
  max-height: 2000px !important;
  padding: 1.5rem !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.qa-pill-answer p {
  margin: 0.6rem 0;
  line-height: 1.75;
}

.qa-pill-answer ul {
  margin: 0.6rem 0 0.2rem 1.25rem;
}

.qa-pill-answer li {
  margin: 0.35rem 0;
  color: #334155;
}

.qa-pill-answer strong {
  color: #0f766e;
  font-weight: 700;
}

.qa-pill-answer em {
  color: #2aa198;
  font-style: italic;
}

/* ============================================
   RESPONSIVE - Mobile
   ============================================ */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-stats {
    gap: 2rem;
  }

  .diagram-wrap {
    padding: 1rem;
  }

  .torah-symmetry-wrap {
    padding: 1.25rem;
  }
  
  .ts-title {
    font-size: 16px;
  }
  
  .ts-sub {
    font-size: 12px;
  }

  .mini-card {
    padding: 1.25rem;
  }

  .mini-card h4 {
    font-size: 1.05rem;
  }

  .key-insight {
    padding: 1.5rem;
  }

  .key-insight::after {
    font-size: 1.5rem;
    top: 1rem;
    right: 1rem;
  }

  .qa-pill-question {
    padding: 0.875rem 1rem;
    gap: 0.75rem;
  }

  .qa-pill-icon {
    font-size: 1.25rem;
  }

  .qa-pill-text {
    font-size: 0.9rem;
  }

  .qa-pill-toggle {
    font-size: 1.25rem;
  }

  .qa-pill-answer {
    font-size: 0.95rem;
  }

  .qa-pill.active .qa-pill-answer {
    padding: 1rem !important;
    max-height: 1500px !important;
  }

  .eden-pattern-container {
    flex-direction: column;
  }

  .pattern-stage {
    width: 100%;
    max-width: 320px;
  }

  .pattern-arrow {
    transform: rotate(90deg);
    margin: 0.5rem 0;
  }

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

  .hebrew-vocab-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hebrew-vocab-card .hebrew-text {
    font-size: 2.5rem;
  }

  .trajectory-flowchart {
    padding: 1rem;
  }

  .flow-box {
    padding: 1rem;
  }

  .flow-header {
    font-size: 1rem;
  }

  .progression-arrow {
    transform: rotate(90deg);
    font-size: 1.5rem;
  }

  .progression-stages {
    flex-direction: column;
  }

  .progression-stage,
  .progression-process {
    width: 100%;
    max-width: 100%;
  }
}

/* ============================================
   SECTION DIVIDER
   ============================================ */

.section-divider {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(42,161,152,0.3) 20%, 
    rgba(42,161,152,0.5) 50%, 
    rgba(42,161,152,0.3) 80%, 
    transparent
  );
  margin: 3rem 0;
}

/* ============================================
   REDUCE MOTION PREFERENCE
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .mini-card::before,
  .mini-card::after,
  .key-insight::before,
  .key-insight::after,
  .core-logic-quote::before,
  .core-logic-quote::after,
  .critical-distinction-box::before,
  .critical-distinction-box::after {
    animation: none !important;
  }
  
  .mini-card:hover,
  .key-insight:hover,
  .core-logic-quote:hover,
  .thesis-card:hover,
  .critical-distinction-box:hover {
    transform: none !important;
  }
  
  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================
   CAMP GEOMETRY BLOCK (Numbers 2 Diagram)
   Append to leviticus-theology.css
   ============================================ */

/* Intro wrapper for camp geometry section */
.camp-geometry-intro {
  margin: 2rem auto 2.5rem;
  max-width: 1100px;
}

.camp-geometry-intro h4 {
  text-align: center;
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--page-accent, #2aa198);
}

.camp-geometry-intro > p {
  text-align: center;
  margin: 0 auto 1.5rem;
  max-width: 900px;
  line-height: 1.75;
  color: #334155;
  font-size: 1rem;
}

/* ════════════════════════════════════════════════════════════
   LEV 4–5 INDIVIDUAL RESTORATION + TWO SCALES CSS
   Append to leviticus-theology.css
   
   NOTE: The .flow-track, .flow-steps, .flow-step, .step-number,
   .flow-connector, and .leviticus-track classes are ported from
   the Luke-Acts study page to maintain visual consistency.
   ════════════════════════════════════════════════════════════ */

/* ── Atonement Flow Container ── */
.atonement-flow-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin: 2rem 0;
}

/* ── Flow Track (Shared Base) ── */
.flow-track {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border: 2px solid;
  transition: all 0.3s ease;
}

.flow-track:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

/* ── Leviticus Track (Purple — Individual) ── */
.leviticus-track {
  border-color: #7b1fa2;
  background: linear-gradient(135deg, rgba(123,31,162,0.03), white);
}

/* ── Annual Track (Teal — Communal) ── */
.annual-track {
  border-color: #2aa198;
  background: linear-gradient(135deg, rgba(42,161,152,0.03), white);
}

/* ── Flow Track Title ── */
.flow-track-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem 0;
  font-size: 1.3rem;
  font-weight: 800;
  flex-wrap: wrap;
}

.leviticus-track .flow-track-title {
  color: #7b1fa2;
}

.annual-track .flow-track-title {
  color: #0f766e;
}

.flow-icon {
  font-size: 1.8rem;
}

/* ── Flow Steps Container ── */
.flow-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── Individual Flow Step Card ── */
.flow-step {
  flex: 1;
  min-width: 140px;
  background: white;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  border: 2px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
}

.flow-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.leviticus-track .flow-step {
  border-color: rgba(123,31,162,0.2);
}

.leviticus-track .flow-step:hover {
  border-color: #7b1fa2;
  box-shadow: 0 8px 20px rgba(123,31,162,0.2);
}

.annual-track .flow-step {
  border-color: rgba(42,161,152,0.2);
}

.annual-track .flow-step:hover {
  border-color: #2aa198;
  box-shadow: 0 8px 20px rgba(42,161,152,0.2);
}

/* ── Step Number Badge ── */
.flow-step .step-number {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.leviticus-track .step-number {
  background: linear-gradient(135deg, #7b1fa2, #9c27b0);
}

.annual-track .step-number {
  background: linear-gradient(135deg, #0f766e, #2aa198);
}

/* ── Step Content ── */
.step-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  margin-top: 0.5rem;
}

.step-content strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a202c;
  display: block;
}

.step-detail {
  font-size: 0.8rem;
  color: #64748b;
  font-style: italic;
  line-height: 1.4;
}

/* ── Step Scripture Reference ── */
.step-ref {
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.25rem;
  opacity: 0.7;
}

.leviticus-track .step-ref {
  color: #7b1fa2;
}

.annual-track .step-ref {
  color: #0f766e;
}

/* ── Flow Connector Arrow ── */
.flow-connector {
  flex: 0 0 auto;
  font-size: 1.8rem;
  font-weight: 700;
  opacity: 0.4;
  padding: 0 0.25rem;
}

.leviticus-track .flow-connector {
  color: #7b1fa2;
}

.annual-track .flow-connector {
  color: #2aa198;
}

/* ── Purple Variant for Mini-Cards ── */
.mini-card[style*="border-left: 4px solid #7b1fa2"]:hover {
  border-color: #7b1fa2;
  box-shadow: 0 12px 32px rgba(123,31,162,0.2);
}

/* ── Mobile Responsive ── */
@media (max-width: 768px) {
  .flow-steps {
    flex-direction: column;
    gap: 1rem;
  }

  .flow-step {
    min-width: 100%;
  }

  .flow-connector {
    transform: rotate(90deg);
    font-size: 1.5rem;
    padding: 0;
    text-align: center;
    width: 100%;
  }

  .flow-track {
    padding: 1.5rem 1.25rem;
  }

  .flow-track-title {
    font-size: 1.1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .flow-track-title span[style*="margin-left: auto"] {
    margin-left: 0 !important;
  }
}

/* ── Reduce Motion ── */
@media (prefers-reduced-motion: reduce) {
  .flow-track:hover,
  .flow-step:hover {
    transform: none !important;
  }
}

/* ════════════════════════════════════════════════════════════
   ZONES WALKTHROUGH + BLOOD PENETRATION + OPEN QUESTIONS v2
   Append to leviticus-theology.css
   ════════════════════════════════════════════════════════════ */


/* ── ZONES GRID ── */

.zones-walkthrough {
  margin: 3rem 0 2rem;
}

.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.zone-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 14px;
  background: white;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  border-left: 5px solid #94a3b8;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zone-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.zone-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: white;
  background: #94a3b8;
}

.zone-content {
  flex: 1;
  min-width: 0;
}

.zone-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: #1e293b;
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.zone-label-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  background: rgba(148,163,184,0.15);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  margin-left: 0.5rem;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.zone-hebrew {
  display: inline-block;
  font-family: 'Times New Roman', serif;
  font-size: 0.95rem;
  font-weight: 900;
  color: #d4af37;
  margin-left: 0.5rem;
  direction: rtl;
}

.zone-content p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #475569;
  margin: 0;
}

/* Zone color accents */
.zone-wilderness { border-left-color: #ef4444; }
.zone-wilderness .zone-number { background: #ef4444; }

.zone-camp { border-left-color: #64748b; }
.zone-camp .zone-number { background: #64748b; }

.zone-levite { border-left-color: #6366f1; }
.zone-levite .zone-number { background: #6366f1; }

.zone-courtyard { border-left-color: #2563eb; }
.zone-courtyard .zone-number { background: #2563eb; }

.zone-holy { border-left-color: #0f766e; }
.zone-holy .zone-number { background: #0f766e; }

.zone-holiest { border-left-color: #d4af37; }
.zone-holiest .zone-number { background: #d4af37; color: #1e293b; }


/* ══════════════════════════════════════════════════════════
   OPEN QUESTIONS SECTION — v2 Accordion Layout
   Questions + prophetic responses visible by default.
   Levitical basis expandable underneath each card.
   ══════════════════════════════════════════════════════════ */

.open-question-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  margin-bottom: 2rem;
  border: 2px solid rgba(212,175,55,0.15);
  transition: box-shadow 0.3s ease;
}

.open-question-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.oq-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(42,161,152,0.06));
  border-bottom: 2px solid rgba(212,175,55,0.12);
}

.oq-icon {
  flex-shrink: 0;
  font-size: 2rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,175,55,0.12);
  border-radius: 14px;
  border: 2px solid rgba(212,175,55,0.25);
}

.oq-header-text {
  flex: 1;
}

.oq-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #1e293b;
  margin: 0 0 0.25rem;
}

.oq-subtitle {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
  font-style: italic;
  line-height: 1.5;
}

.oq-body {
  padding: 1.75rem 2rem 2rem;
}

.oq-section-label {
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
}

/* Prophetic responses — now first in the body */
.oq-responses .oq-section-label {
  color: #b8860b;
  border-bottom: 2px solid rgba(212,175,55,0.25);
}

.oq-response-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.oq-response-item {
  padding: 1.25rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212,175,55,0.06), rgba(212,175,55,0.02));
  border: 1.5px solid rgba(212,175,55,0.18);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.oq-response-item:hover {
  border-color: rgba(212,175,55,0.35);
  background: linear-gradient(135deg, rgba(212,175,55,0.10), rgba(212,175,55,0.04));
}

.oq-response-ref {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 900;
  color: #b8860b;
  background: rgba(212,175,55,0.12);
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.oq-response-item p {
  font-size: 0.93rem;
  line-height: 1.75;
  color: #475569;
  margin: 0;
}


/* ── LEVITICAL BASIS ACCORDION ── */

.oq-basis-accordion {
  margin-top: 1.75rem;
  border-radius: 12px;
  border: 1.5px solid rgba(15,118,110,0.18);
  overflow: hidden;
  background: rgba(15,118,110,0.02);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.oq-basis-accordion:hover {
  border-color: rgba(15,118,110,0.30);
}

.oq-basis-accordion[open] {
  border-color: rgba(15,118,110,0.35);
  box-shadow: 0 2px 10px rgba(15,118,110,0.08);
}

/* Remove default <details> marker */
.oq-basis-accordion summary {
  list-style: none;
}

.oq-basis-accordion summary::-webkit-details-marker {
  display: none;
}

.oq-basis-accordion summary::marker {
  display: none;
  content: '';
}

/* Trigger bar */
.oq-basis-trigger {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  cursor: pointer;
  user-select: none;
  background: linear-gradient(135deg, rgba(15,118,110,0.06), rgba(15,118,110,0.02));
  transition: background 0.2s ease;
}

.oq-basis-trigger:hover {
  background: linear-gradient(135deg, rgba(15,118,110,0.10), rgba(15,118,110,0.04));
}

.oq-basis-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
  opacity: 0.7;
}

.oq-basis-label {
  flex: 1;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f766e;
  letter-spacing: 0.02em;
}

.oq-basis-chevron {
  flex-shrink: 0;
  color: #0f766e;
  opacity: 0.5;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: flex;
  align-items: center;
}

.oq-basis-accordion[open] .oq-basis-chevron {
  transform: rotate(180deg);
  opacity: 0.8;
}

/* Expandable content */
.oq-basis-content {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1.5px solid rgba(15,118,110,0.12);
  animation: oqBasisSlideDown 0.3s ease-out;
}

@keyframes oqBasisSlideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.oq-basis-content p {
  font-size: 0.98rem;
  line-height: 1.85;
  color: #334155;
  margin: 0;
}

.oq-basis-content p + p {
  margin-top: 0.75rem;
}


/* ── Per-question accent overrides ── */

/* Access */
.oq-access { border-color: rgba(42,161,152,0.20); }
.oq-access .oq-header { background: linear-gradient(135deg, rgba(42,161,152,0.08), rgba(42,161,152,0.03)); }
.oq-access .oq-icon { background: rgba(42,161,152,0.12); border-color: rgba(42,161,152,0.25); }

/* Pollution */
.oq-pollution { border-color: rgba(194,65,12,0.18); }
.oq-pollution .oq-header { background: linear-gradient(135deg, rgba(194,65,12,0.06), rgba(194,65,12,0.02)); }
.oq-pollution .oq-icon { background: rgba(194,65,12,0.10); border-color: rgba(194,65,12,0.22); }

/* Presence */
.oq-presence { border-color: rgba(212,175,55,0.22); }
.oq-presence .oq-header { background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(212,175,55,0.03)); }
.oq-presence .oq-icon { background: rgba(212,175,55,0.12); border-color: rgba(212,175,55,0.28); }


/* ── RESPONSIVE ── */

@media (max-width: 768px) {
  .zones-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .zone-card {
    padding: 1.25rem;
  }

  .oq-header {
    padding: 1.25rem 1.5rem;
    gap: 1rem;
  }

  .oq-body {
    padding: 1.25rem 1.5rem 1.5rem;
  }

  .oq-title {
    font-size: 1.15rem;
  }

  .oq-response-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .oq-icon {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }

  .oq-basis-trigger {
    padding: 0.75rem 1rem;
  }

  .oq-basis-content {
    padding: 1rem 1.25rem 1.25rem;
  }

  .oq-basis-label {
    font-size: 0.82rem;
  }
}

/* ── Reduce Motion ── */

@media (prefers-reduced-motion: reduce) {
  .oq-basis-content {
    animation: none;
  }

  .oq-basis-chevron {
    transition: none;
  }
}