/* Colonial pilot: existing typography, colors and buttons; shared team components. */
.team-intro {max-width:760px;margin-bottom:32px;line-height:1.75;}
.team-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;}
.team-card {border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--white);display:flex;flex-direction:column;}
.team-card img {display:block;width:100%;aspect-ratio:1/1;object-fit:cover;object-position:center top;background:#fff;}
.team-card-body {padding:20px;display:flex;flex-direction:column;flex:1;}
.team-card h3 {font-size:18px;color:var(--ink);line-height:1.4;margin:0 0 8px;}
.team-card p {font-size:14px;line-height:1.65;margin:0 0 20px;}
.team-card a {color:var(--red);font-size:14px;font-weight:700;text-decoration:none;margin-top:auto;}
.team-card a:hover {text-decoration:underline;}
.provider-layout {display:grid;grid-template-columns:280px minmax(0,1fr);gap:48px;margin-top:32px;align-items:start;}
.provider-portrait {width:100%;border-radius:10px;display:block;}
.provider-copy p {margin-bottom:20px;line-height:1.8;}
.provider-copy .cta-primary {margin-top:16px;}
.about .team-grid {margin-top:32px;}
.services-grid {grid-template-columns:repeat(4,minmax(0,1fr));}
@media(max-width:1000px){.team-grid,.services-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:650px){.team-grid,.services-grid{grid-template-columns:1fr;}.team-card{max-width:420px;width:100%;margin:auto;}.provider-layout{grid-template-columns:1fr;gap:28px;}.provider-portrait{max-width:300px;}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.services-grid{display:grid!important;}.service-card{width:100%!important;max-width:none!important;}
@media(min-width:360px) and (max-width:650px){.team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.team-card-body{padding:14px;}.team-card h3{font-size:16px;}.team-card p{font-size:13px;}.team-card a{font-size:13px;}}

.provider-copy .cta-primary{display:inline-flex;background:var(--red);color:#fff;text-decoration:none;font-weight:700;font-size:15px;padding:13px 26px;border-radius:8px;}.provider-copy .cta-primary:hover{background:var(--red-hover);}

.team-card img,.provider-portrait{height:auto;}

/* Phosphor regular icons replace the four values emojis. */
.mission-card .mc-icon{width:28px;height:28px;color:var(--red);margin-bottom:12px;}.mission-card .mc-icon svg{display:block;width:28px;height:28px;}

/* Uniform white 4:5 portraits; remove auto vertical margins that offset shorter cards. */
.team-card{height:100%;margin:0;}.team-card img{aspect-ratio:4/5;height:auto;object-fit:contain;background:#fff;}.provider-portrait{aspect-ratio:4/5;height:auto;object-fit:contain;background:#fff;}
@media(max-width:650px){.team-card{max-width:none;margin:0;}.provider-portrait{max-width:280px;}}

/* QA: center incomplete provider rows without changing card widths. */
.team-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;max-width:1040px;margin-left:auto;margin-right:auto}
.team-card{flex:0 0 calc((100% - 40px)/3);width:calc((100% - 40px)/3);height:auto}
@media(max-width:1000px){.team-card{flex-basis:calc((100% - 20px)/2);width:calc((100% - 20px)/2)}}
@media(max-width:650px){.team-grid{gap:12px}.team-card{flex-basis:calc((100% - 12px)/2);width:calc((100% - 12px)/2)}}
@media(max-width:359px){.team-card{flex-basis:100%;width:100%;max-width:420px}}
