*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Georgia, 'Times New Roman', serif;
  background: #0b1020;
  color: #e8e4d8;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

:root {
  --ink: #e8e4d8;
  --muted: #9a9488;
  --night: #0b1020;
  --night-mid: #141b30;
  --panel: #161d32;
  --gold: #d4af37;
  --gold-soft: rgba(212,175,55,0.2);
  --star: #f0e6c8;
  --sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --line: rgba(232,228,216,0.1);
}

/* ——— CONSTELLATION NAV (unique) ——— */
.sky {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #0b1020 0%, #0f1528 100%);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px 20px;
}
.sky .brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}
.sky .brand {
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.sky .brand span {
  color: var(--gold);
  font-style: italic;
}
.sky .tagline {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.constellation {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  height: 70px;
}
.constellation svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.constellation nav {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: 100%;
  padding: 0 8px;
}
.constellation nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  transition: color 0.2s;
  width: 70px;
}
.constellation nav a .star {
  width: 12px;
  height: 12px;
  background: var(--night-mid);
  border: 2px solid var(--muted);
  border-radius: 50%;
  box-shadow: 0 0 0 0 transparent;
  transition: all 0.25s;
}
.constellation nav a .lbl {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}
.constellation nav a:hover { color: var(--star); }
.constellation nav a:hover .star {
  border-color: var(--star);
  box-shadow: 0 0 10px rgba(240,230,200,0.4);
}
.constellation nav a.active { color: var(--gold); }
.constellation nav a.active .star {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 14px var(--gold-soft);
  transform: scale(1.2);
}

.mob {
  display: none;
  background: var(--gold);
  color: var(--night);
  border: none;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  cursor: pointer;
}

/* ——— NIGHT HERO ——— */
.night-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 28px 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.night-hero .tag {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.night-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--ink);
}
.night-hero p {
  font-family: var(--sans);
  color: var(--muted);
  max-width: 420px;
  margin-bottom: 28px;
  font-size: 1.05rem;
}
.night-hero .frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.night-hero .frame img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}
.night-hero .frame .cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(11,16,32,0.9));
  padding: 40px 20px 16px;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 24px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-gold {
  background: var(--gold);
  color: var(--night);
}
.btn-gold:hover { filter: brightness(1.08); }
.btn-line {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-line:hover { background: var(--gold); color: var(--night); }

/* ——— VERSE ——— */
.verse {
  max-width: 640px;
  margin: 0 auto 40px;
  padding: 36px 28px;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.verse p {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
}
.verse cite {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 14px;
}

/* ——— PASSAGE ——— */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 28px 56px;
}
.section .tag {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.section h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 400;
  margin-bottom: 28px;
}

.passage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.journey {
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.2s;
}
.journey:hover { border-color: rgba(212,175,55,0.35); }
.journey img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.journey .body { padding: 22px; }
.journey .step {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.journey h3 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 8px;
}
.journey p {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--muted);
}

/* ——— COVENANT ——— */
.covenant-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}
.covenant-split img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}
.covenant-split .txt {
  background: var(--night-mid);
  padding: 56px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.covenant-split .txt .tag {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.covenant-split .txt h1 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 400;
  margin-bottom: 16px;
}
.covenant-split .txt p {
  font-family: var(--sans);
  color: var(--muted);
  margin-bottom: 12px;
}

/* ——— BEACON ——— */
.beacon-wrap {
  max-width: 1100px;
  margin: 28px auto 60px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 14px;
}
.beacon-side {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 36px;
}
.beacon-side h2 {
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 22px;
}
.b-row { margin-bottom: 16px; }
.b-row .lbl {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.b-row p, .b-row a {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--muted);
}
.b-row a:hover { color: var(--gold); }

.beacon-form {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 32px;
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 5px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  background: var(--night);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.95rem;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.ft {
  border-top: 1px solid var(--line);
  padding: 28px;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.84rem;
  color: var(--muted);
}
.ft strong { color: var(--ink); }

@media (max-width: 860px) {
  .constellation {
    display: none;
    height: auto;
    max-width: 100%;
  }
  .constellation.open {
    display: block;
    padding-top: 8px;
  }
  .constellation.open svg { display: none; }
  .constellation.open nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    height: auto;
  }
  .constellation.open nav a {
    width: auto;
    flex-direction: row;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
  }
  .mob { display: inline-block; }
  .night-hero { grid-template-columns: 1fr; }
  .night-hero .frame img { height: 260px; }
  .passage-grid { grid-template-columns: 1fr; }
  .covenant-split { grid-template-columns: 1fr; }
  .covenant-split img { min-height: 260px; }
  .covenant-split .txt { padding: 36px 24px; }
  .beacon-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
