/* Keep every menu item reachable in short windows and with enlarged text. */
@media (max-width: 650px) {
  .header-inner nav {
    max-height: calc(100vh - 150px - env(safe-area-inset-bottom, 0px));
    max-height: calc(100dvh - 150px - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}
/* Landscape phones keep the full navigation with a comfortable tap height. */
@media (min-width: 651px) and (max-width: 1100px) and (max-height: 500px) {
  .header-inner nav a,
  .header-inner .header-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
  }
}
