/* The inquiry form uses the same reading scale as About. */
.inquiry-page .form-intro,
.inquiry-page .form-section { border: 0; }

.inquiry-page .form-intro-copy { gap: 24px; }
.inquiry-page .form-intro h1 {
  color: #171018;
  font-size: clamp(42px, 4vw, 64px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-transform: none;
  text-wrap: balance;
}
.inquiry-page .form-intro-copy > p {
  max-width: 54ch;
  color: var(--ink);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -.01em;
  text-wrap: pretty;
}
.inquiry-page .form-field label,
.inquiry-page .choice-question {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-transform: none;
}
.inquiry-page .choice-option span {
  padding: 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
}
.inquiry-page .choice-option input:checked + span { color: var(--paper); }
.inquiry-page .form-soft-contact,
.inquiry-page .form-success {
  grid-column: 2;
  margin: 16px 0 0;
  padding: 0;
  background: transparent;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-wrap: pretty;
}
.inquiry-page .form-soft-contact {
  max-width: 54ch;
  margin-top: 32px;
  color: var(--ink);
  font-size: 18px;
  letter-spacing: -.01em;
}
.inquiry-page .form-soft-contact a {
  color: #75418c;
  text-decoration: none;
}
.inquiry-page .form-soft-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.inquiry-page .form-soft-contact a:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.inquiry-page .form-success { color: var(--plum); }
.inquiry-page .form-success strong { display: block; margin-bottom: 8px; font-weight: 500; }
.inquiry-page .form-success[data-state="error"] { color: #78334c; }
.inquiry-page .form-honeypot { display: none; }
.inquiry-page .form-submit:disabled { cursor: default; opacity: .65; transform: none; }

.inquiry-page .project-form[hidden],
.inquiry-confirmation[hidden] { display: none; }
.inquiry-layout.is-complete { padding-bottom: 0; }
body.inquiry-is-complete .site-footer { display: none; }
.inquiry-confirmation {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 20px;
  min-height: min(720px, calc(100svh - 120px));
  padding: 48px 24px 80px;
  color: var(--ink);
  text-align: center;
  outline: none;
}
.inquiry-confirmation-head {
  display: block;
  width: min(260px, 65vw);
  height: auto;
}
.inquiry-confirmation h1 {
  max-width: 22ch;
  margin: 0;
  color: var(--plum);
  font-family: var(--body);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.inquiry-confirmation p {
  max-width: 42ch;
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.5;
  text-wrap: pretty;
}

@media (min-width: 981px) {
  .inquiry-page .form-submit { justify-self: start; }
  .inquiry-confirmation-head { width: 220px; }
}

@media (max-width: 980px) {
  .inquiry-page .choice-group {
    gap: 12px;
    padding: 4px 16px 10px 4px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: #b9b1b6 transparent;
  }
  .inquiry-page .choice-option {
    flex: 0 0 124px;
    width: 124px;
    scroll-snap-align: start;
  }
  .inquiry-page .choice-group::-webkit-scrollbar { height: 2px; }
  .inquiry-page .choice-group::-webkit-scrollbar-thumb { background: #b9b1b6; border-radius: 2px; }
  .inquiry-page .form-intro h1 { font-size: clamp(32px, 8.3vw, 48px); }
}
@media (max-width: 620px) {
  .inquiry-confirmation h1 {
    max-width: none;
    font-size: clamp(18px, 6.1vw, 26px);
    white-space: nowrap;
  }
  .inquiry-page .project-form { padding-inline: 16px; }
  .inquiry-page .form-intro { padding: 42px 0 24px; }
  .inquiry-page .form-intro h1 { font-size: clamp(30px, 8.3vw, 40px); }
  .inquiry-page .form-section,
  .inquiry-page .form-section:nth-of-type(2) { padding-block: 24px; gap: 32px; }
  .inquiry-page .form-choice-field { gap: 16px; }
  .inquiry-page .choice-group {
    width: calc(100% + 16px);
    max-width: none;
  }
  .inquiry-page .choice-option { flex-basis: 128px; width: 128px; }
  .inquiry-page .form-inline-grid { gap: 24px; }
  .inquiry-page .form-field input,
  .inquiry-page .form-field select,
  .inquiry-page .form-field textarea { font-size: 16px; line-height: 1.5; }
  .inquiry-page .form-soft-contact,
  .inquiry-page .form-success { grid-column: 1; }
}
