/* Homepage "For investors and ecosystem partners" + "Learn how the Ecosystem
   really works" in one pinned section. It starts in night blue with the
   investor message; as you scroll, a light tide (led by a glowing light-blue
   line) rises from the bottom and brings the field notes. The section holds
   on each message at both ends of the scroll. partners-tide.js sets --t
   (0 → 1). Chosen in combo3-lab.html (option 3). */
section.ps { padding: 0 !important; background: #09193E; border: 0 !important; }
.ps-outer { position: relative; height: 230vh; }
.ps-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #09193E; --t: 0; }
.ps-l { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 90px 32px 60px; }
.ps-blk { width: 100%; max-width: 760px; }
.ps-eye { font: 500 12px/1.3 Montserrat, "Hanken Grotesk", sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #1A4F9C; margin: 0 0 16px; }
.ps .ps-h { font-family: "Hanken Grotesk", sans-serif; font-weight: 600; font-size: clamp(30px, 4vw, 54px); line-height: 1.06; letter-spacing: -.03em; color: #09193E; margin: 0 0 20px; }
.ps-p { font-size: 17px; line-height: 1.62; color: #485362; margin: 0 0 14px; max-width: 40rem; }
.ps-who { font-size: 14.5px; line-height: 1.5; color: #6B7A90; margin: 0; }
.ps-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; }

/* The investor message, on night blue. */
.ps-a .ps-eye { color: #7FAEF0; }
.ps-a .ps-h { color: #fff; }
.ps-a .ps-p { color: rgba(255, 255, 255, .78); }
.ps-a .ps-who { color: rgba(255, 255, 255, .55); }
.ps-a .vh-btn { background: #7FAEF0; color: #09193E; border-color: #7FAEF0; }
.ps-a .vh-btn:hover { background: #1A4F9C; color: #fff; border-color: #1A4F9C; }
.ps-a .vh-link { color: #fff; border-bottom-color: rgba(255, 255, 255, .4); }
.ps-a .vh-link:hover { border-bottom-color: #fff; }
.ps-a { transform: translateY(calc(var(--t) * -40px)); opacity: clamp(0, calc(1 - var(--t) * 2), 1); }

/* The tide: light, rising from the bottom with a glowing edge. */
.ps-tide { position: absolute; inset: 0; background: #FAFCFE; clip-path: inset(calc((1 - var(--t)) * 100%) 0 0 0); }
.ps-tide::before { content: ""; position: absolute; left: 0; right: 0; top: calc((1 - var(--t)) * 100%); height: 2px; background: #7FAEF0; box-shadow: 0 0 24px 4px rgba(127, 174, 240, .7); opacity: calc(1 - var(--t)); }
.ps-b { opacity: clamp(0, calc(var(--t) * 2.4 - 1.3), 1); transform: translateY(calc((1 - var(--t)) * 40px)); }

/* Only the message on screen can be clicked. */
.ps-stage:not(.on-b) .ps-b, .ps-stage.on-b .ps-a { pointer-events: none; }

@media (max-width: 860px) {
  .ps-l { padding: 80px 20px 50px; }
  .ps-p { font-size: 15.5px; }
}
/* Reduced motion: no pinning, the two messages one after the other. */
@media (prefers-reduced-motion: reduce) {
  .ps-outer { height: auto; }
  .ps-stage { position: static; height: auto; overflow: visible; }
  .ps-l { position: relative; inset: auto; min-height: 80vh; }
  .ps-a, .ps-b { opacity: 1; transform: none; pointer-events: auto !important; }
  .ps-tide { position: relative; clip-path: none; }
  .ps-tide::before { display: none; }
}
