/* MPBC VISUAL POLISH — 2026-11-23. Layered over the original CSS.
   No framework, no changes to JS and no lost accessibility features.
   The provided sunset/exterior/sanctuary visuals are enhanced concepts; validate factual accuracy with MPBC prior to production.
*/
:root {
  --navy:#1e2446; --navy2:#38305d; --cream:#f7f4ef; --paper:#ffffff;
  --ink:#222236; --muted:#4e5263; --gold:#eec575; --gold-d:#ab762a;
  --line:#ddd7d1; --radius:20px; --maxw:1260px;
}
body{background:var(--cream);font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;letter-spacing:-.012em}
.wrap{width:min(100% - 2.25rem,var(--maxw))}
h1,h2,h3{letter-spacing:-.035em}
h1,h2{font-family:Georgia,"Iowan Old Style","Palatino Linotype",serif;font-weight:650}
h1{font-size:clamp(2.65rem,5.4vw,5.35rem);line-height:1.04}
h2{font-size:clamp(2rem,3.25vw,3.15rem);line-height:1.12}
h3{font-size:clamp(1.2rem,1.7vw,1.6rem)}
.pill,.eyebrow,.section-kicker{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.1em}
/* The utility strip remains unobtrusive while keeping A / A+ / A++ and Contrast visible */
.util{background:#171a35;border-bottom:1px solid rgba(255,255,255,.12)}
.util .wrap{padding:.38rem 0}.util a{font-weight:600}.tools button{border-color:rgba(255,255,255,.62);border-width:1px;border-radius:5px;min-height:44px}
/* Branded, stable navigation */
header.site{background:rgba(255,255,255,.985);border-bottom:1px solid #e9e2d5;box-shadow:0 4px 22px rgba(18,24,45,.065);top:0}
header.site .wrap{min-height:88px;padding:.58rem 0}
.brand{gap:.75rem}.brand .crest-logo{width:67px;height:67px;object-fit:contain;flex:none}
.brand b{font-family:Georgia,"Palatino Linotype",serif;font-size:1.27rem;line-height:1.02;letter-spacing:-.03em;color:#27254d}
.brand small{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;margin-top:.33rem;color:#615b6d}
nav.main a{font-size:.9rem;font-weight:750;letter-spacing:.005em;border-radius:7px;padding:.7rem .75rem;color:#282747}
nav.main a[aria-current="page"],nav.main a:hover{background:#f5f0e8;box-shadow:inset 0 -3px 0 #c69a4b}
nav.main a.live{background:#9c253a}nav.main a.cta{background:#302653;color:#fff}
.menu-btn{background:#302653;border-radius:9px}
/* Buttons are tactile, legible and respectful of large-type settings */
.btn{border-width:2px;border-radius:9px;min-height:56px;padding:.81rem 1.35rem;box-shadow:0 4px 9px rgba(16,20,41,.09);transition:transform .17s ease,background .17s ease,box-shadow .17s ease}
.btn:hover{transform:translateY(-1px);box-shadow:0 7px 16px rgba(16,20,41,.15)}
.btn.gold{background:#eec575;border-color:#eec575;color:#201c30}.btn.gold:hover{background:#f7d697;color:#201c30}
.btn.ghost{border-color:#43365c;background:transparent;color:#292342}
.btn.live{background:#a92941;border-color:#a92941}
/* Actual MPBC exterior image supplied by Director; atmospheric treatment for preview */
.hero{position:relative;isolation:isolate;overflow:hidden;min-height:650px;background:#191930 url("media/exterior-concept-front.webp") center 50%/cover no-repeat;padding:clamp(3rem,6vw,6rem) 0}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(96deg,rgba(12,18,39,.94) 0%,rgba(19,21,49,.86) 39%,rgba(29,19,53,.52) 69%,rgba(20,15,42,.53) 100%)}
.hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(10,11,27,.55),transparent 52%)}
.heroGrid{gap:clamp(1.5rem,4vw,4.25rem);align-items:center}
@media(min-width:950px){.heroGrid{grid-template-columns:minmax(0,1.05fr) minmax(380px,.88fr)}}
.hero-copy{max-width:770px}.hero h1{font-size:clamp(2.65rem,4.8vw,4.65rem);text-shadow:0 2px 18px rgba(0,0,0,.12);margin:.72rem 0 1.25rem}
.hero h1 em{display:inline-block;font-style:italic;color:#f3ce84;font-weight:500}
.hero .lead{font-size:clamp(1.1rem,1.65vw,1.35rem);line-height:1.6;max-width:540px;color:#f7f2f2;opacity:1}
.hero .eyebrow{display:block;font-size:.83rem;font-weight:850;color:#ffdf94;line-height:1.6}
.hero .row{margin-top:1.55rem}
.hero-copy .row .btn.ghost{background:rgba(255,255,255,.06)!important;color:#fff!important;border-color:rgba(255,255,255,.75)!important}
.hero-services{display:flex;gap:1.2rem 2rem;flex-wrap:wrap;margin-top:2rem;padding-top:1.2rem;border-top:1px solid rgba(255,255,255,.32);color:#f1edf1;font-size:.88rem}
.hero-services span{display:grid;gap:.12rem}.hero-services strong{font-size:1.12rem;color:#fff}
/* Live worship card: purpose-built, not a generic white box */
.livecard{border:1px solid rgba(240,212,160,.65);border-radius:20px;padding:clamp(1.3rem,2.8vw,2rem);box-shadow:0 20px 65px rgba(6,9,24,.33);background:linear-gradient(152deg,#fff 0%,#faf7f1 100%)}
.livecard h2{font-family:Georgia,serif;font-size:clamp(1.7rem,2.6vw,2.6rem);color:#242340}
.livecard .pill{font-size:.72rem;letter-spacing:.12em;font-weight:850;background:#f0e7db;color:#443258;border-radius:6px;padding:.45rem .75rem}
.livecard .pill.on{background:#9c253a;color:#fff}
.livecard .count{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.45rem}
.livecard .count div{min-width:0;padding:.8rem .1rem;background:#f7f2ed;border:1px solid #e2d8c8;border-radius:9px}
.livecard .count b{font-family:Georgia,serif;font-size:clamp(1.5rem,2.7vw,2.45rem);line-height:1.15;color:#242447}
.livecard .count span{font-size:.62rem;letter-spacing:.04em}
.livecard [data-msg]{font-size:.95rem;line-height:1.48}
.livecard .btn{font-size:.88rem;padding:.7rem 1.1rem;min-height:51px}
/* Member-action tiles: polished, clearly labeled, and easy to tap */
section.s{padding:clamp(3rem,5vw,5.5rem) 0}
section.s.alt{background:#fff;border:0}
.section-kicker{font-size:.74rem;font-weight:850;color:#775132;margin-bottom:.4rem}
.section-intro{max-width:700px;color:var(--muted);margin:0 0 1.9rem}
.tiles{gap:1rem}
.tile{position:relative;align-items:flex-start;text-align:left;min-height:175px;padding:1.5rem;border:1px solid #e9e1d8;border-radius:16px;box-shadow:0 10px 25px rgba(23,22,47,.055);color:#282547;background:#fff;gap:.55rem;justify-content:flex-start;transition:transform .16s,box-shadow .16s,border-color .16s}
.tile svg{width:40px;height:40px;stroke:#96703d;stroke-width:1.75;margin-bottom:.35rem;flex:none}
.tile>span{font-size:1.04rem;letter-spacing:-.01em;font-weight:800}
.tile small{font-size:.8rem;color:#5d5b69;opacity:1;line-height:1.3}
.tile:hover{color:#241b41;background:#fff;transform:translateY(-3px);border-color:#cfa75f;box-shadow:0 18px 32px rgba(23,22,47,.13)}
.tile:focus-visible{outline:4px solid #af7b31}
/* Heritage feature uses supplied church interior image */
.feature-slice{isolation:isolate;position:relative;background:#221d3a url("media/sanctuary-wide.webp") center 42%/cover no-repeat;color:#fff;padding:clamp(4rem,7vw,7.5rem) 0}
.feature-slice::before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(14,17,42,.94),rgba(21,18,45,.79) 52%,rgba(20,17,39,.28))}
.feature-slice .feature-copy{max-width:720px}
.feature-slice h2{font-size:clamp(2.3rem,4vw,4rem);color:#fff}
.feature-slice .eyebrow{color:#ffdf97;font-size:.78rem;font-weight:800}
.feature-slice p{color:#f8f0e8;font-size:1.05rem;max-width:640px}
.feature-slice .btn{margin-top:.6rem}
/* Cards and events */
.card{border:1px solid #e7dfd6;border-radius:18px;padding:clamp(1.25rem,2.4vw,2.1rem);box-shadow:0 7px 21px rgba(27,22,48,.045)}
.card.evt{padding:1.35rem;align-items:flex-start;gap:1.1rem}
.card h3{margin-bottom:.6rem}
.date{border-radius:8px;min-width:70px;padding:.55rem .65rem;background:#332451;color:#fff}
.date b{font-family:Georgia,serif;font-size:2rem}.date span{font-size:.72rem}
.times li{padding:.8rem 0;align-items:start}
.todo{background:#faf6ee;border:1px solid #decaa5;border-left:4px solid #c69b54;border-radius:10px;color:#453f36;padding:1.2rem}
.filters{gap:1rem}
input,select,textarea{border:2px solid #766d83;border-radius:9px;background:#fff}
.crumb{position:relative;isolation:isolate;padding:3.8rem 0 3.3rem;background:linear-gradient(105deg,#23203e,#423058);border-bottom:4px solid #cfaa62}
.crumb h1{font-size:clamp(2.4rem,5.2vw,4.6rem);color:#fff}.crumb p{font-size:1rem;color:#efe9ef;max-width:840px}
/* Visit card uses verifiable exterior photography rather than inventing building features */
.location-photo{border-radius:16px;display:block;width:100%;height:190px;object-fit:cover;margin-bottom:1rem}
footer.site{background:#171b34;border-top:5px solid #bd944c;color:#f7f5f2;margin-top:0;padding-top:4.6rem}
footer.site h3{color:#f5ce83;font-family:Georgia,serif;font-size:1.5rem}
footer.site a{text-decoration-color:rgba(255,255,255,.55)}
footer.site .foot-brand{padding-right:1rem}
footer.site .footer-crest{display:block;width:85px;height:85px;object-fit:contain;margin:0 0 1rem}
.dock{border-color:#d4ad67;box-shadow:0 -8px 24px rgba(22,19,47,.14)}
.dock a{min-height:70px}.dock a.live{background:#9c253a}
@media(max-width:900px){
 header.site .wrap{min-height:76px}.brand .crest-logo{height:55px;width:55px}.brand b{font-size:1.04rem}
 .hero{min-height:auto;padding:3.4rem 0 3.8rem;background-position:55% center}
 .hero::before{background:linear-gradient(90deg,rgba(15,18,43,.9),rgba(17,17,40,.73))}
 .heroGrid{grid-template-columns:1fr;gap:2rem}.hero h1{max-width:760px}
 .tile{min-height:150px;padding:1.2rem}
 nav.main a{min-height:50px}
}
@media(max-width:520px){
 .wrap{width:min(100% - 1.5rem,var(--maxw))}
 .util .wrap{justify-content:center}.util .wrap>span:first-child{display:none}
 header.site .wrap{min-height:70px;gap:.5rem}.brand{gap:.4rem}.brand .crest-logo{width:48px;height:48px}
 .brand b{font-size:.94rem}.brand small{font-size:.63rem}.menu-btn{min-height:44px;padding:0 .8rem}
 .hero{padding:2.7rem 0 3.2rem}.hero h1{font-size:clamp(2.4rem,11vw,3.3rem)}.hero .lead{font-size:1rem}
 .hero-services{font-size:.79rem;gap:.65rem 1.4rem}
 .livecard{padding:1.1rem}.livecard .count b{font-size:1.6rem}.livecard .count span{font-size:.6rem}
 .livecard .row .btn{width:100%}
 .tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
 .tile{padding:1rem;min-height:158px}.tile svg{width:33px;height:33px}.tile>span{font-size:.94rem}.tile small{font-size:.73rem}
 .evt{flex-direction:column}
 .footgrid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.tile,.btn{transition:none}.btn:hover,.tile:hover{transform:none}}
/* High contrast MUST remain strong with and without a photograph behind the words */
html[data-contrast="high"] .hero::before,html[data-contrast="high"] .feature-slice::before{background:rgba(0,0,0,.92)}
html[data-contrast="high"] .hero,html[data-contrast="high"] .feature-slice,html[data-contrast="high"] .crumb{background-color:#000;color:#fff}
html[data-contrast="high"] .hero h1 em{color:#fff;text-decoration:underline}
html[data-contrast="high"] .hero .eyebrow,html[data-contrast="high"] .feature-slice .eyebrow{color:#fff}
html[data-contrast="high"] .tile{border:2px solid #000;color:#000}
html[data-contrast="high"] .tile svg{stroke:#000}
html[data-contrast="high"] .todo{background:#fff;color:#000;border:2px solid #000}
html[data-contrast="high"] .brand b,html[data-contrast="high"] .brand small{color:#000}
@media print{.hero,.feature-slice{background-image:none!important}.hero::before,.feature-slice::before{display:none}}

[hidden]{display:none!important}
html[data-contrast="high"] .livecard,
html[data-contrast="high"] .livecard .count div{background:#fff;border-color:#000}
html[data-contrast="high"] .livecard :is(h2,.count b,.count span),
html[data-contrast="high"] .tile small{color:#000}
html[data-contrast="high"] .crumb{background:#000}
@media(max-width:900px){
 .js nav.main.open{max-height:calc(100dvh - 160px);overflow-y:auto}
}

/* Shared palette and typography for the photography-led design. */
:root{
 --cream:#eae4f4; --paper:#f5f0fa; --ink:#201831; --muted:#524465;
 --navy:#25183e; --navy2:#512580; --line:#c8b9db; --gold:#ffcc68;
}
h1,h2,h3{font-family:inherit;line-height:1.06;font-weight:850;letter-spacing:-.055em}
.util{background:#110d20}
header.site{background:#211533;border-color:#643696}
.brand b,.brand small,nav.main a{color:#fff}
.brand b{font-family:inherit;font-weight:800;letter-spacing:-.036em}
.brand small{color:#d5c4e8}
nav.main a[aria-current="page"],nav.main a:hover{background:#3e245b;box-shadow:inset 0 -3px 0 var(--gold)}
nav.main a.live,.dock a.live,.btn.live{background:#741b62;border-color:#741b62}
nav.main a.cta,.menu-btn{background:#ffcc68;color:#20152e}
.dock{background:#211533;border-color:#ffcc68}
.dock a{color:#fff}
.brand .crest-logo{filter:drop-shadow(0 0 2px #cbb7dc)}
@media(max-width:900px){.js nav.main{background:#211533}}

.hero{background-color:#231338;background-position:center 48%;padding:clamp(2.7rem,6vw,6.5rem) 0}
.hero::before{background:linear-gradient(100deg,#170d27 3%,rgba(31,14,51,.95) 31%,rgba(55,21,82,.51) 68%,rgba(30,10,49,.22))}
.hero::after{background:linear-gradient(0deg,#201132 0%,transparent 48%)}
.hero h1{font-family:inherit;font-size:clamp(2.65rem,5.15vw,5rem);font-weight:900;letter-spacing:-.07em;line-height:.99;text-wrap:balance}
.hero h1 em{font-weight:900;font-style:normal;color:#ffcf69}
.hero .lead{color:#eee5fb}
.hero-services{border-color:#a689be}
.heroGrid{min-height:460px}
.hero .livecard{color:#fff;background:#241537;border-color:#aa80d2;box-shadow:0 22px 60px #130b28b0}
.hero .livecard h2,.hero .livecard .count b{font-family:inherit;color:#fff}
.hero .livecard .count div{background:#3a2157;border-color:#6c4b8f}
.hero .livecard .count span{color:#e6d2f7}
.hero .livecard .pill{background:#f7ce7b;color:#321b43}
.hero .livecard .pill.on{background:#741b62;color:#fff}
.hero .livecard .btn.ghost{color:#fff;border-color:#ae88cf}
.hero .livecard .btn.ghost:hover{background:#493161}

.connect-section{background:#201331;color:#fff}
.connect-section h2,.connect-section .tile{color:#fff}
.connect-section h2{margin-bottom:1.6rem}
.connect-section .tile{background:#352047;border-color:#6e4f82;min-height:144px;box-shadow:none}
.connect-section .tile:nth-child(4n+1){background:#5d297e}
.connect-section .tile:nth-child(4n+2){background:#3d286b}
.connect-section .tile:nth-child(4n+3){background:#633054}
.connect-section .tile:hover{background:#66388e;border-color:var(--gold)}
.connect-section .tile svg{stroke:#ffcf69}
.connect-section .tile small{color:#f0dcf7}

.feature-slice{background:#50277d;padding:clamp(2.8rem,5vw,5rem) 0;overflow:hidden}
.feature-slice::before{background:linear-gradient(112deg,#3d1c60,#662b7f 65%,#412357)}
.feature-grid{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.2fr);align-items:center;gap:clamp(1.5rem,4.5vw,4.5rem)}
.feature-slice h2{font-size:clamp(2.65rem,5.5vw,5.1rem);margin:.6rem 0 1rem}
.worship-photos{display:grid;grid-template-columns:1.5fr 1fr;gap:.72rem;align-items:center}
.worship-photos img{display:block;width:100%;aspect-ratio:4/4.6;object-fit:cover;border:1px solid #d1abdf;border-radius:12px}
.worship-photos img:last-child{aspect-ratio:4/5.4;object-position:72% center;transform:translateY(8%);border-bottom:5px solid #ffcc68}
section.s.alt.weekly-section{background:#ded1ee}
.weekly-section .card,.welcome-section .card{background:#f0e7f7}
.welcome-section{background:#cbb6e1}
.crumb{background:linear-gradient(105deg,#251339,#672d86);border-color:#ffcf69}
footer.site{background:#140d25}
footer.site h3{font-family:inherit;letter-spacing:-.025em}
@media(max-width:900px){
 .heroGrid{min-height:0}
 .hero::before{background:linear-gradient(100deg,rgba(23,13,39,.94),rgba(39,15,59,.66))}
}
@media(max-width:640px){
 .feature-grid{grid-template-columns:1fr}
 .worship-photos img{aspect-ratio:4/3.5}
 .worship-photos img:last-child{aspect-ratio:4/4.2;transform:none}
 .hero h1{font-size:clamp(2.35rem,9.3vw,3.6rem);text-wrap:wrap}
 .connect-section .tile{min-height:135px}
}
html[data-contrast="high"] header.site,html[data-contrast="high"] .js nav.main,
html[data-contrast="high"] .connect-section,html[data-contrast="high"] .feature-slice{background:#000}
html[data-contrast="high"] .brand b,html[data-contrast="high"] .brand small,
html[data-contrast="high"] .connect-section h2{color:#fff}
html[data-contrast="high"] .connect-section .tile,
html[data-contrast="high"] .hero .livecard,
html[data-contrast="high"] .hero .livecard .count div,
html[data-contrast="high"] .weekly-section .card,
html[data-contrast="high"] .welcome-section .card,
html[data-contrast="high"] section.s.alt.weekly-section,
html[data-contrast="high"] .welcome-section{background:#fff;color:#000}
html[data-contrast="high"] .hero .livecard .btn.ghost,
html[data-contrast="high"] .hero .livecard :is(h2,.count b,.count span),
html[data-contrast="high"] .connect-section .tile small{color:#000}
html[data-contrast="high"] .hero .livecard .btn.ghost:hover{background:#eee}

.hero h1{letter-spacing:-.05em}
.hero .livecard [data-msg]{color:#e6d2f7}
html[data-contrast="high"] .hero .livecard [data-msg]{color:#000}
