.swipe-gallery { min-width: 0; container-type: inline-size; }
.swipe-gallery .project-slides { scrollbar-width: none; }
.swipe-gallery .project-slides::-webkit-scrollbar { display: none; }
.swipe-gallery .project-slides:focus-visible { outline-offset: 4px; }
.swipe-gallery .project-slides.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.swipe-gallery .project-slide { border-right: 1px solid var(--line); }
.swipe-gallery .project-slide:last-child { border-right: 0; }
.swipe-gallery .slide-image { display: grid; grid-template-rows: minmax(0, 1fr); height: auto; max-height: 63svh; aspect-ratio: 16/9; }
.swipe-gallery .slide-image img { height: 100%; object-fit: contain; }
.swipe-gallery .slide-image:focus-visible { outline-offset: -3px; }
.swipe-gallery .slider-toolbar[hidden], .swipe-gallery .gallery-buttons[hidden] { display: none; }
.swipe-gallery .slider-hint { margin-left: 16px; }
.brand-presentation { scroll-margin-top: 120px; }
.brand-presentation h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 24px; }

@media (min-width: 1120px) {
  @container (min-width: 1120px) {
    .swipe-gallery .project-slide { flex-basis: 50%; }
  }
}

@media (max-width: 760px) {
  .swipe-gallery .slide-image { aspect-ratio: 4/3; }
}
