/* 1.8.92 Closing sections: FAQ, Start a project (CTA), Platforms logo bar.
   1.9.8: the Start a project rules also apply on service pages (body.lwm-svc), so the block is shared.
   1.9.77: and on the Recent Works pages (body.lwm-rw). A new page that uses inc/home-start needs its body class added here. */

/* Shared eyebrow */
body.lwm-home .hb-faq .hb-mark,
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start .hb-mark,
body.lwm-home .hb-logos .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-faq .hb-mark span,
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start .hb-mark span,
body.lwm-home .hb-logos .hb-mark span{color:var(--lwm-red);margin-right:.45em}

/* ---------- FAQ ---------- */
body.lwm-home .hb-faq{background:var(--lwm-paper);color:var(--lwm-ink);padding:clamp(96px,11vw,160px) 48px}
/* Option A: photo panel (Orbit at mission control) carries the heading; questions on the right. */
body.lwm-home .hb-faq__inner{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(32px,5vw,80px);align-items:stretch}
body.lwm-home .hb-faq__panel{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;min-height:clamp(520px,44vw,620px);padding:clamp(24px,3vw,36px);border-radius:var(--radius-media);overflow:hidden;background:#0d1a1c;color:var(--lwm-paper)}
body.lwm-home .hb-faq__img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:50% 20%}
body.lwm-home .hb-faq__panel::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(15,16,18,0) 30%,rgba(15,16,18,.9) 100%)}
body.lwm-home .hb-faq__panel .hb-mark{color:rgba(245,245,243,.7)}
body.lwm-home .hb-faq h2{max-width:12ch;margin:0;color:var(--lwm-paper);font-size:clamp(36px,4.4vw,58px);font-weight:600;line-height:.92;letter-spacing:-.06em}
body.lwm-home .hb-faq h2 .hb-accent{color:var(--lwm-red)}
body.lwm-home .hb-faq__still{margin:18px 0 0;color:rgba(245,245,243,.85);font-size:17px;font-weight:500}
body.lwm-home .hb-faq__btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
body.lwm-home .hb-faq__btn{padding:12px 18px;border-radius:999px;background:var(--lwm-white);color:var(--lwm-ink);font-size:14px;font-weight:600;text-decoration:none;transition:background .25s ease,color .25s ease}
body.lwm-home .hb-faq__btn:hover{background:var(--lwm-red);color:#fff}
body.lwm-home .hb-faq__btn--ghost{background:transparent;color:var(--lwm-paper);border:1px solid rgba(245,245,243,.45)}
body.lwm-home .hb-faq__btn--ghost:hover{background:var(--lwm-paper);color:var(--lwm-ink);border-color:var(--lwm-paper)}
body.lwm-home .hb-faq__btn:focus-visible{outline:2px solid var(--lwm-red);outline-offset:3px}

body.lwm-home .hb-faq__list{align-self:center;border-top:1px solid var(--lwm-line)}
body.lwm-home .hb-faq__item{border-bottom:1px solid var(--lwm-line)}
body.lwm-home .hb-faq__item summary{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 0;cursor:pointer;list-style:none}
body.lwm-home .hb-faq__item summary::-webkit-details-marker{display:none}
body.lwm-home .hb-faq__item summary:focus-visible{outline:2px solid var(--lwm-red);outline-offset:4px;border-radius:6px}
body.lwm-home .hb-faq__q{margin:0;color:var(--lwm-ink);font-size:clamp(20px,1.9vw,26px);font-weight:600;line-height:1.2;letter-spacing:-.03em}
body.lwm-home .hb-faq__item summary:hover .hb-faq__q{color:var(--lwm-red)}
body.lwm-home .hb-faq__icon{position:relative;width:36px;height:36px;flex:0 0 36px;border-radius:50%;background:var(--lwm-ink);transition:background .3s ease,transform .4s cubic-bezier(.16,1,.3,1)}
body.lwm-home .hb-faq__icon::before,body.lwm-home .hb-faq__icon::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:1.6px;margin:-.8px 0 0 -6px;border-radius:2px;background:var(--lwm-paper)}
body.lwm-home .hb-faq__icon::after{transform:rotate(90deg);transition:transform .3s ease}
body.lwm-home .hb-faq__item.is-open .hb-faq__icon{background:var(--lwm-red)}
body.lwm-home .hb-faq__item.is-open .hb-faq__icon::after{transform:rotate(0deg)}
body.lwm-home .hb-faq__a{overflow:hidden;padding:0 60px 0 0;transition:height .5s cubic-bezier(.16,1,.3,1)}
body.lwm-home .hb-faq__a-in{padding-bottom:28px}
body.lwm-home .hb-faq__a p{max-width:60ch;margin:0 0 14px;color:#4b5058;font-size:17px;line-height:1.65}
body.lwm-home .hb-faq__more{color:var(--lwm-ink);font-size:var(--t-meta);font-weight:600;letter-spacing:.14em;text-decoration:none;text-transform:uppercase}
body.lwm-home .hb-faq__more b{display:inline-block;color:var(--lwm-red);transition:transform .4s cubic-bezier(.16,1,.3,1)}
body.lwm-home .hb-faq__more:hover b{transform:translate(4px,-4px)}
body.lwm-home .hb-faq__more:focus-visible{outline:2px solid var(--lwm-red);outline-offset:4px}

/* ---------- Start a project (CTA) ---------- */
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start{position:relative;isolation:isolate;overflow:hidden;background:var(--lwm-ink);color:var(--lwm-paper);padding:clamp(80px,8vw,120px) 48px}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__bg{position:absolute;inset:0;z-index:-1;pointer-events:none}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__bg img{position:absolute;top:40px;left:50%;width:min(1240px,88%);height:auto;max-width:none;transform:translateX(-57%);-webkit-mask-image:radial-gradient(ellipse closest-side at 52% 45%,#000 50%,transparent 100%);mask-image:radial-gradient(ellipse closest-side at 52% 45%,#000 50%,transparent 100%)}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,16,18,.92) 0%,rgba(15,16,18,.7) 26%,rgba(15,16,18,.1) 40%,rgba(15,16,18,.1) 54%,rgba(15,16,18,.6) 64%,rgba(15,16,18,.85) 100%)}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start .hb-mark{color:rgba(245,245,243,.62)}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__inner{display:grid;grid-template-columns:minmax(0,440px) minmax(0,480px);justify-content:space-between;gap:48px;align-items:center}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start h2{max-width:11ch;margin:0;color:var(--lwm-paper);font-size:var(--t-h2);font-weight:600;line-height:.9;letter-spacing:-.065em}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start h2 .hb-accent{color:var(--lwm-red)}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__lead{max-width:36ch;margin:24px 0 0;color:rgba(245,245,243,.75);font-size:17px;line-height:1.6}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__contact{display:flex;flex-wrap:wrap;gap:12px;margin:32px 0 0;padding:0;list-style:none}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__contact a{display:block;padding:12px 18px;border:1px solid rgba(245,245,243,.18);border-radius:16px;background:rgba(15,16,18,.45);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:var(--lwm-paper);font-size:17px;font-weight:600;letter-spacing:-.01em;text-decoration:none;transition:border-color .25s ease,background .25s ease}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__contact a:hover{border-color:var(--lwm-red);background:rgba(228,30,38,.14)}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__contact span{display:block;margin-bottom:4px;color:rgba(245,245,243,.55);font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}

body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__card{padding:clamp(22px,2.2vw,30px);border:1px solid rgba(245,245,243,.12);border-radius:var(--radius-media);background:linear-gradient(160deg,rgba(15,16,18,.78),rgba(15,16,18,.9));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:var(--lwm-paper);box-shadow:0 30px 70px rgba(0,0,0,.45)}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__form{display:grid;gap:14px}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-field{display:grid;gap:6px;min-width:0;margin:0}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-field > span,body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__services legend{color:rgba(245,245,243,.72);font-size:var(--t-meta);font-weight:600;letter-spacing:.12em;text-transform:uppercase}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-field i{color:var(--lwm-red);font-style:normal}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-field em{color:rgba(245,245,243,.45);font-style:normal;letter-spacing:.04em;text-transform:none}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-field input,body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-field textarea{box-sizing:border-box;width:100%;padding:10px 12px;border:1px solid rgba(245,245,243,.16);border-radius:10px;background:rgba(245,245,243,.06);color:var(--lwm-paper);font:inherit;font-size:16px;line-height:1.4;transition:border-color .2s ease,background .2s ease}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-field input::placeholder,body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-field textarea::placeholder{color:rgba(245,245,243,.38)}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-field textarea{resize:vertical;min-height:84px}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-field input:focus,body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-field textarea:focus{outline:none;border-color:rgba(245,245,243,.6);background:rgba(245,245,243,.1);box-shadow:0 0 0 3px rgba(228,30,38,.28)}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__services{margin:0;padding:0;border:0}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__services legend{margin-bottom:8px;padding:0}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-chips{display:flex;flex-wrap:wrap;gap:6px}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-chip{position:relative;cursor:pointer}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-chip input{position:absolute;opacity:0;width:1px;height:1px}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-chip span{display:inline-block;padding:7px 12px;border:1px solid rgba(245,245,243,.2);border-radius:999px;color:var(--lwm-paper);font-size:13px;font-weight:500;transition:background .2s ease,color .2s ease,border-color .2s ease}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-chip:hover span{border-color:rgba(245,245,243,.6)}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-chip input:checked + span{background:var(--lwm-paper);border-color:var(--lwm-paper);color:var(--lwm-ink)}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-chip input:focus-visible + span{outline:2px solid var(--lwm-red);outline-offset:2px}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__submit{display:inline-flex;align-items:center;justify-content:center;gap:10px;margin-top:2px;padding:14px 22px;border:0;border-radius:999px;background:var(--lwm-red);color:#fff;font:inherit;font-size:15px;font-weight:600;letter-spacing:.02em;cursor:pointer;box-shadow:0 0 0 0 rgba(228,30,38,0);transition:background .25s ease,box-shadow .25s ease}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__submit:hover{background:#c4141b;box-shadow:0 0 28px rgba(228,30,38,.45)}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__submit:focus-visible{outline:2px solid var(--lwm-paper);outline-offset:3px}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__submit b{display:inline-block;transition:transform .4s cubic-bezier(.16,1,.3,1)}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__submit:hover b{transform:translate(3px,-3px)}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__note{margin:0;padding:12px 14px;border-radius:12px;background:rgba(245,245,243,.1);color:var(--lwm-paper);font-size:15px;line-height:1.5}

/* Backup for home-where.css: keep the Leaflet map below the fixed site header. */
body.lwm-home .hb-where{position:relative;z-index:0;isolation:isolate}
body.lwm-home .hb-where__stage{isolation:isolate;z-index:0}
body.lwm-home .hb-where__mapwrap{position:relative;z-index:0;isolation:isolate;transform:translateZ(0)}
body.lwm-home .hb-where__offices{z-index:2;transform:translateZ(0)}
body.lwm-home .hb-where__map .leaflet-tile-pane{filter:none}

/* ---------- Platforms logo bar ---------- */
body.lwm-home .hb-logos{background:var(--lwm-white);color:var(--lwm-ink);padding:clamp(72px,8vw,112px) 0 clamp(80px,9vw,120px);overflow:hidden}
body.lwm-home .hb-logos__head{padding:0 48px}
body.lwm-home .hb-logos__row{position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
body.lwm-home .hb-logos__row + .hb-logos__row{margin-top:12px}
body.lwm-home .hb-logos__track{display:flex;width:max-content;animation:hb-logos-scroll 55s linear infinite}
body.lwm-home .hb-logos__row--rev .hb-logos__track{animation-direction:reverse;animation-duration:62s}
body.lwm-home .hb-logos__row:hover .hb-logos__track{animation-play-state:paused}
body.lwm-home .hb-logos__list{display:flex;gap:12px;margin:0;padding:0 6px;list-style:none}
body.lwm-home .hb-logos__item{display:flex;align-items:center;gap:12px;padding:14px 22px 14px 16px;border-radius:999px;background:var(--lwm-paper);white-space:nowrap;color:var(--lwm-ink);font-size:16px;font-weight:600;letter-spacing:-.01em}
body.lwm-home .hb-logos__item img{width:28px;height:28px;object-fit:contain}
body.lwm-home .hb-logos__ph{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border:1.5px dashed rgba(15,16,18,.35);border-radius:8px;color:var(--lwm-muted);font-size:10px;font-weight:700;letter-spacing:.04em}
@keyframes hb-logos-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ---------- Responsive ---------- */
@media (max-width:1000px){
  body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__inner{grid-template-columns:minmax(0,640px);justify-content:start}
  body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__bg img{top:0;width:min(900px,130%);left:auto;right:-30%;transform:none;opacity:.55}
  body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__bg::after{background:linear-gradient(180deg,rgba(15,16,18,.55) 0%,rgba(15,16,18,.75) 35%,var(--lwm-ink) 60%)}
}
@media (max-width:900px){
  body.lwm-home .hb-faq,body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start{padding-left:20px;padding-right:20px}
  body.lwm-home .hb-logos__head{padding:0 20px}
  body.lwm-home .hb-faq__inner{grid-template-columns:1fr}
  body.lwm-home .hb-faq__panel{min-height:440px}
  body.lwm-home .hb-faq__a{padding-right:0}
}
@media (max-width:560px){
  body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__row{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  body.lwm-home .hb-logos__track{animation:none;width:auto}
  body.lwm-home .hb-logos__list{flex-wrap:wrap;padding:0 20px}
  body.lwm-home .hb-logos__list[aria-hidden="true"]{display:none}
  body.lwm-home .hb-logos__row{-webkit-mask-image:none;mask-image:none}
  body.lwm-home .hb-faq__a{transition:none}
  body.lwm-home .hb-faq__icon,body.lwm-home .hb-faq__icon::after,body.lwm-home .hb-faq__more b,body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__submit b{transition:none}
}
/* 1.9.132 spam trap field on the Start a project form: hidden from people and screen readers */
.hb-hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-start__submit[disabled]{opacity:.7;cursor:progress}
/* 1.9.133 Start a project: sent panel. Replaces the form in the same card after a lead is sent (assets/home-end.js). */
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-sent{display:flex;flex-direction:column;justify-content:center;gap:18px;padding:8px 4px;box-sizing:border-box;outline:none}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-sent__ic{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--lwm-red);animation:hbSentPop 1.6s cubic-bezier(.16,1,.3,1) .15s both}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-sent__ic path{stroke-dasharray:30;stroke-dashoffset:30;animation:hbSentDraw .6s cubic-bezier(.16,1,.3,1) .35s forwards}
@keyframes hbSentDraw{to{stroke-dashoffset:0}}
@keyframes hbSentPop{0%{transform:scale(.6);opacity:0;box-shadow:0 0 0 0 rgba(228,30,38,.55)}40%{transform:scale(1);opacity:1}100%{box-shadow:0 0 0 22px rgba(228,30,38,0)}}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-sent__k{color:rgba(245,245,243,.6);font:500 11px/1 'JetBrains Mono',monospace;letter-spacing:.16em;text-transform:uppercase}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-sent__k::before{content:"■";margin-right:8px;color:var(--lwm-red);font-size:8px}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-sent h3{margin:0;color:var(--lwm-paper);font-size:clamp(28px,2.6vw,36px);font-weight:600;line-height:1.05;letter-spacing:-.04em}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-sent h3 span{color:var(--lwm-red)}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-sent p{max-width:44ch;margin:0;color:rgba(245,245,243,.72);font-size:16px;line-height:1.55}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-sent dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 18px;margin:4px 0 0;padding:16px 18px;border:1px solid rgba(245,245,243,.12);border-radius:14px;background:rgba(245,245,243,.05);font-size:14px}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-sent dt{color:rgba(245,245,243,.5);font:500 11px/1.6 'JetBrains Mono',monospace;letter-spacing:.12em;text-transform:uppercase}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-sent dd{margin:0;color:var(--lwm-paper);overflow-wrap:anywhere}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-sent__row{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:4px}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-sent__again{display:inline-flex;align-items:center;height:48px;padding:0 22px;border:1px solid rgba(245,245,243,.22);border-radius:999px;background:none;color:var(--lwm-paper);font:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:border-color .25s ease}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-sent__again:hover{border-color:var(--lwm-paper)}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-sent__again:focus-visible{outline:2px solid var(--lwm-paper);outline-offset:3px}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-sent__call{color:rgba(245,245,243,.72);font-size:14px}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-sent__call a{border-bottom:1px solid rgba(245,245,243,.3);color:var(--lwm-paper);font-family:'JetBrains Mono',monospace;font-size:13px;text-decoration:none;transition:border-color .25s ease}
body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-sent__call a:hover{border-color:var(--lwm-paper)}
@media (prefers-reduced-motion:reduce){body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-sent__ic,body:is(.lwm-home,.lwm-svc,.lwm-rw) .hb-sent__ic path{animation:none;stroke-dashoffset:0}}
