/* =========================================================================
   COLLABORATIONS — inner page
   Hero/crumb/consult and the belt marquee come from vbs.css / folds.css
   (shared components, unmodified). This file only adds the academic
   partnership cards and the industry logo strip.
   ========================================================================= */

.cx-collab {
  position: relative;
  padding: var(--fold-y) var(--gutter);
  background: var(--void);
}
.cx-head {
  max-width: var(--page);
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
}
.cx-lead {
  margin: 0;
  max-width: 68ch;
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--ink-mid);
}

/* --- academic partnerships — an alternating editorial row per partner,
   not a grid of equal cards: the three paragraphs run from two sentences
   to a full paragraph, and a 3-up grid forced them into identical boxes
   with a shrunk-down logo on top of each. A row gives the longest one room
   and lets the middle partner's photo read as a photo, not a squashed logo. */
.cx-rows {
  max-width: var(--page);
  margin: 0 auto clamp(3.5rem, 7vw, 5rem);
  padding: 0;
  list-style: none;
}
.cx-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2.25rem, 5vw, 3.5rem) 0;
}
.cx-row + .cx-row { border-top: var(--hair) solid rgba(var(--white-rgb), 0.1); }
.cx-row--rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.cx-row--rev .cx-row-media { order: 2; }
.cx-row--rev .cx-row-copy { order: 1; }

.cx-row-media {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  min-height: 160px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-md);
  background: #fff;
}
.cx-row-media img { display: block; max-width: 100%; max-height: 120px; object-fit: contain; }
.cx-row-media--pair img { max-height: 90px; }
/* the School of Broadcasting image is a real photograph, not a logo — a
   full-bleed framed photo rather than a logo tile on white */
.cx-row-media--photo {
  padding: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface);
  border: var(--hair) solid rgba(var(--white-rgb), 0.13);
}
.cx-row-media--photo img {
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  object-fit: cover;
}

.cx-row-copy { display: flex; flex-direction: column; gap: 0.5rem; }
.cx-row-no {
  margin: 0;
  font-family: var(--font-poster);
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.cx-row-h {
  margin: 0 0 0.4rem;
  font-family: var(--font-poster);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.005em;
  color: var(--ink);
}
.cx-row-body { margin: 0; font-size: var(--fs-body); line-height: 1.72; color: var(--ink-mid); max-width: 62ch; }
.cx-visit { align-self: flex-start; margin-top: 0.5rem; }

@media (max-width: 860px) {
  .cx-row,
  .cx-row--rev { grid-template-columns: minmax(0, 1fr); }
  .cx-row--rev .cx-row-media,
  .cx-row--rev .cx-row-copy { order: initial; }
}

/* --- industry logo strip -------------------------------------------------
   Flex-wrap rather than a grid: eleven logos don't divide evenly into any
   column count, and a grid leaves whatever the last row is short by as a
   gap on the right. Flex with justify-content: center folds that short row
   in on itself instead, so five logos on their own row read as a
   deliberate close, not a ragged leftover. */
.cx-logos {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}
.cx-logos li {
  flex: 0 1 clamp(120px, 15vw, 180px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 1.8vw, 1.25rem);
  border-radius: var(--r-md);
  background: #fff;
  border: 2px solid rgba(0, 0, 0, 0.1);
  transition: border-color var(--t-1) var(--ease),
              transform var(--t-1) var(--ease),
              box-shadow var(--t-1) var(--ease);
}
.cx-logos img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.cx-logos li:hover {
  border-color: #111;
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .cx-logos li { transition: none; }
}
