.compare-sec {
        background: var(--bg-night);
    color: var(--paper-on-night);
    position: relative;
    overflow: hidden;
}

.compare-head {
        text-align: center;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.compare-head .eyebrow {
    color: var(--paper-mute);
}

.compare-head h2 {
    margin: 9.4px 0 10.4px;
}

.compare-head .lede {
        color: var(--paper-mute);
    max-width: 48ch;
    margin: 0 auto;
}

.compare {
        position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 14px;
    overflow: hidden;
    user-select: none;
    --pos: 50%;
    z-index: 1;
    background: #000;
}

.compare img {
        position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.compare-overlay {
        position: absolute;
    inset: 0;
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
    will-change: clip-path;
}

.compare::after {
        content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 1px;
    margin-left: -0.5px;
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
    pointer-events: none;
    z-index: 1;
}

.compare-handle {
        position: absolute;
    top: 50%;
    left: var(--pos);
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    padding: 0 10px;
    background: rgba(9, 12, 14, 0.54);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(3.4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: ew-resize;
    z-index: 2;
    touch-action: none;
}

.compare-handle svg {
        width: 20px;
    height: 20px;
    flex: none;
    color: #fff;
}

.compare-handle .sep {
        width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.22);
}

.compare-label {
        position: absolute;
    bottom: 19px;
    padding: 7px 14px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    font-family: var(--font-mono);
    font-size: var(--fs-label-m);
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    color: #fff;
}

.compare-label.before {
    right: 25.73px;
}

.compare-label.after {
    left: 24px;
}

@media (max-width: 640px) {
    .compare-handle {
            width: 56px;
        height: 56px;
        padding: 0 7px;
    }

    .compare-handle svg {
            width: 17px;
        height: 17px;
    }

    .compare-handle .sep {
        height: 36px;
    }

    .compare-label {
        bottom: 12px;
    }

    .compare-label.before {
        right: 14px;
    }

    .compare-label.after {
        left: 14px;
    }
}

@media (min-width: 961px) {
    .compare-sec {
        padding-bottom: 80px;
    }
}
