﻿/* =========================================================
   Founder / Leadership
   ========================================================= */
.team {
    background: var(--m8crc-surface-base);
    transition: background .3s;
}

.team-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.founder-photo-wrap {
    display: flex;
    justify-content: center;
}

/* Rounded-square photo — matches the logo's square shape */
.founder-photo {
    width: 340px;
    height: 380px;
    background: var(--m8crc-surface-overlay);
    border-radius: 16px;
    overflow: hidden;
    transition: background .3s;
}

    .founder-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

.founder-content .founder-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 3.5vw, 42px);
    font-weight: 300;
    color: var(--m8crc-text-base);
    line-height: 1.2;
    margin-bottom: 6px;
    transition: color .3s;
}

.founder-content .founder-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--m8crc-secondary);
    margin-bottom: 28px;
    transition: color .3s;
}

.founder-content .founder-bio {
    font-size: 15px;
    line-height: 1.8;
    color: var(--m8crc-text-subdued);
    margin-bottom: 28px;
    transition: color .3s;
}

.founder-creds {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.cred-pill {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--m8crc-text-subdued);
    background: var(--m8crc-surface-raised);
    border: 1px solid var(--m8crc-border-subtle);
    border-radius: 20px;
    padding: 6px 14px;
    transition: background .3s, border-color .3s, color .3s;
}

.founder-quote {
    border-left: 3px solid var(--m8crc-secondary);
    padding: 0 0 0 24px;
    margin-top: 8px;
}

    .founder-quote p {
        font-family: 'Cormorant Garamond', serif;
        font-size: 20px;
        font-style: italic;
        font-weight: 400;
        line-height: 1.6;
        color: var(--m8crc-text-base);
        transition: color .3s;
    }

    .founder-quote .quote-attr {
        font-family: 'Inter', sans-serif;
        font-size: 12px;
        font-style: normal;
        font-weight: 500;
        color: var(--m8crc-text-muted);
        margin-top: 10px;
        letter-spacing: 0.3px;
        transition: color .3s;
    }

/* Responsive */
@media (max-width: 1024px) {
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .founder-photo {
        width: 260px;
        height: 292px;
    }

    .founder-creds {
        justify-content: center;
    }

    .founder-quote {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .team {
        padding: 80px 24px;
    }
}
