/* Small painted creatures sit against the paper edge, outside the reading column. */
.neel-atmosphere-host{position:relative}
.neel-atmosphere{position:absolute;inset:0;z-index:3;overflow:hidden;contain:layout paint;pointer-events:none;user-select:none;opacity:0}
.neel-atmosphere[data-exposed="true"]{opacity:1}
.neel-atmosphere *{pointer-events:none}
.neel-edge{position:absolute;display:block;opacity:.58}
.neel-edge[data-edge="left"]{left:-1px}
.neel-edge[data-edge="right"]{right:-1px}
.neel-edge[data-position="top"]{top:12px}
.neel-edge[data-position="bottom"]{bottom:12px}
.neel-edge-motion{position:relative;display:block;width:100%;height:100%;transform-origin:50% 94%}
.neel-edge-art{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
.neel-edge-peacock{width:clamp(44px,13vw,60px);aspect-ratio:1/3.75;opacity:.64}
/* The bird occupies x20–60% of the source. Crop transparent margins, not feathers. */
.neel-edge-peacock .neel-edge-art{left:-50%;width:250%;max-width:none}
.neel-edge-peacock[data-edge="right"] .neel-edge-motion{scale:-1 1}
.neel-edge-camel{width:clamp(52px,15vw,74px);aspect-ratio:1;opacity:.46}
.neel-edge-camel[data-edge="left"] .neel-edge-motion{scale:-1 1}
.neel-edge-jhumar{width:clamp(27px,8vw,40px);height:107px;opacity:.56}
.neel-edge-jhumar .neel-edge-motion{transform-origin:50% 2%}
#events .neel-edge[data-position="top"]{top:145px}
#travel .neel-edge[data-position="top"]{top:150px}
#closing .neel-edge[data-position="top"]{top:0}
#closing .neel-edge[data-position="bottom"]{bottom:8px}
.neel-butterfly{position:absolute;display:block;width:30px;aspect-ratio:1;opacity:.72}
.neel-butterfly[data-edge="left"]{left:4px}
.neel-butterfly[data-edge="right"]{right:4px}
.neel-butterfly-motion{position:relative;display:block;width:100%;height:100%;perspective:180px;transform:rotate(-9deg);filter:drop-shadow(0 2px 1px rgb(116 93 47 / .12))}
.neel-butterfly img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.neel-wing{transform-origin:50% 48%}
.neel-wing-left{clip-path:polygon(0 0,20% 0,37% 20%,47% 37%,48% 46%,48% 100%,0 100%)}
.neel-wing-right{clip-path:polygon(80% 0,100% 0,100% 100%,52% 100%,52% 46%,53% 37%,63% 20%)}
.neel-butterfly-body{clip-path:polygon(36% 10%,40% 10%,50% 33%,60% 10%,64% 10%,53% 38%,54% 77%,46% 77%,47% 38%)}
@media(min-width:640px){
  .neel-edge-peacock{width:80px}
  .neel-edge-camel{width:90px}
  .neel-edge-jhumar{width:42px;height:135px}
  .neel-butterfly{width:36px}
}
@media(prefers-reduced-motion:reduce){
  .neel-atmosphere{opacity:.85}
  .neel-atmosphere[data-exposed="false"]{opacity:0}
}
