#projects {
    background-image: url("../img/backgrounds/2024-projects-bg.jpg");
    background-size: cover;
    background-position: center;
    padding-bottom: 0;
}

.ps-slider {
    position: relative;
    min-height: 100%;
    overflow: hidden;
}

.ps-inner {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    color: #fff;
    font-family: 'Source Sans Pro', sans-serif;
    padding: 32px 0 28px;
}

.ps-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.ps-eyebrow {
    color: #e2910c;
    font-size: 16px;
    letter-spacing: .25em;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.ps-h2 {
    font-family: 'Montserrat', 'Source Sans Pro', sans-serif;
    font-weight: 300;
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.025em;
    margin: 0;
    color: #fff;
}

.ps-arrows {
    display: flex;
    gap: 10px;
    align-self: stretch;
    justify-content: flex-end;
}

.ps-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #fff;
    background: transparent;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .18s, color .18s;
}

.ps-arrow:hover {
    background: #fff;
    color: #1c2521;
}

.ps-body {
    position: relative;
}

.ps-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #efe9da;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(0, 0, 0, .2);
    box-shadow:
        0 0 0 10px rgba(0, 0, 0, .3),
        0 30px 60px -30px rgba(0, 0, 0, .4);
}

.ps-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .55s ease;
}

.ps-img.active {
    opacity: 1;
}

.ps-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    max-width: calc(100% - 32px);
    padding: 12px 16px;
    background: rgba(0, 0, 0, .5);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #fff;
    font-family: 'Montserrat', 'Source Sans Pro', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
}

.ps-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
}

.ps-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    border: 0;
    padding: 0;
    background: #fff;
    cursor: pointer;
    transition: all .25s;
}

.ps-dot.active {
    width: 28px;
    background: #e2910c;
}

@media (min-width: 768px) {
    .ps-inner {
        padding: 48px 0 36px;
    }

    .ps-header {
        flex-direction: row;
        align-items: flex-end;
        gap: 24px;
        margin-bottom: 32px;
    }

    .ps-h2 {
        font-size: 44px;
    }

    .ps-arrows {
        align-self: auto;
        justify-content: flex-start;
    }

    .ps-arrow {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .ps-image {
        aspect-ratio: 16 / 9;
    }

    .ps-tag {
        top: 20px;
        left: 20px;
        padding: 12px 18px;
        font-size: 18px;
    }
}

@media (min-width: 1200px) {
    .ps-inner {
        padding: 25px 0 48px;
    }

    .ps-header {
        margin-bottom: 36px;
    }

    .ps-h2 {
        font-size: 60px;
    }

    .ps-arrow {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .ps-image {
        aspect-ratio: 16 / 9;
    }

    .ps-tag {
        top: 24px;
        left: 24px;
        padding: 14px 20px;
        font-size: 20px;
    }
}
