/* Lead 2026-11-25 (owner): R&D gets a picture too — hovering or focusing the "06 R&D" row
   fades the Lab grid over the Selected Work frame (desktop pointers only). */
@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  .work-media::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to bottom, rgb(0 0 0 / 45%), transparent 12%), #111 image-set(url("/media-derived/rnd-lab-grid-1800.5301cae4.webp") 1x, url("/media-derived/rnd-lab-grid-3600.6becc009.webp") 2x) center / cover no-repeat;
    opacity: 0;
  }
  .work-gallery:has(.work-lab:is(:hover, :focus-visible)) .work-media::after { opacity: 1; }
  /* Light header items sit above the shaded top of the grid. */
  html:has(.work-lab:is(:hover, :focus-visible)) .site-header :is(.nav-link, .nav-label) { color: #f5f5f5; border-color: #f5f5f5; }
  html:has(.work-lab:is(:hover, :focus-visible)) .site-header .header-divider:has(+ .header-contact-pill) { background-color: rgb(245 245 245 / 60%); }
  html:has(.work-lab:is(:hover, :focus-visible)) .site-header .header-contact-pill { color: #f5f5f5; background-color: rgb(245 245 245 / 12%); }
}
@media (min-width: 761px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .work-media::after { transition: opacity 320ms cubic-bezier(.16, 1, .3, 1); }
  .site-header :is(.nav-link, .nav-label, .header-divider, .header-contact-pill) { transition: color 240ms ease, background-color 240ms ease, border-color 240ms ease; }
}
