/*#region Team 기본*/
.team-button
{
    opacity: 1;
}

.team-page
{
    min-height: 100vh;
    color: var(--cream);
    background-color: var(--black);
    overflow-x: hidden;
}
/*#endregion*/

/*#region Team 첫 화면*/
.team-hero
{
    position: relative;
    min-height: 760px;
    padding: calc(var(--top-bar-height) + var(--tool-bar-height) + 96px) 64px 96px;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
    border-bottom: 1px solid rgba(234, 220, 194, 0.1);
}

.team-hero::before
{
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("media/MainPage/Main1/Back1.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    opacity: 0.42;
    z-index: 0;
}

.team-hero::after
{
    content: "";
    position: absolute;
    inset: 0;

    background-color: rgba(11, 9, 9, 0.68);
    pointer-events: none;
    z-index: 1;
}

.team-hero-content
{
    position: relative;
    z-index: 2;

    width: min(1120px, 100%);

    display: grid;
    grid-template-columns: 430px minmax(0, 1fr);
    gap: 84px;
    align-items: center;
}

.team-hero-brand
{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.team-hero-logo
{
    display: block;
    width: 430px;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.42));
}

.team-title
{
    margin-top: 32px;

    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1.2px var(--cream);

    font-size: 78px;
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: 0;
    opacity: 0.22;
}

.team-hero-copy
{
    position: relative;
    padding: 32px 0 32px 42px;
    border-left: 1px solid rgba(234, 220, 194, 0.28);
}

.team-hero-copy::before,
.team-hero-copy::after
{
    content: "";
    position: absolute;
    left: 0;

    width: 180px;
    height: 1px;
    background-color: rgba(234, 220, 194, 0.28);
}

.team-hero-copy::before
{
    top: 0;
}

.team-hero-copy::after
{
    bottom: 0;
}

.team-hero-kicker
{
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 14px;

    color: var(--cream);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    opacity: 0.62;
}

.team-hero-kicker::after
{
    content: "";
    width: 72px;
    height: 1px;
    background-color: rgba(234, 220, 194, 0.38);
}

.team-hero-story
{
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.team-hero-text
{
    max-width: 560px;

    color: var(--cream);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0;
    opacity: 0.84;
}

.team-hero-word
{
    color: var(--cream);
    font-weight: 800;
    opacity: 1;
}
/*#endregion*/

/*#region Team 콘텐츠*/
.team-content-band
{
    padding: 86px 64px 104px;
    background-color: var(--black);
}

.team-section
{
    width: min(1180px, 100%);
    margin: 0 auto;
}

.team-stack-section
{
    margin-top: 96px;
}

.team-section-header
{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 28px;

    padding-bottom: 18px;
    border-bottom: 1px solid rgba(234, 220, 194, 0.2);
}

.team-section-kicker
{
    color: var(--cream);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    opacity: 0.52;
}

.team-section-title
{
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px var(--cream);

    font-size: 56px;
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: 0;
    opacity: 0.42;
}

.team-member-grid,
.team-stack-grid
{
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 25px;
}

.team-card
{
    min-width: 0;
    min-height: 224px;
    padding: 22px 10px 18px;

    border: 1px solid rgba(234, 220, 194, 0.2);
    border-radius: 8px;
    background-color: rgba(234, 220, 194, 0.035);

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    color: var(--cream);
    text-decoration: none;
    text-align: center;
    cursor: default;
    transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

a.team-card
{
    cursor: pointer;
}

a.team-card:hover
{
    border-color: rgba(234, 220, 194, 0.48);
    background-color: rgba(234, 220, 194, 0.055);
    transform: translateY(-3px);
}

a.team-card:focus-visible
{
    outline: 1px solid var(--cream);
    outline-offset: 6px;
}

.team-member-image
{
    display: block;
    width: 116px;
    max-width: 100%;
    height: 116px;
    object-fit: contain;
}

.team-card-name
{
    margin-top: 16px;

    color: var(--cream);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0;
    white-space: nowrap;
}

.team-card-role
{
    margin-top: 6px;

    color: var(--cream);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    opacity: 0.72;
    white-space: nowrap;
}

.team-stack-card
{
    min-height: 180px;
}

.team-stack-image
{
    display: block;
    width: 76px;
    height: 76px;
    object-fit: contain;
}

.unreal-engine-image
{
    filter: brightness(0) invert(1);
}
/*#endregion*/

/*#region Team 반응형*/
@media (max-width: 1180px)
{
    .team-hero-content
    {
        grid-template-columns: 360px minmax(0, 1fr);
        gap: 56px;
    }

    .team-hero-logo
    {
        width: 360px;
    }

    .team-member-grid,
    .team-stack-grid
    {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 820px)
{
    .team-hero
    {
        min-height: 680px;
        padding: calc(var(--top-bar-height) + var(--tool-bar-height) + 72px) 24px 72px;
    }

    .team-hero-content
    {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 42px;
    }

    .team-hero-brand
    {
        align-items: center;
    }

    .team-hero-logo
    {
        width: min(360px, 88vw);
    }

    .team-title
    {
        margin-top: 24px;
        font-size: 52px;
    }

    .team-hero-copy
    {
        width: min(560px, 100%);
        padding: 28px 0;
        border-left: none;
    }

    .team-hero-copy::before,
    .team-hero-copy::after
    {
        left: 50%;
        width: min(220px, 70%);
        transform: translateX(-50%);
    }

    .team-hero-kicker
    {
        justify-content: center;
    }

    .team-hero-text
    {
        max-width: 100%;
        font-size: 15px;
    }

    .team-content-band
    {
        padding: 64px 22px 82px;
    }

    .team-section-header
    {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .team-section-title
    {
        font-size: 42px;
    }

    .team-member-grid,
    .team-stack-grid
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 440px)
{
    .team-member-grid,
    .team-stack-grid
    {
        grid-template-columns: minmax(0, 1fr);
    }
}
/*#endregion*/
