/* === Smart header: hide on scroll down, show on scroll up === */
#t-header{
  position:sticky;
  top:0;
  z-index:10000;
  background:#ffffff;
  transition:transform .28s cubic-bezier(.4,0,.2,1), box-shadow .2s ease;
  will-change:transform;
}
#t-header.tsh-hidden{ transform:translateY(-101%); }
#t-header.tsh-shadow{ box-shadow:0 1px 0 #D8D3CD, 0 6px 18px rgba(0,0,0,.06); }
.anchor, [data-anchor], a[name]{ scroll-margin-top:96px; }
@media (prefers-reduced-motion: reduce){ #t-header{ transition:none; } }