/* The artwork floats directly on the page; its own panel shadows supply depth. */
.home-hero .hero-grid {
  width: min(1320px, calc(100% - 3rem));
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.fe-hero-art {
  min-width: 0;
  width: 100%;
  margin: 0;
}

.fe-hero-blend {
  mix-blend-mode: multiply;
  -webkit-mask-image: url('/static/images/forward-edge-execution-network-mask.svg');
  mask-image: url('/static/images/forward-edge-execution-network-mask.svg');
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.fe-hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1112 / 740;
}

.fe-hero-poster,
.fe-hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fe-hero-video {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.fe-hero-art.has-video-frame .fe-hero-video { opacity: 1; }

.fe-hero-labels {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.fe-hero-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 1rem;
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.6;
  text-align: center;
}

.fe-hero-motion {
  min-height: 32px;
  padding: 0.2rem 0;
  border: 0;
  border-bottom: 1px solid rgba(43, 95, 136, 0.3);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--steel);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.fe-hero-motion[hidden] { display: none; }
.fe-hero-motion:hover { color: var(--ink); }
.fe-hero-motion:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

@media (max-width: 980px) {
  .home-hero .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .fe-hero-art { max-width: 800px; justify-self: center; }
}

@media (max-width: 560px) {
  .home-hero .hero-grid { width: calc(100% - 2rem); gap: 1.25rem; }
  .fe-hero-caption { font-size: 0.68rem; }
}

@media (prefers-reduced-motion: reduce) {
  .fe-hero-video,
  .fe-hero-motion { display: none; }
}
