/* =========================================
   EXPERIENCE PAGE
   ========================================= */

.experience-container {
    width: 100%;
}


/* =========================================
   EXPERIENCE GRID
   ========================================= */

.experience-grid {
    display: grid;

    grid-template-columns: 1fr;

    gap: 12px;
}


/* =========================================
   MAIN EXPERIENCE CELL
   ========================================= */

.experience-cell {
    min-width: 0;

    background:
        var(--surface-secondary);

    border:
        1px solid var(--border);

    border-radius: 8px;

    box-shadow:
        0 2px 8px rgba(
            0,
            0,
            0,
            0.12
        );

    transition:
        background 160ms ease,
        border-color 160ms ease,
        transform 160ms ease;
}


.experience-cell:hover {
    border-color:
        #4c4b55;
}


/* =========================================
   BUSINESS CELL
   ========================================= */

.experience-business {
    padding: 0;

    overflow: hidden;

    background:
        var(--surface-secondary);
}


/* =========================================
   EXPERIENCE BANNER
   ========================================= */

.experience-banner {
    position: relative;

    width: 100%;
    height: 150px;

    overflow: hidden;

    background:
        linear-gradient(
            125deg,
            rgba(
                123,
                131,
                235,
                0.24
            ),
            rgba(
                70,
                76,
                145,
                0.14
            ) 45%,
            rgba(
                37,
                36,
                42,
                0.65
            )
        );

    border-bottom:
        1px solid var(--border);
}


.experience-banner::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            to right,
            rgba(
                27,
                26,
                31,
                0.05
            ),
            rgba(
                27,
                26,
                31,
                0.18
            )
        );
}


.experience-banner::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 60%;

    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(
                27,
                26,
                31,
                0.35
            )
        );
}


.experience-banner img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================
   EXPERIENCE HEADER
   ========================================= */

.experience-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 24px;

    padding:
        24px 26px 26px;
}


/* =========================================
   EXPERIENCE IDENTITY
   ========================================= */

.experience-identity {
    min-width: 0;

    display: flex;

    align-items: center;

    gap: 18px;

    flex: 1;
}


/* =========================================
   COMPANY ICON
   ========================================= */

.experience-icon {
    position: relative;

    width: 72px;
    height: 72px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background:
        #25242a;

    border:
        1px solid var(--border);

    border-radius: 12px;

    overflow: hidden;
}


.experience-icon img {
    width: 53px;
    height: 53px;

    object-fit: contain;
}


.experience-icon-fallback {
    position: absolute;

    color:
        var(--accent-light);

    font-family:
        "Cascadia Code",
        "Fira Code",
        Consolas,
        monospace;

    font-size: 0.85rem;

    font-weight: 600;
}


/* =========================================
   BUSINESS TITLE
   ========================================= */

.experience-business-title {
    min-width: 0;

    margin: 0;
}


.experience-eyebrow {
    display: block;

    margin-bottom: 7px;

    color:
        var(--accent-light);

    font-family:
        "Cascadia Code",
        "Fira Code",
        Consolas,
        monospace;

    font-size: 0.74rem;

    line-height: 1.4;
}


.experience-business-title h2 {
    max-width: 750px;

    margin: 0;

    color:
        var(--text-primary);

    font-size:
        clamp(
            1.35rem,
            2.4vw,
            2rem
        );

    font-weight: 600;

    line-height: 1.2;

    letter-spacing:
        -0.025em;
}


/* =========================================
   EXPERIENCE TYPE
   ========================================= */

.experience-type {
    flex-shrink: 0;

    align-self: flex-start;

    padding:
        6px 9px;

    color:
        var(--accent-light);

    background:
        rgba(
            123,
            131,
            235,
            0.08
        );

    border:
        1px solid rgba(
            123,
            131,
            235,
            0.25
        );

    border-radius: 5px;

    font-family:
        "Cascadia Code",
        "Fira Code",
        Consolas,
        monospace;

    font-size: 0.67rem;

    text-transform:
        uppercase;

    letter-spacing:
        0.05em;
}


/* =========================================
   DETAIL GRID
   ========================================= */

.experience-details {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(
                0,
                1fr
            )
        );

    gap: 12px;

    padding:
        0 26px;
}


/* =========================================
   DETAIL CELLS
   ========================================= */

.experience-detail-cell {
    min-width: 0;

    min-height: 90px;

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 18px;

    background:
        #25242a;

    border:
        1px solid var(--border);

    border-radius: 7px;

    transition:
        background 150ms ease,
        border-color 150ms ease;
}


.experience-detail-cell:hover {
    background:
        var(--surface-hover);

    border-color:
        #55545e;
}


/* =========================================
   DETAIL ICON
   ========================================= */

.experience-info-icon {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color:
        var(--accent-light);

    background:
        var(--surface-secondary);

    border:
        1px solid var(--border);

    border-radius: 8px;

    font-family:
        "Cascadia Code",
        "Fira Code",
        Consolas,
        monospace;

    font-size: 0.85rem;
}


/* =========================================
   DETAIL CONTENT
   ========================================= */

.experience-detail-content {
    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 5px;
}


.experience-detail-content strong {
    color:
        var(--text-primary);

    font-size: 0.9rem;

    font-weight: 500;

    line-height: 1.4;
}


/* =========================================
   CELL LABEL
   ========================================= */

.experience-cell-label {
    display: block;

    color:
        var(--text-muted);

    font-family:
        "Cascadia Code",
        "Fira Code",
        Consolas,
        monospace;

    font-size: 0.65rem;

    font-weight: 600;

    text-transform:
        uppercase;

    letter-spacing:
        0.08em;
}


/* =========================================
   INLINE TIMELINE
   ========================================= */

.experience-inline-timeline {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    color:
        var(--text-primary);

    font-size: 0.9rem;

    font-weight: 500;
}


.experience-date-arrow {
    color:
        var(--accent-light);

    font-family:
        "Cascadia Code",
        "Fira Code",
        Consolas,
        monospace;
}


/* =========================================
   RESPONSIBILITIES
   ========================================= */

.experience-responsibilities {
    width: auto;

    min-height: 0;

    margin:
        12px 26px 0;

    align-items: flex-start;

    padding: 22px;
}


.experience-responsibilities-content {
    width: 100%;
}


.experience-responsibilities h3 {
    margin-top: 5px;

    margin-bottom: 20px;

    color:
        var(--text-primary);

    font-size: 1.15rem;

    font-weight: 600;
}


/* =========================================
   RESPONSIBILITY LIST
   ========================================= */

.experience-responsibility-list {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(
                0,
                1fr
            )
        );

    column-gap: 40px;

    row-gap: 13px;

    list-style: none;

    margin: 0;

    padding: 0;
}


.experience-responsibility-list li {
    position: relative;

    padding-left: 18px;

    color:
        var(--text-secondary);

    font-size: 0.86rem;

    line-height: 1.6;
}


.experience-responsibility-list li::before {
    content: "›";

    position: absolute;

    left: 0;
    top: 0;

    color:
        var(--accent-light);

    font-weight: 600;
}


/* =========================================
   EXPERIENCE LINKS
   ========================================= */

.experience-links {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin:
        12px 26px 26px;

    padding:
        17px 18px;

    background:
        #25242a;

    border:
        1px solid var(--border);

    border-radius:
        7px;
}


/* =========================================
   LINKS LABEL
   ========================================= */

.experience-links-label {
    flex-shrink: 0;

    color:
        var(--text-muted);

    font-family:
        "Cascadia Code",
        "Fira Code",
        Consolas,
        monospace;

    font-size:
        0.65rem;

    font-weight:
        600;

    text-transform:
        uppercase;

    letter-spacing:
        0.08em;
}


/* =========================================
   LINK BUTTON CONTAINER
   ========================================= */

.experience-link-buttons {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    flex-wrap: wrap;

    gap: 9px;
}


/* =========================================
   LINK BUTTON
   ========================================= */

.experience-link-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 38px;

    padding:
        8px 13px;

    color:
        var(--text-primary);

    background:
        var(--surface-secondary);

    border:
        1px solid var(--border);

    border-radius:
        6px;

    text-decoration:
        none;

    font-size:
        0.8rem;

    font-weight:
        500;

    transition:
        color 150ms ease,
        background 150ms ease,
        border-color 150ms ease,
        transform 150ms ease;
}


.experience-link-button:hover {
    color:
        #ffffff;

    background:
        var(--surface-hover);

    border-color:
        rgba(
            123,
            131,
            235,
            0.55
        );

    transform:
        translateY(-1px);
}


.experience-link-button:focus-visible {
    outline:
        2px solid var(--accent);

    outline-offset:
        2px;
}


/* =========================================
   LINK ARROW
   ========================================= */

.experience-link-arrow {
    color:
        var(--accent-light);

    font-family:
        "Cascadia Code",
        "Fira Code",
        Consolas,
        monospace;

    transition:
        transform 150ms ease;
}


.experience-link-button:hover
.experience-link-arrow {
    transform:
        translateX(3px);
}


/* =========================================
   RESPONSIVE - 800PX
   ========================================= */

@media (max-width: 800px) {

    .experience-header {
        align-items:
            flex-start;
    }


    .experience-business-title h2 {
        font-size:
            1.35rem;
    }

}


/* =========================================
   RESPONSIVE - 700PX
   ========================================= */

@media (max-width: 700px) {

    .experience-banner {
        height:
            130px;
    }


    .experience-details {
        grid-template-columns:
            1fr;
    }


    .experience-responsibility-list {
        grid-template-columns:
            1fr;

        row-gap:
            12px;
    }


    .experience-links {
        align-items:
            flex-start;

        flex-direction:
            column;
    }


    .experience-link-buttons {
        width:
            100%;

        justify-content:
            flex-start;
    }

}


/* =========================================
   RESPONSIVE - 550PX
   ========================================= */

@media (max-width: 550px) {

    .experience-banner {
        height:
            105px;
    }


    .experience-header {
        flex-direction:
            column;

        align-items:
            stretch;

        gap:
            16px;

        padding:
            20px;
    }


    .experience-identity {
        align-items:
            center;

        gap:
            14px;
    }


    .experience-type {
        align-self:
            flex-start;
    }


    .experience-icon {
        width:
            60px;

        height:
            60px;
    }


    .experience-icon img {
        width:
            44px;

        height:
            44px;
    }


    .experience-business-title h2 {
        font-size:
            1.2rem;
    }


    .experience-details {
        padding:
            0 20px;
    }


    .experience-responsibilities {
        margin:
            12px 20px 0;

        padding:
            20px;
    }


    .experience-links {
        margin:
            12px 20px 20px;
    }

}


/* =========================================
   RESPONSIVE - 450PX
   ========================================= */

@media (max-width: 450px) {

    .experience-banner {
        height:
            90px;
    }


    .experience-header {
        padding:
            18px;
    }


    .experience-identity {
        align-items:
            flex-start;
    }


    .experience-icon {
        width:
            54px;

        height:
            54px;

        border-radius:
            10px;
    }


    .experience-icon img {
        width:
            40px;

        height:
            40px;
    }


    .experience-eyebrow {
        font-size:
            0.68rem;
    }


    .experience-business-title h2 {
        font-size:
            1.1rem;
    }


    .experience-details {
        padding:
            0 18px;
    }


    .experience-detail-cell {
        min-height:
            82px;

        padding:
            15px;
    }


    .experience-info-icon {
        width:
            36px;

        height:
            36px;
    }


    .experience-inline-timeline {
        font-size:
            0.82rem;
    }


    .experience-responsibilities {
        margin:
            12px 18px 0;

        padding:
            18px;
    }


    .experience-responsibilities h3 {
        margin-bottom:
            16px;
    }


    .experience-links {
        margin:
            12px 18px 18px;

        padding:
            16px;
    }


    .experience-link-buttons {
        display:
            grid;

        grid-template-columns:
            1fr;

        width:
            100%;
    }


    .experience-link-button {
        width:
            100%;

        justify-content:
            space-between;
    }

}