/* Public LifeWater uses the colors and typography of the PC Two baseline. */
:root {
  --life-ink: #10243f;
  --life-navy: #15375d;
  --life-blue: #244e7d;
  --life-sky: #e7f1ff;
  --life-gold: #f6cb72;
  --life-line: #c6d5e7;
  --life-paper: #f4f7fb;
  --life-space: clamp(22px, 4vw, 58px);
}
:root[data-theme="sunrise"] {
  color-scheme: light;
  --life-ink: #10243f;
  --life-paper: #f4f7fb;
  --life-line: #c6d5e7;
  --life-surface: #ffffffc9;
}
:root[data-theme="sunset"] {
  color-scheme: dark;
  --life-ink: #eef2ff;
  --life-paper: #181d30;
  --life-line: #505a76;
  --life-surface: #272d43e8;
}
body { background: var(--life-paper); overflow-wrap: anywhere; }
:root[data-theme="sunrise"] body { background: radial-gradient(ellipse 100% 22% at 12% 100%, #f2e4cbd6, transparent 100%), radial-gradient(ellipse 110% 30% at 92% 70%, #dceaf9cc, transparent 100%), var(--life-paper); color: var(--life-ink); }
:root[data-theme="sunset"] body { background: radial-gradient(ellipse 90% 28% at 82% 95%, #9b5b83a8, transparent 100%), linear-gradient(180deg, #1a2136 0%, #29243a 54%, #201d31 100%); color: var(--life-ink); }
.mast { position: sticky; top: 0; z-index: 20; }
.mast nav [aria-current="page"] { color: var(--life-ink); background: var(--life-sky); box-shadow: inset 0 -2px var(--life-blue); border-radius: 8px; }
.mast .app-top { white-space: nowrap; }
.mast nav a { padding: 8px 9px; }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible { outline: 3px solid #a76409; outline-offset: 3px; }
.skip-link { position: fixed; z-index: 30; top: 8px; left: 8px; transform: translateY(-150%); background: white; color: var(--life-ink); padding: 12px; }
.skip-link:focus { transform: none; }
main:focus { outline: none; }
html { scroll-padding-top: 130px; }
a.button,button,.event-controls button,.reel-controls button { min-height: 44px; }
.site-theme-toggle { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid #ffffff47; border-radius: 999px; background: #ffffff12; }
.site-theme-option { min-height: 40px; padding: 6px 10px; border: 1px solid transparent; border-radius: 999px; color: #f5f7ff; font-size: .82rem; white-space: nowrap; }
.site-theme-option[aria-pressed="true"] { background: #e7f1ff; color: #10243f; }
:root[data-theme="sunset"] .mast nav [aria-current="page"] { color: #10243f; background: #e4e8ff; }
:root[data-theme="sunset"] .app-announcement { background: #252b42; color: #f0f4ff; }
:root[data-theme="sunset"] .app-announcement a { color: #f5d38a; }
:root[data-theme="sunset"] .destination-grid article,
:root[data-theme="sunset"] .directory-grid article,
:root[data-theme="sunset"] .message,
:root[data-theme="sunset"] .filters,
:root[data-theme="sunset"] .visit-panel,
:root[data-theme="sunset"] .calendar-panel,
:root[data-theme="sunset"] .prayer-panel { background-color: var(--life-surface); color: var(--life-ink); border-color: var(--life-line); }
:root[data-theme="sunset"] .intro a,
:root[data-theme="sunset"] .section-heading a,
:root[data-theme="sunset"] .directory-grid a { color: #dce8ff; }
:root[data-theme="sunset"] .home-directory h3 { color: #f0f4ff; }
:root[data-theme="sunset"] .reel-frame { background: linear-gradient(145deg,#2a3149,#20263b); color: #eef2ff; border-color: var(--life-line); }
:root[data-theme="sunset"] .reel-frame a { color: #e2eaff; }
.app-promo-art { display: grid; justify-items: center; gap: .65rem; margin: 0; }
.app-promo-art figcaption { color: #d5e3ea; font-size: .82rem; text-align: center; }
.app-promo-phone { width: min(100%, 244px); padding: 4px; border-radius: 15% / 7.5%; background: linear-gradient(115deg,#5b6268,#e4e8eb 11%,#424b56 25%,#263039 67%,#a5afb9 85%,#43484e); box-shadow: 0 1.1rem 2rem #050c13ae,inset 0 0 0 1px #d4dfe58a; }
.app-promo-bezel { padding: 5px; border-radius: 14% / 7%; background: #101215; }
.app-promo-screen { display: grid; aspect-ratio: 390 / 844; overflow: hidden; border-radius: 7% / 3.2%; background: #0d1c2b; }
.app-promo-screen img { grid-area: 1 / 1; display: block; width: 100%; height: 100%; object-fit: contain; }
@media(max-width:700px){.mast{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 10px}.mast .brand{grid-column:1;grid-row:1;min-width:0;font-size:.9rem}.mast .tools{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:flex-end;gap:4px;max-width:172px}.mast nav{grid-column:1/-1;grid-row:2;order:initial;width:100%;gap:12px;font-size:.84rem}.site-theme-option{min-height:34px;padding:4px 7px;font-size:.68rem}.mast .app-top{max-width:100%;padding:5px 9px;font-size:.7rem;white-space:normal;text-align:center}.app-promo-phone{width:min(100%,196px)}}
.skip-link:focus { box-shadow: 0 6px 22px #09172d55; }
.reel-controls button { min-width: 44px; }
.site-footer { display: grid; gap: 14px; padding-block: 30px 36px; border-top: 1px solid var(--life-line); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
body:has(.sunday-clock) .site-footer { padding-bottom: 110px; }
.app-promo-art { display: grid; place-items: center; min-height: 168px; }
.hero.has-live > :is(.hero-poster,.scrim,.hero-text) { display: none; }
.hero.has-live .hero-live { width: 100%; }
.hero-live iframe { margin: auto; }
.destination-hero {
  display: grid; grid-template-columns: 1.03fr 1fr; min-height: 390px;
  overflow: hidden; border-radius: 24px; margin-block: 28px;
  background: linear-gradient(130deg,#102640,#244e7d); color: white;
}
.destination-hero:not(:has(img)) { grid-template-columns: minmax(0, 1fr); min-height: 240px; }
.destination-copy { align-self: center; padding: var(--life-space); }
.destination-copy .eyebrow { color: #ffdc92; }
.destination-copy h1 { font-size: clamp(36px,5vw,76px); line-height: 1; letter-spacing: -.047em; margin: .2em 0; }
.destination-copy > p:not(.eyebrow) { max-width: 47ch; font-size: clamp(16px,1.6vw,22px); margin-block: 1rem; }
.destination-hero > img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.pastor-hero > img { object-position: center 41%; }
.prayer-hero { background: linear-gradient(130deg,#171f49,#3b3c72); }
.community-hero { background: linear-gradient(130deg,#0e304c,#18566b); }
.give-hero { background: linear-gradient(130deg,#0c383a,#24665c); }
.kids-hero { background: linear-gradient(130deg,#24244b,#574575); }
.destination-section { padding-block: clamp(20px,4vw,44px); }
.destination-section h2 { margin-bottom: 16px; font-size: clamp(26px,4vw,46px); letter-spacing: -.04em; }
.destination-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,230px),1fr)); gap: 14px; }
.destination-grid article { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(17px,2.5vw,30px); border: 1px solid var(--life-line); border-radius: 18px; background: #fff; box-shadow: 0 8px 22px #132e4d09; }
.destination-grid article > * { margin-block: 0 12px; }
.destination-grid article > :last-child { margin-bottom: 0; }
.destination-grid article > .button { margin-top: auto; }
.public-map { background: white; border-radius: 16px; padding: 18px; border: 1px solid var(--life-line); }
.public-map summary { cursor: pointer; font-weight: 700; padding-block: 8px; }
.public-map iframe { display: block; border: 0; width: 100%; min-height: 300px; }
@media(max-width: 850px) {
  .mast { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
  .mast nav { grid-column: 1/-1; grid-row: 2; display: flex; gap: 4px; width: 100%; overflow: auto; justify-content: flex-start; white-space: nowrap; }
  .mast nav a { flex: 0 0 auto; }
  .mast .tools { grid-column: 2; grid-row: 1; }
  .destination-hero,.destination-hero:not(:has(img)) { grid-template-columns: 1fr; min-height: 0; }
  .destination-hero > img { max-height: 310px; }
}
@media(max-width: 450px) {
  .mast .app-top { white-space: normal; font-size: 12px; text-align: center; max-width: 148px; }
  .mast .brand { font-size: 13px; }
  .mast .brand img { width: 35px; height: 35px; }
  .reel-header { flex-wrap: wrap; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }

.app-announcement { background: #e7f1ff; border-bottom: 1px solid #c6d5e7; color: #10243f; }
.app-announcement-inner { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 7px; }
.app-announcement-inner strong,.app-announcement-inner span { display: inline-block; }
.app-announcement-inner strong { margin-right: 12px; }
.app-announcement-inner a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; white-space: nowrap; font-weight: 700; }
.app-showcase { padding-block: clamp(18px,3vw,38px); }
.app-showcase .app-feature { grid-template-columns: 1.2fr 1fr; overflow: hidden; }
.app-showcase .app-copy h2 { font-size: clamp(31px,4.7vw,66px); line-height: 1.03; }
.app-promo-eyebrow { color: #ffda91; }
.home-directory .directory-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,245px),1fr)); gap: 14px; }
.directory-grid article { display: grid; align-content: start; padding: 20px; background: white; border: 1px solid var(--life-line); border-radius: 18px; }
.directory-grid article h3 { margin: 0 0 8px; color: var(--life-navy); }
.directory-grid article a { display: flex; align-items: center; min-height: 44px; border-top: 1px solid #e4ebf5; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (max-width: 650px) {
  .app-announcement-inner strong,.app-announcement-inner div > span { display: block; }
  .app-announcement-inner div > span,.app-announcement-inner a { font-size: 13px; }
  .app-showcase .app-feature {
    grid-template-columns: minmax(0,1fr) clamp(104px,30vw,142px);
    gap: clamp(10px,3vw,18px);
    align-items: center;
    padding: clamp(16px,5vw,22px);
  }
  .app-showcase .app-copy { min-width: 0; }
  .app-showcase .app-copy h2 { font-size: clamp(22px,6vw,30px); line-height: 1.08; }
  .app-showcase .app-copy > p:not(.eyebrow) { font-size: 1rem; line-height: 1.4; }
  .app-showcase .app-copy .eyebrow { font-size: .76rem; letter-spacing: .13em; }
  .app-showcase .app-promo-art { min-height: 0; gap: 4px; }
  .app-showcase .app-promo-art figcaption { font-size: .68rem; line-height: 1.2; }
  .app-showcase .app-promo-phone { width: 100%; }
  .app-showcase .app-promo-art.private-home-preview img { width: 100%; height: 100%; object-fit: cover; }
  .app-showcase .app-promo-art.private-home-preview .app-promo-screen { width: 100%; }
  .reel-player .reel-play { font-size: .78rem; white-space: nowrap; padding: 4px; }
  .reel-player .reel-play::before { width: 42px; height: 42px; margin-bottom: 7px; }
}

#app-pending a { color: inherit; font-weight: 750; text-underline-offset: 3px; }
.baptism-feature img { width: 100%; height: 100%; object-fit: cover; }
