.team-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.team-about__photo {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background: #d8dde3;
}

/* Квадрат 1:1 без aspect-ratio: Safari игнорирует aspect-ratio у grid-элементов,
   из-за чего на телефоне фото схлопывается в ноль. Padding-трюк задаёт высоту надёжно. */
.team-about__photo::before {
  content: "";
  display: block;
  padding-top: 100%;
}

.team-about__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-about__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: clamp(28px, 5vw, 72px);
}

.team-about__content .h2 { margin-bottom: clamp(24px, 3vw, 40px); }

.team-about__content p {
  max-width: 51ch;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.6;
}

.team-about__content p + p { margin-top: 16px; }

.team-about__content .team-about__lead {
  color: var(--ink);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.03em;
}

.team-about__content .btn { margin-top: clamp(28px, 3vw, 40px); }

@media (max-width: 900px) {
  .team-about { grid-template-columns: 1fr; }
  .team-about__content { padding: clamp(24px, 5vw, 40px); }
}

@media (max-width: 720px) {
  .team-about__content .h2 { margin-bottom: 22px; }
  .team-about__content .btn { width: 100%; }
}
