/* en Christō — enchristo.org. Light only, by the owner's brief. Two families: Literata for
   scripture and display, Inter for UI (CLAUDE.md hard rule 8). Tokens are the app's light values
   from client/src/ui/tokens.css, so the site and the app read as one thing. */

@font-face { font-family: 'Literata'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url('/assets/fonts/literata-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Literata'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url('/assets/fonts/literata-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Literata'; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url('/assets/fonts/literata-latin-wght-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Literata'; font-style: italic; font-weight: 200 900; font-display: swap;
  src: url('/assets/fonts/literata-latin-ext-wght-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  color-scheme: light;
  --bg: #faf9f7;
  --paper: #ffffff;
  --surface: #f1efec;
  --surface2: #e7e4e0;
  --line: rgba(28, 25, 23, 0.12);
  --ink: #1c1917;
  --muted: #57534e;
  --subtle: #635d55;
  --accent: #b45309;
  --accent-ink: #92400e;
  --amber-soft: #fde68a;
  --sky-soft: #bfdbfe;
  --rose-soft: #fecdd3;
  --green-soft: #bbf7d0;
  --sm-deep: #06070a;
  --sm-card: #0c0d14;
  --sm-gold: #d4af37;
  --sm-gold-bright: #f3d982;
  --sm-ink: #f0ede6;
  --sm-muted: #a39e93;
  --serif: 'Literata', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(28, 25, 23, .06), 0 12px 40px -12px rgba(28, 25, 23, .18);
  --shadow-lg: 0 2px 6px rgba(28, 25, 23, .06), 0 40px 80px -24px rgba(120, 53, 15, .28);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
.serif-i { font-style: italic; color: var(--accent-ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* progress bar */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--accent), #f59e0b); }

/* nav */
.nav {
  position: fixed; inset: 12px var(--gutter) auto; z-index: 50; display: flex; align-items: center; gap: 24px;
  padding: 10px 10px 10px 16px; border-radius: 999px; border: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s, box-shadow .4s, transform .5s var(--ease);
}
.nav.is-scrolled { background: rgba(255, 255, 255, .78); backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); box-shadow: var(--shadow); }
.nav.is-hidden { transform: translateY(-120%); }
.nav nav { display: flex; gap: 22px; margin-left: auto; font-size: .92rem; color: var(--muted); }
.nav nav a { text-decoration: none; position: relative; }
.nav nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav nav a:hover { color: var(--ink); }
.nav nav a:hover::after { transform: scaleX(1); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand-mark { width: 30px; height: 30px; }
.brand-mark rect { fill: var(--ink); }
.brand-mark path { fill: #fbbf24; }
.brand-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }

/* menu (phones and tablets) */
.menu-btn { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .85); cursor: pointer; }
.menu-btn i { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.menu-btn i:first-of-type { top: 17px; } .menu-btn i:last-of-type { top: 25px; }
.menu-btn[aria-expanded='true'] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded='true'] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; padding: 100px var(--gutter) 40px; display: flex; flex-direction: column; gap: 28px;
  background: rgba(250, 249, 247, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); animation: menuIn .4s var(--ease); }
.menu[hidden] { display: none; }
.menu nav { display: grid; }
.menu nav a { font-family: var(--serif); font-size: clamp(1.8rem, 8vw, 2.6rem); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line);
  animation: cardIn .5s var(--ease) both; }
.menu nav a:nth-child(2) { animation-delay: .04s; } .menu nav a:nth-child(3) { animation-delay: .08s; } .menu nav a:nth-child(4) { animation-delay: .12s; } .menu nav a:nth-child(5) { animation-delay: .16s; } .menu nav a:nth-child(6) { animation-delay: .2s; }
.menu .btn { align-self: flex-start; }
@keyframes menuIn { from { opacity: 0; } }
body.menu-open { overflow: hidden; }
.skip-map { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 4px; font-size: .9rem; color: var(--muted); }
.skip-map:hover { color: var(--accent-ink); }

/* buttons */
.btn { --b: var(--ink); display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font: 600 .98rem/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s; will-change: transform; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .88rem; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -10px rgba(180, 83, 9, .6); }
.btn-accent:hover { background: var(--accent-ink); }
.btn-ghost { background: rgba(255, 255, 255, .7); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: #fff; box-shadow: var(--shadow); }
.btn-gold { background: linear-gradient(135deg, var(--sm-gold-bright), var(--sm-gold)); color: #1a1405; box-shadow: 0 12px 40px -12px rgba(212, 175, 55, .7); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-row.center { justify-content: center; }

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center;
  gap: clamp(24px, 5vw, 80px); padding: 120px var(--gutter) 60px; max-width: 1360px; margin: 0 auto; isolation: isolate; }
.aurora { position: absolute; inset: 0 calc(50% - 50vw); overflow: hidden; z-index: -1; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 22s var(--ease) infinite alternate; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 48%; top: 2%; background: var(--amber-soft); }
.aurora i:nth-child(2) { width: 34vw; height: 34vw; left: 66%; top: 40%; background: var(--rose-soft); animation-duration: 28s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; left: 18%; top: 55%; background: var(--sky-soft); opacity: .4; animation-duration: 32s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-6vw, 4vh, 0) scale(1.12); } 100% { transform: translate3d(4vw, -3vh, 0) scale(.95); } }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(180, 83, 9, .5); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(180, 83, 9, 0); } 100% { box-shadow: 0 0 0 0 rgba(180, 83, 9, 0); } }
.verse-title { font-size: clamp(2.6rem, 7.2vw, 5.8rem); font-weight: 450; margin-top: 22px; line-height: 1.04; }
.verse-title .w { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(8px);
  animation: wordIn 1s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms + 150ms); }
.verse-title .w.em { font-style: italic; color: var(--accent-ink); }
@keyframes wordIn { to { opacity: 1; transform: none; filter: none; } }
.hero-ref { margin-top: 14px; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.lede { margin-top: 22px; font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 34ch; }

.hero-device { position: relative; perspective: 1400px; justify-self: center; }
.phone { position: relative; width: min(340px, 78vw); aspect-ratio: 9 / 19.2; border-radius: 48px; padding: 12px; background: #1c1917;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #44403c; transform: rotateY(var(--ry, -10deg)) rotateX(var(--rx, 6deg));
  transform-style: preserve-3d; transition: transform .6s var(--ease); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { translate: 0 -12px; } }
.phone-notch { position: absolute; top: 20px; left: 50%; width: 30%; height: 24px; border-radius: 20px; background: #0c0a09; transform: translateX(-50%); z-index: 2; }
.screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: var(--bg); }
.reader-screen { padding: 56px 20px 70px; font-family: var(--serif); font-size: 13.5px; line-height: 1.62; color: var(--ink); }
.rs-top { display: flex; justify-content: space-between; align-items: baseline; font: 600 15px var(--sans); margin-bottom: 8px; }
.rs-tr { font-size: 11px; color: var(--subtle); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.rs-sup { font-style: italic; color: var(--subtle); font-size: 12px; margin-bottom: 6px; }
.rs-v { margin-bottom: 4px; opacity: 0; transform: translateY(8px); animation: wordIn .8s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 120ms + 900ms); }
.rs-v sup { font: 600 9px var(--sans); color: var(--accent); margin-right: 4px; }
.rs-v mark { background: linear-gradient(transparent 8%, var(--amber-soft) 8%, var(--amber-soft) 94%, transparent 94%);
  background-size: 0% 100%; background-repeat: no-repeat; color: inherit; transition: background-size 1.4s var(--ease); }
.rs-v mark.on { background-size: 100% 100%; }
.rs-bar { position: absolute; left: 12px; right: 12px; bottom: 14px; display: flex; justify-content: space-around; padding: 10px 6px;
  border-radius: 18px; background: rgba(255, 255, 255, .9); border: 1px solid var(--line); box-shadow: var(--shadow);
  font: 500 10.5px var(--sans); color: var(--muted); }
.float-chip { position: absolute; padding: 10px 14px; border-radius: 16px; background: rgba(255, 255, 255, .86); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow); font-size: .82rem; color: var(--muted);
  animation: floaty 6s ease-in-out infinite; white-space: nowrap; }
.float-chip b { color: var(--ink); margin-right: 4px; }
.chip-a { left: -64px; top: 4%; animation-delay: -2s; }
.chip-b { right: -30px; bottom: 16%; animation-delay: -4s; }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); padding: 20px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 56px; padding: 0 28px; margin: 0; list-style: none; font-family: var(--serif); font-size: 1.35rem; color: var(--muted); white-space: nowrap; }
.marquee li + li { position: relative; }
.marquee li + li::after { content: ''; position: absolute; left: -31px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { max-width: 1240px; margin: 0 auto; padding: clamp(80px, 12vw, 160px) var(--gutter); }
.section-head { max-width: 820px; margin-bottom: clamp(36px, 6vw, 64px); }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.sub { margin-top: 18px; font-family: var(--serif); font-size: 1.15rem; color: var(--muted); }
.ref { display: inline-block; font: 500 .8rem var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); margin-left: 6px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split p { margin-top: 20px; color: var(--muted); font-size: 1.08rem; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* offline demo */
.offline-demo { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.od-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.od-signal { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.od-signal i { width: 4px; border-radius: 2px; background: var(--ink); transition: opacity .4s, transform .4s var(--ease); }
.od-signal i:nth-child(1) { height: 25%; } .od-signal i:nth-child(2) { height: 50%; } .od-signal i:nth-child(3) { height: 75%; } .od-signal i:nth-child(4) { height: 100%; }
.is-offline .od-signal i { opacity: .18; transform: scaleY(.6); }
.od-status { font-weight: 600; font-size: .95rem; }
.switch { margin-left: auto; position: relative; width: 56px; height: 32px; border-radius: 999px; border: 0; background: var(--accent); cursor: pointer; transition: background .3s; }
.switch .knob { position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transform: translateX(24px); transition: transform .35s var(--ease); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.switch[aria-checked='false'] { background: var(--surface2); }
.switch[aria-checked='false'] .knob { transform: none; }
.od-page { padding: 22px 6px 8px; }
.od-ref { font: 600 .78rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.od-verse { font-family: var(--serif); font-size: 1.35rem; line-height: 1.45; margin: 6px 0 20px; }
.od-note { font-size: .9rem; color: var(--subtle); min-height: 1.5em; }
.is-offline .od-note { color: var(--accent-ink); }
.offline-demo::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(600px 200px at var(--mx, 50%) -10%, rgba(253, 230, 138, .35), transparent 70%); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  min-height: 260px; display: flex; flex-direction: column; gap: 12px; transition: transform .5s var(--ease), box-shadow .5s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 50%), rgba(251, 191, 36, .16), transparent 60%); }
.card:hover::before { opacity: 1; }
.card p { color: var(--muted); font-size: .98rem; }
.c-wide { grid-column: span 2; }
.strongs { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; }
.strongs span:nth-child(1) { font-family: var(--serif); font-style: italic; font-size: 2.2rem; color: var(--accent-ink); }
.strongs span:nth-child(2) { font: 600 .8rem var(--sans); background: var(--surface); padding: 4px 10px; border-radius: 8px; }
.strongs span:nth-child(3) { color: var(--subtle); }
.memo { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--serif); font-size: 1.05rem; }
.memo span { padding: 2px 6px; border-radius: 6px; background: var(--surface); }
.memo .gap { color: transparent; background: var(--amber-soft); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .45; } }
.plan { margin-top: auto; display: flex; gap: 8px; }
.plan i { flex: 1; height: 44px; border-radius: 10px; background: var(--surface); }
.plan i.on { background: var(--accent); opacity: .85; transform-origin: bottom; animation: grow 1.4s var(--ease) both; }
.plan i.on:nth-child(2) { animation-delay: .1s; } .plan i.on:nth-child(3) { animation-delay: .2s; } .plan i.on:nth-child(4) { animation-delay: .3s; }
@keyframes grow { from { transform: scaleY(.1); } }
.ages { margin-top: auto; display: grid; gap: 8px; }
.ages i { height: 12px; border-radius: 6px; }
.ages i:nth-child(1) { background: #a3480a; width: 90%; } .ages i:nth-child(2) { background: #3f5f8a; width: 70%; margin-left: 22%; } .ages i:nth-child(3) { background: #4a6838; width: 55%; margin-left: 40%; }
.verse-img { margin-top: auto; position: relative; border-radius: 16px; padding: 26px; color: #fff; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, #78350f, #b45309 45%, #f59e0b); }
.verse-img::before { content: ''; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, .18), transparent 40%); animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.verse-img p { font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; color: #fff; }
.verse-img span { display: block; margin-top: 10px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }

.wave { margin-top: auto; display: flex; align-items: center; gap: 5px; height: 48px; }
.wave i { flex: 1; height: 30%; border-radius: 4px; background: var(--accent); opacity: .8; animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: -.3s; } .wave i:nth-child(3n) { animation-delay: -.6s; } .wave i:nth-child(5n) { animation-delay: -.9s; }
@keyframes wave { 50% { height: 100%; } }
.compare { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.compare p { font-family: var(--serif); font-size: .98rem; color: var(--ink); padding: 12px; border-radius: 12px; background: var(--surface); }
.compare b { display: block; font: 600 .7rem var(--sans); letter-spacing: .1em; color: var(--accent); margin-bottom: 4px; }

/* journey */
.journey { position: relative; height: calc(14 * 45vh + 100vh); background: linear-gradient(var(--bg), #f4f1ea 12%, #f4f1ea 88%, var(--bg)); }
.journey-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 18px;
  padding: 84px var(--gutter) 20px; max-width: 1360px; margin: 0 auto; }
.journey-head h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.journey-head .eyebrow { margin-bottom: 8px; }
.journey-stage { position: relative; display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: stretch; min-height: 0; }
.map { position: relative; aspect-ratio: 3300 / 1850; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #dfe9ef; max-height: 62svh; width: 100%; }
.map img, .map-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.map img { transform: scale(var(--zoom, 1)); transform-origin: var(--ox, 50%) var(--oy, 50%); transition: transform 1.2s var(--ease), transform-origin 1.2s var(--ease); }
.map-overlay { transform: scale(var(--zoom, 1)); transform-origin: var(--ox, 50%) var(--oy, 50%); transition: transform 1.2s var(--ease), transform-origin 1.2s var(--ease); overflow: visible; }
.route-line { fill: none; stroke: var(--accent); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 4px 6px rgba(180, 83, 9, .35)); }
.route-ghost { fill: none; stroke: rgba(120, 53, 15, .22); stroke-width: 5; stroke-dasharray: 2 18; stroke-linecap: round; }
.stop-dot { fill: #fff; stroke: var(--accent); stroke-width: 7; transition: r .4s var(--ease), fill .4s; }
.stop-dot.reached { fill: var(--accent); }
.stop-dot.active { r: 26; }
.stop-pulse { fill: none; stroke: var(--accent); stroke-width: 4; opacity: 0; }
.stop-pulse.on { animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { r: 20; opacity: .8; } 100% { r: 90; opacity: 0; } }
.stop-label { font: 600 46px var(--serif); fill: var(--ink); paint-order: stroke; stroke: #f4efe5; stroke-width: 12px; stroke-linejoin: round; opacity: 0; transition: opacity .4s; }
.stop-label.on { opacity: 1; }
.stop-label.end { text-anchor: end; }
.stop-card { background: rgba(255, 255, 255, .92); border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 8px; overflow: auto; }
.stop-card.swap > * { animation: cardIn .6s var(--ease) both; }
.stop-card.swap > *:nth-child(2) { animation-delay: .04s; } .stop-card.swap > *:nth-child(3) { animation-delay: .08s; } .stop-card.swap > *:nth-child(4) { animation-delay: .12s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } }
.stop-era { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.stop-card h3 { font-size: 1.6rem; }
.stop-now { font-size: .88rem; color: var(--subtle); }
.stop-summary { font-family: var(--serif); font-size: 1.02rem; line-height: 1.55; color: var(--ink); }
.stop-refs { font-size: .82rem; color: var(--muted); }
.stop-count { margin-top: auto; font: 600 .82rem var(--sans); color: var(--subtle); }
.map-credit { font-size: .76rem; color: var(--subtle); }

/* screenshots rail */
.sub-note { margin-top: 16px; font-size: .9rem; color: var(--subtle); }
.rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 30px; scrollbar-width: thin; }
.shot:nth-child(even) { padding-top: 40px; }
.shot { flex: 0 0 auto; width: min(260px, 70vw); scroll-snap-align: center; margin: 0; }
.shot .frame { border-radius: 36px; padding: 9px; background: #1c1917; box-shadow: var(--shadow-lg); transition: transform .5s var(--ease); }
.shot:hover .frame { transform: translateY(-6px) rotate(-1deg); }
.shot img { border-radius: 28px; width: 100%; height: auto; background: var(--surface); }
.shot figcaption { margin-top: 14px; font-size: .92rem; color: var(--muted); text-align: center; }

/* church week */
.week { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: d; }
.week li { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 22px 20px 24px; display: grid; gap: 10px; align-content: start;
  transition: transform .5s var(--ease), box-shadow .5s; }
.week li:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.week li::before { content: ''; position: absolute; top: 0; left: 20px; right: 20px; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.week.in li::before { transform: scaleX(1); }
.week.in li:nth-child(2)::before { transition-delay: .12s; } .week.in li:nth-child(3)::before { transition-delay: .24s; } .week.in li:nth-child(4)::before { transition-delay: .36s; } .week.in li:nth-child(5)::before { transition-delay: .48s; }
.week b { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.week span { color: var(--muted); font-size: .95rem; }
.note-line { margin-top: 30px; color: var(--subtle); font-size: .95rem; max-width: 70ch; }

/* promises */
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.promise { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); display: grid; gap: 16px; align-content: start; }
.promise h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.promise p { color: var(--muted); }
.wall { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; margin-top: 8px; }
.wall div { display: grid; gap: 8px; padding: 16px; border-radius: 16px; background: var(--surface); }
.wall b { font-family: var(--serif); }
.wall span { font-size: .85rem; padding: 4px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.wall i { width: 6px; border-radius: 3px; background: repeating-linear-gradient(var(--accent) 0 10px, transparent 10px 16px); background-size: 100% 32px; animation: wallFlow 1.2s linear infinite; }
@keyframes wallFlow { to { background-position: 0 32px; } }
.hash-demo { display: grid; gap: 12px; padding: 18px; border-radius: 16px; background: var(--surface); }
.hash-demo .btn { justify-self: start; }
.hash-demo code { display: block; font: 500 .82rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--accent-ink); word-break: break-all; min-height: 2.8em; }
.hash-demo p { font-size: .9rem; }

/* ScriptureMeter advert: the product's own obsidian and gold, deliberately a different
   ground from the page, so it reads as the separate tool it is and continues into it on click. */
.sm-card { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: 32px; overflow: hidden; isolation: isolate; color: var(--sm-ink);
  background: radial-gradient(800px 400px at 85% 10%, rgba(212, 175, 55, .22), transparent 60%), linear-gradient(160deg, var(--sm-card), var(--sm-deep));
  box-shadow: 0 50px 120px -40px rgba(6, 7, 10, .65); }
.sm-card::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .4;
  background-image: radial-gradient(rgba(243, 217, 130, .5) 1px, transparent 1.5px); background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000, transparent 70%);
  animation: stars 40s linear infinite; }
@keyframes stars { to { background-position: 280px 280px; } }
.sm-kicker { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sm-gold-bright); margin-bottom: 14px; }
.sm-card h2 { color: var(--sm-ink); }
.sm-card h2 .serif-i { color: var(--sm-gold-bright); }
.sm-copy > p:not(.sm-kicker) { margin-top: 18px; color: var(--sm-muted); max-width: 46ch; }
.sm-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0; }
.sm-tabs button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(243, 217, 130, .3); background: transparent; color: var(--sm-ink);
  font: 500 .88rem var(--sans); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.sm-tabs button[aria-pressed='true'] { background: var(--sm-gold); color: #1a1405; border-color: var(--sm-gold); }
.sm-tabs button:focus-visible { outline-color: var(--sm-gold-bright); }
.sm-gauge { text-align: center; }
.sm-gauge svg { width: 100%; max-width: 360px; margin: 0 auto; overflow: visible; }
.g-track { fill: none; stroke: rgba(243, 217, 130, .14); stroke-width: 16; stroke-linecap: round; }
.g-fill { fill: none; stroke: var(--sm-gold); stroke-width: 16; stroke-linecap: round; stroke-dasharray: 100 100;
  stroke-dashoffset: calc(100 - var(--score, 0)); transition: stroke-dashoffset 1.6s var(--ease); filter: drop-shadow(0 0 12px rgba(212, 175, 55, .55)); }
.sm-score { margin-top: -64px; font-family: var(--serif); font-size: clamp(3.4rem, 7vw, 5rem); line-height: 1; color: var(--sm-gold-bright); }
.sm-score small { display: block; margin-top: 6px; font: 500 .85rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sm-muted); }
.sm-caption { margin: 16px auto 0; max-width: 30ch; color: var(--sm-ink); font-size: .95rem; min-height: 3em; }

/* closing + footer */
.closing { text-align: center; }
.closing h2 { font-size: clamp(2.2rem, 6vw, 4.4rem); }
.closing > p { margin: 20px auto 0; max-width: 52ch; color: var(--muted); font-size: 1.1rem; }
.footer { border-top: 1px solid var(--line); background: var(--paper); padding: 36px var(--gutter) calc(36px + env(safe-area-inset-bottom)); }
.footer-row { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: var(--muted); }
.footer nav a { text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.footer nav a:hover { color: var(--ink); text-decoration: underline; }
.fine { max-width: 1240px; margin: 18px auto 0; font-size: .8rem; color: var(--subtle); }

/* plain pages (privacy, 404) */
.page { max-width: 720px; margin: 0 auto; padding: 140px var(--gutter) 100px; }
.page h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.page h2 { font-size: 1.4rem; margin-top: 36px; }
.page p, .page li { color: var(--muted); margin-top: 14px; }
.page a { color: var(--accent-ink); }

/* responsive: 1024 / 768 / 430 / 390 / 320 */
@media (max-width: 1100px) {
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
  .menu-btn { display: block; }
  .week { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: left; padding-top: 110px; }
  .hero-device { margin-top: 10px; }
  .split, .promise-grid, .sm-card { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento > :last-child { grid-column: span 2; }
  .journey-stage { grid-template-columns: 1fr; }
  .stop-card { padding: 18px; }
  .stop-summary { font-size: .95rem; }
  .map { max-height: 40svh; }
  .week { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { inset: 8px 12px auto; }
  .nav-follow { display: none; }
  .menu-btn { margin-left: auto; }
  .bento { grid-template-columns: 1fr; }
  .c-wide, .bento > :last-child { grid-column: auto; }
  .week { grid-template-columns: 1fr; }
  .float-chip { display: none; }
  .wall { grid-template-columns: 1fr; }
  .wall i { width: auto; height: 6px; background: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 16px); }
  .journey-sticky { padding-top: 72px; gap: 10px; }
  .journey-head h2 { font-size: 1.5rem; }
  .skip-map { min-height: 36px; margin-top: 0; }
  .stop-card h3 { font-size: 1.25rem; }
  .stop-refs { display: none; }
  .sm-score { margin-top: -48px; }
}
@media (max-width: 360px) {
  .brand-name { display: none; }
  .verse-title { font-size: 2.3rem; }
}

/* Reduced motion: every animation above is decoration; the content is all there without it. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .verse-title .w, .rs-v { opacity: 1; transform: none; filter: none; }
  .phone { transform: none; }
  .marquee-track { animation: none; }
}
