
/* 1.8.86 Selected work: dark section, pinned left panel, featured projects scroll on the right. */
body.lwm-home .hb-work{background:var(--lwm-ink);color:var(--lwm-paper);padding:clamp(104px,12vw,176px) 48px}
body.lwm-home .hb-work__inner{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(40px,6vw,104px);align-items:start}
body.lwm-home .hb-work__panel{position:sticky;top:112px;display:flex;flex-direction:column;justify-content:space-between;min-height:calc(100vh - 176px);padding-bottom:8px}
body.lwm-home .hb-work .hb-mark{margin:0 0 var(--space-6);color:rgba(245,245,243,.62);font-size:var(--t-kicker);font-weight:600;letter-spacing:.18em;text-transform:uppercase}
body.lwm-home .hb-work .hb-mark span{color:var(--lwm-red);margin-right:.45em}
body.lwm-home .hb-work h2{margin:0;color:var(--lwm-paper);font-size:var(--t-h2);font-weight:600;line-height:.9;letter-spacing:-.065em}
body.lwm-home .hb-work h2 em{color:var(--lwm-paper);font-style:normal}
body.lwm-home .hb-work h2 .hb-accent{color:var(--lwm-red)}
body.lwm-home .hb-work__lead{max-width:40ch;margin:28px 0 0;color:rgba(245,245,243,.68);font-size:17px;line-height:1.6}

body.lwm-home .hb-work__now{margin:48px 0 32px;transition:opacity .18s ease,transform .18s ease}
body.lwm-home .hb-work__now.is-swapping{opacity:0;transform:translateY(6px)}
body.lwm-home .hb-work__count{display:flex;align-items:baseline;gap:4px;margin:0 0 16px;color:var(--lwm-paper);line-height:1}
body.lwm-home .hb-work__count b{font-size:22px;font-weight:600;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
body.lwm-home .hb-work__count sup{top:0;color:rgba(245,245,243,.5);font-size:16px;font-weight:600;letter-spacing:.04em;font-variant-numeric:tabular-nums}
body.lwm-home .hb-work__ind{margin:0 0 10px;color:var(--lwm-red);font-size:var(--t-meta);font-weight:600;letter-spacing:.16em;text-transform:uppercase;min-height:1.2em}
body.lwm-home .hb-work__name{margin:0;color:var(--lwm-paper);font-size:clamp(26px,2.4vw,36px);font-weight:600;line-height:1.05;letter-spacing:-.04em}
body.lwm-home .hb-work__tag{max-width:44ch;margin:12px 0 0;color:rgba(245,245,243,.68);font-size:16px;line-height:1.5}
body.lwm-home .hb-work__all{color:var(--lwm-paper);font-size:var(--t-meta);font-weight:600}
body.lwm-home .hb-work__all b{color:var(--lwm-red)}

/* Option A: stacking cards. Each card pins; the next slides over it while the one beneath shrinks and darkens (home-work.js). */
body.lwm-home .hb-work__list{display:block;margin:0;padding:0;list-style:none}
body.lwm-home .hb-work__item{margin:0;padding:0}
@media (min-width:901px){
  body.lwm-home .hb-work__item{position:sticky;top:calc(112px + var(--i,0) * 14px);transform-origin:50% 0;will-change:transform}
  body.lwm-home .hb-work__item + .hb-work__item{margin-top:34vh}
  /* Spacer inside the list (not padding) so the last card stays pinned while the visitor reads it. */
  body.lwm-home .hb-work__list::after{content:"";display:block;height:45vh}
  body.lwm-home .hb-work__media{width:min(100%, calc((100vh - 200px) * 1.5));margin-left:auto;box-shadow:0 -18px 50px rgba(0,0,0,.55)}
}
body.lwm-home .hb-work__shade{position:absolute;inset:0;background:#000;opacity:0;pointer-events:none;border-radius:inherit}
body.lwm-home .hb-work__link{display:block;color:var(--lwm-paper);text-decoration:none}
body.lwm-home .hb-work__media{position:relative;margin:0;aspect-ratio:3/2;overflow:hidden;border-radius:var(--radius-media);background:#1d1e21}
body.lwm-home .hb-work__img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center;transition:transform .8s cubic-bezier(.16,1,.3,1)}
body.lwm-home .hb-work__link:hover .hb-work__img{transform:scale(1.03)}
body.lwm-home .hb-work__media.is-placeholder{display:flex;align-items:center;justify-content:center;background:linear-gradient(160deg,#26272b,#18191c)}
body.lwm-home .hb-work__ph{color:rgba(245,245,243,.5);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-work__link:focus-visible{outline:2px solid var(--lwm-red);outline-offset:6px;border-radius:var(--radius-media)}

/* Desktop: the caption text is shown in the pinned panel, so the per-image caption is visually hidden (kept for screen readers and search engines). */
@media (min-width:901px){
  body.lwm-home .hb-work__cap{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
}

/* Tablet and phone: no pinning; each project shows its own caption. */
@media (max-width:900px){
  body.lwm-home .hb-work{padding-left:20px;padding-right:20px}
  body.lwm-home .hb-work__inner{grid-template-columns:1fr}
  body.lwm-home .hb-work__panel{position:static;min-height:0}
  body.lwm-home .hb-work__now{display:none}
  body.lwm-home .hb-work__all{order:3;margin-top:40px}
  body.lwm-home .hb-work__panel{display:contents}
  body.lwm-home .hb-work__intro{order:1;margin-bottom:40px}
  body.lwm-home .hb-work__list{order:2;display:grid;gap:48px}
  body.lwm-home .hb-work__cap{display:flex;flex-direction:column;gap:8px;margin-top:20px}
  body.lwm-home .hb-work__cap-ind{color:var(--lwm-red);font-size:var(--t-meta);font-weight:600;letter-spacing:.16em;text-transform:uppercase}
  body.lwm-home .hb-work__cap-name{margin:0;font-size:26px;font-weight:600;line-height:1.05;letter-spacing:-.04em}
  body.lwm-home .hb-work__cap-tag{color:rgba(245,245,243,.68);font-size:16px;line-height:1.5}
  body.lwm-home .hb-work__cap-more{margin-top:4px;font-size:var(--t-meta);font-weight:600;letter-spacing:.14em;text-transform:uppercase}
  body.lwm-home .hb-work__cap-more b{color:var(--lwm-red)}
}
@media (prefers-reduced-motion:reduce){
  body.lwm-home .hb-work__now,body.lwm-home .hb-work__img{transition:none}
  body.lwm-home .hb-work__item{transform:none !important}
}

/* 1.9.4 Client location under the tagline: red map-pin dot (same as the Where We Work cards) + "Location: Town, NY". */
body.lwm-home .hb-work__loc,body.lwm-home .hb-work__cap-loc{display:flex;align-items:center;flex-wrap:wrap;white-space:pre-wrap;color:rgba(245,245,243,.68);font-size:15px;line-height:1.4}
body.lwm-home .hb-work__loc{margin:14px 0 0}
body.lwm-home .hb-work__loc[hidden]{display:none}
body.lwm-home .hb-work__loc span[data-work-loc-name],body.lwm-home .hb-work__cap-loc-name{color:var(--lwm-paper);font-weight:600}
body.lwm-home .hb-work__pin{display:inline-block;width:10px;height:10px;flex:0 0 10px;margin-right:12px;border-radius:50%;background:var(--lwm-red);box-shadow:0 0 0 3px rgba(228,30,38,.3)}
