/* v6: pinned pricing driven by scroll, gyroscope rings that grow continuously, tilting cockpit at native quality. */

/* Cockpit: no filter or upscaling on the raster, so it renders at its own quality. */

.cell-shot img {
  width: 100%;
  margin-inline: 0;
  filter: none;
}

.shot-tilt {
  transition: transform 600ms var(--ease-out);
}

.shot-tilt.is-tilting {
  transition: transform 120ms linear;
}

/* Rings: --t (0..1) comes from the meter value, so they grow in as it moves. */

.gyro-axis,
.gyro-axis.is-on {
  --sc: calc(0.55 + 0.45 * var(--t, 0));
  opacity: var(--t, 0);
}

@media (min-width: 1101px) {
  .pricing {
    height: 320vh;
    padding-block: 0;
  }

  .pricing-pin {
    position: sticky;
    top: 0;
    height: 100svh;
    padding-top: calc(var(--header-h) + 8px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .pricing .section-head h2 {
    font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  }

  .pricing .section-head p {
    margin-top: 12px;
  }

  .pricing .scope {
    margin-top: 28px;
    padding: 32px 40px;
  }

  .pricing .gyro-stage {
    height: 260px;
    gap: 10px;
  }

  .pricing .gyro-stage .gyro {
    scale: 0.86;
  }

  .pricing-disclaimer {
    margin-top: 14px;
  }

  /* The scroll loop already eases these, extra transitions would only lag. */
  .pricing .scope-fill,
  .pricing .gyro-axis {
    transition: none;
  }
}

@media (min-width: 1101px) and (max-height: 820px) {
  .pricing .section-head p {
    display: none;
  }

  .pricing .gyro-stage {
    height: 210px;
  }

  .pricing .gyro-stage .gyro {
    scale: 0.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shot-tilt {
    transition: none;
  }
}
