/* ChristPoint Community Church — design system v7 "Morning Light" (light-mode Stripe)
   Editorial dark-luminous + warm-white alternation. One confident accent:
   the logo's own teal, luminous on black and white; flowing shader gradient
   in the hero (Stripe-class). High contrast throughout.
   Type: Archivo Black display · Montserrat body (the church's own faces). */

:root{
  --ink0:#0B0F0E;          /* page-dark ground */
  --ink1:#131817;          /* raised dark */
  --ink2:#1B2220;
  --paper:#FBF7EF;         /* warm-white body ground */
  --paper2:#F4EFE4;        /* alt tint */
  --white:#FFFFFF;
  --tx-dark:#1A201F;       /* text on light */
  --tx-dark2:#5F6A67;
  --tx-light:#F5F7F4;      /* text on dark */
  --tx-light2:#A9B4AD;
  --amber:#037D7D;         /* accent: luminous brand teal (var names kept from v4) */
  --amber-deep:#0B7E76;    /* brand teal for light grounds */
  --amber-ink:#FFFFFF;     /* WHITE on the deep teal: 4.96:1. The old bright
                            teal took dark ink; the deep one cannot. */
  --aqua:#9BEDE4;         /* dark-ground accent only - 5.92:1 on the vein */
  --vein:#463526;         /* WARM umber dark. Bars and footers, never a page. Was
                             the grey-green #4A534E - that was the grey he saw. */          /* glow-only */
  --line-l:#E6DED0;
  --radius:16px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Plus Jakarta Sans',system-ui,sans-serif;background:var(--paper);color:var(--tx-dark);line-height:1.65;font-size:16.5px}
img{max-width:100%;display:block}
a{color:var(--amber-deep);text-decoration-thickness:1px;text-underline-offset:3px}
.wrap{max-width:1080px;margin:0 auto;padding:0 24px}

/* Sample ribbon */
.sample-ribbon{background:#EFEDE5;color:#57615C;font-size:12px;text-align:center;padding:7px 14px;letter-spacing:.02em}
.sample-ribbon b{color:var(--amber-deep)}

/* Header — dark, continuous with the hero */
header.site{background:rgba(255,255,255,.94);backdrop-filter:blur(8px);border-bottom:1px solid #E9E6DC;position:sticky;top:0;z-index:50}
.nav{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:18px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--tx-dark)}
.brand img{height:44px;width:auto}
.brand .n{font-family:'Lora',Georgia,serif;font-weight:700;font-size:19px;line-height:1.15;color:var(--tx-dark)}
.brand .n span{display:block;font-family:'Plus Jakarta Sans',sans-serif;font-weight:500;font-size:11px;letter-spacing:.16em;color:var(--tx-dark2);text-transform:uppercase}
nav.links{display:flex;gap:26px;align-items:center}
nav.links a{text-decoration:none;color:var(--tx-dark2);font-weight:600;font-size:15px}
nav.links a:hover{color:var(--tx-dark)}
nav.links a.active{color:var(--amber-deep);font-weight:700}
nav.links a.cta{background:var(--amber-deep);color:#fff;padding:11px 22px;border-radius:26px;font-weight:700}
nav.links a.cta:hover{background:#096B64}
.nav-toggle{display:none;background:none;border:1px solid #D8D4C8;border-radius:8px;padding:8px 12px;font-size:18px;color:var(--tx-dark)}
@media(max-width:840px){
  nav.links{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;padding:18px 24px;gap:16px;border-bottom:1px solid #E9E6DC;align-items:flex-start}
  nav.links.open{display:flex}
  .nav-toggle{display:block}
}

/* Hero — near-black, luminous */
.hero{color:var(--tx-dark);background:linear-gradient(140deg,#F4FBF8,#DFF3EE 60%,#CDEDE5);padding:64px 0 104px;position:relative;overflow:hidden}
/* ONLY the home hero fills the viewport. Scoping this to .with-photo was
   missing at first, so every subpage hero stretched to full height too. */
.hero.with-photo{min-height:var(--hero-fill,74vh);display:flex;align-items:center}
.hero.with-photo{color:#14201C;background:url('/assets/photos/cpcc-img-1304.jpg') center 30%/cover no-repeat #DFF3EE}  /* static fallback; video covers when present */
.hero.with-photo video.hero-layer{object-fit:cover;object-position:center 30%;filter:brightness(1.05) saturate(.88)}
.hero.with-photo::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:
  linear-gradient(to bottom, rgba(255,255,255,.92), transparent 14%),
  linear-gradient(to top, rgba(250,252,251,.88), transparent 20%)}
.hero-scrim{background:linear-gradient(100deg, rgba(250,252,251,.95) 0%, rgba(250,252,251,.78) 44%, rgba(250,252,251,.30) 74%, rgba(250,252,251,.12) 100%)}
.hero.with-photo h1{color:#111C18}
.hero.with-photo p.lead{color:#33443F;background:rgba(252,253,252,.74);backdrop-filter:blur(5px);border-radius:14px;padding:16px 20px;box-shadow:0 4px 22px rgba(20,35,30,.07);max-width:56ch}
.hero.with-photo .kicker{color:#0B7E76}
.hero.with-photo .btn.primary{background:#0B7E76;color:#FFFFFF;box-shadow:0 8px 30px rgba(8,80,74,.25)}
.hero.with-photo .btn.primary:hover{background:#096B64}
.hero.with-photo .btn.ghost{border:1.5px solid #8FA9A2;color:#1C2C27}
.hero.with-photo .time-chip{background:rgba(255,255,255,.92);border:1px solid rgba(230,238,234,.9);color:#14332E}
.hero.with-photo .time-chip b{color:#0B7E76}
.hero::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 90% 60% at 78% 18%, rgba(255,255,255,.16), transparent 60%);pointer-events:none}
.hero .kicker{font-size:12.5px;letter-spacing:.26em;text-transform:uppercase;color:var(--amber-deep);font-weight:700;margin-bottom:18px}
.hero h1{font-family:'Lora',Georgia,serif;font-weight:700;font-size:clamp(36px,5.6vw,60px);line-height:1.08;max-width:18ch;letter-spacing:-.01em}
.hero p.lead{margin-top:20px;font-size:19px;max-width:54ch;color:#42544F}
.hero .cta-row{margin-top:34px;display:flex;gap:14px;flex-wrap:wrap}
.btn{display:inline-block;text-decoration:none;font-weight:700;border-radius:30px;padding:14px 30px;font-size:15.5px;transition:transform .25s ease,box-shadow .25s ease,background .25s ease}
.btn.primary{background:var(--amber);color:var(--amber-ink);box-shadow:0 6px 28px rgba(3,125,125,.26)}
.btn.primary:hover{background:#2BD9C7;transform:translateY(-2px)}
.btn.ghost{border:1.5px solid #9DB5AE;color:var(--tx-dark)}
.btn.ghost:hover{background:rgba(11,126,118,.07)}
.times{margin-top:44px;display:flex;gap:12px;flex-wrap:wrap}
.time-chip{background:#FFFFFF;border:1px solid #E2ECE7;border-radius:14px;padding:12px 20px;font-size:14.5px;color:var(--tx-dark);box-shadow:0 4px 18px rgba(20,40,35,.07)}
.time-chip b{display:block;font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--amber-deep);margin-bottom:3px}

/* The 50% band — high-voltage amber */
.band{background:linear-gradient(110deg,#065D56,#0C837A,#065D56);background-size:200% 100%;animation:bandflow 10s linear infinite;color:#FFFFFF;padding:30px 0}
.band .wrap{display:flex;align-items:center;gap:22px;flex-wrap:wrap;justify-content:center;text-align:center}
.band .big{font-family:'Lora',Georgia,serif;font-weight:700;font-size:44px;line-height:1}
.band p{font-size:16.5px;font-weight:600;max-width:60ch;color:#FFFFFF}
@keyframes bandflow{to{background-position:200% 0}}

/* Sections — warm-white editorial */
section.sec{padding:72px 0}
section.sec.alt{background:var(--white)}
.eyebrow{font-size:12.5px;letter-spacing:.22em;text-transform:uppercase;color:var(--amber-deep);font-weight:700;margin-bottom:10px}
h2{font-family:'Lora',Georgia,serif;font-weight:700;font-size:clamp(27px,3.8vw,38px);color:var(--tx-dark);line-height:1.15;margin-bottom:14px;letter-spacing:-.01em}
h3{font-family:'Plus Jakarta Sans',sans-serif;font-weight:700;font-size:19px;color:var(--tx-dark);margin:18px 0 8px}
p{margin:10px 0;color:var(--tx-dark2)}
p.strong, li.strong{color:var(--tx-dark)}
.two-col{display:grid;grid-template-columns:1.1fr .9fr;gap:46px;align-items:start}
@media(max-width:840px){.two-col{grid-template-columns:1fr}}

/* Cards — clean white, soft depth */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px;margin-top:26px}
.card{background:var(--white);border:1px solid var(--line-l);border-radius:var(--radius);padding:26px;box-shadow:0 2px 14px rgba(20,26,23,.05)}
section.sec.alt .card{background:var(--paper)}
.card .when{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--amber-deep);font-weight:700}
.card h3{margin-top:6px}
.card p{font-size:14.5px}

/* Story timeline */
.story{border-left:3px solid var(--tx-dark);padding-left:26px;margin-top:18px}
.story .step{margin-bottom:24px;position:relative}
.story .step::before{content:"";position:absolute;left:-33px;top:6px;width:11px;height:11px;border-radius:50%;background:var(--amber);border:2.5px solid var(--paper);box-shadow:0 0 0 2px rgba(2,94,94,.28)}
.story .step h3{margin:0 0 4px}
.story .step p{margin:0;font-size:15px}

/* Verse */
.verse{background:var(--paper2);border-radius:var(--radius);padding:28px 32px;margin-top:28px;border-left:4px solid var(--amber)}
.verse p{font-family:'Lora',Georgia,serif;font-weight:600;font-size:18.5px;color:var(--tx-dark);font-style:italic;margin:0}
.verse cite{display:block;margin-top:10px;font-size:13.5px;color:var(--tx-dark2);font-style:normal;letter-spacing:.06em}

/* Roof progress */
.roof{background:var(--white);border:1px solid var(--line-l);border-radius:var(--radius);padding:28px;margin-top:24px;box-shadow:0 2px 14px rgba(20,26,23,.05)}
.progress{height:16px;background:#EDEAE0;border-radius:10px;overflow:hidden;margin:16px 0 8px}
.progress .fill{height:100%;width:50%;transition:width 1s ease;background:linear-gradient(90deg,var(--amber-deep),var(--amber));border-radius:10px;position:relative;overflow:hidden}
.progress .fill::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.45) 50%,transparent 70%);animation:shine 2.8s ease-in-out infinite}
.progress-label{display:flex;justify-content:space-between;font-size:13.5px;color:var(--tx-dark2)}
@keyframes shine{0%{transform:translateX(-100%)}60%,100%{transform:translateX(100%)}}

/* Forms (static in preview) */
.form-grid{display:grid;gap:14px;margin-top:18px;max-width:520px}
.form-grid label{font-size:13.5px;font-weight:600;color:var(--tx-dark)}
.form-grid input,.form-grid textarea,.form-grid select{width:100%;padding:12px 14px;border:1px solid #DDD9CC;border-radius:10px;font-family:inherit;font-size:15px;background:var(--white)}
.form-note{font-size:13px;color:var(--tx-dark2);background:var(--paper2);border-radius:10px;padding:12px 16px;margin-top:12px}

/* Map + contact */
.map-frame{border:0;width:100%;height:340px;border-radius:var(--radius)}
.contact-block{font-size:15.5px}
.contact-block b{color:var(--tx-dark)}

/* Footer — return to dark */
footer.site{background:#F1EFE7;border-top:1px solid #E5E2D6;color:var(--tx-dark2);padding:52px 0 36px;margin-top:76px}
footer.site .cols{display:grid;grid-template-columns:2fr 1fr 1fr;gap:36px}
@media(max-width:760px){footer.site .cols{grid-template-columns:1fr}}
footer.site h4{font-family:'Archivo Black',sans-serif;color:var(--tx-dark);font-size:15px;margin-bottom:12px}
footer.site a{color:#39544D}
footer.site ul{list-style:none}
footer.site li{margin:7px 0;font-size:14.5px}
footer.site .fine{margin-top:36px;padding-top:18px;border-top:1px solid #E0DCCE;font-size:12.5px;color:#8A948C;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}

/* Photos */
.photo{border-radius:var(--radius);border:1px solid var(--line-l);width:100%;object-fit:cover;display:block;box-shadow:0 10px 34px rgba(20,26,23,.10)}
.photo.tall{height:420px;object-position:center 30%}
.photo.wide{height:260px;margin-top:26px}
.team{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin-top:26px}
.team .member{background:var(--white);border:1px solid var(--line-l);border-radius:var(--radius);overflow:hidden;box-shadow:0 2px 14px rgba(20,26,23,.05)}
section.sec.alt .team .member{background:var(--paper)}
.team .member img{width:100%;height:230px;object-fit:cover;object-position:center 20%}
.team .member .avatar-fallback{width:100%;height:230px;display:flex;align-items:center;justify-content:center;background:var(--paper2);font-family:'Archivo Black',sans-serif;font-size:48px;color:var(--amber-deep)}
.team .member .info{padding:16px 18px}
.team .member .info b{display:block;color:var(--tx-dark);font-size:15.5px}
.team .member .info span{font-size:13px;color:var(--tx-dark2)}

/* ===== Motion system (progressive enhancement; reduced-motion safe) ===== */
.hero-layer{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.hero .wrap{position:relative;z-index:2;width:100%}


.reveal{opacity:0;transform:translateY(20px);transition:opacity .7s ease,transform .7s ease}
.reveal.in{opacity:1;transform:none}
.card,.time-chip,.team .member{transition:transform .35s ease,box-shadow .35s ease}
.card:hover,.team .member:hover{box-shadow:0 18px 44px rgba(20,26,23,.13)}
@media(prefers-reduced-motion:reduce){
  .band{animation:none}
  .progress .fill::after{display:none}
  .reveal{opacity:1;transform:none;transition:none}
  .card,.time-chip,.team .member{transition:none}
  .btn{transition:none}
}

/* Accessibility */
:focus-visible{outline:3px solid var(--amber);outline-offset:2px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.skip{position:absolute;left:-9999px;top:0;background:var(--amber);color:var(--amber-ink);padding:10px 18px;border-radius:0 0 10px 0;z-index:100}
.skip:focus{left:0}

/* Invitation film — the one deliberate dark moment in the light site */
.sec.invite{background:radial-gradient(120% 90% at 18% 12%, rgba(0,0,0,.10) 0%, transparent 58%),radial-gradient(100% 80% at 88% 78%, rgba(0,0,0,.09) 0%, transparent 62%),linear-gradient(107deg, transparent 12%, rgba(0,0,0,.13) 19%, rgba(0,0,0,.05) 23%, transparent 30%),linear-gradient(122deg, transparent 40%, rgba(0,0,0,.11) 47%, transparent 55%),linear-gradient(96deg, transparent 63%, rgba(0,0,0,.09) 69%, rgba(0,0,0,.03) 73%, transparent 79%),linear-gradient(133deg, transparent 82%, rgba(0,0,0,.07) 88%, transparent 94%),linear-gradient(112deg, transparent 4%, rgba(255,255,255,.035) 8%, transparent 13%),var(--vein);color:#F7F2EA}
/* The crown lives HERE, not on the bars. Measured: it reads at 120px, is
   mushy at 56px, and a 40px band forced it into the scroll cue. This section
   is dark and has room, so gold reads and nothing collides. */
.sec.invite{position:relative;overflow:hidden}
.sec.invite::before{content:"";position:absolute;right:-40px;top:50%;
  width:340px;height:340px;margin-top:-170px;
  background:url('/assets/crown-of-thorns.svg') center/contain no-repeat;
  opacity:.16;pointer-events:none}
.sec.invite>*{position:relative;z-index:1}
@media (max-width:900px){.sec.invite::before{width:220px;height:220px;margin-top:-110px;right:-70px;opacity:.12}}
.sec.invite h2{color:#FFFFFF}
.sec.invite .eyebrow{color:#E8C88A}
.sec.invite .invite-line{color:#D8C9B4;max-width:62ch;font-size:16px}
.invite-frame{position:relative;margin-top:26px;aspect-ratio:16/9;border-radius:18px;overflow:hidden;background:#122622;box-shadow:0 24px 70px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.08),0 0 60px rgba(23,195,178,.12);max-width:960px;cursor:pointer}
/* The iframe is oversized inside the clipped frame so YouTube's own chrome
   (title bar, progress bar, logo) sits outside the visible crop, and it takes
   no pointer events - the frame itself is the play/pause control. */
.invite-frame iframe{position:absolute;top:50%;left:50%;width:100.4%;height:300%;transform:translate(-50%,-50%);border:0;pointer-events:none}
.invite-poster{position:absolute;inset:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,#173A33,#0E1F1B);border:0;cursor:pointer;z-index:2;transition:opacity .6s ease}
.invite-poster.is-hid{opacity:0;pointer-events:none}
.invite-pill{display:inline-flex;align-items:center;background:rgba(10,20,17,.72);color:#DFFBF5;border:1px solid rgba(127,224,203,.5);border-radius:32px;padding:15px 28px;font-family:'Montserrat',sans-serif;font-weight:600;font-size:15px;letter-spacing:.03em;backdrop-filter:blur(4px);transition:background .3s ease,color .3s ease}
.invite-poster:hover .invite-pill{background:rgba(11,126,118,.92);color:#FFFFFF}

.progress .fill.full{width:100%}

/* Sound affordance on the invitation film (autoplay must start muted by browser policy) */
.invite-poster:not(.is-hid)~.invite-sound{display:none}
.invite-sound{position:absolute;left:18px;bottom:18px;z-index:3;background:rgba(10,20,17,.82);color:#DFFBF5;border:1px solid rgba(127,224,203,.45);border-radius:24px;padding:11px 20px;font-family:'Montserrat',sans-serif;font-weight:600;font-size:14px;cursor:pointer;backdrop-filter:blur(4px)}
.invite-sound:hover{background:rgba(11,126,118,.92);color:#fff}

/* Cinematic letterbox frame around the hero */
/* The hero bands: real marble under a gold crown-of-thorns vine.
   The marble is a generated TEXTURE, not vector veining - a flat path reads as
   lines on a rectangle, which is what the SVG attempt looked like. The thorns
   sit over it as a hairline gold engraving. */
/* The bands are a single generated image: a woven crown-of-thorns branch in
   warm gold and brown. They carry NO text - the branch crossing the centre
   put the field at Y 0.085-0.435, which no ink clears at 4.5:1. */
/* Two DIFFERENT frames, keyed from opposite sides. Top and bottom running
   the same image is its own tell and the eye catches it even at 60px.
   Rendered at 24:1, the shape the bar is actually displayed in - the
   previous 8:1 source had three quarters of its height cropped away by
   `cover`, so its composition never reached the viewer. */
/* Generated crown-of-thorns frames, one per bar. The bar is 140px because
   a crown is a CLOSED CIRCULAR form: measured, it reads at 120px and is
   only a ring by 32px, so the old 54/72px bars sat below the floor and
   could carry an endless branch but never a crown. Cropped 12:1 about the
   crown's midline, so it bleeds off top and bottom as a title card would. */
.cinebar{height:140px;background:url('/assets/crown-bar-a.jpg?v=31') center/cover no-repeat,#E2C085}
/* so the cue lives on the paper below, where it has real contrast */
/* Pinned to the bottom of the hero, which is sized at runtime to reach the
   bottom of the viewport - see sizeHero() in motion.js. A fixed height
   would be wrong because the space above the hero is not constant: this
   build carries a preview banner that production will not have. */
.scroll-cue{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);z-index:20;
  display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--amber-deep);
  background:rgba(252,253,252,.92);backdrop-filter:blur(6px);border-radius:999px;
  padding:11px 22px;box-shadow:0 6px 22px rgba(8,40,36,.14);
  transition:opacity .35s ease,transform .35s ease}
.scroll-cue:hover{color:var(--tx-dark)}
/* fades once you have taken its advice */
.scroll-cue.is-gone{opacity:0;pointer-events:none;transform:translate(-50%,10px)}
@media (max-width:760px){.scroll-cue{bottom:16px;padding:9px 16px}}
.scroll-text{font-family:'Plus Jakarta Sans',system-ui,sans-serif;font-size:12.5px;font-weight:600;letter-spacing:.24em;text-transform:uppercase}
.scroll-chevrons{display:inline-flex;flex-direction:column;height:18px;overflow:visible}
.scroll-chevrons i{width:10px;height:10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-top:-6px;animation:cue 1.8s ease-in-out infinite}
.scroll-chevrons i:last-child{animation-delay:.35s}
@keyframes cue{0%,100%{opacity:.25;transform:rotate(45deg) translate(0,0)}50%{opacity:1;transform:rotate(45deg) translate(3px,3px)}}
@media(prefers-reduced-motion:reduce){.scroll-chevrons i{animation:none;opacity:.8}}

/* Mobile-first refinements (small screens are the primary audience).
   Less is more: the hero keeps only headline, lead, one action and the
   Sunday time - everything hidden here reappears in full sections below. */
@media(max-width:760px){
  .hero{padding:44px 0 40px}
  .hero.with-photo{min-height:72vh;min-height:72svh;display:flex;align-items:center}
  .hero .kicker{display:none}
  .hero-scrim{background:linear-gradient(to bottom, rgba(250,252,251,.92) 0%, rgba(250,252,251,.80) 48%, rgba(250,252,251,.38) 82%, rgba(250,252,251,.18) 100%)}
  .hero.with-photo video.hero-layer{object-position:62% 28%}
  .hero h1{font-size:clamp(29px,8.4vw,36px)}
  .hero p.lead{font-size:16px;padding:14px 16px}
  .hero .cta-row .btn.ghost{display:none}
  .times{margin-top:22px}
  .time-chip{flex:1 1 100%}
  .hero .time-chip.secondary{display:none}
  section.sec{padding:52px 0}
  .band .big{font-size:36px}
  .band p{font-size:15px}
  .cinebar{height:92px}
  .photo.tall{height:300px}
  .photo.wide{height:200px}
  .invite-frame{border-radius:12px}
  .invite-sound{left:12px;bottom:12px;padding:9px 16px;font-size:13px}
  .map-frame{height:280px}
  footer.site{padding:40px 0 30px;margin-top:56px}
  .team .member img,.team .member .avatar-fallback{height:250px}
}

/* ---- subpage heroes: one generated image each -----------------------------
   The image URLs live here rather than inline on each page so the ?v= bump,
   which already walks this file, can never leave a page pointing at a stale
   image. Each image was generated from that page's own headline. */
.hero:not(.with-photo){padding:66px 0 60px;background-size:cover;
  background-position:center 46%;background-repeat:no-repeat}
/* Same scrim language as the home hero, so the headline keeps its contrast
   over a photograph whose content we do not control. */
.hero:not(.with-photo)::before{content:"";position:absolute;inset:0;z-index:1;
  pointer-events:none;background:linear-gradient(100deg,
    rgba(250,252,251,.97) 0%, rgba(250,252,251,.95) 44%,
    rgba(250,252,251,.62) 72%, rgba(250,252,251,.22) 100%)}
.hero:not(.with-photo) .wrap{position:relative;z-index:2}
.hero:not(.with-photo) h1{font-size:clamp(29px,3.5vw,42px);max-width:20ch}
.hero:not(.with-photo) p.lead{margin-top:14px;font-size:17px;max-width:56ch}
/* On a narrow screen the scrim's horizontal gradient has no room to work, so
   it goes near-solid rather than leaving text on open photograph. */
@media (max-width:760px){
  .hero:not(.with-photo){padding:44px 0 40px;background-position:center 50%}
  .hero:not(.with-photo)::before{background:linear-gradient(100deg,
    rgba(250,252,251,.97) 0%, rgba(250,252,251,.94) 62%, rgba(250,252,251,.80) 100%)}
}
.hero-about{background-image:url('/assets/heroes/about.jpg?v=31')}
.hero-giving{background-image:url('/assets/heroes/giving.jpg?v=31')}
.hero-contact{background-image:url('/assets/heroes/contact.jpg?v=31')}
.hero-plan-your-visit{background-image:url('/assets/heroes/plan-your-visit.jpg?v=31')}
.hero-prayer{background-image:url('/assets/heroes/prayer.jpg?v=32')}


/* ==========================================================================
   The prayer wall widget.

   The widget ships its own layout and its own neutral defaults; these tokens
   are the only thing that makes it belong to THIS site. Set nothing and it
   still renders as something considered - which is the point of the widget
   carrying defaults at all - but it would not be ChristPoint's.

   Everything here is a colour or a shape. The wall's behaviour lives in the
   church's console, not in this stylesheet.
   ========================================================================== */
#prayer-wall{
  --pw-ink:var(--tx-dark);
  --pw-dim:var(--tx-dark2);
  --pw-faint:#8A9B95;
  --pw-accent:var(--amber-deep);      /* the deep teal: it takes white text */
  --pw-line:var(--line-l);
  --pw-panel:var(--paper2);
  --pw-paper:var(--white);
  --pw-radius:var(--radius);
  --pw-font:'Plus Jakarta Sans',-apple-system,'Segoe UI',Arial,sans-serif;
}
/* The wall's own headings take the display face the rest of the site uses. */
#prayer-wall .pw-ask h3{font-family:'Lora',Georgia,'Times New Roman',serif;font-size:1.35rem}
#prayer-wall .pw-who{font-family:'Lora',Georgia,'Times New Roman',serif}
