/* Overrides apply only to the phone layout; desktop/tablet grids stay intact. */
@media (max-width: 768px) {
  /* Kosmos numerals extend above their line box more than Marck did. */
  .hero .since { margin-top: 15px; margin-bottom: 15px;}
  .hero .since .script { font-size: 1.05em; }
  :is(.advisory, .values) .slider-arrow {
    font-size: 0;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 10px;
    border-radius: 0;
  }
  :is(.advisory, .values) .slider-arrow[data-scroll="-1"] {
    background-image: url("../assets/mobile-prev.svg");
  }
  :is(.advisory, .values) .slider-arrow[data-scroll="1"] {
    background-image: url("../assets/mobile-next.svg");
  }

  /* Coordinates measured from the 440px mobile reference.
     Scale the entire 420 × 273 cloud together, including the staggered rows. */
  .hero .hero-tags {
    position: relative;
    display: block;
    width: min(100%, 420px);
    max-width: none;
    aspect-ratio: 420 / 273;
    margin: 26px auto 0;
  }
  .hero .hero-tags span {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40.47619%;
    height: 17.21612%;
    padding: 0;
    font-size: clamp(11px, 3.40909vw, 15px);
    line-height: 1;
    transform: none;
  }
  .hero .hero-tags span:nth-child(1) { left: 6.19048%; top: 0; }
  .hero .hero-tags span:nth-child(2) { left: 36.66667%; top: 11.35531%; }
  .hero .hero-tags span:nth-child(3) { left: 9.28571%; top: 26.73993%; }
  .hero .hero-tags span:nth-child(4) { left: 57.85714%; top: 27.83883%; }
  .hero .hero-tags span:nth-child(5) { left: 8.09524%; top: 47.61905%; z-index: 2; }
  .hero .hero-tags span:nth-child(6) { left: 50%; top: 47.61905%;        width: 44%; }
  .hero .hero-tags span:nth-child(7) { left: 57.85714%; top: 62.27106%; }
  .hero .hero-tags span:nth-child(8) { left: 19.52381%; top: 66.00366%; }
  .hero .hero-tags span:nth-child(9) { left: 3.33333%; top: 81.55678%; }
  .hero .hero-tags span:nth-child(10) { left: 51.90476%; top: 83.15018%; }
  .hero .hero-chat { margin-top: 19px; }
}
