/* Homepage company-story sections only. Does not restyle hero or .hs-story. */

.hs-home .hc-sec {
  --hc-in: 1;
  --hc-plus: 1;
  --hc-def: 1;
  --hc-merge: 1;
  --hc-end: 1;
  position: relative;
  color: #f5f5f5;
  background: #080808;
  overflow: clip;
}

.hs-home .hc-kicker {
  margin: 0 0 1.15rem;
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.48);
}

.hs-home .hc-title {
  margin: 0 0 1.15rem;
  font-size: clamp(2.15rem, 5.4vw, 4.25rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.12;
  word-break: keep-all;
}

.hs-home .hc-lead {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(0.98rem, 1.4vw, 1.125rem);
  line-height: 1.72;
  color: rgba(245, 245, 245, 0.72);
  word-break: keep-all;
}

.hs-home .hc-lead--2 {
  margin-top: 0.85rem;
}

.hs-home .hc-inner {
  width: min(1120px, calc(100% - clamp(1.25rem, 4vw, 2.5rem) * 2));
  margin-inline: auto;
  padding-block: clamp(4.5rem, 10vh, 7.5rem);
}

.hs-home .hc-inner--center {
  text-align: center;
}

.hs-home .hc-inner--center .hc-lead,
.hs-home .hc-inner--center .hc-kicker {
  margin-left: auto;
  margin-right: auto;
}

.hs-home .hc-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hs-home .hc-sec .hs-story__cta {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.hs-home .hc-sec .hs-story__cta:hover {
  background: #f3f3f3;
  color: #111;
  transform: translateY(-1px);
}

.hs-home .hc-sec .hs-story__cta--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.hs-home .hc-sec .hs-story__cta--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
}

/* ===== NEW + ON ===== */
.hs-home .hc-meaning {
  background:
    linear-gradient(180deg, #050505 0%, #080808 28%, #0a0a0a 100%);
}

.hs-home .hc-meaning__track {
  min-height: 180svh;
}

.hs-home .hc-meaning__sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(52rem, calc(100% - clamp(1.25rem, 4vw, 2.5rem) * 2));
  margin-inline: auto;
  padding: calc(var(--gnav-h, 74px) + 1.25rem) 0 2.5rem;
  text-align: center;
}

.hs-home .hc-meaning__brand {
  position: relative;
  margin: 0 0 1.15rem;
  min-height: clamp(4.6rem, 14vw, 8.4rem);
  display: grid;
  place-items: center;
}

.hs-home .hc-formula,
.hs-home .hc-wordmark {
  grid-area: 1 / 1;
  margin: 0;
  font-family: "Noto Sans", "Noto Sans KR", "Pretendard", sans-serif;
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.92;
  white-space: nowrap;
}

.hs-home .hc-formula {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.18em;
  font-size: clamp(3.4rem, 12vw, 7.4rem);
  opacity: calc(1 - var(--hc-merge));
  transform: scale(calc(1 - (var(--hc-merge) * 0.06)));
}

.hs-home .hc-formula__new,
.hs-home .hc-formula__on,
.hs-home .hc-formula__plus {
  display: inline-block;
}

.hs-home .hc-formula__new {
  opacity: var(--hc-in);
  transform: translateX(calc((1 - var(--hc-in)) * -2.4rem));
}

.hs-home .hc-formula__on {
  opacity: var(--hc-in);
  transform: translateX(calc((1 - var(--hc-in)) * 2.4rem));
}

.hs-home .hc-formula__plus {
  opacity: var(--hc-plus);
  transform: translateY(calc((1 - var(--hc-plus)) * 0.55rem));
  color: rgba(245, 245, 245, 0.72);
}

.hs-home .hc-wordmark {
  font-size: clamp(4.4rem, 16vw, 8.6rem);
  opacity: var(--hc-merge);
  transform: translateY(calc((1 - var(--hc-merge)) * 16px));
}

.hs-home .hc-meaning__slogan {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.3;
  word-break: keep-all;
  opacity: var(--hc-end);
  transform: translateY(calc((1 - var(--hc-end)) * 18px));
}

.hs-home .hc-meaning__intro {
  margin: 0 auto 1.6rem;
  max-width: 34rem;
  font-size: clamp(0.95rem, 1.4vw, 1.0625rem);
  line-height: 1.7;
  color: rgba(245, 245, 245, 0.7);
  word-break: keep-all;
  opacity: var(--hc-end);
}

.hs-home .hc-meaning__defs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  width: 100%;
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  opacity: var(--hc-def);
  transform: translateY(calc((1 - var(--hc-def)) * 18px));
}

.hs-home .hc-def {
  text-align: left;
}

.hs-home .hc-def__en {
  margin: 0 0 0.45rem;
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  color: rgba(245, 245, 245, 0.46);
}

.hs-home .hc-def__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

.hs-home .hc-def__body {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(245, 245, 245, 0.66);
  word-break: keep-all;
}

.hs-home .hc-meaning__eq {
  margin: 0 0 0.4rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: rgba(245, 245, 245, 0.5);
  opacity: var(--hc-end);
}

.hs-home .hc-meaning__close {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.45;
  word-break: keep-all;
  opacity: var(--hc-end);
  transform: translateY(calc((1 - var(--hc-end)) * 14px));
}

/* ===== VISION ===== */
.hs-home .hc-vision {
  background: #ffffff;
  color: #111111;
}

.hs-home .hc-vision .hc-inner {
  padding-bottom: clamp(3.5rem, 7vh, 5rem);
}

.hs-home .hc-vision .hc-title,
.hs-home .hc-vision .hc-kicker {
  color: #111111;
}

.hs-home .hc-vision .hc-kicker {
  color: rgba(17, 17, 17, 0.42);
}

.hs-home .hc-vision .hc-lead {
  color: rgba(17, 17, 17, 0.62);
}

.hs-home .hc-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(2.5rem, 6vh, 3.75rem);
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.hs-home .hc-pillar {
  padding: 1.5rem 1.35rem 0.25rem 0;
  border-right: 1px solid rgba(17, 17, 17, 0.1);
  transition: border-color 0.25s ease;
}

.hs-home .hc-pillar:last-child {
  border-right: 0;
  padding-right: 0;
}

.hs-home .hc-pillar:first-child {
  padding-left: 0;
}

.hs-home .hc-pillar + .hc-pillar {
  padding-left: 1.5rem;
}

.hs-home .hc-pillar__n {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  color: rgba(17, 17, 17, 0.42);
}

.hs-home .hc-pillar__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  transition: color 0.25s ease;
  word-break: keep-all;
}

.hs-home .hc-pillar__body {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(17, 17, 17, 0.58);
  word-break: keep-all;
}

.hs-home .hc-pillar:hover {
  border-right-color: rgba(17, 17, 17, 0.28);
}

.hs-home .hc-pillar:hover .hc-pillar__title {
  color: #000;
}

/* ===== ECOSYSTEM ===== */
.hs-home .hc-eco {
  background: #0a0a0a;
}

.hs-home .hc-eco__brand {
  margin: 0 0 1.1rem;
  font-size: clamp(2.4rem, 8vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.hs-home .hc-eco__note {
  margin: 1.1rem auto 0;
  max-width: 34rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(245, 245, 245, 0.48);
  word-break: keep-all;
}

.hs-home .hc-eco__names {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0;
  list-style: none;
  margin: 2rem auto 1.75rem;
  padding: 0;
}

.hs-home .hc-eco__name {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  color: rgba(245, 245, 245, 0.78);
}

.hs-home .hc-eco__name + .hc-eco__name::before {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: 1px;
  margin: 0 0.7rem;
  background: rgba(255, 255, 255, 0.28);
}

.hs-home .hc-eco .hc-actions {
  justify-content: center;
}

/* ===== ABOUT ===== */
.hs-home .hc-about {
  background: #070707;
}

.hs-home .hc-inner--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1.75rem, 5vw, 3.5rem);
  align-items: end;
}

.hs-home .hc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.hs-home .hc-actions--about {
  justify-content: flex-end;
}

/* Inner reveal (used by home-company.js) */
.hs-home .hc-vision .hc-title,
.hs-home .hc-vision .hc-lead,
.hs-home .hc-vision .hc-pillar,
.hs-home .hc-eco .hc-eco__brand,
.hs-home .hc-eco .hc-title,
.hs-home .hc-eco .hc-lead,
.hs-home .hc-eco .hc-eco__names,
.hs-home .hc-eco .hc-actions,
.hs-home .hc-about .hc-title,
.hs-home .hc-about .hc-lead,
.hs-home .hc-about .hc-actions {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hs-home .hc-vision.is-in .hc-title,
.hs-home .hc-vision.is-in .hc-lead,
.hs-home .hc-vision.is-in .hc-pillar,
.hs-home .hc-eco.is-in .hc-eco__brand,
.hs-home .hc-eco.is-in .hc-title,
.hs-home .hc-eco.is-in .hc-lead,
.hs-home .hc-eco.is-in .hc-eco__names,
.hs-home .hc-eco.is-in .hc-actions,
.hs-home .hc-about.is-in .hc-title,
.hs-home .hc-about.is-in .hc-lead,
.hs-home .hc-about.is-in .hc-actions {
  opacity: 1;
  transform: none;
}

.hs-home .hc-vision.is-in .hc-lead { transition-delay: 0.1s; }
.hs-home .hc-vision.is-in .hc-lead--2 { transition-delay: 0.18s; }
.hs-home .hc-vision.is-in .hc-pillar:nth-child(1) { transition-delay: 0.22s; }
.hs-home .hc-vision.is-in .hc-pillar:nth-child(2) { transition-delay: 0.32s; }
.hs-home .hc-vision.is-in .hc-pillar:nth-child(3) { transition-delay: 0.42s; }

.hs-home .hc-eco.is-in .hc-title { transition-delay: 0.1s; }
.hs-home .hc-eco.is-in .hc-lead { transition-delay: 0.18s; }
.hs-home .hc-eco.is-in .hc-lead--2 { transition-delay: 0.26s; }
.hs-home .hc-eco.is-in .hc-eco__names { transition-delay: 0.34s; }
.hs-home .hc-eco.is-in .hc-actions { transition-delay: 0.46s; }

.hs-home .hc-about.is-in .hc-lead { transition-delay: 0.1s; }
.hs-home .hc-about.is-in .hc-lead--2 { transition-delay: 0.18s; }
.hs-home .hc-about.is-in .hc-actions { transition-delay: 0.28s; }

@media (max-width: 860px) {
  .hs-home .hc-meaning__track {
    min-height: 0;
  }
  .hs-home .hc-meaning__sticky {
    position: relative;
    min-height: 0;
    padding-top: clamp(4.5rem, 10vh, 6rem);
    padding-bottom: clamp(3.5rem, 8vh, 5.5rem);
  }
  .hs-home .hc-formula {
    font-size: clamp(2.6rem, 16vw, 4.4rem);
  }
  .hs-home .hc-wordmark {
    font-size: clamp(3.4rem, 20vw, 5.4rem);
  }
  .hs-home .hc-formula__new,
  .hs-home .hc-formula__on {
    transform: translateY(calc((1 - var(--hc-in)) * 12px));
  }
  .hs-home .hc-meaning__defs {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 1.35rem;
  }
  .hs-home .hc-pillars {
    grid-template-columns: 1fr;
    border-top: 0;
  }
  .hs-home .hc-pillar,
  .hs-home .hc-pillar + .hc-pillar {
    padding: 1.35rem 0;
    border-right: 0;
    border-top: 1px solid rgba(17, 17, 17, 0.12);
  }
  .hs-home .hc-inner--split {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .hs-home .hc-actions--about {
    justify-content: flex-start;
  }
  .hs-home .hc-eco__name + .hc-eco__name::before {
    width: 1rem;
    margin: 0 0.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hs-home .hc-sec {
    --hc-in: 1;
    --hc-plus: 1;
    --hc-def: 1;
    --hc-merge: 1;
    --hc-end: 1;
  }
  .hs-home .hc-meaning__track {
    min-height: 0;
  }
  .hs-home .hc-meaning__sticky {
    position: relative;
    min-height: 0;
    padding-block: clamp(4.5rem, 10vh, 6.5rem);
  }
  .hs-home .hc-vision .hc-title,
  .hs-home .hc-vision .hc-lead,
  .hs-home .hc-vision .hc-pillar,
  .hs-home .hc-eco .hc-eco__brand,
  .hs-home .hc-eco .hc-title,
  .hs-home .hc-eco .hc-lead,
  .hs-home .hc-eco .hc-eco__names,
  .hs-home .hc-eco .hc-actions,
  .hs-home .hc-about .hc-title,
  .hs-home .hc-about .hc-lead,
  .hs-home .hc-about .hc-actions,
  .hs-home .hc-formula,
  .hs-home .hc-wordmark,
  .hs-home .hc-formula__new,
  .hs-home .hc-formula__on,
  .hs-home .hc-formula__plus {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
