.project-card-modern { cursor: pointer; }
.project-card-modern__media { background: #202020; }
.project-card-modern__media img { aspect-ratio: 3 / 2; }
.project-image--fallback { filter: none !important; }
.z-works__actions { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 52px); }
.project-card-enter { animation: project-card-enter .55s cubic-bezier(.2,.7,.2,1) both; }
@keyframes project-card-enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.project-modal[hidden] { display: none; }
.project-modal { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; padding: clamp(14px, 3vw, 42px); overflow-y: auto; overscroll-behavior: contain; background: rgba(0,0,0,.84); backdrop-filter: blur(8px); }
.project-modal__dialog { position: relative; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr); width: min(1180px, 100%); max-height: min(820px, calc(100dvh - 40px)); overflow-y: auto; overscroll-behavior: contain; background: var(--zille-black, #111); color: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.42); }
.project-modal__close { position: absolute; z-index: 4; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; }
.project-modal__gallery { position: relative; min-height: 460px; background: #202020; }
.project-modal__stage, .project-modal__stage img { width: 100%; height: 100%; }
.project-modal__stage img { display: block; object-fit: cover; aspect-ratio: 3 / 2; }
.project-modal__stage img[hidden] { display: none; }
.project-modal__gallery-controls { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 14px; padding: 7px; background: rgba(0,0,0,.72); }
.project-modal__gallery-controls button { width: 38px; height: 38px; border: 0; color: #fff; background: transparent; }
.project-modal__gallery-controls span { min-width: 48px; text-align: center; font-size: 12px; }
.project-modal__body { align-self: center; padding: clamp(34px, 5vw, 70px) clamp(26px, 4vw, 56px); }
.project-modal__eyebrow { color: var(--zille-yellow, #e9be35); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.project-modal__body h2 { margin: 14px 0 22px; color: #fff; font-size: clamp(28px, 3vw, 48px); line-height: 1.05; overflow-wrap: normal; word-break: normal; }
.project-modal__description { color: rgba(255,255,255,.78); line-height: 1.7; }
.project-modal__facts { margin: 30px 0 0; }
.project-modal__facts > div { display: grid; grid-template-columns: 100px 1fr; gap: 14px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.14); }
.project-modal__facts dt { color: rgba(255,255,255,.5); font-size: 12px; }
.project-modal__facts dd { margin: 0; color: #fff; font-size: 13px; }
html.project-modal-open, body.project-modal-open { overflow: hidden; }
@media (max-width: 767px) { .project-modal { padding: 12px; place-items: center; } .project-modal__dialog { display: block; width: 100%; max-height: calc(100dvh - 24px); } .project-modal__gallery { min-height: 42vh; } .project-modal__body { padding-top: 30px; } }
@media (prefers-reduced-motion: reduce) { .project-card-enter { animation: none; } }
