/* About — Aspiro Highlights slideshow & collage */

.about-highlights {
  padding: 3rem 0 4rem;
  margin-bottom: 2rem;
}

.about-highlights-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.about-highlights-header .highlights-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c5a059;
  margin: 0 0 0.75rem;
}

.about-highlights-header h2 {
  font-family: 'Kaisei Tokumin', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.about-highlights-header .highlights-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #555;
  margin: 0;
}

.about-highlights-copy {
  text-align: center;
  margin-top: 2.5rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.about-highlights-copy .highlights-body {
  font-size: 1rem;
  line-height: 1.75;
  color: #666;
  margin: 0 auto 1.1rem;
  max-width: 34rem;
}

.about-highlights-copy .highlights-body:last-child {
  margin-bottom: 0;
}

.about-highlights-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
}

@media (min-width: 900px) {
  .about-highlights-visual {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: stretch;
  }
}

/* Main slideshow — left on desktop */
.highlights-slideshow {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #1a1a1a;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
  min-width: 0;
}

.highlights-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s ease, transform 6s ease;
  pointer-events: none;
}

.highlights-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

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

.highlights-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3.5rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent);
  color: #fff;
}

.highlights-slide-caption .slide-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c5a059;
  margin-bottom: 0.35rem;
}

.highlights-slide-caption p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  opacity: 0.95;
}

.highlights-dots {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.4rem;
  z-index: 3;
}

.highlights-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.highlights-dot.is-active {
  background: #c5a059;
  transform: scale(1.2);
}

/* Mosaic collage — right of slideshow on desktop */
.highlights-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-top: 0;
  min-width: 0;
}

@media (min-width: 900px) {
  .highlights-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 0.45rem;
    align-self: stretch;
    min-height: 0;
  }

  .highlights-mosaic-item {
    aspect-ratio: unset;
    min-height: 0;
  }

  .highlights-mosaic-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .highlights-mosaic-caption {
    font-size: 0.5rem;
    padding: 1.1rem 0.25rem 0.25rem;
  }
}

.highlights-mosaic-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  opacity: 0;
  animation: highlights-mosaic-in 0.7s ease forwards;
}

.highlights-mosaic-item:nth-child(1) { animation-delay: 0.05s; }
.highlights-mosaic-item:nth-child(2) { animation-delay: 0.12s; }
.highlights-mosaic-item:nth-child(3) { animation-delay: 0.19s; }
.highlights-mosaic-item:nth-child(4) { animation-delay: 0.26s; }
.highlights-mosaic-item:nth-child(5) { animation-delay: 0.33s; }
.highlights-mosaic-item:nth-child(6) { animation-delay: 0.4s; }
.highlights-mosaic-item:nth-child(7) { animation-delay: 0.47s; }
.highlights-mosaic-item:nth-child(8) { animation-delay: 0.54s; }
.highlights-mosaic-item:nth-child(9) { animation-delay: 0.61s; }
.highlights-mosaic-item:nth-child(10) { animation-delay: 0.68s; }

.highlights-mosaic-item:nth-child(odd) {
  animation-name: highlights-mosaic-in, highlights-float-a;
  animation-duration: 0.7s, 5s;
  animation-delay: var(--delay, 0s), 1.2s;
  animation-iteration-count: 1, infinite;
  animation-timing-function: ease, ease-in-out;
}

.highlights-mosaic-item:nth-child(even) {
  animation-name: highlights-mosaic-in, highlights-float-b;
  animation-duration: 0.7s, 6s;
  animation-delay: var(--delay, 0s), 1.8s;
  animation-iteration-count: 1, infinite;
  animation-timing-function: ease, ease-in-out;
}

.highlights-mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.highlights-mosaic-item:hover img {
  transform: scale(1.08);
}

@keyframes highlights-mosaic-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes highlights-float-a {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes highlights-float-b {
  0%, 100% { transform: translateY(-4px); }
  50% { transform: translateY(5px); }
}

@media (prefers-reduced-motion: reduce) {
  .highlights-slide {
    transition: opacity 0.4s ease;
    transform: none !important;
  }

  .highlights-mosaic-item {
    animation: none !important;
    opacity: 1;
  }
}
