/* Satellite motion layer (owner 2026-11-25; on prod since 2026-12-02). The full "Salvage" restyle was reverted the same day
   ("revert everything except the animations"); only the motion is left, so nothing changes at rest. Scoped by
   <html data-look="wiki|servers|blog">, loaded after each site's bundle by templates/_shared/look.html. */
:root[data-look] { --look-ease: cubic-bezier(.2, .7, .2, 1); }

/* one orchestrated entrance: the first blocks of the page rise in, staggered; the header drops in */
@media (prefers-reduced-motion: no-preference) {
  :root[data-look] #main-content > * { animation: look-rise .55s var(--look-ease) backwards; }
  :root[data-look] #main-content > :nth-child(1) { animation-delay: 0s }
  :root[data-look] #main-content > :nth-child(2) { animation-delay: .06s }
  :root[data-look] #main-content > :nth-child(3) { animation-delay: .12s }
  :root[data-look] #main-content > :nth-child(4) { animation-delay: .18s }
  :root[data-look] #main-content > :nth-child(5) { animation-delay: .24s }
  :root[data-look] #main-content > :nth-child(n+6) { animation-delay: .3s }
  :root[data-look] .site-header { animation: look-drop .5s var(--look-ease) backwards; }

  /* cards lift toward the accent on hover */
  :root[data-look] .hub-card, :root[data-look] .inv2-stat[href], :root[data-look] .post-card {
    transition: transform .22s var(--look-ease), border-color .22s ease, box-shadow .22s ease;
  }
  :root[data-look] .hub-card:hover, :root[data-look] .inv2-stat[href]:hover, :root[data-look] .post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -14px var(--accent);
  }
}
@keyframes look-rise { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
@keyframes look-drop { from { opacity: 0; transform: translateY(-8px) } to { opacity: 1; transform: none } }

/* links in page content: an underline that draws in on hover */
:root[data-look] #main-content a:not(.btn):not(.card):not(.hub-card):not(.inv2-btn):not(.inv2-stat):not(.chip):not([class*="pager"]) {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .25s var(--look-ease), color .15s ease;
}
:root[data-look] #main-content a:not(.btn):not(.card):not(.hub-card):not(.inv2-btn):not(.inv2-stat):not(.chip):not([class*="pager"]):hover {
  background-size: 100% 1px;
}
