.locals-splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(252, 211, 77, .18), transparent 34%),
    #f8f7f3;
  color: #123b2c;
  font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  opacity: 1;
  visibility: visible;
  transition: opacity .45s ease, visibility .45s ease;
}

html.locals-splash-pending body {
  visibility: hidden;
}

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

.locals-splash__frame {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(86vw, 420px);
  padding: 28px 20px 34px;
  text-align: center;
}

.locals-splash__mark-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 190px;
  height: 190px;
  margin-bottom: 10px;
}

.locals-splash__mark-wrap::before,
.locals-splash__mark-wrap::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(16, 120, 78, .2);
  border-radius: 50%;
  animation: locals-ring 1.8s ease-out infinite;
}

.locals-splash__mark-wrap::after {
  border-color: rgba(220, 38, 38, .18);
  animation-delay: .55s;
}

.locals-splash__mark {
  position: relative;
  z-index: 1;
  display: block;
  width: 154px;
  height: 154px;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(15, 23, 42, .18));
  animation: locals-mark-in .8s cubic-bezier(.2, .8, .2, 1) both;
}

.locals-splash__eyebrow {
  color: #9a6a08;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  animation: locals-copy-in .55s .3s ease both;
}

.locals-splash__title {
  position: relative;
  padding-bottom: 10px;
  font-size: clamp(30px, 9vw, 44px);
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1;
  animation: locals-copy-in .55s .4s ease both;
}

.locals-splash__title::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, #dc2626 0 33.33%, #f5c518 33.33% 66.66%, #16834f 66.66% 100%);
}

.locals-splash__tagline {
  max-width: 290px;
  color: #59655f;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: .02em;
  animation: locals-copy-in .55s .5s ease both;
}

.locals-splash__progress {
  width: min(240px, 68vw);
  height: 5px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 99px;
  background: #e7e2d9;
}

.locals-splash__progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #dc2626, #f5c518 50%, #16834f);
  transform-origin: left;
  animation: locals-progress 2.3s cubic-bezier(.2, .8, .2, 1) both;
}

.locals-splash__skip {
  position: absolute;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  appearance: none;
  border: 0;
  background: transparent;
  color: #58635e;
  font: 700 13px/1.2 inherit;
  letter-spacing: .02em;
  cursor: pointer;
}

@keyframes locals-mark-in {
  from { opacity: 0; transform: scale(.72) rotate(-7deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes locals-ring {
  0% { opacity: .75; transform: scale(.7); }
  85%, 100% { opacity: 0; transform: scale(1.22); }
}

@keyframes locals-copy-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes locals-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .locals-splash,
  .locals-splash__mark,
  .locals-splash__mark-wrap::before,
  .locals-splash__mark-wrap::after,
  .locals-splash__eyebrow,
  .locals-splash__title,
  .locals-splash__tagline,
  .locals-splash__progress span {
    animation: none;
    transition-duration: .15s;
  }
}
