/* ==========================================================================
   Small things — the low-price range, shown at its real scale.
   ========================================================================== */

.wl-small__wrap {
  max-width: var(--wl-container-wide);
  margin-inline: auto;
  padding-inline: var(--wl-gutter);
}

.wl-small__head {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wl-space-sm) var(--wl-space-xl);
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: var(--wl-space-lg);
  border-bottom: 1px solid var(--wl-rule);
}

.wl-small__heading {
  font-family: var(--wl-font-display);
  font-weight: 400;
  font-size: var(--wl-text-3xl);
  line-height: 1;
  letter-spacing: var(--wl-tracking-tight);
}

.wl-small__meta {
  font-size: var(--wl-text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wl-ink-soft);
}

.wl-small__lede {
  margin-top: var(--wl-space-xl);
  max-width: 52ch;
  font-family: var(--wl-font-display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--wl-text-lg);
  line-height: 1.45;
}

/* ---- the three ---------------------------------------------------------- */

.wl-small__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--wl-space-xl);
  margin-top: var(--wl-space-2xl);
}

@media (min-width: 46em) {
  .wl-small__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.wl-thing {
  display: flex;
  flex-direction: column;
  margin: 0;
}

/*
 * The stage keeps a wide margin around each object, because the band's whole
 * job is the jump in scale from something four feet across. But the margin
 * does the talking, not a tiny picture: these are the product and they have
 * to be seen. The room around them says small; the object stays legible.
 */
.wl-thing__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(300px, 31vw, 392px);
  padding: var(--wl-space-xl);
  background: var(--wl-sand);
  box-shadow: inset 0 0 0 1px var(--wl-rule);
}

.wl-section.is-sand .wl-thing__stage { background: var(--wl-ground); }

.wl-thing__object {
  position: relative;
  overflow: hidden;
  width: clamp(182px, 20vw, 252px);
  aspect-ratio: 1 / 1;
  background: var(--wl-ground);
  box-shadow: 0 14px 26px -16px rgb(0 0 0 / 50%);
  transition:
    transform 620ms var(--wl-ease),
    box-shadow 620ms var(--wl-ease);
}

.wl-thing:hover .wl-thing__object,
.wl-thing:focus-within .wl-thing__object {
  transform: translateY(-3px);
  box-shadow: 0 22px 38px -18px rgb(0 0 0 / 55%);
}

.wl-thing__object img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--wl-ease);
}

.wl-thing:hover .wl-thing__object img,
.wl-thing:focus-within .wl-thing__object img { transform: scale(1.06); }

/* The real-world size, in the corner of the empty space it needs. */
.wl-thing__size {
  position: absolute;
  left: var(--wl-space-md);
  bottom: var(--wl-space-sm);
  font-size: var(--wl-text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wl-ink-soft);
}

.wl-thing__name {
  margin-top: var(--wl-space-md);
  font-family: var(--wl-font-display);
  font-weight: 400;
  font-size: var(--wl-text-lg);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.wl-thing__note {
  margin-top: var(--wl-space-xs);
  max-width: 34ch;
  font-size: var(--wl-text-sm);
  line-height: 1.55;
  color: var(--wl-ink-soft);
}

/* ---- the one route out -------------------------------------------------- */

.wl-small__foot {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wl-space-lg) var(--wl-space-xl);
  align-items: center;
  justify-content: space-between;
  margin-top: var(--wl-space-2xl);
  padding-top: var(--wl-space-lg);
  border-top: 1px solid var(--wl-rule);
}

.wl-small__foot p {
  max-width: 46ch;
  font-size: var(--wl-text-sm);
  color: var(--wl-ink-soft);
}

.wl-small__foot p b {
  font-family: var(--wl-font-display);
  font-weight: 500;
  font-size: var(--wl-text-base);
  color: var(--wl-ink);
}

@media (prefers-reduced-motion: reduce) {
  .wl-thing__object,
  .wl-thing__object img { transition: none; }
}
