/* Homepage contact: the same editorial type, ink and lime as the rest of Motion Made. */
.contact { min-height: 0; }
.contact-form-layout { min-height: 0; height: auto; }
.contact-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 32px clamp(32px, 7vw, 120px); align-items: start; }
.contact .contact-intro .section__title { font-size: clamp(36px, 3.4vw, 52px); max-width: 16ch; }
.contact .contact-intro .section__lead { margin-top: 16px; max-width: 42ch; }
.contact-details { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 20px; font-size: 13px; }
.contact-details img { display: none; }
.contact-details a { padding-block: 3px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #646469; }
.contact-disclosure { min-width: 0; width: 100%; align-self: start; }
#contact-toggle { width: 100%; }
#contact-toggle::after { content: '+'; }
#contact-toggle[aria-expanded="true"]::after { content: '−'; }
.contact-panel[hidden] { display: none !important; }
.contact-panel { width: min(100%, 1000px); min-height: 0; margin: 20px auto 0; display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 240ms var(--ease), opacity 180ms ease; overflow-anchor: none; }
.contact-panel[data-open] { grid-template-rows: 1fr; opacity: 1; }
.contact-panel__clip { min-height: 0; overflow: hidden; }
.contact-panel .contact-card { margin-top: 0; }
.contact-disclosure__fallback { margin-top: 12px; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .contact-panel { transition: none; } }
.contact-card { min-width: 0; color: var(--black); background: var(--surface); padding: clamp(20px, 2.6vw, 36px); border-radius: 20px; border-top: 5px solid var(--lime); }
.contact-card__heading { margin-bottom: 28px; }
.contact-package { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; margin: 0 0 20px; padding: 9px 12px; background: var(--lime); color: var(--black); }
.contact-package label { font: 700 14px/1.3 var(--font-label); letter-spacing: .04em; white-space: nowrap; }
.contact-package select { width: 100%; min-width: 0; min-height: 38px; padding: 6px 28px 6px 10px; border: 1px solid var(--black); border-radius: 6px; background: var(--lime); color: var(--black); font: 700 14px/1.3 var(--font-label); }
.contact-package select:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
.contact-card__heading .mono { font-size: 12px; margin-bottom: 12px; }
.contact-card__heading h3, .contact-success h3 { font-size: clamp(24px, 2.5vw, 34px); line-height: 1.08; }
.contact-card__heading > p:last-child { font-size: 13px; line-height: 1.6; margin-top: 12px; }
.contact-card__heading > p:last-child span { display: block; margin-top: 4px; color: #56575b; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; border: 0; padding: 0; min-width: 0; }
.contact-field { min-width: 0; }
.contact-field--wide { grid-column: 1 / -1; }
.contact-field label { display: block; margin-bottom: 7px; font: 700 14px/1.3 var(--font-label); letter-spacing: .035em; }
.contact-optional { font-weight: 400; color: #56575b; margin-left: 4px; }
.contact-field input, .contact-field select, .contact-field textarea { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 12px; border: 1px solid #b4b6b1; border-radius: 8px; background: var(--white); color: var(--black); font: 400 16px/1.5 var(--font-body); }
.contact-field select { padding-right: 8px; font-size: 14px; }
.contact-field textarea { resize: vertical; min-height: 120px; }
.contact-field textarea::placeholder { color: #66686b; font-size: 14px; }
.contact-field :is(input, select, textarea):focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
.contact-field [aria-invalid="true"] { border: 2px solid #a52525; }
.contact-field__error { margin-top: 6px; color: #982323; font-size: 12px; line-height: 1.5; }
.contact-sr-only, .contact-honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.contact-verification { margin-top: 22px; }
.contact-note { font-size: 12px; line-height: 1.6; color: #505155; }
.contact-verification .contact-note:not(:empty) { margin-top: 8px; }
.contact-retry { background: none; border: 0; padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }
.contact .contact-submit { width: 100%; margin-top: 20px; background: var(--black); color: var(--white); border-color: var(--black); }
.contact .contact-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.contact .contact-submit:not(:disabled):hover { background: var(--lime); color: var(--black); }
.contact-form-status { border-left: 3px solid #a52525; padding: 10px 12px; margin-top: 18px; background: #f9e7e4; font-size: 14px; line-height: 1.6; }
.contact-privacy { margin-top: 14px; }
.contact-privacy a { text-decoration: underline; text-underline-offset: 3px; }
.contact-success { padding-block: 24px 40px; }
.contact-success__mark { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 24px; border-radius: 50%; background: var(--lime); font-size: 36px; }
.contact-success p { margin-top: 16px; font-size: 15px; }
@media (max-width: 1000px) {
  .contact-top { grid-template-columns: 1fr; gap: 24px; }
  .contact .contact-intro .section__title { max-width: 17ch; }
  .contact .contact-intro .section__lead { max-width: 48ch; }
  .contact-details { margin-top: 20px; }
  .contact-details img { display: none; }
  .contact-panel { max-width: 720px; margin-top: 24px; }
}
@media (max-width: 520px) {
  .contact-fields { grid-template-columns: 1fr; gap: 18px; }
  .contact .contact-intro .section__title { font-size: 40px; }
  .contact-top { gap: 20px; }
  .contact-details { align-items: flex-start; flex-direction: column; gap: 4px; }
  .contact-field select { font-size: 16px; }
  .contact-package { grid-template-columns: 1fr; gap: 5px; }
}
