/* Ribbon wave hero: the band is a row of the hero; the canvas sits centred on it at a fixed aspect and spills past
   it (the hero section crops), unless the band has data-rw-clip. */
.rw {
  position: relative;
  height: var(--rw-height, 46svh);
  min-height: 150px;
  width: 100%;
  pointer-events: none;
  animation: rw-in var(--rw-in-dur, .5s) var(--rw-in-delay, .15s) both;
}
.rw[data-rw-clip] { overflow: clip; }
.rw > .rw__canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  min-width: var(--rw-min-width, 1440px);
  aspect-ratio: var(--rw-aspect, 3024 / 1592);
  transform: translate(-50%, -50%);
  display: block;
}
/* static fallback: a soft streak in the palette where the ribbon would be */
.rw--static > .rw__canvas { display: none; }
.rw--static::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 22%;
  transform: translateY(-50%) skewY(-4deg);
  background: var(--rw-fallback);
  filter: blur(18px);
  opacity: .85;
  border-radius: 50%;
}
@keyframes rw-in {
  from { opacity: 0; scale: 1.02; animation-timing-function: cubic-bezier(.215, .61, .355, 1); }
  to { opacity: 1; scale: 1; }
}
@media (prefers-reduced-motion: reduce) { .rw { animation: none; } }
