.brand-block .brand-main-title .text,
.brand-block .brand-title-image {
  display: inline-block;
  will-change: transform, clip-path, opacity;
}

/* 文字：先被遮住 + 往中間收 */
.brand-block .brand-main-title .text01 {
  opacity: 0;
  clip-path: inset(0 0 0 100%);         /* 從右往左開 */
  transform: translateX(24px);          /* 往中間靠 */
  transition:
    clip-path 800ms cubic-bezier(.2,.9,.2,1),
    transform 800ms cubic-bezier(.2,.9,.2,1),
    opacity 350ms ease;
}

.brand-block .brand-main-title .text02 {
  opacity: 0;
  clip-path: inset(0 100% 0 0);         /* 從左往右開 */
  transform: translateX(-24px);         /* 往中間靠 */
  transition:
    clip-path 800ms cubic-bezier(.2,.9,.2,1),
    transform 800ms cubic-bezier(.2,.9,.2,1),
    opacity 350ms ease;
}

/* 圖片：先水平壓扁 */
.brand-block .brand-title-image {
  overflow: hidden;
  border-radius: 12px;                  
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition:
    transform 650ms cubic-bezier(.2,.9,.2,1),
    opacity 250ms ease;
  transition-delay: 520ms;              
}

/* 進場後狀態 */
.brand-block.is-inview .brand-main-title .text01,
.brand-block.is-inview .brand-main-title .text02 {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translateX(0);
}

.brand-block.is-inview .brand-title-image {
  opacity: 1;
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .brand-block .brand-main-title .text01,
  .brand-block .brand-main-title .text02,
  .brand-block .brand-title-image {
    transition: none !important;
    opacity: 1 !important;
    clip-path: inset(0 0 0 0) !important;
    transform: none !important;
  }
}