/* Reuse the existing masthead artwork at the smaller interior scale. */
body.modus-interior > header.site-header > a.brand {
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: start !important;
  position: relative !important;
  z-index: 2;
  width: clamp(114px, 14vw, 174px);
  height: 67px !important;
  padding-block: 5px !important;
  margin: 0 !important;
  justify-content: center !important;
}

body.modus-interior > header.site-header > .brand .home-geometric {
  position: static !important;
  width: 19px !important;
  height: 19px !important;
  margin: 0 !important;
}

body.modus-interior > header.site-header > .brand .home-wordmark {
  font-size: clamp(16px, 1.65vw, 24px) !important;
  margin: 3px 0 0 !important;
  color: var(--ink) !important;
}

body.modus-interior > header.site-header > .brand .home-tagline {
  display: none;
}

html:not([data-theme="readable"], [data-theme="contrast"]) body.modus-interior > header.site-header::after {
  content: none;
}

html:not([data-theme="readable"], [data-theme="contrast"]) body.modus-interior > header.site-header > .brand {
  background: url("/images/modus-waves.svg") center 1px / 119% 39px no-repeat;
  opacity: 1 !important;
}

@media (min-width: 1240px) {
  body.modus-interior > header.site-header {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center;
    column-gap: clamp(10px, 1.5vw, 24px) !important;
  }

  body.modus-interior > header.site-header > nav.site-nav {
    grid-column: 2 !important;
    grid-row: 1 !important;
    gap: 0 clamp(6px, 1.1vw, 18px) !important;
  }

  body.modus-interior > header.site-header > .header-tools {
    position: relative !important;
    inset: auto !important;
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
  }
}
