/* work listing page (/work) */
main { display: flex; flex-direction: column; align-items: center; overflow: clip; }
main > section { width: 100%; position: relative; overflow: clip; }

/* heading band (shared markup with /work/grid-view, styled by each page.css) */
.whead { padding: 120px var(--pad) 50px; display: flex; flex-direction: column; align-items: center; }
.whead-bg { position: absolute; inset: 0; background: linear-gradient(rgb(187, 208, 227) 0%, rgb(255, 255, 255) 100%); }
.whead-c { position: relative; z-index: 1; width: 100%; max-width: 1552px; padding: 0 8px; }
.whead-link { margin-top: 70px; }
.whead-link a { display: block; width: max-content; }

/* list */
.wlist { padding: 120px var(--pad) 100px; max-width: 1600px; }
.wl-head { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); height: 33px; align-items: start; overflow: clip; }
.wl-head > div { padding: 0 8px; }
.wl-rows { position: relative; z-index: 1; display: flex; flex-direction: column; }
.wl-row { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); align-items: start; padding: 16px 0; }
.wl-row::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.wl-cell { position: relative; padding: 0 8px; display: flex; flex-direction: column; justify-content: center; }
.wl-img { position: absolute; left: 50%; top: 50%; width: 400px; height: 300px; margin: -150px 0 0 -200px; border-radius: 12px; overflow: clip; opacity: 0; z-index: 5; will-change: opacity; }
.wl-img figure { position: absolute; inset: 0; border-radius: 12px; overflow: clip; transform: scale(1.1); will-change: transform; }
.wl-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
@media (max-width: 1199.98px) {
  .wl-img { display: none; }
}
@media (max-width: 809.98px) {
  .whead { padding: 80px var(--pad) 50px; }
  .wlist { padding: 60px var(--pad) 100px; }
  .wl-cell.title, .wl-head > .title { grid-column: span 3; }
  .wl-cell.client, .wl-cell.category, .wl-head > .client, .wl-head > .category { display: none; }
}
