@charset "utf-8";

.premium-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #fff;
}

.premium-next-section {
    width: 100%;
    min-height: 100vh;
}

.premium-curtain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 50;
    pointer-events: none;
}

.curtain-top,
.curtain-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    background: #000;
}

.curtain-top {
    top: 0;
    transform-origin: top;
}

.curtain-bottom {
    bottom: 0;
    transform-origin: bottom;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10;
    clip-path: inset(0% 0% 0% 0%);
}

.hero-image-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.center-text {
    position: absolute;
    top: 10vh;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    z-index: 20;
    text-align: center;
    opacity: 0;
}

.center-text-sub {
    display: block;
    font-size: 16px;
    color: #656565;
    margin-bottom: 20px;
}

.center-text-title {
    font-size: 50px;
    color: #212121;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.center-text-line {
    width: 1px;
    height: 77px;
    margin: 20px auto 0;
    background: #212121;
}

.lnb-menu {
    position: absolute;
    top: 14vh;
    left: 6.5%;
    z-index: 30;
    opacity: 0;
    transform: translateX(-20px);
}

.lnb-sub {
    display: block;
    font-family: "vogue", serif;
    font-size: 14px;
    color: #bfb4ae;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.lnb-title {
    margin: 0 0 40px;
    font-family: "NanumSquareNeo", sans-serif;
    font-size: 52px;
    font-weight: 500;
    color: #212121;
}

.lnb-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 48px;
}

.lnb-list a {
    font-family: "NanumSquareNeo", sans-serif;
    font-size: 26px;
    color: #c0c0c0;
    text-decoration: none;
}

.lnb-list .is-active a {
    color: #212121;
}

.number-list {
    position: absolute;
    left: 25%;
    top: 65vh;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(40px);
    font-family: "optima", serif;
    color: #212121;
    font-size: 18px;
    line-height: 1;
}

.number-dots {
    font-size: 18px;
    letter-spacing: 2px;
}

@media (max-width: 1023px) {
    .premium-hero {
        height: 100vh;
    }

    .center-text {
        top: 16%;
    }

    .center-text-sub {
        font-size: 12px;
    }

    .center-text-title {
        font-size: 44px;
    }

    .center-text-line {
        height: 60px;
        margin-top: 28px;
    }

    .lnb-menu {
        left: 1.5rem;
        top: 14%;
    }

    .lnb-sub {
        font-size: 11px;
    }

    .lnb-title {
        font-size: 40px;
        margin-bottom: 26px;
    }

    .lnb-list {
        gap: 20px;
    }

    .lnb-list a {
        font-size: 18px;
    }

    .number-list {
        left: 6%;
        top: 62%;
        font-size: 17px;
        gap: 12px;
    }
}

/* ===== Section 2: 이미지 아코디언 (PC 시안: max 1680 × 높이 770, 간격 10px, 오른쪽 끝 정렬) ===== */
@keyframes overviewArcReveal {
    from {
        opacity: 0;
        transform: translate3d(0, 24px, 0) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

#premium-section-2:not(.premium-section-2--arc-visible) .premium-arc-accordion {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    pointer-events: none;
}

#premium-section-2.premium-section-2--arc-visible .premium-arc-accordion {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.65s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: auto;
}

#premium-section-2:not(.premium-section-2--arc-visible) .premium-arc-item {
    opacity: 0;
    transform: translate3d(20px, 0, 0);
}

#premium-section-2.premium-section-2--arc-visible .premium-arc-item {
    animation: overviewArcReveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#premium-section-2.premium-section-2--arc-visible .premium-arc-item:nth-child(1) {
    animation-delay: 0.12s;
}

#premium-section-2.premium-section-2--arc-visible .premium-arc-item:nth-child(2) {
    animation-delay: 0.2s;
}

#premium-section-2.premium-section-2--arc-visible .premium-arc-item:nth-child(3) {
    animation-delay: 0.28s;
}

#premium-section-2.premium-section-2--arc-visible .premium-arc-item:nth-child(4) {
    animation-delay: 0.36s;
}

#premium-section-2.premium-section-2--arc-visible .premium-arc-item:nth-child(5) {
    animation-delay: 0.44s;
}

#premium-section-2.premium-section-2--arc-visible .premium-arc-item:nth-child(6) {
    animation-delay: 0.52s;
}

#premium-section-2.premium-section-2--arc-visible .premium-arc-item:nth-child(7) {
    animation-delay: 0.6s;
}

@media (prefers-reduced-motion: reduce) {
    #premium-section-2:not(.premium-section-2--arc-visible) .premium-arc-accordion,
    #premium-section-2:not(.premium-section-2--arc-visible) .premium-arc-item {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    #premium-section-2.premium-section-2--arc-visible .premium-arc-item {
        animation: none;
    }
}

.premium-arc-accordion {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 1680px;
    width: min(1680px, 100%);
    margin-left: 0;
    margin-right: 0;
    gap: 0;
    height: auto;
}

.premium-arc-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    height: 100px;
    flex: none;
    min-width: 0;
    cursor: pointer;
    transition: height 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0;
    transform: translateY(30px);
}

#premium-section-2.is-animated .premium-arc-item {
    animation: arcFadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#premium-section-2.is-animated .premium-arc-item:nth-child(1) { animation-delay: 0.1s; }
#premium-section-2.is-animated .premium-arc-item:nth-child(2) { animation-delay: 0.2s; }
#premium-section-2.is-animated .premium-arc-item:nth-child(3) { animation-delay: 0.3s; }
#premium-section-2.is-animated .premium-arc-item:nth-child(4) { animation-delay: 0.4s; }
#premium-section-2.is-animated .premium-arc-item:nth-child(5) { animation-delay: 0.5s; }
#premium-section-2.is-animated .premium-arc-item:nth-child(6) { animation-delay: 0.6s; }
#premium-section-2.is-animated .premium-arc-item:nth-child(7) { animation-delay: 0.7s; }

@keyframes arcFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.premium-arc-item:focus {
    outline: none;
}

.premium-arc-item.is-active {
    height: 1190px; /* 690px image + 500px text */
}

.premium-arc-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
    transform: scale(1.1);
    transition: filter 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), height 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.premium-arc-item:not(.is-active) .premium-arc-image {
    filter: brightness(0.6);
}

.premium-arc-item:hover:not(.is-active) .premium-arc-image {
    filter: brightness(0.8);
}

.premium-arc-item.is-active .premium-arc-image {
    transform: scale(1);
    filter: brightness(1);
    height: 690px;
}



/* ===== 접힌 상태 넘버링 ===== */
.arc-collapsed-num {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    font-size: 30px;
    color: #fff;
    font-weight: 300;
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.premium-arc-item.is-active .arc-collapsed-num {
    opacity: 0;
}

/* ===== 아코디언 텍스트 박스 ===== */
.premium-arc-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 500px;
    background: #fff;
    padding: 100px 40px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.premium-arc-item.is-active .premium-arc-text {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s 0.3s ease, transform 0.7s 0.3s ease;
    pointer-events: auto;
}

.text-top {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 60px;
}

.arc-num {
    font-size: 16px;
    color: #212121;
    font-weight: 500;
    font-family: 'NanumSquareNeo', sans-serif;
}

.premium-arc-text h3 {
    font-size: 34px;
    font-weight: 400;
    margin: 0;
    line-height: 1.3;
    color: #212121;
}

.arc-line {
    display: block;
    width: 25px;
    height: 1px;
    min-height: 1px;
    background-color: #212121 !important;
    border-top: 1px solid #212121;
    margin-bottom: 60px;
    flex-shrink: 0;
}

.premium-arc-text p {
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    color: #444;
    word-break: keep-all;
    font-family: 'NanumSquareNeo', sans-serif;
}

@media (max-width: 1023px) {
    .premium-arc-wrap {
        padding-top: 5rem;
        padding-bottom: 5rem;
        justify-content: center;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .premium-arc-accordion {
        height: auto; 
        min-height: 0;
        max-height: none;
        width: 100%;
        max-width: none;
        display: flex; 
        flex-direction: column;
        gap: 0;
    }
    .premium-arc-item {
        height: 60px; /* Touch friendly on mobile */
        flex: none;
        border-radius: 0;
    }
    .premium-arc-item.is-active {
        height: 700px; /* Mobile active full height (400px image + 300px text) */
    }
    .premium-arc-item.is-active .premium-arc-image {
        height: 400px; /* Absolute value for safer JS animation */
    }
    .arc-collapsed-num {
        font-size: 20px;
        left: 20px;
    }
    .premium-arc-text {
        height: 300px;
        padding: 40px 24px;
    }
    .text-top {
        gap: 12px;
        margin-bottom: 24px;
    }
    .premium-arc-text h3 {
        font-size: 22px;
    }
    .arc-line {
        margin-bottom: 24px;
    }
    .premium-arc-text p {
        font-size: 15px;
        line-height: 1.5;
    }
    .arc-num {
        font-size: 14px;
    }
}
