.intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    clip-path: inset(0 0 0 0);
    will-change: clip-path;
}

.intro-bg {
    background: url(/assets/intro_bg.jpg) no-repeat center center / cover;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.intro-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.intro-logo-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 320px;
}

.intro-logo {
    width: 100%;
    color: #0a0a0a;
}

.intro-logo svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ghost: 옅게 미리 보임 */
.intro-logo-ghost {
    position: relative;
    opacity: 0.18;
    filter: blur(0.5px);
}

/* ink: 위→아래로 채워질 진한 레이어 */
.intro-logo-ink {
    position: absolute;
    top: 0;
    left: 0;
    clip-path: inset(0 0 100% 0); /* 처음엔 완전히 가림 */
    will-change: clip-path;
}
.s1.visual {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.s1.visual .visual-swiper,
.s1.visual .swiper-wrapper,
.s1.visual .swiper-slide {
    width: 100%;
    height: 100%;
}

/* 슬라이드 */
.s1.visual .swiper-slide {
    position: relative;
    overflow: hidden;
}
.s1.visual .swiper-slide .bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.2);
    transition: transform 3s ease;
}
.s1.visual .swiper-slide .bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
}
.s1.visual .swiper-slide-active .bg {
    transform: scale(1);
}

/* 텍스트 영역 */
.s1.visual .swiper-slide .inner {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}
.s1.visual .swiper-slide .cate {
    font-family: 'Pretendard', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
}
.s1.visual .swiper-slide .tit {
    font-family: 'Pretendard', sans-serif;
    font-size: 64px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}
.s1.visual .swiper-slide .desc {
    font-family: 'Pretendard', sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.02em;
    margin-bottom: 48px;
}
.s1.visual .swiper-slide .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 180px;
    height: 54px;
    padding: 0 32px;
    background: #fff;
    color: #1a1a1a;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: 50px;
    transition: background 0.3s ease, color 0.3s ease;
}
.s1.visual .swiper-slide .btn:hover {
    background: #1a1a1a;
    color: #fff;
}

/* ===== 컨트롤 영역 ===== */
.s1.visual .visual-control {
    position: absolute;
    left: 0;
    bottom: 40px;
    width: 100%;
    z-index: 3;
}
.s1.visual .visual-control .wrap {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* 페이지네이션 (progress bar) */
.s1.visual .pagination {
    flex: 1;
    /* max-width: 400px; */
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
}
.s1.visual .pagination .swiper-pagination-progressbar-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform-origin: left center;
}

/* 네비게이션 */
.s1.visual .nav {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #fff;
}
.s1.visual .nav button {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.s1.visual .nav button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}
.s1.visual .nav .counter {
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #fff;
    min-width: 70px;
    text-align: center;
}
.s1.visual .nav .counter em {
    font-style: normal;
}
.s1.visual .nav .counter .current {
    font-weight: 700;
}

/* 자동재생 토글 */
.s1.visual .nav .autoplay .ico-play { display: none; }
.s1.visual .nav .autoplay.paused .ico-pause { display: none; }
.s1.visual .nav .autoplay.paused .ico-play { display: block; }

/* ===== 텍스트 마스크 래퍼 ===== */
.s1.visual .swiper-slide .cate-mask,
.s1.visual .swiper-slide .desc-mask {
    overflow: hidden;
    display: block;
}
.s1.visual .swiper-slide .btn-mask {
    overflow: hidden;
    display: inline-block;
    width: fit-content;
}

/* 타이틀 줄 단위 마스크 */
.s1.visual .swiper-slide .tit .tit-mask {
    display: block;
    overflow: hidden;
    padding: 0.05em 0;
    margin: -0.05em 0;
}
.s1.visual .swiper-slide .tit .tit-line {
    display: inline-block;
}

/* ===== S2 CATEGORY ===== */
.s2.category {
    position: relative;
    background-color: #0a0a0a;
    height: auto;
    padding: 200px 0;
    color: #fff;
    overflow: hidden;
}
.s2.category .wrap {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== 헤드 ===== */
.s2.category .head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 80px;
    margin-bottom: 120px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.s2.category .head .sub {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Pretendard', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 40px;
}
.s2.category .head .sub .line {
    width: 32px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}
.s2.category .head .head-left > div{overflow: hidden;}
.s2.category .head .tit {
    font-family: 'Pretendard', sans-serif;
    font-size: 64px;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
}
.s2.category .head .tit em {
    font-style: italic;
    font-weight: 300;
    font-family: 'Cormorant Garamond', serif;
    color: rgba(255, 255, 255, 0.85);
}
.s2.category .head-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 40px;
}
.s2.category .head .head-right > div{overflow: hidden;}
.s2.category .head .lead {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.6);
    text-align: right;
}

/* View All 링크 */
.s2.category .view-all {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-family: 'Pretendard', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    padding-bottom: 12px;
    position: relative;
}
.s2.category .view-all::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    transform-origin: right center;
    transform: scaleX(1);
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.s2.category .view-all::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.s2.category .view-all:hover::after {
    transform: scaleX(0);
    transition-delay: 0s;
}
.s2.category .view-all:hover::before {
    transform: scaleX(1);
    transition-delay: 0.2s;
}
.s2.category .view-all .arrow {
    display: inline-flex;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.s2.category .view-all:hover .arrow {
    transform: translateX(8px);
}

/* ===== 카테고리 리스트 ===== */
.s2.category .cate-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.s2.category .cate-list li a {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ===== 썸네일 ===== */
.s2.category .cate-list .thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #1a1a1a;
    margin-bottom: 32px;
}
.s2.category .cate-list .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    filter: brightness(0.85) saturate(0.9);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s ease;
}

/* 인덱스 번호 */
.s2.category .cate-list .num {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 3;
    font-family: 'Cormorant Garamond', 'Pretendard', serif;
    font-style: italic;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.85);
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1),
                color 0.4s ease;
}

/* 오버레이 (호버 시 등장) */
.s2.category .cate-list .overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.5) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 28px;
    pointer-events: none;
}
.s2.category .cate-list .overlay .explore {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Pretendard', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: #fff;
    transform: translateX(-12px);
    opacity: 0;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s,
                opacity 0.6s ease 0.05s;
}
.s2.category .cate-list .overlay .explore .arrow {
    display: inline-flex;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

/* ===== 호버 인터랙션 ===== */
.s2.category .cate-list li a:hover .thumb img {
    transform: scale(1.1);
    filter: brightness(1) saturate(1);
}
.s2.category .cate-list li a:hover .num {
    transform: translateX(-4px);
    color: #fff;
}
.s2.category .cate-list li a:hover .overlay {
    opacity: 1;
}
.s2.category .cate-list li a:hover .overlay .explore {
    transform: translateX(0);
    opacity: 1;
}
.s2.category .cate-list li a:hover .overlay .explore .arrow {
    transform: translateX(6px);
}

/* ===== 정보 영역 ===== */
.s2.category .cate-list .info {
    padding-top: 24px;
    position: relative;
}
.s2.category .cate-list .info-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.7s cubic-bezier(0.65, 0, 0.35, 1),
                background 0.4s ease;
}
.s2.category .cate-list li a:hover .info-line {
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
}
.s2.category .cate-list .info-text {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.s2.category .cate-list .info-text .en {
    font-family: 'Cormorant Garamond', 'Pretendard', serif;
    font-style: italic;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: #fff;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.s2.category .cate-list .info-text .name {
    font-family: 'Pretendard', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.4s ease, transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.s2.category .cate-list li a:hover .info-text .en {
    transform: translateX(8px);
}
.s2.category .cate-list li a:hover .info-text .name {
    color: rgba(255, 255, 255, 0.9);
}

/* ===== S3 BEST ===== */
.s3.best {
    position: relative;
    background-color: #0a0a0a;
    height: auto;
    padding: 200px 0;
    color: #fff;
    overflow: hidden;
}
.s3.best .wrap {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== 헤드 ===== */
.s3.best .head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 80px;
    margin-bottom: 120px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.s3.best .head .sub {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Pretendard', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 40px;
}
.s3.best .head .sub .line {
    width: 32px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}
.s3.best .head .head-left > div { overflow: hidden; }
.s3.best .head .tit {
    font-family: 'Pretendard', sans-serif;
    font-size: 64px;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
}
.s3.best .head .tit em {
    font-style: italic;
    font-weight: 300;
    font-family: 'Cormorant Garamond', serif;
    color: rgba(255, 255, 255, 0.85);
}
.s3.best .head-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 40px;
}
.s3.best .head .head-right > div { overflow: hidden; }
.s3.best .head .lead {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.6);
    text-align: right;
}

/* View All */
.s3.best .view-all {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-family: 'Pretendard', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    padding-bottom: 12px;
    position: relative;
}
.s3.best .view-all::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    transform-origin: right center;
    transform: scaleX(1);
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.s3.best .view-all::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.s3.best .view-all:hover::after { transform: scaleX(0); transition-delay: 0s; }
.s3.best .view-all:hover::before { transform: scaleX(1); transition-delay: 0.2s; }
.s3.best .view-all .arrow {
    display: inline-flex;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.s3.best .view-all:hover .arrow { transform: translateX(8px); }

/* ===== 스태거드 3컬럼 그리드 ===== */
.s3.best .best-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* 각 컬럼 — 다른 시작점으로 어긋나게 */
.s3.best .col {
    display: flex;
    flex-direction: column;
    gap: 80px;
}
.s3.best .col-1 { padding-top: 0; }
.s3.best .col-2 { padding-top: 120px; }   /* 두 번째 컬럼이 아래로 내려옴 */
.s3.best .col-3 { padding-top: 60px; }    /* 세 번째는 살짝만 */

/* ===== 카드 ===== */
.s3.best .item {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

/* 썸네일 — aspect-ratio로 비율 잡음 */
.s3.best .item .thumb {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #1a1a1a;
    margin-bottom: 28px;
}
.s3.best .item[data-ratio="1/1"] .thumb { aspect-ratio: 1 / 1; }
.s3.best .item[data-ratio="3/4"] .thumb { aspect-ratio: 3 / 4; }
.s3.best .item[data-ratio="4/5"] .thumb { aspect-ratio: 4 / 5; }
.s3.best .item[data-ratio="4/3"] .thumb { aspect-ratio: 4 / 3; }

.s3.best .item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    filter: brightness(0.85) saturate(0.92);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s ease;
}

/* 배지 */
.s3.best .item .badge {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 3;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: 'Pretendard', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

/* 오버레이 */
.s3.best .item .overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 28px;
    pointer-events: none;
}
.s3.best .item .cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    background: rgba(255, 255, 255, 0.95);
    color: #0a0a0a;
    font-family: 'Pretendard', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    border-radius: 50px;
    transform: translateY(12px);
    opacity: 0;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s,
                opacity 0.6s ease 0.05s;
}
.s3.best .item .cart-btn .arrow {
    display: inline-flex;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

/* 호버 */
.s3.best .item:hover .thumb img {
    transform: scale(1.08);
    filter: brightness(1) saturate(1);
}
.s3.best .item:hover .badge {
    background: rgba(255, 255, 255, 0.95);
    color: #0a0a0a;
    border-color: transparent;
}
.s3.best .item:hover .overlay { opacity: 1; }
.s3.best .item:hover .cart-btn {
    transform: translateY(0);
    opacity: 1;
}
.s3.best .item:hover .cart-btn .arrow { transform: translateX(6px); }

/* ===== 정보 영역 ===== */
.s3.best .item .info {
    padding-top: 24px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}
.s3.best .item .info-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.7s cubic-bezier(0.65, 0, 0.35, 1),
                background 0.4s ease;
}
.s3.best .item:hover .info-line {
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
}
.s3.best .item .info-meta {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}
.s3.best .item .info-meta .cate {
    display: block;
    font-family: 'Cormorant Garamond', 'Pretendard', serif;
    font-style: italic;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}
.s3.best .item .info-meta .name {
    display: block;
    font-family: 'Pretendard', sans-serif;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #fff;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.s3.best .item .info-price {
    overflow: hidden;
    flex-shrink: 0;
}
.s3.best .item .info-price .price {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #fff;
    white-space: nowrap;
}
.s3.best .item:hover .info-meta .name {
    transform: translateX(6px);
}

/* ===== 스태거드 3컬럼 그리드 (정사각 카드) ===== */
.s3.best .best-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.1fr;  /* 컬럼별 너비 다르게 */
    gap: 40px;
    align-items: start;
}

/* 각 컬럼 */
.s3.best .col {
    display: flex;
    flex-direction: column;
    gap: 80px;
}
.s3.best .col-1 { padding-top: 0; }
.s3.best .col-2 { padding-top: 140px; }   /* 가운데 컬럼 아래로 */
.s3.best .col-3 { padding-top: 60px; }

.s3.best .item .thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #1a1a1a;
    margin-bottom: 28px;
}

/* ===== S4 INSTAGRAM ===== */
.s4.instagram {
    position: relative;
    background-color: #0a0a0a;
    height: auto;
    padding: 200px 0;
    color: #fff;
    overflow: hidden;
}
.s4.instagram .wrap {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== HEAD (s2/s3와 동일 패턴) ===== */
.s4.instagram .head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 80px;
    margin-bottom: 120px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.s4.instagram .head .sub {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Pretendard', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 40px;
}
.s4.instagram .head .sub .line {
    width: 32px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}
.s4.instagram .head .head-left > div { overflow: hidden; }
.s4.instagram .head .tit {
    font-family: 'Pretendard', sans-serif;
    font-size: 64px;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
}
.s4.instagram .head .tit em {
    font-style: italic;
    font-weight: 300;
    font-family: 'Cormorant Garamond', serif;
    color: rgba(255, 255, 255, 0.85);
}
.s4.instagram .head-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 40px;
}
.s4.instagram .head .head-right > div { overflow: hidden; }
.s4.instagram .head .lead {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.6);
    text-align: right;
}

/* View All */
.s4.instagram .view-all {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-family: 'Pretendard', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    padding-bottom: 12px;
    position: relative;
}
.s4.instagram .view-all::after,
.s4.instagram .view-all::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.s4.instagram .view-all::after {
    background: rgba(255, 255, 255, 0.3);
    transform-origin: right center;
    transform: scaleX(1);
}
.s4.instagram .view-all::before {
    background: #fff;
    transform-origin: left center;
    transform: scaleX(0);
}
.s4.instagram .view-all:hover::after { transform: scaleX(0); transition-delay: 0s; }
.s4.instagram .view-all:hover::before { transform: scaleX(1); transition-delay: 0.2s; }
.s4.instagram .view-all .arrow {
    display: inline-flex;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.s4.instagram .view-all:hover .arrow { transform: translateX(8px); }


/* ===== 마퀴 트랙 ===== */
.s4.instagram .marquee-wrap {
    width: 100%;
    overflow: hidden;
    margin-bottom: 80px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}
.s4.instagram .marquee-track {
    overflow: hidden;
    margin-bottom: 24px;
}
.s4.instagram .marquee-track:last-child {
    margin-bottom: 0;
}
.s4.instagram .feed-row {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: max-content;
    will-change: transform;
}

/* 마퀴 일시정지 (호버 시) */
.s4.instagram .marquee-wrap:hover .feed-row {
    animation-play-state: paused;
}


/* ===== 피드 카드 ===== */
.s4.instagram .feed-item {
    flex-shrink: 0;
    width: 320px;
    aspect-ratio: 1 / 1;
}
.s4.instagram .feed-item a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    border-radius: 2px;
}
.s4.instagram .feed-item .thumb {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #1a1a1a;
}
.s4.instagram .feed-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 인스타 미디어 타입 아이콘 (우상단) */
.s4.instagram .feed-item .ico-multi,
.s4.instagram .feed-item .ico-video {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    color: #fff;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    pointer-events: none;
}

/* 오버레이 (호버 시 게시물 정보) */
.s4.instagram .feed-item .overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.s4.instagram .feed-item .overlay .caption .text {
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transform: translateY(-8px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.05s,
                opacity 0.4s ease 0.05s;
}
.s4.instagram .feed-item .overlay .meta {
    display: flex;
    gap: 20px;
    transform: translateY(8px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s,
                opacity 0.4s ease 0.1s;
}
.s4.instagram .feed-item .overlay .meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
}

/* 호버 인터랙션 */
.s4.instagram .feed-item a:hover .thumb img {
    transform: scale(1.06);
}
.s4.instagram .feed-item a:hover .overlay {
    opacity: 1;
}
.s4.instagram .feed-item a:hover .overlay .caption .text,
.s4.instagram .feed-item a:hover .overlay .meta {
    transform: translateY(0);
    opacity: 1;
}


/* ===== 팔로우 CTA ===== */
.s4.instagram .follow-cta {
    text-align: center;
    margin-top: 40px;
}
.s4.instagram .follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 20px 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}
.s4.instagram .follow-btn .ico-insta {
    display: inline-flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.s4.instagram .follow-btn .arrow {
    display: inline-flex;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.s4.instagram .follow-btn:hover {
    background: #fff;
    border-color: #fff;
    color: #0a0a0a;
}
.s4.instagram .follow-btn:hover .ico-insta {
    transform: rotate(-8deg) scale(1.1);
}
.s4.instagram .follow-btn:hover .arrow {
    transform: translateX(8px);
}


