/* The project enquiry form extends the portfolio's Satoshi/navy/cyan system. */
.contact-route .contact-content { gap: 0; }
.contact-route a.contact-badge { display: none; }
.contact-page {
  box-sizing: border-box;
  width: min(100% - 128px, 900px);
  margin: 0 auto;
  padding: 64px 0 96px;
  color: #fff;
  font: 500 18px/1.5 "Satoshi", sans-serif;
}
.contact-introduction { margin-bottom: 40px; }
.contact-introduction h1 { margin: 0 0 16px; font-size: 42px; font-weight: 900; line-height: 1.2; letter-spacing: -.02em; }
.contact-introduction p { margin: 0; color: #bcbdc4; max-width: 65ch; }
.project-form { display: flex; flex-direction: column; gap: 28px; }
.form-instructions { color: #bcbdc4; margin: 0; font-size: 14px; }
.contact-fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-field { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.contact-field label { color: #fff; font-weight: 500; }
.field-optional { color: #bcbdc4; font-size: 14px; }
.contact-field input, .contact-field textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid #51576d;
  border-radius: 8px;
  background: #070e27;
  color: #fff;
  padding: 16px 18px;
  font: inherit;
  caret-color: #50d8ff;
  transition: border-color 180ms ease;
}
.contact-field input { min-height: 58px; }
.contact-field textarea { min-height: 220px; resize: vertical; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: #a6abbf; opacity: 1; }
.contact-field input:hover, .contact-field textarea:hover { border-color: #8e909d; }
.contact-field input:focus-visible, .contact-field textarea:focus-visible { outline: 2px solid #50d8ff; outline-offset: 3px; border-color: #50d8ff; }
.contact-field input:user-invalid, .contact-field textarea:user-invalid { border-color: #ffacac; }
.contact-submit { margin-top: 4px; }
.contact-submit button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 16px 24px;
  border: 0;
  border-radius: 8px;
  background: #50d8ff;
  color: #070e27;
  font: 700 18px/1.4 "Satoshi", sans-serif;
  cursor: pointer;
  transition: background-color 180ms ease;
}
.contact-submit button:hover { background: #8ce6ff; }
.contact-submit button:focus-visible { outline: 2px solid #50d8ff; outline-offset: 5px; }
.contact-submit button:disabled { opacity: .6; cursor: wait; }
.form-status { font-size: 16px; margin: 12px 0 0; color: #bcbdc4; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: #ffacac; }
.form-status[data-state="success"] { color: #50d8ff; }
.contact-direct { margin: 32px 0 0; color: #bcbdc4; font-size: 16px; }
.contact-direct a { color: #50d8ff; text-underline-offset: 4px; overflow-wrap: anywhere; }
@media (max-width: 809px) {
  .contact-page { width: calc(100% - 48px); padding: 48px 0 72px; }
  .contact-introduction h1 { font-size: 34px; }
  .contact-fields-row { grid-template-columns: 1fr; gap: 28px; }
  .contact-field input, .contact-field textarea { padding: 14px 16px; }
}
@media (max-width: 389px) {
  .contact-route .meo-LfpSM .meo-1ooxoqo,
  .contact-route .meo-LfpSM .meo-1nmeurn,
  .contact-route .meo-LfpSM .meo-fbnnzi { width: 100%; white-space: normal; }
  .contact-route .meo-LfpSM .meo-1nmeurn p.meo-text { font-size: 24px; overflow-wrap: anywhere; }
  .contact-route .meo-LfpSM .meo-fbnnzi p.meo-text { white-space: normal; text-wrap: balance; }
  .contact-route .meo-LfpSM .meo-lqdr7n { flex-wrap: wrap; gap: 20px; }
  .contact-route .meo-LfpSM .meo-1dwdbpd { flex: 0 0 auto; width: auto; }
  .contact-route .meo-LfpSM .meo-aefmw5 { flex: 0 0 auto; }
}
