.water-cycle { color: #1b392e; background: #eeede1; padding: clamp(3.8rem,7vw,7.25rem) 0; }
.wc-wrap { width: min(88.4%,78rem); margin: 0 auto; }
.wc-heading { display: grid; grid-template-columns: 1.17fr .83fr; align-items: end; gap: clamp(2rem,6vw,6rem); margin-bottom: clamp(1.7rem,3.6vw,3.65rem); }
.wc-kicker,.wc-picker legend { color: #4b604e; text-transform: uppercase; font: 650 .69rem/1.45 var(--sans,system-ui); letter-spacing: .13em; margin: 0; }
.wc-heading h2 { font: 400 clamp(3rem,5.5vw,5.9rem)/.99 var(--serif,Georgia); letter-spacing: -.062em; margin: .62rem 0 0; text-wrap: balance; }
.wc-heading h2 em { color: #4f673d; white-space: nowrap; }
.wc-heading > p { max-width: 47ch; font-size: clamp(1rem,1.25vw,1.15rem); line-height: 1.56; margin: 0; color: #415448; }
.wc-workbench { display: grid; grid-template-columns: minmax(0,1.9fr) minmax(15rem,1fr); align-items: start; gap: clamp(1.8rem,4.4vw,4.8rem); }
.wc-figure { margin: 0; min-width: 0; }
.wc-plate { width: 100%; height: auto; display: block; border: 1px solid #adb8a5; }
.wc-figure figcaption { margin: .7rem 0 0; display: flex; gap: .2rem 1rem; flex-wrap: wrap; justify-content: space-between; font-size: .74rem; font-weight: 620; }
.wc-figure figcaption span { color: #526252; font-weight: 450; }
.wc-label { font: 600 15px var(--sans,system-ui); fill: #234c46; }
.wc-label.wc-light { fill: #fff3d6; }
.wc-leader { stroke: currentColor; fill: none; stroke-width: 1; }
.wc-roots .wc-leader { color: #efe1bd; }
.wc-flow { transition: opacity .22s ease-out; }
.wc-flow { opacity: 0; }
.water-cycle:not([data-wc-active]) .wc-roots { opacity: 1; }
.water-cycle[data-wc-active="roots"] .wc-roots,.water-cycle[data-wc-active="vapour"] .wc-vapour,.water-cycle[data-wc-active="heat"] .wc-heat { opacity: 1; }
.wc-picker { margin: 0; padding: 0; border: 0; }
.wc-picker legend { padding: 0 0 .6rem; }
.wc-picker label { display: flex; gap: .67rem; align-items: center; padding: .62rem .1rem; min-height: 44px; border-top: 1px solid #b2bca8; cursor: pointer; font-size: .99rem; }
.wc-picker label:last-child { border-bottom: 1px solid #b2bca8; }
.wc-picker label:has(:checked) { color: #234b37; font-weight: 680; }
.wc-picker input { accent-color: #35603c; width: 1.05rem; height: 1.05rem; margin: 0; }
.wc-picker input:focus-visible { outline: 2px solid #9b461f; outline-offset: 3px; }
.wc-stations article { padding-top: 1.3rem; }
.wc-stations h3,.wc-research h3 { font-weight: 600; font-size: clamp(1.32rem,2vw,1.85rem); line-height: 1.17; letter-spacing: -.04em; margin: 0; }
.wc-stations p,.wc-research p { font-size: 1rem; color: #405247; line-height: 1.58; margin: .65rem 0 0; }
.wc-research { margin-top: clamp(2.4rem,4vw,4.3rem); padding-top: 1.3rem; border-top: 1px solid #8f9e88; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.9fr); gap: clamp(1.4rem,4vw,4rem); }
.wc-research p:first-child { margin-top: 0; }
.wc-research .wc-sources { display: flex; gap: .2rem .9rem; align-items: baseline; flex-wrap: wrap; margin-top: .9rem; color: #314c3a; font-size: .81rem; font-weight: 600; }
.wc-sources a { font-weight: 450; text-underline-offset: .21em; }
@media(max-width:760px) {
  .wc-wrap { width: calc(100% - 2.5rem); }
  .wc-heading,.wc-workbench,.wc-research { grid-template-columns: 1fr; gap: 1.25rem; }
  .wc-heading h2 { max-width: 14ch; }
  .wc-workbench { gap: 1.5rem; }
  .wc-picker label { flex: 1; }
  .wc-reader { min-width: 0; }
}
@media(max-width:450px) { .wc-label { font-size: 21px; } .wc-heat .wc-label { font-size: 19px; } }
@media(prefers-reduced-motion:reduce) { .wc-flow { transition: none; } }

/* Short pulses trace each path in the physical direction of travel. */
.wc-traces { pointer-events: none; }
.wc-trace {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 16 132;
  stroke-dashoffset: 20;
  opacity: 0;
}
.wc-trace-edge { stroke: #005b66; stroke-width: 9; }
.wc-trace-light { stroke: #a8fbdf; stroke-width: 4.4; }
.wc-vapour .wc-trace { stroke-dasharray: 2 9 3 132; }
.wc-vapour .wc-trace-edge { stroke: #237681; stroke-width: 9; }
.wc-vapour .wc-trace-light { stroke: #d9ffea; stroke-width: 5; }
.wc-heat .wc-trace-edge { stroke: #9a4324; stroke-width: 9; }
.wc-heat .wc-trace-light { stroke: #ffe18a; stroke-width: 4.7; }
.wc-running .wc-trace { animation: wc-path-pulse 1.82s linear 2; }
@keyframes wc-path-pulse {
  0% { opacity: 0; stroke-dashoffset: 20; }
  8% { opacity: 1; }
  58% { opacity: 1; stroke-dashoffset: -100; }
  66%, 100% { opacity: 0; stroke-dashoffset: -117; }
}
html[data-motion="off"] .water-cycle .wc-flow { transition: none; }
html[data-motion="off"] .wc-trace { display: none; animation: none; }
@media(prefers-reduced-motion: reduce) {
  .wc-trace { display: none; animation: none; }
}
