/* Home page option B: real people around the ring.
   A person appears only for the panels where a person is really in the call:
   left = the caller, right = the person it reaches, top = the person it is passed up to. */
.home-b .home-hero { --ring-height: clamp(238px, calc(100svh - 482px), 310px); }
.home-b .home-hero::after {
  background:
    radial-gradient(ellipse at 50% 45%, rgb(12 19 16 / 26%) 30%, rgb(5 12 10 / 56%) 100%),
    linear-gradient(110deg, rgb(15 23 20 / 64%), rgb(15 23 20 / 70%) 52%, rgb(15 23 20 / 64%));
}
.ring-people {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--rp-top, 30%);
  height: var(--rp-h, 300px);
  pointer-events: none;
  z-index: 2;
}
.rp {
  position: absolute;
  margin: 0;
  width: var(--rp-w, 178px);
  opacity: 0;
  /* opacity is set from the ring's position; this only softens quick jumps when a panel is clicked */
  transition: opacity .45s ease;
}
.rp--left { right: calc(50% + var(--ring-height) * 1.415 + 26px); top: 50%; margin-top: calc(var(--rp-w, 178px) * -.78); }
.rp--right { left: calc(50% + var(--ring-height) * 1.415 + 26px); top: 50%; margin-top: calc(var(--rp-w, 178px) * -.78); }
.rp img,
.rp__ph {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgb(244 240 232 / 16%),
    0 0 0 6px #202724,
    0 0 0 7px #47534b,
    0 30px 44px -26px rgb(0 0 0 / 75%);
  filter: saturate(.86) contrast(1.03) brightness(.96);
}
.rp__ph { display: none; }
.rp.is-empty img { display: none; }
.rp.is-empty .rp__ph {
  display: grid;
  place-items: center;
  background: #202724;
  box-shadow: 0 0 0 1px #56635a;
  outline: 1px dashed #87978a;
  outline-offset: -8px;
  color: #c4cbc5;
  font-size: 13px;
  letter-spacing: .04em;
  filter: none;
}
.rp figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #dfe4de;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.rp figcaption::before { content: ""; width: 14px; height: 1px; background: #f5b82e; }
.rp--right figcaption { justify-content: flex-end; }
.rp--right figcaption::before { order: 2; }

/* the person a call is passed up to sits where the logo is, only while that panel is in front */
.rp--top {
  left: var(--rp-hub-x, 50%);
  top: var(--rp-hub-y, 0);
  width: var(--rp-hub-w, 150px);
  transform: translate(-50%, -50%);
}
.rp--top img,
.rp--top .rp__ph { aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 1px rgb(244 240 232 / 20%), 0 0 0 5px #202724, 0 0 0 7px #f5b82e, 0 18px 30px -14px rgb(0 0 0 / 80%); }
.rp--top figcaption { display: none; }
.home-b .wc-r-hub { transition: opacity .45s ease; }

@media (max-width: 1099px) {
  .rp--left, .rp--right { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rp, .home-b .wc-r-hub { transition: none; }
}

/* Mr C 29-11 22:46: reserve room for a two-line caption pill (text + pill padding) so the strapline and buttons never move, and give a little more air below it. */
.home-hero .wc-r-description { height: calc(2lh + var(--wc-pill-inset-y)); margin-bottom: 14px; }
