/* ============================================================
   B4B GLOBAL EDGE · The Trust Gap Events (v2)
   Layers on top of edge.css + homepage-v2.css (hero, secnav, scroll
   reveals, .v2-zoom/.v2-video-controls) + case-study-v2.css (the
   spacious .cs-* article system: cs-sec, cs-head, cs-marks, cs-chapter,
   cs-photo, cs-names, cs-quote, cs-voices, cs-zoom). Only loaded by
   trust-gap-series-v2.html.
   ============================================================ */

/* ---------- hero: eyebrow + lede join the h1/cta-row reveal sequence ---------- */
.v2-hero .v2-label{
  opacity:0; transform:translateY(24px); margin-bottom:1rem; text-align:center;
}
body.ready .v2-hero .v2-label{animation:heroLine 1s var(--ease) .05s forwards}
.v2-hero .lede{
  margin:1.1rem auto 0; max-width:46ch; color:rgba(255,255,255,.88);
  opacity:0; transform:translateY(24px);
}
body.ready .v2-hero .lede{animation:heroLine 1s var(--ease) .55s forwards}

/* ---------- attendee brand wall: real logos where we have a verified
   one, plain wordmark text (matching .cs-names) for the rest ---------- */
.tg-logos{
  display:flex; flex-wrap:wrap; justify-content:center; align-items:center;
  gap:clamp(1.6rem,4vw,2.6rem) clamp(2rem,4.5vw,3rem);
  max-width:58rem; margin:clamp(2rem,4vw,3rem) auto 0;
}
.tg-logos img{height:26px; width:auto; max-width:130px; object-fit:contain; display:block}
.tg-logos .txt{
  font-family:var(--disp); font-weight:var(--w-medium); font-size:clamp(1.1rem,2vw,1.5rem);
  color:var(--haze); white-space:nowrap;
}

/* ---------- quote portraits: a small circular photo above the guest's
   name, for the voices that have one supplied ---------- */
/* (portrait sizing moved to case-study-v2.css so every case study shares it) */

/* ---------- the Trust Report band: a small, tight strip rather than a
   full section, so it reads as a footnote CTA and not a repeat pitch ---------- */
/* the white room section above supplies the space overhead (its bottom padding), so this band only pads below, by the same amount, and the film drops its own bottom margin: the text then sits centred between the film and the dark section below */
#room .cs-zoom{margin-bottom:0}
.tg-band-v2{padding:0 0 clamp(4.5rem,10vw,7.5rem)}
.tg-band-v2 .cs-head{max-width:56rem}
.tg-band-v2 .cta-row{justify-content:center; margin-top:2rem}

/* ============================================================
   NEXT EVENT · an editorial feature rather than a stacked list:
   a big pull-number, a full-bleed photo break, and the discussion
   points read as a numbered magazine sidebar instead of plain bullets.
   ============================================================ */

/* the "20" reuses .cs-headline-result's giant-numeral treatment, just
   sized down a step since it isn't the page's single biggest moment */
.tg-stat .num{font-size:clamp(4.5rem,12vw,7rem)}

/* full-bleed photo: breaks out of .wrap the same way .cs-zoom does,
   a big cinematic band rather than a small boxed photo in the column */
.tg-event-photo{position:relative; width:100%; aspect-ratio:21/9; overflow:hidden; margin:clamp(3rem,6vw,4.5rem) 0}
.tg-event-photo img{width:100%; height:100%; object-fit:cover; display:block}
@media (max-width:700px){ .tg-event-photo{aspect-ratio:4/5} }

/* discussion points as a numbered two-column sidebar, left-aligned
   within each cell rather than one long centred list */
.tg-topics{
  display:grid; grid-template-columns:repeat(2,1fr); column-gap:3rem; row-gap:1.6rem;
  max-width:52rem; margin:clamp(2.5rem,5vw,3.5rem) auto 0; text-align:left; list-style:none;
}
.tg-topics li{display:flex; gap:1rem; align-items:baseline}
.tg-topics .n{
  flex:none; font-family:var(--disp); font-weight:var(--w-medium); font-size:var(--fs-h3);
  line-height:1; color:var(--teal);
}
.tg-topics p{margin:0; color:#FFFFFF; font-size:var(--fs-copy)}
@media (max-width:700px){ .tg-topics{grid-template-columns:1fr} }

.tg-headliner{margin-top:clamp(2.5rem,5vw,3.5rem)}

@media (max-width:640px){
  .v2-hero .lede{max-width:none}
}

/* hero photograph: fills the hero like the film used to */
.v2-hero > img.hero-img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; background:#000}
/* a brighter photograph needs a stronger scrim than the film did, so the headline stays readable */
.v2-hero:has(> img.hero-img) .scrim{
  background:linear-gradient(180deg, rgba(9,18,15,.62) 0%, rgba(9,18,15,.55) 45%, rgba(9,18,15,.78) 100%);
}

/* the film in the photo break is shown uncropped: a 16:9 frame, like every other film on the site */
.tg-event-photo:has(.vm){
  width:min(calc(100vw - (var(--pad) * 2)), 68rem); aspect-ratio:16/9;
  margin-left:auto; margin-right:auto; border-radius:18px;
}
@media (max-width:700px){
  .tg-event-photo:has(.vm){width:100%; aspect-ratio:16/9; border-radius:0}
}
