/* PEACH CONNECT v0.5.4 — Hero-only motion + legible type; no layout changes. */
/* Motion is finite, transform/opacity-only to avoid layout shift and distraction. */
.peach-fv-photo-motion{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:hidden}
.peach-fv-photo-motion img{display:block;width:100%;height:100%;object-fit:cover}
@keyframes peach-fv-reveal {
  0%   {opacity:.82;transform:scale(1.055)}
  100% {opacity:1;transform:scale(1)}
}
body.home #hero .hero-photo,
.pc-service #service-hero .peach-fv-photo-motion,
.hero.peach-shared-fv .peach-fv-photo-motion,
.pcnx-root .hero.peach-shared-fv .peach-fv-photo-motion {
  transform-origin:50% 50%!important;
  animation:peach-fv-reveal 6.8s cubic-bezier(.17,.62,.25,1) both!important;
  will-change:auto;
}
/* Improve contrast against the photography while keeping it visible on the right. */
body.home #hero .hero-fade,
.pc-service #service-hero .hero-fade,
.hero.peach-shared-fv .hero-fade,
.pcnx-root .hero.peach-shared-fv .hero-fade {
  background:linear-gradient(90deg,
    rgba(250,253,253,.99) 0%,
    rgba(250,253,253,.975) 30%,
    rgba(250,253,253,.91) 46%,
    rgba(250,253,253,.60) 64%,
    rgba(250,253,253,.06) 94%)!important;
}
body.home #hero h1,
.pc-service #service-hero h1,
.hero.peach-shared-fv .peach-fv-copy h1,
.pcnx-root .hero.peach-shared-fv .peach-fv-copy h1 {
  color:#143b43!important;
  text-shadow:0 1px 1px rgba(255,255,255,.65)!important;
}
/* Unedited pages preserve their original highlighted-last-phrase behavior. */
body.home #hero h1:not(.peach-fv-title-color-custom) span,
.pc-service #service-hero h1:not(.peach-fv-title-color-custom) .sv-phrase:last-of-type,
.hero.peach-shared-fv .peach-fv-copy h1:not(.peach-fv-title-color-custom) .peach-fv-phrase:last-of-type,
.pcnx-root .hero.peach-shared-fv .peach-fv-copy h1:not(.peach-fv-title-color-custom) .peach-fv-phrase:last-of-type {
  color:#965323!important;
}
/* Once a phrase is chosen in the admin, only that exact part is accented. */
body.home #hero h1.peach-fv-title-color-custom span:not(.peach-fv-highlight),
.pc-service #service-hero h1.peach-fv-title-color-custom .sv-phrase,
.hero.peach-shared-fv .peach-fv-copy h1.peach-fv-title-color-custom .peach-fv-phrase,
.pcnx-root .hero.peach-shared-fv .peach-fv-copy h1.peach-fv-title-color-custom .peach-fv-phrase {
  color:#143b43!important;
}
body.home #hero h1.peach-fv-title-color-custom .peach-fv-highlight,
.pc-service #service-hero h1.peach-fv-title-color-custom .peach-fv-highlight,
.hero.peach-shared-fv .peach-fv-copy h1.peach-fv-title-color-custom .peach-fv-highlight,
.pcnx-root .hero.peach-shared-fv .peach-fv-copy h1.peach-fv-title-color-custom .peach-fv-highlight {
  color:var(--peach-fv-accent,#965323)!important;
}
@media (max-width:760px) {
  body.home #hero .hero-fade,
  .pc-service #service-hero .hero-fade,
  .hero.peach-shared-fv .hero-fade,
  .pcnx-root .hero.peach-shared-fv .hero-fade {
    background:linear-gradient(180deg,
      rgba(250,253,253,.99) 0%,
      rgba(250,253,253,.965) 29%,
      rgba(250,253,253,.87) 52%,
      rgba(250,253,253,.40) 81%,
      rgba(250,253,253,.13) 100%)!important;
  }
}
@media (prefers-reduced-motion:reduce) {
  body.home #hero .hero-photo,
  .pc-service #service-hero .peach-fv-photo-motion,
  .hero.peach-shared-fv .peach-fv-photo-motion,
  .pcnx-root .hero.peach-shared-fv .peach-fv-photo-motion {
    animation:none!important;
    transform:none!important;
  }
}
