/* ============================================================
   Off- Grid Storage — page styles
   Desktop geometry measured at a 1440px viewport against
   _source/spec/off-grid-storage-1-ref-1440.png
   ============================================================ */

/* ---------- hero ---------- */

.off-hero {
  background: var(--gray);
}

.off-hero__inner {
  height: 876px;
}

.off-hero__title {
  position: absolute;
  top: 50px;
  left: 8px;
  font-size: 145px;
  line-height: 145px;
  letter-spacing: 0;
  white-space: nowrap;
}

.off-hero__subtitle {
  position: absolute;
  top: 193px;
  left: 20px;
  font-size: 24px;
  line-height: 24px;
  letter-spacing: 2.4px;
  white-space: nowrap;
}

.off-hero__copy {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.off-hero__copy > * {
  pointer-events: auto;
}

.off-hero__h3 {
  position: absolute;
  left: 20px;
  margin: 0;
  font-size: 24px;
  line-height: 24px;
  letter-spacing: 2.4px;
}

.off-hero__h3--temporary {
  top: 295px;
}

.off-hero__h3--remote {
  top: 566px;
  left: 13px;
}

.off-hero__text {
  position: absolute;
  width: 485px;
}

.off-hero__text--temporary {
  top: 345px;
  left: 20px;
}

.off-hero__text--remote {
  top: 615px;
  left: 13px;
}

.off-hero__text p {
  margin: 0;
}

/* ---------- hover image ---------- */

.off-hero__media {
  position: absolute;
  top: 223px;
  left: 539px;
  width: 725px;
  height: 453px;
  margin: 0;
}

.off-hero__media .media-swap__frame {
  width: 100%;
  height: 100%;
}

.off-hero__badge {
  right: 11px;
  bottom: -75px;
  width: 185px;
  height: 185px;
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .off-hero__inner {
    height: auto;
    padding: 24px 28px 56px;
    width: auto;
    max-width: none;
  }

  .off-hero__title,
  .off-hero__subtitle {
    position: static;
    white-space: normal;
  }

  .off-hero__title {
    font-size: clamp(42px, 11vw, 96px);
    line-height: 1;
  }

  .off-hero__subtitle {
    margin-top: 12px;
    letter-spacing: 2px;
  }

  .off-hero__copy {
    position: static;
    margin-top: 36px;
    pointer-events: auto;
  }

  .off-hero__h3 {
    position: static;
    margin: 0 0 12px;
    letter-spacing: 1.6px;
  }

  .off-hero__h3--remote {
    margin-top: 32px;
  }

  .off-hero__text {
    position: static;
    width: auto;
    max-width: 560px;
  }

  .off-hero__media {
    position: static;
    width: 100%;
    height: auto;
    max-width: 725px;
    margin-top: 40px;
  }

  .off-hero__media .media-swap__frame {
    height: auto;
    aspect-ratio: 725 / 453;
  }

  .off-hero__media .media-swap__frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* display type weight to match the original's heavier face */
.off-hero__title,
.off-hero__subtitle,
.off-hero__h3 {
  font-weight: 700;
}
