/* ══════════════════════════════════════════════════════════════
   Argent Loop Infinite Slider
   ══════════════════════════════════════════════════════════════ */

.argent-slider-section {
    position: relative;
    width: 100%;
    /* Strict full viewport height to align with physical bounds */
    min-height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    overflow: hidden;
    background: #f5f3ef;
    color: #e0e0e0;
    font-family: 'Montserrat', sans-serif;
    z-index: 10;
}

.argent-slider-sticky {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #f5f3ef;
    overflow: hidden;
}

/* ── Project List (full-screen images) ── */
.argent-project-list {
    position: absolute;
    inset: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.argent-project {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    will-change: transform;
}

.argent-project img {
    position: absolute;
    top: -15vh;
    left: 0;
    width: 100%;
    height: 130vh;
    object-fit: cover;
    object-position: center 50%;
    display: block;
    will-change: transform;
}

/* ── Center Card ── */
.argent-center-card {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 8;
    width: clamp(280px, 30vw, 420px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 6px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    color: #161616;
    overflow: hidden;
    pointer-events: none;
}

.argent-card-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(22, 22, 22, 0.4);
    margin-bottom: 0.75rem;
}

.argent-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: #161616;
    margin: 0 0 0.6rem 0;
}

.argent-card-category {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(22, 22, 22, 0.5);
    margin-bottom: 0.5rem;
}

.argent-card-desc {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(22, 22, 22, 0.6);
    margin-bottom: 1.2rem;
}

.argent-card-divider {
    width: 100%;
    height: 1px;
    background: rgba(22, 22, 22, 0.1);
    margin-bottom: 1rem;
}

.argent-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.argent-card-year {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: rgba(22, 22, 22, 0.35);
}

.argent-card-cta {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #161616;
    pointer-events: auto;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}

.argent-card-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #161616;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.argent-card-cta:hover {
    opacity: 1;
}

.argent-card-cta:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Card content transition */
.argent-card-inner {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.argent-card-inner.is-transitioning {
    opacity: 0;
    transform: translateY(8px);
}

/* ── Center White Strip (Minimap) ── */
.argent-minimap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: clamp(300px, 80vw, 1000px);
    height: 300px;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    pointer-events: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.argent-minimap-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Info Container (Behind image, spans full width) ── */
.argent-minimap-info-list {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Below the image */
}

.argent-minimap-item-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4vw;
    will-change: transform;
}

.argent-info-left, .argent-info-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 2.5rem 0;
    color: #111;
    font-family: var(--font-en), sans-serif;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    width: 30%;
}

.argent-info-right {
    text-align: right;
    align-items: flex-end;
}

.argent-info-left p, .argent-info-right p {
    margin: 0;
}

.argent-info-desc {
    margin-top: auto;
}

/* ── Minimap Image Mask ── */
.argent-minimap-img-preview {
    position: relative;
    width: clamp(150px, 25vw, 250px);
    height: 100%;
    overflow: hidden;
    z-index: 2; /* Above the text */
}

.argent-minimap-img-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
    overflow: hidden;
}

.argent-minimap-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.5);
    will-change: transform;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .argent-slider-section {
        /* Replace overflow: hidden with clip to prevent breaking child position: sticky */
        overflow: clip !important;
    }

    .argent-slider-sticky {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
    }
    
    .argent-minimap {
        width: 90vw;
        height: 200px;
    }

    .argent-minimap-img-item {
        /* Create a 1px physical overlap on top and bottom to eliminate fractional sub-pixel rendering gaps during translation */
        height: calc(100% + 2px) !important;
        top: -1px !important;
    }

    .argent-project img {
        /* Provide enough vertical physical buffer so the parallax offset never exposes the empty background */
        top: -20vh !important;
        height: 140vh !important;
    }

    .argent-info-left, .argent-info-right {
        padding: 1.5rem 0;
        font-size: 0.6rem;
    }
}
