/* ============================================================
   NAV — progress bar, navigation bar, sound toggle
   ============================================================ */

/* Progress bar */
.prog {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.04);
  z-index: 110;
}
.prog .fill {
  height: 100%;
  width: 0;
  background: var(--umber);
  transition: width 0.06s linear;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px clamp(20px, 4vw, 44px);
  pointer-events: none;
  mix-blend-mode: difference;
}
.nav > * { pointer-events: auto; }

.nav .mark {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bone);
  font-weight: 400;
}
.nav .mark em { color: var(--umber); font-style: normal; }

.nav .right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav .right .stat {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav .right .stat::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--umber);
  border-radius: 50%;
  animation: blink 1.6s ease infinite;
}

.nav .right a.cta-mini {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bone);
  border: 1px solid var(--bone-ghost);
  padding: 11px 18px;
  transition: all 0.4s ease;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;    /* keep label on one line at all widths */
}
.nav .right a.cta-mini:hover {
  background: var(--bone);
  color: var(--ink);
  border-color: var(--bone);
}

/* Sound toggle */
.sound {
  position: fixed;
  bottom: 22px;
  left: clamp(20px, 4vw, 44px);
  z-index: 100;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bone);
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(4,5,6,0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--bone-ghost);
  padding: 12px 16px;
  min-height: 44px;
  cursor: pointer;
  transition: all 0.4s ease;
}
.sound:hover { border-color: var(--umber); color: var(--umber-glow); }

.sound .bars {
  display: inline-flex;
  gap: 2px;
  align-items: center;
  height: 12px;
}
.sound .bars span {
  display: block;
  width: 2px;
  background: var(--umber);
  height: 4px;
  transition: height 0.3s ease;
}
.sound.on .bars span:nth-child(1) { animation: bar 1s ease infinite 0.0s; }
.sound.on .bars span:nth-child(2) { animation: bar 1s ease infinite 0.2s; }
.sound.on .bars span:nth-child(3) { animation: bar 1s ease infinite 0.4s; }

@keyframes bar {
  0%, 100% { height: 3px; }
  50%       { height: 11px; }
}

/* Mobile */
@media (max-width: 700px) {
  .nav .right .stat { display: none; }
  .sound { font-size: 9px; padding: 12px 14px; bottom: 18px; }
}
@media (max-width: 480px) {
  .nav { padding: 18px clamp(16px, 4vw, 24px); }
  .nav .right a.cta-mini { font-size: 9px; padding: 10px 14px; letter-spacing: 0.28em; }
}
