@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Crimson+Pro:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

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

:root {
  --bg:        #0d0b08;
  --bg2:       #13110d;
  --bg3:       #1a1710;
  --gold:      #d4a520;
  --gold-light:#e8c050;
  --gold-dim:  #a07c18;
  --text:      #e8e0d0;
  --text-muted:#9a9080;
  --red:       #8b2020;
  --border:    rgba(212,165,32,0.25);
  --radius:    6px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.75;
  min-height: 100vh;
}

/* ── TOPNAV ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,11,8,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
}
.site-header .inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 1rem;
}
.site-logo {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: .04em;
  white-space: nowrap;
}
.site-logo span { color: var(--text-muted); font-weight: 400; font-size: .85rem; }
.header-cta {
  background: var(--gold);
  color: #0d0b08;
  font-family: 'Cinzel', serif;
  font-size: .8rem;
  font-weight: 700;
  padding: .45rem 1.1rem;
  border-radius: var(--radius);
  text-decoration: none;
  letter-spacing: .05em;
  white-space: nowrap;
  transition: background .2s;
}
.header-cta:hover { background: var(--gold-light); }

/* ── LAYOUT ── */
.container { max-width: 820px; margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(212,165,32,0.08) 0%, transparent 70%);
  border-bottom: 1px solid var(--border);
}
.rune-symbol {
  font-size: clamp(5rem, 15vw, 9rem);
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 1.25rem;
  text-shadow: 0 0 40px rgba(212,165,32,0.35);
  font-family: 'Cinzel', serif;
}
.hero-badge {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-dim);
  border: 1px solid var(--border);
  padding: .3rem .9rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: .75rem;
  letter-spacing: .02em;
}
.hero-essence {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-style: italic;
  max-width: 540px;
  margin: 0 auto;
}

/* home hero */
.hero-home {
  padding: 6rem 1.5rem 5rem;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212,165,32,0.1) 0%, transparent 65%);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero-home .rune-row {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--gold-dim);
  letter-spacing: .2em;
  margin-bottom: 2rem;
  opacity: .7;
}
.hero-home h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: .02em;
}
.hero-home p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-style: italic;
}
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: #0d0b08;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .08em;
  padding: .85rem 2.2rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-secondary {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: 'Cinzel', serif;
  font-size: .85rem;
  letter-spacing: .06em;
  padding: .8rem 1.8rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .2s, color .2s;
  margin-left: 1rem;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* ── FACT BOX ── */
.factbox {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 3rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}
.factbox-item { text-align: center; }
.factbox-label {
  font-family: 'Cinzel', serif;
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-dim);
  display: block;
  margin-bottom: .3rem;
}
.factbox-value {
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
}

/* ── CONTENT SECTIONS ── */
.section { padding: 3.5rem 0; border-bottom: 1px solid rgba(212,165,32,0.1); }
.section:last-of-type { border-bottom: none; }

.section-label {
  font-family: 'Cinzel', serif;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  display: block;
  margin-bottom: .6rem;
}
.section h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.section h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--gold-light);
  margin: 2rem 0 .75rem;
}
.section p { margin-bottom: 1.1rem; color: var(--text); }
.section p:last-child { margin-bottom: 0; }

.quote-block {
  border-left: 3px solid var(--gold);
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  background: var(--bg2);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.quote-block blockquote {
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: .5rem;
}
.quote-block cite {
  font-family: 'Cinzel', serif;
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--gold-dim);
}

/* ── PRACTICE CARDS ── */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.practice-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.practice-card .pc-icon { font-size: 1.5rem; margin-bottom: .6rem; display: block; }
.practice-card h4 {
  font-family: 'Cinzel', serif;
  font-size: .85rem;
  color: var(--gold);
  margin-bottom: .5rem;
  letter-spacing: .05em;
}
.practice-card p { font-size: .95rem; color: var(--text-muted); margin: 0; }

/* ── CTA BLOCK ── */
.cta-block {
  background: linear-gradient(135deg, #1a1608 0%, #201a06 100%);
  border: 1px solid var(--gold-dim);
  border-radius: 10px;
  padding: 3rem 2.5rem;
  margin: 3.5rem 0;
  text-align: center;
}
.cta-block .cta-rune {
  font-size: 3rem;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
  font-family: 'Cinzel', serif;
}
.cta-block h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--gold);
  margin-bottom: 1rem;
}
.cta-block p { color: var(--text-muted); max-width: 520px; margin: 0 auto 2rem; }

/* ── FAQ ── */
.faq-list { margin-top: 1.5rem; }
.faq-item {
  border-bottom: 1px solid rgba(212,165,32,0.12);
  padding: 1.25rem 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: .6rem;
  font-weight: 600;
}
.faq-a { color: var(--text-muted); font-size: 1rem; }

/* ── RUNE NAVIGATION ── */
.rune-nav {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 1.5rem;
  margin: 0;
}
.rune-nav-inner { max-width: 1100px; margin: 0 auto; }
.rune-nav h3 {
  font-family: 'Cinzel', serif;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-dim);
  text-align: center;
  margin-bottom: 1.25rem;
}
.rune-nav-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}
.rune-nav-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  padding: .6rem .8rem;
  border: 1px solid rgba(212,165,32,0.18);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .2s, background .2s;
  min-width: 60px;
}
.rune-nav-grid a:hover { border-color: var(--gold); background: rgba(212,165,32,0.07); }
.rune-nav-grid a.active { border-color: var(--gold); background: rgba(212,165,32,0.1); }
.rune-nav-grid a .nav-symbol { font-size: 1.4rem; color: var(--gold); }
.rune-nav-grid a .nav-name { font-size: .65rem; color: var(--text-muted); font-family: 'Cinzel', serif; letter-spacing: .05em; }

/* ── OVERVIEW GRID ── */
.rune-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
  padding: 3rem 0;
}
.rune-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1rem;
  text-align: center;
  text-decoration: none;
  transition: border-color .2s, background .2s, transform .15s;
  display: block;
}
.rune-card:hover { border-color: var(--gold); background: var(--bg3); transform: translateY(-2px); }
.rune-card .card-symbol { font-size: 2.8rem; color: var(--gold); display: block; margin-bottom: .5rem; }
.rune-card .card-name { font-family: 'Cinzel', serif; font-size: .95rem; color: var(--text); font-weight: 600; display: block; margin-bottom: .25rem; }
.rune-card .card-essence { font-size: .82rem; color: var(--text-muted); font-style: italic; }
.aett-label {
  font-family: 'Cinzel', serif;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-dim);
  border-bottom: 1px solid var(--border);
  padding-bottom: .75rem;
  margin: 2.5rem 0 1rem;
  grid-column: 1 / -1;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: .75rem 0;
  font-size: .85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 .4rem; }

/* ── FOOTER ── */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 2rem;
  margin-top: 4rem;
  text-align: center;
}
.footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: .5rem;
  font-weight: 700;
}
.footer-tagline { color: var(--text-muted); font-style: italic; font-size: .95rem; margin-bottom: 1.5rem; }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { color: var(--text-muted); font-size: .8rem; opacity: .6; }

/* ── PREV/NEXT ── */
.prevnext {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
}
.prevnext a {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .2s, background .2s;
  background: var(--bg2);
}
.prevnext a:hover { border-color: var(--gold); background: var(--bg3); }
.prevnext a:last-child { justify-content: flex-end; text-align: right; }
.prevnext .pn-symbol { font-size: 1.8rem; color: var(--gold); }
.prevnext .pn-label { font-family: 'Cinzel', serif; font-size: .65rem; letter-spacing: .12em; color: var(--gold-dim); text-transform: uppercase; display: block; }
.prevnext .pn-name { font-family: 'Cinzel', serif; font-size: .95rem; color: var(--text); }

/* ── INTRO SECTION (home) ── */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0;
  align-items: start;
}
@media (max-width: 640px) { .intro-grid { grid-template-columns: 1fr; } }
.intro-grid h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .factbox { grid-template-columns: repeat(2, 1fr); }
  .practice-grid { grid-template-columns: 1fr; }
  .prevnext { flex-direction: column; }
  .hero { padding: 3rem 1rem 2.5rem; }
  .cta-block { padding: 2rem 1.25rem; }
}

/* ── UTILITY ── */
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
