.mhs-hero {
  position: relative;
  height: 165vh;
  --mhs-progress: 0;
  --mhs-header-offset: 0px;
  --mhs-viewport-h: calc(100vh - var(--mhs-header-offset));
  --mhs-center-y: 47%;
}

.mhs-hero-sticky {
  position: sticky;
  top: 0;
  height: var(--mhs-viewport-h);
  overflow: clip;
}

.mhs-hero-inner {
  position: relative;
  width: 100%;
  height: var(--mhs-viewport-h);
  overflow: hidden;
  isolation: isolate;
}

.mhs-hero-orange {
  position: absolute;
  right: 0;
  top: var(--mhs-center-y);
  width: 60vw;
  height: 66vh;
  background: #ed8024;
  mix-blend-mode: multiply;
  transform: translateY(-50%);
  z-index: 2;
}

.mhs-hero-image-wrap {
  position: absolute;
  inset: 0;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  transform: none;
  overflow: hidden;
  z-index: 1;
  /* Reveal progressivo: da porzione centrale a immagine piena */
  clip-path: inset(
    calc((1 - var(--mhs-progress)) * 28%)
    calc((1 - var(--mhs-progress)) * 22%)
    calc((1 - var(--mhs-progress)) * 28%)
    calc((1 - var(--mhs-progress)) * 22%)
  );
  -webkit-clip-path: inset(
    calc((1 - var(--mhs-progress)) * 28%)
    calc((1 - var(--mhs-progress)) * 22%)
    calc((1 - var(--mhs-progress)) * 28%)
    calc((1 - var(--mhs-progress)) * 22%)
  );
  will-change: clip-path;
}

.mhs-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.mhs-hero-card-wrap {
  position: absolute;
  left: 50%;
  right: auto;
  top: var(--mhs-center-y);
  width: min(30vw, 540px);
  transform: translateY(-50%);
  z-index: 3;
}

.mhs-hero-card {
  position: relative;
  padding-left: 1.6rem;
}

.mhs-hero-card::before {
  content: none;
}

.mhs-hero-title::before {
  content: "";
  position: absolute;
  left: -20px;
  top: calc(var(--mhs-line-baseline) - var(--mhs-line-h));
  width: 2px;
  height: var(--mhs-line-h);
  background: rgba(255, 255, 255, 0.92);
}

.mhs-hero-kicker {
  margin-bottom: calc(1.05rem + 50px);
  color: #fff;
  font-size: clamp(1rem, 1vw, 1.45rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mhs-hero-title {
  margin: 0;
  max-width: none;
  width: 100%;
  --mhs-line-h: clamp(78px, 9.2vw, 126px);
  --mhs-line-baseline: 0.82em;
  position: relative;
  color: #fff;
  font-family: 'Antic Didone', Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 3.5vw, 5rem);
  line-height: 0.98;
}

@media (max-width: 980px) {
  .mhs-hero,
  .mhs-hero-sticky,
  .mhs-hero-inner,
  .mhs-hero-image-wrap,
  .mhs-hero-orange {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  .mhs-hero {
    height: auto;
  }

  .mhs-hero-sticky {
    position: relative;
    height: auto;
    display: block;
  }

  .mhs-hero-inner {
    height: clamp(340px, 58vh, 520px);
    min-height: 0;
    overflow: hidden;
    isolation: isolate;
  }

  .mhs-hero-orange {
    position: absolute;
    inset: 0 !important;
    right: auto;
    top: auto;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    mix-blend-mode: multiply;
    opacity: 1;
    z-index: 2;
  }

  .mhs-hero-image-wrap {
    position: absolute;
    inset: 0 !important;
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    transform: none;
    z-index: 1;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    will-change: auto;
  }

  .mhs-hero-img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center center;
  }

  .mhs-hero-card-wrap {
    position: relative;
    z-index: 3;
    left: auto;
    right: auto;
    width: 100%;
    height: 100%;
    top: 0;
    transform: none;
    margin: 0;
    display: flex;
    align-items: flex-end;
  }

  .mhs-hero-card {
    width: 100%;
    padding: 1.4rem 1rem 1.4rem 1.25rem;
    margin-left: 20px;
  }

  .mhs-hero-kicker {
    font-size: 0.95rem;
    margin-bottom: 0.9rem;
  }

  .mhs-hero-title {
    width: 100%;
    max-width: 18ch;
    --mhs-line-h: clamp(62px, 13vw, 92px);
    --mhs-line-baseline: 0.82em;
    font-size: clamp(1.9rem, 6.4vw, 2.5rem);
    line-height: 1.02;
  }

  .mhs-hero-title::before {
    top: calc(var(--mhs-line-baseline) - var(--mhs-line-h));
    height: var(--mhs-line-h);
  }
}
