/* Grues d'origami et soleil taillé (PRD, section 27.4). Seule ombre autorisée : sous les grues.
 * Grain de papier statique (feTurbulence), sur l'accroche uniquement, retiré si prefers-reduced-motion. */

.origami {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.origami__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.origami__crane {
  filter: var(--shadow-origami);
}

.origami__horizon {
  stroke: var(--color-ink);
  stroke-width: 1.6;
}

.origami__sun {
  fill: var(--color-beurre);
}

.paper-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
  .paper-grain {
    mix-blend-mode: screen;
    opacity: 0.12;
  }
}

@media (prefers-reduced-motion: reduce) {
  .paper-grain {
    display: none;
  }
}

@media (min-width: 900px) {
  .origami {
    height: 480px;
  }
}
