/* ── Projects Grid ───────────────────────────── */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

/* ── Project Card ────────────────────────────── */
.projects-card {
    text-decoration: none;
    color: inherit;
    display: block;
}
.projects-card:nth-child(2) { margin-top: 0; }
@media (min-width: 768px) {
    .projects-card:nth-child(2) { margin-top: 64px; }
}

.projects-card-img {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
    aspect-ratio: 4 / 5;
    background: var(--bone);
}
.projects-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.projects-card:hover .projects-card-img img {
    transform: scale(1.05);
}
.projects-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.5s;
}
.projects-card:hover .projects-card-overlay {
    background: rgba(0, 0, 0, 0.08);
}

/* ── Placeholder when no image ──────────────── */
.projects-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bone);
}
.projects-card-placeholder .material-symbols-outlined {
    font-size: 48px;
    color: rgba(28, 28, 28, 0.15);
}

/* ── Card Info ───────────────────────────────── */
.projects-card-info {
    padding: 0 4px;
}
.projects-card-location {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(28, 28, 28, 0.35);
    margin-bottom: 6px;
}
.projects-card-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    color: var(--charcoal);
    margin-bottom: 4px;
}
.projects-card-type {
    font-size: 13px;
    color: rgba(28, 28, 28, 0.4);
    font-weight: 400;
}
