.splash-loading {
  overflow: hidden;
}

#splash-screen {
  position: fixed;
  inset: 0;
  z-index: 90;
  background:
    radial-gradient(circle at 12% 15%, rgba(171, 31, 37, 0.14), transparent 36%),
    radial-gradient(circle at 82% 12%, rgba(17, 59, 122, 0.18), transparent 42%),
    linear-gradient(145deg, #f7f3ec, #ece4d9);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.splash-track {
  width: min(860px, 92vw);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: splash-slide 1.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash-logo {
  width: clamp(85px, 14vw, 140px);
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 24px rgba(17, 59, 122, 0.25));
}

.splash-title {
  margin: 0;
  color: #142235;
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(1.1rem, 2.6vw, 2.05rem);
  letter-spacing: 0.02em;
  max-width: 28ch;
}

.splash-fade {
  animation: splash-fade 0.4s ease forwards;
}

#home-content {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.content-hidden {
  opacity: 0;
  transform: translateY(10px);
}

.site-shell {
  opacity: 1;
  transform: translateY(0);
}

.home-main {
  padding-bottom: 1.4rem;
}

.split-section {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.2rem;
  align-items: center;
}

.split-section.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.split-section img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(17, 59, 122, 0.15);
}

.split-section > div {
  animation: lift-in 0.6s ease both;
}

.section {
  animation: lift-in 0.6s ease both;
}

@keyframes lift-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes splash-slide {
  0% {
    transform: translateX(-46vw);
    opacity: 0;
  }
  45% {
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes splash-fade {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@media (max-width: 900px) {
  .split-section,
  .split-section.reverse {
    grid-template-columns: 1fr;
  }

  .split-section img {
    max-height: 280px;
  }

  .splash-track {
    flex-direction: column;
    text-align: center;
  }
}
