/* ===========================================================
   ABOUT PAGE  (회사소개)
   - 공통 요소(사이드바/네비/푸터/상담/개인정보)는 style.css 재사용
=========================================================== */

/* 본문 영역: 사이드바 폭만큼 밀기 */
.about {
  margin-left: var(--sidebar-w);
  width: calc(100% - var(--sidebar-w));
  background: #14161f;
  position: relative;
  z-index: 1;
}

/* ===========================================================
   1) HERO (상단 이미지 + 중앙 문구)
=========================================================== */
.about-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  /* 하단 50px는 흰색 인트로 섹션이 덮으므로, 보이는 영역 기준 세로 중앙 보정 */
  padding-bottom: 60px;
}
.about-hero__bg {
  position: absolute;
  inset: 0;
  background: url("../01_images/works/01.jpg") center 30% / cover no-repeat;
  transform: scale(1.08);
  animation: aboutZoom 7s ease forwards;
}
@keyframes aboutZoom {
  to {
    transform: scale(1);
  }
}
.about-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.38) 45%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.about-hero__inner {
  position: relative;
  z-index: 2;
  padding: 0 6vw;
  transform: translateY(18px);
  opacity: 0;
  animation: aboutRise 1s ease 0.25s forwards;
}
@keyframes aboutRise {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.about-hero__eyebrow {
  font-family: "SUIT", sans-serif;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 500;
  letter-spacing: 6px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 26px;
}
.about-hero__title {
  font-size: clamp(30px, 4.2vw, 60px);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -1px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}
.about-hero__title b {
  color: #fff;
  font-weight: 800;
}

/* 스크롤 인디케이터 (재사용 스타일은 style.css의 .scrolldown) */
.about-hero .scrolldown {
  position: absolute;
}

/* ===========================================================
   2) INTRO (히어로 위로 올라오는 흰 섹션 + 미션 문구)
=========================================================== */
.about-intro {
  position: relative;
  z-index: 3;
  margin-top: -50px;
  background: #14161f;
  border-radius: 50px 50px 0 0;
  padding: 56px 6vw 48px;
  text-align: center;
}
.about-intro__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "SUIT", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #6f8cff;
  margin-bottom: 22px;
}
.about-intro__title {
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 800;
  line-height: 1.45;
  color: #fff;
  letter-spacing: -0.5px;
}
.about-intro__title b {
  color: #6f8cff;
}
.about-intro__desc {
  margin: 28px auto 0;
  max-width: 760px;
  font-size: clamp(15px, 1.25vw, 19px);
  font-weight: 400;
  line-height: 2;
  color: rgba(255, 255, 255, 0.72);
}
.about-intro__desc .em {
  color: #fff;
  font-weight: 700;
}

/* ===========================================================
   3) MISSION (스크롤 시 02 이미지가 확 펼쳐지는 섹션)
=========================================================== */
.about-mission {
  position: relative;
  background: #14161f;
  padding: 90px 0;
}
.about-mission__stage {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* 시작: 안쪽으로 모인 + 둥근 모서리 (닫힌 상태) */
  clip-path: inset(8% 6% round 44px);
  transform: scale(0.94);
  transition: clip-path 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-mission.in .about-mission__stage {
  clip-path: inset(0% 0% round 0px);
  transform: scale(1);
}
.about-mission__bg {
  position: absolute;
  inset: 0;
  background: url("../01_images/works/02.jpg") center / cover no-repeat;
  transform: scale(1.12);
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-mission.in .about-mission__bg {
  transform: scale(1);
}
.about-mission__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(8, 12, 40, 0.78) 0%,
    rgba(8, 12, 40, 0.5) 45%,
    rgba(8, 12, 40, 0.28) 100%
  );
}
.about-mission__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  /* 상담(.quote) 섹션과 동일한 좌우 패딩 → 좌측 시작선 일치 */
  padding: 0 5vw;
  color: #fff;
  transform: translateY(40px);
  opacity: 0;
  transition: transform 1s ease 0.45s, opacity 1s ease 0.45s;
}
.about-mission.in .about-mission__inner {
  transform: translateY(0);
  opacity: 1;
}
/* .quote__wrap 과 동일 규격 (max-width 1280 중앙 정렬) → 텍스트 시작선 동일 */
.about-mission__wrap {
  max-width: 1280px;
  margin: 0 auto;
}
.about-mission__title {
  font-family: "SUIT", "NanumSquare", sans-serif;
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 34px;
}
.about-mission__title span {
  color: #6f8cff;
}
.about-mission__desc {
  max-width: 680px;
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 400;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.85);
}
.about-mission__desc p + p {
  margin-top: 20px;
}
.about-mission__desc b {
  color: #fff;
  font-weight: 700;
}

/* ===========================================================
   반응형
=========================================================== */
@media (max-width: 768px) {
  :root {
    --sidebar-w: 64px;
  }
  .about-hero {
    min-height: 540px;
  }
  .about-hero__title {
    font-size: clamp(24px, 7vw, 34px);
  }
  .about-intro {
    margin-top: -40px;
    border-radius: 36px 36px 0 0;
    padding: 70px 7vw 80px;
  }
  .about-mission__stage {
    height: auto;
    min-height: 0;
    clip-path: inset(0 round 24px);
    transform: none;
    padding: 90px 0;
    margin: 0 16px;
  }
  .about-mission.in .about-mission__stage {
    clip-path: inset(0 round 24px);
  }
  .about-mission__desc {
    max-width: none;
  }
}
