/* Homepage only: the links under the bio, the project rows and the contact form. */
.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}
.profile-work,
.profile-contact {
  margin-top: 48px;
  scroll-margin-top: 24px;
}
.profile-work dl {
  margin: 0 0 14px;
}
.profile-work dl > div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 0 20px;
  margin-bottom: 10px;
}
.profile-work dd {
  margin: 0;
}
.profile-contact > a {
  display: block;
  width: fit-content;
  overflow-wrap: anywhere;
}

#contact-form {
  margin-top: 26px;
  font-size: 17px;
}
.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
#contact-form label {
  display: block;
}
#contact-form input:not([type="hidden"]),
#contact-form textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  margin: 6px 0 16px;
  padding: 9px 12px;
  border: 1px solid #8a8780;
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
#contact-form textarea {
  resize: vertical;
  min-height: 140px;
}
#contact-form input:focus-visible,
#contact-form textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
#contact-form button {
  min-height: 46px;
  padding: 8px 20px;
  border: 0;
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  cursor: pointer;
}
#contact-form button:disabled {
  opacity: 0.65;
  cursor: wait;
}
#contact-form .contact-honey {
  display: none;
}
#contact-form #contact-status,
#contact-form .contact-note {
  margin: 12px 0 0;
}
#contact-form .contact-note {
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 600px) {
  .profile-work dl > div,
  .contact-fields {
    grid-template-columns: 1fr;
  }
  .profile-work dl > div {
    margin-bottom: 14px;
  }
}
