/* The profile link covers its card; project links remain independent native links. */
.home-person { position: relative; isolation: isolate; }
.home-person--linked { transition: background-color .22s ease, box-shadow .22s ease; }
.home-person--linked .home-person__image { transition: transform .35s ease; transform-origin: center top; }
.home-person--linked .home-person__link::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    border-radius: 28px;
    outline: 2px solid transparent;
    outline-offset: -2px;
    transition: outline-color .22s ease;
}
.home-person--linked .home-person__case { position: relative; z-index: 2; }
.home-person--linked .home-person__link:focus-visible { outline: none; }
.home-person--linked .home-person__link:focus-visible::after { outline: 3px solid #a34000; outline-offset: -3px; }
.home-person--linked:focus-within { background: #fff8d6; }
.home-person--support { align-self: start; }
.home-person--support .home-person__link { margin-top: 0; }
.home-person__support { width: 100%; min-width: 0; }
.home-person__support-label { margin: 0 0 10px; font-size: 16px; font-weight: 600; line-height: 1.35; }
.home-person__topics { display: flex; flex-direction: column; gap: 6px; margin: 0; padding-left: 18px; list-style: disc; font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.home-person__contact {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 12px;
    color: #201b21;
    background: #e5d900;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-transform: none;
    white-space: normal;
}
.home-person__contact:hover { color: #fff; background: #201b21; }
.home-person__contact:focus-visible { outline: 3px solid #a34000; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
    .home-person--linked:hover {
        background: #fff8d6;
        box-shadow: 0 14px 32px rgba(32, 27, 33, .14); /* taste-skill-ignore: feedback on the hovered interactive card only. */
    }
    .home-person--linked:hover .home-person__link::after { outline-color: #d9bd48; }
    .home-person--linked:hover .home-person__image { transform: scale(1.025); }
}
@media (min-width: 1200px) {
    .home-team__list,
    .home-team--featured .home-team__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
    .home-person__content { padding: 24px; }
    .home-person__name { font-size: 24px; }
    .home-person--project .home-person__intro {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }
}
@media (max-width: 767.98px) {
    .home-person--linked .home-person__link::after { border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-person--linked,
    .home-person--linked .home-person__image,
    .home-person--linked .home-person__link::after { transition: none; }
    .home-person--linked:hover .home-person__image { transform: none; }
}
