@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_medium{
  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;
}



/* ========== medium ========== */
.medium_wrap {
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  padding: var(--wrap-gap);

  display: flex;
  flex-direction: column;
  align-items: center;
}

.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) {
  .port_wrap {
    padding: var(--responsieve-wrap-gap);
  }

  .title_text .headline {
    font-size: var(--title1x-font-size);
    width: 100%;
    max-width: calc(2200vw/var(--basicSize));
  }

  .meta .desc {
    padding: 0 50px !important;
  }
  
}



/* grid */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 기본 3열 */
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    justify-content: center;
}

@media (max-width: 1200px) {
    .grid {
        grid-template-columns: repeat(2, 1fr); /* 1200px 이하 → 2열 */
    }
}

@media (max-width: 800px) {
    .grid {
        grid-template-columns: 1fr; /* 800px 이하 → 1열 */
    }
}

.card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;

  /* background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); */

  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);
  color: var(--neutral-white);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.date {
  font-size: var(--tiny-font-size);
  /* color: var(--gray); */
  color: var(--neutral-white-08);
  margin-bottom: 15px;
}

.thumbnail-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
}

.thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.title {
  font-size: var(--default-font-size);
  font-weight: bold;
  /* color: var(--mainBlack); */
  margin-bottom: 10px;
}

.excerpt {
  flex-grow: 1;
  font-size: var(--small-font-size);
  /* color: var(--neutral-black-05); */
  color: var(--neutral-white-08);
  margin-bottom: 20px;
  overflow: hidden;
  max-height: 4.2em;
  /* 3줄 제한 */
}

.read-more {
  align-self: flex-start;
  padding: 10px 20px;
  margin-bottom: 15px;
  border: 1px solid var(--neutral-white);
  /* background: #0077cc; */
  color: #fff;
  font-size: var(--small-font-size);
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s;
}

.read-more:hover {
  background: var(--mainBlue-1);
}



/* ========== 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 {
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 50px;
  /* 위아래 패딩 추가 */
  flex: 1;
}

.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;
  }
}