/* Paper currents, original Lendquo hero artwork. */
.hero {
  background: linear-gradient(180deg, #f8f7f2 0%, #faf9f5 50%, #fff 92%);
  isolation: isolate;
}
.hero-glass {
  inset: 0;
  background: none;
  transform: none;
  mask-image: linear-gradient(#000 60%, transparent 94%);
  will-change: auto;
  overflow: hidden;
}
.hero-current {
  position: absolute;
  top: -90px;
  width: clamp(540px, 52vw, 940px);
  height: 1100px;
  transform-origin: center;
}
.hero-current img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  animation: paper-current-drift 19s ease-in-out infinite alternate;
}
.hero-current-left { left: -100px; }
.hero-current-right { right: -150px; top: -190px; }
.hero-current-right img {
  transform: scaleX(-1);
  animation-name: paper-current-return;
  animation-duration: 23s;
  animation-delay: -7s;
}
.hero-copy .eyebrow,
.hero-copy h1 {
  text-wrap: balance;
}
.hero-paper-light {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 32% 47% at 50% 26%, #faf9f5 20%, #faf9f5d9 55%, transparent 100%);
}
.hero-diagram {
  border-color: #9b9f8f24;
  background: none;
}
.hero-diagram:before,.hero-diagram:after { border-color: #9b9f8f24; }
@keyframes paper-current-drift {
  from { transform: translate3d(-8px,-8px,0) rotate(-1deg); }
  to { transform: translate3d(12px,13px,0) rotate(1deg); }
}
@keyframes paper-current-return {
  from { transform: scaleX(-1) translate3d(-10px,9px,0) rotate(-1deg); }
  to { transform: scaleX(-1) translate3d(9px,-12px,0) rotate(1deg); }
}
@media (max-width: 640px) {
  .hero-current { width: 470px; height: 970px; top: -30px; opacity: .8; }
  .hero-current-left { left: -175px; }
  .hero-current-right { right: -195px; top: -120px; }
  .hero-paper-light { background: radial-gradient(ellipse 47% 45% at 50% 24%, #faf9f5 15%, #faf9f5c9 60%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-current,.hero-current img { animation: none; }
  .hero-current { transform: none !important; }
}
body.motion-paused .hero-current { transform: none !important; }
