/* Homepage-only sections */
.team { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #fff; min-height: clamp(380px, 33vw, 570px); display: flex; align-items: flex-end; }
.team__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.team::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 4, 94, .15) 0%, rgba(3, 4, 94, .35) 55%, rgba(3, 4, 94, .85) 100%); }
.team .wrap { display: flex; justify-content: flex-end; padding-bottom: clamp(28px, 3vw, 52px); }
.team p { font-size: clamp(16px, 1.2vw, 20px); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .team__video { display: none; } .team { background: var(--navy) url(../video/team-poster.jpg) center / cover; } }

.who .split2 { margin-top: clamp(36px, 4vw, 70px); align-items: start; }
.who .h2 { font-size: clamp(32px, 3.5vw, 62px); max-width: 15ch; }
.who__copy p { font-size: clamp(16px, 1.15vw, 20px); line-height: 1.6; color: var(--muted); }
.who__copy .tlink { margin-top: 30px; color: var(--ink); }

/* ecosystem grid */
.eco { margin-top: clamp(32px, 3vw, 52px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eco__item { position: relative; display: flex; flex-direction: column; padding: clamp(22px, 1.8vw, 30px) clamp(16px, 1.3vw, 22px) clamp(26px, 2.2vw, 40px); transition: background .3s; }
.eco__item::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 4px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.eco__item:hover, .eco__item.is-on { background: var(--mist); }
.eco__item:hover::before, .eco__item.is-on::before { transform: scaleX(1); }
.eco__n { font-size: clamp(12px, .85vw, 15px); color: var(--blue); }
.eco__item h3 { margin-top: 12px; font-size: clamp(19px, 1.5vw, 26px); letter-spacing: -0.01em; }
.eco__item p { margin-top: 12px; font-size: clamp(14px, 1.05vw, 18px); line-height: 1.55; color: var(--muted); max-width: 34ch; }
.eco__item .tlink { margin-top: auto; padding-top: 22px; font-size: clamp(14px, 1vw, 17px); color: var(--ink); }
.eco__item--wide { grid-column: 1 / -1; border-top: 1px solid var(--line); }
.eco__item--wide p { max-width: none; }
@media (max-width: 1000px) { .eco { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .eco { grid-template-columns: 1fr; } .eco__item + .eco__item { border-top: 1px solid var(--line); } }

/* building next */
.next { margin-top: clamp(72px, 7vw, 120px); }
.next__row { margin-top: clamp(26px, 2.2vw, 36px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.next__item { position: relative; padding: clamp(28px, 3vw, 56px) clamp(0px, 0vw, 0px) clamp(30px, 3vw, 56px); padding-right: clamp(20px, 4vw, 80px); }
.next__item + .next__item { padding-left: clamp(20px, 3vw, 80px); }
.next__item.is-on { background: #97defa; }
.next__item.is-on::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 4px; background: var(--navy); }
.next__k { font-size: clamp(12.5px, .9vw, 15px); margin: 0; color: var(--muted); }
.next__item.is-on .next__k { text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }
.next__item .wm, .next__item h3 { margin-top: 16px; }
.next__item h3 { font-size: clamp(20px, 1.6vw, 28px); font-weight: 700; }
.next__item p { margin-top: 16px; font-size: clamp(14px, 1.05vw, 18px); line-height: 1.6; color: var(--muted); max-width: 38ch; }
.next__item.is-on p { color: var(--ink); }
.next .wm--xcursions { font-size: 22px; color: #6b7a94; }
.next__item.is-on .wm--xcursions { color: #47658f; }
@media (max-width: 860px) { .next__row { grid-template-columns: 1fr; } .next__item, .next__item + .next__item { padding: 28px 20px; } }

/* capability rows */
.caps { margin-top: clamp(26px, 2.4vw, 40px); border-top: 1px solid var(--ink); }
.caps a { display: grid; grid-template-columns: 48px minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .7fr) 28px; align-items: center; gap: 18px; padding: clamp(18px, 1.8vw, 30px) 0; border-bottom: 1px solid #d4e3ee; transition: background .25s; }
.caps a:hover { background: rgba(255, 255, 255, .45); }
.caps__n { font-size: 13px; color: var(--muted); }
.caps__t { font-size: clamp(20px, 1.85vw, 32px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; color: var(--ink); }
.caps__d { font-size: clamp(14px, 1vw, 17px); color: var(--muted); }
.caps__u { font-size: clamp(12.5px, .92vw, 16px); font-weight: 700; color: var(--navy); }
.caps .arr { justify-self: end; color: var(--navy); }
@media (max-width: 900px) {
  .caps a { grid-template-columns: 34px minmax(0, 1fr) 24px; row-gap: 6px; }
  .caps__d, .caps__u { grid-column: 2; }
  .caps .arr { grid-column: 3; grid-row: 1; }
}

/* four ways in */
.ways { margin-top: clamp(26px, 2.4vw, 40px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 44px); padding-top: clamp(28px, 2.6vw, 44px); }
.way__k { font-size: clamp(12px, .85vw, 15px); letter-spacing: .04em; color: var(--muted); }
.way__t { margin-top: 10px; display: flex; justify-content: space-between; gap: 10px; font-size: clamp(19px, 1.5vw, 26px); color: var(--ink); }
.way__t .arr { font-size: 18px; color: var(--navy); }
.way p { margin-top: 14px; font-size: clamp(14px, 1.05vw, 18px); line-height: 1.6; color: var(--muted); max-width: 30ch; }
@media (max-width: 1000px) { .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ways { grid-template-columns: 1fr; } }

/* product cards: staggered slide-up as the grid scrolls in */
.pcards .pcard.rv { transform: translateY(48px); transition: opacity .6s ease, transform .9s var(--ease); }
.pcards .pcard.rv.is-in { transform: none; }
.pcards .pcard:nth-child(2) { transition-delay: .12s; }
.pcards .pcard:nth-child(3) { transition-delay: .2s; }
.pcards .pcard:nth-child(4) { transition-delay: .32s; }
@media (max-width: 900px) { .pcards .pcard:nth-child(n) { transition-delay: 0s; } }

/* design pass: "Four ways in" titles were being shrunk by the `.way p` rule */
.way .way__k { margin: 0; font-size: clamp(12px, .85vw, 15px); }
.way .way__t { margin-top: 10px; max-width: none; font-size: clamp(20px, 1.95vw, 34px); line-height: 1.2; color: var(--ink); }
.way__t .arr { font-size: clamp(16px, 1.1vw, 20px); }
.way p:not(.way__k):not(.way__t) { font-size: clamp(14px, 1.05vw, 18px); }
.who .h2 { font-size: clamp(32px, 3.4vw, 58px); max-width: 20ch; }
.next__item .next__k { margin: 0; }
.next__item p:not(.next__k) { font-size: clamp(14px, 1.05vw, 18px); }
.team p { font-size: clamp(16px, 1.2vw, 21px); }
.caps__t { font-weight: 400; }
