.about-profile-with-photo {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 4vw, 56px);
}

.about-profile-with-photo .about-profile-copy {
  min-width: 0;
}

.about-profile-with-photo .about-profile-copy h2 {
  font-size: clamp(30px, 3.2vw, 42px);
}

.about-profile-photo {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 36, 95, 0.08);
  border-radius: 22px;
  background: #e6e1da;
  box-shadow: var(--shadow);
}

.about-profile-photo img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1024px) {
  .about-profile-with-photo {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .about-profile-photo {
    order: -1;
    width: 100%;
    max-width: 700px;
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .about-profile-with-photo {
    gap: 28px;
  }

  .about-profile-photo {
    border-radius: 14px;
  }
}
