:root {
  color-scheme: light;
  --contact-page: #fcfdff;
  --contact-ink: #4a514c;
  --contact-muted: #616161;
  --contact-accent: #017387;
  --contact-danger: #a92727;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { background: var(--contact-page); }

body {
  margin: 0;
  background: var(--contact-page);
  color: var(--contact-ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  overflow-x: hidden;
}

button,
input,
textarea { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; }

.contact-page {
  min-height: 100vh;
  overflow: hidden;
}

@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/assets/fonts/MaterialIcons-Regular.woff2") format("woff2");
}

.material-icons {
  font-family: "Material Icons" !important;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

/* Source-matched hero. */
.contact-main {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.contact-hero {
  width: 100%;
  height: 212px;
  margin: 100px 0;
}

.contact-hero__inner {
  position: relative;
  width: min(100%, 1080px);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-hero h1 {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 0;
  color: var(--contact-muted);
  font-size: 60px;
  font-weight: 700;
  line-height: 1.4;
}

.contact-hero__subtitle {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--contact-accent);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

.contact-hero__description {
  position: relative;
  z-index: 1;
  width: min(100%, 526px);
  margin: 37px 0 0;
  color: var(--contact-ink);
  font-size: 15px;
  line-height: 1.4;
}

.contact-hero__art {
  position: absolute;
  z-index: 0;
  top: -83px;
  right: 60px;
  display: block;
  width: 500px;
  height: auto;
  pointer-events: none;
}

/* Source-matched form card. */
.contact-panel {
  position: relative;
  z-index: 2;
  width: min(100%, 906px);
  min-height: 676px;
  margin: 0 auto 40px;
  padding: 60px 20px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 0 30px 10px rgba(240, 241, 247, .5);
}

.contact-form,
.contact-success {
  display: flex;
  flex-direction: column;
  width: min(100%, 600px);
  margin: 0 auto;
}

.contact-form { gap: 20px; }

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-field label {
  color: var(--contact-ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.contact-field label span { color: #d41111; }

.contact-field input,
.contact-field textarea {
  display: block;
  width: 100%;
  border: 1px solid #eee;
  border-radius: 4px;
  background: #fff;
  color: var(--contact-ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  padding: 10px 16px;
}

.contact-field input { height: 50px; }

.contact-field textarea {
  height: 160px;
  min-height: 160px;
  max-height: 320px;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #b6b9b7;
  opacity: 1;
}

.contact-field [aria-invalid="true"] { border-color: var(--contact-danger); }

.contact-privacy-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  min-height: 26px;
  color: var(--contact-ink);
  font-size: 15px;
  line-height: 1.75;
  text-decoration: none;
}

.contact-privacy-link > span:first-child {
  text-decoration: underline;
  text-underline-offset: .14em;
}

.contact-privacy-link .material-icons {
  font-size: 16px;
}

.contact-consent {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 22px;
  color: var(--contact-ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.contact-consent input {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: var(--contact-accent);
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 4px;
  background: var(--contact-accent);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.contact-button:hover { background: #006678; }

.contact-error-summary {
  width: min(100%, 600px);
  margin: 0 auto 24px;
  padding: 16px 20px;
  border-left: 4px solid var(--contact-danger);
  background: #fff2f2;
}

.contact-error-summary p { margin: 0; font-weight: 700; }
.contact-error-summary ul { margin: 8px 0 0; padding-left: 1.4em; }

.contact-success {
  align-items: flex-start;
  gap: 20px;
}

.contact-success h2,
.contact-success p { margin: 0; }

.contact-success h2 {
  color: var(--contact-accent);
  font-size: 28px;
  font-weight: 400;
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

input:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid #e49600;
  outline-offset: 2px;
}

/* Shared corporate footer. */
.contact-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 205px;
  padding: 60px 10px;
  background: var(--contact-page);
}

.contact-footer__menu {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #4a514c;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.contact-footer__menu .material-icons { font-size: 20px; }

.contact-footer__copyright {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 30px 0 0;
  color: #4a514c;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.contact-footer__copyright .material-icons { font-size: 16px; }

@media (max-width: 768px) {
  .contact-hero__art {
    top: auto;
    right: 30px;
    bottom: 80px;
    width: 90%;
    max-width: 90%;
    opacity: .1;
    transform: translateY(560px);
  }
}

@media (max-width: 640px) {
  .contact-hero {
    height: 292px;
    margin: 100px 0;
  }

  .contact-hero__inner { padding: 40px 20px 0; }

  .contact-hero h1 {
    font-size: 30px;
    line-height: 1.4;
  }

  .contact-hero__subtitle { font-size: 20px; }

  .contact-hero__description {
    width: 100%;
    margin-top: 37px;
  }

  .contact-panel {
    width: 100%;
    min-height: 584px;
    margin: 40px 0 0;
    padding: 15px;
  }

}

@media (max-width: 480px) {
  .contact-hero__art {
    right: 20px;
    bottom: 300px;
    width: 88%;
    max-width: 88%;
    transform: translateY(360px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
