.np-work-section {
  padding: clamp(4.5rem, 9vw, 8.75rem) 1.5rem;
  background: var(--np-sec-bg, #101010);
  color: var(--np-sec-ink, #f5f5f2);
  --np-color-ink: var(--np-sec-ink, #f5f5f2);
}
.np-work-section__inner { max-width: 82rem; margin: 0 auto; }
.np-work-section__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem 2.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.np-work-section__eyebrow {
  margin: 0 0 0.6rem;
  font-family: var(--np-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--np-sec-soft, #9a9b95);
}
.np-work-section__title { font-size: clamp(2.8rem, 5vw, 4.5rem); letter-spacing: -0.045em; line-height: 1; }
.np-work-section__intro { max-width: 27rem; margin: 0; color: var(--np-sec-soft, #9a9b95); font-size: 0.9375rem; line-height: 1.65; }
.np-work-grid {
  /* 40 columns so a wide card (23) and a narrow one (17) keep the 1.15 : 0.85
     ratio whichever side they sit on. Cards go in pairs: wide + narrow, then
     the mirrored narrow + wide, and so on. */
  display: grid;
  grid-template-columns: repeat(40, minmax(0, 1fr));
  column-gap: 0;
  row-gap: 5rem;
}
.np-work-grid > :nth-child(4n + 1) { grid-column: 1 / 24; margin-right: 0.75rem; }
.np-work-grid > :nth-child(4n + 2) { grid-column: 24 / 41; margin-left: 0.75rem; margin-top: 6.25rem; }
.np-work-grid > :nth-child(4n + 3) { grid-column: 1 / 18; margin-right: 0.75rem; margin-top: 6.25rem; }
.np-work-grid > :nth-child(4n) { grid-column: 18 / 41; margin-left: 0.75rem; }
/* A lone last card keeps the original wide, right-aligned look. */
.np-work-grid > :nth-child(4n + 3):last-child { grid-column: 1 / -1; width: 60%; margin: 0 0 0 auto; }
@media (max-width: 56.25rem) {
  .np-work-grid > :nth-child(4n + 2),
  .np-work-grid > :nth-child(4n + 3) { margin-top: 4.4rem; }
}
@media (max-width: 40rem) {
  .np-work-grid { grid-template-columns: 1fr; gap: 3.4rem; }
  .np-work-grid > * { grid-column: auto !important; width: 100% !important; margin: 0 !important; }
}
