/* ADJUNTO official startup animation: original Península Tech motion, ADJUNTO-only artwork. */
#adjuntoStartupSplash {
  --poster: url("/assets/adjunto-original-animated-poster.webp?v=adjunto-original-logo-20261120-v1");
  --blue: #087cff;
  --ice: #f4ffff;
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #000;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: adjuntoStartupSplashExit .48s ease 8.6s forwards;
}
#adjuntoStartupSplash *,
#adjuntoStartupSplash *::before,
#adjuntoStartupSplash *::after {
  box-sizing: border-box;
  animation-iteration-count: 1;
  animation-fill-mode: both;
}
#adjuntoStartupSplash .adjunto-original-splash__app {
  position: relative;
  width: 100%;
  height: 100%;
  height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
}
#adjuntoStartupSplash .poster-wrap {
  position: relative;
  width: min(100vw, calc(100dvh * .5628));
  max-height: 100dvh;
  aspect-ratio: 941 / 1672;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}
#adjuntoStartupSplash .poster,
#adjuntoStartupSplash .layer {
  position: absolute;
  inset: 0;
  background-image: var(--poster);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
#adjuntoStartupSplash .poster {
  z-index: 1;
  opacity: 0;
  animation: finalPoster 8.6s cubic-bezier(.22,.8,.22,1) infinite;
}
#adjuntoStartupSplash .layer { z-index: 2; opacity: 0; }
#adjuntoStartupSplash .emblem {
  clip-path: polygon(0 7%,100% 7%,100% 65%,0 65%);
  filter: brightness(1.05) saturate(1.08) contrast(1.04);
  animation: emblemReveal 8.6s ease-in-out infinite;
}
#adjuntoStartupSplash .wordmark {
  clip-path: polygon(0 61%,100% 61%,100% 75%,0 75%);
  filter: brightness(1.12) saturate(1.08) contrast(1.04);
  animation: wordReveal 8.6s ease-in-out infinite;
}
#adjuntoStartupSplash .tagline {
  clip-path: polygon(0 75%,100% 75%,100% 85%,0 85%);
  filter: brightness(1.08) saturate(1.05);
  animation: tagReveal 8.6s ease-in-out infinite;
}
#adjuntoStartupSplash .blackout {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: #000;
  animation: blackout 8.6s linear infinite;
  pointer-events: none;
}
#adjuntoStartupSplash .reactor {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 38.85%;
  width: 91%;
  aspect-ratio: 1;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  opacity: 0;
  mix-blend-mode: screen;
  animation: reactorOn 8.6s ease-in-out infinite;
  pointer-events: none;
}
#adjuntoStartupSplash .reactor::before,
#adjuntoStartupSplash .reactor::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
#adjuntoStartupSplash .reactor::before {
  background: conic-gradient(from -20deg,transparent 0 7%,rgba(0,91,255,.88) 9% 13%,transparent 15% 27%,rgba(0,132,255,.94) 30% 36%,transparent 38% 53%,rgba(0,80,255,.88) 56% 62%,transparent 64% 80%,rgba(0,140,255,.92) 82% 88%,transparent 90%);
  -webkit-mask: radial-gradient(circle,transparent 0 39%,#000 41% 44%,transparent 46% 52%,#000 54% 56%,transparent 58%);
  mask: radial-gradient(circle,transparent 0 39%,#000 41% 44%,transparent 46% 52%,#000 54% 56%,transparent 58%);
  filter: drop-shadow(0 0 8px #006cff) drop-shadow(0 0 18px rgba(0,104,255,.75));
  animation: spin 7.5s linear infinite;
}
#adjuntoStartupSplash .reactor::after {
  inset: 8%;
  border: 1px solid rgba(220,245,255,.52);
  box-shadow: 0 0 7px rgba(255,255,255,.5),0 0 14px rgba(0,101,255,.54);
  animation: pulseRing 1.5s ease-in-out infinite;
}
#adjuntoStartupSplash .scan {
  position: absolute;
  z-index: 5;
  left: 4%;
  right: 4%;
  height: 2px;
  top: 12%;
  opacity: 0;
  background: linear-gradient(90deg,transparent,#0a6dff 20%,#fff 50%,#0a6dff 80%,transparent);
  box-shadow: 0 0 8px #fff,0 0 20px #087cff;
  animation: scan 8.6s ease-in-out infinite;
  pointer-events: none;
}
#adjuntoStartupSplash .core {
  position: absolute;
  z-index: 7;
  left: 49.3%;
  top: 38.8%;
  width: 2.8%;
  aspect-ratio: 1;
  transform: translate(-50%,-50%) scale(.1);
  border-radius: 50%;
  opacity: 0;
  background: #fff;
  box-shadow: 0 0 5px #fff,0 0 13px #7de8ff,0 0 28px #087cff,0 0 70px rgba(0,92,255,.9);
  animation: core 8.6s ease-in-out infinite;
  pointer-events: none;
}
#adjuntoStartupSplash .cardinal {
  position: absolute;
  z-index: 7;
  width: 1.4%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  box-shadow: 0 0 5px #fff,0 0 12px #007fff,0 0 28px #006cff;
  animation: node 8.6s ease-in-out infinite;
}
#adjuntoStartupSplash .n1 { left: 49.2%; top: 17.7%; }
#adjuntoStartupSplash .n2 { left: 17.9%; top: 38.6%; }
#adjuntoStartupSplash .n3 { left: 79.7%; top: 38.6%; }
#adjuntoStartupSplash .n4 { left: 49.2%; top: 57.4%; }
#adjuntoStartupSplash .flash {
  position: absolute;
  z-index: 8;
  inset: -20%;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  background: radial-gradient(circle at 49.3% 38.8%,rgba(255,255,255,.9) 0,rgba(180,235,255,.5) 3%,rgba(0,112,255,.28) 10%,transparent 26%);
  animation: flash 8.6s ease-out infinite;
}
#adjuntoStartupSplash .grid-glint {
  position: absolute;
  z-index: 3;
  inset: 0;
  opacity: 0;
  background: repeating-linear-gradient(180deg,transparent 0 4px,rgba(24,100,255,.045) 5px,transparent 6px);
  mix-blend-mode: screen;
  animation: grid 8.6s linear infinite;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  #adjuntoStartupSplash { animation-delay: 1.5s; }
  #adjuntoStartupSplash *,
  #adjuntoStartupSplash *::before,
  #adjuntoStartupSplash *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
  #adjuntoStartupSplash .poster { opacity: 1 !important; }
  #adjuntoStartupSplash .layer,
  #adjuntoStartupSplash .blackout,
  #adjuntoStartupSplash .reactor,
  #adjuntoStartupSplash .scan,
  #adjuntoStartupSplash .core,
  #adjuntoStartupSplash .cardinal,
  #adjuntoStartupSplash .flash,
  #adjuntoStartupSplash .grid-glint { display: none !important; }
}

@keyframes blackout{0%,3%{opacity:1}7%,100%{opacity:0}}
@keyframes emblemReveal{0%,4%{opacity:0;filter:brightness(.2) saturate(1.7)}11%{opacity:.28;filter:brightness(.55) saturate(1.55)}29%{opacity:1;filter:brightness(1.05) saturate(1.2)}72%,100%{opacity:1;filter:brightness(1) saturate(1)}}
@keyframes wordReveal{0%,22%{opacity:0}32%,100%{opacity:1}}
@keyframes tagReveal{0%,33%{opacity:0;filter:brightness(.65)}45%,100%{opacity:1;filter:brightness(1)}}
@keyframes finalPoster{0%,52%{opacity:0}60%,100%{opacity:1}}
@keyframes reactorOn{0%,7%{opacity:0;transform:translate(-50%,-50%) scale(.72)}15%{opacity:.42}30%{opacity:1;transform:translate(-50%,-50%) scale(1)}64%{opacity:.58}82%,100%{opacity:0}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes pulseRing{0%,100%{opacity:.35;transform:scale(.995)}50%{opacity:.95;transform:scale(1.006)}}
@keyframes scan{0%,5%{opacity:0;top:14%}10%{opacity:1}36%{opacity:.9;top:61%}42%,100%{opacity:0;top:61%}}
@keyframes core{0%,6%{opacity:0;transform:translate(-50%,-50%) scale(.1)}12%{opacity:1;transform:translate(-50%,-50%) scale(1.3)}20%{transform:translate(-50%,-50%) scale(1)}56%{opacity:1}72%,100%{opacity:0}}
@keyframes node{0%,20%{opacity:0;transform:scale(.2)}25%{opacity:1;transform:scale(1.6)}33%,70%{opacity:.95;transform:scale(1)}78%,100%{opacity:0}}
@keyframes flash{0%,27%{opacity:0}31%{opacity:1}39%{opacity:.15}54%{opacity:.3}61%,100%{opacity:0}}
@keyframes grid{0%,8%{opacity:0}16%,58%{opacity:.65}70%,100%{opacity:0}}

@keyframes adjuntoStartupSplashExit { to { opacity: 0; visibility: hidden; pointer-events: none; } }
