
.preview-polish main>.team-overview{padding-top:40px;padding-bottom:64px}
.team-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;align-items:stretch}
.team-card{display:flex;flex-direction:column;min-width:0;background:#edf3fa;border-radius:52px 4px 4px 4px;overflow:hidden}
.team-card-photo{display:block;background:#e9eddf;overflow:hidden;aspect-ratio:4/5}
.team-card-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 25%}
.team-card:first-child .team-card-photo img{object-position:center top}
.team-card-content{padding:22px 20px 24px;display:flex;flex-direction:column;flex:1}
.preview-polish .team-card h2{font-size:23px;line-height:1.25;letter-spacing:normal;margin:0 0 10px;color:#243080}
.team-card h2 a{color:inherit;text-decoration:none}
.team-card h2 a:hover{text-decoration:underline;text-underline-offset:4px}
.preview-polish .team-card .team-card-role{font-size:14px;line-height:1.5;font-weight:600;color:#34648e;margin:0 0 16px}
.preview-polish .team-card .team-card-summary{font-size:15px;line-height:1.7;color:#53627a;margin:0 0 24px;max-width:none}
.team-card-link{margin-top:auto;color:#243080;font-size:15px;font-weight:600;text-decoration:underline;text-underline-offset:5px}
.team-card a:focus-visible,.profile-back a:focus-visible{outline:3px solid #3877c5;outline-offset:4px}
.profile-back{padding-top:28px;padding-bottom:0;font-size:15px}.profile-back a{color:#243080;text-underline-offset:4px}
@media(max-width:1100px){.team-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}}
@media(max-width:760px){.team-card-grid{grid-template-columns:1fr;gap:28px}.team-card-photo{aspect-ratio:4/5;max-height:420px}.preview-polish main>.team-overview{padding-top:24px;padding-bottom:40px}.team-card-content{padding:22px}.preview-polish .team-card h2{font-size:26px}}

/* Team sections */
.preview-polish main>.team-overview{padding-top:40px;padding-bottom:64px}
.team-group{margin:0 0 52px}.preview-polish .team-group-title{font-size:clamp(24px,3vw,32px);line-height:1.25;color:#243080;margin:0 0 22px;padding-bottom:12px;border-bottom:1px solid #c6d5e6}.team-group-title:before{content:"";display:inline-block;width:9px;height:9px;background:#679ccc;margin-right:12px;vertical-align:middle}.team-placeholder-photo{display:grid;place-items:center;background:#e5edf4;color:#718ca6}.team-placeholder-photo span{font-size:clamp(36px,5vw,56px);font-weight:500;letter-spacing:.04em}.team-bio{color:#53627a;font-size:15px;line-height:1.65}.team-bio summary{cursor:pointer;color:#243080;font-weight:600;text-decoration:underline;text-underline-offset:4px}.team-bio p{margin:14px 0 0}.team-overview-intro{margin-top:8px}@media(max-width:760px){.team-group{margin-bottom:40px}.preview-polish main>.team-overview{padding-top:24px;padding-bottom:40px}}

/* Compact team layout */
.team-overview .team-group{margin-bottom:36px}
.preview-polish .team-overview .team-group-title{margin-bottom:16px;padding-bottom:9px}
.team-overview #founder .team-card-grid,.team-overview #advisory .team-card-grid{grid-template-columns:minmax(0,1fr)}
.team-overview #founder .team-card,.team-overview #advisory .team-card{display:grid;grid-template-columns:200px minmax(0,1fr);max-width:900px;align-items:stretch}
.team-overview #founder .team-card-photo,.team-overview #advisory .team-card-photo{height:230px;max-height:none;aspect-ratio:auto}
.team-overview #founder .team-card-photo img,.team-overview #advisory .team-card-photo img{height:100%;object-position:center 20%}
.team-overview #founder .team-card-content,.team-overview #advisory .team-card-content{justify-content:center;min-width:0}
.team-overview #specialists .team-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.team-overview #specialists .team-card-photo{height:240px;max-height:none;aspect-ratio:auto}
.team-overview #specialists .team-card-photo img{object-position:center 22%}
.team-overview #support .team-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px}
.team-overview #support .team-placeholder-photo{display:none}
.team-overview #support .team-card-content{min-height:95px;justify-content:center}
.preview-polish .team-overview #support .team-card-role{margin-bottom:0}
.preview-polish .team-overview .team-card-summary{margin-bottom:14px}
@media(max-width:760px){
 .team-overview .team-group{margin-bottom:30px}
 .team-overview #specialists .team-card-grid,.team-overview #support .team-card-grid{grid-template-columns:1fr;gap:16px}
 .team-overview #founder .team-card,.team-overview #advisory .team-card{grid-template-columns:120px minmax(0,1fr)}
 .team-overview #founder .team-card-photo,.team-overview #advisory .team-card-photo{height:100%;min-height:190px}
 .team-overview #specialists .team-card-photo{height:230px}
 .team-overview .team-card-content{padding:18px}
 .preview-polish .team-overview .team-card h2{font-size:21px}
}
@media(max-width:380px){.team-overview #founder .team-card,.team-overview #advisory .team-card{grid-template-columns:100px minmax(0,1fr)}}

/* Specialists use the same portrait-and-text layout as founder and advisor. */
.team-overview #specialists .team-card-grid{grid-template-columns:minmax(0,1fr);gap:20px}
.team-overview #specialists .team-card{display:grid;grid-template-columns:200px minmax(0,1fr);max-width:900px;align-items:stretch}
.team-overview #specialists .team-card-photo{height:230px;max-height:none;aspect-ratio:auto}
.team-overview #specialists .team-card-photo img{height:100%;object-position:center 20%}
.team-overview #specialists .team-card-content{justify-content:center;min-width:0}
@media(max-width:760px){.team-overview #specialists .team-card{grid-template-columns:120px minmax(0,1fr)}.team-overview #specialists .team-card-photo{height:100%;min-height:190px}}
@media(max-width:380px){.team-overview #specialists .team-card{grid-template-columns:100px minmax(0,1fr)}}

/* Stack support profiles in every language. */
.team-overview #support .team-card-grid{grid-template-columns:minmax(0,1fr);gap:16px}

/* On phones, keep the portrait above each person's text and profile link. */
@media (max-width:760px){
 .team-overview #founder .team-card,.team-overview #specialists .team-card,.team-overview #advisory .team-card{display:flex;flex-direction:column;max-width:100%}
 .team-overview #founder .team-card-photo,.team-overview #specialists .team-card-photo,.team-overview #advisory .team-card-photo{height:auto;min-height:0;max-height:none;aspect-ratio:4/3}
 .team-overview #founder .team-card-photo img,.team-overview #specialists .team-card-photo img,.team-overview #advisory .team-card-photo img{height:100%;width:100%;object-fit:cover;object-position:center 20%}
 .team-overview .team-card-content{display:flex;flex-direction:column;align-items:flex-start}
 .team-overview .team-card-link{margin-top:4px}
}

/* Keep complete portraits visible and centered on small screens. */
@media (max-width:760px){
 .team-overview #founder .team-card-photo,.team-overview #specialists .team-card-photo,.team-overview #advisory .team-card-photo{display:flex;align-items:center;justify-content:center;align-self:center;width:100%;max-width:320px;aspect-ratio:4/5;height:auto;overflow:hidden;background:#edf3fa}
 .team-overview #founder .team-card-photo img,.team-overview #specialists .team-card-photo img,.team-overview #advisory .team-card-photo img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
}

/* Support team cards follow the same portrait layout as the other groups. */
.team-overview #support .team-card{display:grid;grid-template-columns:200px minmax(0,1fr);max-width:900px;align-items:stretch}.team-overview #support .team-card-photo{height:230px;aspect-ratio:auto;overflow:hidden}.team-overview #support .team-card-photo img{width:100%;height:100%;object-fit:cover;object-position:center 20%}.team-overview #support .team-card-content{justify-content:center;min-width:0}.preview-polish .team-overview #support .team-card-role{margin-bottom:12px}@media(max-width:760px){.team-overview #support .team-card{display:flex;flex-direction:column;max-width:100%}.team-overview #support .team-card-photo{display:flex;align-items:center;justify-content:center;align-self:center;width:100%;max-width:320px;aspect-ratio:4/5;height:auto;min-height:0;background:#edf3fa}.team-overview #support .team-card-photo img{width:100%;height:100%;object-fit:contain;object-position:center}}
