:root {
  --navy: #0b1020;
  --navy-2: #151c33;
  --panel: rgba(12, 18, 36, 0.86);
  --gold: #e0c56a;
  --gold-2: #f3e2a4;
  --cyan: #7fd7ff;
  --ink: #e8edf7;
  --muted: #9aa6c0;
  --line: rgba(224, 197, 106, 0.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--navy); color: var(--ink); }
body {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.7;
}
a { color: var(--gold-2); }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }
#stars {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  background: radial-gradient(1200px 700px at 70% 10%, rgba(80, 90, 160, 0.18), transparent 55%),
              radial-gradient(900px 600px at 10% 80%, rgba(180, 120, 40, 0.08), transparent 50%),
              #070b16;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 30; background: #fff; color: #111; padding: .4rem .7rem; }
.topbar {
  position: sticky; top: 0; z-index: 8;
  display: flex; justify-content: space-between; align-items: center;
  gap: .7rem; flex-wrap: wrap;
  padding: .55rem 1.1rem;
  background: rgba(8, 12, 24, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  font-family: "Source Sans 3", sans-serif;
}
.topbar nav { display: flex; gap: .85rem; flex-wrap: wrap; }
.topbar a { color: #f3ead0; text-decoration: none; font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; }
.topbar a[aria-current="page"] { color: var(--gold); }
.preview-flag {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--line); border-radius: 999px; padding: .15rem .55rem;
}
.hero {
  position: relative; z-index: 1;
  min-height: 78vh;
  display: grid; align-items: end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 120%;
  object-fit: cover; object-position: center 62%;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,11,22,.12) 18%, rgba(7,11,22,.88) 100%);
}
.hero-copy {
  position: relative; z-index: 1;
  max-width: 1100px; width: 100%;
  margin: 0 auto; padding: 3rem 1.2rem 2.2rem;
}
.eyebrow {
  font-family: "Source Sans 3", sans-serif;
  letter-spacing: .18em; text-transform: uppercase; font-size: .72rem;
  color: var(--gold); margin: 0 0 .45rem;
}
h1, h2, h3 { font-family: Cinzel, serif; font-weight: 700; line-height: 1.2; margin: 0 0 .45rem; color: #fff8e6; }
h1 { font-size: clamp(1.8rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.25rem, 3vw, 1.7rem); }
.dek { font-size: 1.15rem; color: var(--gold-2); margin: 0 0 1rem; }
.esther {
  display: inline-block;
  font-family: "Source Sans 3", sans-serif; font-size: .95rem;
  border-left: 3px solid var(--gold); padding: .25rem .7rem;
  background: rgba(20, 28, 54, 0.6);
}
.wrap { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; padding: 1.2rem 1.1rem 3.5rem; }
.brief, .welcome, .complete, .scene {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.3rem 1.25rem 1.4rem;
  margin: 1.25rem 0;
  box-shadow: 0 0 0 1px rgba(127, 215, 255, 0.04), 0 20px 40px rgba(0,0,0,.25);
  opacity: 0; transform: translateY(22px);
  animation: rise .8s ease forwards;
}
.scene:nth-of-type(2) { animation-delay: .05s; }
.scene:nth-of-type(3) { animation-delay: .1s; }
.scene:nth-of-type(4) { animation-delay: .15s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hud-verse {
  position: relative;
  margin: 1.1rem 0;
  padding: 1rem 1.05rem .95rem 1.15rem;
  background: linear-gradient(180deg, rgba(20, 40, 70, 0.55), rgba(10, 16, 32, 0.8));
  border: 1px solid rgba(127, 215, 255, 0.35);
  box-shadow: inset 0 0 0 1px rgba(224, 197, 106, 0.15), 0 0 24px rgba(127, 215, 255, 0.12);
  border-radius: 4px 14px 4px 14px;
  color: #eef6ff;
}
.hud-verse::before {
  content: "SCRIPTURE UPLINK";
  display: block;
  font-family: "Share Tech Mono", "Source Sans 3", monospace;
  font-size: .68rem; letter-spacing: .16em; color: var(--cyan);
  margin-bottom: .45rem;
}
.hud-verse .ref {
  display: block; margin-top: .6rem;
  font-family: Cinzel, serif; font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold);
}
.scan {
  pointer-events: none; position: absolute; left: 0; right: 0; height: 18%;
  top: -20%;
  background: linear-gradient(180deg, transparent, rgba(127,215,255,.12), transparent);
  animation: scan 5.5s linear infinite;
}
@keyframes scan { 0% { top: -20%; } 100% { top: 110%; } }
p { margin: 0 0 .9rem; }
.btn, button.btn {
  font-family: "Source Sans 3", sans-serif;
  background: linear-gradient(180deg, #c9a64a, #8a6a1c);
  color: #16120a; border: 0; border-radius: 999px;
  padding: .55rem 1.05rem; cursor: pointer; text-decoration: none;
  display: inline-block; font-weight: 700; font-size: .95rem;
}
.btn.ghost, button.btn.ghost {
  background: transparent; color: var(--gold-2); border: 1px solid var(--line);
}
.actions { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: .9rem; }
footer.site { position: relative; z-index: 1; text-align: center; color: var(--muted); font-size: .9rem; padding: 1rem 1rem 2rem; }
footer.site p { margin: .4rem 0; }
.credit { color: var(--muted); font-size: .92rem; }
.prayer, .meditation {
  margin: 1rem 0 1.15rem;
  padding: .9rem 1rem .85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(20, 28, 54, 0.55);
}
.prayer .eyebrow, .meditation .eyebrow { margin-bottom: .35rem; }
.prayer p:last-child, .meditation p:last-child { margin-bottom: 0; }
.confession {
  font-family: Cinzel, serif;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
  color: var(--gold-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .85rem 1rem;
  margin: 1rem 0 1.15rem;
  background: rgba(20, 28, 54, 0.65);
}
.side-tag {
  font-family: "Share Tech Mono", "Source Sans 3", monospace;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); margin: 0 0 .55rem;
}
@media (max-width: 800px) {
  body { font-size: 1.05rem; }
  .hero { min-height: 64vh; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scan { animation: none; }
  .brief, .welcome, .complete, .scene {
    opacity: 1; transform: none; animation: none;
  }
}
