.scroll-showcase {
  --showcase-header: 94px;
  position: relative;
  height: 360vh;
  min-height: 2200px;
  padding: 0;
  overflow: visible;
  background: #0b0b0d;
  border-block: 1px solid var(--line);
}

.scroll-showcase-sticky {
  position: sticky;
  top: var(--showcase-header);
  height: calc(100svh - var(--showcase-header));
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}

.scroll-showcase .download-copy {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: max(40px, calc((100vw - 1320px) / 2));
  width: min(38vw, 500px);
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  text-shadow: 0 2px 18px #000c;
}

.scroll-showcase .download-visual,
.scroll-showcase video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scroll-showcase .download-visual {
  z-index: 0;
  margin: 0;
  background: #09090b;
}

.scroll-showcase video {
  display: block;
  object-fit: cover;
  object-position: center;
  border: 0;
}

.scroll-showcase-sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #08080be8 0%, #08080b9e 27%, #08080b20 54%, transparent 72%),
    linear-gradient(0deg, #08080b8f 0%, transparent 24%);
}

.scroll-showcase figcaption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 18px;
  margin: 0;
  color: #d0d0d5;
  font-size: 9px;
  letter-spacing: .13em;
  text-align: right;
  pointer-events: none;
}

@media (max-width: 900px) {
  .scroll-showcase { height: 320vh; }
  .scroll-showcase .download-copy { left: 30px; width: min(45vw, 430px); }
  .scroll-showcase video { object-position: 60% center; }
}

@media (max-width: 700px) {
  .scroll-showcase {
    --showcase-header: 76px;
    height: 300vh;
    min-height: 1800px;
  }
  .scroll-showcase-sticky { min-height: 600px; }
  .scroll-showcase .download-copy {
    top: 0;
    left: 20px;
    width: calc(100% - 40px);
    max-width: 440px;
    padding-top: 32px;
    transform: none;
  }
  .scroll-showcase .download-copy h2 { font-size: 40px; }
  .scroll-showcase .download-copy .actions { max-width: none; flex-wrap: nowrap; }
  .scroll-showcase .download-copy .official-store { min-width: 0; flex: 1; }
  .scroll-showcase video { object-position: 70% center; }
  .scroll-showcase-sticky::after {
    background: linear-gradient(180deg, #09090bf2 0%, #09090bbd 35%, #09090b1a 63%, #09090b9c 100%);
  }
  .scroll-showcase figcaption { left: 20px; right: 20px; font-size: 8px; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-showcase { height: auto; min-height: 620px; }
  .scroll-showcase-sticky { position: relative; top: auto; height: 620px; }
}
