@import url('/assets/site-base.css');

/* Reliable brand lockup: use the cache-busted transparent SVG instead of the older raster header asset. */
.nav > a[title="AgenticForge Labs homepage"] {
  display: block;
  width: clamp(9.75rem, 16vw, 13rem);
  aspect-ratio: 1100 / 786;
  flex: 0 0 auto;
  background: url('/assets/agenticforge-title-banner.svg?v=20260905c') center / contain no-repeat;
}
.nav > a[title="AgenticForge Labs homepage"] .brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  background: transparent;
}

/* Homepage flagship visual. The verified build-generated image is used directly,
   with the same image also retained as a CSS background fallback. */
.hero-grid-workcell {
  grid-template-columns: minmax(0, 1.03fr) minmax(22rem, .97fr);
  gap: clamp(1rem, 3.2vw, 3.2rem);
}
.hero-workcell {
  position: relative;
  z-index: 2;
  width: min(100%, 42rem);
  margin: 0;
  justify-self: end;
  align-self: center;
  overflow: hidden;
  border-radius: 1.45rem;
  background:
    url('/assets/agenticforge-hero-workcell-v3.webp?v=20260905g') center / contain no-repeat,
    radial-gradient(circle at 52% 48%, rgba(34, 211, 238, .09), transparent 46%),
    #000;
  border: 1px solid rgba(103, 232, 249, .18);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .32), 0 0 48px rgba(34, 211, 238, .08);
}
.hero-workcell img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  opacity: 1;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  color: var(--site-cyan);
  font-weight: 700;
  white-space: nowrap;
  vertical-align: middle;
}
.footer-social svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  fill: currentColor;
}
.footer-social:hover { color: #fff; }

.video-feature {
  background:
    radial-gradient(circle at 84% 14%, rgba(34, 211, 238, .12), transparent 28%),
    radial-gradient(circle at 12% 88%, rgba(139, 92, 246, .12), transparent 32%),
    var(--site-panel);
}
.video-feature .section-heading { max-width: 56rem; }
.video-frame {
  position: relative;
  width: min(100%, 68rem);
  margin: 1.5rem auto 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1.35rem;
  background: #000;
  border: 1px solid rgba(103, 232, 249, .22);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .34), 0 0 42px rgba(34, 211, 238, .08);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-actions {
  justify-content: center;
  margin-top: 1.1rem;
}

@media (min-width: 901px) {
  .hero-grid-workcell .hero-copy { position: relative; z-index: 3; }
  .hero-workcell { margin-left: -1.25rem; }
}

@media (max-width: 900px) {
  .hero-grid-workcell { grid-template-columns: 1fr; }
  .hero-workcell {
    justify-self: center;
    width: min(100%, 38rem);
  }
}

@media (max-width: 700px) {
  .nav > a[title="AgenticForge Labs homepage"] {
    width: min(13rem, 72vw);
  }
  .hero-workcell {
    border-radius: 1.1rem;
  }
  .footer-social { margin-top: .3rem; }
  .video-frame { border-radius: 1rem; }
  .video-actions { justify-content: flex-start; }
}
