/* Load after the current site.css. Only the compact contact article is scoped. */
.contact-compact.info-page {
  max-width: 640px;
  padding-block: 16px 24px;
}
.contact-compact.info-page h1 {
  font: 500 clamp(30px, 3.4vw, 44px)/1.2 var(--display);
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.contact-compact.info-page > p {
  font: 400 17px/1.6 var(--body);
  max-width: 60ch;
  margin-bottom: 24px;
}
.contact-compact .contact-form { margin: 0; }
.contact-compact .contact-field { margin-bottom: 18px; }
.contact-compact .contact-field:has(textarea) { margin-bottom: 0; }
.contact-compact .contact-field label {
  font: 500 15px/1.5 var(--body);
  letter-spacing: 0;
  margin-bottom: 6px;
}
.contact-compact .contact-form .contact-field :is(input, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--muted);
  border-radius: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.5 var(--body);
  box-shadow: none;
}
.contact-compact .contact-form .contact-field textarea {
  height: auto;
  min-height: 118px;
  resize: vertical;
}
.contact-compact .contact-form .contact-field :is(input, textarea):hover {
  border-color: var(--fg);
}
.contact-compact .contact-form :is(input, textarea, button, a):focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}
.contact-compact .contact-form input[type="hidden"] { display: none; }
.contact-compact .contact-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 20px;
  margin-top: 16px;
}
.contact-compact .contact-submit .button {
  min-width: 120px;
  min-height: 46px;
  flex: 0 0 auto;
  letter-spacing: .02em;
}
.contact-compact.info-page .contact-privacy {
  flex: 1 1 300px;
  margin: 0;
  color: var(--muted);
  font: 400 14px/1.5 var(--body);
}
.contact-compact .contact-privacy a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--fg);
}
.contact-compact .contact-privacy a:hover { text-decoration-thickness: 2px; }
.contact-compact.info-page .contact-status {
  margin: 12px 0 0;
  font: 400 15px/1.5 var(--body);
  max-width: 60ch;
}
@media (max-width: 620px) {
  .contact-compact.info-page { padding-block: 10px 16px; }
  .contact-compact.info-page > p { font-size: 16px; margin-bottom: 20px; }
  .contact-compact .contact-field { margin-bottom: 16px; }
  .contact-compact .contact-submit { flex-direction: column; gap: 8px; }
  .contact-compact.info-page .contact-privacy { flex: none; }
}
