@font-face{font-family:Instrument Serif;src:url("assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Instrument Serif;src:url("assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:Inter;src:url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2");font-weight:100 900;font-display:swap}

:root {
  --serif: "Instrument Serif", Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
  --night: #131814;
  --gold: #c8ad79;
  --cream: #f4f0e6;
  --ink: #252b24;
  --side: clamp(1.5rem, 6vw, 6.75rem);
  --measure: min(77.5rem, calc(100% - var(--side) - var(--side)));
  --header-height: 4.625rem;
  --phone-center: calc(50% + min(23vw, 20rem));
  --phone-width: min(34vw, 33svh, 20rem);
  color-scheme: light;
  font-family: var(--sans);
  scroll-padding-top: var(--header-height);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--cream); }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
:focus-visible { outline: 2px solid #ae6d2a; outline-offset: 5px; }
.skip-link { position: fixed; top: .65rem; left: .75rem; z-index: 20; padding: .7rem 1rem; background: var(--cream); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.026em; line-height: .94; }
em { font-weight: inherit; }
section[id], main[id], article section[id] { scroll-margin-top: .5rem; }

.site-header { position: sticky; top: 0; z-index: 10; min-height: var(--header-height); color: #f4f0e6; background: #151a15; border-bottom: 1px solid #ffffff15; }
.landing .site-header { position: fixed; inset: 0 0 auto; background: rgba(19, 24, 20, .94); }
.header-inner { width: var(--measure); min-height: var(--header-height); margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.wordmark { display: inline-flex; align-items: center; justify-self: start; gap: .68rem; text-decoration: none; }
.wordmark img { width: 2.64rem; height: auto; }
.wordmark span { color: #f3eddf; font-family: var(--serif); font-size: 1.91rem; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.65rem); }
.site-nav a { color: #d8d6c9; text-decoration: none; font-size: .875rem; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current], .site-footer a:hover { color: var(--gold); }
.header-download { justify-self: end; white-space: nowrap; text-decoration: none; font-size: .875rem; font-weight: 600; padding: .58rem .95rem; border: 1px solid #a992645e; border-radius: 99px; color: #eadbbd; }
.header-download:hover { color: var(--night); background: var(--gold); border-color: var(--gold); }

.hero { isolation: isolate; position: relative; display: grid; place-items: center; overflow: hidden; overflow: clip; min-height: 100svh; padding: calc(var(--header-height) + 2.125rem) var(--side) 2.5rem; background: #111711; color: #f5f0e4; }
.hero-light, .hero-daylight { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-light { background: linear-gradient(180deg, #11171168, #11171125 52%, #11171137), url("assets/scripture-shadow.webp") 60% 67% / cover no-repeat; opacity: .62; }
.hero-daylight { background: linear-gradient(105deg, #f4efe4, #ece5d6); opacity: 0; }
.hero-content { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; }
.hero-mark { width: clamp(7.2rem, 13vw, 11rem); height: auto; filter: drop-shadow(0 0 22px #c8ad7929); }
.hero-name { margin-block: 1rem .9rem; color: #dac7a2; font-size: .875rem; letter-spacing: .27em; text-transform: uppercase; padding-left: .27em; font-weight: 550; }
.hero h1 { font-size: clamp(4.55rem, 10.25vw, 10.8rem); line-height: .83; }
.hero h1 em { color: #e1cd9f; }
.hero-description { margin-block-start: clamp(1.3rem, 4vh, 2.3rem); max-width: 26rem; color: #d5d4c5; font-size: clamp(1rem, .53vw + .77rem, 1.22rem); line-height: 1.56; }
.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: .65rem; margin-top: clamp(1.1rem, 5vh, 2.75rem); color: #d9c49a; font-size: .875rem; text-decoration: none; }
.scroll-cue span { display: block; height: clamp(1.15rem, 3.4vh, 2rem); width: 1px; background: #bda66d88; }
.scroll-cue:hover { color: #f5e6c7; }
.hero-phone { display: none; position: absolute; z-index: 2; top: 50%; left: var(--phone-center); transform: translate(-50%, -50%); pointer-events: none; }
.cinema .hero-phone { display: block; opacity: 0; }

.device { position: relative; width: var(--phone-width); max-width: 100%; margin: 0; padding: 5px; border-radius: clamp(1.4rem, 3.3vw, 2.75rem); border: 1px solid #7b766a; background: #212422; box-shadow: 0 0 0 2px #131613, 0 2px 1px #ffffff2b inset, 0 1.25rem 3.3rem #14171436; }
.device::before, .device::after { content: ""; position: absolute; z-index: -1; background: #555750; width: 3px; border-radius: 2px; }
.device::before { top: 17%; left: -4px; height: 12%; }
.device::after { top: 24%; right: -4px; height: 9%; }
.device-display { position: relative; isolation: isolate; overflow: hidden; width: 100%; aspect-ratio: 1 / 2.03; border-radius: inherit; border: 1px solid #0f110e; background: #252620; }
.device-display img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.device-display .screen-frame { position: absolute; inset: 0; opacity: 0; }
.device-display .screen-frame.is-first { opacity: 1; }

.story { position: relative; }
.story-visual { display: none; position: absolute; z-index: 2; inset: 0 0 auto; width: 100%; pointer-events: none; }
.cinema .story-visual { display: block; }
.story-stage { position: relative; width: 100%; height: 100svh; }
.story-device { position: absolute; left: var(--phone-center); top: 50%; transform: translate(-50%, -50%); }
.chapter { isolation: isolate; position: relative; display: grid; align-items: center; min-height: 100svh; padding: calc(var(--header-height) + 1.1rem) 0 4.3rem; background: var(--chapter-bg); color: var(--chapter-ink); }
.chapter::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: clamp(2rem, 7vh, 4rem); background: linear-gradient(var(--previous, transparent), transparent); pointer-events: none; }
.chapter-read { --chapter-bg: #f4efe4; --chapter-ink: #262d26; --chapter-accent: #795b32; --chapter-copy: #4e554b; }
.chapter-listen { --chapter-bg: #1b2720; --chapter-ink: #f5eee0; --chapter-accent: #e1c792; --chapter-copy: #cdd4c9; --previous: #f4efe4; }
.chapter-discover { --chapter-bg: #eee6d6; --chapter-ink: #292d23; --chapter-accent: #765731; --chapter-copy: #4d5246; --previous: #1b2720; }
.chapter-grow { --chapter-bg: #e5e8dc; --chapter-ink: #252e24; --chapter-accent: #596844; --chapter-copy: #485648; --previous: #eee6d6; }
.chapter-inner { width: var(--measure); margin-inline: auto; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(2rem, 6vw, 6.5rem); }
.chapter-copy { min-width: 0; }
.chapter-kicker { margin-bottom: 1rem; color: var(--chapter-accent, #6d5632); font-size: .875rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.chapter h2 { font-size: clamp(4rem, 7.2vw, 7.9rem); }
.chapter h2 em { color: var(--chapter-accent); }
.chapter-grow h2 { font-size: clamp(3.7rem, 6.15vw, 6.9rem); }
.chapter-description { margin-top: clamp(1rem, 4vh, 2.1rem); max-width: 28rem; font-size: clamp(1rem, .65vw + .76rem, 1.24rem); line-height: 1.7; color: var(--chapter-copy); }
.translation-list { max-width: 31rem; margin-top: 2rem; border-top: 1px solid #4947372d; }
.translation-list div { display: grid; grid-template-columns: 4.35rem 1fr; gap: .7rem; border-bottom: 1px solid #4947372d; padding-block: .66rem; font-size: .875rem; line-height: 1.52; }
.translation-list dt { font-weight: 650; }
.translation-list dd { color: var(--chapter-copy); }
.waveform { display: flex; align-items: center; gap: .27rem; height: 3.2rem; margin-top: 1.6rem; }
.waveform i { display: block; width: .19rem; height: calc((.15 + var(--amp)) * 100%); border-radius: 5px; background: #d4b77d; opacity: calc(.3 + var(--amp) * .59); }
.inline-screen { justify-self: center; }
.cinema .chapter { background: transparent; }
.cinema .chapter::before { display: none; }
.cinema .chapter-grow { min-height: 148svh; }
.cinema .chapter-grow .chapter-inner { align-self: start; padding-top: 19svh; }
.cinema .chapter-inner { grid-template-columns: minmax(0, 53%) 1fr; }
.cinema .inline-screen { display: none; }

.finale { isolation: isolate; position: relative; min-height: 92svh; display: grid; align-items: center; padding-block: calc(var(--header-height) + 1rem) 4.8rem; color: #f3eee1; background: #151b16; }
.finale::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #151b16b5 16%, #151b1630), url("assets/scripture-shadow.webp") 57% 80% / cover no-repeat; opacity: .78; }
.finale-inner { width: var(--measure); margin-inline: auto; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.finale-mark { width: 7.25rem; height: auto; margin-bottom: 1.3rem; }
.finale h2 { max-width: 9ch; font-size: clamp(4.15rem, 7.5vw, 8rem); }
.finale h2 em { color: #e0c695; }
.finale-device { justify-self: center; }
.play-button { margin-top: 2.25rem; display: inline-flex; align-items: center; gap: .74rem; padding: .65rem 1.15rem .68rem .95rem; border-radius: .72rem; color: #171a15; background: #e1cb9e; text-decoration: none; }
.play-button:hover { background: #f4dfb3; }
.play-button span:last-child { display: grid; gap: 1px; }
.play-button small { font-size: .875rem; line-height: 1; font-weight: 500; }
.play-button strong { font-size: 1.22rem; line-height: 1.15; font-weight: 660; }
.play-mark { width: 1.7rem; height: 1.86rem; background: currentColor; clip-path: polygon(7% 0%, 100% 50%, 7% 100%); }
.privacy-section { background: #f4efe4; padding: clamp(3rem, 7vw, 6.75rem) 0; }
.privacy-inner { width: var(--measure); margin-inline: auto; display: grid; align-items: end; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 8vw, 7.5rem); }
.privacy-inner h2 { max-width: 13ch; font-size: clamp(3.05rem, 5.1vw, 5.5rem); }
.privacy-inner p:not(.chapter-kicker) { max-width: 34rem; color: #4e554b; font-size: 1rem; line-height: 1.72; }
.text-link { display: inline-block; width: fit-content; margin-top: .8rem; color: #514122; font-weight: 650; font-size: .94rem; }
.site-footer { background: #151a15; color: #d5d1c3; border-top: 1px solid #ffffff18; }
.footer-inner { width: var(--measure); margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.3rem; min-height: 5.7rem; padding: 1.2rem 0; }
.footer-inner p, .footer-inner nav { font-size: .875rem; line-height: 1.56; }
.footer-inner nav { display: flex; flex-wrap: wrap; justify-content: end; gap: .65rem 1.35rem; }
.footer-inner nav a { text-decoration: none; }

.document-page { background: #f5f1e8; }
.doc-hero { background: #ece5d4; padding: clamp(3.2rem, 8vw, 7rem) 0 clamp(2.4rem, 6vw, 4.25rem); border-bottom: 1px solid #63563527; }
.doc-hero .container, .legal-layout { width: var(--measure); margin-inline: auto; }
.doc-hero h1 { font-size: clamp(4rem, 8.8vw, 8.1rem); }
.doc-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.2rem; color: #4a4d41; font-size: .925rem; line-height: 1.6; }
.legal-layout { display: grid; grid-template-columns: minmax(11rem, 15rem) minmax(0, 48rem); gap: clamp(2rem, 7vw, 6rem); padding-block: 3rem 5rem; }
.toc-card { position: sticky; top: calc(var(--header-height) + 1.25rem); border-top: 1px solid #59472545; padding-top: .85rem; }
.toc-card h2 { font: 650 .94rem/1.35 var(--sans); letter-spacing: 0; }
.toc-list { list-style: none; padding: 0; display: grid; gap: .6rem; font-size: .875rem; line-height: 1.48; }
.toc-list a { color: #525848; text-decoration: none; }
.toc-list a:hover { text-decoration: underline; }
.legal-section { padding-bottom: 1.6rem; line-height: 1.75; }
.legal-section + .legal-section { border-top: 1px solid #59472532; padding-top: 1.6rem; }
.legal-section h2 { font-size: clamp(2.1rem, 4.1vw, 3.35rem); line-height: 1; margin-bottom: .85rem; }
.legal-section h3 { font-size: 1.07rem; line-height: 1.5; margin-top: 1.3rem; margin-bottom: .4rem; }
.legal-section p + p { margin-top: .73rem; }
.legal-section ul { padding-left: 1.3rem; }
.legal-section li { margin-block: .47rem; }
.legal-section a { color: #684d27; }
.legal-section code { font-size: .89em; overflow-wrap: anywhere; }
.callout { margin-block: 1.15rem .65rem; background: #ede6d1; border-left: 3px solid #a48754; padding: .85rem 1rem; }
.callout strong { display: block; margin-bottom: .3rem; }
.table-scroll { overflow-x: auto; }
.legal-section table { width: 100%; min-width: 37rem; border-collapse: collapse; font-size: .9rem; text-align: left; }
.legal-section caption { text-align: left; font-size: .94rem; margin-bottom: .7rem; color: #555345; }
.legal-section :is(th, td) { border-bottom: 1px solid #59472539; padding: .55rem .7rem .55rem .45rem; vertical-align: top; }
.legal-section thead { background: #ece4d1; }

@media (max-width: 899px), (max-height: 619px) {
  .chapter { min-height: auto; padding-block: 6rem 4.6rem; }
  .hero h1 { font-size: clamp(4.15rem, 12.4vw, 8.2rem); }
}
@media (max-width: 680px) {
  :root { --header-height: 4rem; --side: clamp(1.2rem, 5.4vw, 2.25rem); --phone-width: min(76vw, 17.7rem); }
  .header-inner { grid-template-columns: 1fr auto; gap: .65rem; }
  .site-nav { display: none; }
  .hero { min-height: 100svh; padding-top: calc(var(--header-height) + 1.4rem); }
  .hero h1 { font-size: clamp(3.6rem, 14.9vw, 6.7rem); }
  .hero-light { background-position: 61% bottom; opacity: .52; }
  .hero-description { max-width: 19rem; }
  .chapter-inner, .finale-inner, .privacy-inner { grid-template-columns: 1fr; }
  .chapter-inner { gap: 2.55rem; }
  .chapter { padding-block: 5.15rem 3.5rem; }
  .chapter h2, .chapter-grow h2 { font-size: clamp(3.65rem, 12vw, 5.65rem); }
  .chapter-description { max-width: 26rem; line-height: 1.62; }
  .translation-list { margin-top: 1.45rem; }
  .device { box-shadow: 0 0 0 2px #131613, 0 2px 1px #ffffff2b inset, 0 1rem 2.2rem #14171430; }
  .finale { min-height: auto; padding-block: 4.6rem 3.8rem; }
  .finale-inner { gap: 2.5rem; }
  .finale h2 { font-size: clamp(3.6rem, 11.5vw, 5.8rem); }
  .play-button { margin-top: 1.45rem; }
  .privacy-inner { gap: 1rem; }
  .footer-inner { grid-template-columns: 1fr; gap: .55rem; padding-block: 1.45rem; }
  .footer-inner nav { justify-content: start; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .toc-card { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
