/* JDN Lab: JDN/GDN Agent illustration integration
   On-page background: #0c121e; hero background: #111a2a
   All provided .webp files include transparency and feathered glow.
   Keep original image aspect ratio; do not add rectangular backgrounds. */
:root { --gdn-site-bg: #0c121e; --gdn-hero-bg: #111a2a; }
.gdn-illustration {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent !important;
  border: 0;
  box-shadow: none;
  mix-blend-mode: normal;
}
.gdn-illustration--hero { max-width: 760px; margin-inline: auto; }
.gdn-illustration--card { max-width: 550px; margin-inline: auto; }
/* Keep art looking like part of the document, not a framed card. */
.gdn-illustration-wrap { background: transparent; border: 0; box-shadow: none; overflow: visible; }
@media (max-width: 760px) {
  .gdn-illustration--hero { max-width: 100%; }
}

/* Responsive placements for the existing JDN Lab sections. */
.hero-inner { column-gap: clamp(14px, 2.8vw, 40px); }
.hero-visual { margin-left: -8px; margin-right: -12px; align-self: center; }
.gdn-illustration--about { max-width: 100%; margin-inline: auto; }
.about-visual { aspect-ratio: auto; max-height: none; overflow: visible; background: transparent !important; box-shadow: none; border-radius: 0; }
.gdn-project-art { max-width: 550px; margin: 0 auto 16px; }
.gdn-direction-art { max-width: 550px; margin: 3px auto 6px; }
.gdn-illustration--service { max-width: 100%; margin: 0 0 10px; }
.gdn-illustration--contact { width: min(100%, 220px); max-width: 220px; margin: 0 auto; }
@media (max-width: 1100px) { .hero-visual { margin: 0; } }
@media (max-width: 760px) {
  .hero-inner { gap: 14px; }
  .hero-visual { width: min(100%, 500px); margin: 2px auto 17px; }
  .gdn-illustration--hero { max-width: 100%; }
  .about-visual { width: 100%; height: auto; }
  .gdn-illustration--service { width: 100%; }
  .gdn-illustration--contact { margin-inline: auto; }
}

/* QA polish: unified service illustration height and mascot navigation branding. */
.brand-avatar { display:block; width:40px; height:40px; flex:none; object-fit:contain; filter:drop-shadow(0 2px 7px #2cdfff44) }
.services-grid .service-item { display:flex; flex-direction:column; align-items:flex-start }
.services-grid .gdn-illustration--service { width:100%; height:auto; aspect-ratio:4/3; max-width:100%; margin:0 0 14px; object-fit:contain; flex:none }
@media(max-width:760px){.brand-avatar{width:35px;height:35px}}
