/* Scroll lens timeline */
.lens-stage {
  min-height: 270vh;
  overflow: hidden;
}

.lens-sticky {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(280px, 0.55fr) minmax(320px, 1fr);
  gap: clamp(24px, 6vw, 78px);
  align-items: center;
  padding: 32px max(16px, calc((100vw - 1180px) / 2));
}

.lens-copy {
  align-self: center;
}

.lens-board {
  position: relative;
  display: grid;
  min-height: min(70vh, 620px);
  overflow: hidden;
  border: 1px solid rgba(17, 19, 21, 0.15);
  border-radius: 8px;
  background:
    linear-gradient(rgba(17, 19, 21, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 21, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 30px 30px;
  box-shadow: 0 28px 76px rgba(17, 19, 21, 0.14);
  padding: clamp(18px, 4vw, 34px);
}

.lens-meter {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 22px;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 19, 21, 0.1);
}

.lens-meter span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ink);
  transform: scaleX(0.16);
  transform-origin: left center;
}

.lens-track {
  position: relative;
  display: grid;
  min-height: 100%;
  align-items: center;
}

.lens-panel {
  position: absolute;
  inset: 70px 0 0;
  display: grid;
  align-content: end;
  gap: 14px;
  border: 1px solid rgba(17, 19, 21, 0.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 72% 24%, var(--tone), transparent 34%),
    rgba(255, 255, 255, 0.64);
  padding: clamp(18px, 4vw, 34px);
  will-change: transform, opacity;
}

.lens-panel small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lens-panel strong {
  max-width: 8ch;
  font-size: clamp(42px, 10vw, 112px);
  line-height: 0.82;
  text-transform: uppercase;
}

.lens-ring {
  position: absolute;
  left: 10%;
  top: 22%;
  width: clamp(150px, 22vw, 260px);
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: rgba(104, 216, 214, 0.12);
  box-shadow: 0 20px 48px rgba(17, 19, 21, 0.18);
  pointer-events: none;
  will-change: transform;
}

.lens-ring::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px dashed rgba(17, 19, 21, 0.34);
  border-radius: inherit;
}

@media (max-width: 840px) {
  .lens-sticky {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .lens-stage {
    min-height: auto;
  }

  .lens-board {
    min-height: 520px;
  }
}
