/* Same Evan & Gabrielle / portfolio portrait treatment, scoped to this hero. */
:is(.hero-photo,.book-photo){perspective:1000px}
:is(.hero-photo,.book-photo) .couple-profile{position:relative;display:block;line-height:0;border-radius:16px;isolation:isolate;transform:rotateX(var(--card-rx,0deg)) rotateY(var(--card-ry,0deg));transition:transform .4s ease;transform-style:preserve-3d;--card-x:50%;--card-y:50%;--card-light:0}
:is(.hero-photo,.book-photo) .couple-profile>img{border-radius:16px;transform:translate(var(--card-px,0px),var(--card-py,0px));transition:transform .4s ease;clip-path:inset(0 round 16px)}
:is(.hero-photo,.book-photo) .couple-profile::before,:is(.hero-photo,.book-photo) .couple-profile::after{content:"";position:absolute;inset:0;border-radius:16px;pointer-events:none;z-index:1;opacity:var(--card-light);transition:opacity .5s}
:is(.hero-photo,.book-photo) .couple-profile::before{background:linear-gradient(120deg,transparent 12%,#c5b0ed55 30%,#96e0db55 45%,#f5db9a55 58%,#d9b1d655 75%,transparent 90%);background-size:200% 200%;background-position:var(--card-x) var(--card-y);mix-blend-mode:color-dodge;opacity:calc(var(--card-light)*.8)}
:is(.hero-photo,.book-photo) .couple-profile::after{background:radial-gradient(ellipse at var(--card-x) var(--card-y),#ffffff80,transparent 65%);mix-blend-mode:screen;opacity:calc(var(--card-light)*.5)}
@media(prefers-reduced-motion:reduce),(hover:none),(pointer:coarse){
 :is(.hero-photo,.book-photo) .couple-profile,:is(.hero-photo,.book-photo) .couple-profile>img{transform:none!important;transition:none}
 :is(.hero-photo,.book-photo) .couple-profile::before,:is(.hero-photo,.book-photo) .couple-profile::after{display:none}
}
