#splash {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-top: var(--border-top);
  animation: splashFadeIn 0.8s ease forwards;
}

/* ---- Gallery strip ---- */
.splash-wrapper {
  position: relative;
  width: 450px;
  height: 690px;
}

.splash-track-outer {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.splash-track {
  display: flex;
  height: 100%;
  transition: transform var(--transition-slow);
}

.splash-slide {
  min-width: 450px;
  height: 690px;
  object-fit: cover;
  flex-shrink: 0;
}

.splash-slide-video {
  min-width: 450px;
  height: 690px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.splash-slide-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Title overlay ---- */
.splash-title-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-48%, -52%);
  pointer-events: none;
  z-index: 10;
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.splash-title-overlay h1 {
  font-family: var(--font-impact);
  font-size: clamp(102px, 10vw, 146px);
  font-weight: 900;
  color: var(--red);
  letter-spacing: 12px;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}

.splash-title-overlay .creator {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 30px;
  color: var(--red);
  letter-spacing: 6px;
  margin-top: 8px;
  display: block;
  align-self: flex-end;
}

.splash-enter {
  margin-top: 40px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--black);
  transition: color var(--transition-med);
}

.splash-enter:hover {
  color: var(--red);
}

@keyframes splashFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#splash::after {
  content: "";
  position: fixed;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 100;
}

/* ---- Responsive ---- */
@media (max-width: 900px) and (min-width: 601px) {
  .splash-wrapper {
    width: min(50vw, calc(70vh * (450 / 690)));
    height: min(calc(50vw * (690 / 450)), 70vh);
  }
  .splash-slide,
  .splash-slide-video {
    min-width: min(50vw, calc(70vh * (450 / 690)));
    height: min(calc(50vw * (690 / 450)), 70vh);
  }
  .splash-title-overlay h1 {
    font-size: calc(min(50vw, calc(70vh * (450 / 690))) * 0.24);
    letter-spacing: calc(min(50vw, calc(70vh * (450 / 690))) * 0.022);
  }
  .splash-title-overlay .creator {
    font-size: calc(min(50vw, calc(70vh * (450 / 690))) * 0.055);
    letter-spacing: calc(min(50vw, calc(70vh * (450 / 690))) * 0.011);
  }
}

@media (max-width: 600px) {
  #splash {
    padding: 20px;
    justify-content: center;
    gap: 20px;
  }
  .splash-wrapper {
    width: min(62vw, calc(58vh * (450 / 690)));
    height: min(calc(62vw * (690 / 450)), 58vh);
  }
  .splash-slide,
  .splash-slide-video {
    min-width: min(62vw, calc(58vh * (450 / 690)));
    height: min(calc(62vw * (690 / 450)), 58vh);
  }
  .splash-title-overlay h1 {
    font-size: calc(min(62vw, calc(58vh * (450 / 690))) * 0.24);
    letter-spacing: calc(min(62vw, calc(58vh * (450 / 690))) * 0.022);
  }
  .splash-title-overlay .creator {
    font-size: calc(min(62vw, calc(58vh * (450 / 690))) * 0.055);
    letter-spacing: calc(min(62vw, calc(58vh * (450 / 690))) * 0.011);
  }
}
