/* Preserve the supplied lettering, displayed as a single horizontal lockup. */
.footer-brand { flex-shrink: 0; }
.footer-brand > svg { display: block; width: 100%; height: auto; }
.header .brand {
  width: auto;
  flex: 0 0 auto;
  gap: 16px;
  align-items: center;
}
.header .brand .mark { width: 40px; height: 40px; flex: 0 0 auto; }
.header .brand-type {
  display: flex;
  align-items: center;
  gap: 14px;
  filter: brightness(0) invert(1);
}
.header .brand-type svg { display: block; flex: 0 0 auto; overflow: hidden; height: auto; }
.header .brand-name { width: 150px; }
.header .brand-descriptor { width: 108px; }
.practice-page .header .brand-type,
.contact-page .header .brand-type,
.portfolio-page .header .brand-type { filter: none; }
@media (min-width: 761px) and (max-width: 1200px) {
  .header .brand { gap: 10px; }
  .header .brand .mark { width: 30px; height: 30px; }
  .header .brand-type { gap: 10px; }
  .header .brand-name { width: 90px; }
  .header .brand-descriptor { width: 62px; }
  .header #navigation { width: 310px; gap: 14px; }
}
@media (max-width: 760px) {
  .header { gap: 12px; }
  .header .brand { gap: 7px; }
  .header .brand .mark { width: clamp(26px, 8vw, 31px); height: clamp(26px, 8vw, 31px); }
  .header .brand-type { gap: 7px; }
  .header .brand-name { width: clamp(64px, 20vw, 90px); }
  .header .brand-descriptor { width: clamp(49px, 15vw, 68px); }
  .header .menu-toggle { gap: 8px; }
  .header.menu-open .brand-type { display: none; }
  .header.menu-open .brand { width: 38px; height: 38px; }
}
@media (max-width: 360px) {
  .header { gap: 8px; }
  .header .brand, .header .brand-type { gap: 6px; }
  .header .menu-toggle { gap: 6px; }
}

/* Anchor the menu to the same right edge in both states, independently of languages. */
.header > .languages { display: none !important; }
.header .menu-toggle,
.header.menu-open .menu-toggle {
  position: absolute;
  top: 0;
  right: var(--pad);
  height: 99px;
  margin: 0;
  z-index: 2;
}
@media (min-width: 761px) {
  .header #navigation { right: calc(var(--pad) + 120px); }
}
@media (max-width: 760px) {
  .header .menu-toggle,
  .header.menu-open .menu-toggle {
    top: 0;
    right: 24px;
    height: 85px;
  }
  .header.menu-open .menu-toggle { position: fixed; }
}
