/* September 21: solid public header and a clean, balanced footer strip.
   Keep each template's existing header position and layout dimensions. */
body #masthead {
  background:var(--cactus-surface);
  /* Shared one-pixel separator: the accepted Contact/Testimonials treatment. */
  box-shadow:inset 0 -1px rgba(210,200,174,.38);
}
body #masthead::before {
  content:none;
  display:none;
}
/* Enlarge the artwork without changing its layout box, header height, or
   neighboring controls. Compact phones retain their available logo width. */
@media(min-width:420px) {
  body #masthead .container .site-branding img {
    transform:scale(1.1);
    transform-origin:center;
  }
}
/* Anchor search to the header so it also scrolls away on static templates. */
body #masthead .container .navs-wrapper #secondary-navigation,
body #masthead.menu-open .container .navs-wrapper #secondary-navigation {
  position:absolute !important;
  top:calc(50% - 22px) !important;
}
@media(max-width:900px) {
  body #masthead { --header-bar-height:88px; }
  body #masthead .container .navs-wrapper #primary-menu > .menu-brand {
    top:calc(var(--header-bar-height) / 2);
    transform:translate(-50%,-50%);
  }
  body #masthead .container .navs-wrapper #site-navigation .menu-toggle {
    top:calc(var(--header-bar-height) / 2 - 22px);
  }
  body #masthead .container .navs-wrapper #secondary-navigation,
  body #masthead.menu-open .container .navs-wrapper #secondary-navigation {
    top:calc(var(--header-bar-height) / 2 - 22px) !important;
  }
}
@media(max-width:599px) {
  body #masthead { --header-bar-height:78px; }
}
/* Only the bottom strip changes: retain the contact area's existing spacing,
   stone backdrop, and the strip's horizontal grid and typography. */
body #colophon.gray-footer { padding-bottom:0; }
body #colophon.gray-footer .footer-bottom .columns-container {
  border-top:0;
  padding-top:30px;
  padding-bottom:30px;
  align-items:center;
}
body #colophon.gray-footer .footer-bottom .columns-container::before {
  top:0;
  bottom:0;
}
body #colophon.gray-footer .footer-bottom .columns-container::after {
  content:none;
}
