/* A wall of small medical images, with a quiet center for the paper title. */
.hero-stage {
  max-width: 1200px;
  margin-inline: auto;
  min-height: 620px;
  border-color: #33343d;
  border-radius: 32px;
  background: #08090d;
}

.hero-gallery-viewport {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.hero-scans {
  z-index: auto;
  inset: auto;
  top: 50%;
  left: 50%;
  width: calc(100% + 180px);
  min-width: 1120px;
  display: grid;
  grid-template-columns: repeat(10,minmax(0,1fr));
  grid-template-rows: none;
  align-items: start;
  gap: 10px;
  padding: 70px 18px;
  overflow: hidden;
  border-radius: 0;
  transform: translate(-50%,-50%);
}

.hero-scan-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-scan-column:nth-child(4n + 1) {
  transform: translateY(-72px);
}

.hero-scan-column:nth-child(4n + 2) {
  transform: translateY(26px);
}

.hero-scan-column:nth-child(4n + 3) {
  transform: translateY(-26px);
}

.hero-scan-column:nth-child(4n) {
  transform: translateY(64px);
}

.hero-scans .hero-scan {
  flex: 0 0 auto;
  aspect-ratio: 1.08;
  border: 1px solid #ffffff20;
  border-radius: 12px;
  background: #0c0d12;
  box-shadow: 0 8px 24px #0005;
}

.hero-scans .hero-scan--portrait {
  aspect-ratio: .86;
}

.hero-scans .hero-scan--landscape {
  aspect-ratio: 1.3;
}

.hero-scans .hero-scan img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
  filter: saturate(.72) contrast(1.04);
  transform: none;
}

.hero-scans .hero-scan--scan img {
  object-fit: contain;
  padding: 7%;
}

.hero-scans .hero-scan--flip img {
  transform: scaleY(-1);
}

.hero-scans .hero-scan span {
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 10px 8px;
  color: #e1e3ee;
  background: linear-gradient(transparent,#08090dcc);
  font-size: 8px;
  letter-spacing: .1em;
  opacity: .7;
}

.hero-shade {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 47%,#08090dfa 0%,#08090df0 27%,#08090da8 52%,#08090d20 82%),
    linear-gradient(0deg,#08090de6,transparent 24%,transparent 78%,#08090d70);
}

.hero-shade::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 90px 12px #08090d66;
}

.hero-copy {
  max-width: 820px;
  padding: 80px 28px 100px;
  text-shadow: 0 2px 22px #08090d99;
}

.hero-eyebrow {
  margin-bottom: 24px;
  font-size: 10px;
  letter-spacing: .17em;
  color: #cdd2e3;
}

.hero h1 {
  font-size: clamp(66px,7.2vw,104px);
}

.hero-subtitle {
  margin-top: 24px;
  font-size: clamp(28px,2.7vw,36px);
}

.hero-description {
  max-width: 490px;
  margin-top: 20px;
  color: #bfc2d0;
  font-size: 15px;
}

.hero-actions {
  margin-top: 30px;
}

.hero-actions .button:not(.button-primary) {
  background: #12131bd9;
  border-color: #535663;
}

.hero-actions .button:not(.button-primary):hover {
  background: #262833;
  border-color: var(--accent);
}

.hero-bottom {
  color: #a2a6b7;
  font-size: 8px;
  letter-spacing: .13em;
}

@media(max-width:820px) {
  .hero-stage {
    min-height: 610px;
    border-radius: 28px;
  }

  .hero-copy {
    padding: 72px 24px 90px;
  }

  .hero h1 {
    font-size: 80px;
  }

  .hero-subtitle {
    font-size: 32px;
  }

  .hero-description {
    max-width: 450px;
    font-size: 14px;
  }
}

@media(max-width:560px) {
  .hero-stage {
    min-height: 640px;
    border-radius: 24px;
  }

  .hero-scans {
    min-width: 1080px;
    gap: 10px;
    transform: translate(-50%,-50%);
  }

  .hero-scan-column {
    gap: 10px;
  }

  .hero-scans .hero-scan {
    border-radius: 10px;
  }

  .hero-scans .hero-scan span {
    font-size: 7px;
  }

  .hero-shade {
    background:
      radial-gradient(ellipse at 50% 47%,#08090df7 0%,#08090de8 31%,#08090d75 67%,#08090d30 100%),
      linear-gradient(0deg,#08090de6,transparent 26%,transparent 80%,#08090d80);
  }

  .hero-copy {
    padding: 70px 18px 88px;
  }

  .hero-eyebrow {
    margin-bottom: 24px;
    font-size: 8px;
    letter-spacing: .11em;
  }

  .hero h1 {
    font-size: 66px;
  }

  .hero-subtitle {
    margin-top: 22px;
    font-size: 28px;
  }

  .hero-description {
    max-width: 330px;
    font-size: 13px;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-bottom {
    font-size: 7px;
    letter-spacing: .02em;
  }
}

@media(max-width:360px) {
  .hero h1 {
    font-size: 58px;
  }

  .hero-subtitle {
    font-size: 26px;
  }

  .hero-eyebrow {
    font-size: 7px;
  }
}
