/* ───────────────────────────────────────────────
   Talmanac — Midnight, gold, serif. Bedtime online.
   ─────────────────────────────────────────────── */

:root {
  --ink-1: #06051A;          /* deepest */
  --ink-2: #0B0A1F;          /* page bg */
  --ink-3: #15122E;          /* card */
  --ink-4: #1E1A3D;          /* card hi */
  --gold:  #F5D89A;
  --gold-2:#E8C77A;
  --gold-3:#3B2E18;
  --cream: #F4EFE6;
  --cream-2:#E5DFD2;
  --mute:  #9892B3;
  --mute-2:#6E6890;
  --line:  rgba(245,216,154,.18);
  --line-2:rgba(255,255,255,.08);

  --serif: "EB Garamond", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --r-card: 22px;
  --r-pill: 999px;

  --maxw: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--serif);
  color: var(--cream);
  background: var(--ink-2);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background layers */
#stars {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 80% -10%, #2a1f4a 0%, transparent 50%),
    radial-gradient(ellipse at 10% 110%, #1a1438 0%, transparent 55%),
    linear-gradient(180deg, #0A0820 0%, #0B0A1F 50%, #050316 100%);
}
.moonglow {
  position: fixed;
  top: -180px; right: -160px;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(245,216,154,.55) 0%, rgba(245,216,154,.25) 18%, rgba(245,216,154,0) 55%);
  filter: blur(8px);
  z-index: -2;
  pointer-events: none;
  animation: moonpulse 10s ease-in-out infinite;
}
@keyframes moonpulse {
  0%, 100% { opacity: .85; transform: translateY(0); }
  50%      { opacity: 1;   transform: translateY(-6px); }
}
.vignette {
  position: fixed; inset: 0;
  background: radial-gradient(ellipse at 50% 35%, transparent 50%, rgba(0,0,0,.45) 100%);
  z-index: -1; pointer-events: none;
}

/* ───────── NAV ───────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad-x);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: linear-gradient(180deg, rgba(11,10,31,.7) 0%, rgba(11,10,31,.4) 100%);
  border-bottom: 1px solid var(--line-2);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--cream);
}
.brand-mark { width: 26px; height: 26px; flex: 0 0 26px; }
.brand-word {
  font-family: var(--serif);
  font-size: 22px; font-weight: 600;
  letter-spacing: .01em;
}
.nav-links {
  display: flex; gap: 28px;
}
.nav-links a {
  color: var(--cream-2);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .04em;
  opacity: .85;
  transition: opacity .2s, color .2s;
}
.nav-links a:hover { opacity: 1; color: var(--gold); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--gold);
  color: #1B1334;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s;
  box-shadow: 0 0 0 1px rgba(245,216,154,.3), 0 8px 24px -8px rgba(245,216,154,.5);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(245,216,154,.5), 0 12px 32px -8px rgba(245,216,154,.6); }
@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ───────── Type primitives ───────── */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow.center { justify-content: center; display: flex; }
.eyebrow .rule {
  display: inline-block; width: 28px; height: 1px;
  background: var(--gold);
}

.display, .display-1, .display-2, .display-3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.display    { font-size: clamp(56px, 9.5vw, 132px); line-height: .96; margin: 18px 0 24px; }
.display-1  { font-size: clamp(56px, 9vw, 120px);   line-height: .98; margin: 18px 0 24px; }
.display-2  { font-size: clamp(40px, 6vw, 76px);   line-height: 1.02; margin: 14px 0 20px; }
.display-3  { font-size: clamp(32px, 4.5vw, 56px); line-height: 1.05; margin: 12px 0 16px; }
.display em, .display-1 em, .display-2 em, .display-3 em { font-style: italic; color: var(--gold); font-weight: 500; }

.lede {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--cream-2);
  max-width: 52ch;
  margin: 0 0 28px;
}
.body-l {
  font-size: 19px; line-height: 1.6; color: var(--cream-2);
  max-width: 52ch;
}
.center { text-align: center; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .25s, background .2s;
}
.btn-gold {
  background: var(--gold);
  color: #1B1334;
  box-shadow: 0 0 0 1px rgba(245,216,154,.35), 0 14px 40px -10px rgba(245,216,154,.55);
}
.btn-gold:hover {
  transform: translateY(-1px);
  background: #FCE0A6;
  box-shadow: 0 0 0 1px rgba(245,216,154,.6), 0 18px 50px -10px rgba(245,216,154,.7);
}
.btn-ghost {
  background: rgba(255,255,255,.04);
  color: var(--cream);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--line); }
.btn-lg { padding: 18px 28px; font-size: 15px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ═════════════ HERO ═════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px var(--pad-x) 80px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero-inner { position: relative; z-index: 2; }
.hero-meta {
  margin-top: 36px;
  display: flex; align-items: center; gap: 28px;
  flex-wrap: wrap;
}
.hero-meta > div { display: flex; flex-direction: column; gap: 2px; }
.hero-meta .num {
  font-family: var(--serif);
  font-size: 26px; font-weight: 600;
  color: var(--gold);
  font-variant-numeric: oldstyle-nums;
}
.hero-meta .lbl {
  font-family: var(--sans);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mute);
}
.hero-meta .divider { width: 1px; height: 32px; background: var(--line-2); }

/* Phone */
.hero-phone-wrap {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  perspective: 1200px;
}
.phone-glow {
  position: absolute;
  width: 540px; height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,216,154,.18) 0%, rgba(245,216,154,0) 60%);
  filter: blur(20px);
  z-index: 0;
  animation: glowfloat 8s ease-in-out infinite;
}
@keyframes glowfloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.04); }
}
.phone {
  position: relative;
  width: 320px;
  aspect-ratio: 1206 / 2622;
  border-radius: 46px;
  background: #000;
  padding: 8px;
  box-shadow:
    0 0 0 2px #2a2540,
    0 0 0 3px #0a0818,
    0 50px 100px -20px rgba(0,0,0,.7),
    0 30px 60px -10px rgba(245,216,154,.15);
  overflow: hidden;
  z-index: 1;
  transform: rotate(-2deg);
  animation: phonefloat 9s ease-in-out infinite;
}
@keyframes phonefloat {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-10px); }
}
.phone img {
  width: 100%; height: 100%;
  display: block;
  border-radius: 38px;
  object-fit: cover; object-position: top;
}
.phone-notch {
  position: absolute;
  top: 22px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px;
  background: #000; border-radius: 14px;
  z-index: 2;
}
.phone-sm { width: 280px; transform: rotate(0); animation: none; }

.float-tag {
  position: absolute;
  z-index: 3;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .02em;
  background: rgba(20,15,40,.85);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  color: var(--cream);
  white-space: nowrap;
  box-shadow: 0 14px 40px -16px rgba(0,0,0,.7);
}
.float-tag em {
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  margin-right: 4px;
}
.float-tag .dot {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  margin-right: 7px; vertical-align: middle;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.tag-1 { top: 10%; left: -8%; animation: floattag 7s ease-in-out infinite; }
.tag-2 { top: 42%; right: -12%; animation: floattag 8s 1s ease-in-out infinite; }
.tag-3 { bottom: 14%; left: -6%; animation: floattag 9s .5s ease-in-out infinite; }
@keyframes floattag {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--mute);
  animation: scrollfloat 2.4s ease-in-out infinite;
}
@keyframes scrollfloat {
  0%, 100% { transform: translate(-50%, 0); opacity: .85; }
  50%      { transform: translate(-50%, 6px); opacity: 1; }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; }
  .hero-phone-wrap { order: -1; margin-bottom: 16px; }
  .phone { width: 260px; }
  .phone-glow { width: 400px; height: 400px; }
}

/* ═════════════ PROMISE ═════════════ */
.promise {
  padding: 80px var(--pad-x);
  text-align: center;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: rgba(255,255,255,.015);
}
.promise-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 3.5vw, 38px);
  line-height: 1.4;
  max-width: 880px;
  margin: 0 auto;
  color: var(--cream);
  position: relative;
}
.pull-quote {
  font-family: var(--serif);
  font-style: normal;
  font-size: 1.6em;
  color: var(--gold);
  vertical-align: -0.18em;
  margin: 0 4px;
}

/* ═════════════ CHAPTERS ═════════════ */
.chapter {
  padding: 120px var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
}
.chapter-head { text-align: center; max-width: 780px; margin: 0 auto 64px; }
.chapter-head .eyebrow { display: inline-flex; }

/* steps row */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  position: relative;
  padding: 28px 28px 32px;
  border-radius: var(--r-card);
  background: linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.015) 100%);
  border: 1px solid var(--line-2);
  transition: transform .35s ease, border-color .3s, background .3s;
}
.step:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(245,216,154,.05) 0%, rgba(245,216,154,.02) 100%);
}
.step-num {
  font-family: var(--serif);
  font-size: 64px; font-weight: 500;
  font-style: italic;
  color: var(--gold);
  line-height: 1; opacity: .85;
  margin-bottom: 8px;
}
.step-art {
  position: relative;
  margin: 8px 0 24px;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 18;
  border: 1px solid var(--line-2);
}
.step-art img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover; object-position: top;
}
.step h3 {
  font-family: var(--serif);
  font-size: 26px; font-weight: 500;
  margin: 0 0 8px;
}
.step p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  color: var(--cream-2);
  margin: 0;
}
.step em { color: var(--gold); }

@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
  .step-art { aspect-ratio: 16 / 10; }
  .step-art img { object-position: center top; }
}

/* split sections */
.chapter-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.chapter-split.reverse .split-art { order: 0; }
.chapter-split .split-art { display: flex; justify-content: center; }
@media (max-width: 880px) {
  .chapter-split { grid-template-columns: 1fr; gap: 40px; }
  .chapter-split.reverse .split-art { order: -1; }
}

.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checklist li {
  display: flex; gap: 14px; align-items: baseline;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--cream-2);
}
.checklist .tick { color: var(--gold); font-size: 14px; }

.archive-snip {
  margin-top: 28px;
  padding: 20px;
  border-radius: var(--r-card);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line-2);
  display: grid; gap: 14px;
}
.snip-row {
  display: grid; grid-template-columns: 36px 1fr;
  gap: 14px; align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
}
.snip-row:last-child { border-bottom: 0; padding-bottom: 0; }
.snip-num {
  font-family: var(--serif); font-style: italic;
  font-size: 28px; color: var(--gold);
  text-align: center; line-height: 1;
}
.snip-title { font-family: var(--serif); font-size: 19px; color: var(--cream); }
.snip-sub {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--mute); margin-top: 4px;
}

/* ═════════════ LISTEN ═════════════ */
.listen {
  padding: 100px var(--pad-x);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.listen-inner .eyebrow { justify-content: center; display: inline-flex; }

.player-card {
  margin-top: 36px;
  padding: 40px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at top right, rgba(245,216,154,.08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.01) 100%);
  border: 1px solid var(--line);
  text-align: left;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.7);
}
.player-meta { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line-2); }
.player-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 500;
  letter-spacing: -.01em;
}
.player-sub {
  font-family: var(--sans);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mute); margin-top: 8px;
}
.player-sub em { color: var(--gold); font-family: var(--serif); font-style: italic; font-size: 14px; text-transform: none; letter-spacing: 0; }

.player-transcript {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.65;
  color: var(--mute-2);
  min-height: 240px;
}
.player-transcript p {
  margin: 0 0 14px;
  padding-left: 14px;
  border-left: 2px solid transparent;
  transition: color .5s ease, border-color .5s ease;
}
.player-transcript p.active {
  color: var(--cream);
  border-left-color: var(--gold);
}
.player-transcript p.past { color: var(--mute); }

.player-controls {
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid var(--line-2);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px; align-items: center;
}
.play-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold);
  border: 0;
  color: #1B1334;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 1px rgba(245,216,154,.4), 0 10px 30px -8px rgba(245,216,154,.6);
  transition: transform .15s, background .2s;
}
.play-btn:hover { transform: scale(1.05); background: #FCE0A6; }
.play-btn .ic-pause { display: none; }
.play-btn.playing .ic-play { display: none; }
.play-btn.playing .ic-pause { display: block; }

.wave {
  display: flex; align-items: center; gap: 3px; height: 40px;
}
.wave .bar {
  flex: 1; min-width: 2px; max-width: 4px;
  background: var(--mute-2);
  border-radius: 2px;
  transition: background .3s, height .15s;
}
.wave .bar.active { background: var(--gold); }
.player-time {
  font-family: var(--sans); font-size: 12px;
  letter-spacing: .08em; color: var(--mute);
  font-variant-numeric: tabular-nums;
}

.listen-foot {
  margin-top: 24px;
  font-family: var(--serif); font-style: italic;
  color: var(--mute);
}
.listen-foot em { color: var(--gold); }

/* ═════════════ CONSTELLATION (features) ═════════════ */
.constellation {
  padding: 120px var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}
.features {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat {
  padding: 36px 28px;
  border-radius: var(--r-card);
  background: linear-gradient(180deg, rgba(255,255,255,.025) 0%, rgba(255,255,255,.005) 100%);
  border: 1px solid var(--line-2);
  text-align: left;
  transition: transform .35s ease, border-color .3s;
}
.feat:hover { transform: translateY(-4px); border-color: var(--line); }
.feat-ico {
  width: 44px; height: 44px;
  color: var(--gold);
  margin-bottom: 18px;
}
.feat-ico svg { width: 100%; height: 100%; }
.feat h3 {
  font-family: var(--serif);
  font-size: 24px; font-weight: 500;
  margin: 0 0 8px;
}
.feat p {
  font-family: var(--serif);
  font-size: 17px; line-height: 1.55;
  color: var(--cream-2);
  margin: 0;
}
@media (max-width: 880px) {
  .features { grid-template-columns: 1fr; }
}

/* ═════════════ LETTERS ═════════════ */
.letters {
  padding: 120px var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}
.letter-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}
.letter {
  margin: 0;
  padding: 32px;
  border-radius: var(--r-card);
  background: linear-gradient(180deg, rgba(245,216,154,.04) 0%, rgba(255,255,255,.01) 100%);
  border: 1px solid var(--line-2);
  position: relative;
}
.letter::before {
  content: '\201C';
  position: absolute; top: 4px; left: 18px;
  font-family: var(--serif);
  font-size: 80px; line-height: 1;
  color: var(--gold); opacity: .35;
}
.letter blockquote {
  margin: 18px 0 18px;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1.5;
  color: var(--cream);
}
.letter figcaption {
  font-family: var(--sans);
  font-size: 12px; letter-spacing: .12em;
  color: var(--mute);
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .letter-grid { grid-template-columns: 1fr; }
}

/* ═════════════ PRIVACY ═════════════ */
.privacy {
  padding: 120px var(--pad-x);
  max-width: 1080px;
  margin: 0 auto;
}
.privacy-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 56px;
}
.privacy-grid h4 {
  font-family: var(--serif);
  font-size: 22px; font-weight: 500;
  margin: 0 0 8px;
  color: var(--gold);
}
.privacy-grid p {
  font-family: var(--serif);
  font-size: 18px; line-height: 1.55;
  color: var(--cream-2);
  margin: 0;
}
@media (max-width: 760px) {
  .privacy-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ═════════════ FAQ ═════════════ */
.faq {
  padding: 120px var(--pad-x);
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.faq-list {
  margin-top: 48px;
  text-align: left;
  border-top: 1px solid var(--line-2);
}
.faq-list details {
  border-bottom: 1px solid var(--line-2);
  padding: 22px 0;
  transition: padding .3s;
}
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  color: var(--cream);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .plus {
  font-family: var(--serif);
  font-size: 28px; color: var(--gold);
  transition: transform .3s;
  width: 28px; text-align: right;
  font-weight: 300;
}
.faq-list details[open] summary .plus { transform: rotate(45deg); }
.faq-list details p {
  font-family: var(--serif);
  font-size: 18px; line-height: 1.6;
  color: var(--cream-2);
  margin: 14px 0 0;
  max-width: 64ch;
}

/* ═════════════ GOODNIGHT CTA ═════════════ */
.goodnight {
  position: relative;
  padding: 160px var(--pad-x) 140px;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--line-2);
}
.moon-big {
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 35%, rgba(245,216,154,.15) 0%, rgba(245,216,154,0) 55%),
    radial-gradient(circle at 50% 50%, rgba(245,216,154,.06) 0%, rgba(245,216,154,0) 70%);
  filter: blur(4px);
  z-index: 0;
}
.goodnight-inner {
  position: relative; z-index: 1;
  max-width: 760px; margin: 0 auto;
}
.goodnight .cta-row { justify-content: center; margin-top: 36px; }
.email-tip {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  padding: 4px 4px 4px 20px;
  backdrop-filter: blur(8px);
}
.email-tip input {
  background: transparent; border: 0; outline: 0;
  color: var(--cream);
  font-family: var(--sans); font-size: 13px;
  min-width: 220px; padding: 10px 0;
}
.email-tip input::placeholder { color: var(--mute); }
.email-tip button {
  border: 0; cursor: pointer;
  background: var(--gold); color: #1B1334;
  font-family: var(--sans); font-weight: 600; font-size: 13px;
  padding: 10px 18px; border-radius: var(--r-pill);
  transition: background .2s;
}
.email-tip button:hover { background: #FCE0A6; }

/* ═════════════ FOOTER ═════════════ */
.foot {
  padding: 80px var(--pad-x) 40px;
  border-top: 1px solid var(--line-2);
  background: rgba(0,0,0,.3);
}
.foot-top {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding-bottom: 40px; margin-bottom: 40px;
  border-bottom: 1px solid var(--line-2);
}
.foot-brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 22px; }
.foot-brand .brand-mark { width: 24px; height: 24px; }
.foot-tag { font-family: var(--serif); font-style: italic; color: var(--mute); margin: 0; }
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.foot-cols h5 {
  font-family: var(--sans);
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
  font-weight: 600;
}
.foot-cols a {
  display: block;
  font-family: var(--serif); font-size: 16px;
  color: var(--cream-2);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color .2s;
}
.foot-cols a:hover { color: var(--gold); }
.foot-bot {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid var(--line-2);
  display: flex; justify-content: space-between;
  font-family: var(--sans); font-size: 12px;
  letter-spacing: .04em; color: var(--mute);
  flex-wrap: wrap; gap: 12px;
}
@media (max-width: 760px) {
  .foot-cols { grid-template-columns: 1fr 1fr; }
}

.foot a {
  color: inherit;
}

/* ═════════════ LEGAL PAGES ═════════════ */
.legal-page .nav {
  position: sticky;
}

.legal-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 110px var(--pad-x) 80px;
}

.legal-updated {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute);
  margin: -8px 0 28px;
}

.legal-section {
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid var(--line-2);
}

.legal-section h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  font-weight: 500;
  color: var(--gold);
  margin: 0 0 14px;
}

.legal-section p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
  color: var(--cream-2);
  margin: 0 0 14px;
}

.legal-section a {
  color: var(--gold);
}

.foot-compact {
  padding-top: 32px;
}

/* ═════════════ Reveal-on-scroll ═════════════ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}
