:root {
  --void: #08080a;
  --surface: #0e0e11;
  --surface-soft: rgba(255,255,255,0.015);
  --gold: #c4956a;
  --gold-bright: #dbb088;
  --gold-dim: rgba(196, 149, 106, 0.4);
  --gold-ghost: rgba(196, 149, 106, 0.08);
  --text: #c8c2b8;
  --text-dim: rgba(200, 194, 184, 0.45);
  --text-bright: #ebe5db;
  --rule: rgba(196, 149, 106, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { height: 100%; scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background: var(--void);
  color: var(--text);
  font-family: 'Crimson Pro', Georgia, serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(196, 149, 106, 0.03) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(196, 149, 106, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

a { color: inherit; }

.line-accent {
  position: fixed;
  left: 50%;
  top: 0;
  width: 1px;
  height: 42vh;
  background: linear-gradient(to bottom, transparent 0%, var(--gold-ghost) 30%, var(--gold-dim) 70%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

.page {
  width: 100%;
  min-height: 100vh;
  padding: 32px 24px 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page.centered { padding-top: 64px; }

.sigil-container {
  position: relative;
  margin-bottom: 44px;
  width: 152px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 1.8s ease-out 0.15s forwards;
}

.sigil {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(196, 149, 106, 0.3));
  animation: breathe 8s ease-in-out infinite;
}

.sigil-ring {
  position: absolute;
  inset: -18px;
  border: 1px solid var(--gold-ghost);
  border-radius: 50%;
  animation: rotateRing 60s linear infinite;
}

.sigil-ring::before {
  content: '';
  position: absolute;
  top: -2px; left: 50%;
  width: 4px; height: 4px;
  background: var(--gold-dim);
  border-radius: 50%;
  transform: translateX(-50%);
}

.topbar {
  max-width: 980px;
  margin: 0 auto 56px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  opacity: 0;
  animation: fadeIn 1.2s ease-out 0.15s forwards;
}

.topbar a {
  text-decoration: none;
  color: var(--text-dim);
  font-family: 'Cinzel', serif;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.topbar a:hover, .back-link a:hover, .footer a:hover {
  color: var(--gold);
}

.title, .section-title {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  color: var(--text-bright);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-align: center;
  opacity: 0;
  animation: fadeIn 1.6s ease-out 0.4s forwards;
}

.title { font-size: clamp(1.9rem, 5vw, 3.2rem); }
.section-title { font-size: clamp(1.7rem, 4.5vw, 2.8rem); }

.subtitle, .meta {
  font-style: italic;
  font-size: clamp(0.95rem, 2.2vw, 1.12rem);
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 42px;
  text-align: center;
  opacity: 0;
  animation: fadeIn 1.6s ease-out 0.65s forwards;
}

.divider {
  width: 86px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dim), transparent);
  margin: 0 auto 40px;
  opacity: 0;
  animation: fadeIn 1.6s ease-out 0.9s forwards;
}

.statement, .intro {
  max-width: 620px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeIn 1.6s ease-out 1.15s forwards;
}

.nav-grid, .text-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  opacity: 0;
  animation: fadeIn 1.6s ease-out 1.4s forwards;
}

.nav-link, .text-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 300px;
  justify-content: center;
  padding: 15px 30px;
  background: rgba(196, 149, 106, 0.04);
  border: 1px solid rgba(196, 149, 106, 0.12);
  border-radius: 4px;
  text-decoration: none;
  color: var(--text);
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.nav-link::before, .text-link::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(196, 149, 106, 0.06), transparent);
  transition: left 0.6s ease;
}

.nav-link:hover::before, .text-link:hover::before { left: 100%; }
.nav-link:hover, .text-link:hover, .bottom-nav a:hover {
  border-color: var(--gold-dim);
  color: var(--gold-bright);
  background: rgba(196, 149, 106, 0.08);
  box-shadow: 0 0 30px rgba(196, 149, 106, 0.06);
}

.glyph { font-size: 1rem; color: var(--gold-dim); }

.footer, .back-link {
  margin-top: 42px;
  font-size: 0.76rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-align: center;
  opacity: 0;
  animation: fadeIn 1.6s ease-out 1.65s forwards;
}

.footer a, .back-link a {
  color: var(--text-dim);
  text-decoration: none;
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
}

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

.eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeIn 1.3s ease-out 0.35s forwards;
}

.article-wrap {
  max-width: 760px;
  margin: 16px auto 0;
  width: 100%;
  opacity: 0;
  animation: fadeIn 1.4s ease-out 1.1s forwards;
}

.article {
  background: var(--surface-soft);
  border: 1px solid rgba(196, 149, 106, 0.08);
  padding: 40px 34px;
  border-radius: 6px;
  box-shadow: 0 0 40px rgba(0,0,0,0.12);
}

.article p {
  font-size: 1.14rem;
  line-height: 1.95;
  color: var(--text);
  margin-bottom: 1.35em;
}

.article p:last-child { margin-bottom: 0; }

.article h2, .article h3 {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  color: var(--gold-bright);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 2.2em 0 0.9em;
  line-height: 1.4;
}

.article h2 { font-size: 1.08rem; }
.article h3 { font-size: 0.94rem; }

.article blockquote {
  margin: 2em 0;
  padding: 0.2em 0 0.2em 1.2em;
  border-left: 1px solid var(--gold-dim);
  color: var(--text-bright);
  font-style: italic;
}

.article em { color: var(--text-bright); }
.article strong { color: var(--gold-bright); font-weight: 500; }
.article hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5em 0; }
.article ul, .article ol { margin: 1.2em 0 1.4em 1.4em; }
.article li { margin-bottom: 0.65em; line-height: 1.8; }

.bottom-nav {
  max-width: 760px;
  width: 100%;
  margin: 34px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 1.4s ease-out 1.35s forwards;
}

.bottom-nav a {
  text-decoration: none;
  color: var(--text-dim);
  border: 1px solid rgba(196, 149, 106, 0.12);
  background: rgba(196, 149, 106, 0.03);
  padding: 12px 16px;
  border-radius: 4px;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.bottom-nav .spacer { flex: 1 1 auto; }

.source-note {
  margin-top: 2em;
  font-size: 0.95rem;
  color: var(--text-dim);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes breathe {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(196, 149, 106, 0.3)); }
  50% { filter: drop-shadow(0 0 24px rgba(196, 149, 106, 0.5)); }
}
@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@media (max-width: 700px) {
  .page { padding: 24px 18px 64px; }
  .page.centered { padding-top: 48px; }
  .article { padding: 28px 22px; }
  .article p { font-size: 1.04rem; line-height: 1.85; }
  .topbar { gap: 12px; margin-bottom: 42px; }
  .bottom-nav { flex-direction: column; }
  .bottom-nav .spacer { display: none; }
  .nav-link, .text-link { min-width: 240px; padding: 14px 22px; font-size: 0.76rem; }
  .statement, .intro { font-size: 0.96rem; }
}
