.kit-gallery-section{background:var(--kit-gallery-bg, hsl(var(--background)));color:var(--kit-gallery-ink, hsl(var(--foreground)));transition:background-color .6s ease,color .5s ease}.kit-gallery-section h2,.kit-gallery-section h3,.kit-gallery-section p{color:inherit}.kit-gallery-grid{-moz-columns:3;columns:3;-moz-column-gap:clamp(20px,2.4vw,34px);column-gap:clamp(20px,2.4vw,34px)}.kit-gallery-item{-moz-column-break-inside:avoid;break-inside:avoid;margin:0 0 clamp(28px,3.4vw,52px);display:flex;flex-direction:column;clip-path:inset(100% 0 0 0);transition:clip-path 1s cubic-bezier(.5,0,.2,1);transition-delay:calc(var(--kit-gallery-i, 0) * .11s)}.kit-gallery-item.kit-gallery-in,.kit-gallery-item:focus-within{clip-path:inset(0)}.kit-gallery-media{position:relative;display:block;width:100%;overflow:hidden;cursor:zoom-in}.kit-gallery-section .kit-gallery-media img{display:block;width:100%;height:auto;transform:scale(1.13);transition:transform 1.35s cubic-bezier(.16,1,.3,1),filter .6s ease}.kit-gallery-item.kit-gallery-in .kit-gallery-media img{transform:scale(1.01)}.kit-gallery-media:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;background:linear-gradient(to top,hsl(var(--foreground) / .75),transparent 55%);opacity:0;transition:opacity .5s ease}.kit-gallery-cue{position:absolute;left:1rem;bottom:1rem;z-index:2;display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;border-radius:999px;background:hsl(var(--foreground));color:hsl(var(--card));font-size:.75rem;font-weight:600;opacity:0;transform:translateY(8px);transition:opacity .45s ease,transform .45s ease}.kit-gallery-media:focus-visible:before,.kit-gallery-media:focus-visible .kit-gallery-cue{opacity:1;transform:none}.kit-gallery-light{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:5rem clamp(16px,3vw,32px) 1.5rem;border:0;overflow:hidden;background:var(--kit-gallery-bg, hsl(var(--background)));color:var(--kit-gallery-ink, hsl(var(--foreground)))}.kit-gallery-light[open]{display:flex;justify-content:center;align-items:center;animation:kit-gallery-open .4s ease}.kit-gallery-light::backdrop{background:hsl(var(--foreground) / .85)}.kit-gallery-light:focus{outline:none}.kit-gallery-light-inner{width:min(1100px,100%);height:100%;min-height:0;margin:0;display:flex;flex-direction:column;align-items:center;gap:14px}.kit-gallery-light-inner img{width:100%;flex:1 1 0;min-height:0;max-height:100%;-o-object-fit:contain;object-fit:contain}.kit-gallery-light-inner figcaption,.kit-gallery-light-inner p{flex:none}.kit-gallery-actions{position:absolute;top:1rem;right:1rem;z-index:2;display:flex;gap:.625rem}.kit-gallery-action{display:grid;place-items:center;width:44px;height:44px;border-radius:999px;background:hsl(var(--foreground));color:hsl(var(--card))}.kit-gallery-action:hover{background:hsl(var(--primary))}@media(max-width:1000px){.kit-gallery-grid{-moz-columns:2;columns:2}}@media(max-width:600px){.kit-gallery-grid{-moz-columns:1;columns:1}}@media(hover:hover)and (pointer:fine){.kit-gallery-item:hover .kit-gallery-media img{transform:scale(1.08);filter:saturate(1.08)}.kit-gallery-item:hover .kit-gallery-media:before,.kit-gallery-item:hover .kit-gallery-cue{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.kit-gallery-section,.kit-gallery-item,.kit-gallery-cue,.kit-gallery-media:before,.kit-gallery-section .kit-gallery-media img{transition:none}.kit-gallery-item{clip-path:none}.kit-gallery-light[open]{animation:none}}@keyframes kit-gallery-open{0%{opacity:0}to{opacity:1}}
