.hero-photo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 0.5rem;
}

.hero-photo__frame {
  width: min(64vw, 235px);
  aspect-ratio: 233 / 205;
  border: 7px solid var(--color-orange);
  background-color: var(--color-white);
  overflow: hidden;
  transform: rotate(-10deg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease;
}

.hero-photo__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .hero-photo {
    padding: 1.5rem 0.75rem;
  }

  .hero-photo__frame {
    width: 270px;
    border-width: 9px;
    transform: rotate(-24deg);
  }
}
