@font-face {
  font-family: FooterPixel;
  src: url('/assets/homepage/onlyscripts-interface-pixel.woff2?v=1') format('woff2');
  font-display: swap;
}
.site-footer.footer-orbit {
  --paper: #000;
  --ink: #f5f5f3;
  --muted: #aaa;
  --soft: #202020;
  --line: #383838;
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #000;
  color: var(--ink);
  color-scheme: dark;
  isolation: isolate;
}
.footer-orbit-canvas {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: clamp(210px, 22vw, 290px);
  display: block;
  touch-action: pan-y;
}
.footer-orbit .footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px 24px;
  width: calc(100% - var(--editorial-gutter, clamp(24px, 4vw, 64px)) * 2);
  max-width: var(--editorial-max, 1240px);
  margin: 0 auto;
  padding: clamp(234px, calc(22vw + 24px), 314px) 0 28px;
  pointer-events: none;
}
.footer-orbit .footer-grid > * { pointer-events: auto; }
.footer-orbit .footer-brand {
  grid-column: 1 / span 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.footer-orbit .footer-wordmark {
  font-family: FooterPixel, monospace;
  font-size: clamp(30px, 3.1vw, 42px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
  width: fit-content;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
}
.footer-orbit .footer-nav { grid-column: 5 / span 8; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-orbit .footer-link-group { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.footer-orbit .footer-link-group h3 { font-size: 12px; font-weight: 500; line-height: 1.5; color: var(--ink); margin: 0 0 10px; }
.footer-orbit .footer-link-group a { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 3px 0; font-size: 13px; line-height: 1.6; color: var(--muted); transition: color .18s ease; }
.footer-orbit .footer-link-group a::before { content: ""; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: currentColor; opacity: 0; transform: scale(.4); transition: opacity .18s ease, transform .18s ease; }
.footer-orbit .footer-link-group a:hover { color: var(--ink); }
.footer-orbit .footer-link-group a:hover::before { opacity: 1; transform: scale(1); }
.footer-orbit .footer-bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding-top: 8px; }
.footer-orbit .legal-footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; border-top: 0; font-size: 12px; opacity: 1; }
.footer-orbit .legal-footer-links a, .footer-orbit .footer-friendlink { font-size: 12px; line-height: 1.6; color: var(--muted); white-space: nowrap; text-decoration: none; transition: color .18s ease; }
.footer-orbit .legal-footer-links a { position: relative; }
.footer-orbit .legal-footer-links a::before { content: ""; position: absolute; left: -11px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; background: currentColor; opacity: 0; transition: opacity .18s ease; }
.footer-orbit .legal-footer-links a:hover, .footer-orbit .footer-friendlink:hover { color: var(--ink); }
.footer-orbit .legal-footer-links a:hover::before { opacity: 1; }
.footer-orbit .back-top { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; font-size: 12px; line-height: 1.6; color: var(--muted); }
.footer-orbit .back-top > span { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--soft); color: var(--ink); transition: background-color .18s ease; }
.footer-orbit .back-top svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-orbit .back-top:hover { color: var(--ink); }
.footer-orbit .back-top:hover > span { background: var(--line); }
.footer-orbit .back-top.is-rewinding svg { animation: footer-rewind .65s ease both; }
.footer-orbit .back-top.is-rewinding > span::after { content: ""; position: absolute; left: 50%; top: 20px; width: 1px; height: 18px; background: linear-gradient(#aaa, transparent); animation: footer-trail .65s ease both; }
@keyframes footer-rewind { 35% { transform: translateY(4px); } 70% { transform: translateY(-7px); } }
@keyframes footer-trail { from, to { opacity: 0; transform: scaleY(0); } 55% { opacity: .7; transform: scaleY(1); } }
@media (max-width: 900px) {
  .footer-orbit .footer-brand { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 16px; }
  .footer-orbit .footer-nav { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-orbit-canvas { height: 190px; }
  .footer-orbit .footer-grid { gap: 30px 20px; padding: 214px 0 24px; }
  .footer-orbit .footer-brand { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-orbit .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-orbit .footer-wordmark { font-size: 30px; }
  .footer-orbit .footer-link-group a { min-height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-orbit *, .footer-orbit *::before, .footer-orbit *::after { animation: none; transition: none; }
}
