.ecosystem {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 80px 0 86px;
  background: linear-gradient(180deg, #fbf7ed 0%, #eef0df 43%, #f9f5e9 100%);
  border-top: 1px solid #dce0ca;
}
.ecosystem::before {
  content: '';
  position: absolute;
  width: 370px;
  height: 370px;
  top: 90px;
  left: max(-170px, calc(50% - 840px));
  background: url('assets/botanica.webp?v=63944fbedb90') center / contain no-repeat;
  opacity: .16;
  transform: rotate(-17deg);
  pointer-events: none;
  z-index: -1;
}
.ecosystem-inner { position: relative; }
.ecosystem-hand {
  margin: 0 0 14px;
  color: #987a51;
  font: 29px/1.1 var(--hand, 'Caveat', cursive);
  transform: rotate(-2deg);
  transform-origin: left center;
}
.ecosystem-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, .75fr);
  align-items: end;
  gap: 75px;
  margin: 0 0 42px;
}
.ecosystem-intro h2 {
  max-width: 710px;
  color: #284c39;
  font: 500 clamp(42px, 4.5vw, 65px)/1.12 var(--serif, Georgia, serif);
  letter-spacing: -2.4px;
}
.ecosystem-intro h2 em { color: #657b4f; font-weight: 500; }
.ecosystem-intro > p {
  max-width: 390px;
  margin: 0 0 4px;
  color: #596c59;
  font-size: 14px;
  line-height: 1.86;
}
.ecosystem-map {
  position: relative;
  padding: 28px 37px 0;
  border: 1px solid #d6d7bf;
  border-radius: 11px 15px 10px 14px;
  background: #fdfaf0;
  box-shadow: 5px 7px 0 #cbd3b561;
}
.ecosystem-map::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .052;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23706143' filter='url(%23g)' d='M0 0h170v170H0z'/%3E%3C/svg%3E");
}
.ecosystem-map-heading, .ecosystem-network, .ecosystem-links, .ecosystem-detail { position: relative; z-index: 1; }
.ecosystem-map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px 25px;
  padding-bottom: 19px;
  border-bottom: 1px solid #d8dcc5;
}
.ecosystem-map-heading > p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #47634b;
  font: 25px var(--hand, 'Caveat', cursive);
}
.ecosystem-map-heading > p span { color: #c27d51; font: 20px var(--sans, Arial, sans-serif); }
.ecosystem-map-hint { color: #77816e; font-size: 11px; line-height: 1.5; }
.ecosystem-legend { display:flex; gap:12px 24px; flex-wrap:wrap; align-items:center; padding:16px 0; color:#60715c; font-size:11px; }
.ecosystem-legend p { margin:0 0 0 auto; font-size:11px; }
.eco-key { display:inline-flex; align-items:center; gap:8px; }
.eco-key::before { content:''; width:25px; border-top:3px solid #4d7958; }
.eco-key-prep::before { border-top:3px dashed #ad7548; }
.eco-key-future::before { border-top:3px dotted #8e9173; }
.ecosystem-network { position:relative; padding:18px 0 26px; }
.ecosystem-trails { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; overflow:visible; }
.ecosystem-trail { fill:none; stroke-width:2.5; stroke-linecap:round; transition:opacity .25s,stroke-width .25s; }
.eco-trail-live { stroke:#4d7958; }
.eco-trail-prep { stroke:#ad7548; stroke-dasharray:8 7; }
.eco-trail-future { stroke:#8e9173; stroke-dasharray:2 7; }
.ecosystem-trail.is-related { stroke-width:3.5; }
.ecosystem-trail.is-muted { opacity:.22; }
.ecosystem-nodes { position:relative; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(210px,auto)); gap:142px 105px; }
.ecosystem-node {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0;
  min-width: 0;
  width: 100%;
  padding: 20px 17px;
  border: 1px solid #d5d9c8;
  border-radius: 6px 11px 8px 12px;
  background: #fffcf4;
  text-align: left;
  box-shadow: 3px 4px 0 #d6dcc65e;
  cursor: pointer;
  transition: transform .25s, border-color .25s, background-color .25s, box-shadow .25s;
}
.ecosystem-node:nth-child(1) { transform: rotate(-.6deg); }
.ecosystem-node:nth-child(2) { transform: rotate(.7deg); }
.ecosystem-node:nth-child(3) { transform: rotate(.6deg); }
.ecosystem-node:nth-child(4) { transform: rotate(-.6deg); }
.ecosystem-node:hover { border-color: #7d9b71; box-shadow: 5px 6px 0 #cdd9bd9a; }
.ecosystem-node:focus-visible { outline: 3px solid #4f7c58; outline-offset: 4px; }
.ecosystem-node.is-active { border-color: #527d58; background: #f1f4e8; box-shadow: 5px 6px 0 #bbcfacb3; }
.ecosystem-node img { width: 100%; height: 110px; object-fit: contain; mix-blend-mode: multiply; }
.ecosystem-node-copy { display: block; min-width: 0; padding-top: 4px; }
.ecosystem-node-copy small { display: block; color: #9b7d54; font: 20px var(--hand, 'Caveat', cursive); }
.ecosystem-node-copy strong { display: block; margin: 3px 0 6px; color: #2c513d; font: 500 23px/1.12 var(--serif, Georgia, serif); }
.ecosystem-node-copy > span { display: block; color: #6d765f; font-size: 11px; line-height: 1.5; }
.ecosystem-node-state {
  position: absolute;
  top: 11px;
  right: 15px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .25px;
}
.ecosystem-node-state-live { color: #3e7052; }
.ecosystem-node-state-next { color: #a47148; }
.ecosystem-node.is-related { border-color:#91a584; box-shadow:3px 4px 0 #cbd7ba90; }
.ecosystem-node.is-muted { opacity:.58; }
.ecosystem-node:hover, .ecosystem-node:focus-visible { opacity:1; }
.eco-route { position:absolute; z-index:3; width:98px; padding:7px 3px; border:0; border-radius:9px; background:#fdfaf0; color:#6c745e; text-align:center; cursor:pointer; font:inherit; }
.eco-route strong { display:block; font:500 17px/1.1 var(--hand); }
.eco-route small { display:block; margin-top:4px; font-size:9px; line-height:1.3; }
.eco-route-pair { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.eco-route-live { color:#386548; }
.eco-route-prep { color:#956138; }
.eco-route.is-related { box-shadow:0 0 0 1px #cbd3ba; background:#f4f4e7; }
.eco-route.is-muted { opacity:.5; }
.eco-route:hover { opacity:1; box-shadow:0 0 0 1px #7f9774; }
.eco-route:focus-visible { outline:3px solid #4f7c58; outline-offset:3px; opacity:1; }
.eco-route[aria-pressed="true"] { box-shadow:0 0 0 2px #6c875f; }
.ecosystem-billing-note { position:relative; margin:0 -37px; padding:16px 37px; border-top:1px solid #d9dec9; background:#fcf8ee; color:#786c57; font-size:11px; line-height:1.7; }
.ecosystem-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 -37px;
  border-top: 1px solid #d5dbc4;
  border-radius: 0 0 10px 13px;
  background: #edf1df;
}
.ecosystem-detail > div { min-width: 0; padding: 27px 37px 29px; }
.ecosystem-detail-network { border-left: 1px solid #d9dbc5; background: #f7efdf; border-radius: 0 0 10px 0; }
.ecosystem-detail p:first-child { margin: 0 0 8px; color: #64805d; font-size: 9px; font-weight: 700; letter-spacing: 1.2px; }
.ecosystem-detail-network p:first-child { color: #a4764d; }
.ecosystem-detail h3 { margin: 0 0 9px; color: #2d503a; font: 500 25px/1.2 var(--serif, Georgia, serif); }
.ecosystem-detail p:last-child { max-width: 580px; margin: 0; color: #5a6d58; font-size: 12px; line-height: 1.7; }
.ecosystem-detail-network p:last-child { color: #756c59; }
.ecosystem-footer-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 23px; margin-top: 27px; }
.ecosystem-tailor {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  overflow: hidden;
  padding: 9px 30px 29px;
  border: 1px solid #ded3bd;
  border-radius: 13px 8px 12px 9px;
  background: #f3e9d7;
}
.ecosystem-tailor img { width: 100%; max-height: 240px; object-fit: contain; mix-blend-mode: multiply; }
.ecosystem-tailor .ecosystem-hand { margin-bottom: 7px; font-size: 26px; }
.ecosystem-tailor h3 { margin: 0 0 8px; font: 500 30px var(--serif, Georgia, serif); }
.ecosystem-tailor p:last-child { max-width: 450px; margin: 0; color: #6a6f5c; font-size: 12px; line-height: 1.75; }
.ecosystem-join {
  padding: 28px 35px 32px;
  border-radius: 8px 14px 9px 12px;
  background: #2c503c;
  color: #faf8eb;
  box-shadow: 4px 5px 0 #9daf91a3;
}
.ecosystem-join .ecosystem-hand { color: #d7d1a3; font-size: 27px; }
.ecosystem-join h3 { margin: 0 0 19px; font: 500 32px/1.15 var(--serif, Georgia, serif); }
.ecosystem-join ul { list-style: none; margin: 0 0 22px; padding: 0; }
.ecosystem-join li { display: grid; grid-template-columns: 29px minmax(0,1fr); gap: 12px; padding: 10px 0; border-top: 1px solid #c3d4ac52; color: #e3e7d8; font-size: 11px; line-height: 1.58; }
.ecosystem-join li span { color: #d2dcae; font: 19px var(--hand, 'Caveat', cursive); }
.ecosystem-join li strong { color: #fffbed; font-weight: 700; }
.ecosystem-join > a { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 43px; padding: 11px 14px; border-radius: 5px 9px 5px 8px; background: #dbe5ae; color: #254836; font-size: 11px; font-weight: 700; }
.ecosystem-join > a:hover { background: #e8edc8; }
.ecosystem-join > a > span[aria-hidden] { font-size: 18px; }
.ecosystem-footnote { margin: 22px 4px 0; color: #777e6c; font-size: 10px; line-height: 1.6; }
.motion-paused .ecosystem-trail, .motion-paused .ecosystem-node { animation-play-state: paused; transition: none; }

@media (max-width: 1100px) and (min-width: 901px) {
  .ecosystem-nodes { column-gap:88px; }
  .ecosystem-node { padding:24px 10px 16px; }
  .ecosystem-node-copy strong { font-size:21px; }
  .ecosystem-node-copy small { font-size:18px; }
  .eco-route { width:82px; }
}
@media (max-width: 900px) {
  .ecosystem-trails { display:none; }
  .ecosystem-nodes { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:auto; gap:20px; padding:0; }
  .ecosystem-node { transform:none!important; }
  .ecosystem-routes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:26px; }
  .eco-route { position:static; width:100%; padding:13px; text-align:left; border:1px solid #d5d9c8; border-left:3px dotted #8e9173; }
  .eco-route-live { border-left:3px solid #4d7958; }
  .eco-route-prep { border-left:3px dashed #ad7548; }
  .eco-route-pair { position:static; display:block; width:auto; height:auto; overflow:visible; clip-path:none; font-size:11px; line-height:1.5; font-weight:600; margin-bottom:7px; }
  .eco-route strong { display:inline; margin-right:7px; }
  .eco-route small { display:inline; }
}
@media (max-width: 760px) {
  .ecosystem { padding: 49px 0 59px; }
  .ecosystem::before { width: 220px; height: 220px; top: -65px; left: -80px; opacity: .1; }
  .ecosystem-intro { display: block; margin-bottom: 25px; }
  .ecosystem-hand { font-size: 25px; margin-bottom: 13px; }
  .ecosystem-intro h2 { max-width: 550px; font-size: clamp(34px, 8vw, 47px); letter-spacing: -1.4px; }
  .ecosystem-intro > p { max-width: 610px; margin-top: 17px; font-size: 12px; line-height: 1.8; }
  .ecosystem-map { padding: 17px 18px 0; }
  .ecosystem-map-heading { align-items: flex-start; gap: 8px; padding-bottom: 15px; }
  .ecosystem-map-heading > p { font-size: 23px; }
  .ecosystem-map-hint { font-size: 10px; }
  .ecosystem-network { min-height: 0; padding: 24px 0 19px; }
  .ecosystem-trails { display: none; }
  .ecosystem-nodes { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 15px; }
  .ecosystem-routes { grid-template-columns:1fr; }
  .ecosystem-billing-note { margin-inline:-18px; padding:15px 18px; }
  .ecosystem-legend { gap:10px 15px; }
  .ecosystem-legend p { margin:0; width:100%; }
  .ecosystem-node { grid-template-columns: 100px minmax(0, 1fr); gap: 8px; min-height: 136px; padding: 13px 11px; }
  .ecosystem-node img { width: 100px; height: 101px; }
  .ecosystem-node-copy { padding-top: 14px; }
  .ecosystem-node-copy small { font-size: 18px; }
  .ecosystem-node-copy strong { font-size: 22px; }
  .ecosystem-node-copy > span { font-size: 10px; }
  .ecosystem-node-state { top: 7px; right: 9px; font-size: 8px; }
  .ecosystem-detail { grid-template-columns: 1fr; margin-inline: -18px; }
  .ecosystem-detail > div { padding: 20px 19px 22px; }
  .ecosystem-detail-network { border-left: 0; border-top: 1px solid #d9dbc5; border-radius: 0 0 10px 13px; }
  .ecosystem-detail h3 { font-size: 22px; }
  .ecosystem-detail p:last-child { font-size: 11px; }
  .ecosystem-footer-grid { grid-template-columns: 1fr; gap: 17px; margin-top: 21px; }
  .ecosystem-tailor { min-height: 0; padding: 8px 22px 23px; }
  .ecosystem-tailor img { max-height: 215px; }
  .ecosystem-tailor h3 { font-size: 27px; }
  .ecosystem-join { padding: 25px 23px 27px; }
  .ecosystem-join h3 { font-size: 28px; }
  .ecosystem-footnote { font-size: 9px; }
}
@media (max-width: 420px) {
  .ecosystem-map-heading > p { font-size: 21px; }
  .ecosystem-node { grid-template-columns: 77px minmax(0, 1fr); gap: 7px; }
  .ecosystem-node img { width: 77px; height: 88px; }
  .ecosystem-node-copy strong { font-size: 19px; }
  .ecosystem-node-copy small { font-size: 17px; }
  .ecosystem-node-copy > span { font-size: 9px; }
  .ecosystem-node-state { font-size: 7px; }
  .ecosystem-join > a { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ecosystem-trail, .ecosystem-node { animation: none !important; transition: none !important; }
}
