/* =====================================================
   ABOUT — STORY SECTION
   ===================================================== */

.about {
  position: relative;
  padding: 5.5rem 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(24,166,106,0.06),
      transparent 60%
    );
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* =====================================================
   PORTRAIT
   ===================================================== */

.about-portrait {
  display: flex;
  justify-content: center;
}

.about-portrait img {
  max-width: 280px;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--color-primary);
  box-shadow: 0 25px 55px rgba(15,23,42,0.18);
}

/* =====================================================
   CONTENT
   ===================================================== */

.about-content {
  max-width: 560px;
}

.about-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 1.25rem;
}

.about-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-muted);
  margin-bottom: 2.4rem;
}

/* =====================================================
   CHAPTER SHEET
   ===================================================== */

.about-story {
  position: relative;
  padding-left: 2rem;

  /* KEY FIXES */
  min-height: 260px;
  padding-bottom: 3.5rem; /* reserve space for controls */
}

/* Vertical rail */
.story-rail {
  position: absolute;
  left: 0;
  top: 0.25rem;
  bottom: 3.2rem;
  width: 2px;
  background: rgba(24,166,106,0.25);
}

/* Moving indicator */
.story-indicator {
  position: absolute;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  border-radius: 50%;
  transform: translateX(-50%);
  transition: transform 0.35s ease;
}

/* =====================================================
   STORY CARDS
   ===================================================== */

.story-card {
  display: none;
  animation: fadeUp 0.35s ease;
}

.story-card.active {
  display: block;
}

.story-card h3 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.story-card p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
}

/* =====================================================
   CONTROLS (FIXED POSITIONING)
   ===================================================== */

.story-controls {
  position: absolute;
  left: 2rem;
  bottom: 0;

  display: flex;
  align-items: center;
  gap: 1rem;
}

.story-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(24,166,106,0.4);
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
}

.story-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.story-progress {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* =====================================================
   MOTION
   ===================================================== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-story {
    padding-left: 0;
    min-height: 300px;
  }

  .story-rail {
    display: none;
  }

  .story-controls {
    left: 50%;
    transform: translateX(-50%);
  }
}