.pl-pipes-widget {
    --pl-pipes-bg: #11100d;
    --pl-pipes-sky: #29261e;
    --pl-pipes-text: #ffffff;
    --pl-pipes-muted: rgba(255, 255, 255, 0.78);
    --pl-pipes-line: rgba(255, 255, 255, 0.1);
    --pl-pipes-button-bg: rgba(255, 255, 255, 0.08);
    --pl-pipes-button-border: rgba(255, 255, 255, 0.15);
    position: relative;
    height: var(--pl-pipes-section-height, 500vh);
    background: linear-gradient(180deg, var(--pl-pipes-sky) 0%, var(--pl-pipes-bg) 55%);
    color: var(--pl-pipes-text);
    overflow: clip;
    isolation: isolate;
    font-family: inherit;
}

.pl-pipes-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.pl-pipes-sticky::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(41, 38, 30, 0.58) 0%,
        rgba(41, 38, 30, 0.34) 18%,
        rgba(41, 38, 30, 0.12) 34%,
        rgba(17, 16, 13, 0) 54%
    );
}

.pl-pipes-canvas,
.pl-pipes-ui {
    position: absolute;
    inset: 0;
}

.pl-pipes-canvas {
    z-index: 0;
    opacity: 0;
    transition: opacity 700ms ease;
}

.pl-pipes-canvas canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.pl-pipes-widget.is-3d-ready .pl-pipes-canvas {
    opacity: 1;
}

.pl-pipes-scroll-indicator {
    position: absolute;
    left: 15px;
    top: 15%;
    width: 2px;
    height: 120px;
    background: var(--pl-pipes-line);
    border-radius: 999px;
    z-index: 3;
    overflow: hidden;
}

.pl-pipes-scroll-fill {
    width: 100%;
    height: 20%;
    border-radius: inherit;
    background: #ffffff;
    transform: translateY(0%);
    transition: transform 180ms linear;
}

.pl-pipes-ui {
    z-index: 2;
    display: flex;
    align-items: flex-start;
    padding-top: 15vh;
    pointer-events: none;
}

.pl-pipes-text {
    position: absolute;
    width: 80%;
    left: 10%;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 500ms ease, transform 500ms ease;
    pointer-events: none;
    text-align: left;
    text-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.pl-pipes-text.is-active {
    opacity: 1;
    transform: translateY(0);
}

.pl-pipes-slide-copy {
    margin: 0;
    font-size: 32px;
    font-size: 2rem;
    line-height: 1.18;
    text-transform: uppercase;
}

.pl-pipes-tagline,
.pl-pipes-title,
.pl-pipes-slide-copy {
    font-family: "Questrial", Sans-serif;
}

.pl-pipes-tagline {
    margin-bottom: 10px;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.9;
}

.pl-pipes-title {
    margin: 0 0 20px;
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

.pl-pipes-description {
    max-width: 34rem;
    margin: 0 0 30px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--pl-pipes-muted);
}

.pl-pipes-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--pl-pipes-button-border);
    border-radius: 4px;
    padding: 12px 20px;
    background: var(--pl-pipes-button-bg);
    color: inherit;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font: inherit;
    font-size: 0.75rem;
    cursor: pointer;
    pointer-events: auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pl-pipes-button svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.pl-pipes-status {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 4;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(17, 16, 13, 0.75);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.86rem;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 220ms ease, transform 220ms ease;
    pointer-events: none;
}

.pl-pipes-status:not(:empty) {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .pl-pipes-scroll-indicator {
        left: 40px;
        top: 50%;
        width: 3px;
        height: 360px;
        transform: translateY(-50%);
    }

    .pl-pipes-ui {
        align-items: center;
        padding-top: 0;
    }

    .pl-pipes-text {
        width: auto;
    }

    .pl-pipes-text--left {
        left: 8vw;
        right: auto;
        max-width: 500px;
    }

    .pl-pipes-text--right {
        left: auto;
        right: 8vw;
        max-width: 450px;
    }

    .pl-pipes-text--right.is-active:first-child {
        transform: translateY(-80px);
    }

    .pl-pipes-tagline {
        font-size: 1.1rem;
    }

    .pl-pipes-title {
        font-size: 4.5rem;
    }

    .pl-pipes-description {
        font-size: 1.1rem;
    }

    .pl-pipes-button {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    .pl-pipes-status {
        left: auto;
        right: 32px;
        bottom: 24px;
        max-width: 28rem;
    }
}
