/* Menu appearance stays still under the pointer. Selection remains explicit. */
html body #work .discipline-nav .nav-primary,
html body #work .discipline-nav .nav-primary:hover {
  color:#292929; transform:none; transition:none;
}
html body #work .discipline-nav .subnav button,
html body #work .discipline-nav .subnav button:hover {
  color:#74716e; transform:none; transition:none;
}
html body #work .discipline-nav :is(.nav-primary,.subnav button).active,
html body #work .discipline-nav :is(.nav-primary,.subnav button).active:hover {
  color:#cc2d25;
}
html body #work .discipline-nav > .back-intro,
html body #work .discipline-nav > .back-intro:hover {
  color:#777; transition:none;
}

/* Image studies share the gallery's bounds, including square source artwork. */
#work .work-content[data-category="images"] .browser-window {
  display:flex;
  align-items:center;
  justify-content:center;
  width:min(100%,calc(100cqh * 16 / 9)) !important;
  height:auto !important;
  aspect-ratio:16 / 9;
  max-height:100%;
  min-width:0;
  min-height:0;
}
#work .work-content[data-category="images"] .project-cover-image {
  display:block;
  width:100% !important;
  height:100% !important;
  max-width:100%;
  max-height:100%;
  object-fit:cover !important;
}
