/* ==========================================================================
   VK Distro · scroll-animated homepage preview (/home-preview/), 2026-10-18
   Scenes: shelf fill (dark band), Texas map (dark band), steps highlight.
   ========================================================================== */
.vk-mo-shelf, .vk-mo-map { position: relative; border-radius: 28px; overflow: hidden; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #1f6b4a 0%, #13402d 45%, #0b2a1e 100%); box-shadow: var(--vk-shadow-lg); }
.vk-mo-shelf-in, .vk-mo-map-in { display: grid; gap: 28px; align-items: center; padding: 40px 26px; min-height: 100vh; min-height: 100svh; box-sizing: border-box; }
@media (min-width: 900px) {
  .vk-mo-shelf-in { grid-template-columns: 1fr 1.05fr; padding: 56px; }
  .vk-mo-map-in { grid-template-columns: .8fr 1.2fr; padding: 56px; }
}
.vk-mo-shelf .vk-eyebrow, .vk-mo-map .vk-eyebrow { color: #a9e6c5 !important; }
.vk-mo-shelf h2, .vk-mo-map h2 { color: #fff; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.05; margin: 12px 0 14px; letter-spacing: -.02em; }
.vk-mo-shelf p, .vk-mo-map p { color: rgba(255, 255, 255, .82); font-size: 16.5px; line-height: 1.6; margin: 0; max-width: 46ch; }

/* headline that changes as the shelf fills (stacked lines, one visible) */
.vk-mo-swap { display: grid; }
.vk-mo-swap > span { grid-area: 1 / 1; transition: opacity .45s ease, transform .45s ease; }
.vk-mo-on .vk-mo-swap > span { opacity: 0; transform: translateY(14px); }
.vk-mo-on .vk-mo-swap > span.is-on { opacity: 1; transform: none; }
.vk-mo-swap > span:not(:first-child) { visibility: visible; }
html:not(.vk-mo-on) .vk-mo-swap > span:not(:first-child) { display: none; }   /* no JS / reduced motion: just the first line */

/* the counter display */
.vk-mo-display { position: relative; width: 100%; max-width: min(100%, 58vh); justify-self: center; border-radius: 22px; padding: 16px 16px 0; background: linear-gradient(180deg, #fdfdfb, #eef3f0); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); transition: box-shadow .3s; }
.vk-mo-display-top { text-align: center; font: 700 12px/1 var(--vk-sans, Inter, sans-serif); letter-spacing: .2em; text-transform: uppercase; color: #fff;
  background: #17543a; border-radius: 10px; padding: 9px 0; margin-bottom: 14px; }
.vk-mo-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding-bottom: 14px; }
.vk-mo-slot { aspect-ratio: 3 / 4; border-radius: 12px; background: repeating-linear-gradient(135deg, #e6eee9 0 8px, #dfe8e2 8px 16px); display: grid; place-items: center; overflow: hidden; min-width: 0; }
.vk-mo-slot img { width: 100%; height: 100%; object-fit: contain; padding: 6px; background: #fff; border-radius: 12px; }
.vk-mo-display-base { height: 18px; margin: 0 -16px; border-radius: 0 0 22px 22px; background: linear-gradient(180deg, #c9d6ce, #aebfb4); }
@media (max-width: 600px) { .vk-mo-slots { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; } .vk-mo-display { padding: 10px 10px 0; } .vk-mo-display-base { margin: 0 -10px; } }

/* Texas map */
.vk-mo-canvas { width: 100%; max-width: 100%; display: block; }

/* steps: light up one at a time */
.vk-mo-on .vk-mo-steps .vk-g-time li { transition: opacity .35s, transform .35s, box-shadow .35s, border-color .35s; opacity: .35; transform: scale(.97); }
.vk-mo-on .vk-mo-steps .vk-g-time li.is-on { opacity: 1; transform: none; }
.vk-mo-on .vk-mo-steps .vk-g-time li.is-now { box-shadow: 0 0 0 3px var(--vk-gold), var(--vk-shadow-lg); }

/* no layout shift while GSAP sets things up */
.vk-motion .vk-g-ph, .vk-motion .vk-g-badge { will-change: transform; }
.vk-mo-static .vk-mo-shelf-in, .vk-mo-static .vk-mo-map-in { min-height: 0; }
.vk-motion-page .storefront-breadcrumb, .vk-motion-page .woocommerce-breadcrumb { display: none !important; }

/* phones: each pinned scene must fit one screen */
@media (max-width: 767px) {
  .vk-mo-shelf-in, .vk-mo-map-in { padding: 22px 18px; gap: 16px; align-content: center; }
  .vk-mo-shelf h2, .vk-mo-map h2 { font-size: 27px; margin: 8px 0 8px; }
  .vk-mo-shelf p, .vk-mo-map p { font-size: 14.5px; line-height: 1.5; }
  .vk-mo-shelf .vk-mo-shelf-copy p { display: none; }
  .vk-mo-display { max-width: min(100%, 46svh); }
  .vk-mo-slots { gap: 6px; padding-bottom: 10px; }
  .vk-mo-display-top { padding: 7px 0; margin-bottom: 10px; font-size: 11px; }
}
