.family-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(41, 41, 41, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(41, 41, 41, 0.045) 1px, transparent 1px),
        var(--cream);
    background-size: 74px 74px;
}

.family-hero__grid {
    min-height: 680px;
    display: grid;
    grid-template-columns: minmax(0, 0.93fr) minmax(480px, 1.07fr);
    align-items: center;
    gap: clamp(46px, 7vw, 108px);
    padding-block: 64px 88px;
}

.family-hero__copy {
    position: relative;
    z-index: 3;
}

.family-hero__copy h1 {
    margin-bottom: 25px;
    font-size: clamp(3.35rem, 5.7vw, 5.9rem);
    font-weight: 900;
    letter-spacing: -0.085em;
    line-height: 1.05;
}

.family-hero__copy h1 em {
    color: var(--blue);
    font-style: normal;
}

.family-hero__copy p {
    max-width: 570px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 2.15;
}

.family-hero__link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    font-size: 0.82rem;
    font-weight: 800;
}

.family-hero__link b {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: var(--cream);
    transition: transform 0.25s ease;
}

.family-hero__link:hover b {
    transform: translateY(4px);
}

.family-hero__visual {
    position: relative;
    height: 520px;
    display: grid;
    place-items: center;
}

.family-hero__visual::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 124px;
    height: 124px;
    border: 2px solid var(--blue);
    border-radius: 50%;
    content: "";
}

.family-hero__visual::after {
    position: absolute;
    right: 2%;
    bottom: 3%;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--yellow);
    content: "";
}

.family-hero__board {
    position: relative;
    z-index: 1;
    width: min(500px, calc(100% - 30px));
    height: 470px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 42px 42px 175px 42px;
    background: var(--ink);
    box-shadow: 0 30px 70px rgba(41, 41, 41, 0.2);
    color: var(--cream);
    transform: rotate(-2.5deg);
}

.family-hero__board::after {
    position: absolute;
    inset: 17px;
    border: 1px solid rgba(250, 241, 213, 0.15);
    border-radius: 29px 29px 158px 29px;
    content: "";
    pointer-events: none;
}

.family-hero__board-kicker {
    position: absolute;
    z-index: 3;
    top: 38px;
    right: 40px;
    color: rgba(250, 241, 213, 0.62);
    font-size: 0.6rem;
    font-weight: 700;
    direction: ltr;
    letter-spacing: 0.18em;
}

.family-hero__eight {
    position: absolute;
    z-index: 1;
    top: 36px;
    left: 42px;
    color: rgba(250, 241, 213, 0.055);
    font-size: 21rem;
    font-weight: 900;
    line-height: 1;
    transform: rotate(2.5deg);
}

.family-hero__route {
    position: absolute;
    z-index: 2;
    inset: 20px 12px 18px 7px;
    width: calc(100% - 19px);
    height: calc(100% - 38px);
    overflow: visible;
}

.family-hero__route path {
    stroke: var(--yellow);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 0.015 0.028;
}

.family-hero__route circle {
    fill: var(--yellow);
    stroke: var(--ink);
    stroke-width: 3;
}

.family-hero__route circle:last-child {
    fill: var(--blue);
    stroke: var(--cream);
}

.family-hero__board-word {
    position: absolute;
    z-index: 3;
    padding: 6px 11px;
    border: 1px solid rgba(250, 241, 213, 0.22);
    border-radius: 999px;
    background: rgba(41, 41, 41, 0.72);
    font-size: 0.61rem;
    font-weight: 800;
}

.family-hero__board-word--one {
    right: 30px;
    bottom: 58px;
}

.family-hero__board-word--two {
    top: 174px;
    right: 180px;
}

.family-hero__board-word--three {
    top: 59px;
    left: 68px;
}

.family-hero__count {
    position: absolute;
    z-index: 4;
    right: 44px;
    top: 78px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.family-hero__count strong {
    color: var(--yellow);
    font-size: 4.8rem;
    font-weight: 900;
    line-height: 1;
}

.family-hero__count small {
    color: var(--cream);
    font-size: 0.6rem;
    font-weight: 800;
    line-height: 1.5;
}

.family-hero__visual-note {
    position: absolute;
    z-index: 3;
    left: 10px;
    bottom: 2px;
    padding: 9px 17px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--cream);
    font-size: 0.63rem;
    font-weight: 800;
    transform: rotate(3deg);
}

.family-hero__ticker {
    overflow: hidden;
    border-block: 1px solid var(--ink);
    background: var(--yellow);
}

.family-hero__ticker > div {
    min-width: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 13px 24px;
    font-size: 0.77rem;
    font-weight: 900;
}

.family-hero__ticker i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
}

.family-gallery {
    padding: 118px 0 150px;
    background: var(--paper);
}

.family-team + .family-team {
    margin-top: 132px;
    padding-top: 105px;
    border-top: 1px solid var(--line);
}

.family-team__heading {
    display: grid;
    grid-template-columns: 64px minmax(0, 1.05fr) minmax(260px, 0.62fr);
    align-items: center;
    gap: 28px;
    margin-bottom: 64px;
}

.family-team__index {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid var(--ink);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 900;
    direction: ltr;
}

.family-team__heading .eyebrow {
    margin-bottom: 8px;
}

.family-team__heading h2 {
    margin: 0;
    font-size: clamp(2.7rem, 4.5vw, 4.6rem);
    font-weight: 900;
    letter-spacing: -0.075em;
    line-height: 1.2;
}

.family-team--operations .eyebrow {
    color: var(--blue);
}

.family-team--operations .eyebrow::before {
    background: var(--blue);
}

.family-team__heading > p {
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 2;
}

.family-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 56px 22px;
}

.employee-card {
    --card-accent: var(--yellow);
    min-width: 0;
}

.employee-card:nth-child(4n + 2) {
    --card-accent: #9fb4f5;
}

.employee-card:nth-child(4n + 3) {
    --card-accent: #e9cbbb;
}

.employee-card:nth-child(4n) {
    --card-accent: #b7d8c2;
}

.employee-card:nth-child(3n + 2) {
    margin-top: 42px;
}

.employee-card__photo {
    position: relative;
    aspect-ratio: 2 / 2.8;
    overflow: hidden;
    border-radius: 160px 160px 22px 22px;
    background: #e7e0d7;
}

.employee-card:nth-child(3n + 2) .employee-card__photo {
    border-radius: 24px 160px 24px 24px;
}

.employee-card:nth-child(3n) .employee-card__photo {
    border-radius: 160px 24px 24px 24px;
}

.employee-card__photo::after {
    position: absolute;
    inset: auto 0 0;
    height: 27%;
    background: linear-gradient(transparent, rgba(18, 18, 18, 0.22));
    content: "";
    pointer-events: none;
}

.employee-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.employee-card__photo--placeholder {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.34) 0 7%, transparent 7.3%),
        linear-gradient(145deg, var(--yellow), #e2aa00);
}

.employee-card__photo--placeholder::before {
    position: absolute;
    width: 70%;
    aspect-ratio: 1;
    border: 1px solid rgba(41, 41, 41, 0.35);
    border-radius: 50%;
    content: "";
}

.employee-card__monogram {
    position: relative;
    z-index: 1;
    font-size: clamp(4.5rem, 8vw, 7rem);
    font-weight: 900;
    letter-spacing: -0.1em;
    line-height: 1;
}

.employee-card__photo-note {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 18px;
    font-size: 0.62rem;
    font-weight: 800;
}

.employee-card__photo--placeholder .employee-card__number {
    top: 14px;
    bottom: auto;
}

.employee-card:hover .employee-card__photo img {
    filter: saturate(1.04);
    transform: scale(1.035);
}

.employee-card__number {
    position: absolute;
    z-index: 2;
    left: 14px;
    bottom: 14px;
    min-width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: rgba(25, 25, 25, 0.42);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    direction: ltr;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.employee-card__body {
    position: relative;
    min-height: 214px;
    margin-inline: 10px;
    padding: 21px 0 0;
    border-top: 7px solid var(--card-accent);
}

.employee-card__identity h3 {
    margin-bottom: 2px;
    font-size: clamp(1.18rem, 1.7vw, 1.48rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.55;
}

.employee-card__identity p {
    margin: 0;
    color: var(--blue);
    font-size: 0.73rem;
    font-weight: 800;
}

.employee-card__details {
    display: grid;
    gap: 6px;
    margin: 15px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.7rem;
    line-height: 1.85;
    list-style: none;
}

.employee-card__details li {
    position: relative;
    padding-right: 13px;
}

.employee-card__details li::before {
    position: absolute;
    top: 0.78em;
    right: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--card-accent);
    content: "";
}

.employee-card--minimal .employee-card__body {
    min-height: 90px;
}

.family-gallery__empty {
    padding: 60px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    text-align: center;
}

.family-gallery__empty p {
    margin: 0;
    color: var(--muted);
}

.family-closing {
    padding: 110px 0;
    overflow: hidden;
    background: var(--ink);
    color: var(--cream);
}

.family-closing__inner {
    position: relative;
    text-align: center;
}

.family-closing__inner::before,
.family-closing__inner::after {
    position: absolute;
    top: 50%;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(250, 241, 213, 0.25);
    border-radius: 50%;
    content: "";
}

.family-closing__inner::before {
    right: 1%;
}

.family-closing__inner::after {
    left: 1%;
    border-color: var(--yellow);
    transform: scale(0.68);
}

.family-closing__inner > span {
    display: block;
    margin-bottom: 15px;
    color: var(--yellow);
    font-size: 0.76rem;
    font-weight: 800;
}

.family-closing h2 {
    margin-bottom: 30px;
    font-size: clamp(3rem, 5.3vw, 5.6rem);
    font-weight: 900;
    letter-spacing: -0.07em;
    line-height: 1.16;
}

.family-closing h2 em {
    color: var(--yellow);
    font-style: normal;
}

@media (max-width: 1040px) {
    .family-hero__grid {
        grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
        gap: 34px;
    }

}

@media (max-width: 800px) {
    .family-hero__grid {
        grid-template-columns: 1fr;
        gap: 42px;
        padding-block: 70px;
    }

    .family-hero__copy {
        max-width: 620px;
    }

    .family-hero__visual {
        width: min(620px, 100%);
        height: 490px;
        margin-inline: auto;
    }

    .family-team__heading {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 20px;
        margin-bottom: 58px;
    }

    .family-team__heading > p {
        grid-column: 2;
        max-width: 520px;
    }

    .family-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 45px 20px;
    }

    .employee-card:nth-child(3n + 2) {
        margin-top: 0;
    }

    .employee-card:nth-child(even) {
        margin-top: 35px;
    }
}

@media (max-width: 540px) {
    .family-hero__grid {
        min-height: auto;
        padding-block: 52px 58px;
    }

    .family-hero__copy h1 {
        font-size: clamp(3.05rem, 15vw, 4.3rem);
    }

    .family-hero__copy p {
        font-size: 0.86rem;
        line-height: 2;
    }

    .family-hero__visual {
        height: 380px;
    }

    .family-hero__board {
        height: 345px;
        border-radius: 30px 30px 120px 30px;
    }

    .family-hero__board::after {
        inset: 12px;
        border-radius: 21px 21px 107px 21px;
    }

    .family-hero__eight {
        top: 34px;
        left: 26px;
        font-size: 15rem;
    }

    .family-hero__count {
        top: 66px;
        right: 30px;
    }

    .family-hero__count strong {
        font-size: 3.7rem;
    }

    .family-hero__route {
        inset: 12px 8px 12px 3px;
        width: calc(100% - 11px);
        height: calc(100% - 24px);
    }

    .family-hero__board-kicker {
        top: 28px;
        right: 30px;
    }

    .family-hero__board-word--one {
        right: 21px;
        bottom: 39px;
    }

    .family-hero__board-word--two {
        top: 125px;
        right: 130px;
    }

    .family-hero__board-word--three {
        top: 45px;
        left: 45px;
    }

    .family-hero__ticker > div {
        justify-content: flex-start;
    }

    .family-gallery {
        padding: 84px 0 105px;
    }

    .family-team + .family-team {
        margin-top: 92px;
        padding-top: 76px;
    }

    .family-team__heading {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 44px;
    }

    .family-team__index {
        width: 48px;
        height: 48px;
    }

    .family-team__heading h2 {
        font-size: 2.55rem;
    }

    .family-team__heading > p {
        grid-column: auto;
        padding-top: 15px;
    }

    .family-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px 8px;
    }

    .employee-card,
    .employee-card:nth-child(even) {
        width: auto;
        margin: 0;
    }

    .employee-card__photo {
        aspect-ratio: 3 / 3.75;
        border-radius: 48px 48px 10px 10px;
    }

    .employee-card:nth-child(3n + 2) .employee-card__photo {
        border-radius: 10px 48px 10px 10px;
    }

    .employee-card:nth-child(3n) .employee-card__photo {
        border-radius: 48px 10px 10px 10px;
    }

    .employee-card__number {
        left: 6px;
        bottom: 6px;
        min-width: 26px;
        width: 26px;
        height: 26px;
        font-size: 0.46rem;
    }

    .employee-card__photo-note {
        right: 7px;
        bottom: 7px;
        max-width: 58px;
        font-size: 0.44rem;
    }

    .employee-card__monogram {
        font-size: clamp(2.2rem, 13vw, 3.5rem);
    }

    .employee-card__body,
    .employee-card--minimal .employee-card__body {
        min-height: 0;
        margin-inline: 2px;
        padding-top: 7px;
        border-top-width: 3px;
    }

    .employee-card__identity h3 {
        margin: 0;
        font-size: clamp(0.62rem, 3vw, 0.76rem);
        line-height: 1.45;
    }

    .employee-card__identity p {
        display: -webkit-box;
        margin-top: 1px;
        overflow: hidden;
        font-size: clamp(0.46rem, 2.2vw, 0.57rem);
        line-height: 1.5;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .employee-card__details {
        display: none;
    }

    .family-closing {
        padding: 85px 0;
    }

    .family-closing__inner::before,
    .family-closing__inner::after {
        opacity: 0.4;
    }
}

@media (prefers-reduced-motion: reduce) {
    .family-hero__link b,
    .employee-card__photo img {
        transition: none;
    }
}
