/* Five-system capability area. The existing dark motion layer remains behind this content. */
.ecosystem-section{padding-top:clamp(84px,8vw,128px);padding-bottom:clamp(92px,9vw,144px)}
.ecosystem-head{max-width:900px;margin-inline:auto}
.ecosystem-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:clamp(38px,4vw,64px)}
.ecosystem-card{min-width:0;border:1px solid rgba(255,255,255,.17);background:rgba(17,10,35,.58);overflow:hidden;transition:transform .3s,border-color .3s,background .3s}
.ecosystem-card:hover{transform:translateY(-6px);border-color:rgba(202,160,255,.72);background:rgba(30,16,58,.84)}
.ecosystem-card figure{height:clamp(125px,12vw,190px);overflow:hidden;background:#20133e}
.ecosystem-card img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.ecosystem-card:hover img{transform:scale(1.06)}
.ecosystem-card>div{padding:17px 16px 19px}
.ecosystem-card span,.ecosystem-detail>span{font:12px var(--mono);letter-spacing:.1em;color:#c59cff}
.ecosystem-card h3{font-size:clamp(17px,1.35vw,21px);line-height:1.3;margin-top:9px;color:#fff}
.ecosystem-card p{font-size:13px;line-height:1.7;margin-top:9px;color:rgba(255,255,255,.66)}
.ecosystem-card .ecosystem-icon{display:inline-flex;width:24px;height:24px;color:#c59cff}
.ecosystem-card .ecosystem-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.ecosystem-more{display:inline-flex;align-items:center;justify-content:center;min-height:32px;margin-top:18px;padding:0 12px;border:1px solid rgba(255,255,255,.38);color:#fff;font-size:12px;line-height:1;letter-spacing:.05em;transition:background .25s,border-color .25s,color .25s}
.ecosystem-more:hover{background:#fff;border-color:#fff;color:#1b1034}
.ecosystem-details{border-top:1px solid rgba(255,255,255,.18);margin-top:clamp(56px,6vw,96px)}
.ecosystem-detail{display:grid;grid-template-columns:52px minmax(220px,1.1fr) minmax(330px,.9fr);gap:22px;align-items:start;padding:29px 0;border-bottom:1px solid rgba(255,255,255,.15)}
.ecosystem-detail h3{font-size:clamp(22px,2vw,31px);line-height:1.25;color:#fff}
.ecosystem-detail p{font-size:15px;line-height:1.8;color:rgba(255,255,255,.7);margin-top:9px;max-width:46em}
.ecosystem-detail ul{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ecosystem-detail li{border-left:1px solid rgba(197,156,255,.55);padding-left:13px;min-width:0}
.ecosystem-detail b{display:block;color:#fff;font-size:clamp(16px,1.55vw,22px);line-height:1.3;white-space:nowrap}
.ecosystem-detail li span{display:block;font-size:12px;line-height:1.55;color:rgba(255,255,255,.56);margin-top:6px}

.industry-section{padding:clamp(80px,8vw,128px) 0;background:#fff;overflow:hidden}
.about-overview + .industry-section {
  padding-top: clamp(44px, 5vw, 80px);
}
.industry-section .framework-head{max-width:1040px}
.industry-gallery{margin-top:clamp(42px,5vw,72px);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;cursor:grab;user-select:none;-webkit-user-select:none}
.industry-gallery::-webkit-scrollbar{display:none}
.industry-gallery.is-dragging{cursor:grabbing;scroll-snap-type:none}
.industry-track{display:flex;gap:18px;width:max-content;padding:0 max(var(--pad),calc((100vw - var(--max))/2 + var(--pad)))}
.industry-track figure{flex:0 0 clamp(250px,24vw,370px);margin:0;scroll-snap-align:start}
.industry-track img{width:100%;height:clamp(178px,17vw,250px);object-fit:cover;display:block;background:#e7e1ee}
.industry-track figcaption{font-size:clamp(16px,1.45vw,22px);line-height:1.35;margin-top:14px;color:#342c3e}

/* Center the portfolio story and contain the gallery within the page grid. */
.industry-section .framework-head{margin-inline:auto;text-align:center;align-items:center}
.industry-section .framework-head p{margin-inline:auto}
.industry-gallery{width:min(100% - 2 * var(--pad),var(--max));margin-left:auto;margin-right:auto}
.industry-track{padding-inline:0;width:100%;box-sizing:border-box}
@media(min-width:761px){.industry-track figure{flex:0 0 calc((100% - 54px)/4)}.industry-track img{height:auto;aspect-ratio:16/10}.industry-section .framework-head h2{text-align:center}}

@media(max-width:1050px){.ecosystem-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.ecosystem-detail{grid-template-columns:38px 1fr}.ecosystem-detail ul{grid-column:2;max-width:620px}}
@media(max-width:760px){.ecosystem-section{padding-top:66px;padding-bottom:76px}.ecosystem-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ecosystem-card:last-child{grid-column:1/-1;max-width:calc(50% - 5px)}.ecosystem-card figure{height:124px}.ecosystem-card>div{padding:14px 13px 16px}.ecosystem-card p{font-size:12px}.ecosystem-more{min-height:30px;margin-top:14px;font-size:11px}.ecosystem-detail{grid-template-columns:28px 1fr;gap:12px;padding:25px 0}.ecosystem-detail h3{font-size:22px}.ecosystem-detail p{font-size:14px}.ecosystem-detail ul{grid-template-columns:1fr;gap:10px}.ecosystem-detail li{display:flex;align-items:baseline;gap:9px}.ecosystem-detail li span{margin-top:0}.industry-section{padding:68px 0}.industry-track{gap:14px;padding-inline:var(--pad)}.industry-track figure{flex-basis:min(78vw,330px)}.industry-track img{height:54vw}}

/* Whole-card links use the same 16:9 image treatment at every breakpoint. */
.ecosystem-card{cursor:pointer}
.ecosystem-card:focus-visible{outline:2px solid #fff;outline-offset:4px}
.ecosystem-card figure{height:auto;aspect-ratio:16/9}
.ecosystem-card[data-target="#b2b-platform"] figure{background:#f7f4fc}
.ecosystem-card[data-target="#b2b-platform"] img{object-fit:contain}
.ecosystem-card[data-target="#b2b-platform"]:hover img{transform:none}

.ecosystem-card, .industry-track img { border-radius: 16px; }
.industry-carousel { position: relative; width: min(100% - 2 * max(var(--pad), 44px), var(--max)); margin: clamp(42px, 5vw, 72px) auto 0; }
.industry-carousel .industry-gallery { width: 100%; margin: 0; }
/* Keep the arrows centered on the photos, above their captions. */
.industry-carousel { container-type: inline-size; }
.industry-arrow {
  position: absolute;
  z-index: 1;
  top: calc((100cqw - 54px) / 4 * 5 / 16);
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.industry-arrow[data-industry-step="-1"] { right: calc(100% + min(8px, max(0px, var(--pad) - 44px))); }
.industry-arrow[data-industry-step="1"] { left: calc(100% + min(8px, max(0px, var(--pad) - 44px))); }
.industry-arrow[aria-disabled="true"] { opacity: .3; cursor: default; }
.industry-arrow:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
@media (max-width: 760px) {
  .industry-carousel { width: calc(100% - 64px); }
  .industry-arrow { top: 27vw; }
  .industry-arrow[data-industry-step="-1"] { right: 100%; }
  .industry-arrow[data-industry-step="1"] { left: 100%; }
}

.industry-carousel .industry-track { padding-inline: 0; }

/* Give the controls matching breathing room on each side of the gallery. */
.industry-carousel { width: min(100% - 2 * 68px, var(--max)); }
.industry-arrow[data-industry-step="-1"] { right: calc(100% + 24px); }
.industry-arrow[data-industry-step="1"] { left: calc(100% + 24px); }
@media (max-width: 760px) {
  .industry-carousel { width: calc(100% - 80px); }
  .industry-arrow[data-industry-step="-1"] { right: calc(100% + 8px); }
  .industry-arrow[data-industry-step="1"] { left: calc(100% + 8px); }
}
