/* Editorial welcome treatment for the Urban Lights home page. */
.brand-mark{width:46px;height:46px;flex:0 0 auto;border-radius:15px;box-shadow:0 9px 24px rgb(var(--ul-brand-primary-rgb) / 0.22)}
#home .hero.hero-home{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);align-items:center;gap:clamp(30px,5.5vw,76px);min-height:0;margin:clamp(24px,4vw,48px) 0 40px;padding:clamp(8px,2vw,24px) clamp(6px,2vw,24px) 42px;overflow:visible;border:0;border-radius:0;color:var(--ink);background:transparent;box-shadow:none}
#home .hero.hero-home:before,#home .hero.hero-home:after{display:none;content:none}
#home .hero-home .hero-copy{position:relative;z-index:1;max-width:690px;text-shadow:none}
#home .hero-home .eyebrow{display:inline-block;margin-bottom:6px;color:var(--purple)}
#home .hero-home h1{max-width:690px;margin:16px 0 19px;color:var(--ink);font-size:clamp(54px,7.1vw,96px);line-height:.93;letter-spacing:-.078em}
#home .hero-home h1 .highlight-lilac{color:var(--ul-brand-primary);text-shadow:none}
#home .hero-home p{max-width:570px;color:var(--muted);font-size:clamp(16px,1.5vw,18px);line-height:1.7}
#home .hero-home .hero-actions{gap:12px;margin-top:27px}
#home .hero-home .btn-light{border:1px solid rgb(var(--ul-brand-primary-rgb) / 0.16);background:linear-gradient(145deg,rgb(var(--ul-brand-paper-rgb) / 0.96),rgb(var(--ul-brand-paper-rgb) / 0.9));color:var(--deep);box-shadow:0 8px 22px rgb(var(--ul-brand-primary-rgb) / 0.08),inset 0 1px 0 var(--ul-brand-primary)}
/* Keep this CTA on its own stable paint layer; backdrop filters over the hero image flicker in some browsers. */
#home .hero-home .hero-actions .btn-light,
#home .hero-home .hero-actions .btn-light:hover,
#home .hero-home .hero-actions .btn-light:active,
#home .hero-home .hero-actions .btn-light:focus,
#home .hero-home .hero-actions .btn-light:focus-visible{position:relative;z-index:2;isolation:isolate;transform:none;translate:none;rotate:none;scale:none;transition:none;animation:none;filter:none;backdrop-filter:none;-webkit-backdrop-filter:none;background:linear-gradient(132deg,rgb(var(--ul-brand-paper-rgb) / 0.94),rgb(var(--ul-brand-paper-rgb) / 0.78) 54%,rgb(var(--ul-brand-paper-rgb) / 0.84));background-image:linear-gradient(132deg,rgb(var(--ul-brand-paper-rgb) / 0.94),rgb(var(--ul-brand-paper-rgb) / 0.78) 54%,rgb(var(--ul-brand-paper-rgb) / 0.84));border-color:rgb(var(--ul-brand-stone-rgb) / 0.96);color:var(--deep);box-shadow:0 12px 28px rgb(var(--ul-brand-primary-rgb) / 0.11),inset 0 1px 0 rgb(var(--ul-brand-primary-rgb) / 0.98),inset 0 -1px 0 rgb(var(--ul-brand-primary-rgb) / 0.11);opacity:1;will-change:auto}
#home .hero-visual{position:relative;isolation:isolate;min-width:0;min-height:clamp(360px,42vw,510px);border-radius:34px 34px 112px 34px;background:radial-gradient(ellipse at 75% 12%,rgb(var(--ul-brand-paper-rgb) / 0.32),transparent 46%),linear-gradient(145deg,var(--ul-brand-paper),var(--ul-brand-paper))}
#home .hero-visual:before{position:absolute;z-index:-1;inset:-18px -16px 18px 18px;border:1px solid rgb(var(--ul-brand-stone-rgb) / 0.88);border-radius:38px 38px 122px 38px;content:"";pointer-events:none}
#home .hero-visual:after{position:absolute;inset:0;z-index:1;border:1px solid rgb(var(--ul-brand-stone-rgb) / 0.42);border-radius:inherit;background:linear-gradient(138deg,rgb(var(--ul-brand-paper-rgb) / 0.2),transparent 24%,transparent 72%,rgb(var(--ul-brand-paper-rgb) / 0.12));box-shadow:inset 0 1px 0 rgb(var(--ul-brand-primary-rgb) / 0.5),inset 1px 0 0 rgb(var(--ul-brand-primary-rgb) / 0.14);content:"";pointer-events:none}
#home .hero-visual .hero-photo,#home .hero-visual .cms-hero-image--visual{position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center 47%;border-radius:34px 34px 112px 34px;box-shadow:0 26px 70px rgb(var(--ul-brand-primary-rgb) / 0.16)}
#home .hero-visual .hero-brand-mark{position:absolute;top:18px;right:18px;z-index:2;display:grid;width:58px;height:58px;place-items:center;padding:6px;border:1px solid rgb(var(--ul-brand-stone-rgb) / 0.82);border-radius:20px;background:linear-gradient(145deg,rgb(var(--ul-brand-paper-rgb) / 0.78),rgb(var(--ul-brand-paper-rgb) / 0.54));box-shadow:0 12px 32px rgb(var(--ul-brand-primary-rgb) / 0.2),inset 0 1px 0 rgb(var(--ul-brand-primary-rgb) / 0.95);backdrop-filter:blur(20px) saturate(1.32);-webkit-backdrop-filter:blur(20px) saturate(1.32)}
#home .hero-visual .hero-brand-mark img{display:block;width:100%;height:100%;border-radius:14px}
#home .hero-note.glass{right:auto;bottom:26px;left:-34px;z-index:2;width:min(270px,82%);padding:20px 22px;border:1px solid rgb(var(--ul-brand-stone-rgb) / 0.86);border-radius:24px;background:linear-gradient(145deg,rgb(var(--ul-brand-paper-rgb) / 0.9),rgb(var(--ul-brand-paper-rgb) / 0.78));box-shadow:0 20px 48px rgb(var(--ul-brand-primary-rgb) / 0.15),inset 0 1px 0 var(--ul-brand-primary);backdrop-filter:blur(24px) saturate(1.3);-webkit-backdrop-filter:blur(24px) saturate(1.3)}
#home .hero-note strong{font-size:22px}
#home .hero-note span{line-height:1.55}
#home .quick.upcoming{max-width:none;margin:0 auto}
#home .upcoming-heading{align-items:center}
#home .upcoming-heading h2{font-size:clamp(27px,3.6vw,39px)}
#home .upcoming-card{min-height:148px}
#home .section{padding-top:88px}
#home .updates{gap:20px}
#home .feature{min-height:390px}
#home .community-card{min-height:300px}
#home .calendar.glass{scroll-margin-top:100px}
#glaube{scroll-margin-top:112px}
#glauben .faith-page{min-height:calc(100vh - 160px);align-items:start;margin:clamp(16px,2vw,28px) 0 38px;border:1px solid rgb(var(--ul-brand-stone-rgb) / 0.9);background:linear-gradient(135deg,rgb(var(--ul-brand-paper-rgb) / 0.66),rgb(var(--ul-brand-paper-rgb) / 0.82) 72%,rgb(var(--ul-brand-paper-rgb) / 0.82));box-shadow:0 26px 80px rgb(var(--ul-brand-primary-rgb) / 0.1),inset 0 1px 0 rgb(var(--ul-brand-primary-rgb) / 0.95)}
#glauben .faith-page h1{font-size:clamp(36px,4.4vw,56px);letter-spacing:-.065em;line-height:1.02;margin:11px 0}
#glauben .faith-page p{font-size:clamp(15px,1.6vw,18px);line-height:1.72}
#glauben .faith-page .placeholder{font-size:15px}
#glauben .faith-page .pillar{padding:22px 24px;border-radius:23px;background:linear-gradient(145deg,rgb(var(--ul-brand-paper-rgb) / 0.83),rgb(var(--ul-brand-paper-rgb) / 0.58));box-shadow:inset 0 1px 0 rgb(var(--ul-brand-primary-rgb) / 0.95),0 12px 30px rgb(var(--ul-brand-primary-rgb) / 0.04)}
#glauben .faith-page .pillar strong{font-size:14px}
#glauben .faith-page .pillar span{font-size:14px;line-height:1.6}
#glauben .faith-page .home-emblem{width:70px;height:70px;margin-bottom:25px}
#glauben .faith-page .home-emblem .mark{width:70px;height:70px;border-radius:23px;font-size:18px}
.page.cms-editorial-live [data-cms-fallback="glauben"]{display:none!important}
@media(max-width:850px){#glauben .faith-page{min-height:0;margin-top:30px;grid-template-columns:1fr;gap:22px;padding:clamp(25px,5vw,44px)}}
@media(max-width:620px){#glauben .faith-page{margin:18px 0 38px;border-radius:25px;padding:25px 21px}#glauben .faith-page h1{font-size:clamp(34px,10vw,45px)}#glauben .faith-page .home-emblem,#glauben .faith-page .home-emblem .mark{width:58px;height:58px;border-radius:19px}#glauben .faith-page .home-emblem{margin-bottom:20px}#glauben .faith-page .pillar{padding:17px 18px}#glauben .faith-page .pillar strong,#glauben .faith-page .pillar span{font-size:12px}}
.nav a[aria-current="location"]{color:var(--deep);background:linear-gradient(145deg,rgb(var(--ul-brand-paper-rgb) / 0.98),rgb(var(--ul-brand-paper-rgb) / 0.94))}
@media(max-width:850px){#home .hero.hero-home{grid-template-columns:1fr;gap:30px;margin-top:22px;padding:12px 8px 36px}#home .hero-home .hero-copy{max-width:760px}#home .hero-home h1{max-width:760px;font-size:clamp(52px,10vw,84px)}#home .hero-visual{min-height:clamp(340px,58vw,470px);margin:0 8px 0 24px}#home .hero-note.glass{left:-22px;bottom:20px}}
@media(max-width:620px){#home .hero.hero-home{gap:23px;margin:14px 0 28px;padding:8px 0 26px}#home .hero-home h1{font-size:clamp(46px,13.8vw,68px);letter-spacing:-.072em}#home .hero-home p{font-size:16px}#home .hero-home .hero-actions{gap:9px;margin-top:22px}#home .hero-home .btn{min-height:46px;padding:12px 16px;font-size:12px}#home .hero-visual{min-height:300px;margin:0 8px 0 17px;border-radius:25px 25px 78px 25px}#home .hero-visual:before{inset:-10px -9px 12px 10px;border-radius:28px 28px 88px 28px}#home .hero-visual .hero-photo,#home .hero-visual .cms-hero-image--visual{border-radius:25px 25px 78px 25px}#home .hero-visual .hero-brand-mark{top:13px;right:13px;width:50px;height:50px;padding:5px;border-radius:17px}#home .hero-visual .hero-brand-mark img{border-radius:12px}#home .hero-note.glass{left:-16px;bottom:58px;width:min(245px,86%);padding:16px 18px}#home .hero-note strong{font-size:19px}#home .section{padding-top:66px}#home .upcoming{padding:18px;border-radius:25px}}
@media(prefers-reduced-motion:reduce){#home .hero-home .btn,#home .hero-home .hero-actions .btn-light{transition:none}}

/* New season polish: deeper, clearer glass without moving light sweeps or hover motion. */
#home .hero-visual {
  border: 1px solid rgb(var(--ul-brand-stone-rgb) / 0.74);
  box-shadow: 0 34px 88px rgb(var(--ul-brand-primary-rgb) / 0.18), inset 0 1px 0 rgb(var(--ul-brand-primary-rgb) / 0.48);
}
#home .hero-visual:after {
  background:
    radial-gradient(ellipse at 14% 4%, rgb(var(--ul-brand-paper-rgb) / 0.28), transparent 38%),
    radial-gradient(ellipse at 94% 88%, rgb(var(--ul-brand-paper-rgb) / 0.2), transparent 38%),
    linear-gradient(138deg, rgb(var(--ul-brand-paper-rgb) / 0.18), transparent 28%, transparent 70%, rgb(var(--ul-brand-paper-rgb) / 0.16));
}
#home .hero-note.glass {
  border-color: rgb(var(--ul-brand-stone-rgb) / 0.94);
  background: linear-gradient(145deg, rgb(var(--ul-brand-paper-rgb) / 0.9), rgb(var(--ul-brand-paper-rgb) / 0.76));
  box-shadow: 0 24px 58px rgb(var(--ul-brand-primary-rgb) / 0.2), inset 0 1px 0 var(--ul-brand-primary), inset 0 -1px 0 rgb(var(--ul-brand-primary-rgb) / 0.1);
  backdrop-filter: blur(30px) saturate(1.42);
  -webkit-backdrop-filter: blur(30px) saturate(1.42);
}
#home .upcoming {
  background:
    radial-gradient(ellipse at 2% 0%, rgb(var(--ul-brand-paper-rgb) / 0.2), transparent 31%),
    radial-gradient(ellipse at 100% 0%, rgb(var(--ul-brand-paper-rgb) / 0.34), transparent 43%),
    linear-gradient(140deg, rgb(var(--ul-brand-paper-rgb) / 0.86), rgb(var(--ul-brand-paper-rgb) / 0.72));
  box-shadow: 0 26px 72px rgb(var(--ul-brand-primary-rgb) / 0.12), inset 0 1px 0 var(--ul-brand-primary), inset 0 -1px 0 rgb(var(--ul-brand-primary-rgb) / 0.08);
}
#home .upcoming-card {
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(ellipse at 100% 0%, rgb(var(--ul-brand-paper-rgb) / 0.23), transparent 58%),
    linear-gradient(145deg, rgb(var(--ul-brand-paper-rgb) / 0.92), rgb(var(--ul-brand-paper-rgb) / 0.76));
  box-shadow: 0 14px 34px rgb(var(--ul-brand-primary-rgb) / 0.09), inset 0 1px 0 var(--ul-brand-primary), inset 0 -1px 0 rgb(var(--ul-brand-primary-rgb) / 0.07);
}
#home .upcoming-card:after {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgb(var(--ul-brand-paper-rgb) / 0.94) 30%, var(--ul-brand-paper) 50%, rgb(var(--ul-brand-paper-rgb) / 0.8) 70%, transparent);
}
#home .upcoming-card h3 { letter-spacing: -.045em; }
#home .calendar.glass {
  border-color: rgb(var(--ul-brand-stone-rgb) / 0.96);
  background:
    radial-gradient(ellipse at 0% 100%, rgb(var(--ul-brand-paper-rgb) / 0.12), transparent 34%),
    radial-gradient(ellipse at 100% 0%, rgb(var(--ul-brand-paper-rgb) / 0.36), transparent 44%),
    linear-gradient(140deg, rgb(var(--ul-brand-paper-rgb) / 0.88), rgb(var(--ul-brand-paper-rgb) / 0.78));
  box-shadow: 0 30px 78px rgb(var(--ul-brand-primary-rgb) / 0.13), inset 0 1px 0 var(--ul-brand-primary), inset 0 -1px 0 rgb(var(--ul-brand-primary-rgb) / 0.08);
}
@media (max-width: 620px) {
  #home .hero-note.glass {
    background: linear-gradient(145deg, rgb(var(--ul-brand-paper-rgb) / 0.96), rgb(var(--ul-brand-paper-rgb) / 0.9));
    backdrop-filter: blur(22px) saturate(1.3);
    -webkit-backdrop-filter: blur(22px) saturate(1.3);
  }
}
@media (prefers-reduced-transparency: reduce) {
  #home .hero-note.glass,
  #home .upcoming,
  #home .upcoming-card,
  #home .calendar.glass {
    background: rgb(var(--ul-brand-paper-rgb) / 0.97);
    background-image: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Keep the full page switcher visible on phones; the centered glass nav wraps beneath the compact brand row. */
.topbar{
  border-color:rgb(var(--ul-brand-stone-rgb) / 0.9);
  background:linear-gradient(118deg,rgb(var(--ul-brand-paper-rgb) / 0.78),rgb(var(--ul-brand-paper-rgb) / 0.64) 52%,rgb(var(--ul-brand-paper-rgb) / 0.77));
  box-shadow:0 18px 48px rgb(var(--ul-brand-primary-rgb) / 0.1),inset 0 1px 0 rgb(var(--ul-brand-primary-rgb) / 0.96),inset 0 -1px 0 rgb(var(--ul-brand-primary-rgb) / 0.07);
}
.nav.glass{
  border-color:rgb(var(--ul-brand-stone-rgb) / 0.92);
  background:linear-gradient(135deg,rgb(var(--ul-brand-paper-rgb) / 0.72),rgb(var(--ul-brand-paper-rgb) / 0.55));
  box-shadow:0 12px 32px rgb(var(--ul-brand-primary-rgb) / 0.08),inset 0 1px 0 rgb(var(--ul-brand-primary-rgb) / 0.98),inset 0 -1px 0 rgb(var(--ul-brand-primary-rgb) / 0.06);
}
.nav a[aria-current="page"]{
  background:linear-gradient(145deg,rgb(var(--ul-brand-paper-rgb) / 0.99),rgb(var(--ul-brand-paper-rgb) / 0.91));
  box-shadow:0 7px 20px rgb(var(--ul-brand-primary-rgb) / 0.1),inset 0 1px 0 var(--ul-brand-primary);
}
@media(max-width:620px){
  .topbar{
    position:sticky;top:6px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;
    gap:8px 10px;width:100%;height:auto;min-height:0;margin:8px 0 17px;padding:10px 10px 11px;border-radius:25px;
  }
  .brand{grid-column:1;grid-row:1;justify-self:start;font-size:15px}
  .language-picker{grid-column:2;grid-row:1;justify-self:end;margin:0}
  .language-picker summary{min-height:36px;padding:6px 9px;gap:6px;font-size:11px}
  .language-picker .flag-icon{width:18px;height:13px}
  .nav,.nav.open{
    grid-column:1/-1;grid-row:2;position:relative;inset:auto;display:flex;justify-self:stretch;width:100%;max-width:100%;
    flex-direction:row;align-items:center;justify-content:center;gap:2px;padding:4px;border-radius:999px;
  }
  .nav a{flex:0 1 auto;min-width:0;padding:9px clamp(4px,1.5vw,9px);font-size:clamp(9px,2.75vw,11px);line-height:1.2;text-align:center;white-space:nowrap}
  .top-cta{display:none}
}
@media(max-width:350px){
  .topbar{gap:7px 8px;padding-inline:8px}
  .brand{font-size:14px}
  .language-picker summary{min-height:34px;padding:5px 7px;gap:5px}
  .nav,.nav.open{gap:1px;padding:3px}
  .nav a{padding-inline:3px;font-size:8.5px}
}
@media(prefers-reduced-transparency:reduce){
  .topbar,.nav.glass{background:rgb(var(--ul-brand-paper-rgb) / 0.97);backdrop-filter:none;-webkit-backdrop-filter:none}
}
