.splash-test-page.is-splash-active {
  overflow: hidden;
}

.kefiria-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 16%, rgba(212, 154, 70, 0.26), transparent 30%),
    radial-gradient(circle at 84% 22%, rgba(163, 70, 90, 0.18), transparent 34%),
    linear-gradient(135deg, #fbfaf5, #f3ecdc 58%, #edf3e8);
  color: #243027;
  transition: opacity 620ms ease, visibility 0s linear 620ms;
}

.kefiria-splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.kefiria-splash-trigger {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
  place-items: center;
  width: min(760px, 86vw);
  min-height: 340px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.splash-bars {
  position: relative;
  display: block;
  width: min(620px, 82vw);
  height: 184px;
}

.splash-bar {
  position: absolute;
  left: 50%;
  width: min(520px, 76vw);
  height: clamp(24px, 5vw, 42px);
  border-radius: 999px;
  transform: translateX(-50%);
  box-shadow: 0 24px 70px rgba(36, 48, 39, 0.18);
  transition: transform 850ms cubic-bezier(.76, 0, .24, 1), width 850ms cubic-bezier(.76, 0, .24, 1), opacity 420ms ease;
}

.splash-bar-sage {
  top: 16px;
  background: #6F8A6B;
  transform: translateX(-50%) rotate(-4deg);
}

.splash-bar-gold {
  top: 74px;
  background: #C8A46B;
  transform: translateX(-50%) rotate(3deg);
}

.splash-bar-berry {
  top: 132px;
  background: #B86D5A;
  transform: translateX(-50%) rotate(-2deg);
}

.splash-hint {
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(.9rem, 2vw, 1.1rem);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(36, 48, 39, .68);
  animation: splashPulse 1600ms ease-in-out infinite;
}

.splash-word {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(28px) scale(.92);
  transition: opacity 540ms ease 280ms, transform 760ms cubic-bezier(.2,.8,.2,1) 280ms;
  pointer-events: none;
}

.splash-word img {
  width: clamp(92px, 18vw, 150px);
  height: clamp(92px, 18vw, 150px);
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(36, 48, 39, .14);
  box-shadow: 0 24px 70px rgba(31, 43, 34, .16);
  margin-bottom: 18px;
}

.splash-word span {
  font-family: "Cormorant Garamond", Garamond, Georgia, serif;
  font-size: clamp(4.8rem, 17vw, 13.5rem);
  line-height: .78;
  font-weight: 600;
  letter-spacing: -.075em;
  color: #174826;
  font-variant-ligatures: common-ligatures;
}

.splash-word small {
  margin-top: clamp(18px, 3vw, 28px);
  font-size: clamp(.82rem, 1.8vw, 1rem);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #718c6b;
}

.kefiria-splash.is-revealing .splash-trigger,
.kefiria-splash.is-revealing .splash-hint {
  opacity: 0;
}

.kefiria-splash.is-revealing .splash-bar {
  width: 145vw;
}

.kefiria-splash.is-revealing .splash-bar-sage {
  transform: translate(-50%, -22vh) rotate(28deg);
}

.kefiria-splash.is-revealing .splash-bar-gold {
  transform: translate(-50%, 0) rotate(-9deg);
}

.kefiria-splash.is-revealing .splash-bar-berry {
  transform: translate(-50%, 22vh) rotate(-28deg);
}

.kefiria-splash.is-revealing .splash-word {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes splashPulse {
  0%, 100% { opacity: .55; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
  .kefiria-splash,
  .splash-bar,
  .splash-word,
  .splash-hint {
    transition: none;
    animation: none;
  }
}

@media (max-width: 680px) {
  .kefiria-splash-trigger {
    min-height: 280px;
  }

  .splash-bars {
    height: 150px;
  }

  .splash-bar-gold {
    top: 62px;
  }

  .splash-bar-berry {
    top: 108px;
  }
}
