/* RC1.3-U approved V3 production lighting layer. */

:root {
  --v3-ambient-rgb: var(--ambient-rgb);
}

/* Candidate isolation: A and B differ only in the glyph-bound shadow. */
.pressure-title {
  text-shadow: none !important;
}

/* P3: remove only the redundant CSS matte surfaces. Intrinsic asset pixels remain untouched. */
[data-canonical-portfolio] figure.p-media,
[data-canonical-portfolio] figure.p-media > img {
  background: transparent !important;
}

/* P4: keep the accepted global carrier geometry and feed it the interpolated tone token. */
body::after {
  background:
    radial-gradient(ellipse var(--ambient-spread) var(--ambient-spread-y) at var(--ambient-x) var(--ambient-y), rgba(var(--v3-ambient-rgb), var(--ambient-intensity)), transparent 72%),
    radial-gradient(ellipse 24vw 18vw at calc(100% - var(--ambient-x)) calc(var(--ambient-y) + 10%), rgba(164, 176, 196, calc(var(--ambient-intensity) * 0.16)), transparent 78%),
    linear-gradient(90deg, rgba(5, 8, 13, 0.90), transparent 22%, transparent 78%, rgba(5, 8, 13, 0.82)),
    linear-gradient(to bottom, rgba(5, 8, 13, 0.16), rgba(5, 8, 13, 0.7));
}

#closing.closing-bplus::before {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .66) 96px, #000 220px);
  mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .66) 96px, #000 220px);
}

/* P1: both gradient centers are locked to the Logo center. Pointer controls strength only. */
#closing .bplus-studio__mark-wrap {
  --v3-studio-proximity: 0;
}

#closing .bplus-studio__glow {
  opacity: var(--v3-studio-proximity);
  transition: none;
  will-change: opacity;
}

#closing .bplus-studio__glow--gold {
  inset: -29%;
  background: radial-gradient(ellipse 44% 42% at 50% 50%, rgba(235, 174, 75, .34), rgba(202, 139, 52, .105) 43%, transparent 74%);
  filter: blur(30px);
  transform: none;
}

#closing .bplus-studio__glow--cool {
  inset: -45%;
  background: radial-gradient(ellipse 50% 47% at 50% 50%, rgba(79, 163, 184, .135), rgba(48, 116, 143, .042) 50%, transparent 80%);
  filter: blur(45px);
  transform: none;
}

@media (max-width: 820px), (hover: none), (pointer: coarse) {
  #closing .bplus-studio__glow {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #closing .bplus-studio__glow {
    display: none !important;
  }
}
