:root {
  --bg: #050507;
  --panel: rgba(14, 13, 18, 0.82);
  --panel-strong: rgba(24, 20, 28, 0.95);
  --text: #f5efe4;
  --muted: #cbbfae;
  --gold: #d8b86a;
  --gold-soft: rgba(216, 184, 106, 0.2);
  --line: rgba(216, 184, 106, 0.32);
  --shadow: rgba(0, 0, 0, 0.45);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 184, 106, 0.13), transparent 35%),
    radial-gradient(circle at 20% 20%, rgba(120, 85, 255, 0.1), transparent 28%),
    radial-gradient(circle at 80% 30%, rgba(60, 180, 180, 0.08), transparent 26%),
    var(--bg);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.65;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.28) 1px, transparent 1.2px),
    radial-gradient(circle, rgba(216,184,106,.22) 1px, transparent 1.3px);
  background-size: 110px 110px, 170px 170px;
  background-position: 0 0, 40px 60px;
  opacity: .16;
  z-index: -1;
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header, header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(5, 5, 7, 0.72);
  border-bottom: 1px solid var(--line);
}
.top-nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: .85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  color: var(--text);
  font-weight: 700;
  letter-spacing: .16em;
  font-size: .85rem;
  text-decoration: none;
}
.menu { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; justify-content: flex-end; }
.menu a {
  color: var(--muted);
  font-size: .88rem;
  padding: .35rem .5rem;
  border-radius: 999px;
}
.menu a.active, .menu a:hover {
  color: var(--text);
  background: rgba(216, 184, 106, .12);
  text-decoration: none;
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius: 10px;
  padding: .45rem .7rem;
}

main.page, main { max-width: var(--max); margin: 0 auto; padding: 0 1rem 4rem; }
.arc-hero {
  min-height: calc(100vh - 66px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 0 5rem;
}
.orb-stage {
  position: relative;
  width: min(58vw, 420px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 0 auto 1.4rem;
}
.orb-aura {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216,184,106,.32), rgba(120,90,255,.16) 38%, transparent 68%);
  filter: blur(22px);
  animation: breathe 7s ease-in-out infinite;
}
.arc-orb {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 34px rgba(216,184,106,.25));
  animation: floatOrb 9s ease-in-out infinite;
}
.node {
  position: absolute;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px var(--gold);
  animation: pulseNode 4s ease-in-out infinite;
}
.node-one { top: 18%; left: 21%; }
.node-two { top: 31%; right: 12%; animation-delay: .8s; }
.node-three { bottom: 24%; left: 14%; animation-delay: 1.5s; }
.node-four { bottom: 16%; right: 24%; animation-delay: 2.2s; }
.eyebrow {
  margin: 0 0 .65rem;
  color: var(--gold);
  letter-spacing: .22em;
  font-size: .75rem;
  text-transform: uppercase;
}
.arc-hero h1, .page-title {
  margin: 0;
  font-size: clamp(3.1rem, 9vw, 7.6rem);
  letter-spacing: .14em;
  line-height: .9;
  text-shadow: 0 0 35px rgba(216,184,106,.2);
}
.hero-mantra {
  margin: 1rem 0 0;
  color: var(--gold);
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  font-style: italic;
}
.hero-copy, .intro-text {
  max-width: 780px;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-actions, .membership-block, .sound-toggle {
  display: flex;
  justify-content: center;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.btn, .membership-btn, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .78rem 1.15rem;
  color: var(--text);
  background: rgba(255,255,255,.04);
  box-shadow: 0 12px 35px rgba(0,0,0,.22);
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}
.btn-primary, .membership-btn {
  background: linear-gradient(135deg, rgba(216,184,106,.9), rgba(156,112,46,.9));
  color: #120f0a;
  font-weight: 700;
}
.btn:hover, .membership-btn:hover, button:hover { transform: translateY(-1px); text-decoration: none; }

.arc-panel, .why-section, .section-intro, .antique-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 80px var(--shadow);
}
.arc-panel, .why-section, .section-intro {
  margin: 1.2rem auto;
  padding: clamp(1.3rem, 4vw, 3rem);
}
.arc-panel h2, .why-section h2, #chambers-title {
  margin: 0 0 .8rem;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
}
.arc-panel p, .why-section p, .section-intro p { color: var(--muted); font-size: 1.05rem; }
.triad-grid, .chamber-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.2rem;
}
.triad-grid article, .seed-card, .antique-card {
  padding: 1.2rem;
  background: rgba(255,255,255,.035);
}
.triad-grid h3, .seed-card h3, .card-title { margin-top: 0; color: var(--text); }
.split-panel {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 1rem;
  align-items: stretch;
}
.seed-card { border: 1px solid var(--line); border-radius: 20px; }
.node-map {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}
.node-map span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem .85rem;
  background: rgba(216,184,106,.08);
  color: var(--text);
}
.final-call { text-align: center; }
.electrum-divider {
  width: min(420px, 70%);
  height: 1px;
  margin: 2rem auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.quote {
  margin: 1rem auto 0;
  max-width: 820px;
  color: var(--text);
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
}
.chamber-gallery { grid-template-columns: repeat(2, 1fr); }
.antique-card .card-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-top: .5rem;
}
.card-text { color: var(--muted); }

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}
.social-links { margin-top: .4rem; }
.core-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
}
.core-modal[hidden] { display: none; }
.core-modal-inner {
  position: relative;
  max-width: 680px;
  max-height: 84vh;
  overflow: auto;
  padding: 2rem;
  border-radius: 24px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  box-shadow: 0 30px 100px rgba(0,0,0,.55);
}
.modal-close {
  position: absolute;
  top: .8rem;
  right: .8rem;
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 1.5rem;
}
body.modal-open { overflow: hidden; }

@keyframes breathe {
  0%, 100% { transform: scale(.95); opacity: .55; }
  50% { transform: scale(1.08); opacity: .9; }
}
@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.015); }
}
@keyframes pulseNode {
  0%, 100% { opacity: .35; transform: scale(.82); }
  50% { opacity: 1; transform: scale(1.25); }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .menu {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 58px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: .75rem;
    background: rgba(7,7,10,.96);
    border: 1px solid var(--line);
    border-radius: 18px;
  }
  .menu.show { display: flex; }
  .menu a { padding: .65rem .8rem; }
  .split-panel, .triad-grid, .chamber-gallery { grid-template-columns: 1fr; }
  .orb-stage { width: min(78vw, 360px); }
  .arc-hero { padding-top: 2rem; }
}
@media (max-width: 520px) {
  .arc-hero h1 { letter-spacing: .07em; word-break: break-word; }
  .hero-actions { flex-direction: column; }
  .btn, .membership-btn { width: 100%; }
  main.page, main { padding-left: .8rem; padding-right: .8rem; }
  body { overflow-x: hidden; }
  img { max-width: 100%; height: auto; }
}

/* Respect users who prefer reduced motion: keep the page calm and still */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb-aura, .arc-orb, .node { animation: none; }
  .btn:hover, .membership-btn:hover, button:hover { transform: none; }
}
