/* Ilustraciones SVG dibujadas a mano (home) */

.fand-hand-scene {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.fand-hand-scene .fand-hand-stroke {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.fand-hand-scene .fand-hand-fill {
  opacity: 0;
}

.fand-hand-scene.is-drawn .fand-hand-fill {
  opacity: 1;
}

.fand-home-intro-art {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
}

.fand-home-intro-art .fand-hand-scene {
  position: absolute;
  top: 46%;
  right: clamp(-1rem, -2vw, 0.5rem);
  left: auto;
  bottom: auto;
  width: min(48vw, 560px);
  height: min(44vw, 520px);
  max-width: none;
  transform: translateY(-50%);
  transform-origin: 100% 50%;
}

.fand-hand-parallax {
  transform-origin: 50% 50%;
  will-change: transform;
}

@media (max-width: 900px) {
  .fand-home-intro-art {
    min-height: 0;
    height: auto;
  }

  .fand-home-intro-art .fand-hand-scene {
    position: relative;
    top: auto;
    right: auto;
    width: min(72vw, 260px);
    height: auto;
    aspect-ratio: 420 / 520;
    margin: 0 auto 0 0;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fand-hand-scene .fand-hand-fill {
    opacity: 1;
  }

  .fand-hand-scene .fand-hand-stroke {
    stroke-dashoffset: 0 !important;
  }

  .fand-hand-parallax {
    will-change: auto;
  }
}
