/* ─── Right-side desktop index ───────────────────────────── */
.index-nav {
  position: fixed;
  top: 50%;
  right: 28px;
  transform: translateY(-50%);
  z-index: 90;
  opacity: 0;
  transition: opacity 600ms ease;
  pointer-events: none;
}

.index-nav--visible {
  opacity: 1;
  pointer-events: auto;
}

.index-nav__title {
  font-size: 8px;
  letter-spacing: 0.28em;
  /* Bumped from 0.35 → 0.70 for clear visibility */
  color: rgba(255,255,255,0.70);
  text-transform: uppercase;
  margin-bottom: 14px;
  text-shadow: 0 0 14px rgba(0,0,0,0.9);
}

.index-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.index-nav__item {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  transition: opacity 220ms ease;
  text-align: left;
}

.index-nav__num {
  font-size: 8px;
  letter-spacing: 0.1em;
  /* Bumped from 0.30 → 0.55 */
  color: rgba(255,255,255,0.55);
  min-width: 18px;
  text-shadow: 0 0 10px rgba(0,0,0,0.9);
  transition: color 220ms ease;
}

.index-nav__label {
  font-size: 8px;
  letter-spacing: 0.18em;
  /* Bumped from 0.45 → 0.70 — inactive but clearly readable */
  color: rgba(255,255,255,0.70);
  transition: color 220ms ease;
  text-shadow: 0 0 10px rgba(0,0,0,0.9);
}

.index-nav__item:hover .index-nav__label {
  color: rgba(255,255,255,0.92);
}

.index-nav__item:hover .index-nav__num {
  color: rgba(255,255,255,0.75);
}

/* Active — pure white */
.index-nav__item--active .index-nav__label {
  color: #ffffff;
}

.index-nav__item--active .index-nav__num {
  /* Bumped from 0.60 → 0.85 */
  color: rgba(255,255,255,0.85);
}

/* Active left dash indicator — clearly visible */
.index-nav__item--active .index-nav__label::before {
  content: '— ';
  color: rgba(255,255,255,0.55);
}

/* ─── Mobile top bar ─────────────────────────────────────── */
.mobile-bar { display: none; }

@media (max-width: 900px) {
  .index-nav { display: none; }

  .mobile-bar {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 90;
    padding: 16px var(--col-pad);
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    opacity: 0;
    transition: opacity 600ms ease;
    pointer-events: none;
  }

  .mobile-bar--visible {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-bar__name {
    font-size: 10px;
    letter-spacing: 0.3em;
    color: rgba(255,255,255,0.75);
  }
}
