/* A short homepage-load flourish. Page content never depends on it. */
.polish-intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 220ms ease-out;
  animation: polish-fail-open 0s 3.4s forwards;
}
.polish-intro.is-finished { opacity: 0; pointer-events: none; }
.polish-scene, .polish-mist { position: absolute; inset: 0; width: 100%; height: 100%; }
.polish-cloth {
  position: absolute;
  top: 0;
  left: 0;
  width: 140px;
  height: 140px;
  will-change: transform;
  filter: drop-shadow(4px 8px 5px rgba(2, 56, 51, .22));
}
.polish-cloth > svg { width: 100%; height: 100%; stroke: none; }
.polish-glint { transform-box: fill-box; transform-origin: center; animation: polish-glint 600ms ease-in-out infinite alternate; }
.polish-glint:nth-child(2) { animation-delay: -300ms; }
.polish-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: max(20px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding-inline: 18px;
}
.polish-caption, .polish-skip {
  margin: 0;
  color: white;
  background: #075e59;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  padding: 10px 17px;
  font: 700 13px/1.5 'Nunito Sans', Arial, sans-serif;
}
.polish-caption { font-family: 'Fredoka', 'Trebuchet MS', sans-serif; font-size: 17px; font-weight: 500; }
.polish-skip { pointer-events: auto; cursor: pointer; min-height: 44px; }
.polish-skip:hover { color: #174640; background: #f4e875; border-color: #f4e875; }
.polish-skip:focus-visible { outline: 3px solid #075e59; outline-offset: 4px; }
@keyframes polish-glint { from { opacity: .2; transform: scale(.6) rotate(-10deg); } to { opacity: 1; transform: scale(1) rotate(8deg); } }
@keyframes polish-fail-open { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .polish-intro { display: none; } }
@media print { .polish-intro { display: none; } }
