/* Preserve the approved type and palette; one clipped frame per full word. */
#hero-title {
  row-gap: clamp(7px, 0.7vw, 14px);
  isolation: isolate;
}
#hero-title .hero-line {
  display: block;
  overflow: clip;
  perspective: none;
  padding-bottom: 0.03em;
}
#hero-title .hero-word {
  display: block;
  max-width: 100%;
  margin: 0;
  overflow: visible;
  perspective: none;
  transform-style: flat;
  will-change: auto;
  line-height: 1.08;
  transition: none;
}
.hero.is-exploring #hero-title .hero-word {
  opacity: 1 !important;
}
/* The first visible object is the real scene. There is no alternate-camera poster. */
.hero[data-env-mode="workshop"] .drawing-ribbon:not(.ready) {
  background: none;
}
.hero[data-env-mode="workshop"] .drawing-ribbon:not(.ready) .workshop-diorama {
  visibility: visible;
}
#drawing-ribbon #scan-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 450ms ease-out;
}
.hero[data-scene-ready="true"] #drawing-ribbon #scan-scene { opacity: 1; }
.workshop-diorama__photo {
  background: none;
  transform: scale(1.08);
  filter: none;
  transition: none;
  will-change: transform;
}
.workshop-backdrop {
  position: absolute;
  inset: 0;
  background: url("assets/hero/workshop-bay-wide.jpg") center 54% / cover no-repeat;
}
.workshop-backdrop--sharp { filter: brightness(.78) saturate(1.05); }
.workshop-backdrop--soft {
  filter: blur(8.5px) brightness(.66) saturate(1.05);
  opacity: 0;
}
.hero .turbine-caption {
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  #drawing-ribbon #scan-scene { transition: none; }
}

/* Match the poster and video frame exactly; no second image fades over the flight. */
.hero.scene-video #workshop-diorama { display: none; }
.hero.scene-video #scan-fallback { display: block; position: absolute; inset: 0; }
#hero-title { transition: none; }
