/* 1.8.77 — Hero title is now a styled <p>; the page H1 lives in .hb-intro.
   These rules mirror the global h1 rules in elevate.css so the hero looks identical. */
body.lwm-home .hero .hero-title{
  margin:0;font:600 clamp(48px,7.4vw,128px)/0.96 'General Sans',sans-serif;letter-spacing:-.048em;
  max-width:16ch;color:var(--cream);
}
body.lwm-home .hero .hero-title .line{display:block;overflow:hidden;padding-bottom:.07em}
body.lwm-home .hero .hero-title .line span{display:block;animation:rise 1s cubic-bezier(.2,.7,.2,1) both}
body.lwm-home .hero .hero-title .l1{animation-delay:.15s}
body.lwm-home .hero .hero-title .l2{animation-delay:.32s}
body.lwm-home .hero .hero-title .accent{color:var(--red)}
@media (max-width:760px){
  body.lwm-home .hero .hero-title{font-size:clamp(36px,11.5vw,56px);max-width:9ch}
}

/* Intro + services: first section below the hero. */
body.lwm-home .hb-intro{
  background:var(--lwm-white);color:var(--lwm-ink);
  padding:clamp(96px,12vw,184px) 48px clamp(104px,13vw,192px);
}
body.lwm-home .hb-intro .hb-mark{
  margin:0 0 var(--space-6);color:var(--lwm-muted);font-size:var(--t-kicker);font-weight:600;
  letter-spacing:.18em;text-transform:uppercase;
}
body.lwm-home .hb-intro .hb-mark span{color:var(--lwm-red);margin-right:.45em}
body.lwm-home .hb-intro em{color:var(--lwm-muted);font-style:normal}
body.lwm-home .hb-intro .hb-accent{color:var(--lwm-red)}

/* 1.9.0 Intro title is an H2 (the page H1 is in the hero stat line); same look as the former H1. */
body.lwm-home .hb-intro h2.hb-intro__title{
  max-width:none;margin:0;color:var(--lwm-ink);
  font:600 clamp(46px,8.2vw,120px)/.86 'General Sans',sans-serif;letter-spacing:-.07em;
}
body.lwm-home .hb-intro__title-line{display:block}
body.lwm-home .hb-intro__sub{
  margin:.14em 0 0;color:var(--lwm-muted);
  font:600 clamp(26px,3.2vw,46px)/1 'General Sans',sans-serif;letter-spacing:-.05em;
}
@media (min-width:761px){
  body.lwm-home .hb-intro__title-line{white-space:nowrap}
}

/* Body: image left, copy right. */
body.lwm-home .hb-intro__body{
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  gap:clamp(40px,7vw,120px);align-items:start;margin-top:clamp(64px,8vw,120px);
}
body.lwm-home .hb-intro__media{position:relative;margin:0 0 56px;clip-path:none !important;overflow:visible}
body.lwm-home .hb-intro__media img{
  display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:60% center;
  border-radius:var(--radius-media);background:var(--lwm-tile);
}
body.lwm-home .hb-intro__rating{
  position:absolute;right:clamp(-12px,-1vw,0px);bottom:-56px;display:flex;flex-direction:column;justify-content:flex-end;
  width:clamp(170px,16vw,224px);aspect-ratio:1;padding:24px;border-radius:24px;
  background:var(--lwm-red);color:var(--lwm-white);text-decoration:none;
  transition:transform .4s cubic-bezier(.16,1,.3,1),background .3s ease;
}
body.lwm-home .hb-intro__rating:hover{transform:translateY(-4px);background:var(--lwm-ink)}
body.lwm-home .hb-intro__rating b{font-size:clamp(52px,5vw,72px);font-weight:600;line-height:.85;letter-spacing:-.06em}
body.lwm-home .hb-intro__stars{margin:12px 0 6px;font-size:14px;letter-spacing:.18em}
body.lwm-home .hb-intro__rating small{font-size:var(--t-meta);font-weight:600;letter-spacing:.14em;text-transform:uppercase}

body.lwm-home .hb-intro__copy{max-width:600px;padding-top:4px}
body.lwm-home .hb-intro__lead{
  margin:0 0 32px;font-family:'General Sans',sans-serif;color:var(--lwm-ink);font-size:clamp(24px,2.3vw,32px);font-weight:600;line-height:1.12;letter-spacing:-.03em;
}
body.lwm-home .hb-intro__copy > p:not(.hb-intro__lead){margin:0 0 18px;color:#4b5058;font-size:17px;line-height:1.65}
body.lwm-home .hb-intro__facts{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:40px 0 28px;padding:0;
}
body.lwm-home .hb-intro__facts div{padding-top:16px;border-top:1px solid var(--lwm-line)}
body.lwm-home .hb-intro__facts dt{margin:0 0 6px;color:var(--lwm-ink);font-size:22px;font-weight:600;letter-spacing:-.03em}
body.lwm-home .hb-intro__facts dd{margin:0;color:var(--lwm-muted);font-size:14px;line-height:1.4}
body.lwm-home .hb-intro__more{font-size:var(--t-meta);font-weight:600}
body.lwm-home .hb-intro__more b{color:var(--lwm-red);transition:transform .4s cubic-bezier(.16,1,.3,1)}
body.lwm-home .hb-intro__more:hover b{transform:translate(4px,-4px)}

/* Services grid. */
body.lwm-home .hb-intro__svc{margin-top:clamp(112px,13vw,200px)}
body.lwm-home .hb-intro__svc-head{margin-bottom:clamp(48px,6vw,84px)}
body.lwm-home .hb-intro__svc h2{
  max-width:none;margin:0;color:var(--lwm-ink);font-size:var(--t-h2);font-weight:600;line-height:.88;letter-spacing:-.065em;
}
body.lwm-home .hb-intro__grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none;
}
body.lwm-home .hb-intro__grid li{margin:0;padding:0}
body.lwm-home .hb-svc{
  display:flex;flex-direction:column;height:100%;min-height:clamp(260px,22vw,320px);padding:26px 24px 28px;
  border-radius:var(--radius-media);background:var(--lwm-paper);color:var(--lwm-ink);text-decoration:none;
  transition:background .35s ease,color .35s ease,transform .35s cubic-bezier(.16,1,.3,1);
}
body.lwm-home .hb-intro__grid li:nth-child(even) .hb-svc{background:var(--lwm-tile)}
body.lwm-home .hb-intro__grid li:nth-child(n+5):nth-child(odd) .hb-svc{background:var(--lwm-tile)}
body.lwm-home .hb-intro__grid li:nth-child(n+5):nth-child(even) .hb-svc{background:var(--lwm-paper)}
body.lwm-home .hb-intro__h2-line{display:block}
@media (min-width:761px){body.lwm-home .hb-intro__h2-line{white-space:nowrap}}
body.lwm-home .hb-intro__grid li:nth-child(n):nth-child(n) .hb-svc:hover{background:var(--lwm-ink);color:var(--lwm-paper);transform:translateY(-2px)}
body.lwm-home .hb-svc__top{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.lwm-home .hb-svc__cat{color:var(--lwm-muted);font-size:var(--t-kicker);font-weight:600;letter-spacing:.18em;text-transform:uppercase}
body.lwm-home .hb-svc:hover .hb-svc__cat{color:rgba(245,245,243,.6)}
body.lwm-home .hb-svc__arrow{
  display:inline-flex;width:32px;height:32px;flex:0 0 32px;align-items:center;justify-content:center;border-radius:50%;
  background:var(--lwm-ink);color:var(--lwm-paper);transition:background .35s ease,transform .4s cubic-bezier(.16,1,.3,1);
}
body.lwm-home .hb-svc:hover .hb-svc__arrow{background:var(--lwm-red);transform:rotate(45deg)}
body.lwm-home .hb-svc__name{margin:auto 0 0;padding-top:40px;font-size:clamp(24px,2.1vw,30px);font-weight:600;line-height:1;letter-spacing:-.045em}
body.lwm-home .hb-svc__line{margin-top:14px;color:var(--lwm-muted);font-size:15px;line-height:1.45}
body.lwm-home .hb-svc:hover .hb-svc__line{color:rgba(245,245,243,.72)}
body.lwm-home .hb-svc:focus-visible{outline:2px solid var(--lwm-red);outline-offset:4px}

@media (max-width:1100px){
  body.lwm-home .hb-intro__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.lwm-home .hb-intro__grid li:nth-child(n) .hb-svc{background:var(--lwm-paper)}
  body.lwm-home .hb-intro__grid li:nth-child(4n+2) .hb-svc,
  body.lwm-home .hb-intro__grid li:nth-child(4n+3) .hb-svc{background:var(--lwm-tile)}
}
@media (max-width:900px){
  body.lwm-home .hb-intro{padding-left:20px;padding-right:20px}
  body.lwm-home .hb-intro__body{grid-template-columns:1fr}
  body.lwm-home .hb-intro__media{margin-right:24px}
  body.lwm-home .hb-intro__rating{right:-24px}
}
@media (max-width:520px){
  body.lwm-home .hb-intro__facts{grid-template-columns:1fr;gap:14px}
  body.lwm-home .hb-intro__grid{grid-template-columns:1fr;gap:10px}
  body.lwm-home .hb-intro__grid li:nth-child(n) .hb-svc{background:var(--lwm-paper)}
  body.lwm-home .hb-intro__grid li:nth-child(even) .hb-svc{background:var(--lwm-tile)}
  body.lwm-home .hb-svc{min-height:220px;padding:22px 20px}
  body.lwm-home .hb-intro__rating{width:150px;padding:18px;bottom:-40px}
  body.lwm-home .hb-intro__media{margin-bottom:40px}
}
@media (prefers-reduced-motion:reduce){
  body.lwm-home .hero .hero-title .line span{animation:none}
  body.lwm-home .hb-svc,body.lwm-home .hb-svc__arrow,body.lwm-home .hb-intro__rating{transition:none}
}

/* 1.8.79 Proof bar: track record stats + rotating client reviews over a photo, directly after What We Do. */
body.lwm-home .hb-cred--proof .hb-cred__inner{align-items:center}
body.lwm-home .hb-cred--proof h2{max-width:none}
@media (min-width:640px){body.lwm-home .hb-cred--proof h2 em{white-space:nowrap}}
body.lwm-home .hb-cred--proof .hb-cred__stat span{max-width:none}
@media (min-width:901px){
  body.lwm-home .hb-cred--proof .hb-cred__inner{grid-template-columns:1.5fr 1fr}
  body.lwm-home .hb-cred--proof .hb-cred__stat span{white-space:nowrap}
}
body.lwm-home .hb-quotes--inline{margin-top:clamp(36px,4vw,56px);max-width:820px}
body.lwm-home .hb-quotes--inline .hb-quotes__board{display:grid;min-height:0}
body.lwm-home .hb-quotes--inline .hb-quotes__board blockquote{grid-area:1 / 1;position:relative;inset:auto}
body.lwm-home .hb-quotes--inline .hb-quotes__board p{
  max-width:none;font-family:'General Sans',system-ui,sans-serif !important;font-size:clamp(17px,1.35vw,19px) !important;
  font-weight:500 !important;line-height:1.45 !important;letter-spacing:-.01em;color:var(--lwm-ink);
}
body.lwm-home .hb-quotes--inline cite{
  display:block;margin-top:14px;color:var(--lwm-muted);font-size:var(--t-meta);font-style:normal;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;
}

/* Photo background (Orbit thumbs-up) with an ink overlay; text flips to light. */
body.lwm-home .hb-cred--photo{position:relative;isolation:isolate;background:var(--lwm-ink) !important;color:var(--lwm-paper)}
body.lwm-home .hb-cred--photo::before{content:"";position:absolute;inset:0;z-index:-2;background:url("orbit/06-thumbs.jpg") center/cover no-repeat}
body.lwm-home .hb-cred--photo::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(15,16,18,.9) 0%,rgba(15,16,18,.62) 48%,rgba(15,16,18,.84) 100%)}
body.lwm-home .hb-cred--photo h2,
body.lwm-home .hb-cred--photo .hb-cred__stat strong,
body.lwm-home .hb-cred--photo .hb-quotes__board p{color:var(--lwm-paper) !important}
body.lwm-home .hb-cred--photo .hb-eye,
body.lwm-home .hb-cred--photo .hb-cred__stat span,
body.lwm-home .hb-cred--photo cite{color:rgba(245,245,243,.62) !important}
body.lwm-home .hb-cred--photo .hb-cred__stat{border-color:rgba(245,245,243,.18) !important}
@media (max-width:639px){body.lwm-home .hb-cred--photo::after{background:rgba(15,16,18,.8)}}

/* 1.8.80 Review card: glass card with stars + linked "Google review" label, name below. */
body.lwm-home .hb-quotes--inline .hb-quotes__board blockquote{
  padding:28px 32px 26px;border-radius:24px;background:rgba(245,245,243,.07);
  border:1px solid rgba(245,245,243,.14);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
}
body.lwm-home .hb-quotes__meta{display:flex;align-items:center;gap:12px;margin:0 0 14px;font-size:var(--t-meta);font-weight:600;letter-spacing:.16em;text-transform:uppercase}
body.lwm-home .hb-quotes__stars{color:var(--lwm-red);font-size:15px;letter-spacing:.12em}
body.lwm-home .hb-quotes__meta a{color:rgba(245,245,243,.8);text-decoration:none;border-bottom:1px solid rgba(245,245,243,.3);transition:color .3s ease,border-color .3s ease}
body.lwm-home .hb-quotes__meta a:hover{color:var(--lwm-paper);border-color:var(--lwm-red)}
body.lwm-home .hb-quotes__meta a b{font-weight:600}
body.lwm-home .hb-quotes--inline cite{margin-top:16px}
@media (max-width:520px){body.lwm-home .hb-quotes--inline .hb-quotes__board blockquote{padding:22px 20px}}

/* 1.8.81 Industries we serve: four image cards, directly after the proof bar. */
body.lwm-home .hb-ind{background:var(--lwm-white);color:var(--lwm-ink);padding:clamp(104px,13vw,192px) 48px clamp(112px,13vw,192px)}
body.lwm-home .hb-ind .hb-mark{margin:0 0 var(--space-6);color:var(--lwm-muted);font-size:var(--t-kicker);font-weight:600;letter-spacing:.18em;text-transform:uppercase}
body.lwm-home .hb-ind .hb-mark span{color:var(--lwm-red);margin-right:.45em}
body.lwm-home .hb-ind__head{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:clamp(32px,6vw,96px);align-items:end;margin-bottom:clamp(56px,7vw,96px)}
body.lwm-home .hb-ind h2{margin:0;color:var(--lwm-ink);font-size:var(--t-h2);font-weight:600;line-height:.9;letter-spacing:-.065em}
body.lwm-home .hb-ind h2 em{color:var(--lwm-muted);font-style:normal}
body.lwm-home .hb-ind h2 .hb-accent{color:var(--lwm-red)}
body.lwm-home .hb-ind__line{display:block}
@media (min-width:761px){body.lwm-home .hb-ind__line{white-space:nowrap}}
body.lwm-home .hb-ind__lead{max-width:44ch;margin:0;color:#4b5058;font-size:17px;line-height:1.6}
body.lwm-home .hb-ind__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,1.6vw,24px);margin:0;padding:0;list-style:none}
body.lwm-home .hb-ind__grid li{margin:0;padding:0}
body.lwm-home .hb-ind__card{display:flex;flex-direction:column;height:100%;color:var(--lwm-ink);text-decoration:none}
body.lwm-home .hb-ind__media{position:relative;margin:0;aspect-ratio:5/4;overflow:hidden;border-radius:var(--radius-media);background:var(--lwm-tile)}
body.lwm-home .hb-ind__media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.16,1,.3,1)}
body.lwm-home .hb-ind__card:hover .hb-ind__media img{transform:scale(1.04)}
body.lwm-home .hb-ind__media.is-placeholder{display:flex;align-items:center;justify-content:center;background:linear-gradient(160deg,var(--lwm-tile),#d9d9d6)}
body.lwm-home .hb-ind__ph{padding:20px;color:var(--lwm-muted);font-size:var(--t-meta);font-weight:600;letter-spacing:.14em;line-height:1.6;text-align:center;text-transform:uppercase}
body.lwm-home .hb-ind__top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px}
body.lwm-home .hb-ind__name{margin:0;font-size:clamp(22px,1.9vw,28px);font-weight:600;line-height:1.05;letter-spacing:-.04em}
body.lwm-home .hb-ind__arrow{display:inline-flex;width:32px;height:32px;flex:0 0 32px;align-items:center;justify-content:center;border-radius:50%;background:var(--lwm-ink);color:var(--lwm-paper);transition:background .35s ease,transform .4s cubic-bezier(.16,1,.3,1)}
body.lwm-home .hb-ind__card:hover .hb-ind__arrow{background:var(--lwm-red);transform:rotate(45deg)}
body.lwm-home .hb-ind__card:hover .hb-ind__name{color:var(--lwm-red)}
body.lwm-home .hb-ind__line-copy{margin-top:12px;color:var(--lwm-muted);font-size:15px;line-height:1.5}
body.lwm-home .hb-ind__line-copy .hb-accent{color:var(--lwm-red);font-weight:600}
body.lwm-home .hb-ind__card:focus-visible{outline:2px solid var(--lwm-red);outline-offset:6px;border-radius:var(--radius-media)}
@media (max-width:1100px){body.lwm-home .hb-ind__grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:48px}}
@media (max-width:900px){
  body.lwm-home .hb-ind{padding-left:20px;padding-right:20px}
  body.lwm-home .hb-ind__head{grid-template-columns:1fr;align-items:start}
}
@media (max-width:520px){body.lwm-home .hb-ind__grid{grid-template-columns:1fr;row-gap:40px}}
@media (prefers-reduced-motion:reduce){body.lwm-home .hb-ind__media img,body.lwm-home .hb-ind__arrow{transition:none}}

/* 1.8.89 Review slider controls: dots on the left, arrows on the right. */
body.lwm-home .hb-quotes__nav{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin-top:18px}
body.lwm-home .hb-quotes__arrows{display:flex;gap:8px}
body.lwm-home .hb-quotes__arrows button{display:inline-flex;width:40px;height:40px;align-items:center;justify-content:center;padding:0;border:1px solid rgba(245,245,243,.28);border-radius:50%;background:transparent;color:var(--lwm-paper);cursor:pointer;transition:background .3s ease,border-color .3s ease}
body.lwm-home .hb-quotes__arrows button:hover{background:var(--lwm-red);border-color:var(--lwm-red)}
body.lwm-home .hb-quotes__arrows button:focus-visible{outline:2px solid var(--lwm-red);outline-offset:3px}
/* (1.9.7: removed a stray unclosed @media line left by the 1.9.5 dots removal) */
/* 1.8.99 Hero: wider sub copy, and the page H1 sits in the stat line styled like the stats. */
body.lwm-home .hero .sub-row{max-width:1180px}
body.lwm-home .hero .sub{max-width:54ch}
body.lwm-home .hero .stat-line{max-width:1180px;align-items:baseline}
body.lwm-home .hero .stat-line h1.stat-h1{margin:0;max-width:none;font:400 12px/1 'JetBrains Mono',monospace;letter-spacing:.1em;color:rgba(252,251,248,.55);animation:none}
body.lwm-home .hero .stat-line h1.stat-h1 b{color:var(--cream);font-weight:600;font-family:'General Sans',sans-serif;letter-spacing:-.02em;font-size:14px}
@media (max-width:760px){
  body.lwm-home .hero .stat-line h1.stat-h1{font-size:12px;max-width:none;flex-basis:100%}
}

/* 1.9.1 Services: nine cards in three columns (alternating tones), with the Automation card inverted to ink. */
body.lwm-home .hb-intro__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body.lwm-home .hb-intro__grid li:nth-child(n):nth-child(n) .hb-svc{background:var(--lwm-paper)}
body.lwm-home .hb-intro__grid li:nth-child(even):nth-child(n) .hb-svc{background:var(--lwm-tile)}
body.lwm-home .hb-svc{min-height:clamp(240px,19vw,280px)}
body.lwm-home .hb-intro__grid li.is-feature:nth-child(n):nth-child(n) .hb-svc{background:var(--lwm-ink);color:var(--lwm-paper)}
body.lwm-home .hb-intro__grid li.is-feature:nth-child(n):nth-child(n) .hb-svc__cat{color:var(--lwm-red)}
body.lwm-home .hb-intro__grid li.is-feature:nth-child(n):nth-child(n) .hb-svc__line{color:rgba(245,245,243,.72)}
body.lwm-home .hb-intro__grid li.is-feature:nth-child(n):nth-child(n) .hb-svc__arrow{background:var(--lwm-red);color:#fff}
body.lwm-home .hb-intro__grid li.is-feature:nth-child(n):nth-child(n) .hb-svc:hover{background:var(--lwm-red)}
body.lwm-home .hb-intro__grid li.is-feature:nth-child(n):nth-child(n) .hb-svc:hover .hb-svc__cat,body.lwm-home .hb-intro__grid li.is-feature:nth-child(n):nth-child(n) .hb-svc:hover .hb-svc__line{color:rgba(255,255,255,.85)}
body.lwm-home .hb-intro__grid li.is-feature:nth-child(n):nth-child(n) .hb-svc:hover .hb-svc__arrow{background:#fff;color:var(--lwm-red)}
@media (max-width:1100px){
  body.lwm-home .hb-intro__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.lwm-home .hb-intro__grid li:nth-child(n):nth-child(n) .hb-svc{background:var(--lwm-paper)}
  body.lwm-home .hb-intro__grid li:nth-child(4n+2):nth-child(n) .hb-svc,body.lwm-home .hb-intro__grid li:nth-child(4n+3):nth-child(n) .hb-svc{background:var(--lwm-tile)}
  body.lwm-home .hb-intro__grid li.is-feature{grid-column:1 / -1}
  body.lwm-home .hb-intro__grid li.is-feature:nth-child(n):nth-child(n) .hb-svc{background:var(--lwm-ink)}
}
@media (max-width:520px){
  body.lwm-home .hb-intro__grid{grid-template-columns:1fr}
  body.lwm-home .hb-intro__grid li:nth-child(n):nth-child(n) .hb-svc{background:var(--lwm-paper)}
  body.lwm-home .hb-intro__grid li:nth-child(even):nth-child(n) .hb-svc{background:var(--lwm-tile)}
  body.lwm-home .hb-intro__grid li.is-feature:nth-child(n):nth-child(n) .hb-svc{background:var(--lwm-ink)}
}

/* 1.9.53 Keep clear space between the nav and the hero headline on shorter screens
   (the hero is bottom-aligned, so the title rises under the nav when the window is short). */
body.lwm-home .hero{padding-top:calc(80px + clamp(48px,8vh,96px))}
@media (max-width:760px){ body.lwm-home .hero{padding-top:calc(72px + 40px)} }
