.hero-avatar {
  position: relative;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: visible;
  background: none !important;
  border: 0;
}

.hero-avatar::before,
.hero-avatar::after {
  display: none !important;
  content: none !important;
}

.hero-avatar img {
  position: static;
  display: block;
  width: min(600px, 42vw);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  transform: none;
  object-fit: contain;
  object-position: bottom center;
  background: transparent !important;
  border: 0;
  box-shadow: none;
  z-index: 1;
  filter: none;
}

.hero,
.site-header {
  background-color: var(--ink);
}

@media (max-width: 800px) {
  .hero {
    padding-bottom: 0;
  }

  .hero-grid {
    gap: 22px;
  }

  .hero-avatar {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    min-height: 0;
    margin: 4px auto 0;
  }

  .hero-avatar img {
    position: static;
    width: min(76vw, 420px);
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    transform: none;
    object-position: bottom center;
  }
}

@media (max-width: 500px) {
  .hero-avatar {
    width: 100%;
    margin-top: 0;
  }

  .hero-avatar img {
    width: min(72vw, 340px);
    margin-right: auto;
    margin-left: auto;
  }
}
