/* ============================================================
   GRID+CLUB: the join (section 4). The sport, plus the people.
   ============================================================ */
.join { position: relative; height: 320svh; background: #0a0a0a; }
/* The plus and the headline are ONE column anchored to the foot of the
   frame, so the plus always sits just above the words. It used to be
   centred on the screen while the words were anchored to the bottom, and
   whether they collided depended on the screen's shape. Every size below
   is capped by height as well as width, so a 32 inch monitor and a 13
   inch laptop get the same composition. */
.join__stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: clamp(0.6rem, 2.2vh, 1.6rem);
  padding-bottom: clamp(1.6rem, 6vh, 4rem);
}
.join__half {
  position: absolute; top: 0; bottom: 0; width: 50%; margin: 0; overflow: hidden;
  will-change: transform, opacity;
}
.join__half--sport  { left: 0; }
.join__half--people { right: 0; }
.join__half img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.92) contrast(1.08) brightness(0.72);
}
/* Each half fades to black at the seam, so the photos meet in shadow
   and the Plus is the only lit thing on the join. */
.join__half--sport::after,
.join__half--people::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0) 30%, rgba(10,10,10,0) 55%, rgba(10,10,10,0.92) 100%);
}
/* The seam fade is a MASK, not a black overlay. An overlay and the video
   under it are separate layers that snap to different pixels while the
   half slides in, which left a 1px sliver of video down the middle. A mask
   has no edge to misalign: the half itself fades to nothing. */
.join__half--sport  { -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent); mask-image: linear-gradient(90deg, #000 62%, transparent); }
.join__half--people { -webkit-mask-image: linear-gradient(270deg, #000 62%, transparent); mask-image: linear-gradient(270deg, #000 62%, transparent); }
.join__half figcaption {
  position: absolute; z-index: 2; top: clamp(5.5rem, 12vh, 8rem);
  display: grid; gap: 0.5rem;
}
.join__half--sport figcaption  { left: var(--gutter); }
.join__half--people figcaption { right: var(--gutter); text-align: right; }
.join__half figcaption .mono { color: var(--accent); }
.join__half figcaption b {
  font-family: var(--display-face); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2rem, 1rem + 4vw, 5rem); line-height: 0.9; color: var(--ink);
}

.join__plus {
  position: relative; z-index: 3; width: clamp(4.5rem, min(12vw, 15vh), 11rem); aspect-ratio: 1;
  flex: none;
  display: grid; place-items: center;
}
.join__plus svg { width: 100%; height: 100%; fill: var(--accent); filter: drop-shadow(0 0 28px color-mix(in srgb, var(--accent) 55%, transparent)); }
.join__bloom {
  position: absolute; inset: -140%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 38%, transparent), transparent 70%);
  opacity: 0; pointer-events: none;
}

.join__copy {
  position: relative; z-index: 4; width: 100%;
  display: grid; justify-items: center; gap: clamp(0.5rem, 1.6vh, 1rem); text-align: center; padding-inline: var(--gutter);
}
.join__h {
  display: grid; font-size: clamp(2rem, min(1rem + 4.4vw, 7.5vh), 5.6rem); line-height: 0.9; overflow: hidden;
}

.join__half .join__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.95) contrast(1.08) brightness(0.72);
}
/* One volt flash across the frame when the plus locks (join.js). */
.join__flash {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 70%, var(--accent), transparent 75%);
  opacity: 0; mix-blend-mode: screen;
}
.join__half--sport { background:
  radial-gradient(70% 55% at 50% 52%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
  #0a0a0a; }
.join__h > span { display: block; }
.join__meta { color: var(--ink); opacity: 0.8; }
.join__cta { justify-self: center; margin-top: 0.6rem; pointer-events: auto; }

/* Reduced motion, or no GSAP: the finished frame, no pinning. */
.join--static { height: auto; }
.join--static .join__stage { position: relative; min-height: 100svh; }

@media (max-width: 720px) {
  .join { height: 220svh; }
  .join__half figcaption { top: 5rem; }
  .join__half figcaption b { font-size: 1.8rem; }
}
