.sample-medical {
  width: clamp(14rem, 26vw, 26rem);
  right: 4%;
  top: 28%;
  --tilt: 0deg;
}

.motion-ready .hero-art .sample-medical { scale: 1; }
.hero-title { pointer-events: none; }
.hero-title :is(h1,p,a) { pointer-events: auto; }
.sample-medical .specimen-print {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1.06;
  margin: 0;
  isolation: isolate;
}

.specimen-paper {
  position: absolute;
  inset: 26% 5% 2% 0;
  transform: rotate(4deg);
  background: #f1e7cf url("media/bashmed-background-wide.webp") center / cover;
  box-shadow: 0 .6rem 1rem -.65rem #49391e66;
}
.specimen-paper .bashmed-mark {
  position: absolute;
  top: 8%;
  left: 7%;
  margin: 0;
  color: #30251d;
  font-size: clamp(1rem, 2.4vw, 2.25rem);
}
.sample-medical img.hero-microscope {
  position: absolute;
  width: 81%;
  height: auto;
  right: -1%;
  bottom: 3%;
  aspect-ratio: 720 / 933;
  background: transparent;
  box-shadow: none;
  transform-origin: 52% 95%;
  transform: rotate(-4deg);
  filter: drop-shadow(.17rem .4rem .2rem #45301933);
  transition: transform .32s cubic-bezier(.2,.75,.3,1), filter .32s;
}
.sample-medical .specimen-caption { margin: .5rem 0 0 .1rem; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .sample-medical:hover img.hero-microscope {
    transform: translateY(-.38rem) rotate(-6deg);
    filter: drop-shadow(.25rem .65rem .3rem #4530193d);
  }
}
.sample-medical:is(:hover,:focus-visible) .specimen-caption {
  text-decoration: underline;
  text-underline-offset: .2em;
}

@media (min-width: 581px) and (max-width: 850px) {
  .sample-medical { width: 24vw; right: 2%; top: 48%; }
}
@media (max-width: 580px) {
  .sample-steel { left: 16%; }
  .sample-medical {
    width: clamp(8rem, 40vw, 12rem);
    top: auto;
    right: 4%;
    bottom: 1.25rem;
  }
}
@media (max-width: 580px) and (max-height: 700px) {
  .hero { height: auto; min-height: max(36.5rem, 100svh); padding-block: 6rem 9rem; }
  .sample-bash-os { width: clamp(2.65rem, 13vw, 3.65rem); top: 4.9rem; left: 2%; }
  .sample-medical { width: clamp(8.5rem, 43vw, 12rem); bottom: 1.6rem; }
}
