/* About page */
.intro-hero {
    position: relative;
    padding: 0 0 160px;
    overflow: visible;
}

.intro-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, transparent, #fff);
    z-index: 1;
}

.intro-title {
    font-size: clamp(3rem, 6vw, 5.2rem);
    line-height: .92;
    margin-bottom: 50px;
    color: var(--dark);
}

.intro-overlap-box {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 10;
    padding-top: 20px;
}

.intro-text-panel {
    position: relative;
    z-index: 12;
    width: 55%;
    background: white;
    padding: 90px;
    margin-right: -120px;
    border-radius: var(--border-radius);
    box-shadow: 60px 60px 150px rgba(0, 0, 0, .06);
    border: 1px solid rgba(0, 0, 0, .01);
}

.intro-image-panel {
    width: 60%;
    z-index: 11;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 60px 130px rgba(0, 174, 239, .18);
}

.intro-image-panel img {
    width: 100%;
    height: 850px;
    object-fit: cover;
    transition: 4s ease;
}

.intro-hero:hover .intro-image-panel img {
    transform: scale(1.05);
}

.vision-video-section {
    position: relative;
    width: 100%;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

.vision-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(15, 17, 21, .3) 0%, rgba(15, 17, 21, .96) 100%);
    z-index: -1;
}

.vision-content {
    max-width: 1100px;
    padding: 60px;
    z-index: 10;
    margin: 0 auto;
}

.vision-content h2 {
    font-size: clamp(2.5rem, 7vw, 4.8rem);
    line-height: 1;
    margin-bottom: 50px;
    letter-spacing: -3px;
}

.vision-content .highlight-scratch {
    background-image: linear-gradient(104deg, transparent 0.08em, rgba(0, 174, 239, 0.4) 0.08em calc(100% - 0.08em), transparent calc(100% - 0.08em));
}

.section-padding {
    padding: 160px 0;
}

.section-tag {
    font-family: var(--font-main);
    font-size: .75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--primary);
    margin-bottom: 35px;
    display: block;
}

.team-intro {
    max-width: 850px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 35px;
    margin-top: 90px;
}

.team-card {
    background: transparent;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.team-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.28;
    border-radius: 30px;
    overflow: hidden;
    background: #f4f4f4;
    margin-bottom: 30px;
    transition: var(--transition);
    box-shadow: 0 15px 45px rgba(0, 0, 0, .04);
    border: 1px solid var(--border);
}

.team-contact-trigger {
    padding: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
}

.team-contact-trigger:focus-visible {
    outline: 3px solid var(--primary-soft);
    outline-offset: 4px;
}

.team-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition);
}

.team-card:hover .team-img-box {
    transform: translateY(-15px);
    box-shadow: 0 40px 90px rgba(0, 174, 239, .22);
    border-color: var(--primary-soft);
}

.team-card:hover .team-img-box img {
    filter: grayscale(0);
    transform: scale(1.1);
}

.team-info {
    padding: 0 10px;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--dark);
    transition: .4s;
}

.team-role-pill {
    display: inline-block;
    padding: 6px 20px;
    background: var(--bg-ice);
    border-radius: 100px;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gray-light);
    letter-spacing: 1.8px;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.team-card:hover .team-role-pill {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 174, 239, .2);
}

.team-card:hover .team-name {
    color: var(--primary);
}

.team-email-modal {
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 30px 100px rgba(0, 0, 0, .18);
}

.team-email-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.team-email-code {
    font-size: 1rem;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--bg-ice);
    border: 1px solid var(--border);
    word-break: break-word;
    flex: 1 1 auto;
}

@media (max-width: 1200px) {
    .intro-text-panel {
        width: 65%;
        margin-right: -200px;
        padding: 70px;
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .intro-overlap-box {
        flex-direction: column;
        padding-top: 0;
    }

    .intro-text-panel,
    .intro-image-panel {
        width: 100%;
        margin: 0;
        padding: 40px;
        box-shadow: none;
        border: none;
    }

    .intro-text-panel {
        background: transparent;
        padding-top: 20px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .intro-image-panel img {
        height: 500px;
    }

    .intro-hero::after {
        height: 100px;
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .vision-content {
        padding: 30px;
    }
}
