/* ========================================
   MAIN/LB/VISUAL2 - GSAP 스크롤 스토리텔링
   스크롤 잠금 (wheel hijack) 방식
   ======================================== */

.vs2_wrap {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    font-family: var(--vs2-font, 'Open Sans', sans-serif);
}

.vs2_svg_hidden {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* ═══════════════════════════════════
   스테이지: 100vh 고정 컨테이너
   레이어1, 레이어2가 절대 위치로 겹침
   ═══════════════════════════════════ */
.vs2_stage {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.vs2_layer {
    position: absolute;
    inset: 0;
    will-change: transform;
}

/* ── 레이어1: 헤딩 + 이미지 ── */
.vs2_layer1 {
    z-index: 1;
    padding: clamp(40px, 5vw, 96px);
    display: flex;
    align-items: stretch;
}

.vs2_sec1_inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    gap: clamp(32px, 5vw, 96px);
}

.vs2_sec1_left {
    flex-shrink: 0;
}

.vs2_plx {
    will-change: transform;
}

.vs2_heading {
    font-size: clamp(4rem, 11vw + 0.5rem, 12.5rem);
    font-weight: 600;
    line-height: 0.85;
    letter-spacing: -0.03em;
    color: #1a1a1a;
    margin: 0;
}

.vs2_desc {
    padding-top: clamp(24px, 3vw, 48px);
    padding-left: 8px;
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.6;
    color: #555;
    max-width: 520px;
}

.vs2_desc2 {
    padding-top: 8px;
    padding-left: 8px;
    font-size: clamp(13px, 1.1vw, 16px);
    line-height: 1.6;
    color: #777;
    max-width: 520px;
}

.vs2_sec1_right {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.vs2_sec1_img,
.vs2_sec1_media {
    width: 100%;
    max-width: 760px;
    display: block;
}

.vs2_sec1_img {
    object-fit: cover;
}

.vs2_sec1_media img,
.vs2_sec1_media video {
    width: 100%;
    height: auto;
    display: block;
}

/* ── 레이어2: 텍스트 리빌 (검정 덮개) ── */
.vs2_layer2 {
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(40px, 5vw, 80px);
}

.vs2_reveal_txt {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 500;
    color: #fff;
    text-align: center;
    line-height: 1.35;
    width: 60%;
    margin: 0 auto;
}

.vs2_char {
    display: inline-block;
    will-change: opacity;
}

/* ═══════════════════════════════════
   섹션3: 일반 플로우 (스크롤 해제 후)
   ═══════════════════════════════════ */
.vs2_sec3 {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.vs2_sec3_media {
    width: 100%;
    height: 100vh;
    position: relative;
}

.vs2_sec3_media img,
.vs2_sec3_media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vs2_liquify_txt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - clamp(40px, 10vw, 240px));
    text-align: center;
    font-size: clamp(2.5rem, 7vw, 6rem);
    font-weight: 600;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    will-change: opacity, filter;
}

/* ═══════════════════════════════════
   반응형: 데스크탑 (1024px+)
   ═══════════════════════════════════ */
@media screen and (min-width: 1024px) {
    .vs2_sec1_inner {
        flex-direction: row;
    }

    .vs2_sec1_left {
        flex: 0 0 auto;
        max-width: 50%;
    }

    .vs2_sec1_right {
        flex: 1 1 auto;
    }

    .vs2_reveal_txt {
        width: 55%;
    }
}

/* ═══════════════════════════════════
   반응형: 모바일 (767px 이하)
   ═══════════════════════════════════ */
@media screen and (max-width: 767px) {
    .vs2_layer1 {
        padding: clamp(24px, 6vw, 48px);
    }

    .vs2_heading {
        font-size: clamp(3rem, 14vw, 5rem);
        line-height: 0.9;
    }

    .vs2_sec1_right {
        justify-content: center;
    }

    .vs2_sec1_img,
    .vs2_sec1_media {
        max-width: 100%;
    }

    .vs2_layer2 {
        padding: 40px 24px;
    }

    .vs2_reveal_txt {
        font-size: clamp(1.5rem, 7vw, 2.5rem);
        width: 90%;
    }

    .vs2_liquify_txt {
        font-size: clamp(1.8rem, 8vw, 3rem);
        padding: 0 16px;
    }

    .vs2_sec3_media {
        height: 80vh;
    }
}
