/* Cross-document route transition: the channel switch.
   The new page wipes in on a slanted edge OVER the old page, which
   stays put beneath (no fade → never a black gap on dark pages).
   Non-supporting browsers keep a plain fade; reduced-motion disables. */
@view-transition {navigation:auto;}
::view-transition-old(root) {animation:none;}
::view-transition-new(root) {animation:eb-channel-in 400ms var(--ease-inout, ease) both;}
@keyframes eb-channel-in {
 from {clip-path:polygon(-20% -20%, 10% -20%, -30% 120%, -70% 120%);}
 to {clip-path:polygon(-20% -20%, 132% -20%, 92% 120%, -70% 120%);}
}
::view-transition-group(site-navigation) {animation-duration:240ms;}
::view-transition-group(ephix-logo) {animation-duration:400ms;}
@media(prefers-reduced-motion:reduce) {
 @view-transition {navigation:none;}
 ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*) {animation:none!important;}
}
