/* ==============================================
   EXPERIENCE.CSS — Vertical timeline with connector
   ============================================== */

.timeline { position: relative; padding-left: 32px; }

/* Vertical line */
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    background-color: var(--ink);
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
    border: var(--border);
    box-shadow: var(--shadow-md);
    background-color: var(--bg);
    padding: 32px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.timeline-item:last-child { margin-bottom: 0; }

/* Timeline dot */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -44px;
    top: 32px;
    width: 16px;
    height: 16px;
    background-color: var(--yellow);
    border: 3px solid var(--ink);
    z-index: 1;
}

.timeline-item:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0px var(--ink);
}

/* Top accent bar */
.timeline-item-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background-color: var(--yellow);
    border-bottom: 3px solid var(--ink);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.exp-title {
    font-size: 1.4rem;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.exp-company {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.95rem;
    opacity: 0.65;
}

.exp-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.exp-period {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border: 2px solid var(--ink);
    background: var(--bg);
    text-transform: uppercase;
}

.exp-summary {
    font-size: 0.95rem;
    margin-bottom: 14px;
    line-height: 1.65;
    opacity: 0.82;
}

.exp-points { margin-left: 18px; }

.exp-points li {
    margin-bottom: 7px;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ---- Education ---- */
.edu-card {
    border: var(--border);
    border-left: 7px solid var(--blue);
    padding: 32px;
    box-shadow: var(--shadow-md);
    background-color: var(--bg);
    transition: transform 0.2s, box-shadow 0.2s;
}

.edu-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0px var(--ink);
}

.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 12px;
}

.edu-school { font-size: 1.35rem; letter-spacing: -0.5px; margin-bottom: 4px; }

.edu-major {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.93rem;
    opacity: 0.65;
}

.edu-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.edu-period {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border: 2px solid var(--ink);
    background: var(--bg);
    text-transform: uppercase;
}

.edu-desc { font-size: 0.95rem; line-height: 1.65; opacity: 0.82; }

/* Responsive */
@media (max-width: 600px) {
    .timeline { padding-left: 24px; }
    .timeline-item::before { left: -36px; }
    .timeline-item { padding: 24px 20px; }
}
