/* Unified BeyondVoid black-hole hero for all four pages.
   Equal hero heights, cover scaling and position keep the black hole fixed
   between navigation changes. Scene effects are desktop-only. */
.editorial-home .atg-hero,
.atg-page .pg-hero,
.atg-page .pg-contact-hero {
  height: 100svh;
  min-height: 680px;
  max-height: 1080px;
}

.editorial-home .atg-hero .atg-hero-image,
.atg-page .pg-hero .pg-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/scene.webp');
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translate3d(var(--scene-x, 0px), var(--scene-y, 0px), 0) scale(1.09);
  transition: transform .3s ease-out;
  will-change: transform;
}

/* Keep Contact orange without losing the shared black-hole composition. */
.atg-page .pg-contact-hero {
  background-color: #ff7832;
}
.atg-page .pg-contact-hero::before {
  display: block;
  background: linear-gradient(90deg, rgba(255,120,50,.9) 0%, rgba(255,120,50,.83) 100%);
}
.atg-page .pg-contact-hero .pg-hero-bg {
  filter: saturate(.8) contrast(.9);
}

@media (max-width:700px) {
  .editorial-home .atg-hero,
  .atg-page .pg-hero,
  .atg-page .pg-contact-hero {
    height: 90svh;
    min-height: 650px;
    max-height: none;
  }

  .editorial-home .atg-hero .atg-hero-image,
  .atg-page .pg-hero .pg-hero-bg {
    background-position: 50% 50%;
  }
}

@media (max-width:900px), (pointer:coarse), (prefers-reduced-motion:reduce) {
  .editorial-home .atg-hero .atg-hero-image,
  .atg-page .pg-hero .pg-hero-bg {
    transform: scale(1.065) !important;
    transition: none;
    will-change: auto;
  }
}

/* Intrinsic text width is required for fitting long EN/FR hero headings.
   Reveal masks continue to clip only the entrance animation, not the text. */
.editorial-home .atg-hero h1 .atg-line-ink,
.atg-page .pg-hero h1 .pg-line-inner {
  width: max-content;
  max-width: none;
  white-space: nowrap;
}
