/* —— Hero —— */
.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: clamp(200px, 24vw, 260px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #3a3834;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Wide banner: machines live on the right; bias crop toward them */
  object-position: 78% 48%;
  display: block;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.58) 0%,
    rgba(0, 0, 0, 0.32) 34%,
    rgba(0, 0, 0, 0.08) 58%,
    transparent 72%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: var(--space-3) var(--space-4);
  animation: hero-rise 0.7s var(--ease) both;
}

.hero-title {
  margin: 0 0 var(--space-2);
  font-size: clamp(26px, 4.5vw, 40px);
  font-weight: 800;
  color: #fff;
  text-wrap: balance;
  max-width: 16ch;
}

.hero-lead {
  margin: 0;
  max-width: 36ch;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1.02);
  }
}

