.projects-grid{display:grid;grid-template-columns:repeat(2,2fr);gap:24px}
.project-card{display:flex;flex-direction:column;overflow:hidden;background:var(--card);backdrop-filter:blur(12px);border:1px solid var(--line);border-radius:var(--radius);transition:border-color .3s}
.project-card:hover{border-color:var(--accent)}
.project-card.featured{grid-column:1/-1;display:grid;grid-template-columns:1.2fr 1fr}
.project-image{overflow:hidden;aspect-ratio:16/10}
.featured .project-image{aspect-ratio:auto;min-height:280px}
.project-image img{width:100%;height:100%;object-fit:cover}
.project-content{display:flex;flex-direction:column;flex:1;padding:28px}
.featured .project-content{justify-content:center}
.project-content h3{font-size:1.4rem;font-weight:600;margin-bottom:10px}
.project-content p{color:var(--muted);line-height:1.7;margin-bottom:20px}
.project-tech{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.project-tech span{padding:5px 14px;border-radius:999px;font-size:.85rem;background:rgba(255,255,255,.06);border:1px solid var(--line)}
.project-buttons{display:flex;gap:12px;margin-top:auto}
.featured .project-buttons{margin-top:0}
.project-buttons a{padding:10px 22px;border-radius:10px;border:1px solid var(--line);font-size:.95rem;transition:border-color .25s,background .25s}
.project-buttons a:hover{border-color:var(--accent)}
.project-buttons a:first-child{background:var(--accent);border-color:var(--accent);color:var(--ink)}
.project-buttons a:first-child:hover{background:var(--accent-hover)}

@media(max-width:1000px){
    .projects-grid{grid-template-columns:repeat(2,1fr)}
    .project-card.featured{grid-template-columns:1fr}
}
@media(max-width:640px){
    .projects-grid{grid-template-columns:1fr}
    .project-buttons{flex-wrap:wrap}
}
