/* Apostolics of Eagle Lake: the water flows from the cross.
   Colours are the logo's own (blue #1C98D4, yellow #FCDF55, white), everything else derived from them. */
/* Static instances (Google Fonts, OFL), subset to Latin: WebKit renders the variable files at their default (thin) instance. */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/mont-500.woff2) format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/mont-700.woff2) format('woff2')}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/is-400.woff2) format('woff2')}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/is-600.woff2) format('woff2')}
@font-face{font-family:'Mont Fallback';src:local('Arial');size-adjust:112%;ascent-override:86%;descent-override:22%}
@font-face{font-family:'IS Fallback';src:local('Arial');size-adjust:98%}

:root{
  --night:#061A26; --deep:#0A2A3C; --blue:#1C98D4; --yellow:#FCDF55; --yink:#6A5300;
  --water:#DDF1FA; --ivory:#F4F7F8; --trough:#0E6FA0;
  --line:rgba(244,247,248,.14); --line-d:rgba(10,42,60,.18); --sky:#8CCBEA;
  --out:cubic-bezier(.2,.8,.2,1); --soft:cubic-bezier(.4,0,.2,1); --rise:cubic-bezier(.2,.75,.15,1);
  --edge:clamp(46px,9vh,104px);
  --pad:20px; --head:60px;
  --disp:'Montserrat','Mont Fallback',system-ui,sans-serif;
  --body:'Instrument Sans','IS Fallback',system-ui,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:var(--head)}
body{margin:0;background:var(--night);color:var(--ivory);font:400 17px/1.55 var(--body);overflow-x:hidden}
@supports (overflow:clip){body{overflow-x:clip}}
img,svg,canvas{display:block}
img{max-width:100%;height:auto}
a{color:inherit}
p{margin:0}
ul{margin:0;padding:0;list-style:none}
.sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.wrap{width:100%;max-width:1240px;margin:0 auto;padding:0 var(--pad)}
:focus-visible{outline:3px solid var(--yellow);outline-offset:3px;border-radius:2px}
.light :focus-visible,.welcome :focus-visible{outline-color:var(--deep)}
.skip{position:absolute;left:12px;top:-80px;z-index:100;background:var(--yellow);color:var(--night);padding:12px 16px;font-weight:600;min-height:44px}
.skip:focus{top:12px;outline:3px solid var(--ivory);outline-offset:3px}

/* placeholders: the church fills these in */
.ph{color:var(--yellow);border-bottom:1px dashed currentColor;font-style:normal}
.welcome .ph{color:var(--yink)}

/* type */
.eyebrow{font:600 12px/1.3 var(--body);letter-spacing:.18em;text-transform:uppercase;color:var(--ivory);opacity:.92}
.h2{font:700 clamp(40px,12.4vw,104px)/.98 var(--disp);letter-spacing:-.02em;margin:0;text-wrap:balance}
.acc{color:var(--yellow)}
.acc-ink{color:var(--yink)}
.js [data-acc]{transition:color .52s var(--soft),-webkit-text-stroke-color .52s var(--soft)}
.js [data-acc]:not(.on){color:transparent;-webkit-text-stroke:1px var(--yellow)}
.js .acc-ink[data-acc]:not(.on){-webkit-text-stroke-color:var(--yink)}
.body{font-size:17px;line-height:1.6;max-width:40em}
.body.small{font-size:15px;opacity:.9;margin-top:14px}

/* buttons: pills, as on the first screen */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:52px;padding:0 28px;font:700 13px/1 var(--disp);letter-spacing:.08em;text-transform:uppercase;text-decoration:none;border-radius:999px;transition:transform .2s var(--out),box-shadow .2s var(--soft)}
.btn-y{background:var(--yellow);color:var(--night);box-shadow:0 10px 30px rgba(252,223,85,.18)}
.btn-y:hover{transform:translateY(-2px)}
.btn-big{min-height:56px;width:100%}
.pill{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:44px;padding:0 22px;border-radius:999px;font:700 12px/1 var(--disp);letter-spacing:.1em;text-transform:uppercase;text-decoration:none;white-space:nowrap;transition:transform .2s var(--out),box-shadow .2s var(--soft),background-color .2s var(--soft)}
.pill:hover{transform:translateY(-2px)}
.pill .ar{transition:transform .2s var(--out)}
.pill:hover .ar{transform:translateX(4px)}
.pill-y{background:var(--yellow);color:var(--night);box-shadow:0 10px 30px rgba(252,223,85,.22)}
.pill-ghost{background:transparent;color:var(--ivory);box-shadow:inset 0 0 0 1.5px rgba(244,247,248,.45)}
.pill-ghost:hover{box-shadow:inset 0 0 0 1.5px var(--ivory)}
.pill-ghost:hover .ar{transform:translateY(3px)}
.pill-big{min-height:56px;padding:0 28px;font-size:13px;letter-spacing:.08em}

/* header: transparent over the water, solid by colour (never blur) once the page moves */
.top{position:fixed;top:0;left:0;right:0;z-index:50;height:var(--head);display:flex;align-items:center;gap:16px;padding:0 6px 0 var(--pad);background:rgba(6,26,38,0);border-bottom:1px solid rgba(244,247,248,0);transition:background-color .35s var(--soft),border-color .35s var(--soft)}
.top.solid,.top.menu-open{background:rgba(6,26,38,.94);border-bottom-color:rgba(244,247,248,.06)}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;min-height:44px}
.brand-mark{width:36px;height:36px;opacity:0;transition:opacity .35s var(--soft)}
.brand-name{display:flex;flex-direction:column;gap:3px;transform:translateX(-46px);transition:transform .35s var(--out)}
.brand-name b{font:700 19px/1 var(--disp);letter-spacing:.06em}
.brand-name small{font:500 8.5px/1 var(--disp);letter-spacing:.24em;text-transform:uppercase;opacity:.85}
.top.solid .brand-mark{opacity:1}
.top.solid .brand-name{transform:none}
.nav{display:none}
.nav-cta{display:none}
.menu-btn{margin-left:auto;width:48px;height:48px;border:0;background:none;color:var(--ivory);display:grid;place-content:center;gap:7px;cursor:pointer}
.menu-btn i{display:block;width:24px;height:2px;background:currentColor;transition:transform .25s var(--out)}
.menu-btn[aria-expanded=true] i:first-of-type{transform:translateY(4.5px) rotate(45deg)}
.menu-btn[aria-expanded=true] i:last-of-type{transform:translateY(-4.5px) rotate(-45deg)}
.sheet{position:fixed;top:var(--head);left:0;right:0;z-index:49;background:rgba(6,26,38,.98);padding:8px var(--pad) 24px;border-bottom:1px solid var(--line)}
.sheet nav{display:flex;flex-direction:column}
.sheet a{display:flex;align-items:center;min-height:52px;font:700 22px/1 var(--disp);text-decoration:none;border-bottom:1px solid var(--line)}
.sheet a:last-child{border-bottom:0}

/* 1 · hero: the whole screen is the water; the mark is lit in its own slot; the copy rides over it */
.hero{position:relative;display:flex;flex-direction:column;touch-action:pan-y;-webkit-tap-highlight-color:transparent;min-height:calc(100svh + var(--edge));padding:var(--head) 0 calc(var(--edge) + 6px);overflow:hidden;background:var(--night)}
#heroField,#heroGL{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity .2s linear;pointer-events:none}
.gl-on #heroField,.gl-on #heroGL{opacity:1}
.no-gl #heroField,.no-gl #heroGL{display:none}
/* the field is cut away where the mark canvas stands (it draws its own slice of the water there; see hero.js) */
.gl-on.field-sliced #heroField{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,0 0,var(--sl) var(--st),var(--sl) var(--sb),var(--sr) var(--sb),var(--sr) var(--st),var(--sl) var(--st))}
.hero > .mark,.hero > .hero-copy,.hero > .hero-foot{z-index:1}
/* the slot: where the mark stands. Phone: across the top, the yellow block about 34svh tall, centred */
.mark{position:relative;flex:1 1 auto;min-height:150px;width:100%;margin:6px 0 -18px;touch-action:pan-y;pointer-events:none}
.lyrs{position:absolute;inset:0;display:grid;place-items:center}
/* the ring spans --ring of the slot's shorter side; hero.js frames the lit sign by the same share (the svg box is 240, the ring 220) */
.mark{--ring:.86}
.lyr{position:absolute;left:50%;top:50%;width:calc(var(--ring) * 109.09%);height:calc(var(--ring) * 109.09%);transform:translate(-50%,-50%);overflow:visible}
.mark-glow{position:absolute;inset:-10%;opacity:0;background:radial-gradient(30% 34% at 51% 40%,rgba(252,223,85,.32),rgba(252,223,85,0) 70%)}
.gl-on .mark .lyrs{visibility:hidden;transition:visibility 0s .22s}
/* fallback 2: no WebGL, the mark in CSS 3D layers on the plain night ground */
/* no WebGL (and the close): the mark lit by CSS, a glow of its own sweep behind it */
.no-gl .mark .lyr,.lyrs.still .lyr{filter:drop-shadow(0 0 18px rgba(140,203,234,.35)) drop-shadow(0 0 6px rgba(252,223,85,.25))}
.no-gl .mark-glow{opacity:1}
.hero-copy{position:relative;z-index:2;padding:0 var(--pad);pointer-events:none}
.hero-copy a,.hero-copy button{pointer-events:auto}
.hero-eyebrow{display:none;align-items:center;gap:14px;margin:0 0 26px;color:var(--sky);opacity:1}
.hero-eyebrow .rule{display:block;width:36px;height:1px;background:rgba(28,152,212,.7);transform-origin:left}
.h1{margin:0 0 0 -.04em;font:700 min(14.6vw,104px)/.92 var(--disp);letter-spacing:-.03em}
.h1 .ln{display:block;clip-path:inset(-.6em -.4em 0 -.4em)}
.h1 .ln > span{display:block}
.h1 .ln-living{height:1.12em;padding-bottom:.18em;box-sizing:content-box;color:var(--yellow)}
.living{height:100%;width:auto;aspect-ratio:812/335}
.ln-living .living{height:1.3em;margin:-.12em 0 0 -.02em}
.hero-sub{margin:14px 0;max-width:460px;font-size:15px;line-height:1.5;color:#CFE3EE}
.hero-ctas{display:flex;flex-direction:column;gap:10px}
.hero-ctas .pill{justify-content:space-between;width:100%}
.hero-ctas .pill-y{min-height:52px}
.hero-ctas .pill-ghost{min-height:48px}
.tstrip{display:flex;gap:16px;margin:16px 0 0;padding:0;list-style:none}
.tstrip li{border-left:2px solid rgba(244,247,248,.18);padding-left:10px;min-width:0}
.tstrip b{display:block;font:700 20px/1 var(--disp);letter-spacing:-.02em;color:var(--ivory);white-space:nowrap}
.tstrip small{font-size:11px;letter-spacing:0}
.tstrip span{display:block;margin-top:7px;font:600 9px/1.2 var(--body);letter-spacing:.14em;text-transform:uppercase;color:var(--sky)}
@media (max-width:374px){.tstrip{gap:7px}.tstrip li{padding-left:7px}.tstrip b{font-size:16px}.tstrip small{font-size:9px}.tstrip span{font-size:8.5px;letter-spacing:.07em}}
.hero-foot{position:relative;z-index:3;height:44px;margin-top:8px;padding:0 var(--pad);display:flex;align-items:center;justify-content:space-between;pointer-events:none}
.hero-foot > *{pointer-events:auto}
.cue{display:flex;align-items:center;gap:10px;min-height:44px;min-width:44px;color:var(--sky);text-decoration:none;font:600 10px/1 var(--body);letter-spacing:.24em;text-transform:uppercase}
.cue i{display:block;width:1px;height:22px;background:linear-gradient(var(--sky),rgba(140,203,234,0));transform-origin:top}
.tip{min-height:44px;min-width:44px;padding:0 0 0 12px;margin-right:-2px;border:0;background:none;color:rgba(244,247,248,.6);font:600 10px/1 var(--body);letter-spacing:.2em;text-transform:uppercase;cursor:pointer;transition:color .3s var(--soft)}
.tip:hover{color:var(--ivory)}
.tip[aria-pressed=true]{color:var(--yellow)}
.tip[hidden]{display:none}
/* the quiet hint beside the tip: desktop only (the phone row already holds FLOW and the tip), and only when the water is live */
.hint{display:none;color:rgba(244,247,248,.42);font:600 10px/1 var(--body);letter-spacing:.2em;text-transform:uppercase;pointer-events:none;white-space:nowrap}
@media (max-height:779px) and (max-width:1023px){.hero-sub{display:none}.hero-ctas{margin-top:16px}}

/* the first screen arrives in order (section 5 of the level 2 brief); reduced motion and no JS show the finished state */
@media (prefers-reduced-motion:no-preference){
  .js .brand-name,.js .nav a,.js .nav-cta,.js .menu-btn{animation:fadein .5s var(--soft) .15s both}
  .js .nav a:nth-child(2){animation-delay:.19s}.js .nav a:nth-child(3){animation-delay:.23s}.js .nav a:nth-child(4){animation-delay:.27s}.js .nav a:nth-child(5){animation-delay:.31s}
  .js .nav-cta{animation-delay:.35s}
  .js .h1 .ln > span{animation:lineup 1.1s var(--rise) .3s both}
  .js .h1 .ln:nth-child(2) > span{animation-delay:.42s}
  .js .h1 .ln:nth-child(3) > span{animation-delay:.54s}
  .js .hero-eyebrow .rule{animation:drawx .5s var(--out) .65s both}
  .js .hero-eyebrow span{animation:fadeup .6s var(--out) .65s both}
  .js .hero-sub{animation:fadeup .9s var(--out) .75s both}
  .js .hero-ctas{animation:fadeup .9s var(--out) .9s both}
  .js .hero-times{animation:fadeup .9s var(--out) 1.05s both}
  .js .hero-foot{animation:fadein .6s var(--soft) 1.6s both}
  .js .cue i{animation:cue 2.2s linear 1.6s infinite}
}
/* the phone keeps the cue line still: in WebKit its loop repainted the water under it every frame (44 to 20 fps) */
@media (max-width:767px),(pointer:coarse){.js .cue i{animation:none}}
@keyframes fadein{from{opacity:0}to{opacity:1}}
@keyframes fadeup{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes lineup{from{transform:translateY(.62em)}to{transform:none}}
@keyframes drawx{from{transform:scaleX(0)}to{transform:none}}
@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}}

/* the hand-off: every section after the hero starts on the swoosh's own lower edge */
.edge{position:relative;margin-top:calc(var(--edge) * -1);padding-top:calc(var(--edge) + 8px);
  -webkit-mask:url(/assets/brand/edge-r.svg) 0 0/100% var(--edge) no-repeat,linear-gradient(#000,#000) 0 calc(var(--edge) - 1px)/100% 100% no-repeat;
  mask:url(/assets/brand/edge-r.svg) 0 0/100% var(--edge) no-repeat,linear-gradient(#000,#000) 0 calc(var(--edge) - 1px)/100% 100% no-repeat}
.edge-l{-webkit-mask:url(/assets/brand/edge-l.svg) 0 0/100% var(--edge) no-repeat,linear-gradient(#000,#000) 0 calc(var(--edge) - 1px)/100% 100% no-repeat;
  mask:url(/assets/brand/edge-l.svg) 0 0/100% var(--edge) no-repeat,linear-gradient(#000,#000) 0 calc(var(--edge) - 1px)/100% 100% no-repeat}

/* 2 · your first Sunday */
.visit{background:var(--night);padding-bottom:calc(var(--edge) + 40px)}
.visit-photo{display:block;position:relative;margin-top:calc(var(--edge) * -1 - 8px);height:min(116vw,70svh);min-height:320px;max-height:560px}
.visit-photo img{width:100%;height:100%;object-fit:cover;object-position:0 0;
  -webkit-mask:linear-gradient(180deg,#000 0%,#000 70%,transparent 100%);mask:linear-gradient(180deg,#000 0%,#000 70%,transparent 100%)}
.visit-body{position:relative;margin-top:-64px}
.rows{margin:22px 0 0}
.rows li{border-top:1px solid var(--line)}
.rows li:last-child{border-bottom:1px solid var(--line)}
.rows li{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:52px;padding:10px 0}
.rows li > a{display:flex;justify-content:space-between;align-items:center;gap:14px;width:100%;min-height:52px;margin:-10px 0;padding:10px 0;text-decoration:none}
.rows .k{font:600 13px/1.3 var(--body);letter-spacing:.14em;text-transform:uppercase}
.rows .v{text-align:right;font-size:16px}
/* Sunday School: the four classes (Aaron, Nov 7), one per line on the phone, in a row where there is room */
.rows li.classes{align-items:flex-start}
.classes .k{padding-top:2px}
.classes .v{display:flex;flex-direction:column;align-items:flex-end;gap:5px}
.classes .cls{white-space:nowrap}
.classes .cls b{font-weight:600}
.visit-times{margin-top:26px;gap:22px}
.visit-times b{font-size:26px}.visit-times small{font-size:13px}
.visit-times span{font-size:10px;letter-spacing:.18em}
.room{margin:34px 0 0;padding:0 var(--pad)}
.room img{width:100%;height:auto;-webkit-mask:linear-gradient(180deg,#000 70%,transparent);mask:linear-gradient(180deg,#000 70%,transparent)}
.room figcaption,.altar figcaption,.then-now span{display:block;margin-top:8px;font:600 11px/1.3 var(--body);letter-spacing:.16em;text-transform:uppercase;opacity:.92}
.addr{margin-top:26px;font:700 clamp(28px,8.6vw,48px)/1.05 var(--disp);letter-spacing:-.01em}
.addr a{text-decoration:none}
.tel{margin-top:10px;font:700 20px/1 var(--disp)}
.tel a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;border-bottom:2px solid var(--blue)}
.note{margin:8px 0 20px;font-size:15px}
.quiet{margin-top:20px;font-size:15px;line-height:1.55;max-width:34em;opacity:.92}

/* 3 · the welcome (the church's own water plate) */
.welcome{color:var(--deep);background:var(--water) url(/assets/img/water-p.webp) center/cover no-repeat;padding-bottom:calc(var(--edge) + 56px)}
.welcome::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(221,241,250,.55),rgba(221,241,250,.78))}
.welcome .wrap{position:relative;padding-top:28px}
.welcome-text{font:500 clamp(23px,6.6vw,52px)/1.25 var(--disp);letter-spacing:-.01em;max-width:24em}

/* 4 · the verse: the current runs behind it */
.verse{background:var(--night);padding-bottom:calc(var(--edge) + 72px);overflow:hidden}
.current{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.current-mark{position:absolute;width:140vw;height:auto;left:-28vw;top:8%;opacity:.5;transform:rotate(-6deg)}
.current.faint .current-mark{opacity:.28;top:auto;bottom:-18%;left:-10vw}
.current-streak{position:absolute;left:0;right:0;top:34%;height:42%;background:url(/assets/img/streak.webp) 0 0/1024px 96px repeat;opacity:.55;
  -webkit-mask:linear-gradient(180deg,transparent,#000 20%,#000 80%,transparent);mask:linear-gradient(180deg,transparent,#000 20%,#000 80%,transparent)}
@media (prefers-reduced-motion:no-preference){.current-streak{animation:flow 26s linear infinite}}
@keyframes flow{to{background-position:1024px 0}}
.verse .wrap{position:relative;padding-top:40px}
.verse-text{margin:0;font:700 clamp(30px,8.4vw,76px)/1.12 var(--disp);letter-spacing:-.015em;max-width:15em;text-shadow:0 2px 24px rgba(6,26,38,.6)}
.cite{margin-top:22px;font:600 13px/1 var(--body);letter-spacing:.18em;text-transform:uppercase}

/* 5, 6, 7 · the people, on their own studio backdrop */
.backdrop{position:relative;isolation:isolate;background:#2B4554 url(/assets/img/backdrop.webp) 50% 0/100% auto repeat-y}
.backdrop::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(6,26,38,.42),rgba(6,26,38,.28));pointer-events:none}
.backdrop.light::before{background:linear-gradient(180deg,rgba(6,26,38,.28),rgba(6,26,38,.5))}
.pastor{padding-bottom:40px}
.pastor-photo{display:block;position:relative;margin:calc(var(--edge) * -1 - 8px) 0 0}
.pastor-photo img{width:100%;height:min(66svh,128vw);object-fit:cover;object-position:50% 0;
  -webkit-mask:linear-gradient(180deg,#000 62%,transparent 97%);mask:linear-gradient(180deg,#000 62%,transparent 97%)}
.pastor-body{position:relative;margin-top:-64px}
.name{font-size:clamp(34px,10vw,72px);margin-top:10px}
.role{margin-top:10px;font:600 13px/1.3 var(--body);letter-spacing:.16em;text-transform:uppercase}
.welcome-q{margin:20px 0;font-size:17px}
.pastor .body{margin-top:6px}
.facts{display:grid;grid-template-columns:repeat(3,1fr);margin-top:26px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.facts li{padding:14px 8px 14px 0}
.facts li + li{padding-left:10px;border-left:1px solid var(--line)}
.facts b{display:block;font:700 clamp(15px,4.4vw,26px)/1.1 var(--disp)}
.facts span{display:block;margin-top:6px;font-size:12px;letter-spacing:.12em;text-transform:uppercase}
.altar{margin:30px 0 10px;max-width:340px}
.altar img{width:100%;height:auto;-webkit-mask:linear-gradient(180deg,#000 78%,transparent);mask:linear-gradient(180deg,#000 78%,transparent)}

.heritage{padding:30px 0 56px;overflow:hidden}
.heritage-photo{display:block;position:relative;float:right;width:62vw;margin:0 -12vw 0 8px;shape-outside:none}
.heritage-photo img{width:100%;height:auto;-webkit-mask:linear-gradient(90deg,transparent,#000 22%,#000 100%),linear-gradient(180deg,#000 70%,transparent);-webkit-mask-composite:source-in;
  mask:linear-gradient(90deg,transparent,#000 22%),linear-gradient(180deg,#000 70%,transparent);mask-composite:intersect}
.heritage-body{position:relative}
.year{margin:6px 0 10px;font:700 clamp(84px,22vw,240px)/.86 var(--disp);letter-spacing:-.04em}
.heritage .body{clear:none;margin-top:14px}
.caption{margin-top:18px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;opacity:.92}
.heritage::after{content:"";display:block;clear:both}
.then-now{clear:both;display:grid;grid-template-columns:1fr 1fr;gap:18px 12px;margin:34px 0 0;padding-top:8px}
.then-now li:last-child{grid-column:1/-1}
.then-now img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.then-now li:first-child img{filter:saturate(.9)}

.family{padding:46px 0 calc(var(--edge) + 48px)}
.family .h2{font-size:clamp(34px,10.4vw,88px);margin-top:12px}
.band{position:relative;margin:30px 0 8px;overflow:hidden;touch-action:pan-y;cursor:grab}
.band:active{cursor:grabbing}
.band-track{display:flex;gap:14px;padding:0 var(--pad);width:max-content;will-change:transform}
.band-track li{width:min(62vw,300px);flex:none}
.band-track img{width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;-webkit-mask:linear-gradient(180deg,#000 72%,transparent);mask:linear-gradient(180deg,#000 72%,transparent);pointer-events:none;-webkit-user-drag:none}
.band-track p{margin-top:-34px;position:relative}
.band-track b{display:block;font:700 18px/1.15 var(--disp)}
.band-track span{display:block;margin-top:4px;font-size:13px;letter-spacing:.08em;text-transform:uppercase}
/* the church family stand on the section's own ground (the mvmtleadership "Meet Chad & Fallon" treatment): each person or
   couple is a cutout (WebP with alpha, cut from the studio backdrop by _build/cutouts.py), all at one height so they stand
   at one scale, each as wide as the figure itself, fading into the ground below the knees; no box, no panel. The row steps
   up in front of the headline, so the tops of the heads stand over the last line of type. On the phone the row scrolls
   sideways (the band: drag, keys, the quarter-scroll drift); the figures keep their gaps, so they never touch. */
.standing{--fh:min(62svh,440px)}
.standing .h2{position:relative;z-index:0}
.standing .band{z-index:1;margin-top:calc(clamp(34px,10.4vw,88px) * -.52);overflow:hidden}
.standing .band-track{gap:18px;align-items:flex-start}
.standing .band-track li{width:auto}
/* Bro. Brogdon (Charlie) is mirrored so he turns in toward Sis. Lainee, as Aaron asked (Nov 8); his own photo, nothing else changed */
.band-track li.flip img{transform:scaleX(-1)}
.standing .band-track img{width:auto;height:var(--fh);aspect-ratio:auto;object-fit:fill;-webkit-mask:linear-gradient(180deg,#000 64%,rgba(0,0,0,.55) 80%,transparent 97%);mask:linear-gradient(180deg,#000 64%,rgba(0,0,0,.55) 80%,transparent 97%)}
.standing .band-track p{margin-top:-58px;padding:0 4%;text-shadow:0 1px 14px rgba(6,26,38,.55)}
.js .band-track{transition:transform .7s var(--out)}
.js .band-track.drag{transition:none}
.links .v{max-width:62%}

/* 8 · watch and give */
.watch{background:var(--night);padding-bottom:calc(var(--edge) + 56px);overflow:hidden}
.watch .wrap{position:relative}
.msgs li > a{flex-direction:column;align-items:flex-start;justify-content:center;gap:4px}
.msgs .t{font:700 20px/1.2 var(--disp)}
.msgs .m{font-size:14px;opacity:.9}
.msgs .s{display:block;max-width:62ch;margin-top:6px;font-size:15px;line-height:1.5;opacity:.8}
.msgs .s .sc{display:block;margin-bottom:3px;font:700 11px/1.3 var(--body);letter-spacing:.16em;text-transform:uppercase;color:var(--yellow)}
.msgs .msg-feat .s{margin-top:12px;font-size:16px}
.more{margin-top:14px}
.more a{display:inline-flex;align-items:center;min-height:44px;font-weight:600;text-decoration:none;border-bottom:2px solid var(--blue)}
.give{margin-top:46px;padding-top:26px;border-top:1px solid var(--line)}
.give-line{margin:10px 0 18px;font:700 clamp(26px,7.6vw,44px)/1.1 var(--disp)}

/* 9 · the close: at the door */
/* the backdrop is Aaron's banner, the room above its lettering only; a night gradient keeps the address and phone readable */
.close{color:var(--ivory);background:var(--night);padding-bottom:56px;isolation:isolate}
.close-photo{position:absolute;left:0;right:0;top:0;height:min(104vw,420px);z-index:-2;display:block}
.close-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 40%;-webkit-mask:linear-gradient(180deg,#000 55%,transparent);mask:linear-gradient(180deg,#000 55%,transparent)}
.close::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(6,26,38,.2) 0,rgba(6,26,38,.35) 140px,rgba(6,26,38,.72) 260px,rgba(6,26,38,.88) 360px,var(--night) 440px)}
.close-grid{position:relative;padding-top:20px}
.close-mark{width:180px;aspect-ratio:1;position:relative;margin-bottom:6px}
.close-mark .lyrs{position:absolute;inset:0}
.close-mark .lyr{position:static;width:100%;height:100%;transform:none}
.close .h2{font-size:clamp(46px,15vw,140px)}
.close .addr{font-size:clamp(28px,9vw,52px)}
.close .btn{margin-top:22px}
.tagline{display:flex;align-items:center;flex-wrap:wrap;gap:.3em;margin-top:30px;font:700 15px/1 var(--disp);letter-spacing:.14em;text-transform:uppercase}
.tagline .living{height:2.6em;color:var(--ivory)}

.foot{background:var(--night);padding:30px 0 42px;font-size:14px;line-height:1.6}
.foot p + p{margin-top:8px}
.foot a{display:inline-flex;align-items:center;min-height:44px}
.foot-logo{display:block;width:min(100%,340px);height:auto;margin-bottom:18px}

/* ---------- desktop ---------- */
@media (min-width:768px){
  :root{--pad:40px;--head:72px}
  .nav{display:flex;gap:30px;margin-left:auto}
  .nav a{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;font:700 12px/1 var(--disp);letter-spacing:.14em;text-transform:uppercase;text-decoration:none;opacity:.82;transition:opacity .2s var(--soft)}
  .nav a::after{content:"";position:absolute;left:0;right:.14em;bottom:9px;height:2px;background:var(--yellow);transform:scaleX(0);transform-origin:left;transition:transform .25s var(--out)}
  .nav a:hover{opacity:1}.nav a:hover::after{transform:scaleX(1)}
  .nav-cta{display:inline-flex;margin:0 var(--pad) 0 28px}
  .menu-btn,.sheet{display:none!important}
  .tstrip{gap:28px}
  .tstrip li{padding-left:14px}
  .tstrip b{font-size:26px}.tstrip small{font-size:13px}
  .tstrip span{font-size:10px;letter-spacing:.18em;margin-top:8px}
  .hero-copy{max-width:640px}
  .hero-sub{font-size:17px;line-height:1.55}
  .hero-ctas{flex-direction:row;gap:12px}
  .hero-ctas .pill{width:auto;justify-content:center;min-height:56px}
  .visit{display:grid;grid-template-columns:58fr 42fr;align-items:start}
  .visit-photo{grid-column:1;grid-row:1;height:auto;max-height:none;margin-top:calc(var(--edge) * -1 - 8px)}
  .visit-photo img{height:auto;aspect-ratio:4/3;-webkit-mask:linear-gradient(90deg,#000 84%,transparent),linear-gradient(180deg,#000 78%,transparent);-webkit-mask-composite:source-in;
    mask:linear-gradient(90deg,#000 84%,transparent),linear-gradient(180deg,#000 78%,transparent);mask-composite:intersect}
  .visit-body{grid-row:1/3}
  .visit .room{grid-column:1;grid-row:2;align-self:start;justify-self:end;width:min(100%,720px);margin:10px 4vw 0 var(--pad);padding:0}
  .visit-body{grid-column:2;grid-row:1;margin:40px 0 0 -6vw;padding-right:var(--pad);max-width:620px}
  .visit .h2{font-size:clamp(56px,6.6vw,104px)}
  .btn-big{width:auto;padding:0 34px}
  .welcome .wrap{padding-top:60px}
  .pastor{display:grid;grid-template-columns:46fr 54fr;align-items:center;padding-bottom:0}
  .pastor-photo{grid-column:1;grid-row:1;margin:calc(var(--edge) * -1 - 8px) 0 -120px;z-index:2}
  .pastor-photo img{height:min(880px,104svh);object-fit:cover;object-position:50% 0;max-height:none;-webkit-mask:linear-gradient(90deg,transparent 0,#000 18%,#000 82%,transparent),linear-gradient(180deg,#000 80%,transparent);-webkit-mask-composite:source-in;
    mask:linear-gradient(90deg,transparent 0,#000 18%,#000 82%,transparent),linear-gradient(180deg,#000 80%,transparent);mask-composite:intersect}
  .pastor-body{grid-column:2;grid-row:1;margin:0;padding:60px var(--pad) 60px 0;max-width:680px}
  .heritage{padding:150px 0 90px}
  .heritage-photo{width:min(40vw,560px);margin:-60px 0 0 30px}
  .heritage-body{max-width:1240px}
  .heritage .body{max-width:34em}
  .then-now{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:70px}
  .then-now li:last-child{grid-column:auto}
  .band-track li{width:280px}
  .band-track{padding-left:max(var(--pad),calc((100vw - 1240px) / 2 + var(--pad)))}
  /* desktop: the whole family in one row across the content width (the four widths add up to 2.244 heights) */
  .standing{--fh:min(520px,calc((min(100vw,1240px) - 2 * var(--pad) - 54px) / 2.244))}
  .standing .band-track{gap:18px}
  .standing .band-track li{width:auto}
  .links .v{max-width:70%}
  .rows li.classes{align-items:center}
  .classes .k{padding-top:0}
  .classes .v{flex-direction:row;flex-wrap:wrap;justify-content:flex-end;gap:6px 26px}
  .watch .wrap{display:grid;grid-template-columns:1.25fr 1fr;column-gap:70px}
  .watch .h2{grid-column:1/-1}
  .watch .msgs,.watch .more{grid-column:1}
  .watch .give{grid-column:2;grid-row:2/4;margin-top:22px;padding:0 0 0 40px;border-top:0;border-left:1px solid var(--line)}
  .close-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:60px;align-items:center;padding-top:60px}
  .close-photo{height:37vw}
  .close-photo img{object-position:50% 45%;-webkit-mask:linear-gradient(180deg,#000 55%,transparent);mask:linear-gradient(180deg,#000 55%,transparent)}
  .close::before{background:linear-gradient(90deg,rgba(6,26,38,.1) 0%,rgba(6,26,38,.2) 40%,rgba(6,26,38,.8) 58%,rgba(6,26,38,.88) 100%)}
  .close-mark{width:100%;max-width:440px}
  .close .h2{font-size:clamp(52px,7.6vw,128px)}
  .close .addr{font-size:clamp(28px,3.4vw,52px)}
  .foot .wrap{display:flex;gap:30px;justify-content:space-between;flex-wrap:wrap;align-items:center}
  .foot p + p{margin-top:0}
  .foot-logo{width:420px;margin:0 calc(100% - 420px) 4px 0}
}
@media (min-width:1600px){.close-photo{height:min(37vw,700px)}}
/* desktop first screen: copy in the left 46%, the mark across the right 54%, its tail leaving the bottom edge */
@media (min-width:1024px){
  .top{padding-left:max(var(--pad),calc((100vw - 1240px) / 2 + var(--pad)))}
  .nav-cta{margin-right:max(var(--pad),calc((100vw - 1240px) / 2 + var(--pad)))}
  .hero{display:block;height:calc(100svh + var(--edge));min-height:calc(720px + var(--edge));padding:0}
  .mark{position:absolute;flex:none;margin:0;--mh:min(74svh,46vw,840px);height:var(--mh);width:calc(var(--mh) * 1.3);min-height:0;left:calc(max(76.5vw, max(var(--pad), (100vw - 1240px) / 2 + var(--pad)) + min(6.3vw, 100px) * 6 + 56px + var(--mh) * .616) - var(--mh) * .78);--ring:.76;top:calc((100% - var(--edge)) / 2 - var(--mh) * .5 + var(--mh) * .04)}
  .hero-copy{position:absolute;left:max(var(--pad),calc((100vw - 1240px) / 2 + var(--pad)));right:auto;top:var(--head);bottom:calc(var(--edge) + 76px);width:min(660px,47vw);max-width:none;padding:0;display:flex;flex-direction:column;justify-content:center}
  .hero-eyebrow{display:flex}
  .h1{font-size:clamp(62px,6.3vw,100px)}
  .hero-eyebrow span{white-space:nowrap}
  .hero-sub{max-width:460px}
  .hero-sub{margin:28px 0 30px;font-size:18px;line-height:1.6}
  .tstrip.hero-times{margin-top:40px}
  .hero-foot{position:absolute;margin:0;left:max(var(--pad),calc((100vw - 1240px) / 2 + var(--pad)));right:max(var(--pad),calc((100vw - 1240px) / 2 + var(--pad)));bottom:calc(var(--edge) + 22px);padding:0;height:62px;justify-content:flex-end}
  .cue{position:absolute;left:50%;bottom:0;transform:translateX(-50%);flex-direction:column;gap:12px;padding:6px 10px 0}
  .cue i{height:46px}
  .tip{align-self:flex-end;margin-bottom:-6px}
  .gl-on .hint{display:block;align-self:flex-end;margin:0 26px 11px 0}
}
@media (min-width:1024px) and (max-width:1199px){.hero-eyebrow{font-size:11px;letter-spacing:.12em}}
/* your first Sunday, desktop: the whole rainbow, its right foot included (the copy column no longer overlaps the picture) */
@media (min-width:1024px){
  .visit-body{margin-left:0}
  .visit-photo img{-webkit-mask:linear-gradient(90deg,#000 94%,transparent),linear-gradient(180deg,#000 80%,transparent);-webkit-mask-composite:source-in;
    mask:linear-gradient(90deg,#000 94%,transparent),linear-gradient(180deg,#000 80%,transparent);mask-composite:intersect}
}
@media (min-width:768px) and (max-width:1023px){
  .hero-copy{max-width:720px}
  .h1{font-size:min(12vw,104px)}
}

/* the narrowest phones: the first-Sunday times strip on one row */
@media (max-width:374px){.visit-times{gap:9px}.visit-times b{font-size:20px}.visit-times small{font-size:10px}.visit-times span{font-size:8.5px;letter-spacing:.07em}}

/* reduced motion: the finished still page */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js [data-acc]:not(.on){color:inherit;-webkit-text-stroke:0}
  .js .acc[data-acc]{color:var(--yellow)}
  .js .acc-ink[data-acc]{color:var(--yink)}
  .js .band-track{transition:none}
  .btn{transition:none}
}
@media (prefers-reduced-motion: reduce){.gl-on .hint{display:none}}

/* ---------- round 3 (Aaron, 2026-11-07) ---------- */
/* your first Sunday: the graded photo runs on under the copy column and sinks into the night (no hard edge) */
.visit-photo img{-webkit-mask:linear-gradient(180deg,#000 0%,#000 58%,rgba(0,0,0,.5) 80%,transparent 100%);mask:linear-gradient(180deg,#000 0%,#000 58%,rgba(0,0,0,.5) 80%,transparent 100%)}
@media (min-width:768px){
  .visit-photo{z-index:0;margin-right:-10vw}
  .visit-body{z-index:1}
  .visit-photo img{-webkit-mask:linear-gradient(90deg,#000 50%,rgba(0,0,0,.78) 64%,rgba(0,0,0,.36) 80%,rgba(0,0,0,.1) 90%,transparent 100%),linear-gradient(180deg,#000 62%,rgba(0,0,0,.55) 82%,transparent 100%);-webkit-mask-composite:source-in;
    mask:linear-gradient(90deg,#000 50%,rgba(0,0,0,.78) 64%,rgba(0,0,0,.36) 80%,rgba(0,0,0,.1) 90%,transparent 100%),linear-gradient(180deg,#000 62%,rgba(0,0,0,.55) 82%,transparent 100%);mask-composite:intersect}
  .visit-body .h2,.visit-body .addr{text-shadow:0 2px 28px rgba(6,26,38,.7)}
}

/* directions: Apple Maps, Google Maps, Waze (as in the MVMNT app) */
.dirs{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:22px 0 4px}
.dirs-k{flex-basis:100%;font:600 12px/1.3 var(--body);letter-spacing:.18em;text-transform:uppercase;opacity:.92}
.dirs .pill{padding:0 18px}
button.pill{border:0;cursor:pointer}
.pill-o{background:transparent;color:var(--ivory);box-shadow:inset 0 0 0 1px var(--line)}

/* let us know you are coming */
.coming{position:relative;margin-top:64px}
@media (min-width:768px){.visit .coming{grid-column:1/-1;grid-row:3;margin-top:80px}}
.coming-h{margin:0;font:700 clamp(34px,9vw,80px)/1 var(--disp);letter-spacing:-.02em;text-wrap:balance}
.coming-p{margin-top:16px;font-size:17px;max-width:38em}
.rsvp{margin-top:26px;max-width:900px}
.rsvp[hidden],.conf[hidden]{display:none}
.svc{display:grid;grid-template-columns:1fr;gap:10px;border:0;margin:0;padding:0;min-width:0}
@media (min-width:600px){.svc{grid-template-columns:repeat(3,minmax(0,1fr))}}
.svc label{position:relative;display:block;cursor:pointer}
.svc input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.svc label>span{display:grid;grid-template-columns:1fr auto;gap:6px 10px;min-height:64px;padding:16px 18px;border-radius:16px;box-shadow:inset 0 0 0 1px var(--line);transition:box-shadow .2s var(--soft),background-color .2s var(--soft)}
.svc b{font:700 16px/1.2 var(--disp)}
.svc i{font:700 16px/1.2 var(--disp);font-style:normal;color:var(--yellow);text-align:right;white-space:nowrap}
.svc em{grid-column:1/-1;font-style:normal;font-size:14px;opacity:.86}
.svc em:empty{display:none}
.svc input:checked+span{background:rgba(252,223,85,.08);box-shadow:inset 0 0 0 2px var(--yellow)}
.svc input:focus-visible+span{outline:3px solid var(--yellow);outline-offset:3px}
.coming-btn{margin-top:16px;max-width:440px}
.more{margin-top:20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.more summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;cursor:pointer;list-style:none;font:600 13px/1.3 var(--body);letter-spacing:.14em;text-transform:uppercase}
.more summary::-webkit-details-marker{display:none}
.more summary::after{content:"+";font:700 20px/1 var(--disp);color:var(--yellow)}
.more[open] summary::after{content:"\2212"}
.more summary span{margin-left:auto;opacity:.7;letter-spacing:.1em}
.more-in{display:grid;grid-template-columns:1fr;gap:18px;padding:6px 0 22px}
@media (min-width:600px){.more-in{grid-template-columns:1fr 1fr}.more-in .wide{grid-column:1/-1}}
.f>span{display:block;margin-bottom:8px;font-size:15px;opacity:.92}
.f input:not([type=checkbox]){width:100%;min-height:50px;padding:0 14px;border:0;border-radius:12px;box-shadow:inset 0 0 0 1px var(--line);background:rgba(244,247,248,.05);color:var(--ivory);font:400 17px var(--body)}
.f input::placeholder{color:rgba(244,247,248,.55)}
.step{display:inline-flex;align-items:center;gap:8px}
.step button,.kid button,.kid-add{min-width:48px;min-height:48px;border:0;border-radius:999px;box-shadow:inset 0 0 0 1px var(--line);background:transparent;color:var(--ivory);font:700 20px/1 var(--disp);cursor:pointer}
.step output{min-width:36px;text-align:center;font:700 22px/1 var(--disp)}
.kids{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.kid{display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:2px 2px 2px 14px;border-radius:999px;box-shadow:inset 0 0 0 1px var(--line)}
.kid select{-webkit-appearance:none;appearance:none;min-height:44px;padding:0 22px 0 4px;border:0;border-radius:0;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23FCDF55' stroke-width='2'/%3E%3C/svg%3E") right 4px center/12px 8px no-repeat;color:var(--ivory);font:600 16px var(--body);cursor:pointer}
.kid select option{color:#061A26}
.kid .cl{font-size:14px;color:var(--yellow);white-space:nowrap}
.kid button{min-width:44px;min-height:44px;font-size:16px}
.kid-add{padding:0 20px;font:600 13px/1 var(--body);letter-spacing:.1em;text-transform:uppercase}
.chk{display:flex;align-items:center;gap:12px;min-height:48px;font-size:16px;cursor:pointer}
.chk input{width:22px;height:22px;margin:0;accent-color:var(--yellow)}
.conf{margin-top:26px;max-width:900px;padding:26px 24px 24px;border-radius:20px;background:rgba(252,223,85,.07);box-shadow:inset 0 0 0 2px var(--yellow)}
.conf:focus{outline:none}
.conf-h{margin:0;font:700 clamp(30px,7.4vw,56px)/1.02 var(--disp);letter-spacing:-.02em}
.conf-list{margin-top:16px}
.conf-list li{padding:10px 0;border-top:1px solid var(--line);font-size:17px}
.conf-list li b{font-weight:600}
.conf-note{margin-top:14px;font-size:14px}
.conf-act{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}

/* our heritage: the same aisle through the years. Without the script (and with reduced motion) the three stand in a row;
   with it they are one frame pinned while the page scrolls, and each era opens out of the one before from the cross. */
@supports (overflow:clip){.heritage{overflow:clip}}
.aisle{clear:both;position:relative;margin-top:44px}
.aisle-k{font:600 12px/1.3 var(--body);letter-spacing:.18em;text-transform:uppercase;opacity:.92}
.aisle-frame{display:grid;grid-template-columns:1fr;gap:16px;margin-top:14px}
@media (min-width:768px){.aisle-frame{grid-template-columns:repeat(3,minmax(0,1fr))}}
.aisle-frame img{width:100%;height:auto}
.aisle-frame .era span{display:block;margin-top:8px;font:600 11px/1.3 var(--body);letter-spacing:.16em;text-transform:uppercase;opacity:.92}
.aisle-nav{display:none}
.aisle.on{height:300svh}
.aisle.on .aisle-stage{position:sticky;top:calc(var(--head) + 14px)}
.aisle.on .aisle-frame{display:block;position:relative;width:min(100%,calc((100svh - var(--head) - 150px) * 16 / 9));aspect-ratio:16/9;margin:14px auto 0;overflow:hidden;border-radius:6px;background:#0b1d27;box-shadow:0 30px 80px rgba(6,26,38,.5)}
.aisle.on .era{position:absolute;inset:0}
.aisle.on .era picture,.aisle.on .era img{display:block;width:100%;height:100%}
.aisle.on .era img{object-fit:cover;transform-origin:50.4% 23%;will-change:transform}
.aisle.on .era+.era{visibility:hidden}
.aisle.on .era span{position:absolute;left:0;right:0;bottom:0;margin:0;padding:40px 18px 14px;font-size:12px;background:linear-gradient(180deg,transparent,rgba(6,26,38,.72));opacity:0;transition:opacity .4s var(--soft)}
.aisle.on .era.cur span{opacity:1}
.aisle.on .aisle-nav{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:14px}
.aisle-nav button{min-height:44px;padding:0 18px;border:0;border-radius:999px;background:transparent;color:var(--ivory);box-shadow:inset 0 0 0 1px var(--line);font:600 12px/1 var(--body);letter-spacing:.14em;text-transform:uppercase;cursor:pointer;transition:background-color .25s var(--soft),color .25s var(--soft),box-shadow .25s var(--soft)}
.aisle-nav button[aria-pressed=true]{background:var(--yellow);color:var(--night);box-shadow:none}
@media (max-width:767px){
  .aisle.on{height:260svh}
  .aisle.on .aisle-frame{aspect-ratio:4/5;width:min(100%,calc((100svh - var(--head) - 150px) * 4 / 5))}
  .aisle.on .era img{transform-origin:50% 23%}
}
@media (max-width:767px){.aisle-nav button{min-height:44px;padding:0 12px;font-size:10.5px;letter-spacing:.1em}.aisle.on .aisle-nav{gap:6px;flex-wrap:nowrap}}

/* the welcome, rewritten (round 3): a hook, the invitation, the close, one way in */
.welcome-body{margin-top:22px;max-width:32em;font:400 clamp(18px,4.6vw,24px)/1.55 var(--body)}
.welcome-close{margin-top:24px;font:700 clamp(28px,7.6vw,60px)/1.08 var(--disp);letter-spacing:-.015em;max-width:16em;text-wrap:balance}
.pill-d{background:var(--deep);color:var(--ivory);box-shadow:0 12px 30px rgba(10,42,60,.22)}
.welcome-cta{margin-top:28px;min-height:54px}

/* the verse comes to life (round 3) */
.rivers{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:0}
.verse .wrap{z-index:1}
.verse{padding-bottom:calc(var(--edge) + 150px)}
.rv{fill:none;stroke:url(#rvg);stroke-linecap:round;transition:stroke-dashoffset 2.6s cubic-bezier(.45,.05,.25,1)}
.rg{fill:none;stroke:#F4F7F8;stroke-linecap:round;stroke-dasharray:2 34;opacity:0;animation:rglint 3s linear infinite;animation-play-state:paused;transition:opacity 1.2s var(--soft) 1.6s}
.verse.poured .rg{opacity:.55}
.verse.run .rg{animation-play-state:running}
.verse.still .rg{animation:none;opacity:.4}
@keyframes rglint{to{stroke-dashoffset:-72}}
.vw{transition:opacity .25s linear}
.verse.alive .acc.on,.verse.still .acc{background:linear-gradient(100deg,#FCDF55 0%,#FCDF55 38%,#FFF6C4 46%,#BFE6F7 50%,#FCDF55 58%,#FCDF55 100%) 0 0/260% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-stroke:0}
.verse.alive.run .acc.on{animation:shine 5.5s linear infinite}
@keyframes shine{from{background-position:100% 0}to{background-position:-160% 0}}
.verse.still .acc{background:none;color:var(--yellow)}
.rglow{opacity:.5}
.rh{stroke:#1C98D4}

/* the verse, level 2 (verse.js): the verse is the source of a river. The canvas lies under the words; with motion the
   section is taller than the screen and its stage holds (sticky) while the pour runs, then lets go. Reduced motion: the
   finished still frame in the page's flow. No WebGL: the streams above. No JS: the plain verse. */
.verse-gl{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:0;opacity:0;transition:opacity .5s var(--soft)}
.verse.gl .verse-gl{opacity:1}
.verse.gl .rivers{display:none}
.verse.pin{height:180vh;height:calc(100lvh + 80svh);padding:0;overflow:visible}
/* while the stage holds, the section's top edge is off screen: its mask is dropped (a mask over a live canvas is a
   per-frame cost in a software compositor) */
.verse.pin.held{-webkit-mask:none;mask:none}
.verse.pin .verse-stage{position:sticky;top:0;height:100vh;height:100lvh;overflow:hidden;touch-action:pan-y pinch-zoom}
.verse.pin .wrap{padding-top:calc(var(--head) + clamp(28px,6svh,72px))}
.verse.still{padding-bottom:calc(var(--edge) + 250px)}

/* the founders stand on the section's own ground (round 3: background removed, like the church family) */
.heritage-photo.cut img{-webkit-mask:linear-gradient(180deg,#000 66%,rgba(0,0,0,.55) 82%,transparent 98%);mask:linear-gradient(180deg,#000 66%,rgba(0,0,0,.55) 82%,transparent 98%)}
@media (max-width:767px){.heritage-photo.cut{float:none;width:min(88vw,420px);margin:4px auto 0}}

/* prayer nights (Aaron, 2026-11-07): first Monday family, third Monday ladies; the next date fills in */
.monthly{display:grid;gap:10px;margin-top:22px;max-width:560px}
.monthly li{display:grid;grid-template-columns:1fr auto;gap:2px 14px;padding:12px 0 12px 16px;border-left:2px solid var(--yellow)}
.monthly b{font:700 17px/1.25 var(--disp)}
.monthly span{grid-column:1;font-size:15px;opacity:.9}
.monthly em{grid-column:2;grid-row:1/3;align-self:center;font-style:normal;font:600 12px/1.3 var(--body);letter-spacing:.12em;text-transform:uppercase;color:var(--yellow);text-align:right}
.monthly em:empty{display:none}
@media (max-width:374px){.welcome-cta{padding:0 16px;gap:10px;font-size:11px;letter-spacing:.06em}}

/* ---------- layout preview (Aaron, Nov 8): directions up top, one featured message, Sunday School by Visit (the
   heritage stack for the phone is in heritage-wall.css) ---------- */
/* where, right under when: the address and Get directions as one link to Google Maps, set like a fourth time */
.hero-where{display:flex;flex-direction:column;justify-content:center;gap:7px;width:fit-content;max-width:100%;min-height:44px;margin:14px 0 0;padding:2px 0 2px 10px;border-left:2px solid rgba(244,247,248,.18);color:var(--ivory);text-decoration:none}
.hero-where b{font:700 17px/1.1 var(--disp);letter-spacing:-.01em}
.hero-where > span{display:inline-flex;align-items:center;gap:10px;font:600 11px/1.2 var(--body);letter-spacing:.14em;text-transform:uppercase;color:var(--sky)}
.hero-where .ar{transition:transform .2s var(--out)}
.hero-where:hover .ar{transform:translateX(4px)}
.hero-where:hover > span{color:var(--ivory)}
@media (max-width:374px){.hero-where{padding-left:7px;margin-top:12px}.hero-where b{font-size:15px}.hero-where > span{font-size:10px;letter-spacing:.1em}}
@media (prefers-reduced-motion:no-preference){.js .hero-where{animation:fadeup .9s var(--out) 1.15s both}}
@media (min-width:768px){.hero-where{padding-left:14px}.hero-where b{font-size:20px}}
/* desktop: one line, and only where the copy column has the room (shorter screens keep the hero as it was) */
@media (min-width:1024px){
  .hero-where{flex-direction:row;flex-wrap:wrap;align-content:center;align-items:baseline;gap:18px;margin-top:26px}
  .hero-where b{font-size:20px}
}
@media (min-width:1024px) and (max-height:859px){.hero-where{display:none}}

/* the aisle on the phone: one square frame and the three era buttons, no scroll hold (site.js .cmp; desktop keeps .on) */
@media (max-width:767px){
  .aisle.cmp{margin-top:24px}
  .aisle.cmp .aisle-frame{display:block;position:relative;width:100%;max-width:440px;aspect-ratio:1;margin:10px auto 0;overflow:hidden;border-radius:6px;background:#0b1d27;box-shadow:0 30px 80px rgba(6,26,38,.5)}
  .aisle.cmp .era{position:absolute;inset:0;visibility:hidden}
  .aisle.cmp .era.cur{visibility:visible;z-index:1}
  .aisle.cmp .era.in{visibility:visible;z-index:2}
  .aisle.cmp .era picture,.aisle.cmp .era img{display:block;width:100%;height:100%}
  .aisle.cmp .era img{object-fit:cover;object-position:50% 40%;transform-origin:50% 18.75%;will-change:transform}
  .aisle.cmp .era span{position:absolute;left:0;right:0;bottom:0;margin:0;padding:40px 16px 13px;font-size:12px;background:linear-gradient(180deg,transparent,rgba(6,26,38,.72));opacity:0;transition:opacity .4s var(--soft)}
  .aisle.cmp .era.cur span{opacity:1}
  .aisle.cmp .aisle-nav{display:flex;justify-content:center;flex-wrap:nowrap;gap:6px;margin-top:10px}
}

/* Sunday School, now in Your first Sunday under the times (the row as it was in the family links, Aaron Nov 7) */
.visit .school{margin-top:24px;max-width:560px}
@media (min-width:768px){.visit .school .k{white-space:nowrap}.visit .school .classes .v{display:grid;grid-template-columns:repeat(2,auto);justify-content:end;justify-items:end;gap:6px 26px}}

/* Recent messages: the newest stands as a still with its Play; the other two stay as rows. The still is fetched at build
   time (_build/stills.py), so nothing on the page asks YouTube for anything until the visitor taps. */
.msgs li.msg-feat{display:block;min-height:0;padding:0 0 22px;border-top:0}
.msgs li.msg-feat > a{display:block;margin:0;padding:0;text-decoration:none}
.msg-still{position:relative;display:block;margin:0 calc(var(--pad) * -1) 40px}
.msg-still img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;-webkit-mask:linear-gradient(180deg,transparent,#000 7%,#000 72%,transparent);mask:linear-gradient(180deg,transparent,#000 7%,#000 72%,transparent)}
.msg-play{position:absolute;left:var(--pad);bottom:-24px;display:inline-flex;align-items:center;gap:12px;min-height:48px;padding:0 24px 0 20px;border-radius:999px;background:var(--yellow);color:var(--night);font:700 13px/1 var(--disp);letter-spacing:.1em;text-transform:uppercase;box-shadow:0 10px 30px rgba(252,223,85,.22);transition:transform .2s var(--out)}
.msg-play svg{width:13px;height:13px}
.msg-feat a:hover .msg-play{transform:translateY(-2px)}
.msgs .msg-feat .t{display:block;font:700 clamp(26px,7.4vw,40px)/1.1 var(--disp);letter-spacing:-.015em}
.msgs .msg-feat .m{display:block;margin-top:8px;font-size:15px}
@media (min-width:768px){
  .msg-still{margin:0 0 42px}.msg-play{left:0}
  .msg-still img{-webkit-mask:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent),linear-gradient(180deg,transparent,#000 7%,#000 74%,transparent);-webkit-mask-composite:source-in;
    mask:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent),linear-gradient(180deg,transparent,#000 7%,#000 74%,transparent);mask-composite:intersect}
}
@media (prefers-reduced-motion:reduce){.msg-play,.hero-where .ar{transition:none}}

/* Family section: Bible study + prayer action cards (Aaron 2026-11-09: make them obviously clickable) */
.family-ctas{display:grid;grid-template-columns:1fr;gap:14px;margin-top:28px}
@media (min-width:768px){.family-ctas{grid-template-columns:1fr 1fr;gap:20px}}
.fcta{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:24px 22px 22px;border:1px solid rgba(252,223,85,.5);border-radius:18px;background:rgba(6,26,38,.6);color:var(--ivory);text-decoration:none;transition:transform .2s ease,border-color .2s ease,background-color .2s ease}
.fcta:hover,.fcta:focus-visible{transform:translateY(-3px);border-color:var(--yellow);background:rgba(6,26,38,.78)}
.fcta:focus-visible{outline:2px solid var(--yellow);outline-offset:3px}
.fcta-ic{display:block;width:38px;height:38px;color:var(--yellow)}
.fcta-ic svg{display:block;width:100%;height:100%}
.fcta-t{font-family:var(--disp);font-weight:700;font-size:22px;line-height:1.2;color:var(--ivory)}
.fcta-s{font-size:15px;line-height:1.5;color:var(--ivory);opacity:.86}
.fcta-b{display:inline-flex;align-items:center;gap:10px;min-height:48px;margin-top:10px;padding:0 22px;border-radius:999px;background:var(--yellow);color:var(--night);font-family:var(--disp);font-weight:700;font-size:13px;line-height:1;letter-spacing:.08em;text-transform:uppercase}
@media (prefers-reduced-motion:reduce){.fcta{transition:none}.fcta:hover{transform:none}}
