/* Generated by website/build.mjs. Colours from constants/theme.ts, change them there. */
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-700.woff2") format("woff2"); }
:root {
  --page: #FFF6E2;
  --card: #FFFFFF;
  --ink: #18101C;
  --sub: #6B5E66;
  --muted: #716570;
  --line: #EADFC8;
  --red: #C4343C;
  --action: #C4343C;
  --gold: #FFD640;
  --green: #3D7A50;
  --sky: #F7C98B;
  --shadow: 0 6px 16px rgba(90,62,30,0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #16120E;
    --card: #231D18;
    --ink: #E8DECF;
    --sub: #BDB0A0;
    --muted: #A69885;
    --line: #3A3129;
    --red: #E8646A;
    --action: #D0414A;
    --gold: #FFD640;
    --green: #4E9463;
    --sky: #3A2E22;
    --shadow: 0 6px 16px rgba(0,0,0,0.3);
  }
}
/* ---------- website/src/style.css: the build puts the colour tokens and fonts in front of this ---------- */
:root {
  --hair: color-mix(in srgb, var(--ink) 9%, transparent);
  --edge: color-mix(in srgb, var(--ink) 18%, transparent);
  --faint: color-mix(in srgb, var(--ink) 5%, transparent);
  --tint: color-mix(in srgb, var(--red) 10%, transparent);
  --mark: color-mix(in srgb, var(--gold) 30%, transparent);
  --sans: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(32px, 8vw, 50px); }
h2 { font-size: clamp(23px, 5vw, 31px); }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 700px) { .wrap { padding-left: 32px; padding-right: 32px; } }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 16px; z-index: 20; background: var(--card); padding: 10px 14px; border-radius: 12px; box-shadow: var(--shadow); }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: var(--page); border-bottom: 1px solid var(--hair); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: 0.04em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
nav.main { display: flex; gap: 2px; }
nav.main a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 11px 10px; border-radius: 12px; }
nav.main a:hover { background: var(--faint); }
nav.main a[aria-current="page"] { color: var(--red); }
/* W4f: on a phone the three links fit on one line each ("How it works" wrapped at 390 px) */
@media (max-width: 419px) {
  .top-in { gap: 8px; }
  nav.main { flex-wrap: wrap; justify-content: flex-end; }
  nav.main a { white-space: nowrap; padding: 11px 7px; font-size: 14px; }
}
/* the smallest phones (320 px): the icon alone is the home link, the links a little closer */
@media (max-width: 359px) {
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  nav.main a { padding: 11px 5px; }
}

main { padding-bottom: 48px; }
.kicker { color: var(--red); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 10px; }
.lead { font-size: 18px; line-height: 1.6; color: var(--sub); max-width: 36em; }
.more { margin-top: 20px; font-weight: 500; }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 22px;
  border: 0; border-radius: 16px;
  background: var(--action); color: #fff;
  font: 600 16px/1.2 var(--sans); text-decoration: none; text-align: center;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.6; cursor: default; transform: none; }
.btn.quiet { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--edge); }
.pill { display: inline-block; background: var(--tint); color: var(--red); font-weight: 600; font-size: 13px; line-height: 1.4; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }

/* home: hero */
/* W6f: on a phone the face comes right after the title, then the buttons, then the words (the phone started at
   712 px, so the first screen was text and a grey wall). From 700 px the old order; from 880 px text left, phone right. */
.hero { display: grid; gap: 0; padding-top: 36px; padding-bottom: 16px; grid-template-areas: "head" "body" "actions" "media"; }
.hero-head { grid-area: head; }
.hero-body { grid-area: body; }
.hero-actions { grid-area: actions; margin-top: 26px; }
.hero-media { grid-area: media; margin-top: 36px; }
.hero-body > :last-child { margin-bottom: 0; }
.hero-icon { width: 88px; height: 88px; border-radius: 22px; box-shadow: var(--shadow); margin-bottom: 22px; }
.launch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 22px 0 0; font-weight: 500; }
@media (max-width: 699px) {
  .hero { gap: 14px; padding-top: 14px; grid-template-areas: "head" "media" "actions" "body"; }
  .hero-actions, .hero-media { margin-top: 0; }
  .hero-head { display: flex; align-items: center; gap: 14px; }
  .hero-head .kicker { margin-bottom: 4px; }
  .hero-head h1 { font-size: clamp(21px, 6.4vw, 30px); margin: 0; letter-spacing: -0.02em; }
  .hero-icon { width: 48px; height: 48px; border-radius: 12px; margin: 0; flex: none; }
  .hero .phone { max-width: min(300px, 56vw); padding: 7px; border-radius: 30px; }
  .hero .phone .screen { border-radius: 24px; }
  .hero-media figcaption { margin-top: 10px; font-size: 13px; line-height: 1.45; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-body { margin-top: 8px; }
}
.nojs-only { display: none; }
.msg-line { display: none; scroll-margin-top: 120px; }
.msg-line:target { display: block; }
.covers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; align-self: center; }
.covers figure { margin: 0; }
.covers img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); background: var(--sky); }
.covers figcaption { margin-top: 8px; font-size: 13px; font-weight: 500; color: var(--sub); text-align: center; }
@media (min-width: 880px) {
  .hero { grid-template-columns: 1.05fr 1fr; grid-template-rows: 1fr auto auto auto 1fr; grid-template-areas: ". media" "head media" "body media" "actions media" ". media"; align-items: center; gap: 0 48px; padding-top: 64px; }
  .hero-media { margin-top: 0; }
  .covers { gap: 16px; }
  .covers figure:nth-child(2) { transform: translateY(-28px); }
}

/* home: verse */
.verse { padding-top: 40px; padding-bottom: 40px; }
blockquote { margin: 0 auto; max-width: 32em; text-align: center; }
.scripture { font-family: var(--serif); font-size: clamp(23px, 5.4vw, 30px); line-height: 1.45; margin: 0 0 14px; text-wrap: balance; }
cite { font-style: normal; color: var(--sub); font-size: 14px; font-weight: 500; }

/* sections, cards */
.section { padding-top: 32px; padding-bottom: 32px; }
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 620px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .grid:not(.two) { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--card); border: 1px solid var(--hair); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.card > :last-child { margin-bottom: 0; }
.feature p { color: var(--sub); margin: 0; font-size: 15px; }
.feature .stat { color: var(--ink); font-size: 34px; font-weight: 700; line-height: 1.1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat span { display: block; font-size: 15px; font-weight: 600; letter-spacing: 0; margin-top: 2px; }
.topic h3, .topic h2 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.topic p { color: var(--sub); font-size: 15px; margin-bottom: 0.7em; }

/* waitlist */
.waitlist { max-width: 600px; margin: 0 auto; padding: 24px; }
@media (min-width: 620px) { .waitlist { padding: 32px; } }
.waitlist > p { color: var(--sub); }
form label { display: block; font-weight: 600; font-size: 15px; margin: 18px 0 6px; }
input[type="email"] {
  width: 100%; min-height: 50px; padding: 0 14px;
  font: 16px var(--sans); color: var(--ink);
  background: var(--page); border: 1px solid var(--edge); border-radius: 12px;
}
input[type="email"]:focus-visible { outline-offset: 0; }
form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 14px; line-height: 1.5; color: var(--sub); margin: 16px 0 22px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--action); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
form .btn { width: 100%; }
@media (min-width: 620px) { form .btn { width: auto; } }
.msg { margin: 14px 0 0; font-weight: 500; min-height: 1.6em; }
.msg[data-state="ok"] { color: var(--green); }
.msg[data-state="error"] { color: var(--red); }

/* inner pages */
.page-head { padding-top: 40px; padding-bottom: 8px; }
.page-head.narrow { max-width: 720px; padding-bottom: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 14px; padding: 9px 14px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--edge); }
.chips a:hover { background: var(--faint); }
.help-group { padding-top: 24px; padding-bottom: 8px; }
.help-group h2 { margin-bottom: 0; }
.contact { margin-top: 24px; max-width: 600px; }
.contact h2 { font-size: 18px; margin-bottom: 6px; }
.contact p { margin: 0; font-size: 18px; font-weight: 500; }

/* legal texts */
.prose { max-width: 760px; padding-top: 40px; }
.prose h1 { font-size: clamp(30px, 7vw, 42px); }
.prose h2 { font-size: 21px; margin-top: 1.9em; }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.35em; }
.prose a { word-break: break-word; }
mark.ph { background: var(--mark); color: var(--ink); padding: 0 3px; border-radius: 4px; }
.note { background: var(--card); border: 1px solid var(--hair); border-left: 4px solid var(--gold); border-radius: 12px; padding: 12px 16px; color: var(--sub); font-size: 15px; }

/* footer */
.foot { border-top: 1px solid var(--hair); padding: 32px 0 40px; font-size: 14px; color: var(--sub); }
.foot-in { display: grid; gap: 24px; }
.foot p { margin: 0; }
.foot-brand .brand { margin-bottom: 10px; }
.foot-brand .brand img { width: 32px; height: 32px; border-radius: 8px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 4px; margin-left: -8px; }
.foot-nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 10px 8px; border-radius: 10px; }
.foot-nav a:hover { background: var(--faint); }
.foot-nav a[aria-current="page"] { color: var(--red); }
.foot-social p { font-weight: 600; color: var(--ink); }
.foot-small { font-size: 13px; }
@media (min-width: 880px) {
  .foot-in { grid-template-columns: 1.2fr 1.3fr 1fr; align-items: start; }
  .foot-small { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Home v2 (W4b): the moving parts. Era colours and the route timing are added by the build. ---------- */
/* phone frame */
.phone { position: relative; width: 100%; max-width: 300px; margin: 0 auto; padding: 10px; border-radius: 44px; background: #1d1714; box-shadow: 0 24px 50px rgba(40, 24, 10, 0.28), inset 0 0 0 2px #3a2f29; }
.phone.small { max-width: 240px; padding: 8px; border-radius: 36px; }
.phone .screen { display: block; width: 100%; height: auto; aspect-ratio: 9 / 19.5; object-fit: cover; border-radius: 34px; background: var(--sky); }
.phone video.screen { aspect-ratio: 9 / 16; background: #1d1714; } /* W2b: iOS Safari can draw a video one pixel short of its box; the gap then shows the bezel colour, not a light sky line */
.phone.small .screen { border-radius: 28px; }
.hero-media { margin: 0; }
.hero-media figcaption { margin-top: 14px; text-align: center; font-size: 14px; font-weight: 500; color: var(--sub); }
.sound {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px;
  background: rgba(20, 14, 10, 0.72); color: #fff; font: 600 14px/1 var(--sans); white-space: nowrap; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.sound[aria-pressed="true"] { background: var(--action); }

/* the icon pops once, like the unlock in the app (app/unlocked.tsx) */
@keyframes pop {
  0% { transform: scale(0.6); opacity: 0; box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold) 70%, transparent); }
  60% { transform: scale(1.12); opacity: 1; box-shadow: 0 0 0 18px color-mix(in srgb, var(--gold) 0%, transparent); }
  100% { transform: scale(1); box-shadow: var(--shadow); }
}
.hero-icon { animation: pop 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2) 0.15s both; }

/* the strip */
.strip-section { padding-top: 48px; }
.strip {
  list-style: none; margin: 24px 0 0; padding: 4px 16px 16px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 168px; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; -webkit-overflow-scrolling: touch;
}
@media (min-width: 700px) { .strip { padding-left: max(32px, calc((100vw - 1060px) / 2 + 32px)); padding-right: 32px; grid-auto-columns: 190px; } }
.person { scroll-snap-align: start; background: var(--card); border: 1px solid var(--hair); border-radius: 18px; padding: 8px 8px 14px; box-shadow: var(--shadow); }
.person video { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--sky); display: block; }
.person .name { margin: 10px 6px 0; font-weight: 700; font-size: 16px; line-height: 1.3; }
.person .title { margin: 2px 6px 0; color: var(--sub); font-size: 13px; line-height: 1.4; }

/* two columns: media and text */
.split { display: grid; gap: 28px; align-items: center; }
.split-media { display: grid; justify-items: center; gap: 14px; }
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1.15fr; gap: 56px; }
  .map-section { grid-template-columns: 1.1fr 1fr; }
}

/* the map: the route draws itself when it scrolls in */
.map { position: relative; margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); width: 100%; }
.map img { width: 100%; height: auto; }
.route { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-line { fill: none; stroke: #c4343c; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s ease-in-out 0.3s; }
.route-dot { fill: #fff; stroke: #c4343c; stroke-width: 6; opacity: 0; transition: opacity 0.3s ease; }
.route-label { fill: #1d1714; font-family: var(--sans); font-weight: 600; paint-order: stroke; stroke: rgba(255, 255, 255, 0.92); stroke-width: 10px; stroke-linejoin: round; opacity: 0; transition: opacity 0.4s ease; }
.map.is-on .route-line { stroke-dashoffset: 0; }
.map.is-on .route-dot, .map.is-on .route-label { opacity: 1; }
.stops { margin: 0 0 16px; padding-left: 1.6em; columns: 2 220px; column-gap: 24px; font-size: 14px; }
.stops li { break-inside: avoid; margin-bottom: 6px; color: var(--ink); }
.stops small { display: block; color: var(--sub); font-size: 13px; }
.note-small { color: var(--sub); font-size: 14px; }

/* The Story (W7h): the app's list from app/story.tsx, one card per era, the open one shows its numbered stops */
.story-section { padding-top: 40px; }
.story-list { max-width: 640px; margin-top: 8px; }
.st-era { position: relative; margin-bottom: 12px; }
.st-era:not(:last-child)::before { content: ""; position: absolute; left: 33px; top: 40px; bottom: -12px; width: 2px; background: var(--hair); }
.st-h { position: relative; margin: 0; font: inherit; letter-spacing: 0; }
.st-card { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 66px; padding: 12px; border: 1px solid var(--hair); border-radius: 16px; background: var(--card); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.12s ease; -webkit-tap-highlight-color: transparent; }
.st-card:active { transform: scale(0.985); }
.st-era.open .st-card { border-color: transparent; box-shadow: var(--shadow); }
.st-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--era); }
.st-txt { flex: 1; min-width: 0; }
.st-name { display: block; font-weight: 600; font-size: 16px; line-height: 1.3; }
.st-when { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); }
.st-count { flex: none; margin-right: 2px; font-weight: 600; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.st-chev { flex: none; width: 8px; height: 8px; margin: 0 6px 2px 2px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); transition: transform 0.2s ease; }
.st-era.open .st-chev { transform: rotate(45deg); margin-bottom: 5px; }
.st-panel { position: relative; padding-top: 6px; }
.st-panel[hidden] { display: none; }
.st-panel.st-anim { overflow: hidden; }
.st-in { padding: 8px 12px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); }
.st-sum { margin: 0; padding: 8px 0; font-size: 14px; line-height: 20px; color: var(--sub); }
.st-stops { list-style: none; margin: 0; padding: 0; }
.st-stops li { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 4px; }
.st-stops li::before, .st-stops li::after { content: ""; position: absolute; left: 17px; width: 2px; background: var(--hair); }
.st-stops li::before { top: 0; height: 50%; }
.st-stops li::after { top: 50%; bottom: 0; }
.st-stops li:first-child::before, .st-stops li:last-child::after { display: none; }
.st-dot { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--hair); background: var(--card); font-weight: 600; font-size: 12.5px; line-height: 1; color: var(--muted); font-variant-numeric: tabular-nums; }
.st-stop { min-width: 0; }
.st-stop strong { display: block; font-weight: 600; font-size: 15px; line-height: 1.35; }
.st-stop small { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); }
.st-more { margin: 2px 0 4px; padding: 8px 4px; font-size: 14px; font-weight: 600; }
.st-more a { text-decoration: none; }
.st-more a:hover { text-decoration: underline; }
@media (min-width: 900px) {
  .story-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 48px; align-items: start; }
  .story-intro { position: sticky; top: 96px; padding-top: 4px; }
  .story-wrap .story-list { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .st-card, .st-chev { transition: none; } .st-card:active { transform: none; } }

/* Today's 3 minutes */
.screens { display: grid; gap: 28px; margin-top: 28px; }
@media (min-width: 760px) { .screens { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.screens figure { margin: 0; }
.screens figcaption { margin: 16px auto 0; max-width: 260px; text-align: center; color: var(--sub); font-size: 15px; }
.screens figcaption strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 2px; }

/* the Advent calendar */
.calendar { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 560px) { .calendar { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 900px) { .calendar { grid-template-columns: repeat(7, 1fr); gap: 10px; } }
.door {
  width: 100%; min-height: 86px; padding: 10px; border: 0; border-radius: 14px; cursor: pointer; text-align: left;
  font: inherit; color: #fff; background: linear-gradient(160deg, #2b3f6b, #182640); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), var(--shadow);
  display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.12s ease;
}
.door:active { transform: scale(0.97); }
.door .day { font-weight: 700; font-size: 22px; line-height: 1; color: #f2c14e; }
.door .inside { display: none; font-size: 12px; line-height: 1.35; color: var(--sub); }
.door .inside strong { display: block; color: var(--ink); font-size: 13px; margin-bottom: 2px; }
.door.open { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 2px var(--gold), var(--shadow); }
.door.open .day { font-size: 15px; color: var(--red); margin-bottom: 6px; }
.door.open .inside { display: block; }

@media (prefers-reduced-motion: reduce) {
  .hero-icon { animation: none; }
  .route-line { stroke-dashoffset: 0; transition: none; }
  .route-dot, .route-label { opacity: 1; transition: none; }
}

/* ---------- How it works v2 and People (W4c). The People era colours (.pe-N) are added by the build. ---------- */
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }

/* a help topic with its piece of the app */
.how-row { display: grid; gap: 20px; margin-top: 24px; align-items: start; }
.how-row + .grid { margin-top: 24px; }
.how-media { min-width: 0; }
@media (min-width: 880px) {
  .how-row:not(.wide) { grid-template-columns: 1fr 1fr; gap: 44px; }
  .how-row.wide .topic { max-width: 720px; }
}
.how-media .map-touch { max-width: 400px; margin: 0 auto; }
.media-note { margin: 12px auto 0; max-width: 30em; color: var(--sub); font-size: 14px; text-align: center; }
.mini-screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 470px; margin: 0 auto; }
.mini-screens figure { margin: 0; }
.mini-screens figcaption { margin-top: 8px; text-align: center; font-size: 14px; font-weight: 600; }
.phone.mini { padding: 5px; border-radius: 22px; box-shadow: 0 12px 26px rgba(40, 24, 10, 0.22), inset 0 0 0 2px #3a2f29; }
.phone.mini .screen { border-radius: 18px; }
.one-screen { margin: 0; }
.one-screen figcaption { margin: 14px auto 0; max-width: 260px; text-align: center; color: var(--sub); font-size: 14px; }
.cover-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 8px; max-width: 470px; }
.cover-grid img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; background: var(--sky); box-shadow: var(--shadow); }
.cover-grid span { display: block; margin-top: 5px; font-size: 11px; line-height: 1.3; font-weight: 500; color: var(--sub); text-align: center; }
.faces-mini { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 470px; }
.faces-mini video { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: var(--sky); box-shadow: var(--shadow); }
.faces-mini span { display: block; margin-top: 6px; text-align: center; font-weight: 600; font-size: 14px; }
.calendar.in-col { margin-top: 0; }
.more-doors { margin: 12px 0 0; text-align: center; font-weight: 600; color: var(--ink); }

/* the Listen sample (the idea from Dwell: hear it before you download) */
.listen { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 18px; max-width: 470px; margin: 0 auto; }
.listen-text { flex: 1; min-width: 180px; }
.listen-text p { margin: 0; }
.listen-text p + p { color: var(--sub); font-size: 14px; margin-top: 2px; }
.listen-title { font-weight: 700; font-size: 17px; }
.listen audio { width: 100%; }
.play { flex: none; display: grid; place-items: center; width: 64px; height: 64px; padding: 0; border: 0; border-radius: 50%; background: var(--action); color: #fff; cursor: pointer; box-shadow: var(--shadow); transition: transform 0.12s ease; }
.play:active { transform: scale(0.94); }
.play-icon { width: 0; height: 0; margin-left: 5px; border-left: 19px solid currentColor; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.play.on .play-icon { width: 18px; height: 22px; margin: 0; border: 0; background: linear-gradient(90deg, currentColor 0 6px, transparent 6px 12px, currentColor 12px 18px); }
.listen-bar { height: 4px; margin-top: 12px; border-radius: 2px; background: var(--hair); overflow: hidden; }
.listen-bar span { display: block; height: 100%; background: var(--action); transform: scaleX(0); transform-origin: left center; transition: transform 0.25s linear; }

/* People */
.people-era { padding-top: 28px; padding-bottom: 8px; }
.people-era h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
.people-era h2::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--era); }
.era-line { margin: 0; color: var(--sub); font-size: 14px; }
.faces { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 560px) { .faces { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 880px) { .faces { grid-template-columns: repeat(5, 1fr); } }
.face-card { background: var(--card); border: 1px solid var(--hair); border-radius: 18px; padding: 8px 8px 14px; box-shadow: var(--shadow); scroll-margin-top: 80px; }
.face-card:target { box-shadow: 0 0 0 3px var(--era), var(--shadow); }
.face { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: color-mix(in srgb, var(--era) 18%, var(--card)); cursor: pointer; }
div.face { cursor: default; }
.face img, .face-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.face-clip { opacity: 0; transition: opacity 0.2s ease; }
.face.playing .face-clip { opacity: 1; }
.face-play { position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; border-radius: 50%; background: rgba(20, 14, 10, 0.62); transition: opacity 0.2s ease; }
.face-play::after { content: ""; position: absolute; left: 12px; top: 9px; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.face.playing .face-play { opacity: 0; }
.face.blank { display: grid; place-items: center; font-size: 42px; font-weight: 700; color: var(--era); }
.face-card .name { margin: 10px 6px 0; font-weight: 700; font-size: 16px; line-height: 1.3; }
.face-card .title { margin: 2px 6px 0; color: var(--sub); font-size: 13px; line-height: 1.4; }
.cta { max-width: 720px; margin: 0 auto; text-align: center; }
.cta p:last-child { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cta > p { color: var(--sub); }

@media (prefers-reduced-motion: reduce) {
  .face-clip, .face-play, .listen-bar span { transition: none; }
}

/* People as a game (W4e): locked cards, the counter, the unlock in a phone over the page, the flip */
.unlock-count { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--tint); color: var(--red); font-weight: 600; font-size: 14px; line-height: 1.35; }
.unlock-count::before { content: "?"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; font-size: 15px; }
.unlock-count.out::before { content: "\2713"; background: var(--green); }
.face.lock { display: grid; place-items: center; cursor: default; background: color-mix(in srgb, var(--era) 60%, #120c08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.face.lock::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%); }
.lock-q { position: relative; font-size: clamp(60px, 16vw, 86px); font-weight: 700; line-height: 1; color: rgba(255, 255, 255, 0.94); text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35); transition: transform 0.2s ease; }
.lock-note { position: absolute; left: 8px; right: 8px; bottom: 10px; text-align: center; font-size: 12px; font-weight: 600; line-height: 1.3; color: rgba(255, 255, 255, 0.86); }
.lock-btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 12px; background: transparent; cursor: pointer; }
.face.lock:hover .lock-q { transform: scale(1.08); }
.face.lock.out { place-items: start center; }
.face.lock.out .lock-q { font-size: 40px; margin-top: 12%; }
.face.lock.out .lock-note { bottom: 56px; }
.lock-out.btn { position: absolute; left: 8px; right: 8px; bottom: 8px; min-height: 40px; padding: 0 8px; border-radius: 12px; font-size: 13px; }
.lock-back { position: absolute; inset: 0; opacity: 0; }
.lock-back img { width: 100%; height: 100%; object-fit: cover; }
.face-card.turning .face.lock { animation: lock-turn 0.55s ease-in-out both; }
.face-card.turning .lock-back { animation: lock-back 0.55s linear both; }
@keyframes lock-turn { 0% { transform: perspective(700px) rotateY(0); } 50% { transform: perspective(700px) rotateY(90deg); } 100% { transform: perspective(700px) rotateY(0); } }
@keyframes lock-back { 0%, 49.9% { opacity: 0; } 50%, 100% { opacity: 1; } }
.face-card.unlocked { box-shadow: 0 0 0 2px var(--gold), var(--shadow); }
html.layer-open { overflow: hidden; }
.unlock-layer { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(12, 8, 5, 0.86); opacity: 0; transition: opacity 0.2s ease; }
.unlock-layer.in { opacity: 1; }
.unlock-box { display: flex; flex-direction: column; align-items: center; gap: 14px; transform: scale(0.94); transition: transform 0.25s ease; }
.unlock-layer.in .unlock-box { transform: none; }
.phone.unlock-phone { width: min(300px, calc((100vh - 170px) * 0.5625 + 20px)); max-width: none; margin: 0; }
@supports (height: 100dvh) { .phone.unlock-phone { width: min(300px, calc((100dvh - 170px) * 0.5625 + 20px)); } }
.unlock-stage { aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; background: #000; }
.unlock-stage .screen { display: block; width: 100%; height: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 0; }
.unlock-caption { margin: 0; color: #fff; font-weight: 600; font-size: 17px; text-align: center; }
.unlock-close { min-height: 44px; padding: 0 24px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, 0.16); color: #fff; font: 600 15px/1 var(--sans); cursor: pointer; }
.unlock-close:hover { background: rgba(255, 255, 255, 0.24); }
.unlock-close:focus-visible { outline-color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .face-card.turning .face.lock, .face-card.turning .lock-back { animation: none; }
  .unlock-box { transform: none; }
}

/* ---------- W7b the map you can touch: zoom, the bounce, the stops (src/app.js). Without JavaScript the tools, the
   stop row and the cards stay hidden (the hidden attribute), so the map and the stop list are as before. ---------- */
.map-touch { width: 100%; max-width: 460px; justify-self: center; min-width: 0; }
/* zoomed out, one finger scrolls the page (pan-y); zoomed in, every touch belongs to the map */
.map { touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; background: color-mix(in srgb, var(--ink) 14%, var(--page)); }
.map.zoomed { touch-action: none; cursor: grab; }
.map.dragging { cursor: grabbing; }
.map-pan { position: relative; transform-origin: 0 0; }
.map.live .map-pan { will-change: transform; }
.map img { -webkit-user-drag: none; }
.map-sharp { position: absolute; max-width: none; opacity: 0; transition: opacity 0.25s ease; pointer-events: none; }
.map-sharp.ready { opacity: 1; }
.map-tools { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; flex-direction: column; gap: 8px; }
.map-tools button {
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 14px; cursor: pointer;
  background: rgba(255, 255, 255, 0.94); color: #1d1714; font: 600 24px/1 var(--sans);
  box-shadow: 0 4px 12px rgba(40, 24, 10, 0.22); transition: transform 0.12s ease, opacity 0.15s ease;
}
.map-tools button:active { transform: scale(0.94); }
.map-tools button:disabled { opacity: 0.45; cursor: default; transform: none; }
.route-focus { fill: none; stroke: #c4343c; stroke-width: 8; opacity: 0; transition: opacity 0.3s ease; }
.map.is-on .route-focus.on { opacity: 1; transition-delay: 2.6s; }
.map.is-on.picked .route-focus.on { transition-delay: 0s; }
.route-dot.on { fill: #c4343c; stroke: #fff; }
/* W7f: the map never fills the screen. On a phone at most 60% of the screen tall, so there is always page around it
   to scroll with (zoomed in, a finger on the map moves the map); on a computer at most 80%, so the stop row shows
   under it. --ar is the map's width / height (build.mjs), so the width follows and the picture is never cut. */
.map-touch .map { margin-inline: auto; max-width: calc(80vh * var(--ar, 1)); max-width: calc(80svh * var(--ar, 1)); }
@media (max-width: 699px) {
  .map-touch .map { max-width: calc(60vh * var(--ar, 1)); max-width: calc(60svh * var(--ar, 1)); }
}
/* the hint speaks to a finger or to a mouse */
.stop-hint .by-mouse, .stop-again .by-mouse { display: none; }
@media (hover: hover) and (pointer: fine) {
  .stop-hint .by-touch, .stop-again .by-touch { display: none; }
  .stop-hint .by-mouse, .stop-again .by-mouse { display: inline; }
}
/* W7j: on a dot with more stops (Jerusalem), which stop the next tap opens */
.stop-again { color: var(--muted); font-weight: 500; letter-spacing: 0.02em; text-transform: none; }
.stop-pick { margin-top: 16px; }
.stop-hint { margin: 0 0 6px; text-align: center; color: var(--sub); font-size: 13px; line-height: 1.45; }
/* W7g: the app's time bar under the Life of Jesus map (components/map/TimeBar.tsx, its numbers in px): the 9 eras,
   Life of Jesus picked for good (taller, outlined); a tap on another colour only shows the line under it (src/app.js).
   No hover look: the colours do not switch. Shown the same without JavaScript. */
.timebar { margin: 14px auto 0; max-width: 560px; background: var(--card); border: 1px solid var(--hair); border-radius: 18px; padding: 10px 14px 8px; box-shadow: var(--shadow); }
.tb-top { display: flex; align-items: baseline; gap: 7px; margin: 0; font-size: 14px; line-height: 1.4; }
.tb-top b { font-weight: 600; color: var(--ink); }
.tb-when { color: var(--sub); font-size: 13.5px; }
.tb-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--era); align-self: center; }
.tb-bar { display: flex; height: 32px; align-items: center; margin-top: 2px; }
.tb-seg { flex: 1 1 0; min-width: 0; height: 44px; margin: -6px 0; padding: 0 1.5px; border: 0; background: none; cursor: pointer; display: flex; align-items: center; -webkit-tap-highlight-color: transparent; }
.tb-seg span { display: block; width: 100%; height: 8px; border-radius: 4px; background: var(--era); opacity: 0.3; }
.tb-seg[aria-pressed="true"] { cursor: default; }
.tb-seg[aria-pressed="true"] span { height: 16px; border-radius: 6px; opacity: 1; box-shadow: inset 0 0 0 2px var(--ink); }
.tb-ends { display: flex; justify-content: space-between; margin: -2px 0 0; padding: 0 1.5px; color: var(--sub); font-size: 12px; line-height: 1.4; }
.tb-ends .on { color: var(--ink); font-weight: 600; }
.tb-msg { margin: 0; min-height: 0; color: var(--ink); font-size: 14px; line-height: 1.45; text-align: center; opacity: 0; transition: opacity 0.25s ease; }
.tb-msg.on { margin-top: 6px; opacity: 1; }
.stop-card { margin-top: 10px; }
.stop-card .kicker { margin-bottom: 6px; }
.stop-card h3 { margin: 0 0 2px; }
.stop-place { margin: 0; color: var(--sub); font-size: 14px; }
.stop-verse { margin: 14px 0 16px; max-width: none; text-align: left; padding-left: 14px; border-left: 3px solid var(--gold); }
.stop-verse p { margin: 0 0 6px; font-family: var(--serif); font-size: 17px; line-height: 1.5; }
.stop-go { margin: 0; }
.stop-go .btn { width: 100%; }
.stop-note { margin: 10px 0 0; color: var(--sub); font-size: 13px; line-height: 1.45; }
@media (min-width: 620px) { .stop-go .btn { width: auto; } }
@media (prefers-reduced-motion: reduce) {
  .map-sharp, .route-focus, .tb-msg, .map-tools button { transition: none; }
  .map.is-on .route-focus.on { transition-delay: 0s; }
}

/* ---------- W7c the phones you can use: Watch, Answer and Read in Today's 3 minutes (src/app.js). The inside of a
   phone is laid out in the app's own points: --u is one iPhone point (the screen is 390 points wide), so the phone
   looks like the app at any size. Without JavaScript these stay hidden (.needs-js) and the still screens show. ---------- */
.phone.try { max-width: 300px; }
.try-screens { grid-template-columns: 1fr; }
@media (min-width: 760px) { .try-screens { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .try-screens { grid-template-columns: repeat(3, 1fr); } }
.app-screen { position: relative; overflow: hidden; container-type: inline-size; aspect-ratio: 9 / 19.5; border-radius: 28px; background: var(--page); color: var(--ink); text-align: left; }
.phone.try .app-screen { height: auto; }
/* the app's own page colour (C.bg), not the sky that .phone .screen gives the video phones while they load */
.phone .app-screen { background: var(--page); }
.phone .watch-app { background: #000; } /* the app's video screen is black (app/video/[id].tsx) */
.app-in { --u: calc(100cqw / 390); position: absolute; inset: 0; display: flex; flex-direction: column; padding-top: calc(var(--u) * 46); font-size: max(12px, calc(var(--u) * 15)); line-height: 1.4; }

/* Watch */
.watch-app { background: #000; color: #fff; }
.wa-top { margin: 0; padding: 0 calc(var(--u) * 20) calc(var(--u) * 10); font-weight: 600; font-size: max(11px, calc(var(--u) * 13)); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }
.wa-stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; }
.wa-video { width: 100%; height: 100%; object-fit: contain; background: #000; cursor: pointer; }
.wa-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--action); color: #fff; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); transition: opacity 0.2s ease, transform 0.12s ease; }
.wa-play:active { transform: scale(0.94); }
.watch-app.playing .wa-play { opacity: 0; pointer-events: none; }
.wa-by { margin: 0; padding: calc(var(--u) * 12) calc(var(--u) * 20) calc(var(--u) * 24); text-align: center; font-weight: 600; font-size: max(12px, calc(var(--u) * 15)); }
.wa-next.btn { position: absolute; left: calc(var(--u) * 20); right: calc(var(--u) * 20); bottom: calc(var(--u) * 22); min-height: 44px; font-size: 15px; }

/* Answer: the quiz screen of the app (app/quiz/[id].tsx) */
.qz-head { display: flex; align-items: center; gap: 12px; padding: 0 calc(var(--u) * 18) 0 calc(var(--u) * 22); }
.qz-dots { flex: 1; display: flex; gap: 5px; }
.qz-dots i { flex: 1; height: 4px; border-radius: 2px; background: var(--faint); }
.qz-dots i.done { background: var(--green); }
.qz-dots i.now { background: var(--ink); }
.qz-count { font-weight: 500; font-size: max(11px, calc(var(--u) * 13)); color: var(--muted); font-variant-numeric: tabular-nums; }
.qz-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: calc(var(--u) * 22) calc(var(--u) * 22) calc(var(--u) * 16); }
.qz-page.in { animation: qz-in 0.28s ease-out both; }
@keyframes qz-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.qz-kicker { margin: 0; font-weight: 600; font-size: max(10px, calc(var(--u) * 12.5)); letter-spacing: 0.09em; color: var(--muted); }
.qz-q { margin: calc(var(--u) * 8) 0 0; font-weight: 700; font-size: max(15px, calc(var(--u) * 23)); line-height: 1.35; text-wrap: pretty; }
.qz-opts { display: grid; gap: calc(var(--u) * 10); margin-top: calc(var(--u) * 20); }
.qz-opt { display: flex; align-items: center; gap: calc(var(--u) * 12); width: 100%; min-height: 44px; padding: calc(var(--u) * 14); border: 1px solid var(--hair); border-radius: 14px; background: var(--card); color: var(--ink); font: 500 max(14px, calc(var(--u) * 16))/1.35 var(--sans); text-align: left; cursor: pointer; box-shadow: var(--shadow); transition: transform 0.12s ease, opacity 0.15s ease; }
.qz-opt:active:not(:disabled) { transform: scale(0.98); }
.qz-opt:disabled { cursor: default; }
.qz-opt.dim { opacity: 0.5; }
.qz-opt.right { border: 1.5px solid var(--green); background: color-mix(in srgb, var(--green) 10%, var(--card)); }
.qz-opt.wrong { border: 1.5px solid var(--red); background: color-mix(in srgb, var(--red) 9%, var(--card)); }
.qz-letter { flex: none; display: grid; place-items: center; width: max(24px, calc(var(--u) * 32)); height: max(24px, calc(var(--u) * 32)); border-radius: 50%; background: var(--faint); font-weight: 600; font-size: max(11px, calc(var(--u) * 13)); }
.qz-opt.right .qz-letter { background: var(--green); color: #fff; }
.qz-opt.wrong .qz-letter { background: var(--action); color: #fff; }
.qz-fb { margin-top: calc(var(--u) * 18); padding: calc(var(--u) * 16); border-radius: 14px; background: var(--faint); }
.qz-fb.ok { background: color-mix(in srgb, var(--green) 10%, var(--card)); }
.qz-fb.pop { animation: qz-pop 0.25s ease-out both; }
@keyframes qz-pop { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
.qz-fb-t { margin: 0; font-weight: 600; font-size: max(13px, calc(var(--u) * 17)); }
.qz-fb-s { margin: 4px 0 0; color: var(--sub); font-size: max(12px, calc(var(--u) * 14)); line-height: 1.5; }
.qz-fb-v { margin: calc(var(--u) * 12) 0 0; padding-left: calc(var(--u) * 12); border-left: 2px solid var(--edge); }
.qz-fb-v p { margin: 0; font-family: var(--serif); font-size: max(13px, calc(var(--u) * 16)); line-height: 1.5; }
.qz-fb-v cite { display: block; margin-top: 4px; font-size: max(11px, calc(var(--u) * 13)); color: var(--muted); }
.qz-bottom { padding: calc(var(--u) * 10) calc(var(--u) * 20) calc(var(--u) * 28); min-height: calc(var(--u) * 92); }
.qz-next.btn { width: 100%; min-height: 44px; font-size: max(14px, calc(var(--u) * 17)); }
.qz-stage { position: absolute; inset: 0; z-index: 2; background: #000; }
.qz-stage .screen { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; background: #000; }
.qz-end { position: absolute; left: 0; right: 0; top: 47%; bottom: 0; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--u) * 22) calc(var(--u) * 20) calc(var(--u) * 26); background: rgb(10, 6, 4); color: #fff; text-align: center; }
/* W7f: solid from 47% down, so the picture's own "New character" card and quote never show through under the words */
.qz-end::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 7%; background: linear-gradient(transparent, rgb(10, 6, 4)); pointer-events: none; }
.qz-end.pop { animation: qz-pop 0.3s ease-out both; }
.qz-end-k { margin: 0; font-weight: 600; font-size: max(10px, calc(var(--u) * 12)); letter-spacing: 0.1em; text-transform: uppercase; color: #f2c14e; }
.qz-end-t { margin: 4px 0 2px; font-weight: 700; font-size: max(15px, calc(var(--u) * 21)); line-height: 1.25; }
.qz-end-s { margin: 0 0 calc(var(--u) * 14); font-size: max(12px, calc(var(--u) * 14)); color: rgba(255, 255, 255, 0.82); }
.qz-end .btn { width: 100%; min-height: 44px; font-size: 15px; }
.qz-again { margin-top: 6px; min-height: 40px; padding: 0 12px; border: 0; background: none; color: rgba(255, 255, 255, 0.85); font: 600 14px/1 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Read: the reader of the app (components/BibleReader.tsx), the words of Jesus in red */
.rd-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 calc(var(--u) * 16) calc(var(--u) * 10) calc(var(--u) * 22); border-bottom: 1px solid var(--hair); }
.rd-title { font-weight: 700; font-size: max(16px, calc(var(--u) * 22)); }
.rd-aa { min-width: 44px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 12px; background: var(--faint); color: var(--ink); font: 600 15px/1 var(--sans); cursor: pointer; }
.rd-aa[aria-expanded="true"] { background: var(--ink); color: var(--page); }
.rd-size { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 8px 12px; border-bottom: 1px solid var(--hair); background: var(--card); }
.rd-size button { min-width: 44px; min-height: 40px; border: 1px solid var(--edge); border-radius: 12px; background: var(--page); color: var(--ink); font-family: var(--serif); cursor: pointer; }
.rd-minus { font-size: 14px; }
.rd-plus { font-size: 22px; }
.rd-size button:disabled { opacity: 0.4; cursor: default; }
.rd-val { min-width: 2.4em; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.rd-text { --fs: 18; position: relative; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; padding: calc(var(--u) * 14) calc(var(--u) * 22) calc(var(--u) * 40); font-family: var(--serif); font-size: max(calc(var(--u) * var(--fs)), calc(14px * var(--fs) / var(--fs0, 18))); line-height: 1.65; }
/* W7f (Noah, 18 Oct): at the app's default size (--fs0, 18) the text is never under 14 px, and Aa still scales from there */
.rd-text:focus-visible { outline-offset: -3px; }
.rd-v { margin: 0 0 calc(var(--u) * 6); }
.rd-n { font-family: var(--sans); font-weight: 600; font-size: 0.7em; color: var(--muted); }
.jesus { color: var(--red); }
.rd-foot { margin: calc(var(--u) * 20) 0 0; text-align: center; font-family: var(--sans); font-weight: 500; font-size: max(11px, calc(var(--u) * 12.5)); letter-spacing: 0.08em; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  .qz-page.in, .qz-fb.pop, .qz-end.pop { animation: none; }
  .wa-play, .qz-opt { transition: none; }
}

/* Generated by website/build.mjs from data/timeline.ts and data/journeys.ts */
.era-0 { --era: #5E8C61; }
.era-1 { --era: #A27B4E; }
.era-2 { --era: #C2703D; }
.era-3 { --era: #8A8A3C; }
.era-4 { --era: #7B5BA6; }
.era-5 { --era: #3E8A8A; }
.era-6 { --era: #4A6FA5; }
.era-7 { --era: #C4343C; }
.era-8 { --era: #2F5D8C; }
.map-jesus.is-on .d0 { transition-delay: 0.30s; }
.map-jesus.is-on .d1 { transition-delay: 0.48s; }
.map-jesus.is-on .d2 { transition-delay: 0.67s; }
.map-jesus.is-on .d3 { transition-delay: 0.85s; }
.map-jesus.is-on .d4 { transition-delay: 1.03s; }
.map-jesus.is-on .d5 { transition-delay: 1.22s; }
.map-jesus.is-on .d6 { transition-delay: 1.40s; }
.map-jesus.is-on .d7 { transition-delay: 1.58s; }
.map-jesus.is-on .d8 { transition-delay: 1.77s; }
.map-jesus.is-on .d9 { transition-delay: 1.95s; }
.map-jesus.is-on .d10 { transition-delay: 2.13s; }
.map-jesus.is-on .d11 { transition-delay: 2.32s; }
.map-jesus.is-on .d12 { transition-delay: 2.50s; }
.map-churches.is-on .d0 { transition-delay: 0.30s; }
.map-churches.is-on .d1 { transition-delay: 0.61s; }
.map-churches.is-on .d2 { transition-delay: 0.93s; }
.map-churches.is-on .d3 { transition-delay: 1.24s; }
.map-churches.is-on .d4 { transition-delay: 1.56s; }
.map-churches.is-on .d5 { transition-delay: 1.87s; }
.map-churches.is-on .d6 { transition-delay: 2.19s; }
.map-churches.is-on .d7 { transition-delay: 2.50s; }
.map-jesus { --ar: 1200 / 2033; }
.map-churches { --ar: 803 / 767; }
.read-app { --fs0: 18; }
.pe-0 { --era: #5E8C61; }
.pe-1 { --era: #A27B4E; }
.pe-2 { --era: #C2703D; }
.pe-3 { --era: #8A8A3C; }
.pe-4 { --era: #7B5BA6; }
.pe-5 { --era: #3E8A8A; }
.pe-6 { --era: #4A6FA5; }
.pe-7 { --era: #C4343C; }
.pe-8 { --era: #2F5D8C; }
.tb-0 { --era: #5E8C61; }
.tb-1 { --era: #A27B4E; }
.tb-2 { --era: #C2703D; }
.tb-3 { --era: #8A8A3C; }
.tb-4 { --era: #7B5BA6; }
.tb-5 { --era: #3E8A8A; }
.tb-6 { --era: #4A6FA5; }
.tb-7 { --era: #C4343C; }
.tb-8 { --era: #2F5D8C; }
