[data-leaf]{display:inline-block;line-height:0}
.leaf{display:block;overflow:visible;width:100%;height:100%}
.leaf .lf{transform-box:fill-box;transform-origin:100% 100%;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.leaf .lf-b{fill:transparent;stroke:var(--leaf-line,#1E3A2E);stroke-width:8.5;stroke-linejoin:round;transition:fill .6s ease,stroke .6s ease}
.leaf .lf-f{fill:var(--leaf-fill,#98AD82);opacity:0;transition:opacity .6s ease}
.leaf .on .lf-f{opacity:1}
.leaf .on .lf-b{stroke:var(--leaf-on-line,#54732F)}
.leaf .lf-v{fill:none;stroke:var(--leaf-line,#1E3A2E);stroke-width:4.5;stroke-linecap:round;transition:stroke .6s ease}
.leaf .on .lf-v{stroke:var(--leaf-vein-on,var(--leaf-on-line,#54732F))}
/* A · draw */
.leaf.a-draw .lf-b,.leaf.a-draw .lf-v{stroke-dasharray:1;stroke-dashoffset:1;animation:lf-draw 1.1s cubic-bezier(.6,0,.2,1) forwards;animation-delay:calc(var(--i)*.14s)}
.leaf.a-draw .lf-v{animation-delay:calc(.7s + var(--i)*.1s);animation-duration:.5s}
.leaf.a-draw .on .lf-f{opacity:0;animation:lf-fill .7s ease 1.25s forwards}
@keyframes lf-draw{to{stroke-dashoffset:0}}
@keyframes lf-fill{to{opacity:1}}
/* B · bloom */
.leaf.a-bloom .lf{animation:lf-bloom .9s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i)*.12s)}
@keyframes lf-bloom{from{transform:scale(0) rotate(-35deg);opacity:0}to{transform:none;opacity:1}}
/* E · open on hover */
.leaf.h-open:hover .lf,.h-open-parent:hover .leaf .lf{transform:translate(-7px,-7px)}
@media (prefers-reduced-motion:reduce){.leaf .lf,.leaf .lf-b,.leaf .lf-v{animation:none!important;transition:none!important;stroke-dashoffset:0!important}}

/* G · big background drawing, drawn by the scroll (JS sets --d per leaf and --f for the fill) */
.bigleaf{position:absolute;pointer-events:none;z-index:0;aspect-ratio:1}
.bigleaf .lf-b,.bigleaf .lf-v{stroke-dasharray:1;stroke-dashoffset:var(--d,1);transition:none}
.bigleaf .lf-b{stroke-width:2.2}
.bigleaf .lf-v{stroke-width:1.6}
.bigleaf .lf-f,.bigleaf .on .lf-f{opacity:0;transition:opacity .9s ease}
.bigleaf.done .on .lf-f{opacity:var(--bigfill,.5)}
@media (prefers-reduced-motion:reduce){.bigleaf .lf-b,.bigleaf .lf-v{stroke-dashoffset:0}.bigleaf .on .lf-f{opacity:var(--bigfill,.5)}}
