/* A walk through the market: wide cards in a row you can browse with the arrows, a swipe or a sideways scroll.
   The page scroll is never held: scroll down and you simply move past it. */
.walk { position: relative; z-index: 1; background: #050912; color: #eef2f6; }
.walk-pin { position: relative; min-height: var(--vh); display: flex; flex-direction: column; justify-content: center; padding: calc(var(--f) + 32px) 0 48px; }
.walk-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 0 calc(var(--fs, var(--f)) + 40px); margin-bottom: 26px; }
.walk .k { font: 600 12px 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: rgba(220,232,250,.6); }
.walk .h-sec { color: #f3f6fa; margin: 12px 0 10px; }
.walk .sub { margin: 0; color: rgba(238,242,246,.7); font-size: 17px; line-height: 1.5; max-width: 560px; }
.walk-nav { display: flex; align-items: center; gap: 10px; flex: none; }
.walk-nav .cnt { font-size: 13px; font-weight: 600; color: rgba(238,242,246,.6); margin-right: 8px; min-width: 52px; text-align: right; }
.walk-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(220,232,250,.24); background: rgba(220,232,250,.06); color: #eef3fa; display: grid; place-items: center; cursor: pointer;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .2s ease-out, opacity .2s ease-out, transform .2s ease-out; }
.walk-nav button:hover { background: rgba(220,232,250,.16); transform: translateY(-1px); }
.walk-nav button:disabled { opacity: .3; cursor: default; transform: none; }
.walk-nav button:focus-visible { outline: 2px solid #eef3fa; outline-offset: 3px; }
.walk-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.walk-track { position: relative; display: flex; gap: 24px; padding: 0 calc(var(--fs, var(--f)) + 40px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding-left: calc(var(--fs, var(--f)) + 40px); scrollbar-width: none; scroll-behavior: smooth; }
.walk-track::-webkit-scrollbar { display: none; }
.wk { scroll-snap-align: start; }
.wk { position: relative; flex: none; width: min(1120px, 74vw); height: min(560px, calc(var(--vh) - 300px)); border-radius: 28px; overflow: hidden; border: 1px solid rgba(220,232,250,.16); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.wk > img.bg { position: absolute; top: -4%; left: -6%; width: 112%; height: 108%; max-width: none; object-fit: cover; object-position: 70% 50%; will-change: transform; }
.wk::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5,9,18,.82) 0%, rgba(5,9,18,.45) 36%, rgba(5,9,18,0) 62%); }
.wk .t { position: absolute; z-index: 2; left: 40px; top: 36px; width: min(420px, 42%); }
.wk .t b { display: block; font: 560 clamp(36px, 3.4vw, 52px)/1 'Clash Grotesk', 'Manrope', sans-serif; letter-spacing: -.02em; margin-top: 10px; color: #f3f6fa; }
.wk .t p { margin: 14px 0 0; font-size: 17px; line-height: 1.5; color: rgba(238,242,246,.88); }
/* the app's piece: a full-resolution card; the light version lies over the dark one in the light theme */
.wk .ui { position: absolute; z-index: 2; right: 36px; bottom: 36px; width: min(440px, 40%); border-radius: 30px; box-shadow: 0 30px 50px -24px rgba(0,0,0,.7); }
.wk .ui img { display: block; width: 100%; height: auto; }
.wk .ui .cl { position: absolute; left: 0; top: 0; opacity: var(--lt, 0); }
@media (max-width: 700px) {
  .walk-head { padding: 0 16px; flex-direction: column; align-items: flex-start; }
  .walk-nav { align-self: flex-end; }
  .walk-track { gap: 14px; }
  .wk { width: 86vw; height: min(620px, calc(var(--vh) - 320px)); border-radius: 22px; }
  .wk > img.bg { object-position: 78% 50%; }
  .wk::after { background: linear-gradient(180deg, rgba(5,9,18,.8) 0%, rgba(5,9,18,.2) 45%, rgba(5,9,18,.85) 100%); }
  .wk .t { left: 20px; right: 20px; top: 22px; width: auto; }
  .wk .t p { font-size: 15px; }
  .walk-track { padding: 0 16px; scroll-padding-left: 16px; }
  .wk .ui { left: 14px; right: 14px; bottom: 14px; width: auto; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) { .wk > img.bg { transform: none !important; } }

/* the dark card picture sets the box size (a global .cd rule made it absolute) */
.wk .ui .cd, .wr-c .cd { position: relative; left: auto; top: auto; width: 100%; height: auto; transform-style: flat; will-change: auto; }

/* the cards fade out in the gap before each side line, so nothing shows in the margins */
.walk-track { -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent calc(var(--fs, var(--f)) + 4px), #000 calc(var(--fs, var(--f)) + 40px), #000 calc(100% - var(--fs, var(--f)) - 40px), transparent calc(100% - var(--fs, var(--f)) - 4px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, transparent calc(var(--fs, var(--f)) + 4px), #000 calc(var(--fs, var(--f)) + 40px), #000 calc(100% - var(--fs, var(--f)) - 40px), transparent calc(100% - var(--fs, var(--f)) - 4px), transparent 100%); }
@media (max-width: 600px) { .walk-track { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); } }

/* the Labs card, drawn in the page so its charts can match its numbers */
.wk .ui-labs { padding: 18px 18px 16px; border-radius: 26px; background: #1a202c; color: #eef2f6; }
.walk[style*="--lt: 1"] .wk .ui-labs { background: #f1f4f8; color: #0e1621; }
.lb-h { display: block; font-size: 15px; font-weight: 700; margin: 0 2px 12px; }
.lb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lb-t { border-radius: 16px; padding: 12px 12px 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(220,232,250,.1); display: grid; gap: 4px; }
.walk[style*="--lt: 1"] .lb-t { background: #fff; border-color: rgba(14,22,33,.08); }
.lb-k { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
.lb-t b { font-size: 16px; letter-spacing: .01em; }
.lb-t p { margin: 0; font-size: 11.5px; line-height: 1.4; opacity: .7; }
.lb-ch { width: 100%; height: 54px; margin: 6px 0 2px; }
.lb-p { font-size: 12px; font-weight: 600; } .lb-p i { font-style: normal; color: #4cc38a; }
.walk[style*="--lt: 1"] .lb-p i { color: #1f8a57; }
@media (max-width: 700px) { .wk .ui-labs { padding: 12px; } .lb-t p { display: none; } }
.walk[style*="--lt: 1"] .lb-ch { --lb-up: #2c3e55; --lb-dn: #a3adba; }

/* the section holds the whole screen for a short stretch of scroll (like the other sections), then moves on as one */
.walk { height: calc(var(--vh) * 1.6); }
.walk-pin { position: sticky; top: 0; height: var(--vh); min-height: 0; box-sizing: border-box; overflow: hidden; }
@media (max-width: 700px) {
  .walk-pin { padding-bottom: 20px; }
  .walk-head { margin-bottom: 16px; }
  .walk-nav { margin-top: -6px; }
  .wk { height: calc(var(--vh) - 440px); min-height: 330px; }   /* the whole card fits on the held screen */
}
.walk .sub { text-wrap: balance; }   /* no single word left on the last line */

/* the row only ever moves sideways (a sideways-scrolling box would otherwise also scroll up and down inside itself),
   and the cards take exactly the height left under the heading, so nothing is cut off at the bottom */
.walk-pin { display: flex; flex-direction: column; justify-content: flex-start; }
.walk-head { flex: none; }
.walk-track { overflow-y: hidden; flex: 1 1 auto; min-height: 0; max-height: 600px; align-items: stretch; padding-bottom: 6px; }
.wk { height: auto; max-height: 560px; min-height: 0; }
@media (max-width: 700px) { .wk { height: auto; min-height: 0; max-height: 620px; } }

/* a light hold: about two wheel notches (240px) with the section filling the screen, then it moves on; a fast scroll passes it */
.walk { height: calc(var(--vh) + 240px); }
