/* Two collections replace the long homepage project feed. */
html .work #projects.portfolio-collections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
.portfolio-gateway{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);text-decoration:none;color:var(--ink);background:#211a2b;overflow:hidden;transition:border-color .2s,transform .2s}
.portfolio-gateway:hover{border-color:var(--accent);transform:translateY(-4px)}
.portfolio-gateway:focus-visible{outline:3px solid var(--accent);outline-offset:6px}
.gateway-meta{display:flex;justify-content:space-between;align-items:center;padding:clamp(18px,1.8vw,30px) clamp(22px,2.4vw,42px);font:clamp(11px,.8vw,15px)/1.5 monospace;letter-spacing:.08em;color:var(--muted)}
.gateway-arrow{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:50%;font:24px/1 sans-serif;color:var(--accent)}
.gateway-visual{height:clamp(220px,22vw,380px);position:relative;isolation:isolate;margin:0 clamp(22px,2.4vw,42px)}
.gateway-visual-websites{background:#b8c8b6}
.gateway-visual-apps{background:#c9bfd9}
.gateway-art{position:absolute;overflow:hidden}
.gateway-visual-websites .gateway-art{width:66%;height:77%;border:1px solid #24332970;background:#f2f0e8;box-shadow:0 14px 25px #0003}
.gateway-visual-websites .gateway-art-1{left:5%;top:7%;transform:rotate(-6deg)}
.gateway-visual-websites .gateway-art-2{right:4%;bottom:4%;transform:rotate(5deg)}
.gateway-browser-bar{display:block;height:22px;padding:5px 10px;font:7px/12px sans-serif;letter-spacing:4px;color:#6d756b;background:#f2f0e8}
.gateway-visual-websites img{display:block;width:100%;height:calc(100% - 22px);object-fit:cover;object-position:50% 12%}
.gateway-visual-apps .gateway-art{width:48%;height:88%;bottom:0;display:flex;align-items:center;justify-content:center;flex-direction:column}
.gateway-visual-apps .gateway-art-1{left:3%;transform:rotate(-4deg)}
.gateway-visual-apps .gateway-art-2{right:3%;transform:rotate(4deg)}
.gateway-visual-apps img{width:100%;height:80%;object-fit:contain}
.gateway-app-label{font:clamp(11px,.9vw,17px)/1.4 sans-serif;color:#30283d;padding:6px 14px;background:#f3efe7;border:1px solid #30283d25;border-radius:24px}
.gateway-copy{padding:clamp(24px,2.5vw,44px);display:flex;flex:1;flex-direction:column;align-items:flex-start}
html .work .gateway-copy h3{font-size:clamp(30px,2.5vw,50px);line-height:1.12;letter-spacing:-.045em;font-weight:500;margin:0 0 14px;word-break:keep-all}
.gateway-tagline{font-size:clamp(16px,1.15vw,23px);line-height:1.5;margin:0 0 14px;word-break:keep-all}
.gateway-description{font-size:clamp(14px,.95vw,19px);line-height:1.75;color:var(--muted);max-width:47ch;margin:0 0 28px;word-break:keep-all;overflow-wrap:break-word}
.gateway-cta{display:block;margin-top:auto;padding-top:22px;border-top:1px solid var(--line);width:100%;font-size:clamp(13px,.9vw,18px);line-height:1.5;color:var(--accent)}
@media(max-width:700px){html .work #projects.portfolio-collections{grid-template-columns:1fr;gap:22px}.gateway-visual{height:230px}.gateway-copy{padding:24px}.gateway-meta{padding:16px 24px}.gateway-visual{margin:0 24px}.gateway-description{font-size:16px}.gateway-tagline{font-size:18px}.gateway-app-label{font-size:13px}}
@media(prefers-reduced-motion:reduce){.portfolio-gateway{transition:none}.portfolio-gateway:hover{transform:none}}
