.splash{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background: transparent;
  z-index:1003;
  opacity:0;
  animation: splashSeq 5s ease forwards;
}
.splash-content{
  position: relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.splash-startup-logo{
  width:min(120px, 24vw);
  height:auto;
  margin-bottom: 20px;
  opacity: 0;
  animation: startupLogoFade 3s ease forwards;
  animation-delay: 1.5s;
}
.splash img.splash-logo{
  width:min(300px, 60vw);
  height:auto;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.6));
}
.splash-title{
  margin-top: 50px;
  font-size: clamp(18px, 3.2vw, 32px);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  opacity: 0;
}
.logo-anim{
  animation:
    logoIntro 2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards,
    floatY 3s ease-in-out 2s infinite alternate;
}
.title-anim{
  animation:
    titleFly 1s cubic-bezier(0.2, 0.8, 0.2, 1) 2s forwards,
    floatY 3s ease-in-out 3s infinite alternate;
}
@keyframes logoIntro{
  0%   { opacity: 0; transform: translateY(0px) scale(0.05); }
  20%  { opacity: 1; transform: translateY(-2px) scale(0.05); }
  40%  { opacity: 1; transform: translateY(2px) scale(0.05); }
  100% { opacity: 1; transform: translateY(0px) scale(1.00); }
}
@keyframes titleFly{
  0%   { opacity: 0; transform: translateY(0px) scale(0.05); }
  100% { opacity: 1; transform: translateY(0px) scale(1.00); }
}
@keyframes startupLogoFade{
  0%   { opacity: 0; }
  16.7% { opacity: 1; }
  83.3% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes floatY{
  0%   { transform: translateY(-2.5px); }
  100% { transform: translateY(2.5px); }
}
.splash-reflections{
  position: absolute;
  top: 50%;
  transform: translateY(calc(100% + 10px));
  display:flex;
  flex-direction:column;
  align-items:center;
  pointer-events:none;
}
.splash-logo-reflect{
  width:min(300px, 60vw);
  height:auto;
  transform: scaleY(-1);
  opacity: 0;
  -webkit-mask-image: linear-gradient(to bottom, rgba(255,255,255,0.35), rgba(255,255,255,0));
  mask-image: linear-gradient(to bottom, rgba(255,255,255,0.35), rgba(255,255,255,0));
  animation: reflectFade 0.6s ease forwards;
  animation-delay: 3s;
  filter: blur(0.3px);
}
.splash-title-reflect{
  margin-top: 8px;
  font-size: clamp(18px, 3.2vw, 32px);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  transform: scaleY(-1);
  opacity: 0;
  -webkit-mask-image: linear-gradient(to bottom, rgba(255,255,255,0.35), rgba(255,255,255,0));
  mask-image: linear-gradient(to bottom, rgba(255,255,255,0.35), rgba(255,255,255,0));
  animation: reflectFade 0.6s ease forwards;
  animation-delay: 3s;
  filter: blur(0.3px);
}
@keyframes reflectFade{
  from { opacity: 0; }
  to   { opacity: 0.35; }
}
@keyframes splashSeq{
  0%   { opacity:0; transform:scale(0.98); }
  10%  { opacity:1; transform:scale(1); }
  80%  { opacity:1; transform:scale(1); }
  100% { opacity:0; transform:scale(1.01); }
}
.blackout{
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 1001;
  opacity: 1;
  pointer-events: none;
  transition: opacity 2s ease;
}
.splash-title span.title-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px) scale(0.8);
    animation: titleIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: calc(2s + (var(--index) * 0.05s));
}
@keyframes titleIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@media (max-width: 600px) {
  .splash img.splash-logo { width: min(180px, 36vw); }
  .splash-startup-logo { width: min(80px, 16vw); margin-bottom: 16px; }
  .splash-content { transform: translateY(-100px); }
}