.context-link {
  color: #245e60;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: .075em;
  text-underline-offset: .17em;
}

.context-link:hover {
  color: #1d484b;
  text-decoration-thickness: .12em;
}

.context-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

/* Let the site’s existing reveal observer cue the photos without moving the layout. */
.js-motion .reveal.photo-fade {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (prefers-reduced-motion: no-preference) {
  .js-motion .photo-fade img {
    opacity: .8;
    transition: opacity 460ms cubic-bezier(.16, 1, .3, 1);
  }

  .js-motion .photo-fade.visible img {
    opacity: 1;
  }

  .inside-panel:not([hidden]) {
    animation: ss-demo-fade 220ms ease-out;
  }
}

@keyframes ss-demo-fade {
  from { opacity: .82; }
  to { opacity: 1; }
}
