/* section10.css */
.section10 {
  position: relative;
  margin-top: clamp(-60px, -3vw, -20px);
  background:
    radial-gradient(60% 55% at 88% 30%, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0) 62%),
    linear-gradient(135deg, #5cb39a 0%, #3c977d 58%, #63bda3 100%);
  border-radius: clamp(80px, 11.2vw, 215px) clamp(30px, 3vw, 48px) clamp(80px, 11.2vw, 215px) clamp(30px, 3vw, 48px);
  overflow: hidden;
  padding-top: clamp(56px, 6vw, 120px);
  padding-bottom: clamp(56px, 6vw, 120px);
}

.section10__person {
  margin-bottom: clamp(32px, 3.75vw, 72px);
}

.section10__role {
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: clamp(20px, 1.67vw, 32px);
  line-height: 1.3;
  margin-bottom: clamp(4px, 0.5vw, 10px);
}

.section10__name {
  font-weight: 700;
  color: var(--color-ink);
  font-size: clamp(26px, 3.18vw, 61px);
  line-height: 1.16;
}

.section10__quote {
  display: flex;
  align-items: center;
  max-width: 1305px;
}

.section10__avatar {
  flex-shrink: 0;
  width: clamp(160px, 22vw, 300px);
  height: clamp(160px, 22vw, 300px);
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 9px 20px rgba(11, 23, 37, 0.25);
  margin-right: clamp(-90px, -6vw, -50px);
  position: relative;
  z-index: 2;
}

.section10__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section10__card {
  position: relative;
  flex: 1 1 auto;
  background: var(--color-white);
  border-radius: 0 92px 92px 92px;
  /* generous side/bottom gutters so the corner quote marks never sit on the text */
  padding: clamp(40px, 3.5vw, 58px) clamp(90px, 9.5vw, 150px) clamp(48px, 4vw, 64px) clamp(70px, 8vw, 150px);
  box-shadow: 0 9px 12px rgba(11, 23, 37, 0.2);
}

.section10__text {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.2vw, 22px);
  color: var(--color-ink);
}

.section10__text p {
  font-weight: 500;
  font-size: clamp(15px, 1.15vw, 22px);
  line-height: 1.45;
}

.section10__quote-mark {
  position: absolute;
  width: clamp(34px, 3.33vw, 64px);
  height: auto;
}

.section10__quote-mark--top {
  top: clamp(24px, 2.6vw, 36px);
  left: clamp(40px, 5vw, 80px);
}

.section10__quote-mark--bottom {
  right: clamp(40px, 4vw, 80px);
  bottom: clamp(28px, 3vw, 44px);
  transform: rotate(180deg);
}

/* Tablet + mobile: photo on top-left of card */
@media (max-width: 1024px) {
  .section10__role {
    padding-left: 0;
  }

  .section10__quote {
    flex-direction: column;
    align-items: flex-start;
  }

  .section10__avatar {
    width: clamp(120px, 24vw, 180px);
    height: clamp(120px, 24vw, 180px);
    margin-right: 0;
    margin-bottom: clamp(-70px, -8vw, -40px);
    margin-left: clamp(20px, 4vw, 48px);
    z-index: 2;
  }

  .section10__card {
    width: 100%;
    border-radius: 40px;
    /* wider gutters keep both marks tucked in the corners, clear of the text */
    padding: clamp(70px, 12vw, 110px) clamp(60px, 8vw, 80px) clamp(60px, 8vw, 80px);
  }

  .section10__quote-mark {
    width: clamp(30px, 3.4vw, 44px);
  }

  /* move the top mark into the empty top-right corner (avatar sits top-left) */
  .section10__quote-mark--top {
    right: clamp(20px, 3vw, 32px);
    top: clamp(30px, 3vw, 30px);
  }

  .section10__quote-mark--bottom {
    right: clamp(20px, 3vw, 32px);
    bottom: clamp(20px, 3vw, 32px);
  }
}

@media (max-width: 640px) {
  .section10 {
    border-radius: 60px 24px 60px 24px;
  }
}