/* Selected websites enhancement. The original portfolio grid remains without JS. */
.work-carousel-controls[hidden]{display:none}
.work-carousel.is-enhanced .work-carousel-controls{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin:0 0 15px}
.work-carousel-nav{display:flex;align-items:center;gap:8px}
.work-carousel-count{min-width:7ch;text-align:center;color:#414e68;font-size:15px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:.025em}
.work-carousel-controls button{font:inherit;cursor:pointer;touch-action:manipulation}
.work-carousel-nav button{display:grid;place-items:center;width:45px;height:45px;border:1px solid #245bff;border-radius:50%;background:#245bff;color:#fff}
.work-carousel-nav button:hover{background:#183fbc;border-color:#183fbc}
.work-carousel-controls button:focus-visible,.work-carousel.is-enhanced .portfolio-grid:focus-visible,.work-carousel.is-enhanced .portfolio-project :is(a,button):focus-visible{outline:3px solid #153ea4;outline-offset:4px}
.work-carousel.is-enhanced .portfolio-grid{display:flex;gap:0;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:none;border:1px solid #dbe5fa;border-radius:14px;background:#f1f5ff}
.work-carousel.is-enhanced .portfolio-grid::-webkit-scrollbar{display:none}
.work-carousel.is-enhanced .portfolio-project{flex:0 0 100%;display:grid;grid-template-columns:minmax(0,1.67fr) minmax(0,1fr);align-items:center;gap:clamp(28px,4.4vw,69px);padding:clamp(26px,4vw,62px);scroll-snap-align:start;scroll-snap-stop:always;background:radial-gradient(ellipse at 15% 55%,#dae5ff,#f3f6ff 57%,#f8f9ff)}
.work-carousel.is-enhanced .portfolio-project .full-image{min-width:0;margin:0}
.work-carousel.is-enhanced .portfolio-project .screen{aspect-ratio:1.6}
.work-carousel.is-enhanced .portfolio-project .portfolio-detail{padding:0;min-width:0}
.work-carousel.is-enhanced .portfolio-project .portfolio-detail h2{font-size:clamp(33px,4.2vw,61px);line-height:1;letter-spacing:-.045em;color:#0d1735;margin-bottom:18px}
.work-carousel.is-enhanced .portfolio-project .portfolio-detail p{margin-bottom:20px;color:#354569}
.work-carousel.is-enhanced .portfolio-project .portfolio-detail .text-link{color:#173c9b}
@media(max-width:760px){.work-carousel.is-enhanced .portfolio-project{grid-template-columns:minmax(0,1fr);align-content:start;gap:25px;padding:24px}.work-carousel.is-enhanced .portfolio-project .portfolio-detail h2{font-size:clamp(28px,7vw,42px);margin-bottom:14px}.work-carousel.is-enhanced .portfolio-project .portfolio-detail p{font-size:17px;margin-bottom:15px}}
@media(max-width:370px){.work-carousel.is-enhanced .portfolio-project{padding:19px}.work-carousel-nav button{width:42px;height:42px}.work-carousel-count{min-width:6ch}}
