.founders-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 48px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.founder-card {
    flex: 0 0 auto;
    width: 200px;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.founder-card-photo {
    position: relative;
    width: 190px;
    height: 190px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

.founder-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.founder-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: rgba(53, 54, 66, 0.62);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.founder-card-photo:hover .founder-card-overlay,
.founder-card-photo:focus-within .founder-card-overlay {
    opacity: 1;
}

.founder-card-btn {
    border: none;
    background: #fff;
    color: #353642;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.founder-card-btn:hover {
    background: #30bd9b;
    color: #fff;
}

.founder-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.founder-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.founder-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 22, 30, 0.72);
}

.founder-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px 28px;
    box-shadow: 0 24px 60px rgba(53, 54, 66, 0.22);
}

.founder-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: none;
    background: transparent;
    color: #6b6b75;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.founder-modal-close:hover {
    color: #353642;
}

.founder-modal-head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
}

.founder-modal-head img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.founder-modal-name {
    margin: 0 0 4px;
    font-size: 1.45rem;
    font-weight: 700;
    color: #353642;
}

.founder-modal-role {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #30bd9b;
}

.founder-modal-bio {
    margin: 0;
    color: #5a6478;
    font-size: 1rem;
    line-height: 1.65;
}

@media (max-width: 575px) {
    .founder-card-photo {
        width: 168px;
        height: 168px;
    }

    .founder-modal-dialog {
        padding: 28px 22px 22px;
    }

    .founder-modal-head {
        flex-direction: column;
        text-align: center;
    }
}
