/* Native sticky scroll; displacement changes only with scroll progress. */
.footer-scroll { position: relative; }
.footer-scroll.is-footer-scroll { height: 235svh; }
.is-footer-scroll .footer.footer-ending { position: sticky; top: 0; height: 100svh; min-height: 0; }
.footer.footer-ending {
  position: relative;
  min-height: min(88svh, 1080px);
  padding: clamp(80px, 14svh, 180px) var(--gutter) clamp(24px, 4svh, 60px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(36px, 8svh, 100px);
  background: linear-gradient(180deg, rgba(8,10,14,0), rgba(8,10,14,.82) 45%);
  border: 0;
}
.footer-wordmark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: calc(100% - 2 * var(--gutter));
  max-width: min(560px, calc((100svh - clamp(180px, 32svh, 340px)) * 1148 / 294));
  margin: 0;
  aspect-ratio: 1148 / 294;
  flex: none;
}
.footer-logo-art, .footer-logo-parts { position: absolute; inset: 0; overflow: hidden; }
.footer-logo-fallback { width: 100%; }
.footer-logo-parts { display: none; }
.footer-letter { position: absolute; top: 0; bottom: 0; overflow: hidden; }
.footer-letter img { position: absolute; height: auto; max-width: none; top: -96.2585034%; }
.footer-crawler {
  position: absolute;
  left: 0;
  bottom: -22px;
  width: clamp(12px, 1.4vw, 24px);
  height: 3px;
  background: #78b5ff;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
}
.footer-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: clamp(24px, 2.5vw, 44px); }
.footer-links a {
  display: block;
  font: 700 14px/1.4 CloderSans, Arial, sans-serif;
  letter-spacing: -.015em;
  padding: 8px 0;
  transition: color .2s;
}
.footer-links a:hover { color: #78b5ff; }
.footer-wordmark:focus-visible, .footer-links a:focus-visible { outline: 2px solid #78b5ff; outline-offset: 5px; }
.footer-reveal { display: block; overflow: hidden; padding: 5px; margin: -5px; }
.footer-copyright small { display: block; padding: 8px 0; font: 500 12px/1.5 CloderSans, Arial, sans-serif; color: #a9afb9; white-space: nowrap; }
.is-footer-ready .footer-logo-fallback { visibility: hidden; }
.is-footer-ready .footer-logo-parts { display: block; }
.is-footer-ready .footer-letter { transform: translateY(var(--letter-y, 110%)); }
.is-footer-ready .footer-reveal > * { transform: translateY(var(--reveal-y, 140%)); }
.footer-ending:focus-within .footer-reveal > *, .footer-ending:focus-within .footer-letter { transform: none; }
.footer-ending:focus-within .footer-crawler { opacity: 0 !important; }
@media (max-width: 800px) {
  .footer.footer-ending { min-height: 65svh; gap: 56px; padding-top: 96px; padding-bottom: 28px; }
  .footer-meta { align-items: flex-start; flex-direction: column; gap: 24px; }
  .footer-links { gap: 26px; }
  .footer-links a { font-size: 13px; }
  .footer-copyright small { font-size: 11px; }
  .footer-crawler { bottom: -16px; }
}
@media (max-height: 560px) {
  .footer.footer-ending { min-height: 100svh; padding-top: 84px; padding-bottom: 20px; gap: 32px; }
  .footer-meta { align-items: flex-end; flex-direction: row; gap: 18px; }
  .footer-links { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .is-footer-ready .footer-logo-fallback { visibility: visible; }
  .is-footer-ready .footer-logo-parts, .footer-crawler { display: none; }
  .is-footer-ready .footer-reveal > * { transform: none; }
  .footer-scroll.is-footer-scroll { height: auto; }
  .is-footer-scroll .footer.footer-ending { position: relative; height: auto; }
}
