/* Independent form overlay; no change to the original page layout until opened. */
.bs-contact-overlay[hidden] { display: none !important; }
.bs-contact-overlay {
  box-sizing:border-box; position:fixed; inset:0; z-index:2147483000;
  display:flex; justify-content:center; align-items:center; overflow:auto;
  padding:16px; background:rgba(25,21,20,.66); backdrop-filter:blur(3px);
}
.bs-contact-overlay *, .bs-contact-overlay *::before, .bs-contact-overlay *::after { box-sizing:border-box; }
.bs-contact-panel {
  position:relative; background:#fff; color:#2c2926; width:min(100%,520px);
  max-height:min(90vh,840px); overflow:auto; padding:clamp(22px,5vw,45px);
  box-shadow:0 20px 80px rgba(0,0,0,.22); font-family:Arial,Helvetica,sans-serif;
  line-height:1.55; font-size:14px; border:1px solid #e9e4df;
}
.bs-contact-panel h2 { margin:0 0 8px; text-align:center; font-family:Georgia,serif;
  font-size:26px; letter-spacing:.03em; font-weight:400; }
.bs-contact-intro {color:#716b66; text-align:center; margin:0 0 24px}
.bs-contact-panel label {display:block; font-size:12px; letter-spacing:.07em; margin-bottom:13px}
.bs-contact-panel input,.bs-contact-panel select,.bs-contact-panel textarea {
  display:block; width:100%; border-radius:0; border:1px solid #d6cfc8; background:white;
  padding:11px 12px; color:#292621; font:15px Arial,Helvetica,sans-serif; margin-top:6px;
}
.bs-contact-panel textarea {min-height:92px; resize:vertical}
.bs-contact-panel input:focus,.bs-contact-panel textarea:focus { outline:2px solid #9e8b74; outline-offset:1px }
.bs-contact-submit {display:block; cursor:pointer; color:#fff; background:#292622; width:100%;
  border:1px solid #292622; text-align:center; padding:12px; text-transform:uppercase; letter-spacing:.16em}
.bs-contact-close {position:absolute; right:14px; top:9px; border:0; background:none;
  font-size:27px; font-weight:300; cursor:pointer; color:#4b4540; padding:6px; line-height:1}
.bs-contact-status {margin:12px 0 0;text-align:center;font-size:14px}
.bs-contact-honeypot {position:absolute !important; left:-9999px !important; height:1px !important}
.bs-contact-panel a {color:inherit; text-decoration:underline}
@media(max-width:600px){.bs-contact-overlay{padding:8px;align-items:center}.bs-contact-panel{padding:28px 20px;max-height:94dvh}}
/* Optional safety net for Squarespace mobile nav when original script is not available. */
body.bs-migrated-menu-open .header-menu {display:block !important;opacity:1 !important;visibility:visible !important;transform:none !important}
