.contact.scene-section {
  padding-top: max(130px, 18svh);
  padding-bottom: max(85px, 13svh);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(34px, 6vw, 100px);
  max-width: 1160px;
  margin-inline: auto;
  text-align: left;
}

.contact .eyebrow { justify-content: flex-start; }

.contact h2 {
  margin: 22px 0 0;
  font-size: clamp(40px, 4.8vw, 78px);
  line-height: .99;
  text-wrap: balance;
}
.contact h2 em { display: block; }

#contact-form {
  pointer-events: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
  padding: clamp(20px, 2.3vw, 36px);
  color: #f0f3f2;
  color-scheme: dark;
  background: rgb(8 12 14 / 85%);
  border-top: 1px solid rgb(215 232 239 / 38%);
}

#contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font: 500 13px/1.4 'Helvetica Neue', Arial, sans-serif;
}

#contact-form small {
  font-size: inherit;
  font-weight: 400;
  color: #acb7bc;
}

#contact-form :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  box-sizing: border-box;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid #78888d;
  padding: 8px 5px;
  font: 400 16px/1.4 'Helvetica Neue', Arial, sans-serif;
  background: rgb(220 240 245 / 5%);
  color: #f0f3f2;
}
#contact-form select option { color: #f0f3f2; background: #111718; }
#contact-form textarea { resize: vertical; }
#contact-form :is(input, select, textarea):focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

#contact-form .full-field { grid-column: 1 / -1; }
.contact-submit { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.contact-submit button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 13px 18px;
  min-height: 46px;
  font-weight: 650;
  background: var(--signal);
  color: #101508;
  border: 0;
  cursor: pointer;
}
.contact-submit button:hover { background: #cfff91; }
.contact-submit button:disabled { cursor: wait; opacity: .78; }
#contact-status { margin: 0; font-size: 14px; line-height: 1.45; }
#contact-status:empty { display: none; }

@media (max-width: 780px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); max-width: 570px; }
  .contact h2 { max-width: 14ch; }
}

@media (max-width: 500px) {
  #contact-form { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
