.home-masthead,
.clinician-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.home-masthead {
  background: linear-gradient(115deg, #fff 18%, #f5f8fc 64%, #e4ecf6);
}

.home-masthead::before,
.clinician-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  aspect-ratio: 170 / 145;
  background: url("/assets/wayland-mark.png") center / contain no-repeat;
}

.home-masthead::before {
  width: clamp(23rem, 43vw, 44rem);
  top: -12%;
  left: max(-3rem, calc((100% - 1600px) / 2 - 2rem));
  mix-blend-mode: multiply;
  opacity: .1;
}

/* Echo the narrow blue and silver bands on the vial labels. */
.home-masthead::after {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(to bottom, #b6c3d1 0 1px, #fff 1px 3px, var(--blue) 3px);
}

.clinician-band::before {
  width: clamp(17rem, 30vw, 34rem);
  right: max(-3rem, calc((100% - 1600px) / 2 - 3rem));
  top: 50%;
  transform: translateY(-50%);
  filter: grayscale(1) invert(1);
  mix-blend-mode: screen;
  opacity: .19;
}

@media (max-width: 750px) {
  .home-masthead::before {
    width: clamp(15rem, 56vw, 23rem);
    inset: -.9rem -1.1rem auto auto;
  }

  .clinician-band::before {
    width: 16rem;
    opacity: .13;
  }
}

@media (forced-colors: active) {
  .home-masthead::before, .home-masthead::after, .clinician-band::before { display: none; }
}
