/* ═══════════════════════════════════════════════════════
   Component: Lookbook — Horizontal scroll gallery
   ═══════════════════════════════════════════════════════ */

.dc-horizontal {
    min-height: 220vh;
    position: relative;
}

.dc-horizontal__sticky {
    height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(180deg, #f5f3ef 0%, #edeae5 100%);
}

.dc-horizontal__intro {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    bottom: 70px;
    z-index: 3;
    width: min(420px, calc(100% - 80px));
    height: 80vh;
    max-height: 840px;
    background: rgba(245, 243, 239, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 24px;
    padding: 36px 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dc-horizontal__intro h2 {
    font-size: clamp(2.6rem, 5vw, 3.2rem);
    margin-bottom: 14px;
}

.dc-track-wrap {
    width: 100%;
    overflow: visible;
    display: flex;
    align-items: center;
    height: 100%;
}

.dc-track {
    display: flex;
    gap: 22px;
    padding-left: min(500px, calc(100% - 80px));
    padding-right: 40px;
    will-change: transform;
}

.dc-gallery-card {
    flex: 0 0 auto;
    aspect-ratio: 2/3;
    height: 68vh;
    max-height: 700px;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #e8e5e0;
}

.dc-gallery-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.dc-gallery-card::after {
    content: attr(data-title);
    position: absolute;
    left: 18px;
    bottom: 16px;
    right: 18px;
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    padding-top: 40px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 1080px) {
    .dc-track {
        padding-left: 24px;
    }
}

@media (max-width: 780px) {
    .dc-horizontal__intro h2 {
        max-width: none;
        font-size: clamp(2rem, 6vw, 5.2rem);
        text-wrap: balance;
    }

    .dc-horizontal__sticky {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .dc-horizontal__intro {
        position: static;
        transform: unset !important;
        padding: 24px 18px;
        width: 100%;
        height: auto;
        border: unset;
        box-shadow: unset;
        background: unset;
    }
    .dc-track-wrap {
        height: auto;
    }
    .dc-gallery-card {
        max-height: 40vh;
    }
}
