/* 动效：滚动渐显、页首推近、菜单展开。尊重系统「减少动态效果」设置。 */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > :nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-in > :nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-in > :nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.is-in > :nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.is-in > :nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.is-in > :nth-child(n + 7) { transition-delay: 0.48s; }

@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes hero-copy { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.home-hero > img, .page-hero.has-image .hero-image img { animation: hero-zoom 9s var(--ease) both; }
.home-hero .hero-copy > *, .page-hero .hero-copy > * { animation: hero-copy 0.8s var(--ease) both; }
.home-hero .hero-copy > :nth-child(2), .page-hero .hero-copy > :nth-child(2) { animation-delay: 0.1s; }
.home-hero .hero-copy > :nth-child(3), .page-hero .hero-copy > :nth-child(3) { animation-delay: 0.2s; }
.home-hero .hero-copy > :nth-child(4), .page-hero .hero-copy > :nth-child(4) { animation-delay: 0.3s; }
.home-hero .hero-copy > :nth-child(5), .page-hero .hero-copy > :nth-child(5) { animation-delay: 0.4s; }
.home-hero .hero-copy > :nth-child(6) { animation-delay: 0.5s; }

.site-header { transition: box-shadow 0.3s, height 0.3s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(31, 43, 69, 0.08); }
.site-nav a { transition: color 0.2s; }
@media (max-width: 1180px) {
  .site-nav.open { animation: hero-copy 0.3s var(--ease) both; }
}
.card, .entry-list a, .lawyer-row a, .related-practices a, .chip, .subnav a { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s, background 0.25s, color 0.25s; }
.entry-list a:hover { transform: translateX(4px); }
.gallery-grid button span { transition: background 0.3s; }
.faq-list details > div { animation: hero-copy 0.35s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .home-hero > img, .page-hero.has-image .hero-image img, .home-hero .hero-copy > *, .page-hero .hero-copy > *, .site-nav.open, .faq-list details > div { animation: none; }
  .carousel-slide, .carousel-slide img, .carousel-slide .band-caption { transition: none; }
  .carousel-thumbs button.is-active.is-timing::after { transition: none; width: 100%; }
}
