.contact-header { display: flex; justify-content: space-between; }
.back-link { color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-hero { padding-block: clamp(54px, 7vw, 96px) clamp(80px, 9vw, 124px); }
.contact-hero h1 { font-size: clamp(42px, 6vw, 76px); margin-top: 0; }
.contact-hero .lead { max-width: 540px; }
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 1.35fr);
  align-items: start;
  gap: 22px;
  margin-top: -36px;
  padding-bottom: 58px;
}
.contact-channel, .contact-form {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(21px, 3vw, 36px);
  overflow-wrap: anywhere;
  background: white;
}
.contact-channel { background: #f3f3f3; }
.contact-channel h2, .contact-form h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.045em; }
.contact-channel p { margin: 12px 0; color: var(--muted); }
.contact-channel a { color: #494949; font-weight: 650; }
.contact-form { display: grid; gap: 17px; box-shadow: 0 18px 42px #2222220d; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.contact-form label { display: grid; gap: 7px; font-size: 14px; font-weight: 650; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid #c6c6c6;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}
.contact-form textarea { resize: vertical; }
.contact-form :is(input, select, textarea):focus-visible { outline: 2px solid #797979; outline-offset: 2px; }
.contact-send { justify-self: start; background: var(--navy); color: white; cursor: pointer; }
.contact-send:hover { background: var(--navy-light); }
.contact-feedback { padding: 10px 14px; border-radius: 10px; font-size: 14px; }
.contact-feedback.success { background: #f1f1f1; color: #454545; }
.contact-feedback.error { background: #f0f0f0; color: #404040; }
@media (max-width: 680px) {
  .contact-grid, .contact-fields { grid-template-columns: 1fr; }
  .contact-form { grid-row: 1; }
  .back-link { font-size: 12px; text-align: right; }
}

.contact-draft { justify-self: start; border-color: var(--line); white-space: normal; }
.contact-feedback.success { border-left: 3px solid #333; }
.contact-feedback.error { border-left: 3px solid #777; }
