:root {
  color-scheme: dark;
  --soil: #14100d;
  --gold: #e8b44a;
  --orange: #ff6b2c;
  --green: #1e3a2b;
  --cream: #fff8ed;
  --muted: #d4c6b4;
  --line: #e8b44a47;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'URW Chancery', 'Apple Chancery', 'Segoe Script', cursive;
}
@font-face {
  font-family: 'URW Chancery';
  src: url('/assets/chancery.otf') format('opentype');
  font-display: swap;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--soil); color: var(--cream); font: 1rem/1.62 var(--sans); }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3, blockquote { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(3rem, 7vw, 7.5rem); letter-spacing: -.068em; line-height: .92; }
h3 { font-size: clamp(1.95rem, 3vw, 3rem); letter-spacing: -.045em; line-height: 1.02; }
em { color: var(--gold); font-family: var(--script); font-weight: 400; font-style: normal; letter-spacing: -.02em; }
a { color: inherit; text-underline-offset: .25em; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.wrap { width: min(calc(100% - clamp(2.1rem, 10vw, 10rem)), 82rem); margin-inline: auto; }
.band { padding-block: clamp(4.4rem, 10vw, 9.2rem); }
.eyebrow { color: var(--gold); font-size: .875rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.06rem; }
.sr-only, .skip:not(:focus) { clip-path: inset(50%); position: absolute; width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip:focus { position: fixed; top: .75rem; left: .75rem; z-index: 5; padding: .6rem .8rem; background: var(--cream); color: var(--soil); }

.site-header { background: #130f0cf5; border-bottom: 1px solid var(--line); position: absolute; inset: 0 0 auto; z-index: 2; }
.nav-row { display: flex; gap: 1rem; justify-content: space-between; align-items: center; min-height: 4.6rem; }
.wordmark { display: inline-flex; align-items: center; gap: .55rem; font-size: .78rem; font-weight: 800; letter-spacing: .09em; line-height: 1.08; text-decoration: none; }
.wordmark span span { color: var(--gold); display: block; margin-top: .18rem; }
.site-header nav { display: flex; gap: clamp(1rem, 4vw, 3.4rem); align-items: center; }
.site-header nav a, .nav-join { font-size: .875rem; text-decoration: none; }
.site-header nav a:hover, .nav-join:hover { text-decoration: underline; }
.nav-join { color: var(--gold); font-weight: 750; padding: .55rem .8rem; border: 1px solid var(--line); white-space: nowrap; }

.hero { min-height: max(47rem, 100svh); display: grid; align-items: center; position: relative; isolation: isolate; background: var(--soil); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #14100df5 0%, #14100d9e 35%, #14100d05 72%), linear-gradient(0deg,#14100d 0%,transparent 22%), url('/assets/carrot.webp') center 50% / cover no-repeat; }
.hero-content { padding-block: 9rem 4.25rem; }
.hero .eyebrow { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.2rem; }
.hero .eyebrow::before { content: ''; width: 1.9rem; height: 1px; flex: 0 0 auto; background: currentColor; }
.hero h1 { font-size: clamp(5.2rem, 10.8vw, 11rem); line-height: .78; letter-spacing: -.085em; }
.hero h1 em { letter-spacing: -.065em; }
.hero-subtitle { font-size: clamp(1.18rem, 2vw, 1.6rem); margin-top: 1.7rem; max-width: 29ch; line-height: 1.38; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; text-align: center; gap: .6rem; padding: .65rem 1.12rem; border: 1px solid transparent; border-radius: .22rem; line-height: 1.25; text-decoration: none; font-size: .9rem; font-weight: 750; }
.primary { background: var(--gold); color: var(--soil); }
.primary:hover { background: #ffcf6f; }
.primary:focus-visible { outline-color: var(--orange); }
.outline { border-color: #e8b44a80; color: var(--cream); background: #14100d85; }
.outline:hover { background: #4a2d17; border-color: var(--gold); }
.play { width: 0; height: 0; border-block: .29rem solid transparent; border-left: .46rem solid currentColor; }
.hero-verse { margin-top: 2rem; padding-left: .85rem; border-left: 1px solid var(--gold); max-width: 26rem; }
.hero-verse blockquote { font-size: 1.1rem; font-style: italic; line-height: 1.35; }
.hero-verse figcaption, .verse figcaption, .citation { margin-top: .5rem; color: var(--gold); font-size: .875rem; font-weight: 700; letter-spacing: .08em; }

.ticker { background: var(--gold); color: var(--soil); overflow: hidden; padding-block: .72rem; }
.ticker-track { display: flex; width: max-content; animation: ticker 36s linear 3; }
.ticker:focus-within .ticker-track, .ticker:hover .ticker-track, .ticker.is-paused .ticker-track { animation-play-state: paused; }
.ticker span { white-space: nowrap; text-transform: uppercase; letter-spacing: .16em; font-size: .875rem; font-weight: 800; padding-inline: .75rem; }
.ticker b { padding-inline: .7rem; }
@keyframes ticker { to { transform: translateX(-33.3333%); } }
.ticker { position: relative; padding-right: 4.7rem; }
.ticker-control { position: absolute; inset: 0 0 0 auto; color: var(--soil); background: var(--gold); border: 0; border-left: 1px solid #14100d5c; padding: 0 .8rem; font-size: .875rem; font-weight: 750; }

.parable { background: radial-gradient(ellipse at 50% calc(var(--light, .4) * 100%), #50301b 0%, #21160d 29%, var(--soil) 65%); padding-block: clamp(4.4rem, 10vw, 9rem); }
.section-heading { text-align: center; }
.parable-tagline { font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: var(--muted); margin-top: 1.2rem; }
.parable-scenes { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .95rem; margin-top: 3rem; }
.scene { position: relative; min-height: 27rem; display: flex; align-items: end; padding: clamp(1.1rem, 2.45vw, 2.25rem); border: 1px solid var(--line); isolation: isolate; overflow: hidden; }
.scene::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#14100d 0%,#14100de3 26%,#14100d08 88%), var(--scene-image) var(--scene-position,center) / cover no-repeat; }
.scene-buried { --scene-image: url('/assets/carrot.webp'); --scene-position: 67%; }
.scene-bound { --scene-image: url('/assets/hands.webp'); }
.scene-free { --scene-image: url('/assets/sunrise.webp'); --scene-position: 72%; }
.scene .eyebrow { margin-bottom: .43rem; }
.scene h3 { font-size: clamp(2.25rem, 3.3vw, 3.9rem); }
.scene h3 + p { margin-top: .75rem; color: #e7d8c1; }
.scene.arrived { animation: emerge .9s cubic-bezier(.18,.72,.31,1) both; animation-delay: var(--scene-delay, 0ms); }
.scene-bound { --scene-delay: 100ms; }
.scene-free { --scene-delay: 200ms; }
@keyframes emerge { from { opacity: .42; transform: translateY(1.15rem); } to { opacity: 1; transform: none; } }
.parable-ending { text-align: center; font: 400 clamp(2.1rem, 5vw, 5.3rem)/.99 var(--serif); letter-spacing: -.05em; margin: clamp(3.2rem, 7vw, 7rem) auto 1.6rem; }
.verse blockquote { font-size: clamp(1.25rem, 2.6vw, 2.35rem); line-height: 1.25; }
.verse.center { text-align: center; max-width: 42rem; margin-inline: auto; }

.chains { background: var(--green); border-block: 1px solid var(--line); }
.split-head { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 1.75rem 4rem; align-items: end; }
.chains .split-head .verse { border-left: 1px solid var(--gold); padding-left: 1.1rem; }
.chains-grid, .stories-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .95rem; margin-top: 3rem; }
.chains-grid article { padding: clamp(1.15rem, 2.7vw, 2.2rem); border: 1px solid var(--line); background: #11291e; }
.chains-grid blockquote { margin-top: 1rem; font-size: 1.22rem; line-height: 1.4; }
.chains-note { max-width: 60ch; margin-top: 1.5rem; }
.text-link { display: inline-block; font-weight: 750; margin-top: .9rem; color: var(--gold); }

.resources, .join { color-scheme: light; background: var(--cream); color: var(--soil); }
.resources .eyebrow, .join .eyebrow { color: #8b3c13; }
.resources-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .85rem; margin-top: 2.75rem; }
.resource { border: 1px solid #94744f68; background: #f7ebd7; padding: clamp(1.15rem,2vw,1.75rem); display: flex; flex-direction: column; align-items: start; }
.resource:first-child { border-color: #b97c24; background: #ffe7ad; }
.resource h3 { font-size: clamp(1.7rem,2.25vw,2.5rem); }
.resource h3 + p { margin: .75rem 0 1.3rem; color: #59402b; }
.resource .button { margin-top: auto; }
.resource .outline { border-color: #78533a; color: #2e2118; background: transparent; }
.resource .outline:hover { background: #f3dcba; }

.testimonies { background: #22160f; }
.story-context { color: var(--muted); max-width: 26ch; }
.story { display: grid; align-items: end; min-height: 18rem; padding: 1.3rem; border: 1px solid var(--line); background: linear-gradient(0deg, #14100d 3%, #14100d15 95%), var(--story-image) center / cover no-repeat; }
.story-one { --story-image: url('/assets/sunrise.webp'); }
.story-two { --story-image: url('/assets/hands.webp'); }
.story-three { --story-image: url('/assets/carrot.webp'); background-position: 72%; }
.story h3 { font-size: clamp(1.55rem,2.55vw,2.65rem); }
.story .button { margin-top: .85rem; }
.stories-verse { margin-top: 3rem; }

.join { background: #f2e0ba; }
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 6vw, 6rem); align-items: center; }
.join h2 em { color: #944018; }
.join h2 + p { margin-top: 1.25rem; max-width: 47ch; }
.signup { background: var(--cream); padding: clamp(1.1rem, 3vw, 2rem); border: 1px solid #8e642f79; }
label { display: block; font-weight: 700; margin-bottom: .4rem; }
label span { font-weight: 400; }
input:not([type=hidden]), textarea { width: 100%; min-width: 0; background: var(--cream); color: var(--soil); border: 1px solid #967455; border-radius: .15rem; padding: .65rem .72rem; }
.email-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .5rem; }
.form-note, .status { margin-top: .65rem; font-size: .875rem; }
.status:empty { margin: 0; }
.signup-download { color: #733613; }
.finale { min-height: min(52rem, 100svh); display: grid; align-items: center; padding-block: 5rem; background: linear-gradient(90deg,#14100deb 0%,#14100d60 68%), linear-gradient(0deg,#14100d 0%,transparent 35%), url('/assets/sunrise.webp') center / cover no-repeat; }
.finale h2 { font-size: clamp(4.1rem, 10.7vw, 11rem); }
.finale p { font-size: clamp(1.2rem, 2.5vw, 1.8rem); margin: 1.25rem 0 1.5rem; }

.footer { padding-block: 3rem 5.5rem; border-top: 1px solid var(--line); }
.footer-brand { font: 400 clamp(2.1rem, 6vw, 5.2rem)/.95 var(--serif); text-decoration: none; letter-spacing: -.06em; }
.footer nav { display: flex; flex-wrap: wrap; gap: .65rem 1.35rem; margin-top: 1.15rem; }
.footer nav button { border: 0; padding: 0; color: inherit; background: transparent; }
.footer nav a, .footer nav button { font-size: .9rem; text-decoration: none; }
.footer nav a:hover, .footer nav button:hover { text-decoration: underline; }
.footer p { margin-top: 1.4rem; font-size: .875rem; color: var(--muted); }
.prayer-button { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 3; display: flex; gap: .45rem; align-items: center; border: 1px solid #e8b44aab; border-radius: .22rem; padding: .55rem .8rem; background: #1e3a2b; color: var(--cream); font-size: .875rem; font-weight: 750; box-shadow: 0 6px 25px #14100d85; }
.prayer-button span { color: var(--gold); }
.prayer-button:hover { background: #305941; }

dialog { width: min(43rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: 0; border: 1px solid var(--line); color: var(--cream); background: #21180f; }
dialog::backdrop { background: #0a0807da; }
.dialog-inner { position: relative; padding: clamp(1.1rem,4vw,2.4rem); }
.dialog-inner h2 { font-size: clamp(2.2rem,5vw,3.55rem); padding-right: 2.1rem; margin-bottom: .95rem; }
.dialog-inner > p { margin-bottom: .9rem; }
.dialog-inner label { margin-top: .65rem; }
.dialog-inner textarea { display: block; resize: vertical; }
.dialog-inner form .button, .dialog-inner .journal .button { margin-top: .8rem; }
.close { position: absolute; right: .7rem; top: .65rem; display: grid; place-items: center; background: transparent; color: var(--cream); border: 1px solid var(--line); width: 2.4rem; height: 2.4rem; font: 1.6rem/1 var(--sans); }
.close:hover { border-color: var(--gold); }
#film-dialog { width: min(64rem, calc(100% - 2rem)); }
video { display: block; background: #080605; width: 100%; max-height: 58svh; aspect-ratio: 16 / 9; }
.film-caption, .transcript { margin-top: .8rem; }
.transcript summary { cursor: pointer; color: var(--gold); }
.transcript p { margin-top: .4rem; }
body:has(dialog[open]) { overflow: hidden; }

@media (max-width: 68rem) {
  .resources-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .email-row { grid-template-columns: 1fr; }
}
@media (max-width: 48rem) {
  .site-header nav { display: none; }
  .hero { min-height: max(44rem, 100svh); align-items: start; }
  .hero::before { background: linear-gradient(180deg,#14100d 0%,#14100d 19%,#14100d8f 50%,#14100d05 75%,#14100d 100%), url('/assets/carrot.webp') 73% bottom / auto max(27rem,64%) no-repeat; }
  .hero-content { padding-block: 7.1rem 17rem; }
  .hero h1 { font-size: clamp(3.9rem, 13.6vw, 7rem); }
  .hero .eyebrow { letter-spacing: .08em; gap: .45rem; }
  .hero .eyebrow::before { width: .8rem; }
  .hero-verse { margin-top: 1.35rem; }
  .parable-scenes, .chains-grid, .stories-grid, .split-head, .join-grid { grid-template-columns: minmax(0,1fr); }
  .scene { min-height: 21rem; }
  .story { min-height: 16rem; }
  .finale { min-height: min(40rem,85svh); }
}
@media (max-width: 29rem) {
  .resources-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .scene.arrived { animation: none; }
  .ticker { padding-right: 0; }
  .ticker-track { width: 100%; justify-content: center; text-align: center; }
  .ticker span { white-space: normal; }
  .ticker span:not(:first-child), .ticker-control { display: none; }
}

.scene-bound::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 44%, #ffbb4b, transparent 48%);
  opacity: var(--chain-flash, 0);
  mix-blend-mode: screen;
}
.button:disabled { opacity: .72; cursor: wait; }
.scene-bound::before { background: linear-gradient(0deg,#14100d 0%,#14100de3 26%,#14100d08 88%); }
.chain-art { position: absolute; z-index: -2; inset: 0; overflow: hidden; pointer-events: none; }
.chain-art span {
  position: absolute;
  inset: -2%;
  background: url('/assets/hands.webp') center / cover no-repeat;
  will-change: transform;
}
.chain-art span:first-child {
  clip-path: polygon(0 0, 53% 0, 47% 100%, 0 100%);
  transform: translateX(calc(var(--chain-split, 0) * -3.4%));
}
.chain-art span:last-child {
  clip-path: polygon(53% 0, 100% 0, 100% 100%, 47% 100%);
  transform: translateX(calc(var(--chain-split, 0) * 3.4%));
}

/* Movement identity and daily Bible study */
.hero::before {
  background-image: linear-gradient(90deg, #100c08fc 0%, #100c08ad 38%, #100c0810 74%),
    linear-gradient(0deg, #14100d 0%, transparent 27%), url('/assets/carrot.webp');
}
.hero h1 {
  display: grid;
  gap: .18em;
  font-size: clamp(4.4rem, 10vw, 10.15rem);
  line-height: .84;
  letter-spacing: -.07em;
  text-transform: uppercase;
}
.hero h1 span:first-child {
  width: fit-content;
  color: var(--gold);
  font-weight: 800;
  text-shadow: .015em .035em 0 #271705, 0 .06em .18em #0b0706a8;
}
.hero h1 span:last-child {
  font-size: .52em;
  letter-spacing: .045em;
  font-weight: 700;
}
.hero-parable-link {
  display: inline-block;
  color: var(--cream);
  margin-top: 1rem;
  font-size: .9rem;
  font-weight: 750;
}
.daily-study {
  background: linear-gradient(90deg, #16110de8 16%, #16110d39 100%),
    linear-gradient(0deg, #14100d 0%, #21170d17 75%), url('/assets/hands.webp') center 24% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.daily-study > .wrap {
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
  gap: clamp(1.7rem, 6vw, 6.5rem);
  align-items: start;
}
.daily-heading { padding-top: 1.25rem; }
.daily-heading h2 {
  font-size: clamp(2.7rem, 5.4vw, 6.8rem);
  letter-spacing: -.075em;
}
.daily-heading > p:last-child { max-width: 33ch; color: var(--cream); margin-top: 1rem; }
.study-card {
  border: 1px solid #e8b44a85;
  box-shadow: 0 .75rem 3.5rem #0e090765;
  background: #181211fa;
  padding: clamp(1rem,3vw,2.2rem);
}
.study-toolbar:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: space-between;
  align-items: end;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.55rem;
  padding-bottom: 1rem;
}
.study-pick { flex: 1 1 13rem; min-width: 0; }
.study-pick label { font-size: .9rem; }
.study-pick select {
  width: 100%;
  min-width: 0;
  min-height: 3rem;
  font: inherit;
  background-color: #251a12;
  border: 1px solid #e8b44a80;
  border-radius: .2rem;
  padding: .45rem .6rem;
  color: var(--cream);
}
.study-reading h3 { font-size: clamp(2.45rem,4.3vw,4.6rem); }
.study-reading > p:not(.eyebrow) { color: var(--cream); max-width: 61ch; }
.study-scripture { margin: 1.15rem 0; padding: .15rem .9rem; border-left: 2px solid var(--gold); }
.study-scripture blockquote { font-size: clamp(1.18rem,2vw,1.55rem); line-height: 1.35; }
.study-scripture figcaption { margin-top: .4rem; color: var(--gold); font-size: .875rem; font-weight: 750; }
.study-practice { display: grid; gap: .85rem; margin: 1.4rem 0 0; }
.study-practice > div { border-top: 1px solid var(--line); padding-top: .7rem; }
.study-practice dt { color: var(--gold); font-weight: 750; }
.study-practice dd { margin: .15rem 0 0; color: var(--muted); }
.study-navigation:not([hidden]) { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.45rem; }
.study-navigation .button:disabled { cursor: default; opacity: .45; }

@media (max-width: 62rem) {
  .daily-study > .wrap { grid-template-columns: minmax(0,1fr); }
  .daily-heading { padding-top: 0; }
  .daily-study { background-position: 55% 10%; }
}
@media (max-width: 48rem) {
  .hero::before {
    background-image: linear-gradient(180deg,#14100d 0%,#14100d 19%,#14100d95 49%,#14100d10 73%,#14100d 100%),
      url('/assets/carrot.webp');
  }
  .hero h1 { font-size: clamp(2.75rem, 10.5vw, 5rem); }
}
