/* Content moves; the corner navigation remains a stable registration point. */
#app-view.page-enter {animation:none!important}
.portfolio-header {z-index:110}
.portfolio-header,
body.is-project-index .portfolio-header,
body.is-project-detail .portfolio-header {right:max(var(--site-gutter),calc((100vw - 1840px)/2))}
.page-motion-snapshot {
  position:fixed;inset:0;z-index:90;overflow:hidden;pointer-events:none;
  background-color:var(--paper);background-image:var(--paper-texture);
  background-size:var(--paper-grain-size);will-change:clip-path,transform;
}
.page-motion-snapshot-content {position:absolute;inset:0 auto auto 0;transform-origin:0 0}
.page-motion-snapshot-content *, .page-motion-snapshot-content *::before, .page-motion-snapshot-content *::after {
  animation:none!important;transition:none!important;pointer-events:none!important;
}
body.is-page-transitioning .pr-intro {z-index:80}
body.is-page-transitioning .pr-intro,
body.is-page-transitioning .pr-intro *,
body.is-page-transitioning .pr-sequence .pr-copy-pane,
body.is-page-transitioning .pr-sequence .pr-backdrop,
body.is-page-transitioning .pr-sequence .pr-footer {animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce) {.page-motion-snapshot {display:none}}

/* The four source cards leave independently without an opaque page wipe. */
.page-motion-snapshot.collection-motion-snapshot {background:transparent;min-height:0;will-change:auto}
.collection-motion-snapshot .collection-motion-source {position:absolute;inset:0;width:100%;height:100%;margin:0!important;padding:0!important;transform:none;pointer-events:none}
.collection-motion-snapshot .hc-card {will-change:transform,opacity;pointer-events:none!important}
body.is-collection-transitioning [data-collection-reveal] {opacity:0;will-change:transform,opacity}
body.is-collection-transitioning [data-collection-reveal="photo"] {overflow:hidden;transform-origin:50% 0;backface-visibility:hidden}
body.is-collection-transitioning #pa-title {overflow:hidden}
body.is-collection-transitioning .pa-photo-media {will-change:transform}
@media(prefers-reduced-motion:reduce) {
  body.is-collection-transitioning [data-collection-reveal] {opacity:1;transform:none!important;will-change:auto}
}
