/* ── SPLASH OVERLAY ── */

#splash.hide {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
}

/* ── SVG LOGO ── */
.logo-wrap {
  position: relative;
  height: 50vh;
}

.logo-wrap svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ── Cerchio: draw-on + fill ── */
.logo-wrap .filLogo {
  fill: none;
  stroke: #b77774;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--len, 3000);
  stroke-dashoffset: var(--len, 3000);
}

.logo-wrap.animate .filLogo:nth-child(1) {
  animation:
    drawPath 1.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards,
    fillIn 0.4s ease 1.6s forwards;
}
.logo-wrap.animate .filLogo:nth-child(2) {
  animation:
    drawPath 1.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards,
    fillIn 0.4s ease 1.8s forwards;
}

/* ── Scritta sotto: fade-in dopo il fill ── */
.logo-wrap .logo-text {
  fill: #b77774;
  opacity: 0;
  stroke: none;
}
.logo-wrap.animate .logo-text {
  animation: textFadeIn 1s ease 2s forwards;
}

@keyframes drawPath {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fillIn {
  0% {
    fill: transparent;
  }
  100% {
    fill: #b77774;
    stroke-width: 0;
  }
}
@keyframes textFadeIn {
  0% {
    opacity: 0;
    transform: translateY(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
