/* Keep the published inquiry fields and contact methods in their native order. */
body.spatial-site[data-contact-page] main > .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
  grid-template-areas: "details fields";
  align-items: start;
  gap: clamp(2.75rem, 7vw, 8rem);
  padding: var(--folio-space, clamp(3rem, 7vw, 7rem)) var(--folio-inset, var(--review-gutter, 5%));
  color: var(--folio-ink, #102438);
  background: #fff;
}
body.spatial-site[data-contact-page] .contact-layout > * { min-width: 0; }
body.spatial-site[data-contact-page] .contact-layout > .contact-fields { grid-area: fields; }
body.spatial-site[data-contact-page] .contact-layout > aside {
  grid-area: details;
  border-top: 1px solid var(--folio-line, #c6d1d7);
  padding-top: clamp(1.15rem, 2.1vw, 2.25rem);
}
body.spatial-site[data-contact-page] .contact-layout aside .eyebrow {
  margin: 0 0 1rem;
  color: var(--folio-muted, #455b6a);
  font: 400 .87rem/1.45 ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: .035em;
}
body.spatial-site[data-contact-page] .contact-layout h2 {
  margin: 0;
  color: var(--folio-ink, #102438);
  font: 400 clamp(2.25rem, 4.3vw, 4.85rem)/1.02 FK, Arial, sans-serif;
  letter-spacing: -.05em;
}
body.spatial-site[data-contact-page] .contact-layout address {
  margin: clamp(1.35rem, 2.5vw, 2.65rem) 0 1.2rem;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  font-style: normal;
  line-height: 1.5;
  color: var(--folio-ink, #102438);
}
body.spatial-site[data-contact-page] .contact-layout a {
  color: #00658b;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .23em;
}
body.spatial-site[data-contact-page] .contact-layout a:hover {
  color: var(--folio-ink, #102438);
  text-decoration-thickness: 2px;
}
body.spatial-site[data-contact-page] .contact-layout .contact-value {
  width: fit-content;
  max-width: 100%;
  font-size: clamp(1.1rem, 1.55vw, 1.55rem);
  line-height: 1.45;
  overflow-wrap: anywhere;
  margin-bottom: .35rem;
}
body.spatial-site[data-contact-page] .contact-layout .contact-note {
  max-width: 37ch;
  margin: clamp(1.35rem, 3vw, 3rem) 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--folio-line, #c6d1d7);
  color: var(--folio-muted, #455b6a);
  font-size: 1rem;
  line-height: 1.5;
}
body.spatial-site[data-contact-page] .contact-layout form {
  width: 100%;
  max-width: 49rem;
  margin: 0;
  padding: clamp(1.15rem, 2.1vw, 2.25rem) 0 0;
  border: 0;
  border-top: 1px solid var(--folio-line, #c6d1d7);
}
body.spatial-site[data-contact-page] .contact-layout .form-intro {
  color: var(--folio-ink, #102438);
  font-size: clamp(1.65rem, 2.55vw, 3rem);
  line-height: 1.11;
  letter-spacing: -.033em;
  margin: 0 0 clamp(1.5rem, 2.75vw, 2.75rem);
}
body.spatial-site[data-contact-page] .contact-layout .form-intro > br { display: none; }
body.spatial-site[data-contact-page] .contact-layout .form-intro > span {
  display: block;
  color: var(--folio-muted, #455b6a);
  margin-top: .65rem;
  font: 400 .95rem/1.5 FK, Arial, sans-serif;
  letter-spacing: 0;
}
body.spatial-site[data-contact-page] .contact-layout .form-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(1rem, 1.8vw, 2rem);
}
body.spatial-site[data-contact-page] .contact-layout label {
  display: block;
  margin: 0 0 .45rem;
  font: 400 1rem/1.45 FK, Arial, sans-serif;
  color: var(--folio-ink, #102438);
}
body.spatial-site[data-contact-page] .contact-layout :is(input:not([type="hidden"]), textarea) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: .8rem .9rem;
  margin: 0 0 1.35rem;
  color: var(--folio-ink, #102438);
  background: #fff;
  border: 1px solid #81949f;
  border-radius: .2rem;
  font: 400 1rem/1.5 FK, Arial, sans-serif;
}
body.spatial-site[data-contact-page] .contact-layout textarea {
  min-height: 9.5rem;
  resize: vertical;
}
body.spatial-site[data-contact-page] .contact-layout :is(input, textarea):user-invalid {
  border-color: #ae3436;
}
body.spatial-site[data-contact-page] .contact-layout :is(a, button, input, textarea):focus-visible {
  outline: 2px solid #00719e;
  outline-offset: 3px;
}
body.spatial-site[data-contact-page] .contact-layout .form-policy,
body.spatial-site[data-contact-page] .contact-layout noscript p {
  max-width: 60ch;
  margin: 0 0 1.3rem;
  color: var(--folio-muted, #455b6a);
  font-size: .95rem;
  line-height: 1.55;
}
body.spatial-site[data-contact-page] .contact-layout .button {
  min-width: 0;
  min-height: 3rem;
  padding: .75rem 1.35rem;
  gap: .75rem;
  border: 1px solid var(--folio-ink, #102438);
  border-radius: 2rem;
  color: #fff;
  background: var(--folio-ink, #102438);
  font: 400 1rem/1.35 FK, Arial, sans-serif;
  cursor: pointer;
}
body.spatial-site[data-contact-page] .contact-layout .button:hover { background: #243e50; }
body.spatial-site[data-contact-page] .contact-layout .button:disabled { cursor: wait; opacity: .72; }
body.spatial-site[data-contact-page] .contact-layout .button span { color: inherit; font-size: 1.1em; }
body.spatial-site[data-contact-page] .contact-layout #form-status {
  margin: 1rem 0 0;
  color: var(--folio-ink, #102438);
  font-size: 1rem;
  line-height: 1.5;
}
body.spatial-site[data-contact-page] .contact-layout #form-status.error { color: #983332; }
@media (max-width: 49rem) {
  body.spatial-site[data-contact-page] main > .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "fields" "details";
    gap: clamp(2.25rem, 6vw, 4rem);
  }
  body.spatial-site[data-contact-page] .contact-layout form { max-width: none; }
}
@media (max-width: 37rem) {
  body.spatial-site[data-contact-page] .contact-layout .form-row { grid-template-columns: minmax(0, 1fr); }
}
