/* ============================================================
   GRID+CLUB — THE ROLLING LOGO WALL
   Partner marks rolling behind, photography in front.

   The logos are deliberately held back — low opacity, no colour.
   They are the wall the photographs are pinned to, not the subject.
   Colour lives in the partners band further down the page, where the
   marks are the point and get their hover treatment.
   ============================================================ */

.lwall {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 8rem);
  border-block: 1px solid var(--line);
  background: var(--surface);
}

/* ---------- the rolling backdrop ---------- */
.logowall {
  position: absolute; inset: 0;
  z-index: 0;
  display: grid;
  align-content: center;
  gap: clamp(2rem, 6vw, 5rem);
  pointer-events: none;
}

.logowall__row {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  width: max-content;
  will-change: transform;
}

.logowall__row img {
  height: clamp(1.6rem, 3.4vw, 3.2rem);
  width: auto;
  flex: none;
  opacity: 0.16;
  /* White marks on the dark surface. The -w assets are already the
     knocked-out versions, so no filter is needed to strip colour. */
}

/* A soft edge so the rows do not simply stop at the section border. */
.lwall::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
    var(--surface), transparent 14%, transparent 86%, var(--surface));
}

/* ---------- the photographs ---------- */
.lwall__inner { position: relative; z-index: 2; }

.lwall__head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: clamp(1.6rem, 3.5vw, 3rem);
}

.lwall__shots {
  display: grid;
  gap: clamp(0.8rem, 2vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  align-items: center;
}

.lwall__fig {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ground);
  aspect-ratio: 4 / 5;
  /* Lifted off the wall, which is the whole reason the logos are
     behind rather than beside. */
  box-shadow: 0 1.5rem 3rem -1rem rgb(0 0 0 / 0.65);
}
/* Alternating offsets so the row is pinned up, not laid out. */
.lwall__fig:nth-child(even) { transform: translateY(clamp(0.8rem, 2vw, 2.2rem)); }
.lwall__fig:nth-child(3n)   { aspect-ratio: 4 / 3; }

.lwall__fig img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--d4) var(--ease-out);
}
.lwall__fig:hover img { transform: scale(1.05); }

.lwall__fig figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.55rem 0.7rem;
  background: linear-gradient(transparent, rgb(0 0 0 / 0.75));
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .logowall__row { will-change: auto; }
  .lwall__fig img { transition: none; }
  .lwall__fig:hover img { transform: none; }
}
