/* Hosts cover section — 16:9 layered recreation of the podcast cover.
   Sizing uses container-query units (cqw) so every layer scales with the frame. */
.cover {
  position: relative;
  z-index: 3;
  background: var(--bc-deep-charcoal, #0D0D0F);
  color: var(--bc-pure-white, #fff);
  display: grid;
  place-items: center;
  container-type: inline-size;
  --enter: 1;
}
.cover-frame {
  position: relative;
  width: min(100cqw, calc(100vh * 16 / 9));
  aspect-ratio: 16 / 9;
  overflow: hidden;
  container-type: inline-size;
  isolation: isolate;
}
.cover .cover-sky {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; max-width: none;
  transform: translate3d(0, calc((1 - var(--enter)) * 4cqw), 0);
  opacity: calc(.35 + .65 * var(--enter));
}
.cover .cover-people {
  position: absolute; z-index: 2; right: -0.5cqw; bottom: 0; width: 55cqw; height: auto; max-width: none;
  transform: translate3d(calc((1 - var(--enter)) * 5cqw), calc((1 - var(--enter)) * 4cqw), 0);
  opacity: var(--enter);
}
.cover-copy {
  position: absolute; z-index: 3; left: 6.2cqw; top: 6.6cqw; width: 46cqw;
  transform: translate3d(calc((1 - var(--enter)) * -5cqw), 0, 0);
  opacity: var(--enter);
}
.cover-title {
  font-family: var(--bc-font-display, "Belanosima", sans-serif);
  font-weight: 700; font-size: 6.9cqw; line-height: 1.05; letter-spacing: -0.02em;
  display: inline-block; white-space: nowrap; margin: 0; text-transform: none;
  background: var(--bc-gradient-display, linear-gradient(90deg, #FFF3A8, #F8A3FF));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0.06em 0.12em 0.14em 0.04em; margin-left: -0.04em;
}
.cover-tag {
  font-family: var(--bc-font-body, "Sora", sans-serif);
  font-weight: 600; font-size: 2.55cqw; line-height: 1.28; letter-spacing: -0.01em;
  margin-top: 1.4cqw; max-width: 31cqw; color: #fff;
}
.cover-pill {
  position: absolute; bottom: 0; z-index: 4;
  font-family: var(--bc-font-body, "Sora", sans-serif); font-weight: 700; font-size: 1.8cqw; line-height: 1;
  color: #fff; padding: 1.2cqw 2.6cqw; background: var(--bc-gradient-ui-diag, linear-gradient(135deg, #8B5CF6, #FF9466));
  opacity: var(--enter);
}
.cover-pill.is-s { left: 47.5cqw; border-radius: 1.8cqw 1.8cqw 0 0; }
.cover-pill.is-a { right: 1.5cqw; border-radius: 1.8cqw 1.8cqw 0 0; }

/* blend from the hero: a feathered dark edge rises over the hero's last frames as the section enters */
.cover.is-blend::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 38vh; z-index: 6; pointer-events: none;
  background: linear-gradient(180deg, rgba(13,13,15,0) 0%, rgba(13,13,15,.35) 40%, rgba(13,13,15,.8) 78%, #0D0D0F 100%);
}

/* mobile: taller 4:5 frame, stacked */
@media (max-width: 700px) {
  .cover-frame { width: 100cqw; aspect-ratio: 4 / 5; }
  .cover.is-blend::before { height: 24vh; }
  .cover .cover-sky { height: 70%; top: auto; bottom: 0; }
  .cover-copy { left: 8cqw; top: 14cqw; width: 84cqw; }
  .cover-title { font-size: 12.6cqw; }
  .cover-tag { font-size: 5.1cqw; max-width: 66cqw; margin-top: 3cqw; }
  .cover .cover-people { width: 96cqw; right: -2cqw; }
  .cover-pill { font-size: 3.8cqw; padding: 2.6cqw 5cqw; border-radius: 3.6cqw 3.6cqw 0 0 !important; }
  .cover-pill.is-s { left: 8cqw; }
  .cover-pill.is-a { right: 3.5cqw; }
}
@media (prefers-reduced-motion: reduce) {
  .cover { --enter: 1 !important; }
  .cover .cover-sky, .cover .cover-people, .cover-copy, .cover-pill { transform: none !important; opacity: 1 !important; }
}
