:root {
  --bg: #0b1020;
  --bg-2: #11182f;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-brd: rgba(255, 255, 255, 0.08);
  --ink: #eaf0ff;
  --muted: #9aa6c6;
  --gold: #f2c14e;
  --gold-2: #e09f3e;
  --violet: #7b6cf6;
  --teal: #36d6c3;
  --radius: 18px;
  --maxw: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 800px at 80% -10%, #1a2347 0%, var(--bg) 55%) fixed;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.05; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }

a { color: var(--ink); text-decoration: none; }

.grad {
  background: linear-gradient(100deg, var(--gold), var(--teal) 60%, var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- Accessibility helpers ---- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: #1a1300; padding: .6rem 1rem; border-radius: 10px;
  font-weight: 700; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---- Animated backdrop ---- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; animation: float 18s var(--ease) infinite; }
.orb-1 { width: 460px; height: 460px; background: var(--violet); top: -120px; left: -80px; }
.orb-2 { width: 420px; height: 420px; background: var(--teal); bottom: -140px; right: -60px; animation-delay: -6s; }
.orb-3 { width: 360px; height: 360px; background: var(--gold); top: 40%; left: 50%; opacity: .25; animation-delay: -12s; }
#stars { position: absolute; inset: 0; width: 100%; height: 100%; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px; font-weight: 700;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(100deg, var(--gold), var(--gold-2)); color: #1a1300; box-shadow: 0 10px 30px -8px rgba(242, 193, 78, .6); }
.btn-gold:hover { box-shadow: 0 16px 40px -8px rgba(242, 193, 78, .8); }
.btn-ghost { border-color: var(--panel-brd); background: var(--panel); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-sm { padding: .5rem 1rem; font-size: .9rem; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.1rem; }

/* ---- Donate ribbon ---- */
.donate-ribbon {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: flex; gap: 1rem; align-items: center; justify-content: center; flex-wrap: wrap;
  padding: .7rem 1rem;
  background: linear-gradient(180deg, rgba(11,16,32,.6), rgba(11,16,32,.92));
  border-top: 1px solid var(--panel-brd); backdrop-filter: blur(10px);
  transform: translateY(110%); transition: transform .5s var(--ease);
}
.donate-ribbon.show { transform: translateY(0); }
.donate-ribbon p { margin: 0; color: var(--muted); font-size: .95rem; }
.donate-ribbon strong { color: var(--gold); }

/* ---- Header / nav ---- */
.site-header { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(12px);
  background: rgba(11, 16, 32, .55); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-color: var(--panel-brd); }
.nav { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.4rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.brand-mark { font-family: "Fraunces", serif; color: var(--gold); font-size: 1.1rem; }
.brand-text { letter-spacing: -.01em; }
.nav-menu { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a:not(.btn) { color: var(--muted); font-weight: 500; transition: color .2s; }
.nav-menu a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s var(--ease); }

/* ---- Layout ---- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 8vw, 7rem) 1.4rem; }
.section-head { margin-bottom: 2.5rem; max-width: 640px; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 700; color: var(--teal); margin: 0 0 .6rem; }
.eyebrow.gold { color: var(--gold); }
.lede { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 620px; }

/* ---- Hero ---- */
.hero { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) 1.4rem;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.8rem 0; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.4rem 2.4rem; margin: 2rem 0 0; padding: 0; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats dt { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; order: 2; }
.hero-stats dd { font-family: "Fraunces", serif; font-size: 2.2rem; font-weight: 900; margin: 0; color: var(--gold); order: 1; }

/* Hero art — spinning ark disc + audio bars */
.hero-art { display: grid; place-items: center; }
.ark { position: relative; width: min(340px, 80vw); aspect-ratio: 1; display: grid; place-items: center; }
.ark-glow { position: absolute; inset: -10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,193,78,.35), transparent 60%); filter: blur(20px); animation: pulse 4s ease-in-out infinite; }
.ark-disc { position: relative; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 0deg, #20284d, #3a3f72, #20284d);
  display: grid; place-items: center; box-shadow: inset 0 0 40px rgba(0,0,0,.5), 0 20px 60px -10px rgba(0,0,0,.6);
  animation: spin 24s linear infinite; border: 1px solid rgba(255,255,255,.08); }
.ark-script { font-family: "Fraunces", serif; font-size: 4rem; color: var(--gold); }
.ark-ring { position: absolute; inset: 4%; border-radius: 50%; border: 2px dashed rgba(242,193,78,.4); animation: spin 40s linear infinite reverse; }
.wave-bars { position: absolute; bottom: -6%; display: flex; gap: 5px; align-items: flex-end; height: 46px; }
.wave-bars i { width: 5px; background: linear-gradient(var(--teal), var(--violet)); border-radius: 3px;
  height: 30%; animation: eq 1s ease-in-out infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: .6; transform: scale(1);} 50% { opacity: 1; transform: scale(1.06);} }
@keyframes eq { 0%,100% { height: 25%; } 50% { height: 100%; } }

/* ---- About ---- */
.about-grid { display: grid; gap: 2rem; }
.about-grid > p { font-size: 1.15rem; max-width: 760px; color: var(--muted); }
.feature-cards, .platforms, .episodes, .hosts { list-style: none; margin: 0; padding: 0; }
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card { background: var(--panel); border: 1px solid var(--panel-brd); border-radius: var(--radius); padding: 1.6rem;
  transition: transform .3s var(--ease), border-color .3s, background .3s; }
.card:hover { transform: translateY(-6px); border-color: rgba(242,193,78,.5); background: rgba(255,255,255,.06); }
/* pointer spotlight */
.spot { position: relative; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .3s var(--ease);
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(242,193,78,.18), transparent 60%); }
.spot:hover::after { opacity: 1; }
.card-icon { font-size: 1.8rem; display: block; margin-bottom: .6rem; }
.card p { color: var(--muted); margin: 0; }

/* ---- Episodes ---- */
.episodes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 1.2rem; }
.ep {
  position: relative; background: var(--panel); border: 1px solid var(--panel-brd); border-radius: var(--radius);
  padding: 1.4rem; display: flex; flex-direction: column; gap: .6rem; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s;
}
.ep::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: linear-gradient(var(--gold), var(--teal)); opacity: .8; }
.ep:hover { transform: translateY(-6px); border-color: rgba(54,214,195,.5); }
.ep-meta { display: flex; gap: .6rem; align-items: center; font-size: .8rem; color: var(--teal); text-transform: uppercase; letter-spacing: .08em; }
.ep-tag { background: rgba(54,214,195,.12); padding: .15rem .55rem; border-radius: 999px; }
.ep h3 { font-size: 1.1rem; line-height: 1.2; }
.ep p { color: var(--muted); font-size: .92rem; margin: 0; }
.ep-play { margin-top: auto; align-self: flex-start; color: var(--gold); font-weight: 700; font-size: .9rem; }

/* ---- Hosts ---- */
.hosts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.host { text-align: left; }
.host-avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-family: "Fraunces", serif; font-weight: 900; font-size: 1.4rem; color: #1a1300;
  background: linear-gradient(135deg, var(--gold), var(--teal)); margin-bottom: 1rem; }
.host p { color: var(--muted); margin: 0; }

/* ---- CTA band ---- */
.cta-band { max-width: none; padding: 0 1.4rem; }
.cta-inner { max-width: 760px; text-align: center;
  background: linear-gradient(160deg, rgba(123,108,246,.18), rgba(54,214,195,.1));
  border: 1px solid var(--panel-brd); border-radius: 28px; padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  margin: clamp(2rem,6vw,5rem) auto; box-shadow: 0 30px 80px -30px rgba(0,0,0,.7); }
.cta-lede { color: var(--muted); font-size: 1.08rem; max-width: 600px; margin: 0 auto 1.2rem; }
.cta-ask { color: var(--ink); font-size: 1.15rem; max-width: 600px; margin: 1.4rem auto 1.8rem; }
.cta-ask strong { color: var(--gold); }
.cta-inner .btn-lg { display: flex; width: -webkit-fit-content; width: fit-content; max-width: 100%;
  margin-left: auto; margin-right: auto; justify-content: center; text-align: center; }
.cta-tax { margin: 1.4rem auto 0; font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap;
  gap: .5rem; align-items: center; justify-content: center; }
.tax-badge { background: rgba(54,214,195,.14); color: var(--teal); border: 1px solid rgba(54,214,195,.35);
  padding: .2rem .6rem; border-radius: 999px; font-weight: 700; }

/* ---- Flame accent ---- */
.flame { display: inline-block; transform-origin: bottom center;
  animation: flicker 1.6s ease-in-out infinite; filter: drop-shadow(0 0 6px rgba(242,193,78,.6)); }
@keyframes flicker {
  0%, 100% { transform: rotate(-3deg) scale(1); }
  25% { transform: rotate(4deg) scale(1.12); }
  50% { transform: rotate(-2deg) scale(.96); }
  75% { transform: rotate(3deg) scale(1.08); }
}

/* ---- Platforms ---- */
.platforms { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 1rem; }
.platform { display: flex; align-items: center; gap: .7rem; padding: 1.1rem 1.3rem;
  background: var(--panel); border: 1px solid var(--panel-brd); border-radius: 14px; font-weight: 600;
  transition: transform .25s var(--ease), border-color .25s, background .25s; }
.platform:hover { transform: translateY(-4px); border-color: var(--gold); background: rgba(255,255,255,.06); }
.platform span { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }

/* ---- Footer ---- */
.site-footer { text-align: center; padding: 3rem 1.4rem 6rem; border-top: 1px solid var(--panel-brd); color: var(--muted); }
.footer-script { font-family: "Fraunces", serif; color: var(--gold); font-size: 1.2rem; margin-bottom: .5rem; }
.muted { color: var(--muted); font-size: .9rem; }
.muted a { color: var(--gold); }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .feature-cards, .hosts, .platforms { grid-template-columns: 1fr; }
  .nav-toggle { display: block; z-index: 110; }
  .nav-menu {
    position: fixed; inset: 0 0 0 30%; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.6rem; padding: 2rem; background: rgba(11,16,32,.97); backdrop-filter: blur(12px);
    transform: translateX(100%); transition: transform .35s var(--ease); font-size: 1.3rem;
  }
  .nav-menu.open { transform: none; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
