/* Compact collection introductions while preserving the approved copy. */
.collection-tier-premium {
  padding-top: 66px;
  padding-bottom: 76px;
}

.collection-tier-core {
  padding-top: 72px;
}

.tier-heading {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  column-gap: 46px;
  margin-bottom: 52px;
}

.tier-heading .eyebrow {
  margin-bottom: 14px;
}

.tier-heading h2 {
  font-size: clamp(40px, 4.5vw, 62px);
}

.tier-heading > p:last-child {
  max-width: 520px;
  font-size: 13px;
  line-height: 1.58;
}

/* The gallery itself now communicates that more designs are available. */
.collection-block {
  position: relative;
}

.carousel-toolbar {
  position: relative;
  z-index: 8;
  height: 0;
  margin: 0;
  display: block;
  pointer-events: none;
}

.carousel-toolbar > p {
  display: none !important;
}

.carousel-buttons {
  position: absolute;
  top: clamp(168px, 18vw, 252px);
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity .2s ease, visibility .2s ease;
}

.collection-block:has(.product-grid:hover) .carousel-buttons,
.collection-block:has(.carousel-buttons:hover) .carousel-buttons {
  opacity: 1;
  visibility: visible;
}

.carousel-buttons button {
  pointer-events: auto;
  width: 48px;
  height: 48px;
  border-color: rgba(18, 17, 15, .42);
  background: rgba(243, 236, 223, .9);
  color: var(--ink);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(18, 17, 15, .16);
}

.collection-tier-premium .carousel-buttons button {
  border-color: rgba(243, 236, 223, .5);
  background: rgba(18, 17, 15, .84);
  color: var(--ivory);
}

.product-card {
  /* Three complete cards plus a preview of the fourth. */
  flex-basis: 29%;
}

/* Requested order for the Flight of Icarus chapter. */
#flight-of-icarus .product-card:nth-child(1) { order: 4; }
#flight-of-icarus .product-card:nth-child(2) { order: 3; }
#flight-of-icarus .product-card:nth-child(3) { order: 2; }
#flight-of-icarus .product-card:nth-child(4) { order: 1; }
#flight-of-icarus .product-card:nth-child(5) { order: 5; }
#flight-of-icarus .product-card:nth-child(6) { order: 6; }

@media (max-width: 1060px) and (min-width: 901px) {
  .product-card {
    flex-basis: 29%;
  }

  .carousel-buttons {
    top: clamp(168px, 20vw, 210px);
  }
}

@media (max-width: 900px) {
  .collection-tier-premium {
    padding-top: 58px;
    padding-bottom: 66px;
  }

  .collection-tier-core {
    padding-top: 64px;
  }

  .tier-heading {
    margin-bottom: 48px;
  }

  .tier-heading h2 {
    font-size: 44px;
  }

  .carousel-buttons {
    display: none;
  }

  .product-card {
    flex-basis: 84%;
  }
}
