/*
 * Page transitions (R29, owner 2026-10-13: "a striking animation between pages, where it is useful,
 * not on every page"). Only the brand and leadership sites include this: moving between their pages
 * the old page sinks back and the new one rises into place. The browser's own cross-document View
 * Transitions do it: no script, no delay; browsers without it simply navigate as before.
 */
@view-transition { navigation: auto; }

::view-transition-old(root) { animation: tna-page-out .38s cubic-bezier(.4, 0, .2, 1) both; }
::view-transition-new(root) { animation: tna-page-in .52s cubic-bezier(.16, .84, .24, 1) both; }

/* Only fades, vertical moves and shrinking: a tilt or growth would make the page wider than the screen
   for the length of the animation (a sideways scroll bar flashes). */
@keyframes tna-page-out { to { opacity: 0; transform: translateY(-10px) scale(.985); filter: blur(4px); } }
@keyframes tna-page-in { from { opacity: 0; transform: translateY(22px); } }

/* The header and the bridge pill stay put while the page beneath them changes. */
[data-tna-corporate-bridge] { view-transition-name: tna-bridge; }

@media (prefers-reduced-motion: reduce) {
    @view-transition { navigation: none; }
}
