/* ==========================================================================
   experience.css — Journey timeline
   ========================================================================== */

.timeline {
    position: relative;
    max-width: 860px;
    margin-inline: auto;
    padding-left: 8px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(180deg, var(--purple), var(--pink), transparent);
}

.tl-item {
    position: relative;
    padding-left: 62px;
    padding-bottom: 42px;
}

.tl-item:last-child {
    padding-bottom: 0;
}

.tl-dot {
    position: absolute;
    left: 12px;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg);
    border: 3px solid var(--accent);
    box-shadow: 0 0 0 5px rgba(139, 92, 246, 0.14), var(--glow-soft);
    z-index: 2;
}

.tl-item.current .tl-dot {
    background: var(--grad-primary);
    animation: pulse-dot-lg 2.4s infinite;
}

@keyframes pulse-dot-lg {
    0% {
        box-shadow: 0 0 0 0 rgba(192, 132, 252, 0.5);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(192, 132, 252, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(192, 132, 252, 0);
    }
}

.tl-card {
    padding: 22px 24px;
    border-radius: var(--r-md);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.tl-card:hover {
    transform: translateX(6px);
    border-color: var(--border-strong);
    box-shadow: var(--glow-soft);
}

.tl-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.tl-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 10px;
    border-radius: var(--r-full);
    font-size: 0.68rem;
    font-weight: 600;
    background: rgba(52, 211, 153, 0.14);
    color: #6ee7b7;
    letter-spacing: 0.04em;
}

.tl-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.tl-org {
    color: var(--accent);
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.tl-card p {
    color: var(--muted);
    font-size: 0.95rem;
}

.tl-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.tl-tags span {
    padding: 4px 11px;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--hairline);
    font-size: 0.74rem;
    color: var(--muted);
}