/* ==========================================================================
   SPATIAL DEPTH CORRIDOR (SCROLL-DRIVEN 3D Z-AXIS LIFE STORY RUNWAY)
   Cards recede into the infinite vanishing-point depth driven by scroll
   Strict Zero-Emoji Policy Enforced
   ========================================================================== */

.spatial-depth-section {
    min-height: 260vh;
    position: relative;
    border-bottom: 1px solid var(--border-hairline);
    background: #060504;
}

/* Sticky Viewport Container that anchors while scrolling */
.depth-sticky-viewport {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem 0;
    box-sizing: border-box;
    overflow: hidden;
}

.depth-header-block {
    text-align: center;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    z-index: 10;
}

.depth-section-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    color: var(--color-emerald);
    text-transform: uppercase;
}

.depth-section-title {
    font-family: var(--font-anton);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: 0.03em;
    color: var(--color-mint);
    text-transform: uppercase;
}

.depth-section-sub {
    font-family: var(--font-helvetica);
    font-size: 0.9rem;
    color: var(--color-gray-light);
    max-width: 640px;
    line-height: 1.5;
}

/* 3D Runway Stage */
.depth-stage-container {
    position: relative;
    width: 100%;
    height: 540px;
    perspective: 1100px;
    perspective-origin: 50% 48%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 1;
}

/* 3D Vanishing Tunnel Grid */
.depth-vanishing-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background-image: 
        linear-gradient(to right, rgba(17, 132, 92, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(17, 132, 92, 0.08) 1px, transparent 1px);
    background-size: 48px 48px;
    transform: rotateX(65deg) translateZ(-120px);
    opacity: 0.35;
}

/* 3D World Transform Space */
.depth-world-space {
    position: absolute;
    width: 500px;
    height: 420px;
    transform-style: preserve-3d;
    transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Receding Card Item */
.depth-card-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    background: #0f0e0b;
    border: 2px solid rgba(233, 250, 230, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 25px rgba(17, 132, 92, 0.2);
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), 
                filter 600ms ease, 
                opacity 600ms ease, 
                border-color 250ms ease;
    display: flex;
    flex-direction: column;
}

.depth-card-item:hover {
    border-color: var(--color-mint);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(0, 255, 136, 0.35);
}

.depth-card-image-box {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    background: #000;
    flex-shrink: 0;
}

.depth-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.depth-card-item:hover .depth-card-img {
    transform: scale(1.05);
}

.depth-card-z-badge {
    position: absolute;
    top: 10px;
    right: 12px;
    background: rgba(14, 13, 10, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(233, 250, 230, 0.2);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--color-mint);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.depth-card-body {
    padding: 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    background: #0f0e0b;
}

.depth-card-header-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.depth-card-title {
    font-family: var(--font-syne);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-mint);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0;
}

.depth-card-meta {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--color-emerald);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.depth-card-narrative {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    line-height: 1.55;
    color: #d1ded0;
    margin: 0.75rem 0 0.5rem 0;
    flex: 1;
}

.depth-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.depth-card-specs {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    color: var(--color-emerald);
    text-transform: uppercase;
}

/* Depth Scroll HUD: Telemetry Bar & Chapter Dots (Zero Sliders) */
.depth-controls-hud {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1rem;
    position: relative;
    z-index: 10;
    width: 100%;
}

.depth-flight-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 900px;
}

.depth-step-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-mint);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    padding: 0.4rem 0.85rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 180ms ease;
}

.depth-step-btn:hover {
    background: var(--color-emerald);
    color: #0c0b08;
    border-color: var(--color-mint);
    font-weight: 700;
}

.depth-dots-rail {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.depth-nav-dot {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--color-gray-mid);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 150ms ease;
}

.depth-nav-dot.active,
.depth-nav-dot:hover {
    background: var(--color-emerald);
    color: #0c0b08;
    border-color: var(--color-mint);
    font-weight: 700;
}

.depth-telemetry-readout {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--color-gray-mid);
    text-align: center;
}

.depth-telemetry-readout span {
    color: var(--color-mint);
    font-weight: 600;
}

.depth-telemetry-readout .telemetry-specs {
    color: var(--color-emerald);
    font-weight: 400;
}

@media (max-width: 768px) {
    .spatial-depth-section {
        min-height: 220vh;
    }
    .depth-section-title {
        font-size: 2rem;
    }
    .depth-stage-container {
        height: 480px;
    }
    .depth-world-space {
        width: 320px;
        height: 380px;
    }
    .depth-card-image-box {
        height: 160px;
    }
    .depth-card-narrative {
        font-size: 0.68rem;
    }
    .depth-dots-rail {
        flex-wrap: wrap;
        justify-content: center;
    }
}
