    /*===================================================
    // STAGE
    /==================================================*/

    /* Files on the left flow into the phone; results flow out to the right.
       Both columns share one card height and spacing so every link is level. */
    .assets-stage {
        --column-w: 280px;
        --phone-half: 150px;
        --phone-centre: 352px;
        --card-h: 88px;
        --slot-gap: 116px;
        --slot-top: calc(var(--phone-centre) - (var(--card-h) + (var(--count, 3) - 1) * var(--slot-gap)) / 2);
        --link-w: calc(50cqw - var(--phone-half) - var(--column-w));

        position: relative;
        max-width: 1160px;
        height: 700px;
        margin: var(--margin-large) auto 0;
        container-type: inline-size;
        animation: heroFade 1200ms ease 380ms both;
    }

    .assets-files,
    .assets-insights {
        position: absolute;
        top: 0;
        bottom: 0;
        width: var(--column-w);
        transition: opacity 500ms ease;
    }

    .assets-files {
        left: 0;
    }

    .assets-insights {
        right: 0;
    }

    .assets-device {
        position: absolute;
        top: 40px;
        left: 50%;
        z-index: 2;
        margin-left: calc(var(--phone-half) * -1);
    }

    .assets-rows {
        transition: opacity 500ms ease;
    }

    .is-resetting .assets-files,
    .is-resetting .assets-insights,
    .is-resetting .assets-rows {
        opacity: 0;
    }


    /*===================================================
    // CARDS
    /==================================================*/

    .asset-file,
    .asset-insight {
        position: absolute;
        top: calc(var(--slot-top) + var(--i) * var(--slot-gap));
        left: 0;
        right: 0;
    }

    .asset-card {
        height: var(--card-h);
        display: grid;
        align-items: center;
        gap: var(--gap-small);
        padding: 0 var(--padding-small);
        border-radius: var(--radius);
        border: 1px solid var(--hairline-color);
        background: #fff;
        box-shadow: 0 24px 48px -28px rgba(0, 13, 35, 0.14);
    }

    .asset-ring-track,
    .asset-ring-fill {
        fill: none;
        stroke-width: 3;
    }

    .asset-ring-track {
        stroke: #e9edf2;
    }

    .asset-ring-fill {
        stroke: var(--primary-color);
        stroke-linecap: round;
        stroke-dasharray: 100;
        stroke-dashoffset: 100;
    }


    /*=== File ===*/

    .asset-file-card {
        grid-template-columns: 40px 1fr 22px;
        opacity: 0;
        transform: translateY(-12px);
        transition:
            opacity 500ms ease calc(var(--i) * 120ms),
            transform 700ms var(--ease-out) calc(var(--i) * 120ms);
    }

    .is-dropped .asset-file-card {
        opacity: 1;
        transform: none;
    }

    .asset-file-icon {
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        border-radius: var(--radius-medium);
        background: var(--surface-color);
        color: var(--dark-light-color);
    }

    .asset-file-icon .fa {
        font-size: 18px;
    }

    .asset-file-copy {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }

    .asset-file-name {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 13px;
        font-weight: 700;
        color: var(--dark-dark-color);
    }

    .asset-file-meta {
        font-size: 11px;
        color: var(--ink-soft-color);
    }

    /* Upload ring fills, then hands over to a check */
    .asset-file-status {
        position: relative;
        width: 22px;
        height: 22px;
    }

    .asset-file-status > * {
        position: absolute;
        inset: 0;
        transition: opacity 300ms ease, transform 500ms var(--ease-out);
    }

    .asset-file-ring {
        transform: rotate(-90deg);
    }

    .asset-file-ring .asset-ring-fill {
        transition: stroke-dashoffset 1000ms var(--ease-in-out);
    }

    .is-uploading .asset-file-ring .asset-ring-fill {
        stroke-dashoffset: 0;
    }

    .asset-file-status .fa {
        display: grid;
        place-items: center;
        font-size: 20px;
        color: var(--primary-color);
        opacity: 0;
        transform: scale(0.6);
    }

    .is-uploaded .asset-file-ring {
        opacity: 0;
    }

    .is-uploaded .asset-file-status .fa {
        opacity: 1;
        transform: none;
    }


    /*=== Insight ===*/

    .asset-insight-card {
        grid-template-columns: 56px 1fr;
        opacity: 0;
        transform: translateX(-12px);
        transition: opacity 500ms ease 450ms, transform 700ms var(--ease-out) 450ms;
    }

    .is-linked .asset-insight-card {
        opacity: 1;
        transform: none;
    }

    .asset-insight-ring {
        position: relative;
        width: 56px;
        height: 56px;
        display: grid;
        place-items: center;
    }

    .asset-insight-ring svg {
        position: absolute;
        inset: 0;
        transform: rotate(-90deg);
    }

    .asset-insight-ring .asset-ring-track,
    .asset-insight-ring .asset-ring-fill {
        stroke-width: 4;
    }

    .asset-insight-ring .asset-ring-fill {
        transition: stroke-dashoffset 1400ms var(--ease-out) 650ms;
    }

    .is-linked .asset-insight-ring .asset-ring-fill {
        stroke-dashoffset: var(--offset);
    }

    .asset-insight-ring .fa {
        font-size: 16px;
        color: var(--dark-light-color);
    }

    .asset-insight-copy {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .asset-insight-value {
        font-size: 24px;
        font-weight: 800;
        line-height: 1.1;
        letter-spacing: -0.03em;
        color: var(--dark-dark-color);
    }

    .asset-insight-label {
        font-size: 9.5px;
        font-weight: 600;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--ink-soft-color);
    }


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

    /* Dashed connector that draws across the gap, with a dot that travels along it */
    .assets-link {
        position: absolute;
        top: calc(var(--card-h) / 2);
        width: var(--link-w);
        height: 1.5px;
        margin-top: -0.75px;
        background-image: linear-gradient(90deg, var(--primary-color-50) 0 4px, transparent 4px 8px);
        background-size: 8px 100%;
        clip-path: inset(-4px 100% -4px 0);
        transition: clip-path 800ms var(--ease-in-out);
    }

    .assets-link i {
        position: absolute;
        top: 50%;
        left: 0;
        width: 7px;
        height: 7px;
        margin: -3.5px 0 0 -3.5px;
        border-radius: 50%;
        border: 1.5px solid #fff;
        background: var(--primary-color);
        opacity: 0;
    }

    .is-linked .assets-link {
        clip-path: inset(-4px 0 -4px 0);
    }

    .is-linked .assets-link i {
        animation: assetsFlow 800ms var(--ease-in-out) both;
    }

    @keyframes assetsFlow {
        from { left: 0; opacity: 1; }
        to { left: 100%; opacity: 1; }
    }

    .asset-file .assets-link {
        left: 100%;
    }

    .asset-insight .assets-link {
        right: 100%;
    }


    /*===================================================
    // PHONE APP
    /==================================================*/

    .assets-app {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        background: #fff;
    }

    /* Butt caps so an empty ring leaves no dot */
    .assets-goal {
        stroke-linecap: butt;
        stroke-dashoffset: 100;
        transition: stroke-dashoffset 1200ms var(--ease-out);
    }

    .assets-goal-rewards {
        stroke-dashoffset: 40;
    }


    /*=== Rows ===*/

    /* Empty rows wait as a grey "add" step until their asset arrives */
    .asset-row .pathway-step-icon .fa,
    .asset-row .pathway-step-copy > *,
    .asset-row .pathway-step-status .fa {
        transition: opacity 400ms ease, transform 600ms var(--ease-out);
    }

    .asset-row .pathway-step-copy {
        display: grid;
    }

    .asset-row .pathway-step-copy > * {
        grid-area: 1 / 1;
    }

    .asset-row:not(.is-slotted) .pathway-step-icon {
        background: #e6ebf1;
        color: var(--ink-soft-color);
        outline-color: transparent;
    }

    .asset-row-placeholder {
        align-self: center;
        font-size: 11px;
        font-weight: 600;
        color: var(--ink-soft-color);
    }

    .asset-row-type,
    .asset-row-content,
    .asset-row .pathway-step-status .fa {
        opacity: 0;
    }

    .asset-row-content {
        transform: translateX(-6px);
    }

    .asset-row .pathway-step-status .fa {
        transform: scale(0.6);
    }

    .is-slotted .asset-row-add,
    .is-slotted .asset-row-placeholder {
        opacity: 0;
    }

    .is-slotted .asset-row-type,
    .is-slotted .asset-row-content,
    .is-slotted .pathway-step-status .fa {
        opacity: 1;
        transform: none;
    }


    /*===================================================
    // RESPONSIVE
    /==================================================*/

    @media screen and (max-width: 1180px) {

        .assets-stage {
            --column-w: 250px;
            --phone-half: 140px;
            --phone-centre: 335px;
        }

    }

    /* Small screens keep the phone; the rows still fill in on their own */
    @media screen and (max-width: 960px) {

        .assets-stage {
            height: auto;
            display: flex;
            justify-content: center;
        }

        .assets-files,
        .assets-insights {
            display: none;
        }

        .assets-device {
            position: static;
            margin-left: 0;
        }

    }
