
/* Real portrait integration: original photos transformed into monochrome cutouts. */
#home .home-visual{
  width:min(40vw,580px);
  height:clamp(500px,67vh,800px);
  right:calc(-1 * var(--gr) + 8px);
  top:clamp(-16px,-1vh,0px);
}
#home .hero-portrait{
  object-fit:contain;
  object-position:right top;
  filter:contrast(1.04);
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 75%,transparent 99%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 75%,transparent 99%);
}
#home .cap{background:#ededeb;}
#home .cap img{
  object-fit:cover;
  object-position:center 46%;
  filter:grayscale(1) contrast(1.035);
}
/* An intentional editorial portrait on About; existing diagrams remain below. */
#about .about-portrait{
  position:relative;display:flex;align-items:flex-end;justify-content:center;
  margin:0;min-height:380px;height:clamp(340px,44vw,510px);
  background:linear-gradient(130deg,#efefec 0%,#f5f5f2 55%,#e9e9e6 100%);
  border-radius:9px;overflow:hidden;
}
#about .about-portrait img{
  display:block;width:auto;max-width:95%;height:99%;object-fit:contain;
  object-position:center bottom;
  filter:contrast(1.045);
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 83%,rgba(0,0,0,.92) 92%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 83%,rgba(0,0,0,.92) 92%,transparent 100%);
}
/* Reinforce the protected copy surface so dark tailoring cannot mask any sentence. */
#home .home-bottom{background:var(--bg);isolation:isolate;}
#home .home-bottom::before{
 background:linear-gradient(to bottom,rgba(251,251,250,0) 0%,rgba(251,251,250,.91) 53%,var(--bg) 100%);
}
@media(max-width:1140px){
 #home .home-visual{width:min(49vw,520px);height:clamp(470px,62vh,690px);right:calc(-1 * var(--gr));}
}
@media(max-width:700px){
 #home .home-visual{width:min(83vw,400px);height:clamp(320px,46vh,475px);right:-22px;top:12px;}
 #home .hero-portrait{object-position:right top;}
 #about .about-portrait{height:390px;min-height:280px;}
}
@media(max-width:420px){
 #home .home-visual{width:85vw;height:370px;right:-34px;top:2px;}
 #about .about-portrait{height:340px;}
}
