.home-rocks-hero {
  position: relative;
  isolation: isolate;
  background: #101924;
  color: #f6ebdc;
  text-align: center;
}

.home-rocks-hero picture,
.home-rocks-hero picture img {
  display: block;
  width: 100%;
  height: auto;
}

.home-rocks-hero__title {
  position: absolute;
  inset-inline: 18px;
  top: clamp(22px, 3.4vw, 58px);
  margin: 0;
  color: inherit;
  font-family: var(--aster-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(48px, 5.2vw, 86px);
  font-weight: 400;
  line-height: 0.94;
}

.home-rocks-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 29%;
  background: linear-gradient(transparent, rgb(9 15 22 / 77%));
  pointer-events: none;
}

.home-rocks-hero picture {
  position: relative;
  z-index: -2;
}

.home-rocks-hero__footer {
  position: absolute;
  inset-inline: 12px;
  bottom: clamp(13px, 3.5%, 30px);
}

.home-rocks-hero__designs {
  margin: 0 0 10px;
  color: inherit;
  font-size: clamp(13px, 1.05vw, 16px);
  letter-spacing: 0.04em;
}

.home-rocks-hero__shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 23px;
  border: 1px solid #f6ebdc;
  background: #f6ebdc;
  color: #151c24;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.home-rocks-hero__shop:hover {
  background: #fff8ed;
  color: #151c24;
}

.home-rocks-hero__shop:focus-visible {
  outline: 2px solid #f6ebdc;
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .home-rocks-hero::after {
    display: none;
  }

  .home-rocks-hero__title,
  .home-rocks-hero__designs {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
