/* =========================================
   PROCESS SECTION: THE BRUTALIST GRID
   ========================================= */

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 6rem auto 0;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
    border-top: none !important;
}

/* Kill elements from previous/old styles */
.timeline::after,
.timeline-item::after {
    display: none !important;
}

.timeline-item {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    /* Controlled by JS, but default visible */
    transform: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
}

.timeline-item.left,
.timeline-item.right {
    text-align: left !important;
    padding: 0 !important;
}

/* THE CARD */
.timeline-content {
    background: #050505 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 3rem 2.5rem !important;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start !important;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1) !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.timeline-content:hover {
    background: #000 !important;
    border-color: var(--color-gold) !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6) !important;
    z-index: 5;
}

/* WATERMARK NUMBER */
.step-count {
    position: absolute !important;
    top: 1rem !important;
    right: 2rem !important;
    left: auto !important;
    bottom: auto !important;
    font-size: 5rem !important;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03) !important;
    font-family: var(--font-heading);
    line-height: 1;
    z-index: 0;
    transition: all 0.4s;
    margin: 0 !important;
}

.timeline-content:hover .step-count {
    color: rgba(212, 175, 55, 0.15) !important;
    transform: scale(1.1) rotate(-5deg) !important;
}

/* ICON */
.step-icon {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 2rem !important;
    display: block !important;
    position: relative;
    z-index: 1;
    transition: transform 0.4s;
}

.timeline-content:hover .step-icon {
    transform: scale(1.1);
    color: var(--color-gold) !important;
    /* Keep gold */
}

/* TEXT */
.timeline-content h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    line-height: 1.2;
    max-width: 90%;
}

.timeline-content:hover h3 {
    color: #fff !important;
    /* Keep white for readability */
}

.timeline-content p {
    color: #888;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
    max-width: 100%;
}

.timeline-content:hover p {
    color: #aaa !important;
    font-weight: 400 !important;
}

/* MOBILE RESPONSIVE */
@media screen and (max-width: 900px) {
    .timeline {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-top: 3rem;
    }

    .timeline-content {
        padding: 2.5rem 1.5rem !important;
        text-align: left !important;
        align-items: flex-start !important;
    }

    .step-count {
        font-size: 4rem !important;
        top: 1.5rem !important;
        right: 1.5rem !important;
    }

    .timeline-content h3 {
        font-size: 1.6rem;
    }
}