/* Team screen */
#team .section-heading.centered {
    margin-bottom: 0;
}

#team .team-group:first-child {
    margin-top: 0;
}

#team .section-shell {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-group {
    margin-top: 10px
}

.team-group--core {
    margin-top: 6px;
}

.team-group>h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 10px;
    text-align: center;
}

.team-group>h3::before,
.team-group>h3::after {
    content: "";
    width: 42px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent)
}

.team-group--core {
    position: relative;
}

.team-marquee {
    position: relative;
    overflow: visible;
    padding: 4px 0 2px;
}

.team-marquee::before,
.team-marquee::after {
    content: none;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 72px;
    z-index: 2;
    pointer-events: none;
}

.team-marquee::before {
    left: 0;
    background: linear-gradient(90deg, rgba(5, 8, 20, .96), rgba(5, 8, 20, 0));
}

.team-marquee::after {
    right: 0;
    background: linear-gradient(270deg, rgba(5, 8, 20, .96), rgba(5, 8, 20, 0));
}

.team-marquee__track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    width: 100%;
    animation: none;
}

.team-marquee__track--reverse {
    animation: none;
    animation-duration: 38s;
}

.team-profile-card {
    width: 220px;
    min-width: 220px;
    padding: 10px 10px 12px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(10, 18, 40, .88), rgba(7, 12, 28, .72));
    border: 1px solid rgba(94, 242, 255, .2);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(255, 255, 255, .03);
}

.team-profile-card--overseas {
    width: 240px;
    min-width: 240px;
}

.team-profile-card__photo-wrap {
    position: relative;
    height: 180px;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, .04);
}

.team-profile-card--overseas .team-profile-card__photo-wrap {
    height: 270px;
}

.team-profile-card__photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.team-profile-card__name {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(3, 8, 20, .7);
    border: 1px solid rgba(94, 242, 255, .25);
    color: #fff;
    font-weight: 700;
    letter-spacing: .06em;
    backdrop-filter: blur(10px);
}

.team-profile-card__bio {
    margin: 8px 2px 0;
    font-size: 12px;
    line-height: 1.55;
    color: rgba(231, 245, 255, .9);
}

.director-tape {
    overflow: hidden;
    border-radius: 24px
}

.film-strip {
    position: relative
}

.film-strip::before,
.film-strip::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 12px;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .16) 0 16px, transparent 16px 32px);
    z-index: 2
}

.film-strip::before {
    top: 0
}

.film-strip::after {
    bottom: 0
}

.director-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: marquee 22s linear infinite;
    padding: 8px 0
}

.tape-card {
    min-width: 220px
}
