/* MCRW — cinematic entry splash (home only). Images unchanged; animation only. */
.splash-pending > header.nav,
.splash-pending > section,
.splash-pending > div.pillars,
.splash-pending > footer {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.site-root.splash-done > header.nav,
.site-root.splash-done > section,
.site-root.splash-done > div.pillars,
.site-root.splash-done > footer {
  opacity: 1;
  transform: none;
}

#splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    radial-gradient(900px 600px at 50% 38%, rgba(178, 34, 52, 0.22), transparent 65%),
    radial-gradient(700px 500px at 20% 80%, rgba(200, 163, 74, 0.12), transparent 60%),
    linear-gradient(180deg, #060f1f 0%, #0a1c38 55%, #081428 100%);
  overflow: hidden;
  transition: opacity 0.85s ease, visibility 0.85s;
}
#splash.out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#splash-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.splash-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px;
  max-width: 720px;
}
.splash-emblem {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 18px;
  box-shadow: 0 0 0 3px var(--gold), 0 0 40px rgba(200, 163, 74, 0.45);
  animation: splashEmblem 1.1s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}
.splash-tag {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 12px;
  color: var(--gold2);
  opacity: 0;
  animation: splashFadeUp 0.8s ease 0.35s forwards;
}
.splash-title {
  font-family: 'Cormorant Garamond', serif;
  color: var(--cream);
  font-weight: 700;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.05;
  margin-top: 10px;
  opacity: 0;
  animation: splashFadeUp 0.9s ease 0.55s forwards;
}
.splash-title .u { color: var(--gold2); }
.splash-sub {
  margin-top: 14px;
  color: var(--t1);
  font-size: clamp(15px, 2vw, 18px);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: splashFadeUp 0.9s ease 0.75s forwards;
}
.splash-frame {
  position: relative;
  max-width: 280px;
  margin: 28px auto 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gold);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 0 6px rgba(200, 163, 74, 0.1);
  transform: perspective(1200px) rotateX(8deg) scale(0.88);
  opacity: 0;
  animation: splashFrameIn 1.2s cubic-bezier(0.2, 0.85, 0.2, 1) 0.9s forwards,
    bob 7s ease-in-out 2.1s infinite;
}
.splash-frame img { width: 100%; display: block; }
.splash-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.18) 46%, transparent 60%);
  background-size: 260% 260%;
  animation: driftsheen 6.5s linear infinite;
}
.splash-stripe {
  position: absolute;
  left: -10%;
  right: -10%;
  height: 6px;
  background: linear-gradient(90deg, var(--red), #fff 35%, var(--navy3) 70%, var(--gold));
  opacity: 0.55;
  transform: translateX(-120%);
  animation: splashStripe 1.4s ease 1.1s forwards;
}
.splash-actions {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: splashFadeUp 0.8s ease 1.35s forwards;
}
.splash-skip {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  color: var(--t2);
  background: rgba(8, 18, 36, 0.6);
  border: 1px solid var(--line2);
  border-radius: 3px;
  padding: 8px 12px;
  cursor: pointer;
  transition: 0.2s;
}
.splash-skip:hover { color: var(--cream); border-color: var(--gold); }
.splash-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--red));
  animation: splashProgress 4.2s linear 1.5s forwards;
}

@keyframes splashEmblem {
  0% { opacity: 0; transform: scale(0.4) rotate(-18deg); }
  70% { transform: scale(1.08) rotate(4deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes splashFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes splashFrameIn {
  to { opacity: 1; transform: perspective(1200px) rotateX(0) scale(1); }
}
@keyframes splashStripe {
  to { transform: translateX(0); }
}
@keyframes splashProgress {
  to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .splash-emblem, .splash-tag, .splash-title, .splash-sub, .splash-frame,
  .splash-actions, .splash-stripe, .splash-progress { animation: none !important; opacity: 1 !important; transform: none !important; }
  .splash-frame { margin-top: 18px; }
}