/* ============================================================
   STICK NOTE
   TEAM PAGE
   CIRCULAR 3D TEAM MODEL
============================================================ */


/* ============================================================
   RESET
============================================================ */

.team-page {
    margin: 0;
    padding: 0;

    background: #000;
    color: #fff;

    font-family: "DM Sans", sans-serif;

    overflow-x: hidden;
}

.team-page *,
.team-page *::before,
.team-page *::after {
    box-sizing: border-box;
}


/* ============================================================
   MAIN
============================================================ */

.team-page-main {
    min-height: 100vh;

    background: #000;
}


/* ============================================================
   HERO
============================================================ */

.team-hero {
    position: relative;

    width: 100%;
    min-height: 850px;

    padding-top: 100px;

    overflow: hidden;

    background: #000;
}


/* ============================================================
   LEFT INTRO
============================================================ */

.team-intro {
    position: absolute;

    left: 55px;
    top: 150px;

    width: 420px;

    z-index: 50;
}


.team-eyebrow {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 28px;
}


.team-eyebrow span {
    width: 28px;
    height: 2px;

    background: #ffd400;
}


.team-eyebrow p {
    margin: 0;

    color: rgba(255,255,255,0.42);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.22em;
}


.team-intro h1 {
    margin: 0;

    font-family: "Anton", sans-serif;

    font-size: clamp(85px, 9vw, 150px);

    font-weight: 400;

    line-height: 0.82;

    letter-spacing: -0.025em;
}


.team-intro h1 span {
    display: block;
}


.team-intro h1 .yellow {
    color: #ffd400;
}


.team-description {
    margin-top: 42px;
}


.team-description p {
    margin: 0 0 9px;

    color: rgba(255,255,255,0.35);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.18em;
}


.team-description b {
    color: #ffd400;

    padding: 0 4px;
}


/* ============================================================
   DRAG INSTRUCTION
============================================================ */

.team-instruction {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-top: 70px;
}


.drag-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,0.20);

    border-radius: 50%;

    color: #ffd400;

    font-size: 18px;
}


.team-instruction strong {
    display: block;

    color: rgba(255,255,255,0.65);

    font-size: 9px;

    letter-spacing: 0.16em;
}


.team-instruction small {
    display: block;

    margin-top: 5px;

    color: rgba(255,255,255,0.28);

    font-size: 8px;

    letter-spacing: 0.08em;
}


/* ============================================================
   CIRCULAR AREA
============================================================ */

.team-orbit-area {
    position: absolute;

    right: -30px;
    top: 80px;

    width: 930px;
    height: 720px;

    display: flex;
    align-items: center;
    justify-content: center;

    perspective: 1400px;

    transform-style: preserve-3d;

    cursor: grab;

    touch-action: pan-y;

    user-select: none;

    z-index: 10;
}


.team-orbit-area.dragging {
    cursor: grabbing;
}


/* ============================================================
   ORBIT LINES
============================================================ */

.orbit-line {
    position: absolute;

    left: 50%;
    top: 50%;

    border: 1px solid rgba(255,255,255,0.07);

    border-radius: 50%;

    pointer-events: none;
}


.orbit-one {
    width: 590px;
    height: 590px;

    transform:
        translate(-50%, -50%)
        rotateX(65deg);
}


.orbit-two {
    width: 690px;
    height: 360px;

    transform:
        translate(-50%, -50%)
        rotateX(10deg);
}


/* ============================================================
   CENTER
============================================================ */

.orbit-center {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 165px;
    height: 165px;

    transform:
        translate(-50%, -50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(255,255,255,0.15);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            #171717 0%,
            #070707 65%,
            #000 100%
        );

    box-shadow:
        0 0 80px rgba(255,255,255,0.04);

    z-index: 5;

    pointer-events: none;
}


.center-small {
    color: rgba(255,255,255,0.38);

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 0.2em;
}


.center-big {
    margin-top: 7px;

    font-family: "Anton", sans-serif;

    font-size: 38px;

    line-height: 1;

    color: #fff;
}


.center-arrow {
    margin-top: 10px;

    color: #ffd400;

    font-size: 18px;
}


/* ============================================================
   TEAM CARD
============================================================ */

.team-card {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 215px;
    height: 320px;

    margin-left: -107.5px;
    margin-top: -160px;

    overflow: hidden;

    border-radius: 14px;

    border:
        1px solid rgba(255,255,255,0.16);

    transform-style: preserve-3d;

    will-change: transform;

    box-shadow:
        0 30px 70px rgba(0,0,0,0.75);

    transition:
        box-shadow 0.3s ease,
        filter 0.3s ease;

    pointer-events: auto;
}


.team-card:hover {
    filter: brightness(1.12);

    box-shadow:
        0 35px 90px rgba(0,0,0,0.9);
}


/* ============================================================
   CARD BACKGROUND
============================================================ */

.card-bg {
    position: absolute;

    inset: 0;

    z-index: 0;
}


.card-blue {
    background: #123eff;
}


.card-orange {
    background: #ff4d00;
}


.card-pink {
    background: #ff0058;
}


.card-purple {
    background: #9900ff;
}


.card-red {
    background: #ff1010;
}


.card-magenta {
    background: #ff00c8;
}


/* ============================================================
   CARD IMAGE
============================================================ */

.card-image {
    position: absolute;

    left: 0;
    right: 0;

    bottom: 0;

    height: 91%;

    z-index: 2;

    display: flex;
    align-items: flex-end;
    justify-content: center;
}


.card-image::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 35%;

    background:
        linear-gradient(
            transparent,
            rgba(0,0,0,0.72)
        );

    z-index: 2;
}


.card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    filter:
        grayscale(1)
        contrast(1.2)
        brightness(0.95);

    mix-blend-mode: multiply;

    pointer-events: none;
}


/* ============================================================
   CARD INFORMATION
============================================================ */

.card-info {
    position: absolute;

    left: 17px;
    right: 17px;
    bottom: 15px;

    z-index: 10;
}


.card-info small {
    display: block;

    margin-bottom: 5px;

    color: rgba(255,255,255,0.62);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.16em;
}


.card-info h2 {
    margin: 0;

    color: #fff;

    font-family: "Anton", sans-serif;

    font-size: 25px;

    font-weight: 400;

    line-height: 1;

    text-transform: uppercase;
}


/* ============================================================
   YELLOW ACCENT
============================================================ */

.orbit-accent {
    position: absolute;

    right: 75px;
    top: 75px;

    width: 6px;
    height: 250px;

    background: #ffd400;

    transform:
        rotate(-13deg)
        skewX(-5deg);

    box-shadow:
        0 0 20px rgba(255,212,0,0.18);

    z-index: 1;

    pointer-events: none;
}


/* ============================================================
   BOTTOM
============================================================ */

.team-bottom {
    min-height: 260px;

    padding:
        90px 55px;

    border-top:
        1px solid rgba(255,255,255,0.08);

    display: flex;
    align-items: center;

    gap: 25px;

    background: #000;
}


.team-bottom > span {
    color: #ffd400;

    font-size: 10px;

    font-weight: 800;
}


.team-bottom h2 {
    margin: 0;

    font-family: "Anton", sans-serif;

    font-size: 65px;

    font-weight: 400;
}


.bottom-line {
    width: 120px;
    height: 1px;

    margin-left: 10px;

    background: rgba(255,255,255,0.2);
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1200px) {

    .team-intro {
        left: 35px;

        width: 340px;
    }


    .team-intro h1 {
        font-size: 105px;
    }


    .team-orbit-area {
        right: -220px;

        transform:
            scale(0.82);

        transform-origin:
            center center;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 768px) {

    .team-hero {
        min-height: 1050px;

        padding-top: 110px;

        overflow: hidden;
    }


    .team-intro {
        position: relative;

        left: auto;
        top: auto;

        width: calc(100% - 40px);

        margin: 0 auto;
    }


    .team-intro h1 {
        font-size:
            clamp(
                72px,
                20vw,
                105px
            );
    }


    .team-description {
        margin-top: 30px;
    }


    .team-instruction {
        margin-top: 35px;
    }


    .team-orbit-area {
        position: absolute;

        left: 50%;
        right: auto;

        top: 440px;

        width: 700px;
        height: 600px;

        transform:
            translateX(-50%);
    }


    .team-card {
        width: 165px;
        height: 245px;

        margin-left: -82.5px;
        margin-top: -122.5px;
    }


    .orbit-one {
        width: 450px;
        height: 450px;
    }


    .orbit-two {
        width: 530px;
        height: 280px;
    }


    .orbit-center {
        width: 125px;
        height: 125px;
    }


    .center-big {
        font-size: 30px;
    }


    .orbit-accent {
        right: 120px;

        top: 60px;

        height: 170px;
    }


    .team-bottom {
        padding:
            70px 20px;

        flex-wrap: wrap;
    }


    .team-bottom h2 {
        font-size: 45px;
    }

}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 450px) {

    .team-hero {
        min-height: 980px;
    }


    .team-intro h1 {
        font-size: 70px;
    }


    .team-orbit-area {
        top: 415px;

        width: 620px;
        height: 540px;
    }


    .team-card {
        width: 145px;
        height: 215px;

        margin-left: -72.5px;
        margin-top: -107.5px;
    }


    .orbit-one {
        width: 400px;
        height: 400px;
    }


    .orbit-two {
        width: 470px;
        height: 250px;
    }


    .orbit-center {
        width: 110px;
        height: 110px;
    }


    .center-big {
        font-size: 27px;
    }


    .card-info {
        left: 12px;
        right: 12px;
        bottom: 11px;
    }


    .card-info small {
        font-size: 6px;
    }


    .card-info h2 {
        font-size: 18px;
    }


    .team-bottom h2 {
        font-size: 38px;
    }

}