/* Home hero: the market run (2026-10-03). Replaces the model-city hero track; drawn by js/market-run.js.
   Pinned stage over a long spacer; the TheSurvey.ai block still slides in over it at the end of the track.
   Layout rule: the scene is anchored right and scaled so it keeps a gap from the headline column (never behind text). */
.mk { position: relative; }
.mk > .stage { background: #FBFCFC; }               /* the plate's own floor tone, so its edges never show */
.mk > .spacer { height: 520vh; }
.mk .plat-sec { background: #fff; }                  /* covers the pinned scene as it slides in */
.hero-copy .h1 { font-size: clamp(40px, 4vw, 68px); }  /* owner 2026-10-03: 4vw, so "audience." never reaches the kiosks */

/* step cards: one per scroll chapter, in the headline column */
.mk-step { position: absolute; z-index: 4; left: 0; top: 0; padding-top: clamp(118px, 15.5vh, 150px); max-width: calc(min(34vw, 420px) + 2 * var(--side)); opacity: 0; pointer-events: none; }
.mk-step .n { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--blue-ink); }
.mk-step h2 { margin-top: 14px; font-size: clamp(30px, 2.9vw, 46px); font-weight: 700; letter-spacing: -.035em; line-height: 1.15; }
.mk-step p { margin-top: 14px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; color: var(--ink-2); }

/* reason cards (ask why): small and typographic, no tail or connector */
.mk-reason { position: absolute; z-index: 5; left: 0; top: 0; width: 214px; padding: 10px 12px 11px; border-radius: 12px; background: #fff; border: 1px solid var(--rule-2); box-shadow: 0 10px 24px -18px rgba(15,27,51,.45); opacity: 0; pointer-events: none; }
.mk-reason small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: var(--ink-3); }
.mk-reason b { display: block; margin-top: 5px; font-size: 15px; font-weight: 600; letter-spacing: -.02em; line-height: 1.35; color: var(--ink); }
.mk-reason.sw small::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; vertical-align: 1px; background: var(--blue-ink); }

/* run label (bottom right): the scene is software, and illustrative */
.mk-run { position: absolute; z-index: 4; right: var(--side); bottom: 22px; font-family: var(--mono); color: var(--navy); line-height: 1.6; text-transform: uppercase; }
.mk-run b { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: 13px; letter-spacing: .02em; }
.mk-run b::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--blue-ink); }
.mk-run small { display: block; padding-left: 18px; font-size: 10.5px; letter-spacing: .06em; }


@media (max-width: 699px), (max-aspect-ratio: 9/10) {
  .mk > .spacer { height: 440vh; }
  .mk-step { right: 0; max-width: none; }
  .mk-run { right: auto; left: var(--gut); bottom: 14px; }
}
@media (max-width: 699px) {
  .mk-step { padding-top: 96px; }
  .mk-step h2 { font-size: 28px; margin-top: 10px; }
  .mk-step p { font-size: 15.5px; margin-top: 8px; }
  .mk-reason { width: 158px; padding: 8px 10px 9px; }
  .mk-reason b { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .mk > .spacer { height: 0; }
  .mk > .stage { position: relative; }
}

/* PARASTORE (home), same world as the hero: one canvas (js/parastore-run.js) on a normal, unpinned section */
.psd > .stage { position: relative; background: #FDFDFD; }
.psd > .spacer { height: 0; }
.psd .legend b.bl { background: var(--blue-ink); }   /* the blue the shoppers turn at an impulse buy */

/* PARASTORE sales mix (home): in the left column above the HUD; phones and portrait screens show the HUD only */
.ps-mix { position: absolute; z-index: 4; left: var(--side); bottom: 112px; width: min(400px, 32vw); }
.ps-mix small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--ink-2); }
.ps-mix .mx-bar { display: flex; height: 8px; margin-top: 9px; border-radius: 4px; overflow: hidden; background: #EEF1F5; }
.ps-mix .mx-bar i { display: block; height: 100%; transition: width .6s ease; }
.ps-mix .mx-key { display: flex; flex-wrap: wrap; gap: 5px 14px; margin-top: 9px; font-size: 12.5px; color: var(--ink-2); }
.ps-mix .mx-key span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.ps-mix .mx-key i { flex: none; width: 8px; height: 8px; border-radius: 2px; }
.ps-mix .mx-key b { font-family: var(--mono); font-weight: 500; color: var(--ink); }
@media (max-width: 760px), (orientation: portrait) and (max-width: 1024px) { .ps-mix { display: none; } }
@media (prefers-reduced-motion: reduce) { .ps-mix .mx-bar i { transition: none; } }
