/* =========================================================
   transitions.css  —  shared by index, index1-4 (design-dev)
   Link this LAST in <head> on every page so it wins the cascade.
   ========================================================= */

/* 1. Smooth page-to-page transitions (cross-document View Transitions).
      Every page in the sequence must include this rule, or that hop won't animate.
      Supported: Chrome/Edge 126+, Safari 18.2+. Other browsers simply navigate
      normally. Skipped for visitors who ask their OS for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.45s;
    animation-timing-function: ease-in-out;
  }
}

/* 2. Menu fix: the "My Story / About me" link in the menu's third column
      never becomes visible, because its open-state rule in myBase.css is
      commented out. This restores it, matching the other menu items. */
.menu.open .hidden-menu .third ul li {
  opacity: 1;
  -webkit-transform: translate(0px, 0px) scale(1, 1);
          transform: translate(0px, 0px) scale(1, 1);
  transition: all .5s .95s cubic-bezier(0.01, 0.74, 0.4, 1);
}
