.ProjectGallery-module__Zs4ZiG__gallery{--gallery-background:var(--lightningcss-light,var(--gallery-background-light))var(--lightningcss-dark,var(--gallery-background-dark,var(--gallery-background-light)));--footer-height:64px;--caption-height:48px;--stage-inset:5%;--preview-scale:.94;--preview-hover-scale:.96;--video-frame-ratio:12.36 / 25;--slide-step:29.1%;aspect-ratio:5/3;-webkit-user-select:none;user-select:none;background-color:var(--gallery-background);width:100%;max-height:480px;position:relative;overflow:hidden;container-type:inline-size}.ProjectGallery-module__Zs4ZiG__gallery:before,.ProjectGallery-module__Zs4ZiG__gallery:after{content:"";z-index:1;pointer-events:none;opacity:.4;width:17%;transition:opacity .24s ease-out;position:absolute;inset-block:0}.ProjectGallery-module__Zs4ZiG__gallery:before{background:linear-gradient(to right, var(--gallery-background), transparent);left:0}.ProjectGallery-module__Zs4ZiG__gallery:after{background:linear-gradient(to left, var(--gallery-background), transparent);right:0}@media (prefers-color-scheme:dark){.ProjectGallery-module__Zs4ZiG__gallery{background-image:radial-gradient(at 50% 45%,#0000 20%,#0003 100%)}.ProjectGallery-module__Zs4ZiG__gallery:before,.ProjectGallery-module__Zs4ZiG__gallery:after{opacity:.5;width:25%}}.ProjectGallery-module__Zs4ZiG__stage{inset:var(--stage-inset) 0 var(--caption-height);overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding-block:1px;display:flex;position:absolute;overflow:auto hidden}.ProjectGallery-module__Zs4ZiG__stage:focus-visible{outline-offset:-2px;outline:2px solid}.ProjectGallery-module__Zs4ZiG__stage:before,.ProjectGallery-module__Zs4ZiG__stage:after{content:"";flex:0 0 calc((100% - var(--slide-step)) / 2)}.ProjectGallery-module__Zs4ZiG__slot{flex:0 0 var(--slide-step);scroll-snap-align:center;scroll-snap-stop:always;min-width:0;display:grid}.ProjectGallery-module__Zs4ZiG__slide{opacity:.3;scale:var(--preview-scale);grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);justify-items:center;transition:opacity .24s,scale .24s ease-out;display:grid}.ProjectGallery-module__Zs4ZiG__frame{height:100%;aspect-ratio:var(--gallery-frame-aspect-ratio,12 / 25);border-radius:var(--gallery-frame-radius,clamp(7px, 1.35vw, 12px));isolation:isolate;position:relative;overflow:hidden;box-shadow:0 0 0 .5pt var(--lightningcss-light,#0000001a)var(--lightningcss-dark,#ffffff2e)}.ProjectGallery-module__Zs4ZiG__frame>:is(img,video){filter:grayscale();transition:filter .45s}.ProjectGallery-module__Zs4ZiG__frame:has(>video){--video-crop-y:76%;aspect-ratio:var(--video-frame-ratio)}.ProjectGallery-module__Zs4ZiG__frame>video{object-fit:cover;object-position:center var(--video-crop-y);width:100%;height:100%;position:absolute;inset:0}.ProjectGallery-module__Zs4ZiG__videoTouches{z-index:1;top:var(--video-crop-y);aspect-ratio:720/1558;width:100%;translate:0 calc(-1 * var(--video-crop-y));pointer-events:none;position:absolute;left:0}.ProjectGallery-module__Zs4ZiG__videoTouch{--touch-progress:1;aspect-ratio:1;width:clamp(18px,13%,30px);opacity:calc(1 - var(--touch-progress));scale:calc(.8 + .65 * var(--touch-progress));background:#0052cc7a;border:2px solid #fff;border-radius:50%;position:absolute;translate:-50% -50%;box-shadow:0 0 0 1px #00388780}.ProjectGallery-module__Zs4ZiG__transparentFrame{aspect-ratio:5/4;width:min(120%,300px);height:auto;box-shadow:none;align-self:center}.ProjectGallery-module__Zs4ZiG__transparentFrame:after{display:none}.ProjectGallery-module__Zs4ZiG__transparentFrame>img{object-fit:contain}.ProjectGallery-module__Zs4ZiG__frame:after{content:"";pointer-events:none;background:var(--gallery-background);mix-blend-mode:soft-light;opacity:.42;transition:opacity .45s;position:absolute;inset:0}.ProjectGallery-module__Zs4ZiG__preview{z-index:1;cursor:pointer;position:absolute;inset:0}.ProjectGallery-module__Zs4ZiG__slide[data-offset="-2"] .ProjectGallery-module__Zs4ZiG__preview{left:80%}.ProjectGallery-module__Zs4ZiG__slide[data-offset="2"] .ProjectGallery-module__Zs4ZiG__preview{right:80%}.ProjectGallery-module__Zs4ZiG__slide:not([data-offset="0"]):has(.ProjectGallery-module__Zs4ZiG__preview:focus-visible){opacity:.5}.ProjectGallery-module__Zs4ZiG__preview:focus-visible{outline-offset:-2px;outline:2px solid}.ProjectGallery-module__Zs4ZiG__slide[data-offset="0"]{opacity:1;scale:1}.ProjectGallery-module__Zs4ZiG__slide[data-offset="0"] :is(img,video){filter:grayscale(0)}.ProjectGallery-module__Zs4ZiG__slide[data-offset="0"] .ProjectGallery-module__Zs4ZiG__frame:after{opacity:0}.ProjectGallery-module__Zs4ZiG__footer{z-index:2;height:var(--footer-height);place-items:center;padding-inline:8px;display:grid;position:absolute;inset:auto 0 0}.ProjectGallery-module__Zs4ZiG__footer[hidden]{display:none}.ProjectGallery-module__Zs4ZiG__gallery:has(.ProjectGallery-module__Zs4ZiG__footer:not([hidden])) .ProjectGallery-module__Zs4ZiG__stage{bottom:var(--footer-height)}.ProjectGallery-module__Zs4ZiG__controls{color:#fff;background:#232d2e9e;border-radius:999px;grid-template-columns:34px minmax(0,1fr) 34px;align-items:center;width:min(100%,184px);height:30px;display:grid}.ProjectGallery-module__Zs4ZiG__control{border-radius:inherit;cursor:pointer;place-items:center;height:100%;display:grid}.ProjectGallery-module__Zs4ZiG__control:disabled{color:#ffffff59;cursor:default}.ProjectGallery-module__Zs4ZiG__control:focus-visible{outline-offset:-2px;outline:2px solid}@media (hover:hover){.ProjectGallery-module__Zs4ZiG__gallery:has([data-offset^=\-] .ProjectGallery-module__Zs4ZiG__preview:hover):before{opacity:0}.ProjectGallery-module__Zs4ZiG__gallery:has(:is([data-offset="1"],[data-offset="2"]) .ProjectGallery-module__Zs4ZiG__preview:hover):after{opacity:0}.ProjectGallery-module__Zs4ZiG__slide:not([data-offset="0"]):has(.ProjectGallery-module__Zs4ZiG__preview:hover){opacity:.6;scale:var(--preview-hover-scale)}.ProjectGallery-module__Zs4ZiG__control:enabled:hover svg{scale:1.12}}.ProjectGallery-module__Zs4ZiG__control svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;transition:scale .18s ease-out}.ProjectGallery-module__Zs4ZiG__caption{-webkit-line-clamp:2;text-align:center;text-wrap:pretty;-webkit-box-orient:vertical;grid-column:2;font-size:12px;line-height:1.15;display:-webkit-box;overflow:hidden}.ProjectGallery-module__Zs4ZiG__fixedCaption{z-index:2;height:var(--caption-height);pointer-events:none;place-items:center;padding-inline:12px;display:grid;position:absolute;inset:auto 0 0}.ProjectGallery-module__Zs4ZiG__slideCaption{color:var(--lightningcss-light,color-mix(in oklch, var(--gallery-background) 55%, black))var(--lightningcss-dark,color-mix(in oklch, var(--gallery-background) 32%, #f4f7f7));text-align:center;text-wrap:balance;font-size:12px;line-height:1.2}.ProjectGallery-module__Zs4ZiG__slideCaption[data-entering]{animation:.17s ease-out both ProjectGallery-module__Zs4ZiG__caption-in}@keyframes ProjectGallery-module__Zs4ZiG__caption-in{0%{opacity:0;transform:translateX(var(--caption-entry-x))}to{opacity:1;transform:translate(0)}}@media (max-width:640px){.ProjectGallery-module__Zs4ZiG__gallery{--caption-height:56px;--stage-inset:9%;--preview-frame-ratio:var(--gallery-frame-aspect-ratio,12 / 25);--preview-half-width:calc((117cqi - var(--caption-height) - 2px) * (var(--preview-frame-ratio)) * var(--preview-scale) / 2);--slide-step:calc(50% + var(--preview-half-width) - 50px);aspect-ratio:7/9;max-height:none}.ProjectGallery-module__Zs4ZiG__gallery:has(.ProjectGallery-module__Zs4ZiG__frame>video){--preview-frame-ratio:var(--video-frame-ratio)}.ProjectGallery-module__Zs4ZiG__slide:is([data-offset="-2"],[data-offset="2"]) .ProjectGallery-module__Zs4ZiG__preview{display:none}.ProjectGallery-module__Zs4ZiG__slide[data-offset="-1"] .ProjectGallery-module__Zs4ZiG__preview{left:50%}.ProjectGallery-module__Zs4ZiG__slide[data-offset="1"] .ProjectGallery-module__Zs4ZiG__preview{right:50%}}@media (prefers-reduced-motion:reduce){.ProjectGallery-module__Zs4ZiG__gallery{--preview-hover-scale:var(--preview-scale)}.ProjectGallery-module__Zs4ZiG__stage{scroll-behavior:auto}.ProjectGallery-module__Zs4ZiG__videoTouch{scale:1}.ProjectGallery-module__Zs4ZiG__slideCaption[data-entering]{animation:none}.ProjectGallery-module__Zs4ZiG__gallery:before,.ProjectGallery-module__Zs4ZiG__gallery:after,.ProjectGallery-module__Zs4ZiG__slide,.ProjectGallery-module__Zs4ZiG__frame>:is(img,video),.ProjectGallery-module__Zs4ZiG__frame:after,.ProjectGallery-module__Zs4ZiG__control svg{transition:none}}
