/* Official quote artwork: preserve its colors, transparency and 5:1 proportions. */
img.quote-logo {
  display: block;
  height: auto;
  object-fit: contain;
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
}
:is(.lab-home,.site-page)>header>a:first-child { flex-shrink: 0; }
.lab-home>header>a:first-child {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.lab-home>header>a:first-child::after { content: none; display: none; }
.lab-home>header .quote-logo,
.lab-home>header.header-on-light .quote-logo,
.lab-home>header>a:first-child:hover .quote-logo,
.lab-home>header.header-on-light>a:first-child:hover .quote-logo,
.site-page>.site-header .quote-logo,
.site-page>.site-header>a:first-child:hover .quote-logo {
  height: auto;
  padding: 0;
  background: none;
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
}
/* The hero has a dark header: brighten the original navy, retain its teal.
   The original PNG and the light-header palette stay unchanged. */
.lab-home>header:not(.header-on-light) .quote-logo,
.lab-home>header:not(.header-on-light)>a:first-child:hover .quote-logo {
  filter: url(#quote-logo-on-dark);
}
.doc-brand { align-items: center; flex-wrap: wrap; }
.doc-brand .doc-logo { width: 150px; max-width: 100%; flex: none; }
@media (max-width: 400px) {
  :is(.lab-home,.site-page)>header .quote-logo { width: 145px; }
}
