/* Focus lens scroll */
.focus-stage {
  min-height: auto;
  overflow: clip;
}

.focus-intro {
  display: grid;
  min-height: 62vh;
  align-content: end;
  padding: 40px max(16px, calc((100vw - 1180px) / 2)) 44px;
}

.focus-scroll {
  position: relative;
  min-height: 240vh;
  border-top: 1px solid rgba(17, 19, 21, 0.14);
}

.focus-viewport {
  position: sticky;
  top: 0;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: 32px max(16px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at 50% 50%, rgba(104, 216, 214, 0.22), transparent 34%),
    rgba(255, 255, 255, 0.38);
}

.focus-map {
  position: relative;
  width: min(100%, 980px);
  min-height: min(72vh, 620px);
  border: 1px solid rgba(17, 19, 21, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(17, 19, 21, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 19, 21, 0.06) 1px, transparent 1px),
    #f7f2e8;
  background-size: 42px 42px;
  box-shadow: var(--shadow);
}

.focus-lens {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  display: grid;
  width: clamp(124px, 18vw, 210px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(17, 19, 21, 0.22);
  border-radius: 50%;
  background: rgba(104, 216, 214, 0.34);
  box-shadow: 0 28px 60px rgba(17, 19, 21, 0.16);
  color: #111315;
  font-weight: 950;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.focus-lens::before {
  position: absolute;
  inset: 14%;
  content: "";
  border: 1px dashed rgba(17, 19, 21, 0.28);
  border-radius: inherit;
}

.focus-card {
  position: absolute;
  display: grid;
  width: min(42vw, 280px);
  min-height: 150px;
  align-content: end;
  border: 1px solid rgba(17, 19, 21, 0.15);
  border-radius: 8px;
  padding: 18px;
  background: var(--tone);
  box-shadow: 0 18px 42px rgba(17, 19, 21, 0.14);
  color: #111315;
  will-change: transform, opacity;
}

.focus-card:nth-child(2) {
  left: 6%;
  top: 10%;
}

.focus-card:nth-child(3) {
  right: 7%;
  top: 18%;
}

.focus-card:nth-child(4) {
  left: 14%;
  bottom: 12%;
}

.focus-card:nth-child(5) {
  right: 13%;
  bottom: 8%;
}

.focus-card small {
  color: rgba(17, 19, 21, 0.58);
  font-weight: 850;
  text-transform: uppercase;
}

.focus-card h2 {
  margin: 12px 0 0;
  font-size: clamp(25px, 4vw, 46px);
  line-height: 0.92;
}

@media (max-width: 760px) {
  .focus-map {
    min-height: 680px;
  }

  .focus-card {
    width: min(76vw, 260px);
  }

  .focus-card:nth-child(2),
  .focus-card:nth-child(3),
  .focus-card:nth-child(4),
  .focus-card:nth-child(5) {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .focus-card:nth-child(2) {
    top: 5%;
  }

  .focus-card:nth-child(3) {
    top: 30%;
  }

  .focus-card:nth-child(4) {
    top: 55%;
    bottom: auto;
  }

  .focus-card:nth-child(5) {
    top: 78%;
    bottom: auto;
  }
}
