/* ===== WORK PAGE ===== */
.projects { padding: 80px 0 100px; }
.pj-row { margin-bottom: 16px; }
.pj-row-content { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.pj-row-content:hover { border-color: rgba(79,56,255,0.25); box-shadow: 0 20px 60px rgba(0,0,0,0.06); transform: translateY(-2px); }
.pj-row-text { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.pj-row-num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 11px; color: var(--accent); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.pj-row-text h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 24px; margin-bottom: 6px; line-height: 1.3; }
.pj-row-text .pj-subtitle { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.pj-features { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.pj-features li { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; padding-left: 20px; position: relative; }
.pj-features li::before { content: '→'; position: absolute; left: 0; top: 0; color: var(--accent); font-size: 12px; font-weight: 600; }
.pj-tech-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.pj-tech-tag { padding: 5px 12px; border-radius: 6px; font-size: 11px; font-weight: 500; background: var(--surface); color: var(--text-secondary); }
.pj-row-images { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px; background: var(--surface); align-items: center; }
.pj-row-img { border-radius: 12px; overflow: hidden; aspect-ratio: 1.2; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.pj-row-img.pj-mobile { grid-column: span 2; aspect-ratio: 2.2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: transparent; box-shadow: none; }
.pj-row-img.pj-mobile .pj-mobile-item { border-radius: 10px; overflow: hidden; aspect-ratio: 0.55; }
.pj-row-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.pj-row-placeholder span { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.3); }
.pj-row-img:first-child { transform: translateY(8px); }
.pj-row-img:last-child { transform: translateY(-8px); }
.pj-row-content:hover .pj-row-img { transform: translateY(0); }
.pj-row-img { transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.pj-row:nth-child(even) .pj-row-content { direction: rtl; }
.pj-row:nth-child(even) .pj-row-content > * { direction: ltr; }
.pj-row:nth-child(even) .pj-row-images { direction: rtl; }
@media (max-width: 810px) { .pj-row-content { grid-template-columns: 1fr; } .pj-row:nth-child(even) .pj-row-content { direction: ltr; } .pj-row-text { padding: 24px; } .pj-row-images { padding: 16px; } }
