/* Scent Collections / Market Opportunities 专属微交互。入场由 GSAP 处理。 */
.ff-site main:is(.scent-page, .market-page)
  :is(.scent-card__visual, .opportunity-card__photo, .image-story__media, .visual-band__item) {
  overflow: hidden;
}

.ff-site main:is(.scent-page, .market-page)
  :is(.image-story__media, .visual-band__item) {
  transition: box-shadow 320ms cubic-bezier(.22, 1, .36, 1);
}

.ff-site main:is(.scent-page, .market-page)
  :is(.scent-card__visual, .opportunity-card__photo, .image-story__media, .visual-band__item) img {
  scale: 1;
  transition: scale 400ms cubic-bezier(.22, 1, .36, 1);
}

.ff-site main:is(.scent-page, .market-page)
  :is(.scent-card, .secondary-direction, .buyer-scenario, .finder-panel,
    .collection-business article, .cross-format-step, .custom-route,
    .custom-process article, .product-step, .evaluation-item,
    .signal-card, .signal-meaning__items article, .finder-lens,
    .opportunity-card, .scenario-card, .framework-steps article,
    .research-card, .manufacturing-grid article) {
  transition: border-color 320ms cubic-bezier(.22, 1, .36, 1),
    box-shadow 320ms cubic-bezier(.22, 1, .36, 1),
    background-color 320ms cubic-bezier(.22, 1, .36, 1),
    transform 320ms cubic-bezier(.22, 1, .36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .ff-site main:is(.scent-page, .market-page)
    :is(.scent-card, .secondary-direction, .buyer-scenario, .finder-panel,
      .collection-business article, .custom-route, .custom-process article,
      .product-step, .evaluation-item, .signal-card,
      .signal-meaning__items article, .finder-lens, .opportunity-card,
      .scenario-card, .research-card, .manufacturing-grid article):hover {
    border-color: #85a7ba;
    box-shadow: 0 15px 30px rgba(16, 47, 66, .16), inset 0 0 0 1px rgba(97, 146, 169, .12);
  }

  .ff-site main:is(.scent-page, .market-page)
    :is(.scent-card, .secondary-direction, .buyer-scenario, .finder-panel,
      .custom-route, .signal-card, .finder-lens, .opportunity-card,
      .research-card, .manufacturing-grid article):hover:has(a[href]) {
    transform: translateY(-3px);
  }

  .ff-site main:is(.scent-page, .market-page)
    :is(.scent-card, .opportunity-card):hover img,
  .ff-site main:is(.scent-page, .market-page)
    :is(.image-story__media, .visual-band__item):hover img {
    scale: 1.04;
  }

  .ff-site main:is(.scent-page, .market-page)
    :is(.image-story__media, .visual-band__item):hover {
    box-shadow: 0 14px 28px rgba(16, 47, 66, .15);
  }
}

.ff-site main:is(.scent-page, .market-page)
  :is(.scent-card, .secondary-direction, .buyer-scenario, .finder-panel,
    .custom-route, .signal-card, .finder-lens, .opportunity-card,
    .research-card, .manufacturing-grid article):focus-within {
  transform: translateY(-3px);
  border-color: #85a7ba;
  box-shadow: 0 15px 30px rgba(16, 47, 66, .16), inset 0 0 0 1px rgba(97, 146, 169, .12);
}

.ff-site main:is(.scent-page, .market-page)
  :is(.scent-card, .opportunity-card):focus-within img {
  scale: 1.04;
}

/* 深色流程卡使用背景反馈；无链接卡始终保持普通光标。 */
@media (hover: hover) and (pointer: fine) {
  .ff-site main.scent-page .cross-format-step:hover,
  .ff-site main.market-page .framework-steps article:hover {
    background-color: #254c61;
    border-color: #9fc2d2;
    box-shadow: 0 14px 30px rgba(3, 19, 30, .23);
  }
}

.ff-site main.scent-page .cross-format-step:focus-within,
.ff-site main.market-page .framework-steps article:focus-within {
  background-color: #254c61;
  border-color: #9fc2d2;
  box-shadow: 0 14px 30px rgba(3, 19, 30, .23);
}

@media (prefers-reduced-motion: reduce) {
  .ff-site main:is(.scent-page, .market-page)
    :is(article, figure, img, .image-story__media, .visual-band__item) {
    transition: none !important;
  }
  .ff-site main:is(.scent-page, .market-page)
    :is(article, figure, .image-story__media, .visual-band__item):hover img,
  .ff-site main:is(.scent-page, .market-page) article:focus-within img {
    scale: 1 !important;
  }
  .ff-site main:is(.scent-page, .market-page)
    article:is(:hover, :focus-within) {
    transform: none !important;
  }
}
