.hs-story { position:relative; isolation:isolate; background:#071428; }
.hs-pin { position:relative; height:80svh; overflow:hidden; pointer-events:none; z-index:2; }
.hs-active .hs-pin {position:sticky; top:0; height:100svh; margin-bottom:-100svh;}
.hs-backdrop { position:absolute; inset:0; background:radial-gradient(ellipse at 89% 52%,#142e4c 0%,#07172a 38%,#01060c 82%); }
.hs-picture { position:absolute; left:0; top:12%; width:65%; height:76%; overflow:hidden; background:#03070b; border-radius:4px; }
.hs-picture svg {display:block;width:100%;height:100%;}
.hs-pin h2 { position:absolute; top:29%; right:6%; margin:0; font-size:clamp(46px,6.2vw,104px); line-height:1.55; color:#eaf7ff; background:linear-gradient(158deg,#fff 20%,#a8c6df 47%,#fff 53%,#91aec8 75%); background-clip:text; -webkit-background-clip:text; -webkit-text-fill-color:transparent; filter:drop-shadow(0 2px 0 #45637d); }
.hs-active .hs-runway {height:200svh;}
.hs-mesh,.hs-beam,.hs-glint {opacity:0;}
.hs-beam,.hs-glint {position:absolute;pointer-events:none;}
.hs-beam {top:0;bottom:0;width:2px;background:#ddfaff;box-shadow:0 0 5px 2px #74d5ff,0 0 19px 5px #1684ff;}
.hs-glint {inset:0;background:linear-gradient(108deg,transparent 41%,#f3feff85 49%,transparent 55%);mix-blend-mode:screen;}
.hs-story .smile-gallery {background:radial-gradient(ellipse at 75% 45%,#163052,#081628 60%,#040c17);color:#eff7ff;}
.hs-story .gallery-top :is(h2, h2 span,p,.gallery-kicker),.hs-story .gallery-footer p {color:#dfedfb;}
.hs-story .gallery-grid .gallery-photo img, #gallery-lightbox img {object-fit:contain!important;object-position:center;filter:none;transform:none!important;}
.hs-story .gallery-photo:first-child {background:#03070b;}
@media(max-width:700px){.hs-picture{width:100%;height:51%;top:32%;}.hs-pin h2 {top:8%;right:7%;font-size:clamp(37px,10vw,58px);line-height:1.2}.hs-pin h2 br{display:none}}
@media(prefers-reduced-motion:reduce){.hs-pin{height:62svh}}

.hs-pin h2 {z-index:1; text-shadow:0 1px 12px #9edafa28;}

/* Equal portfolio frames with a separate caption area below the full image. */
.smile-gallery .gallery-grid{gap:22px;align-items:stretch}
.smile-gallery .gallery-grid .gallery-photo{flex:0 0 calc((100% - 44px)/3);width:calc((100% - 44px)/3);max-width:none;height:400px;padding:0;border:1px solid #b9d7ef85;border-radius:24px;background:#0a1726;box-shadow:inset 0 1px 0 #ffffff50,0 12px 30px #0002;overflow:hidden}
.smile-gallery .gallery-grid .gallery-photo img{display:block;width:100%;height:calc(100% - 88px);margin:0;object-fit:contain!important;object-position:center!important;border-radius:0;background:#0a1726;transform:none!important;filter:none}
.smile-gallery .gallery-grid .gallery-photo::after{inset:auto 0 0;height:88px;width:auto;border-radius:0 0 23px 23px;background:linear-gradient(135deg,#1c3851,#0b1c30);pointer-events:none}
.smile-gallery .gallery-grid .gallery-photo .gallery-photo-caption{inset:auto 0 0;min-height:88px;height:88px;margin:0;padding:14px 16px;gap:10px;background:none;box-sizing:border-box}
.smile-gallery .gallery-grid .gallery-photo .gallery-photo-caption strong{font-size:16px;line-height:1.7}
.smile-gallery .gallery-grid .gallery-photo .gallery-photo-caption small{font-size:9px;line-height:1.7;letter-spacing:0}
.smile-gallery .gallery-grid .gallery-expand{flex-shrink:0;width:34px;height:34px}
.smile-gallery .gallery-grid .gallery-number{top:13px;left:13px;padding:4px 7px;border-radius:10px;background:#07152780;font-size:9px}
@media(min-width:731px) and (max-width:1050px){.smile-gallery .gallery-grid .gallery-photo{flex-basis:calc((100% - 22px)/2);width:calc((100% - 22px)/2);height:390px}}
@media(max-width:730px){.smile-gallery .gallery-grid{gap:13px}.smile-gallery .gallery-grid .gallery-photo{flex-basis:100%;width:100%;height:390px;border-radius:20px}.smile-gallery .gallery-grid .gallery-photo::after{border-radius:0 0 19px 19px}.smile-gallery .gallery-grid .gallery-photo .gallery-photo-caption strong{font-size:15px}}
