/* The glass remains on the full hero; the isolated sculpture keeps its own alpha. */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.hero::before {
  background:
    radial-gradient(ellipse at 8% 3%, rgb(209 221 232 / 16%), transparent 62%),
    radial-gradient(ellipse at 90% 92%, rgb(245 208 0 / 5%), transparent 52%),
    linear-gradient(125deg, #1a2028, var(--night) 64%);
}

.hero::after {
  background:
    linear-gradient(116deg, transparent 22%, rgb(239 246 252 / 4%) 37%, transparent 51%),
    linear-gradient(180deg, rgb(248 249 250 / 2%), rgb(16 19 24 / 16%));
  -webkit-backdrop-filter: blur(28px) saturate(108%);
  backdrop-filter: blur(28px) saturate(108%);
  box-shadow:
    inset 0 1px 0 rgb(248 249 250 / 12%),
    inset 0 -1px 0 rgb(248 249 250 / 7%);
}

/* Keep the existing hero geometry and mobile artwork slot. The transparent image
   needs neither the old photo scrim nor the video edge masks. */
.hero-background.hero-swan {
  display: block;
  width: 100%;
  -webkit-mask-image: none;
  mask-image: none;
}

.hero-background.hero-swan::after {
  content: none;
}

.hero-background.hero-swan img {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  margin-left: auto;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 1001px) {
  .hero-background.hero-swan {
    /* Give the absolutely positioned image a definite desktop height. */
    height: 100%;
  }
}

@media (max-width: 1000px) {
  .hero-background.hero-swan img {
    width: 100%;
  }
}
