/* The original soft team cards, with real projects inside their owner's card. */
.home-team .home-team__all {
    justify-content: center;
    gap: 16px;
    min-height: 48px;
    padding: 12px 24px;
    color: #201b21;
    background: #e5d900;
    border-radius: 999px;
    text-decoration: none;
}
.home-team .home-team__all:hover { color: #fff; background: #201b21; }
.home-team .home-team__all:focus-visible { outline: 3px solid #201b21; outline-offset: 4px; }
@media (min-width: 1200px) {
    .home-team--featured .home-team__list {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 24px;
    }
    .home-team--featured .home-person__content { padding: 24px; }
    .home-team--featured .home-person__name { font-size: 24px; }
    .home-team--featured .home-person__intro {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }
}
@media (max-width: 767.98px) {
    .home-team__all { width: 100%; }
}
.home-team__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 32px 28px; color: #201b21; }
.home-person { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #f3f4f4; border-radius: 28px; }
.home-person__media { position: relative; min-width: 0; overflow: hidden; }
.home-person__image { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; background: #f5f4f1; }
.home-person__count { position: absolute; right: 18px; bottom: 18px; max-width: calc(100% - 36px); padding: 10px 14px; font-size: 16px; font-weight: 600; line-height: 1.2; color: #201b21; background: #fff; border-radius: 999px; }
.home-person__content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; padding: 28px; }
.home-person__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.home-person__badge { display: inline-flex; align-items: center; padding: 8px 14px; font-size: 16px; font-weight: 600; line-height: 1.15; border-radius: 999px; }
.home-person__badge--manager { background: #dceaf1; }
.home-person__badge--master { background: #fff09b; }
.home-person__identity-copy { width: 100%; min-width: 0; }
.home-person__name { margin: 0; font-size: 28px; font-weight: 600; line-height: 1.12; overflow-wrap: anywhere; }
.home-person__role { margin: 10px 0 0; font-size: 18px; line-height: 1.4; overflow-wrap: anywhere; }
.home-person__intro { margin: 0; font-size: 18px; line-height: 1.5; overflow-wrap: anywhere; }
.home-person__link { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; padding-top: 8px; color: inherit; font-size: 18px; font-weight: 600; line-height: 1.3; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.home-person__link:hover { color: #a34000; text-decoration-thickness: 2px; }
.home-person__link:focus-visible, .home-person__case:focus-visible { outline: 3px solid #a34000; outline-offset: 4px; }
.home-person__work { width: 100%; min-width: 0; }
.home-person__work-label { margin: 0 0 10px; font-size: 16px; line-height: 1.35; }
.home-person__projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.home-person__case { display: block; min-width: 0; min-height: 44px; color: inherit; border-radius: 10px; }
.home-person__case-image { display: block; width: 100%; height: auto; min-height: 44px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; transition: opacity .2s ease; }
.home-person__case--text { grid-column: 1 / -1; }
.home-person__case-title { font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.home-person__case:hover .home-person__case-image { opacity: .8; }
@media (max-width: 1199.98px) {
    .home-team__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    .home-team__list { gap: 20px 12px; }
    .home-person { border-radius: 18px; }
    .home-person__content { gap: 12px; padding: 16px 14px; }
    .home-person__count { right: 8px; bottom: 10px; max-width: calc(100% - 16px); padding: 7px 10px; font-size: 13px; }
    .home-person__badges { gap: 5px; }
    .home-person__badge { padding: 6px 9px; font-size: 13px; }
    .home-person__name { font-size: 21px; }
    .home-person__role { margin-top: 8px; font-size: 16px; }
    .home-person__intro { font-size: 15px; line-height: 1.45; }
    .home-person--project .home-person__intro { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
    .home-person__link { padding-top: 0; font-size: 16px; }
    .home-person__work-label { margin-bottom: 8px; font-size: 14px; }
    .home-person__projects { gap: 8px; }
    .home-person__case-title { font-size: 14px; }
    .home-person:last-child:nth-child(odd) { display: flex; grid-column: 1 / -1; }
    .home-person:last-child:nth-child(odd) .home-person__image { aspect-ratio: 6 / 5; }
}
@media (max-width: 359.98px) {
    .home-person__content { padding: 14px 10px; }
    .home-person__name { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-person__case-image { transition: none; }
}
