/* Local behavior and accessibility additions to the preserved client design. */
button.nav-toggle-label,
button.nav-toggle-close-label,
button.social-ellipsis {
  appearance: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0;
  cursor: pointer;
}
button.nav-toggle-label { text-align: left; }
.skip-link, .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 12000;
  width: auto;
  height: auto;
  clip-path: none;
  padding: 10px 16px;
  background: #fff;
  outline: 2px solid #3b80d1;
}
:focus-visible { outline: 2px solid #3b80d1; outline-offset: 4px; }
[inert] { pointer-events: none; }
.site-header, .site-page { opacity: 1; }
body { min-height: 100vh; }
.main-nav-wrapper { overflow-y: auto; }
.sqs-image-shape-container-element { --image-component-focal-point: 50% 50%; --image-component-object-fit: cover; }
.sqs-image-shape-container-element:not(.content-fit) > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sqs-image-shape-container-element.content-fit > img { width: 100%; height: auto; }
.search-dismiss {
  position: absolute;
  right: 5%;
  top: 30px;
  border: 0;
  background: transparent;
  color: #333;
  font: 40px/1 Verdana, sans-serif;
  cursor: pointer;
}
/* The header's search box, like the search page's, is Alegreya Italic (template.css) with no outline. */
.header-search-form-input:focus-visible { outline: none; }
.utility-page { max-width: 900px; margin: 0 auto; padding: 17px 0 40px; }

/* The search page, as Squarespace drew it. template.css sets its fonts and colors; the spacing and
   lines below came with Squarespace's search widget, so they're reproduced from the live site. */
.sqs-search-container { display: flow-root; }
.sqs-search-page .sqs-search-page-input { margin: 0 0 50px; }
.sqs-search-page .sqs-search-page-input form { margin: 0; }
.sqs-search-page .sqs-search-page-input input { height: calc(1.5em - 1px); }
.sqs-search-page .sqs-search-page-input input::placeholder { color: #eee; opacity: 1; }
.sqs-search-page-notice { font-size: 12px; color: #000; }
.sqs-search-page-notice.hide { display: none; }
.sqs-search-page-item { position: relative; padding: 1.5em 0; }
.search-result + .search-result .sqs-search-page-item { border-top: 1px solid rgba(200, 200, 200, .35); }
.sqs-search-page .sqs-search-page-item .sqs-title { margin: 0 0 .5em; }
.sqs-search-page-item .sqs-title a { color: inherit; text-decoration: none; }
.sqs-search-page-item .sqs-title a::after { content: ''; position: absolute; inset: 0; }
.sqs-search-page-item .sqs-content .sqs-content { line-height: 1.4em; }
@media screen and (max-width: 600px) { .sqs-search-page-result { padding: 0 20px; } }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* The hosted site renders these fields with React; reproduce them as native HTML. */
#contact-form .field-list { display: flex; flex-direction: column; gap: 0; }
#contact-form .form-item { box-sizing: border-box; width: 100%; margin: 0 0 18px; }
#contact-form .form-item.name { display: flex; gap: 10px; flex-wrap: wrap; }
#contact-form .form-item.name legend { width: 100%; margin-bottom: 3px; }
#contact-form .name .field { float: none; flex: 1; width: auto; margin: 0; padding: 0; }
#contact-form .title { padding-bottom: 4px; font-size: 15px; }
/* Measured from the live form: a fieldset's heading (Name, Phone, the topics) has no gap or indent. */
#contact-form legend .title { padding-bottom: 0; margin-left: 0; }
#contact-form .caption { font-size: 12px; }
#contact-form .description.required { display: inline; margin-left: 4px; opacity: .7; font-size: 12px; }
#contact-form input:not([type="hidden"]):not([type="checkbox"]),
#contact-form textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px;
  border: 1px solid #a9a9a9;
  border-radius: 0;
  background: #fafafa;
  color: #000;
  font: 15px Verdana, Geneva, sans-serif;
}
#contact-form input:not([type="hidden"]):not([type="checkbox"]) { height: 40px; }
#contact-form textarea { min-height: 100px; resize: vertical; }
#contact-form .phone .field { width: 100%; margin: 0; padding: 0; }
#contact-form .phone .caption { display: none; }
#contact-form .checkbox legend { margin-bottom: 6px; }
#contact-form .checkbox .option { display: flex; height: 16.8px; margin: 0 0 6px; }
#contact-form .checkbox .option:last-child { margin-bottom: 4px; }
#contact-form .checkbox label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 16px; }
#contact-form input[type="checkbox"] { appearance: auto; flex: 0 0 16px; width: 16px; height: 16px; margin: 0 5px 0 0; padding: 0; }
#contact-form .form-submit-button { cursor: pointer; }

@media (max-width: 640px) {
  .utility-page { padding-top: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* The office map on About Us: Google Maps in place of Squarespace's map block. */
.sqs-block-map .office-map { display: block; width: 100%; height: 100%; min-height: 300px; border: 0; }
