/* The garden plan you compose: ink that draws itself, and a running sourced range. */
.composer{display:grid;gap:clamp(26px,4vw,44px);margin-top:clamp(28px,4.5vw,56px)}
.plan{color:var(--ink);background:var(--bone);background-image:var(--fibre);border:1px solid var(--ink);box-shadow:6px 8px 0 rgba(33,45,38,.12);padding:clamp(8px,1.6vw,18px)}
.plan>svg{width:100%;height:auto;overflow:visible}
.plan .ink-all{stroke-width:1.7}
.plan .base{stroke-width:1.2;opacity:.8}
.plan .base:nth-of-type(1){stroke-dasharray:7 6}
.plan .ink{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset .5s ease}
.plan .ink.thin{stroke-width:1.2}
.plan [data-el].on .ink{stroke-dashoffset:0;transition:stroke-dashoffset 1.4s cubic-bezier(.55,0,.3,1)}
.plan [data-el].on .ink~.ink{transition-delay:.45s}
.plan [data-el].on .ink~.ink~.ink{transition-delay:.9s}
.plan .wash{color:var(--moss);opacity:0;transition:opacity .5s}
.plan [data-el].on .wash{opacity:.55;transition:opacity 1.2s .8s}
.plan .wash-house{color:var(--ink2);opacity:.5}
.plan .plants .sp{opacity:0;stroke-width:2.6;transform:translateY(8px);transition:opacity .6s,transform .6s;color:var(--ink)}
.plan [data-el].on .plants .sp{opacity:1;transform:none;transition:opacity .9s 1.1s,transform .9s 1.1s}
.plan .plants .sp:nth-child(2){transition-delay:1.25s!important}.plan .plants .sp:nth-child(3){transition-delay:1.4s!important}
.plan .plants .sp:nth-child(4){transition-delay:1.55s!important}.plan .plants .sp:nth-child(5){transition-delay:1.7s!important}.plan .plants .sp:nth-child(6){transition-delay:1.85s!important}
.plan .dots,.plan .tags,.plan .t{opacity:0;transition:opacity .4s}
.plan [data-el="drip"].on .dots{opacity:1;transition:opacity .8s 1.2s}
.plan .tags text,.plan .lab text{font:italic 500 15px var(--serif)}
.plan .tags text{font-size:13px;font-style:normal;font-weight:600}
.plan .lab .big{font-size:26px}
.plan .lab text:first-child{font-size:17px;opacity:.85}
.plan .tags.on,.plan .t.on{opacity:1;transition:opacity .9s .9s}
.plan .reg{opacity:.5}
.plan .lab text{paint-order:stroke;stroke:var(--bone);stroke-width:4px;stroke-linejoin:round}

.ctrl{min-width:0}
.els{border-bottom:1px solid var(--ink)}
.el{display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:16px;align-items:start;width:100%;min-height:72px;padding:16px 8px 16px 4px;border:0;border-top:1px solid var(--ink);background:transparent;text-align:left;transition:background .2s,padding .2s}
.el:hover{background:rgba(106,27,69,.06);padding-left:10px}
.el .box svg{width:30px;height:30px;fill:none;stroke:var(--ink);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;margin-top:2px}
.el .tick{stroke:var(--plum);stroke-width:3;stroke-dasharray:24;stroke-dashoffset:24;transition:stroke-dashoffset .1s}
.el[aria-pressed="true"] .tick{stroke-dashoffset:0;transition:stroke-dashoffset .45s .1s}
.el[aria-pressed="true"] .box rect{stroke:var(--plum)}
.el b{display:block;font:500 clamp(23px,2.6vw,28px)/1.1 var(--serif)}
.el i{display:block;font:normal 400 15.5px/1.4 var(--text);color:var(--ink2);margin-top:3px}
.el em{display:block;font:italic 400 17px/1.3 var(--serif);margin-top:4px}
.sum{display:block;margin-top:26px}
.sum .cap{display:block;font:italic 400 19px/1 var(--serif);color:var(--ink2)}
.sum .val{display:block;font:400 clamp(38px,5.4vw,60px)/1.05 var(--serif);letter-spacing:-.015em;margin-top:8px}
.sum.empty .val{font-style:italic;color:var(--ink2);font-size:clamp(28px,3.4vw,36px)}
.ctrl .acts{margin-top:24px}
@media (min-width:960px){.composer{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);align-items:start}.plan{position:sticky;top:84px}}
/* phones: the viewBox shrinks to about 0.85, so plants and tags are drawn larger and the tags sit clear of them */
@media (max-width:560px){
.plan .plants .sp{width:54px;height:68px}
.plan .plants .sp:nth-child(4),.plan .plants .sp:nth-child(6){width:58px;height:72px}
.plan .tags text{font-size:18px;font-weight:700;text-anchor:end;paint-order:stroke;stroke:var(--bone);stroke-width:4px;stroke-linejoin:round}
.plan .tags text:nth-child(-n+3){transform:translate(-22px,-18px)}
.plan .tags text:nth-child(n+4){text-anchor:middle}
.plan .tags text:nth-child(4){transform:translate(13px,-52px)}
.plan .tags text:nth-child(5){transform:translate(10px,-52px)}
.plan .tags text:nth-child(6){transform:translate(10px,-54px)}
.plan .t{font-size:17px}
}
