
#conference-of-birds{scroll-margin-top:30px}
.book .poem-note{font-size:16px;line-height:1.5;margin:12px 0 16px;max-width:none}
.reference-hoopoes{width:100%;max-width:310px;margin:-6px auto 0}
.reference-hoopoes svg{width:100%;height:auto;display:block;overflow:visible}
.little-left{transform:translateX(-35px)}.little-right{transform:translateX(35px)}
.little-heart{fill:#a75b61;opacity:0;stroke:#69493e;stroke-width:1}
.play .little-left{animation:approach-left 7s ease-in-out both}.play .little-right{animation:approach-right 7s ease-in-out both}
.play .little-heart{animation:heart-up 2.8s ease-out 3.1s both;--hx:-18px}.play .h2{animation-delay:3.5s;--hx:5px;fill:#bc8580}.play .h3{animation-delay:3.9s;--hx:28px}
@keyframes approach-left{0%{transform:translate(-35px,0)}40%{transform:translate(5px,-6px)}55%{transform:translate(5px,-6px)}100%{transform:translate(0,0)}}
@keyframes approach-right{0%{transform:translate(35px,0)}40%{transform:translate(-5px,-6px)}55%{transform:translate(-5px,-6px)}100%{transform:translate(0,0)}}
@keyframes heart-up{0%{opacity:0;transform:translate(0,0) scale(.4)}20%{opacity:.9}80%{opacity:.7}100%{opacity:0;transform:translate(var(--hx),-55px) scale(.8)}}
.motion-paused *{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.reference-hoopoes *{animation:none!important;transform:none!important}.little-heart{display:none}}
@media(max-width:600px){.bird-references{grid-template-columns:1fr;gap:55px}.bird-references>figure>img{max-width:210px}.bird-references figcaption{max-width:360px}.bird-references h2{font-size:28px}}

/* The restaurant peacock sits above its note at the upper right of the book. */
.book-and-note{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:20px;align-items:start}
.book-and-note>img{width:100%;height:auto;transform:rotate(-4deg)}
.peacock-note{padding-top:0;color:var(--muted)}
.peacock-note .spoon-peacock{display:block;width:44px;height:87px;margin:0 0 10px 0;mix-blend-mode:multiply}
.peacock-note p{font:12px/1.45 Scala,Arial,sans-serif;margin:0;max-width:22ch}
.bird-references .book figcaption{max-width:none}
@media(max-width:600px){.book-and-note{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:18px}.peacock-note .spoon-peacock{width:40px;height:79px}.peacock-note p{font-size:12px}.bird-references .book figcaption{max-width:360px}}

.book .poem-note .poem-title-link{font:inherit;color:inherit;line-height:inherit}

/* Give the Qajar artwork a quieter scale beside the book and its notes. */
.bird-references>.blossoms{align-self:center;padding:28px 0}
.bird-references>.blossoms>img{width:82%;max-width:205px}
.bird-references>.blossoms figcaption{max-width:250px;padding-top:22px}
@media(max-width:600px){.bird-references>.blossoms{padding:12px 0}.bird-references>.blossoms>img{max-width:180px}}

/* The animated hoopoes sit beneath the restaurant-peacock explanation. */
.peacock-note .reference-hoopoes{width:100%;max-width:250px;margin:12px auto 0}

/* A small animated pause between the poem explanation and its book credit. */
.book figcaption .reference-hoopoes{width:43.2%;max-width:168px;margin:0 auto 12px;position:relative;top:-10px}
