/* Homepage-only interaction trial: no layout properties are animated. */
@media (prefers-reduced-motion: no-preference) {
  body[data-view="index"].emil-pointer .hero-actions .button,
  body[data-view="index"].emil-pointer .home-service-tabs .workflow-tab {
    transition-property: transform;
    transition-duration: 80ms;
    transition-timing-function: cubic-bezier(.23, 1, .32, 1);
  }
  body[data-view="index"].emil-pointer .hero-actions .button:active,
  body[data-view="index"].emil-pointer .home-service-tabs .workflow-tab:active {
    transform: scale(.98);
    transition-duration: 140ms;
  }
}

/* Icons remain stationary while labels and shell respond to an explicit toggle. */
@media (min-width: 1101px) {
  body[data-view="index"].has-social-rail .rail-content,
  body[data-view="index"].has-social-rail.social-rail-collapsed .rail-content { padding-inline: 0; }
  body[data-view="index"].has-social-rail .rail-links { min-width: 0; grid-template-columns: minmax(0, 1fr); }
  body[data-view="index"].has-social-rail .rail-links a,
  body[data-view="index"].has-social-rail.social-rail-collapsed .rail-links a { min-width: 0; justify-content: flex-start; padding-inline: 27px 0; gap: 12px; overflow: clip; }
  body[data-view="index"].has-social-rail .rail-eyebrow { margin-left: 23px; overflow: clip; white-space: nowrap; }
  body[data-view="index"].has-social-rail .rail-links span,
  body[data-view="index"].has-social-rail.social-rail-collapsed .rail-links span { display: block; opacity: 1; visibility: visible; }
  body[data-view="index"].has-social-rail.social-rail-collapsed .rail-links span { opacity: 0; visibility: hidden; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1101px) {
  body[data-view="index"].has-social-rail.emil-pointer { transition: padding-left 260ms cubic-bezier(.23,1,.32,1); }
  body[data-view="index"].has-social-rail.emil-pointer .editorial-rail { transition: width 260ms cubic-bezier(.23,1,.32,1); }
  body[data-view="index"].has-social-rail.emil-pointer .rail-links span { transition: opacity 220ms cubic-bezier(.23,1,.32,1), visibility 220ms; }
}
/* The current item stays indicated; non-current links get a short hover cue. */
@media (hover:hover) and (pointer:fine) {
  body[data-view="index"] .product-header .site-nav a:not([aria-current])::after {
    content:''; position:absolute; left:0; right:0; bottom:15px; height:2px;
    background:var(--an-primary); transform:scaleX(0); transform-origin:left;
    transition:transform 200ms cubic-bezier(.23,1,.32,1);
  }
  body[data-view="index"] .product-header .site-nav a:not([aria-current]):hover::after { transform:scaleX(1); }
  body[data-view="index"] .hero-actions .button:hover span,
  body[data-view="index"] .home-service-panels .button:hover .home-action-arrow { transform:translateX(4px); }
  body[data-view="index"] .hero-actions .button span,
  body[data-view="index"] .home-service-panels .button .home-action-arrow { transition:transform 200ms cubic-bezier(.23,1,.32,1); }
}
/* Entrance is enabled by JavaScript; without it all content is visible. */
@media (prefers-reduced-motion: no-preference) {
  body[data-view="index"].emil-hero-enter .hero-copy h1,
  body[data-view="index"].emil-hero-enter .hero-copy > p,
  body[data-view="index"].emil-hero-enter .hero-actions { animation:emil-hero-rise 360ms cubic-bezier(.23,1,.32,1) both; }
  body[data-view="index"].emil-hero-enter .hero-copy > p:first-of-type { animation-delay:70ms; }
  body[data-view="index"].emil-hero-enter .hero-copy > .hero-detail { animation-delay:140ms; }
  body[data-view="index"].emil-hero-enter .hero-actions { animation-delay:210ms; }
  body[data-view="index"].emil-hero-enter .hero-copy > .research-use { animation-delay:280ms; }
  body[data-view="index"].emil-hero-enter .hero-brand-identity { animation:emil-hero-fade 360ms cubic-bezier(.23,1,.32,1) 140ms both; }
  @keyframes emil-hero-rise { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
  @keyframes emil-hero-fade { from { opacity:0; } to { opacity:1; } }
}
@media (prefers-reduced-motion: reduce) {
  body[data-view="index"] .product-header .site-nav a::after { transition:none !important; }
  body[data-view="index"] .hero-actions .button span,
  body[data-view="index"] .home-service-panels .button .home-action-arrow { transition:none !important; transform:none; }
}
