/* ==========================================================================
   EVIL EYE — A Grimoire of the Unseen
   Design System & Stylesheet
   ========================================================================== */

/* --- CSS Variables / Design Tokens --- */
:root {
  /* Colors */
  --color-bg-dark: #070606;
  --color-bg-overlay: #0b090a;
  --color-burgundy-deep: #4a0e17;
  --color-burgundy: #6b1426;
  --color-burgundy-glow: rgba(107, 20, 38, 0.4);
  --color-burgundy-light: #8c2438;
  
  --color-gold-muted: #c5a059;
  --color-gold-dim: #8a703d;
  --color-gold-faint: rgba(197, 160, 89, 0.15);
  
  --color-bone: #e6dfd5;
  --color-parchment: #c8beac;
  --color-parchment-dark: #8c8272;
  --color-parchment-faint: rgba(200, 190, 172, 0.08);

  /* Typography */
  --font-title: 'Cinzel', serif;
  --font-display: 'Cinzel Decorative', serif;
  --font-body: 'EB Garamond', serif;
  --font-sub: 'Cormorant Garamond', serif;

  /* Spacing & Layout */
  --nav-height: 80px;
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s ease;
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background-color: var(--color-bg-dark);
  color: var(--color-bone);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  selection-background-color: var(--color-burgundy);
  selection-color: var(--color-bone);
}

::selection {
  background: var(--color-burgundy-deep);
  color: var(--color-bone);
}

/* --- Black Entrance Overlay --- */
.black-overlay {
  position: fixed;
  inset: 0;
  background-color: #000000;
  z-index: 9999;
  pointer-events: none;
}

/* --- Dust Particles Canvas --- */
.dust-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 10;
  opacity: 0.6;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4rem;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(7, 6, 6, 0.85) 0%, rgba(7, 6, 6, 0) 100%);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(197, 160, 89, 0.08);
  opacity: 0; /* GSAP will animate */
  transform: translateY(-20px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.nav-logo-eye {
  font-size: 1.3rem;
  color: var(--color-gold-muted);
  filter: drop-shadow(0 0 8px var(--color-burgundy-glow));
}

.nav-logo-text {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  color: var(--color-bone);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-parchment);
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 1px;
  background-color: var(--color-gold-muted);
  transition: var(--transition-medium);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--color-bone);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link-contribute {
  color: var(--color-gold-muted);
  border: 1px solid var(--color-gold-dim);
  padding: 0.4rem 1rem;
  border-radius: 2px;
}

.nav-link-contribute:hover {
  background-color: rgba(197, 160, 89, 0.1);
  border-color: var(--color-gold-muted);
  color: var(--color-bone);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--nav-height) 2rem 4rem 2rem;
  overflow: hidden;
}

/* --- Hero Background & Layers --- */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Layer 1: Parchment Texture */
.bg-paper {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  background-image: url('paper_texture.png');
  background-size: cover;
  background-position: center;
  opacity: 0; /* GSAP will animate fade-in */
  mix-blend-mode: color-dodge;
  filter: contrast(1.2) brightness(0.4) sepia(0.3);
}

/* Layer 2: Main Manuscript Illustration */
.bg-illustration {
  position: absolute;
  inset: 0;
  background-image: url('grimoire_illustration.png');
  background-size: cover;
  background-position: center;
  opacity: 0; /* GSAP will animate fade-in */
  filter: contrast(1.1) brightness(0.45) sepia(0.4);
  mix-blend-mode: opacity;
  transform: scale(1.05);
}

/* Layer 3: Vignette & Radial Shadows */
.bg-vignette {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at center, rgba(11, 9, 10, 0.5) 0%, rgba(7, 6, 6, 0.92) 75%, rgba(7, 6, 6, 0.98) 100%),
    linear-gradient(to bottom, rgba(7, 6, 6, 0.8) 0%, transparent 40%, transparent 60%, rgba(7, 6, 6, 0.95) 100%);
}

/* Layer 4: Fog Layer */
.bg-fog {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 60%, rgba(74, 14, 23, 0.25) 0%, transparent 60%);
  animation: fogPulse 12s infinite alternate ease-in-out;
  opacity: 0.6;
}

@keyframes fogPulse {
  0% { opacity: 0.4; transform: scale(1); }
  100% { opacity: 0.75; transform: scale(1.1); }
}

/* Layer 5: Paper Grain Noise Overlay */
.bg-noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(200, 190, 172, 0.05) 1px, transparent 0);
  background-size: 4px 4px;
  opacity: 0.4;
}

/* --- Decorative SVG Sigils --- */
.sigil {
  position: absolute;
  z-index: 2;
  width: 140px;
  height: 140px;
  color: var(--color-gold-muted);
  opacity: 0; /* GSAP animate */
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(107, 20, 38, 0.5));
}

.sigil-tl { top: calc(var(--nav-height) + 2rem); left: 3rem; }
.sigil-tr { top: calc(var(--nav-height) + 2rem); right: 3rem; }
.sigil-bl { bottom: 3rem; left: 3rem; }
.sigil-br { bottom: 3rem; right: 3rem; }

/* --- Horizontal Rule Ornaments --- */
.ornament-rule {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(80%, 700px);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 5;
  opacity: 0; /* GSAP animate */
  color: var(--color-gold-dim);
}

.ornament-rule-top { top: calc(var(--nav-height) + 1rem); }
.ornament-rule-bottom { bottom: 4.5rem; }

.rule-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold-dim), transparent);
}

.rule-symbol {
  font-size: 0.8rem;
  color: var(--color-gold-muted);
}

/* --- Hero Content Container --- */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 900px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Pre-title Tag --- */
.pre-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  opacity: 0; /* GSAP animate */
  transform: translateY(15px);
}

.pre-title-line {
  width: 40px;
  height: 1px;
  background: var(--color-gold-dim);
}

.pre-title-text {
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  color: var(--color-gold-muted);
  text-transform: uppercase;
}

/* --- Main Title --- */
.hero-title {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 1.1;
  letter-spacing: 0.25em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.4)) drop-shadow(0 4px 20px rgba(0, 0, 0, 0.95));
}

.title-word {
  display: inline-block;
  opacity: 0; /* GSAP animate */
  transform: translateY(25px) scale(0.96);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF0D7 30%, #D4AF37 70%, #997A15 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.title-divider {
  width: 80px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-muted);
  opacity: 0; /* GSAP animate */
}

.title-divider svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}

/* --- Subtitle --- */
.hero-subtitle {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-title);
  font-size: clamp(0.9rem, 2.2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.45em;
  color: #E6C687;
  margin-bottom: 2rem;
  opacity: 0; /* GSAP animate */
  transform: translateY(15px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 15px rgba(212, 175, 55, 0.3);
}

.subtitle-ornament {
  color: var(--color-gold-muted);
}

/* --- Content Divider Symbol --- */
.content-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 260px;
  margin-bottom: 2rem;
  opacity: 0; /* GSAP animate */
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold-muted), transparent);
}

.divider-symbol {
  width: 24px;
  height: 24px;
  color: var(--color-gold-muted);
}

/* --- Description --- */
.hero-description {
  font-family: var(--font-sub);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.7;
  color: #F0E6D2;
  max-width: 720px;
  margin-bottom: 1.75rem;
  opacity: 0; /* GSAP animate */
  transform: translateY(20px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 8px rgba(0, 0, 0, 0.8);
}

/* --- Metadata Tags --- */
.hero-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-title);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-parchment-dark);
  margin-bottom: 2.75rem;
  opacity: 0; /* GSAP animate */
}

.meta-dot {
  color: var(--color-burgundy-light);
}

/* --- CTA Buttons Container --- */
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0; /* GSAP animate */
  transform: translateY(20px);
}

/* --- Primary CTA Button --- */
.cta-primary {
  position: relative;
  display: inline-block;
  padding: 1.1rem 2.4rem;
  background: linear-gradient(135deg, rgba(74, 14, 23, 0.85) 0%, rgba(30, 6, 10, 0.95) 100%);
  color: var(--color-bone);
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  border: 1px solid var(--color-burgundy-light);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.6),
    inset 0 0 15px rgba(107, 20, 38, 0.4);
  transition: var(--transition-medium);
  overflow: hidden;
  cursor: pointer;
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cta-icon {
  color: var(--color-gold-muted);
  font-size: 0.9rem;
  transition: transform var(--transition-fast);
}

.cta-arrow {
  color: var(--color-gold-muted);
  transition: transform var(--transition-fast);
}

.cta-primary:hover {
  border-color: var(--color-gold-muted);
  box-shadow: 
    0 6px 30px rgba(107, 20, 38, 0.5),
    inset 0 0 25px rgba(197, 160, 89, 0.2);
  transform: translateY(-2px);
  color: #ffffff;
}

.cta-primary:hover .cta-arrow {
  transform: translateX(4px);
  color: #ffffff;
}

.cta-primary:hover .cta-icon {
  transform: rotate(90deg);
}

/* Corner Border Details for Primary CTA */
.cta-border {
  position: absolute;
  background-color: var(--color-gold-muted);
  transition: var(--transition-fast);
}

.cta-border-t { top: 0; left: 0; width: 8px; height: 2px; }
.cta-border-r { top: 0; right: 0; width: 2px; height: 8px; }
.cta-border-b { bottom: 0; right: 0; width: 8px; height: 2px; }
.cta-border-l { bottom: 0; left: 0; width: 2px; height: 8px; }

/* --- Secondary CTA Button --- */
.cta-secondary {
  position: relative;
  display: inline-block;
  padding: 1.1rem 2rem;
  background: transparent;
  color: var(--color-parchment);
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  border: 1px solid rgba(200, 190, 172, 0.2);
  transition: var(--transition-medium);
  cursor: pointer;
}

.cta-secondary .cta-inner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cta-secondary:hover {
  border-color: var(--color-parchment);
  color: var(--color-bone);
  background-color: rgba(200, 190, 172, 0.05);
  transform: translateY(-2px);
}

.cta-secondary:hover .cta-arrow {
  transform: translateX(4px);
  color: var(--color-bone);
}

/* --- Archive Reference Tag --- */
.archive-ref {
  position: absolute;
  bottom: 2.5rem;
  left: 4rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-family: var(--font-title);
  opacity: 0; /* GSAP animate */
}

.archive-label {
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: var(--color-parchment-dark);
}

.archive-number {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-gold-muted);
}

/* --- Scroll Indicator --- */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: 4rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0; /* GSAP animate */
  cursor: pointer;
}

.scroll-text {
  font-family: var(--font-title);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  color: var(--color-parchment-dark);
}

.scroll-line {
  width: 1px;
  height: 35px;
  background-color: rgba(200, 190, 172, 0.15);
  position: relative;
  overflow: hidden;
}

.scroll-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, var(--color-gold-muted), var(--color-burgundy-light));
  animation: scrollAnim 2.2s infinite ease-in-out;
}

@keyframes scrollAnim {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(100%); }
  100% { transform: translateY(200%); }
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
  .nav {
    padding: 0 2rem;
  }
  .nav-links {
    display: none; /* Mobile menu can be expanded if needed */
  }
  .sigil {
    width: 80px;
    height: 80px;
  }
  .sigil-tl { top: 6rem; left: 1rem; }
  .sigil-tr { top: 6rem; right: 1rem; }
  .sigil-bl { bottom: 1rem; left: 1rem; }
  .sigil-br { bottom: 1rem; right: 1rem; }
  
  .archive-ref {
    display: none;
  }
  .scroll-indicator {
    right: 2rem;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .about-section {
    padding: 4rem 1.5rem;
  }
  
  .annotation {
    display: none; /* Hide floating callouts on small mobile for clean responsive layout */
  }
}

/* ==========================================================================
   WHAT IS EVIL EYE? — Editorial Academic Section
   ========================================================================== */
.about-section {
  position: relative;
  width: 100%;
  padding: 8rem 4rem;
  background-color: #080708;
  border-top: 1px solid rgba(197, 160, 89, 0.15);
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
  overflow: hidden;
  z-index: 10;
}

.about-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
  align-items: center;
}

/* --- Left Column: Manuscript Frame & Visuals --- */
.about-visual {
  position: relative;
  width: 100%;
}

.manuscript-frame {
  position: relative;
  width: 100%;
  border-radius: 4px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(74, 14, 23, 0.3) 0%, rgba(11, 9, 10, 0.8) 100%);
  border: 1px solid rgba(197, 160, 89, 0.3);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(107, 20, 38, 0.25),
    inset 0 0 20px rgba(0, 0, 0, 0.7);
}

.manuscript-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  filter: contrast(1.1) brightness(0.9) sepia(0.2);
  border: 1px solid rgba(197, 160, 89, 0.15);
  transition: transform 0.6s ease-out;
}

.manuscript-overlay {
  position: absolute;
  inset: 12px;
  background: radial-gradient(circle at center, transparent 40%, rgba(7, 6, 6, 0.6) 100%);
  pointer-events: none;
}

/* --- Handwritten Annotations --- */
.annotation {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
  font-family: var(--font-sub);
}

.annot-box {
  background: rgba(11, 9, 10, 0.88);
  backdrop-filter: blur(6px);
  border: 1px dashed rgba(197, 160, 89, 0.4);
  padding: 0.4rem 0.75rem;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.annot-tag {
  font-family: var(--font-title);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  color: var(--color-gold-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.annot-val {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.8rem;
  color: var(--color-bone);
  letter-spacing: 0.05em;
}

.annot-line {
  width: 25px;
  height: 1px;
  background: linear-gradient(to right, var(--color-gold-muted), transparent);
}

.annotation-source { top: 12%; left: -6%; }
.annotation-origin { top: 38%; right: -8%; }
.annotation-origin .annot-line { order: 2; background: linear-gradient(to left, var(--color-gold-muted), transparent); }
.annotation-origin .annot-box { order: 1; }

.annotation-confidence { bottom: 22%; left: -5%; }
.annotation-tradition { bottom: 8%; right: -6%; }
.annotation-tradition .annot-line { order: 2; background: linear-gradient(to left, var(--color-gold-muted), transparent); }
.annotation-tradition .annot-box { order: 1; }

/* Archival Stamp */
.archival-stamp {
  position: absolute;
  bottom: 25px;
  right: 25px;
  width: 90px;
  height: 90px;
  color: rgba(197, 160, 89, 0.65);
  transform: rotate(-12deg);
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}

.stamp-svg {
  width: 100%;
  height: 100%;
}

/* --- Right Column: Academic Editorial Text Content --- */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-meta-tag {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-title);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--color-gold-muted);
}

.tag-accent {
  font-size: 0.8rem;
  color: var(--color-burgundy-light);
}

.about-title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-bone);
  line-height: 1.2;
}

.editorial-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin-top: -0.5rem;
  margin-bottom: 0.5rem;
}

.ed-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--color-gold-dim), transparent);
}

.ed-diamond {
  font-size: 0.7rem;
  color: var(--color-gold-muted);
}

.about-main-statement {
  font-family: var(--font-sub);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.55;
  color: #F4E8C1;
  padding-left: 1.5rem;
  border-left: 2px solid var(--color-gold-muted);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.about-supporting {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-parchment);
  letter-spacing: 0.02em;
}

/* --- Concept Triad Breakdown (Editorial Academic Layout) --- */
.concept-triad {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(197, 160, 89, 0.2);
}

.concept-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1.25rem;
  background: rgba(11, 9, 10, 0.4);
  border-left: 1px solid rgba(197, 160, 89, 0.25);
  transition: var(--transition-medium);
}

.concept-item:hover {
  background: rgba(74, 14, 23, 0.15);
  border-left-color: var(--color-gold-muted);
  transform: translateX(4px);
}

.concept-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.concept-num {
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-gold-muted);
}

.concept-title {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-bone);
  text-transform: uppercase;
}

.concept-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-parchment);
  padding-left: 2rem;
}

/* ==========================================================================
   WHAT IS DOCUMENTED — Dark Museum Archive Layout
   ========================================================================== */

.documented-section {
  position: relative;
  width: 100%;
  padding: 8rem 4rem;
  background-color: #050404;
  background-image: 
    radial-gradient(circle at 50% 20%, rgba(74, 14, 23, 0.18) 0%, transparent 60%),
    radial-gradient(circle at 50% 80%, rgba(197, 160, 89, 0.05) 0%, transparent 70%);
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  overflow: hidden;
  z-index: 10;
}

.documented-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: url('paper_texture.png');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  mix-blend-mode: color-dodge;
  pointer-events: none;
  filter: contrast(1.3) brightness(0.3);
}

.documented-container {
  max-width: 1350px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

/* --- Section Header --- */
.documented-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.archival-classification-tag {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

.archival-classification-tag .tag-line {
  width: 50px;
  height: 1px;
  background: var(--color-gold-dim);
}

.archival-classification-tag .tag-label {
  font-family: var(--font-title);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: var(--color-gold-muted);
  text-transform: uppercase;
}

.documented-title {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--color-bone);
  line-height: 1.15;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.documented-subtitle {
  font-family: var(--font-sub);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-style: italic;
  font-weight: 500;
  color: #E6C687;
  letter-spacing: 0.05em;
  max-width: 800px;
  margin-top: 0.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 12px rgba(197, 160, 89, 0.2);
}

/* --- Editorial Panels Grid --- */
.editorial-panels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  width: 100%;
}

/* --- Individual Editorial Panel --- */
.editorial-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 12, 14, 0.95) 0%, rgba(9, 7, 8, 0.98) 100%);
  border: 1px solid rgba(197, 160, 89, 0.25);
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.85),
    0 0 25px rgba(74, 14, 23, 0.15),
    inset 0 0 30px rgba(0, 0, 0, 0.8);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease, box-shadow 0.5s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.editorial-panel:hover {
  transform: translateY(-8px);
  border-color: rgba(197, 160, 89, 0.6);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.95),
    0 0 35px rgba(107, 20, 38, 0.35),
    inset 0 0 40px rgba(197, 160, 89, 0.05);
}

.panel-inner {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

/* Panel Header */
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
  padding-bottom: 0.8rem;
}

.panel-archival-num {
  font-family: var(--font-title);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--color-parchment-dark);
}

.panel-brass-tag {
  font-family: var(--font-title);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--color-gold-muted);
  background: rgba(74, 14, 23, 0.4);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 1px;
}

/* Panel Frame & Illustration */
.panel-frame {
  position: relative;
  width: 100%;
  padding: 8px;
  background: rgba(7, 6, 6, 0.9);
  border: 1px solid rgba(197, 160, 89, 0.2);
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.9);
}

.panel-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.15);
}

.panel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) brightness(0.85) sepia(0.25);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.editorial-panel:hover .panel-img {
  transform: scale(1.06);
  filter: contrast(1.15) brightness(0.95) sepia(0.15);
}

.panel-img-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(5, 4, 4, 0.7) 100%);
  pointer-events: none;
}

/* Corner Filigree Brackets */
.panel-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--color-gold-muted);
  border-style: solid;
  pointer-events: none;
  z-index: 3;
}
.panel-corner-tl { top: 4px; left: 4px; border-width: 1px 0 0 1px; }
.panel-corner-tr { top: 4px; right: 4px; border-width: 1px 1px 0 0; }
.panel-corner-bl { bottom: 4px; left: 4px; border-width: 0 0 1px 1px; }
.panel-corner-br { bottom: 4px; right: 4px; border-width: 0 1px 1px 0; }

/* Panel Content */
.panel-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

.panel-title-wrapper {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}

.panel-num-large {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--color-gold-dim);
  line-height: 1;
  opacity: 0.7;
}

.panel-title {
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-bone);
  line-height: 1.2;
}

.panel-quote {
  font-family: var(--font-sub);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  color: #D8CEBE;
  padding-left: 1rem;
  border-left: 2px solid var(--color-burgundy-light);
  flex-grow: 1;
}

.panel-footer-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--color-parchment-dark);
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(197, 160, 89, 0.15);
}

.panel-meta-sep {
  color: var(--color-gold-dim);
}

/* --- Statement Brass Plaque Callout --- */
.documented-sources-statement {
  width: 100%;
  display: flex;
  justify-content: center;
}

.statement-brass-plaque {
  position: relative;
  max-width: 950px;
  width: 100%;
  padding: 2.25rem 3.5rem;
  background: linear-gradient(135deg, rgba(28, 20, 14, 0.95) 0%, rgba(14, 10, 8, 0.98) 100%);
  border: 1px solid var(--color-gold-muted);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.85),
    inset 0 0 25px rgba(197, 160, 89, 0.12),
    inset 0 0 2px rgba(255, 255, 255, 0.1);
  text-align: center;
  border-radius: 2px;
}

.statement-text {
  font-family: var(--font-sub);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
  color: #FAF0D7;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  letter-spacing: 0.03em;
}

/* Screws on Plaque Corners */
.plaque-screw {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #8a703d;
  border-radius: 50%;
  border: 1px solid #4a3b1e;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.8);
}

.plaque-screw::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 1px;
  width: 4px;
  height: 1px;
  background: #332712;
}

.plaque-screw-tl { top: 10px; left: 12px; }
.plaque-screw-tr { top: 10px; right: 12px; }
.plaque-screw-bl { bottom: 10px; left: 12px; }
.plaque-screw-br { bottom: 10px; right: 12px; }

/* --- Subtle Horizontal Timeline --- */
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
  padding-top: 2rem;
  border-top: 1px dashed rgba(197, 160, 89, 0.2);
}

.timeline-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.timeline-tag {
  font-family: var(--font-title);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--color-gold-muted);
}

.timeline-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--color-bone);
}

.timeline-bar {
  width: 60px;
  height: 1px;
  background: var(--color-gold-dim);
  margin-top: 0.25rem;
}

/* Timeline Track & Nodes */
.timeline-track {
  position: relative;
  width: 100%;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  top: 2.75rem;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, 
    rgba(197, 160, 89, 0.1) 0%,
    rgba(197, 160, 89, 0.6) 20%,
    rgba(197, 160, 89, 0.6) 80%,
    rgba(197, 160, 89, 0.2) 100%
  );
  z-index: 1;
}

.timeline-nodes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  position: relative;
}

.node-marker {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #080708;
  border: 1px solid var(--color-gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.marker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold-muted);
  transition: background-color 0.4s ease;
}

.timeline-node:hover .node-marker {
  transform: scale(1.25);
  border-color: var(--color-gold-muted);
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.5);
}

.timeline-node-active .node-marker {
  border-color: var(--color-gold-muted);
  background: rgba(74, 14, 23, 0.8);
  box-shadow: 0 0 15px var(--color-burgundy-glow);
}

.timeline-node-active .marker-dot {
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
}

.node-date {
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-gold-muted);
  margin-top: 0.25rem;
}

.node-title {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-bone);
  line-height: 1.3;
}

.node-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--color-parchment-dark);
}

/* --- Responsive Adjustments for Documented Section --- */
@media (max-width: 1100px) {
  .editorial-panels-grid {
    grid-template-columns: 1fr;
    max-width: 650px;
    margin: 0 auto;
    gap: 3rem;
  }
  
  .timeline-nodes {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 3rem;
  }
  
  .timeline-line {
    display: none;
  }
}

@media (max-width: 768px) {
  .documented-section {
    padding: 5rem 1.5rem;
  }
  
  .statement-brass-plaque {
    padding: 1.5rem 1.5rem;
  }
  
  .timeline-nodes {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   THE GRIMOIRE — Interactive Digital Research Library Archive
   ========================================================================== */

.grimoire-section {
  position: relative;
  width: 100%;
  padding: 8rem 4rem;
  background-color: #060506;
  background-image: 
    radial-gradient(circle at 50% 10%, rgba(107, 20, 38, 0.2) 0%, transparent 65%),
    radial-gradient(circle at 20% 80%, rgba(197, 160, 89, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(74, 14, 23, 0.15) 0%, transparent 50%);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  overflow: hidden;
  z-index: 10;
}

.grimoire-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: url('paper_texture.png');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  mix-blend-mode: color-dodge;
  pointer-events: none;
  filter: contrast(1.2) brightness(0.3);
}

.grimoire-container {
  max-width: 1350px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* --- Header --- */
.grimoire-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.grimoire-title {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--color-bone);
  line-height: 1.15;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9);
}

.grimoire-subtitle {
  font-family: var(--font-sub);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-style: italic;
  font-weight: 500;
  color: #E6C687;
  letter-spacing: 0.05em;
  max-width: 800px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 12px rgba(197, 160, 89, 0.2);
}

/* --- Research Console & Filter Console --- */
.grimoire-console {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(14, 11, 13, 0.95) 0%, rgba(9, 7, 8, 0.98) 100%);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 2.25rem;
  border-radius: 3px;
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.85),
    inset 0 0 25px rgba(0, 0, 0, 0.9),
    inset 0 0 1px rgba(197, 160, 89, 0.2);
}

/* Search Bar Wrapper */
.console-search-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 1.5rem;
  font-size: 1.1rem;
  color: var(--color-gold-muted);
  pointer-events: none;
}

.grimoire-search-input {
  width: 100%;
  padding: 1.1rem 3.5rem;
  background: rgba(6, 5, 6, 0.9);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 2px;
  color: var(--color-bone);
  font-family: var(--font-body);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.8);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.grimoire-search-input:focus {
  outline: none;
  border-color: var(--color-gold-muted);
  box-shadow: 
    0 0 20px rgba(197, 160, 89, 0.25),
    inset 0 2px 10px rgba(0, 0, 0, 0.9);
}

.grimoire-search-input::placeholder {
  color: var(--color-parchment-dark);
  font-style: italic;
}

.search-clear-btn {
  position: absolute;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--color-parchment-dark);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.search-clear-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.search-clear-btn:hover {
  color: var(--color-bone);
}

/* Filter Controls Row */
.console-filters-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(197, 160, 89, 0.15);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-label {
  font-family: var(--font-title);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--color-gold-muted);
  font-weight: 700;
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.filter-select {
  width: 100%;
  padding: 0.7rem 2.2rem 0.7rem 1rem;
  background: rgba(6, 5, 6, 0.85);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: 2px;
  color: var(--color-parchment);
  font-family: var(--font-title);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.filter-select:focus, .filter-select:hover {
  outline: none;
  border-color: var(--color-gold-muted);
  color: var(--color-bone);
}

.select-arrow {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.65rem;
  color: var(--color-gold-dim);
  pointer-events: none;
}

/* Category Tabs Row */
.console-tabs-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(197, 160, 89, 0.15);
}

.category-tab {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.4rem;
  background: rgba(6, 5, 6, 0.6);
  border: 1px solid rgba(197, 160, 89, 0.2);
  color: var(--color-parchment-dark);
  font-family: var(--font-title);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-parchment-dark);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.category-tab:hover {
  border-color: var(--color-gold-muted);
  color: var(--color-bone);
  background: rgba(74, 14, 23, 0.3);
}

.category-tab.active {
  background: linear-gradient(135deg, rgba(74, 14, 23, 0.7) 0%, rgba(30, 6, 10, 0.9) 100%);
  border-color: var(--color-gold-muted);
  color: var(--color-bone);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.category-tab.active .tab-dot {
  background: var(--color-gold-muted);
  box-shadow: 0 0 6px var(--color-gold-muted);
}

/* --- Grimoire Cards Grid --- */
.grimoire-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  width: 100%;
}

/* --- Archive Card --- */
.grimoire-card {
  position: relative;
  background: linear-gradient(180deg, rgba(14, 11, 13, 0.95) 0%, rgba(8, 6, 7, 0.98) 100%);
  border: 1px solid rgba(197, 160, 89, 0.22);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.8),
    inset 0 0 20px rgba(0, 0, 0, 0.9);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease, box-shadow 0.5s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.grimoire-card:hover {
  transform: translateY(-8px);
  border-color: rgba(197, 160, 89, 0.65);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.95),
    0 0 30px rgba(107, 20, 38, 0.4),
    inset 0 0 30px rgba(197, 160, 89, 0.08);
}

.card-inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
}

/* Card Archival Top Bar */
.card-archival-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

.card-archival-num {
  font-family: var(--font-title);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--color-gold-muted);
}

.card-type-badge {
  font-family: var(--font-title);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--color-parchment);
  background: rgba(74, 14, 23, 0.45);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 1px;
}

/* Card Media (Revealing Image Frame) */
.card-media {
  position: relative;
  width: 100%;
}

.media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.2);
  background: #050405;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) brightness(0.65) sepia(0.35);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.grimoire-card:hover .card-img {
  transform: scale(1.08);
  filter: contrast(1.18) brightness(0.95) sepia(0.15);
}

.card-media-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(5, 4, 5, 0.75) 100%);
  pointer-events: none;
}

/* Card Body Content */
.card-body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex-grow: 1;
}

.card-meta-top {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: transform 0.4s ease;
}

.grimoire-card:hover .card-meta-top {
  transform: translateY(-2px);
}

.meta-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-sub);
  font-size: 0.88rem;
  line-height: 1.3;
}

.meta-label {
  font-family: var(--font-title);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--color-gold-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.meta-value {
  color: var(--color-parchment);
}

.card-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-bone);
  line-height: 1.2;
  transition: color 0.3s ease;
}

.grimoire-card:hover .card-title {
  color: #FFFFFF;
  text-shadow: 0 0 12px rgba(197, 160, 89, 0.4);
}

.card-summary {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-parchment-dark);
  flex-grow: 1;
}

/* Card Footer & Hover Action */
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(197, 160, 89, 0.15);
  margin-top: auto;
}

.confidence-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-title);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
}

.confidence-high { color: var(--color-gold-muted); }
.confidence-verified { color: #59c58b; }

.conf-dot { font-size: 0.65rem; }

.read-entry-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--color-gold-muted);
  text-decoration: none;
  opacity: 0.7;
  transform: translateX(0);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

.grimoire-card:hover .read-entry-btn {
  opacity: 1;
  color: #FFFFFF;
  transform: translateX(3px);
}

.read-arrow {
  transition: transform 0.3s ease;
}

.grimoire-card:hover .read-arrow {
  transform: translateX(4px);
  color: var(--color-gold-muted);
}

/* --- No Results Message --- */
.no-results-msg {
  width: 100%;
  padding: 4rem 2rem;
  text-align: center;
  background: rgba(14, 11, 13, 0.8);
  border: 1px dashed rgba(197, 160, 89, 0.3);
  border-radius: 2px;
}

.no-results-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.no-results-icon {
  font-size: 2.5rem;
  opacity: 0.7;
}

.no-results-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  color: var(--color-bone);
}

.no-results-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-parchment-dark);
}

.reset-filters-btn {
  margin-top: 0.5rem;
  padding: 0.6rem 1.4rem;
  background: rgba(74, 14, 23, 0.6);
  border: 1px solid var(--color-gold-muted);
  color: var(--color-bone);
  font-family: var(--font-title);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: var(--transition-fast);
}

.reset-filters-btn:hover {
  background: var(--color-burgundy);
  border-color: #ffffff;
}

/* --- Responsive Adjustments for Grimoire Section --- */
@media (max-width: 1100px) {
  .console-filters-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grimoire-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grimoire-section {
    padding: 5rem 1.5rem;
  }
  
  .console-filters-row {
    grid-template-columns: 1fr;
  }
  
  .grimoire-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BEYOND THE TRANSLATION — Hermeneutics & Editorial Comparison Layout
   ========================================================================== */

.translation-section {
  position: relative;
  width: 100%;
  padding: 8rem 4rem;
  background-color: #070506;
  background-image: 
    radial-gradient(circle at 50% 30%, rgba(140, 36, 56, 0.22) 0%, transparent 65%),
    radial-gradient(circle at 50% 90%, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  overflow: hidden;
  z-index: 10;
}

.translation-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: url('paper_texture.png');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  mix-blend-mode: color-dodge;
  pointer-events: none;
  filter: contrast(1.3) brightness(0.35);
}

.translation-container {
  max-width: 1350px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

/* --- Header & Main Statement --- */
.translation-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.translation-title {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--color-bone);
  line-height: 1.15;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9);
}

.translation-main-statement {
  font-family: var(--font-sub);
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-style: italic;
  font-weight: 500;
  color: #FAF0D7;
  max-width: 900px;
  line-height: 1.5;
  padding: 1.25rem 2rem;
  border-left: 2px solid var(--color-burgundy-light);
  border-right: 2px solid var(--color-burgundy-light);
  background: rgba(14, 10, 12, 0.6);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 15px rgba(140, 36, 56, 0.3);
}

/* --- Comparison Showcase Container --- */
.comparison-showcase {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
}

/* Nav Switcher Buttons */
.comparison-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.comp-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.9rem 2.2rem;
  background: rgba(12, 9, 10, 0.8);
  border: 1px solid rgba(197, 160, 89, 0.25);
  color: var(--color-parchment-dark);
  cursor: pointer;
  transition: all 0.4s ease;
  border-radius: 2px;
}

.nav-num {
  font-family: var(--font-title);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--color-gold-muted);
}

.nav-term {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-parchment);
}

.comp-nav-btn:hover {
  border-color: var(--color-gold-muted);
  color: var(--color-bone);
  background: rgba(74, 14, 23, 0.25);
}

.comp-nav-btn.active {
  background: linear-gradient(135deg, rgba(74, 14, 23, 0.85) 0%, rgba(28, 6, 10, 0.95) 100%);
  border-color: var(--color-gold-muted);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(140, 36, 56, 0.35);
}

.comp-nav-btn.active .nav-term {
  color: #FFFFFF;
}

/* Comparison Block */
.comparison-block {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
}

/* Hero Display: Side by Side Dual Manuscript */
.comparison-hero-display {
  display: grid;
  grid-template-columns: 1fr 180px 1fr;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
}

.comp-side {
  position: relative;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-radius: 2px;
  height: 100%;
}

.comp-left {
  background: linear-gradient(145deg, rgba(16, 12, 14, 0.95) 0%, rgba(9, 7, 8, 0.98) 100%);
  border: 1px solid rgba(197, 160, 89, 0.35);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.85),
    inset 0 0 25px rgba(197, 160, 89, 0.05);
}

.comp-right {
  background: linear-gradient(145deg, rgba(14, 10, 11, 0.85) 0%, rgba(8, 6, 7, 0.92) 100%);
  border: 1px dashed rgba(197, 160, 89, 0.2);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9);
  opacity: 0.85;
}

.comp-category-tag {
  font-family: var(--font-title);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  color: var(--color-gold-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.comp-right .comp-category-tag {
  color: var(--color-parchment-dark);
}

/* Term Original Wrapper (Left Side) */
.term-original-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  position: relative;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.native-script {
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--color-gold-muted);
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
}

.term-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--color-bone);
}

.phonetic {
  font-family: var(--font-sub);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--color-parchment);
}

/* Term Flattened Wrapper (Right Side) */
.term-flattened-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgba(197, 160, 89, 0.15);
}

.western-script {
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: rgba(200, 190, 172, 0.4);
}

.term-title-flattened {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--color-parchment-dark);
  text-decoration: line-through;
  text-decoration-color: rgba(200, 30, 56, 0.7);
}

/* Traits List */
.term-traits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-parchment);
}

.trait-bullet {
  color: var(--color-gold-muted);
  margin-right: 0.5rem;
}

.traits-flattened .trait-bullet {
  color: #ff3b56;
}

.traits-flattened li {
  color: var(--color-parchment-dark);
}

/* Central Divider with Glowing Crimson ≠ Symbol */
.comp-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
  position: relative;
}

.divider-line-v {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--color-gold-dim), transparent);
}

.not-equal-badge {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(30, 6, 10, 0.95) 0%, rgba(14, 4, 6, 0.98) 100%);
  border: 1.5px solid #ff3b56;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 0 25px rgba(200, 30, 56, 0.6),
    inset 0 0 15px rgba(200, 30, 56, 0.4);
  animation: notEqualPulse 3s infinite ease-in-out;
}

.not-equal-symbol {
  font-family: var(--font-title);
  font-size: 2.4rem;
  font-weight: bold;
  color: #ff4d66;
  text-shadow: 
    0 0 12px #ff3b56,
    0 0 25px rgba(255, 59, 86, 0.8);
  line-height: 1;
}

@keyframes notEqualPulse {
  0% {
    box-shadow: 0 0 20px rgba(200, 30, 56, 0.5), inset 0 0 15px rgba(200, 30, 56, 0.3);
    border-color: #ff3b56;
  }
  50% {
    box-shadow: 0 0 35px rgba(255, 59, 86, 0.85), inset 0 0 25px rgba(255, 59, 86, 0.6);
    border-color: #ff6b81;
  }
  100% {
    box-shadow: 0 0 20px rgba(200, 30, 56, 0.5), inset 0 0 15px rgba(200, 30, 56, 0.3);
    border-color: #ff3b56;
  }
}

.not-equal-label {
  font-family: var(--font-title);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  color: #ff6b81;
  font-weight: 700;
}

/* Explanation Plaque */
.comp-explanation-card {
  display: flex;
  gap: 1.75rem;
  padding: 2.25rem 2.75rem;
  background: linear-gradient(135deg, rgba(22, 16, 18, 0.95) 0%, rgba(12, 9, 10, 0.98) 100%);
  border: 1px solid var(--color-gold-muted);
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.85),
    inset 0 0 20px rgba(197, 160, 89, 0.1);
  border-radius: 2px;
}

.explanation-icon {
  font-size: 2.2rem;
  color: var(--color-gold-muted);
  opacity: 0.85;
}

.explanation-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.explanation-lead {
  font-family: var(--font-sub);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 600;
  color: #FAF0D7;
  line-height: 1.45;
}

.explanation-body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-parchment);
}

/* Source References */
.source-references {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.5rem 2rem;
  background: rgba(8, 6, 7, 0.7);
  border: 1px dashed rgba(197, 160, 89, 0.2);
  border-radius: 2px;
}

.ref-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-title);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  color: var(--color-gold-muted);
  font-weight: 700;
}

.ref-list {
  padding-left: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-parchment-dark);
}

.ref-list li {
  margin-bottom: 0.4rem;
}

.ref-list strong {
  color: var(--color-parchment);
}

/* Responsive Adjustments */
@media (max-width: 1050px) {
  .comparison-hero-display {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .divider-line-v {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-gold-dim), transparent);
  }
}

@media (max-width: 768px) {
  .translation-section {
    padding: 5rem 1.5rem;
  }
  
  .comp-explanation-card {
    padding: 1.5rem;
    flex-direction: column;
  }
}

/* ==========================================================================
   EVERY STORY HAS A SOURCE — Research Database & Evidence Map
   ========================================================================== */

.source-section {
  position: relative;
  width: 100%;
  padding: 8rem 4rem;
  background-color: #050405;
  background-image: 
    radial-gradient(circle at 30% 20%, rgba(197, 160, 89, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(74, 14, 23, 0.15) 0%, transparent 60%);
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  overflow: hidden;
  z-index: 10;
}

.source-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: url('paper_texture.png');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  mix-blend-mode: color-dodge;
  pointer-events: none;
  filter: contrast(1.2) brightness(0.3);
}

.source-container {
  max-width: 1350px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

/* --- Header --- */
.source-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.source-title {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--color-bone);
  line-height: 1.15;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9);
}

.source-subtitle {
  font-family: var(--font-sub);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-style: italic;
  font-weight: 500;
  color: #E6C687;
  letter-spacing: 0.05em;
  max-width: 800px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 12px rgba(197, 160, 89, 0.2);
}

/* --- Upper Grid: Research Panel & Provenance Breakdown --- */
.source-upper-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3.5rem;
  align-items: stretch;
  width: 100%;
}

/* Dossier Card (Left Column) */
.research-dossier-card {
  position: relative;
  background: linear-gradient(145deg, rgba(16, 12, 14, 0.95) 0%, rgba(9, 7, 8, 0.98) 100%);
  border: 1px solid rgba(197, 160, 89, 0.35);
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.85),
    inset 0 0 30px rgba(0, 0, 0, 0.9),
    inset 0 0 2px rgba(197, 160, 89, 0.2);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  border-radius: 2px;
}

.dossier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.dossier-tag {
  font-family: var(--font-title);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--color-gold-muted);
  font-weight: 700;
}

.dossier-ref {
  font-family: var(--font-title);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--color-parchment-dark);
}

.dossier-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex-grow: 1;
}

.dossier-field {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed rgba(197, 160, 89, 0.15);
}

.field-label {
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-gold-muted);
  font-weight: 700;
}

.field-value {
  font-family: var(--font-sub);
  font-size: 1.15rem;
  color: var(--color-bone);
  letter-spacing: 0.04em;
}

.field-value-highlight {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #FFFFFF;
  text-shadow: 0 0 10px rgba(197, 160, 89, 0.4);
}

.confidence-tag-high {
  font-family: var(--font-title);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--color-gold-muted);
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 1px;
}

.dossier-footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.dossier-stamp {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-title);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--color-gold-dim);
}

/* Provenance Breakdown (Right Column) */
.provenance-breakdown {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Confidence Visualization Card */
.confidence-viz-card {
  background: linear-gradient(135deg, rgba(14, 11, 13, 0.92) 0%, rgba(8, 6, 7, 0.96) 100%);
  border: 1px solid rgba(197, 160, 89, 0.25);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-radius: 2px;
}

.viz-title {
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--color-gold-muted);
  font-weight: 700;
}

.confidence-levels-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.conf-level-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.level-bar-fill {
  width: 100%;
  height: 4px;
  background: rgba(197, 160, 89, 0.15);
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}

.level-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 2px;
}

.level-high .level-bar-fill::after {
  width: 94%;
  background: linear-gradient(to right, #8a703d, #c5a059);
  box-shadow: 0 0 8px rgba(197, 160, 89, 0.6);
}

.level-medium .level-bar-fill::after {
  width: 75%;
  background: linear-gradient(to right, #6b5220, #a8833e);
}

.level-disputed .level-bar-fill::after {
  width: 45%;
  background: linear-gradient(to right, #8c1d2c, #ff3b56);
  box-shadow: 0 0 8px rgba(255, 59, 86, 0.5);
}

.level-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-title);
}

.level-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-bone);
}

.level-high .level-name { color: var(--color-gold-muted); }
.level-medium .level-name { color: #a8833e; }
.level-disputed .level-name { color: #ff3b56; }

.level-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--color-parchment-dark);
}

.disputed-quote {
  font-family: var(--font-sub);
  font-size: 1.15rem;
  font-style: italic;
  color: #FAF0D7;
  padding-left: 1rem;
  border-left: 2px solid #ff3b56;
  margin-top: 0.25rem;
}

/* Source Classification List Card */
.source-list-card {
  background: linear-gradient(135deg, rgba(14, 11, 13, 0.92) 0%, rgba(8, 6, 7, 0.96) 100%);
  border: 1px solid rgba(197, 160, 89, 0.25);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-radius: 2px;
}

.source-list-title {
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--color-gold-muted);
  font-weight: 700;
}

.taxonomy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.taxonomy-list li {
  display: grid;
  grid-template-columns: 40px 180px 1fr;
  align-items: baseline;
  gap: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed rgba(197, 160, 89, 0.12);
}

.taxonomy-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tax-num {
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gold-muted);
}

.tax-name {
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-bone);
}

.tax-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--color-parchment-dark);
}

/* --- Evidence Map (Entity → Claim → Source Graph) --- */
.evidence-map-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(12, 9, 11, 0.96) 0%, rgba(6, 4, 5, 0.98) 100%);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 2.5rem;
  border-radius: 3px;
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.85),
    inset 0 0 30px rgba(0, 0, 0, 0.9);
}

.map-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.map-tag {
  font-family: var(--font-title);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--color-gold-muted);
}

.map-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--color-bone);
}

.map-subtitle {
  font-family: var(--font-sub);
  font-size: 1rem;
  font-style: italic;
  color: var(--color-parchment);
}

/* Evidence Map Display Grid */
.evidence-map-display {
  position: relative;
  width: 100%;
  padding: 2rem 0;
  min-height: 420px;
}

.evidence-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.map-columns {
  display: grid;
  grid-template-columns: 240px 1fr 280px;
  gap: 4rem;
  position: relative;
  z-index: 2;
  align-items: center;
}

.map-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.map-col-label {
  font-family: var(--font-title);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--color-gold-muted);
  font-weight: 700;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  padding-bottom: 0.5rem;
}

/* Map Nodes */
.map-node {
  background: rgba(14, 11, 13, 0.95);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 1.25rem 1.5rem;
  border-radius: 2px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.map-node:hover {
  transform: scale(1.03);
  border-color: var(--color-gold-muted);
  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.95),
    0 0 15px rgba(197, 160, 89, 0.3);
}

.map-node-entity {
  background: linear-gradient(135deg, rgba(74, 14, 23, 0.6) 0%, rgba(14, 11, 13, 0.95) 100%);
  border-color: var(--color-gold-muted);
  text-align: center;
  padding: 2rem 1.5rem;
}

.node-badge {
  font-family: var(--font-title);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--color-gold-muted);
  margin-bottom: 0.4rem;
}

.map-node-entity .node-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #FFFFFF;
}

.node-sub {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--color-parchment);
}

.claim-tag {
  font-family: var(--font-title);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--color-gold-muted);
  font-weight: 700;
}

.claim-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--color-bone);
  margin-top: 0.2rem;
}

.source-cat-badge {
  font-family: var(--font-title);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--color-gold-muted);
  background: rgba(197, 160, 89, 0.1);
  padding: 0.15rem 0.4rem;
  border-radius: 1px;
  display: inline-block;
  margin-bottom: 0.3rem;
}

.source-name {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-bone);
}

.source-detail {
  font-family: var(--font-sub);
  font-size: 0.82rem;
  font-style: italic;
  color: var(--color-parchment-dark);
  display: block;
}

/* Responsive Adjustments for Source Section */
@media (max-width: 1100px) {
  .source-upper-grid {
    grid-template-columns: 1fr;
  }
  
  .map-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .evidence-map-svg {
    display: none;
  }
}

@media (max-width: 768px) {
  .source-section {
    padding: 5rem 1.5rem;
  }
  
  .taxonomy-list li {
    grid-template-columns: 30px 1fr;
  }
  .tax-desc {
    grid-column: span 2;
  }
}

/* ==========================================================================
   A WORLD OF THE UNSEEN — Scholarly Cartography & Atlas Section
   ========================================================================== */

.atlas-section {
  position: relative;
  width: 100%;
  padding: 8rem 4rem;
  background-color: #040304;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(74, 14, 23, 0.18) 0%, transparent 70%),
    radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.06) 0%, transparent 50%);
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  overflow: hidden;
  z-index: 10;
}

.atlas-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: url('paper_texture.png');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  mix-blend-mode: color-dodge;
  pointer-events: none;
  filter: contrast(1.2) brightness(0.3);
}

.atlas-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

/* --- Header --- */
.atlas-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.atlas-title {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--color-bone);
  line-height: 1.15;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9);
}

.atlas-subtitle {
  font-family: var(--font-sub);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-style: italic;
  font-weight: 500;
  color: #E6C687;
  letter-spacing: 0.05em;
  max-width: 800px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 12px rgba(197, 160, 89, 0.2);
}

/* --- Atlas Display Grid --- */
.atlas-display-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 3rem;
  align-items: stretch;
  width: 100%;
}

/* Map Display Container */
.atlas-map-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, rgba(12, 9, 11, 0.96) 0%, rgba(6, 4, 5, 0.98) 100%);
  border: 1px solid rgba(197, 160, 89, 0.35);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.9),
    inset 0 0 40px rgba(0, 0, 0, 0.95);
  border-radius: 2px;
  overflow: hidden;
}

.atlas-compass {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 60px;
  height: 60px;
  color: rgba(197, 160, 89, 0.4);
  pointer-events: none;
  z-index: 3;
}

.compass-svg {
  width: 100%;
  height: 100%;
}

.atlas-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(197, 160, 89, 0.04) 1px, transparent 0);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 2;
}

.world-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.world-map-svg path {
  filter: drop-shadow(0 0 5px rgba(197, 160, 89, 0.25));
  transition: fill 0.3s ease, stroke 0.3s ease;
}

.world-map-svg path:hover {
  fill: rgba(197, 160, 89, 0.18);
  stroke: #E6C687;
}

/* --- Map Markers Layer & Pins --- */
.map-markers-layer {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.map-marker-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  background: transparent;
  border: none;
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  outline: none;
}

.pin-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff3b56;
  border: 1.5px solid #ffffff;
  box-shadow: 
    0 0 10px #ff3b56,
    0 0 20px rgba(255, 59, 86, 0.8);
  transition: transform 0.3s ease, background-color 0.3s ease;
  z-index: 2;
}

.pin-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 59, 86, 0.6);
  animation: pinPulseAnim 2.5s infinite ease-in-out;
  z-index: 1;
}

@keyframes pinPulseAnim {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

.pin-label {
  font-family: var(--font-title);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-parchment);
  background: rgba(8, 6, 7, 0.85);
  border: 1px solid rgba(197, 160, 89, 0.25);
  padding: 0.15rem 0.5rem;
  border-radius: 1px;
  white-space: nowrap;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.map-marker-pin:hover .pin-dot,
.map-marker-pin.active .pin-dot {
  transform: scale(1.4);
  background: #ffffff;
  box-shadow: 0 0 15px #ff3b56, 0 0 25px #ffffff;
}

.map-marker-pin:hover .pin-label,
.map-marker-pin.active .pin-label {
  color: #ffffff;
  border-color: var(--color-gold-muted);
  background: rgba(74, 14, 23, 0.9);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

/* --- Region Archival Dossier Side Panel --- */
.atlas-dossier-panel {
  background: linear-gradient(145deg, rgba(16, 12, 14, 0.96) 0%, rgba(8, 6, 7, 0.98) 100%);
  border: 1px solid rgba(197, 160, 89, 0.35);
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.9),
    inset 0 0 25px rgba(0, 0, 0, 0.9);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 2px;
}

.dossier-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.dossier-cat-badge {
  font-family: var(--font-title);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--color-gold-muted);
  font-weight: 700;
}

.dossier-coord {
  font-family: var(--font-title);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--color-parchment-dark);
}

.dossier-content-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem 0;
}

.region-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--color-bone);
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}

.dossier-divider {
  width: 50px;
  height: 1px;
  background: var(--color-gold-muted);
}

.dossier-stat-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-label {
  font-family: var(--font-title);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--color-gold-muted);
  font-weight: 700;
}

.stat-value {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  color: var(--color-parchment);
}

.stat-value-gold {
  color: #E6C687;
  font-weight: 600;
}

/* Entities Tags Grid */
.dossier-entities-block {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.entities-label {
  font-family: var(--font-title);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--color-gold-muted);
  font-weight: 700;
}

.entities-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.entity-tag {
  font-family: var(--font-title);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-bone);
  background: rgba(74, 14, 23, 0.5);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.entity-tag:hover {
  background: var(--color-burgundy);
  border-color: var(--color-gold-muted);
  transform: translateY(-2px);
}

.dossier-summary-text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-parchment-dark);
  border-top: 1px dashed rgba(197, 160, 89, 0.15);
  padding-top: 1rem;
}

.dossier-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.footer-stamp {
  font-family: var(--font-title);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--color-gold-dim);
}

.dossier-explore-btn {
  font-family: var(--font-title);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-gold-muted);
  text-decoration: none;
  transition: all 0.3s ease;
}

.dossier-explore-btn:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

/* Responsive Adjustments for Atlas Section */
@media (max-width: 1100px) {
  .atlas-display-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .atlas-section {
    padding: 5rem 1.5rem;
  }
  
  .atlas-map-wrapper {
    aspect-ratio: 4 / 3;
  }
  
  .pin-label {
    display: none;
  }
}

/* ==========================================================================
   THE GRIMOIRE IS OPEN — Parchment Document Submission & Accession Deed
   ========================================================================== */

.contribute-section {
  position: relative;
  width: 100%;
  padding: 8rem 4rem;
  background-color: #060506;
  background-image: 
    radial-gradient(circle at 50% 40%, rgba(74, 14, 23, 0.22) 0%, transparent 65%),
    radial-gradient(circle at 50% 90%, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  overflow: hidden;
  z-index: 10;
}

.contribute-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: url('paper_texture.png');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  mix-blend-mode: color-dodge;
  pointer-events: none;
  filter: contrast(1.3) brightness(0.35);
}

.contribute-container {
  max-width: 1150px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

/* Formal Parchment Accession Document Frame */
.parchment-document-frame {
  position: relative;
  background: linear-gradient(145deg, rgba(16, 12, 14, 0.96) 0%, rgba(9, 7, 8, 0.98) 100%);
  border: 1px solid rgba(197, 160, 89, 0.4);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.9),
    0 0 35px rgba(74, 14, 23, 0.25),
    inset 0 0 40px rgba(0, 0, 0, 0.92),
    inset 0 0 2px rgba(197, 160, 89, 0.3);
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  border-radius: 3px;
}

/* Filigree Corner Brackets */
.parchment-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--color-gold-muted);
  border-style: solid;
  pointer-events: none;
  z-index: 3;
}
.corner-tl { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.corner-tr { top: 10px; right: 10px; border-width: 2px 2px 0 0; }
.corner-bl { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; }
.corner-br { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }

/* Document Header */
.contribute-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.contribute-title {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--color-bone);
  line-height: 1.15;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9);
}

.contribute-subtitle {
  font-family: var(--font-sub);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-style: italic;
  font-weight: 500;
  color: #E6C687;
  letter-spacing: 0.05em;
  max-width: 800px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 12px rgba(197, 160, 89, 0.2);
}

.curation-notice-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sub);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-bone);
  background: rgba(74, 14, 23, 0.4);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 0.5rem 1.5rem;
  border-radius: 2px;
  margin-top: 0.25rem;
}

.notice-icon {
  color: var(--color-gold-muted);
  font-size: 0.85rem;
}

/* Three Contribution Paths Grid */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
}

.path-card {
  position: relative;
  background: linear-gradient(135deg, rgba(14, 11, 13, 0.92) 0%, rgba(8, 6, 7, 0.96) 100%);
  border: 1px solid rgba(197, 160, 89, 0.25);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  border-radius: 2px;
}

.path-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold-muted);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(197, 160, 89, 0.2);
}

.path-num-badge {
  font-family: var(--font-title);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--color-gold-muted);
  font-weight: 700;
}

.path-icon {
  font-size: 2rem;
  opacity: 0.9;
}

.path-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-bone);
}

.path-desc {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--color-parchment-dark);
}

.path-footer-line {
  width: 30px;
  height: 1px;
  background: var(--color-gold-dim);
  margin-top: 0.5rem;
}

/* Guidelines Box */
.contribute-guidelines-box {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: rgba(8, 6, 7, 0.7);
  border: 1px dashed rgba(197, 160, 89, 0.3);
  border-radius: 2px;
}

.guideline-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sub);
  font-size: 1.1rem;
  color: #FAF0D7;
}

.guideline-icon {
  font-size: 1rem;
  color: var(--color-gold-muted);
}

/* Action & Submission CTA Block */
.contribute-cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.contribute-btn {
  font-size: 0.9rem;
  padding: 1.25rem 3rem;
}

.secondary-contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: var(--font-title);
}

.contact-label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--color-parchment-dark);
}

.contact-email {
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  color: var(--color-gold-muted);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.contact-email:hover {
  color: #FFFFFF;
  text-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
}

/* Subtle Handwritten Signature Block */
.handwritten-signature-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.signature-line {
  width: 120px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold-dim), transparent);
}

.signature-text {
  font-family: var(--font-sub);
  font-size: 1.15rem;
  color: var(--color-parchment);
  letter-spacing: 0.05em;
}

.sig-script {
  font-family: 'Cormorant Garamond', 'EB Garamond', cursive, serif;
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 600;
  color: #FAF0D7;
  padding-left: 0.4rem;
  text-shadow: 0 0 10px rgba(197, 160, 89, 0.4);
}

.signature-sub {
  font-family: var(--font-title);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--color-parchment-dark);
  text-transform: uppercase;
}

/* Footer */
.footer {
  width: 100%;
  padding: 3rem 4rem;
  background-color: #030203;
  border-top: 1px solid rgba(197, 160, 89, 0.15);
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1350px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-logo {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--color-bone);
}

.footer-tagline {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--color-parchment-dark);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-title);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--color-parchment-dark);
}

.footer-sep {
  color: var(--color-gold-dim);
}

.footer-link {
  color: var(--color-gold-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #FFFFFF;
}

/* Responsive Adjustments */
/* ==========================================================================
   BEHIND THE GRIMOIRE — Archaeological Research Laboratory & AI Pipeline
   ========================================================================== */

.pipeline-section {
  position: relative;
  width: 100%;
  padding: 8rem 4rem;
  background-color: #040304;
  background-image: 
    radial-gradient(circle at 50% 30%, rgba(74, 14, 23, 0.18) 0%, transparent 65%),
    radial-gradient(circle at 20% 80%, rgba(197, 160, 89, 0.08) 0%, transparent 50%);
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  overflow: hidden;
  z-index: 10;
}

.pipeline-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: url('paper_texture.png');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  mix-blend-mode: color-dodge;
  pointer-events: none;
  filter: contrast(1.2) brightness(0.3);
}

.pipeline-container {
  max-width: 1350px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

/* --- Header --- */
.pipeline-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.pipeline-title {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--color-bone);
  line-height: 1.15;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9);
}

.pipeline-subtitle {
  font-family: var(--font-sub);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-style: italic;
  font-weight: 500;
  color: #E6C687;
  letter-spacing: 0.05em;
  max-width: 800px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 12px rgba(197, 160, 89, 0.2);
}

/* --- Flow Diagram Container --- */
.flow-diagram-container {
  background: linear-gradient(135deg, rgba(12, 9, 11, 0.96) 0%, rgba(6, 4, 5, 0.98) 100%);
  border: 1px solid rgba(197, 160, 89, 0.35);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.9),
    inset 0 0 40px rgba(0, 0, 0, 0.95);
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  border-radius: 3px;
  position: relative;
}

.diagram-label-top {
  font-family: var(--font-title);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--color-gold-muted);
  font-weight: 700;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  padding-bottom: 0.5rem;
}

/* Steps Grid / Flex */
.flow-diagram-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 1rem;
}

.flow-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  flex: 1;
  position: relative;
}

.node-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(14, 11, 13, 0.95);
  border: 1px solid var(--color-gold-muted);
  box-shadow: 
    0 0 15px rgba(197, 160, 89, 0.25),
    inset 0 0 10px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 900;
  color: #FFFFFF;
  transition: all 0.3s ease;
}

.flow-step-node:hover .node-circle {
  transform: scale(1.12);
  border-color: #FFFFFF;
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.6);
}

.node-archive .node-circle {
  background: linear-gradient(135deg, var(--color-burgundy) 0%, rgba(14, 11, 13, 0.95) 100%);
  border-color: var(--color-gold-muted);
}

.node-title {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-bone);
}

.node-sub {
  font-family: var(--font-title);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: var(--color-parchment-dark);
}

/* Connector Arrow */
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-muted);
  font-size: 1.2rem;
  padding: 0 0.5rem;
}

.arrow-line {
  display: none;
}

.arrow-head {
  transform: rotate(-90deg);
}

/* Statement Plaque */
.flow-statement-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
  padding: 1.5rem 2.5rem;
  background: rgba(8, 6, 7, 0.8);
  border: 1px dashed rgba(197, 160, 89, 0.25);
  border-radius: 2px;
  max-width: 900px;
}

.statement-main {
  font-family: var(--font-sub);
  font-size: 1.25rem;
  font-style: italic;
  color: #FAF0D7;
  line-height: 1.45;
}

.statement-citation-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--color-gold-muted);
  font-weight: 700;
}

/* --- Features Grid --- */
.pipeline-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  width: 100%;
}

.pipeline-feature-card {
  background: linear-gradient(145deg, rgba(16, 12, 14, 0.95) 0%, rgba(8, 6, 7, 0.98) 100%);
  border: 1px solid rgba(197, 160, 89, 0.3);
  box-shadow: 
    0 18px 45px rgba(0, 0, 0, 0.85),
    inset 0 0 25px rgba(0, 0, 0, 0.9);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-radius: 2px;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.pipeline-feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold-muted);
}

.feat-highlight {
  border-color: rgba(197, 160, 89, 0.5);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(197, 160, 89, 0.15);
}

.feat-card-badge {
  font-family: var(--font-title);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  color: var(--color-gold-muted);
  font-weight: 700;
}

.feat-card-icon {
  font-size: 2rem;
  opacity: 0.9;
}

.feat-card-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--color-bone);
}

.feat-card-desc {
  font-family: var(--font-sub);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--color-parchment);
}

.feat-tech-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(197, 160, 89, 0.15);
}

.spec-tag {
  font-family: var(--font-title);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--color-parchment-dark);
  background: rgba(197, 160, 89, 0.08);
  border: 1px solid rgba(197, 160, 89, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 1px;
}

/* Responsive Adjustments for Pipeline Section */
@media (max-width: 1000px) {
  .flow-diagram-steps {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .arrow-head {
    transform: rotate(0deg);
  }
  
  .pipeline-features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pipeline-section {
    padding: 5rem 1.5rem;
  }
  
  .flow-diagram-container {
    padding: 2rem 1.25rem;
  }
}

/* ==========================================================================
   OPEN BY DESIGN — Licensing Philosophy & Dual License Split
   ========================================================================== */

.license-section {
  position: relative;
  width: 100%;
  padding: 8rem 4rem;
  background-color: #050405;
  background-image: 
    radial-gradient(circle at 30% 30%, rgba(197, 160, 89, 0.1) 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(74, 14, 23, 0.15) 0%, transparent 60%);
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  overflow: hidden;
  z-index: 10;
}

.license-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: url('paper_texture.png');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  mix-blend-mode: color-dodge;
  pointer-events: none;
  filter: contrast(1.2) brightness(0.3);
}

.license-container {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

/* --- Header --- */
.license-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.license-title {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--color-bone);
  line-height: 1.15;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9);
}

.license-subtitle {
  font-family: var(--font-sub);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-style: italic;
  font-weight: 500;
  color: #E6C687;
  letter-spacing: 0.05em;
  max-width: 800px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 12px rgba(197, 160, 89, 0.2);
}

/* --- Visual Split Grid --- */
.license-split-grid {
  display: grid;
  grid-template-columns: 1fr 140px 1fr;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
}

.license-card {
  position: relative;
  background: linear-gradient(145deg, rgba(16, 12, 14, 0.95) 0%, rgba(8, 6, 7, 0.98) 100%);
  border: 1px solid rgba(197, 160, 89, 0.3);
  box-shadow: 
    0 18px 45px rgba(0, 0, 0, 0.85),
    inset 0 0 25px rgba(0, 0, 0, 0.9);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-radius: 2px;
  height: 100%;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.license-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold-muted);
}

.license-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.license-type-badge {
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--color-gold-muted);
}

.license-icon {
  font-size: 1.8rem;
  opacity: 0.85;
}

.license-name {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--color-bone);
  line-height: 1.1;
}

.license-divider {
  width: 40px;
  height: 1px;
  background: var(--color-gold-dim);
}

.license-statement {
  font-family: var(--font-sub);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 600;
  color: #FAF0D7;
  line-height: 1.45;
}

.license-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-parchment-dark);
}

.feat-check {
  color: #59c58b;
  margin-right: 0.5rem;
  font-weight: bold;
}

.feat-alert {
  color: #ff6b81;
}

.feat-alert strong {
  color: #ff3b56;
}

.license-card-footer {
  padding-top: 1rem;
  border-top: 1px dashed rgba(197, 160, 89, 0.15);
  margin-top: auto;
}

.license-tag-small {
  font-family: var(--font-title);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--color-parchment-dark);
}

/* Center Divider */
.license-center-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
}

.center-line-v {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--color-gold-dim), transparent);
}

.commons-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: rgba(14, 10, 12, 0.9);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 0.6rem 0.8rem;
  border-radius: 2px;
}

.commons-icon {
  font-size: 1.2rem;
}

.commons-text {
  font-family: var(--font-title);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--color-gold-muted);
  font-weight: 700;
}

/* Transparency Callout Plaque */
.license-transparency-card {
  display: flex;
  gap: 1.75rem;
  padding: 2.25rem 2.75rem;
  background: linear-gradient(135deg, rgba(22, 16, 18, 0.95) 0%, rgba(12, 9, 10, 0.98) 100%);
  border: 1px solid var(--color-gold-muted);
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.85),
    inset 0 0 20px rgba(197, 160, 89, 0.1);
  border-radius: 2px;
}

.transparency-icon {
  font-size: 2.2rem;
  color: var(--color-gold-muted);
}

.transparency-content {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.transparency-title {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-bone);
}

.transparency-body {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--color-parchment);
}

/* Responsive Adjustments */
@media (max-width: 1050px) {
  .license-split-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .center-line-v {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-gold-dim), transparent);
  }
}

@media (max-width: 768px) {
  .license-section {
    padding: 5rem 1.5rem;
  }
  
  .license-transparency-card {
    padding: 1.5rem;
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .paths-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .parchment-document-frame {
    padding: 2.5rem 1.5rem;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   FINAL CINEMATIC OUTRO — "THE UNSEEN IS VAST."
   ========================================================================== */

.outro-section {
  position: relative;
  width: 100%;
  min-height: 85vh;
  padding: 10rem 4rem 12rem;
  background-color: #030203;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  z-index: 10;
}

/* Slowly Moving Ancient Illustration Background */
.outro-bg-illustration {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: luminosity;
  filter: sepia(0.6) contrast(1.3) brightness(0.4);
}

.moving-manuscript-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowPanManuscript 45s ease-in-out infinite alternate;
}

@keyframes slowPanManuscript {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.1) translate(-2%, 2%); }
  100% { transform: scale(1.05) translate(2%, -2%); }
}

.outro-dark-vignette {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 50%, rgba(3, 2, 3, 0.4) 0%, rgba(3, 2, 3, 0.95) 75%, #030203 100%),
    linear-gradient(to bottom, rgba(3, 2, 3, 0.8) 0%, transparent 40%, transparent 60%, #030203 100%);
  z-index: 2;
  pointer-events: none;
}

/* Subtle Sequential Background Words (DOCUMENT · CONTEXTUALIZE · PRESERVE) */
.outro-bg-words {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-title);
  font-size: clamp(0.7rem, 1.8vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.35em;
  color: rgba(197, 160, 89, 0.35);
  z-index: 3;
  pointer-events: none;
  width: 90%;
  justify-content: center;
  white-space: nowrap;
}

.outro-word-sep {
  color: var(--color-gold-dim);
  font-size: 0.7rem;
  opacity: 0.6;
}

/* Foreground Content */
.outro-content {
  position: relative;
  z-index: 5;
  max-width: 950px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.outro-title {
  font-family: var(--font-title);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 900;
  letter-spacing: 0.22em;
  color: #FFFFFF;
  line-height: 1.1;
  text-shadow: 
    0 0 30px rgba(197, 160, 89, 0.4),
    0 4px 40px rgba(0, 0, 0, 0.95);
}

.outro-subtitle {
  font-family: var(--font-sub);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  font-weight: 500;
  color: #E6C687;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9), 0 0 15px rgba(197, 160, 89, 0.25);
}

.outro-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.cta-glow {
  box-shadow: 
    0 0 25px rgba(197, 160, 89, 0.3),
    0 10px 30px rgba(0, 0, 0, 0.9);
}

/* Slow Fade into Black Overlay at bottom */
.outro-fade-to-black {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, transparent 0%, #030203 100%);
  z-index: 6;
  pointer-events: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .outro-section {
    padding: 7rem 1.5rem 8rem;
    min-height: 70vh;
  }
  
  .outro-bg-words {
    font-size: 0.65rem;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  
  .outro-cta-group {
    flex-direction: column;
    width: 100%;
  }
}

/* ==========================================================================
   SOPHISTICATED MINIMAL ARCHIVAL FOOTER
   ========================================================================== */

.footer {
  position: relative;
  width: 100%;
  padding: 5rem 4rem 4rem;
  background-color: #020102;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(74, 14, 23, 0.25) 0%, transparent 60%),
    radial-gradient(circle at 20% 100%, rgba(197, 160, 89, 0.05) 0%, transparent 50%);
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  overflow: hidden;
  z-index: 10;
}

.footer-paper-overlay {
  position: absolute;
  inset: 0;
  background-image: url('paper_texture.png');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  mix-blend-mode: color-dodge;
  pointer-events: none;
  filter: contrast(1.2) brightness(0.25);
}

.footer-container {
  max-width: 1350px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Top Row: Brand, Licensing & Contact */
.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-brand-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-brand-symbol {
  color: var(--color-gold-muted);
  font-size: 1.2rem;
}

.footer-brand-name {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.25em;
  color: #FAF0D7;
  text-shadow: 0 0 10px rgba(197, 160, 89, 0.2);
}

.footer-brand-sub {
  font-family: var(--font-title);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--color-parchment-dark);
}

/* Open Source & Licensing Block */
.footer-license-block {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.license-block-title {
  font-family: var(--font-title);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--color-gold-muted);
  font-weight: 700;
}

.license-badges {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-title);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: #FAF0D7;
}

.lic-badge-sep {
  color: var(--color-gold-dim);
}

/* Contact Block */
.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
}

.contact-block-label {
  font-family: var(--font-title);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--color-gold-muted);
  font-weight: 700;
}

.footer-contact-email {
  font-family: var(--font-title);
  font-size: 0.88rem;
  letter-spacing: 0.15em;
  color: #FAF0D7;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-contact-email:hover {
  color: #FFFFFF;
  text-shadow: 0 0 8px rgba(197, 160, 89, 0.5);
}

/* Fine Archival Divider */
.footer-archival-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.f-line {
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(197, 160, 89, 0.25), transparent);
}

.f-diamond {
  color: var(--color-gold-dim);
  font-size: 0.65rem;
  opacity: 0.7;
}

.divider-subtle {
  margin: 0.5rem 0;
}

/* Navigation Links Grid */
.footer-nav-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.2rem;
  width: 100%;
}

.footer-nav-link {
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #FAF0D7;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
}

.footer-nav-link:hover {
  color: #FFFFFF;
  text-shadow: 0 0 10px rgba(197, 160, 89, 0.6);
  transform: translateY(-1px);
}

/* Bottom Row: Motto & Copyright */
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  width: 100%;
}

.footer-motto {
  font-family: var(--font-sub);
  font-size: 1.15rem;
  font-style: italic;
  letter-spacing: 0.05em;
  color: #E6C687;
  text-shadow: 0 0 10px rgba(197, 160, 89, 0.2);
}

.footer-copyright {
  font-family: var(--font-title);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--color-parchment-dark);
}

/* Responsive Adjustments for Footer */
@media (max-width: 900px) {
  .footer {
    padding: 4rem 1.5rem 3rem;
  }
  
  .footer-top-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.8rem;
  }
  
  .footer-contact-block {
    align-items: center;
  }
  
  .footer-nav-grid {
    gap: 1.2rem;
  }
  
  .footer-bottom-row {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
}








