.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
  max-width: 143px;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}

.brand-logo {
  position: relative;
  display: block;
  width: 100%;
  height: 84px;
  overflow: hidden;
  background: transparent;
}

.brand-logo img {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  transform: translate(-50%, -50%) scale(1.52);
}

.brand-lockup > small {
  display: block;
  margin: 0;
  color: var(--muted);
  font: 500 10px/1.4 var(--font-ui);
  letter-spacing: .08em;
  text-align: center;
}

.home-heading-brand, .home-heading-divider { display: none; }

.sidebar .brand-lockup { margin-inline: auto; padding: 0 0 18px; }
.diagnostic-brand .brand-lockup { flex: 0 1 135px; }
.admin-sidebar .brand-lockup { margin-inline: auto; }
.admin-sidebar .brand-logo { margin-top: 0; }
.admin-sidebar .brand-lockup > span:last-child { margin-top: 7px; }

@media (max-width: 420px) {
  .diagnostic-brand .brand-lockup { flex-basis: 113px; }
  .diagnostic-brand .brand-logo { height: 71px; }
}

@media (max-width: 760px) {
  .home-screen .page-heading {
    display: flex;
    align-items: center;
    gap: 9px;
  }
  .home-heading-brand { display: flex; flex: 0 0 76px; width: 76px; gap: 0; }
  .home-heading-brand .brand-logo { height: 43px; }
  .home-heading-brand > small { font-size: 7px; line-height: 1.1; letter-spacing: 0; white-space: nowrap; }
  .home-heading-divider { display: block; flex: 0 0 1px; align-self: stretch; min-height: 62px; background: var(--green); }
  .home-heading-copy { flex: 1; min-width: 0; }
  .home-screen .page-heading .eyebrow { font-size: .55rem; letter-spacing: .11em; }
  .home-screen .page-heading h1 { font-size: clamp(1.15rem, 5.2vw, 1.4rem); line-height: 1.05; margin: 3px 0; }
  .home-screen .page-heading p { display: block; font-size: .75rem; line-height: 1.2; }
}
