/* Lighting for the original bronze relief and its inscription. */
@media screen and (forced-colors: none) {
  body .jour.w-home header.case-opening.case-banner {
    background:
      radial-gradient(ellipse at 77% 35%, #164342 0, transparent 36%),
      radial-gradient(ellipse at 14% -20%, #18454a, transparent 55%),
      linear-gradient(110deg, #0a252c 0%, #071c24 44%, #05151c 79%, #102e33) !important;
    border-bottom: 2px solid #b49058 !important;
    border-image: none;
    box-shadow: inset 0 -1px #f8ddb16b, 0 6px 20px -14px #142f38aa;
  }

  /* Engraved arcs echo the round seal while the testimony stays on plain ink. */
  body .jour.w-home header.case-opening.case-banner::before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    inset: 0;
    background: repeating-radial-gradient(circle at 72% 52%, transparent 0 6.5rem,
      #d4ac6b45 calc(6.5rem + 1px), transparent calc(6.5rem + 2px),
      transparent calc(6.5rem + 4px), #95b8ac35 calc(6.5rem + 5px), transparent calc(6.5rem + 6px));
    mask-image: linear-gradient(95deg, transparent 35%, #000b 62%, #000 81%, #0004);
  }

  /* Use the relief's luminance as the mask. Only the metal catches the light. */
  body .jour.w-home header.case-banner .case-banner-art {
    --relief-mask: url("images/wingo-relief.webp");
    transform: none;
    aspect-ratio: 1672 / 941;
    content-visibility: auto;
  }
  body .jour.w-home header.case-banner .case-banner-art img {
    filter: contrast(1.038) saturate(1.055);
  }
  body .jour.w-home header.case-banner .case-banner-art::after {
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 36%, #f7d1978f 44%, #fff5da 48%,
      #dcfff2c9 49.5%, transparent 56%) 125% center / 340% 100% no-repeat;
    mask: var(--relief-mask) center / 100% 100% no-repeat;
    mask-mode: luminance;
    mix-blend-mode: screen;
    opacity: 0;
    animation: none;
  }
  body.page-id-6 .jour.w-home header.case-banner #case-headline.justice-lockup :is(.justice-lead,em) {
    animation: none;
  }
  body .jour.w-home header.case-banner .case-actions .case-primary {
    color: #171811 !important;
    background: linear-gradient(166deg,#f3d79f,#dcbb7f 40%,#c6a068 76%,#e0bd82) !important;
    border: 1px solid #dfc08b !important;
    box-shadow: inset 0 1px #ffedc880, inset 0 -1px #86653e99, 0 2px 5px #020d1277;
    text-shadow: none;
  }
  body .jour.w-home header.case-banner .case-actions .case-primary:is(:hover,:focus-visible) {
    background: linear-gradient(166deg,#fce8bd,#e9c991 48%,#d5b17a) !important;
  }
}
@media screen and (max-width:43rem) and (forced-colors:none) {
  body .jour.w-home header.case-banner .case-banner-art {
    --relief-mask: url("images/wingo-relief-compact.webp");
    aspect-ratio: 900 / 601;
  }
  body .jour.w-home header.case-opening.case-banner::before {
    mask-image: radial-gradient(ellipse at 80% 22%,#000a,transparent 58%);
    background-position: 0 -1.5rem;
  }
}
@media screen and (prefers-reduced-motion:no-preference) and (forced-colors:none) {
  body .jour.w-home header.case-banner .case-banner-art::after {
    animation: wingo-relief-pass 7.2s linear .25s infinite both;
  }
  @keyframes wingo-relief-pass {
    0% { background-position: 125% center; opacity: 0; }
    7%, 25% { opacity: .72; }
    34%, 100% { background-position: -22% center; opacity: 0; }
  }
}
