.contact-main { min-width: 0; }
.contact-form { display: grid; gap: 22px; margin-top: 32px; }
.contact-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-field { display: grid; gap: 9px; min-width: 0; }
.contact-field label { font-size: 16px; line-height: 1.5; }
.contact-field label span { color: var(--muted); font-size: 14px; }
.contact-field input, .contact-field textarea {
  width: 100%; min-width: 0; padding: 14px 16px;
  border: 1px solid #64715b; border-radius: 10px;
  background: #0c110e; color: var(--text); font: inherit;
  font-size: 16px; line-height: 1.5;
}
.contact-field textarea { resize: vertical; min-height: 150px; }
.contact-field textarea::placeholder { color: var(--muted); opacity: 1; }
.contact-field input:hover, .contact-field textarea:hover { border-color: #91a47e; }
.contact-field input:focus-visible, .contact-field textarea:focus-visible {
  outline: 2px solid var(--lime); outline-offset: 3px; border-color: var(--lime);
}
.contact-form-note { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.contact-form-note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.contact-form-note a:hover { color: var(--lime); }
.contact-honeypot { display: none; }
.contact-form-status { margin: -4px 0 0; font-size: 15px; line-height: 1.6; }
.contact-form-status.is-success { color: var(--lime); }
.contact-form-status.is-error { color: #ffb4a8; }
.contact-submit { justify-self: start; }
.contact-submit:disabled { background: #354128; color: #bbc5ae; cursor: not-allowed; transform: none; }
@media (max-width: 1100px) and (min-width: 801px), (max-width: 550px) {
  .contact-form-row { grid-template-columns: 1fr; gap: 22px; }
}

/* Keep the WTC facade and lettering in view, then fade the photo into the card. */
.contact-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #151e13;
  border-color: #526146;
}
.contact-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  width: 100%;
  aspect-ratio: 920 / 680;
  max-height: 800px;
  background-image:
    linear-gradient(90deg, rgb(13 23 16 / 98%) 0%, rgb(13 23 16 / 90%) 46%, rgb(13 23 16 / 30%) 100%),
    url("assets/wtc-helsinki-jisis.jpg");
  background-position: center, center -48px;
  background-size: cover, 100% auto;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 98%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 98%, transparent 100%);
  pointer-events: none;
}
.contact-section::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: clamp(24px, 4vw, 60px);
  width: 72px;
  height: 2px;
  background: var(--lime);
  pointer-events: none;
}
.contact-main, .contact-details { position: relative; z-index: 1; }
.contact-details {
  align-self: start;
  padding: 29px;
  border: 1px solid #9cac8a50;
  border-radius: 17px;
  background: #0b130dbf;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.contact-details a, .contact-details p { color: #fff; }
@media (max-width: 800px) {
  .contact-section::before {
    height: 620px;
    aspect-ratio: auto;
    background-size: cover, auto 780px;
    background-position: center, 58% -40px;
  }
  .contact-details { margin-top: 20px; }
}
