/* Public motion and footer 1.94.6. Transform/opacity only for entrance and movement. */
body:not(.admin-site){--pm-ease:cubic-bezier(.22,1,.36,1);--pm-quick:180ms;--pm-soft:420ms}
/* Legacy reveal markers are readable even if JavaScript fails or arrives late. */
html body:not(.admin-site) [data-reveal]{opacity:1;transform:none;transition-delay:0s}
body:not(.admin-site) .footer-bottom{flex-wrap:wrap}
.parish-motion-setting{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:2px 14px;width:auto;max-width:none;margin:0;padding:0;border:0;color:inherit;text-align:left}
.parish-motion-setting label{display:block;flex:0 0 auto;font-size:12px;font-weight:700;margin:0}
.parish-motion-line{display:flex;align-items:center;gap:10px;flex:1 1 280px;max-width:450px;flex-wrap:nowrap}
.parish-motion-setting input[type=range]{flex:1 1 160px;width:220px;max-width:100%;min-width:100px;min-height:44px;margin:0;accent-color:currentColor;cursor:pointer}
.parish-motion-setting input:focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:8px}
.parish-motion-setting output{min-width:95px;font-size:12px;color:inherit}
.parish-motion-setting small{font-size:12px;color:inherit;line-height:1.5}.parish-motion-setting small:not([hidden]){display:block;flex:1 1 180px;max-width:300px;margin:0;font-size:11px;line-height:1.4}
.parish-motion-preview{display:flex;align-items:center;gap:4px;height:32px;overflow:visible}
.parish-motion-preview i{display:block;width:17px;height:7px;background:currentColor;border-radius:4px}
.parish-motion-setting input:disabled{cursor:default;opacity:.65}
@media(prefers-reduced-motion:no-preference){
 html[data-parish-motion=on] body:not(.admin-site) .hero-intro .home-hero-kicker{animation:pm-intro var(--pm-intro-time,1000ms) var(--pm-ease) backwards}
 html[data-parish-motion=on] body:not(.admin-site) .hero-intro h1{animation:pm-intro var(--pm-intro-time,1000ms) 80ms var(--pm-ease) backwards}
 html[data-parish-motion=on] body:not(.admin-site) .hero-intro :is(.home-hero-text,.launch-actions){animation:pm-intro var(--pm-intro-time,1000ms) 180ms var(--pm-ease) backwards}
 html[data-parish-motion=on] body:not(.admin-site) .hero-slide:only-child .scene-photo{animation:none}

 html[data-parish-motion=on] body:not(.admin-site) :is(.button,.podcast-listen,.podcast-share,.practical-trigger,.ms-button,.ms-card,.content-card,.community-card,.bento,.word-day-card,.memories-card){transition:translate 260ms var(--pm-ease),box-shadow 260ms ease,border-color var(--pm-quick) ease,background-color var(--pm-quick) ease}
 html[data-parish-motion=on] body:not(.admin-site) :is(.card-photo,.community-card-photo,.instagram-photo,.memories-photo,.community-photo,.community-visual,.bento-memories,.ms-hero>picture){overflow:clip}
 html[data-parish-motion=on] body:not(.admin-site) :is(.card-photo,.community-card-photo,.instagram-photo,.memories-photo,.community-photo,.community-visual,.bento-memories,.ms-hero>picture) img{transition:scale 650ms var(--pm-ease)}
 html[data-parish-motion=on] body:not(.admin-site) :is(.round-arrow,.ms-arrow,.bento-bottom>span,.participation-links svg){transition:translate 260ms var(--pm-ease)}
 html[data-parish-motion=on] body:not(.admin-site) :is(.button,.ms-button,.podcast-listen,.podcast-share,.practical-triggers button):active:not(:disabled){translate:0 1px}
 html[data-parish-motion=on] body:not(.admin-site) .ms-nav{animation:pm-arrive 700ms var(--pm-ease) both}
 html[data-parish-motion=on] body:not(.admin-site) #main-menu.open :is(.nav-desktop,.nav-mobile){animation:pm-arrive 260ms var(--pm-ease)}
 html[data-parish-motion=on] body:not(.admin-site) :is(.practical-panel,.social-subbar).open{animation:pm-arrive 260ms var(--pm-ease)}
 html[data-parish-motion=on] body:not(.admin-site) dialog[open]:not(.space-welcome){animation:pm-dialog var(--pm-panel-time,340ms) var(--pm-ease)}
 html[data-parish-motion=on] body:not(.admin-site) dialog[open]::backdrop{animation:pm-backdrop 180ms ease-out}
 html[data-parish-motion=on] body:not(.admin-site) :is(.mini-site,.prose) details[open]>:not(summary){animation:pm-arrive 240ms var(--pm-ease)}
 html[data-parish-motion=on] body:not(.admin-site) :is(.ms-nav a,.nav-desktop a,.nav-mobile a,.text-link,.footer-bottom a){text-underline-offset:5px;text-decoration-thickness:1px;transition:text-underline-offset 200ms ease}
 html[data-parish-motion=on] body:not(.admin-site) :is(.ms-nav a,.nav-desktop a,.nav-mobile a,.text-link,.footer-bottom a):hover{text-decoration-line:underline;text-underline-offset:8px}
 @media(hover:hover) and (pointer:fine){
  html[data-parish-motion=on] body:not(.admin-site) :is(.content-card,.community-card,.bento,.ms-card,.word-day-card,.memories-card):hover{translate:0 var(--pm-hover-lift,-7px)}
  html[data-parish-motion=on] body:not(.admin-site) :is(.button,.ms-button,.podcast-listen,.podcast-share):hover:not(:disabled){translate:0 -2px}
  html[data-parish-motion=on] body:not(.admin-site) :is(.content-card,.community-card,.instagram-card,.memories-card,.community-visual,.ms-hero>picture):hover img{scale:var(--pm-image-zoom,1.055)}
  html[data-parish-motion=on] body:not(.admin-site) :is(a,button):hover :is(.round-arrow,.ms-arrow,.bento-bottom>span,.participation-links svg){translate:var(--pm-arrow-step,6px) 0}
 }
}
html[data-parish-motion=on] body:not(.admin-site) :is(.bento,.button,.content-card):hover{transform:none}
html[data-parish-motion=on] body:not(.admin-site) :is(.instagram-card:hover img,.bento-memories:hover>img){transform:none}
@keyframes pm-intro{from{translate:0 var(--pm-intro-distance,28px)}to{translate:0 0}}

@keyframes pm-arrive{from{opacity:.35;translate:0 20px}to{opacity:1;translate:0 0}}
@keyframes pm-dialog{from{opacity:.65;translate:0 10px}to{opacity:1;translate:0 0}}
@keyframes pm-backdrop{from{opacity:0}to{opacity:1}}
/* One user preference also disables earlier decorative effects in the public shell. */
html[data-parish-motion=off]{scroll-behavior:auto}
html[data-parish-motion=off] body:not(.admin-site) *,html[data-parish-motion=off] body:not(.admin-site) *::before,html[data-parish-motion=off] body:not(.admin-site) *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important;translate:none!important;scale:none!important}
html[data-parish-motion=off] body:not(.admin-site) :is(.scene-photo,.bento:hover,.button:hover,.instagram-card:hover img){transform:none!important}
@media(prefers-reduced-motion:reduce){body:not(.admin-site) *,body:not(.admin-site) *::before,body:not(.admin-site) *::after{animation:none!important;transition:none!important;translate:none!important;scale:none!important;scroll-behavior:auto!important}}
@media print{body:not(.admin-site) *{animation:none!important;transition:none!important;opacity:1!important;translate:none!important;scale:none!important}.parish-motion-setting{display:none!important}}

/* The portal theme also colors small text; inherit the verified footer contrast. */
html body:not(.admin-site) .site-footer .parish-motion-setting small{color:inherit!important;opacity:1}

@media(max-width:760px){.parish-motion-setting{gap:0 12px}.parish-motion-setting label{flex-basis:100%}.parish-motion-line{max-width:none}.parish-motion-setting small:not([hidden]){flex-basis:100%;max-width:none}}

/* Public footer 1.94.6: compact layout, same content and theme colors. */
html body:not(.admin-site) .site-footer{padding:30px 0 18px}
html body:not(.admin-site) .footer-inner{grid-template-columns:1.15fr 1fr 1.1fr;gap:28px;align-items:start}
html body:not(.admin-site) .footer-brand{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:12px;row-gap:5px;align-items:center}
html body:not(.admin-site) .footer-brand>.parish-logo{grid-column:1;grid-row:1/3;--logo-size:44px;--logo-padding:0px;width:44px;height:44px;margin:0}
html body:not(.admin-site) .footer-brand h2{grid-column:2;font-size:clamp(19px,1.9vw,25px);line-height:1.15;margin:0}
html body:not(.admin-site) .footer-brand p{grid-column:2;margin:0;font-size:12px;line-height:1.4}
html body:not(.admin-site) .site-footer h3{font-size:12px;line-height:1.4;margin:0 0 8px}
html body:not(.admin-site) .footer-inner>div:not(.footer-brand)>p{font-size:12px;line-height:1.5;margin:0 0 5px}
html body:not(.admin-site) .footer-inner a{font-size:12px;line-height:1.5;margin-top:5px}
html body:not(.admin-site) .footer-inner>div:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 16px;align-content:start}
html body:not(.admin-site) .footer-inner>div:last-child h3{grid-column:1/-1;margin:0}
html body:not(.admin-site) .footer-inner>div:last-child a{margin:0}
html body:not(.admin-site) .footer-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px 18px;align-items:center;margin-top:18px;padding-top:12px;font-size:11px}
html body:not(.admin-site) .footer-bottom>a:first-of-type{margin-left:0}
html body:not(.admin-site) .footer-bottom>span{width:auto}
@media(max-width:760px){
 html body:not(.admin-site) .site-footer{padding:24px 0 16px}
 html body:not(.admin-site) .footer-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 22px}
 html body:not(.admin-site) .footer-brand{grid-column:1/-1;grid-template-columns:40px minmax(0,1fr)}
 html body:not(.admin-site) .footer-brand>.parish-logo{--logo-size:40px;width:40px;height:40px}
 html body:not(.admin-site) .footer-brand h2{font-size:23px}
 html body:not(.admin-site) .footer-inner>div:last-child{grid-template-columns:1fr;gap:6px}
 html body:not(.admin-site) .footer-bottom{grid-template-columns:1fr auto;gap:6px 12px;margin-top:16px}
 html body:not(.admin-site) .footer-bottom>span{grid-column:1/-1}
 html body:not(.admin-site) .footer-inner a{min-height:24px}
}
