/* A short, section-triggered 2028 impact before the ordinary content returns. */
.future__arrival {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--yellow);
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
}

.future__arrival span {
  display: block;
  font: 900 clamp(112px, 32vw, 460px)/.9 Arial, sans-serif;
  letter-spacing: -.1em;
  opacity: 0;
  transform: translateY(-110vh) scale(1.3) rotate(-8deg);
}

.future__arrival.is-arrived {
  visibility: visible;
  animation: future-arrival-screen 2.25s both;
}

.future__arrival.is-arrived span {
  animation: future-arrival-digit .74s cubic-bezier(.18,.88,.3,1.25) both;
}

.future__arrival.is-arrived span:nth-child(1) { animation-delay: .08s; }
.future__arrival.is-arrived span:nth-child(2) { animation-delay: .24s; }
.future__arrival.is-arrived span:nth-child(3) { animation-delay: .4s; }
.future__arrival.is-arrived span:nth-child(4) { animation-delay: .56s; }

@keyframes future-arrival-digit {
  0% { opacity: 0; transform: translateY(-110vh) scale(1.3) rotate(-8deg); }
  66% { opacity: 1; transform: translateY(5%) scale(1.06) rotate(2deg); }
  82% { transform: translateY(-4%) scale(.97) rotate(-1deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

@keyframes future-arrival-screen {
  0% { opacity: 0; }
  5%, 76% { opacity: 1; }
  100% { opacity: 0; }
}

@media (max-width: 767px) {
  .future__arrival {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    align-content: center;
    justify-content: center;
  }
  .future__arrival span {
    font-size: clamp(180px, 60vw, 260px);
    line-height: .78;
  }
}

@media (prefers-reduced-motion: reduce) {
  .future__arrival, .future__arrival.is-arrived { display: none; animation: none; }
}
