/* Site-specific fixes on top of the Webflow export */

/* The exported menu is position:absolute inside a very tall homepage hero,
   so the links and the right-hand image were stretched off-screen. Pin it
   to the viewport instead. */
.menu {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100dvh !important;
  overflow: hidden;
  z-index: 200;
}

.menu-wrapper {
  min-height: 0 !important;
  height: 100%;
  max-height: 100%;
}

.menu-visual {
  flex: 1 1 auto;
  position: relative;
  align-self: stretch;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background-color: #191d23;
  background-image: url("/images/6d55ebcc-9dd6-4777-96ec-be03ed33da97.JPG");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.menu-visual-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Keep the contact form modal on the viewport, even on long pages */
.form-open {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  min-height: 0 !important;
  overflow: auto;
  z-index: 9999;
}
