/* ============================================================
   Intro / Landing Page
   ============================================================ */

body.intro-page {
  background: var(--navy);
  overflow: hidden;
  cursor: pointer;
}

/* Full-screen intro container */
#intro-screen {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

/* The icon — starts large and centered */
#brand-icon {
  width: min(55vh, 55vw);
  max-width: 420px;
  display: block;

  /*
    The PNG has a black background. mix-blend-mode: lighten makes the
    black pixels take on the navy background color, so the icon appears
    to float without a visible bounding box.
  */
  mix-blend-mode: lighten;

  /* Transition for the shrink-and-move animation */
  transition:
    transform 0.75s cubic-bezier(0.4, 0, 0.2, 1),
    opacity   0.3s ease;

  transform-origin: top left;
  will-change: transform;
}

/* Subtle click hint */
#click-hint {
  color: var(--orange);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  user-select: none;
  pointer-events: none;
}

/* Hide hint once animation begins */
body.animating #click-hint {
  opacity: 0;
}

/* Fade the whole screen out after the icon has moved */
#intro-screen.fade-out {
  opacity: 0;
  transition: opacity 0.35s ease 0.1s;
  pointer-events: none;
}
