/* ──────────────────────────────────────────────────────────────────────────
   EXPLORE THE SYSTEM — Reusable horizontal orientation rail
   REVEAL landing pages · Phase 1: /features, /use-cases, /signal-providers

   Usage:
     <link rel="stylesheet" href="/explore-nav.css">

   Modifiers:
     .explore-nav--below-sticky   top: 69px  (pages with sticky main nav)
     .explore-nav--standalone     top: 0     (pages with non-sticky header)
   ────────────────────────────────────────────────────────────────────────── */

.explore-nav {
  --explore-nav-bg: rgb(34, 29, 25);
  position: sticky;
  z-index: 90;
  background: var(--explore-nav-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196, 169, 106, 0.14);
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.explore-nav::before,
.explore-nav::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  pointer-events: none;
  z-index: 3;
}

.explore-nav::before {
  left: 0;
  background: linear-gradient(to right, var(--explore-nav-bg) 0%, rgba(34, 29, 25, 0.82) 42%, rgba(34, 29, 25, 0) 100%);
}

.explore-nav::after {
  right: 0;
  background: linear-gradient(to left, var(--explore-nav-bg) 0%, rgba(34, 29, 25, 0.82) 42%, rgba(34, 29, 25, 0) 100%);
}

.explore-nav::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.explore-nav--below-sticky { top: 69px; }
.explore-nav--standalone    { top: 0; }

.explore-nav-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1300px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  height: 44px;
  position: relative;
}

.explore-nav-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(196, 169, 106, 0.62);
  white-space: nowrap;
  padding-right: 18px;
  margin-right: 4px;
  border-right: 1px solid rgba(196, 169, 106, 0.24);
  flex-shrink: 0;
  line-height: 1;
  user-select: none;
}

.explore-nav-pills {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.explore-nav-pills.is-dragging { cursor: grabbing; }

.explore-nav-pills::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.explore-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.48);
  text-decoration: none;
  padding: 0 16px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-right: 1px solid rgba(196, 169, 106, 0.08);
  transition: color 0.18s;
  cursor: pointer;
  line-height: 1;
}

.explore-pill:last-child { border-right: none; }

.explore-pill:hover,
.explore-pill:focus {
  color: rgba(245, 240, 230, 0.84);
  outline: none;
}

.explore-pill.is-active { color: rgba(212, 185, 122, 0.96); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .explore-nav--below-sticky { top: 65px; }
  .explore-nav-inner { padding: 0; }
  .explore-nav::before,
  .explore-nav::after { width: 48px; }

  .explore-nav-label {
    font-size: 7px;
    letter-spacing: 1.5px;
    padding-right: 10px;
  }

  .explore-pill {
    font-size: 7.5px;
    letter-spacing: 1.2px;
    padding: 0 10px;
  }
}

@media (max-width: 540px) {
  .explore-nav-label {
    display: none;
    border-right: none;
    margin-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .explore-pill { transition: none; }
}
