/*
 * About Us — Our Journey timeline.
 * Loaded only on the About Us page via excell_enqueue_about_journey() in
 * functions.php. Pairs with about-journey.js.
 */

.journey-timeline {
    position: relative;
    padding-left: 40px !important;
}

.journey-timeline::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #E2D9CC;
    border-radius: 1px;
    z-index: 0;
}

.journey-timeline .journey-progress {
    position: absolute;
    left: 19px;
    top: 8px;
    width: 2px;
    height: 0;
    background: #C17A3A;
    border-radius: 1px;
    z-index: 1;
    pointer-events: none;
    transition: height 0.15s linear;
}

.journey-item {
    position: relative;
    opacity: 0.4;
    transition: opacity 0.5s ease;
}

.journey-item.is-active {
    opacity: 1;
}

.journey-item::before {
    content: "";
    position: absolute;
    left: -27px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #FAF8F3;
    border: 2px solid #E2D9CC;
    box-shadow: 0 0 0 4px #FAF8F3;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
    z-index: 2;
}

.journey-item.is-active::before {
    background: #C17A3A;
    border-color: #C17A3A;
    box-shadow: 0 0 0 4px rgba(193, 122, 58, 0.18);
}

@media (max-width: 767px) {
    .journey-timeline {
        padding-left: 32px !important;
    }
    .journey-timeline::before,
    .journey-timeline .journey-progress {
        left: 15px;
    }
    .journey-item::before {
        left: -23px;
        width: 12px;
        height: 12px;
        top: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .journey-item,
    .journey-item::before,
    .journey-timeline .journey-progress {
        transition: none !important;
    }
}
