/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ===== Tokens ===== */
:root {
  --c-white: #fff;
  --c-black: #111;
  --c-text-sub: #555;
  --c-text-muted: #9a9a9a;
  --c-line: #e8e8e8;
  --c-surface: #f2f3f5;

  --header-h: 60px;
  --gutter: 20px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 투명 Header가 올라가는 Hero가 없는 페이지는 Header 높이만큼 아래로 */
body {
  padding-top: var(--header-h);
}

body.has-overlay-header {
  padding-top: 0;
}

body.is-menu-locked {
  overflow: hidden;
}

/* ===== Header ===== */
.site-header {
  --fg: var(--c-black);
  --fg-muted: var(--c-text-muted);
  --bar-bg: var(--c-white);
  --bar-line: transparent;

  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--fg);
}

.site-header.is-scrolled,
.site-header.is-open {
  --bar-line: var(--c-line);
}

/* Hero 위 투명 상태 (스크롤 전 + 메뉴 닫힘) */
.site-header.is-transparent:not(.is-scrolled):not(.is-open) {
  --bar-bg: transparent;
}

.site-header.is-transparent[data-tone="light"]:not(.is-scrolled):not(.is-open) {
  --fg: var(--c-white);
  --fg-muted: rgba(255, 255, 255, 0.55);
}

.site-header__bar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  height: var(--header-h);
  padding: 0 var(--gutter);
  background-color: var(--bar-bg);
  border-bottom: 1px solid var(--bar-line);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.site-header__logo {
  justify-self: start;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--fg);
  transition: color 0.35s var(--ease);
}

/* GNB: Mobile/Tablet에서는 전체 메뉴 버튼으로 대체 */
.gnb {
  display: none;
}

.gnb__list {
  display: flex;
  gap: clamp(36px, 4.6vw, 72px);
}

.gnb__link {
  position: relative;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--fg);
  transition: color 0.35s var(--ease);
}

.gnb__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}

.gnb__link:hover::after,
.gnb__link:focus-visible::after,
.gnb__link.is-active::after {
  transform: scaleX(1);
}

.site-header__util {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 16px;
}

.site-header__divider {
  display: none;
  width: 1px;
  height: 22px;
  background-color: var(--fg-muted);
  opacity: 0.6;
}

.lang {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.lang__item {
  color: var(--fg-muted);
  transition: color 0.3s var(--ease);
}

.lang__item.is-active,
.lang__item:hover {
  color: var(--fg);
}

.lang__sep {
  width: 1px;
  height: 9px;
  background-color: var(--fg-muted);
  opacity: 0.6;
}

/* 메뉴 버튼: 기본은 원형 + 두 줄, 열리면 X */
.menu-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--c-black);
  border: 1px solid var(--c-black);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.menu-btn__line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 1px;
  margin-left: -8px;
  background-color: var(--c-white);
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
}

.menu-btn__line:nth-child(1) {
  transform: translateY(-3px);
}

.menu-btn__line:nth-child(2) {
  transform: translateY(3px);
}

.site-header.is-transparent[data-tone="light"]:not(.is-scrolled):not(.is-open) .menu-btn {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.85);
}

.site-header.is-open .menu-btn {
  background-color: transparent;
  border-color: transparent;
}

.site-header.is-open .menu-btn__line {
  width: 22px;
  margin-left: -11px;
  background-color: var(--c-black);
}

.site-header.is-open .menu-btn__line:nth-child(1) {
  transform: rotate(45deg);
}

.site-header.is-open .menu-btn__line:nth-child(2) {
  transform: rotate(-45deg);
}

/* ===== Mega Menu ===== */
.mega {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  background-color: var(--c-white);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}

.site-header.is-open .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
}

.mega__intro {
  display: none;
}

.mega__cols {
  display: grid;
  grid-template-columns: 1fr;
  padding: 8px var(--gutter) 40px;
}

.mega__col {
  padding: 24px 0;
  border-bottom: 1px solid var(--c-line);
}

.mega__col:last-child {
  border-bottom: 0;
}

.mega__title {
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-black);
}

.mega__list {
  display: grid;
  gap: 12px;
}

.mega__list a {
  font-size: 15px;
  font-weight: 400;
  color: var(--c-text-sub);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 0.25s var(--ease), text-decoration-color 0.25s var(--ease);
}

.mega__list a:hover,
.mega__list a:focus-visible {
  color: var(--c-black);
  text-decoration-color: currentColor;
}

/* ===== Responsive breakpoints =====
   Mobile  : ~767px (base)
   Tablet  : 768px ~ 1023px
   Desktop : 1024px ~
*/

/* Tablet */
@media (min-width: 768px) {
  :root {
    --header-h: 72px;
    --gutter: 40px;
  }

  .site-header__logo {
    font-size: 18px;
  }

  .site-header__util {
    gap: 24px;
  }

  .menu-btn {
    width: 48px;
    height: 48px;
  }

  .mega__cols {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
    padding-top: 16px;
  }

  .mega__col:nth-last-child(2) {
    border-bottom: 0;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  :root {
    --header-h: 88px;
    --gutter: clamp(48px, 6.4vw, 100px);
  }

  .site-header__bar {
    grid-template-columns: 1fr auto 1fr;
  }

  .site-header__logo {
    font-size: 19px;
  }

  .gnb {
    display: block;
  }

  .site-header__util {
    gap: clamp(24px, 2.6vw, 40px);
  }

  .site-header__divider {
    display: block;
    margin-right: clamp(8px, 1.6vw, 24px);
  }

  .menu-btn {
    width: 52px;
    height: 52px;
  }

  /* Desktop에서는 Header 아래로 펼쳐지는 패널 */
  .mega {
    position: absolute;
    top: 100%;
    bottom: auto;
    overflow: visible;
    border-bottom: 1px solid var(--c-line);
  }

  .mega__inner {
    display: grid;
    grid-template-columns: minmax(0, 29%) 1fr;
  }

  .mega__intro {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px clamp(24px, 2.8vw, 44px) 52px;
    background: var(--mega-image, none) center / cover no-repeat, var(--c-surface);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.28em;
    line-height: 1.5;
    color: var(--c-text-muted);
  }

  .mega__intro-brand {
    font-weight: 600;
    color: var(--c-text-sub);
  }

  .mega__cols {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 0;
    padding: 36px clamp(32px, 4.4vw, 70px) 40px;
  }

  .mega__col,
  .mega__col:nth-last-child(2) {
    padding: 0 clamp(16px, 2.6vw, 40px);
    border-bottom: 0;
    border-left: 1px solid var(--c-line);
  }

  .mega__col:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .mega__title {
    margin-bottom: 22px;
    font-size: 15px;
  }

  .mega__list {
    gap: 14px;
  }

  .mega__list a {
    font-size: 14.5px;
  }

  .mega__col .mega__title {
    transition: color 0.25s var(--ease);
  }

  /* 특정 메뉴로 열렸을 때 나머지 컬럼은 살짝 낮춘다 */
  .mega[data-active] .mega__col:not(.is-active) .mega__title {
    color: var(--c-text-sub);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header *,
  .site-header *::before,
  .site-header *::after {
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   Hero
   - .hero 높이만큼 스크롤하는 동안 .hero__stage 가 sticky 로 고정 (scroll-jacking 없음)
   - 진입: 좌측 타이포 / 우측(모바일은 하단) 영상의 split layout
   - 스크롤 진행도에 따라 영상 레이어의 clip 영역이 .hero__slot(원래 영상 자리)에서
     화면 전체로 열림 → 영상 크기는 그대로, 보이는 영역만 넓어짐 (zoom 없음)
   - 헤드라인은 제자리에 고정 → 확장되는 영상이 덮고, 충분히 열리면 같은 자리에 흰색 카피가 fade in
     (영상 위에 카피가 올라갈 때만 아주 약한 overlay)
   - 화면 진입 시 1회: 영상 → headline mask reveal → description → connector
     (html.js 일 때만 초기 숨김, JS 가 .is-in 을 붙이면 순서대로 등장)
   ========================================================= */
.hero {
  --hero-bg: #f3f4f5;
  --c-blue: #2557ff;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  position: relative;
  height: 230vh;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--c-black);
  background-color: var(--hero-bg);
}

.hero__stage {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 0; /* 영상 레이어 아래 — 확장되는 영상이 자연스럽게 덮음 */
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 36px) var(--gutter) 32px;
}

/* ----- Headline ----- */
.hero__title {
  font-size: clamp(27px, 7.2vw, 40px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.035em;
  word-break: keep-all;
}

.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero__line-in {
  display: block;
}

/* ----- Description + 영상으로 이어지는 line ----- */
.hero__desc-row {
  display: flex;
  align-items: flex-start;
  margin-top: 22px;
}

.hero__desc {
  flex: 0 1 auto;
  max-width: 34em;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: -0.01em;
  color: var(--c-text-sub);
  word-break: keep-all;
}

.hero__connector {
  display: none;
}

/* ----- Media ----- */
/* 원래 영상 패널 자리 (레이아웃 기준점) — JS 가 이 영역을 확장 시작점으로 사용 */
.hero__slot {
  flex: 1 1 auto;
  min-height: 300px;
  margin-left: var(--gutter);
}

/* 실제 영상 레이어: 화면 전체 크기, clip-path 로 보이는 영역만 조절 */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background-color: #d9dbde;
  clip-path: inset(var(--clip, 100% 0 0 0));
}

.hero__reveal,
.hero__parallax {
  position: absolute;
  inset: 0;
}

.hero__parallax {
  will-change: transform;
}

.hero__video {
  width: 100%;
  /* Tablet/Mobile: 영상 박스를 아래로 6% 길게 → 원본 하단 4%(좌측 하단 표기 영역)가 화면 밖으로.
     object-fit: cover 라 비율은 유지, 위쪽 기준이라 컨베이어·박스 구도는 그대로 */
  height: 106%;
  max-width: none;
  object-fit: cover;
  /* 세로 영상: 컨베이어·박스가 있는 하단 중앙부 유지 */
  object-position: 50% 62%;
}

/* 영상 위 흰색 카피: 헤드라인과 같은 위치·타이포 (JS 가 복제·배치, 진행도에 따라 fade) */
.hero__copy {
  position: absolute;
  z-index: 1;
  margin: 0;
  color: var(--c-white);
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

/* 카피가 영상 위로 올라갈 때만 아주 약하게 (JS 가 --hero-ov 0→1) */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0) 58%),
    rgba(0, 0, 0, 0.1);
  opacity: var(--hero-ov, 0);
  pointer-events: none;
}

/* ----- Tablet ----- */
@media (min-width: 768px) {
  .hero__content {
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 40px;
  }

  .hero__title {
    font-size: clamp(40px, 5.8vw, 53px);
  }

  .hero__desc-row {
    margin-top: 28px;
  }

  .hero__desc {
    max-width: 30em;
    font-size: 15px;
  }

  .hero__slot {
    margin-left: 22%;
  }
}

/* ----- Desktop: 좌측 타이포 / 우측 영상 (오른쪽·아래로 bleed) ----- */
@media (min-width: 1024px) {
  .hero {
    height: 260vh;
  }

  .hero__stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 43%;
    min-height: 680px;
  }

  .hero__content {
    padding: calc(var(--header-h) + 40px) 0 clamp(56px, 9vh, 96px) var(--gutter);
  }

  .hero__main {
    margin-top: auto;
  }

  .hero__title {
    font-size: clamp(39px, 4.15vw, 74px);
    line-height: 1.16;
    white-space: nowrap;
  }

  .hero__desc-row {
    align-items: center;
    gap: 28px;
    margin-top: clamp(28px, 3.4vh, 44px);
  }

  .hero__desc {
    max-width: 23em;
  }

  /* description → 영상 패널 가장자리까지 이어지는 얇은 선 */
  .hero__connector {
    position: relative;
    display: block;
    flex: 1 1 auto;
    min-width: 40px;
    height: 1px;
    background-color: rgba(17, 17, 17, 0.2);
    transform-origin: left center;
  }

  .hero__connector::after {
    content: "";
    position: absolute;
    right: 0;
    top: -2px;
    width: 5px;
    height: 5px;
    background-color: var(--c-blue);
  }

  .hero__slot {
    min-height: 0;
    margin: var(--header-h) 0 0;
  }

  /* Desktop 은 가로로 넓어 영상 하단이 원래 화면 밖 → 확대 없음 */
  .hero__video {
    height: 100%;
    object-position: 50% 64%;
  }

  /* 데스크톱 카피는 하단 좌측 → overlay 도 아래·왼쪽을 조금 더 */
  .hero__media::after {
    background:
      linear-gradient(to top, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0) 55%),
      linear-gradient(to right, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0) 60%);
  }
}

@media (min-width: 1440px) {
  .hero__stage {
    grid-template-columns: minmax(0, 1fr) 42%;
  }
}

/* ----- Intro sequence ----- */
html.js .hero .hero__reveal {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.2s var(--ease-out);
}

html.js .hero .hero__video {
  transform: scale(1.12);
  transition: transform 1.8s var(--ease-out);
}

html.js .hero .hero__connector {
  transform: scaleX(0);
  transition: transform 0.9s var(--ease-out);
}

html.js .hero .hero__desc {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

html.js .hero .hero__line-in {
  transform: translateY(105%);
  transition: transform 1s var(--ease-out);
}

html.js .hero.is-in .hero__reveal { clip-path: inset(0 0 0 0); }
html.js .hero.is-in .hero__video { transform: scale(1); }

html.js .hero.is-in .hero__line-in { transform: none; }
html.js .hero.is-in .hero__line:nth-child(1) .hero__line-in { transition-delay: 0.7s; }
html.js .hero.is-in .hero__line:nth-child(2) .hero__line-in { transition-delay: 0.82s; }

html.js .hero.is-in .hero__desc { opacity: 1; transform: none; transition-delay: 1.1s; }
html.js .hero.is-in .hero__connector { transform: scaleX(1); transition-delay: 1.2s; transition-duration: 1.1s; }

@media (prefers-reduced-motion: reduce) {
  html.js .hero *,
  html.js .hero {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

/* =========================================================
   About
   - .about 높이만큼 스크롤하는 동안 .about__stage 가 sticky 로 고정
   - JS 가 진행도(0~1)에 따라 비주얼 clip 영역 / 미세 scale 을 갱신하고
     data-phase(intro → n0 → n1 → n2 → outro) 를 바꾼다
   ========================================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.about {
  --about-bg: #f3f4f5;
  --c-metal: #8b9096;
  --c-blue: #2557ff;
  --grid-line: rgba(17, 17, 17, 0.07);
  --num-size: clamp(88px, 26vw, 150px);
  --ease-roll: cubic-bezier(0.76, 0, 0.18, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  position: relative;
  height: 460vh;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--c-black);
}

.about__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background-color: var(--about-bg);
  transition: background-color 0.9s var(--ease-out);
}

.about__stage[data-phase="outro"] {
  background-color: var(--c-white);
}

/* ----- Grid lines ----- */
/* ----- Background typography ----- */
/* 정보가 아니라 질감으로 읽히도록: 아주 큰 크기 + 4~5% 농도 + 가장자리에서 잘림 */
.about__bgnum {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.about__bgnum-item {
  --depth: 120px;

  position: absolute;
  font-size: var(--bgnum-size, 40vh);
  font-weight: 200;
  line-height: 0.8;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: rgba(17, 17, 17, 0.045);
  opacity: 0;
  /* 단계 전환(transform) 과 스크롤 parallax(translate) 를 분리 */
  translate: calc(var(--about-par, 0) * var(--drift-x, 0px)) calc(var(--about-par, 0) * var(--depth));
  transform: translate3d(0, 8vh, 0);
  transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), transform 2.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: translate, transform;
}

.about__bgnum-item.is-active {
  opacity: 1;
  transform: none;
}

.about__bgnum-item.is-after {
  transform: translate3d(0, -8vh, 0);
}

/* Mobile: 이미지가 위쪽을 차지하므로 하단 가장자리에서 잘리게 */
.about__bgnum-item--a {
  --bgnum-size: 46vh;
  left: -16vw;
  bottom: -19vh;
}

.about__bgnum-item--b {
  --bgnum-size: 50vh;
  --drift-x: -60px;
  right: -30vw;
  bottom: -16vh;
}

.about__bgnum-item--c {
  --bgnum-size: 64vh;
  --depth: 160px;
  right: -18vw;
  bottom: -24vh;
}

/* ----- Visual ----- */
/* 위치/크기는 JS 가 프레임(.about__frame)과 동일하게 갱신 */
.about__visual {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  background-color: #d9dcdf;
  will-change: transform, width, height;
}

/* About 이미지 공통 */
.about__media,
.about__frag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1;
  transition: scale 2.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
  .about__visual:hover .about__media,
  .about__frag:hover img {
    scale: 1.035;
  }
}

/* 메인: 분류 라인 정면 — 중앙 컨베이어 축이 항상 가운데 오도록 */
.about__media {
  object-position: 50% 62%;
  transform: scale(var(--media-scale, 1.04)) translate3d(var(--media-x, 0), var(--media-y, 0), 0);
  will-change: transform;
}

.about__frame {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease-out);
}

.about__corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 0 solid var(--c-black);
}

.about__corner--tl { top: -8px; left: -8px; border-top-width: 1px; border-left-width: 1px; }
.about__corner--tr { top: -8px; right: -8px; border-top-width: 1px; border-right-width: 1px; }
.about__corner--bl { bottom: -8px; left: -8px; border-bottom-width: 1px; border-left-width: 1px; }
.about__corner--br { bottom: -8px; right: -8px; border-bottom-width: 1px; border-right-width: 1px; }

.about__fig {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--c-text-muted);
  white-space: nowrap;
}

/* 작은 조각 이미지 (Desktop) */
.about__frag {
  display: none;
  position: absolute;
  overflow: hidden;
  background-color: #d9dcdf;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}

/* 조각 A: 분류 슈트(세로) — 슈트와 적재함 라인 중심 */
.about__frag--a img {
  object-position: 58% 48%;
}

/* 조각 B: 스캐너 게이트 — 게이트와 경사 컨베이어 */
.about__frag--b img {
  object-position: 56% 40%;
}

/* ----- Small UI labels ----- */
.about__meta,
.about__caption,
.about__index {
  position: absolute;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.6;
  color: var(--c-text-sub);
}

.about__meta--tl {
  top: calc(var(--header-h) + 14px);
  left: var(--gutter);
  display: flex;
  gap: 14px;
}

.about__meta--tl span {
  color: var(--c-text-muted);
}

.about__meta--tr {
  top: calc(var(--header-h) + 14px);
  right: var(--gutter);
  display: none;
}

.about__meta--br {
  right: var(--gutter);
  bottom: 24px;
  display: none;
  color: var(--c-text-muted);
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}

.about__stage[data-phase^="n"] .about__meta--br {
  opacity: 1;
}

.about__caption {
  left: var(--gutter);
  bottom: 24px;
  display: flex;
  flex-direction: column;
  color: var(--c-black);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.about__caption span + span {
  color: var(--c-text-muted);
}

.about__stage:not([data-phase="intro"]) .about__caption {
  opacity: 0;
  transform: translateY(8px);
}

/* ----- Stats (2007 → 176 → 24) ----- */
.about__stats {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: 56%;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
}

/* 비주얼이 다시 커지는 intro 구간에서는 숫자 영역을 숨김 */
.about__stage[data-phase="intro"] .about__stats {
  opacity: 0;
}

.about__stat-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 12px;
}

/* stat-head 하단 라인이 왼쪽에서 그려지며 등장 */
.about__stat-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: rgba(17, 17, 17, 0.16);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s var(--ease-roll);
}

.about__stage[data-phase^="n"] .about__stat-head::after {
  transform: scaleX(1);
}

.about__labels {
  position: relative;
  height: 1.6em;
  flex: 1;
  font-size: 10px;
  overflow: hidden;
}

.about__label {
  position: absolute;
  inset: 0 auto auto 0;
  display: flex;
  gap: 12px;
  white-space: nowrap;
  letter-spacing: 0.18em;
  font-weight: 500;
  line-height: 1.6;
  transform: translateY(110%);
  transition: transform 0.8s var(--ease-roll);
}

.about__label b {
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--c-text-muted);
}

.about__stat-tick {
  width: 5px;
  height: 5px;
  margin-bottom: 4px;
  border-radius: 50%;
  background-color: var(--c-blue);
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}

.about__stage[data-phase^="n"] .about__stat-tick {
  opacity: 1;
}

.about__nums {
  position: relative;
  height: calc(var(--num-size) * 1.02);
  margin-top: 18px;
}

.about__num {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  gap: 0.6em;
}

.about__digits {
  display: flex;
  font-size: var(--num-size);
  font-weight: 200;
  line-height: 0.9;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

/* 자릿수마다 mask, 안쪽 span 이 위/아래로 이동 */
.about__digit {
  display: block;
  overflow: hidden;
  padding: 0.06em 0.01em 0.02em;
}

.about__digit > span,
.about__unit > span {
  display: block;
  transform: translateY(125%);
  transition: transform 1s var(--ease-roll);
  transition-delay: calc(var(--i, 0) * 55ms);
}

.about__unit {
  display: block;
  overflow: hidden;
  margin-bottom: 0.55em;
  font-size: 15px;
  font-weight: 400;
  color: var(--c-text-sub);
  white-space: nowrap;
}

/* 상태: 아래 대기(기본) → 활성 → 위로 퇴장 */
.about__num.is-active .about__digit > span,
.about__num.is-active .about__unit > span,
.about__label.is-active {
  transform: translateY(0);
}

.about__num.is-after .about__digit > span,
.about__num.is-after .about__unit > span,
.about__label.is-after {
  transform: translateY(-125%);
}

/* 진행 인덱스 */
.about__index {
  left: var(--gutter);
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}

.about__stage[data-phase^="n"] .about__index {
  opacity: 1;
}

.about__index-current {
  color: var(--c-black);
}

.about__index-total {
  color: var(--c-text-muted);
}

.about__progress {
  position: relative;
  width: 72px;
  height: 1px;
  margin-left: 6px;
  background-color: rgba(17, 17, 17, 0.14);
}

.about__progress i {
  position: absolute;
  inset: 0;
  background-color: var(--c-blue);
  transform: scaleX(var(--stat-progress, 0));
  transform-origin: left center;
}

/* ----- Outro (화이트 화면 + 메시지) ----- */
.about__outro {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: calc(var(--header-h) + 48px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  pointer-events: none;
}

/* 컨테이너가 썸네일 hover 를 가리지 않도록 텍스트 요소만 이벤트를 받음 */
.about__stage[data-phase="outro"] .about__outro > * {
  pointer-events: auto;
}

.about__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.about__line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-roll);
  transition-delay: calc(var(--d, 0) * 90ms);
}

.about__stage[data-phase="outro"] .about__line > span {
  transform: translateY(0);
}

.about__eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--c-text-muted);
}

.about__title {
  font-size: clamp(34px, 9vw, 46px);
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: -0.035em;
  word-break: keep-all;
}

.about__title .about__line:last-child {
  font-weight: 500;
}

.about__desc {
  display: grid;
  gap: 10px;
  max-width: 34em;
  margin-top: 8px;
  word-break: keep-all;
}

.about__lead {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.about__body {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--c-text-sub);
}

.about__eyebrow .about__line > span { --d: 0; }
.about__title .about__line:nth-child(1) > span { --d: 1; }
.about__title .about__line:nth-child(2) > span { --d: 2; }
.about__lead .about__line > span { --d: 4; }
.about__body .about__line > span { --d: 5; }

/* Tablet */
@media (min-width: 768px) {
  .about {
    --num-size: clamp(140px, 22vw, 200px);
  }

  .about__meta--tr,
  .about__meta--br {
    display: block;
  }

  .about__caption,
  .about__index,
  .about__meta--br {
    bottom: 32px;
  }

  .about__stats {
    top: 57%;
    right: auto;
    width: min(62vw, 560px);
  }

  .about__unit {
    font-size: 17px;
  }

  .about__title {
    font-size: clamp(44px, 6.4vw, 60px);
  }

  .about__lead {
    font-size: 18px;
  }

  .about__body {
    font-size: 16px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .about {
    --num-size: clamp(130px, 14vw, 228px);
    height: 520vh;
  }

  /* Desktop: 이미지 패널(오른쪽) 반대편인 왼쪽 가장자리에서 잘리게 */
  .about__bgnum-item--a {
    --bgnum-size: 62vh;
    left: -4vw;
    bottom: -13vh;
  }

  .about__bgnum-item--b {
    --bgnum-size: 66vh;
    --drift-x: 80px;
    right: auto;
    left: 6vw;
    bottom: auto;
    top: -18vh;
  }

  .about__bgnum-item--c {
    --bgnum-size: 92vh;
    right: auto;
    left: -9vw;
    bottom: -22vh;
  }

  .about__frag {
    display: block;
  }

  .about__frag--a {
    left: 34%;
    top: calc(var(--header-h) + 56px);
    width: 8.5vw;
    aspect-ratio: 4 / 5;
  }

  .about__frag--b {
    left: 38%;
    bottom: 13%;
    width: 6vw;
    aspect-ratio: 1;
  }

  .about__stage[data-phase^="n"] .about__frag {
    opacity: 1;
  }

  .about__stats {
    top: 50%;
    width: calc(46% - var(--gutter) - 8vw);
    transform: translateY(-40%);
  }

  /* 데스크톱 outro: 제목은 넓게, 설명은 오른쪽 컬럼 */
  .about__outro {
    top: 21%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 4vw;
    row-gap: 28px;
  }

  .about__eyebrow,
  .about__title {
    grid-column: 1 / -1;
  }

  .about__title {
    font-size: clamp(52px, 4.8vw, 80px);
    line-height: 1.16;
  }

  .about__desc {
    grid-column: 2;
    max-width: 30em;
    margin-top: 7vh;
    padding-top: 24px;
    border-top: 1px solid var(--c-line);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about *,
  .about *::before,
  .about *::after,
  .about__stage {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation: none !important;
  }
}

/* =========================================================
   Business (03)
   - .biz 높이만큼 스크롤하는 동안 .biz__stage 가 sticky 로 고정
   - JS 가 진행도로 이미지 reveal / crop / scale 을 연속 갱신하고
     data-phase(intro → s0 → s1 → s2) 와 data-step 을 바꾼다
   ========================================================= */
.biz {
  --biz-bg: #fff;
  --c-blue: #2557ff;
  --grid-line: rgba(17, 17, 17, 0.07);
  --ease-roll: cubic-bezier(0.76, 0, 0.18, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --biz-num: clamp(72px, 22vw, 96px);
  --panel-top: calc(var(--header-h) + 44px);

  position: relative;
  height: 440vh;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--c-black);
}

.biz__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background-color: var(--biz-bg);
}

/* ----- Background: 분류 설비 평면 구조 ----- */
/* 처음엔 흰 배경처럼 보이고, 가까이 보면 설비 구조가 느껴지는 정도의 농도 */
.biz__bg {
  --bg-edge: rgba(17, 17, 17, 0.12);
  --bg-roll: rgba(17, 17, 17, 0.065);
  --bg-mark: rgba(17, 17, 17, 0.22);
  --bg-route: rgba(17, 17, 17, 0.34);
  --bg-move: 2.8s cubic-bezier(0.45, 0, 0.2, 1);

  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  fill: none;
}

/* 단계가 바뀔 때 도면 전체가 아주 조금 이동 */
.biz__bg-move {
  transform: translate3d(calc(var(--step, 0) * -18px), calc(var(--step, 0) * 6px), 0);
  transition: transform var(--bg-move);
}

/* 벨트: 넓은 회색 선 위에 조금 좁은 흰 선 → 두 줄의 얇은 테두리 */
.biz__bg-belt {
  stroke: var(--bg-edge);
  stroke-width: 13;
  stroke-linejoin: round;
}

.biz__bg-belt-in {
  stroke: var(--biz-bg);
  stroke-width: 11.6;
  stroke-linejoin: round;
}

/* 롤러 반복: 벨트 폭만큼 두꺼운 점선 → 진행 방향에 수직인 짧은 선 */
.biz__bg-roll {
  stroke: var(--bg-roll);
  stroke-width: 11;
  stroke-dasharray: 0.7 9;
  stroke-dashoffset: calc(var(--step, 0) * -27px);
  transition: stroke-dashoffset var(--bg-move);
}

.biz__bg-chutes,
.biz__bg-dim path {
  stroke: var(--bg-edge);
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
}

.biz__bg-dim text {
  fill: var(--bg-mark);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.biz__bg-sensor path {
  stroke: var(--bg-mark);
  stroke-width: 0.6;
  stroke-dasharray: 2 2;
  vector-effect: non-scaling-stroke;
}

.biz__bg-sensor circle {
  fill: var(--bg-mark);
}

/* 진행 경로: 현재 단계까지 가는 선이 천천히 그려짐 */
.biz__bg-seg {
  stroke: var(--bg-route);
  stroke-width: 0.8;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  vector-effect: non-scaling-stroke;
  transition: stroke-dashoffset var(--bg-move);
}

.biz__stage[data-phase="s0"] .biz__bg-seg:nth-child(-n + 1),
.biz__stage[data-phase="s1"] .biz__bg-seg:nth-child(-n + 2),
.biz__stage[data-phase="s2"] .biz__bg-seg {
  stroke-dashoffset: 0;
}

/* 스테이션: 지난 단계는 회색, 현재 단계만 브랜드 컬러의 작은 점 */
.biz__bg-node {
  fill: var(--biz-bg);
  stroke: var(--bg-mark);
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
  transition: fill 1.2s ease, stroke 1.2s ease;
}

.biz__stage[data-phase="s1"] .biz__bg-node:nth-child(1),
.biz__stage[data-phase="s2"] .biz__bg-node:nth-child(-n + 2) {
  fill: var(--bg-route);
  stroke: transparent;
}

.biz__stage[data-phase="s0"] .biz__bg-node:nth-child(1),
.biz__stage[data-phase="s1"] .biz__bg-node:nth-child(2),
.biz__stage[data-phase="s2"] .biz__bg-node:nth-child(3) {
  fill: var(--c-blue);
  stroke: var(--c-blue);
}

/* ----- Small labels ----- */
.biz__meta {
  position: absolute;
  top: calc(var(--header-h) + 14px);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.6;
  color: var(--c-text-sub);
}

.biz__meta--tl {
  left: var(--gutter);
  display: flex;
  gap: 14px;
}

.biz__meta--tl span {
  color: var(--c-text-muted);
}

.biz__meta--tr {
  right: var(--gutter);
  display: none;
  color: var(--c-text-muted);
}

/* ----- Line mask (공통) ----- */
.biz__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
}

.biz__line > span {
  display: block;
  transition: transform 1s var(--ease-roll);
  transition-delay: calc(var(--d, 0) * 70ms);
}

/* ----- Intro message ----- */
.biz__intro {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: calc(var(--header-h) + 72px);
  transform-origin: left top;
  transform: translateY(16vh);
  transition: transform 1.2s var(--ease-roll), opacity 0.8s var(--ease-out);
}

.biz__title {
  font-size: clamp(30px, 8.4vw, 44px);
  font-weight: 300;
  line-height: 1.24;
  letter-spacing: -0.035em;
  word-break: keep-all;
}

.biz__title .biz__line:last-child {
  font-weight: 500;
}

.biz__title .biz__line:nth-child(2) > span { --d: 1; }

.biz__kicker {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--c-line);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--c-text-sub);
  transition: opacity 0.6s var(--ease-out), border-color 0.6s var(--ease-out);
}

.biz__kicker .biz__line > span { --d: 3; }

/* 섹션 진입 시 메시지 reveal */
.biz__stage:not(.is-in) .biz__intro .biz__line > span {
  transform: translateY(110%);
}

/* 단계 진입: 메시지가 위로 이동하며 작아져 맥락으로 남음 (mobile 은 숨김) */
.biz__stage:not([data-phase="intro"]) .biz__intro {
  transform: translateY(0) scale(0.5);
  opacity: 0;
}

.biz__stage:not([data-phase="intro"]) .biz__kicker {
  opacity: 0;
  border-color: transparent;
}

/* ----- Visual ----- */
.biz__visual {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: var(--panel-top);
  height: 34vh;
  overflow: hidden;
  background-color: #e4e6e8;
  clip-path: inset(var(--panel-clip, 100%) 0 0 0);
  will-change: clip-path;
}

.biz__layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(var(--reveal, 100%) 0 0 0);
  will-change: clip-path;
}

.biz__layer:first-child {
  clip-path: none;
}

.biz__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--img-y, 0), 0) scale(var(--img-scale, 1.1));
  will-change: transform;
}

/* 단계별 crop 기준점 */
.biz__img--parts {
  object-position: 62% 62%;
}

.biz__img--equipment {
  object-position: 56% 46%;
}

.biz__img--maintenance {
  object-position: 30% 60%;
}

.biz__frame {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: var(--panel-top);
  height: 34vh;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}

.biz__stage:not([data-phase="intro"]) .biz__frame {
  opacity: 1;
}

.biz__corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 0 solid var(--c-black);
}

.biz__corner--tl { top: -8px; left: -8px; border-top-width: 1px; border-left-width: 1px; }
.biz__corner--tr { top: -8px; right: -8px; border-top-width: 1px; border-right-width: 1px; }
.biz__corner--bl { bottom: -8px; left: -8px; border-bottom-width: 1px; border-left-width: 1px; }
.biz__corner--br { bottom: -8px; right: -8px; border-bottom-width: 1px; border-right-width: 1px; }

.biz__fig {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: block;
  height: 1.6em;
  overflow: hidden;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.6;
  color: var(--c-text-muted);
  white-space: nowrap;
}

.biz__fig-item {
  display: block;
  text-align: right;
  transform: translateY(calc(var(--step, 0) * -100%));
  transition: transform 1s var(--ease-roll);
}

/* ----- Steps ----- */
.biz__steps {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: calc(var(--panel-top) + 34vh + 40px);
  pointer-events: none;
}

.biz__num {
  display: flex;
  font-size: var(--biz-num);
  font-weight: 200;
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}

.biz__stage:not([data-phase="intro"]) .biz__num {
  opacity: 1;
}

.biz__num-digit {
  display: block;
  padding: 0.06em 0.01em 0.02em;
}

.biz__num-digit--roll {
  height: calc(0.9em + 0.08em);
  overflow: hidden;
}

/* 두 번째 자리만 위로 굴러가며 01 → 02 → 03 */
.biz__num-strip {
  display: block;
  transform: translateY(calc(var(--step, 0) * -0.98em));
  transition: transform 1.1s var(--ease-roll);
}

.biz__num-strip span {
  display: block;
  height: 0.98em;
}

/* 세 단계를 같은 칸에 겹쳐 쌓아 가장 긴 단계 높이를 유지 */
.biz__contents {
  display: grid;
  margin-top: 18px;
}

.biz__step {
  grid-area: 1 / 1;
}

.biz__step-en {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--c-text-muted);
}

.biz__step-title {
  margin-top: 8px;
  font-size: clamp(24px, 6.6vw, 30px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.biz__step-desc {
  margin-top: 10px;
  max-width: 30em;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--c-text-sub);
  word-break: keep-all;
}

.biz__step-title .biz__line > span { --d: 1; }
.biz__step-desc .biz__line > span { --d: 2; }

/* 단계 텍스트: 아래 대기 → 활성 → 위로 퇴장 */
.biz__step .biz__line > span {
  transform: translateY(110%);
}

.biz__step.is-active .biz__line > span {
  transform: translateY(0);
}

.biz__step.is-after .biz__line > span {
  transform: translateY(-110%);
  transition-delay: 0s;
}

.biz__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--c-black);
}

.biz__tags li {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-out);
}

.biz__tags li + li::before {
  content: "/";
  margin: 0 10px;
  color: var(--c-text-muted);
}

.biz__step.is-active .biz__tags li {
  opacity: 1;
  transform: none;
  transition-delay: calc(240ms + var(--t, 0) * 50ms);
}

.biz__tags li:nth-child(2) { --t: 1; }
.biz__tags li:nth-child(3) { --t: 2; }
.biz__tags li:nth-child(4) { --t: 3; }
.biz__tags li:nth-child(5) { --t: 4; }
.biz__tags li:nth-child(6) { --t: 5; }

.biz__step:not(.is-active) .biz__tags {
  border-color: transparent;
}

/* ----- Rail (01 / 02 / 03) ----- */
.biz__rail {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 22px;
  display: flex;
  list-style: none;
  justify-content: space-between;
  padding-bottom: 12px;
  font-size: 11px;
  font-weight: 500;
  color: var(--c-text-muted);
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}

.biz__stage:not([data-phase="intro"]) .biz__rail {
  opacity: 1;
}

.biz__node {
  position: relative;
  display: flex;
  gap: 8px;
  transition: color 0.5s var(--ease-out);
}

.biz__node b {
  font-weight: 500;
  letter-spacing: 0.06em;
}

.biz__node::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: -14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--c-white);
  border: 1px solid rgba(17, 17, 17, 0.3);
  transition: background-color 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}

.biz__node:last-of-type::after {
  left: auto;
  right: 0;
}

.biz__node:nth-child(2)::after {
  left: 50%;
  margin-left: -2.5px;
}

.biz__node.is-done,
.biz__node.is-active {
  color: var(--c-black);
}

.biz__node.is-done::after {
  background-color: var(--c-black);
  border-color: var(--c-black);
}

.biz__node.is-active::after {
  background-color: var(--c-blue);
  border-color: var(--c-blue);
}

.biz__rail-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: 1px;
  background-color: rgba(17, 17, 17, 0.12);
}

.biz__rail-line i {
  position: absolute;
  inset: 0;
  background-color: var(--c-black);
  transform: scaleX(var(--rail, 0));
  transform-origin: left center;
}

/* Tablet */
@media (min-width: 768px) {
  .biz {
    --biz-num: 120px;
    --panel-top: calc(var(--header-h) + 56px);
  }

  .biz__meta--tr {
    display: block;
  }

  .biz__title {
    font-size: clamp(44px, 6.2vw, 58px);
  }

  .biz__visual,
  .biz__frame {
    height: 38vh;
  }

  .biz__steps {
    top: calc(var(--panel-top) + 38vh + 48px);
    right: auto;
    width: 64vw;
  }

  .biz__step-title {
    font-size: 32px;
  }

  .biz__step-desc {
    font-size: 15px;
  }

  .biz__rail {
    right: auto;
    bottom: 32px;
    width: min(64vw, 420px);
  }
}

/* Desktop: 왼쪽 텍스트 / 오른쪽 이미지 패널 (About 패널과 같은 비율) */
@media (min-width: 1024px) {
  .biz {
    --biz-num: clamp(120px, min(11vw, 21vh), 190px);
    height: 480vh;
  }

  .biz__intro {
    transform: translateY(18vh);
  }

  .biz__title {
    font-size: clamp(52px, 4.8vw, 80px);
    line-height: 1.18;
  }

  /* 단계 진입 후에도 데스크톱에서는 축소된 메시지를 좌상단에 유지 */
  .biz__stage:not([data-phase="intro"]) .biz__intro {
    transform: translateY(0) scale(0.36);
    opacity: 1;
  }

  .biz__visual,
  .biz__frame {
    left: 46%;
    height: auto;
    bottom: 13%;
  }

  .biz__steps {
    top: auto;
    bottom: calc(13% + 76px);
    width: calc(46% - var(--gutter) - 6vw);
  }

  .biz__contents {
    margin-top: 28px;
  }

  .biz__step-title {
    margin-top: 12px;
    font-size: clamp(30px, 2.6vw, 40px);
  }

  .biz__step-desc {
    margin-top: 14px;
    font-size: 16px;
  }

  .biz__tags {
    margin-top: 24px;
    font-size: 13px;
  }

  .biz__rail {
    width: calc(46% - var(--gutter) - 6vw);
    bottom: 13%;
    transform: translateY(100%);
  }
}

/* 높이가 낮은 데스크톱에서는 축소 메시지가 단계 텍스트와 겹치지 않도록 숨김 */
@media (min-width: 1024px) and (max-height: 820px) {
  .biz__stage:not([data-phase="intro"]) .biz__intro {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .biz *,
  .biz *::before,
  .biz *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

/* =========================================================
   Products (04)
   - 인트로(일반 스크롤) → 카탈로그(.prod__stage sticky)
   - 스크롤 진행도 또는 카테고리 클릭으로 01~04 전환,
     제품명 클릭 / PREV·NEXT 로 같은 자리에서 대표 이미지 교체
   ========================================================= */
.prod {
  --prod-bg: #f3f4f5;
  --c-blue: #2557ff;
  --ease-roll: cubic-bezier(0.76, 0, 0.18, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --panel-top: calc(var(--header-h) + 128px);
  /* 모바일 이미지 높이: 짧은 화면에서는 제품명·목록 공간을 먼저 확보 */
  --vis-h: clamp(150px, calc(100svh - var(--header-h) - 470px), 32vh);

  position: relative;
  background-color: var(--prod-bg);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--c-black);
}

/* ----- Intro ----- */
.prod__intro {
  padding: calc(var(--header-h) + 12vh) var(--gutter) 10vh;
}

.prod__eyebrow,
.prod__meta {
  display: flex;
  gap: 14px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.6;
  color: var(--c-text-sub);
}

.prod__eyebrow span,
.prod__meta span:first-child {
  color: var(--c-text-muted);
}

.prod__title {
  margin-top: 28px;
  font-size: clamp(30px, 8.4vw, 44px);
  font-weight: 300;
  line-height: 1.24;
  letter-spacing: -0.035em;
  word-break: keep-all;
}

.prod__title .prod__line:last-child {
  font-weight: 500;
}

.prod__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
}

.prod__line > span {
  display: block;
  transition: transform 1.1s var(--ease-roll);
}

.prod__line:nth-child(2) > span {
  transition-delay: 90ms;
}

.prod__intro:not(.is-in) .prod__line > span {
  transform: translateY(110%);
}

.prod__lead {
  max-width: 30em;
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-text-sub);
  word-break: keep-all;
  transition: opacity 1s var(--ease-out) 0.3s;
}

.prod__intro:not(.is-in) .prod__lead {
  opacity: 0;
}

/* ----- Catalog stage ----- */
.prod__catalog {
  position: relative;
  height: 360vh;
}

.prod__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background-color: var(--prod-bg);
}

.prod__meta {
  position: absolute;
  top: calc(var(--header-h) + 14px);
}

.prod__meta--tl {
  left: var(--gutter);
}

.prod__meta--tr {
  right: var(--gutter);
  display: block;
  color: var(--c-text-muted);
}

.prod__meta--tr .prod__cat-current {
  color: var(--c-black);
}

/* ----- Category nav (mobile: 가로 4칸) ----- */
.prod__cats {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: calc(var(--header-h) + 44px);
}

.prod__cats ol {
  display: flex;
  list-style: none;
}

.prod__cats li {
  flex: 1;
}

.prod__cat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 10px 6px 0 0;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  text-align: left;
  color: var(--c-text-muted);
  transition: color 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}

.prod__cat b {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.prod__cat-en {
  display: none;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.prod__cat-ko {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  word-break: keep-all;
}

.prod__cat:hover,
.prod__cat:focus-visible,
.prod__cat.is-active {
  color: var(--c-black);
}

.prod__cat.is-active {
  border-top-color: var(--c-black);
}

/* ----- Visual ----- */
.prod__visual,
.prod__frame {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: var(--panel-top);
  height: var(--vis-h);
}

.prod__visual {
  overflow: hidden;
  background-color: #e4e6e8;
}

.prod__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translate3d(0, 2%, 0) scale(1.06);
  scale: 1;
  transition:
    opacity 0.9s var(--ease-out),
    transform 1.4s var(--ease-out),
    scale 2.4s var(--ease-out);
}

/* 교체: 이전 이미지는 살짝 올라가며 흐려지고, 다음 이미지는 확대된 상태에서 제자리로 */
.prod__img.is-in {
  z-index: 2;
  opacity: 1;
  transform: none;
}

.prod__img.is-out {
  z-index: 1;
  opacity: 0;
  transform: translate3d(0, -1.5%, 0) scale(1.03);
  transition:
    opacity 0.8s var(--ease-out),
    transform 1.2s var(--ease-out);
}

@media (hover: hover) {
  .prod__visual:hover .prod__img.is-in {
    scale: 1.03;
  }
}

.prod__frame {
  pointer-events: none;
}

.prod__corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 0 solid var(--c-black);
}

.prod__corner--tl { top: -8px; left: -8px; border-top-width: 1px; border-left-width: 1px; }
.prod__corner--tr { top: -8px; right: -8px; border-top-width: 1px; border-right-width: 1px; }
.prod__corner--bl { bottom: -8px; left: -8px; border-bottom-width: 1px; border-left-width: 1px; }
.prod__corner--br { bottom: -8px; right: -8px; border-bottom-width: 1px; border-right-width: 1px; }

/* FIG 번호 + PREV / NEXT */
.prod__controls {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: calc(var(--panel-top) + var(--vis-h) + 14px);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--c-text-muted);
}

.prod__fig {
  margin-right: auto;
}

.prod__step {
  padding: 4px 0;
  letter-spacing: 0.18em;
  color: var(--c-text-sub);
  transition: color 0.3s var(--ease-out);
}

.prod__step:hover,
.prod__step:focus-visible {
  color: var(--c-black);
}

/* ----- Product name ----- */
.prod__info {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: calc(var(--panel-top) + var(--vis-h) + 52px);
}

.prod__count {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.prod__count-total {
  color: var(--c-text-muted);
}

/* 이름 교체: 같은 칸에 겹쳐 두고 위/아래로 굴러가며 전환 */
.prod__name {
  display: grid;
  overflow: hidden;
  margin-top: 10px;
  font-size: clamp(28px, 8vw, 38px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  word-break: keep-all;
}

.prod__name-text {
  grid-area: 1 / 1;
  padding-bottom: 0.06em;
  transition: transform 0.9s var(--ease-roll);
}

.prod__name-text.from-next { transform: translateY(105%); }
.prod__name-text.from-prev { transform: translateY(-105%); }
.prod__name-text.to-prev { transform: translateY(-105%); }
.prod__name-text.to-next { transform: translateY(105%); }
.prod__name-text.is-in { transform: none; }

.prod__cat-label {
  margin-top: 12px;
  font-size: 12px;
  color: var(--c-text-muted);
}

/* ----- Product typography navigation ----- */
.prod__lists {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 22px;
  display: grid;
}

.prod__list {
  grid-area: 1 / 1;
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--c-line);
  list-style: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 2;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out), visibility 0s linear 0.8s;
}

.prod__list.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.8s var(--ease-out) 0.15s, transform 1s var(--ease-out) 0.15s, visibility 0s;
}

/* 구분자는 항목 뒤에 붙여 줄바꿈 시 줄 끝에 남도록 ("등" 앞에는 생략) */
.prod__list li:not(:last-child):not(:has(+ .prod__list-etc))::after {
  content: "/";
  margin: 0 9px;
  color: rgba(17, 17, 17, 0.2);
}

.prod__list-etc {
  margin-left: 6px;
}

.prod__item,
.prod__list-etc {
  color: var(--c-text-muted);
  letter-spacing: inherit;
  text-transform: inherit;
}

.prod__item {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 0.3s var(--ease-out), text-decoration-color 0.3s var(--ease-out);
}

.prod__item:hover,
.prod__item:focus-visible {
  color: var(--c-black);
}

.prod__item.is-active {
  color: var(--c-black);
  text-decoration-color: currentColor;
}

/* Tablet */
@media (min-width: 768px) {
  .prod__intro {
    padding-top: calc(var(--header-h) + 14vh);
  }

  .prod__title {
    font-size: clamp(44px, 6.2vw, 58px);
  }

  .prod__lead {
    font-size: 16px;
  }

  .prod__cat-en {
    display: block;
  }

  .prod__cats {
    top: calc(var(--header-h) + 56px);
  }

  .prod {
    --panel-top: calc(var(--header-h) + 136px);
    --vis-h: 40vh;
  }

  .prod__name {
    font-size: 48px;
  }

  .prod__lists {
    bottom: 32px;
    right: 24vw;
  }
}

/* Desktop: 왼쪽 카테고리·제품명·목록 / 오른쪽 큰 제품 이미지 */
@media (min-width: 1024px) {
  .prod {
    --panel-top: calc(var(--header-h) + 56px);
  }

  .prod__intro {
    padding: calc(var(--header-h) + 16vh) var(--gutter) 12vh;
  }

  .prod__title {
    font-size: clamp(52px, 4.8vw, 80px);
    line-height: 1.18;
  }

  .prod__lead {
    margin-top: 32px;
    font-size: 17px;
  }

  .prod__catalog {
    height: 420vh;
  }

  .prod__cats {
    right: auto;
    width: calc(36% - var(--gutter));
  }

  .prod__cats ol {
    display: block;
  }

  .prod__cat {
    flex-direction: row;
    align-items: baseline;
    gap: 0;
    padding: 11px 0 10px;
  }

  .prod__cats li:last-child .prod__cat {
    border-bottom: 1px solid rgba(17, 17, 17, 0.12);
  }

  .prod__cat b {
    width: 40px;
    flex: none;
  }

  .prod__cat-en {
    flex: none;
    margin-right: 14px;
  }

  .prod__cat-ko {
    font-size: 13px;
    font-weight: 400;
  }

  /* 활성 카테고리 끝에 브랜드 컬러 점 */
  .prod__cat::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    margin-top: -2px;
    border-radius: 50%;
    background-color: var(--c-blue);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
  }

  .prod__cat.is-active::after {
    opacity: 1;
  }

  .prod__visual,
  .prod__frame {
    left: 40%;
    height: auto;
    bottom: 13%;
  }

  .prod__controls {
    left: 40%;
    top: auto;
    bottom: calc(13% - 34px);
  }

  .prod__info {
    top: auto;
    right: auto;
    width: calc(36% - var(--gutter));
    /* 목록 높이(JS 측정) 위에 제품명이 오도록 */
    bottom: calc(13% + var(--list-h, 96px) + 36px);
  }

  .prod__name {
    margin-top: 14px;
    font-size: clamp(34px, min(3.6vw, 6.2vh), 68px);
  }

  .prod__cat-label {
    margin-top: 16px;
    font-size: 13px;
  }

  .prod__lists {
    right: auto;
    width: calc(36% - var(--gutter));
    bottom: 13%;
  }

  .prod__list {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .prod *,
  .prod *::before,
  .prod *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

/* =========================================================
   Experience (05)
   - Desktop: 왼쪽 지도 sticky / 오른쪽 콘텐츠 스크롤
   - 스크롤 진행에 따라 낙찰 이력 지역 point 가 하나씩 누적 (연결선 없음)
   ========================================================= */
.exp {
  --exp-bg: #fff;
  --c-blue: #2557ff;
  --ease-roll: cubic-bezier(0.76, 0, 0.18, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --map-outline: rgba(17, 17, 17, 0.28);
  --map-bounds: rgba(17, 17, 17, 0.1);

  position: relative;
  background-color: var(--exp-bg);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--c-black);
}

.exp__inner {
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter);
}

/* ----- Map ----- */
.exp__mapcol {
  order: 2;
  margin-top: 56px;
}

.exp__map-wrap {
  position: relative;
}

.exp__map {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* 1px 안팎의 얇은 선: 확대 비율과 상관없이 같은 두께 */
.exp__map-outline,
.exp__map-bounds {
  fill: none;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.exp__map-outline {
  stroke: var(--map-outline);
  stroke-width: 1.6px;
  opacity: 0;
  transition: opacity 1.6s var(--ease-out);
}

.exp__map-fill {
  fill: var(--exp-bg);
  stroke: none;
}

/* 행정구역 경계는 스크롤이 진행되며 아주 옅게 드러남 */
.exp__map-bounds {
  stroke: var(--map-bounds);
  stroke-width: 0.6px;
  opacity: var(--bounds, 0);
}

.exp.is-in .exp__map-outline {
  opacity: 1;
}

/* ----- Points ----- */
.exp__pt {
  opacity: 0;
  transition: opacity 0.9s var(--ease-out);
}

.exp__pt.is-shown,
.exp__pt.is-hover {
  opacity: 1;
}

.exp__pt-dot {
  fill: rgba(17, 17, 17, 0.72);
  transition: fill 0.5s var(--ease-out);
}

/* point 직접 hover 용 투명 영역 (이웃 point 와 겹치지 않는 크기) */
.exp__pt-hit {
  fill: transparent;
  pointer-events: all;
}

.exp__pt:not(.is-shown) .exp__pt-hit {
  pointer-events: none;
}

.exp__pt-ring {
  fill: none;
  stroke: rgba(17, 17, 17, 0.5);
  stroke-width: 0.8px;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

/* 등장 시 pulse 1회 */
.exp__pt.is-shown .exp__pt-ring {
  animation: exp-pulse 1.4s var(--ease-out) 0.2s 1;
}

@keyframes exp-pulse {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0; transform: scale(3.4); }
}

.exp__pt-label {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  fill: var(--c-black);
  stroke: var(--exp-bg);
  stroke-width: 3px;
  stroke-linejoin: round;
  paint-order: stroke;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
  pointer-events: none;
}

/* 지역명: 주요 기관은 유지, 나머지는 현재 활성 point 에만 */
.exp__pt.is-major.is-shown .exp__pt-label {
  opacity: 0.6;
}

.exp__pt.is-active .exp__pt-label,
.exp__pt.is-hover .exp__pt-label {
  opacity: 1;
  transition-delay: 0.35s;
}

.exp__pt.is-hover .exp__pt-label {
  transition-delay: 0s;
}

.exp__pt.is-active .exp__pt-dot,
.exp__pt.is-hover .exp__pt-dot {
  fill: var(--c-blue);
}

/* hover 중인 point 가 있으면 다른 활성 표시는 잠시 물러남 */
.exp__map.has-hover .exp__pt.is-active:not(.is-hover) .exp__pt-dot {
  fill: rgba(17, 17, 17, 0.72);
}

.exp__map.has-hover .exp__pt.is-active:not(.is-hover):not(.is-major) .exp__pt-label {
  opacity: 0;
}

.exp__map-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--c-line);
  font-size: 11px;
  color: var(--c-text-muted);
}

.exp__map-legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-text-sub);
}

.exp__map-legend i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: rgba(17, 17, 17, 0.72);
}

/* ----- Content ----- */
.exp__content {
  display: contents;
}

.exp__intro {
  order: 1;
  padding-top: calc(var(--header-h) + 12vh);
}

.exp__eyebrow,
.exp__label,
.exp__block-en {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.6;
}

.exp__eyebrow {
  display: flex;
  gap: 14px;
  color: var(--c-text-sub);
}

.exp__eyebrow span {
  color: var(--c-text-muted);
}

.exp__title {
  margin-top: 28px;
  font-size: clamp(32px, 8.8vw, 44px);
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: -0.035em;
  word-break: keep-all;
}

.exp__title .exp__line:last-child {
  font-weight: 500;
}

.exp__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
}

.exp__line > span {
  display: block;
  transition: transform 1.1s var(--ease-roll);
}

.exp__line:nth-child(2) > span {
  transition-delay: 90ms;
}

.exp:not(.is-in) .exp__line > span {
  transform: translateY(110%);
}

.exp__lead {
  max-width: 34em;
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-text-sub);
  word-break: keep-all;
}

.exp__br {
  display: none;
}

.exp__label {
  margin-top: 28px;
  color: var(--c-text-muted);
}

/* ----- Major institutions / Recent ----- */
.exp__block {
  order: 4;
  margin-top: 64px;
}

.exp__block:last-child {
  padding-bottom: 14vh;
}

.exp__block-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  font-size: 13px;
  font-weight: 500;
}

.exp__block-en {
  color: var(--c-text-muted);
}

.exp__majors,
.exp__recent {
  list-style: none;
  border-top: 1px solid rgba(17, 17, 17, 0.16);
}

.exp__row {
  border-bottom: 1px solid var(--c-line);
  transition: background-color 0.4s var(--ease-out);
}

@media (hover: hover) {
  .exp__row:hover {
    background-color: #f4f5f6;
  }
}

.exp__major {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
}

.exp__major-name {
  font-size: 15px;
  font-weight: 500;
}

.exp__major-count {
  font-size: 28px;
  font-weight: 200;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

/* count-up 중 자릿수가 바뀌어도 폭이 흔들리지 않도록 최종 자릿수 기준으로 고정, 오른쪽 정렬 */
.exp__major-num {
  display: inline-block;
  width: calc(var(--digits, 2) * 1ch);
  text-align: right;
}

.exp__major-count small {
  margin-left: 4px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--c-text-sub);
}

.exp__major-etc {
  padding: 14px 0;
  font-size: 13px;
  color: var(--c-text-muted);
}

.exp__recent-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 4px 16px;
  padding: 14px 0;
  font-size: 14px;
}

.exp__recent-date {
  grid-row: span 2;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--c-text-sub);
}

.exp__recent-org {
  font-weight: 500;
}

.exp__recent-title {
  color: var(--c-text-sub);
}

/* Mobile: 지도가 작게 축소되므로 point·지역명을 키워 실제 크기를 맞춤 */
@media (max-width: 767px) {
  .exp__pt-label {
    font-size: 17px;
    stroke-width: 4px;
  }

  .exp__pt-dot {
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(1.7);
  }

  /* 같은 높이의 진주·창원 point 와 겹치지 않도록 아래쪽 지역명은 더 내림 */
  .exp__pt-label--below {
    transform: translateY(10px);
  }
}

/* Tablet */
@media (min-width: 768px) {
  .exp__intro {
    padding-top: calc(var(--header-h) + 14vh);
  }

  .exp__title {
    font-size: clamp(44px, 6.2vw, 58px);
  }

  .exp__lead {
    font-size: 16px;
  }

  .exp__br {
    display: inline;
  }

  .exp__mapcol {
    width: 78%;
    margin-left: auto;
    margin-right: auto;
  }

  .exp__recent-row {
    grid-template-columns: 80px 180px 1fr;
    align-items: baseline;
  }

  .exp__recent-date {
    grid-row: auto;
  }
}

/* Desktop: 지도(왼쪽, sticky) + 콘텐츠(오른쪽) */
@media (min-width: 1024px) {
  .exp__inner {
    display: grid;
    grid-template-columns: 56% 1fr;
    column-gap: 5vw;
  }

  .exp__mapcol {
    order: 0;
    width: auto;
    margin: 0;
  }

  .exp__map-wrap {
    position: sticky;
    top: var(--header-h);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: calc(100vh - var(--header-h));
    height: calc(100svh - var(--header-h));
    padding: 3vh 0 4vh;
  }

  .exp__map {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100% - 52px);
    margin: 0 auto;
  }

  .exp__content {
    display: block;
    /* 콘텐츠가 끝난 뒤 완성된 지도가 머무는 구간 (point 누적 속도 유지용) */
    padding-bottom: 72vh;
  }

  .exp__intro {
    padding-top: calc(var(--header-h) + 18vh);
  }

  .exp__title {
    font-size: clamp(48px, 4.2vw, 72px);
    line-height: 1.18;
  }

  .exp__lead {
    font-size: 16px;
  }

  /* 카피 직후 짧은 스크롤로 주요 기관이 이어지도록 */
  .exp__intro + .exp__block {
    margin-top: 8vh;
  }

  .exp__block + .exp__block {
    margin-top: 26vh;
  }

  .exp__block:last-child {
    padding-bottom: 0;
  }

  .exp__recent-row {
    grid-template-columns: 76px minmax(120px, 160px) 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .exp *,
  .exp *::before,
  .exp *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation: none !important;
  }
}

/* =========================================================
   Why Semyung (07)
   - 섹션을 지나는 동안 stage 가 화면에 고정, 스크롤 = 컨베이어 구동
   - 인덱싱 컨베이어: 이동 → GATE 에서 정지 → S1 감지 · GATE 활성 · 항목 활성 → 다음으로 이동
   - Primary(블루)는 감지 중인 센서, 도착한 gate, 활성 번호에만 사용
   ========================================================= */
.why {
  --why-bg: #f3f4f5;
  --c-blue: #2557ff;
  --ease-roll: cubic-bezier(0.76, 0, 0.18, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  position: relative;
  z-index: 1; /* 컨베이어 연장(.why__ext)이 About 상단 여백 위로 이어지도록 */
  background-color: var(--why-bg);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--c-black);
}

.why__intro {
  padding: calc(var(--header-h) + 12vh) var(--gutter) 4vh;
}

.contact__eyebrow {
  display: flex;
  gap: 14px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.6;
  color: var(--c-text-sub);
}

.contact__eyebrow span {
  color: var(--c-text-muted);
}

.why__title {
  font-size: clamp(30px, 8.4vw, 44px);
  font-weight: 300;
  line-height: 1.24;
  letter-spacing: -0.035em;
  word-break: keep-all;
}

.why__line,
.contact__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
}

.why__line > span,
.contact__line > span {
  display: block;
  transition: transform 1.1s var(--ease-roll);
}

.contact__line:nth-child(2) > span {
  transition-delay: 90ms;
}

.why:not(.is-in) .why__line > span,
.contact:not(.is-in) .contact__line > span {
  transform: translateY(110%);
}

/* ----- Stage ----- */
.why__scroller {
  position: relative;
  height: 360vh;
}

.why__stage {
  --gate: calc(var(--header-h) + (100svh - var(--header-h)) * 0.5);
  --belt-l: var(--gutter);
  --belt-r: var(--gutter);
  --rail-w: 8px;
  --pitch: 24px;
  --steel: #e2e5e8;
  --steel-edge: rgba(17, 17, 17, 0.28);
  --roller-body: rgba(17, 17, 17, 0.045);
  --roller-edge: rgba(17, 17, 17, 0.16);
  --idle: rgba(17, 17, 17, 0.3);

  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

/* GATE 높이를 가로지르는 기준선 */
.why__axis {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: var(--gate);
  height: 1px;
  background-color: rgba(17, 17, 17, 0.1);
}

/* ----- Conveyor ----- */
.why__belt {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--belt-l);
  right: var(--belt-r);
}

/* rail: 금속 톤 채널 + 테두리 + roller 축 끝 (roller 와 함께 이동) */
.why__rail {
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--rail-w);
  padding: 0 2px;
  border-left: 1px solid var(--steel-edge);
  border-right: 1px solid var(--steel-edge);
  background-color: var(--steel);
  background-image: repeating-linear-gradient(to bottom, transparent 0 9px, var(--roller-edge) 9px 15px, transparent 15px var(--pitch));
  background-clip: content-box;
  background-origin: content-box;
  background-position: 0 var(--roll, 0px);
}

.why__rail--l { left: 0; }
.why__rail--r { right: 0; }

/* roller: rail 안쪽에 맞물린 막대 */
.why__rollers {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--rail-w);
  right: var(--rail-w);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 8px,
    var(--roller-edge) 8px 9px,
    var(--roller-body) 9px 15px,
    var(--roller-edge) 15px 16px,
    transparent 16px var(--pitch)
  );
  background-position: 0 var(--roll, 0px);
}

/* S1: GATE 앞(아래) 감지 센서 — 접근하는 항목을 감지하면 블루 */
.why__sensor {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--gate) + var(--spacing, 30vh) * 0.42);
  border-top: 1px dashed var(--idle);
  transition: border-color 0.25s ease;
}

.why__sensor i,
.why__gate i {
  position: absolute;
  top: -3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--idle);
  transition: background-color 0.25s ease;
}

.why__sensor i:first-child,
.why__gate i:first-child { left: calc(var(--rail-w) / 2 - 2px); }
.why__sensor i:last-child,
.why__gate i:last-child { right: calc(var(--rail-w) / 2 - 2px); }

.why__sensor.is-on {
  border-top-color: var(--c-blue);
}

.why__sensor.is-on i {
  background-color: var(--c-blue);
  animation: why-pop 0.4s var(--ease-out) 1;
}

/* GATE: 벨트를 가로지르는 도착 지점. 감지 → (짧은 지연) → gate 활성 */
.why__gate {
  position: absolute;
  left: -12px;
  right: -12px;
  top: var(--gate);
  height: 1px;
  background-color: var(--idle);
  transition: background-color 0.3s ease 0s;
}

.why__gate::before,
.why__gate::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 1px;
  height: 11px;
  background-color: inherit;
}

.why__gate::before { left: 0; }
.why__gate::after { right: 0; }

.why__gate i:first-child { left: calc(12px + var(--rail-w) / 2 - 2px); }
.why__gate i:last-child { right: calc(12px + var(--rail-w) / 2 - 2px); }

.why__gate.is-on {
  background-color: var(--c-blue);
  transition-delay: 0.12s;
}

.why__gate.is-on i {
  background-color: var(--c-blue);
  transition-delay: 0.12s;
}

@keyframes why-pop {
  0% { transform: scale(1.8); }
  100% { transform: scale(1); }
}

/* 흐름 표기 (desktop) */
.why__mark {
  display: none;
  position: absolute;
  right: calc(100% + 16px);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  white-space: nowrap;
  color: rgba(17, 17, 17, 0.38);
  transform: translateY(-50%);
  transition: color 0.3s ease;
}

.why__mark--out { top: calc(var(--header-h) + 24px); }
.why__mark--gate { top: var(--gate); }
.why__mark--sensor { top: calc(var(--gate) + var(--spacing, 30vh) * 0.42); }
.why__mark--in { bottom: 20px; transform: none; }

.why__sensor.is-on ~ .why__mark--sensor,
.why__gate.is-on ~ .why__mark--gate {
  color: var(--c-blue);
}

/* ----- 벨트 위를 이동하는 항목 ----- */
.why__units {
  position: absolute;
  inset: 0 calc(var(--rail-w) + 20px);
  list-style: none;
}

.why__unit {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  align-items: baseline;
  gap: 16px;
  /* 위치·투명도는 JS 가 진행도(--d: GATE 기준 거리, 항목 간격 단위)로 계산 */
  transform: translate3d(0, calc(var(--gate) + var(--d, 0) * var(--spacing, 30vh)), 0) translateY(-50%);
  opacity: var(--o, 0.2);
  will-change: transform, opacity;
}

.why__unit-no {
  flex: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--c-text-muted);
  transition: color 0.3s ease;
}

.why__unit-title {
  font-size: clamp(24px, 6.6vw, 30px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.035em;
  word-break: keep-all;
  /* 벨트 위 항목 이름판: 배경색 면으로 roller 를 가려 글자가 또렷하게 */
  padding: 2px 10px 4px;
  margin: -2px -10px -4px;
  background-color: var(--why-bg);
}

.why__unit.is-arrived .why__unit-no {
  color: var(--c-blue);
  transition-delay: 0.24s;
}

/* ----- Anchor: 도착 항목 번호 ----- */
.why__anchor {
  position: absolute;
  left: var(--gutter);
  top: calc(var(--header-h) + 20px);
  z-index: 2;
}

.why__num {
  display: flex;
  font-size: 56px;
  font-weight: 200;
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.why__num-digit {
  display: block;
  padding: 0.06em 0.01em 0.02em;
}

.why__num-digit--roll {
  height: calc(0.9em + 0.08em);
  overflow: hidden;
}

.why__num-strip {
  display: block;
  transform: translateY(calc(var(--why-step, 0) * -0.98em));
  transition: transform 0.9s var(--ease-roll) 0.24s;
}

.why__num-strip span {
  display: block;
  height: 0.98em;
}

.why__en {
  height: 1.6em;
  margin-top: 8px;
  overflow: hidden;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.6;
  color: var(--c-text-muted);
}

.why__en-strip {
  display: block;
  transform: translateY(calc(var(--why-step, 0) * -1.6em));
  transition: transform 0.9s var(--ease-roll) 0.24s;
}

.why__en-strip span {
  display: block;
  height: 1.6em;
}

.why__progress {
  display: none;
}

/* ----- 컨베이어 연장 (Why → About) -----
   섹션 바로 아래(About 상단 여백)로 같은 폭의 레일·롤러가 이어짐.
   롤러와 레일 면은 아래로 갈수록 사라지고 레일의 얇은 테두리 선만 남음.
   Desktop: 선이 About 이미지 프레임 상단(header + 56px)에서 끝남
   Tablet/Mobile: 레일이 About 라벨 줄과 겹치지 않도록 라벨 직전에서 전체가 사라짐 */
.why__ext {
  --rail-w: 8px;
  --steel: #e2e5e8;
  --steel-edge: rgba(17, 17, 17, 0.28);
  --roller-body: rgba(17, 17, 17, 0.045);
  --roller-edge: rgba(17, 17, 17, 0.16);

  position: absolute;
  top: 100%;
  left: var(--gutter);
  right: var(--gutter);
  height: calc(var(--header-h) + 8px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent);
  mask-image: linear-gradient(to bottom, #000 35%, transparent);
}

.why__ext-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--rail-w);
  border-left: 1px solid var(--steel-edge);
  border-right: 1px solid var(--steel-edge);
}

.why__ext-rail--l { left: 0; }
.why__ext-rail--r { right: 0; }

/* 레일 면 + roller 축 끝 (stage 레일과 같은 무늬, 아래로 사라짐) */
.why__ext-rail::before {
  content: "";
  position: absolute;
  inset: 0 2px;
  background-color: var(--steel);
  background-image: repeating-linear-gradient(to bottom, transparent 0 9px, var(--roller-edge) 9px 15px, transparent 15px 24px);
  background-position: 0 var(--roll-ext, 0px);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%);
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

.why__ext-rollers {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--rail-w);
  right: var(--rail-w);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 8px,
    var(--roller-edge) 8px 9px,
    var(--roller-body) 9px 15px,
    var(--roller-edge) 15px 16px,
    transparent 16px 24px
  );
  background-position: 0 var(--roll-ext, 0px);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 60%);
  mask-image: linear-gradient(to bottom, #000, transparent 60%);
}

/* ----- Detail: 도착 항목 설명 + 이미지 ----- */
.why__detail {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 24px;
  z-index: 2;
}

.why__descs {
  display: grid;
}

.why__desc {
  grid-area: 1 / 1;
  max-width: 26em;
  padding: 10px 12px 0 0;
  background-color: var(--why-bg);
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-sub);
  word-break: keep-all;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.6s var(--ease-out);
}

.why__desc.is-active {
  opacity: 1;
  transform: none;
  transition-delay: 0.24s;
}

.why__visual {
  display: none;
}

/* Tablet */
@media (min-width: 768px) {
  .why__title {
    font-size: clamp(44px, 6.2vw, 58px);
  }

  .why__stage {
    --belt-l: 34%;
  }

  .why__ext {
    left: 34%;
  }

  .why__anchor {
    top: auto;
    bottom: calc(100% - var(--gate) + 16px);
  }

  .why__num {
    font-size: 96px;
  }

  .why__detail {
    right: auto;
    bottom: auto;
    top: calc(var(--gate) + 20px);
    width: calc(34% - var(--gutter) - 32px);
  }

  .why__desc {
    padding: 0;
    background: none;
    font-size: 15px;
  }

  .why__unit-title {
    font-size: 34px;
  }
}

/* Desktop: 번호(왼쪽) | 컨베이어(가운데) | 설명·이미지(오른쪽) */
@media (min-width: 1024px) {
  .why__intro {
    padding: calc(var(--header-h) + 16vh) var(--gutter) 2vh;
  }

  .why__title {
    font-size: clamp(52px, 4.8vw, 80px);
    line-height: 1.18;
  }

  .why__scroller {
    height: 420vh;
  }

  .why__stage {
    --belt-l: 30%;
    --belt-r: 30%;
    --rail-w: 10px;
  }

  /* 레일 선이 About 이미지 프레임 상단까지 (라벨과 겹치지 않는 가운데 구간) */
  .why__ext {
    --rail-w: 10px;

    left: 30%;
    right: 30%;
    height: calc(var(--header-h) + 56px);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .why__num {
    font-size: clamp(120px, min(11vw, 20vh), 200px);
  }

  .why__en {
    margin-top: 14px;
  }

  .why__progress {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: min(220px, 100%);
    margin-top: 28px;
    padding-top: 10px;
    list-style: none;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--c-text-muted);
  }

  .why__progress::before,
  .why__progress::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
  }

  .why__progress::before {
    background-color: rgba(17, 17, 17, 0.14);
  }

  .why__progress::after {
    background-color: var(--c-black);
    transform: scaleX(var(--why-progress, 0));
    transform-origin: left center;
  }

  .why__anchor {
    bottom: auto;
    top: calc(var(--gate) - clamp(120px, min(11vw, 20vh), 200px) * 0.9 - 24px);
  }

  .why__mark {
    display: block;
  }

  .why__unit-title {
    font-size: clamp(30px, 2.8vw, 46px);
  }

  .why__detail {
    left: auto;
    right: var(--gutter);
    top: 0;
    bottom: 0;
    width: calc(30% - var(--gutter) - 3vw);
  }

  .why__visual {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% - var(--gate) + 24px);
    display: block;
    aspect-ratio: 4 / 3;
    max-height: 30vh;
    overflow: hidden;
    background-color: #e4e6e8;
  }

  .why__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.6s ease, transform 1.2s var(--ease-out);
  }

  .why__img.is-active {
    opacity: 1;
    transform: none;
    transition-delay: 0.24s;
  }

  .why__descs {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--gate) + 24px);
  }

  .why__desc {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .why *,
  .contact * {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation: none !important;
  }
}

/* =========================================================
   Contact (08) + Footer
   - 왼쪽: 카피 + 회사 정보 / 오른쪽: underline 기반 문의 폼
   - 배경: 분기·합류하는 rail 선 그래픽, 스크롤 진행만큼 경로가 채워지고 point 가 이동
   ========================================================= */
.contact {
  --ease-roll: cubic-bezier(0.76, 0, 0.18, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --c-blue: #2557ff;
  --contact-bg: #fff;

  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 12vh) var(--gutter) 12vh;
  background-color: var(--contact-bg);
  border-top: 1px solid var(--c-line);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--c-black);
}

/* ----- Background rail (콘텐츠보다 항상 뒤, 매우 옅게) ----- */
.contact__rail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  fill: none;
}

/* 모바일은 콘텐츠가 섹션을 가득 채워 rail 이 폼 뒤를 지나므로 숨김 */
@media (max-width: 767px) {
  .contact__rail {
    display: none;
  }
}

/* rail: 넓은 회색 선 위에 배경색 선을 겹쳐 두 줄 테두리 */
.contact__rail-belt {
  stroke: rgba(17, 17, 17, 0.08);
  stroke-width: 12;
  stroke-linejoin: round;
}

.contact__rail-belt-in {
  stroke: var(--contact-bg);
  stroke-width: 10.6;
  stroke-linejoin: round;
}

.contact__rail-roll {
  stroke: rgba(17, 17, 17, 0.05);
  stroke-width: 10;
  stroke-dasharray: 0.8 9;
}

.contact__rail-sensors path {
  stroke: rgba(17, 17, 17, 0.16);
  stroke-width: 0.8;
  stroke-dasharray: 2 2;
  vector-effect: non-scaling-stroke;
}

.contact__rail-sensors circle {
  fill: rgba(17, 17, 17, 0.18);
}

.contact__rail-sensors .contact__rail-stop {
  stroke: rgba(17, 17, 17, 0.3);
  stroke-dasharray: none;
}

/* 지나온 경로: 아주 옅은 진회색으로 채워짐 */
.contact__rail-route {
  stroke: rgba(17, 17, 17, 0.22);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.contact__rail-dot {
  fill: var(--c-blue);
}

/* ----- Layout ----- */
.contact__inner {
  position: relative;
  display: grid;
  gap: 72px;
}

.contact__title {
  margin-top: 32px;
  font-size: clamp(36px, 9.6vw, 52px);
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

.contact__title .contact__line:last-child {
  font-weight: 500;
}

.contact__lead {
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text-sub);
  word-break: keep-all;
  transition: opacity 1s var(--ease-out) 0.3s;
}

.contact:not(.is-in) .contact__lead {
  opacity: 0;
}

/* 회사 정보: 라벨 + 값, 얇은 구분선 */
.contact__info {
  margin-top: 56px;
}

.contact__info-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--c-line);
}

.contact__info-item:last-child {
  border-bottom: 1px solid var(--c-line);
}

.contact__info dt {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 2.2;
  color: var(--c-text-muted);
}

.contact__info dd {
  font-size: 15px;
  line-height: 1.6;
  word-break: keep-all;
}

.contact__info dd.is-placeholder {
  color: var(--c-text-muted);
}

/* ----- Form (카드 없이 상단 굵은 선 + underline 입력) ----- */
.contact__form {
  padding-top: 20px;
  border-top: 1px solid var(--c-black);
}

.contact__form-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 24px;
}

.contact__form-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--c-text-sub);
}

/* 문의 유형: 텍스트 토글 */
.contact__type {
  display: flex;
  gap: 20px;
  border: 0;
}

.contact__type label {
  position: relative;
  cursor: pointer;
}

.contact__type input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact__type span {
  display: inline-block;
  padding-bottom: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text-muted);
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.contact__type input:checked + span {
  color: var(--c-black);
  border-bottom-color: var(--c-black);
}

.contact__type input:focus-visible + span {
  outline: 1px solid var(--c-blue);
  outline-offset: 4px;
}

.contact__fields {
  display: grid;
  gap: 8px 32px;
  margin-top: 28px;
}

.contact__field {
  display: block;
  padding-top: 14px;
}

.contact__label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--c-text-muted);
  transition: color 0.3s ease;
}

.contact__label em {
  margin-left: 4px;
  font-style: normal;
  color: var(--c-text-sub);
}

.contact__field input,
.contact__field textarea {
  display: block;
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: var(--c-black);
  outline: none;
  transition: border-color 0.3s ease;
}

.contact__field textarea {
  resize: vertical;
  min-height: 112px;
  line-height: 1.6;
}

.contact__field input::placeholder,
.contact__field textarea::placeholder {
  color: rgba(17, 17, 17, 0.32);
}

/* 입력 중인 항목: 밑줄과 라벨만 Primary */
.contact__field:focus-within .contact__label {
  color: var(--c-blue);
}

.contact__field input:focus,
.contact__field textarea:focus {
  border-bottom-color: var(--c-blue);
}

.contact__field.is-invalid input,
.contact__field.is-invalid textarea {
  border-bottom-color: var(--c-black);
}

.contact__field.is-invalid .contact__label {
  color: var(--c-black);
}

.contact__form-foot {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.contact__agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-text-sub);
  cursor: pointer;
}

.contact__agree input {
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  accent-color: var(--c-black);
}

.contact__agree.is-invalid span {
  color: var(--c-black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* CTA: 각진 검정 버튼, hover 시 화살표만 Primary */
.contact__submit {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
  padding: 20px 24px;
  border: 1px solid var(--c-black);
  background-color: var(--c-black);
  font-size: 15px;
  font-weight: 500;
  color: var(--c-white);
  transition: background-color 0.4s var(--ease-out);
}

.contact__submit i {
  font-style: normal;
  transition: transform 0.5s var(--ease-out), color 0.3s ease;
}

.contact__submit:hover,
.contact__submit:focus-visible {
  background-color: #2a2a2a;
}

.contact__submit:hover i,
.contact__submit:focus-visible i {
  color: #8fa6ff;
  transform: translateX(6px);
}

.contact__status {
  min-height: 1.6em;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-text-sub);
}

/* ----- Footer ----- */
.site-footer {
  padding: 56px var(--gutter) 28px;
  background-color: #f3f4f5;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--c-black);
}

.site-footer__top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.site-footer__logo {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 13px;
  color: var(--c-text-sub);
}

.site-footer__nav a {
  transition: color 0.3s ease;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: var(--c-black);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 24px;
  padding-top: 24px;
  font-size: 12px;
  color: var(--c-text-muted);
}

.site-footer__biz {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  width: 100%;
}

.site-footer__copy {
  margin-right: auto;
}

.site-footer__top-link {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--c-text-sub);
}

.site-footer__top-link i {
  font-style: normal;
}

@media (min-width: 768px) {
  .contact__title {
    font-size: clamp(52px, 7.6vw, 72px);
  }

  .contact__lead {
    font-size: 17px;
  }

  .contact__fields {
    grid-template-columns: 1fr 1fr;
  }

  .contact__field--full {
    grid-column: 1 / -1;
  }

  .contact__form-foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .contact__submit {
    width: auto;
    min-width: 220px;
  }

  .site-footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
  }

  .site-footer__biz {
    width: auto;
  }

  .site-footer__copy {
    margin-right: 0;
    margin-left: auto;
  }
}

/* Desktop: 왼쪽 정보 | 오른쪽 폼 */
@media (min-width: 1024px) {
  .contact {
    padding-top: calc(var(--header-h) + 16vh);
    padding-bottom: 16vh;
  }

  .contact__inner {
    grid-template-columns: 1fr minmax(420px, 42%);
    column-gap: 6vw;
    align-items: start;
  }

  .contact__title {
    font-size: clamp(56px, 4.9vw, 88px);
    line-height: 1.12;
  }

  .contact__lead {
    margin-top: 32px;
    font-size: 18px;
  }

  .contact__info {
    max-width: 440px;
    margin-top: 12vh;
  }

  .contact__form {
    margin-top: 6px;
  }

  .contact__form-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .contact__submit {
    width: 100%;
  }
}

@media (min-width: 1280px) {
  .contact__form-foot {
    flex-direction: row;
    align-items: center;
  }

  .contact__submit {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact * {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

/* =========================================================
   Tablet / Mobile 보정 (1023px 이하에서만 적용 — Desktop 영향 없음)
   ========================================================= */
@media (max-width: 1023px) {
  /* 터치 영역만 넓힘: padding 만큼 음수 margin 을 줘서 보이는 크기·간격은 그대로 */
  .lang__item {
    padding: 14px 4px;
    margin: -14px -4px;
  }

  .prod__step {
    padding: 12px 6px;
    margin: -8px -6px;
  }

  .prod__item {
    padding: 10px 0;
    margin: -10px 0;
  }

  .site-footer__nav a {
    padding: 10px 0;
    margin: -10px 0;
  }

  .site-footer__top-link {
    padding: 16px 0 16px 16px;
    margin: -16px 0 -16px -16px;
  }

  .site-header__logo {
    padding: 10px 0;
    margin: -10px 0;
  }

  .mega__list a {
    display: inline-block;
    padding: 9px 16px 9px 0;
    margin: -9px -16px -9px 0;
  }

  .contact__info a {
    display: inline-block;
    padding: 10px 0;
    margin: -10px 0;
  }

  /* Business 배경 도면의 치수선·라벨이 하단 단계 내비와 겹쳐서 숨김 */
  .biz__bg-dim {
    display: none;
  }
}

@media (max-width: 767px) {
  /* 문의 내용 placeholder 가 단어 중간에서 끊기지 않게 */
  .contact__form textarea {
    word-break: keep-all;
  }

  /* Footer 메뉴 5개가 한 줄에 들어가도록 간격만 축소 */
  .site-footer__nav {
    column-gap: 18px;
  }
}

/* 주소의 번지·호수가 중간에서 끊기지 않도록 */
.contact__info .nowrap {
  white-space: nowrap;
}
