/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --void:        #090910;
  --deep:        #0f0f1e;
  --card:        #121228;
  --gold:        #C8A84B;
  --gold-dim:    rgba(200,168,75,0.12);
  --teal:        #2DCFC0;
  --teal-dim:    rgba(45,207,192,0.12);
  --violet:      #8B6FB5;
  --violet-dim:  rgba(139,111,181,0.12);
  --parchment:   #F0EDE4;
  --muted:       #8A8779;
  --border:      rgba(200,168,75,0.15);
  --glass-bg:    rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.10);
  --glass-blur:  blur(18px);
  --f-display:   'Cinzel', serif;
  --f-body:      'EB Garamond', serif;
  --f-mono:      'Space Mono', monospace;
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--void);
  color: var(--parchment);
  font-family: var(--f-body);
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── CONTAINERS ─────────────────────────────────────────────── */
.container        { max-width: 1100px; margin: 0 auto; }
.container--narrow { max-width: 720px;  margin: 0 auto; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--f-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.btn-gold    { background: var(--gold); color: var(--void); }
.btn-gold:hover { background: #d9b85a; }
.btn-outline {
  background: transparent;
  color: var(--parchment);
  border: 1px solid rgba(240,237,228,0.3);
}
.btn-outline:hover { border-color: var(--parchment); }
.btn-teal    { background: var(--teal); color: var(--void); }
.btn-teal:hover { background: #40dfd0; }
.btn-large   { padding: 1rem 2.5rem; font-size: 0.85rem; }

/* ── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 2rem;
  background: rgba(9,9,16,0.65);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
}
.nav-logo {
  font-family: var(--f-display);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-link {
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s;
}
.nav-link:hover { color: var(--parchment); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 10%, rgba(139,111,181,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(45,207,192,0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 80%, rgba(200,168,75,0.05) 0%, transparent 40%);
}
.hero-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}
.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse at center,
    rgba(139,111,181,0.5) 0%,
    rgba(200,168,75,0.25) 45%,
    transparent 72%);
  filter: blur(36px);
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}
.hero-logo {
  position: relative;
  z-index: 1;
  width: min(460px, 80vw);
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 24px 64px rgba(0,0,0,0.55);
}
.eyebrow {
  font-family: var(--f-display);
  font-size: 0.7rem;
  letter-spacing: 0.38em;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--parchment);
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-family: var(--f-body);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-style: italic;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

/* ── STRINGS ────────────────────────────────────────────────── */
.strings-wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 2rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.string-row {
  display: flex; align-items: center; gap: 1.25rem;
}
.string-label {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  white-space: nowrap;
  min-width: 130px;
  text-align: right;
}
.string-svg {
  flex: 1;
  height: 40px;
  display: block;
}

.hero-tagline {
  font-family: var(--f-display);
  font-size: clamp(0.7rem, 1.4vw, 0.85rem);
  letter-spacing: 0.1em;
  color: var(--parchment);
  margin-bottom: 0.5rem;
}
.hero-sub2 {
  font-family: var(--f-body);
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}
.hero-ctas {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}

/* ── STATS BAR ──────────────────────────────────────────────── */
.stats-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 3rem;
  padding: 3.5rem 2rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 0.35rem;
}
.stat-divider { font-size: 2rem; color: var(--border); }

/* ── SHARED SECTION ─────────────────────────────────────────── */
.section { padding: 6rem 2rem; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}
.section-eye {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--parchment);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-desc {
  font-family: var(--f-body);
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── WHAT IS OPERA SACRA ────────────────────────────────────── */
.what-body {
  font-family: var(--f-body);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-style: italic;
  color: var(--muted);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* ── THREE FIRES ────────────────────────────────────────────── */
.fires-section { background: var(--deep); }

.fires-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.fire-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: box-shadow 0.25s, transform 0.25s;
}
.fire-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.09);
  transform: translateY(-3px);
}
.fire-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
}
.fire-electric::before { background: var(--gold); }
.fire-solar::before    { background: var(--teal); }
.fire-friction::before { background: var(--violet); }

.fire-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.fire-name {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--parchment);
  margin-bottom: 0.75rem;
}
.fire-desc {
  font-family: var(--f-body);
  font-size: 1rem;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}
.fire-chakras {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.fire-chakras li {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}
.fire-electric .fire-chakras li { color: var(--gold);   background: var(--gold-dim); }
.fire-solar    .fire-chakras li { color: var(--teal);   background: var(--teal-dim); }
.fire-friction .fire-chakras li { color: var(--violet); background: var(--violet-dim); }

/* ── FREE MAP ───────────────────────────────────────────────── */
.map-section {
  background: linear-gradient(160deg, rgba(45,207,192,0.06) 0%, transparent 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.map-desc {
  font-family: var(--f-body);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.75;
}

/* ── FOUNDATION ─────────────────────────────────────────────── */
.foundation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.foundation-col-title {
  font-family: var(--f-display);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.foundation-ancient-title { color: var(--gold); }
.foundation-modern-title  { color: var(--teal); }

.foundation-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.9rem;
}
.foundation-list li {
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.55;
}
.foundation-list li strong { color: var(--parchment); font-weight: 500; }

.foundation-list-mono li {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  line-height: 1.65;
  color: var(--muted);
}
.foundation-list-mono li strong { color: var(--teal); font-weight: 700; }

/* ── BOOK ───────────────────────────────────────────────────── */
.book-section { background: var(--deep); }

.book-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 4rem;
  align-items: start;
}
.book-cover { position: sticky; top: 6rem; overflow: visible; }
.book-cover-inner {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 0;
  text-align: center;
  display: block;
  width: 340px;
  height: 340px;
  max-width: 100%;
  overflow: visible;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.07);
}
.book-cover-img {
  width: 340px;
  height: 340px;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: contain;
}
.book-cover-eye {
  font-family: var(--f-display);
  font-size: 0.65rem;
  letter-spacing: 0.38em;
  color: var(--gold);
}
.book-cover-sub {
  font-family: var(--f-body);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}
.book-cover-svg { width: 100%; height: 70px; }

.book-meta {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.book-pitch {
  font-family: var(--f-body);
  font-size: 1.1rem;
  color: var(--parchment);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.book-toc {
  list-style: none;
  counter-reset: toc;
  display: flex; flex-direction: column; gap: 0.5rem;
  margin-bottom: 2rem;
}
.book-toc li {
  counter-increment: toc;
  font-family: var(--f-body);
  font-size: 0.95rem;
  color: var(--muted);
  padding-left: 2.5rem;
  position: relative;
  line-height: 1.5;
}
.book-toc li::before {
  content: counter(toc, upper-roman);
  position: absolute; left: 0; top: 0;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  color: var(--gold);
  padding-top: 0.2rem;
  min-width: 2rem;
}
.book-features {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 2.25rem;
}
.book-features span {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.75rem;
  background: var(--gold-dim);
  color: var(--gold);
  border-radius: 2px;
}
.book-price-row {
  display: flex; align-items: baseline; gap: 1rem;
  margin-bottom: 1.75rem;
}
.book-price {
  font-family: var(--f-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--parchment);
}
.book-price-note {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 0 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.faq-q {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--parchment);
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-family: var(--f-mono);
  font-size: 1.25rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.2s;
}
details[open] .faq-q::after { transform: rotate(45deg); }
.faq-a {
  font-family: var(--f-body);
  font-size: 1.05rem;
  color: var(--muted);
  padding-bottom: 1.5rem;
  line-height: 1.75;
}

/* ── AUTHOR ─────────────────────────────────────────────────── */
.author-bio {
  font-family: var(--f-body);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.8;
}

/* ── FINALE ─────────────────────────────────────────────────── */
.finale {
  text-align: center;
  padding: 9rem 2rem;
  background: var(--deep);
  border-top: 1px solid var(--border);
}
.finale-eye {
  font-family: var(--f-display);
  font-size: 0.7rem;
  letter-spacing: 0.38em;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.finale-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--parchment);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.finale-sub {
  font-family: var(--f-body);
  font-style: italic;
  color: var(--muted);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}
.finale-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 5rem; }
.finale-ase {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.12em;
}

/* ── SEO ────────────────────────────────────────────────────── */
.seo-text {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 2rem 0;
  font-family: var(--f-body);
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  opacity: 0.5;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* ── REVEAL ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .foundation-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .book-inner { grid-template-columns: 1fr; }
  .book-cover { display: none; }
}
@media (max-width: 640px) {
  .nav-links .btn { display: none; }
  .string-label { display: none; }
  .stats-bar { gap: 1.5rem; padding: 2.5rem 1rem; }
  .section { padding: 4rem 1.25rem; }
  .fires-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
