/* Motion is a progressive enhancement: resting content is always readable. */
.site-load-cue { position: fixed; inset: 0 0 auto; height: 3px; z-index: 1100; opacity: 0; overflow: hidden; pointer-events: none; transition: opacity .22s ease; }
.site-load-cue > span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--red) 0%, var(--accent) 72%); transform: scaleX(0); transform-origin: left; }
html[data-page-loading="on"][data-nerdcorp-motion="on"] .site-load-cue { opacity: 1; }
html[data-page-loading="on"][data-nerdcorp-motion="on"] .site-load-cue > span { animation: nerdcorp-page-loading 1.8s cubic-bezier(.22,.61,.36,1) both; }
html[data-page-loading="done"] .site-load-cue { opacity: 0; transition-delay: .16s; }
html[data-page-loading="done"] .site-load-cue > span { transform: scaleX(1); transition: transform .15s ease; }
@keyframes nerdcorp-page-loading { from { transform: scaleX(.12); } to { transform: scaleX(.88); } }
.motion-entering { will-change: transform, opacity; }
.motion-image-frame { overflow: hidden; }
.site-footer .copyright { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.motion-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 9px 13px; border: 1px solid #52635c; color: #e9f0ed; background: transparent; font: 600 11px/1.5 var(--font-button); font-style: normal; letter-spacing: .02em; cursor: pointer; }
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover:not(:disabled) { border-color: #bbf000; color: #bbf000; }
.motion-toggle:focus-visible { outline: 2px solid #bbf000; outline-offset: 4px; }
.motion-toggle:disabled { cursor: default; opacity: .8; }
.motion-glyph { display: inline-flex; align-items: center; justify-content: center; gap: 3px; width: 18px; height: 15px; }
.motion-glyph i { display: block; width: 2px; height: 7px; background: currentColor; }
.motion-glyph i:nth-child(2) { height: 14px; }
.motion-glyph i:nth-child(3) { height: 10px; }
.motion-toggle[aria-pressed="false"] .motion-glyph i { height: 2px; }
html[data-nerdcorp-motion="off"] { scroll-behavior: auto; }
html[data-nerdcorp-motion="off"] main .button { transition: none; }
html[data-nerdcorp-motion="off"] main .button:hover { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-load-cue, .site-load-cue > span { animation: none !important; transition: none !important; opacity: 0 !important; }
  .motion-entering { will-change: auto; }
  main .button { transition: none; }
  main .button:hover { transform: none; }
}
@media print {
  .site-load-cue, .motion-toggle { display: none !important; }
  .motion-entering { will-change: auto; }
}
