/* The original A-and-ribbon panel becomes the homepage's focal artwork. */
.hero-sculpture {
  display: flex;
  align-items: center;
  min-height: 760px;
  height: min(1020px, 100svh);
  background: radial-gradient(ellipse at 78% 56%, #1d2445 0%, #101c39 35%, #091632 70%);
}

.hero-sculpture .hero-content {
  z-index: 3;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
}

.hero-sculpture #hero-title {
  max-width: 58%;
  font-size: clamp(48px, 5.1vw, 76px);
  line-height: 1.16;
  letter-spacing: -.035em;
  margin-bottom: 38px;
}

.hero-sculpture .button { pointer-events: auto; }

.hero-sculpture .hero-art {
  position: absolute;
  z-index: 1;
  right: -1.5%;
  top: 50%;
  width: min(62vw, 1050px);
  height: auto;
  aspect-ratio: 1;
  max-width: none;
  margin: 0;
  transform: translateY(-44%);
  pointer-events: none;
}

.hero-art .sculpture-mask {
  inset: 3% 3% 5%;
  background: linear-gradient(155deg, #7066b2 0%, #8472c9 58%, #a58bfa 100%);
  filter: none;
  animation: none;
}

/* Keep the A's original gradient and facets, without an interior wave texture. */
.hero-art .sculpture-mask::before {
  content: none;
}

/* One continuous ribbon spans the hero and shared-purpose introduction. */
.hero-flow-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 78% 34%, #1d2445 0%, #101c39 35%, #091632 70%);
}

.hero-flow-stage .hero-sculpture,
.hero-flow-stage .intro {
  isolation: auto;
  background: transparent;
}

.hero-flow-stage .hero-sculpture { overflow: visible; }

.hero-flow-stage .intro-grid {
  position: relative;
  z-index: 3;
}

.hero-flow-stage .intro-grid h2,
.hero-flow-stage .intro-copy {
  text-shadow: 0 1px 3px #091632, 0 0 14px rgba(9, 22, 50, .8);
}

.hero-flow-stage .hero-background-wave {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  opacity: .94;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 90px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 calc(100% - 90px), transparent 100%);
  pointer-events: none;
}

.hero-art .sculpture-backdrop {
  position: absolute;
  inset: -8% -5% -6% -12%;
  opacity: .72;
  background: url('assets/hero-angular-backdrop.svg') center / contain no-repeat;
}

.hero-art .sculpture-shadow { opacity: .2; }

.hero-art .sculpture-outline {
  inset: 12% 4% auto;
  height: auto;
  opacity: .045;
}

.home-page .intro { padding-bottom: 136px; }


@media (min-width: 1800px) {
  .hero-sculpture .hero-art { right: max(0px, calc((100vw - 1860px) / 2)); }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .hero-sculpture #hero-title { font-size: 5.1vw; }
  .hero-sculpture .hero-art { right: -5%; width: 64vw; }
}

@media (max-width: 900px) {
  .hero-sculpture {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    height: auto;
    background: radial-gradient(ellipse at 63% 65%, #1d2445 0%, #101c39 36%, #091632 76%);
  }
  .hero-sculpture .hero-content { padding-top: 142px; padding-bottom: 20px; }
  .hero-sculpture #hero-title {
    max-width: 100%;
    font-size: clamp(31px, 7.92vw, 56px);
    margin-bottom: 28px;
  }
  .hero-sculpture .hero-art {
    position: relative;
    inset: auto;
    width: min(100%, 620px);
    height: auto;
    margin: 8px auto 42px;
    transform: none;
  }
  .hero-art .sculpture-mask { inset: 2% 4% 5%; }
  .home-page .intro { padding-bottom: 100px; }
}

@media (max-width: 420px) {
  .hero-sculpture .hero-content { padding-top: 132px; padding-bottom: 16px; }
  .hero-sculpture .hero-art { margin-top: 16px; margin-bottom: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-flow-stage .hero-background-wave { opacity: .65; }
}
