/* What he learns reaches the whole team: empty boxes become teammates in a wave from his seat. */
.seats {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 8px;
}

.seats__seat {
    position: relative;
    aspect-ratio: 1;
    border-radius: 30%;
    background: #2b2b2a;
}

.seats__seat--him {
    background: none;
}

.seats__face {
    display: block;
    width: 100%;
    height: 100%;
}

.seats__person {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 30%;
    animation: seats-arrive 6.6s var(--ease-out) infinite both;
}

.seats__person--delay-1 {
    animation-delay: 110ms;
}

.seats__person--delay-2 {
    animation-delay: 220ms;
}

.seats__person--delay-3 {
    animation-delay: 330ms;
}

.seats__person--delay-4 {
    animation-delay: 440ms;
}

.seats__person--delay-5 {
    animation-delay: 550ms;
}

.seats__person--delay-6 {
    animation-delay: 660ms;
}

.seats__person--delay-7 {
    animation-delay: 770ms;
}

.seats__person--delay-8 {
    animation-delay: 880ms;
}

.seats__person--delay-9 {
    animation-delay: 990ms;
}

.seats__person--delay-10 {
    animation-delay: 1100ms;
}

.seats__person--delay-11 {
    animation-delay: 1210ms;
}

.seats__person--delay-12 {
    animation-delay: 1320ms;
}

.seats__person--delay-13 {
    animation-delay: 1430ms;
}

@keyframes seats-arrive {
    0%,
    8% {
        opacity: 0;
        transform: scale(0.82);
    }

    12%,
    82% {
        opacity: 1;
        transform: none;
    }

    88%,
    100% {
        opacity: 0;
        transform: scale(0.94);
    }
}

@media (max-width: 900px) {
    .seats {
        gap: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .seats__person {
        animation: none;
    }
}
