/* MONTAX — designs portfolio (sits on top of /assets/site.css) */
.dz-hero { padding: 72px 0 26px; }
.dz-hero h1 { font-size: clamp(34px, 5.6vw, 68px); line-height: 1.25; max-width: 16ch; margin: 8px 0 0; }
.dz-hero p { color: var(--muted); font-size: 19px; max-width: 52ch; margin: 20px 0 0; }

.dz-tabs { display: flex; gap: 8px; padding: 18px 0 22px; position: sticky; top: 74px; z-index: 10; background: rgba(11,11,12,0.92); backdrop-filter: blur(10px); }
.dz-tab { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 800; font-size: 16px; color: var(--muted); transition: border-color .2s, color .2s, background .2s; }
.dz-tab span { font-size: 13px; font-weight: 600; min-width: 26px; padding: 0 8px; border-radius: 999px; background: var(--ink-3); color: var(--muted); text-align: center; }
.dz-tab:hover { color: var(--paper); border-color: var(--paper); }
.dz-tab[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.dz-tab[aria-selected="true"] span { background: rgba(255,255,255,.2); color: #fff; }

.dz-work { padding-bottom: 40px; }
.dz-grid { columns: 3 280px; column-gap: 16px; }
.dz-grid[hidden] { display: none; }
.dz-item { display: block; break-inside: avoid; margin: 0 0 16px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); position: relative; cursor: zoom-in; }
.dz-item img { width: 100%; height: auto; transition: transform .35s ease; }
.dz-item::after { content: ""; position: absolute; inset: 0; border-radius: 16px; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s; pointer-events: none; }
.dz-item:hover img { transform: scale(1.03); }
.dz-item:hover::after, .dz-item:focus-visible::after { box-shadow: inset 0 0 0 2px var(--red); }
.dz-empty { color: var(--muted); padding: 40px 0; }

.dz-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 20px auto 70px; padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(135deg, var(--ink-2), #1c0c0e); }
.dz-cta h2 { font-size: clamp(24px, 3vw, 34px); margin: 0; }
.dz-cta p { color: var(--muted); margin: 6px 0 0; max-width: 56ch; }

/* lightbox */
.dz-lb { position: fixed; inset: 0; z-index: 100; background: rgba(5,5,6,.94); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.dz-lb[hidden] { display: none; }
.dz-lb img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.dz-lb button { position: absolute; border: 0; background: rgba(255,255,255,.08); color: #fff; font: 800 34px/1 "Cairo", sans-serif; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.dz-lb button:hover { background: var(--red); }
.dz-x { top: 14px; left: 14px; }
.dz-prev { right: 10px; top: 50%; transform: translateY(-50%); }
.dz-next { left: 10px; top: 50%; transform: translateY(-50%); }
.dz-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 14px; direction: ltr; }

@media (max-width: 560px) {
  .dz-hero { padding: 44px 0 14px; }
  .dz-hero p { font-size: 16px; }
  .dz-tabs { top: 74px; padding: 12px 0 14px; }
  .dz-tab { padding: 8px 14px; font-size: 15px; }
  .dz-grid { columns: 2; column-gap: 10px; }
  .dz-item { margin-bottom: 10px; border-radius: 12px; }
  .dz-cta { padding: 22px; }
  .dz-cta .btn { width: 100%; }
  .dz-lb { padding: 56px 8px; }
  .dz-prev, .dz-next { top: auto; bottom: 10px; transform: none; }
}
