/* NDSLeader 3.12: narrow editorial image band + working portfolio filters. */
/* Three coordinated pictures with a uniform baseline instead of oversized staggered panels. */
body.home .nds36-image-triptych{
  margin-top:clamp(22px,3vw,44px);
  display:grid;
  grid-template-columns:1.15fr 1fr 1fr;
  gap:clamp(8px,1vw,15px);
  align-items:stretch;
}
body.home .nds36-image-triptych > .nds36-image-card,
body.home .nds36-image-triptych > .nds36-card-a,
body.home .nds36-image-triptych > .nds36-card-b,
body.home .nds36-image-triptych > .nds36-card-c{
  display:block;
  height:clamp(175px,17vw,260px);
  margin:0;
  transform:none;
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(221,230,240,.12);
}
body.home .nds36-image-card img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .65s ease,filter .65s ease}
body.home .nds36-image-card:hover img{transform:scale(1.035)}
body.home .nds36-image-card figcaption{left:14px;bottom:12px;font-size:9px;letter-spacing:.1em}
body.home .nds36-image-card::after{inset:45% 0 0}
body.home .nds36-hero{padding-bottom:clamp(26px,4vw,56px)}
body.home .nds36-scroll{margin-top:30px}
/* Stop inherited category styles from visually disabling otherwise valid buttons. */
.nds36-inner [data-portfolio] .filter-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:30px}
.nds36-inner [data-portfolio] [data-filter]{appearance:none;cursor:pointer;background:#18212b;color:#e8eef5;border:1px solid #697788;padding:11px 19px;border-radius:24px;transition:background .25s,border-color .25s,transform .25s}
.nds36-inner [data-portfolio] [data-filter]:hover{background:#303c48;transform:translateY(-2px)}
.nds36-inner [data-portfolio] [data-filter][aria-pressed="true"]{background:#dce5ed;border-color:#dce5ed;color:#0b1118}
.nds36-inner [data-portfolio] [data-filter]:focus-visible{outline:2px solid #f5f8fc;outline-offset:4px}
.nds36-inner [data-portfolio] [data-category][hidden]{display:none!important}
@media(max-width:760px){
  body.home .nds36-image-triptych{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:28px}
  body.home .nds36-image-triptych > .nds36-image-card{height:clamp(155px,28vw,225px)}
  body.home .nds36-image-triptych > .nds36-card-c{display:none}
}
@media(max-width:520px){
  body.home .nds36-image-triptych{grid-template-columns:1fr 1fr;gap:7px;margin-top:22px}
  body.home .nds36-image-triptych > .nds36-image-card{height:165px}
  body.home .nds36-image-card figcaption{font-size:8px;left:9px;bottom:9px}
}
@media(prefers-reduced-motion:reduce){
  body.home .nds36-image-card img,.nds36-inner [data-portfolio] [data-filter]{transition:none!important}
}
