/* Contact-only stacked hero and enquiry form layout. */
.contact-hero {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  color: #f4f1e8;
  background: #34342f;
}

.contact-hero-bg {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("/brand/scenes/scene-home.png") center 43% / cover no-repeat;
  transform: scale(1.025);
  transition: transform 8s ease-out;
  will-change: transform;
}

.contact-hero:hover .contact-hero-bg {
  transform: scale(1);
}

.contact-hero-wash {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(23, 27, 25, .82) 0%, rgba(28, 30, 27, .40) 44%, rgba(31, 30, 27, .10) 100%),
    linear-gradient(90deg, rgba(25, 27, 24, .30), transparent 78%);
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: clamp(560px, 68vw, 760px);
  padding-top: 150px;
  padding-bottom: clamp(48px, 7vw, 88px);
}

.contact-hero-copy {
  width: min(780px, 100%);
  padding: 0;
  animation: contact-rise .8s .1s ease both;
}

.contact-hero-copy .label {
  display: block;
  margin: 0 0 16px;
  color: #e0c98f;
  font-family: "Styrene B", "Inter", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.contact-hero-copy h1 {
  max-width: 32ch;
  margin: 0;
  color: #f3f0e7;
  font-family: "Inter", sans-serif;
  font-size: clamp(18px, 2.6vw, 33px);
  font-stretch: normal;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.06;
  overflow-wrap: break-word;
}

.contact-hero-copy .lead {
  max-width: 58ch;
  margin: 22px 0 0;
  color: rgba(249, 247, 240, .84);
  font-family: "Inter", sans-serif;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.65;
}

section#assessment.contact-form-section {
  scroll-margin-top: 104px;
  padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 9vw, 112px);
  background: #f9f8f7;
  color: #564929;
}

.contact-form-section > .wrap {
  width: 100%;
}

.contact-form-section .contact-hero-panel {
  width: min(760px, 100%);
  max-width: 760px;
  margin: 0 auto;
  animation: contact-rise .7s .08s ease both;
}

.contact-form-section .contact-hero-card {
  padding: clamp(25px, 5vw, 52px);
  border: 1px solid rgba(86, 73, 41, .14);
  border-radius: 3px;
  background: #fffefd;
  box-shadow: 0 18px 52px rgba(66, 54, 31, .055);
}

.contact-form-section .contact-hero-card-label {
  display: block;
  margin: 0 0 12px;
  color: #564929;
  font-family: "Styrene B", "Inter", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-form-section .contact-hero-card h2 {
  margin: 0 0 10px;
  color: #564929;
  font-family: "Inter", sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.contact-form-section .contact-hero-card-intro {
  margin: 0 0 32px;
  color: #564929;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.65;
}

.contact-form-section .contact-hero-card .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
}

.contact-form-section .contact-hero-card .field {
  min-width: 0;
  gap: 8px;
}

.contact-form-section .contact-hero-card .field-full {
  grid-column: 1 / -1;
}

.contact-form-section .contact-hero-card .field label {
  color: #564929;
  font-family: "Styrene B", "Inter", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.1px;
  line-height: 1.45;
  text-transform: uppercase;
}

section#assessment.contact-form-section .contact-hero-card .field input,
section#assessment.contact-form-section .contact-hero-card .field select,
section#assessment.contact-form-section .contact-hero-card .field textarea {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid rgba(86, 73, 41, .60) !important;
  border-radius: 2px;
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-sizing: border-box;
  background-color: #f9f8f7 !important;
  color: #564929 !important;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color .18s ease, background-color .18s ease, outline-color .18s ease;
}

section#assessment.contact-form-section .contact-hero-card .field :is(input, select, textarea):focus {
  border-color: #756746 !important;
  background-color: #fffefd !important;
  outline-color: rgba(86, 73, 41, .2);
  box-shadow: none !important;
}

section#assessment.contact-form-section .contact-hero-card .field input::placeholder,
section#assessment.contact-form-section .contact-hero-card .field textarea::placeholder {
  color: #564929 !important;
  opacity: 1;
}

section#assessment.contact-form-section .contact-hero-card .field select {
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, #756746 50%),
    linear-gradient(135deg, #756746 50%, transparent 50%) !important;
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50% !important;
  background-size: 5px 5px !important;
  background-repeat: no-repeat !important;
  appearance: none;
  -webkit-appearance: none;
}

section#assessment.contact-form-section .contact-hero-card .field select option {
  background: #f9f8f7;
  color: #564929;
}

section#assessment.contact-form-section .contact-hero-card .field textarea {
  min-height: 142px;
  line-height: 1.55;
  resize: vertical;
}

section#assessment.contact-form-section .contact-hero-card .field :is(input, select, textarea).field-error,
section#assessment.contact-form-section .contact-hero-card .field :is(input, select, textarea)[aria-invalid="true"] {
  border-color: #985f52 !important;
  background-color: #fcf7f5 !important;
  outline-color: rgba(152, 95, 82, .16);
  box-shadow: none !important;
}

section#assessment.contact-form-section .contact-hero-card .field :is(input, select, textarea).field-error:focus,
section#assessment.contact-form-section .contact-hero-card .field :is(input, select, textarea)[aria-invalid="true"]:focus {
  border-color: #985f52 !important;
  outline-color: rgba(152, 95, 82, .24);
}

section#assessment.contact-form-section .contact-hero-card .field :is(input, select, textarea):disabled {
  cursor: not-allowed;
  opacity: .62;
  background-color: #efede8 !important;
}

.contact-form-section .contact-hero-card .btn-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px !important;
}

.contact-form-section .contact-hero-card .privacy {
  flex: 1 1 auto;
  max-width: 54ch;
  margin: 0;
  color: #564929;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1.55;
}

.contact-form-section .contact-hero-card .privacy a {
  color: #564929;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form-section .contact-hero-card .btn {
  display: inline-flex;
  flex: 0 0 auto;
  width: auto;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: #564929;
  color: #f9f8f7;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .015em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, opacity .18s ease;
}

.contact-form-section .contact-hero-card .btn:hover {
  transform: translateY(-1px);
  background: #6a5a35;
}

.contact-form-section .contact-hero-card .btn:focus-visible {
  outline: 2px solid #756746;
  outline-offset: 3px;
}

.contact-form-section .contact-hero-card .btn:disabled {
  cursor: wait;
  opacity: .58;
  transform: none;
}

.contact-form-section .contact-hero-card [aria-live="polite"],
.contact-form-section .contact-hero-card [role="alert"] {
  color: #564929;
}

#assessment #form-error-msg {
  padding: 12px 16px;
  border-left: 2px solid #985f52;
  background: #fcf7f5;
  color: #564929 !important;
  font-family: "Inter", sans-serif;
  line-height: 1.5;
}

.contact-form-section .contact-hero-success {
  min-height: 0;
  padding: clamp(28px, 5vw, 52px);
}

.contact-form-section .contact-hero-success .success-mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin: 0 0 20px;
  border: 1px solid rgba(86, 73, 41, .3);
  border-radius: 50%;
  color: #564929;
  font-family: "Inter", sans-serif;
  font-size: 18px;
}

.contact-form-section .contact-hero-success .contact-hero-card-label {
  margin-bottom: 12px;
}

.contact-form-section .contact-hero-success h2 {
  margin-bottom: 12px;
}

.contact-form-section .contact-hero-success p {
  max-width: 55ch;
  margin: 0;
  color: #564929;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 680px) {
  .contact-hero-bg {
    inset: 0;
    height: auto;
    background-position: 58% center;
    transform: none;
    transition: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .contact-hero:hover .contact-hero-bg {
    transform: none;
  }

  .contact-hero-wash {
    background:
      linear-gradient(0deg, rgba(23, 27, 25, .88) 0%, rgba(28, 30, 27, .45) 53%, rgba(31, 30, 27, .12) 100%),
      linear-gradient(90deg, rgba(25, 27, 24, .22), transparent 90%);
  }

  .contact-hero-inner {
    min-height: clamp(560px, 150vw, 700px);
    padding-top: 150px;
    padding-bottom: 46px;
  }

  .contact-hero-copy {
    width: 100%;
  }

  .contact-hero-copy .label {
    margin-bottom: 13px;
  }

  .contact-hero-copy h1 {
    max-width: 34ch;
    font-size: clamp(17px, 5.2vw, 26px);
    line-height: 1.08;
  }

  .contact-hero-copy .lead {
    max-width: 48ch;
    margin-top: 17px;
    font-size: 14px;
    line-height: 1.6;
  }

  .contact-form-section {
    scroll-margin-top: 88px;
    padding: 36px 0 60px;
  }

  .contact-form-section .contact-hero-panel {
    width: 100%;
  }

  .contact-form-section > .wrap {
    padding-inline: 0;
  }

  .contact-form-section .contact-hero-card {
    padding: 26px 21px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .contact-form-section .contact-hero-card .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 19px;
  }

  .contact-form-section .contact-hero-card .field-full {
    grid-column: auto;
  }

  .contact-form-section .contact-hero-card .btn-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 20px !important;
  }

  .contact-form-section .contact-hero-card .btn {
    width: 100%;
    min-height: 54px;
    white-space: nowrap;
  }

  .contact-form-section .contact-hero-success {
    padding: 30px 21px;
  }

  .contact-form-section .contact-hero-card .field textarea {
    min-height: 150px;
  }
}

@media (max-width: 360px) {
  .contact-hero-inner {
    min-height: 585px;
    padding-top: 130px;
    padding-bottom: 38px;
  }

  .contact-hero-copy h1 {
    font-size: 17px;
  }

  .contact-form-section .contact-hero-card {
    padding-right: 16px;
    padding-left: 16px;
  }

  .contact-form-section .contact-hero-card .field :is(input, select, textarea) {
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-hero-bg,
  .contact-hero-copy,
  .contact-form-section .contact-hero-panel {
    animation: none;
    transition: none;
  }
}
