  * { box-sizing: border-box; }

  body {
    margin: 0;
    font-family: -apple-system, "Helvetica Neue", Arial, sans-serif;
    background: #fff;
    color: #111;
  }

  /* ---------- BARTENDER TRANSITION ---------- */

.bartender {
position: absolute;
z-index: 40;
top: 60;
left: 0;
right: 0;
bottom: 0;
pointer-events: none;
}

.bar {
height: calc((100vh - 60px) / 5);
width: 100%;
background: #FEFAC2;
background: linear-gradient(90deg, rgba(254, 250, 194, 1) 0%, rgba(248, 249, 243, 1) 40%, rgba(222, 243, 232, 1) 60%, rgba(179, 220, 244, 1) 77%, rgba(179, 185, 228, 1) 100%);
animation-name: tend; 
animation-duration: 0.5s;  
animation-timing-function: ease-in-out;
animation-fill-mode: forwards; 
transform: translateX(0%);
}

@keyframes tend {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(100%);
    }
}

.bar:nth-child(2) { animation-delay: 100ms; }
.bar:nth-child(3) { animation-delay: 200ms; }
.bar:nth-child(4) { animation-delay: 300ms; }
.bar:nth-child(5) { animation-delay: 400ms; }

  /* ---------- GRID ---------- */

.gallery {
    column-count: 5;
    column-gap: 30px;
    margin: 60px 120px;
  }

.retouch .gallery {
    column-count: 2;
}

  .gallery img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 30px;
    break-inside: avoid;
    cursor: zoom-in;
    transition: opacity 0.15s ease;

    /* border: 2px solid rgb(236, 236, 236);
    box-shadow: 3px 3px 10px  rgb(220, 220, 220); */
  }

  .gallery video {
    margin-bottom: 30px;
  }

  .gallery img:hover,
  .gallery video:hover {
    opacity: 0.85;
  }

  /* ---------- LIGHTBOX OVERLAY ---------- */
  .lightbox {
    position: fixed;
    inset: 0;
    background: rgba(235, 235, 235, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    /* fade in */
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .lightbox.is-open {
    display: flex;
    opacity: 1;
  }

  .lightbox-image-wrap {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .lightbox img,
  .lightbox video {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    display: block;
    /* preserves natural aspect ratio, never stretches */
    object-fit: contain;
    user-select: none;
  }

  /* ---------- CAPTION (title, medium, year, dimensions) ---------- */
  .lightbox-caption {
    position: fixed;
    left: 130px;
    bottom: 40px;
    z-index: 2000;
    max-width: 40vw;
    margin: 0;
    padding: 10px 20px;
    font-size: 15px;
    line-height: 1.5;
    color: #1a1a1a;
    background-color : #eeeeee;
  }

  .lightbox-caption-title,
  .lightbox-caption-details {
    display: block;
  }

  .lightbox-caption-title {
  font-style: italic;
  }

  /* ---------- CLOSE BUTTON ---------- */
  .lightbox-close {
    position: fixed;
    z-index: 100;
    top: 24px;
    right: 32px;
    width: 6wh;
    height: 6vh;
    background: none;
    border: none;
    cursor: pointer;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .lightbox-close svg {
    width: 22px;
    height: 22px;
  }

  .lightbox-close:hover {
    opacity: 0.7;
  }

  /* ---------- PREV / NEXT ARROWS ---------- */
  .lightbox-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 80px;
    background: none;
    border: none;
    cursor: pointer;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    opacity: 0.85;
  }

  .lightbox-nav:hover {
    opacity: 1;
  }

  .lightbox-nav svg {
    width: 3vw;
    height: 3vh;
  }

  .lightbox-prev {
    left: 0;
    justify-content: flex-start;
    padding-left: 20px;
  }

  .lightbox-next {
    right: 0;
    justify-content: flex-end;
    padding-right: 20px;
  }

  /* Hide nav arrows on very small screens if you prefer swipe-only */

  @media (max-width: 1024px) {
  .gallery { column-count: 4; }
}

  @media (max-width: 800px) {
  .gallery { column-count: 3; }

.retouch .gallery {
    margin: 60px 60px;
    column-gap: 15px;
}
}

@media (max-width: 640px) {
  .gallery { 
    column-count: 2; 
    margin: 60px;
  }

.retouch .gallery {
    column-count: 1;
}
}

@media (max-width: 420px) {
  .gallery { 
    column-count: 1;
    margin: 30px;
  }
}

  @media (max-width: 480px) {
    .lightbox-nav { width: 50px; }
  }