/* ===== About Page Styles ===== */

/* ===== Profile ===== */
.profile {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: 80vh;
}

.profile__photo {
  width: 280px;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--border);
}

.profile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.profile__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: var(--text-2xl);
  margin-bottom: 0.5rem;
}

.profile__tagline {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  word-break: keep-all;
}

/* ===== Story ===== */
.story {
  max-width: 800px;
  margin-top: 2rem;
}

.story__heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: var(--text-2xl);
  margin-bottom: 2rem;
}

.story__text {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  word-break: keep-all;
}

.story__highlight {
  color: var(--text-primary);
  font-weight: 500;
}

/* ===== Skills ===== */
.skills {
  padding: var(--section-gap) 0;
}

.skills__category {
  margin-bottom: 3rem;
}

.skills__label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: var(--text-xl);
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.skills__marquee {
  overflow: hidden;
  position: relative;
}

.skills__marquee::before,
.skills__marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.skills__marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.skills__marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

.skills__track {
  display: flex;
  gap: 1rem;
  animation: marquee-scroll 30s linear infinite;
  width: max-content;
}

.skills__track:hover {
  animation-play-state: paused;
}

.skills__tag {
  font-family: 'Space Mono', monospace;
  font-size: var(--text-sm);
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all 0.3s;
}

.skills__tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Social Proof ===== */
.proof {
  padding: var(--section-gap) 1.5rem;
  max-width: var(--content-max);
  margin: 0 auto;
}

.proof__heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: var(--text-2xl);
  margin-bottom: 2rem;
  text-align: center;
}

.proof__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.proof__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius-outer);
  padding: 2rem;
  text-align: center;
}

.proof__card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.proof__card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: var(--text-xl);
  margin-bottom: 0.5rem;
}

.proof__card-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.proof__placeholder {
  border-style: dashed;
  opacity: 0.5;
}

/* ===== Stats Counter ===== */
.stats {
  padding: var(--section-gap) 1.5rem;
  background: var(--bg-card);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: var(--content-max);
  margin: 0 auto;
}

.stats__item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s var(--ease-spring);
  cursor: default;
}

.stats__item:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  background: rgba(184, 196, 208, 0.04);
}

.stats__number {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stats__label {
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .profile {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding: 0 1rem;
  }

  .profile__photo {
    width: 150px;
    height: 150px;
    position: static;
    margin: 0 auto;
  }

  .story {
    margin-top: 1.5rem;
  }

  .story__text {
    font-size: var(--text-base);
    line-height: 1.7;
  }

  .skills {
    padding: var(--section-gap) 0;
  }

  .skills__marquee::before,
  .skills__marquee::after {
    width: 40px;
  }

  .skills__tag {
    font-size: var(--text-xs);
    padding: 0.4rem 1rem;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 1rem;
  }

  .stats__item {
    padding: 1.5rem 1rem;
  }

  .stats__number {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .proof {
    padding: var(--section-gap) 1rem;
  }

  .proof__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .proof__card {
    padding: 1.5rem;
  }
}
