/* "Our work" on a laptop as one row of six portrait tiles (Smartfix, 7 Oct 2026): the kit's two rows of three
   ran to about 1,000px. Only when there are exactly six photos; every photo still opens full size, and phones
   and tablets keep their swipe row and grid. Opt-in (`optInCss`). */
@media (min-width: 1024px) {
  #work .rail:has(> figure:nth-child(6)) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  /* MCL, 30 Oct 2026: a 7th photo used to switch this off and give two big rows. Now the row shows the first six;
     the rest stay in the lightbox and on the phone swipe row. */
  #work .rail:has(> figure:nth-child(6)) > figure:nth-child(n+7) { display: none; }
  #work .rail:has(> figure:nth-child(6)) > figure { grid-column: span 1 / span 1; aspect-ratio: 4 / 5; }
}
