/* Environment: deep green, drifting leaves, three animated waste streams */
.en-hero { position: relative; padding: 140px 0 60px; color: #fff; overflow: hidden; background: radial-gradient(80% 70% at 80% 10%, #1c8a55, transparent 60%), linear-gradient(170deg, #0b4d33, #06301f 70%); }
.en-leaves i { position: absolute; left: var(--x); top: var(--y); width: 90px; height: 90px; transform: scale(var(--s)); opacity: .18; animation: en-drift 16s ease-in-out infinite; animation-delay: var(--d); pointer-events: none; }
.en-leaves i::before { content: ""; position: absolute; inset: 0; border-radius: 0 70% 0 70%; background: linear-gradient(135deg, #b8f0c8, #4fd18b); }
.en-leaves i::after { content: ""; position: absolute; left: 50%; top: 10%; bottom: 10%; width: 1.5px; background: rgba(6, 48, 31, .6); transform: rotate(-45deg); }
@keyframes en-drift { 50% { translate: 18px -24px; rotate: 18deg; } }
.en-hero__copy { position: relative; display: grid; gap: 20px; }
.en-hero__copy .crumbs { color: rgba(255, 255, 255, .65); }
.en-kicker { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: #9fe8bd; }
.en-hero__lede { max-width: 56ch; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255, 255, 255, .82); }
.en-badges { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(40px, 6vw, 80px); }
.en-badges > span { display: grid; gap: 6px; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-size: 15px; }
.en-badges b { font-size: clamp(26px, 2.6vw, 38px); font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.en-badges small { font-size: 13px; color: rgba(255, 255, 255, .7); }

/* streams */
.lane { --c: #2a8fd8; margin-bottom: 20px; padding: 22px; border-radius: 24px; border: 1px solid var(--line); background: #fff; }
.lane--air { --c: #8a96a8; }
.lane--solid { --c: #a07a4a; }
.lane__name { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; margin-bottom: 16px; }
.lane__name i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 20%, transparent); }
.lane__track { display: flex; align-items: stretch; }
.node { flex: 1 1 0; display: grid; gap: 4px; align-content: center; padding: 16px 18px; border-radius: 16px; background: color-mix(in srgb, var(--c) 8%, #fff); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); }
.node b { font-weight: 500; font-size: 15.5px; }
.node small { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.node--src { flex: 0 0 auto; place-content: center; font-weight: 500; font-size: 14px; background: #0d1424; color: #fff; border: 0; padding: 16px 20px; }
.node--end { background: color-mix(in srgb, var(--c) 18%, #fff); }
.node--wealth { background: linear-gradient(135deg, #e7f8ee, #fdf6dc); border-color: rgba(21, 137, 63, .3); }
.node--garden { background: linear-gradient(135deg, #e3f7e9, #c9efd7); border-color: rgba(21, 137, 63, .35); }
.pipe { flex: 0 0 clamp(26px, 4vw, 56px); position: relative; align-self: center; height: 10px; border-radius: 10px; background: color-mix(in srgb, var(--c) 18%, #fff); overflow: hidden; }
.pipe span { position: absolute; inset: 2px 0; background: repeating-linear-gradient(90deg, var(--c) 0 8px, transparent 8px 16px); animation: en-flow .9s linear infinite; }
@keyframes en-flow { to { transform: translateX(16px); } }
.pipe::after { content: ""; position: absolute; right: -2px; top: 50%; width: 0; height: 0; margin-top: -5px; border: 5px solid transparent; border-left-color: var(--c); }

.en-wealth__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(30px, 6vw, 90px); align-items: end; }
.en-wealth__copy { display: grid; gap: 18px; }
.flasks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.flask { display: grid; justify-items: center; gap: 6px; text-align: center; }
.flask__glass { position: relative; width: 96px; height: 130px; margin-bottom: 10px; }
/* a conical flask: neck and body */
.flask__glass::before { content: ""; position: absolute; left: 36px; top: 0; width: 24px; height: 40px; border: 2px solid #b9c3d1; border-bottom: 0; border-radius: 3px 3px 0 0; background: rgba(255, 255, 255, .6); }
.flask__glass i { position: absolute; left: 0; right: 0; bottom: 0; height: 92px; clip-path: polygon(37% 0, 63% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, rgba(255, 255, 255, .7) 0 calc(100% - var(--lvl, 0%)), var(--c) calc(100% - var(--lvl, 0%))); transition: --lvl 1s; }
.flask__glass::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 92px; clip-path: polygon(37% 0, 63% 0, 100% 100%, 0 100%, 0 0, 2% 100%, 98% 100%, 61% 2%, 39% 2%, 2% 100%, 0 100%); background: #b9c3d1; }
.flask:nth-child(1) .flask__glass i { --lvl: 58%; } .flask:nth-child(2) .flask__glass i { --lvl: 66%; } .flask:nth-child(3) .flask__glass i { --lvl: 48%; } .flask:nth-child(4) .flask__glass i { --lvl: 72%; }
.flask b { font-weight: 500; font-size: 15px; line-height: 1.3; }
.flask small { font-size: 12.5px; color: var(--muted); }
.flask:hover .flask__glass { animation: en-swirl .8s ease-in-out; }
@keyframes en-swirl { 25% { transform: rotate(-6deg); } 75% { transform: rotate(6deg); } }

.acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.act { display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.act h3 { font-size: 20px; }
.act p { color: var(--muted); font-size: 15px; }
.act--photo { grid-row: span 2; padding: 0; overflow: hidden; align-content: stretch; grid-template-rows: 1fr auto; }
.act--photo img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.act--photo > div { display: grid; gap: 10px; padding: 24px 28px 28px; }
.act--wide { grid-column: span 2; background: linear-gradient(135deg, #0b4d33, #0a6a43); color: #fff; border: 0; }
.act--wide p { color: rgba(255, 255, 255, .8); }
.act__badge { justify-self: start; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); }

@media (max-width: 1000px) {
  .en-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .en-wealth__grid { grid-template-columns: 1fr; }
  .acts { grid-template-columns: 1fr 1fr; }
  .act--wide { grid-column: span 2; }
  .act--photo { grid-row: auto; }
}
@media (max-width: 720px) {
  .lane__track { flex-direction: column; }
  .pipe { flex-basis: 30px; width: 10px; height: 30px; }
  .pipe span { inset: 0 2px; background: repeating-linear-gradient(180deg, var(--c) 0 8px, transparent 8px 16px); animation-name: en-flow-v; }
  @keyframes en-flow-v { to { transform: translateY(16px); } }
  .pipe::after { right: auto; left: 50%; top: auto; bottom: -2px; margin: 0 0 0 -5px; border-left-color: transparent; border-top-color: var(--c); }
  .node--src { align-self: flex-start; }
  .flasks { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .acts { grid-template-columns: 1fr; }
  .act--wide { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .en-leaves i, .pipe span { animation: none; }
}
