/* Three independent, scroll-linked photographs. This file affects Notes only. */
#notes[data-scene-mode="sequence"] .notes-background {
  overflow: hidden;
  transform: none;
  will-change: auto;
}

#notes[data-scene-mode="sequence"] .notes-panel {
  position: absolute;
  inset: 0 0 -1px;
  overflow: hidden;
  visibility: hidden;
  background: var(--espresso, #3b2f2a);
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

#notes[data-scene-mode="sequence"] .notes-panel:first-child {
  visibility: visible;
}

#notes[data-scene-mode="sequence"] .notes-panel .scene-photo {
  position: absolute;
  inset: -7% 0 auto;
  display: block;
  width: 100%;
  max-width: none;
  height: 114%;
  object-fit: cover;
  object-position: var(--scene-position, 50% 50%);
  filter: none;
  opacity: .87;
  transform-origin: center;
  will-change: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Grade the unaltered parent-company photographs in the presentation layer. */
#notes[data-scene-mode="sequence"] .notes-panel--documentary .scene-photo {
  filter: saturate(.56) sepia(.18) brightness(.72);
}

#notes[data-scene-mode="sequence"] .notes-scrim {
  background:
    linear-gradient(180deg, var(--espresso, #3b2f2a), rgba(59, 47, 42, .13) 22%, rgba(59, 47, 42, .13) 78%, var(--espresso, #3b2f2a)),
    linear-gradient(90deg, rgba(59, 47, 42, .26), rgba(59, 47, 42, .18) 48%, rgba(59, 47, 42, .32));
}

#notes[data-scene-mode="sequence"] .scene-register {
  display: none;
}

#notes[data-scene-mode="sequence"] .notes-text,
#notes[data-scene-mode="sequence"] .notes-meta {
  text-shadow: 0 1px 12px rgba(59, 47, 42, .24);
}

@media (max-width: 767.98px) {
  #notes[data-scene-mode="sequence"] .notes-panel .scene-photo {
    object-position: var(--scene-position-mobile, var(--scene-position, 50% 50%));
  }

  #notes[data-scene-mode="sequence"] .notes-scrim {
    background:
      linear-gradient(180deg, var(--espresso, #3b2f2a), rgba(59, 47, 42, .2) 24%, rgba(59, 47, 42, .2) 76%, var(--espresso, #3b2f2a)),
      rgba(59, 47, 42, .19);
  }
}

@media (prefers-reduced-motion: reduce) {
  #notes[data-scene-mode="sequence"] .notes-panel,
  #notes[data-scene-mode="sequence"] .notes-panel .scene-photo {
    will-change: auto;
  }
}
