#contact {
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(56px, 4vw, 78px);
  min-height: max(clamp(590px, 46vw, 790px), calc(100svh - var(--header) - 78px));
  background: radial-gradient(ellipse at 8% 57%, #33281e 0, #1b1713 23%, transparent 51%), #0b0b0a;
}
#contact .contact-grid {
  max-width: 1360px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(40px, 5.6vw, 96px);
  align-items: start;
}
.contact-copy, #enquiry { position: relative; z-index: 1; }
#contact h2 {
  margin: 0 0 .35em;
  font: 400 clamp(48px, 4.65vw, 80px)/1.04 Baskerville, "Baskerville Old Face", "Times New Roman", serif;
  letter-spacing: -.045em;
  color: #f5f0e7;
  background: none;
  -webkit-text-fill-color: currentColor;
}
#contact-title em {
  display: block;
  width: fit-content;
  max-width: 100%;
  font-weight: 400;
  color: #d8b182;
  /* Leave room for the italic y and its descender inside the text clip. */
  padding: 0 .12em .18em .24em;
  margin: 0 0 -.18em -.24em;
}
#contact .contact-copy p {
  max-width: 46ch;
  margin: 0 0 17px;
  font-size: clamp(16px, 1.13vw, 19px);
  line-height: 1.55;
  color: #e3ddd3;
}
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  min-height: 44px;
  color: #e6c399;
  text-decoration: underline;
  text-underline-offset: .36em;
  text-decoration-thickness: 1px;
}
.contact-email .icon { width: 1em; height: 1em; }
.contact-email:hover { color: #f5debc; }
.contact-art {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(50.6%, 945px);
  pointer-events: none;
}
.contact-lens {
  position: relative;
  aspect-ratio: 845 / 408;
  background: url("contact-brass-lens.webp") left bottom / 100% 100% no-repeat;
}
@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  @supports ((mask-image: linear-gradient(black, transparent)) or (-webkit-mask-image: linear-gradient(black, transparent))) {
    .contact-lens.is-shimmering::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      /* The aperture stays registered to the photograph while the reflection crosses the glass. */
      -webkit-mask: url("contact-glass-aperture.webp") center / 100% 100% no-repeat;
      mask: url("contact-glass-aperture.webp") center / 100% 100% no-repeat;
      background: url("contact-glass-light.webp") -106% 0 / 56.805% 100% no-repeat;
      mix-blend-mode: screen;
      opacity: 0;
      animation: glass-reflection 7s cubic-bezier(.35, .12, .56, .92) 1.05s infinite;
    }
  }
}
@keyframes glass-reflection {
  0% { background-position: -106% 0; opacity: 0; }
  8%, 52% { opacity: 1; }
  63%, 100% { background-position: 153% 0; opacity: 0; }
}
#enquiry .field { margin-bottom: clamp(17px, 1.45vw, 25px); }
#enquiry label { color: #e6e0d6; font-size: 13px; margin-bottom: 8px; }
#enquiry input:not([type="hidden"]), #enquiry textarea, #enquiry select {
  display: block;
  background-color: #151513;
  border-color: #756c5d;
}
#enquiry input:not([type="hidden"]) { height: clamp(46px, 3.3vw, 55px); padding: 9px 13px; }
#enquiry textarea { min-height: clamp(118px, 9.2vw, 155px); }
#enquiry :is(input, textarea, select):focus { border-color: var(--gold); }
@media (max-width: 760px) {
  #contact { min-height: 0; padding-block: 48px; background: #0c0c0b; }
  #contact .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .contact-intro {
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    background: radial-gradient(ellipse at 8% 66%, #2a221b, transparent 76%);
  }
  #contact h2 { font-size: clamp(43px, 9.8vw, 61px); }
  .contact-art {
    position: relative;
    width: min(calc(100% + 2 * var(--gutter)), 560px);
    height: clamp(105px, 29vw, 150px);
    overflow: hidden;
    margin: 1px 0 0 calc(-1 * var(--gutter));
    mask-image: linear-gradient(to bottom, black 81%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, black 81%, transparent);
  }
  #enquiry > .button { min-height: 48px; }
}
@media (forced-colors: active) {
  #contact, .contact-intro { background: Canvas; }
  #contact h2, #contact h2 em, #contact .contact-copy p { color: CanvasText; }
  .contact-art { display: none; }
  .contact-email { color: LinkText; }
}
