.exp-section {
    width: 100%;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.exp-inner {
    width: 100%;
}

.exp-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* HEADER */
.exp-eyebrow {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 18px;
}

.exp-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.95;
    color: var(--ink);
    margin-bottom: 8px;
}

.exp-sub {
    font-size: 1rem;
    font-weight: 400;
    color: var(--mid);
    margin-bottom: 60px;
}

/* LIST */
.exp-list {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 0;
    /* Removed padding since line is gone */
}

/* Vertical line removed as requested */

.exp-list::before {
    display: none;
}

/* ITEM */
.exp-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(12px);
}

.exp-item:last-child {
    margin-bottom: 0;
}

.exp-item:hover {
    background: var(--bg);
    /* Border change removed as requested */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Role + date */
.exp-role {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 10px;
    line-height: 1.1;
    position: relative;
}

/* Dot on the line removed as requested */
.exp-role::before {
    display: none;
}

/* Company row */
.exp-company-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.exp-company-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Logo box */
.company-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    padding: 0px;
    /* Give it space to be truly centered */
    transition: transform 0.3s ease;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    /* Scale removed to ensure perfect flex centering */
}

/* Optional: Subtle glow to make the white tile pop on dark background */
.company-logo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    pointer-events: none;
}





.exp-company-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--mid);
    letter-spacing: 0.01em;
}

.company-name-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.company-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--bg-alt);
    border: 1px solid var(--line-strong);
    color: var(--ink);
    opacity: 0.8;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}

.company-link:hover {
    background: var(--bg);
    border-color: var(--accent);
    color: var(--accent);
    opacity: 1;
    transform: translateY(-1px);
}

.company-link svg {
    width: 13px;
    height: 13px;
}

/* Badges */
.exp-badges {
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    border-radius: 100px;
    padding: 5px 13px;
    white-space: nowrap;
}

.badge-active {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.badge-new {
    background: rgba(75, 91, 255, 0.1);
    border: 1px solid rgba(75, 91, 255, 0.25);
    color: #818cf8;
}

.badge-remote {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    color: var(--mid);
    padding: 4px 10px;
}

.badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.15);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.06);
    }
}

/* Role + date */
.exp-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--mid);
    margin-bottom: 18px;
}

.exp-date svg {
    width: 13px;
    height: 13px;
    color: var(--mid);
    opacity: 0.6;
    flex-shrink: 0;
}

/* Description */
.exp-desc {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.75;
    color: var(--mid);
    max-width: 640px;
}

@media (max-width: 1024px) {
    .exp-inner {
        padding: 80px 40px;
    }
}

@media (max-width: 768px) {
    .exp-inner {
        padding: 60px 24px;
    }

    .exp-eyebrow {
        margin-bottom: 14px;
    }

    .exp-title {
        font-size: clamp(3rem, 8vw, 4.5rem);
        margin-bottom: 8px;
    }

    .exp-sub {
        margin-bottom: 40px;
    }

    .exp-list {
        padding-left: 0;
    }

    .exp-list::before {
        left: 20px;
    }

    .exp-item {
        margin-left: 0;
        /* Removed margin since line is gone */
        padding: 32px 24px;
    }

    .exp-role::before {
        display: none;
    }

    .exp-role {
        font-size: 1.4rem;
        margin-top: 16px;
    }

    .exp-company-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .exp-company-left {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .exp-inner {
        padding: 50px 16px;
        /* EXACTLY matches global .section-inner standard from base.css */
    }

    .exp-eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.15em;
        margin-bottom: 12px;
    }

    .exp-title {
        font-size: clamp(2.3rem, 10vw, 2.8rem);
        margin-bottom: 12px;
        line-height: 0.95;
    }

    .exp-sub {
        font-size: 0.9rem;
        margin-bottom: 32px;
    }

    .exp-item {
        padding: 24px 20px;
        margin-left: 0;
        /* Removed since line is gone */
        margin-bottom: 20px;
    }

    .exp-list::before {
        display: none;
    }

    .exp-role::before {
        display: none;
    }

    .company-logo {
        width: 48px;
        height: 48px;
    }

    .exp-company-name {
        font-size: 0.82rem;
        /* Reduced to allow room for the icon/badge */
        font-weight: 700;
        line-height: 1.1;
    }

    .company-name-group {
        display: flex;
        flex-direction: row;
        /* Force horizontal layout */
        flex-wrap: wrap;
        /* Allow wrapping only if absolutely necessary */
        align-items: center;
        gap: 8px;
    }

    .company-link-row {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
        /* Don't squash the icons */
    }

    .exp-role {
        font-size: 1.15rem;
        margin-top: 10px;
        line-height: 1.3;
    }

    .exp-date {
        font-size: 0.76rem;
        margin-bottom: 12px;
    }

    .exp-desc {
        font-size: 0.88rem;
        line-height: 1.6;
    }

    .badge {
        font-size: 0.65rem;
        padding: 4px 10px;
    }
}