.np-team {
    --np-team-accent: #c6ff00;
    --np-team-bg: #0d0d0d;
    --np-team-surface: #171717;
    --np-team-text: #f4f4f4;
    --np-team-muted: #9b9b9b;
    --np-team-line: rgba(255, 255, 255, 0.17);
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-bottom: 1px solid var(--np-team-line);
    background: var(--np-team-bg);
    color: var(--np-team-text);
    font-family: "TildaSans", Arial, sans-serif;
}

.np-team,
.np-team * {
    box-sizing: border-box;
}

.np-team__anchor {
    position: absolute;
    top: -112px;
    left: 0;
}

.np-team__inner {
    width: min(100% - 80px, 1200px);
    margin: 0 auto;
    padding: clamp(86px, 9vw, 138px) 0 clamp(88px, 9vw, 132px);
}

.np-team__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 48px;
    align-items: end;
}

.np-team__title {
    margin: 0;
    font-size: clamp(64px, 8.3vw, 118px);
    font-weight: 800;
    line-height: 0.86;
    letter-spacing: -0.065em;
    text-transform: uppercase;
}

.np-team__title span {
    color: var(--np-team-accent);
}

.np-team__intro {
    max-width: 660px;
    margin: 24px 0 0;
    color: #c9c9c9;
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.45;
}

.np-team__status {
    margin: 0 0 4px;
    padding-left: 20px;
    border-left: 3px solid var(--np-team-accent);
    color: var(--np-team-muted);
    font-size: 15px;
    line-height: 1.45;
}

.np-team__navigation {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin: 42px 0 20px;
}

.np-team__button {
    min-width: 112px;
    min-height: 48px;
    padding: 13px 18px;
    border: 1px solid var(--np-team-line);
    border-radius: 0;
    background: transparent;
    color: var(--np-team-text);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.np-team__button--next {
    border-color: var(--np-team-accent);
    background: var(--np-team-accent);
    color: #111;
}

.np-team__button:hover:not(:disabled),
.np-team__button:focus-visible {
    border-color: var(--np-team-accent);
    background: var(--np-team-accent);
    color: #111;
}

.np-team__button:focus-visible,
.np-team__track:focus-visible {
    outline: 3px solid var(--np-team-accent);
    outline-offset: 4px;
}

.np-team__button:active:not(:disabled) {
    transform: translateY(1px);
}

.np-team__button:disabled {
    opacity: 0.32;
    cursor: not-allowed;
}

.np-team__viewport {
    overflow: hidden;
}

.np-team__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 54px) / 4);
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
}

.np-team__track::-webkit-scrollbar {
    display: none;
}

.np-team__card {
    min-width: 0;
    scroll-snap-align: start;
}

.np-team__portrait {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border: 1px solid var(--np-team-line);
    background: var(--np-team-surface);
}

.np-team__portrait::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    content: "";
    pointer-events: none;
}

.np-team__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.04);
    transition: filter 320ms ease, transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.np-team__card:hover .np-team__portrait img {
    filter: grayscale(0.76) contrast(1.08);
    transform: scale(1.025);
}

.np-team__placeholder {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 11px 12px 10px;
    background: rgba(9, 9, 9, 0.86);
    color: var(--np-team-accent);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.08em;
}

.np-team__card h3 {
    min-height: 2em;
    margin: 18px 0 8px;
    font-size: clamp(19px, 1.55vw, 24px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.035em;
    text-transform: uppercase;
}

.np-team__card p {
    margin: 0;
    color: var(--np-team-muted);
    font-size: 14px;
    line-height: 1.3;
}

.np-team-motion .np-team__reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 560ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.np-team-motion .np-team__reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 959px) {
    .np-team__inner {
        width: min(100% - 48px, 760px);
    }

    .np-team__header {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .np-team__status {
        max-width: 560px;
    }

    .np-team__track {
        grid-auto-columns: calc((100% - 18px) / 2);
    }
}

@media (max-width: 639px) {
    .np-team__inner {
        width: 100%;
        padding: 72px 16px 76px;
    }

    .np-team__title {
        font-size: clamp(50px, 15vw, 72px);
        line-height: 0.88;
    }

    .np-team__title span {
        display: block;
    }

    .np-team__intro {
        margin-top: 20px;
        font-size: 16px;
    }

    .np-team__status {
        font-size: 13px;
    }

    .np-team__navigation {
        justify-content: stretch;
        margin-top: 32px;
    }

    .np-team__button {
        flex: 1;
    }

    .np-team__viewport {
        overflow: visible;
    }

    .np-team__track {
        grid-auto-columns: min(82vw, 310px);
        margin-right: -16px;
        padding-right: 16px;
    }

    .np-team__card h3 {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .np-team__track {
        scroll-behavior: auto;
    }

    .np-team__portrait img,
    .np-team__button,
    .np-team-motion .np-team__reveal {
        transition: none;
    }

    .np-team-motion .np-team__reveal {
        opacity: 1;
        transform: none;
    }
}
