/* Worlds and pictures. */


.worlds-hero h1 {
  font-size: clamp(2.3rem, 6.4vw, 4rem);
  margin-bottom: var(--s5);
}

.worlds-hero .lede {
}

.section--flush {
  padding-top: 0;
}

.worlds-list {
  display: grid;
  gap: clamp(40px, 7vw, 88px);
}

.world-row {
  /* .settle--left/--right start their children translated sideways. Without
     this, that offset counts toward document width and adds a few pixels of
     horizontal scroll on a narrow phone before the reveal lands. */
  overflow-x: clip;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 52px);
  align-items: center;
}

.world-row--flip .world-row__art {
  order: 2;
}

.world-row__art img {
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 8px 0 var(--card-bevel-hero), 0 24px 38px var(--card-shadow);
}

.world-row__n {
  display: block;
  font-family: 'Baloo 2', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-card-muted);
  margin-bottom: var(--s2);
}

.world-row__copy h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: var(--s1);
}

.world-row__sub {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  color: var(--play-blue);
  margin-bottom: var(--s4);
}

.world-row__copy .chip {
  margin-right: var(--s2);
}

@media (max-width: 800px) {
  .world-row,
  .world-row--flip {
    grid-template-columns: 1fr;
  }

  .world-row--flip .world-row__art {
    order: 0;
  }

  .world-row__art img {
    max-width: 260px;
  }
}

/* --- Packs --------------------------------------------------------------- */

.packs {
  display: grid;
  gap: var(--s7);
}

.pack h2 {
  font-size: 1.5rem;
  margin-bottom: var(--s4);
}

.pack ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--s3);
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}

.pack img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-thumb);
  box-shadow: 0 5px 0 var(--card-bevel), 0 12px 20px var(--card-shadow);
  transition: transform var(--react-up) var(--ease-out);
}

@media (hover: hover) {
  .pack img:hover {
    transform: translateY(-4px) scale(1.02);
  }
}
