#portfolio .work-section{padding:100px max(8%,calc((100% - 1240px)/2)) 110px;background:radial-gradient(ellipse at 85% 15%,#51515132,transparent 55%),#050505;border:0;scroll-margin-top:30px}
#work .section-heading{display:block;margin-bottom:35px}#work .section-index{font-size:12px;color:#c3c3c3;letter-spacing:0;margin:0 0 20px}#work h2{font-size:clamp(25px,3vw,40px);font-weight:500;line-height:1.16;letter-spacing:-.045em}#work h2 em{color:#a0a0a0}
#work .work-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 38px}.filters{background:#00000033!important;border:1px solid #afafaf25!important;padding:5px;border-radius:30px!important}.filters button{border-radius:24px!important;padding:10px 17px;font-size:10px;transition:color .3s,background .3s,box-shadow .3s}.filters button.active{background:#dbdbdb!important;color:#080808!important;box-shadow:0 3px 20px #a2a2a228}.filters button:hover:not(.active){background:#3e3e3e!important}#project-count{font-size:8px;color:#989898;letter-spacing:.07em}
#work .project-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px;perspective:1400px}
#work .project-card{display:flex;flex-direction:column;width:100%;min-width:0;margin:0!important;padding:24px;text-align:left;border:1px solid #a9a9a92b;border-radius:18px;background:linear-gradient(140deg,#0a0a0a90,#00000040);box-shadow:0 20px 65px #00000022;overflow:visible;position:relative;cursor:pointer;transition:opacity .8s,transform 1s cubic-bezier(.2,.8,.2,1),border-color .35s,box-shadow .35s}
#work .project-card:hover{border-color:#b9b9b96b;box-shadow:0 20px 80px #48484838}
#work .project-visual{position:relative;perspective:1100px;padding:9px 4px 4px}
#work .project-visual:before{content:'';position:absolute;inset:0 10px 10px;border-radius:12px;transform:rotate(-2.3deg) translateY(3px);background:linear-gradient(140deg,#3c3c3c,#090909);border:1px solid #8f8f8f3b;transition:transform .5s}
#work .project-card:hover .project-visual:before{transform:rotate(-4deg) translateY(-5px)}
#work .project-media{border-radius:10px;border:1px solid #89898949;background:#060606;aspect-ratio:1.62;transform:rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));transform-style:preserve-3d;transition:transform .45s cubic-bezier(.2,.8,.2,1);box-shadow:0 15px 40px #00000055;overflow:hidden;position:relative}
#work .project-window{height:26px;display:flex;align-items:center;gap:4px;background:#090909;padding:0 10px;border-bottom:1px solid #7a7a7a26}.project-window i{width:4px;height:4px;border-radius:50%;background:#818181}.project-window span{font-size:7px;color:#b3b3b3;margin-left:auto;letter-spacing:.02em}
#work .project-media img{display:block;width:100%;height:calc(100% - 26px);object-fit:contain;object-position:center;transform:none;transition:filter .5s;filter:saturate(.85)}#work .project-card:hover .project-media img{transform:none;filter:saturate(1.05)}#work .project-media.mobile-media img{object-fit:contain;background:radial-gradient(ellipse,#444444,#070707)}
#work .project-open{position:absolute;right:16px;bottom:16px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#e4e4e4;color:#414141;font-size:22px;opacity:0;transform:translateY(8px);transition:opacity .3s,transform .3s;box-shadow:0 5px 25px #00000044}#work .project-card:hover .project-open,#work .project-card:focus-visible .project-open{opacity:1;transform:none}
#work .project-information{padding:25px 4px 3px}#work .project-category{margin:0 0 13px;font-size:9px;color:#b1b1b1;letter-spacing:.02em}#work .project-meta{display:block;margin:0}#work .project-meta h3{font-size:19px;line-height:1.2;font-weight:500;letter-spacing:-.03em;margin:0 0 13px;color:#f6f6f6}#work .project-summary{font-size:11px;line-height:1.8;color:#acacac;margin:0 0 20px;max-width:350px}.project-tools{display:flex;flex-wrap:wrap;gap:6px}.project-tools>span{font-size:8px;color:#bcbcbc;background:#a7a7a70d;border:1px solid #7d7d7d26;border-radius:20px;padding:5px 9px}.project-view{display:flex;align-items:center;gap:20px;font-size:10px;color:#e9e9e9;margin-top:25px}.project-view>span{font-size:18px;transition:translate .3s}.project-card:hover .project-view>span{translate:4px -3px}
#work .project-featured{grid-column:1/-1;display:grid;grid-template-columns:.8fr 1.4fr;gap:45px;align-items:center;padding:38px}#work .project-featured .project-visual{grid-column:2;grid-row:1}#work .project-featured .project-information{grid-column:1;grid-row:1;padding:0}#work .project-featured .project-meta h3{font-size:28px}#work .project-featured .project-summary{font-size:12px}#work .project-featured .project-media{aspect-ratio:1.5}
#work .more-work{margin-top:40px}.more-work .button{border-radius:30px;background:#ebebeb;color:#393939;font-size:11px}.more-work .button:hover{background:#ffffff;translate:0 -2px}.more-work .text-link{font-size:11px}
.section-gate{height:180px;position:relative;background:radial-gradient(ellipse at center,#0d0d0d36,transparent 65%),#050505;overflow:hidden}.section-transition-canvas{position:fixed;inset:0;width:100%;height:100%;z-index:13;pointer-events:none}.paused .section-transition-canvas{display:none}
@media(max-width:900px){#work .project-featured{gap:25px;padding:25px;grid-template-columns:.85fr 1.15fr}#work .project-featured .project-meta h3{font-size:23px}}
@media(max-width:700px){#portfolio .work-section{padding:80px 8% 100px}#work .work-toolbar{align-items:start;flex-direction:column;gap:15px}.filters button{padding:9px 11px;font-size:9px}#work .project-grid{grid-template-columns:1fr;gap:24px}#work .project-card,#work .project-featured{padding:18px;display:flex;gap:0}#work .project-featured .project-information{padding:25px 4px 3px}#work .project-featured .project-meta h3{font-size:21px}#work .project-featured .project-summary{font-size:11px}#work .project-open{opacity:1;transform:none;width:29px;height:29px;font-size:18px}#work .project-meta h3{font-size:20px}.section-gate{height:120px}.project-tools>span{font-size:8px}}
@media(prefers-reduced-motion:reduce){.section-transition-canvas{display:none}.section-gate{height:30px}#work .project-media,#work .project-visual:before,#work .project-open,.project-view>span{transition:none;transform:none!important}.project-card:hover .project-view>span{translate:none}}
/* Restrained section handoff: shallow perspective and a passing blue wash. */
.depth-section{position:relative;isolation:isolate;transform:perspective(1600px) translateY(var(--entry-offset,0px)) rotateX(var(--entry-tilt,0deg)) scale(var(--entry-scale,1));transform-origin:50% 0%;}
.section-light-wash{position:absolute;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 50% 0%,#bfbfbf75,transparent 58%);opacity:var(--entry-light,0)}
@media(prefers-reduced-motion:reduce){.depth-section{transform:none}.section-light-wash{display:none}}
