/* One Contact Us form for navigation, product enquiries and service links. */
/* Service links land directly on the form, without a page-long scroll animation. */
html:has(.kw-message) { scroll-behavior: auto; }
.kw-message { padding: 12px 0 96px; color: var(--kw-ink); background: #fff; scroll-margin-top: 108px; }
.kw-message > .kh-shell { width: min(1120px, calc(100% - 80px)); }
.kw-message h2 { margin: 0 0 34px; font-size: clamp(34px, 3.4vw, 44px); font-weight: 620; line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
.kw-message [hidden] { display: none !important; }
.kw-message-form { margin: 0; padding: 0; }
.kw-message p { color: var(--kw-ink); font-size: 18px; line-height: 1.6; text-wrap: pretty; }
.kw-message-required { margin: 0 0 28px; }
.kw-message-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.kw-message-field { min-width: 0; }
.kw-message-field--wide { grid-column: 1 / -1; }
.kw-message-field label { display: block; margin-bottom: 11px; font-size: 18px; font-weight: 550; line-height: 1.45; }
.kw-message-field :is(input, select, textarea) { display: block; box-sizing: border-box; width: 100%; min-width: 0; min-height: 56px; margin: 0; padding: 14px 16px; border: 1px solid #7e858b; border-radius: 5px; background: #fff; color: var(--kw-ink); font: inherit; font-size: 18px; line-height: 1.5; transition: border-color 160ms ease-out; }
.kw-message-field select { padding-right: 34px; }
.kw-message-field textarea { min-height: 148px; resize: vertical; }
.kw-message-field :is(input, textarea)::placeholder { color: #34383b; opacity: 1; }
.kw-message-field :is(input, select, textarea):hover { border-color: var(--kw-ink); }
.kw-message-field :is(input, select, textarea):focus-visible { outline: 2px solid var(--kw-red); outline-offset: 3px; }
.kw-message-field [aria-invalid="true"] { border-color: var(--kw-red); }
.kw-message-details { margin-top: 28px; }
.kw-message-details > summary { display: flex; align-items: center; justify-content: space-between; width: fit-content; max-width: 100%; min-height: 48px; gap: 24px; font-size: 19px; font-weight: 550; cursor: pointer; list-style: none; }
.kw-message-details > summary::-webkit-details-marker { display: none; }
.kw-message-details > summary:hover { color: var(--kw-red-dark); }
.kw-message-details__icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.kw-message-details__icon::before, .kw-message-details__icon::after { content: ""; position: absolute; inset: 8px 1px auto; height: 2px; background: currentColor; }
.kw-message-details__icon::after { transform: rotate(90deg); transition: transform 160ms ease-out; }
.kw-message-details[open] .kw-message-details__icon::after { transform: rotate(0); }
.kw-message-details > .kw-message-grid { margin-top: 24px; }
.kw-message .kw-contact-context { display: none !important; }
.kw-message-send { display: flex; align-items: center; gap: 24px 32px; margin-top: 36px; }
.kw-message-send > button { flex-shrink: 0; min-height: 54px; padding-inline: 30px; font-size: 18px; cursor: pointer; }
.kw-message-send > button:disabled { opacity: .65; cursor: wait; }
.kw-message-form[aria-busy="true"] { cursor: progress; }
.kw-message-send > p { max-width: 70ch; margin: 0; }
.kw-message a { color: var(--kw-red-dark); overflow-wrap: anywhere; }
.kw-message-status { margin: 24px 0 0; }
.kw-message-status[data-state="error"] { color: var(--kw-red-dark); }
.kw-message-trap { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.kw-message-verification { margin-top: 28px; max-width: 100%; }
.kw-contact-page .kw-contact-location { padding-top: 24px; }
.kw-contact-page .kw-contact-heading h1 { letter-spacing: -.035em; }
.kw-message-privacy { margin: 28px 0 0; }
.kw-message-attachments { margin-top: 30px; }
.kw-message-attachments > label { display: block; font-size: 18px; font-weight: 550; }
.kw-message-attachments > label span { font-weight: 400; }
.kw-message .kw-message-attachments > p { margin: 10px 0 16px; font-size: 17px; max-width: 70ch; }
.kw-message-attachments input { display: block; max-width: 100%; font: inherit; font-size: 17px; }
.kw-message-attachments [data-contact-choose] { min-height: 46px; padding: 9px 18px; border: 1px solid var(--kw-ink); border-radius: var(--kw-button-radius, 7px); color: var(--kw-ink); background: #fff; font: inherit; font-size: 17px; cursor: pointer; }
.kw-message-attachments [data-contact-choose]:focus-visible { outline: 2px solid var(--kw-red); outline-offset: 4px; }
.kw-message-attachments ul { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.kw-message-attachments li { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 700px; }
.kw-message-attachments li span { min-width: 0; overflow-wrap: anywhere; font-size: 17px; }
.kw-message-attachments li button { flex-shrink: 0; min-height: 44px; padding: 8px; border: 0; background: transparent; color: var(--kw-red-dark); font: inherit; font-size: 17px; cursor: pointer; }
.kw-message-attachments li button:focus-visible { outline: 2px solid var(--kw-red); }
#contact-attachments-status[data-state="error"] { color: var(--kw-red-dark); }
.kw-message .kw-message-email { margin: 22px 0 0; }
@media (max-width: 700px) {
  .kw-message { padding: 10px 0 46px; }
  .kw-message > .kh-shell { width: calc(100% - 40px); }
  .kw-contact-page .kw-contact-heading > .kh-shell,
  .kw-contact-page .kw-contact-location > .kh-shell { width: calc(100% - 40px); }
  .kw-message-grid { grid-template-columns: 1fr; gap: 24px; }
  .kw-message h2 { margin-bottom: 28px; }
  .kw-message-send { flex-direction: column; align-items: flex-start; gap: 20px; }
  .kw-message-send > button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .kw-message *, .kw-message *::before, .kw-message *::after { transition: none !important; }
}
