/* Shared by every Connect page: moving between pages is a short, soft change
   instead of a flash. The old page fades out quickly, the new one arrives
   with a small rise. A browser without cross-document view transitions skips
   all of this and navigates as before. Reduced motion gets no transition.
   The curves are the studio's two: --land (arrivals) and --soft (fades). */
:root {
  --land: cubic-bezier(.2, 1.35, .35, 1);
  --soft: cubic-bezier(.2, .8, .2, 1);
}
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: cc-vt-out 180ms var(--soft) both; }
::view-transition-new(root) { animation: cc-vt-in 420ms var(--soft) 60ms both; }
@keyframes cc-vt-out { to { opacity: 0; } }
@keyframes cc-vt-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
