/* Mobile homes inside two restrained device frames. */
.portfolio-brand-screens{gap:clamp(22px,4vw,48px);justify-items:center;align-items:start;padding:18px 14px 22px}
.portfolio-brand-screens>a{width:100%;max-width:220px;transform:rotate(-3deg)}
.portfolio-brand-screens>a:nth-child(2){margin-top:48px;transform:rotate(3deg)}
.portfolio-brand-screens .portfolio-device{position:relative;display:block;padding:17px 7px 12px;border:1px solid #535958;border-radius:31px;background:#191d1d;box-shadow:0 22px 32px -17px #0009,0 2px 4px #0004;overflow:hidden}
.portfolio-brand-screens .portfolio-device::before{content:"";position:absolute;top:7px;left:50%;width:32px;height:3px;border-radius:3px;background:#070909;transform:translateX(-50%)}
.portfolio-brand-screens .portfolio-device::after{content:"";position:absolute;bottom:5px;left:50%;width:38px;height:3px;border-radius:3px;background:#747c79;transform:translateX(-50%)}
.portfolio-brand-screens .portfolio-device img{display:block;width:100%;height:auto;aspect-ratio:390/844;object-fit:cover;object-position:50% 50%;border-radius:23px;background:#080c10}
.portfolio-brand-screens .portfolio-device-label{display:block;padding:18px 0 0;text-align:center;font-size:14px;color:var(--pf-ink);line-height:1.4}
@media(prefers-reduced-motion:no-preference){
 .portfolio-brand-screens>a{animation:portfolio-device-float-left 7s ease-in-out infinite}
 .portfolio-brand-screens>a:nth-child(2){animation:portfolio-device-float-right 8s -3s ease-in-out infinite}
 .portfolio-brand-screens>a:hover,.portfolio-brand-screens>a:focus-visible{animation-play-state:paused}
}
@keyframes portfolio-device-float-left{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-10px) rotate(-2deg)}}
@keyframes portfolio-device-float-right{0%,100%{transform:translateY(0) rotate(3deg)}50%{transform:translateY(-12px) rotate(2deg)}}
@media(max-width:1050px){.portfolio-brand-screens{gap:24px;padding-inline:8px}.portfolio-brand-screens>a{max-width:200px}}
@media(max-width:800px){.portfolio-brand-screens{width:100%;max-width:530px;justify-self:center;gap:40px;padding-inline:15px}.portfolio-brand-screens>a{max-width:210px}}
@media(max-width:480px){.portfolio-brand-screens{gap:24px;padding:16px 8px 16px}.portfolio-brand-screens>a:nth-child(2){margin-top:34px}.portfolio-brand-screens .portfolio-device{padding:13px 5px 10px;border-radius:24px}.portfolio-brand-screens .portfolio-device img{border-radius:18px}.portfolio-brand-screens .portfolio-device::before{top:5px;width:24px;height:2px}.portfolio-brand-screens .portfolio-device::after{bottom:4px;height:2px;width:28px}.portfolio-brand-screens .portfolio-device-label{font-size:12px;padding-top:13px}}
@media(prefers-reduced-motion:reduce){.portfolio-brand-screens>a{animation:none!important;transform:none}.portfolio-brand-screens>a:nth-child(2){transform:none}}
