/* Phase 1: Option B chrome + live embed content.
   Aliases, full-bleed neutralization, inner-page offset, contact form. */

:root {
  --va-alert-h: var(--alert-h);
  --va-header-h: var(--header-h);
}

body.page-inner {
  padding-top: calc(var(--alert-h) + var(--header-h));
}

/* Neutralise Square 100vw breakout — the static layout is already full width. */
html body div.vd:not(#vd-x) {
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Contact form (B-styled stand-in for the live Square form). */
.va-form-wrap {
  width: calc(100% - 48px);
  max-width: 680px;
  margin: 0 auto 72px;
  padding: 0;
}
.va-form-preview-note {
  margin: 0 0 20px;
  padding: 12px 16px;
  background: #F3ECDF;
  border-left: 3px solid #B08D45;
  color: #3A4452;
  font-size: 15px;
  line-height: 1.5;
}
.va-form-required-label {
  display: block;
  margin: 0 0 20px;
  font-size: 14px;
  color: #3A4452;
}
.va-form .form-required {
  color: #8A6A2F;
  font-weight: 700;
  margin-right: 4px;
}
.va-form-field {
  margin: 0 0 22px;
}
.va-form-label {
  display: block;
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #0A1424;
}
.va-form-name {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.va-form-sublabel {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #3A4452;
}
.va-form input[type="text"],
.va-form input[type="email"],
.va-form select,
.va-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #D5CDBE;
  border-radius: 10px;
  background: #fff;
  color: #1F2733;
  font-family: "Lato", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  box-sizing: border-box;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.va-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%238A6A2F' stroke-width='1.5' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.va-form input:focus,
.va-form select:focus,
.va-form textarea:focus {
  outline: none;
  border-color: #8A6A2F;
  box-shadow: 0 0 0 3px rgba(138, 106, 47, 0.15);
}
.va-form textarea {
  min-height: 180px;
  resize: vertical;
}
.va-form-submit {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 30px;
  background: #8A6A2F;
  color: #fff !important;
  border: 0;
  border-radius: 999px;
  font-family: "Lato", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  cursor: pointer;
  transition: background .2s;
}
.va-form-submit:hover {
  background: #6F5524;
}
.va-form-submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(138, 106, 47, 0.15);
}
.va-form-status {
  display: none;
  margin-top: 16px;
  font-size: 15px;
  color: #0A1424;
}
.va-form-status.is-visible { display: block; }

@media (max-width: 600px) {
  .va-form-name { grid-template-columns: 1fr; }
  .va-form-wrap { width: calc(100% - 32px); }
}


/* Contact: one white form card on an unbroken cream band.
   Live CSS targeted the Square form inside #wsite-content; the B stand-in
   sits between .vd-form-intro and .vd-privacy, so the card must continue here. */
html body.wsite-page-contact main {
  background: #F3ECDF;
}
html body.wsite-page-contact div.vd:not(#vd-x) {
  background: #F3ECDF !important;
}
html body.wsite-page-contact div.vd:not(#vd-x) .page-hero {
  background-color: #0A1424;
}
html body.wsite-page-contact .va-form-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #F3ECDF;
  box-sizing: border-box;
}
html body.wsite-page-contact .va-form-card {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-left: 1px solid #E4DCCB;
  border-right: 1px solid #E4DCCB;
  padding: 8px 48px 6px;
  box-sizing: border-box;
}
html body.wsite-page-contact .va-form-preview-note {
  margin: 0 0 22px;
  padding: 12px 16px;
  background: #F3ECDF;
  border-left: 3px solid #B08D45;
  border-radius: 0 8px 8px 0;
}
html body.wsite-page-contact .va-form-required-label {
  margin: 0 0 8px;
}
html body.wsite-page-contact .va-form-field {
  margin: 14px 0 0;
}
html body.wsite-page-contact .va-form-submit {
  margin-top: 22px;
}
@media (max-width: 700px) {
  html body.wsite-page-contact .va-form-card {
    width: calc(100% - 32px);
    padding: 4px 22px 6px;
  }
  html body.wsite-page-contact .va-form-wrap {
    width: 100%;
  }
}

/* Hidden honeypot — not shown, not read by assistive tech. */
.va-form .va-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
