/* Preserve the original transparent portraits with the original near-black backdrop. */
.team-card > img {
  display: block;
  box-sizing: border-box;
  background: #0d0511;
  object-fit: contain;
  object-position: center bottom;
  padding-top: 24px;
}

@media (max-width: 600px) {
  .team-card > img { padding-top: 16px; }
}

.company-product-team { padding-bottom: 100px; }
.team-grid.team-additions-grid {
  max-width: none;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
}
.team-member-card { background: #fff; }
.team-member-card > .team-portrait {
  position: relative;
  width: min(240px, calc(100% - 40px));
  aspect-ratio: 1;
  margin: 24px auto 0;
  padding: 0;
  border-radius: 25%;
  overflow: hidden;
}
.team-portrait > img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Frame the original LinkedIn portrait inside its decorative profile badge. */
.team-portrait-security > img {
  position: absolute;
  width: 166.667%;
  height: 166.667%;
  max-width: none;
  left: -37.5%;
  top: -15.625%;
}
.team-portrait-people > img {
  position: absolute;
  width: 140%;
  height: 140%;
  max-width: none;
  left: -20%;
  top: -10.5%;
}
.team-member-card > .team-member-details { padding: 24px; }
.team-member-card h3 { font-size: 21px; line-height: 1.16; letter-spacing: -.025em; }
.team-member-card p { font-size: 15px; line-height: 1.4; }

@media (max-width: 1000px) {
  .team-grid.team-additions-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Equal founder frames preserve the photo scale and center each original cutout. */
.team-card.founder-card { background: #fff; }
.team-grid.founder-grid { max-width: 760px; }
.founder-card > .founder-photo-frame {
  width: min(calc(100% - 40px), 303.51px);
  aspect-ratio: 600 / 684;
  box-sizing: content-box;
  padding: 24px 0 0;
  margin: 20px auto 0;
  background: #0d0511;
  border-radius: 14px;
  overflow: hidden;
}
.founder-photo-frame > img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(var(--portrait-offset));
  display: block;
  height: calc(100% - 24px);
  width: auto;
  max-width: none;
}
@media (max-width: 600px) {
  .founder-card > .founder-photo-frame {
    width: min(calc(100% - 40px), 242.808px);
  }
}
@media (max-width: 700px) {
  .team-grid.team-additions-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .company-product-team { padding-bottom: 64px; }
}
@media (max-width: 420px) {
  .team-grid.team-additions-grid { grid-template-columns: 1fr; }
  .team-member-card > .team-member-details { padding: 22px; }
  .team-member-card h3 { font-size: 25px; }
}
