/* Home: mobile portfolio, aligned scores and horizontal-only pricing rail. */
@media (max-width: 899px) {
  .home-page .work--top .pcard__focus {
    display: none;
  }

  /* Equal-height grid cells share a baseline even when a label wraps. */
  .home-page .scores > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .home-page .scores dt {
    overflow-wrap: anywhere;
  }

  .home-page .scores dd {
    margin-top: auto;
    font-size: min(clamp(4.5rem, 11vw, 13rem), 18vw);
  }

  /* overflow-x:auto otherwise makes the vertical axis scrollable too. */
  .home-page .plans {
    overflow-y: hidden;
  }

  /* Off-screen reveal translations must not enlarge the rail's scroll area.
     Retain the opacity reveal and let each card use its full natural height. */
  .reveal-on .home-page .plans > .plan[data-reveal] {
    transform: none;
  }
}

/* Phones: keep the seal at its layout position. Tablets retain the ride.
   Override translate itself because JavaScript updates --ride while scrolling. */
@media (max-width: 767px) {
  .home-page .seal {
    translate: none;
  }
}
