/* V6: botanical underlay and the Formats-to-Notes colour transition.
   Load after styles.css and before motion-support.css. */

#poster {
  isolation: isolate;
}

#poster .poster-botanicals {
  position: absolute;
  inset: 20% 0 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

#poster .poster-botanical-pair {
  position: absolute;
  left: -8%;
  bottom: 0;
  display: block;
  width: 116%;
  max-width: none;
  height: auto;
  pointer-events: none;
  -webkit-user-drag: none;
}

#poster .poster-background {
  z-index: 1;
}

#poster .poster-content {
  z-index: 2;
}

#float {
  background-color: var(--espresso, #3b2f2a);
  background-image: linear-gradient(
    180deg,
    var(--milk, #fbf7f4) 0%,
    var(--milk, #fbf7f4) 19%,
    var(--oat, #e8d8ce) 43%,
    var(--rose, #b98f88) 67%,
    var(--cocoa, #7a6258) 86%,
    var(--espresso, #3b2f2a) 100%
  );
}

#float .float-intro {
  color: var(--espresso, #3b2f2a);
}

@media (max-width: 767.98px) {
  #poster .poster-botanicals {
    inset: 40% 0 0;
  }

  #poster .poster-botanical-pair {
    left: 0;
    width: 100%;
  }

  #float {
    background-image: linear-gradient(
      180deg,
      var(--milk, #fbf7f4) 0%,
      var(--milk, #fbf7f4) 25%,
      var(--oat, #e8d8ce) 48%,
      var(--rose, #b98f88) 70%,
      var(--cocoa, #7a6258) 88%,
      var(--espresso, #3b2f2a) 100%
    );
  }
}
