.nodo-cutout {
  position: relative;
  margin: -28px 12px 12px;
  filter: drop-shadow(0 12px 20px #120a20bb);
}

.nodo-cutout img {
  display: block;
  width: 100%;
  height: auto;
}

.nodo-cutout figcaption {
  margin: .35rem .5rem 0;
  color: #f0e8ff;
  font-size: .75rem;
  text-align: right;
}

.nodo-example {
  min-height: 220px;
  display: grid;
  place-items: center;
  border: 1px solid #4f4460;
  border-radius: .65rem;
  padding: 1rem;
  background: #18131f;
}

.nodo-example img { width: 100%; max-width: 430px; height: auto; }
.nodo-example-post { max-width: 24rem; color: #242129; background: #f7f4f5; padding: 1.4rem; border-radius: .4rem; }
.nodo-example-post p + p { margin-top: .6rem; }

@media (max-width: 767px) {
  .stitch-photo-frame:has(.nodo-cutout) { aspect-ratio: auto; }
  .stitch-photo-frame:has(.nodo-cutout) > .stitch-portrait { height: auto; aspect-ratio: 4 / 3; }
}

@media (min-width: 768px) {
  .nodo-cutout {
    position: absolute;
    width: min(72%, 420px);
    bottom: 4%;
    right: 4%;
    margin: 0;
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* Keep rounded clipping without making the hero an independent scroll container. */
    section:has(.nodo-parallax), .stitch-photo-frame:has(.nodo-parallax) { overflow: clip; }
    .stitch-photo-frame { view-timeline-name: --nodo-photo; }
    .nodo-parallax {
      animation: nodo-layer linear both;
      animation-timeline: --nodo-photo;
      animation-range: entry 0% exit 85%;
    }
    @keyframes nodo-layer {
      from { translate: 0 9px; }
      to { translate: 0 -9px; }
    }
  }
}
