/* 팀 소개 페이지 (about.html) 전용 스타일 */

.about {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 20px 0;
  line-height: 1.7;
  word-break: keep-all;
}

.about h1,
.about h2,
.about h3 {
  line-height: 1.3;
}

.about h2 {
  margin: 0 0 16px;
  font-size: 1.75rem;
}

.about h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.about p {
  margin: 0 0 12px;
}

/* 상단 소개 */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-hero h1 {
  margin: 0 0 20px;
  font-size: 3rem;
}

/* 팀명을 상징하는 6색 띠 */
.about-hero h1::after {
  content: '';
  display: block;
  width: 120px;
  height: 6px;
  margin-top: 12px;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    #e74c3c,
    #f39c12,
    #f1c40f,
    #2ecc71,
    #3498db,
    #8e44ad
  );
}

.about-hero p {
  font-size: 1.15rem;
}

/* 이미지 자리: 비율을 고정해 이미지가 없어도 레이아웃이 유지됨 */
.about-figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
}

.about-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 섹션 공통 */
.about-section {
  margin-top: 80px;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* 프로젝트 소개 */
.about-project-info {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.about-project-info div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  background: #f7f8fa;
}

.about-project-info dt {
  font-weight: 700;
}

.about-project-info dd {
  margin: 0;
}

/* 팀 목표 카드 */
.about-goals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-goal {
  padding: 28px 24px;
  border: 1px solid #eee;
  border-radius: 12px;
}

.about-goal h3::before {
  content: '';
  display: block;
  width: 32px;
  height: 4px;
  margin-bottom: 16px;
  border-radius: 2px;
  background: var(--point-color);
}

.about-goal p {
  margin: 0;
}

/* 활동 방향 단계 */
.about-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.about-flow li {
  padding: 24px 20px;
  border-radius: 12px;
  background: #f7f8fa;
  counter-increment: step;
}

.about-flow li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--main-color);
}

.about-flow p {
  margin: 0;
}

/* 스크롤 등장 효과 (js/about.js가 reveal 클래스를 붙인 경우에만 적용) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 모바일 */
@media (max-width: 768px) {
  .about {
    padding-top: 32px;
  }

  .about-hero,
  .about-split,
  .about-goals {
    grid-template-columns: 1fr;
  }

  .about-hero {
    gap: 24px;
  }

  .about-hero h1 {
    font-size: 2.25rem;
  }

  .about-section {
    margin-top: 56px;
  }

  .about h2 {
    font-size: 1.5rem;
  }

  .about-project-info div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
