.about-slides,
.about-slide {
  position: absolute;
  inset: 0;
}

.about-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}

.about-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.about-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-gallery-controls {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 2vw, 30px);
  bottom: clamp(18px, 2vw, 30px);
  left: clamp(18px, 2vw, 30px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.about-gallery-controls[hidden] {
  display: none;
}

.about-gallery-arrow {
  width: 34px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 30px;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease;
}

.about-gallery-arrow:hover {
  transform: scale(1.12);
}

.about-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.about-gallery-dot {
  width: 15px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, .4);
  cursor: pointer;
  transition: width .4s ease, background .4s ease;
}

.about-gallery-dot.is-active {
  width: 34px;
  background: #fff;
}

.about-gallery-timeline {
  grid-column: 1 / -1;
  height: 1px;
  background: rgba(255, 255, 255, .3);
  overflow: hidden;
}

.about-gallery-timeline span {
  display: block;
  width: 0;
  height: 100%;
  background: #fff;
}

.about-gallery-timeline span.is-running {
  animation: about-gallery-progress 3s linear forwards;
}

@keyframes about-gallery-progress {
  to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .about-slide { transition: none; }
  .about-gallery-timeline { display: none; }
}
