/* Splash — full-bleed photo over everything the guest layout draws, with the
   headline at the top and the lockup + pulsing dots at the foot. Sizes follow
   the 393×852 Figma frame; the column stays that wide on larger screens. */

.ol-splash,
.ol-splash * {
  box-sizing: border-box;
}

.ol-splash {
  position: fixed;
  inset: 0;
  z-index: 2147483000; /* above the signed-in chrome, tour and first-visit sheets */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 94px 24px max(65px, calc(env(safe-area-inset-bottom) + 40px));
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.ol-splash__photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.52) 21.66%, rgba(255, 255, 255, 0) 110.86%),
    var(--ol-splash-image) center 30% / cover no-repeat;
  /* The source photo is sepia; the design sets it in neutral grey. */
  filter: grayscale(1);
  animation: ol-splash-settle 3.2s ease-out both;
}

.ol-splash__copy,
.ol-splash__brand {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 345px;
}

.ol-splash__copy {
  align-items: flex-start;
  gap: 8px;
}

.ol-splash__headline {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 38px;
  color: #fff;
}

.ol-splash__run--gold { color: #eaa654; }
.ol-splash__run--green { color: #5aa11c; }

.ol-splash__caption {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 18px;
  color: #fff;
}

.ol-splash__brand {
  align-items: center;
  gap: 4.75px;
}

.ol-splash__wordmark {
  width: 246px;
  height: auto;
}

.ol-splash__strapline {
  width: 203px;
  height: auto;
  /* The artwork is dark grey; the splash sets it white over the photo. */
  filter: brightness(0) invert(1);
}

.ol-splash__dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}

.ol-splash__dot {
  width: 14px;
  height: 14px;
  border-radius: 9999px;
  animation: ol-splash-dot 1.2s ease-in-out infinite;
}

.ol-splash__dot:nth-child(1) { background: #faae24; }
.ol-splash__dot:nth-child(2) { background: #75b217; animation-delay: 0.2s; }
.ol-splash__dot:nth-child(3) { background: #e94f43; animation-delay: 0.4s; }

@keyframes ol-splash-dot {
  0%, 80%, 100% { transform: translateY(0) scale(0.75); opacity: 0.45; }
  40%           { transform: translateY(-6px) scale(1); opacity: 1; }
}

@keyframes ol-splash-settle {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .ol-splash__photo { animation: none; }
  .ol-splash__dot {
    animation-name: ol-splash-dot-fade;
  }
  @keyframes ol-splash-dot-fade {
    0%, 80%, 100% { opacity: 0.35; }
    40%           { opacity: 1; }
  }
}
