/* A quiet homepage gateway, with the complete collection on its own page. */
#projects.projects-gateway{padding:110px max(6vw,calc((100vw - 1320px)/2));background:radial-gradient(ellipse at 50% 50%,#4d1d6728,transparent 65%),#08070c;color:#f5f0fc}
.gateway-content{width:min(760px,100%);margin:auto;display:flex;flex-direction:column;align-items:center;gap:30px}
#projects.projects-gateway .project-search{width:100%;padding:29px 32px 26px;border-radius:27px}
#projects .search-submit{display:grid;place-items:center;min-width:44px;min-height:44px;padding:5px;font-size:23px;color:#8355a0;flex-shrink:0;border-radius:12px;transition:background .25s}
#projects .search-submit:hover{background:#a870d215}
.gateway-help{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#projects .gateway-discover.glass-control[data-glass]{display:flex;align-items:center;justify-content:space-between;gap:55px;padding:15px 22px;min-height:53px;border-radius:16px;--glass-top:#a569e7;--glass-tint:#8442c9;--glass-bottom:#7134b2;--glass-border:#bd86f178;--glass-rim:#ecd7ff59;color:#fff;font-size:13px;background:#8742c7;box-shadow:inset 0 1px 0 #eddaff66,0 12px 35px #6d309422}
#projects.portfolio-collection{min-height:100svh;padding-top:160px;padding-bottom:100px}
.portfolio-intro{display:grid;grid-template-columns:1.2fr 1fr;align-items:end;gap:35px 8vw;margin-bottom:55px}
.portfolio-eyebrow{grid-column:1/-1;font:10px/1.6 SFMono-Regular,Consolas,monospace;letter-spacing:.1em;color:#956ba9}
.portfolio-intro h1{font-size:clamp(48px,6vw,91px);font-weight:500;letter-spacing:-.065em;line-height:1.03;color:#251b2e}.portfolio-intro h1 em{font-style:normal;color:#8850b7}
.portfolio-intro>div>p{font-size:16px;line-height:1.9;color:#8d769b;max-width:420px}.portfolio-home{display:inline-block;margin-top:22px;font-size:11px;color:#8b649f}
#projects.portfolio-collection .project-search{max-width:820px;margin:0 0 55px;padding:26px 30px 23px}
#projects.portfolio-collection .project-search>input[type=hidden]+label{display:block;font:9px/1.6 SFMono-Regular,Consolas,monospace;color:#87669c;margin-bottom:18px}
#projects.portfolio-collection .project-toolbar{margin-bottom:15px;flex-wrap:wrap}
#projects.portfolio-collection .project-grid{gap:55px 30px}
#projects.portfolio-collection .project-card:nth-child(n){padding:0}
#projects.portfolio-collection .project-card figure{border-radius:22px;aspect-ratio:1.35}
#projects.portfolio-collection .project-card.portrait figure{aspect-ratio:1}
.collection-footer{display:flex;align-items:center;gap:35px;padding:35px max(5vw,calc((100vw - 1320px)/2)) 70px;border-top:1px solid #b684d326;background:#0c0812;color:#b69cc8;font-size:11px}.collection-footer .logo{margin-right:auto;color:#f4e7ff}
@media(max-width:980px){body[data-portfolio-page] header nav{display:none}.portfolio-intro{gap:30px 5vw}.portfolio-intro>div>p{font-size:13px}}
@media(max-width:700px){
 #projects.projects-gateway{padding:75px 6vw}.gateway-content{gap:24px}
 #projects.projects-gateway .project-search{padding:23px 20px 20px;border-radius:23px}
 #projects.projects-gateway .search-field{gap:9px}#projects.projects-gateway .search-field input{font-size:16px;min-width:0}
 #projects.projects-gateway .search-field>span:first-child svg{width:20px;height:20px}
 #projects .gateway-discover.glass-control[data-glass]{width:100%;max-width:350px;padding:14px 18px;font-size:12px;gap:20px;min-height:50px}
 #projects.portfolio-collection{padding-top:125px;padding-bottom:70px}
 .portfolio-intro{display:block;margin-bottom:35px}.portfolio-eyebrow{font-size:9px;margin-bottom:24px}.portfolio-intro h1{font-size:clamp(44px,10vw,65px)}.portfolio-intro>div{margin-top:25px}.portfolio-intro>div>p{font-size:13px}
 #projects.portfolio-collection .project-search{padding:23px 20px;margin-bottom:33px;border-radius:23px}
 #projects.portfolio-collection .project-grid{gap:33px}#projects.portfolio-collection .project-card figure{border-radius:18px}
 .collection-footer{flex-wrap:wrap;gap:22px;padding:30px 6vw 65px}.collection-footer .logo{width:100%;margin-bottom:4px}
}
@media(prefers-reduced-motion:reduce){#projects .search-submit{transition:none}}

body[data-portfolio-page] header nav a[aria-current="page"]{color:var(--purple)}
