/* Company portraits: approved photography in the site's existing card system.
   This sheet is deliberately page-scoped; Home and Products do not load it. */
.company-page #team .founders {
  max-width: 1040px;
}
.company-page #team .founder {
  min-width: 0;
  padding: 28px;
}
.company-page #team .founder-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 11 / 10;
  margin-bottom: 24px;
  border-radius: 12px;
  background: var(--surface-2);
}
.company-page #team .founder-portrait-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  color: var(--ink-2);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  text-align: center;
}
.company-page #team .founder-portrait picture {
  position: absolute;
  inset: 0;
  display: block;
}
.company-page #team .founder-portrait img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.company-page #team .founder-portrait img[hidden] {
  display: none;
}
/* Preserve the headroom in the approved source; never retouch the face. */
.company-page #team .founder-portrait--david img {
  object-position: 50% 20%;
}
.company-page #team .founder-portrait--wilson img {
  object-position: 50% 32%;
}
.company-page #team .founder-head {
  display: block;
  margin-bottom: 20px;
}
.company-page #team .founder h3 {
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 6px;
}
.company-page #team .founder-role {
  color: var(--ink-2);
  line-height: 1.5;
}
@media (max-width: 760px) {
  .company-page #team .founders {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
  }
  .company-page #team .founder {
    padding: 20px;
  }
}

/* Keep the CRO portrait as large as the first-row leadership cards. */
.company-page #team .founder--cro {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc((100% - 24px) / 2);
}
.company-page #team .founder-portrait--steven img { object-position: 50% 35%; }
@media (max-width: 760px) {
  .company-page #team .founder--cro { grid-column: auto; width: 100%; }
}
