@media (prefers-reduced-motion: no-preference) {
  main { --kc-travel: 20px; --kc-ease: cubic-bezier(.2,.72,.21,1); }
  main [data-kc-enter]:not(:focus-within) {
    animation: kc-content-enter 540ms var(--kc-ease) var(--kc-enter-delay,0ms) backwards;
  }
  [data-kc-enter="up"] { --kc-y: var(--kc-travel); }
  [data-kc-enter="action"] { --kc-y: 5px; --kc-opacity: .84; }
  [data-kc-enter="right"] { --kc-x: var(--kc-travel); }
  [data-kc-enter="left"] { --kc-x: calc(-1 * var(--kc-travel)); }
  [data-kc-enter="scale"] { --kc-size: .97; }
  main [data-kc-enter="mask"]:not(:focus-within) { animation-name: kc-image-open; animation-duration: 650ms; }
  .p1 .case-photo,.p3 .case-photo { --kc-mask-start:inset(0 0 0 7%); }
  main [data-kc-enter="line"]:not(:focus-within) { animation-name: kc-line-open; transform-origin: left; }
  main [data-kc-enter="divider"]:not(:focus-within) { position:relative; animation:none; }
  [data-kc-enter="divider"]::before { content:""; position:absolute; inset:-1px 0 auto; height:1px; background:currentColor; transform-origin:left; pointer-events:none; animation:kc-divider 620ms var(--kc-ease) both; }
  main [data-kc-enter="medal"]:not(:focus-within) { animation:none; }
  main .badge-wrap.lit .award { animation:kc-medal 580ms var(--kc-ease) 140ms backwards; }
  main .badge-wrap.lit::after { animation-delay:300ms; }
  @keyframes kc-content-enter {
    from { opacity:var(--kc-opacity,.4); translate:var(--kc-x,0) var(--kc-y,0); scale:var(--kc-size,1); }
    to { opacity:1; translate:0 0; scale:1; }
  }
  @keyframes kc-image-open { from { clip-path:var(--kc-mask-start,inset(0 7% 0 0)); opacity:.65; } to { clip-path:inset(0); opacity:1; } }
  @keyframes kc-line-open { from { scale:.06 1; } to { scale:1; } }
  @keyframes kc-divider { 0% { transform:scaleX(0); opacity:.45; } 85% { transform:scaleX(1); opacity:.35; } 100% { transform:scaleX(1); opacity:0; } }
  @keyframes kc-medal { from { opacity:.35; scale:.93; } to { opacity:1; scale:1; } }
}
@media (max-width:700px) { main { --kc-travel:9px; } }
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  main :is(.btn,.primary,.actions a,.plan-card,.service-deep,.case-photo,.badge-wrap,.contact-method .icon,.text-link,.minor) {
    transition-property:translate,filter,box-shadow,background-color,color,border-color;
    transition-duration:180ms;
  }
  main :is(.btn,.primary,.actions a,.plan-card,.service-deep):hover { translate:0 -2px; }
  main :is(.case-photo,.badge-wrap,.text-link,.minor):hover,main .contact-method:hover .icon { filter:brightness(1.07); }
}
