/* Illustration / homepage visual upgrade */
.page-home .hero{
  padding: 34px 0 26px;
}
.page-home .hero-grid{
  grid-template-columns: minmax(0, 1fr) minmax(520px, 680px);
  gap: 44px;
  align-items: center;
}
.hero-art-stage{
  min-height: 560px;
  padding: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background:
    radial-gradient(420px 240px at 14% 14%, rgba(225,29,72,.10), transparent 65%),
    radial-gradient(420px 260px at 88% 8%, rgba(20,184,196,.12), transparent 62%),
    linear-gradient(180deg,#ffffff 0%, #eef5fc 100%);
}
.hero-art-stage::after{
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16,35,58,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,35,58,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: .55;
}
.hero-art-media,
.hero-art-media img,
.service-figure picture,
.service-figure img,
.cta-illustration picture,
.cta-illustration img{
  display: block;
  width: 100%;
  height: auto;
}
.hero-art-media{
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
}
.hero-floating-card{
  z-index: 2;
  font-size: 14px;
}
.hero-floating-card strong{
  font-size: 14px;
}
.hero-floating-card span{
  font-size: 12px;
}
.hero-floating-card-a{top: 18px; left: 18px;}
.hero-floating-card-b{right: 18px; bottom: 24px;}
.service-figure{
  padding: 0;
  background: linear-gradient(180deg,#f8fbff 0%, #eef5fc 100%);
}
.service-figure img{
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.service-card h3{
  font-size: clamp(20px, 2vw, 24px);
}
.cta-card{
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 28px;
}
.cta-illustration{
  align-self: stretch;
  display: flex;
  align-items: center;
}
.cta-illustration picture{
  background: linear-gradient(180deg,#f8fbff 0%, #eef5fc 100%);
  border: 1px solid var(--ui-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(16,35,58,.08);
}
.cta-actions{
  margin-top: 18px;
}
/* Keep public marketing pages light for readability */
html[data-theme="dark"] .page-home,
html[data-theme="dark"] .page-home .hero,
html[data-theme="dark"] .page-home .home-band,
html[data-theme="dark"] .page-home .service-card,
html[data-theme="dark"] .page-home .work-card,
html[data-theme="dark"] .page-home .cta-card,
html[data-theme="dark"] .page-home .hero-art-stage{
  color: var(--ui-text);
}
@media (max-width: 1100px){
  .page-home .hero-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-art-stage{
    min-height: 460px;
  }
}
@media (max-width: 760px){
  .hero-art-stage{
    min-height: 320px;
    padding: 10px;
  }
  .hero-floating-card{
    max-width: 180px;
    padding: 10px 12px;
  }
  .hero-floating-card-a{top: 10px; left: 10px;}
  .hero-floating-card-b{right: 10px; bottom: 10px;}
  .cta-card{
    grid-template-columns: 1fr;
  }
}


@keyframes heroDrift{
  0%,100%{transform:translateY(0px)}
  50%{transform:translateY(-10px)}
}
@keyframes cardLift{
  0%,100%{transform:translateY(0px)}
  50%{transform:translateY(-6px)}
}
.hero-art-media{animation:heroDrift 6s ease-in-out infinite;}
.service-card:nth-child(1) .service-figure picture{animation:cardLift 5.2s ease-in-out infinite;}
.service-card:nth-child(2) .service-figure picture{animation:cardLift 5.6s ease-in-out infinite;}
.service-card:nth-child(3) .service-figure picture{animation:cardLift 5.9s ease-in-out infinite;}
.service-card:nth-child(4) .service-figure picture{animation:cardLift 6.2s ease-in-out infinite;}
.cta-illustration picture{animation:heroDrift 6.4s ease-in-out infinite;}
@media (prefers-reduced-motion: reduce){
  .hero-art-media,
  .service-card .service-figure picture,
  .cta-illustration picture{animation:none !important;}
}
