.contact-card {
  position: fixed;
  inset: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(480px, calc(100vw - 32px), calc((100dvh - 96px) * 0.5));
  max-width: none;
  max-height: none;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
  color: #fff;
  overscroll-behavior: contain;
}

.contact-card::backdrop {
  background: rgb(0 0 0 / 78%);
  backdrop-filter: blur(5px);
}

.contact-card__toolbar {
  display: flex;
  justify-content: flex-end;
  height: 44px;
  margin-bottom: 8px;
}

.contact-card__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 40%);
  border-radius: 50%;
  background: #141414;
  color: #fff;
  cursor: pointer;
}

.contact-card__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.contact-card__artwork {
  width: 100%;
  background: #000;
  box-shadow: 0 24px 80px rgb(0 0 0 / 35%);
}

.contact-card__image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  user-select: none;
}
