/* =====================================================================
   Idlewild Missions Report 2026 — "Unfold"
   Tokens mirror missionsweek.com (styles.css) + the printed report.
   ===================================================================== */
:root {
  --terracotta: #C86744;
  --terracotta-deep: #B95C3C;
  --terracotta-soft: #D98C70;
  --bar: #D67155;
  --gold: #C9A269;
  --shell: #E8E8E3;
  --shell-warm: #F1F1ED;
  --cream: #FBFAF6;
  --sand: #D9CFC2;
  --tidal: #2C3235;
  --tidal-deep: #20262A;
  --tidal-soft: #3A4851;
  --olive: #546460;
  --olive-bright: #7A9589;
  --sage: #8CB9B4;
  --sage-deep: #4E8A80;
  --teal: #5F9B95;
  --ink: rgba(44,50,53,0.78);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.2, 0.64, 1);
  --arches-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='320' viewBox='0 0 240 320'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='0.14' stroke-width='1.4'%3E%3Cpath d='M28 168V78a48 48 0 0 1 96 0v90z'/%3E%3Cpath d='M148 328V238a48 48 0 0 1 96 0v90z'/%3E%3Cpath d='M-92 328V238a48 48 0 0 1 96 0v90z'/%3E%3C/g%3E%3Cg fill='%23FFFFFF' fill-opacity='0.16'%3E%3Cpath d='M0-8L2.6 0 0 8-2.6 0z'/%3E%3Cpath d='M-8 0L0-2.6 8 0 0 2.6z'/%3E%3Cpath d='M120 152L122.6 160 120 168 117.4 160z'/%3E%3Cpath d='M112 160L120 157.4 128 160 120 162.6z'/%3E%3C/g%3E%3C/svg%3E");
  --arches-faint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='320' viewBox='0 0 240 320'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='0.055' stroke-width='1.4'%3E%3Cpath d='M28 168V78a48 48 0 0 1 96 0v90z'/%3E%3Cpath d='M148 328V238a48 48 0 0 1 96 0v90z'/%3E%3Cpath d='M-92 328V238a48 48 0 0 1 96 0v90z'/%3E%3C/g%3E%3Cg fill='%23FFFFFF' fill-opacity='0.07'%3E%3Cpath d='M0-8L2.6 0 0 8-2.6 0z'/%3E%3Cpath d='M-8 0L0-2.6 8 0 0 2.6z'/%3E%3Cpath d='M120 152L122.6 160 120 168 117.4 160z'/%3E%3Cpath d='M112 160L120 157.4 128 160 120 162.6z'/%3E%3C/g%3E%3C/svg%3E");
  --arches-faint-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='320' viewBox='0 0 240 320'%3E%3Cg fill='none' stroke='%232C3235' stroke-opacity='0.04' stroke-width='1.4'%3E%3Cpath d='M28 168V78a48 48 0 0 1 96 0v90z'/%3E%3Cpath d='M148 328V238a48 48 0 0 1 96 0v90z'/%3E%3Cpath d='M-92 328V238a48 48 0 0 1 96 0v90z'/%3E%3C/g%3E%3Cg fill='%232C3235' fill-opacity='0.05'%3E%3Cpath d='M0-8L2.6 0 0 8-2.6 0z'/%3E%3Cpath d='M-8 0L0-2.6 8 0 0 2.6z'/%3E%3Cpath d='M120 152L122.6 160 120 168 117.4 160z'/%3E%3Cpath d='M112 160L120 157.4 128 160 120 162.6z'/%3E%3C/g%3E%3C/svg%3E");
  --arches: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='320' viewBox='0 0 240 320'%3E%3Cg fill='none' stroke='%232C3235' stroke-opacity='0.075' stroke-width='1.4'%3E%3Cpath d='M28 168V78a48 48 0 0 1 96 0v90z'/%3E%3Cpath d='M148 328V238a48 48 0 0 1 96 0v90z'/%3E%3Cpath d='M-92 328V238a48 48 0 0 1 96 0v90z'/%3E%3C/g%3E%3Cg fill='%232C3235' fill-opacity='0.09'%3E%3Cpath d='M0-8L2.6 0 0 8-2.6 0z'/%3E%3Cpath d='M-8 0L0-2.6 8 0 0 2.6z'/%3E%3Cpath d='M120 152L122.6 160 120 168 117.4 160z'/%3E%3Cpath d='M112 160L120 157.4 128 160 120 162.6z'/%3E%3C/g%3E%3C/svg%3E");
  /* booklet panel geometry (print panel is 5.375 × 8.75 in) */
  --ph: min(76vh, 740px, 76vw);
  --pw: calc(var(--ph) * 0.614);
  --tilt: -10deg;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--tidal);
  background: var(--shell);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ol, ul, dl, blockquote { margin: 0; }
.container { width: min(100% - 48px, var(--maxw)); margin-inline: auto; }
.container.narrow { max-width: 760px; }
.container.wide { max-width: 1280px; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 4px; }

/* Shared type treatments (these mirror the print's two-face headings) */
.h-mixed { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .3em; font-size: clamp(30px, 4.2vw, 46px); line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; }
.h-mixed .sans { font-family: var(--sans); font-weight: 800; }
.h-mixed .serif { font-family: var(--serif); font-style: italic; font-weight: 500; font-variation-settings: "opsz" 144; }
.h-mixed .accent { color: var(--terracotta); }
.h-mixed.center { justify-content: center; text-align: center; }
.h-mixed .rule { flex: 1 1 60px; height: 2px; background: var(--terracotta-deep); align-self: center; margin-left: .4em; min-width: 60px; }
.serif-h { font-family: var(--serif); font-style: italic; font-weight: 500; font-variation-settings: "opsz" 144; color: var(--terracotta); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.1; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 10px; }
.serif-h.light { color: var(--shell); }
.lead { font-size: clamp(21px, 2.6vw, 30px); font-weight: 500; line-height: 1.3; max-width: 30ch; margin-bottom: 40px; }
.lead-it { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2.2vw, 24px); margin: 10px 0 12px; font-variation-settings: "opsz" 60; }
.sub { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-top: 8px; }
.center { text-align: center; }
.it { font-style: italic; }
p + p { margin-top: 1em; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.two-col.prose { margin-top: 56px; }
.btn { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-radius: 999px; padding: 15px 26px; transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.btn-outline { border: 1.5px solid var(--tidal); color: var(--tidal); margin-top: 24px; }
.btn-outline:hover { background: var(--tidal); color: var(--shell); transform: translateY(-1px); }

/* Hand-drawn scribbles (circle / underline) — draw on reveal */
.circled, .underlined { position: relative; display: inline-block; white-space: nowrap; }
.scribble { position: absolute; pointer-events: none; overflow: visible; }
.scribble path { fill: none; stroke: var(--terracotta); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.3s var(--ease) .35s; }
.circled .scribble { left: -10%; top: -22%; width: 120%; height: 150%; }
.underlined .scribble { left: -1%; bottom: -.32em; width: 102%; height: .5em; }
.drawn .scribble path, .in .scribble path { stroke-dashoffset: 0; }

/* Reveal-on-scroll */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* ---------------- Top bar ---------------- */
.topbar { position: absolute; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 20px 28px; }
.topbar .brand img { width: 118px; height: auto; }
.back-link { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--shell); text-decoration: none; opacity: .85; transition: opacity .3s; }
.back-link:hover { opacity: 1; }
.back-link span { display: inline-block; transition: transform .3s var(--ease); }
.back-link:hover span { transform: translateX(-3px); }

/* =====================================================================
   1. COVER — the booklet that opens as you scroll
   ===================================================================== */
.unfold { position: relative; height: 260vh; background: var(--tidal-deep); }
.stage {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: grid; place-items: center;
  perspective: 2400px; perspective-origin: 50% 45%;
  background:
    radial-gradient(60% 50% at 50% 60%, rgba(122,149,137,.22), transparent 70%),
    var(--arches-faint),
    var(--tidal-deep);
  background-size: auto, 240px 320px, auto;
}
.stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 80% at 50% 50%, transparent 55%, rgba(0,0,0,.45) 100%); }
.book {
  position: relative; width: calc(var(--pw) * 2); height: var(--ph);
  transform: translateX(calc(var(--pw) * -0.5 * var(--closed, 1)));
  transform-style: preserve-3d; z-index: 2;
}
.panel { position: absolute; top: 0; width: var(--pw); height: var(--ph); border-radius: 6px; overflow: hidden; }
.panel-base { left: 50%; background: var(--tidal); box-shadow: 0 40px 80px -20px rgba(0,0,0,.6); }
.panel-cover {
  left: 50%; transform-origin: left center; transform-style: preserve-3d;
  transform: rotateY(calc(-180deg * var(--open, 0)));
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.6);
  overflow: visible; border-radius: 0;
}
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 6px; overflow: hidden; background: var(--tidal); }
.face.back { transform: rotateY(180deg); }
/* spine shading */
.face.front::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.35), transparent 14%); opacity: calc(1 - var(--open, 0)); }
.face.back::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(270deg, rgba(0,0,0,.35), transparent 14%); }
.panel-base::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.45), transparent 16%); z-index: 3; }

/* cover art */
.cover-art {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: calc(var(--ph) * .07) calc(var(--pw) * .08);
  background:
    radial-gradient(70% 45% at 85% 10%, rgba(200,103,68,.38), transparent 70%),
    radial-gradient(60% 40% at 15% 95%, rgba(122,149,137,.35), transparent 70%),
    var(--arches-light),
    linear-gradient(180deg, #3A4851 0%, #2C3235 55%, #20262A 100%);
  background-size: auto, auto, 240px 320px, auto;
}
.cover-logo { width: calc(var(--pw) * .34); height: auto; flex: none; object-fit: contain; opacity: 0; transform: translateY(-8px); transition: opacity .9s var(--ease) .2s, transform .9s var(--ease) .2s; }
.lockup { position: relative; width: 100%; height: calc(var(--pw) * 1.02); color: var(--shell); }
.lockup .num {
  position: absolute; font-family: var(--serif); font-style: italic; font-weight: 600; font-variation-settings: "opsz" 144;
  font-size: calc(var(--pw) * .62); line-height: .8; color: var(--terracotta); letter-spacing: -.04em;
  opacity: 0; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.lockup .n20 { left: calc(var(--pw) * .02); top: 0; transform: translateX(-30px); }
.lockup .n26 { right: calc(var(--pw) * .06); bottom: 0; transform: translateX(30px); transition-delay: .1s; }
.lockup .word { position: absolute; z-index: 2; left: 0; right: 0; text-align: center; text-transform: uppercase; opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease) .45s, transform 1s var(--ease) .45s; text-shadow: 0 2px 18px rgba(32,38,42,.5); }
.lockup .w1 { top: calc(var(--pw) * .31); font-family: var(--sans); font-weight: 800; font-size: calc(var(--pw) * .185); letter-spacing: -.02em; line-height: 1; }
.lockup .w2 { top: calc(var(--pw) * .50); font-family: var(--serif); font-style: italic; font-weight: 500; font-variation-settings: "opsz" 144; font-size: calc(var(--pw) * .2); line-height: 1; transition-delay: .6s; }
.tagline { font-weight: 800; text-transform: uppercase; letter-spacing: .02em; color: var(--shell); font-size: calc(var(--pw) * .052); margin: 0; opacity: 0; transition: opacity .9s var(--ease) .9s; }
.tagline .scribble path { stroke-width: 2.2; transition-delay: 1.3s; }
.tagline .underlined .scribble path { transition-delay: 1.7s; }
.is-ready .cover-logo, .is-ready .lockup .num, .is-ready .lockup .word, .is-ready .tagline { opacity: 1; transform: none; }
.is-ready .tagline .scribble path { stroke-dashoffset: 0; }

/* inside panels: tilted photo mosaic + card (as printed) */
.mosaic { position: absolute; inset: 0; }
.tile { position: absolute; object-fit: cover; border-radius: 8%; transform: rotate(var(--tilt)); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.mosaic-right .t1 { left: -14%; top: 1%; width: 62%; height: 42%; }
.mosaic-right .t2 { left: 58%; top: -6%; width: 50%; height: 40%; }
.mosaic-right .t3 { left: 16%; top: 78%; width: 34%; height: 30%; }
.mosaic-right .t4 { left: 60%; top: 76%; width: 36%; height: 32%; }
.mosaic-left .t1 { left: 6%; top: -2%; width: 36%; height: 26%; }
.mosaic-left .t2 { left: 2%; top: 60%; width: 40%; height: 46%; }
.mosaic-left .t3 { left: 46%; top: 62%; width: 62%; height: 44%; }
.card {
  position: absolute; border-radius: 14px; padding: 7% 8%; transform: rotate(var(--tilt));
  width: 78%; box-shadow: 0 18px 40px rgba(0,0,0,.4);
}
.card h2 { display: flex; align-items: baseline; gap: .18em; text-transform: uppercase; line-height: 1; font-size: calc(var(--pw) * .115); letter-spacing: -.01em; margin-bottom: .35em; }
.card h2 .serif { font-family: var(--serif); font-style: italic; font-weight: 500; font-variation-settings: "opsz" 144; }
.card h2 .sans { font-family: var(--sans); font-weight: 800; }
.card p { font-size: calc(var(--pw) * .044); line-height: 1.35; font-weight: 500; }
.card-dark { left: 12%; top: 44%; background: linear-gradient(180deg, #4C5B64, #3A4851); color: var(--shell); }
.card-dark h2 .sans { color: var(--terracotta-soft); }
.card-terracotta { left: 8%; top: 20%; background: linear-gradient(180deg, #E09375, #D1785A); color: var(--tidal); }
.card-terracotta h2 .serif { color: var(--shell); }

.scroll-cue { position: absolute; bottom: 26px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--shell); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; opacity: .95; transition: opacity .5s; z-index: 3; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.scroll-cue i { width: 1px; height: 34px; background: linear-gradient(180deg, var(--shell), transparent); animation: cue 1.8s var(--ease) infinite; }
.scroll-cue.gone { opacity: 0; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* =====================================================================
   2. THE GREAT COMMISSION
   ===================================================================== */
.commission { position: relative; padding: 120px 0 130px; color: var(--shell); background: var(--arches-faint), radial-gradient(70% 50% at 50% 0%, rgba(200,103,68,.18), transparent 70%), var(--tidal); background-size: 240px 320px, auto, auto; }
.commission h2 { display: flex; flex-direction: column; gap: 4px; margin-bottom: 44px; text-transform: uppercase; line-height: 1; }
.commission h2 .sans { font-weight: 800; font-size: clamp(22px, 3vw, 34px); letter-spacing: -.01em; }
.commission h2 .serif { font-family: var(--serif); font-style: italic; font-weight: 500; font-variation-settings: "opsz" 144; color: var(--terracotta); font-size: clamp(30px, 4.6vw, 54px); letter-spacing: -.01em; }
.verse { position: relative; padding: 64px 0 70px; }
.verse p { font-weight: 300; font-size: clamp(20px, 2.6vw, 30px); line-height: 1.4; display: flex; flex-direction: column; }
.verse .line { display: block; opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.verse.in .line { opacity: 1; transform: none; }
.verse.in .line:nth-child(1) { transition-delay: .15s; } .verse.in .line:nth-child(2) { transition-delay: .3s; } .verse.in .line:nth-child(3) { transition-delay: .45s; }
.verse.in .line:nth-child(4) { transition-delay: .6s; } .verse.in .line:nth-child(5) { transition-delay: .75s; } .verse.in .line:nth-child(6) { transition-delay: .9s; }
.verse cite { display: block; margin-top: 28px; font-family: var(--serif); font-style: italic; font-weight: 500; font-variation-settings: "opsz" 144; color: var(--terracotta); text-transform: uppercase; font-size: clamp(22px, 3vw, 36px); letter-spacing: -.01em; }
.verse .q { position: absolute; font-family: var(--serif); font-weight: 900; font-size: clamp(120px, 16vw, 210px); line-height: .6; color: transparent; -webkit-text-stroke: 2px var(--terracotta); opacity: 0; transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.verse .q-open { left: -.08em; top: 0; transform: translate(-20px, 10px) rotate(-6deg); }
.verse .q-close { right: -.02em; bottom: 0; transform: translate(20px, -10px) rotate(6deg); transition-delay: .9s; }
.verse.in .q { opacity: 1; transform: none; }

/* =====================================================================
   3. THE FOUR PANELS
   ===================================================================== */
.panels-wrap { position: relative; background: var(--shell); }
.pnav {
  position: sticky; top: 0; z-index: 15; display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(90deg, var(--sage) 0%, var(--sage-deep) 100%);
  box-shadow: 0 8px 30px rgba(32,38,42,.12);
}
.pnav a {
  position: relative; display: block; text-align: center; padding: 22px 8px 20px; text-decoration: none; color: var(--shell);
  font-family: var(--serif); font-style: italic; font-weight: 500; font-variation-settings: "opsz" 144; text-transform: uppercase;
  font-size: clamp(14px, 2.4vw, 30px); letter-spacing: -.01em; line-height: 1; opacity: .72; transition: opacity .4s var(--ease), padding .4s var(--ease), font-size .4s var(--ease);
}
.pnav a::after { content: ""; position: absolute; left: 50%; bottom: 10px; width: 28px; height: 2px; background: var(--shell); transform: translateX(-50%) scaleX(0); transition: transform .5s var(--ease); }
.pnav a.active { opacity: 1; }
.pnav a.active::after { transform: translateX(-50%) scaleX(1); }
.pnav.compact a { padding: 14px 8px 14px; font-size: clamp(12px, 1.6vw, 20px); }
.pnav-bar { grid-column: 1 / -1; height: 3px; background: rgba(32,38,42,.18); overflow: hidden; }
.pnav-bar i { display: block; height: 100%; width: 100%; background: var(--terracotta); transform-origin: left; transform: scaleX(0); transition: transform .2s linear; }

.psec { position: relative; padding: 96px 0 104px; overflow: hidden; }
.psec + .psec { border-top: 1px solid rgba(44,50,53,.12); }
.psec .container > .h-mixed { margin-bottom: 18px; }
.aside-copy p { font-size: 17px; max-width: 52ch; }

/* Prayer */
.pray-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.pray-list li { display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start; }
.pray-list .n { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(180deg, #E09375, var(--terracotta)); color: var(--shell); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 24px; font-variation-settings: "opsz" 144; box-shadow: 0 6px 14px rgba(200,103,68,.3); }
.pray-list p { font-size: 17px; padding-top: 8px; max-width: 46ch; }
.strip { margin-top: 72px; background: var(--tidal); padding: 18px 0; transform: rotate(-1.6deg) scale(1.03); overflow: hidden; }
.strip-track { display: flex; gap: 14px; width: max-content; animation: drift 46s linear infinite; }
.strip-track img { height: 170px; width: auto; border-radius: 12px; object-fit: cover; }
.strip:hover .strip-track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }

/* Provision */
.tile-10 { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 28px; padding: 26px 36px; border-radius: 16px; color: var(--shell); background: linear-gradient(100deg, #2C3235 0%, #3E4F59 60%, #4E6572 100%); box-shadow: 0 24px 50px -24px rgba(32,38,42,.5); margin-bottom: 56px; }
.tile-10 .big { font-weight: 800; font-size: clamp(56px, 8vw, 104px); line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tile-10 p { font-size: clamp(17px, 1.8vw, 21px); max-width: 30ch; }
.bars { display: grid; gap: 18px; align-content: start; }
.bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 0; align-items: center; }
.bar-fill { position: relative; width: 0; min-width: 0; height: 54px; border-radius: 7px; background: linear-gradient(90deg, #E09375, var(--bar)); display: flex; align-items: center; padding: 0 14px 0 16px; min-width: max-content; overflow: visible; font-weight: 800; font-size: clamp(18px, 2vw, 24px); letter-spacing: -.01em; white-space: nowrap; color: var(--tidal); transition: width 1.5s var(--ease) .15s; }
.bar.in .bar-fill { width: var(--w); }
.bar-tail { display: none; }
.bar-label { padding-left: 26px; position: relative; font-size: 15.5px; line-height: 1.25; }
.bar-label::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 2px; background: var(--tidal); transform: translateY(-50%); }
.bar-label::after { content: ""; position: absolute; left: 12px; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--tidal); transform: translateY(-50%); }
.bar-label em { font-style: normal; }
.bar-label small { display: block; font-style: italic; font-size: 12px; color: var(--ink); margin-top: 4px; }
.orgs { margin-top: 64px; }
.orgs h3 { text-align: center; font-weight: 800; font-size: clamp(17px, 2vw, 21px); margin-bottom: 18px; }
.orgs h3 em { font-style: normal; font-weight: 400; }
.orgs dl { display: grid; gap: 10px; padding: 28px 36px; border-radius: 16px; color: var(--shell); background: linear-gradient(100deg, #2C3235 0%, #3E4F59 60%, #4E6572 100%); }
.orgs dl > div { display: grid; grid-template-columns: 170px 1fr; align-items: baseline; }
.orgs dt { font-weight: 800; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.orgs dd { margin: 0; padding-left: 22px; border-left: 2px solid var(--terracotta); font-size: clamp(16px, 1.8vw, 20px); }
.orgs dd small { font-size: .75em; }

/* Participation */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin: 40px 0 48px; }
.stat { display: flex; align-items: center; gap: 14px; }
.stat .num { font-family: var(--serif); font-style: italic; font-weight: 500; font-variation-settings: "opsz" 144; color: var(--teal); font-size: clamp(74px, 10vw, 132px); line-height: .85; letter-spacing: -.05em; font-variant-numeric: tabular-nums; min-width: 1.4ch; }
.stat .lbl { font-weight: 800; text-transform: uppercase; font-size: clamp(14px, 1.6vw, 18px); line-height: 1.1; letter-spacing: .01em; }
.cta-card { position: relative; display: grid; grid-template-columns: 1fr; align-items: center; min-height: 190px; padding: 34px 40px; border-radius: 16px; overflow: hidden; color: var(--shell); text-decoration: none; background: var(--tidal); margin-bottom: 72px; isolation: isolate; }
.cta-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; opacity: .55; filter: saturate(.7); transition: transform 1.2s var(--ease), opacity .6s; z-index: -2; }
.cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(32,38,42,.92) 30%, rgba(32,38,42,.55) 70%, rgba(32,38,42,.3)); }
.cta-card:hover img { transform: scale(1.04); opacity: .7; }
.cta-card h4 { display: flex; flex-direction: column; text-transform: uppercase; line-height: 1.02; margin-bottom: 12px; }
.cta-card h4 .sans { font-weight: 800; font-size: clamp(20px, 2.6vw, 30px); }
.cta-card h4 .serif { font-family: var(--serif); font-style: italic; font-weight: 500; font-variation-settings: "opsz" 144; color: var(--sage); font-size: clamp(22px, 3vw, 34px); }
.cta-card p { font-size: 16px; max-width: 46ch; }
.cta-card p strong { color: var(--sage); }
.pathway-h { margin-bottom: 22px; }
.pathway { position: relative; padding: 24px 32px 20px 0; border-radius: 16px; color: var(--shell); background: linear-gradient(100deg, #2C3235 0%, #3E4F59 60%, #4E6572 100%); display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 230px 1fr; gap: 26px; align-items: center; }
.tab { background: var(--shell); color: var(--tidal); border-radius: 0 44px 44px 0; padding: 14px 24px 14px 30px; display: flex; flex-direction: column; gap: 2px; transform: translateX(-28px); opacity: 0; transition: transform .9s var(--spring), opacity .6s var(--ease); }
.pathway.in .step:nth-child(1) .tab { transition-delay: .1s; } .pathway.in .step:nth-child(2) .tab { transition-delay: .3s; } .pathway.in .step:nth-child(3) .tab { transition-delay: .5s; }
.pathway.in .tab { transform: none; opacity: 1; }
.tab small { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.tab .serif { font-family: var(--serif); font-style: italic; font-weight: 500; font-variation-settings: "opsz" 144; text-transform: uppercase; font-size: 26px; line-height: 1; letter-spacing: -.01em; }
.c-terracotta { color: var(--terracotta); } .c-teal { color: var(--teal); } .c-tidal { color: var(--tidal); }
.step p { font-size: 16.5px; max-width: 54ch; }
.step p strong { font-weight: 800; }
.pathway-foot { text-align: center; padding: 12px 0 4px 32px; color: var(--shell); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; opacity: .85; }
.pathway-foot:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* Partnership */
.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; margin: 44px 0 8px; border-top: 1px solid rgba(44,50,53,.2); }
.wall .w { padding: 22px 0 26px; border-bottom: 1px solid rgba(44,50,53,.2); display: flex; flex-direction: column; gap: 6px; }
.wall .num { font-family: var(--serif); font-style: italic; font-weight: 500; font-variation-settings: "opsz" 144; color: var(--teal); font-size: clamp(44px, 5vw, 64px); line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: .12em; flex-wrap: wrap; }
.wall .num small { font-family: var(--sans); font-style: normal; font-weight: 600; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); width: 100%; }
.wall .lbl { font-size: 14px; line-height: 1.3; color: var(--ink); max-width: 24ch; }
.logos { margin: 28px 0 72px; overflow: hidden; padding: 10px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: drift 52s linear infinite; }
.logos-track img { height: 46px; width: auto; }
.logos:hover .logos-track { animation-play-state: paused; }
.cities { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.city { border-radius: 14px; padding: 22px 22px 20px; background: var(--tidal); color: var(--shell); display: flex; flex-direction: column; gap: 4px; min-height: 150px; justify-content: flex-end; }
.city .k { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--terracotta-soft); margin-bottom: auto; }
.city .name { font-family: var(--serif); font-style: italic; font-weight: 500; font-variation-settings: "opsz" 144; font-size: clamp(28px, 2.6vw, 36px); line-height: 1; letter-spacing: -.02em; }
.city .where { font-size: 13px; opacity: .8; }
.city-stat { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px; min-height: 0; background: linear-gradient(100deg, #E09375, var(--terracotta)); color: var(--tidal); }
.city-stat .num { font-family: var(--serif); font-style: italic; font-weight: 500; font-variation-settings: "opsz" 144; font-size: 64px; line-height: .9; color: var(--shell); }
.city-stat .lbl { font-weight: 800; text-transform: uppercase; font-size: 15px; line-height: 1.1; max-width: 10ch; }

/* =====================================================================
   4. THE MAP
   ===================================================================== */
.atlas { background: var(--arches-faint), var(--tidal); background-size: 240px 320px, auto; color: var(--shell); padding-bottom: 110px; }
.band { background: linear-gradient(90deg, var(--sage) 0%, var(--sage-deep) 100%); }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 34px 0; }
.band-inner h2 { margin: 0; font-size: clamp(22px, 3vw, 36px); }
.band-quote { position: relative; font-weight: 500; font-size: clamp(16px, 1.9vw, 22px); line-height: 1.25; max-width: 24ch; text-align: right; padding: 0 .55em; }
.band-quote .q { position: absolute; font-family: var(--serif); font-weight: 900; font-size: 2.6em; line-height: .5; color: transparent; -webkit-text-stroke: 1.5px var(--terracotta); }
.band-quote .q:first-child { left: -.55em; top: -.05em; }
.band-quote .q:last-child { right: -.55em; bottom: -.5em; }
.map-fold { perspective: 1800px; margin-top: 56px; }
.map-card { position: relative; border: 3px solid var(--terracotta-soft); border-radius: 26px; overflow: hidden; background: #A3C1BF; transform-origin: 50% 0%; transform: rotateX(-70deg) translateY(-20px); opacity: 0; transition: transform 1.8s var(--ease), opacity .9s var(--ease); box-shadow: 0 50px 100px -30px rgba(0,0,0,.6); }
.map-fold.in .map-card { transform: none; opacity: 1; }
.map-stage { position: relative; }
.map-img { width: 100%; height: auto; display: block; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map-svg .win { fill: none; stroke: var(--shell); stroke-width: .24; stroke-dasharray: 100; stroke-dashoffset: 100; opacity: .95; transition: stroke-dashoffset 2.2s var(--ease) 1.4s, opacity .4s; }
.map-fold.in .map-svg .win { stroke-dashoffset: 0; }
.map-card.dim-w .map-svg .win { opacity: .15; }
.pins { position: absolute; inset: 0; }
.pin { position: absolute; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; transform: scale(0); opacity: 0; transition: opacity .4s; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.pin.c { background: #ECEBE7; } .pin.t { background: var(--bar); } .pin.p { background: var(--gold); }
.pin.b { width: 18px; height: 20px; margin: -10px 0 0 -9px; border-radius: 3px; background: var(--shell) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 20'%3E%3Cpath d='M9 4v9M5 7.5h8' stroke='%232C3235' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M3 16.5h12' stroke='%232C3235' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.pin::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 1.5px solid currentColor; opacity: 0; }
.pin.c { color: #ECEBE7; } .pin.t { color: var(--bar); } .pin.p { color: var(--gold); } .pin.b { color: var(--shell); }
.pins.in .pin { animation: drop .8s var(--spring) forwards; animation-delay: calc(1.2s + var(--i) * 26ms); }
.pins.in .pin::after { animation: pulse 3.2s ease-out infinite; animation-delay: calc(2.4s + var(--i) * 70ms); }
@keyframes drop { 0% { transform: scale(0) translateY(-10px); opacity: 0; } 60% { opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 70% { transform: scale(2.6); opacity: 0; } 100% { transform: scale(2.6); opacity: 0; } }
.pins[data-focus] .pin { filter: opacity(.14) saturate(.4); transition: filter .4s, box-shadow .4s; }
.pins[data-focus] .pin::after { animation: none; }
.pins[data-focus="c"] .pin.c, .pins[data-focus="t"] .pin.t, .pins[data-focus="p"] .pin.p, .pins[data-focus="b"] .pin.b { filter: none; box-shadow: 0 0 0 4px rgba(232,232,227,.28), 0 2px 8px rgba(0,0,0,.45); }
.pins[data-focus="c"] .pin.c::after, .pins[data-focus="t"] .pin.t::after, .pins[data-focus="p"] .pin.p::after, .pins[data-focus="b"] .pin.b::after { animation: pulse 2.4s ease-out infinite; }
.legend { position: absolute; left: 3.6%; bottom: 3.5%; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; max-width: 46%; }
.legend h3 { display: flex; flex-direction: column; line-height: .95; text-transform: uppercase; margin-bottom: 12px; color: var(--shell); }
.legend h3 .serif { font-family: var(--serif); font-style: italic; font-weight: 500; font-variation-settings: "opsz" 144; font-size: clamp(15px, 1.9vw, 24px); letter-spacing: -.01em; }
.legend h3 .sans { font-weight: 800; font-size: clamp(15px, 1.9vw, 24px); letter-spacing: -.01em; }
.lg { display: inline-flex; align-items: center; gap: 10px; border: 0; background: transparent; color: var(--shell); font: 700 clamp(10px, 1.05vw, 13.5px)/1.2 var(--sans); text-transform: uppercase; letter-spacing: .01em; padding: 6px 10px 6px 4px; border-radius: 999px; cursor: pointer; text-align: left; transition: background .3s, opacity .3s; }
.lg:hover { background: rgba(32,38,42,.25); }
.legend.focused .lg:not(.focus) { opacity: .45; }
.lg .d { width: 18px; height: 18px; border-radius: 50%; flex: none; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.d-c { background: #ECEBE7; } .d-t { background: var(--bar); } .d-p { background: var(--gold); }
.d-b { border-radius: 4px; background: var(--shell) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 20'%3E%3Cpath d='M9 4v9M5 7.5h8' stroke='%232C3235' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M3 16.5h12' stroke='%232C3235' stroke-width='1.5'/%3E%3C/svg%3E") center/70% no-repeat; }
.d-w { border-radius: 5px; background: transparent; box-shadow: inset 0 0 0 2px var(--shell); }
.window-copy { position: absolute; right: 4%; bottom: 5%; width: 40%; max-width: 480px; color: var(--shell); }
.window-copy h3 { display: flex; align-items: baseline; gap: .2em; text-transform: uppercase; line-height: 1; margin-bottom: 10px; }
.window-copy h3 .serif { font-family: var(--serif); font-style: italic; font-weight: 500; font-variation-settings: "opsz" 144; font-size: clamp(22px, 3.2vw, 40px); }
.window-copy h3 .sans { font-weight: 800; font-size: clamp(22px, 3.2vw, 40px); letter-spacing: -.01em; }
.window-copy p { font-size: clamp(11px, 1.15vw, 15px); line-height: 1.4; }

/* =====================================================================
   5. NEXT STEP + FOOTER
   ===================================================================== */
.next { background: var(--arches-faint-dark), var(--shell-warm); background-size: 240px 320px, auto; padding: 100px 0 110px; }
.next .h-mixed { margin-bottom: 12px; }
.next > .container > p { font-size: 18px; max-width: 40ch; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.step-link { display: flex; align-items: center; gap: 16px; padding: 18px 26px 18px 18px; border: 1.5px solid var(--tidal); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 17px; background: transparent; transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.step-link .n { width: 40px; height: 40px; flex: none; border-radius: 50%; background: linear-gradient(180deg, #E09375, var(--terracotta)); color: var(--shell); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 20px; }
.step-link:hover { background: var(--tidal); color: var(--shell); transform: translateY(-2px); }
.bookend { position: relative; min-height: 360px; display: grid; place-items: center; color: var(--shell); background: var(--tidal-deep); overflow: hidden; isolation: isolate; text-align: center; }
.bookend-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .35; filter: saturate(.6); z-index: -1; }
.bookend::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 50%, rgba(32,38,42,.2), rgba(32,38,42,.85)); }
.bookend-inner { padding: 70px 24px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.bookend-logo { width: 240px; height: auto; flex: none; object-fit: contain; }
.bookend p { font-size: 13px; letter-spacing: .04em; opacity: .85; }
.bookend a { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; opacity: .85; }
.bookend a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1000px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .wall { grid-template-columns: repeat(2, 1fr); }
  .legend { max-width: 52%; }
}
@media (max-width: 760px) {
  :root { --tilt: -8deg; }
  .topbar { padding: 16px 18px; }
  .topbar .brand img { width: 96px; }
  /* cover: no 3D on phones — cover, then Our Prayer, then This Booklet, stacked */
  :root { --pw: min(100vw - 48px, 400px); --ph: calc(var(--pw) / 0.614); }
  .unfold { height: auto; padding: 84px 0 40px; }
  .stage { position: relative; height: auto; display: block; perspective: none; padding: 0 0 8px; }
  .book { width: var(--pw); height: auto; margin: 0 auto; transform: none; display: flex; flex-direction: column; gap: 22px; }
  .panel { position: relative; left: auto; top: auto; width: var(--pw); height: var(--ph); transform: none !important; border-radius: 10px; }
  .panel-base { order: 2; }
  .panel-cover { height: auto; display: flex; flex-direction: column; gap: 22px; overflow: visible; box-shadow: none; }
  .panel-cover .face { position: relative; inset: auto; width: var(--pw); height: var(--ph); transform: none; backface-visibility: visible; -webkit-backface-visibility: visible; border-radius: 10px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.7); }
  .face.front::after, .face.back::after, .panel-base::after { display: none; }
  .scroll-cue { display: none; }
  .lead .underlined { white-space: normal; text-decoration: underline; text-decoration-color: var(--terracotta); text-decoration-thickness: 2px; text-underline-offset: 5px; }
  .lead .underlined .scribble { display: none; }
  .band-quote .q { display: none; }
  .commission { padding: 90px 0 90px; }
  .verse .q-open { left: -.05em; }
  .pnav a { padding: 16px 4px 14px; font-size: 13px; }
  .pnav.compact a { padding: 12px 4px; font-size: 12px; }
  .psec { padding: 64px 0 72px; }
  .stats { gap: 14px 16px; }
  .stat { gap: 10px; }
  .tile-10 { grid-template-columns: 1fr; gap: 8px; padding: 22px 24px; }
  .bar { grid-template-columns: 1fr; gap: 6px; }
  .bar-label { padding-left: 0; }
  .bar-label::before, .bar-label::after { display: none; }
  .bar-fill { height: 46px; }
  .orgs dl { padding: 20px; }
  .orgs dl > div { grid-template-columns: 112px 1fr; }
  .orgs dd { padding-left: 14px; }
  .step { grid-template-columns: 1fr; gap: 10px; }
  .pathway { padding: 20px 18px 16px 0; }
  .step p { padding-left: 18px; }
  .pathway-foot { padding-left: 18px; }
  .cta-card { padding: 26px 22px; }
  .cities { grid-template-columns: 1fr; }
  .city { min-height: 120px; }
  .strip-track img { height: 120px; }
  .band-inner { flex-direction: column; align-items: flex-start; padding: 24px 0; }
  .band-quote { text-align: left; max-width: 30ch; }
  .map-fold { margin-top: 32px; }
  .map-card { border-radius: 14px; border-width: 2px; }
  .pin { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; }
  .pin.b { width: 12px; height: 13px; margin: -7px 0 0 -6px; }
  .legend, .window-copy { position: static; width: auto; max-width: none; padding: 18px 16px 6px; }
  .window-copy { padding: 10px 16px 20px; }
  .window-copy p { font-size: 14px; }
  .lg { font-size: 12px; }
  .steps { grid-template-columns: 1fr; }
  .step-link { font-size: 15.5px; }
  .next { padding: 72px 0 80px; }
}
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } .stat .num { min-width: 2.2ch; } }
@media (max-width: 420px) { .pnav a { font-size: 11.5px; letter-spacing: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .verse .line, .verse .q, .tab, .map-card, .pin { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; }
  .scribble path { transition: none; stroke-dashoffset: 0; }
  .strip-track, .logos-track { animation: none; }
  .bar-fill { transition: none; width: var(--w); }
  .map-svg .win { transition: none; stroke-dashoffset: 0; }
  .cover-logo, .lockup .num, .lockup .word, .tagline { transition: none; opacity: 1; transform: none; }
  .scroll-cue i { animation: none; }
}
