/* JWILLSOLDIT ecosystem shell — conversion first, content second */
.eco-shell {
  position: fixed;
  top: 14px;
  right: 18px;
  z-index: 220;
  display: flex;
  align-items: center;
  gap: 8px;
}

.eco-lang {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  min-height: 40px;
  padding: 3px 5px;
  border: 1px solid var(--trace);
  background: rgba(250,247,242,.9);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
}

.eco-lang button {
  appearance: none;
  border: 0;
  background: transparent;
  min-width: 28px;
  min-height: 28px;
  padding: 0 5px;
  color: var(--mid);
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}
.eco-lang button.is-active {
  background: var(--forest);
  color: var(--off-white);
}

.eco-route-button {
  height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 0 9px;
  border: 1px solid var(--trace);
  border-radius: 999px;
  background: rgba(250,247,242,.9);
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition:
    background 240ms ease,
    color 240ms ease,
    border-color 240ms ease,
    transform 240ms var(--ease-out);
}
.eco-route-button:hover {
  color: var(--red);
  border-color: rgba(224,58,31,.4);
  transform: translateY(-1px);
}
.eco-route-button.is-open {
  color: var(--off-white);
  background: var(--forest);
  border-color: var(--forest);
}

.eco-route-glyph {
  width: 34px;
  height: 20px;
  overflow: visible;
}
.eco-route-track {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 58;
  stroke-dashoffset: 14;
  transition: stroke-dashoffset 520ms var(--ease-out);
}
.eco-route-button:hover .eco-route-track,
.eco-route-button.is-open .eco-route-track {
  stroke-dashoffset: 0;
}
.eco-route-node {
  fill: currentColor;
  transform-box: fill-box;
  transform-origin: center;
}
.eco-route-button:hover .eco-route-node-a { animation: eco-route-ping 900ms ease 0ms both; }
.eco-route-button:hover .eco-route-node-b { animation: eco-route-ping 900ms ease 120ms both; }
.eco-route-button:hover .eco-route-node-c { animation: eco-route-ping 900ms ease 240ms both; }

@keyframes eco-route-ping {
  0%,100% { transform:scale(1); opacity:1; }
  42% { transform:scale(1.8); opacity:.38; }
}

.eco-menu-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.eco-lang button:focus-visible,
.eco-route-button:focus-visible,
.eco-close:focus-visible,
.eco-drawer-home:focus-visible,
.eco-home-button:focus-visible,
.eco-revenue-grid a:focus-visible,
.eco-smart-move-hero:focus-visible,
.eco-guide-links a:focus-visible,
.eco-section-head a:focus-visible,
.eco-footer-links a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.eco-layer {
  position: fixed;
  inset: 0;
  z-index: 230;
  pointer-events: none;
  visibility: hidden;
}
.eco-layer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.eco-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(13,13,13,.42);
  opacity: 0;
  transition: opacity 260ms ease;
  backdrop-filter: blur(2px);
}
.eco-layer.is-open .eco-backdrop { opacity:1; }

.eco-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(96vw,560px);
  height: 100%;
  background: var(--off-white);
  border-left: 1px solid var(--trace);
  box-shadow: -34px 0 90px rgba(13,13,13,.2);
  transform: translateX(102%);
  transition: transform 360ms var(--ease-out);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.eco-layer.is-open .eco-drawer { transform:translateX(0); }

.eco-drawer-head {
  padding: 26px 28px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--trace);
}
.eco-drawer-kicker,
.eco-section-kicker {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eco-drawer-kicker { color:var(--mid); }

.eco-drawer-home {
  display:inline-flex;
  align-items:center;
  min-height:24px;
  text-decoration:none;
  transition:color 180ms ease;
}
.eco-drawer-home:hover { color:var(--red); }

.eco-drawer-actions {
  display:flex;
  align-items:center;
  gap:10px;
}

.eco-home-button {
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 14px;
  border:1px solid var(--trace);
  border-radius:999px;
  color:var(--ink);
  text-decoration:none;
  font-family:var(--mono);
  font-size:10px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  transition:color 180ms ease,border-color 180ms ease,background 180ms ease;
}
.eco-home-button:hover {
  color:var(--red);
  border-color:rgba(224,58,31,.4);
  background:rgba(224,58,31,.04);
}
.eco-drawer-head strong {
  display:block;
  max-width:390px;
  margin-top:7px;
  font-family:var(--display);
  font-size:clamp(1.55rem,3vw,2.25rem);
  line-height:1.02;
  letter-spacing:-.045em;
}
.eco-close {
  width:42px;
  height:42px;
  flex:0 0 42px;
  border:1px solid var(--trace);
  border-radius:999px;
  background:transparent;
  color:var(--ink);
  font-size:1.7rem;
  line-height:1;
  cursor:pointer;
}

.eco-move-panel {
  padding:28px;
  background:
    radial-gradient(circle at 100% 0%,rgba(232,93,42,.18),transparent 38%),
    var(--forest);
  color:var(--off-white);
}
.eco-move-panel .eco-section-kicker { color:rgba(250,247,242,.56); }
.eco-move-panel h2,
.eco-explore-panel h2 {
  margin:7px 0 18px;
  font-family:var(--display);
  font-size:clamp(1.45rem,3vw,2rem);
  line-height:1.06;
  letter-spacing:-.04em;
}

.eco-smart-move-hero {
  min-height:62px;
  padding:0 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  background:var(--red);
  color:var(--off-white);
  text-decoration:none;
  font-family:var(--display);
  font-size:1rem;
  font-weight:700;
  transition:transform 220ms var(--ease-out), background 220ms ease;
}
.eco-smart-move-hero:hover {
  transform:translateY(-2px);
  background:var(--ember);
}

.eco-revenue-grid {
  margin-top:14px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  border-top:1px solid rgba(250,247,242,.14);
  border-left:1px solid rgba(250,247,242,.14);
}
.eco-revenue-grid a {
  min-height:104px;
  padding:16px;
  display:grid;
  align-content:start;
  gap:5px;
  color:var(--off-white);
  text-decoration:none;
  border-right:1px solid rgba(250,247,242,.14);
  border-bottom:1px solid rgba(250,247,242,.14);
  transition:background 200ms ease, transform 200ms var(--ease-out);
}
.eco-revenue-grid a:hover {
  background:rgba(250,247,242,.08);
  transform:translateY(-1px);
}
.eco-revenue-index {
  font-family:var(--mono);
  font-size:9px;
  letter-spacing:.12em;
  color:rgba(250,247,242,.38);
}
.eco-revenue-grid strong {
  font-family:var(--display);
  font-size:1rem;
  letter-spacing:-.02em;
}
.eco-revenue-grid small {
  font-size:12px;
  line-height:1.45;
  color:rgba(250,247,242,.58);
}

.eco-explore-panel {
  padding:30px 28px 34px;
}
.eco-explore-panel .eco-section-kicker { color:var(--mid); }

.eco-section-head {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
}
.eco-section-head h2 {
  max-width:360px;
  margin-bottom:0;
}
.eco-section-head > a {
  color:var(--red);
  font-family:var(--mono);
  font-size:10px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  text-decoration:none;
  padding-bottom:3px;
  border-bottom:1px solid currentColor;
  white-space:nowrap;
}

.eco-guide-links {
  display:grid;
  margin-top:18px;
  border-top:1px solid var(--trace);
}
.eco-guide-links a {
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:48px;
  color:var(--ink);
  text-decoration:none;
  font-size:14px;
  border-bottom:1px solid var(--trace);
  transition:color 180ms ease, padding-left 180ms var(--ease-out);
}
.eco-guide-links a::after {
  content:'↗';
  color:var(--mid);
}
.eco-guide-links a:hover {
  color:var(--red);
  padding-left:4px;
}

.eco-drawer-foot {
  margin-top:auto;
  padding:22px 28px 28px;
  background:var(--ink);
  display:grid;
  gap:12px;
}
.eco-footer-links {
  display:flex;
  gap:18px;
}
.eco-footer-links a {
  color:var(--off-white);
  text-decoration:none;
  font-family:var(--mono);
  font-size:10px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.eco-drawer-foot > span {
  color:rgba(250,247,242,.48);
  font-size:12px;
  line-height:1.5;
}

body.eco-menu-open { overflow:hidden !important; }

@media (max-width:560px) {
  .eco-shell { top:10px; right:10px; gap:6px; }
  .eco-lang { min-height:38px; }
  .eco-route-button {
    width:42px;
    padding:0;
    justify-content:center;
  }
  .eco-menu-label { display:none; }
  .eco-route-glyph { width:29px; }
  .eco-drawer { width:100vw; }
  .eco-drawer-head,
  .eco-move-panel,
  .eco-explore-panel,
  .eco-drawer-foot {
    padding-left:22px;
    padding-right:22px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .eco-route-button,
  .eco-route-track,
  .eco-backdrop,
  .eco-drawer,
  .eco-smart-move-hero,
  .eco-revenue-grid a,
  .eco-guide-links a {
    transition:none;
  }
  .eco-route-button:hover .eco-route-node-a,
  .eco-route-button:hover .eco-route-node-b,
  .eco-route-button:hover .eco-route-node-c {
    animation:none;
  }
}
