.emblem-art {
  position: relative;
  display: block;
  width: min(36vw, 500px);
  height: min(60vh, 650px);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.emblem .coat {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
  transition: opacity 700ms cubic-bezier(.22, .61, .36, 1), transform 700ms cubic-bezier(.22, .61, .36, 1);
}

.emblem .lineart {
  opacity: 1;
}

.emblem .color {
  opacity: 0;
  transform: scale(.985);
}

.emblem-art:hover .lineart,
.emblem-art:focus-visible .lineart,
.emblem-art.is-color .lineart {
  opacity: 0;
}

.emblem-art:hover .color,
.emblem-art:focus-visible .color,
.emblem-art.is-color .color {
  opacity: 1;
  transform: scale(1);
}

.emblem-art:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 10px;
}

@media (max-width: 800px) {
  .emblem-art {
    width: min(72vw, 390px);
    height: min(52vh, 585px);
  }
}

@media (max-width: 430px) {
  .emblem-art {
    width: 80vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .emblem .coat {
    transition-duration: 0ms;
  }
}
