.home-splash-active:not(.motion-off) { overflow: hidden; }
.home-splash-active:not(.motion-off) .home-splash { display: block !important; }
.home-splash {
  --splash-sage: #c9dacb;
  --splash-ink: #203e34;
  --splash-cream: #f7f0d9;
  --splash-lime: #bedc40;
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  color: var(--splash-ink);
}
.home-splash-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--splash-sage);
}
.home-splash-revealed .home-splash-stage { visibility: hidden; }
.home-splash-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(36px, 5vw, 86px);
}
.home-splash-wordmark {
  margin: 0;
  font: bold clamp(43px, 5.5vw, 96px)/.96 "Trebuchet MS", system-ui, sans-serif;
  letter-spacing: -.072em;
  white-space: nowrap;
}
.home-splash-wordmark span { display: inline-block; }
.home-splash-space { width: .27em; }
.home-splash-active .home-splash-wordmark span:not(.home-splash-space) {
  animation: home-splash-letter .49s cubic-bezier(.2,.7,.26,1) both;
  animation-delay: calc(48ms + var(--letter) * 27ms);
}
.home-splash-track {
  position: relative;
  overflow: hidden;
  margin-top: clamp(19px, 2.6vw, 34px);
  width: 47%;
  height: 3px;
  border-radius: 9px;
  background: #86a28e6b;
}
.home-splash-track::before, .home-splash-track::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.home-splash-track::before {
  background: var(--splash-ink);
  transform-origin: left;
  animation: home-splash-fill 1.2s cubic-bezier(.2,.65,.32,1) both;
}
.home-splash-track::after {
  width: 16%;
  background: linear-gradient(90deg, transparent, var(--splash-lime));
  animation: home-splash-streak 1.2s cubic-bezier(.25,.53,.36,1) both;
}
.home-splash-scene { position: relative; width: clamp(170px, 24vw, 360px); aspect-ratio: 1; }
.home-splash-orbit {
  position: absolute;
  inset: 6%;
  border: 2px solid transparent;
  border-top-color: #305444;
  border-bottom-color: #305444;
  border-radius: 50%;
  animation: home-splash-orbit 1.2s cubic-bezier(.16,.66,.32,1) both;
}
.home-splash-orbit-light {
  position: absolute;
  inset: 6%;
  animation: home-splash-light 1.2s cubic-bezier(.15,.65,.29,1) both;
}
.home-splash-orbit-light::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 11%;
  aspect-ratio: 1;
  background: var(--splash-lime);
  transform: translate(-50%, -50%) rotate(-31deg);
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 61%, 50% 100%, 38% 61%, 0 50%, 38% 38%);
}
.home-splash-camera {
  position: absolute;
  inset: 30% 17% 27%;
  isolation: isolate;
  animation: home-splash-camera 1.2s cubic-bezier(.2,.7,.3,1) both;
}
.home-splash-camera::before, .home-splash-camera::after, .home-splash-lens, .home-splash-lens::after {
  position: absolute;
  content: "";
}
.home-splash-camera::before {
  inset: 6% 0 0;
  background: var(--splash-ink);
  border-radius: 6% 5% 7% 5% / 9% 9% 10% 10%;
  clip-path: polygon(0 6%, 96% 0, 100% 94%, 2% 100%);
}
.home-splash-camera::after {
  inset: -6% auto auto 16%;
  width: 26%;
  height: 21%;
  border-radius: 9% 12% 4% 6%;
  background: var(--splash-cream);
  transform: rotate(-4deg);
}
.home-splash-lens {
  z-index: 1;
  left: 53%;
  top: 51%;
  width: 47%;
  aspect-ratio: 1;
  background: var(--splash-cream);
  border-radius: 47% 53% 49% 51% / 51% 47% 53% 49%;
  box-shadow: .46em .48em 0 var(--splash-lime);
  transform: translate(-50%, -50%);
}
.home-splash-lens::after { inset: 24%; background: #587536; border-radius: 50% 48% 49% 53%; }
.home-splash-flash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse at var(--flash-x) var(--flash-y), #fffdf4 0%, #fff7dc 37%, #fff8e9 100%);
}
.home-splash-burst {
  --star: polygon(45% 0%, 61% 31%, 85% 12%, 74% 40%, 100% 51%, 73% 62%,
    86% 88%, 60% 73%, 49% 100%, 38% 73%, 13% 88%, 26% 61%, 0% 48%, 27% 38%, 13% 12%, 39% 31%);
  position: absolute;
  left: var(--flash-x);
  top: var(--flash-y);
  width: clamp(84px, 15vmin, 160px);
  aspect-ratio: 1;
  opacity: 0;
  filter: drop-shadow(2px 3px 0 var(--splash-ink));
}
.home-splash-burst::before, .home-splash-burst::after {
  content: "";
  position: absolute;
  clip-path: var(--star);
}
.home-splash-burst::before { inset: 0; background: #b9cd48; }
.home-splash-burst::after { inset: 8%; background: #fff5c9; }

@keyframes home-splash-letter {
  0% { opacity: 0; transform: translateY(.34em) rotate(-10deg) scale(.86); }
  64% { opacity: 1; transform: translateY(-.09em) rotate(3deg) scale(1.015); }
  100% { opacity: 1; transform: none; }
}
@keyframes home-splash-fill {
  0% { transform: scaleX(.06); }
  63% { transform: scaleX(.76); }
  100% { transform: scaleX(1); }
}
@keyframes home-splash-streak {
  0% { opacity: 0; transform: translateX(0); }
  22%, 90% { opacity: 1; }
  100% { opacity: 0; transform: translateX(525%); }
}
@keyframes home-splash-orbit {
  0% { opacity: 0; transform: rotate(-66deg) scale(.92); }
  35% { opacity: 1; }
  100% { opacity: 1; transform: rotate(-23deg); }
}
@keyframes home-splash-light {
  0% { opacity: 0; transform: rotate(-44deg); }
  25%, 85% { opacity: 1; }
  100% { opacity: .7; transform: rotate(31deg); }
}
@keyframes home-splash-camera {
  0% { opacity: 0; transform: translateY(9%) rotate(-18deg) scale(.88); }
  46% { opacity: 1; transform: translateY(-4%) rotate(-7deg) scale(1.025); }
  84% { transform: rotate(-9deg); }
  100% { opacity: 1; transform: rotate(-9deg) scale(1.035); }
}
@media (max-width: 570px) {
  .home-splash-lockup { flex-direction: column-reverse; gap: 24px; }
  .home-splash-scene { width: min(49vw, 230px); }
  .home-splash-wordmark { font-size: clamp(40px, 10vw, 62px); }
  .home-splash-track { margin: 19px auto 0; }
}
@media (prefers-reduced-motion: reduce) {
  .home-splash-active:not(.motion-off) { overflow: revert; }
  .home-splash-active:not(.motion-off) .home-splash { display: none !important; }
}
