.rg-contact .hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  max-inline-size: 530px;
  padding-block-start: clamp(78px, 9vw, 116px);
}

.rg-contact .hero-actions > a {
  position: relative;
  justify-content: center;
  min-inline-size: 0;
  min-block-size: 44px;
  text-align: center;
}

.rg-contact .hero-actions > a::before {
  content: "";
  position: absolute;
  inset-block-end: calc(100% + 6px);
  inset-inline-start: 50%;
  transform: translateX(-50%);
  inline-size: clamp(72px, 8vw, 110px);
  aspect-ratio: 1;
  background: var(--contact-mascot) center / contain no-repeat;
  pointer-events: none;
}

.rg-contact .hero-actions .hero-line { --contact-mascot: url("rose.webp"); }
.rg-contact .hero-actions .outline { --contact-mascot: url("raise.webp"); }
.rg-contact .hero-actions .project-jump { --contact-mascot: url("rai.webp"); }

@media (max-width: 640px) {
  .rg-contact .hero-actions > a {
    padding-inline: 4px;
    line-height: 1.25;
    gap: 4px;
  }

  .rg-contact .hero-actions > a img {
    inline-size: 12px;
    flex-shrink: 0;
  }
}
