.hero-media {
  position: relative;
  display: grid;
  justify-self: end;
  min-width: 0;
  width: 100%;
  max-width: 840px;
  min-height: clamp(360px, 38vw, 570px);
  aspect-ratio: 16 / 10;
  place-items: center;
  overflow: hidden;
  padding: clamp(18px, 3vw, 34px);
  isolation: isolate;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 62% 40%, rgba(53, 209, 121, 0.22), transparent 36%),
    radial-gradient(circle at 74% 64%, rgba(255, 255, 255, 0.08), transparent 30%);
  content: '';
  pointer-events: none;
}

.hero-ambient,
.hero-canvas,
.hero-fallback {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-ambient {
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  filter: blur(1px) saturate(0.72) contrast(1.08);
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse at 58% 48%, black 0 42%, transparent 72%);
  mask-image: radial-gradient(ellipse at 58% 48%, black 0 42%, transparent 72%);
  pointer-events: none;
  user-select: none;
}

.hero-canvas {
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 280ms ease;
}

.hero-fallback {
  inset: 0;
  object-fit: contain;
  opacity: 1;
  transition: opacity 280ms ease;
}

.action-report-card {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, 620px);
  gap: 18px;
  border: 1px solid rgba(216, 247, 220, 0.26);
  background: rgba(10, 14, 10, 0.84);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
  padding: clamp(18px, 3vw, 28px);
}

.report-card-top {
  display: grid;
  gap: 8px;
}

.report-card-top span,
.action-report-card dt {
  color: #35d179;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-card-top strong {
  color: #f7f4eb;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 0.98;
}

.action-report-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(247, 244, 235, 0.16);
  margin: 0;
  background: rgba(247, 244, 235, 0.12);
}

.action-report-card dl div {
  min-width: 0;
  background: rgba(8, 10, 8, 0.92);
  padding: 13px;
}

.action-report-card dd {
  min-width: 0;
  margin: 7px 0 0;
  color: #f7f4eb;
}

.action-report-card code {
  overflow-wrap: anywhere;
}

.action-report-card pre {
  overflow-x: auto;
  margin: 0;
  border: 1px solid rgba(53, 209, 121, 0.28);
  background: #050805;
  padding: 15px;
  color: #d8f7dc;
}

.action-report-card pre code {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.hero-media.is-scene-ready .hero-canvas {
  opacity: 1;
}

.hero-media.is-scene-ready .hero-fallback {
  opacity: 0;
}

@media (max-width: 1180px) {
  .hero-media {
    justify-self: stretch;
    max-width: 920px;
    min-height: clamp(330px, 58vw, 560px);
  }
}

@media (max-width: 560px) {
  .hero-media {
    min-height: auto;
    aspect-ratio: auto;
    overflow: visible;
    padding: 18px;
  }

  .action-report-card dl {
    grid-template-columns: 1fr;
  }

  .action-report-card pre {
    display: none;
  }
}
