/* Unveiled War. System serif type, no external fonts, no external requests. */
:root {
  --bg: #050403;
  --bg-2: #0e0906;
  --ink: #f1e8dc;
  --ink-soft: #c9b9a5;
  --ink-faint: #97846f;
  --gold: #d8b36a;
  --gold-hi: #ffe6b3;
  --gold-deep: #8a6128;
  --ember: #ff8a3d;
  --line: rgba(216, 179, 106, 0.24);
  --line-strong: rgba(216, 179, 106, 0.5);
  --glow: rgba(255, 170, 80, 0.22);
  --focus: #ffd58a;
  --display: "Trajan Pro", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(255, 214, 150, 0.10), transparent 70%),
    radial-gradient(90% 40% at 50% 100%, rgba(255, 110, 40, 0.10), transparent 70%),
    var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: var(--gold-hi); text-decoration-color: var(--line-strong); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
/* "Bro.com" inside the credit: looks like the surrounding text, underline on hover/focus. */
a.brolink { color: inherit; text-decoration: none; }
a.brolink:hover, a.brolink:focus-visible { text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 0.2em; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  padding: 0.6rem 1rem; background: var(--gold); color: #1a1006; font-family: var(--sans); border-radius: 6px;
}
.skip:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- embers: three layers of drifting sparks ---- */
.embers { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.embers i {
  position: absolute; inset: -10% 0 0 0; height: 130%;
  background-image:
    radial-gradient(2px 2px at 8% 92%, var(--ember), transparent 70%),
    radial-gradient(1.5px 1.5px at 19% 70%, var(--gold-hi), transparent 70%),
    radial-gradient(2px 2px at 33% 96%, var(--ember), transparent 70%),
    radial-gradient(1px 1px at 41% 62%, var(--gold-hi), transparent 70%),
    radial-gradient(2px 2px at 55% 88%, var(--ember), transparent 70%),
    radial-gradient(1.5px 1.5px at 67% 74%, var(--ember), transparent 70%),
    radial-gradient(1px 1px at 76% 58%, var(--gold-hi), transparent 70%),
    radial-gradient(2px 2px at 86% 94%, var(--ember), transparent 70%),
    radial-gradient(1.5px 1.5px at 95% 66%, var(--gold-hi), transparent 70%);
  opacity: 0;
  animation: rise 22s linear infinite;
  will-change: transform, opacity;
}
.embers i:nth-child(2) { animation-duration: 31s; animation-delay: -11s; transform: scaleX(-1); left: 3%; }
.embers i:nth-child(3) { animation-duration: 40s; animation-delay: -24s; left: -4%; filter: blur(0.6px); }
@keyframes rise {
  0%   { transform: translateY(15%); opacity: 0; }
  15%  { opacity: 0.75; }
  70%  { opacity: 0.45; }
  100% { transform: translateY(-45%); opacity: 0; }
}

/* ---- hero ---- */
.hero {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  padding: max(1rem, env(safe-area-inset-top)) 16px 1.5rem;
  text-align: center;
}
.title-row { margin: 0 0 0.9rem; }
.kicker {
  margin: 0 0 0.35rem;
  font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--ink-faint);
}
.title {
  margin: 0;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.9rem, 7.5vw, 3.6rem); line-height: 1; letter-spacing: 0.16em;
  margin-right: -0.16em; /* optical centring of the letter-spaced line */
  text-transform: uppercase;
  color: var(--gold-hi);
  background: linear-gradient(180deg, #fff6df 0%, #f2d493 45%, #b8873d 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgba(255, 190, 100, 0.28));
}
/* Version switch under the video: Full trailer / Short version (one player, src swapped by app.js). */
.cuts {
  display: flex; width: 100%; max-width: 26rem; margin: 0.75rem auto 0; padding: 3px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(20, 13, 7, 0.6);
}
.cut {
  flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 0.45em;
  min-height: 44px; padding: 0.4rem 0.7rem; border-radius: 999px;
  font-family: var(--sans); font-size: 0.88rem; letter-spacing: 0.03em; line-height: 1.2; white-space: nowrap;
  color: var(--ink-soft); text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}
.cut:hover { color: var(--ink); background: rgba(60, 40, 16, 0.5); }
.cut[aria-current="true"] { background: linear-gradient(180deg, #f2d493, #c9963f); color: #1a1006; font-weight: 700; }
.cut-dur { font-weight: 400; font-variant-numeric: tabular-nums; opacity: 0.8; }
.under { width: 100%; max-width: 44rem; margin: 1rem auto 0; }
/* One line of story between the video and the subscribe box, so text (not the form) follows the video. */
.hook { margin: 0 auto 1rem; max-width: 38rem; font-size: 0.98rem; line-height: 1.5; color: var(--ink-soft); }
.hook a { white-space: nowrap; }

/* Video: 16:9, capped at ~52% of the viewport height so the subscribe box shows too. */
.player {
  position: relative; margin: 0; width: 100%;
  max-width: min(1120px, calc(52vh * 16 / 9));
  max-width: min(1120px, calc(52svh * 16 / 9));
  min-width: min(100%, 320px);
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 30px 80px -20px rgba(0, 0, 0, 0.9), 0 0 90px -10px var(--glow);
}
.player video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.7rem;
  padding: 1rem; border: 0; cursor: pointer; color: var(--ink);
  background: radial-gradient(60% 70% at 50% 50%, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.55));
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}
.play-ring {
  display: grid; place-items: center;
  width: clamp(64px, 12vw, 104px); height: clamp(64px, 12vw, 104px);
  border-radius: 50%;
  border: 1.5px solid rgba(255, 230, 179, 0.85);
  background: rgba(10, 6, 3, 0.45);
  color: var(--gold-hi);
  box-shadow: 0 0 0 0 rgba(255, 200, 120, 0.45), 0 0 40px rgba(255, 180, 90, 0.35);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  transition: transform 0.25s ease, background 0.25s ease;
  animation: halo 2.8s ease-out infinite;
}
.play-ring svg { width: 42%; height: 42%; margin-left: 8%; }
.play:hover .play-ring, .play:focus-visible .play-ring { transform: scale(1.06); background: rgba(40, 24, 8, 0.6); }
.play:focus-visible { outline-offset: -6px; }
@keyframes halo {
  0%   { box-shadow: 0 0 0 0 rgba(255, 200, 120, 0.45), 0 0 40px rgba(255, 180, 90, 0.35); }
  100% { box-shadow: 0 0 0 22px rgba(255, 200, 120, 0), 0 0 40px rgba(255, 180, 90, 0.35); }
}
.play-text {
  font-family: var(--display); font-size: clamp(1rem, 2.6vw, 1.35rem); letter-spacing: 0.22em; text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}
.play-meta {
  font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--ink-soft);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}
.unmute {
  position: absolute; right: 12px; top: 12px;
  min-height: 44px; padding: 0.5rem 1rem; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(5, 4, 3, 0.75); color: var(--ink);
  font-family: var(--sans); font-size: 0.85rem; cursor: pointer;
}

.status {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin: 0.6rem 0 0; padding: 0.4rem 0.9rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft);
}
.dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--ember); box-shadow: 0 0 10px var(--ember); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

/* ---- sections ---- */
main { position: relative; z-index: 1; }
main > section { padding: clamp(2.1rem, 5.4vw, 3.9rem) 16px; }
.section-label {
  margin: 0 0 1.1rem; text-align: center;
  font-family: var(--sans); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold);
}

.story { max-width: 44rem; margin: 0 auto; border-top: 1px solid var(--line); }
.story .lead { margin: 0; font-size: clamp(1.05rem, 3vw, 1.2rem); line-height: 1.55; color: var(--ink); }
.more { margin-top: 0.8rem; }
.more summary {
  display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; list-style: none;
  font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.08em; color: var(--gold-hi);
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; margin-left: 0.5rem; font-size: 1.1rem; }
.more[open] summary::after { content: "\2212"; }
.more-body p { margin: 0 0 1rem; color: var(--ink-soft); }
#story { scroll-margin-top: 1.25rem; }
.more-body p { line-height: 1.65; text-wrap: pretty; }
.story .lead { text-wrap: pretty; }
.story .format {
  text-wrap: balance;
  margin: 1rem 0 0; text-align: center;
  font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint);
}

.scripture {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 12, 6, 0.55), rgba(8, 5, 3, 0.2));
}
.verses {
  list-style: none; margin: 0 auto; padding: 0; max-width: 72rem;
  max-width: 60rem;
  display: grid; gap: 1px; grid-template-columns: repeat(2, 1fr);
  background: var(--line); border: 1px solid var(--line);
}
.verses li { margin: 0; padding: 1.2rem 1.3rem; background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; }
.verses blockquote { margin: 0; }
.verses p { margin: 0; font-style: italic; font-size: 1rem; line-height: 1.55; color: var(--ink); }
.verses cite {
  display: block; margin-top: 0.7rem; font-style: normal;
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}
.verses .invite { background: linear-gradient(160deg, #1a1007, var(--bg) 70%); }
.translation { margin: 0.9rem 0 0; text-align: center; font-family: var(--sans); font-size: 0.75rem; color: var(--ink-faint); }

.progress { max-width: 56rem; margin: 0 auto; text-align: center; }
.steps {
  list-style: none; margin: 0 auto; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; position: relative;
}
.steps::before {
  content: ""; position: absolute; top: 0.55rem; left: 16.66%; right: 16.66%; height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 50%, var(--line) 50%);
}
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
.step-mark { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg); margin-bottom: 0.6rem; }
.steps .done .step-mark { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 14px var(--glow); }
.steps .now .step-mark { border-color: var(--ember); box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.15); animation: pulse 2.4s ease-in-out infinite; }
.steps strong { font-family: var(--display); font-weight: 400; font-size: 1.15rem; letter-spacing: 0.08em; color: var(--ink); }
.steps span:not(.step-mark) { font-size: 0.95rem; color: var(--ink-soft); }
.notify { margin: 2.5rem auto 0; max-width: 34rem; color: var(--ink-soft); }

/* ---- subscribe box ---- */
.sub-box {
  max-width: 38rem; margin: 0 auto; padding: 0.9rem clamp(0.9rem, 4vw, 1.6rem) 0.5rem;
  text-align: center; scroll-margin-top: 1rem;
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: linear-gradient(165deg, rgba(40, 24, 10, 0.75), rgba(10, 6, 3, 0.85) 70%);
  box-shadow: 0 0 70px -20px var(--glow), inset 0 1px 0 rgba(255, 230, 179, 0.06);
}
.sub-h {
  margin: 0 0 0.6rem;
  font-family: var(--display); font-weight: 400; font-size: clamp(1rem, 3.2vw, 1.2rem); line-height: 1.3; letter-spacing: 0.03em;
  color: var(--gold-hi);
}
.sub-lead { margin: 0 0 1.4rem; color: var(--ink-soft); }
.sub-form { margin: 0; text-align: left; }
.sub-label { display: block; margin: 0 0 0.4rem; font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.08em; color: var(--ink-soft); }
.sub-row { display: flex; gap: 0.6rem; }
.sub-input {
  flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 0.7rem 0.9rem;
  border: 1px solid var(--line-strong); border-radius: 6px;
  background: rgba(5, 4, 3, 0.85); color: var(--ink);
  font-family: var(--sans); font-size: 1rem; /* 16px+ stops iOS zooming on focus */
}
.sub-input::placeholder { color: var(--ink-faint); }
.sub-input:focus { border-color: var(--gold); outline: 2px solid var(--focus); outline-offset: 1px; }
.sub-btn {
  flex: 0 0 auto; min-height: 48px; padding: 0.7rem 1.4rem;
  border: 0; border-radius: 6px; cursor: pointer;
  background: linear-gradient(180deg, #f2d493, #c9963f); color: #1a1006;
  font-family: var(--sans); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.06em;
  box-shadow: 0 6px 24px -8px rgba(255, 180, 90, 0.55);
}
.sub-btn:hover { background: linear-gradient(180deg, #ffe6b3, #d8a64d); }
.sub-btn[disabled] { opacity: 0.7; cursor: progress; }
.sub-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.sub-consent { margin: 0.5rem 0 0; font-family: var(--sans); font-size: 0.74rem; line-height: 1.45; color: var(--ink-faint); text-align: center; }
.sub-status { min-height: 1.2em; margin: 0.2rem 0 0; text-align: center; font-family: var(--sans); font-size: 0.9rem; color: var(--ember); }
.sub-done { outline: none; }
.sub-done p { margin: 0 0 0.5rem; color: var(--ink-soft); }
.sub-done .sub-done-h { font-family: var(--display); font-size: clamp(1.35rem, 4.5vw, 1.8rem); color: var(--gold-hi); }
.sub-done .sub-done-glory { margin: 0.9rem 0 0; font-style: italic; color: var(--gold-hi); }
.foot-links { margin: 1rem 0 0; font-family: var(--sans); font-size: 0.8rem; }
.foot-links a { color: var(--ink-faint); }

/* ---- plain pages (privacy, unsubscribe, no-script thank-you) ---- */
.plain-main { position: relative; z-index: 1; max-width: 42rem; margin: 0 auto; padding: max(3rem, env(safe-area-inset-top)) 16px 3rem; }
.plain-h { margin: 0 0 1.4rem; font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 6vw, 2.6rem); line-height: 1.2; color: var(--gold-hi); }
.plain-body h2 { margin: 2rem 0 0.6rem; font-family: var(--sans); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.plain-body p, .plain-body li { color: var(--ink-soft); }
.plain-body ul { padding-left: 1.2rem; }

/* ---- lander: one-line "find a church" strip under the subscribe box ---- */
.church-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.35rem 0.7rem;
  max-width: 38rem; margin: 0.6rem auto 0;
  font-family: var(--sans); font-size: 0.9rem; color: var(--ink-soft);
}
.church-strip .chip { min-height: 44px; padding: 0.35rem 0.95rem; color: var(--gold-hi); }

/* ---- lander: "Get the app" row under the subscribe box (shown by app.js only when it can install) ---- */
.app-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.4rem 0.6rem;
  max-width: 38rem; margin: 0.7rem auto 0;
  font-family: var(--sans);
}
.app-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  height: 44px; min-height: 44px; padding: 0 1.2rem;
  border: 1px solid rgba(255, 230, 179, 0.5); border-radius: 999px; cursor: pointer;
  background: linear-gradient(180deg, #f2d493, #c9963f); color: #1a1006;
  font-family: var(--sans); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.05em; line-height: 1; text-decoration: none;
  box-shadow: 0 6px 24px -8px rgba(255, 180, 90, 0.55);
  -webkit-tap-highlight-color: transparent;
}
.app-btn:hover { background: linear-gradient(180deg, #ffe6b3, #d8a64d); color: #1a1006; }
.app-btn svg { width: 1.05em; height: 1.05em; flex: 0 0 auto; }
.app-x {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; min-height: 44px; padding: 0 0.9rem;
  border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  color: var(--ink-faint); font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.04em;
  text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.2em;
}
.app-x:hover { color: var(--ink-soft); }
.app-help {
  flex: 1 1 100%; margin: 0.2rem auto 0; max-width: 30rem; padding: 0.6rem 0.9rem;
  border: 1px solid var(--line); border-radius: 8px; background: rgba(20, 13, 7, 0.7);
  font-size: 0.92rem; line-height: 1.45; color: var(--ink); text-align: center;
}
.app-help strong { color: var(--gold-hi); }
.app-help svg { width: 1.1em; height: 1.1em; vertical-align: -0.2em; color: var(--gold-hi); }
.stage .app-btn { margin-top: 0.5rem; }

/* ---- /church ---- */
.church-main { max-width: 48rem; }
.church-lead { font-size: 1.08rem; }
.place-box {
  margin: 1.2rem 0; padding: 0.9rem clamp(0.9rem, 4vw, 1.4rem);
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: linear-gradient(165deg, rgba(40, 24, 10, 0.75), rgba(10, 6, 3, 0.85) 70%);
}
.plain-body .place-line { margin: 0 0 0.6rem; color: var(--ink); font-size: 1.05rem; }
.place-line strong { color: var(--gold-hi); font-weight: 600; }
.place-form { margin: 0; }
.place-label { display: block; margin: 0 0 0.4rem; font-family: var(--sans); font-size: 0.85rem; color: var(--ink-soft); }
.place-row { display: flex; gap: 0.6rem; }
.place-exact { margin-top: 0.6rem; }
.place-status { min-height: 1.2em; margin: 0.4rem 0 0; font-family: var(--sans); font-size: 0.88rem; color: var(--gold-hi); }
.plain-body .place-privacy { margin: 0.5rem 0 0; font-family: var(--sans); font-size: 0.78rem; line-height: 1.45; color: var(--ink-faint); }
.plain-body .church-disclaimer {
  margin: 1.2rem 0; padding: 0.7rem 1rem; border-left: 3px solid var(--gold); background: rgba(20, 13, 7, 0.6);
  color: var(--ink); font-size: 0.98rem;
}
.plain-body .dir-list { list-style: none; margin: 0; padding: 0; }
.dir {
  margin: 0 0 0.7rem; padding: 0.85rem 1rem;
  border: 1px solid var(--line); border-radius: 8px; background: rgba(14, 9, 6, 0.7);
  overflow-wrap: anywhere;
}
.dir-name { margin: 0 0 0.25rem; font-family: var(--display); font-weight: 400; font-size: 1.12rem; line-height: 1.3; }
.dir-name a { color: var(--gold-hi); }
.dir-where {
  display: inline-block; margin-left: 0.3rem; padding: 0.05rem 0.5rem; border: 1px solid var(--line-strong); border-radius: 999px;
  font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.06em; color: var(--ink-soft); vertical-align: middle;
}
.plain-body .dir p { margin: 0.2rem 0 0; font-size: 0.95rem; line-height: 1.5; }
.dir-k { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.plain-body .dir .dir-note { font-family: var(--sans); font-size: 0.85rem; color: var(--ink-faint); }
.dir-place { color: var(--ink); user-select: all; }
.plain-body .look-list { padding-left: 1.2rem; }
.look-list li { margin: 0 0 0.45rem; }
.look-list strong { color: var(--ink); }
.cv { margin: 1rem 0 0; padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); }
.plain-body .cv p { margin: 0; font-style: italic; color: var(--ink); }
.cv cite { display: block; margin-top: 0.5rem; font-style: normal; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

.share { margin: 0.8rem 0 0; text-align: center; }
.share-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.45rem; max-width: 40rem; margin: 0 auto; }
.chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0.45rem 1rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(20, 13, 7, 0.6); color: var(--ink);
  font-family: var(--sans); font-size: 0.88rem; letter-spacing: 0.04em; text-decoration: none; cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.chip:hover { background: rgba(60, 40, 16, 0.7); border-color: var(--gold); }
.copied { min-height: 0; margin: 0.3rem 0 0; font-family: var(--sans); font-size: 0.85rem; color: var(--gold-hi); }

.foot {
  position: relative; z-index: 1; text-align: center;
  padding: 1.5rem 16px max(1.8rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
/* Closing block at the end of the page: "Whosoever will." + Revelation 22:17, then the credit. */
.closing { max-width: 40rem; margin: 0 auto; padding: clamp(1rem, 4vw, 2.4rem) 0 clamp(1.6rem, 5vw, 2.6rem); }
.closing-kicker {
  margin: 0 0 0.5rem;
  font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold);
}
.closing-h {
  margin: 0 0 1.1rem;
  font-family: var(--display); font-weight: 400; font-size: clamp(2.1rem, 9vw, 3.8rem); line-height: 1.1; letter-spacing: 0.04em;
  color: var(--gold-hi);
  background: linear-gradient(180deg, #fff6df 0%, #f2d493 45%, #b8873d 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgba(255, 190, 100, 0.28));
}
.closing-verse { margin: 0 auto; max-width: 34rem; }
.closing-verse p { margin: 0; font-style: italic; font-size: clamp(1.05rem, 3.2vw, 1.25rem); line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.closing-cite { margin: 0.75rem 0 0; }
.closing-cite cite { font-style: normal; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
/* The invitation: John 3:16 + Romans 10:13, just above the closing block, then the church finder. */
.invitation { max-width: 40rem; margin: 0 auto; padding: clamp(0.6rem, 3vw, 1.4rem) 0 clamp(0.8rem, 3vw, 1.4rem); border-bottom: 1px solid var(--line); }
.invitation-lead { margin: 0 0 1.1rem; font-size: clamp(1.1rem, 3.6vw, 1.3rem); line-height: 1.5; color: var(--ink-soft); }
.invitation-verse { margin: 0 auto; max-width: 34rem; }
.invitation-verse p { margin: 0; font-style: italic; font-size: clamp(1.15rem, 4.2vw, 1.5rem); line-height: 1.55; color: var(--ink); text-wrap: pretty; overflow-wrap: break-word; }
.invitation-cite { margin: 0.7rem 0 1.3rem; }
.invitation-cite cite { font-style: normal; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.invitation-church { margin: 0.4rem 0 0.6rem; }
.invitation-church .chip { min-height: 44px; padding: 0.5rem 1.2rem; color: var(--gold-hi); font-size: 1rem; }
.credit { margin: 0 0 0.4rem; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-faint); }
.glory { margin: 0; font-style: italic; font-size: 1.1rem; color: var(--gold-hi); }

/* ---- 404 page ---- */
.stage { position: relative; z-index: 1; min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem 16px; text-align: center; }
.stage .title { font-size: clamp(2rem, 9vw, 4.5rem); }
.subtitle { margin: 1rem 0 0; font-style: italic; color: var(--ink-soft); }
.back { margin-top: 2rem; }

@media (max-width: 640px) {
  /* Phones: compact title row, then the video 16:9 edge to edge. */
  .hero { padding-top: max(0.75rem, env(safe-area-inset-top)); padding-left: 0; padding-right: 0; }
  .title-row { margin-bottom: 0.6rem; padding: 0 16px; }
  .kicker { font-size: 0.6rem; margin-bottom: 0.25rem; }
  .under { padding: 0 16px; margin-top: 0.8rem; }
  .status { font-size: 0.64rem; letter-spacing: 0.1em; }
  .player { max-width: 100%; border-radius: 0; border-left: 0; border-right: 0; }
  .cuts { width: calc(100% - 32px); margin-top: 0.6rem; }
  .cut { padding: 0.4rem 0.45rem; font-size: 0.84rem; gap: 0.35em; }
  /* Verses: one horizontal swipe strip. */
  .verses {
    display: flex; gap: 0.6rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    background: none; border: 0; padding: 0 16px 0.4rem; margin: 0 -16px; scrollbar-width: thin;
  }
  .verses li { flex: 0 0 84%; scroll-snap-align: center; border: 1px solid var(--line); border-radius: 6px; }
  .steps { grid-template-columns: 1fr; gap: 1.4rem; text-align: left; }
  .steps::before { left: 0.55rem; right: auto; top: 0.3rem; bottom: 0.3rem; width: 1px; height: auto;
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold) 40%, var(--line) 40%); }
  .steps li { display: grid; grid-template-columns: 1.1rem 1fr; column-gap: 1rem; align-items: baseline; }
  .step-mark { grid-row: 1 / span 2; margin: 0.2rem 0 0; }
  .verses li { padding: 1.1rem 1.1rem; }
  /* Phones: story text a touch smaller so a paragraph is not a wall; room above the heading after the jump. */
  .more-body p { font-size: 1rem; }
  .story .format { font-size: 0.72rem; letter-spacing: 0.14em; }
  #story { scroll-margin-top: 1.5rem; }
  .sub-row, .place-row { flex-direction: column; }
  .sub-btn { width: 100%; }
}
@media (max-width: 360px) {
  .cut { font-size: 0.78rem; letter-spacing: 0; }
  /* At 320 px the letter-spaced title was 2 px wider than the screen (sideways scroll in WebKit). */
  .title { font-size: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .embers i, .dot, .play-ring, .steps .now .step-mark { animation: none; }
  .embers i:first-child { opacity: 0.45; transform: none; }
  .play-ring { transition: none; }
}
