@charset "utf-8";

/* ========== gradient ========== */
@keyframes moveInCircle {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(180deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes moveVertical {
  0% {
    transform: translateY(-50%);
  }

  50% {
    transform: translateY(50%);
  }

  100% {
    transform: translateY(-50%);
  }
}

@keyframes moveHorizontal {
  0% {
    transform: translateX(-50%) translateY(-10%);
  }

  50% {
    transform: translateX(50%) translateY(10%);
  }

  100% {
    transform: translateX(-50%) translateY(-10%);
  }
}

.gradient-bg {
  width: 100vw;
  height: 100vh;
  position: fixed;
  overflow: hidden;
  background: linear-gradient(40deg, var(--mainBlack), var(--mainBlack));
  top: 0;
  left: 0;
  z-index: -100;
}

.svgBlur {
  display: none;
}

.noiseBg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  mix-blend-mode: soft-light;
  opacity: 0.3;
}

.gradients-container {
  filter: url(#goo) blur(40px);
  width: 100%;
  height: 100%;
}

.g1,
.g2,
.g3,
.g4,
.g5,
.interactive {
  position: absolute;
  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2);
  left: calc(50% - var(--circle-size) / 2);
  mix-blend-mode: var(--blending);
  background: radial-gradient(circle at center, rgba(var(--color1), 0.8) 0, rgba(var(--color1), 0) 50%) no-repeat;
  opacity: 1;
}

.g1 {
  background: radial-gradient(circle at center, rgba(var(--color1), 0.8) 0, rgba(var(--color1), 0) 50%) no-repeat;
  animation: moveVertical 30s ease infinite;
}

.g2 {
  background: radial-gradient(circle at center, rgba(var(--color2), 0.8) 0, rgba(var(--color2), 0) 50%) no-repeat;
  transform-origin: calc(50% - 400px);
  animation: moveInCircle 20s reverse infinite;
}

.g3 {
  background: radial-gradient(circle at center, rgba(var(--color3), 0.8) 0, rgba(var(--color3), 0) 50%) no-repeat;
  top: calc(50% - var(--circle-size) / 2 + 200px);
  left: calc(50% - var(--circle-size) / 2 - 500px);
  transform-origin: calc(50% + 400px);
  animation: moveInCircle 40s linear infinite;
}

.g4 {
  background: radial-gradient(circle at center, rgba(var(--color4), 0.8) 0, rgba(var(--color4), 0) 50%) no-repeat;
  transform-origin: calc(50% - 200px);
  animation: moveHorizontal 40s ease infinite;
  opacity: 0.7;
}

.g5 {
  background: radial-gradient(circle at center, rgba(var(--color5), 0.8) 0, rgba(var(--color5), 0) 50%) no-repeat;
  width: calc(var(--circle-size) * 2);
  height: calc(var(--circle-size) * 2);
  top: calc(50% - var(--circle-size));
  left: calc(50% - var(--circle-size));
  transform-origin: calc(50% - 800px) calc(50% + 200px);
  animation: moveInCircle 20s ease infinite;
}

.interactive {
  width: 100%;
  height: 100%;
  top: -50%;
  left: -50%;
  background: radial-gradient(circle at center, rgba(var(--color-interactive), 0.8) 0, rgba(var(--color-interactive), 0) 50%) no-repeat;
  opacity: 0.7;
}



/* ========== header ========== */
.header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 55px;
  z-index: 3000;
  margin-top: 25px;

  padding: 0 112px;
}

.header .h_inner {
  position: relative;
  max-width: 1600px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 32px;
  background-color: rgba(3, 25, 99, 0.49);
  border-radius: 100px;
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  backdrop-filter: blur(8px) saturate(120%);
}

.header .h_logo>a>img {
  width: auto;
  height: 30px;
}

.header .h_nav {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 15px 40px;
  margin: 0 auto;
  gap: 80px;
}

.header .h_nav>li>a>span {
  color: var(--mainWhite);
  font-weight: 400;
  font-size: clamp(14px, 1.4vw, 18px);
  transition: color 0.3s;
}

.header .h_nav>li>a>span:hover {
  color: var(--mainBlue-2);
}

.header .h_side {
  display: flex;
  gap: 20px;
}

.header .h_side>a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.nav_team{
  padding-bottom: 3px;
  border-bottom: 1px solid var(--neutral-white-08);
}

.hamburger {
  display: none;
  width: 32px;
  /* 모바일에서 보기 좋게 키움 */
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 3001;
  /* 햄버거/X 버튼이 항상 오버레이 위에 보이도록 */
}

.hamburger span {
  position: absolute;
  width: 100%;
  height: 4px;
  /* 막대 두께도 키움 */
  background: var(--mainWhite);
  border-radius: 2px;
  left: 0;
  transition: 0.3s;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 10px;
}

.hamburger span:nth-child(3) {
  top: 20px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

.menu_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.menu_overlay.active {
  display: flex;
}

.menu_content {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.menu_content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu_content ul li {
  margin: 20px 0;
}

.menu_content ul li a {
  color: white;
  font-size: calc(80vw/var(--basicSize));
  text-decoration: none;
}

.menu_sns {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.menu_sns a img {
  width: 28px;
  /* 아이콘도 약간 키움 */
  height: 28px;
}

@media (max-width: 1600px) {
  .header .h_nav {
    gap: 60px;
  }

  .header .h_inner {
    padding: 0 40px;
    max-width: 1400px;
  }
}

@media (max-width: 1440px) {
  .header .h_nav {
    gap: 40px;
  }

  .header .h_nav>li>a>span {
    font-size: 14px;
  }

  .header .h_inner {
    padding: 0 32px;
    max-width: 1280px;
  }
}

@media (max-width: 1300px) {
  .header .h_inner {
    max-width: 1150px;
  }
}

@media (max-width: 1024px) {
  .header {
    padding: 0 72px;
  }

  .header .h_nav {
    gap: 30px;
  }

  .header .h_side {
    gap: 15px;
  }

  .header .h_inner {
    padding: 0 24px;
    max-width: 100%;
  }

  .header .h_logo>a>img {
    height: 26px;
  }

  /* 모바일 로고 크기 조절 */
}
@media (max-width: 767px) {
  .header {
    margin-top: 0;
    height: 50px;
    padding: 0;
  }

  .header .h_inner {
    padding: 0 15px;
    border-radius: 0;
  }

  .header .h_logo>a>img {
    height: 22px;
  }

  /* 모바일 로고 크기 조절 */
  .h_nav,
  .h_side {
    display: none !important;
  }

  .hamburger {
    display: block;
    width: 18px;
    height: 16px;
  }

  .hamburger span {
    height: 1.5px;
  }

  .hamburger span:nth-child(1) {
    top: 0;
  }

  .hamburger span:nth-child(2) {
    top: 8px;
  }

  .hamburger span:nth-child(3) {
    top: 16px;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
  }
}

@media screen and (max-width: 1100px) {
    :root {
        --basicSize: 11;
    }
}
:root {
    --basicSize: 19;
}


/* ========== team ========== */

.team_wrap {
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  padding: var(--wrap-gap);
}

.title_text {
  text-align: center;
}

.title_text .eyebrow {
  display: block;
  text-align: center;
  font-size: var(--default-font-size);
  color: var(--neutral-white-08);
  padding-bottom: var(--eyebrow-gap);
}

.title_text .headline {
  color: var(--mainWhite);
  font-weight: bold;
  font-size: var(--title2x-font-size);
  padding-bottom: var(--title-gap);
}

.title_text .sub {
  margin: 0 auto;
  text-align: center;
  color: var(--neutral-white-08);
  font-size: var(--default-font-size);
  padding-bottom: var(--subtitle-gap);
}

/* 반응형 */
@media (max-width: 1024px) {
  .sub_wrap {
    padding: var(--responsieve-wrap-gap);
  }
}


.team_wrap .bg-watermark {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 360px;
  font-weight: 900;
  font-size: clamp(120px, 18vw, 280px);
  letter-spacing: .1em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, .06);
  pointer-events: none;
  user-select: none;
}

/* ========== FLEX layout (3→2→1) ========== */
.card_wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  max-width: 1100px;
  margin-inline: auto;
  gap: 50px;
}

/* 데스크탑: 3열 */
.card_wrap .card {
  flex: 0 1 calc((100% - 2 * var(--gap)) / 3);
  max-width: 360px;
  gap: 50px;
}

/* 태블릿: 2열 */
@media (max-width: 1024px) {
  .card_wrap {
    justify-content: center;
  }
  .title_text .headline {
  font-size: var(--title1x-font-size);
}
  .card_wrap .card {
    flex-basis: calc((70% - 30px) / 2);
  }
}

/* 모바일: 1열 */
@media (max-width: 680px) {
  .card_wrap .card {
    flex-basis: 100%;
  }

}

.card_wrap.stagger .card:nth-child(2) {
  --offset: 80px;
}

.card_wrap.stagger .card:nth-child(5) {
  --offset: 80px;
}

.card_wrap.is-five.stagger .card {
  --offset: 0px;
}

/* Card */
.card {
  --offset: 0px;
  /* 스태거/정렬용 기본 오프셋 */
  --hover-lift: -4px;
  /* 호버 시 살짝 떠오름 */
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  color: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
  transform: translateY(var(--offset));
}

.card:hover {
  transform: translateY(calc(var(--offset) + var(--hover-lift)));
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}

.card_content .desc {
  display: none;
  margin-top: 10px;
  font-size: var(--default-font-size);
  line-height: 1.5;
  color: #eee;
}

.card:hover::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--mainBlue-2);
  /* background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 30%, rgb(12, 26, 71) 80%); */
  z-index: 1;
}

.card:hover .card_content {
  position: absolute;
  top: 0%;
  left: 0%;
  background-color: transparent;
  text-align: left;
  padding: 30px;
  z-index: 120;
}

.card:hover .role{
  padding-bottom: 30px;
}


.card:hover .desc {
  display: block;
}

.card>img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(10, 26, 47, .9), rgba(30, 58, 138, .9));
  filter: grayscale(100%);
  transition: filter o.2s ease;
}

.card .card_content {
  padding: 18px 16px 24px;
  text-align: center;
}

.card .card_content h3 {
  padding-bottom: 5px;
  /* padding-bottom: var(--eyebrow-gap); */
  font-size: var(--default-font-size);
  font-weight: 700;
  color: var(--neutral-white);
}

.card .card_content p {
  margin: 0;
  font-size: var(--small-font-size);
  letter-spacing: .02em;
  color: rgba(255, 255, 255, 0.7);
}

.card>img {
  transition: filter 0.2s ease;
}

.card_wrap .card {
  min-width: 220px;
}

.card>img {
  aspect-ratio: 3/4;
}

.card_wrap.compact {
  --gap: 30px;
}

.card_wrap.compact .card {
  --hover-lift: -2px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
}


.card_wrap.compact.stagger .card:nth-child(2),
.card_wrap.compact.stagger .card:nth-child(5) {
  --offset: 40px;
}


/* 넓은 화면(1440px↑)에선 4열로 더 컴팩트하게 */
@media (min-width: 1440px) {
  .card_wrap .card {
    flex-basis: calc((100% - 3 * var(--gap)) / 4);
  }
}

/* 기존 너의 태블릿/모바일 브레이크포인트는 그대로 둬도 됨 */
/* ===== 1440px 이상에서도 3열 고정 + 여백 확대 ===== */
@media (min-width: 1440px) {
  .card_wrap {
    --gap: 50px;
    gap: var(--gap);
  }

  /* 48~64px 사이로 취향대로 조절 가능 */
  .card_wrap .card {
    flex-basis: calc((100% - 2 * var(--gap)) / 3);
    /* 3열 강제 */
  }
}




/* ========== footer ========== */
.footer {
  margin-top: auto;
  color: var(--neutral-white);
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0));
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer .f_inner {
  flex: 1;
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 50px;
  /* 위아래 패딩 추가 */
}

.footer_logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0 30px;
}

.footer_logo h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.footer_menu {
  display: flex;
  flex-wrap: wrap;
  /* 줄바꿈 허용 */
  justify-content: center;
  gap: 20px;
  /* 메뉴 간격 */
  margin: 20px 0;
  /* 위아래 여백 */
}

.footer_menu a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
}

/* ====== 태블릿 보완 ====== */
@media (max-width: 1024px) {
  .footer_logo h1 {
    font-size: 2rem;
  }

  .footer .f_inner {
    padding: 30px 50px;
  }

  .footer_menu {
    gap: 16px;
    margin: 16px 50px 0 0;
  }
}

/* ====== 모바일 보완 ====== */
@media (max-width: 768px) {
  .footer .f_inner {
    padding: 24px 32px;
  }

  .footer_menu {
    flex-direction: column;
    gap: 12px;
    margin: 16px 30px 0 0;
  }

  .footer_menu a {
    font-size: 0.95rem;
  }
}

.timeline_section {
  margin-top: 60px;
}

.timeline_container {
  position: relative;
  height: 300px;
  margin-bottom: 80px;
}

.timeline_line {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #aaa;
}

.timeline_item {
  position: absolute;
  top: 0;
  width: 22%;
}

.timeline_item .dot {
  width: 12px;
  height: 12px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 74px;
  /* 가로 레이아웃에서 수평 라인과 맞춤 */
  left: 0;
}

.timeline_item .year {
  margin-top: 100px;
  font-weight: 500;
}

.timeline_item h3 {
  margin: 6px 0;
  font-size: 1.1rem;
}

.timeline_item .desc {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.4;
}

.vision {
  text-align: left;
  padding-left: 10px;
}

.vision h2 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.vision p {
  font-size: 1.1rem;
  color: #ddd;
  line-height: 1.5;
}

.copyright {
  margin-top: 100px;
  font-size: 0.8rem;
  color: #777;
  text-align: left;
  padding-bottom: 60px;
}

/* ====== 반응형 보완: 태블릿 살짝 축소 ====== */
@media (max-width: 1024px) {
  .footer_logo h1 {
    font-size: 2rem;
  }

  .footer_menu a {
    margin-left: 20px;
  }
}

/* ====== 모바일: 세로 타임라인 ====== */
@media (max-width: 768px) {
  .timeline_container {
    --gutter: 14px;
    /* 라인/점 공통 x좌표 */
    height: auto;
    margin: 40px 0 60px;
  }

  .timeline_line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--gutter);
    right: auto;
    width: 1px;
    /* 픽셀 퍼펙트 정렬 */
    height: auto;
    background-color: #aaa;
  }

  .timeline_item {
    position: relative;
    top: auto;
    left: auto !important;
    /* 인라인 left 무력화 */
    width: 100%;
    margin: 24px 0 28px;
    padding-left: 0;
    /* 컨테이너와 좌표계 일치 */
  }

  .timeline_item .dot {
    width: 12px;
    height: 12px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 0.95em;
    /* 첫 줄 중심쯤 */
    left: var(--gutter);
    /* 라인과 완전 일치 */
    transform: translate(-50%, -50%);
  }

  /* 콘텐츠는 dot 오른쪽으로 밀기 */
  .timeline_item .year {
    margin-top: 0;
    font-weight: 600;
    margin-left: calc(var(--gutter) + 14px);
  }

  .timeline_item h3 {
    margin: 4px 0 0;
    margin-left: calc(var(--gutter) + 14px);
  }

  .timeline_item .desc {
    font-size: 0.95rem;
    margin-left: calc(var(--gutter) + 14px);
  }

  .vision {
    padding-left: 0;
  }

  .vision h2 {
    font-size: 1.4rem;
  }

  .vision p {
    font-size: 1rem;
  }

  .copyright {
    padding-bottom: 40px;
  }
}