.website-form-section {
  align-items: start;
  max-width: 1440px;
  margin-inline: auto;
}

.website-form-visual {
  position: sticky;
  top: 104px;
}

.website-form-visual img {
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.website-form-card {
  min-width: 0;
}

.website-form-card h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.website-form-intro {
  max-width: 64ch;
  margin: -4px 0 24px;
  color: var(--slate);
  font-size: 0.96rem;
}

.website-form-intro span,
.website-form-field label span,
.website-form-consent label > span {
  color: #a33030;
}

.website-form {
  position: relative;
  z-index: 1;
  gap: 20px;
}

.website-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.website-form-field {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
}

.website-form-field--full {
  grid-column: 1 / -1;
}

.website-form-field label,
.website-form-consent label {
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: 850;
}

.website-form-field input,
.website-form-field select,
.website-form-field textarea {
  min-height: 50px;
  margin: 0;
  border-color: rgba(31, 48, 63, 0.24);
  background: #fff;
}

.website-form-field textarea {
  min-height: 146px;
}

.website-form-field input::placeholder,
.website-form-field textarea::placeholder {
  color: #7b8790;
  opacity: 1;
}

.website-form-field [aria-invalid="true"] {
  border-color: #b83a3a;
  background: #fffafa;
}

.website-form-help {
  color: var(--slate);
  font-size: 0.82rem;
  line-height: 1.45;
}

.website-form-error {
  color: #a33030;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.4;
}

.website-form-notice,
.website-form-error-summary {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  border: 1px solid rgba(184, 58, 58, 0.34);
  border-radius: 8px;
  padding: 14px 16px;
  background: #fff3f0;
  color: #842d2d;
}

.website-form-notice {
  font-weight: 750;
}

.website-form-error-summary:focus {
  outline: 3px solid rgba(184, 58, 58, 0.25);
  outline-offset: 3px;
}

.website-form-error-summary strong {
  display: block;
  margin-bottom: 8px;
}

.website-form-error-summary ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 20px;
}

.website-form-error-summary a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.website-form-consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px 11px;
  align-items: start;
}

.website-form-consent input {
  width: 22px;
  min-height: 22px;
  margin: 1px 0 0;
  accent-color: var(--gold-deep);
}

.website-form-consent label {
  line-height: 1.5;
}

.website-form-consent label a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.website-form-consent .website-form-error {
  grid-column: 2;
}

.website-form__submit {
  width: fit-content;
  min-width: 210px;
  min-height: 50px;
}

.website-form__submit[aria-busy="true"] {
  cursor: wait;
  opacity: 0.74;
}

.website-form__security-note {
  margin: -6px 0 0;
  color: var(--slate);
  font-size: 0.8rem;
}

.website-form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.website-form-success {
  position: relative;
  z-index: 1;
  padding-block: 8px;
}

.website-form-success:focus {
  outline: none;
}

.website-form-success__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #176f45;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
}

.website-form-success h3 {
  max-width: 26ch;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.12;
}

.website-form-success p {
  max-width: 56ch;
  color: var(--slate);
}

.website-form-success__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

@media (max-width: 1080px) {
  .website-form-section {
    max-width: 900px;
  }

  .website-form-visual {
    position: relative;
    top: auto;
    max-height: 440px;
  }

  .website-form-visual img {
    width: 100%;
    max-height: 440px;
    aspect-ratio: 16 / 8;
  }
}

@media (max-width: 700px) {
  .website-form-section {
    padding-inline: 16px;
  }

  .website-form-card {
    padding: 22px 18px;
  }

  .website-form__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .website-form-field--full {
    grid-column: auto;
  }

  .website-form__submit,
  .website-form-success__actions .button {
    width: 100%;
  }

  .website-form-success__actions {
    display: grid;
  }
}

@media (max-width: 420px) {
  .website-form-section {
    padding-inline: 12px;
  }

  .website-form-visual img {
    aspect-ratio: 4 / 3;
  }

  .website-form-card {
    padding: 20px 14px;
  }

  .website-form-field input,
  .website-form-field select,
  .website-form-field textarea {
    padding-inline: 12px;
  }
}
