/* Homepage featured projects — scoped to .home-proj-section */
.home-proj-section {
    background: #0a0a0a;
    padding: 80px 0;
}

.home-proj-ch {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 48px;
    margin-bottom: 36px;
    gap: 16px;
    flex-wrap: wrap;
}

.home-proj-chr {
    display: flex;
    align-items: center;
    gap: 16px;
}

.home-proj-ey {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 10px;
}

.home-proj-sh {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #fff;
    margin: 0;
}

.home-proj-vl {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s, gap 0.2s;
    white-space: nowrap;
}

.home-proj-vl:hover {
    color: #fff;
    gap: 9px;
}

.home-proj-arrs {
    display: flex;
    gap: 8px;
}

.home-proj-ar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
    padding: 0;
}

.home-proj-ar:hover {
    background: rgba(255, 255, 255, 0.22);
}

.home-proj-ar:disabled {
    opacity: 0.22;
    pointer-events: none;
}

.home-proj-cw {
    padding-left: 48px;
    overflow: hidden;
}

.home-proj-ct {
    display: flex;
    gap: 16px;
    will-change: transform;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
    padding-right: 16px;
}

.home-proj-ct:active {
    cursor: grabbing;
}

.home-proj-pjc {
    flex-shrink: 0;
    width: 360px;
    border-radius: 16px;
    overflow: hidden;
    background: #141414;
    display: flex;
    flex-direction: column;
    cursor: default;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s;
}

.home-proj-pjc:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.65);
}

.home-proj-pjc-i {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: #1a1a1a;
    flex-shrink: 0;
}

.home-proj-pjc-i img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    filter: brightness(0.82);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s;
}

.home-proj-pjc:hover .home-proj-pjc-i img {
    transform: scale(1.07);
    filter: brightness(0.95);
}

.home-proj-pjc-g {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, transparent 55%);
    pointer-events: none;
}

.home-proj-pjc-loc {
    position: absolute;
    bottom: 52px;
    left: 16px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.home-proj-pjc-plus {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, transform 0.25s;
    text-decoration: none;
    cursor: pointer;
}

.home-proj-pjc:hover .home-proj-pjc-plus {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1) rotate(90deg);
}

.home-proj-pjc-inf {
    padding: 16px 18px 20px;
}

.home-proj-pjc-cat {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 5px;
}

.home-proj-pjc-n {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #fff;
}

@media (max-width: 1024px) {
    .home-proj-ch {
        padding: 0 24px;
    }

    .home-proj-cw {
        padding-left: 24px;
    }
}

@media (max-width: 768px) {
    .home-proj-section {
        padding: 56px 0;
    }

    .home-proj-ch {
        padding: 0 20px;
    }

    .home-proj-cw {
        padding-left: 20px;
    }

    .home-proj-pjc {
        width: 280px;
    }

    .home-proj-pjc-i {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .home-proj-ch {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-proj-pjc {
        width: 260px;
    }
}
