.narrative-bar {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow: hidden;
  position: relative;
}

.narrative-hero {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: clamp(2rem, 6vw, 4rem);
  cursor: pointer;
  background: transparent;
  outline: none;
  border: none;
  color: var(--hero-text-color);
  border-radius: 24px;
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.narrative-hero:focus-visible {
  box-shadow: var(--nebula-hero-focus, 0 0 0 3px var(--primary-focus));
}

.narrative-hero:hover,
.narrative-hero:focus-visible {
  transform: translateY(-3px);
}

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(8px) saturate(1.08) brightness(1.05);
  transform: scale(1.04);
  opacity: 0.94;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--narrative-overlay-gradient);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vw, 1.2rem);
  width: min(640px, 92%);
  text-align: center;
  align-items: center;
}

.hero-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--hero-label-color);
}

.hero-title {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  line-height: 1.1;
  font-weight: 600;
}

.hero-meta {
  margin: 0;
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: var(--hero-meta-color);
  font-weight: 500;
}

.hero-description {
  margin: 0;
  max-width: clamp(22rem, 58vw, 32rem);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--hero-meta-color);
}

.hero-progress {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: clamp(1rem, 3vw, 1.5rem);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hero-progress-dot {
  border: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--progress-dot-inactive);
  transition: transform var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
  padding: 0;
}

.hero-progress-dot.completed {
  background: var(--progress-dot-active);
}

.hero-progress-dot.active {
  background: var(--progress-dot-active);
  transform: scale(1.2);
}

.hero-progress-dot:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.35);
}

.narrative-progress-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--progress-dot-inactive) 50%, transparent);
  overflow: hidden;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

.narrative-progress-bar {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--progress-bar-fill);
  transition: width var(--transition-smooth);
}

.narrative-empty {
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.75rem;
  flex: 1 1 auto;
  padding: clamp(2rem, 5vw, 3.5rem);
  color: var(--text-secondary);
}

.narrative-empty h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.narrative-empty p {
  margin: 0;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .narrative-hero {
    padding: clamp(1.5rem, 8vw, 3rem);
  }

  .hero-content {
    width: 100%;
  }

  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-background {
    transform: none;
    transition: none;
  }

  .narrative-progress-bar {
    transition: none;
  }
}
