/* Contact follows the dark editorial pages, with a light writing surface. */
.contact-edition .motif-masthead { margin-bottom: 0; }
.contact-edition #content {
  --paper: #f5f2ec;
  --ink: #22201e;
  --copper: #e29578;
  width: min(calc(100% - 48px), 1130px);
  margin: 0 auto clamp(60px, 8vw, 112px);
  color: #f4f1eb;
  font: 500 16px/1.65 Raleway, Arial, sans-serif;
}
.contact-intro, .contact-layout { display: grid; gap: clamp(28px, 5vw, 76px); }
.contact-intro {
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  padding: clamp(42px, 6vw, 84px) 0;
}
.contact-intro h1 {
  font: 400 clamp(50px, 6.5vw, 92px)/.99 'Playfair Display', Georgia, serif;
  letter-spacing: -.035em;
  color: inherit;
  margin: 0 0 24px;
  padding: 0;
}
.contact-intro h1 em { display: block; color: var(--copper); font-weight: inherit; }
.contact-intro p { margin: 0 0 14px; max-width: 48ch; color: #c9c3bc; }
.contact-intro p:last-child { margin: 0; }
.contact-intro a, .contact-studio a { color: #f4f1eb; text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 4px; }
.contact-intro figure { margin: 0; }
.contact-intro img { display: block; width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; border-radius: 6px; }
.contact-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr); align-items: start; }
.contact-paper {
  color: var(--ink); background: var(--paper);
  border-radius: 8px; padding: clamp(24px, 4vw, 56px);
}
.contact-inquiry { scroll-margin-top: 20px; }
.contact-inquiry > h2 {
  margin: 0 0 clamp(18px, 2.2vw, 32px);
  padding: 0;
  color: #f4f1eb;
  font: 400 clamp(36px, 4.5vw, 62px)/1.06 'Playfair Display', Georgia, serif;
  letter-spacing: -.035em;
}
.contact-paper #diagnostic-inquiry-context, .contact-paper #scorecard-inquiry-note:not(:empty) {
  border-left: 2px solid #9c573e; padding-left: 14px; margin: 0 0 24px; color: #49443f;
}
.contact-paper .quform .quform-spacer > label { color: var(--ink); font: 600 14px/1.5 Raleway, Arial, sans-serif; text-shadow: none; margin: 0 0 6px; }
.contact-paper .quform .quform-input :is(input, textarea):not([type="hidden"]) {
  box-sizing: border-box; min-height: 44px; width: 100%;
  background: #fff !important; color: var(--ink) !important; border: 1px solid #938b80; border-radius: 4px;
  padding: 10px 12px !important; font: 500 16px/1.45 Raleway, Arial, sans-serif; box-shadow: none;
}
.contact-paper .quform textarea { resize: vertical; min-height: 120px; }
.contact-paper .quform-element-textarea.bottom-50 { margin-bottom: 16px; }
.contact-paper .quform-submit button {
  min-height: 48px; height: auto; width: auto; max-width: none; padding: 12px 28px;
  border: 0; border-radius: 32px; opacity: 1; color: #fff; background: #242221;
  font: 600 12px/1.5 Montserrat, Arial, sans-serif; letter-spacing: .13em;
}
.contact-paper .quform-submit button:hover { background: #583d31; }
.contact-paper .contact-inquiry-guide { margin: 28px 0 0; }
.contact-paper .faq-item { margin: 0; }
.contact-paper .faq-item summary { font-size: 16px; }
.contact-fit article { border-top: 1px solid #494541; padding: 22px 0; }
.contact-fit article > span {
  display: block; font: 600 11px/1.4 Montserrat, Arial, sans-serif;
  letter-spacing: .15em; text-transform: uppercase; color: var(--copper);
}
.contact-fit h3 { color: #f4f1eb; font: 400 clamp(23px, 2.1vw, 31px)/1.15 'Playfair Display', Georgia, serif; padding: 0; margin: 10px 0; }
.contact-fit p, .contact-studio p { margin: 0; color: #c9c3bc; }
.contact-studio { border-top: 1px solid #494541; padding: 24px 0 0; font-style: normal; }
.contact-studio p + p { margin-top: 14px; }
.contact-edition #content :is(a, summary):focus-visible { outline: 2px solid #c87959; outline-offset: 4px; }
@media (max-width: 780px) {
  .contact-intro, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-intro { gap: 22px; padding: 32px 0; }
  .contact-intro img { aspect-ratio: 3.5; }
  .contact-layout { gap: 32px; }
  .contact-edition #content { width: calc(100% - 32px); }
  .contact-paper { padding: 28px 20px; }
}
@media (max-width: 400px) {
  .contact-paper { margin-inline: -10px; padding-inline: 16px; }
}
@media (max-width: 370px) {
  .contact-paper { margin-inline: -26px; padding-inline: max(8px, calc((100vw - 304px) / 2)); }
}
