.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: auto;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
.intro-top,
.intro-bot {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  background: #070707;
  transition: transform 1s cubic-bezier(0.77, 0, 0.18, 1);
}
.intro-top {
  top: 0;
}
.intro-bot {
  bottom: 0;
}
.intro-c {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  transition:
    opacity 0.45s ease,
    transform 0.6s cubic-bezier(0.77, 0, 0.18, 1);
}
.intro-mark {
  position: relative;
}
.intro-logo {
  display: block;
  height: clamp(48px, 8vw, 84px);
  width: auto;
  max-width: none;
  clip-path: inset(0 100% 0 0);
  animation: introRev 1.4s cubic-bezier(0.77, 0, 0.18, 1) 0.35s forwards;
}
.intro-scan {
  position: absolute;
  top: -14%;
  bottom: -14%;
  left: 0;
  width: 2px;
  background: #fdc307;
  box-shadow: 0 0 14px 2px rgba(253, 195, 7, 0.75);
  opacity: 0;
  animation: introScan 1.4s cubic-bezier(0.77, 0, 0.18, 1) 0.35s forwards;
}
.intro-tag {
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #9c9c9c;
  opacity: 0;
  transform: translateY(8px);
  animation: introTag 0.9s ease 1.5s forwards;
}
.intro-pct {
  position: absolute;
  right: max(24px, 4vw);
  bottom: max(22px, 4vh);
  font:
    500 12px/1 "JetBrains Mono",
    ui-monospace,
    monospace;
  letter-spacing: 0.12em;
  color: #8a8a8a;
}
.intro-pct b {
  color: #f2f2f2;
  font-weight: 500;
}
.intro-brand {
  position: absolute;
  left: max(24px, 4vw);
  bottom: max(22px, 4vh);
  font:
    500 12px/1 "JetBrains Mono",
    ui-monospace,
    monospace;
  letter-spacing: 0.12em;
  color: #8a8a8a;
  text-transform: uppercase;
}
.intro-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.intro-line i {
  display: block;
  height: 100%;
  width: var(--pct, 0%);
  background: #fdc307;
  transition: width 0.25s linear;
}
.intro.salir {
  pointer-events: none;
}
.intro.salir .intro-c {
  opacity: 0;
  transform: scale(1.03);
}
.intro.salir .intro-pct,
.intro.salir .intro-brand,
.intro.salir .intro-line {
  opacity: 0;
  transition: opacity 0.3s;
}
.intro {
  transition: opacity 1.2s ease 0.2s;
}
.intro.salir {
  opacity: 0;
}
@keyframes introRev {
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes introScan {
  0% {
    left: 0;
    opacity: 1;
  }
  92% {
    left: 100%;
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}
@keyframes introTag {
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .intro {
    display: none;
  }
}
