/* aboutus.css (FINAL) */


/* =========================
   Base / Reset
========================= */
:root {
  --container: 1560px;
  --side-pad: 18px;


  --text: #222;
  --white: #fff;


  --line: rgba(34, 34, 34, 1);
  --line-inverse: rgba(255, 255, 255, 1);


  --radius: 8px;


  --banner-h: 420px;


  --card-bg: rgba(0, 0, 0, 0.4);
  --card-bg-hover: #fff;
  --card-text-hover: #222;


  /* &#9989; history token */
  --history-accent: #ff5a2b;
  --history-line: #ddd;


  /* &#9989; zigzag tuning */
  --history-gap: 26px;
  --history-center-gutter: 44px; /* Áß¾Ó ¶óÀÎ ±âÁØ ÁÂ/¿ì ¿©¹é */
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


a {
  color: inherit;
  text-decoration: none;
}


ul,
ol {
  list-style: none;
}


img {
  max-width: 100%;
  height: auto;
  display: block;
}


body {
  margin: 0;
  font-family: "Pretendard", sans-serif;
  color: var(--text);
  background: #fff;
}


/* &#9989; ½ºÅ©·ÑÀº À¯Áö + ½ºÅ©·Ñ¹Ù¸¸ ¼û±è(¼±ÅÃ) */
html,
body {
  -ms-overflow-style: none; /* IE/old Edge */
  scrollbar-width: none; /* Firefox */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
}


/* =========================
   Layout Helpers
========================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}


.section_head {
  display: flex;
  align-items: center;
  gap: 16px;
}


.section_kicker {
  font-size: clamp(1rem, 1.2vw, 1.3rem);
  white-space: nowrap;
}


.section_line {
  height: 1px;
  width: 100%;
  flex: 1;
  background: var(--line);
}


.section_head.is-inverse .section_kicker {
  color: var(--white);
}
.section_head.is-inverse .section_line {
  background: var(--line-inverse);
}


/* =========================
   Sub Banner
========================= */
.sub_banner {
  position: relative;
  width: 100%;
  height: var(--banner-h);
  background: url("/base_3/img/01.jpg") center/cover no-repeat;
  overflow: hidden;
}


.sub_banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}


.sub_banner__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}


.sub_banner__kicker {
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
}


.sub_banner__title {
  font-size: clamp(2.8rem, 5vw, 5rem);
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.05;
}


.sub_line {
  height: 1px;
  background-color: #fff;
  width: 100%;
}


/* =========================
   About
========================= */
.about,
.history {
  padding: clamp(70px, 7vw, 100px) 0;
}


.team_sec {
  padding: clamp(30px, 6vw, 80px) 0;
}


.team_con {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(18px, 3vw, 50px);
}


.team_text {
  text-align: center;
  background-image: url("/base_3/img/about_bg.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}


.team_text > img {
  max-width: 280px;
  margin: 0 auto;
}


.team_text > h2 {
  font-size: 2.8rem;
  margin-top: 18px;
  line-height: 1.25;
}


.team_img img {
  width: 100%;
  border-radius: var(--radius);
}


/* =========================
   Strength
========================= */
.strength {
  background: url("/base_3/img/str_bg.jpg") center/cover no-repeat;
  padding: clamp(70px, 7vw, 100px) 0;
}


.strength_title {
  margin-top: 10px;
  color: #fff;
  font-size: 3.4rem;
}


.strength_list {
  margin-top: clamp(28px, 4vw, 70px);
  display: flex;
  gap: 25px;
  align-items: stretch;
}


.strength_card {
  background-color: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px 26px;
  width: 100%;
  max-width: 370px;
  color: #fff;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}


.gif_box {
  width: 140px;
  margin: 0 auto;
}


.gif_box > img {
  width: 100%;
}


/* ±âº»: Èò gif */
.gif_c {
  display: none;
}
.gif_w {
  display: block;
}


/* &#9989; ¸ð¹ÙÀÏ ÅÇ(Å¬¸¯) ½Ã hover ´ëÃ¼ */
.strength_card.is-active {
  background-color: #fff;
  color: #222;
}


.strength_card.is-active .gif_c {
  display: block;
}
.strength_card.is-active .gif_w {
  display: none;
}


/* &#9989; hover °¡´ÉÇÑ µð¹ÙÀÌ½º¿¡¼­¸¸ hover Àû¿ë */
@media (hover: hover) and (pointer: fine) {
  .strength_card:hover {
    background-color: var(--card-bg-hover);
    color: var(--card-text-hover);
  }


  .strength_card:hover .gif_c {
    display: block;
  }
  .strength_card:hover .gif_w {
    display: none;
  }
}


.strength_card_title {
  margin-top: 10px;
  font-size: clamp(1.05rem, 1.6vw, 1.5rem);
  text-align: center;
  font-weight: 700;
}


.strength_bullets {
  margin-top: 16px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  padding-left: 1.2em;
}


.strength_bullets > li {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  list-style: disc;
  list-style-position: outside;
  line-height: 1.55;
}


/* =========================
   HISTORY (&#9989; ±³Â÷ Å¸ÀÓ¶óÀÎ)
========================= */


.his_title {
  margin-top: 10px;
  font-size: 3.4rem;
}


/* &#9989; Å¸ÀÓ¶óÀÎ ·¡ÆÛ: °¡¿îµ¥ Á¤·Ä + Áß¾Ó ¶óÀÎ */
.history_timeline {
  margin-top: clamp(24px, 4vw, 56px);


  /* &#9989; °¡¿îµ¥ Á¤·Ä */
  width: min(980px, 100%);
  margin-left: auto;
  margin-right: auto;


  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--history-gap);


  /* ¸ð¹ÙÀÏ ¾ÈÀü ¿©¹é */
  padding: 6px 0;
}


/* &#9989; Áß¾Ó ¼¼·Î ¶óÀÎ */
.history_timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--history-line);
  transform: translateX(-50%);
}


/* &#9989; ¾ÆÀÌÅÛ: 2ÄÃ·³(ÁÂ/¿ì) ±×¸®µå·Î ¸¸µé°í, ³»ºÎ ³»¿ëÀº ¼¼·Î ½ºÅÃ */
.timeline_item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}


.timeline_item img {
  margin: 15px 0;
}


/* &#9989; item ³»ºÎ ÄÜÅÙÃ÷ ¹Ú½º(³¯Â¥+¸®½ºÆ® ¹­À½) */
.timeline_item > .timeline_date,
.timeline_item > .timeline_list {
  /* ±âº»Àº ¿ÞÂÊ¿¡ ¹èÄ¡ */
  grid-column: 1;
  justify-self: end;
  text-align: right;
}


/* ³¯Â¥/¸®½ºÆ®¸¦ "ÇÑ µ¢¾î¸®"Ã³·³ º¸ÀÌ°Ô(À§¾Æ·¡ ¹èÄ¡) */
.timeline_date {
  font-size: 1rem;
  line-height: 1.1;
  font-weight: 700;
  white-space: nowrap;
  margin-bottom: 8px;
}


/* ³»¿ë */
.timeline_list {
  margin: 0;
  padding: 0;
  list-style: none;
}


.timeline_list > li {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #222;
  position: relative;
}


/* &#9989; Áß¾Ó µµÆ®(Ç×»ó Áß¾Ó ¶óÀÎ¿¡ ºÙÀÓ) */
.timeline_item::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.25rem;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--history-accent);
  box-sizing: border-box;
  transform: translateX(-50%);
}


/* &#9989; Áß¾Ó ¶óÀÎ°ú ÄÜÅÙÃ÷ »çÀÌ °£°Ý(ÁÂÃø ±âº») */
.timeline_item > .timeline_date,
.timeline_item > .timeline_list {
  padding-right: var(--history-center-gutter);
}


/* &#9989; Â¦¼ö ¾ÆÀÌÅÛÀº ¿À¸¥ÂÊÀ¸·Î ±³Â÷ ¹èÄ¡ */
.timeline_item:nth-child(even) > .timeline_date,
.timeline_item:nth-child(even) > .timeline_list {
  grid-column: 2;
  justify-self: start;
  text-align: left;
  padding-right: 0;
  padding-left: var(--history-center-gutter);
}


/* =========================
   Reveal Animation (Apple-like)
========================= */


/* initial */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}


/* directional nuance */
.timeline_item.left.reveal {
  transform: translateY(18px) translateX(-10px);
}
.timeline_item.right.reveal {
  transform: translateY(18px) translateX(10px);
}


/* active */
.reveal.is-in {
  opacity: 1;
  transform: translateY(0) translateX(0);
}


/* small stagger feel */
.timeline_item.reveal.is-in {
  transition-delay: var(--delay, 0ms);
}


.history_bg {
  max-width: 1560px;
  margin: 0 auto;
}
.history_bg > img {
  width: 100%;
  height: auto;
  text-align: center;
}
/* =========================
   Breakpoints
========================= */
@media (max-width: 1024px) {
  .team_text > h2 > br {
    display: none;
  }
  .team_con {
    flex-direction: column;
    align-items: center;
  }


  .strength_list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }


  .strength_card {
    max-width: none;
    padding: 22px;
    display: grid;
    grid-template-columns: 160px 1fr;
    grid-template-areas:
      "gif title"
      "gif list";
    column-gap: 15px;
    align-items: start;
  }


  .gif_box {
    grid-area: gif;
    width: 140px;
    margin: 0;
  }


  .strength_card_title {
    grid-area: title;
    text-align: left;
    margin-top: 0;
  }


  .strength_bullets {
    grid-area: list;
    width: auto;
    margin: 0;
    padding-left: 1.2em;
  }


  /* &#9989; history: Áß¾Ó ¿©¹é »ìÂ¦ ÁÙÀÌ±â */
  :root {
    --history-center-gutter: 36px;
  }
}


@media (max-width: 768px) {
  :root {
    --banner-h: 320px;
    --history-center-gutter: 26px;
  }


  .team_text > h2 > br {
    display: block;
  }


  .team_text > h2 {
    font-size: 2.5rem;
  }


  .strength_title,
  .his_title {
    font-size: 2.8rem;
  }


  .strength_list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }


  .strength_card {
    display: block;
  }


  .gif_box {
    width: 110px;
    margin: 0 auto;
  }


  .strength_card_title {
    text-align: center;
    margin-top: 10px;
  }


  .strength_bullets {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }


  /* &#9989; history: °£°Ý¸¸ Á¶±Ý ÃÎÃÎ */
  .history_timeline {
    gap: 20px;
  }
  .timeline_list > li {
    font-size: 1rem;
  }
}


@media (max-width: 425px) {
  :root {
    --banner-h: 250px;
  }


  .team_text > h2 {
    font-size: 2rem;
  }


  .team_text > img {
    max-width: 170px;
  }


  .strength_list {
    grid-template-columns: 1fr;
    gap: 12px;
  }


  .strength_card {
    padding: 18px 16px;
    display: grid;
    grid-template-columns: 120px 1fr;
    grid-template-areas:
      "gif title"
      "gif list";
    column-gap: 16px;
    row-gap: 8px;
  }


  .gif_box {
    grid-area: gif;
    width: 96px;
    margin: 0;
  }


  .strength_title,
  .his_title {
    font-size: 2.5rem;
  }


  .strength_card_title {
    grid-area: title;
    text-align: left;
    font-size: 1.05rem;
    margin-top: 0;
  }


  .strength_bullets {
    grid-area: list;
    width: auto;
    margin: 0;
    text-align: left;
    padding-left: 1.2em;
  }


  /* &#9989; history: ¸ð¹ÙÀÏ¿¡¼­´Â ±³Â÷ ÇØÁ¦(ÇÑ ÁÙ Å¸ÀÓ¶óÀÎ) */
  .history_timeline {
    width: 100%;
    padding-left: 46px; /* ¿ÞÂÊ ¶óÀÎ °ø°£ */
  }


  .history_timeline::before {
    left: 18px;
    transform: none;
  }


  .timeline_item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
  }


  /* &#9989; µµÆ®°¡ ÅØ½ºÆ®(³¯Â¥)¿Í °ãÄ¡Áö ¾Ê°Ô ¶óÀÎ À§Ä¡·Î ÀÌµ¿ */
  .timeline_item::before {
    left: -28px; /* 18(¶óÀÎ) - 46(padding-left) */
    transform: translateX(-50%); /* µµÆ® Áß½ÉÀ» ¶óÀÎ¿¡ */
  }


  .timeline_item > .timeline_date,
  .timeline_item > .timeline_list,
  .timeline_item:nth-child(even) > .timeline_date,
  .timeline_item:nth-child(even) > .timeline_list {
    text-align: left;
    padding: 0;
  }
}