/* "Which grow system suits you?" - Home page diagram. Everything is scoped to #systems. */
#systems{--accent:#2f7d24;--gs-line:#d9dbdd}
#systems [hidden]{display:none !important}
#systems .gs-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 16px;margin-bottom:10px}
#systems .gs-head h2{margin:0;font-size:clamp(1.35rem,2.6vw,1.8rem)}
#systems .gs-head p{margin:0;color:var(--muted);font-size:.95rem}
#systems .gs-head h3{margin:0;font-size:1.25rem}
#systems .gs-head .gs-why{flex-basis:auto;color:var(--ink)}
#systems .gs-intro h2{flex-basis:100%}
#systems .gs-head .eyebrow{flex-basis:100%;margin:0;font-size:.82rem;color:var(--leaf)}
#systems .gs-head b{color:var(--ink)}
#systems .gs-choose{margin-top:18px;scroll-margin-top:8px}
#systems .gs-parts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#systems .gs-part{display:flex;flex-direction:column;background:#fff;border:1px solid var(--gs-line);border-radius:14px;overflow:hidden;transition:border-color .2s,box-shadow .2s}
#systems .gs-part:hover{border-color:var(--ink)}
#systems .gs-part:has([aria-pressed="true"]){border-color:#f0a202;box-shadow:0 0 0 2px #f0a202}
#systems .gs-partbtn{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;font:inherit;color:var(--ink);background:none;border:0;padding:12px 14px 6px;cursor:pointer}
#systems .gs-role{display:flex;align-items:center;gap:8px;align-self:stretch;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
#systems .gs-part{position:relative}
#systems .gs-pb{position:absolute;top:9px;right:12px;display:inline-block;background:#3d7d2e;color:#fff;text-decoration:none;font-weight:600;font-size:.86rem;line-height:1;border-radius:999px;padding:8px 16px}
#systems .gs-pb:hover{color:#fff;background:#2f6823}
#systems .gs-num{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:var(--ink);color:#fff;letter-spacing:0}
#systems .gs-name{display:flex;align-items:center;gap:8px;margin-top:4px;font-size:1.05rem;font-weight:700;line-height:1.25}
#systems .gs-name .partico{width:26px;height:26px}
#systems .gs-kick{font-size:.8rem;color:var(--muted)}
#systems .gs-line{font-size:.9rem;line-height:1.35;color:#424245}
#systems .gs-show-hint{margin-top:auto;font-size:.76rem;color:var(--muted);text-decoration:underline;text-underline-offset:2px}
#systems .gs-partfoot{display:flex;justify-content:flex-end;padding:0 14px 10px;margin-top:-24px;font-size:.86rem;font-weight:600;pointer-events:none}
#systems .gs-partfoot a{pointer-events:auto}
#systems .gs-partfoot.gs-two{justify-content:space-between}
#systems .gs-part:has(.gs-two) .gs-partbtn{padding-bottom:30px}
#systems .gs-hl{display:none;fill:none;stroke:#f0a202;stroke-width:4;stroke-dasharray:10 7;pointer-events:none}
#systems .gs-focus-body .gs-hl-body,#systems .gs-focus-brain .gs-hl-brain,#systems .gs-focus-nerve .gs-hl-nerve{display:inline;animation:gs-ring 1.1s ease-in-out infinite alternate}
@keyframes gs-ring{from{opacity:.45}to{opacity:1}}
#systems .gs-player{scroll-margin-top:8px;background:#fff;border:1px solid var(--gs-line);border-radius:18px;padding:12px;box-shadow:0 10px 30px rgba(0,0,0,.06)}
#systems .gs-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px}
#systems .gs-tabs{display:flex;flex-wrap:wrap;gap:6px}
#systems .gs-tabs button,#systems .gs-ctl{font:inherit;font-size:.86rem;font-weight:600;border:1.5px solid var(--gs-line);background:#fff;color:var(--ink);border-radius:999px;padding:5px 13px;cursor:pointer}
#systems .gs-tabs button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
#systems .gs-ctrls{display:flex;align-items:center;gap:10px}
#systems button:focus-visible,#systems a:focus-visible{outline:3px solid #1763b8;outline-offset:2px}
#systems .gs-track{height:4px;background:#e8e9eb;border-radius:99px;overflow:hidden;margin:8px 0 10px}
#systems .gs-track i{display:block;height:100%;width:0;background:#2f7d24}
#systems .gs-time{font-size:.8rem;color:var(--muted);font-variant-numeric:tabular-nums}
#systems .gs-stage{display:block}
#systems .gs-dlg-title{margin:0;font-size:1.15rem;padding-left:10px;border-left:5px solid var(--accent,#2f7d24)}
#systems .gs-art{background:#fbfcfb;border:1px solid var(--gs-line);border-radius:14px;overflow:hidden;display:flex;align-items:center}
#systems .gs-art svg{display:block;width:100%;height:auto}
#systems .gs-info{border:1px solid var(--gs-line);border-top:5px solid var(--accent,#2f7d24);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;align-items:flex-start}
#systems .gs-info h2{margin:0 0 2px;font-size:1.1rem}
#systems .gs-info dl{margin:0}
#systems .gs-info dt{font-size:.7rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-top:8px}
#systems .gs-info dd{margin:1px 0 0;font-size:.9rem;line-height:1.35}
#systems .gs-info a{margin-top:auto;display:inline-block;background:var(--accent,#2f7d24);color:#fff;text-decoration:none;font-weight:600;border-radius:999px;padding:7px 18px;font-size:.9rem}
#systems .gs-info dl+a{margin-top:auto}
#systems .gs-info dl{padding-bottom:10px}
#systems .gs-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:2px 12px;margin-top:8px}
#systems .gs-caption{flex:1 1 320px;min-height:1.45em;margin:0;font-size:1rem;font-weight:600;text-align:center}
#systems .gs-note{margin:0 0 0 auto;font-size:.72rem;color:var(--muted)}
#systems .gs-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
#systems .gs-overview button{transition:border-color .2s,box-shadow .2s,transform .2s}
#systems .gs-overview button:hover{box-shadow:0 8px 24px rgba(0,0,0,.08);transform:translateY(-2px)}
#systems .gs-overview dl{margin:4px 0 2px;padding:6px 8px 0;border-top:1px solid var(--gs-line);display:grid;grid-template-columns:auto 1fr;gap:3px 10px;text-align:left;font-size:.84rem;line-height:1.35}
#systems .gs-overview dt{font-size:.68rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding-top:2px}
#systems .gs-overview dd{margin:0;color:#424245}
#systems .gs-overview b{border-bottom:3px solid var(--accent,#2f7d24);width:fit-content;margin:0 auto 2px;padding-bottom:1px}
#systems .gs-thumb{position:relative;display:block}
#systems .gs-playbtn{position:absolute;left:50%;top:50%;width:36px;height:36px;margin:-18px 0 0 -18px;border-radius:50%;background:rgba(29,29,31,.78);display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px rgba(0,0,0,.25);transition:transform .2s,background .2s}
#systems .gs-playbtn svg{width:18px;height:18px;margin-left:2px;fill:#fff}
#systems .gs-overview button:hover .gs-playbtn{transform:scale(1.1);background:var(--accent,#2f7d24)}
#systems .gs-more{display:inline-flex!important;align-items:center;gap:7px}
#systems .gs-miniplay{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:var(--accent,#2f7d24);flex:none}
#systems .gs-miniplay svg{width:11px;height:11px;margin-left:1px;fill:#fff}
#systems .gs-more{display:block;margin:2px 0 4px;font-style:normal;font-size:.88rem;font-weight:600;color:var(--water,#1763b8)}
#systems .gs-note-ov{margin:6px 0 0;text-align:right}
/* pop-up */
#systems .gs-dialog{margin:auto;inset:0;width:min(1100px,calc(100vw - 32px));max-width:none;max-height:calc(100vh - 32px);padding:0;border:0;border-radius:18px;background:transparent;overflow:auto}
#systems .gs-dialog::backdrop{background:rgba(18,20,22,.6)}
#systems .gs-dialog .gs-player{box-shadow:0 24px 70px rgba(0,0,0,.35)}
#systems .gs-x{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:1.5px solid var(--gs-line);border-radius:50%;background:#fff;color:var(--ink);font-size:1.5rem;line-height:1;cursor:pointer}
#systems .gs-x:hover{background:var(--ink);border-color:var(--ink);color:#fff}
html:has(.gs-dialog[open]){overflow:hidden}
#systems .gs-overview button{font:inherit;background:#fbfcfb;border:1.5px solid var(--gs-line);border-radius:14px;padding:8px;cursor:pointer;text-align:center;color:var(--ink)}
#systems .gs-overview button:hover{border-color:var(--ink)}
#systems .gs-overview svg{display:block;width:100%;height:auto}
#systems .gs-overview b{display:block;font-size:1rem}
#systems .gs-overview span{display:block;font-size:.85rem;color:var(--muted);padding-bottom:4px}
#systems [hidden]{display:none !important}
/* water */
#systems .gs-pipe{fill:none;stroke:#cfd4d8;stroke-width:12;stroke-linecap:round;stroke-linejoin:round}
#systems .gs-pipe.gs-black{stroke:#3a3d40;stroke-width:9}
#systems .gs-water{fill:none;stroke:#2a8fe0;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:9 11;animation:gs-flow 1s linear infinite}
#systems .gs-water.gs-film{stroke-width:4;stroke-dasharray:14 6;animation-duration:1.4s}
#systems .gs-water.gs-thin{stroke-width:3.5;stroke-dasharray:6 10;animation-duration:.8s}
#systems .gs-water.gs-rain{stroke:#85c4f3;stroke-width:1.4;opacity:.8;animation-duration:.55s}
@keyframes gs-flow{to{stroke-dashoffset:-40}}
#systems .gs-drop{fill:#2a8fe0;animation:gs-drip 1.2s ease-in infinite}
@keyframes gs-drip{0%{transform:translateY(0);opacity:0}15%{opacity:1}100%{transform:translateY(46px);opacity:.2}}
#systems .gs-drop.gs-short{animation-name:gs-dripShort;animation-duration:.9s}
@keyframes gs-dripShort{0%{transform:translateY(0);opacity:0}20%{opacity:1}100%{transform:translateY(9px);opacity:.15}}
#systems .gs-paused .gs-water,#systems .gs-paused .gs-drop{animation-play-state:paused}
#systems .gs-lbl{font:600 17px -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;fill:#1d1d1f}
#systems .gs-lead{stroke:#8b8f94;stroke-width:1.5;fill:none}
/* wider screens: the whole player, heading included, fits in one window */
@media (min-width:761px){
#systems{padding-top:14px;padding-bottom:18px}
#systems .gs-art svg{max-height:max(280px,calc(100vh - 190px))}
#systems .gs-overview svg{max-height:max(180px,calc(100vh - 420px))}
}
/* phone: caption sits directly under the moving picture, facts follow */
@media (max-width:760px){
#systems{padding-top:28px;padding-bottom:32px}
#systems .gs-player{display:flex;flex-direction:column}
#systems .gs-top,#systems .gs-track{order:0}
#systems .gs-stage{display:contents}
#systems .gs-art{order:1}
#systems .gs-foot{order:2}
#systems .gs-info{order:3;margin-top:10px}
#systems .gs-parts{grid-template-columns:1fr;gap:8px}
#systems .gs-info a{margin-top:2px}
#systems .gs-ctrls{margin-left:auto}
#systems .gs-overview{grid-template-columns:1fr}
#systems .gs-dialog{width:calc(100vw - 16px);max-height:calc(100vh - 16px)}
#systems .gs-overview svg{max-width:360px;max-height:200px;margin:0 auto}
#systems .gs-lbl{font-size:23px}
}
@media (prefers-reduced-motion:reduce){
#systems .gs-water,#systems .gs-drop,#systems .gs-hl{animation:none !important}
#systems .gs-drop{opacity:1}
}
#systems .gs-info a:hover{color:#fff;filter:brightness(.92)}
.gs-which{font-weight:400;font-size:.86rem;margin-left:6px}
