/* Portfolio presentation: keep source aspect ratios, including responsive screenshots. */
html body.scp-body main.scp-main .sct-project-plane{aspect-ratio:auto!important;height:auto!important;background:#001b18}
html body.scp-body main.scp-main .sct-project-plane :is(picture,img){display:block!important;width:100%!important;height:auto!important;aspect-ratio:auto!important}
html body.scp-body main.scp-main .sct-project-plane img{object-fit:contain!important;transform:none!important}
html body.wks-body main.wks-main :is(.wks-web-cover,.wks-case-cover){aspect-ratio:auto!important;height:auto!important;background:#001b18}
html body.wks-body main.wks-main :is(.wks-web-cover,.wks-case-cover) :is(picture,img){display:block;width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important}
html body.wks-body main.wks-main .wks-case-cover{border:1px solid #c5e5df24}
html body.wks-body main.wks-main #works-case-title:focus{outline:none}
.wks-editorial-copy{max-width:66ch}.wks-editorial-copy p{font-size:clamp(16px,1.25vw,20px);line-height:1.75;color:#bfd6cf;margin:0 0 1.6em}
html body.wks-body main.wks-main .wks-story-head h3{font-size:clamp(30px,4vw,62px)!important;line-height:1.02!important;letter-spacing:-.055em!important;margin-bottom:clamp(30px,5vw,68px)}
.psg{grid-column:1/-1;min-width:0;border-top:1px solid #c5e5df38;margin-top:clamp(28px,4vw,70px);padding-top:clamp(28px,4vw,64px);color:#f3f9f5}
.psg [hidden]{display:none!important}.psg-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:36px}.psg-heading>p{max-width:32ch;color:#adcbc2;font-size:15px;line-height:1.6;margin:0}
html body.wks-body main.wks-main .psg-heading h3{font-size:clamp(30px,4.8vw,76px)!important;line-height:1!important;letter-spacing:-.055em!important;margin:0!important;color:#f3f9f5!important}
.psg button{font:inherit;color:inherit;cursor:pointer;background:transparent;border:0}
.psg-device{min-width:0}.psg-device-label{display:flex;justify-content:space-between;gap:12px;padding:0 0 14px;color:#d5fb09;font-size:12px;font-weight:600}.psg-device-label>span:last-child{color:#8caea1;font-size:11px;font-weight:400}.psg-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.3fr);gap:clamp(22px,3vw,54px);align-items:start;min-width:0;padding:clamp(20px,4vw,65px);background:radial-gradient(ellipse at 50% 10%,#174b3f60,transparent 70%),#001b18;border:1px solid #c5e5df18}.psg-pair figure{margin:0;min-width:0;animation:psg-arrive .45s ease both}.psg-chrome{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#092b25;border:1px solid #c5e5df24;border-bottom:0;border-radius:8px 8px 0 0;padding:12px 15px;color:#8caea1;font-size:10px}.psg-chrome>span:first-child{letter-spacing:3px;font-size:8px}.psg-chrome>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.psg-viewport{overflow:auto;max-height:min(80svh,960px);background:#00100d;border:1px solid #c5e5df24;scrollbar-width:thin;scrollbar-color:#618679 #05251f}
html body.wks-body main.wks-main .psg-viewport img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;transform:none!important}
.psg-device-mobile figure{width:100%;max-width:390px;margin-inline:auto}.psg-device-mobile .psg-chrome{border-radius:22px 22px 0 0;padding:14px 18px}.psg-device-mobile .psg-viewport{max-height:76svh}.psg-missing{padding:50px 16px;border:1px solid #c5e5df24;color:#adcbc2;font-size:13px;text-align:center}.psg-manual{margin-top:24px;color:#adcbc2}.psg-manual summary{cursor:pointer;padding:14px 0}.psg-manual img{display:block;max-width:100%;height:auto;margin:20px auto}
.psg figcaption{display:flex;justify-content:space-between;gap:18px;align-items:start;padding-top:17px}.psg figcaption strong{display:block;font-size:14px;font-weight:600}.psg figcaption span{display:block;font-size:11px;color:#8caea1;margin-top:6px}.psg figcaption button{font-size:12px;color:#d5fb09;white-space:nowrap;padding:4px 0}.psg-bottom{display:flex;justify-content:space-between;gap:16px;color:#8caea1;font-size:11px;margin-top:17px}.psg-bottom p{margin:0}.psg-bottom>span{color:#d5fb09;font-variant-numeric:tabular-nums}
.psg-lightbox{box-sizing:border-box;width:min(1600px,96vw);max-width:none;max-height:94svh;border:1px solid #c5e5df38;border-radius:9px;padding:18px;background:#001b18;color:#f3f9f5;overflow:auto}.psg-lightbox::backdrop{background:#00120fed;backdrop-filter:blur(12px)}.psg-lightbox button{display:block;position:sticky;top:0;margin-left:auto;margin-bottom:15px;padding:11px 16px;border:1px solid #c5e5df38;background:#00211e;border-radius:30px;z-index:1}.psg-lightbox img{display:block;width:auto;max-width:100%;height:auto;margin-inline:auto}
.psg :is(button):focus-visible{outline:2px solid #d5fb09;outline-offset:4px}@keyframes psg-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(max-width:780px){.psg-heading{display:block}.psg-heading>p{margin-top:18px;max-width:38ch}.psg-pair{padding:14px;grid-template-columns:1fr}.psg figcaption{gap:8px}.psg figcaption strong{font-size:12px}.psg-bottom{font-size:10px}.psg-lightbox{padding:10px}.psg-device-mobile{width:min(100%,340px);margin-inline:auto}}
@media(prefers-reduced-motion:reduce){.psg-pair figure{animation:none}.psg *{transition:none!important}}

/* Homepage-only presentation: two screens, no navigation toolbar. */
.psg--home .psg-pair{padding:0;gap:clamp(22px,3.6vw,58px);border:0;background:none;grid-template-columns:minmax(0,1fr) minmax(210px,.3fr)}
.psg--home .psg-device-label{padding-bottom:17px}.psg--home .psg-device-label>span:last-child{font-size:10px}
.psg--home .psg-viewport{max-height:min(78svh,900px);background:#001b18}
.psg--home .psg-viewport img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;transform:none!important}
.psg--home figcaption{justify-content:flex-end;padding-top:12px}.psg-home-note{margin:24px 0 0;color:#8caea1;font-size:12px;line-height:1.5}
.pcase .psg-heading h3{font-size:clamp(30px,4vw,62px);line-height:1;letter-spacing:-.055em;margin:0}
@media(max-width:780px){.psg--home .psg-pair{grid-template-columns:1fr;gap:36px}.psg--home .psg-device-mobile{width:min(100%,340px)}.psg--home .psg-device-label{gap:8px}.psg-home-note{font-size:11px}}
