/* Our Management — timeline layout with scroll-in animation */

.mgmt-team-section {
    padding: 60px 0 80px;
    background: #fff;
}

.mgmt-team-timeline {
    position: relative;
    padding-left: 48px;
    max-width: 920px;
    margin: 0 auto;
}

.mgmt-team-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #e4e4e4;
}

.mgmt-member {
    position: relative;
    margin-bottom: 56px;
}

.mgmt-member:last-child {
    margin-bottom: 0;
}

.mgmt-member__marker {
    position: absolute;
    left: -48px;
    top: 28px;
    width: 48px;
    height: 24px;
}

.mgmt-member__dot {
    position: absolute;
    left: 5px;
    top: 50%;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border-radius: 50%;
    background: #e8722a;
    z-index: 2;
}

.mgmt-member__connector {
    position: absolute;
    left: 18px;
    top: 50%;
    width: 30px;
    height: 2px;
    margin-top: -1px;
    background: #e4e4e4;
    z-index: 1;
}

.mgmt-member__panel {
    opacity: 0;
    transform: translateX(72px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.mgmt-member.is-visible .mgmt-member__panel {
    opacity: 1;
    transform: translateX(0);
}

.mgmt-member__head {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 18px;
}

.mgmt-member__photo-wrap {
    flex-shrink: 0;
}

.mgmt-member__photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.mgmt-member__identity {
    padding-top: 8px;
    min-width: 0;
}

.mgmt-member__name {
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #3a3a3a;
    margin: 0 0 6px;
    line-height: 1.2;
}

.mgmt-member__title {
    font-family: 'Dosis', 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #9a9a9a;
    margin: 0;
}

.mgmt-member__bio-wrap {
    padding-left: 0;
}

.mgmt-member__bio {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: #333;
    margin: 0 0 12px;
}

.mgmt-member__read-more {
    display: inline-block;
    padding: 0;
    border: 0;
    background: none;
    font-family: 'Dosis', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e8722a;
    cursor: pointer;
    transition: color 0.2s ease;
}

.mgmt-member__read-more:hover,
.mgmt-member__read-more:focus {
    color: #c45f1a;
    outline: none;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .mgmt-team-section {
        padding: 40px 0 56px;
    }

    .mgmt-team-timeline {
        padding-left: 36px;
    }

    .mgmt-team-timeline::before {
        left: 7px;
    }

    .mgmt-member__marker {
        left: -36px;
        width: 36px;
    }

    .mgmt-member__connector {
        width: 18px;
    }

    .mgmt-member__head {
        flex-direction: column;
        gap: 16px;
    }

    .mgmt-member__photo {
        width: 160px;
        height: 160px;
    }

    .mgmt-member__name {
        font-size: 22px;
    }

    .mgmt-member__panel {
        transform: translateX(40px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mgmt-member__panel {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
