/* Home page slideshows (see home-slideshows.js).
   A row marked data-lw-slides shows a few items and slides sideways for the rest. */
html[data-prototype-page="/"] [data-lw-slides]{
  --lw-slide-gap:18px;--lw-slides-per-view:3;
  display:flex!important;grid-template-columns:none!important;align-items:stretch;gap:var(--lw-slide-gap)!important;
  overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;
  scrollbar-width:none;-webkit-overflow-scrolling:touch;
  /* room for the cards' shadows, which the sliding row would otherwise cut off */
  padding:8px 4px 34px!important;margin:-8px -4px -14px!important;border:0!important;
}
html[data-prototype-page="/"] [data-lw-slides]::-webkit-scrollbar{display:none}
html[data-prototype-page="/"] [data-lw-slides]:focus-visible{outline:3px solid #a47a31;outline-offset:5px}
html[data-prototype-page="/"] [data-lw-slides]>*{
  flex:0 0 calc((100% - (var(--lw-slides-per-view) - 1) * var(--lw-slide-gap)) / var(--lw-slides-per-view))!important;
  min-width:0;margin:0!important;scroll-snap-align:start;
}
/* arrows and counter, matching the client reviews */
html[data-prototype-page="/"] .lw-slide-controls{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin:18px 0 0}
html[data-prototype-page="/"] .lw-slide-controls[hidden]{display:none}
html[data-prototype-page="/"] .lw-slide-status{margin:0 auto 0 0!important;color:#625b4e;font:500 12px/1 Arial,sans-serif;letter-spacing:.14em}
html[data-prototype-page="/"] .lw-slide-controls button{
  display:grid;place-items:center;width:56px;height:56px;padding:0;border:1px solid #cfd1cf;border-radius:50%;
  background:#f7f7f5;color:#666864;font:400 25px/1 Arial,sans-serif;cursor:pointer;
  transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease;
}
html[data-prototype-page="/"] .lw-slide-controls button:last-child{border-color:#eca936;background:#fff2d9;color:#292a26}
html[data-prototype-page="/"] .lw-slide-controls button:hover{transform:translateY(-2px)}
html[data-prototype-page="/"] .lw-slide-controls button:focus-visible{outline:3px solid #a47a31;outline-offset:5px}

/* Two-tone section headings, matching "One company. Two bases.":
   "Clients we have / worked with." and "Bring your vision. / Let's make it tangible."
   Both follow the home page's shared heading size, so they are the same size
   as the other section headings on a phone and on a computer. */
html[data-prototype-page="/"] :is(#client-work .lwx-client-work-head h2,.lw-home-enquiry .lw-enquiry-copy h2){color:#1b1c18;font-weight:500;line-height:.98;letter-spacing:-.052em}
html[data-prototype-page="/"] #client-work .lwx-client-work-head h2{font-size:var(--lwx-home-section-heading-size)!important}
html[data-prototype-page="/"] :is(#client-work .lwx-client-work-head h2,.lw-home-enquiry .lw-enquiry-copy h2) em{color:#9b7740;font-family:Georgia,serif;font-weight:400;font-style:italic}
/* On a phone the second line of "Bring your vision" is long; a slightly smaller
   size keeps it on one line instead of three cramped ones. */
@media (max-width:700px){
  html[data-prototype-page="/"] #contact.lw-home-enquiry .lw-enquiry-copy h2{font-size:clamp(32px,9.6vw,42px)!important;line-height:1.04}
}

/* "How we protect your order": all five points already fit in one row on a wide screen */
@media (min-width:1024px){
  html[data-prototype-page="/"] .lw-protection-grid[data-lw-slides]{--lw-slides-per-view:5;--lw-slide-gap:14px}
}
@media (max-width:1023px){
  html[data-prototype-page="/"] [data-lw-slides]{--lw-slides-per-view:2}
}
@media (max-width:639px){
  html[data-prototype-page="/"] [data-lw-slides]{--lw-slide-gap:12px}
  html[data-prototype-page="/"] [data-lw-slides]>*{flex-basis:86%!important}
  html[data-prototype-page="/"] .lw-slide-controls{gap:8px;margin-top:10px}
  html[data-prototype-page="/"] .lw-slide-controls button{width:40px;height:40px;font-size:18px}
}
/* "Different starting points": the three cards stay side by side on wider screens and
   become a swipe row on phones (marked data-lw-slides-phone). */
@media (max-width:767px){
  html[data-prototype-page="/"] [data-lw-slides-phone]{
    display:flex!important;grid-template-columns:none!important;align-items:stretch;gap:12px!important;
    overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;
    scrollbar-width:none;-webkit-overflow-scrolling:touch;
  }
  html[data-prototype-page="/"] [data-lw-slides-phone]::-webkit-scrollbar{display:none}
  html[data-prototype-page="/"] [data-lw-slides-phone]>*{flex:0 0 86%!important;min-width:0;margin:0!important;scroll-snap-align:start}
}
@media (max-width:767px) and (prefers-reduced-motion:reduce){
  html[data-prototype-page="/"] [data-lw-slides-phone]{scroll-behavior:auto}
}
@media (prefers-reduced-motion:reduce){
  html[data-prototype-page="/"] [data-lw-slides]{scroll-behavior:auto}
  html[data-prototype-page="/"] .lw-slide-controls button{transition:none}
}
