/* ==========================================================================
   SEED - 기본 토큰
   ========================================================================== */
:root {
  --brand: #2e7d55;
  --brand-dark: #22613f;
  --brand-light: #e8f2ec;
  --content-default: #111;
  --content-subtle: #444;
  --content-muted: #888;
  --content-inverse: #fff;
  --border-default: #d7d7d7;
  --bg-default: #fff;
  --bg-subtle: #f4f4f4;
  --bg-inverse: #111;

  --gutter: clamp(20px, 4.17vw, 80px);
  --section-y: clamp(80px, 6.25vw, 120px);

  --fs-display: clamp(48px, 6.25vw, 120px);
  --fs-h1: clamp(36px, 3.02vw, 58px);
  --fs-h2: clamp(36px, 3.33vw, 64px);
  --fs-h3: clamp(28px, 2.5vw, 48px);
  --fs-t1: clamp(22px, 1.67vw, 32px);
  --fs-t4: clamp(17px, 1.15vw, 22px);
  --fs-b1: clamp(16px, 1.04vw, 20px);
  --fs-b2: clamp(15px, 0.94vw, 18px);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--content-default);
  background: var(--bg-default);
  letter-spacing: -0.02em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.line { display: block; overflow: hidden; }
.line > span { display: block; }

/* 공통 라벨 · 링크 */
.sub-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-b1); font-weight: 500; line-height: 1.4;
  color: var(--content-subtle);
}
.sub-label i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

.section-label {
  font-size: var(--fs-b1); font-weight: 600; line-height: 1.4;
  color: var(--brand); margin-bottom: 16px;
}
.section-title {
  font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em;
}
.section-desc {
  margin-top: 24px;
  font-size: var(--fs-b2); line-height: 1.45; color: var(--content-subtle);
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-b1); font-weight: 600; line-height: 1.4;
}
.link-arrow svg { transition: transform .4s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(6px); }

/* ==========================================================================
   GNB
   ========================================================================== */
.gnb {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 40px var(--gutter) 24px;
  color: var(--content-inverse);
  transition: transform .5s var(--ease-out), background .3s, color .3s, padding .3s;
}
.gnb__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.gnb__logo { width: 269px; }
.gnb__logo img { height: 42px; width: auto; filter: brightness(0) invert(1); transition: filter .3s; }
.gnb__menu { display: flex; gap: 48px; font-size: 20px; font-weight: 600; line-height: 1.4; }
.gnb__menu a { position: relative; }
.gnb__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.gnb__menu a:hover::after, .gnb__menu a.is-current::after { transform: scaleX(1); }
.gnb__util { display: flex; align-items: center; justify-content: flex-end; gap: 24px; width: 269px; }
.gnb__toggle { display: grid; place-items: center; width: 40px; height: 40px; }

.gnb.is-solid { background: rgba(255, 255, 255, .96); color: var(--content-default); padding-top: 20px; padding-bottom: 20px; box-shadow: 0 1px 0 var(--border-default); }
.gnb.is-solid .gnb__logo img { filter: none; }
.gnb.is-hidden { transform: translateY(-100%); }

/* 전체 메뉴 */
.sitemap {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column;
  background: #fff; color: var(--content-default);
  opacity: 0; visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.sitemap.is-open { opacity: 1; visibility: visible; }

.sitemap__top { display: flex; align-items: center; justify-content: space-between; padding: 40px var(--gutter) 24px; flex: none; }
.sitemap__logo img { height: 42px; width: auto; }
.sitemap__close {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--border-default);
  transition: transform .5s var(--ease-out), background .3s, color .3s, border-color .3s;
}
.sitemap__close:hover { transform: rotate(90deg); background: var(--content-default); border-color: var(--content-default); color: #fff; }

.sitemap__body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 34%); }

/* 왼쪽: 메뉴 목록 + 하단 슬로건 */
.sitemap__nav { display: flex; flex-direction: column; padding: 0 clamp(40px, 5vw, 96px) 32px var(--gutter); }
.sitemap__list { margin: auto 0; border-top: 1px solid var(--content-default); }

.sitemap__item {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 24px;
  padding: clamp(18px, 2.8vh, 30px) 16px clamp(18px, 2.8vh, 30px) 8px;
  border-bottom: 1px solid var(--border-default);
  opacity: 0; transform: translateY(32px);
  transition: opacity .6s, transform .8s var(--ease-out);
}
.sitemap.is-open .sitemap__item { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i) * .07s); }
/* 마우스를 올리면 왼쪽부터 연한 초록 배경이 채워짐 */
.sitemap__item::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brand-light);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out);
}
.sitemap__item.is-hover::before { transform: scaleX(1); }

.sitemap__no { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--content-muted); transition: color .3s; }
.sitemap__main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sitemap__link {
  align-self: flex-start;
  font-size: clamp(28px, 3vw, 52px); font-weight: 600; line-height: 1.15; letter-spacing: -0.03em;
  transition: color .3s, transform .5s var(--ease-out);
}
.sitemap__link::after { content: ""; position: absolute; inset: 0; } /* 줄 전체 클릭 */
.sitemap__sub { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; font-size: 14px; font-weight: 500; color: var(--content-muted); }
.sitemap__sub a { transition: color .3s; }
.sitemap__sub a + a::before { content: ""; display: inline-block; width: 1px; height: 10px; margin: 0 12px; vertical-align: middle; background: var(--border-default); }
.sitemap__sub a:hover { color: var(--brand); }
.sitemap__arrow {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--border-default); color: var(--content-default);
  transition: background .4s, border-color .4s, color .4s, transform .5s var(--ease-out);
}

.sitemap__item.is-hover .sitemap__link { color: var(--brand); transform: translateX(8px); }
.sitemap__item.is-hover .sitemap__no { color: var(--brand); }
.sitemap__item.is-hover .sitemap__arrow { background: var(--brand); border-color: var(--brand); color: #fff; transform: rotate(-45deg); }
/* 현재 페이지: 번호 앞 초록 점 */
.sitemap__item.is-current .sitemap__no { color: var(--brand); }
.sitemap__item.is-current .sitemap__no::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

.sitemap__foot {
  display: flex; justify-content: space-between; gap: 16px; padding-top: 24px;
  font-size: 13px; font-weight: 500; color: var(--content-muted);
  opacity: 0; transition: opacity .6s .45s;
}
.sitemap.is-open .sitemap__foot { opacity: 1; }

/* 오른쪽: 이미지 + 메뉴 소개 + 문의 */
.sitemap__side {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 48px; color: #fff; overflow: hidden; background: #0f1f17;
  clip-path: inset(0 0 0 100%);
  transition: clip-path .9s var(--ease-out);
}
.sitemap.is-open .sitemap__side { clip-path: inset(0 0 0 0); }
.sitemap__visual { position: absolute; inset: 0; }
.sitemap__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .7s, transform 1.2s var(--ease-out); }
.sitemap__visual img.is-active { opacity: 1; transform: scale(1); }
.sitemap__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .1) 45%, rgba(0, 0, 0, .75) 100%); }
.sitemap__caption, .sitemap__contact { position: relative; z-index: 1; }
.sitemap__caption { display: flex; flex-direction: column; gap: 16px; max-width: 420px; transition: opacity .3s, transform .5s var(--ease-out); }
.sitemap__caption.is-changing { opacity: 0; transform: translateY(12px); }
.sitemap__caption-no { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; opacity: .8; }
.sitemap__caption-no::after { content: ""; width: 40px; height: 1px; background: currentColor; }
.sitemap__caption-txt { font-size: clamp(22px, 1.8vw, 32px); font-weight: 600; line-height: 1.4; }
.sitemap__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .25); }
.sitemap__label { font-size: 14px; font-weight: 600; opacity: .7; }
.sitemap__contact .copy-email { font-size: var(--fs-t4); font-weight: 500; }
.sitemap__cta {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; background: var(--brand); color: #fff;
  font-size: 15px; font-weight: 600; transition: background .3s, gap .4s var(--ease-out);
}
.sitemap__cta:hover { background: var(--brand-dark); gap: 16px; }

/* PC: 오른쪽 이미지 패널을 화면 위끝까지 채우고 닫기 버튼을 그 위에 올림 */
@media (min-width: 1025px) {
  .sitemap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 34%); grid-template-rows: auto 1fr; }
  .sitemap__body { display: contents; }
  .sitemap__top { grid-column: 1 / -1; grid-row: 1; position: relative; z-index: 2; pointer-events: none; }
  .sitemap__top > * { pointer-events: auto; }
  .sitemap__nav { grid-column: 1; grid-row: 2; }
  .sitemap__side { grid-column: 2; grid-row: 1 / -1; padding-top: 136px; }
  .sitemap__close { background: #fff; border-color: #fff; }
}


/* ==========================================================================
   01. Hero
   ========================================================================== */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; color: #fff; background: #0d1a12; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .2); }
.hero__txt {
  position: absolute; inset: auto 0 0;
  padding: 120px var(--gutter);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .4) 100%);
}
.hero__eyebrow { font-size: var(--fs-t4); font-weight: 500; line-height: 1.35; margin-bottom: 24px; }
.hero__title { font-size: var(--fs-h1); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
.hero__sub { margin-top: 24px; font-size: var(--fs-t4); font-weight: 500; line-height: 1.35; opacity: .85; }

.hero-panel {
  position: absolute; top: 50%; right: calc(var(--gutter) + 56px);
  width: min(440px, 80vw);
  padding: 40px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transform: translate(120%, -50%); opacity: 0;
}
.hero-panel__label { font-size: 16px; font-weight: 600; opacity: .8; }
.hero-panel__title { margin-top: 12px; font-size: var(--fs-t1); font-weight: 600; line-height: 1.3; }
.hero-panel__list { margin: 32px 0; border-top: 1px solid rgba(255, 255, 255, .3); }
.hero-panel__list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.hero-panel__list strong { font-size: var(--fs-b2); font-weight: 600; }
.hero-panel__list span { font-size: 14px; opacity: .75; text-align: right; }

/* 스크롤 다운: 회전하는 원형 텍스트 + 가운데 화살표 */
.scroll-down {
  position: absolute; left: 50%; bottom: 48px; z-index: 2; margin-left: -66px;
  display: grid; place-items: center; width: 132px; height: 132px; color: #fff;
}
.scroll-down__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: ringSpin 14s linear infinite; }
/* 끝 공백까지 살려 원 둘레(2π×46≈289)에 글자를 고르게 배치 */
.scroll-down__ring text { fill: currentColor; font-size: 11.5px; font-weight: 600; white-space: pre; }
.scroll-down__core {
  position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  overflow: hidden; transition: background .4s, border-color .4s;
}
.scroll-down__core svg { animation: arrowDrop 1.8s var(--ease-out) infinite; }
.scroll-down:hover .scroll-down__core { background: var(--brand); border-color: var(--brand); }
.scroll-down:hover .scroll-down__ring { animation-duration: 6s; }
@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes arrowDrop {
  0% { transform: translateY(-28px); opacity: 0; }
  35%, 65% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(28px); opacity: 0; }
}

/* ==========================================================================
   02. About (텍스트 컬러 채움)
   ========================================================================== */
.about { min-height: 100vh; display: grid; place-items: center; padding: var(--section-y) var(--gutter); text-align: center; }
.about__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.about__title { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; }
.about__desc { font-size: var(--fs-t4); font-weight: 500; line-height: 1.5; }
.js-fill .char { color: var(--border-default); }

/* ==========================================================================
   03. Core values (원스크롤)
   ========================================================================== */
.values__stage { position: relative; height: 100vh; min-height: 640px; overflow: hidden; color: #fff; background: #111; }
.values__bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1s, transform 1.6s var(--ease-out);
}
.values__bg img.is-active { opacity: 1; transform: scale(1); }
.values__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }

.values__line { position: absolute; left: 0; right: 0; top: calc(50% - 10px); height: 1px; background: rgba(255, 255, 255, .3); }
.values__progress {
  position: absolute; left: 0; top: -1px; height: 2px; width: calc(100% / 3);
  background: #fff; transition: width .9s var(--ease-out);
}

.values__nums { position: absolute; left: var(--gutter); bottom: calc(50% + 4px); height: 1.4em; overflow: hidden; font-size: 16px; font-weight: 500; line-height: 1.4; }
.values__nums li { position: absolute; left: 0; top: 0; transform: translateY(100%); transition: transform .6s var(--ease-out); }
.values__nums li.is-active { transform: translateY(0); }
.values__nums li.is-prev { transform: translateY(-100%); }

.values__content { position: absolute; left: 30.9%; right: var(--gutter); top: 0; bottom: 0; }
.values__keywords {
  position: absolute; left: 0; bottom: calc(50% + 12px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
  font-size: var(--fs-b2); font-weight: 600; line-height: 1.45;
}
.values__keywords li { opacity: .4; transition: opacity .5s; position: relative; }
.values__keywords li + li::before { content: ""; position: absolute; left: -16px; top: 50%; width: 12px; height: 1px; background: rgba(255, 255, 255, .6); }
.values__keywords li.is-active { opacity: 1; }

.values__items { position: absolute; left: 0; right: 0; top: calc(50% + 30px); }
.values__item { position: absolute; left: 0; top: 0; visibility: hidden; }
.values__item h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; }
.values__item h3 span { display: block; margin-bottom: 12px; font-size: var(--fs-b1); font-weight: 500; opacity: .8; }
.values__item h3, .values__item .link-arrow { opacity: 0; transform: translateY(40px); transition: opacity .6s, transform .8s var(--ease-out); }
.values__item .link-arrow { margin-top: 48px; transition-delay: .1s; }
.values__item.is-active { visibility: visible; }
.values__item.is-active h3, .values__item.is-active .link-arrow { opacity: 1; transform: none; }

/* ==========================================================================
   04. 주요 구축 경험
   ========================================================================== */
.exp { display: grid; padding: var(--section-y) var(--gutter) 0; }
.exp > * { grid-area: 1 / 1; }
.exp__bg-txt {
  position: sticky; top: 0; z-index: 2; height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  pointer-events: none; text-align: center;
  /* sticky 요소가 쌓임 맥락을 만들기 때문에 블렌드는 컨테이너에 적용 */
  mix-blend-mode: difference; color: #fff;
}
.exp__typing {
  display: flex; align-items: center;
  font-size: var(--fs-display); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em;
  white-space: nowrap;
}
/* difference 블렌드 후 흰 배경에서 #444 / 브랜드 컬러로 보이도록 반전값 지정 */
.exp__bg-txt .sub-label { color: #bbb; }
.exp__bg-txt .sub-label i { background: #d182aa; }
.caret { display: inline-block; width: .06em; height: .9em; margin-left: .06em; background: currentColor; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.exp__list { display: flex; flex-direction: column; gap: 12.5vw; padding-bottom: 12.5vw; }
.exp__row { display: flex; }
.exp__row--2 { justify-content: flex-end; padding-right: 2.6vw; }
.exp__row--3 { padding-left: 16.67vw; }
.exp__row--4 { justify-content: flex-end; padding-right: 14.58vw; }

.exp-card { width: min(600px, 31.25vw); display: flex; flex-direction: column; gap: 24px; }
.exp-card__img { aspect-ratio: 600 / 470; overflow: hidden; background: var(--bg-subtle); }
.exp-card--tall .exp-card__img { aspect-ratio: 1; }
.exp-card__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.exp-card__txt { display: flex; flex-direction: column; gap: 8px; }
.exp-card__period {
  align-self: flex-start; padding: 2px 10px; border-radius: 999px;
  background: var(--brand-light); color: var(--brand);
  font-size: 14px; font-weight: 600; line-height: 1.4;
}
.exp-card h3 { font-size: var(--fs-t1); font-weight: 600; line-height: 1.3; }
.exp-card p:not(.exp-card__period) { font-size: var(--fs-b2); line-height: 1.45; color: var(--content-subtle); }

/* ==========================================================================
   05. Vision (이미지 확장)
   ========================================================================== */
.vision__stage { position: relative; height: 100vh; min-height: 640px; overflow: hidden; color: #fff; }
.vision__bg { position: absolute; inset: 0; clip-path: inset(24% 45% 24% 45%); will-change: clip-path; }
.vision__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); }
.vision__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .55)); }
.vision__content { position: absolute; left: 50%; right: var(--gutter); bottom: 14%; display: flex; flex-direction: column; gap: 24px; }
.vision__title { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; }

/* ==========================================================================
   06. Process (슬라이더)
   ========================================================================== */
.process { padding: var(--section-y) 0 var(--section-y) var(--gutter); overflow: hidden; }
.process__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-right: var(--gutter); margin-bottom: 48px; }
.slider-nav { display: flex; gap: 8px; }
.slider-nav__btn {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid var(--border-default); transition: background .3s, color .3s, border-color .3s;
}
.slider-nav__btn:hover:not(.swiper-button-disabled) { background: var(--content-default); border-color: var(--content-default); color: #fff; }
.slider-nav__btn.swiper-button-disabled { opacity: .3; cursor: default; }

.process-swiper { overflow: visible; }
.process-swiper .swiper-wrapper { margin: 0; padding: 0; }
.step-card {
  position: relative; width: min(564px, 80vw); height: 366px;
  display: flex; flex-direction: column;
  padding: 48px 40px; background: var(--bg-subtle);
  transition: background .4s, color .4s;
  isolation: isolate;
}
.step-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 564 366' preserveAspectRatio='none'%3E%3Cpath d='M564 230C564 243.255 553.176 253.765 540.067 255.727C488.955 263.377 454.779 295.882 446.147 342.128C443.716 355.158 433.255 366 420 366H24C10.7452 366 0 355.255 0 342V24C0 10.7452 10.7452 0 24 0H540C553.255 0 564 10.7452 564 24V230Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 564 366' preserveAspectRatio='none'%3E%3Cpath d='M564 230C564 243.255 553.176 253.765 540.067 255.727C488.955 263.377 454.779 295.882 446.147 342.128C443.716 355.158 433.255 366 420 366H24C10.7452 366 0 355.255 0 342V24C0 10.7452 10.7452 0 24 0H540C553.255 0 564 10.7452 564 24V230Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  opacity: 0; transition: opacity .4s;
}
.step-card__no { font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--content-subtle); transition: color .4s; }
.step-card h3 { margin-top: 16px; font-size: var(--fs-t1); font-weight: 600; line-height: 1.3; }
.step-card__desc { margin-top: auto; padding-right: 110px; font-size: var(--fs-b2); line-height: 1.45; color: var(--content-subtle); transition: color .4s; }
.step-card__btn {
  position: absolute; right: 0; bottom: 0; width: 88px; height: 88px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand); color: #fff;
  transform: scale(0); transition: transform .5s var(--ease-out);
}
.step-card.is-active { background: transparent; color: #fff; }
.step-card.is-active::before { opacity: 1; }
.step-card.is-active .step-card__no, .step-card.is-active .step-card__desc { color: rgba(255, 255, 255, .85); }
.step-card.is-active .step-card__btn { transform: scale(1); }

.process__points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; padding-right: var(--gutter); }
.process__points li { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; border-top: 1px solid var(--content-default); }
.process__points strong { font-size: var(--fs-t4); font-weight: 600; line-height: 1.35; }
.process__points span { font-size: var(--fs-b2); line-height: 1.45; color: var(--content-subtle); }

/* ==========================================================================
   07. Tech
   ========================================================================== */
.tech { background: var(--bg-subtle); padding: var(--section-y) var(--gutter); }
.tech__inner { max-width: 1760px; margin: 0 auto; }
.tech__head { margin-bottom: 64px; }

.arch { display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
.arch__layers { display: flex; flex-direction: column; gap: 8px; }
.arch__layer { display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 24px; padding: 24px 32px; background: #fff; }
.arch__layer h3 { font-size: var(--fs-t4); font-weight: 600; line-height: 1.35; }
.arch__layer ul { display: flex; flex-wrap: wrap; gap: 8px; }
.arch__layer li { padding: 8px 16px; border: 1px solid var(--border-default); font-size: 16px; font-weight: 500; line-height: 1.4; }
.arch__layer--brand { background: var(--brand); color: #fff; }
.arch__layer--brand li { border-color: rgba(255, 255, 255, .4); }
.arch__ext { display: flex; flex-direction: column; gap: 16px; padding: 32px; border: 1px dashed var(--content-muted); }
.arch__ext-label { font-size: var(--fs-t4); font-weight: 600; }
.arch__ext ul { display: flex; flex-direction: column; gap: 8px; }
.arch__ext li { padding: 14px 16px; background: #fff; font-size: 16px; font-weight: 500; }

.stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 64px; }
.stack li { padding-top: 24px; border-top: 1px solid var(--content-default); }
.stack h3 { font-size: var(--fs-t1); font-weight: 600; line-height: 1.3; margin-bottom: 16px; }
.stack p { font-size: var(--fs-b2); line-height: 1.7; color: var(--content-subtle); }

/* ==========================================================================
   08. Support
   ========================================================================== */
.support { padding: var(--section-y) var(--gutter); }
.support__inner { max-width: 1760px; margin: 0 auto; }
.support__head { margin-bottom: 80px; }

.flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.flow::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--border-default); }
.flow::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--brand); transform: scaleX(var(--flow, 0)); transform-origin: left; }
.flow li { position: relative; display: flex; flex-direction: column; gap: 8px; }
.flow__dot { width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 2px solid var(--border-default); margin-bottom: 16px; position: relative; z-index: 1; transition: border-color .4s, background .4s; }
.flow li.is-on .flow__dot { border-color: var(--brand); background: var(--brand); }
.flow strong { font-size: var(--fs-t4); font-weight: 600; line-height: 1.35; }
.flow p { font-size: 16px; line-height: 1.5; color: var(--content-subtle); }

.svc { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 80px; }
.svc li { padding: 40px 32px; border: 1px solid var(--border-default); transition: border-color .3s, background .3s, color .3s; }
.svc li:hover { background: var(--content-default); border-color: var(--content-default); color: #fff; }
.svc li:hover p { color: rgba(255, 255, 255, .75); }
.svc h3 { font-size: var(--fs-t4); font-weight: 600; line-height: 1.35; margin-bottom: 24px; }
.svc p { font-size: 16px; line-height: 1.7; color: var(--content-subtle); transition: color .3s; }

.support__ways { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 40px; padding: 24px 32px; background: var(--bg-subtle); }
.support__ways > p { font-size: var(--fs-b1); font-weight: 600; }
.support__ways ul { display: flex; flex-wrap: wrap; gap: 8px; }
.support__ways li { padding: 6px 16px; border-radius: 999px; background: #fff; font-size: 15px; font-weight: 500; }

/* ==========================================================================
   09. Contact
   ========================================================================== */
.contact { padding: 0 var(--gutter) var(--section-y); }
.contact__inner { max-width: 1760px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
/* 시작 안내 (작게 시작하는 첫 걸음) */
.start { position: relative; padding: 56px 48px; background: var(--bg-subtle); overflow: hidden; }
.start::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 14px, rgba(46, 125, 85, .12) 14px 15px);
}
.start__title { position: relative; z-index: 1; font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; }
.start__steps { position: relative; z-index: 1; margin-top: 40px; display: flex; flex-direction: column; }
.start__steps li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding-bottom: 28px; }
.start__steps li:last-child { padding-bottom: 0; }
.start__steps li:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 4px; width: 1px; background: var(--border-default); }
.start__no {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 1px solid var(--brand); color: var(--brand);
  font-size: 15px; font-weight: 700;
}
.start__steps li:first-child .start__no { background: var(--brand); color: #fff; }
.start__steps strong { display: block; padding-top: 10px; font-size: var(--fs-t4); font-weight: 600; line-height: 1.35; }
.start__steps p { margin-top: 6px; font-size: var(--fs-b2); line-height: 1.5; color: var(--content-subtle); }
.start__tags { position: relative; z-index: 1; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border-default); display: flex; flex-wrap: wrap; gap: 8px; }
.start__tags li { padding: 6px 14px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--content-subtle); }

.cta { position: relative; display: flex; flex-direction: column; padding: 56px 48px; background: var(--brand); color: #fff; overflow: hidden; }
.cta::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 360px; height: 360px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 0 0 60px rgba(255, 255, 255, .04);
}
.cta__label { font-size: var(--fs-b1); font-weight: 600; opacity: .8; }
.cta__title { margin-top: 16px; font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; }
.cta__desc { margin-top: 20px; font-size: var(--fs-b2); line-height: 1.6; opacity: .85; }
.cta__list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.cta__list li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-t4); font-weight: 500; }
.cta__list li span { font-size: var(--fs-b2); opacity: .85; }
.cta__list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cta__btn {
  position: relative; z-index: 1;
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 16px;
  padding: 12px 12px 12px 28px; border-radius: 999px;
  background: #fff; color: var(--brand);
  font-size: var(--fs-b1); font-weight: 600;
  transition: gap .4s var(--ease-out);
}
.cta__btn span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; }
.cta__btn:hover { gap: 28px; }
.cta__list + .cta__btn { margin-top: 48px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { border-top: 1px solid var(--border-default); }
.footer__main { max-width: calc(1760px + var(--gutter) * 2); margin: 0 auto; padding: 80px var(--gutter); display: flex; flex-direction: column; gap: 64px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; }
.footer__slogan { font-size: var(--fs-h2); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.footer__nav { display: flex; gap: 64px; }
.footer__nav div { display: flex; flex-direction: column; gap: 16px; }
.footer__nav a { font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--content-subtle); }
.footer__nav a:hover { color: var(--brand); }
.footer__nav .footer__nav-title { font-size: 20px; font-weight: 600; color: var(--content-default); }
/* 하단: 로고 + 사업자등록번호를 왼쪽에 (오른쪽은 플로팅 버튼 자리) */
.footer__bottom { display: flex; justify-content: flex-start; align-items: flex-end; padding-top: 32px; border-top: 1px solid var(--border-default); }
.footer__biz { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; font-size: 14px; color: var(--content-muted); }
.footer__biz img { height: 36px; width: auto; }
.footer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; }
.footer__policy { font-size: inherit; font-weight: 600; color: var(--content-subtle); transition: color .3s; }
.footer__policy::before { content: ""; display: inline-block; width: 1px; height: 10px; margin: 0 12px; vertical-align: middle; background: var(--border-default); }
.footer__policy:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* 이메일무단수집거부 팝업 */
.policy-dialog {
  width: min(520px, calc(100vw - 32px)); padding: 40px; border: 0; border-radius: 16px;
  color: var(--content-default); background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
}
.policy-dialog::backdrop { background: rgba(17, 17, 17, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.policy-dialog[open] { animation: dialogIn .4s var(--ease-out); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(16px); } }
.policy-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--border-default); }
.policy-dialog__head h2 { font-size: var(--fs-t4); font-weight: 600; }
.policy-dialog__close { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; transition: background .3s; }
.policy-dialog__close:hover { background: var(--bg-subtle); }
.policy-dialog__body { margin-top: 24px; font-size: 16px; line-height: 1.7; color: var(--content-subtle); word-break: keep-all; }
.policy-dialog__ok {
  display: block; width: 100%; margin-top: 32px; padding: 14px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 16px; font-weight: 600; transition: background .3s;
}
.policy-dialog__ok:hover { background: var(--brand-dark); }
.footer__copy { padding: 12px var(--gutter); background: var(--bg-inverse); color: var(--content-muted); font-size: 12px; line-height: 1.35; text-align: center; }

/* ==========================================================================
   Floating
   ========================================================================== */
.floating { position: fixed; right: 40px; bottom: 40px; z-index: 40; display: flex; flex-direction: column; gap: 8px; transform: translateY(calc(var(--lift, 0px) * -1)); }
.floating__btn { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; transition: transform .4s var(--ease-out), opacity .4s, background .3s; }
.floating__btn--brand { background: var(--brand); color: #fff; }
.floating__btn--brand:hover { background: var(--brand-dark); }
.floating__btn--top { background: #fff; border: 1px solid var(--border-default); }
.floating:not(.is-visible) .floating__btn--top { opacity: 0; transform: translateY(16px); pointer-events: none; }

/* 이메일 복사 버튼 + 안내 메시지 */
.copy-email:not(.cta__btn) {
  display: inline-flex; align-items: center; gap: 6px;
  font: inherit; color: inherit; text-align: left; cursor: copy;
}
.copy-email:not(.cta__btn)::after {
  content: "복사"; padding: 1px 8px; border-radius: 999px;
  border: 1px solid currentColor; font-size: 11px; font-weight: 600; line-height: 1.5;
  opacity: .55; transition: opacity .3s;
}
.copy-email:not(.cta__btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.copy-email:not(.cta__btn):hover::after { opacity: 1; }
.cta__btn.copy-email { cursor: copy; }

.toast {
  position: fixed; left: 50%; bottom: 40px; z-index: 80;
  padding: 14px 24px; border-radius: 999px;
  background: var(--bg-inverse); color: #fff;
  width: max-content; max-width: calc(100vw - 32px); text-align: center;
  font-size: 15px; font-weight: 500; line-height: 1.4;
  opacity: 0; transform: translate(-50%, 16px); pointer-events: none;
  transition: opacity .3s, transform .4s var(--ease-out);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* 공통 등장 모션 초기값 (JS 실행 시에만) */
.js .reveal { opacity: 0; transform: translateY(40px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1440px) {
  .gnb__menu { gap: 32px; font-size: 18px; }
  .gnb__logo, .gnb__util { width: auto; }
}
@media (max-width: 1200px) {
  .gnb__menu { display: none; }
  .arch { grid-template-columns: 1fr; }
  .arch__ext ul { flex-direction: row; flex-wrap: wrap; }
  .svc { grid-template-columns: repeat(3, 1fr); }
  .values__content { left: var(--gutter); }
  .values__nums { display: none; }
}
@media (max-width: 1024px) {
  .hero-panel { display: none; }
  .exp__list { gap: 120px; }
  .exp__row, .exp__row--2, .exp__row--3, .exp__row--4 { padding: 0; }
  .exp__row--1, .exp__row--3 { justify-content: flex-start; }
  .exp-card { width: min(520px, 60vw); }
  .contact__inner { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; }

  /* 전체 메뉴: 한 줄 구성 + 하단 문의 영역 */
  .sitemap__body { display: flex; flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .sitemap__nav { flex: 1 0 auto; padding: 8px var(--gutter) 40px; }
  .sitemap__list { margin: 0; }
  .sitemap__item { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; padding: 22px 4px; }
  .sitemap__no { align-self: flex-start; padding-top: 10px; }
  .sitemap__link { font-size: clamp(24px, 6.4vw, 36px); }
  .sitemap__sub { gap: 6px; }
  .sitemap__sub a { padding: 6px 12px; border-radius: 999px; background: var(--bg-subtle); font-size: 13px; color: var(--content-subtle); }
  .sitemap__sub a + a::before { display: none; }
  .sitemap__arrow { width: 40px; height: 40px; }
  .sitemap__item::before, .sitemap__foot, .sitemap__caption { display: none; }
  .sitemap__item.is-hover .sitemap__link { transform: none; }
  .sitemap__item.is-hover .sitemap__arrow { transform: none; }
  .sitemap__side { flex: none; gap: 0; padding: 32px var(--gutter) 40px; background: var(--brand); clip-path: none; }
  .sitemap__visual { display: none; }
  .sitemap__contact { padding-top: 0; border-top: 0; }
  .sitemap__cta { background: #fff; color: var(--brand); }
  .sitemap__cta:hover { background: #fff; }
}
@media (max-width: 768px) {
  .gnb { padding-top: 20px; padding-bottom: 20px; }
  .gnb__logo img { height: 32px; }
  .sitemap__top { padding-top: 20px; padding-bottom: 20px; }
  .sitemap__logo img { height: 32px; }
  .sitemap__close { width: 44px; height: 44px; }
  .sitemap__item { grid-template-columns: 32px minmax(0, 1fr) auto; }
  .sitemap__no { font-size: 12px; }
  .hero__txt { padding-bottom: 96px; }
  .scroll-down { left: auto; right: var(--gutter); bottom: 160px; margin-left: 0; width: 96px; height: 96px; }
  .scroll-down__core { width: 46px; height: 46px; }
  .about__title br, .about__desc br { display: none; }
  .values__keywords { font-size: 13px; gap: 6px 16px; }
  .values__item .link-arrow { margin-top: 32px; }
  .exp__list { gap: 80px; }
  .exp-card { width: 82vw; }
  .exp__typing { font-size: clamp(36px, 11vw, 64px); }
  .vision__content { left: var(--gutter); }
  .process__head { flex-direction: column; align-items: flex-start; }
  .step-card { height: 320px; padding: 36px 28px; }
  .process__points { grid-template-columns: 1fr; margin-top: 48px; }
  .arch__layer { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .arch__layer li { font-size: 14px; padding: 6px 12px; }
  .stack { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .flow { grid-template-columns: 1fr; gap: 28px; padding-left: 32px; }
  .flow::before, .flow::after { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .flow::after { transform: scaleY(var(--flow, 0)); transform-origin: top; }
  .flow__dot { position: absolute; left: -32px; top: 4px; margin: 0; }
  .svc { grid-template-columns: 1fr 1fr; margin-top: 56px; }
  .svc li { padding: 28px 20px; }
  .start, .cta { padding: 40px 24px; }
  .footer__main { padding-top: 56px; padding-bottom: 56px; gap: 48px; }
  .footer__nav { flex-wrap: wrap; gap: 32px 40px; }
  .floating { right: 16px; bottom: 16px; }
  .floating__btn { width: 52px; height: 52px; }
  /* 플로팅 버튼과 겹치지 않도록 사업자번호 아래 줄로 */
  .footer__meta { flex-direction: column; align-items: flex-start; }
  .footer__policy::before { display: none; }
}

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