/* ── Projects Hero ── */
.projects-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg-primary);
    padding: 12vh 0 4vh 0;
    direction: ltr;
    position: relative;
}

.projects-hero__line {
    font-family: var(--font-heading);
    font-size: 10vw;
    color: var(--color-dark);
    text-transform: lowercase;
    letter-spacing: -0.5vw;
    line-height: 0.75;
    white-space: nowrap;
}

.projects-hero__thin {
    font-weight: 400;
}

.projects-hero__bold {
    font-family: 'Hoover', var(--font-heading);
    font-weight: 700;
    padding-left: 3vw;
}

.projects-hero__diamond {
    color: var(--accent-pink);
    font-size: 2.5vw;
    margin-right: 0.5vw;
    vertical-align: middle;
}

/* ── Filter buttons – positioned over the bold line ── */
.projects-filter {
    position: absolute;
    bottom: 4vh;
    right: 0;
    display: flex;
    gap: 0.5vw;
    flex-wrap: wrap;
    direction: rtl;
}

.projects-filter__btn {
    padding: 0.6vh 1.3vw;
    border-radius: 5vw;
    background: #FFF;
    color: var(--text-primary);
    font-size: 0.75vw;
    font-family: var(--font-body);
    border: none;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.projects-filter__btn:hover {
    background: var(--accent-pink);
    color: white;
}

.projects-filter__btn--active {
    background: var(--accent-pink);
    color: white;
}

/* ── Projects grid – 2 per row ── */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6vh 0.5vw;
    padding: 6vh 0 10vh;
}

.project-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 1.5vh;
}

.project-card__images {
    display: flex;
    gap: 0.5vw;
    align-items: flex-start;
}

.project-card__images img {
    flex: 1 1 0;
    min-width: 0;
    max-height: 50vh;
    height: auto;
    display: block;
    object-fit: cover;
}

.project-card__title {
    font-family: 'PolinSemibold', 'Polin', var(--font-body) !important;
    font-size: 1.1vw;
    font-weight: 400 !important;
    color: var(--text-primary);
    direction: rtl;
}

/* ── Empty state ── */
.empty-state {
    text-align: center;
    padding: 10vh 0;
    color: var(--text-muted);
}

.empty-state h3 {
    margin-bottom: 1vh;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .projects-hero__line {
        font-size: 16vw;
    }

    .projects-filter {
        justify-content: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 4vh;
        padding: 4vh 4vw 8vh;
    }

    .project-card__images img {
        max-width: 100%;
    }

    .project-card__title {
        font-size: 4vw;
    }
}
