/* Contact the Enigma: a single deep-blue, electrically alive pill.
   Local to home/about; no changes to the rest of the website. */
.enigma-electric-contact {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 390 / 138;
  margin-inline: auto;
  isolation: isolate;
}
.enigma-electric-contact .contact-aura {
  position: absolute;
  inset: 29% 8.5%;
  border-radius: 999px;
  box-shadow: 0 0 21px rgba(20, 58, 255, .56),
              0 0 42px rgba(13, 51, 196, .36),
              0 0 66px rgba(5, 28, 132, .27);
  pointer-events: none;
  animation: enigmaContactAura 3s ease-in-out infinite;
}
.enigma-electric-contact .contact-link {
  position: absolute;
  left: 7.6923%;
  top: 25.3623%;
  width: 84.6154%;
  height: 49.2754%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  border-radius: 999px;
  padding: 0 9px;
  font-family: var(--display, Georgia, serif);
  font-size: clamp(.89rem, 1.4vw, 1rem);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.1;
  white-space: nowrap;
  text-transform: none;
  color: #f3f7ff;
  background: #04070e;
  border: 1px solid rgba(67, 107, 230, .35);
  text-shadow: 0 1px 6px rgba(0, 10, 40, .7);
  box-shadow: 0 0 5px rgba(25, 73, 201, .2);
  z-index: 2;
  transition: box-shadow .2s ease, background .2s ease, transform .15s ease;
}
.enigma-electric-contact .contact-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: none;
}
.enigma-electric-contact .contact-link:hover {
  color: #fff;
  background: #081020;
  box-shadow: 0 0 13px rgba(27, 85, 255, .3);
}
.enigma-electric-contact .contact-link:active {transform: scale(.98)}
.enigma-electric-contact .contact-link svg {
  width: 1em;
  height: 1em;
  flex: none;
  fill: #edf4ff;
  filter: drop-shadow(0 0 5px #6594ff);
}
.enigma-electric-contact .contact-link span {position: relative; z-index: 1}
.enigma-electric-contact .contact-electricity {
  pointer-events: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 3;
}
.enigma-electric-contact .contact-outline {
  fill: none;
  stroke: #336aff;
  stroke-width: 1.9px;
  opacity: .88;
  filter: drop-shadow(0 0 5px #1c46e7);
}
.enigma-electric-contact .contact-crackle-halo,
.enigma-electric-contact .contact-crackle-blue,
.enigma-electric-contact .contact-crackle-white,
.enigma-electric-contact .contact-fork-halo,
.enigma-electric-contact .contact-fork-white,
.enigma-electric-contact .contact-flash {
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.enigma-electric-contact .contact-crackle-halo {
  stroke: #1945ff;
  stroke-width: 9px;
  filter: blur(4px);
  opacity: .84;
}
.enigma-electric-contact .contact-crackle-blue {
  stroke: #3a74ff;
  stroke-width: 2.9px;
  filter: drop-shadow(0 0 4px #1244fb);
}
.enigma-electric-contact .contact-crackle-white {
  stroke: #b8ccff;
  stroke-width: .85px;
  opacity: .64;
}
.enigma-electric-contact .contact-fork-halo {
  stroke: #3265ff;
  stroke-width: 5px;
  filter: blur(2.5px);
}
.enigma-electric-contact .contact-fork-white {
  stroke: #d6e6ff;
  stroke-width: 1.3px;
  filter: drop-shadow(0 0 3px #4b79ff);
}
.enigma-electric-contact .contact-flash {
  stroke: #fff;
  stroke-width: 1.9px;
  filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 8px #4271ff);
}
@keyframes enigmaContactAura {
  0%, 100% {opacity:.58}
  50% {opacity:1}
}
/* The homepage contact belongs near the bottom of the storm, not amid the portals. */
.home-page .home-contact-placement {
  position: absolute;
  left: 50%;
  bottom: clamp(12px, 3.5svh, 44px);
  transform: translateX(-50%);
  width: min(375px, calc(100% - 26px));
  z-index: 4;
}
.about-copy .about-contact-placement {
  width: min(260px, 100%);
  margin: 10px auto -10px;
}
@media(max-width:640px) {
  .home-page .home-contact-placement {bottom: 10px; width: min(350px, calc(100% - 20px))}
  .about-copy .about-contact-placement {width: min(260px, 100%)}
}
@media(max-width:420px) {
  .enigma-electric-contact .contact-link {font-size: clamp(.86rem, 3.8vw, .98rem)}
}
@media(prefers-reduced-motion:reduce) {
  .enigma-electric-contact .contact-aura {animation:none}
}
