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

    /* Phases on top; build on the left, the phone in the middle, results on the right */
    .studio-stage {
        --column-w: 280px;
        --phone-half: 150px;
        --phone-top: 68px;
        --link-w: calc(50cqw - var(--phone-half) - var(--column-w));

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

    .studio-column {
        position: absolute;
        top: var(--phone-top);
        width: var(--column-w);
        height: 624px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: var(--gap-small);
        transition: opacity 500ms ease;
    }

    .studio-create {
        left: 0;
    }

    .studio-track {
        right: 0;
    }

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

    .is-resetting .studio-column,
    .hero.is-resetting .studio-app > * {
        opacity: 0;
    }


    /*===================================================
    // PHASES
    /==================================================*/

    .studio-phases {
        position: absolute;
        top: 0;
        left: 50%;
        display: flex;
        align-items: center;
        gap: var(--gap-medium);
        margin: 0;
        padding: 0;
        list-style: none;
        transform: translateX(-50%);
    }

    .studio-phase {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: var(--gap-xsmall);
        padding: var(--padding-xxsmall) var(--padding-small) var(--padding-xxsmall) var(--padding-xxsmall);
        border-radius: 999px;
        border: 1px solid var(--hairline-color);
        background: #fff;
        font-size: 12px;
        font-weight: 600;
        color: var(--ink-soft-color);
        transition: color 400ms ease, border-color 400ms ease;
    }

    .studio-phase + .studio-phase::before {
        content: '';
        position: absolute;
        top: 50%;
        right: calc(100% + 4px);
        width: 20px;
        height: 1.5px;
        background-image: linear-gradient(90deg, var(--hairline-color) 0 4px, transparent 4px 8px);
        background-size: 8px 100%;
    }

    .studio-phase-icon {
        width: 26px;
        height: 26px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: var(--surface-color);
        transition: background-color 400ms ease, color 400ms ease;
    }

    .studio-phase-icon .fa {
        grid-area: 1 / 1;
        font-size: 11px;
        transition: opacity 300ms ease, transform 500ms var(--ease-out);
    }

    .studio-phase-icon .fa-check {
        opacity: 0;
        transform: scale(0.6);
    }

    .studio-phase.is-active {
        border-color: var(--primary-color-50);
        color: var(--dark-dark-color);
    }

    .studio-phase.is-active .studio-phase-icon {
        background: var(--primary-color);
        color: #fff;
    }

    .studio-phase.is-done {
        color: var(--dark-dark-color);
    }

    .studio-phase.is-done .studio-phase-icon {
        background: var(--primary-color-15);
        color: var(--primary-color);
    }

    .studio-phase.is-done .studio-phase-icon .fa:first-child {
        opacity: 0;
    }

    .studio-phase.is-done .studio-phase-icon .fa-check {
        opacity: 1;
        transform: none;
    }


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

    .studio-card {
        position: relative;
        border-radius: var(--radius);
        border: 1px solid var(--hairline-color);
        background: #fff;
        box-shadow: 0 24px 48px -28px rgba(0, 13, 35, 0.14);
        font-size: 12px;
        color: var(--dark-light-color);
    }

    .studio-card ul {
        margin: 0;
        padding: 0 var(--padding-small);
        list-style: none;
    }

    .studio-overline {
        display: flex;
        justify-content: space-between;
        padding: var(--padding-small) var(--padding-small) var(--padding-xsmall);
        font-size: 9.5px;
        font-weight: 600;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--ink-soft-color);
    }

    .studio-row {
        display: flex;
        flex-direction: column;
        min-width: 0;
        line-height: 1.3;
    }

    .studio-row strong {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-weight: 700;
        color: var(--dark-dark-color);
    }

    .studio-row small {
        font-size: 10px;
        color: var(--ink-soft-color);
    }


    /*=== Builder ===*/

    .studio-builder {
        padding-bottom: var(--padding-small);
    }

    .studio-builder-name {
        display: block;
        padding: 0 var(--padding-small) var(--padding-xsmall);
        font-size: 15px;
        font-weight: 800;
        letter-spacing: -0.02em;
        color: var(--dark-dark-color);
    }

    .studio-builder-step {
        display: grid;
        grid-template-columns: 12px 32px 1fr ;
        align-items: center;
        gap: 8px;
        padding: 10px 0;
        border-top: 1px solid var(--hairline-color);
    }

    .studio-builder-icon {
        width: 32px;
        height: 32px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        border: 1px dashed #d5dce4;
        color: var(--ink-soft-color);
        transition: background-color 400ms ease, border-color 400ms ease, color 400ms ease;
    }

    .studio-builder-icon .fa {
        grid-area: 1 / 1;
        font-size: 13px;
    }

    .studio-builder-copy {
        display: grid;
    }

    .studio-builder-copy > * {
        grid-area: 1 / 1;
        align-self: center;
    }

    .studio-builder-slot {
        font-size: 11px;
        font-weight: 600;
        color: var(--ink-soft-color);
    }

    .studio-builder-grip {
        font-size: 11px;
        color: var(--ink-soft-color);
    }

    /* Empty slots wait as dashed "add" rows until each step is dropped in */
    .studio-builder-step .fa,
    .studio-builder-copy > * {
        transition: opacity 400ms ease, transform 600ms var(--ease-out);
    }

    .studio-builder-type,
    .studio-builder-content,
    .studio-builder-grip {
        opacity: 0;
    }

    .studio-builder-content {
        transform: translateX(-6px);
    }

    .studio-builder-step.is-built .studio-builder-icon {
        border-color: transparent;
        background: var(--surface-color);
        color: var(--dark-light-color);
    }

    .is-built .studio-builder-add,
    .is-built .studio-builder-slot {
        opacity: 0;
    }

    .is-built .studio-builder-type,
    .is-built .studio-builder-content,
    .is-built .studio-builder-grip {
        opacity: 1;
        transform: none;
    }

    .studio-publish {
        display: grid;
        margin: var(--margin-xsmall) var(--margin-small) 0;
        padding: var(--padding-xsmall);
        border-radius: var(--radius);
        background: var(--primary-color);
        font-weight: 700;
        text-align: center;
        color: #fff;
        transition: background-color 400ms ease, color 400ms ease;
    }

    .studio-publish > * {
        grid-area: 1 / 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: var(--gap-xxsmall);
        transition: opacity 300ms ease;
    }

    .studio-publish .fa {
        font-size: 11px;
    }

    .studio-publish-done,
    .is-published .studio-publish-idle {
        opacity: 0;
    }

    .studio-publish.is-published {
        background: var(--primary-color-15);
        color: var(--primary-color);
    }

    .is-published .studio-publish-done {
        opacity: 1;
    }


    /*=== Audience ===*/

    .studio-audience .studio-overline span {
        letter-spacing: 0.08em;
        color: var(--dark-light-color);
    }

    .studio-audience li {
        display: grid;
        grid-template-columns: 18px 1fr auto;
        align-items: center;
        gap: 12px;
        padding: 9px 0;
        border-top: 1px solid var(--hairline-color);
    }

    .studio-audience li > .fa {
        font-size: 13px;
    }

    .studio-toggle {
        position: relative;
        width: 28px;
        height: 16px;
        border-radius: 999px;
        background: #e3e8ee;
        transition: background-color 300ms ease;
    }

    .studio-toggle::after {
        content: '';
        position: absolute;
        top: 2px;
        left: 2px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 1px 2px rgba(0, 13, 35, 0.15);
        transition: left 300ms var(--ease-out);
    }

    .is-on .studio-toggle {
        background: var(--primary-color);
    }

    .is-on .studio-toggle::after {
        left: 14px;
    }


    /*=== Summary ===*/

    .studio-summary {
        position: relative;
    }

    .studio-summary-card,
    .studio-learners {
        opacity: 0;
        transform: translateX(-12px);
        transition: opacity 500ms ease 450ms, transform 700ms var(--ease-out) 450ms;
    }

    .studio-learners {
        transition-delay: 750ms;
    }

    .is-tracked .studio-summary-card,
    .is-tracked .studio-learners {
        opacity: 1;
        transform: none;
    }

    .studio-summary-card {
        height: 88px;
        display: grid;
        grid-template-columns: 56px 1fr;
        align-items: center;
        gap: var(--gap-small);
        padding: 0 var(--padding-small);
    }

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

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

    .studio-ring-track,
    .studio-ring-fill {
        fill: none;
        stroke-width: 4;
    }

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

    .studio-ring-fill {
        stroke: var(--primary-color);
        stroke-linecap: round;
        stroke-dasharray: 100;
        stroke-dashoffset: 100;
        transition: stroke-dashoffset 1400ms var(--ease-out) 650ms;
    }

    .is-tracked .studio-ring-fill {
        stroke-dashoffset: var(--offset);
    }

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

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

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


    /*=== Learners ===*/

    .studio-learners {
        padding-bottom: var(--padding-xxsmall);
    }

    .studio-learners li {
        display: grid;
        grid-template-columns: 28px 1fr 64px;
        align-items: center;
        gap: 12px;
        padding: 9px 0;
        border-top: 1px solid var(--hairline-color);
    }

    .studio-learners img {
        display: block;
        width: 28px;
        height: 28px;
        border-radius: 50%;
    }

    .studio-bar {
        height: 4px;
        overflow: hidden;
        border-radius: var(--radius-small);
        background: #e9edf2;
    }

    .studio-bar i {
        display: block;
        width: 0;
        height: 100%;
        border-radius: var(--radius-small);
        background: var(--primary-color);
        transition: width 1200ms var(--ease-out) calc(1000ms + var(--i) * 150ms);
    }

    .is-tracked .studio-bar i {
        width: calc(var(--v) * 1%);
    }


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

    /* Dashed connector that draws across the gap, with a dot that travels along it */
    .studio-link {
        position: absolute;
        top: 50%;
        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);
    }

    .studio-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 > .studio-link,
    .is-tracked .studio-summary > .studio-link {
        clip-path: inset(-4px 0 -4px 0);
    }

    .is-linked > .studio-link i,
    .is-tracked .studio-summary > .studio-link i {
        animation: studioFlow 800ms var(--ease-in-out) both;
    }

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

    .studio-audience > .studio-link {
        left: 100%;
    }

    .studio-summary > .studio-link {
        right: 100%;
    }


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

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

    /* App opens on the pathway icon; it lifts and fades as the pathway, bar and tabs arrive */
    .studio-splash {
        position: absolute;
        inset: 0;
        display: grid;
        place-items: center;
        transition: opacity 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55), transform 800ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
        transform:translate3d(0,64px,0);
        opacity: 0;
    }

    .is-published .studio-splash {
        opacity: 1;
        transform: translate3d(0,0px,0) scale(1);
    }

    .studio-splash-icon {
        width: 72px;
        height: 72px;
        display: grid;
        place-items: center;
        border-radius: var(--radius-large);
        background: var(--primary-color);
        color: #fff;
    }

    .studio-splash-icon .fa {
        font-size: 28px;
    }

    .studio-app .phone-bar,
    .studio-pathway,
    .studio-tabbar {
        opacity: 0;
        transition: opacity 500ms ease, transform 700ms var(--ease-out);
    }

    .studio-app .phone-bar {
        transform: translateY(-8px);
    }

    .studio-pathway {
        transform: translateY(24px);
    }

    .studio-tabbar {
        margin-top: auto;
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: var(--padding-xsmall) var(--padding-small);
        background: #fff;
        transform: translateY(100%);
    }

    .studio-tabbar .fa {
        font-size: 17px;
        color: var(--ink-soft-color);
    }

    .studio-tabbar .fa.is-active {
        color: var(--primary-color);
    }

    .studio-tabbar img {
        display: block;
        width: 22px;
        height: 22px;
        border-radius: 50%;
    }

    .is-assigned .studio-splash {
        opacity: 0;
        transform: translateY(-64px) scale(1);
    }

    .is-assigned .phone-bar,
    .is-assigned .studio-pathway,
    .is-assigned .studio-tabbar {
        opacity: 1;
        transform: none;
    }

    .is-assigned .phone-bar {
        transition-delay: 200ms;
    }

    .is-assigned .studio-pathway {
        transition-delay: 300ms;
    }

    .is-assigned .studio-tabbar {
        transition-delay: 400ms;
    }

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

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

    .studio-step .pathway-step-status .fa-circle-check {
        opacity: 0;
        transform: scale(0.6);
    }

    .studio-step.is-complete .pathway-step-status .fa-circle {
        opacity: 0;
    }

    .studio-step.is-complete .pathway-step-status .fa-circle-check {
        opacity: 1;
        transform: none;
    }


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

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

        .studio-stage {
            --column-w: 250px;
            --phone-half: 140px;
        }

        .studio-column {
            height: 590px;
        }

    }

    /* Small screens keep the phases and the phone; the pathway still plays on its own */
    @media screen and (max-width: 960px) {

        .studio-stage {
            height: auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: var(--gap-medium);
        }

        .studio-phases,
        .studio-device {
            position: static;
            margin-left: 0;
            transform: none;
        }

        .studio-column {
            display: none;
        }

    }

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

        .studio-phases {
            gap: var(--gap-small);
        }

        .studio-phase + .studio-phase::before {
            display: none;
        }

    }
