/* The Peaks Factory uses a blue accent with the existing orange action. */
.sewes-peaks {
  --peaks-blue: #1456a0;
  --peaks-blue-wash: #e8f1fb;
}

.sewes-peaks__title-accent {
  color: var(--peaks-blue);
}

.sewes-peaks__feature-icon {
  background: var(--peaks-blue-wash);
  color: var(--peaks-blue);
}

.sewes-peaks__cta svg {
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sewes-peaks__visual-stage {
  position: relative;
  grid-area: visual;
  min-width: 0;
}

/* The Owner's stamp is its own layer, so the left part can sit on the white
   field while the right part crosses the photograph without being clipped. */
.sewes-peaks__stamp {
  position: absolute;
  z-index: 2;
  top: -8px;
  left: -123px;
  display: block;
  width: 330px;
  height: auto;
  transform: rotate(-15deg);
  pointer-events: none;
  user-select: none;
}

/* The approved case artwork is wide; this frame keeps both real interfaces
   prominent inside the established homepage L03 composition. */
.sewes-peaks__visual {
  position: relative;
  aspect-ratio: 1.05 / 1;
  overflow: hidden;
  border-radius: 14px;
}

.sewes-peaks__visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -10px;
  left: -10px;
  width: 46%;
  height: 36%;
  background: linear-gradient(135deg, #fff 0 18%, rgba(255, 255, 255, .9) 27%, rgba(255, 255, 255, .45) 36%, transparent 52%);
  filter: blur(8px);
  pointer-events: none;
}

.sewes-peaks__visual-image {
  display: block;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: 15% center;
}

/* L03 keeps the proof image before its action on mobile. */
.sewes-peaks__actions {
  grid-area: actions;
  margin-top: 0;
  justify-self: start;
}

@media (min-width: 900px) {
  .sewes-peaks__inner {
    grid-template-areas: "copy visual" "actions visual";
    grid-template-rows: auto auto;
    align-content: center;
    row-gap: 24px;
  }
}

@media (min-width: 900px) and (max-width: 1365px) {
  .sewes-peaks__stamp {
    top: -16px;
    left: -65px;
    width: 290px;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .sewes-peaks__stamp {
    top: -20px;
    left: -36px;
    width: 240px;
  }
}

@media (max-width: 899px) {
  .sewes-peaks__inner {
    grid-template-areas: "copy" "visual" "actions";
    row-gap: 24px;
  }

  .sewes-peaks__visual {
    aspect-ratio: 16 / 9;
  }

  .sewes-peaks__visual-image {
    object-position: 31% center;
  }

  .sewes-peaks__visual-stage {
    padding-top: 70px;
  }

  .sewes-peaks__stamp {
    top: 40px;
    right: 42px;
    left: auto;
    width: 300px;
  }
}

@media (max-width: 599px) {
  .sewes-peaks__visual {
    aspect-ratio: 1.18 / 1;
  }

  .sewes-peaks__visual-image {
    object-position: 22% center;
  }

  .sewes-peaks__visual-stage {
    padding-top: 65px;
  }

  .sewes-peaks__stamp {
    top: 28px;
    right: 12px;
    width: 245px;
  }
}
