/* =========================
   About page
   ========================= */
:root {
  --about-right-offset: 100px;
  --about-center-shift: 56px;
}

.about-inner {
  width: min(1720px, calc(100% - 120px));
  margin: 0 auto;
  position: relative;
}

#content-about {
  display: none;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  min-height: 100vh;
  background: #ffffff;
  overflow: visible !important;
}

#content-about.active {
  display: block;
}

#content-about.content-page {
  padding: 0 !important;
}

#app.page-about {
  height: 100vh;
  overflow-y: auto;
}

.about-page {
  position: relative;
  min-height: 100vh;
  overflow: visible !important;
}


/* Hero */
.about-hero {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  z-index: 1;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/about/hero_bg.png') center center / 840px auto no-repeat;
  opacity: 0.9;
  pointer-events: none;
}

.about-hero-fade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.18) 28%,
      rgba(255, 255, 255, 0.55) 52%,
      rgba(255, 255, 255, 0.86) 72%,
      rgba(255, 255, 255, 1) 100%);
}

.about-hero-copy {
  position: relative;
  width: min(1000px, calc(100vw - 160px));
  height: 320px;
  z-index: 2;
  transform: scale(0.9);
  transform-origin: center center;
}

.about-hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    filter 0.7s ease;
  will-change: opacity, transform, filter;
  pointer-events: none;
}

.about-hero-title.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0);
}

.about-hero-title:not(.is-visible) {
  transform: translate(-50%, -50%) scale(0.96);
  filter: blur(6px);
}

.about-hero-title--logo {
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(68px, 8vw, 130px);
  font-weight: 800;
  letter-spacing: -0.05em;

  color: rgba(255, 255, 255, 0.96);

  text-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    0 8px 18px rgba(0, 0, 0, 0.22),
    0 2px 6px rgba(0, 0, 0, 0.18),
    0 0 1px rgba(0, 0, 0, 0.25);

  -webkit-text-stroke: 0.4px rgba(0, 0, 0, 0.15);

  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.25));
}

.about-hero-title--text {
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #111111;
  text-shadow:
    0 10px 24px rgba(255, 255, 255, 0.55),
    0 2px 8px rgba(223, 223, 223, 0.35);
}

/* Vision */
.about-vision {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #ffffff;
  z-index: 2;
  overflow: visible;
}

.about-vision::before {
  content: "";
  position: absolute;
  top: -140px;
  left: 0;
  width: 100%;
  height: 140px;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.18) 22%,
      rgba(255, 255, 255, 0.45) 48%,
      rgba(255, 255, 255, 0.78) 74%,
      rgba(255, 255, 255, 1) 100%);
}

.vision-inner {
  position: relative;
  left: var(--about-center-shift);
  z-index: 4;

  width: 100%;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: 470px 1fr;
  column-gap: 110px;

  justify-content: center;
  align-items: center;
}

.about-vision .vision-inner {
  transform: scale(0.92);
  transform-origin: center left;
  left: calc(var(--about-center-shift) + 72px);
}

.vision-left h2 {
  margin: 0 0 0 120px;
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(45px, 3vw, 70px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111111;
  justify-self: start;
}

.vision-right {
  justify-self: start;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 520px;
  margin-left: var(--about-right-offset);
}

.vision-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vision-en {
  margin: 0;
  font-size: clamp(25px, 2vw, 38px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #111111;
}

.accent {
  color: #006537;
  /* 원하는 색 */
  font-weight: 800;
}

.vision-en:hover .accent {
  color: #e4007f;
}

.vision-ko {
  margin: 0;
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.6;
  font-weight: 300;
  color: #6d6e71;
}

.vision-right p:last-child {
  margin-bottom: 0;
}

/* =========================
   Work
   ========================= */

.about-work {
  position: relative;
  background: #ffffff;
  z-index: 3;
  min-height: 100vh;
  padding: 0;
  overflow: visible;
  left: calc(var(--about-center-shift) + 72px);
}

.about-work::before {
  content: "";
  position: absolute;
  top: -140px;
  left: 0;
  width: 100%;
  height: 140px;
  pointer-events: none;
  z-index: 4;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.18) 22%,
      rgba(255, 255, 255, 0.45) 48%,
      rgba(255, 255, 255, 0.78) 74%,
      rgba(255, 255, 255, 1) 100%);
}

.about-work .work-header,
.about-work .work-body-wrap {
  transform: scale(0.92);
  transform-origin: top left;
}

/* 전체 기준폭: vision과 동일 흐름 */
.work-header,
.work-body-wrap {
  width: 100%;
  box-sizing: border-box;
  left: 0;
  position: relative;
}

/* -------------------------
   바깥 프레임
   ------------------------- */
.work-frame {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* -------------------------
   고정 헤더
   ------------------------- */
.work-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;

  display: grid;
  grid-template-columns: 470px 1fr;
  column-gap: 110px;
  align-items: start;

  padding-top: 96px;
  padding-bottom: 22px;
}

.work-title {
  margin: 0 0 0 120px;
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(45px, 3vw, 70px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111111;
  line-height: 1;
}

.work-category-wrap {
  display: flex;
  align-items: flex-end;
  min-height: 52px;
  padding-left: var(--about-right-offset);
}

.work-category {
  margin: 0;
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(30px, 2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #006537;
  line-height: 1.1;
}

/* 회색 divider + 초록 active */
.work-divider {
  grid-column: 2 / 3;
  position: relative;
  height: 1px;
  margin-top: 0;
  background: #d9d9d9;
  overflow: visible;
  margin-left: var(--about-right-offset);
  width: calc(100% - var(--about-right-offset));
}

.work-divider-active {
  position: absolute;
  left: 0;
  top: 50%;
  width: 170px;
  height: 4px;
  background: #006537;
  transform: translateY(-50%);
}

/* -------------------------
   스크롤 영역 바깥 래퍼
   ------------------------- */
.work-body-wrap {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 470px 1fr;
  column-gap: 110px;
  align-items: start;
  min-height: 0;
  margin-top: 50px;
}

/* 왼쪽은 빈 공간 유지 */
.work-body-left {
  min-height: 1px;
}

/* 오른쪽 리스트 스크롤 영역 */
.work-body {
  height: auto;
  overflow: visible;
  padding-top: 18px;
  padding-right: 6px;
  box-sizing: border-box;
  perspective: 1200px;
  position: relative;
  padding-left: var(--about-right-offset);
}

.work-body::-webkit-scrollbar {
  width: 6px;
}

.work-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 999px;
}

.work-body::-webkit-scrollbar-track {
  background: transparent;
}

/* 각 카테고리 구간 */
.work-section {
  padding-bottom: 64px;
}

.work-section+.work-section {
  margin-top: 10px;
}

.work-section-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 1040px;
  margin: 24px 0 18px;
}

.work-section-divider::before,
.work-section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #dcdcdc;
}

.work-section-divider span {
  font-family: 'Pretendard', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #8f9b95;
  white-space: nowrap;
}

/* 리스트 */
.work-list {
  max-width: 660px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* 프로젝트 항목 */
.work-item {
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

/* 프로젝트 제목 */
.work-item .work-title-text {
  font-family: 'Pretendard', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #57595b;
  line-height: 1.45;
  margin: 0 0 6px;
  transition:
    transform 0.28s ease,
    color 0.28s ease,
    font-size 0.28s ease;
  transform-origin: left center;
}

/* 설명 */
.work-item .work-desc {
  font-family: 'Pretendard', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.6;
  color: #b1beb8;
  margin: 0 0 6px;
  transition: color 0.28s ease, opacity 0.28s ease;
}

/* 연도 */
.work-item .work-year {
  font-family: 'Pretendard', sans-serif;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #b1beb8;
  line-height: 1.2;
  margin: 0;
  transition: color 0.28s ease, opacity 0.28s ease;
}

.work-item:hover {
  transform: translateY(-2px);
}

.work-item:hover .work-title-text {
  transform: scale(1.06);
  color: #000000;
}

.work-item:hover .work-desc,
.work-item:hover .work-year {
  color: #006537;
}

/* -------------------------
   반응형
   ------------------------- */
@media (max-width: 1024px) {

  .about-work .work-header,
  .about-work .work-body-wrap {
    max-width: none;
    padding-left: 40px;
    padding-right: 40px;
  }

  .work-header,
  .work-body-wrap {
    grid-template-columns: 320px 1fr;
    column-gap: 60px;
  }

  .work-list {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .about-work {
    min-height: auto;
  }

  .about-work .work-header,
  .about-work .work-body-wrap {
    padding-left: 24px;
    padding-right: 24px;
  }

  .work-header,
  .work-body-wrap {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .work-divider {
    grid-column: auto;
  }

  .work-body {
    height: auto;
    max-height: none;
    overflow: visible;
    padding-top: 12px;
    padding-right: 0;
  }

  .work-title {
    font-size: 42px;
  }

  .work-category {
    font-size: 28px;
    letter-spacing: -1.0px;
  }

  .work-item .work-title-text {
    font-size: 20px;
  }

  .work-item .work-desc {
    font-size: 16px;
  }

  .work-item .work-year {
    font-size: 22px;
  }
}

/* Ending */
.about-ending {
  position: relative;
  min-height: 70vh;
  background: #ffffff;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 0 32px;
  box-sizing: border-box;
}

.about-ending-reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(24px);
  transition:
    opacity 1.5s ease,
    filter 1.5s ease,
    transform 1.5s ease;
  will-change: opacity, filter, transform;
}

.about-ending-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}


.about-ending-copy {
  min-height: calc(100vh - 280px);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.92);
  transform-origin: center center;
}

.about-ending-title {
  width: 100%;
  text-align: center;
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.35;
  font-weight: 800;
  color: #111111;
}

.about-inner--footer {
  width: min(1720px, calc(100% - 120px));
  margin: 0 auto;
  position: relative;
}

.about-ending-footer {
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  padding-left: 78px;
  /* 아이콘 레일 보정 */
  padding-right: 60px;
  box-sizing: border-box;
}

.about-ending-footer .home-footer-card {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;

  width: 100%;
  min-height: 270px;
  margin: 0 auto;

  border-radius: 36px 36px 0 0;
}

.about-ending-support {
  font-family: 'Pretendard', sans-serif;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #ffffff;
  cursor: pointer;
}

.about-ending-support:hover {
  opacity: 0.8;
}