/* ==========================================================
   MOBILE LAYER (phones + small tablets, up to 1080px wide)

   Loaded with media="(max-width: 1080px)" and every rule is scoped to  html.m  (the class set in each page head),
   so the laptop design cannot be affected and these rules beat the older responsive rules in site.css.
   Behaviour that goes with it lives in js/mobile.js.

   Design language for phones: app-like. A bottom tab bar, one idea per screen, swipe decks instead of long stacks,
   the parts finder as a shop with a filter sheet. Same brand: JK red, ink, white, the -14deg slant.
   ========================================================== */

/* ---------- foundations ---------- */
html.m {
  --hdr-h: 56px; --tab-h: 62px; --safe-b: 0px; --gutter: 18px; --stick: var(--hdr-h);
  scroll-padding-top: calc(var(--hdr-h) + 8px);
}
@supports (padding: env(safe-area-inset-bottom)) { html.m { --safe-b: env(safe-area-inset-bottom); } }
html.m body { padding-bottom: 0; }
html.m .ftr { padding-bottom: calc(28px + var(--tab-h) + var(--safe-b)); }   /* the footer itself clears the tab bar, so no white strip under it */
html.m main { animation: mfade .45s ease-out both; }
@keyframes mfade { from { opacity: 0; } to { opacity: 1; } }
html.m .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.m .btn:active { transform: scale(.97); }

/* ---------- header: slim white bar, quote list on the right (menu lives in the tab bar) ---------- */
html.m .mmenu, html.m .burger, html.m .hdr__nav, html.m .hdr__right .btn { display: none !important; }
html.m .hdr { background: #fff; box-shadow: 0 1px 0 var(--line); }
html.m .hdr__in { height: var(--hdr-h); padding: 0 var(--gutter); gap: 12px; }
html.m .hdr__logo img { height: 30px; }
html.m .hdr__logo span { font-size: 10px; letter-spacing: .16em; }
html.m .hdr__right { padding: 0; gap: 0; }
html.m .hdr__right::before { display: none; }
html.m .qbtn { height: 38px; padding: 0 5px 0 12px; gap: 9px; border: 2px solid var(--ink); background: #fff; font-size: 11px; }
html.m .qbtn b { min-width: 26px; height: 26px; }

/* ---------- bottom tab bar ---------- */
html.m .mtab { position: fixed; z-index: 250; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1fr 84px 1fr 1fr; align-items: stretch;
  height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b); background: var(--ink); transition: transform .35s var(--ease-out); }
html.m.kb .mtab { transform: translateY(115%); }
html.m .mtab__i { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: rgba(255, 255, 255, .62);
  font: 600 10px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; -webkit-tap-highlight-color: transparent; transition: color .2s; }
html.m .mtab__i svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; transition: transform .35s var(--ease-out); }
html.m .mtab__i.is-active { color: #fff; }
html.m .mtab__i.is-active svg { transform: translateY(-2px); }
html.m .mtab__i.is-active::before { content: ""; position: absolute; top: 0; left: 50%; width: 34px; height: 4px; margin-left: -17px; background: #fff; }
html.m .mtab__i:active svg { transform: scale(.88); }
html.m .mtab__wa { position: relative; display: block; -webkit-tap-highlight-color: transparent; }
html.m .mtab__wa b { position: absolute; left: 50%; top: -22px; width: 68px; height: 56px; margin-left: -34px; display: grid; place-items: center; background: #fff; color: var(--ink);
  transform: skewX(var(--slant)); box-shadow: 0 12px 28px rgba(20, 20, 20, .5), 0 0 0 5px var(--ink); transition: transform .2s var(--ease-out); }
html.m .mtab__wa svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; transform: skewX(14deg); }
html.m .mtab__wa:active b { transform: skewX(var(--slant)) scale(.92); }

/* ---------- home: brand deck ---------- */
html.m .strip { margin: -1.5vw 0; }
html.m .brands { padding: 54px 0 30px; overflow: hidden; }
html.m .brands .sec-head { margin-bottom: 16px; }
html.m .brands .sec-head h2 { font-size: clamp(28.56px, 8.84vw, 43.52px); margin-top: 12px; }
html.m .brands .sec-head .lead { display: none; }
html.m .brand-row { display: flex; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
html.m .brand-row::-webkit-scrollbar { display: none; }
html.m .bcard { flex: 0 0 80%; width: auto; height: min(58svh, 500px); margin: 0; padding: 22px 7%; scroll-snap-align: center; color: #fff;
  transform: scale(.94); opacity: .82; transition: transform .45s var(--ease-out), opacity .45s; }
html.m .bcard.is-active { transform: none; opacity: 1; }
html.m .bcard::before, html.m .bcard:nth-child(n)::before { background: var(--red); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
html.m .bcard:nth-child(2)::before { background: var(--ink); }
html.m .bcard::after, html.m .bcard:nth-child(n)::after { display: none; }
html.m .bcard__seq { top: 13%; height: 47%; }
html.m .bcard__seq img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
html.m .bcard__go { background: #fff; color: var(--red); }
html.m .bcard:nth-child(2) .bcard__go { color: var(--ink); }
html.m .bcard__hint { display: none; }
html.m .bcard__name { font-size: clamp(27.2px, 8.16vw, 38.08px); }
html.m .mdots { display: flex; justify-content: center; gap: 6px; padding: 14px 0 0; }
html.m .mdots i { width: 22px; height: 5px; background: var(--line); transform: skewX(var(--slant)); transition: width .35s var(--ease-out), background .3s; cursor: pointer; }
html.m .mdots i.is-on { width: 40px; background: var(--red); }

/* ---------- home: stats / why / process / cta ---------- */
html.m .stats { padding: 56px 0 50px; }
html.m .hs { overflow: hidden; }
html.m .hs__pin { height: auto; min-height: 0; padding: 62px 0 26px; }
html.m .hs__head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
html.m .hs__head h2 { font-size: clamp(28.56px, 8.84vw, 43.52px); margin-top: 12px; }
html.m .hs__meta { display: none; }
html.m .hs__track { flex: none; display: flex; gap: 12px; width: auto; margin: 0; padding: 4px var(--gutter) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; touch-action: pan-x pan-y; transform: none !important; }
html.m .hs__track::-webkit-scrollbar { display: none; }
html.m .hcard { flex: 0 0 76%; width: auto; height: min(62svh, 460px); min-height: 0; scroll-snap-align: center; transform: scale(.95); opacity: .78; transition: transform .45s var(--ease-out), opacity .45s; }
html.m .hcard.is-active { transform: none; opacity: 1; }
html.m .hcard--end { flex-basis: 70%; }
html.m .hcard__body { padding-right: 36px; }
html.m .hcard p { font-size: 16px; }
html.m .process { overflow: hidden; }
html.m .process__pin { height: auto; padding: 52px 0 24px; }
html.m .process__head { margin-bottom: 16px; }
html.m .process__head::after, html.m .process__bar { display: none; }
html.m .process__head h2 { font-size: clamp(25.84px, 7.82vw, 39.44px); }
html.m .process__track { flex-direction: row; width: auto; gap: 12px; padding: 4px var(--gutter) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
html.m .process__track::-webkit-scrollbar { display: none; }
html.m .pcard { flex: 0 0 74%; width: auto; min-height: 330px; height: auto; margin: 0; padding: 26px 32px; scroll-snap-align: center; transform: scale(.95); opacity: .8; transition: transform .45s var(--ease-out), opacity .45s; }
html.m .pcard.is-active { transform: none; opacity: 1; }
html.m .pcard h3 { font-size: 31.3px; }
html.m.m-draw .pcard svg * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease-out) .15s; }
html.m.m-draw .pcard.is-active svg * { stroke-dashoffset: 0; }
html.m .cta { padding: 96px 0 40px; margin-top: -3vw; }
html.m .cta h2 { font-size: clamp(31.28px, 9.86vw, 54.4px); }
html.m .cta__row { margin-top: 24px; }
html.m .cta__row > div { width: 100%; flex-direction: column; gap: 10px !important; }
html.m .cta__row .btn { width: 100%; justify-content: center; }
html.m .cta__row .btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }

/* ---------- footer ---------- */
html.m .ftr__top { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
html.m .ftr__top > div:first-child { grid-column: 1 / -1; }
html.m .ftr__mega { font-size: 13vw; margin: 34px 0 20px; }
html.m .ftr__bot { flex-direction: column; gap: 8px; }

/* ---------- page heroes: compact ---------- */
html.m .phero { padding: calc(var(--hdr-h) + 24px) 0 26px; }
html.m .phero:not(.phero--photo) .phero__slab, html.m .phero:not(.phero--photo) .phero__big { display: none; }
html.m .phero h1 { font-size: clamp(31.28px, 9.86vw, 51.68px); margin: 10px 0 14px; }
html.m .phero .lead { font-size: 17px; }
html.m .phero--photo { padding-bottom: 28px; background: var(--ink); color: #fff; }
html.m .hphoto { top: 0; bottom: 0; right: 0; left: 0; width: 100%; height: 100%; opacity: 1; clip-path: none; }
html.m .hphoto img { opacity: .5; }
html.m .hphoto::after { background: linear-gradient(160deg, rgba(20, 20, 20, .3) 0%, rgba(20, 20, 20, .8) 100%); mix-blend-mode: normal; }
html.m .hphoto__edge, html.m .hphoto__tag { display: none; }
html.m .phero--photo .crumbs, html.m .phero--photo .crumbs a { color: rgba(255, 255, 255, .82); }
html.m .phero--photo h1 { color: #fff; margin-bottom: 0; }
html.m .phero--photo h1 .red, html.m .phero--photo h1 .outline { color: transparent; -webkit-text-stroke: 1.5px #fff; }
html.m .phero--photo .lead { display: none; }
html.m .bhero.phero--photo h1 { font-size: clamp(28.56px, 8.84vw, 46.24px); }
html.m .bintro { display: none; }

/* ---------- parts finder: a shop ---------- */
html.m .finder { padding: 0 0 36px; }
html.m .mbar { position: sticky; top: var(--stick); z-index: 150; display: flex; align-items: center; gap: 8px; margin: 0 calc(var(--gutter) * -1); padding: 10px var(--gutter);
  background: #fff; box-shadow: 0 1px 0 var(--line); transition: top .35s var(--ease-out); }
html.m .mbar .search { flex: 1; min-width: 0; margin: 0; }
html.m .mbar .search input { height: 46px; padding: 0 44px 0 14px; border: 2px solid var(--ink); border-radius: 0; background: #fff; font: 600 16px var(--label); letter-spacing: 0; text-transform: none; }
html.m .mbar .search input::placeholder { color: #8b8883; font-weight: 500; }
html.m .mbar .search svg { right: 13px; width: 20px; height: 20px; stroke-width: 2.4; }
html.m .mfilter { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border: 0; background: var(--ink); color: #fff; cursor: pointer;
  font: 700 12px var(--label); letter-spacing: .12em; text-transform: uppercase; }
html.m .mfilter svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
html.m .mfilter b { position: absolute; right: -6px; top: -6px; min-width: 20px; height: 20px; display: grid; place-items: center; background: var(--red); color: #fff; font: 800 12px var(--label); }
html.m .mfilter:active { transform: scale(.96); }
html.m .mbar--chips { padding-right: 0; }
html.m .mbar--chips #models { flex: 1; flex-wrap: nowrap; overflow-x: auto; margin: 0; padding: 0 var(--gutter) 0 0; scrollbar-width: none; }
html.m .mbar--chips #models::-webkit-scrollbar { display: none; }
html.m .mactive { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0 0; }
html.m .mactive[hidden] { display: none; }
html.m .mchip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border: 0; background: var(--red); color: #fff; cursor: pointer; transform: skewX(var(--slant)); font: 700 12px var(--label); letter-spacing: .1em; text-transform: uppercase; }
html.m .mchip i { font-style: normal; font-size: 16px; line-height: 1; }
html.m .results-meta { margin: 14px 0 12px; }
html.m .results-meta .label:last-child { display: none; }
html.m #resultCount { color: var(--ink); font-weight: 700; }
html.m .parts { grid-template-columns: 1fr 1fr; gap: 10px; }
html.m .part { padding: 0; min-height: 0; background: #fff; border: 1px solid var(--line); overflow: hidden; contain-intrinsic-size: auto 250px; transition: transform .15s; }
html.m .part::before { display: none; }
html.m .part::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 3px; background: var(--red); transform: skewX(var(--slant)); transform-origin: left; }
html.m .part:active { transform: scale(.985); filter: none; }
html.m .part__top { display: none; }
html.m .part__art { margin: 0; aspect-ratio: 1; background: var(--grey); clip-path: none; }
html.m .part__art img { width: 86%; height: 86%; }
html.m .part__pn { padding: 10px 12px 0; margin: 0; font-size: 12.5px; }
html.m .part__pn small { display: none; }
html.m .part h4 { padding: 3px 12px 14px; font-size: 18px; line-height: 1; }
html.m .part__fits, html.m .part__stock { display: none; }
html.m .part__foot { position: absolute; right: 8px; top: 8px; margin: 0; padding: 0; }
html.m .part__add { width: 40px; height: 40px; min-width: 0; padding: 0; font-size: 0; color: #fff; }
html.m .part__add::before { inset: 0; transform: none; border-radius: 50%; background: var(--ink); }
html.m .part__add::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; font: 500 26px/1 var(--label); }
html.m .part__add.is-added::before { background: var(--red); }
html.m .part__add.is-added::after { content: "✓"; font-size: 18px; font-weight: 700; }
html.m .parts-more { padding: 22px 0 4px; flex-direction: column; gap: 8px; overflow-anchor: none; }   /* otherwise scroll anchoring chases it down as cards are added = runaway loading */
html.m #partsGrid { overflow-anchor: none; }
html.m-feed { overflow-anchor: none; }   /* finder pages: the document must not chase the growing list */
html.m .other-brands { grid-template-columns: 1fr; gap: 10px; padding-bottom: 20px; }
html.m .obrand { min-height: 130px; padding: 24px; }

/* ---------- bottom sheets: filters, quote list, part details ---------- */
html.m .msheet { position: fixed; inset: 0; z-index: 310; visibility: hidden; pointer-events: none; transition: visibility 0s .5s; }
html.m .msheet.is-open { visibility: visible; pointer-events: auto; transition: none; }
html.m .msheet__bg { position: absolute; inset: 0; background: rgba(20, 20, 20, .5); opacity: 0; transition: opacity .4s; touch-action: none; }
html.m .msheet.is-open .msheet__bg { opacity: 1; }
html.m .msheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 86svh; display: flex; flex-direction: column; background: #fff;
  clip-path: polygon(0 16px, 100% 0, 100% 100%, 0 100%); transform: translateY(105%); transition: transform .5s var(--ease-out); overscroll-behavior: contain; }
html.m .msheet.is-open .msheet__panel { transform: none; }
html.m .msheet__grab { width: 44px; height: 5px; margin: 20px auto 0; background: var(--line); transform: skewX(var(--slant)); }
html.m .msheet__head { display: flex; align-items: center; justify-content: space-between; padding: 10px var(--gutter) 12px; }
html.m .msheet__head h3 { font: 800 27.4px/1 var(--display); text-transform: uppercase; }
html.m .msheet__close { width: 42px; height: 42px; border: 0; background: var(--ink); color: #fff; font-size: 18px; transform: skewX(var(--slant)); cursor: pointer; }
html.m .msheet__body { flex: 1; overflow-y: auto; padding: 4px var(--gutter) 18px; overscroll-behavior: contain; }
html.m .msheet__foot { padding: 12px var(--gutter) calc(14px + var(--safe-b)); border-top: 1px solid var(--line); }
html.m .msheet__foot .btn { width: 100%; justify-content: center; }
html.m .msheet .frow { display: block; padding: 0 0 22px; border: 0; }
html.m .msheet .frow > .label { display: flex; margin-bottom: 12px; }
html.m .msheet .tabs { display: flex; flex-wrap: wrap; gap: 8px; }
html.m .msheet .tab { padding: 11px 15px; border: 2px solid var(--ink); background: #fff; color: var(--ink); -webkit-text-stroke: 0; font: 700 14px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; transform: skewX(var(--slant)); }
html.m .msheet .tab small { font-size: 11px !important; opacity: .6; margin-left: 4px; }
html.m .msheet .tab.is-active { background: var(--red); border-color: var(--red); color: #fff; -webkit-text-stroke: 0; }
html.m .msheet #catChips, html.m .msheet .chips { display: flex; flex-wrap: wrap; gap: 8px; overflow: visible; margin: 0; padding: 0; }
html.m .msheet .chip { flex: none; height: 40px; padding: 0 14px; font-size: 15px; }
html.m .qv { align-items: end; padding: 0; }
html.m .qv__box { width: 100%; max-height: 90svh; grid-template-columns: 1fr; clip-path: polygon(0 16px, 100% 0, 100% 100%, 0 100%); padding-top: 16px; opacity: 1; transform: translateY(105%); }
html.m .qv.is-open .qv__box { transform: none; }
html.m .qv__img { min-height: 0; height: 34svh; padding: 18px; }
html.m .qv__img img { width: auto; height: 100%; max-width: 92%; }
html.m .qv__body { padding: 20px var(--gutter) calc(20px + var(--safe-b)); gap: 12px; }
html.m .qv__body h3 { font-size: clamp(23.12px, 7.14vw, 31.28px); }
html.m .qv__actions { flex-wrap: nowrap; }
html.m .qv__actions .btn { flex: 1; justify-content: center; padding: 0 10px; font-size: 16px; }
html.m .qv__close { top: 22px; right: 14px; }
html.m .drawer__panel { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 84svh; padding: 28px var(--gutter) calc(16px + var(--safe-b));
  clip-path: polygon(0 16px, 100% 0, 100% 100%, 0 100%); transform: translateY(105%); }
html.m .drawer.is-open .drawer__panel { transform: none; }
html.m .drawer__head h3 { font-size: 25.9px; }

/* ---------- about ---------- */
html.m .story { gap: 24px; padding-top: 44px; padding-bottom: 44px; }
html.m .story__big { font-size: clamp(27.2px, 8.5vw, 40.8px); }
html.m .thread { padding-top: 56px; }
html.m .infra { padding-top: 56px; }
html.m .infra h2 { font-size: clamp(27.2px, 8.5vw, 40.8px); }
html.m .global { display: flex; flex-direction: column; gap: 24px; padding-top: 30px; padding-bottom: 60px; }
html.m .globe { order: -1; width: 82%; max-width: 330px; margin: 0 auto; }
html.m .global h2 { font-size: clamp(27.2px, 8.5vw, 40.8px); margin-bottom: 22px; }
html.m .glist { display: flex; flex-wrap: wrap; gap: 8px; max-width: none; }
html.m .glist li { padding: 9px 14px; border: 2px solid var(--ink); color: var(--ink); font-size: 17px; transform: skewX(var(--slant)); transition: background .3s, color .3s, border-color .3s; }
html.m .glist li b { display: none; }
html.m .glist li.is-on { background: var(--red); border-color: var(--red); color: #fff; }
html.m .glist__more { margin-top: 14px; }

/* ---------- contact ---------- */
html.m .contact { display: flex; flex-direction: column; gap: 28px; padding-top: 10px; padding-bottom: 36px; }
html.m .ccards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
html.m .ccard { padding: 18px 16px; }
html.m .ccards > :nth-child(1) { order: 1; background: var(--red); color: #fff; }
html.m .ccards > :nth-child(1) small { color: rgba(255, 255, 255, .8); }
html.m .ccards > .ccard--wa { order: 2; background: var(--ink); }
html.m .ccards > :nth-child(2) { order: 3; grid-column: 1 / -1; }
html.m .ccards > :nth-child(4) { order: 4; grid-column: 1 / -1; }
html.m .ccards > :nth-child(5) { order: 5; grid-column: 1 / -1; }
html.m .ccard strong { font-size: clamp(15.12px, 4.75vw, 20.16px); overflow-wrap: anywhere; }
html.m .form { gap: 20px 16px; }
html.m .form .btn { width: 100%; justify-content: center; }
html.m .mapbox--live { height: 300px; margin-bottom: 36px; }

@media (prefers-reduced-motion: reduce) {
  html.m *, html.m *::before, html.m *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.m:not(.m-in) .mhero [data-in] { opacity: 1; transform: none; }
}
html.m .mfilter b[hidden] { display: none; }

/* iPhone Safari draws the slanted heavy italic past the end of its text box, and clips anything outside the box of an
   animated (transformed) line. Give each animated word a little room on the right and pull the layout back with a negative margin. */
html.m .line > span { padding-right: .24em; margin-right: -.24em; will-change: auto; }
html.m .bcard__name, html.m .mhero__copy h1, html.m .phero h1, html.m h2, html.m h3 { padding-right: .12em; }
html.m .bcard__name { padding-right: .24em; }

/* ---------- client revision: image hero + machine photo cards on phones ---------- */
html.m .himg { margin-top: var(--hdr-h); height: auto; min-height: calc(100svh - var(--hdr-h) - var(--tab-h)); }
html.m .himg__copy { padding: 54px 0 34px; }
html.m .himg h1 { font-size: clamp(34px, 10.54vw, 62.56px); margin: 14px 0 20px; }
html.m .himg__row { gap: 22px; }
html.m .himg__ctas { width: 100%; }
html.m .himg__ctas .btn { flex: 1 1 150px; justify-content: center; }
html.m .himg__bg img { object-position: 42% 50%; }
html.m .bcard__photo { top: 70px; height: 190px; left: 6%; right: 6%; }
html.m .bcard { height: 440px; }
html.m .tagline { padding: 64px 0; }
html.m .ftr__num { gap: 8px; }
html.m .phero--photo h1 .red, html.m .phero--photo h1 .outline { color: rgba(255, 255, 255, .6); -webkit-text-stroke: 0; }
html.m .ftr__num { flex-wrap: nowrap; gap: 8px; }
html.m .ftr__top a.ftr__tel { font-size: 14px; white-space: nowrap; }
html.m .ftr__top a.ftr__ic { width: 32px; height: 32px; flex: none; }
html.m .ftr__mega { font-size: 8.2vw; }
html.m .ftr { margin-top: 28px; }

/* ---------- phone polish (client round 3) ---------- */
/* tab bar: six equal tabs, WhatsApp is a flat tab like the others */
html.m .mtab { grid-template-columns: repeat(6, 1fr); }
html.m .mtab__chat svg { stroke: #fff; }
html.m .mtab__chat { color: #fff; }

/* hero: a wide photo band (shown sharp, not stretched over the whole screen), copy sits on ink below it */
html.m .himg { display: block; margin-top: var(--hdr-h); min-height: 0; height: auto; background: var(--ink); }
html.m .himg__bg { position: relative; inset: auto; height: clamp(230px, 34svh, 310px); }
html.m .himg__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; filter: none; }
html.m .himg__shade { inset: 0 0 auto 0; height: clamp(230px, 34svh, 310px); background: linear-gradient(180deg, rgba(10, 10, 10, 0) 45%, var(--ink) 100%); }
html.m .himg__copy { padding: 4px 0 40px; }
html.m .himg h1 { font-size: clamp(44px, 13.4vw, 78px); margin: 12px 0 18px; }

/* process photos: shorter, so they are not blown up */
html.m .pp-photo { min-height: 400px; }
html.m .pp-photo__in { padding-top: 70px; }

/* "Let's talk" and "Where we fit in": calmer on phones */
html.m .cta { padding: 52px 0 44px; margin-top: 0; }
html.m .cta h2 { font-size: clamp(26px, 7.4vw, 36px); }
html.m .cta__row { margin-top: 18px; gap: 18px; }
html.m .cta__row p { font-size: 15px; line-height: 1.5; }
html.m .cta__row .btn, html.m .cta__row .btn--lg { height: 50px; font-size: 15px; }
html.m .pp-jk { padding: 52px 0 48px; margin-top: 32px; }
html.m .pp-jk h2 { font-size: clamp(26px, 7.2vw, 34px); margin-top: 12px; }
html.m .pp-jk__txt p { font-size: 15px; margin-bottom: 10px; }
html.m .pp-chain { margin: 18px 0 24px; }
html.m .pp-chain li { padding: 10px 11px; font-size: 10.5px; letter-spacing: .12em; }
html.m .pp-btn { height: 50px; font-size: 15px; }

/* clear space between the last dark band and the footer */
html.m .ftr { margin-top: 56px; }
html.m .display .red, html.m .display .ink { font-size: 1.1em; }
html.m .phero--photo h1 .red { color: rgba(255, 255, 255, .85); }
html.m .display .red, html.m .display .ink { font-size: 1em; }
html.m .mexplore { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 2px 0 12px; height: 42px; padding: 0 14px; border: 1.5px solid var(--ink); background: var(--grey); color: var(--ink); cursor: pointer; font: 700 12.5px var(--label); letter-spacing: .08em; text-transform: uppercase; }
html.m .mexplore svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
