/* About Content — sticky tab nav + scroll-spy sections */

.about-tabs-col {
    position: sticky;
    top: 100px;
    z-index: 2;
}
.about-tab__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-gray-300, #c9c9c9);
  transition: all 0.25s ease;
}

.about-tab.is-active {
  background: var(--color-yellow-50);
  border-color: var(--color-yellow-900);
}

.about-tab.is-active .about-tab__dot {
  background: #fff;
  transform: scale(1.25);
}

/* Sections — offset so anchored scroll clears the sticky header */
.about-section {
  scroll-margin-top: 110px;
}

.about-section + .about-section {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--color-gray-100);
}

.about-section__desc > *:first-child {
  margin-top: 0;
}

.about-content__hero img,
.about-section__img img {
  display: block;
}

/* Mobile (< 768px): tabs collapse into an accordion */
@media (max-width: 767px) {
  .about-tabs-col {
    display: none;
  }
  .about-section {
    border: 1px solid var(--color-gray-100);
    border-radius: 0.5rem;
    padding: 0 1rem;
  }
  .about-section + .about-section {
    margin-top: 0.75rem;
    padding-top: 0;
    border-top: 1px solid var(--color-gray-100);
  }
  .about-section__body {
    display: none;
    padding-bottom: 1rem;
  }
  .about-section.is-open .about-section__body {
    display: block;
  }
  .about-section.is-open .about-accordion-icon {
    transform: rotate(180deg);
  }
}
