@media (prefers-reduced-motion: no-preference) {
  .header-inner { transition: min-height .25s cubic-bezier(.22,1,.36,1); }
  .header .brand img { transition: height .25s cubic-bezier(.22,1,.36,1); }
  dialog[open] .dialog-inner { animation: dialog-enter 500ms cubic-bezier(.22,1,.36,1) both; }
  dialog[open]::backdrop { animation: backdrop-enter 500ms cubic-bezier(.22,1,.36,1) both; }
  .hero-copy > * { animation: line-enter 600ms cubic-bezier(.22,1,.36,1) both; }
  .hero-copy > :nth-child(2) { animation-delay: 220ms; }
  .hero-copy > :nth-child(3) { animation-delay: 440ms; }
  .hero-copy > :nth-child(4) { animation-delay: 660ms; }
  .hero-copy > :nth-child(5) { animation-delay: 880ms; }
  @keyframes dialog-enter { from { opacity: 0; transform: translateY(10px) scale(.99); } }
  @keyframes backdrop-enter { from { opacity: 0; } }
  @keyframes line-enter { from { opacity: 0; transform: translateX(14px); } }
  .button, .photo-button img { transition: background-color .2s ease, transform .35s ease; }
  [data-reveal] { transition: opacity .6s ease, transform .6s ease; }
  .awaiting-reveal:not(.revealed):not(:focus-within) { opacity: 0; transform: translateY(14px); }
  @media (hover: hover) {
    .photo-button:not(.certificate):not(.project-photo):hover img { transform: scale(1.035); }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

