/* People directory and public profiles (kept in the active watch bundle). */
.people-redesign-page {
    padding-top: 24px;
}

.people-redesign-page .site4cio-page-layout {
    grid-template-columns: minmax(0, 1fr);
}

.people-redesign-page .site4cio-page-content {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.people-redesign-page .projects-tabs a.is-active {
    color: #315e45;
    border-color: rgba(79, 143, 107, 0.16);
    background: #e7f4ea;
}

.people-redesign-page .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;
}

.people-eyebrow,
.people-directory__count {
    display: block;
    margin-bottom: 10px;
    color: #4f8f6b;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.people-hero {
    position: relative;
    min-height: 340px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: 42px;
    padding: 44px;
    overflow: hidden;
    border: 1px solid rgba(21, 31, 44, 0.08);
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% 0%, rgba(112, 181, 130, 0.24), transparent 36%),
        radial-gradient(circle at 0% 100%, rgba(40, 111, 91, 0.12), transparent 38%),
        linear-gradient(135deg, #ffffff 0%, #f1f8f3 100%);
    box-shadow: var(--shadow-card);
}

.people-hero::after {
    content: '';
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(79, 143, 107, 0.14);
    border-radius: 50%;
    pointer-events: none;
}

.people-hero__copy {
    position: relative;
    z-index: 1;
}

.people-hero h1,
.people-info-page__hero h1,
.people-profile__intro h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(38px, 5vw, 68px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.people-hero__copy > p {
    max-width: 610px;
    margin: 22px 0 28px;
    color: #526171;
    font-size: 17px;
    line-height: 1.65;
}

.people-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    max-width: 650px;
}

.people-search__field {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 17px;
    border: 1px solid rgba(21, 31, 44, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 24px rgba(20, 31, 45, 0.06);
}

.people-search__field:focus-within {
    border-color: rgba(79, 143, 107, 0.55);
    box-shadow: 0 0 0 4px rgba(79, 143, 107, 0.1);
}

.people-search__field svg {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    fill: none;
    stroke: #657381;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.people-search__field input {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 15px;
}

.people-search button,
.people-primary-action,
.people-info-page__cta > a,
.people-mode-link,
.people-empty > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 14px;
    color: #fff !important;
    background: linear-gradient(135deg, #5b9f78, #3f7f59);
    box-shadow: 0 12px 24px rgba(63, 127, 89, 0.18);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.people-search button:hover,
.people-primary-action:hover,
.people-info-page__cta > a:hover,
.people-mode-link:hover,
.people-empty > a:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(63, 127, 89, 0.24);
}

.people-mosaic {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: 9px;
    row-gap: 18px;
}

.people-mosaic__avatar {
    --mosaic-offset: 0px;
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    background: #e9efeb;
    box-shadow: 0 10px 22px rgba(20, 31, 45, 0.13);
    transform: translateY(var(--mosaic-offset));
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.people-mosaic__avatar:nth-child(6n + 2),
.people-mosaic__avatar:nth-child(6n + 4) {
    --mosaic-offset: -7px;
}

.people-mosaic__avatar:nth-child(6n + 3) {
    --mosaic-offset: -14px;
}

.people-mosaic__avatar:nth-child(6n + 6) {
    --mosaic-offset: 7px;
}

.people-mosaic__avatar:hover,
.people-mosaic__avatar:focus-visible {
    z-index: 2;
    transform: translateY(calc(var(--mosaic-offset) - 3px)) scale(1.06);
    box-shadow: 0 14px 28px rgba(20, 31, 45, 0.2);
}

.people-mosaic__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.people-directory {
    margin-top: 28px;
    padding: 32px;
    border: 1px solid rgba(21, 31, 44, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-card);
}

.people-directory__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.people-directory__header h2,
.people-profile-more h2,
.people-info-page__cta h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.people-sort {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    padding: 5px;
    border: 1px solid rgba(21, 31, 44, 0.08);
    border-radius: 14px;
    background: #f7f9f8;
}

.people-sort > span {
    padding: 0 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.people-sort a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 10px;
    color: #465361;
    font-size: 13px;
    font-weight: 700;
}

.people-sort a:hover,
.people-sort a.is-active {
    color: #315e45;
    background: #e3f1e7;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.people-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: auto 430px;
    border: 1px solid rgba(21, 31, 44, 0.08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(20, 31, 45, 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.people-card:hover,
.people-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(79, 143, 107, 0.26);
    box-shadow: 0 18px 36px rgba(20, 31, 45, 0.12);
}

.people-card__photo {
    position: relative;
    aspect-ratio: 1;
    margin: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #dfe9e3, #f3f6f4);
}

.people-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.people-card__photo-image {
    object-position: center;
}

.people-card__photo.is-deceased img,
.people-profile__photo.is-deceased img {
    filter: grayscale(1);
}

.people-card__body {
    min-height: 164px;
    padding: 19px 18px 22px;
}

.people-card__body h3 {
    padding-right: 25px;
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.28;
    font-weight: 800;
}

.people-card__body p {
    margin: 0 0 8px;
    color: #455363;
    font-size: 14px;
    line-height: 1.5;
}

.people-card__body > span:not(.people-card__memory) {
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.people-card__memory,
.people-profile__memory {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 8px;
    border-radius: 999px;
    color: #69645d;
    background: #f1efeb;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.people-card__arrow {
    position: absolute;
    right: 17px;
    bottom: 18px;
    color: #4f8f6b;
    font-size: 20px;
    line-height: 1;
}

.people-directory__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 26px;
}

.people-pagination .pagination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.people-pagination .pagination a,
.people-pagination .pagination span {
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 10px;
    color: #475665;
    background: #f4f7f5;
    font-size: 13px;
    font-weight: 700;
}

.people-pagination .pagination a:hover,
.people-pagination .pagination .active span {
    color: #fff;
    background: #4f8f6b;
}

.people-pagination .pagination .disabled span {
    color: #a1abb3;
}

.people-mode-link {
    min-height: 42px;
    flex: 0 0 auto;
}

.people-empty {
    padding: 50px 24px;
    border-radius: 20px;
    text-align: center;
    background: #f5f8f6;
}

.people-empty h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.people-empty p {
    margin: 0 auto 20px;
    color: var(--muted);
    line-height: 1.6;
}

.people-profile-back {
    margin-bottom: 14px;
}

.people-profile-back a {
    display: inline-flex;
    padding: 8px 0;
    color: #486455;
    font-size: 14px;
    font-weight: 700;
}

.people-profile,
.people-profile-more,
.people-info-page {
    overflow: hidden;
    border: 1px solid rgba(21, 31, 44, 0.08);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow-card);
}

.people-profile__hero {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    align-items: center;
    background:
        radial-gradient(circle at 100% 0%, rgba(104, 155, 50, 0.15), transparent 42%),
        linear-gradient(135deg, #f1f7f3, #fff);
}

.people-profile__photo {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1;
    margin: 0;
    overflow: hidden;
    background: #e7eeea;
}

.people-profile__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 28%;
}

.people-profile__intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px;
}

.people-profile__intro h1 {
    max-width: 720px;
    font-size: clamp(38px, 4.5vw, 62px);
    overflow-wrap: anywhere;
}

.people-profile__role {
    margin: 22px 0 5px;
    color: #374454;
    font-size: 19px;
    line-height: 1.45;
    font-weight: 600;
}

.people-profile__company {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
}

.people-profile__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.people-profile__actions > a:not(.people-primary-action) {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    border: 1px solid rgba(21, 31, 44, 0.1);
    border-radius: 14px;
    color: #41505e;
    font-size: 14px;
    font-weight: 700;
    background: #fff;
}

.people-profile__feature {
    padding: 30px 36px;
    color: #fff;
    background: linear-gradient(135deg, #315e45, #4f8f6b);
}

.people-profile__feature > span,
.people-profile__detail > span {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.people-profile__feature h2 {
    margin: 0 0 12px;
    font-size: 25px;
    line-height: 1.25;
}

.people-profile__feature p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

.people-profile__details {
    column-count: 2;
    column-gap: 0;
    column-rule: 1px solid rgba(21, 31, 44, 0.08);
    background: #fff;
}

.people-profile__details--single {
    column-count: 1;
}

.people-profile__detail {
    width: 100%;
    min-width: 0;
    display: inline-block;
    box-sizing: border-box;
    padding: 30px 34px;
    border-bottom: 1px solid rgba(21, 31, 44, 0.08);
    background: #fff;
    break-inside: avoid;
}

.people-profile__detail--website {
    display: block;
    column-span: all;
}

.people-profile__detail > span {
    color: #72917f;
}

.people-profile__detail p,
.people-profile__detail a {
    margin: 0;
    color: #344150;
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.people-profile__detail a {
    color: #35784d;
    font-weight: 700;
}

.people-profile-more {
    margin-top: 24px;
    padding: 28px 32px 34px;
}

.people-profile-more > div:first-child {
    margin-bottom: 22px;
}

.people-profile-more .people-mosaic {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.people-profile-more .people-mosaic__avatar:nth-child(n) {
    transform: none;
}

.people-info-page__hero {
    position: relative;
    padding: 54px 48px;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 0%, rgba(104, 155, 50, 0.2), transparent 42%),
        linear-gradient(135deg, #edf6f0, #fff);
}

.people-info-page__hero::after {
    content: '';
    position: absolute;
    right: 7%;
    bottom: -80px;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(79, 143, 107, 0.18);
    border-radius: 50%;
}

.people-info-page__hero p {
    max-width: 650px;
    margin: 22px 0 0;
    color: #526171;
    font-size: 18px;
    line-height: 1.6;
}

.people-info-page__content {
    padding: 42px 48px 48px;
    color: #344150;
    font-size: 17px;
    line-height: 1.75;
}

.people-info-page__content > p {
    max-width: 880px;
    margin: 0 0 20px;
}

.people-info-page__image {
    margin: 34px 0 0;
    overflow: hidden;
    border-radius: 22px;
    background: #e7eeea;
}

.people-info-page__image img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}

.people-info-page__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 34px;
    padding: 28px 30px;
    border-radius: 22px;
    background: #eff6f1;
}

.people-info-page__cta h2 {
    font-size: 25px;
}

.people-info-page__cta p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.people-steps {
    display: grid;
    gap: 1px;
    background: rgba(21, 31, 44, 0.08);
}

.people-step {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 24px;
    padding: 34px 48px;
    background: #fff;
}

.people-step__number {
    color: #8fb39d;
    font-size: 36px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.people-step h2 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 23px;
    line-height: 1.25;
}

.people-step p {
    max-width: 760px;
    margin: 0 0 12px;
    color: #536171;
    font-size: 16px;
    line-height: 1.65;
}

.people-step a {
    color: #35784d !important;
    font-size: 14px;
    font-weight: 800;
}

.people-info-page--register > .people-info-page__cta {
    margin: 30px 34px 34px;
}

@media screen and (max-width: 980px) {
    .people-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .people-mosaic {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .people-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .people-profile__hero {
        grid-template-columns: 320px minmax(0, 1fr);
    }

    .people-profile-more .people-mosaic {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
}

@media screen and (max-width: 760px) {
    .people-redesign-page {
        padding-top: 16px;
    }

    .people-redesign-page .projects-tabs a {
        flex: 1 1 auto;
    }

    .people-hero,
    .people-directory,
    .people-info-page__hero,
    .people-info-page__content {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .people-hero {
        min-height: 0;
    }

    .people-hero h1,
    .people-info-page__hero h1,
    .people-profile__intro h1 {
        font-size: 38px;
    }

    .people-search {
        grid-template-columns: minmax(0, 1fr);
    }

    .people-search button {
        width: 100%;
    }

    .people-mosaic {
        grid-template-columns: repeat(8, minmax(0, 1fr));
        gap: 6px;
    }

    .people-mosaic__avatar:nth-child(n) {
        --mosaic-offset: 0px;
        transform: none;
    }

    .people-directory__header,
    .people-directory__footer,
    .people-info-page__cta {
        align-items: stretch;
        flex-direction: column;
    }

    .people-directory__header {
        display: flex;
    }

    .people-sort {
        align-self: flex-start;
    }

    .people-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .people-card__body {
        min-height: 150px;
    }

    .people-profile__hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .people-profile__photo {
        min-height: 0;
        aspect-ratio: 1;
    }

    .people-profile__intro {
        padding: 28px 22px;
    }

    .people-profile__details {
        column-count: 1;
    }

    .people-profile__detail,
    .people-profile__feature {
        padding: 24px 22px;
    }

    .people-profile-more {
        padding: 24px 20px 28px;
    }

    .people-profile-more .people-mosaic {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .people-info-page__cta > a,
    .people-mode-link {
        width: 100%;
    }

    .people-step {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 14px;
        padding: 26px 20px;
    }

    .people-step__number {
        font-size: 28px;
    }

    .people-info-page--register > .people-info-page__cta {
        margin: 22px 20px;
    }
}

@media screen and (max-width: 480px) {
    .people-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .people-card {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .people-card__photo {
        height: 100%;
        min-height: 170px;
        aspect-ratio: auto;
    }

    .people-card__body {
        min-height: 170px;
        padding: 17px 15px;
    }

    .people-card__body h3 {
        font-size: 16px;
    }

    .people-card__arrow {
        right: 14px;
        bottom: 14px;
    }

    .people-mosaic {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .people-profile__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .people-profile__actions > a {
        justify-content: center;
        width: 100%;
    }

    .people-step {
        grid-template-columns: minmax(0, 1fr);
    }
}
