/* Keep optional hints with their labels and align controls within each grid row. */
body[data-service-page] .contact-form label:has(> input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), > select, > textarea) {
  display: block;
  min-width: 0;
}
body[data-service-page] .contact-form .field-row {
  align-items: end;
}
body[data-service-page] .contact-form label > span {
  display: inline;
}
body[data-service-page] .contact-form label > :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea) {
  display: block;
  margin-top: 8px;
}

/* The header and service navigation both remain above the contact introduction. */
html:has(body[data-service-page]) {
  --service-sticky-top: calc(var(--header) + 90px);
  scroll-padding-top: var(--service-sticky-top);
}
body[data-service-page] .contact-intro {
  top: var(--service-sticky-top);
}
