/* Enquiry route: retain the editable copy and the existing form behaviour. */
@media (max-width: 640px) {
  :root {
    --header-h: max(74px, 4.625rem);
  }

  .hdr .hdr__in {
    gap: 0.5rem;
    padding-inline: clamp(0.75rem, 4vw, 1.25rem);
  }

  .hdr .hdr__logo {
    min-width: 0;
    flex-shrink: 1;
  }

  .hdr .hdr__logo img,
  .hdr .hdr__logo svg {
    width: min(32vw, 9rem);
    height: auto;
    max-height: 40px;
  }

  .hdr .hdr__actions {
    flex-shrink: 0;
    gap: 0.25rem;
  }

  .hdr .hdr__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    font-size: 0.75rem;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none;
    white-space: normal;
    text-align: center;
    max-width: min(9rem, 38vw);
  }

  .hdr .hdr__cta,
  .hdr .hdr__cta.btn--light {
    color: var(--brand-ink, #17150f);
    background: var(--brand-paper, #fbfaf7);
    border-color: currentColor;
  }

  .hdr .hdr__cta:hover,
  .hdr .hdr__cta:focus-visible {
    color: var(--brand-paper, #fbfaf7);
    background: var(--brand-ink, #17150f);
    border-color: var(--brand-paper, #fbfaf7);
  }
}

[data-page-hero][data-contact-hero] {
  padding-top: calc(var(--header-h, 86px) + clamp(1.5rem, 3vw, 3rem));
  padding-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

[data-contact-hero] h1 {
  font-size: clamp(2.25rem, 4.5vw, 4.5rem);
}

[data-contact-hero] > div > div,
[data-contact-hero] > div > div > div:first-child {
  gap: 1rem;
}

[data-contact-hero] p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  padding-bottom: 0;
}

[data-contact-hero] ~ [data-contact-split] {
  padding-top: 0;
}

[data-contact-split] > div > div {
  gap: clamp(1.5rem, 3vw, 3rem);
}

[data-contact-form-panel] {
  padding: clamp(1.25rem, 3vw, 2.5rem);
  gap: clamp(1.5rem, 3vw, 2rem);
  background: var(--brand-bone, #f2eee5);
  border: 1px solid var(--brand-hairline, rgba(23, 21, 15, 0.13));
  border-top: 3px solid var(--brand-gold, #a9935d);
}

[data-contact-form-panel] > div:first-child {
  gap: 0.65rem;
}

[data-contact-form-panel] > div:first-child p:not(.eyebrow) {
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 640px) {
  [data-contact-form-panel] .booked-contact-form__root,
  [data-contact-form-panel] .booked-contact-form__fields,
  [data-contact-form-panel] .booked-contact-form__grid {
    gap: 1.5rem;
  }
}
