/* ============================================================
   LEETONE ENTERPRISES — Animations
   ============================================================ */

/* --- SCROLL REVEAL --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Stagger readout rows */
.readout-row.reveal, .readout-cell.reveal, .progress-row.reveal {
  opacity: 0;
  transform: translateY(8px);
}
.readout-row.reveal.visible, .readout-cell.reveal.visible, .progress-row.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- HOMEPAGE ENTRY ANIMATION (logo flash) --- */
.entry-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s ease-out;
}
.entry-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}
.entry-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logo-flash-in 0.5s ease-out forwards;
}
@keyframes logo-flash-in {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}
.entry-logo-symbol {
  width: 80vw;
  height: auto;
  display: block;
}
@media (min-width: 768px) {
  .entry-logo-symbol { width: 70vw; }
}
@media (min-width: 1024px) {
  .entry-logo-symbol { width: 60vw; }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .entry-overlay { display: none !important; }
  .terminal-cursor { animation: none; }
  .status-pip--live { animation: none; }
}
