/* WESTWORLD-ASSOCIATES V15.7 · Precise expertises / team / contact refinements.
 * Keep the previous desktop layout and all mobile geometry unchanged.
 */
@media (min-width: 851px) {
  /* Move only the right-hand expertise copy down. No absolute positioning,
     so long content still contributes to the height of the hero. */
  body.wwa-site .wwa-video-hero:not(.wwa-contact-cinema) .wwa-cover-center > .wwa-service-context {
    margin-top: clamp(45px, 5.5vw, 86px) !important;
    align-self: start !important;
  }
}
@media (max-width: 850px) {
  body.wwa-site .wwa-video-hero .wwa-cover-center > .wwa-service-context {
    margin-top: 0 !important;
  }
}
/* Team: preserve the original type hierarchy, but let this new longer headline
   wrap elegantly on both large and small screens. */
body.wwa-site .wwa-team-original .wwa-team-intro-content h1 {
  max-width: 930px;
  text-wrap: balance;
  overflow-wrap: normal;
  hyphens: none;
}
@media (max-width: 600px) {
  body.wwa-site .wwa-team-original .wwa-team-intro-content h1 {
    font-size: clamp(25px, 7.15vw, 34px) !important;
    line-height: 1.21 !important;
    letter-spacing: -.024em !important;
  }
}
/* Contact video: recreate the muted charcoal / silver-light ambiance from the
   supplied reference with a theme-owned asset. Keep the existing heading,
   paragraph and working Fluent Form unchanged. */
body.wwa-site .wwa-contact-cinema__media {
  isolation: isolate;
  background-color: #000 !important;
}
body.wwa-site .wwa-contact-cinema__media::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -12%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 21% 70%, rgba(195,198,201,.17), transparent 46%),
    radial-gradient(ellipse at 61% 22%, rgba(218,221,224,.14), transparent 48%);
  filter: blur(26px);
  mix-blend-mode: screen;
  animation: wwa-contact-light-sweep 14s ease-in-out infinite alternate;
}
body.wwa-site .wwa-contact-cinema__shade {
  background:
    linear-gradient(90deg,rgba(0,0,0,.26) 0%,rgba(0,0,0,.20) 48%,rgba(0,0,0,.62) 100%),
    linear-gradient(180deg,rgba(0,0,0,.18),transparent 40%,rgba(0,0,0,.20)) !important;
}
@keyframes wwa-contact-light-sweep {
  from { transform: translate3d(-3%,1%,0) scale(1); opacity: .72; }
  to { transform: translate3d(5%,-2%,0) scale(1.07); opacity: 1; }
}
@media (max-width: 900px) {
  body.wwa-site .wwa-contact-cinema__shade {
    background: linear-gradient(180deg,rgba(0,0,0,.45),rgba(0,0,0,.33) 52%,rgba(0,0,0,.62)) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.wwa-site .wwa-contact-cinema__media::after { animation: none !important; }
}
