
.pagehero.residential-photo{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.9fr);align-items:center;column-gap:5%;min-height:570px;padding:145px 8% 64px}
.pagehero.residential-photo .pagehero-copy{position:relative;z-index:2;grid-column:1;grid-row:1}
.pagehero.residential-photo h1{font-size:clamp(52px,5.7vw,74px);line-height:.94!important;max-width:700px}
.pagehero.residential-photo .residential-photo-frame{position:relative;grid-column:2;grid-row:1;justify-self:stretch;align-self:center;top:auto;right:auto;width:100%;height:clamp(280px,23vw,370px);overflow:hidden;isolation:isolate;clip-path:polygon(5% 0,100% 0,100% 88%,94% 100%,0 100%,0 7%);border:1px solid #9cebe566;background:#082845;box-shadow:0 28px 70px #00172a66,0 0 0 10px #ffffff08;animation:residential-photo-in .85s .12s cubic-bezier(.2,.75,.2,1) both}
.residential-photo-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 54%;transform:scale(1.015);transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.residential-photo-frame:hover .residential-photo-image{transform:scale(1.055)}
.residential-photo-overlay{position:absolute;inset:0;background:linear-gradient(180deg,#06182a00 20%,#06182a12 48%,#06182ab8 100%)}
.residential-photo-mark{position:absolute;top:20px;right:20px;z-index:3;padding:9px 12px;border:1px solid #ffffff62;border-radius:2px;background:#061a3766;color:#efffff;font:700 8px/1.2 'DM Sans','Segoe UI',sans-serif;letter-spacing:.15em;white-space:nowrap}
.residential-photo-caption{position:absolute;left:clamp(20px,3vw,38px);right:24px;bottom:clamp(22px,3vw,38px);z-index:2;color:#fff}
.residential-photo-caption i{display:block;margin-bottom:10px;color:#64e0df;font:700 9px 'DM Sans','Segoe UI',sans-serif;letter-spacing:.19em;font-style:normal}
.residential-photo-caption strong{display:block;max-width:440px;font:600 clamp(24px,2.7vw,38px)/.98 'Barlow Condensed','Arial Narrow',sans-serif;letter-spacing:.01em;text-transform:uppercase;text-shadow:0 3px 22px #00172a77}
@keyframes residential-photo-in{from{opacity:0;clip-path:inset(0 0 0 100%);filter:saturate(.65)}to{opacity:1;clip-path:polygon(5% 0,100% 0,100% 88%,94% 100%,0 100%,0 7%);filter:saturate(.96)}}
@media(max-width:900px){.pagehero.residential-photo{grid-template-columns:minmax(0,1fr);row-gap:26px;min-height:0;padding:145px 7% 56px}.pagehero.residential-photo .pagehero-copy{grid-column:1;grid-row:1}.pagehero.residential-photo .residential-photo-frame{grid-column:1;grid-row:2;width:min(100%,650px);height:clamp(260px,42vw,350px);margin:0 auto}}
@media(max-width:680px){.pagehero.residential-photo{padding:135px 7% 48px;row-gap:22px}.pagehero.residential-photo h1{font-size:clamp(43px,11vw,62px)}.pagehero.residential-photo .residential-photo-frame{width:100%;height:235px}.residential-photo-caption{left:20px;bottom:22px}.residential-photo-caption strong{font-size:27px}.residential-photo-mark{top:14px;right:14px}}
