/* Contact-page form styles. Every selector is scoped to the form fragment. */
.contact-note {
  max-width: 760px;
  margin-top: 34px;
}

.contact-note__lead {
  margin: 0 0 23px;
  font: 23px/1.6 var(--serif, Georgia, 'Times New Roman', serif);
}

.contact-note form {
  padding: 28px;
  border: 1px solid var(--line, #dcdcd2);
  border-top: 2px solid var(--accent, #9b593a);
  background: var(--white, #fffefa);
}

.contact-note__field {
  margin: 0 0 20px;
}

.contact-note label {
  display: block;
  margin: 0 0 7px;
  color: var(--ink, #20343c);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
}

.contact-note input[type='text'],
.contact-note input[type='email'],
.contact-note input[type='tel'],
.contact-note textarea {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line, #dcdcd2);
  border-radius: 0;
  background: #fff;
  color: var(--ink, #20343c);
  font: inherit;
  line-height: 1.45;
}

.contact-note textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-note input:focus-visible,
.contact-note textarea:focus-visible,
.contact-note button:focus-visible {
  outline: 3px solid var(--accent, #9b593a);
  outline-offset: 3px;
}

.contact-note .is-invalid {
  border-color: #863f32;
}

.contact-note__errors {
  margin: 0 0 22px;
  padding: 11px 13px;
  border-left: 3px solid #863f32;
  background: #f8ece8;
  color: #5e2920;
  font-size: 15px;
  line-height: 1.5;
}

.contact-note__field-error {
  margin: 7px 0 0;
  color: #863f32;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.contact-note__consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 11px;
  align-items: start;
  margin: 27px 0 24px;
}

.contact-note__consent input {
  width: 18px;
  height: 18px;
  margin: 5px 0 0;
  accent-color: var(--accent, #9b593a);
}

.contact-note__consent label {
  margin: 0;
  color: var(--muted, #536168);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

.contact-note__consent .contact-note__field-error {
  grid-column: 2;
}

.contact-note__submit {
  display: inline-block;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid var(--accent, #9b593a);
  border-radius: 0;
  background: var(--accent, #9b593a);
  color: #fff;
  cursor: pointer;
  font: 650 15px/1.4 var(--sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
}

.contact-note__submit:hover:not(:disabled) {
  border-color: var(--ink, #20343c);
  background: var(--ink, #20343c);
}

.contact-note__submit:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.contact-note__honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-note__success {
  margin: 0;
  padding: 21px 0;
  border-top: 2px solid var(--accent, #9b593a);
  color: var(--ink, #20343c);
  font: 23px/1.6 var(--serif, Georgia, 'Times New Roman', serif);
}

.contact-note__more {
  margin: 19px 0 0;
}

@media (max-width: 720px) {
  .contact-note {
    margin-top: 28px;
  }

  .contact-note__lead {
    font-size: 22px;
  }

  .contact-note form {
    padding: 22px 18px;
  }
}
