/* Projektkártyák (2026-10-18). Elhelyezés: ?lay=b esetén közvetlenül a Longevity-kép alatt, nagyobb térközzel; alapból a demó után. */
.projs { padding-top: clamp(112px, 12vw, 168px); }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pc { display: flex; flex-direction: column; background: var(--card); border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: box-shadow 160ms; }
.pc:hover { box-shadow: 0 0 0 1px var(--ink); }
.pim { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #ECECE8; }
.pim img { width: 100%; height: 100%; object-fit: cover; transition: scale 400ms cubic-bezier(.16,1,.3,1); }
.pc:hover .pim img { scale: 1.03; }
.pim .tag { position: absolute; left: 14px; top: 14px; padding: 6px 11px; border-radius: 999px; background: rgb(255 255 255 / .92); font-size: 13px; font-weight: 600; color: var(--ink); }
.ptx { padding: 20px 22px 24px; }
.ptx h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
.ptx p { margin-top: 4px; font-size: 16px; color: var(--muted); }
.ptx .did { margin-top: 12px; font-size: 15px; color: var(--text); line-height: 1.5; }
@media (max-width: 960px) { .pgrid { grid-template-columns: 1fr; } .pim { aspect-ratio: 16 / 10; } }
.phead p .lnk { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* 2026-10-21: a penthouse-kártya saját oldalra visz */
a.pc { display: block; transition: box-shadow .18s ease; }
a.pc:hover { box-shadow: 0 0 0 1px var(--line-2), 0 10px 30px rgb(21 25 29 / .07); }
.pc .more { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.pc .more svg { width: 14px; height: 14px; }
a.pc:hover .more svg { transform: translateX(2px); transition: transform .18s ease; }
