.prain-about {
  --about-header-height: 120px;
  --about-nav-height: 60px;
}

.about-section-nav {
  position: sticky;
  top: var(--about-header-height);
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid #e9e9e9;
}

.about-section-nav .prain-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  height: auto;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

.about-section-nav a {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 60px;
  padding: 0 2px;
  border-bottom: 2px solid transparent;
  color: #666;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.about-section-nav a:hover,
.about-section-nav a[aria-current="location"] {
  color: #fe6b00;
}

.about-section-nav a[aria-current="location"] {
  border-bottom-color: #fe6b00;
}

.about-section-nav a:focus-visible {
  outline: 2px solid #b74800;
  outline-offset: -4px;
}

.prain-about > [id^="about-"] {
  scroll-margin-top: calc(var(--about-header-height) + var(--about-nav-height) + 16px);
}

html.active .about-section-nav {
  visibility: hidden;
}

@media (max-width: 756px) {
  .prain-about {
    --about-header-height: 73.33333px;
    --about-nav-height: 48px;
  }
  .about-section-nav .prain-inner { gap: 24px; }
  .about-section-nav a {
    min-height: 48px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-section-nav a { transition: none; }
}
