:root {
  --vm-black: #111;
  --vm-white: #fff;
  --vm-rule: #d7d7d7;
}

html {
  scroll-behavior: smooth;
}

body.vm-static-site {
  background: var(--vm-white) !important;
  color: var(--vm-black) !important;
  margin: 0;
  min-height: 100vh;
}

.skip-link {
  background: #fff;
  color: #111;
  left: 1rem;
  padding: 0.65rem 0.9rem;
  position: fixed;
  top: -5rem;
  z-index: 10000;
}

.skip-link:focus {
  top: 1rem;
}

.vm-header {
  align-items: center;
  background: #fff;
  box-sizing: border-box;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  min-height: 110px;
  padding: 28px 34px;
  position: relative;
  width: 100%;
  z-index: 1000;
}

.vm-brand,
.vm-navigation a,
.vm-navigation button,
.vm-menu-toggle,
.vm-footer a {
  color: #111;
  font-family: Poppins, Arial, Helvetica, sans-serif;
  text-decoration: none;
}

.vm-brand {
  flex: 0 0 auto;
  font-size: clamp(1.55rem, 2.1vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.vm-navigation {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.3rem;
  justify-content: flex-end;
}

.vm-navigation > a,
.vm-dropdown > button {
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.4;
  padding: 0.35rem 0;
  white-space: nowrap;
}

.vm-navigation > a:hover,
.vm-navigation > a:focus-visible,
.vm-dropdown > button:hover,
.vm-dropdown > button:focus-visible,
.vm-dropdown-menu a:hover,
.vm-dropdown-menu a:focus-visible,
.vm-footer a:hover,
.vm-footer a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.vm-dropdown {
  position: relative;
}

.vm-dropdown-menu {
  background: #fff;
  box-shadow: 0 10px 30px rgb(0 0 0 / 10%);
  display: none;
  left: -1rem;
  min-width: 250px;
  padding: 0.8rem 1rem;
  position: absolute;
  top: 100%;
}

.vm-dropdown-menu a {
  display: block;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.35;
  padding: 0.45rem 0;
}

.vm-dropdown:hover .vm-dropdown-menu,
.vm-dropdown:focus-within .vm-dropdown-menu,
.vm-dropdown.is-open .vm-dropdown-menu {
  display: block;
}

.vm-menu-toggle {
  background: transparent;
  border: 1px solid #111;
  cursor: pointer;
  display: none;
  font-size: 0.9rem;
  padding: 0.55rem 0.75rem;
}

.vm-footer {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  min-height: 140px;
  padding: 2rem;
}

.vm-footer a {
  font-size: 0.9rem;
  font-weight: 300;
}

body.vm-static-site [data-animation-role],
body.vm-static-site .preFade,
body.vm-static-site .preSlide,
body.vm-static-site .preScale {
  opacity: 1 !important;
  transform: none !important;
}

body.vm-static-site img {
  height: auto;
  max-width: 100%;
}

body.vm-static-site .sqs-video-wrapper,
body.vm-static-site .intrinsic {
  max-width: 100%;
}

body.vm-static-site .sqs-video-wrapper iframe,
body.vm-static-site iframe.embedly-embed {
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
  height: auto;
  width: 100%;
}

.vm-custom-main {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 55vh;
  padding: clamp(3rem, 7vw, 7rem) clamp(1.5rem, 5vw, 5rem);
}

.vm-contact-form {
  display: grid;
  font-family: Poppins, Arial, Helvetica, sans-serif;
  gap: 1.4rem;
  margin: 0 auto;
  max-width: 760px;
}

.vm-contact-form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.vm-contact-form legend,
.vm-contact-form label {
  display: grid;
  font-size: 0.95rem;
  font-weight: 300;
  gap: 0.45rem;
}

.vm-contact-form label span {
  color: #555;
  font-size: 0.78rem;
}

.vm-name-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  margin-top: 0.55rem;
}

.vm-contact-form input,
.vm-contact-form textarea {
  background: #fff;
  border: 1px solid #aaa;
  border-radius: 0;
  box-sizing: border-box;
  color: #111;
  font: inherit;
  padding: 0.8rem;
  width: 100%;
}

.vm-contact-form input:focus,
.vm-contact-form textarea:focus {
  border-color: #111;
  outline: 2px solid transparent;
}

.vm-contact-form button {
  background: #111;
  border: 1px solid #111;
  color: #fff;
  cursor: pointer;
  font: 500 0.95rem Poppins, Arial, sans-serif;
  justify-self: start;
  padding: 0.8rem 1.35rem;
}

.vm-contact-form button:hover,
.vm-contact-form button:focus-visible {
  background: #fff;
  color: #111;
}

.vm-honeypot {
  left: -10000px;
  position: absolute;
}

.vm-moire-main {
  max-width: 820px;
}

.vm-moire-video-wrap {
  background: #000;
  margin-bottom: 2rem;
}

.vm-moire-video {
  aspect-ratio: 9 / 16;
  display: block;
  margin: 0 auto;
  max-height: 78vh;
  max-width: 100%;
}

.vm-moire-main p,
.vm-message-page {
  font-family: Poppins, Arial, Helvetica, sans-serif;
  font-weight: 300;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .vm-header {
    align-items: flex-start;
  }

  .vm-menu-toggle {
    display: inline-block;
  }

  .vm-navigation {
    align-items: stretch;
    background: #fff;
    box-shadow: 0 15px 35px rgb(0 0 0 / 10%);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 1.25rem 2rem 2rem;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .vm-navigation.is-open {
    display: flex;
  }

  .vm-navigation > a,
  .vm-dropdown > button {
    text-align: left;
    width: 100%;
  }

  .vm-dropdown-menu {
    box-shadow: none;
    left: auto;
    padding: 0.3rem 0 0.7rem 1rem;
    position: static;
  }

  .vm-dropdown:hover .vm-dropdown-menu:not([data-open="true"]) {
    display: none;
  }

  .vm-dropdown.is-open .vm-dropdown-menu {
    display: block;
  }
}

@media (max-width: 640px) {
  .vm-header {
    min-height: 86px;
    padding: 24px 20px;
  }

  .vm-brand {
    font-size: 1.5rem;
  }

  .vm-name-grid {
    grid-template-columns: 1fr;
  }

  .vm-footer {
    min-height: 110px;
  }
}
