.hero {
  --hero-ink: #f5f2ff;
  --hero-base: #10132a;
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(23rem, 39vw, 30rem);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--hero-base);
  color: var(--hero-ink);
}

.hero-content {
  z-index: 1;
  width: min(100%, clamp(33rem, 55.5vw, 42rem));
  padding: clamp(1.75rem, 3.5vw, 2.9rem) clamp(1.5rem, 4.2vw, 3rem);
}

.hero-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero-kicker {
  margin-bottom: 1rem;
  color: var(--highlight);
  font-size: .84rem;
  font-weight: 750;
}

.hero-quotation {
  margin: 0;
  border-inline-start: 1px solid #dcc0e6;
  padding-inline-start: clamp(.72rem, 1.4vw, 1.15rem);
}

.hero-quote {
  margin: 0;
  color: var(--hero-ink);
  font: 500 clamp(1.62rem, 2.34vw, 2.02rem) / 1.32 var(--display);
  letter-spacing: -.022em;
  text-wrap: pretty;
}

.hero-quote-credit {
  margin-top: .75rem;
  color: #dfc9ed;
  font-size: .84rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .64rem;
  margin-top: 1.42rem;
}

.hero-actions .button { min-height: 2.85rem; }

.button.hero-secondary {
  border-color: #777ba0;
  background: #151a36dd;
  color: var(--hero-ink);
}

.button.hero-secondary:hover {
  border-color: var(--highlight);
  background: #272d50;
}

.hero-media {
  position: absolute;
  inset: 0 0 0 27%;
  overflow: hidden;
  background: #171b37;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--hero-base) 1%, #10132af7 19%, #10132abf 43%, #10132a36 61%, transparent 83%);
  content: "";
  pointer-events: none;
}

.hero-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 49%;
}

@media (50rem < width <= 62rem) {
  .hero-media::after {
    background: linear-gradient(90deg, var(--hero-base) 1%, #10132af5 28%, #10132aab 52%, #10132a18 76%);
  }
}

@media (max-width: 50rem) {
  .hero { min-height: 0; border-radius: 1rem; }
  .hero-content {
    width: min(100%, 43rem);
    grid-row: 2;
    padding: .3rem clamp(1.1rem, 4.5vw, 1.7rem) 1.5rem;
  }
  .hero-kicker { margin-bottom: .63rem; }
  .hero-quote { font-size: clamp(1.31rem, 4.65vw, 1.84rem); line-height: 1.35; }
  .hero-quote-credit { margin-top: .58rem; }
  .hero-actions { margin-top: 1.05rem; }
  .hero-actions .button { padding-inline: .68rem; font-size: .83rem; }

  .hero-media {
    position: relative;
    inset: auto;
    grid-row: 1;
    aspect-ratio: 1.84;
    max-height: 19rem;
  }

  .hero-media::after {
    background: linear-gradient(0deg, var(--hero-base), #10132a48 26%, transparent 55%);
  }
}
