/* Larger Lenhard logo while keeping the desktop pages inside one screen. */
.brand-row {
  height: 120px;
}

.logo-brand img {
  width: 300px;
  height: auto;
}

.compact-hero {
  min-height: calc(100svh - 208px);
}

.compact-page {
  min-height: calc(100svh - 208px);
}

.gallery-screen {
  height: calc(100svh - 208px);
}

/* Mobile Safari corrections for navigation and horizontal overflow. */
@media (max-width: 900px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero,
  .hero-content,
  .hero-visual,
  .compact-page,
  .gallery-screen {
    min-width: 0;
    width: 100%;
  }

  .brand-row {
    height: 96px;
  }

  .logo-brand img {
    width: 220px;
    height: auto;
  }

  .nav-row .mobile-menu {
    top: 27px;
  }

  .nav-row .mobile-menu nav {
    position: fixed;
    top: 96px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    z-index: 40;
  }

  .compact-hero,
  .compact-page {
    min-height: calc(100svh - 96px);
  }

  .gallery-screen {
    height: auto;
    min-height: calc(100svh - 96px);
  }
}

@media (max-width: 560px) {
  .logo-brand img {
    width: min(220px, 62vw);
  }

  .hero-content {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .hero-content h1 {
    font-size: clamp(38px, 11.5vw, 47px);
    overflow-wrap: break-word;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.55;
    overflow-wrap: break-word;
  }
}
