/* Motion is progressive enhancement; no hidden or zero-opacity base states. */
@media (prefers-reduced-motion: no-preference) {
  .button, .download-card, .contact-grid article, .logos img {
    transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s, background-color .25s, border-color .25s;
  }
  .button span, .text-link span, .nav-contact span, .download-arrow, .contact-grid a span {
    display:inline-block;
    transition:transform .3s cubic-bezier(.22,1,.36,1);
  }
  #navigation > a:not(.nav-contact) {position:relative}
  #navigation > a:not(.nav-contact)::after {
    content:'';position:absolute;left:0;bottom:4px;width:100%;height:1px;
    background:var(--sky);transform:scaleX(0);transform-origin:left;transition:transform .25s ease;
  }
  #navigation > a:focus-visible::after {transform:scaleX(1)}
  .button:focus-visible span, .nav-contact:focus-visible span {transform:translate(2px,-2px)}
  .download-card:focus-visible .download-arrow {transform:translateY(4px)}
  @media (hover:hover) and (pointer:fine) {
    .button:hover {transform:translateY(-3px);box-shadow:0 8px 25px #0003}
    .button:hover span, .nav-contact:hover span, .contact-grid a:hover span {transform:translate(2px,-2px)}
    .text-link:hover span {transform:translateY(3px)}
    #navigation > a:hover::after {transform:scaleX(1)}
    .download-card:hover {transform:translateY(-5px);box-shadow:0 12px 28px #00234b12}
    .download-card:hover .download-arrow {transform:translateY(4px)}
    .contact-grid article:hover {transform:translateY(-3px);border-color:#00234b}
    .logos img:hover {transform:translateY(-3px)}
  }
}
@media (prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto}
  *, *::before, *::after {animation:none!important;transition:none!important}
}
