
/* =====================================================================
   ROUND 4 (2026-11-17): UX polish – desktop + mobile
   ===================================================================== */
.v2-hide-sm{display:inline}.v2-show-sm{display:none}

/* ---------- Who we are ---------- */
#mh-v2 .v2-intro-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:64px;align-items:center}
#mh-v2 .v2-intro-grid .v2-statement{font-size:clamp(30px,3.2vw,46px);line-height:1.18;letter-spacing:-.03em;font-weight:650;color:var(--lightInk);max-width:none}
#mh-v2 .v2-intro-grid .v2-statement span{color:var(--blue);font-weight:650}
.v2-intro-side p{font-size:var(--fs-lead);line-height:1.65;color:var(--lightMuted)}
.v2-intro-pills{list-style:none;padding:0;margin:22px 0 0;display:flex;flex-wrap:wrap;gap:10px}
.v2-intro-pills li{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border-radius:999px;background:#fff;border:1px solid var(--line-light);font-size:14px;font-weight:600;color:var(--lightInk);box-shadow:0 6px 18px #0a1a660a}
.v2-intro-pills li:before{content:"";width:7px;height:7px;border-radius:50%;background:linear-gradient(135deg,#4fb6ff,#0684db)}

/* ---------- Logos: note + actions ---------- */
#mh-v2 .v2-logos .v2-note{max-width:680px;font-size:14px;line-height:1.6}

/* ---------- UI/UX cards: hover (desktop) / tap (touch) reveal ---------- */
#mh-v2 .v2-uiux-card:after{background:linear-gradient(180deg,transparent 45%,#040a26 92%);transition:background .45s var(--ease)}
#mh-v2 .v2-uiux-card div{padding:22px 22px 20px}
#mh-v2 .v2-uiux-card h3{display:flex;align-items:center;justify-content:space-between;gap:10px}
#mh-v2 .v2-uiux-card h3:after{content:"+";flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;border:1px solid #ffffff55;font-size:18px;font-weight:400;line-height:1;transition:transform .35s var(--ease),background .35s}
#mh-v2 .v2-uiux-card p{max-height:0!important;opacity:0!important;margin-top:0!important;overflow:hidden;display:block!important;-webkit-line-clamp:unset!important;transition:max-height .45s var(--ease),opacity .35s,margin .35s}
#mh-v2 .v2-uiux-card:hover:after,#mh-v2 .v2-uiux-card:focus-visible:after,#mh-v2 .v2-uiux-card.is-open:after{background:linear-gradient(180deg,#040a2633 0%,#040a26f2 55%)}
#mh-v2 .v2-uiux-card:hover p,#mh-v2 .v2-uiux-card:focus-visible p,#mh-v2 .v2-uiux-card.is-open p{max-height:160px!important;opacity:1!important;margin-top:10px!important}
#mh-v2 .v2-uiux-card:hover h3:after,#mh-v2 .v2-uiux-card.is-open h3:after{transform:rotate(45deg);background:#ffffff1f}

/* ---------- Migrations: tidy route chips ---------- */
#mh-v2 .v2-mig-route{flex-wrap:nowrap;gap:8px}
#mh-v2 .v2-mig-route span{padding:5px 11px 5px 7px;font-size:12.5px;white-space:nowrap}
#mh-v2 .v2-mig-route svg{width:16px;height:16px}

/* ---------- Engagement: card style ---------- */
#mh-v2 .v2-engage-list{gap:16px!important;column-gap:16px!important;row-gap:16px!important;padding-top:0}
#mh-v2 .v2-engage-item{padding:22px 24px;border-radius:18px;background:#fff;border:1px solid var(--line-light);box-shadow:0 10px 30px #0a1a660a;transition:transform .35s var(--ease),box-shadow .35s,border-color .35s}
#mh-v2 .v2-engage-item:hover{transform:translateY(-4px);box-shadow:0 18px 40px #0a1a6614;border-color:#bcd3ef}
#mh-v2 .v2-engage-item:after{display:none}
#mh-v2 .v2-engage-item img{height:40px!important;max-width:170px;margin-bottom:14px!important}
#mh-v2 .v2-engage-item p{font-size:16px;line-height:1.45;color:#33405f}

/* ---------- Insights banners ---------- */
#mh-v2 .v2-in-art{position:relative;overflow:hidden;isolation:isolate}
#mh-v2 .v2-in-art>span,#mh-v2 .v2-in-art>b{position:relative;z-index:2;max-width:58%}
#mh-v2 .v2-in-art>b{text-shadow:0 2px 18px #040a2680}
.v2-in-art i{position:absolute;z-index:1;font-style:normal;transition:transform .6s var(--ease)}
.v2-in-phone{width:24%;aspect-ratio:9/17;padding:4px;border-radius:16px;background:#050b24;border:1px solid #ffffff38;box-shadow:0 20px 40px #0008;overflow:hidden}
.v2-in-phone img{width:100%;height:100%;object-fit:cover;object-position:top;border-radius:12px;display:block}
.v2-in-phone.p1{right:22%;top:14%;transform:rotate(-6deg)}
.v2-in-phone.p2{right:4%;top:24%;transform:rotate(5deg)}
.v2-in-card:hover .v2-in-phone.p1{transform:rotate(-8deg) translateY(-6px)}
.v2-in-card:hover .v2-in-phone.p2{transform:rotate(7deg) translateY(-10px)}
.v2-in-browser{right:-14%;top:34%;width:52%;border-radius:10px;overflow:hidden;background:#0c1748;border:1px solid #ffffff2e;box-shadow:0 24px 50px #0009}
.v2-in-browser em{display:block;height:14px;background:#101d57;border-bottom:1px solid #ffffff14}
.v2-in-browser img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;object-position:top}
.v2-in-card:hover .v2-in-browser{transform:translateX(-8px)}
.v2-in-route{right:6%;top:14%;padding:6px 12px;border-radius:999px;background:#ffffffe6;color:var(--navy-700);font-size:12px;font-weight:700;box-shadow:0 10px 24px #0006}
.v2-in-route u{text-decoration:none;color:var(--blue)}
.v2-in-chart{right:0;bottom:0;width:62%;height:62%;opacity:.95}
.v2-in-chart svg{width:100%;height:100%;display:block}
.v2-in-steps{right:6%;top:14%;display:flex;gap:6px}
.v2-in-steps em{font-style:normal;padding:5px 10px;border-radius:999px;background:#ffffff1f;border:1px solid #ffffff38;font-size:11.5px;font-weight:600;backdrop-filter:blur(6px)}
.v2-in-steps em:last-child{background:#2ee59d;border-color:#2ee59d;color:#04261a}
.v2-in-card:hover .v2-in-chart{transform:translateY(-6px)}

/* ---------- Carousel dots (mobile rails) ---------- */
.v2-dots{display:none}

/* ---------- Sticky CTA bar ---------- */
.v2-sticky{display:none}

/* ---------- Desktop / tablet tweaks ---------- */
@media (max-width:960px){
  #mh-v2 .v2-intro-grid{grid-template-columns:1fr;gap:22px}
}

/* =================== MOBILE =================== */
@media (max-width:600px){
  .v2-hide-sm{display:none}.v2-show-sm{display:inline}

  /* hero: no dead space between showcase and copy */
  #mh-v2 .v2-hero{--hv:calc(118px + min(84vw,540px) * .6512 + 44px)}
  #mh-v2 .v2-hero-inner{padding-top:calc(var(--hv) - 20px)!important}
  #mh-v2 .v2-hero .v2-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  #mh-v2 .v2-hero .v2-actions .v2-btn{min-height:50px;padding:0 8px;font-size:14px;gap:6px;margin:0;white-space:nowrap}
  #mh-v2 .v2-hero .v2-actions .v2-arr{width:11px;height:11px}
  /* hero proof: one tidy card */
  #mh-v2 .v2-hero-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:18px!important;padding:14px 4px!important;border:1px solid #ffffff1f;border-radius:16px;background:#ffffff0a;backdrop-filter:blur(6px)}
  #mh-v2 .v2-hero-proof li{text-align:center;padding:0 6px;font-size:11.5px;line-height:1.3;color:#a9b8d8}
  #mh-v2 .v2-hero-proof li+li{border-left:1px solid #ffffff1f}
  #mh-v2 .v2-hero-proof b{font-size:22px;margin-bottom:2px}

  /* who we are */
  #mh-v2 .v2-intro{padding:48px 0 28px}
  #mh-v2 .v2-intro-grid .v2-statement{font-size:27px;line-height:1.2}
  .v2-intro-side p{font-size:15.5px}
  .v2-intro-pills{gap:8px;margin-top:16px}
  .v2-intro-pills li{padding:7px 12px;font-size:13px}

  /* paired buttons instead of stacked full-width */
  #mh-v2 .v2-center-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:10px!important}
  #mh-v2 .v2-center-actions .v2-btn{width:100%;min-height:50px!important;padding:0 10px!important;font-size:14.5px;gap:8px;margin:0!important}
  #mh-v2 .v2-center-actions .v2-btn:only-child{grid-column:1/-1}
  #mh-v2 .v2-logos .v2-center-actions .v2-btn:first-child{background:var(--navy-700);border-color:var(--navy-700);color:#fff}
  #mh-v2 .v2-migrate .v2-center-actions .v2-btn:first-child{background:#fff;border-color:#fff;color:var(--navy-700)}
  #mh-v2 .v2-logos .v2-note{font-size:12.5px;text-align:center}

  /* stats: video plays on mobile too */
  #mh-v2 .v2-stats-video{inset:0;height:100%}

  /* expertise: compact blocks, marquee chip rows */
  #mh-v2 .v2-exp-num{display:none}
  #mh-v2 .v2-exp-copy{padding:26px 20px 4px!important}
  #mh-v2 .v2-exp-copy h3{font-size:22px!important;margin-bottom:8px!important}
  #mh-v2 .v2-exp-copy p{font-size:14.5px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  #mh-v2 .v2-exp-copy p+p{display:none}
  #mh-v2 .v2-exp-list{padding:10px 20px 22px!important}
  #mh-v2 .v2-exp-list.is-marquee{overflow:hidden;width:max-content;max-width:none;animation:v2-mq var(--mq-dur,30s) linear infinite;padding-left:0!important;padding-right:8px!important}
  #mh-v2 .v2-exp:nth-of-type(even) .v2-exp-list.is-marquee{animation-direction:reverse}
  #mh-v2 .v2-exp-list.is-marquee:active{animation-play-state:paused}
  #mh-v2 .v2-exp{overflow:hidden;grid-template-columns:minmax(0,1fr)!important}
  #mh-v2 .v2-exp-copy{min-width:0}
  #mh-v2 .v2-exp-list li{flex:0 0 auto}
  #mh-v2 .v2-exp-list a{min-height:46px!important;padding:8px 14px 8px 8px!important;font-size:13.5px!important;border-radius:999px!important;gap:8px!important}
  #mh-v2 .v2-exp-list .v2-ico{width:30px;height:30px;flex:none}
  @keyframes v2-mq{from{transform:translateX(0)}to{transform:translateX(-50%)}}

  /* generic mobile rail */
  #mh-v2 .v2-uiux-grid,#mh-v2 .v2-mig-grid,#mh-v2 .v2-in-grid{display:grid!important;grid-auto-flow:column!important;grid-template-columns:none!important;grid-template-rows:none!important;grid-auto-columns:80%!important;gap:12px!important;overflow-x:auto!important;scroll-snap-type:x mandatory;scroll-padding-inline:20px;padding:4px 20px 6px!important;margin-inline:-20px!important;scrollbar-width:none;overscroll-behavior-x:contain}
  #mh-v2 .v2-uiux-grid::-webkit-scrollbar,#mh-v2 .v2-mig-grid::-webkit-scrollbar,#mh-v2 .v2-in-grid::-webkit-scrollbar,#mh-v2 .v2-pf-grid::-webkit-scrollbar,#mh-v2 .v2-engage-list::-webkit-scrollbar{display:none}
  #mh-v2 .v2-uiux-grid>*,#mh-v2 .v2-mig-grid>*,#mh-v2 .v2-in-grid>*{scroll-snap-align:start}
  .v2-swipe-hint{display:none!important}
  .v2-dots{display:flex;justify-content:center;gap:6px;margin-top:16px;min-height:6px}
  .v2-dots i{width:6px;height:6px;border-radius:99px;background:#9fb0d0;opacity:.45;transition:width .35s var(--ease),opacity .35s,background .35s}
  .v2-dots i.is-on{width:22px;opacity:1;background:var(--blue)}
  .v2-uiux .v2-dots i,.v2-migrate .v2-dots i{background:#ffffff}
  .v2-uiux .v2-dots i.is-on,.v2-migrate .v2-dots i.is-on{background:var(--blue-300)}

  /* ui/ux cards */
  #mh-v2 .v2-uiux-grid{grid-auto-columns:70%!important}
  #mh-v2 .v2-uiux-card{aspect-ratio:4/5!important;border-radius:18px}
  #mh-v2 .v2-uiux-card div{padding:16px!important}
  #mh-v2 .v2-uiux-card h3{font-size:19px!important}
  #mh-v2 .v2-uiux-card p{font-size:13.5px!important;line-height:1.5!important}

  /* migrations */
  #mh-v2 .v2-mig-grid{grid-auto-columns:84%!important}
  #mh-v2 .v2-mig-body{padding:16px 16px 18px!important;gap:4px}
  #mh-v2 .v2-mig-route{margin-bottom:6px!important}
  #mh-v2 .v2-mig-route span{font-size:11.5px;padding:4px 9px 4px 6px}
  #mh-v2 .v2-mig-route i{font-size:13px}
  #mh-v2 .v2-mig-body h3{font-size:20px}
  #mh-v2 .v2-mig-body>p:not(.v2-mig-route):not(.v2-mig-cat){font-size:14px;line-height:1.5}
  #mh-v2 .v2-mig-link{padding-top:6px;min-height:40px}

  /* portfolio: 2 x 2 pages, auto-scroll */
  #mh-v2 .v2-pf-grid{display:grid!important;grid-auto-flow:column;grid-template-columns:none!important;grid-template-rows:repeat(2,auto);grid-auto-columns:calc(50% - 6px);gap:22px 12px!important;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;min-height:0!important;padding-bottom:4px}
  #mh-v2 .v2-pf-card{scroll-snap-align:start}
  #mh-v2 .v2-pf-card:nth-child(odd){scroll-snap-align:start}
  #mh-v2 .v2-pf-phone{max-width:150px!important}
  #mh-v2 .v2-pf-meta h3{font-size:15px}
  #mh-v2 .v2-pf-kicker{font-size:10.5px}
  #mh-v2 .v2-pf-pages{display:none!important}

  /* engagement */
  #mh-v2 .v2-engage{padding-block:56px}
  #mh-v2 .v2-engage h2 .v2-big{font-size:44px!important}
  #mh-v2 .v2-engage-intro .v2-lead{margin:14px 0 18px!important;font-size:15px}
  #mh-v2 .v2-engage-intro .v2-btn{min-height:50px;width:auto;padding:0 26px}
  #mh-v2 .v2-engage-list{display:grid!important;grid-auto-flow:column;grid-template-columns:none!important;grid-template-rows:repeat(2,auto);grid-auto-columns:calc(50% - 6px);gap:12px!important;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-top:6px}
  #mh-v2 .v2-engage-item{scroll-snap-align:start;padding:16px 14px;border-radius:16px;min-height:132px}
  #mh-v2 .v2-engage-item img{height:30px!important;max-width:120px;margin-bottom:10px!important}
  #mh-v2 .v2-engage-item p{font-size:13.5px;line-height:1.4}

  /* insights */
  #mh-v2 .v2-in-grid{grid-auto-columns:86%!important}
  #mh-v2 .v2-in-art{aspect-ratio:16/10!important;padding:16px!important}
  #mh-v2 .v2-in-art>b{font-size:22px}
  .v2-in-steps em{font-size:10px;padding:4px 8px}
  .v2-in-route{font-size:10.5px}

  /* sticky CTA bar */
  .v2-sticky{display:grid;grid-template-columns:48px 1fr 1.25fr;gap:8px;position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:60;padding:8px;border-radius:20px;background:#071444f2;border:1px solid #ffffff24;box-shadow:0 18px 40px #040a2680;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transform:translateY(140%);opacity:0;transition:transform .45s var(--ease),opacity .3s;pointer-events:none}
  .v2-sticky.is-on{transform:none;opacity:1;pointer-events:auto}
  .v2-sticky a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border-radius:14px;font-size:14.5px;font-weight:600;color:#fff!important;text-decoration:none}
  .v2-sticky-wa{background:#25d366}
  .v2-sticky-wa svg{width:24px;height:24px}
  .v2-sticky-ghost{border:1px solid #ffffff40}
  .v2-sticky-main{background:var(--blue);box-shadow:0 8px 20px #0684db55}
  .v2-sticky .v2-arr{width:12px;height:12px}
  html.v2-sticky-ready .v2-wa{display:none!important}
  html.v2-has-sticky .v2-totop{bottom:84px!important}
  html.v2-has-sticky body{padding-bottom:0}
  #mh-v2 .v2-footer{padding-bottom:96px}
}
@media (prefers-reduced-motion:reduce){#mh-v2 .v2-exp-list.is-marquee{animation:none}}

/* Footer: 6 columns incl. Sample Stores (Nov 2026) */
@media (min-width:1181px){.v2-foot-cols{grid-template-columns:repeat(6,minmax(0,1fr));gap:24px}.v2-foot-cols a{font-size:14px}}
