:where(#wrap :target) {
  scroll-margin-top: 110px;
}

@media (max-width: 768px) {
  #wrap > header.lp-header-hidden:not(:focus-within) {
    transform: translateY(-100%);
  }
}

@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
  #wrap > header {
    transition: transform 180ms ease-out;
  }
}
