.ecosystem-page {
  min-height: 100vh;
  background: #000;
  color: #fff;
}

.ecosystem-header,
.ecosystem-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.ecosystem-header {
  position: relative;
  z-index: 5;
}

.ecosystem-brand img {
  display: block;
  width: clamp(140px, 15vw, 190px);
  height: auto;
}

.ecosystem-nav {
  display: flex;
  gap: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ecosystem-nav a,
.brand-node a {
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}

.ecosystem-nav a:hover,
.brand-node a:hover {
  border-color: #fff;
}

.ecosystem-intro {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(72px, 11vw, 150px) clamp(24px, 6vw, 84px) 72px;
}

.ecosystem-intro .eyebrow,
.branch-number,
.map-kicker {
  color: rgba(255, 255, 255, .62);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ecosystem-intro h1 {
  margin: 0 0 28px;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 300;
  line-height: .94;
}

.ecosystem-intro > p:last-child {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 17px;
}

.ecosystem-map {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.map-root {
  width: min(440px, 100%);
  min-height: 142px;
  margin: 0 auto;
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, .7);
  text-align: center;
}

.map-kicker {
  margin: 0 0 8px;
}

.map-root h2 {
  margin: 0 0 5px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
}

.map-root > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
}

.connector-tree {
  display: block;
  width: 100%;
  height: 96px;
  overflow: visible;
}

.connector-tree path {
  fill: none;
  stroke: rgba(255, 255, 255, .48);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.ecosystem-branches {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.ecosystem-branch {
  min-width: 0;
}

.brand-node {
  min-height: 220px;
  padding: 20px 18px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: #050505;
}

.branch-number {
  margin: 0 0 14px;
  color: #e1695e;
}

.brand-node h3 {
  margin: 0 0 8px;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.brand-node > p:not(.branch-number) {
  min-height: 38px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  line-height: 1.4;
}

.brand-node a {
  display: inline-block;
  padding-bottom: 3px;
  font-size: 12px;
  font-weight: 600;
}

.brand-node a span {
  color: #e1695e;
}

.initiative-list {
  display: grid;
  gap: 0;
  margin: 18px 0 0 12px;
  padding: 0 0 0 16px;
  border-left: 1px solid rgba(255, 255, 255, .32);
  list-style: none;
}

.initiative-list li {
  position: relative;
  padding: 0 0 17px;
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
}

.initiative-list li::before {
  position: absolute;
  top: 6px;
  left: -20px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e1695e;
  content: '';
}

.initiative-list strong,
.initiative-list span {
  display: block;
}

.initiative-list strong {
  font-weight: 600;
}

.initiative-list span {
  margin-top: 3px;
  color: rgba(255, 255, 255, .6);
}

.initiative-note {
  margin: 18px 0 0 12px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, .32);
}

.initiative-note p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  line-height: 1.45;
}

.ecosystem-close {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 120px clamp(24px, 6vw, 84px);
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.ecosystem-close p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1.1;
}

.ecosystem-close .text-link {
  flex: 0 0 auto;
}

.ecosystem-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  border-bottom: 0;
}

.ecosystem-footer .ecosystem-brand img {
  width: 140px;
}

.ecosystem-footer p {
  margin: 0;
  color: rgba(255, 255, 255, .55);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .connector-tree {
    display: none;
  }

  .ecosystem-branches {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ecosystem-header {
    align-items: center;
    flex-direction: row;
    padding: 20px 24px;
  }

  .ecosystem-menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .ecosystem-header.menu-open .ecosystem-menu-toggle span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .ecosystem-header.menu-open .ecosystem-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .ecosystem-header.menu-open .ecosystem-menu-toggle span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .ecosystem-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 10;
    width: 100vw;
    padding: 10px 24px 16px;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, .24);
    border-left: 0;
    border-right: 0;
    background: rgba(0, 0, 0, .98);
    gap: 0;
    flex-direction: column;
  }

  .ecosystem-header.menu-open .ecosystem-nav {
    display: flex;
  }

  .ecosystem-nav a {
    display: block;
    padding: 13px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .ecosystem-nav a:last-child {
    border-bottom: 0;
  }

  .ecosystem-intro {
    padding: 82px 24px 52px;
  }

  .ecosystem-branches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .brand-node {
    min-height: 235px;
    padding: 16px 14px;
  }

  .initiative-list,
  .initiative-note {
    margin-left: 8px;
    padding-left: 13px;
  }

  .initiative-list li::before {
    left: -17px;
  }

  .ecosystem-close {
    align-items: flex-start;
    flex-direction: column;
    padding: 84px 24px;
  }
}

@media (max-width: 520px) {
  .ecosystem-branches {
    grid-template-columns: 1fr;
  }

  .brand-node {
    min-height: 0;
    padding: 20px;
  }

  .brand-node h3 {
    font-size: 25px;
  }

  .brand-node > p:not(.branch-number) {
    min-height: 0;
  }

  .ecosystem-footer {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
  }

  .ecosystem-footer .ecosystem-brand img {
    width: min(140px, 36vw);
  }

  .ecosystem-footer p {
    max-width: 120px;
    text-align: right;
    font-size: 8px;
  }
}

@media (max-width: 380px) {
  .ecosystem-footer {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 8px;
    padding: 18px 16px;
  }

  .ecosystem-footer .ecosystem-brand img {
    width: min(120px, 36vw);
  }

  .ecosystem-footer p {
    max-width: 100%;
    font-size: 8px;
    line-height: 1.35;
  }
}
