.page--contact {
  --contact-border: color-mix(in srgb, var(--color-line) 42%, var(--color-ivory));
  --contact-placeholder: color-mix(in srgb, var(--color-ink) 58%, var(--color-white));
  background: var(--color-ivory);
}

.contact-hero {
  position: relative;
  display: grid;
  min-height: 410px;
  overflow: hidden;
  place-items: center;
  background: var(--color-piano);
  color: var(--color-white);
}

.contact-hero__image,
.contact-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contact-hero__image {
  object-fit: cover;
  object-position: center 53%;
}

.contact-hero__shade {
  background: rgba(35, 24, 21, .48);
}

.contact-hero__content {
  position: relative;
  padding-block: 52px 32px;
  text-align: center;
}

.contact-hero__eyebrow {
  margin-bottom: 24px;
  color: var(--color-sand);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
}

.contact-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 3.8vw, 56px);
  font-weight: 400;
  letter-spacing: .06em;
  line-height: 1.35;
}

.contact-ornament {
  display: grid;
  width: 150px;
  height: 12px;
  grid-template-columns: 1fr 8px 1fr;
  align-items: center;
  gap: 10px;
  margin: 24px auto 0;
  color: var(--color-line);
}

.contact-ornament::before,
.contact-ornament::after {
  height: 1px;
  background: currentColor;
  content: "";
}

.contact-ornament i {
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}

.contact-ornament--hero {
  color: var(--color-line);
}

.contact-section {
  padding-block: 112px 184px;
}

.contact-intro {
  text-align: center;
}

.contact-intro p {
  margin-top: 0;
  font-size: 17px;
  line-height: 2;
}

.contact-form {
  position: relative;
  margin-top: 72px;
  padding: 88px 80px 80px;
  border: 1px solid var(--contact-border);
  background: color-mix(in srgb, var(--color-white) 22%, var(--color-ivory));
}






.contact-form__fields {
  display: grid;
  gap: 40px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.contact-form__row > label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
}

.contact-form__required {
  flex-shrink: 0;
  padding: 1px 7px;
  border: 1px solid var(--contact-border);
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.contact-form__row input,
.contact-form__row select,
.contact-form__row textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  padding: 12px 24px;
  border: 1px solid var(--contact-border);
  border-radius: 0;
  background: color-mix(in srgb, var(--color-white) 30%, var(--color-ivory));
  font-size: 16px;
  line-height: 1.8;
}

.contact-form__row input::placeholder,
.contact-form__row textarea::placeholder {
  color: var(--contact-placeholder);
  opacity: 1;
}

.contact-form__select {
  position: relative;
}

.contact-form__select::after {
  position: absolute;
  top: calc(50% - 8px);
  right: 26px;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--color-line);
  border-bottom: 2px solid var(--color-line);
  transform: rotate(45deg);
  pointer-events: none;
  content: "";
}

.contact-form__select select {
  appearance: none;
  padding-right: 60px;
  cursor: pointer;
}

.contact-form__row--message {
  align-items: start;
}

.contact-form__row--message > label {
  padding-top: 12px;
}

.contact-form__row textarea {
  min-height: 250px;
  resize: vertical;
}

.contact-form__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}

.contact-form__consent {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  line-height: 1.8;
  cursor: pointer;
}

.contact-form__consent input {
  appearance: none;
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  margin: 0;
  border: 1px solid var(--contact-border);
  border-radius: 0;
  place-items: center;
  background: var(--color-white);
  cursor: pointer;
}

.contact-form__consent input:checked {
  border-color: var(--color-gold);
  background: var(--color-gold);
}

.contact-form__consent input:checked::after {
  width: 7px;
  height: 13px;
  margin-top: -3px;
  border: solid var(--color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  content: "";
}

.contact-form__privacy {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: .25em;
}

.contact-form__privacy:hover {
  color: var(--color-piano);
}

.contact-form__consent label {
  cursor: pointer;
}

.contact-form__submit {
  position: relative;
  display: flex;
  width: min(440px, 100%);
  min-height: 80px;
  justify-content: center;
  align-items: center;
  margin-top: 48px;
  padding: 16px 56px;
  border: 0;
  border-radius: 0;
  background: var(--color-gold);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: .06em;
  opacity: 1;
  -webkit-text-fill-color: var(--color-white);
}

.contact-form__submit i {
  position: absolute;
  right: 30px;
  width: 12px;
  height: 12px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

@media (max-width: 1199px) {
  .contact-form {
    padding: 64px 40px;
  }

  .contact-form__row {
    grid-template-columns: 232px minmax(0, 1fr);
  }

  .contact-form__row > label {
    gap: 12px;
    font-size: 18px;
  }
}

@media (max-width: 899px) {
  .contact-form__row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-form__row--message > label {
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  .contact-hero {
    min-height: 280px;
  }

  .contact-hero__image {
    object-position: 62% center;
  }

  .contact-hero__content {
    padding-block: 44px 20px;
  }

  .contact-hero__eyebrow {
    margin-bottom: 16px;
    font-size: 11px;
  }

  .contact-hero h1 {
    font-size: clamp(28px, 8vw, 34px);
  }

  .contact-ornament {
    width: 140px;
    margin-top: 20px;
  }

  .contact-section {
    padding-block: 72px 88px;
  }

  .contact-intro p {
    font-size: 14px;
  }

  .contact-form {
    margin-top: 40px;
    padding: 40px 20px;
  }



  .contact-form__fields {
    gap: 28px;
  }

  .contact-form__row > label {
    font-size: 16px;
  }

  .contact-form__required {
    font-size: 11px;
  }

  .contact-form__row input,
  .contact-form__row select,
  .contact-form__row textarea {
    min-height: 48px;
    padding: 8px 16px;
  }

  .contact-form__select select {
    padding-right: 42px;
  }

  .contact-form__select::after {
    right: 20px;
    width: 10px;
    height: 10px;
  }

  .contact-form__row textarea {
    min-height: 200px;
  }

  .contact-form__actions {
    margin-top: 28px;
  }

  .contact-form__consent {
    gap: 10px;
    font-size: 13px;
  }

  .contact-form__consent input {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .contact-form__submit {
    min-height: 60px;
    margin-top: 28px;
    padding-inline: 40px;
    font-size: 20px;
  }

  .contact-form__submit i {
    right: 22px;
    width: 10px;
    height: 10px;
  }
}
