/* Gutenberg Home prototype: technical Hero only. */
/*
 * The legacy `.home .section-hero` background in style.css is `!important`.
 * Keep this exception scoped to the active Gutenberg Home so its approved
 * shading wins without changing the shared Hero geometry or other pages.
 */
section.art3d-home-hero,
body.home section.art3d-home-hero.section-hero {
  --hero-composition-lift: clamp(1.5rem, 80vh, 6.5rem);
  --hero-bg-lift: clamp(4rem, 7vh, 6rem);
  min-height: 100vh;
  width: 100vw;
  max-width: 100vw;
  margin-block: 0;
  margin-inline: calc(50% - 50vw);
  padding-inline: 0;
  color: var(--text-primary, #f3f8fb);
  font-family: var(--font-base, Inter, system-ui, sans-serif);
  font-size: 1rem;
  line-height: 1.65;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(0, 167, 216, 0.14) 0%, rgba(7, 11, 16, 0) 60%),
    #070b10 !important;
}

section.art3d-home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  height: calc(100vh - clamp(7rem, 15vh, 10rem));
  pointer-events: none;
  background-image: url('../images/home/hero/art3d-logo-mark.png');
  background-position: 0 0;
  background-repeat: repeat;
  background-size: clamp(42px, 4.4vw, 68px) auto;
  opacity: 0.012;
  filter: brightness(1.04) saturate(1.12) drop-shadow(0 0 8px rgba(0, 167, 216, 0.12));
}

section.art3d-home-hero + section.wp-block-group.art3d-home-studio {
  margin-block-start: 0;
  border-top: 0;
}

.art3d-home-block-placeholder {
  box-sizing: border-box;
  width: 100%;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px dashed rgba(0, 167, 216, 0.55);
  background: #102b43;
  color: #f4f8fb;
}

.art3d-home-block-placeholder p {
  margin: 0.5rem 0 0;
  color: rgba(244, 248, 251, 0.72);
}

@media (max-width: 768px) {
  .art3d-home-hero {
    --hero-composition-lift: 0rem;
    --hero-bg-lift: clamp(2rem, 6vh, 3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .art3d-home-hero *,
  .art3d-home-hero *::before,
  .art3d-home-hero *::after {
    scroll-behavior: auto;
  }
}
