/* Contact stays visible beside the independently scrolling project index. */
.archive-context .page-intro { flex: 1 1 auto; min-height: 0; overflow: hidden; }
.archive-contact-cta {
  --contact-attraction: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex: 0 0 auto;
  width: 100%;
  min-height: 64px;
  margin: 28px 0 8px;
  padding: 12px 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: rgb(calc(194 + 61 * var(--contact-attraction)), calc(187 - 80 * var(--contact-attraction)), calc(180 - 180 * var(--contact-attraction)));
  font: 700 clamp(1.3rem, 2.1vw, 2.8rem)/1.2 var(--font-ui);
  letter-spacing: .02em;
  text-decoration: none;
  box-shadow: none;
  text-shadow: 0 0 22px rgba(255,107,0,calc(.38 * var(--contact-attraction)));
}
.archive-contact-cta > :first-child {
  background-image: radial-gradient(ellipse 120px 65px at var(--contact-light-x, 50%) 50%, rgba(255,139,48,var(--contact-attraction)) 0%, rgba(255,107,0,calc(.8 * var(--contact-attraction))) 45%, transparent 100%), linear-gradient(currentColor,currentColor);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.archive-contact-cta-arrow { padding: 0; border: 0; font-size: 1.25em; line-height: 1; }
body.page-uxui .archive-contact-cta:focus-visible { outline: none; box-shadow: none; color: var(--theme-orange); text-decoration: underline; text-underline-offset: 8px; }

.contact-ufo-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 80px;
  height: 40px;
  opacity: 0;
  z-index: 10003;
  pointer-events: none;
  will-change: transform, opacity;
}
.contact-attraction-ufo { display: block; width: 80px; height: 40px; filter: drop-shadow(0 0 5px rgba(255,107,0,.45)); }
.contact-tractor-beam {
  position: fixed;
  left: 0;
  top: 0;
  opacity: 0;
  z-index: 9994;
  pointer-events: none;
  transform-origin: 50% 0;
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(255,233,190,.86), rgba(255,172,105,.42) 22%, rgba(255,107,0,.16) 90%, rgba(255,172,105,.38));
  will-change: transform, opacity;
}
body.contact-attracting > .cursor { opacity: calc(1 - var(--contact-cursor-strength, 1)); }
html:is(.entry-boot-pending, :has(#entryBoot)) body > :is(.contact-ufo-cursor, .contact-tractor-beam) { visibility: hidden !important; }

@media (max-width: 768px) {
  .archive-context { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  .archive-context .page-intro { flex: 0 0 auto; }
  .archive-context .page-intro-text { max-width: none; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .archive-contact-cta { min-height: 48px; margin: 0; padding: 10px 0; font-size: clamp(1.3rem, 5vw, 1.9rem); }
}
@media (max-height: 500px) and (max-width: 768px) {
  .archive-context { display: flex; }
  .archive-context .page-intro { display: none; }
  .archive-contact-cta { min-height: 44px; padding-top: 9px; padding-bottom: 9px; }
}
@media (prefers-reduced-motion: reduce), (pointer: coarse), (hover: none) {
  .contact-ufo-cursor, .contact-tractor-beam { display: none; }
  body.contact-attracting > .cursor { opacity: 1; }
  .archive-contact-cta { transition: none; }
}
