/* Contact page visual and form refinements. */
.contact-hub__brief {
  display: flex;
  flex-direction: column;
}

.contact-hub__visual {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 230px;
  min-height: 0;
  margin: auto 0;
  overflow: hidden;
  border: 1px solid rgba(65, 184, 213, .24);
  border-radius: var(--d-radius);
  background: #031426;
  box-shadow: 0 26px 56px rgba(0, 0, 0, .3);
}

.contact-hub__visual::before,
.contact-hub__visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.contact-hub__visual::before {
  inset: -22%;
  border: 1px solid rgba(65, 184, 213, .18);
  border-radius: 50%;
  box-shadow: inset 0 0 52px rgba(65, 184, 213, .08);
  animation: dardos-contact-orbit 18s linear infinite;
}

.contact-hub__visual::after {
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 48%, rgba(2, 10, 31, .16) 76%, rgba(2, 10, 31, .64) 100%),
    linear-gradient(120deg, transparent 32%, rgba(255, 255, 255, .08) 48%, transparent 62%);
  background-size: auto, 240% 100%;
  animation: dardos-contact-sheen 11s ease-in-out infinite;
}

.contact-hub__visual-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.035);
  animation: dardos-contact-drift 12s ease-in-out infinite alternate;
  will-change: transform;
}

.contact-hub .contact-form textarea {
  height: 86px;
  min-height: 86px;
  resize: vertical;
}

.contact-hub .contact-form .field--full:not(.contact-form__submit) {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
}

.contact-hub .contact-form .field--full:not(.contact-form__submit) > p,
.contact-hub .contact-form .field--full:not(.contact-form__submit) .wpcf7-form-control-wrap,
.contact-hub .contact-form .field--full:not(.contact-form__submit) textarea {
  display: block;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

@keyframes dardos-contact-drift {
  from { transform: scale(1.035) translate3d(0, -0.5%, 0); }
  to { transform: scale(1.075) translate3d(0, 1%, 0); }
}

@keyframes dardos-contact-orbit {
  to { transform: rotate(360deg); }
}

@keyframes dardos-contact-sheen {
  0%, 24% { background-position: center, 140% 0; }
  68%, 100% { background-position: center, -100% 0; }
}

@media (max-width: 1050px) {
  .contact-hub__brief {
    display: grid;
  }

  .contact-hub__visual {
    grid-column: 1 / -1;
    height: 240px;
    margin-top: 34px;
  }
}

@media (max-width: 760px) {
  .contact-hub__brief {
    display: block;
  }

  .contact-hub__visual {
    height: 210px;
    margin-top: 28px;
  }

  .contact-hub .contact-form textarea {
    height: 82px;
    min-height: 82px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .contact-hub__visual::before,
  .contact-hub__visual::after,
  .contact-hub__visual-image {
    animation: none;
  }
}
