/* GLOBAL TEAM page */

body.page-team {
    background: #ffffff !important;
    color: #0a2dff;
}

.main-team {
    background: #ffffff;
}

.team-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 2rem 1.25rem 0;
}

.team-layout {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 0;
    border-top: 1px solid #e5e7eb;
}

.team-main {
    padding-right: 2rem;
    border-right: 1px solid #e5e7eb;
}

/* Hero */
.team-hero {
    padding: 2.5rem 0 2rem;
}

.team-hero-top {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2rem;
    align-items: start;
}

.team-title {
    margin: 0 0 1rem;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0a2dff;
    line-height: 1;
}

.team-intro {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: #0a2dff;
    line-height: 1.6;
    max-width: 22rem;
}

.team-keywords {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #0a2dff;
}

.team-keywords-icon {
    display: inline-flex;
}

/* Map */
.team-map {
    position: relative;
    min-height: 200px;
    border-radius: 8px;
    overflow: hidden;
}

.team-map-dots {
    position: absolute;
    inset: 0;
    background-color: #f3f4f6;
    background-image: radial-gradient(circle, #c5cad6 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0.85;
}

.map-pin {
    position: absolute;
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    z-index: 1;
}

.map-pin-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #f5d400;
    border: 2px solid #0a2dff;
    flex-shrink: 0;
    margin-top: 2px;
}

.map-pin-label {
    font-size: 0.65rem;
    line-height: 1.35;
    color: #0a2dff;
    font-weight: 500;
}

.map-pin-label strong {
    font-weight: 800;
    font-size: 0.7rem;
}

.map-pin-kr {
    left: 72%;
    top: 28%;
}

.map-pin-cn {
    left: 68%;
    top: 48%;
}

/* Team grid */
.team-grid-section {
    padding-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem 1.5rem;
}

.team-card {
    position: relative;
    background: #fff;
    border: 1px solid #e8ecf4;
    border-radius: 8px;
    padding: 1.25rem;
    min-height: 140px;
}

.team-card-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    opacity: 0.9;
}

.team-card-inner {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.team-avatar {
    width: 72px;
    height: 88px;
    border-radius: 8px 8px 12px 12px;
    background: #f5d400;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-face {
    width: 44px;
    height: 44px;
    background: #f5d400;
    border-radius: 50%;
    position: relative;
    border: 2px solid #e6bc00;
}

.avatar-eye {
    position: absolute;
    top: 14px;
    width: 3px;
    height: 10px;
    background: #111;
    border-radius: 2px;
}

.avatar-eye:first-of-type { left: 12px; }
.avatar-eye:nth-of-type(2) { right: 12px; }

.avatar-mouth {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 8px;
    border-bottom: 2px solid #111;
    border-radius: 0 0 50% 50%;
}

.avatar-hoodie::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: #0a2dff;
    border-radius: 0 0 8px 8px;
}

.avatar-apron::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 8%;
    right: 8%;
    height: 45%;
    background: #fff;
    border: 2px solid #0a2dff;
    border-radius: 4px 4px 0 0;
}

.avatar-coat::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: #4a5568;
    border-radius: 0 0 8px 8px;
}

.avatar-work::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 38%;
    background: #2563eb;
    border-radius: 0 0 8px 8px;
}

.avatar-casual::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 32%;
    background: #f97316;
    border-radius: 0 0 8px 8px;
}

.avatar-vest::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 36%;
    background: #1e3a5f;
    border-radius: 0 0 8px 8px;
}

.team-member-name {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0a2dff;
}

.team-member-roles {
    margin: 0;
    padding: 0;
    list-style: none;
}

.team-member-roles li {
    font-size: 0.72rem;
    font-weight: 600;
    color: #0a2dff;
    line-height: 1.45;
    opacity: 0.9;
}

/* Sidebar */
.team-sidebar {
    padding: 2.5rem 0 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-title {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #0a2dff;
}

.sidebar-label {
    margin: 0 0 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #0a2dff;
    opacity: 0.85;
}

.studio-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.studio-list li {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

.studio-list strong {
    display: block;
    font-size: 0.85rem;
    color: #0a2dff;
}

.studio-list span {
    font-size: 0.75rem;
    color: #6b7280;
}

.studio-icon {
    width: 36px;
    height: 36px;
    border: 2px solid #0a2dff;
    border-radius: 4px;
    flex-shrink: 0;
}

.studio-icon-seoul {
    background: linear-gradient(180deg, transparent 60%, #0a2dff 60%);
}

.studio-icon-china {
    border-radius: 50% 50% 4px 4px;
    background: linear-gradient(180deg, #0a2dff 0%, #0a2dff 35%, transparent 35%);
}

.instagram-link {
    display: block;
    font-weight: 800;
    font-size: 1.25rem;
    color: #0a2dff;
    letter-spacing: -0.01em;
}

.instagram-link:hover {
    text-decoration: underline;
}

.btn-team-contact {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.75rem 1.25rem;
    border: 2px solid #0a2dff;
    border-radius: 8px;
    color: #0a2dff;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    transition: background 0.2s;
}

.btn-team-contact:hover {
    background: #f0f4ff;
}

/* Team page footer */
.team-page-footer {
    border-top: 2px solid #0a2dff;
    margin-top: 2rem;
    padding: 1.5rem 0 2.5rem;
}

.team-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem 3rem;
}

.team-footer-cols {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.team-footer-cols div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.team-footer-cols strong {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #0a2dff;
}

.team-footer-cols span {
    font-size: 0.8rem;
    color: #6b7280;
}

.team-footer-copy {
    margin: 0 0 0 auto;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0a2dff;
}

@media (max-width: 1000px) {
    .team-layout {
        grid-template-columns: 1fr;
    }

    .team-main {
        border-right: none;
        padding-right: 0;
    }

    .team-sidebar {
        padding-left: 0;
        border-top: 1px solid #e5e7eb;
    }

    .team-hero-top {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .team-page {
        padding: 1rem 1rem 0;
    }

    .team-title {
        font-size: 2rem;
    }

    .team-intro {
        max-width: none;
    }

    .team-map {
        min-height: 160px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-sidebar {
        padding-top: 1.5rem;
    }

    .team-page-footer {
        padding: 1.5rem 0 2rem;
    }

    .team-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .team-footer-cols {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .team-footer-copy {
        margin-left: 0;
        width: 100%;
    }

    .btn-team-contact {
        width: 100%;
        justify-content: center;
    }
}
