
/* Only the hero photograph and its existing caption are restyled. */
.hero-media{container-type:inline-size;padding-bottom:87.5px}
.hero-photo{height:calc(100cqw * 941 / 1672);aspect-ratio:auto}
.hero-photo img{height:100%;width:100%;object-fit:cover}
.hero-badge{position:absolute;left:0;right:0;bottom:0;width:auto;max-width:none;height:87.5px;margin:0;border:0;border-radius:0;box-shadow:none;justify-content:flex-start;padding:18px 24px;gap:14px}
.badge-icon{flex-shrink:0}
@media(max-width:600px){.hero-badge{padding:14px 18px}.hero-badge strong br{display:block}.hero-badge strong{line-height:1.25}.hero-media{padding-bottom:87.5px}}

.hero-media{border-radius:18px;overflow:hidden;background:#dedbd4}
.hero-photo{position:static;overflow:visible;border-radius:0;background:none}
.hero-photo img{position:absolute;inset:0;height:100%;object-position:50% 40%}
.hero-badge{height:134px;align-items:flex-end;padding:28px;background:linear-gradient(transparent,#17202bc9);color:white}
.hero-badge small{color:#ffffffd9}
.hero-badge .badge-icon{border-color:#ffffff80;color:#fff;margin-bottom:4px}


/* Fade the complete photograph into the actual page background. */
.hero-media {
  border-radius: 0 18px 18px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.03) 3%, rgba(0,0,0,.12) 6.5%, rgba(0,0,0,.28) 11%, rgba(0,0,0,.5) 15%, rgba(0,0,0,.72) 19%, rgba(0,0,0,.88) 23.5%, rgba(0,0,0,.97) 27%, #000 30%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.03) 3%, rgba(0,0,0,.12) 6.5%, rgba(0,0,0,.28) 11%, rgba(0,0,0,.5) 15%, rgba(0,0,0,.72) 19%, rgba(0,0,0,.88) 23.5%, rgba(0,0,0,.97) 27%, #000 30%);
}
.hero-photo img { object-position: 84% 50%; }
.hero-badge {
  justify-content: flex-end;
  text-align: right;
  background: linear-gradient(transparent, #17202bbf);
}
.hero-badge .badge-icon { align-self: flex-end; }
@media (min-width: 1000px) {
  .hero-media {
    margin-left: -100px;
    width: calc(100% + 100px);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.04) 2%, rgba(0,0,0,.16) 4.5%, rgba(0,0,0,.36) 7.5%, rgba(0,0,0,.62) 10.5%, rgba(0,0,0,.83) 13%, rgba(0,0,0,.96) 15.5%, #000 18%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.04) 2%, rgba(0,0,0,.16) 4.5%, rgba(0,0,0,.36) 7.5%, rgba(0,0,0,.62) 10.5%, rgba(0,0,0,.83) 13%, rgba(0,0,0,.96) 15.5%, #000 18%);
  }
  .hero-photo { height: calc((100cqw - 100px) * 941 / 1672); }
}
/* Keep both the painter and ladder visible when the hero stacks. */
@media (max-width: 999px) {
  .hero-photo { height: calc(100cqw * .6 - 87.5px); }
  .hero-media {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.1) 3%, rgba(0,0,0,.35) 6%, rgba(0,0,0,.65) 10%, rgba(0,0,0,.9) 14%, #000 18%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.1) 3%, rgba(0,0,0,.35) 6%, rgba(0,0,0,.65) 10%, rgba(0,0,0,.9) 14%, #000 18%);
  }
}
@media (min-width: 601px) and (max-width: 999px) {
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .hero-copy { max-width: 680px; }
  .hero-copy h1 { font-size: clamp(42px,6vw,56px); }
  .hero-copy > p { max-width: 610px; font-size: 14px; line-height: 1.6; }
  .hero-actions { flex-direction: row; max-width: none; }
  .hero-actions .button { min-height: 44px; font-size: 12px; }
  .hero-benefits li { font-size: 12px; }
  .hero-media { width: 100%; margin: 0; }
  .hero-badge strong { font-size: 12px; }
  .hero-badge small { font-size: 10px; }
}
@media (max-width: 600px) {
  .hero-badge { padding: 20px; }
}
