.atmosphere{position:absolute;inset:0;z-index:-1;pointer-events:none}
.mist{position:absolute;left:-40%;width:180%;height:36%;opacity:.6;filter:blur(16px);background:radial-gradient(ellipse at 20% 45%,#f8f3dfaa 0%,#f8f3df70 15%,transparent 38%),radial-gradient(ellipse at 65% 55%,#faf4e6aa 0%,#faf4e655 24%,transparent 46%);will-change:transform;animation:drift 48s ease-in-out infinite alternate}
.mist.far{top:31%;height:22%;opacity:.55;filter:blur(9px);animation-duration:67s;animation-delay:-25s}
.mist.middle{top:48%;animation-delay:-18s}
.mist.near{top:70%;opacity:.32;animation-duration:39s;animation-direction:alternate-reverse}
.bird{position:absolute;left:0;top:42%;width:22px;height:12px;opacity:0;animation:flight 38s linear infinite;animation-delay:var(--delay);will-change:transform}
.bird svg{overflow:visible;width:100%;height:100%}
.wing{fill:none;stroke:#42462f;stroke-width:1.8;stroke-linecap:round;transform-origin:12px 8px;animation:flap 1.4s ease-in-out infinite alternate}
.wing.right{animation-delay:-.3s}
.bird:nth-of-type(5){top:38%;width:16px;animation-duration:44s}
.bird:nth-of-type(6){top:46%;width:13px;animation-duration:41s}
.bird:nth-of-type(7){top:40%;width:18px;animation-duration:47s}

@keyframes drift{from{transform:translate3d(-8%,2%,0) scale(1)}to{transform:translate3d(12%,-4%,0) scale(1.08)}}
@keyframes flight{0%,8%{opacity:0;transform:translate3d(-6vw,15px,0)}12%{opacity:.65}48%{transform:translate3d(48vw,-25px,0)}82%{opacity:.6}92%,100%{opacity:0;transform:translate3d(106vw,-10px,0)}}
@keyframes flap{0%,20%{transform:scaleY(.45)}70%,100%{transform:scaleY(1)}}
.mm-hero-effects{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.mm-hero-effects .atmosphere{z-index:0}

.mm-bloom{position:absolute;left:var(--pos);bottom:var(--ground);width:var(--size);height:calc(var(--size)*1.333333);pointer-events:none;z-index:0;transform:translateX(-50%) rotate(var(--lean,0deg));transform-origin:50% 98%;transition:transform 900ms ease-out;}
.mm-stem-growth{height:100%;transform-origin:50% 98%;}
.mm-plant-sway{position:relative;height:100%;transform-origin:50% 98%;animation:mm-breeze var(--breeze) ease-in-out var(--start) infinite alternate}
.mm-opening{position:absolute;inset:0;display:block;background-image:url('assets/peony-field-stages.png');background-size:400% 300%;background-repeat:no-repeat;filter:saturate(.78);}
.mm-opening--0{background-position:0% var(--row);animation:mm-close var(--duration) ease-in-out var(--opening) both}
.mm-opening--1{background-position:33.33333% var(--row);animation:mm-loosen var(--duration) ease-in-out var(--opening) both}
.mm-opening--2{background-position:66.66667% var(--row);animation:mm-cup var(--duration) ease-in-out var(--opening) both}
.mm-opening--3{background-position:100% var(--row);animation:mm-flower var(--duration) ease-in-out var(--opening) both}
@keyframes mm-close{0%,8%{opacity:1}36%,100%{opacity:0}}
@keyframes mm-loosen{0%,8%{opacity:0}36%,40%{opacity:1}68%,100%{opacity:0}}
@keyframes mm-cup{0%,40%{opacity:0}68%,72%{opacity:1}100%{opacity:0}}
@keyframes mm-flower{0%,72%{opacity:0}100%{opacity:1}}
@keyframes mm-breeze{from{transform:rotate(-.6deg)}to{transform:rotate(.8deg)}}
body.paused .mm-bloom *,body:has(.mm-hero-effects[data-suspended]) .mm-bloom *{animation-play-state:paused!important}
@media(max-width:700px){.mm-bloom{width:calc(var(--size)*.6);height:calc(var(--size)*.8)}}
@media(prefers-reduced-motion:reduce){.mm-bloom *{animation:none!important}.mm-opening{opacity:0}.mm-opening--3{opacity:1}.mm-bloom{transform:translateX(-50%)!important}}
body.paused .mm-hero-effects *, .mm-hero-effects[data-suspended] *{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.mm-hero-effects *{animation:none!important}.mm-hero-effects .bird{display:none}.mm-hero-effects .mist{opacity:.25}}

.mm-bloom{mask-image:linear-gradient(to top,transparent 0%,#000 9%);-webkit-mask-image:linear-gradient(to top,transparent 0%,#000 9%)}
@media(max-width:700px){.mm-bloom:nth-of-type(3n){display:none}}

/* Distant balloon prototype: kept behind the mist. */
.mm-balloon{position:absolute;top:39%;left:0;width:clamp(30px,4vw,58px);height:auto;opacity:0;filter:sepia(.24);animation:mm-balloon-drift 95s linear infinite;pointer-events:none}
.mm-balloon svg{display:block;width:100%;height:auto;animation:mm-balloon-rock 9s ease-in-out infinite alternate;transform-origin:50% 30%}
@keyframes mm-balloon-drift{0%{transform:translate3d(9vw,28px,0) scale(.72);opacity:0}8%{opacity:.52}35%{opacity:.34}52%{transform:translate3d(45vw,-15px,0) scale(.86);opacity:.5}70%{opacity:.25}88%{opacity:.46}100%{transform:translate3d(87vw,-38px,0) scale(.72);opacity:0}}
@keyframes mm-balloon-rock{from{transform:rotate(-3deg)}to{transform:rotate(3deg)}}
@media(prefers-reduced-motion:reduce){.mm-balloon{display:none}}


.oval{position:relative}
.mm-pond-scene{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden}
.mm-boat-voyage{offset-path:path('M 350 678 C 385 674 421 647 422 610 C 422 595 413 583 405 580');offset-rotate:0deg;animation:mm-pond-trip 110s ease-in-out both;animation-play-state:paused}
.mm-pond-active .mm-boat-voyage{animation-play-state:running}
.mm-boat-bob{animation:mm-boat-bob 4s ease-in-out infinite alternate}
.mm-passenger-one{animation:mm-board-one 9s ease-in-out both}
.mm-passenger-two{animation:mm-board-two 10s ease-in-out both}
.mm-oar{transform-origin:0 0;animation:mm-row 4s ease-in-out 10s infinite}
.mm-oar-far{animation-delay:10.2s}
.mm-boat-wake{opacity:.5;animation:mm-wake 4s ease-in-out infinite}
.mm-pond-scene *{animation-play-state:paused}
.mm-pond-active *{animation-play-state:running}
@keyframes mm-pond-trip{from{offset-distance:0%}to{offset-distance:100%}}
@keyframes mm-board-one{0%,45%{transform:translate(-25px,4px) rotate(12deg)}100%{transform:translate(0,-5px)}}
@keyframes mm-board-two{0%,50%{transform:translate(-37px,3px) rotate(14deg)}100%{transform:translate(0,-4px)}}
@keyframes mm-row{0%,100%{transform:rotate(-18deg)}45%{transform:rotate(22deg)}65%{transform:rotate(22deg) translateY(-2px)}}
@keyframes mm-boat-bob{from{transform:translateY(0) rotate(-1deg)}to{transform:translateY(1px) rotate(1deg)}}
@keyframes mm-wake{50%{opacity:.2}}
body.paused .mm-pond-scene *{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.mm-boat-voyage{offset-distance:35%}.mm-pond-scene *{animation:none!important}}

.mm-fountain-spray{fill:none;stroke:#e6dab1;stroke-linecap:round;opacity:.55}
.mm-fountain-jet{stroke-width:1.4;stroke-dasharray:3 3 7 4;animation:mm-water-fall 1.2s linear infinite}
.mm-fountain-jet:nth-child(2n){animation-duration:1.65s;animation-delay:-.7s;stroke-width:.8}
.mm-fountain-ripple{fill:none;stroke:#e7debd;stroke-width:.8;transform-box:fill-box;transform-origin:center;animation:mm-pond-ripple 5s ease-out infinite}
.mm-fountain-ripple:nth-child(2){animation-delay:-2.5s}
@keyframes mm-water-fall{to{stroke-dashoffset:-34}}
@keyframes mm-pond-ripple{0%{transform:scale(.45);opacity:0}15%{opacity:.4}100%{transform:scale(1.6);opacity:0}}
.mm-pond-scene:not(.mm-pond-active) *{animation-play-state:paused!important}

/* Fine engraved boat artwork and low-contrast concentric water movement. */
.mm-rowboat-art{filter:sepia(.2) saturate(.64) contrast(.82);opacity:.9}
.mm-fountain-ripple{stroke:#e2dcc1;stroke-width:.7;animation-duration:9s}
@keyframes mm-pond-ripple{0%{transform:scale(.65);opacity:0}18%{opacity:.32}65%{opacity:.17}100%{transform:scale(1.55);opacity:0}}
.mm-water-rings{opacity:.8}
.mm-fountain-spray{opacity:.32}
.mm-boat-bob{animation-duration:5.5s}

/* Sheltered-water drift: the entire hull remains clear of bank and fountain. */
.mm-boat-bob{animation:mm-water-rock 7.5s ease-in-out infinite}
@keyframes mm-water-rock{0%,100%{transform:translateY(0) rotate(-.65deg)}50%{transform:translateY(1.1px) rotate(.65deg)}}
.mm-catch-fish{opacity:0;animation:mm-fish-catch 3.2s ease-in-out 4s both}
@keyframes mm-fish-catch{0%{opacity:0;transform:translate(-50px,5px) rotate(-20deg)}12%{opacity:1}45%{transform:translate(-35px,-27px) rotate(20deg);opacity:1}70%{transform:translate(-20px,-21px) rotate(-25deg);opacity:1}100%{transform:translate(-12px,0) rotate(35deg);opacity:0}}
.mm-catch-splash{fill:none;stroke:#eee3bf;stroke-width:.65;opacity:0;animation:mm-fish-splash 1.8s ease-out 4s both;transform-origin:-50px 10px}
@keyframes mm-fish-splash{0%{opacity:0;transform:scale(.4)}15%{opacity:.7}100%{opacity:0;transform:scale(1.8)}}
.mm-celebrate{animation:mm-celebrate 2.8s ease-in-out 5.5s both;transform-origin:0 0}
@keyframes mm-celebrate{0%,100%{transform:translateY(0)}25%,65%{transform:translateY(-1.4px) rotate(-.6deg)}45%,85%{transform:translateY(-.3px) rotate(.5deg)}}
.mm-wine-arm{transform-origin:29px -6px;animation:mm-sip 24s ease-in-out 11s infinite}
@keyframes mm-sip{0%,12%,32%,100%{transform:rotate(0)}19%,25%{transform:rotate(20deg)}}
.mm-fishing-line{fill:none;stroke:#c5b994;stroke-width:.25;opacity:0;animation:mm-line-lift 3.2s ease-in-out 4s both}
@keyframes mm-line-lift{0%,100%{opacity:0}15%,80%{opacity:.8}}

/* Both men react to the catch independently; the hull keeps its slow float. */
.mm-cheer-left{transform-origin:-16px -8px;animation:mm-cheer-left 4.2s ease-in-out 5s both}
.mm-cheer-right{transform-origin:30px -5px;animation:mm-cheer-right 4.2s ease-in-out 5.2s both}
@keyframes mm-cheer-left{0%,100%{transform:translateY(0) rotate(0)}20%{transform:translateY(-2px) rotate(7deg)}40%{transform:translateY(-1px) rotate(3deg)}60%{transform:translateY(-2.5px) rotate(8deg)}80%{transform:translateY(-.5px) rotate(2deg)}}
@keyframes mm-cheer-right{0%,100%{transform:translateY(0) rotate(0)}20%{transform:translateY(-2.5px) rotate(-8deg)}40%{transform:translateY(-1px) rotate(-3deg)}60%{transform:translateY(-3px) rotate(-9deg)}80%{transform:translateY(-.5px) rotate(-2deg)}}

/* Low-amplitude wavefronts catch light on one edge and dissolve into the engraving. */
.mm-water-rings{opacity:.72;pointer-events:none}
.mm-water-wave{animation:mm-natural-ripple 9.6s linear var(--ripple-delay) infinite;transform-origin:0 0}
.mm-wave-light,.mm-wave-shadow{fill:none;stroke-width:.55;vector-effect:non-scaling-stroke}
.mm-wave-light{stroke:#dcd5b7;stroke-dasharray:33 6 18 3 42 8 22 4;stroke-linecap:round}
.mm-wave-shadow{stroke:#555e4d;stroke-dasharray:27 9 41 6 19 7;opacity:.4;stroke-width:.45}
@keyframes mm-natural-ripple{0%{transform:scale(.22);opacity:0}12%{opacity:.44}38%{opacity:.29}70%{opacity:.13}100%{transform:scale(2.15,2.05);opacity:0}}

/* Readable at the illustration's actual display size; repeat the story. */
.mm-water-rings{opacity:1}
.mm-wave-light{stroke:#f1e6c7;stroke-width:1.15}
.mm-wave-shadow{stroke:#485447;stroke-width:.85;opacity:.55}
@keyframes mm-natural-ripple{0%{transform:scale(.25);opacity:0}12%{opacity:.82}38%{opacity:.63}70%{opacity:.3}100%{transform:scale(2.5,2.3);opacity:0}}
.mm-catch-fish{animation:mm-catch-repeat 18s linear infinite}
.mm-catch-splash{animation:mm-splash-repeat 18s linear infinite}
.mm-fishing-line{animation:mm-line-repeat 18s linear infinite}
.mm-cheer-left{animation:mm-cheer-left-repeat 18s ease-in-out infinite}
.mm-cheer-right{animation:mm-cheer-right-repeat 18s ease-in-out infinite}
@keyframes mm-catch-repeat{0%,22%{opacity:0;transform:translate(-50px,5px) rotate(-20deg)}24%{opacity:1;transform:translate(-48px,0) rotate(-10deg)}29%{opacity:1;transform:translate(-35px,-27px) rotate(20deg)}34%{opacity:1;transform:translate(-20px,-21px) rotate(-25deg)}40%,100%{opacity:0;transform:translate(-12px,0) rotate(35deg)}}
@keyframes mm-splash-repeat{0%,22%{opacity:0;transform:scale(.4)}24%{opacity:.8}33%,100%{opacity:0;transform:scale(1.8)}}
@keyframes mm-line-repeat{0%,22%,40%,100%{opacity:0}25%,35%{opacity:.8}}
@keyframes mm-cheer-left-repeat{0%,29%,53%,100%{transform:translateY(0) rotate(0)}34%,44%{transform:translate(1px,-4px) rotate(12deg)}39%,49%{transform:translateY(-1px) rotate(3deg)}}
@keyframes mm-cheer-right-repeat{0%,30%,54%,100%{transform:translateY(0) rotate(0)}35%,45%{transform:translate(-1px,-4px) rotate(-13deg)}40%,50%{transform:translateY(-1px) rotate(-3deg)}}

/* Broken highlights follow the water perspective, without bright closed rings. */
.mm-wave-light{stroke:#c9c6aa;stroke-width:.8;stroke-dasharray:none;filter:blur(.2px)}
.mm-wave-shadow{stroke:#5e6858;stroke-width:.65;stroke-dasharray:none;opacity:.3}
.mm-water-wave:nth-child(2n){animation-duration:10.8s}
.mm-water-wave:nth-child(3n){animation-duration:11.6s}
@keyframes mm-natural-ripple{0%{transform:scale(.35);opacity:0}15%{opacity:.58}40%{opacity:.4}75%{opacity:.16}100%{transform:scale(2.7,2.2);opacity:0}}

.mm-pose-rest{animation:mm-rest-pose 18s linear infinite}
.mm-pose-cheer{animation:mm-cheer-pose 18s linear infinite}
.mm-pose-toast{animation:mm-toast-pose 18s linear infinite}
@keyframes mm-rest-pose{0%,28%,80%,100%{opacity:.9}32%,76%{opacity:0}}
@keyframes mm-cheer-pose{0%,28%,54%,100%{opacity:0}32%,49%{opacity:.9}}
@keyframes mm-toast-pose{0%,49%,80%,100%{opacity:0}54%,76%{opacity:.9}}
