/* NDSLeader 3.14: elegant overlapping two-image collage for homepage. */
body.home .nds313-collage{
  position:relative;
  margin-top:clamp(24px,3.2vw,46px);
  width:min(100%, 1120px);
  min-height:clamp(280px,33vw,450px);
  padding:0 clamp(0px,1vw,8px) clamp(24px,2.8vw,42px) 0;
}
body.home .nds313-collage .nds36-image-card{
  margin:0;
  overflow:hidden;
  border:1px solid rgba(221,230,240,.14);
  box-shadow:0 22px 60px rgba(0,0,0,.28);
}
body.home .nds313-collage .nds36-image-card img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .8s ease, filter .8s ease;
}
body.home .nds313-collage .nds36-image-card:hover img{ transform:scale(1.035); }
body.home .nds313-collage .nds36-image-card figcaption{
  left:18px; bottom:16px; font-size:10px; letter-spacing:.12em;
  background:rgba(10,14,20,.78); backdrop-filter:blur(8px);
  padding:10px 13px; border:1px solid rgba(255,255,255,.10);
}
body.home .nds313-main{
  position:relative;
  width:min(84%, 930px);
  height:clamp(250px,30vw,410px);
  border-radius:16px;
  z-index:1;
}
body.home .nds313-main::before{
  content:''; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,0) 28%, rgba(0,0,0,.22));
  pointer-events:none; z-index:1;
}
body.home .nds313-main figcaption,
body.home .nds313-accent figcaption{ z-index:2; }
body.home .nds313-accent{
  position:absolute;
  right:clamp(12px,2vw,34px);
  bottom:clamp(-10px,-0.8vw,8px);
  width:min(34%, 390px);
  height:clamp(180px,18vw,250px);
  border-radius:16px;
  z-index:3;
}
body.home .nds313-accent::before{
  content:''; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,0) 35%, rgba(0,0,0,.30));
  pointer-events:none; z-index:1;
}
body.home .nds313-accent::after{
  content:''; position:absolute; inset:auto 10% -18px 10%; height:24px; border-radius:999px;
  background:radial-gradient(ellipse at center, rgba(125,145,170,.32), rgba(125,145,170,0) 70%);
  filter:blur(12px); pointer-events:none;
}
body.home .nds313-collage::after{
  content:''; position:absolute; right:clamp(7%,9vw,13%); bottom:clamp(0px,1vw,10px);
  width:min(24%, 280px); height:32px; border-radius:999px;
  background:radial-gradient(ellipse at center, rgba(125,145,170,.16), rgba(125,145,170,0) 72%);
  filter:blur(14px); pointer-events:none;
}
body.home .nds36-hero{ padding-bottom:clamp(24px,4vw,54px); }
body.home .nds36-scroll{ margin-top:clamp(18px,2.5vw,28px); }
@media(max-width: 980px){
  body.home .nds313-collage{ width:100%; }
  body.home .nds313-main{ width:min(86%, 860px); }
  body.home .nds313-accent{ width:min(38%, 340px); height:clamp(170px,21vw,220px); right:12px; bottom:-6px; }
}
@media(max-width: 760px){
  body.home .nds313-collage{ min-height:auto; display:grid; grid-template-columns:1fr; gap:12px; padding-bottom:0; }
  body.home .nds313-main,
  body.home .nds313-accent{ position:relative; width:100%; height:220px; right:auto; bottom:auto; transform:none; }
  body.home .nds313-accent::after,
  body.home .nds313-collage::after{ display:none; }
}
@media(max-width: 520px){
  body.home .nds313-main,
  body.home .nds313-accent{ height:185px; border-radius:12px; }
  body.home .nds313-collage .nds36-image-card figcaption{ left:10px; bottom:10px; font-size:8px; padding:8px 10px; }
}
@media(prefers-reduced-motion: reduce){
  body.home .nds313-collage .nds36-image-card img{ transition:none!important; }
}
