:root {
    --team-ink: #080808;
    --team-panel: rgba(12, 12, 12, 0.82);
    --team-line: rgba(255, 255, 255, 0.18);
    --team-accent: #d9ff53;
}

body.team-page {
    min-height: 100vh;
    background: var(--team-ink);
}

.team-main {
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(5, 5, 5, 0.36), #080808 39%, #080808 100%),
        url("/images/parallax-bg-01.jpg") center top / cover fixed no-repeat;
}

.team-hero {
    min-height: 72vh;
    display: grid;
    place-items: end center;
    padding: 150px 30px 84px;
}

.team-hero-inner,
.team-section {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.team-kicker {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--team-accent);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.team-kicker::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
}

.team-hero h1 {
    max-width: 880px;
    margin: 22px 0 24px;
    font-family: var(--font-heading);
    font-size: clamp(54px, 8.5vw, 112px);
    font-weight: 400;
    letter-spacing: clamp(4px, 1.2vw, 12px);
    line-height: 0.96;
    text-transform: uppercase;
}

.team-hero p {
    max-width: 720px;
    color: var(--white-70);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.7;
}

.team-section {
    padding: 90px 30px;
}

.team-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 50px;
    align-items: end;
    margin-bottom: 42px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--team-line);
}

.team-section-head h2,
.community-copy h2 {
    margin-top: 12px;
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 400;
    letter-spacing: 5px;
    line-height: 1.06;
    text-transform: uppercase;
}

.team-section-head p,
.community-copy p {
    color: var(--white-70);
    font-size: 17px;
    line-height: 1.75;
}

.founder-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 44px);
}

.person-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--team-line);
    border-radius: 18px;
    background: var(--team-panel);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.person-photo {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 5 / 4;
    background: #181818;
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.82) contrast(1.04);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.person-card:first-child .person-photo img {
    object-position: center 37%;
}

.person-card:last-child .person-photo img {
    object-position: center 43%;
}

.person-card:hover .person-photo img {
    transform: scale(1.025);
    filter: saturate(1) contrast(1.02);
}

.person-copy {
    padding: clamp(26px, 4vw, 38px);
}

.person-role {
    color: var(--team-accent);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.person-copy h3 {
    margin: 12px 0 16px;
    font-family: var(--font-heading);
    font-size: clamp(31px, 4vw, 47px);
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1.08;
    text-transform: uppercase;
}

.person-copy p {
    min-height: 88px;
    color: var(--white-70);
    font-size: 16px;
    line-height: 1.7;
}

.person-contact {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--white-40);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: border-color var(--transition-smooth), color var(--transition-smooth);
}

.person-contact span {
    color: var(--team-accent);
    font-size: 18px;
}

.person-contact:hover,
.person-contact:focus-visible {
    border-color: var(--team-accent);
    color: var(--team-accent);
}

.community {
    width: min(1120px, calc(100% - 60px));
    margin: 10px auto 100px;
    padding: clamp(32px, 6vw, 70px);
    border: 1px solid var(--team-line);
    border-radius: 22px;
    background:
        linear-gradient(120deg, rgba(6, 6, 6, 0.94), rgba(6, 6, 6, 0.68)),
        url("/images/about-01_rev.jpg") center / cover no-repeat;
}

.community-copy {
    max-width: 780px;
}

.community-copy p {
    margin-top: 22px;
}

.community-groups {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.community-groups span {
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.36);
    color: var(--white-90);
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.team-cta {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 24px;
    border: 1px solid var(--white-40);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: background var(--transition-smooth), color var(--transition-smooth);
}

.team-cta:hover,
.team-cta:focus-visible {
    background: var(--white);
    color: #111;
}

@media (max-width: 900px) {
    .team-section-head {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .team-main {
        background-attachment: scroll;
    }

    .team-hero {
        min-height: 66vh;
        padding: 130px 22px 66px;
    }

    .team-section {
        padding: 68px 22px;
    }

    .founder-grid {
        grid-template-columns: 1fr;
    }

    .person-copy p {
        min-height: 0;
    }

    .community {
        width: calc(100% - 44px);
        margin-bottom: 70px;
    }
}

@media (max-width: 480px) {
    .team-hero h1 {
        font-size: clamp(44px, 15vw, 62px);
        letter-spacing: 3px;
    }

    .team-section-head h2,
    .community-copy h2 {
        letter-spacing: 3px;
    }

    .person-photo {
        aspect-ratio: 1 / 1;
    }

    .community {
        width: calc(100% - 32px);
        padding: 30px 22px;
    }
}
