/* Brief, one-shot section entry; the persistent player and navigation stay still. */
@keyframes sc-section-arrive{
 from{opacity:0;transform:translateY(6px)}
 to{opacity:1;transform:translateY(0)}
}
@keyframes sc-background-arrive{
 from{opacity:0}
 to{opacity:1}
}
.page-copy,.home-links{animation:sc-section-arrive 240ms cubic-bezier(.2,.65,.35,1) both}
.photo-backdrop{opacity:0}
.photo-backdrop.is-ready,.section-backdrop{animation:sc-background-arrive 600ms ease-out both}
.page-demo .photo-backdrop.is-ready{animation-delay:180ms}

/* Transform the cropped photo window so the established crop stays centred. */
.portal{transition:border-color 220ms ease,transform 220ms ease,box-shadow 280ms ease}
.portal-art{transform-origin:center;transition:transform 420ms cubic-bezier(.2,.65,.35,1)}
.portal-caption .arrow{display:inline-block;transition:transform 240ms ease,color 220ms ease}
.portal:focus-visible{border-color:#d8b16d;transform:translateY(-2px);box-shadow:0 8px 22px #0003}
.portal:focus-visible .portal-art{transform:scale(1.025)}
.portal:focus-visible .arrow{transform:translateX(4px);color:#f3d29b}
@media(hover:hover) and (pointer:fine){
 .portal:hover{border-color:#d8b16d;transform:translateY(-2px);box-shadow:0 8px 22px #0003}
 .portal:hover .portal-art{transform:scale(1.025)}
 .portal:hover .arrow{transform:translateX(4px);color:#f3d29b}
}
@media(hover:none){.portal:hover{transform:none}}
@media(prefers-reduced-motion:reduce){
 .page-copy,.home-links,.photo-backdrop.is-ready,.section-backdrop{animation:none!important}
 .photo-backdrop{opacity:1}
 .portal,.portal-art,.portal-caption .arrow{transition:none!important;transform:none!important}
}
