@charset "UTF-8";
/* ============================================================
   AETHERIUM ACADEMY OF ELDORIA -- Main Stylesheet
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --gold:        #c9a84c;
  --gold-light:  #e8c97a;
  --gold-dark:   #8a6b25;
  --gold-glow:   rgba(201, 168, 76, 0.25);
  --bg-void:     #050508;
  --bg-deep:     #0a0a10;
  --bg-mid:      #0f0f18;
  --bg-panel:    #13121d;
  --bg-card:     #161525;
  --text-ivory:  #e8e4d8;
  --text-muted:  #9b9585;
  --text-dim:    #5a5650;
  --border:      rgba(201, 168, 76, 0.2);
  --border-soft: rgba(201, 168, 76, 0.08);
  --font-display: 'Cinzel Decorative', serif;
  --font-title:   'Cinzel', serif;
  --font-body:    'EB Garamond', serif;
  --radius:       4px;
  --transition:   0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-void);
  color: var(--text-ivory);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.8;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--gold-light); }

strong { font-weight: 600; color: var(--gold-light); }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.5s ease, border-color 0.5s ease, backdrop-filter 0.5s ease;
  overflow: visible;
}

.navbar.scrolled {
  background: rgba(5, 5, 8, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.nav-sigil { width: 36px; height: 36px; flex-shrink: 0; }
.nav-logo-svg { width: 100%; height: 100%; }

.nav-title {
  font-family: var(--font-title);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-right: auto;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.nav-links a {
  font-family: var(--font-title);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold-light); }

.nav-apply {
  padding: 0.38rem 1rem;
  border: 1px solid var(--gold-dark);
  color: var(--gold) !important;
  border-radius: var(--radius);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition), color var(--transition) !important;
}
.nav-apply:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
}

/* Occult Engines nav link — subtle blue tint */
.nav-engines {
  color: rgba(80, 128, 224, 0.65) !important;
}
.nav-engines:hover { color: rgba(120, 160, 255, 0.9) !important; }

/* Rites nav link — gold/teal tint */
.nav-rites {
  color: rgba(201, 168, 76, 0.75) !important;
}
.nav-rites:hover { color: var(--gold-light) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  transition: transform 0.3s;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  color: var(--bg-void);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--bg-void);
  box-shadow: 0 0 30px var(--gold-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold-dark);
}
.btn-outline:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.full-width { width: 100%; text-align: center; }

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section {
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header.light .section-title { color: var(--gold-light); }

.rune-accent {
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text-ivory);
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 1.5rem;
  font-style: italic;
}

.title-underline {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
  margin: 1rem auto 0;
}
.title-underline.gold {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  height: 1px;
}

/* Background symbols */
.section-bg-symbol {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, 80vw);
  height: min(600px, 80vw);
  pointer-events: none;
  z-index: 0;
}
.bg-symbol { width: 100%; height: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at center top, #14102a 0%, #080810 40%, var(--bg-void) 100%);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(80, 50, 180, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(201, 168, 76, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

#starCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Sacred geometry rings */
.sacred-geometry-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.geo-ring {
  position: absolute;
  opacity: 0.35;
}
.ring-outer { width: min(700px, 90vw); animation: rotateSlowCW 80s linear infinite; }
.ring-middle { width: min(500px, 68vw); animation: rotateSlowCCW 50s linear infinite; }
.ring-inner { width: min(340px, 50vw); animation: rotateSlowCW 35s linear infinite; }

@keyframes rotateSlowCW  { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rotateSlowCCW { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 820px;
  padding: 2rem;
}

.hero-eyebrow {
  font-family: var(--font-title);
  font-size: 0.72rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.4s forwards;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.1em;
  margin-bottom: 1.5rem;
}

.title-line1 {
  font-family: var(--font-title);
  font-size: clamp(1rem, 3vw, 1.4rem);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold-dark);
  opacity: 0;
  animation: fadeUp 1s ease 0.6s forwards;
}
.title-line2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 7rem);
  letter-spacing: 0.12em;
  color: var(--text-ivory);
  text-shadow: 0 0 60px rgba(201, 168, 76, 0.2), 0 0 120px rgba(201, 168, 76, 0.1);
  line-height: 1;
  opacity: 0;
  animation: fadeUp 1s ease 0.8s forwards;
}
.title-line3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2.6rem);
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s ease 1s forwards;
}

.hero-divider {
  width: 300px;
  margin: 0 auto 1.5rem;
  opacity: 0;
  animation: fadeIn 1s ease 1.2s forwards;
}
.hero-divider svg { width: 100%; }

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-style: italic;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.9;
  opacity: 0;
  animation: fadeUp 1s ease 1.4s forwards;
}

.hero-cta-group {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s ease 1.6s forwards;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-dark);
  font-family: var(--font-title);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  animation: pulse 2s ease-in-out infinite;
}
.scroll-indicator svg { width: 16px; height: 24px; }

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 0.9; transform: translateX(-50%) translateY(4px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { background: var(--bg-deep); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

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

.image-frame {
  position: relative;
  overflow: hidden;
}

.image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  z-index: 2;
  pointer-events: none;
}

.image-frame::after {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--gold-dark), transparent 50%, var(--gold-dark)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  z-index: 3;
  pointer-events: none;
  opacity: 0.4;
}

.about-img {
  width: 100%;
  filter: sepia(0.4) brightness(0.75) contrast(1.1);
  transition: filter var(--transition), transform var(--transition);
}
.image-frame:hover .about-img {
  filter: sepia(0.2) brightness(0.9) contrast(1.05);
  transform: scale(1.02);
}

.image-caption {
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-style: italic;
  border-left: 2px solid var(--gold-dark);
  background: var(--bg-panel);
  font-family: var(--font-title);
  letter-spacing: 0.04em;
}

.secondary-img-frame { margin-left: 2rem; }

.drop-cap-block { margin-bottom: 1.5rem; }
.drop-cap {
  float: left;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.75;
  color: var(--gold);
  margin-right: 0.12em;
  margin-top: 0.12em;
  text-shadow: 0 0 40px var(--gold-glow);
}

.about-text-col p { margin-bottom: 1.4rem; }

.quote-block {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-left: 2px solid var(--gold-dark);
  background: var(--bg-panel);
  position: relative;
}
.quote-block::before {
  content: '"';
  position: absolute;
  top: -0.5rem; left: 1.2rem;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold-dark);
  line-height: 1;
  opacity: 0.3;
}
.quote-block blockquote {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-ivory);
  line-height: 1.9;
  margin-bottom: 0.5rem;
}
.quote-block cite {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-title);
  letter-spacing: 0.08em;
}

/* ============================================================
   PHILOSOPHY SECTION
   ============================================================ */
.philosophy-section {
  background: var(--bg-mid);
  position: relative;
}
.philosophy-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(60, 40, 120, 0.12) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='%23c9a84c' stroke-width='0.2' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.philosophy-center-symbol {
  width: 240px;
  margin: 0 auto 3rem;
  opacity: 0.7;
}

.weave-svg {
  width: 100%;
  animation: rotateSlowCW 60s linear infinite;
}

.philosophy-intro {
  max-width: 680px;
  margin: 0 auto 4rem;
  text-align: center;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.9;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.pillar-card:hover {
  border-color: var(--border);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px var(--gold-glow);
}
.pillar-card:hover::before { opacity: 1; }

.pillar-icon { width: 70px; margin: 0 auto 1.2rem; }
.pillar-icon svg { width: 100%; }

.pillar-card h3 {
  font-family: var(--font-title);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.pillar-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; }

/* Philosophy Gallery */
.philosophy-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-panel);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: sepia(0.5) brightness(0.6) contrast(1.1);
  transition: filter var(--transition), transform var(--transition);
}
.gallery-item:hover img {
  filter: sepia(0.2) brightness(0.85);
  transform: scale(1.06);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-family: var(--font-title);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  text-transform: uppercase;
}

/* ============================================================
   CURRICULUM SECTION
   ============================================================ */
.curriculum-section { background: var(--bg-deep); }

.disciplines-intro {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
}

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

.discipline-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  position: relative;
}
.discipline-card::after {
  content: attr(data-index);
  position: absolute;
  bottom: 1rem; right: 1.5rem;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--bg-mid);
  pointer-events: none;
  z-index: 0;
  line-height: 1;
}
.discipline-card:hover {
  border-color: var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 0 20px var(--gold-glow);
}

.disc-sigil { width: 80px; flex-shrink: 0; }
.disc-sigil svg { width: 100%; }

.disc-content { position: relative; z-index: 1; }

.disc-roman {
  font-family: var(--font-title);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.disc-content h3 {
  font-family: var(--font-title);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.disc-content p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.75; }

.disc-tag {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.2rem 0.8rem;
  border: 1px solid var(--gold-dark);
  font-family: var(--font-title);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* Seven Cycles Timeline */
.cycles-timeline {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  padding: 3rem 2.5rem;
}
.cycles-title {
  font-family: var(--font-title);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 2.5rem;
}

.timeline-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.cycle-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}
.cycle-node span {
  width: 44px; height: 44px;
  border: 1px solid var(--gold-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 0.75rem;
  color: var(--gold-dark);
  transition: all var(--transition);
}
.cycle-node.active span {
  background: var(--gold-dark);
  color: var(--bg-void);
  border-color: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
}
.cycle-node:hover span {
  border-color: var(--gold);
  color: var(--gold);
}
.node-label {
  font-family: var(--font-title);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}
.cycle-connector {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dark), transparent);
  flex-shrink: 0;
  margin-bottom: 1.5rem;
}

/* ============================================================
   SANCTUM SECTION
   ============================================================ */
.sanctum-section {
  position: relative;
  overflow: hidden;
}
.sanctum-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--bg-mid), #080616, var(--bg-deep)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='%23c9a84c' stroke-width='0.3' opacity='0.04'/%3E%3C/svg%3E");
}

.sanctum-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.sanctum-text p { margin-bottom: 1.4rem; color: var(--text-muted); }

.sanctum-features {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.sanctum-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-title);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.sanctum-features li svg { width: 18px; flex-shrink: 0; }

.sanctum-images {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.sanctum-img-frame {
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}
.sanctum-img-frame img {
  width: 100%;
  filter: sepia(0.5) brightness(0.65) contrast(1.15);
  transition: filter var(--transition), transform var(--transition);
}
.sanctum-img-frame:hover img {
  filter: sepia(0.2) brightness(0.85);
  transform: scale(1.03);
}
.sanctum-img-frame.large { max-height: 380px; overflow: hidden; }
.sanctum-img-frame.large img { height: 380px; object-fit: cover; }
.sanctum-img-frame.small img { max-height: 200px; object-fit: cover; width: 100%; }

/* ============================================================
   COMMUNITY SECTION
   ============================================================ */
.community-section { background: var(--bg-deep); }

.community-intro {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.role-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.role-card:hover {
  border-color: var(--border);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.role-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.2rem;
  overflow: hidden;
}
.role-icon img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: sepia(1) hue-rotate(10deg) brightness(0.8) saturate(1.5);
  opacity: 0.8;
}

.role-card h3 {
  font-family: var(--font-title);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.role-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; }

.seminar-block {
  display: flex;
  gap: 3rem;
  align-items: center;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-left: 2px solid var(--gold-dark);
  padding: 2.5rem 3rem;
}

.seminar-symbol { width: 100px; flex-shrink: 0; opacity: 0.6; }
.seminar-symbol svg { width: 100%; }

.seminar-text h3 {
  font-family: var(--font-title);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.seminar-text p { color: var(--text-muted); font-size: 0.95rem; }

/* ============================================================
   APPLY SECTION
   ============================================================ */
.apply-section { position: relative; overflow: hidden; }
.apply-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--bg-mid), #06050f),
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(50, 30, 100, 0.15) 0%, transparent 70%);
}

.apply-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.apply-text p {
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  font-size: 1rem;
}

.selection-criteria {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
}

.criterion {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.criterion-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-dark);
  line-height: 1.3;
  flex-shrink: 0;
  width: 2.5rem;
}
.criterion-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.criterion-text strong { color: var(--text-ivory); }

/* Form */
.apply-form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
}

.form-sigil {
  width: 60px;
  margin: 0 auto 1rem;
  opacity: 0.4;
}
.form-sigil svg { width: 100%; }

.apply-form-panel h3 {
  font-family: var(--font-title);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 2rem;
}

.apply-form { display: flex; flex-direction: column; gap: 1.2rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-family: var(--font-title);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.form-group input,
.form-group textarea {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--text-ivory);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); font-style: italic; }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.1);
}

/* ============================================================
   RITES OF SYNCHRONIC HARMONY
   ============================================================ */
.rites-section {
  position: relative;
  overflow: hidden;
}

.rites-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, #06050f, var(--bg-deep)),
    radial-gradient(ellipse 80% 55% at 50% 30%, rgba(80, 40, 140, 0.12) 0%, transparent 70%);
}

/* Prose */
.rites-prose {
  max-width: 820px;
  margin: 0 auto 3rem;
}
.rites-prose p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 1.4rem;
}
.rites-prose p:last-child { margin-bottom: 0; }

/* Ethics notice bar */
.rites-ethic-bar {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: rgba(201, 168, 76, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-left: 3px solid var(--gold-dark);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  margin: 0 auto 3.5rem;
  max-width: 820px;
}
.rites-ethic-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}
.rites-ethic-bar span {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.7;
}

/* Two-column grid */
.rites-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* Offerings panel */
.rites-panel-title {
  font-family: var(--font-title);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.rites-panel-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.8rem;
  line-height: 1.7;
}
.rites-panel-note {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-style: italic;
  line-height: 1.7;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
  padding-top: 1rem;
}

/* Crypto cards */
.crypto-cards {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.crypto-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.crypto-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow: 0 0 18px rgba(201, 168, 76, 0.06);
}

.crypto-card-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.crypto-icon { width: 28px; height: 28px; flex-shrink: 0; }
.crypto-icon svg { width: 100%; height: 100%; }

.crypto-name {
  font-family: var(--font-title);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--text-ivory);
}
.crypto-ticker {
  font-family: 'Courier New', monospace;
  font-size: 0.68rem;
  color: var(--text-dim);
  margin-left: auto;
  letter-spacing: 0.08em;
}

.crypto-addr-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 0.45rem 0.7rem;
}
.crypto-addr {
  font-family: 'Courier New', monospace;
  font-size: 0.68rem;
  color: var(--gold-light);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0.02em;
  -webkit-user-select: all;
  user-select: all;
}
.copy-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: 3px;
  padding: 0.3rem 0.55rem;
  color: var(--text-dim);
  cursor: pointer;
  font-family: var(--font-title);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition), border-color var(--transition);
  flex-shrink: 0;
}
.copy-btn svg { width: 13px; height: 13px; }
.copy-btn:hover { color: var(--gold); border-color: var(--gold-dark); }
.copy-btn.copied { color: #6ccca0; border-color: #6ccca044; }

/* Form panel */
.rites-form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: var(--radius);
  position: relative;
}
.rites-form-title {
  font-family: var(--font-title);
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 1.8rem;
}
.rites-form select {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--text-ivory);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  width: 100%;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a6b25' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.rites-form select option { background: var(--bg-panel); }
.rites-form select:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.1);
}
.form-optional {
  color: var(--text-dim);
  font-style: italic;
  font-size: 0.75em;
  margin-left: 0.3em;
  text-transform: none;
  letter-spacing: 0;
}

/* Focus anchoring block */
.rites-focus-block {
  background: rgba(201, 168, 76, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem 1.2rem;
}
.rites-focus-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}
.rites-focus-icon { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.75; }
.rites-focus-label {
  font-family: var(--font-title);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.rites-focus-label em {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.88em;
}
.rites-focus-note {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.rites-focus-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Confirmation message */
.rites-confirm {
  margin-top: 1.2rem;
  min-height: 0;
  font-size: 0.88rem;
  font-style: italic;
  text-align: center;
  color: #6ccca0;
  transition: opacity 0.4s ease;
}

/* Closing quote */
.rites-closing {
  text-align: center;
  margin-top: 4rem;
  color: var(--text-dim);
  font-size: 0.95rem;
  font-style: italic;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.rites-closing .title-underline.gold {
  margin-bottom: 1.4rem;
}

/* Responsive */
@media (max-width: 860px) {
  .rites-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .rites-form-panel { padding: 1.5rem; }
  .rites-ethic-bar { flex-direction: column; gap: 0.5rem; }
}

/* ============================================================
   RITES CURRICULUM SECTION
   ============================================================ */
.rites-curriculum-section {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-soft);
  padding: 5rem 2rem 5rem;
}
.rites-curr-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.rites-curr-intro {
  margin: 2.5rem 0 3rem;
}
.rites-curr-intro p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-ivory);
  margin-bottom: 1.2rem;
}

/* Cycle cards */
.rites-curr-cycles {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-bottom: 3rem;
}
.rites-curr-cycle {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
}
.rites-curr-cycle-hdr {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 0.9rem;
}
.rites-curr-cycle-num {
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  min-width: 3rem;
  padding-top: 0.1rem;
}
.rites-curr-cycle-name {
  font-family: var(--font-title);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-ivory);
  margin-bottom: 0.25rem;
}
.rites-curr-cycle-sub {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
}
.rites-curr-cycle-body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-ivory);
  margin: 0;
}

/* Core components */
.rites-curr-components {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  margin-bottom: 2.5rem;
}
.rites-curr-components-title {
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.2rem;
}
.rites-curr-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: rites-step;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.rites-curr-list li {
  counter-increment: rites-step;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-ivory);
}
.rites-curr-list li::before {
  content: counter(rites-step);
  font-family: var(--font-title);
  font-size: 0.75rem;
  color: var(--gold-dark);
  border: 1px solid var(--gold-dark);
  border-radius: 50%;
  min-width: 1.6rem;
  height: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
  flex-shrink: 0;
}
.rites-curr-list li strong {
  color: var(--gold-light);
  font-weight: 600;
  margin-right: 0.4rem;
}

/* Footer prose blocks */
.rites-curr-footer-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-bottom: 3rem;
}
.rites-curr-block {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-ivory);
}
.rites-curr-block p { margin: 0; }
.rites-curr-ethics {
  border-color: rgba(201, 168, 76, 0.25);
  background: rgba(201, 168, 76, 0.04);
}

/* Closing paragraph */
.rites-curr-closing {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.rites-curr-closing p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 1.4rem;
}

@media (max-width: 680px) {
  .rites-curr-footer-blocks { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-void);
  border-top: 1px solid var(--border-soft);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer-bg-symbol {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.footer-svg { width: 100%; opacity: 0.5; }

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-logo { width: 44px; }

.footer-brand-text {
  display: flex;
  flex-direction: column;
}
.footer-name {
  font-family: var(--font-title);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
}
.footer-tagline {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-style: italic;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.footer-links a {
  font-family: var(--font-title);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-motto { text-align: center; }
.motto-divider { width: 200px; margin: 0 auto 1rem; }
.motto-divider svg { width: 100%; }

.footer-motto p {
  font-size: 0.9rem;
  color: var(--text-dim);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-family: var(--font-title);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
  font-style: normal !important;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   MOBILE NAV
   ============================================================ */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; right: 0;
    width: 260px; height: 100vh;
    background: rgba(5, 5, 8, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    gap: 2rem;
    border-left: 1px solid var(--border);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 0.9rem; }
  .hamburger { display: flex; }
  .nav-title { display: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .roles-grid   { grid-template-columns: repeat(2, 1fr); }
  .philosophy-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .navbar { padding: 0.9rem 1.5rem; }

  .about-grid    { grid-template-columns: 1fr; }
  .secondary-img-frame { margin-left: 0; }

  .sanctum-grid  { grid-template-columns: 1fr; }
  .disciplines-grid { grid-template-columns: 1fr; }
  .apply-content { grid-template-columns: 1fr; }

  .seminar-block { flex-direction: column; gap: 1.5rem; padding: 2rem; }

  .timeline-track { gap: 0; justify-content: flex-start; overflow-x: auto; padding-bottom: 0.5rem; }
  .cycle-connector { width: 20px; }
}

@media (max-width: 540px) {
  .pillars-grid  { grid-template-columns: 1fr; }
  .roles-grid    { grid-template-columns: 1fr; }
  .philosophy-gallery { grid-template-columns: 1fr 1fr; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .section { padding: 4rem 0; }
  .apply-form-panel { padding: 1.5rem; }
  .artwork-grid { grid-template-columns: 1fr; }
}

/* ==============================
   ARTWORK GALLERY SECTION
============================== */

.artwork-section {
  background: radial-gradient(ellipse at 50% 40%, #100810 0%, var(--bg-void) 70%);
}

.artwork-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}

.artwork-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.18);
  background: #0b060e;
  cursor: pointer;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.artwork-card:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.2);
}

.artwork-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease, filter 0.4s ease;
  filter: sepia(15%) contrast(1.08) brightness(0.9);
}

.artwork-card:hover img {
  transform: scale(1.07);
  filter: sepia(5%) contrast(1.1) brightness(1.0);
}

.artwork-info {
  padding: 0.75rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(5,3,8,1) 0%, rgba(11,6,14,0.92) 100%);
  border-top: 1px solid rgba(201, 168, 76, 0.12);
}

.artwork-info h4 {
  font-family: var(--font-title);
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  margin: 0 0 0.2rem;
  text-transform: uppercase;
}

.artwork-info span {
  font-family: var(--font-body);
  color: var(--silver);
  font-size: 0.78rem;
  font-style: italic;
  opacity: 0.8;
}

@media (max-width: 900px) {
  .artwork-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Role-icon SVG sizing */
.role-icon svg {
  width: 64px;
  height: 64px;
}

/* ============================================================
   AETHERIC HARMONIC MONITOR
   ============================================================ */

.am-section {
  background: #030508;
  border-top: 1px solid rgba(201,168,76,0.22);
  border-bottom: 1px solid rgba(201,168,76,0.22);
  background-image:
    linear-gradient(rgba(201,168,76,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.025) 1px, transparent 1px);
  background-size: 44px 44px;
}

.am-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 2rem;
  background: rgba(201,168,76,0.045);
  border-bottom: 1px solid rgba(201,168,76,0.13);
}

.am-designation {
  font-family: 'Courier New', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: rgba(201,168,76,0.48);
  text-transform: uppercase;
}

.am-active-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.am-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ea84a;
  box-shadow: 0 0 6px #2ea84a, 0 0 14px rgba(46,168,74,0.45);
  animation: amLedPulse 2.2s ease-in-out infinite;
}

@keyframes amLedPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px #2ea84a, 0 0 14px rgba(46,168,74,0.45); }
  50%       { opacity: 0.4; box-shadow: 0 0 3px #2ea84a; }
}

.am-led-text {
  font-family: 'Courier New', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: #2ea84a;
}

.am-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.am-title-block {
  text-align: center;
  padding: 1.8rem 1rem 1.4rem;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.am-main-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1rem, 2.5vw, 1.7rem);
  color: var(--gold);
  letter-spacing: 0.04em;
  margin: 0.4rem 0 0.6rem;
  text-shadow: 0 0 30px rgba(201,168,76,0.3);
}

.am-tagline {
  font-family: 'Courier New', monospace;
  font-size: 0.58rem;
  color: rgba(201,168,76,0.38);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Panel two-column layout */
.am-panel {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  border-left: 1px solid rgba(201,168,76,0.1);
  border-right: 1px solid rgba(201,168,76,0.1);
}

/* Gauge column */
.am-gauge-col {
  padding: 1.6rem 1rem;
  border-right: 1px solid rgba(201,168,76,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.am-gauge-heading {
  font-family: 'Courier New', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.24em;
  color: rgba(201,168,76,0.48);
  text-transform: uppercase;
}

.am-gauge-svg {
  width: 100%;
  max-width: 270px;
}

.am-vpi-digital {
  display: flex;
  align-items: baseline;
}

.am-vpi-digital span:first-child {
  font-family: 'Courier New', monospace;
  font-size: 2.1rem;
  color: var(--gold);
  letter-spacing: 0.02em;
  text-shadow: 0 0 20px rgba(201,168,76,0.55);
}

.am-vpi-unit {
  font-family: 'Courier New', monospace;
  font-size: 0.68rem;
  color: rgba(201,168,76,0.5);
  letter-spacing: 0.15em;
}

.am-state-badge {
  padding: 0.25rem 1.1rem;
  font-family: 'Courier New', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  border: 1px solid;
  text-transform: uppercase;
  transition: color 0.5s, border-color 0.5s, box-shadow 0.5s;
}

.am-state-badge.nominal     { color: #3ab83a; border-color: #3ab83a; box-shadow: 0 0 10px rgba(58,184,58,0.2); }
.am-state-badge.ascending   { color: #4a82c8; border-color: #4a82c8; box-shadow: 0 0 10px rgba(74,130,200,0.2); }
.am-state-badge.fluctuating { color: var(--gold); border-color: var(--gold); box-shadow: 0 0 10px rgba(201,168,76,0.2); }
.am-state-badge.depleted    { color: #c84040; border-color: #c84040; box-shadow: 0 0 10px rgba(200,64,64,0.2); }

.am-zone-key {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.amzk {
  font-family: 'Courier New', monospace;
  font-size: 0.46rem;
  letter-spacing: 0.1em;
  padding: 0.13rem 0.35rem;
  border-left: 2px solid;
}

.amzk.depleted  { color: #c84040; border-color: #c84040; }
.amzk.muted     { color: #c9a84c; border-color: #c9a84c; }
.amzk.nominal   { color: #3ab83a; border-color: #3ab83a; }
.amzk.ascending { color: #4a82c8; border-color: #4a82c8; }

/* Readouts column */
.am-readouts-col {
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.8rem;
  gap: 0;
}

.am-readout-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.42rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.07);
}

.am-rname {
  font-family: 'Courier New', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  color: rgba(201,168,76,0.48);
  text-transform: uppercase;
  width: 155px;
  flex-shrink: 0;
}

.am-bar {
  flex: 1;
  height: 3px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.14);
  overflow: hidden;
}

.am-bar-fill {
  height: 100%;
  width: 0%;
  transition: width 0.5s ease;
}

.am-nodal   { background: linear-gradient(to right, #1e4a9a, #4a7ccc); }
.am-lithic  { background: linear-gradient(to right, #1a5a1a, #3a8c3a); }
.am-thaumic { background: linear-gradient(to right, #7a1a1a, #b84040); }

.am-rval {
  font-family: 'Courier New', monospace;
  font-size: 0.6rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  width: 110px;
  text-align: right;
  flex-shrink: 0;
}

.am-readout-row.text-only .am-rval {
  width: auto;
  flex: 1;
}

.am-sep {
  height: 1px;
  background: rgba(201,168,76,0.18);
  margin: 0.5rem 0;
}

/* Oscilloscope */
.am-osc-panel {
  margin-top: auto;
  padding-top: 1rem;
  border: 1px solid rgba(201,168,76,0.15);
  background: rgba(0,0,0,0.55);
}

.am-osc-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  background: rgba(201,168,76,0.03);
}

.am-osc-hdr span:first-child {
  font-family: 'Courier New', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  color: rgba(201,168,76,0.4);
  text-transform: uppercase;
}

.am-osc-glyph {
  font-size: 0.9rem;
  color: #2ea84a;
  animation: amOscFlicker 4s ease-in-out infinite;
}

@keyframes amOscFlicker {
  0%, 95%, 100% { opacity: 1; }
  97%            { opacity: 0.15; }
}

.am-osc-canvas {
  display: block;
  width: 100%;
  height: 140px;
  border-top: 1px solid rgba(46,168,74,0.10);
}

/* Status bar */
.am-statusbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(201,168,76,0.12);
  border-left: 1px solid rgba(201,168,76,0.1);
  border-right: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.am-sc {
  padding: 0.65rem 1.2rem;
  border-right: 1px solid rgba(201,168,76,0.1);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.am-sc:last-child { border-right: none; }

.am-sk {
  font-family: 'Courier New', monospace;
  font-size: 0.46rem;
  letter-spacing: 0.18em;
  color: rgba(201,168,76,0.36);
  text-transform: uppercase;
}

.am-sv {
  font-family: 'Courier New', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.07em;
  color: var(--gold);
}

.am-mono { letter-spacing: 0.02em; }

@media (max-width: 860px) {
  .am-panel { grid-template-columns: 1fr; }
  .am-gauge-col { border-right: none; border-bottom: 1px solid rgba(201,168,76,0.15); }
  .am-statusbar { grid-template-columns: repeat(2, 1fr); }
  .am-sc:nth-child(2) { border-right: none; }
}

@media (max-width: 560px) {
  .am-statusbar { grid-template-columns: 1fr; }
  .am-sc { border-right: none; border-bottom: 1px solid rgba(201,168,76,0.08); }
  .am-designation { display: none; }
}

/* ── Live Telemetric Feed ─────────────────────────────────── */
.am-telem-panel {
  margin-top: 18px;
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 3px;
  background: rgba(0,0,0,0.35);
  overflow: hidden;
}
.am-telem-hdr {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(201,168,76,0.04);
  border-bottom: 1px solid rgba(201,168,76,0.12);
  font-family: 'Courier New', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(201,168,76,0.52);
  text-transform: uppercase;
}
.am-tl-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #e8a040;
  box-shadow: 0 0 6px #e8a040;
  flex-shrink: 0;
  animation: amLedPulse 2.1s ease-in-out infinite;
}
.am-tl-status {
  margin-left: auto;
  color: rgba(201,168,76,0.68);
  letter-spacing: 0.08em;
}
.am-telem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.am-tl-block {
  padding: 12px 14px;
  border-right: 1px solid rgba(201,168,76,0.08);
}
.am-tl-block:last-child { border-right: none; }
.am-tl-label {
  font-family: 'Courier New', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.10em;
  color: rgba(201,168,76,0.42);
  text-transform: uppercase;
  margin-bottom: 7px;
  line-height: 1.5;
}
.am-tl-slabel {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 4px;
  background: rgba(201,168,76,0.08);
  border-radius: 2px;
  font-size: 0.52rem;
  letter-spacing: 0.05em;
  color: rgba(201,168,76,0.32);
}
.am-tl-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}
.am-tl-ktrack {
  flex: 1;
  height: 4px;
  background: rgba(201,168,76,0.08);
  border-radius: 2px;
  overflow: hidden;
  min-width: 40px;
}
.am-tl-kfill {
  height: 100%;
  width: 0%;
  background: #3ab83a;
  border-radius: 2px;
  transition: width 1.2s ease, background-color 1.2s ease;
}
.am-tl-bval {
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
  color: #d4be78;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.am-tl-badge {
  font-family: 'Courier New', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  padding: 1px 5px;
  border: 1px solid currentColor;
  border-radius: 2px;
  color: #3ab83a;
  white-space: nowrap;
}
.am-tl-name {
  font-family: 'Courier New', monospace;
  font-size: 0.62rem;
  color: rgba(201,168,76,0.48);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.am-tl-sub {
  font-family: 'Courier New', monospace;
  font-size: 0.58rem;
  color: rgba(201,168,76,0.35);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.5;
  margin-top: 3px;
}
@media (max-width: 860px) {
  .am-telem-grid { grid-template-columns: repeat(2, 1fr); }
  .am-tl-block:nth-child(2) { border-right: none; }
  .am-tl-block:nth-child(3),
  .am-tl-block:nth-child(4) { border-top: 1px solid rgba(201,168,76,0.08); }
}
/* ── Orrery Engine ──────────────────────────────────────────────── */
.orrery-section { background: #020308; padding: 0; }
.orrery-wrap {
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid rgba(201,168,76,0.18);
  border-top: none;
}
.orrery-hdr {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(201,168,76,0.035);
  border-top: 1px solid rgba(201,168,76,0.18);
  border-bottom: 1px solid rgba(201,168,76,0.10);
  font-family: 'Courier New', monospace;
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  color: rgba(201,168,76,0.52);
  text-transform: uppercase;
}
.orrery-led {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #a060f0;
  box-shadow: 0 0 8px #a060f0;
  flex-shrink: 0;
  animation: amLedPulse 2.8s ease-in-out infinite;
}
.orrery-sub {
  margin-left: auto;
  font-size: 0.54rem;
  color: rgba(201,168,76,0.30);
  letter-spacing: 0.07em;
}
.orrery-stage {
  display: flex;
  justify-content: center;
  background: #010206;
  padding: 0;
}
.orrery-canvas {
  display: block;
  width: 100%;
  max-width: 820px;
}

/* ── Celestial Ephemeris Panel ─────────────────────────────── */
.am-ephemeris-panel {
  margin-top: 14px;
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 3px;
  background: rgba(0,0,0,0.35);
  overflow: hidden;
}
.am-eph-hdr {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(201,168,76,0.04);
  border-bottom: 1px solid rgba(201,168,76,0.12);
  font-family: 'Courier New', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(201,168,76,0.52);
  text-transform: uppercase;
}
.am-eph-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #5090e8;
  box-shadow: 0 0 6px #5090e8;
  flex-shrink: 0;
  animation: amLedPulse 3.1s ease-in-out infinite;
}
.am-eph-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.am-eph-block {
  padding: 12px 14px;
  border-right: 1px solid rgba(201,168,76,0.08);
}
.am-eph-block:last-child { border-right: none; }
.am-eph-bhead {
  font-family: 'Courier New', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.13em;
  color: rgba(201,168,76,0.38);
  text-transform: uppercase;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(201,168,76,0.07);
  padding-bottom: 5px;
}
/* Luna sub-layout */
.am-eph-luna-inner {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.am-eph-moon-svg {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(201,168,76,0.22));
}
.am-eph-luna-data { flex: 1; min-width: 0; }
.am-eph-phase-name {
  font-family: 'Courier New', monospace;
  font-size: 0.68rem;
  color: #c9a84c;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
/* Shared row key/value */
.am-eph-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.am-eph-k {
  font-family: 'Courier New', monospace;
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  color: rgba(201,168,76,0.36);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.am-eph-v {
  font-family: 'Courier New', monospace;
  font-size: 0.66rem;
  color: #d4be78;
  letter-spacing: 0.03em;
  text-align: right;
  white-space: nowrap;
}
.am-eph-sep {
  height: 1px;
  background: rgba(201,168,76,0.08);
  margin: 8px 0;
}
/* Planetary glyph */
.am-eph-glyph-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px;
}
.am-eph-planet-glyph {
  font-size: 2.8rem;
  line-height: 1;
  color: #c9a84c;
  text-shadow: 0 0 14px rgba(201,168,76,0.55);
  flex-shrink: 0;
  width: 52px;
  text-align: center;
}
.am-eph-side-data { flex: 1; min-width: 0; }
/* Sun arc */
.am-eph-sun-svg {
  width: 100%;
  max-width: 200px;
  display: block;
  margin: 0 auto 8px;
}
/* Schumann bars */
.am-eph-schumann {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 4px;
}
.am-eph-sch-row {
  display: grid;
  grid-template-columns: 28px 56px 1fr 38px;
  gap: 4px;
  align-items: center;
}
.am-eph-sch-mode {
  font-family: 'Courier New', monospace;
  font-size: 0.54rem;
  color: rgba(201,168,76,0.38);
  letter-spacing: 0.04em;
}
.am-eph-sch-freq {
  font-family: 'Courier New', monospace;
  font-size: 0.60rem;
  color: #c9a84c;
  letter-spacing: 0.02em;
}
.am-eph-sch-track {
  height: 3px;
  background: rgba(201,168,76,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.am-eph-sch-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.8s ease;
}
.am-eph-sch-amp {
  font-family: 'Courier New', monospace;
  font-size: 0.56rem;
  color: rgba(201,168,76,0.52);
  text-align: right;
  letter-spacing: 0.02em;
}
@media (max-width: 860px) {
  .am-eph-grid { grid-template-columns: repeat(2, 1fr); }
  .am-eph-block:nth-child(2) { border-right: none; }
  .am-eph-block:nth-child(3),
  .am-eph-block:nth-child(4) { border-top: 1px solid rgba(201,168,76,0.08); }
}
@media (max-width: 560px) {
  .am-eph-grid { grid-template-columns: 1fr; }
  .am-eph-block { border-right: none; border-top: 1px solid rgba(201,168,76,0.08); }
  .am-eph-block:first-child { border-top: none; }
  .am-eph-luna-inner { flex-direction: column; align-items: center; }
}

/* ── Total Flux Analyser ───────────────────────────────────── */
.am-flux-panel {
  border-top: 1px solid rgba(201,168,76,0.10);
}
.am-flux-hdr {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 6px 14px;
  background: rgba(0,0,0,0.18);
  border-bottom: 1px solid rgba(201,168,76,0.07);
}
.am-flux-legend {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Courier New', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.09em;
  color: rgba(201,168,76,0.38);
  text-transform: uppercase;
}
.am-flux-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 5px currentColor;
}
.am-flux-ctr {
  flex: 1;
  text-align: center;
  font-family: 'Courier New', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: rgba(201,168,76,0.28);
  text-transform: uppercase;
}
.am-flux-readouts {
  display: flex;
  gap: 12px;
  margin-left: auto;
}
.am-flux-val {
  font-family: 'Courier New', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  opacity: 0.85;
}
.am-flux-canvas {
  display: block;
  width: 100%;
  height: 120px;
}

/* ═══════════════════════════════════════════════════════════
   SIDEREAL ASTROLOGY ENGINE
   ═══════════════════════════════════════════════════════════ */
.sr-section { background: #02020e; padding: 0; }
.sr-wrap { max-width: 1100px; margin: 0 auto; padding: 0 0 28px; }

.sr-hdr {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  background: rgba(100,60,180,0.06);
  border-bottom: 1px solid rgba(120,80,200,0.22);
  font-family: 'Courier New', monospace;
  font-size: 0.60rem; letter-spacing: 0.14em; color: rgba(200,160,255,0.70);
}
.sr-led {
  width: 7px; height: 7px; border-radius: 50%;
  background: #a060f0;
  box-shadow: 0 0 6px #a060f0;
  animation: amLedPulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
.sr-sub { margin-left: auto; color: rgba(160,120,220,0.50); font-size: 0.54rem; letter-spacing: 0.10em; }

.sr-stage { display: flex; justify-content: center; background: #02020e; }
.sr-canvas { display: block; width: 100%; max-width: 900px; }

.sr-panels {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 0; border-top: 1px solid rgba(120,80,200,0.18);
}
.sr-panel {
  padding: 14px 16px;
  border-right: 1px solid rgba(120,80,200,0.14);
  background: rgba(6,2,18,0.80);
}
.sr-panel:last-child { border-right: none; }
.sr-panel-title {
  font-family: 'Courier New', monospace;
  font-size: 0.56rem; letter-spacing: 0.16em;
  color: rgba(180,140,255,0.75); margin-bottom: 8px; margin-top: 4px;
}
.sr-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 3px 0; border-bottom: 1px solid rgba(100,60,180,0.08);
  gap: 6px;
}
.sr-lbl {
  font-family: 'Courier New', monospace; font-size: 0.53rem;
  letter-spacing: 0.08em; color: rgba(160,130,200,0.55); white-space: nowrap;
}
.sr-val {
  font-family: 'Courier New', monospace; font-size: 0.62rem;
  letter-spacing: 0.06em; color: rgba(210,185,255,0.85); text-align: right;
}
.sr-val.sr-gold  { color: #c9a84c; }
.sr-val.sr-cyan  { color: #40d0c8; }
.sr-val.sr-violet{ color: #c060f0; }
.sr-divider { border-top: 1px solid rgba(120,80,200,0.22); margin: 10px 0; }

@media (max-width: 760px) {
  .sr-panels { grid-template-columns: 1fr; }
  .sr-panel { border-right: none; border-bottom: 1px solid rgba(120,80,200,0.14); }
}

/* ══════════════════════════════════════════════════════════
   LIMINAL GAUGE STRIP
   ══════════════════════════════════════════════════════════ */
.lim-section { background: #02020c; padding: 0; line-height: 0; }
.lim-canvas  { display: block; width: 100%; height: 238px; }

/* ══════════════════════════════════════════════════════════
   TIBETAN ASTROLOGICAL ENGINE
   ══════════════════════════════════════════════════════════ */
.tib-section {
  background: radial-gradient(ellipse at 50% 0%, #1a0808 0%, #0e0405 45%, #060108 100%);
  padding: 80px 0 90px;
}
.tib-wrap { max-width: 1060px; margin: 0 auto; padding: 0 28px; }

.tib-hdr { text-align: center; margin-bottom: 36px; }
.tib-led {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #b84030; box-shadow: 0 0 10px #b84030, 0 0 22px #b84030aa;
  margin: 0 18px; vertical-align: middle;
  animation: tibLedPulse 2.4s ease-in-out infinite;
}
@keyframes tibLedPulse {
  0%,100% { opacity: 1; box-shadow: 0 0 10px #b84030, 0 0 22px #b84030aa; }
  50%      { opacity: 0.5; box-shadow: 0 0 4px #b84030; }
}
.tib-title {
  display: inline; font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem); letter-spacing: 0.25em;
  color: #c88850; text-shadow: 0 0 18px #c8885088;
}
.tib-sub {
  font-family: 'Courier New', monospace; font-size: clamp(0.65rem, 1.2vw, 0.78rem);
  color: rgba(200,136,80,0.55); letter-spacing: 0.20em; text-transform: uppercase;
  margin-top: 10px;
}

.tib-stage { display: flex; justify-content: center; margin-bottom: 44px; }
.tib-canvas {
  display: block;
  width: min(820px, 95vw);
  height: auto;
  aspect-ratio: 1 / 0.88;
  border-radius: 4px;
}

.tib-panels {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 700px) { .tib-panels { grid-template-columns: 1fr; } }

.tib-panel {
  background: rgba(40,10,8,0.55);
  border: 1px solid rgba(184,64,48,0.25);
  border-radius: 4px; padding: 18px 16px;
}
.tib-panel-title {
  font-family: 'Cinzel', serif; font-size: 0.63rem; letter-spacing: 0.20em;
  color: rgba(200,136,80,0.70); text-transform: uppercase; margin-bottom: 10px;
}
.tib-divider { height: 1px; background: rgba(184,64,48,0.18); margin: 12px 0; }
.tib-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.tib-lbl { font-family: 'Courier New', monospace; font-size: 0.60rem; color: rgba(200,170,130,0.52); letter-spacing: 0.08em; text-transform: uppercase; }
.tib-val { font-family: 'Courier New', monospace; font-size: 0.70rem; color: rgba(220,190,150,0.88); letter-spacing: 0.05em; text-align: right; max-width: 58%; }
.tib-gold   { color: #c9a84c !important; text-shadow: 0 0 6px #c9a84c66; }
.tib-red    { color: #d05040 !important; text-shadow: 0 0 6px #d0504066; }
.tib-cyan   { color: #38b8b0 !important; text-shadow: 0 0 6px #38b8b066; }

/* ══════════════════════════════════════════════════════════
   ARABIC / PERSIAN OCCULT ENGINE
   ══════════════════════════════════════════════════════════ */
.ara-section {
  background: radial-gradient(ellipse at 50% 0%, #050d1a 0%, #07091a 40%, #040608 100%);
  padding: 80px 0 90px;
}
.ara-wrap { max-width: 1060px; margin: 0 auto; padding: 0 28px; }

.ara-hdr { text-align: center; margin-bottom: 36px; }
.ara-led {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #2ac8c0; box-shadow: 0 0 10px #2ac8c0, 0 0 22px #2ac8c0aa;
  margin: 0 18px; vertical-align: middle;
  animation: araLedPulse 2.8s ease-in-out infinite;
}
@keyframes araLedPulse {
  0%,100% { opacity: 1; box-shadow: 0 0 10px #2ac8c0, 0 0 22px #2ac8c0aa; }
  50%      { opacity: 0.4; box-shadow: 0 0 4px #2ac8c0; }
}
.ara-title {
  display: inline; font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem); letter-spacing: 0.25em;
  color: #8ab8e8; text-shadow: 0 0 18px #8ab8e888;
}
.ara-sub {
  font-family: 'Courier New', monospace; font-size: clamp(0.65rem, 1.2vw, 0.78rem);
  color: rgba(138,184,232,0.50); letter-spacing: 0.20em; text-transform: uppercase;
  margin-top: 10px;
}

.ara-stage { display: flex; justify-content: center; margin-bottom: 44px; }
.ara-canvas {
  display: block;
  width: min(1080px, 99vw);
  height: auto;
  aspect-ratio: 1 / 0.70;
  border-radius: 4px;
}

.ara-panels {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 700px) { .ara-panels { grid-template-columns: 1fr; } }

.ara-panel {
  background: rgba(5,15,35,0.60);
  border: 1px solid rgba(42,200,192,0.22);
  border-radius: 4px; padding: 18px 16px;
}
.ara-panel-title {
  font-family: 'Cinzel', serif; font-size: 0.63rem; letter-spacing: 0.20em;
  color: rgba(138,184,232,0.70); text-transform: uppercase; margin-bottom: 10px;
}
.ara-divider { height: 1px; background: rgba(42,200,192,0.15); margin: 10px 0; }
.ara-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; }
.ara-lbl { font-family: 'Courier New', monospace; font-size: 0.59rem; color: rgba(138,184,232,0.45); letter-spacing: 0.08em; text-transform: uppercase; }
.ara-val { font-family: 'Courier New', monospace; font-size: 0.69rem; color: rgba(200,220,255,0.85); letter-spacing: 0.05em; text-align: right; max-width: 60%; }
.ara-gold   { color: #c9a84c !important; text-shadow: 0 0 6px #c9a84c66; }
.ara-teal   { color: #2ac8c0 !important; text-shadow: 0 0 6px #2ac8c066; }
.ara-violet { color: #a070e8 !important; text-shadow: 0 0 6px #a070e866; }
.ara-red    { color: #d05848 !important; text-shadow: 0 0 6px #d0584866; }

/* ══════════════════════════════════════════════════════════
   IFÁ DIVINATION ENGINE — Yoruba · Odu · Opele · Ese Ifa
   ══════════════════════════════════════════════════════════ */
.ifa-section {
  background: radial-gradient(ellipse at 50% 0%, #120c04 0%, #0c0804 40%, #060402 100%);
  padding: 80px 0 90px;
}
.ifa-wrap { max-width: 1060px; margin: 0 auto; padding: 0 28px; }

.ifa-hdr { text-align: center; margin-bottom: 36px; }
.ifa-led {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #c87820; box-shadow: 0 0 10px #c87820, 0 0 22px #c87820aa;
  margin: 0 18px; vertical-align: middle;
  animation: ifaLedPulse 3.0s ease-in-out infinite;
}
@keyframes ifaLedPulse {
  0%,100% { opacity: 1; box-shadow: 0 0 10px #c87820, 0 0 22px #c87820aa; }
  50%      { opacity: 0.35; box-shadow: 0 0 4px #c87820; }
}
.ifa-title {
  display: inline; font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem); letter-spacing: 0.25em;
  color: #c87820; text-shadow: 0 0 18px #c8782088;
}
.ifa-sub {
  font-family: 'Courier New', monospace; font-size: clamp(0.65rem, 1.2vw, 0.78rem);
  color: rgba(200,120,32,0.50); letter-spacing: 0.20em; text-transform: uppercase;
  margin-top: 10px;
}

.ifa-stage { display: flex; justify-content: center; margin-bottom: 44px; }
.ifa-canvas {
  display: block;
  width: min(1080px, 99vw);
  height: auto;
  aspect-ratio: 1 / 0.70;
  border-radius: 4px;
}

.ifa-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 700px) { .ifa-panels { grid-template-columns: 1fr; } }

.ifa-panel {
  background: rgba(15,10,4,0.65);
  border: 1px solid rgba(200,120,32,0.22);
  border-radius: 4px; padding: 18px 16px;
}
.ifa-panel-title {
  font-family: 'Cinzel', serif; font-size: 0.63rem; letter-spacing: 0.20em;
  color: rgba(200,120,32,0.70); text-transform: uppercase; margin-bottom: 10px;
}
.ifa-divider { height: 1px; background: rgba(200,120,32,0.15); margin: 10px 0; }
.ifa-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; }
.ifa-lbl { font-family: 'Courier New', monospace; font-size: 0.59rem; color: rgba(200,120,32,0.45); letter-spacing: 0.08em; text-transform: uppercase; }
.ifa-val { font-family: 'Courier New', monospace; font-size: 0.69rem; color: rgba(240,210,160,0.88); letter-spacing: 0.05em; text-align: right; max-width: 62%; }
.ifa-amber { color: #c87820 !important; text-shadow: 0 0 6px #c8782066; }
.ifa-gold  { color: #d4a830 !important; text-shadow: 0 0 6px #d4a83066; }
.ifa-green { color: #48a060 !important; text-shadow: 0 0 6px #48a06066; }
.ifa-red   { color: #b83020 !important; text-shadow: 0 0 6px #b8302066; }

/* ══════════════════════════════════════════════════════════
   SLAVIC OCCULT ENGINE — Zagovory · Vorozhbitstvo · Rodnovery
   ══════════════════════════════════════════════════════════ */
.slav-section {
  background: radial-gradient(ellipse at 50% 0%, #030c14 0%, #020810 40%, #010508 100%);
  padding: 80px 0 90px;
}
.slav-wrap { max-width: 1060px; margin: 0 auto; padding: 0 28px; }

.slav-hdr { text-align: center; margin-bottom: 36px; }
.slav-led {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #6888b8; box-shadow: 0 0 10px #6888b8, 0 0 22px #6888b8aa;
  margin: 0 18px; vertical-align: middle;
  animation: slavLedPulse 3.5s ease-in-out infinite;
}
@keyframes slavLedPulse {
  0%,100% { opacity: 1; box-shadow: 0 0 10px #6888b8, 0 0 22px #6888b8aa; }
  50%      { opacity: 0.30; box-shadow: 0 0 4px #6888b8; }
}
.slav-title {
  display: inline; font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem); letter-spacing: 0.25em;
  color: #a0b8d0; text-shadow: 0 0 18px #a0b8d088;
}
.slav-sub {
  font-family: 'Courier New', monospace; font-size: clamp(0.65rem, 1.2vw, 0.78rem);
  color: rgba(160,184,208,0.50); letter-spacing: 0.20em; text-transform: uppercase;
  margin-top: 10px;
}

.slav-stage { display: flex; justify-content: center; margin-bottom: 44px; }
.slav-canvas {
  display: block;
  width: min(1080px, 99vw);
  height: auto;
  aspect-ratio: 1 / 0.70;
  border-radius: 4px;
}

.slav-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 700px) { .slav-panels { grid-template-columns: 1fr; } }

.slav-panel {
  background: rgba(2,6,14,0.68);
  border: 1px solid rgba(104,136,184,0.22);
  border-radius: 4px; padding: 18px 16px;
}
.slav-panel-title {
  font-family: 'Cinzel', serif; font-size: 0.63rem; letter-spacing: 0.20em;
  color: rgba(160,184,208,0.70); text-transform: uppercase; margin-bottom: 10px;
}
.slav-divider { height: 1px; background: rgba(104,136,184,0.15); margin: 10px 0; }
.slav-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; }
.slav-lbl { font-family: 'Courier New', monospace; font-size: 0.59rem; color: rgba(160,184,208,0.45); letter-spacing: 0.08em; text-transform: uppercase; }
.slav-val { font-family: 'Courier New', monospace; font-size: 0.69rem; color: rgba(210,225,240,0.88); letter-spacing: 0.05em; text-align: right; max-width: 62%; }
.slav-gold  { color: #c8a860 !important; text-shadow: 0 0 6px #c8a86066; }
.slav-amber { color: #d09040 !important; text-shadow: 0 0 6px #d0904066; }
.slav-blue  { color: #7eb0d8 !important; text-shadow: 0 0 6px #7eb0d866; }
.slav-red   { color: #b04030 !important; text-shadow: 0 0 6px #b0403066; }

/* ══════════════════════════════════════════════════════════
   NORDIC RUNIC ENGINE — Elder Futhark · Three Aettir · Wyrd
   ══════════════════════════════════════════════════════════ */
.norse-section {
  background: radial-gradient(ellipse at 50% 0%, #060810 0%, #040610 40%, #020408 100%);
  padding: 80px 0 90px;
}
.norse-wrap { max-width: 1060px; margin: 0 auto; padding: 0 28px; }

.norse-hdr { text-align: center; margin-bottom: 36px; }
.norse-led {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #7890d0; box-shadow: 0 0 10px #7890d0, 0 0 22px #7890d0aa;
  margin: 0 18px; vertical-align: middle;
  animation: norseLedPulse 4.0s ease-in-out infinite;
}
@keyframes norseLedPulse {
  0%,100% { opacity: 1; box-shadow: 0 0 10px #7890d0, 0 0 22px #7890d0aa; }
  50%      { opacity: 0.30; box-shadow: 0 0 4px #7890d0; }
}
.norse-title {
  display: inline; font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem); letter-spacing: 0.25em;
  color: #b8a060; text-shadow: 0 0 18px #b8a06088;
}
.norse-sub {
  font-family: 'Courier New', monospace; font-size: clamp(0.65rem, 1.2vw, 0.78rem);
  color: rgba(184,160,96,0.50); letter-spacing: 0.20em; text-transform: uppercase;
  margin-top: 10px;
}

.norse-stage { display: flex; justify-content: center; margin-bottom: 44px; }
.norse-canvas {
  display: block;
  width: min(1080px, 99vw);
  height: auto;
  aspect-ratio: 1 / 0.70;
  border-radius: 4px;
}

.norse-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 700px) { .norse-panels { grid-template-columns: 1fr; } }

.norse-panel {
  background: rgba(2,4,12,0.70);
  border: 1px solid rgba(120,144,208,0.22);
  border-radius: 4px; padding: 18px 16px;
}
.norse-panel-title {
  font-family: 'Cinzel', serif; font-size: 0.63rem; letter-spacing: 0.20em;
  color: rgba(184,160,96,0.70); text-transform: uppercase; margin-bottom: 10px;
}
.norse-divider { height: 1px; background: rgba(120,144,208,0.15); margin: 10px 0; }
.norse-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; }
.norse-lbl { font-family: 'Courier New', monospace; font-size: 0.59rem; color: rgba(184,160,96,0.42); letter-spacing: 0.08em; text-transform: uppercase; }
.norse-val { font-family: 'Courier New', monospace; font-size: 0.69rem; color: rgba(220,225,235,0.88); letter-spacing: 0.05em; text-align: right; max-width: 62%; }
.norse-gold   { color: #c0a050 !important; text-shadow: 0 0 6px #c0a05066; }
.norse-amber  { color: #d09040 !important; text-shadow: 0 0 6px #d0904066; }
.norse-blue   { color: #7890d0 !important; text-shadow: 0 0 6px #7890d066; }
.norse-silver { color: #b0c0d8 !important; text-shadow: 0 0 6px #b0c0d866; }
.norse-red    { color: #c04040 !important; text-shadow: 0 0 6px #c0404066; }
.norse-green  { color: #508040 !important; text-shadow: 0 0 6px #50804066; }

/* ══════════════════════════════════════════════════════════
   VEDIC JYOTISHA ENGINE — Jyotisha · Graha · Nakshatra · Dasha
   ══════════════════════════════════════════════════════════ */
.vedic-section {
  background: radial-gradient(ellipse at 50% 0%, #100804 0%, #0a0604 40%, #060302 100%);
  padding: 80px 0 90px;
}
.vedic-wrap { max-width: 1060px; margin: 0 auto; padding: 0 28px; }

.vedic-hdr { text-align: center; margin-bottom: 36px; }
.vedic-led {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #e07820; box-shadow: 0 0 10px #e07820, 0 0 22px #e07820aa;
  margin: 0 18px; vertical-align: middle;
  animation: vedicLedPulse 3.2s ease-in-out infinite;
}
@keyframes vedicLedPulse {
  0%,100% { opacity: 1; box-shadow: 0 0 10px #e07820, 0 0 22px #e07820aa; }
  50%      { opacity: 0.30; box-shadow: 0 0 4px #e07820; }
}
.vedic-title {
  display: inline; font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem); letter-spacing: 0.25em;
  color: #e07820; text-shadow: 0 0 18px #e0782088;
}
.vedic-sub {
  font-family: 'Courier New', monospace; font-size: clamp(0.65rem, 1.2vw, 0.78rem);
  color: rgba(224,120,32,0.50); letter-spacing: 0.20em; text-transform: uppercase;
  margin-top: 10px;
}

.vedic-stage { display: flex; justify-content: center; margin-bottom: 44px; }
.vedic-canvas {
  display: block;
  width: min(1080px, 99vw);
  height: auto;
  aspect-ratio: 1 / 0.70;
  border-radius: 4px;
}

.vedic-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 700px) { .vedic-panels { grid-template-columns: 1fr; } }

.vedic-panel {
  background: rgba(10,5,2,0.70);
  border: 1px solid rgba(224,120,32,0.22);
  border-radius: 4px; padding: 18px 16px;
}
.vedic-panel-title {
  font-family: 'Cinzel', serif; font-size: 0.63rem; letter-spacing: 0.20em;
  color: rgba(224,120,32,0.70); text-transform: uppercase; margin-bottom: 10px;
}
.vedic-divider { height: 1px; background: rgba(224,120,32,0.15); margin: 10px 0; }
.vedic-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; }
.vedic-lbl { font-family: 'Courier New', monospace; font-size: 0.59rem; color: rgba(224,120,32,0.42); letter-spacing: 0.08em; text-transform: uppercase; }
.vedic-val { font-family: 'Courier New', monospace; font-size: 0.69rem; color: rgba(240,225,200,0.88); letter-spacing: 0.05em; text-align: right; max-width: 62%; }
.vedic-gold    { color: #e8b840 !important; text-shadow: 0 0 6px #e8b84066; }
.vedic-amber   { color: #e07820 !important; text-shadow: 0 0 6px #e0782066; }
.vedic-saffron { color: #f09030 !important; text-shadow: 0 0 6px #f0903066; }
.vedic-silver  { color: #c8c8d8 !important; text-shadow: 0 0 6px #c8c8d866; }
.vedic-red     { color: #c83828 !important; text-shadow: 0 0 6px #c8382866; }
.vedic-green   { color: #48a050 !important; text-shadow: 0 0 6px #48a05066; }
.vedic-rose    { color: #d870a0 !important; text-shadow: 0 0 6px #d870a066; }
.vedic-indigo  { color: #7060c8 !important; text-shadow: 0 0 6px #7060c866; }

/* ══════════════════════════════════════════════════════════
   MASTER CONVERGENCE ENGINE — VALDRISHEN MATRIX
   ══════════════════════════════════════════════════════════ */
.conv-section {
  background: radial-gradient(ellipse at 50% 0%, #080810 0%, #04040a 40%, #020208 100%);
  padding: 80px 0 90px;
}
.conv-wrap { max-width: 1440px; margin: 0 auto; padding: 0 20px; }
.conv-hdr  { text-align: center; margin-bottom: 28px; }
.conv-led  {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #5080e0; box-shadow: 0 0 12px #5080e0, 0 0 24px #5080e044;
  margin: 0 14px; vertical-align: middle; animation: conv-pulse 2.4s ease-in-out infinite;
}
@keyframes conv-pulse {
  0%, 100% { opacity: 0.5; box-shadow: 0 0 6px #5080e0; }
  50%       { opacity: 1;   box-shadow: 0 0 18px #5080e0, 0 0 36px #5080e066; }
}
.conv-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.1rem, 3vw, 2.3rem);
  color: #c8a860;
  text-shadow: 0 0 30px #5080e0aa, 0 0 60px #5080e044;
  letter-spacing: 0.18em; display: inline;
}
.conv-sub {
  font-family: 'Cinzel', serif; font-size: clamp(0.60rem, 1.1vw, 0.82rem);
  color: rgba(160,180,220,0.50); letter-spacing: 0.10em; margin-top: 9px;
}
.conv-stage { margin-bottom: 24px; text-align: center; }
.conv-canvas {
  width: min(1080px, 99vw); aspect-ratio: 1 / 0.70;
  display: block; margin: 0 auto;
  border: 1px solid rgba(80,128,224,0.12); border-radius: 3px;
}
.conv-panels {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; width: 100%; margin: 0 auto;
}
.conv-panel {
  background: rgba(6,6,16,0.82); border: 1px solid rgba(80,128,224,0.15);
  border-radius: 6px; padding: 14px 12px;
}
.conv-panel-title {
  font-family: 'Cinzel', serif; font-size: 0.66rem;
  color: rgba(80,128,224,0.65); letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 6px; text-align: center;
}
.conv-divider { height: 1px; background: rgba(80,128,224,0.10); margin: 7px 0; }
.conv-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 3px 0; min-height: 18px;
}
.conv-lbl {
  font-family: 'Courier New', monospace; font-size: 0.57rem;
  color: rgba(80,128,224,0.38); letter-spacing: 0.05em;
  white-space: nowrap; margin-right: 6px; flex-shrink: 0;
}
.conv-val {
  font-family: 'Courier New', monospace; font-size: 0.65rem;
  color: rgba(200,210,240,0.80); text-align: right; flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  cursor: default; transition: none;
}
.conv-val.is-overflow:hover {
  overflow: visible;
  text-overflow: clip;
  position: relative;
  z-index: 200;
  background: rgba(6, 6, 20, 0.97);
  padding: 1px 6px;
  border-radius: 3px;
  box-shadow: 0 2px 18px rgba(0,0,0,0.85), 0 0 10px rgba(80,128,224,0.18);
  outline: 1px solid rgba(80,128,224,0.28);
}
.conv-gold     { color: #c8a860 !important; text-shadow: 0 0 8px #c8a86066; }
.conv-apex     { color: #e0c880 !important; text-shadow: 0 0 12px #e0c88088, 0 0 24px #5080e044; }
.conv-prime    { color: #80a0e8 !important; text-shadow: 0 0 8px #80a0e866; }
.conv-sync     { color: #60c8a0 !important; text-shadow: 0 0 8px #60c8a066; }
.conv-schumann { color: #40d8e0 !important; text-shadow: 0 0 8px #40d8e066; }
.conv-fib      { color: #d0a060 !important; text-shadow: 0 0 8px #d0a06066; }
.conv-music    { color: #c060d0 !important; text-shadow: 0 0 8px #c060d066; }
@media (max-width: 680px) { .conv-panels { grid-template-columns: 1fr; } }

/* Audio toggle button */
.conv-audio-btn {
  display: inline-block; margin: 12px auto 0;
  padding: 7px 24px;
  font-family: 'Cinzel', serif; font-size: 0.66rem; letter-spacing: 0.14em;
  color: rgba(192,100,224,0.65); border: 1px solid rgba(192,100,224,0.28);
  border-radius: 3px; background: rgba(10,5,18,0.80); cursor: pointer;
  transition: all 0.4s ease;
}
.conv-audio-btn:hover {
  color: #c060d0; border-color: rgba(192,80,220,0.55);
  box-shadow: 0 0 12px rgba(192,60,220,0.30);
}
.conv-audio-btn.active {
  color: #d884f0; border-color: #c060d0;
  background: rgba(70,15,90,0.32);
  box-shadow: 0 0 16px rgba(192,60,220,0.50), 0 0 32px rgba(192,60,220,0.22);
  animation: conv-audio-pulse 1.8s ease-in-out infinite;
}
@keyframes conv-audio-pulse {
  0%,100% { box-shadow: 0 0 10px rgba(192,60,220,0.35), 0 0 20px rgba(192,60,220,0.12); }
  50%      { box-shadow: 0 0 22px rgba(192,60,220,0.70), 0 0 44px rgba(192,60,220,0.28); }
}
/* Canvas glow when audio active */
.conv-section.audio-active .conv-canvas {
  border-color: rgba(192,60,220,0.45);
  box-shadow: 0 0 24px rgba(192,60,220,0.22), 0 0 48px rgba(192,60,220,0.10);
  transition: border-color 1.2s ease, box-shadow 1.2s ease;
}
/* Color shift ring animations for convergence level */
.conv-section.audio-void    .conv-canvas { border-color: rgba(60,60,80,0.35); }
.conv-section.audio-stirring .conv-canvas { border-color: rgba(64,216,224,0.40); }
.conv-section.audio-rising   .conv-canvas { border-color: rgba(200,160,60,0.45); }
.conv-section.audio-convergent .conv-canvas { border-color: rgba(192,60,220,0.55); }
.conv-section.audio-apex     .conv-canvas {
  border-color: rgba(255,220,80,0.70);
  box-shadow: 0 0 32px rgba(255,220,80,0.28), 0 0 64px rgba(192,60,220,0.20);
  animation: apex-glow 1.2s ease-in-out infinite;
}
@keyframes apex-glow {
  0%,100% { box-shadow: 0 0 24px rgba(255,220,80,0.25); }
  50%      { box-shadow: 0 0 48px rgba(255,220,80,0.50), 0 0 80px rgba(192,60,220,0.30); }
}
/* New value colors */
.conv-angel { color: #d0b8f0 !important; text-shadow: 0 0 8px #d0b8f066; }
.conv-ley   { color: #58d8a8 !important; text-shadow: 0 0 8px #58d8a866; }

/* ── Audio row & chord selector buttons ──────────────────────────── */
.conv-audio-row {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin-top: 12px;
}
.conv-chord-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
}
.conv-chord-btn {
  font-family: 'Cinzel', serif; font-size: 0.55rem; letter-spacing: 0.14em;
  color: rgba(160,100,200,0.55); border: 1px solid rgba(160,100,200,0.22);
  border-radius: 3px; background: rgba(10,5,18,0.70); cursor: pointer;
  padding: 4px 12px; transition: all 0.3s ease;
}
.conv-chord-btn:hover {
  color: #c060d0; border-color: rgba(192,80,220,0.50);
  box-shadow: 0 0 8px rgba(192,60,220,0.22);
}
.conv-chord-btn.active {
  color: #e080f8; border-color: #c060d0;
  background: rgba(70,15,90,0.40);
  box-shadow: 0 0 12px rgba(192,60,220,0.45), 0 0 24px rgba(192,60,220,0.18);
}

/* ── 7-Chakra Focus Strip ─────────────────────────────────────────── */
.conv-chakra-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
  margin: 14px auto 18px; max-width: 900px;
  padding: 10px 20px;
  border: 1px solid rgba(80,80,160,0.14);
  border-radius: 40px;
  background: rgba(8,8,20,0.50);
  position: relative;
}
.conv-ckr-node {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  cursor: default; transition: transform 0.3s ease;
  padding: 4px 8px; border-radius: 20px;
  border: 1px solid transparent;
}
.conv-ckr-node.active {
  border-color: var(--ckr-col, #888);
  background: rgba(255,255,255,0.04);
  transform: scale(1.18);
  box-shadow: 0 0 16px var(--ckr-col, #888), 0 0 32px var(--ckr-col, #888);
}
.ckr-gem {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--ckr-col, #888);
  opacity: 0.30;
  box-shadow: 0 0 8px var(--ckr-col, #888);
  transition: opacity 0.4s ease, box-shadow 0.4s ease;
}
.conv-ckr-node.active .ckr-gem {
  opacity: 0.92;
  box-shadow: 0 0 14px var(--ckr-col, #888), 0 0 28px var(--ckr-col, #888);
  animation: chakra-pulse 1.6s ease-in-out infinite;
}
@keyframes chakra-pulse {
  0%,100% { box-shadow: 0 0 12px var(--ckr-col, #888), 0 0 24px var(--ckr-col, #888); }
  50%      { box-shadow: 0 0 22px var(--ckr-col, #888), 0 0 44px var(--ckr-col, #888), 0 0 60px var(--ckr-col, #88888840); }
}
.ckr-label {
  font-family: 'Courier New', monospace; font-size: 0.48rem;
  letter-spacing: 0.12em; color: rgba(200,210,240,0.35);
  text-transform: uppercase; transition: color 0.4s;
}
.conv-ckr-node.active .ckr-label { color: var(--ckr-col, #888); font-weight: bold; }
.ckr-active-label {
  font-family: 'Cinzel', serif; font-size: 0.52rem; letter-spacing: 0.18em;
  color: rgba(180,180,220,0.40); text-transform: uppercase;
  position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
}

/* ── Chakra focus block (panel 4) ────────────────────────────────── */
.conv-panel-chakra {
  border-color: rgba(120,80,200,0.25) !important;
}
.ckr-focus-block {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 12px; margin-bottom: 10px;
  border-radius: 6px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(120,80,200,0.18);
}
.ckr-focus-gem {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: #888; opacity: 0.70;
  box-shadow: 0 0 16px #888;
  transition: background 0.6s ease, box-shadow 0.6s ease;
  animation: ckr-gem-breathe 2.4s ease-in-out infinite;
}
@keyframes ckr-gem-breathe {
  0%,100% { transform: scale(1.0); }
  50%      { transform: scale(1.12); }
}
.ckr-focus-text { flex: 1; min-width: 0; }
.ckr-focus-name {
  font-family: 'Cinzel', serif; font-size: 0.80rem;
  color: rgba(200,180,240,0.90); letter-spacing: 0.12em; margin-bottom: 3px;
}
.ckr-focus-sanskrit {
  font-family: 'EB Garamond', serif; font-size: 0.72rem; font-style: italic;
  color: rgba(180,160,220,0.55);
}
.ckr-seed {
  font-size: 1.1rem !important; font-family: 'Cinzel Decorative', serif !important;
  letter-spacing: 0.25em;
}

/* ── Mantra block ─────────────────────────────────────────────────── */
.conv-mantra-block {
  background: rgba(0,0,0,0.40); border-radius: 4px;
  border: 1px solid rgba(80,128,224,0.14);
  padding: 10px 12px; margin-top: 8px;
}
.conv-mantra-text {
  font-family: 'EB Garamond', serif; font-size: 0.80rem; font-style: italic;
  color: rgba(220,200,160,0.80); text-align: center; line-height: 1.45;
  margin-bottom: 8px;
}
.conv-mantra-meta {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
  font-size: 0.55rem;
}

/* ── Full-width mantra scroll bar ─────────────────────────────────── */
.conv-mantra-bar {
  text-align: center; padding: 10px 0 4px;
  border-top: 1px solid rgba(80,128,224,0.10);
  margin-top: 22px; overflow: hidden;
}
.conv-mantra-scroll {
  font-family: 'Cinzel', serif; font-size: 0.65rem; letter-spacing: 0.45em;
  color: rgba(180,160,220,0.40); text-transform: uppercase;
  display: inline-block;
  animation: mantra-drift 24s linear infinite;
}
@keyframes mantra-drift {
  0%   { transform: translateX(40px); opacity: 0.30; }
  10%  { opacity: 0.55; }
  90%  { opacity: 0.55; }
  100% { transform: translateX(-40px); opacity: 0.30; }
}

/* ── 4-column panels layout ──────────────────────────────────────── */
.conv-panels { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
@media (max-width: 900px) { .conv-panels { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 560px) { .conv-panels { grid-template-columns: minmax(0, 1fr) !important; } }

/* ══════════════════════════════════════════════════════════
   MESOAMERICAN ASTROLOGY ENGINE
   ══════════════════════════════════════════════════════════ */
.mesa-section {
  background: radial-gradient(ellipse at 50% 0%, #0d1205 0%, #090d04 40%, #050604 100%);
  padding: 80px 0 90px;
}
.mesa-wrap { max-width: 1060px; margin: 0 auto; padding: 0 28px; }

.mesa-hdr { text-align: center; margin-bottom: 36px; }
.mesa-led {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #e8a020; box-shadow: 0 0 10px #e8a020, 0 0 22px #e8a020aa;
  margin: 0 18px; vertical-align: middle;
  animation: mesaLedPulse 2.6s ease-in-out infinite;
}
@keyframes mesaLedPulse {
  0%,100% { opacity: 1; box-shadow: 0 0 10px #e8a020, 0 0 22px #e8a020aa; }
  50%      { opacity: 0.38; box-shadow: 0 0 4px #e8a020; }
}
.mesa-title {
  display: inline; font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem); letter-spacing: 0.25em;
  color: #e8a020; text-shadow: 0 0 18px #e8a02088;
}
.mesa-sub {
  font-family: 'Courier New', monospace; font-size: clamp(0.65rem, 1.2vw, 0.78rem);
  color: rgba(232,160,32,0.50); letter-spacing: 0.20em; text-transform: uppercase;
  margin-top: 10px;
}

.mesa-stage { display: flex; justify-content: center; margin-bottom: 44px; }
.mesa-canvas {
  display: block;
  width: min(1080px, 99vw);
  height: auto;
  aspect-ratio: 1 / 0.70;
  border-radius: 4px;
}

.mesa-panels {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 700px) { .mesa-panels { grid-template-columns: 1fr; } }

.mesa-panel {
  background: rgba(10,14,3,0.62);
  border: 1px solid rgba(232,160,32,0.22);
  border-radius: 4px; padding: 18px 16px;
}
.mesa-panel-title {
  font-family: 'Cinzel', serif; font-size: 0.63rem; letter-spacing: 0.20em;
  color: rgba(232,160,32,0.70); text-transform: uppercase; margin-bottom: 10px;
}
.mesa-divider { height: 1px; background: rgba(232,160,32,0.15); margin: 10px 0; }
.mesa-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; }
.mesa-lbl { font-family: 'Courier New', monospace; font-size: 0.59rem; color: rgba(232,160,32,0.42); letter-spacing: 0.08em; text-transform: uppercase; }
.mesa-val { font-family: 'Courier New', monospace; font-size: 0.69rem; color: rgba(240,220,160,0.88); letter-spacing: 0.05em; text-align: right; max-width: 60%; }
.mesa-gold { color: #e8a020 !important; text-shadow: 0 0 6px #e8a02066; }
.mesa-teal { color: #40c8a0 !important; text-shadow: 0 0 6px #40c8a066; }
.mesa-red  { color: #d04828 !important; text-shadow: 0 0 6px #d0482866; }

/* ══════════════════════════════════════════════════════════
   CATHOLIC ESOTERIC / GRIMOIRE ENGINE
   ══════════════════════════════════════════════════════════ */
.cath-section {
  background: radial-gradient(ellipse at 50% 0%, #110a04 0%, #0c0808 40%, #060408 100%);
  padding: 80px 0 90px;
}
.cath-wrap { max-width: 1060px; margin: 0 auto; padding: 0 28px; }

.cath-hdr { text-align: center; margin-bottom: 36px; }
.cath-led {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #d4c090; box-shadow: 0 0 10px #d4c090, 0 0 22px #d4c090aa;
  margin: 0 18px; vertical-align: middle;
  animation: cathLedPulse 3.2s ease-in-out infinite;
}
@keyframes cathLedPulse {
  0%,100% { opacity: 1; box-shadow: 0 0 10px #d4c090, 0 0 22px #d4c090aa; }
  50%      { opacity: 0.35; box-shadow: 0 0 4px #d4c090; }
}
.cath-title {
  display: inline; font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem); letter-spacing: 0.25em;
  color: #d4c090; text-shadow: 0 0 18px #d4c09088;
}
.cath-sub {
  font-family: 'Courier New', monospace; font-size: clamp(0.65rem, 1.2vw, 0.78rem);
  color: rgba(212,192,144,0.50); letter-spacing: 0.20em; text-transform: uppercase;
  margin-top: 10px;
}

.cath-stage { display: flex; justify-content: center; margin-bottom: 44px; }
.cath-canvas {
  display: block;
  width: min(1080px, 99vw);
  height: auto;
  aspect-ratio: 1 / 0.70;
  border-radius: 4px;
}

.cath-panels {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 700px) { .cath-panels { grid-template-columns: 1fr; } }

.cath-panel {
  background: rgba(20,10,5,0.60);
  border: 1px solid rgba(212,192,144,0.22);
  border-radius: 4px; padding: 18px 16px;
}
.cath-panel-title {
  font-family: 'Cinzel', serif; font-size: 0.63rem; letter-spacing: 0.20em;
  color: rgba(212,192,144,0.70); text-transform: uppercase; margin-bottom: 10px;
}
.cath-divider { height: 1px; background: rgba(212,192,144,0.15); margin: 10px 0; }
.cath-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; }
.cath-lbl { font-family: 'Courier New', monospace; font-size: 0.59rem; color: rgba(212,192,144,0.42); letter-spacing: 0.08em; text-transform: uppercase; }
.cath-val { font-family: 'Courier New', monospace; font-size: 0.69rem; color: rgba(230,215,185,0.85); letter-spacing: 0.05em; text-align: right; max-width: 60%; }
.cath-gold   { color: #d4c090 !important; text-shadow: 0 0 6px #d4c09066; }
.cath-silver { color: #c8d0dc !important; text-shadow: 0 0 6px #c8d0dc55; }
.cath-red    { color: #c84040 !important; text-shadow: 0 0 6px #c8404066; }
