/* Longyue Home only: six uses, inspired by Swan's text-and-media benefit grid. */
#services.feature-catalogue{padding-top:40px;padding-bottom:88px;scroll-margin-top:90px}
#services.feature-catalogue .feature-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:32px}
#services.feature-catalogue .feature-heading h2{font-size:var(--ds-title);line-height:1.15;margin:0;max-width:700px}
#services.feature-catalogue .feature-heading>p{font:var(--ds-body)/1.6 var(--text);color:#666;margin:0;max-width:430px}
#services.feature-catalogue .feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#services.feature-catalogue .feature-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#f1f1ef;border-radius:16px;padding:24px 24px 20px}
#services.feature-catalogue .feature-copy{min-height:142px}
#services.feature-catalogue .feature-copy h3{font:500 23px/1.2 var(--title);margin:0 0 12px}
#services.feature-catalogue .feature-copy p{font:14px/1.6 var(--text);color:#555;margin:0;max-width:36ch}
#services.feature-catalogue .feature-media{height:330px;min-height:0;position:relative;overflow:hidden;margin:12px -8px 16px}
#services.feature-catalogue .feature-media .media-stage{position:relative!important;display:block!important;width:100%!important;height:100%!important;min-height:0!important;aspect-ratio:auto!important;padding:0!important;border:0;background:transparent;overflow:hidden}
#services.feature-catalogue .feature-media img{position:static!important;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;transform:none!important;object-fit:contain!important;margin:0!important}
#services.feature-catalogue .feature-demo{display:flex;align-items:center;justify-content:center}
#services.feature-catalogue video{width:100%;height:100%;object-fit:contain;display:block;background:#e9e9e7}
#services.feature-catalogue .feature-link{font:500 13px/1.5 var(--text);text-decoration:underline;text-underline-offset:4px;align-self:flex-start;margin-top:auto;padding-block:6px;color:#111}
#services.feature-catalogue :is(a,button,video):focus-visible,.work-filters button:focus-visible{outline:2px solid #222;outline-offset:4px}
#client-work-index .work-filters{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 20px}
#client-work-index .work-filters button{font:13px/1.4 var(--text);padding:10px 16px;border:1px solid #ccc;border-radius:24px;background:#fff;color:#333;cursor:pointer}
#client-work-index .work-filters button[aria-pressed=true]{background:#111;color:#fff;border-color:#111}
#client-work-index .work-filter-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%)}
#client-work-index .cw-index-card[hidden]{display:none!important}
#client-work-index .cw-index-gallery.is-filtered{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}
#client-work-index .cw-index-gallery.is-filtered .cw-index-card{grid-column:auto!important;grid-row:auto!important;width:100%!important;aspect-ratio:3/4}
#client-work-index .cw-index-caption em{font-size:clamp(14px,1.55vw,22px)}
#agent-capabilities{scroll-margin-top:100px}
@media(min-width:1600px){#services.feature-catalogue .feature-media{height:380px}}
@media(min-width:768px) and (max-width:1100px){#services.feature-catalogue .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){
 #services.feature-catalogue{padding-top:32px;padding-bottom:56px}
 #services.feature-catalogue .feature-heading{display:block;margin-bottom:24px}
 #services.feature-catalogue .feature-heading h2{font-size:var(--ds-title)}
 #services.feature-catalogue .feature-heading>p{font-size:14px;margin-top:16px}
 #services.feature-catalogue .feature-grid{grid-template-columns:1fr;gap:12px}
 #services.feature-catalogue .feature-card{padding:22px 20px 16px;border-radius:14px}
 #services.feature-catalogue .feature-copy{min-height:0}
 #services.feature-catalogue .feature-copy h3{font-size:24px;margin-bottom:10px}
 #services.feature-catalogue .feature-media{height:330px;margin-top:24px}
 #client-work-index .work-filters{gap:6px;margin-top:20px}
 #client-work-index .work-filters button{font-size:12px;padding:9px 12px}
 #client-work-index .cw-index-gallery.is-filtered{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #client-work-index .cw-index-caption em{font-size:14px}
}
@media(prefers-reduced-motion:reduce){#services.feature-catalogue *{scroll-behavior:auto!important}}
#services.feature-catalogue .feature-product-grid{display:grid;width:246px;height:100%;max-width:100%;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:4px;margin:auto}
#client-work-index .cw-index-gallery.is-filtered{aspect-ratio:auto;margin-top:0}
#client-work-index .cw-index-gallery.is-filtered .cw-index-card{position:relative!important;inset:auto!important;height:auto!important}
#client-work-index .cw-index-caption em{white-space:normal;line-height:1.25}
