/* ==========================================================================
   OmniSight 홈 — home.css (index.html 전용, additions.css 다음에 불러온다)
   디자인 참고: 기관형 그리드·아이콘 기둥·짙은 그린 밴드(기업 사이트), 얇은 세로 그리드·가는 대형 타이포(포스터),
   짙은 남색 위 글래스 카드(카드 아트). 장식용 도형(유리 판·떠다니는 원·노이즈)은 쓰지 않고,
   3-Sight 도식과 리포트 예시처럼 내용을 설명하는 그림만 둔다.
   공통 토큰·버튼·제목 규칙은 css/site.css
   모션 참고: 토스(순차 페이드업, 스크롤 문장 채움, 카운트업), 두산로보틱스(고정 스크롤 스토리,
   스크롤 확대 이미지, 가로 흐름 갤러리, 선 그리기) — js/home.js
   ========================================================================== */

.home {
  --h-ink: #0f1a1c;
  --h-muted: #5c6774;
  --h-navy: #061c22;
  --h-teal: #087268;
  --h-mint: #19b3a3;
  --h-cyan: #43c6dd;
  --h-lime: #a5e05a;
  --h-blue: #3d8bfd;
  --h-line: rgba(15, 26, 28, .09);
  --h-ease: cubic-bezier(.2, .8, .2, 1);
  --h-max: 1280px;
}
.home main { overflow-x: clip; }
.home .container { max-width: var(--h-max); }

/* ---------- 공통 타이포 ---------- */
.h-sec { position: relative; padding: 160px 0; }
.h-index { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--h-teal); }
.h-index::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .5; }
.h-title { margin: 0; font-size: clamp(28px, 3.4vw, 48px); font-weight: 300; line-height: 1.2; text-wrap: balance; letter-spacing: -0.045em; color: var(--h-ink); }
.h-title b { font-weight: 700; }
.h-sub { margin: 24px 0 0; max-width: 620px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.75; color: var(--h-muted); }
.h-head { margin-bottom: 80px; }
.h-center { text-align: center; }
.h-center .h-index { justify-content: center; }
.h-center .h-index::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .5; }
.h-center .h-sub { margin-left: auto; margin-right: auto; }
.h-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.h-split .h-sub { margin: 0; }
.h-split .h-sub .h-pill { display: flex; width: fit-content; margin-top: 28px; }
.h-en { margin: 18px 0 0; font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; letter-spacing: -0.03em; color: var(--h-ink); }

/* ---------- 알약 버튼 + 원형 화살표 ---------- */
.h-pill {
  display: inline-flex; align-items: center; gap: 18px; height: 60px; padding: 0 8px 0 28px; border-radius: 999px;
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(15, 26, 28, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 12px 30px -20px rgba(8, 60, 55, .45);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 16px; font-weight: 600; letter-spacing: -0.02em; color: var(--h-ink); white-space: nowrap;
  transition: transform .35s var(--h-ease), background .3s, border-color .3s, box-shadow .3s;
}
.h-pill i { display: grid; place-items: center; width: 46px; height: 46px; clip-path: var(--hex); background: var(--hex-line-teal) center / 100% 100% no-repeat; color: var(--h-teal); transition: background .3s, color .3s; }
.h-pill i svg, .h-gcard-go svg, .h-pcard-go svg, .h-tile-go svg, .h-news-list i svg { transition: transform .6s var(--h-ease); }
.h-pill--solid { background: var(--h-teal); border-color: transparent; color: #fff; box-shadow: 0 16px 36px -18px rgba(8, 114, 104, .8); }
.h-pill--solid i { background: var(--hex-line-white) center / 100% 100% no-repeat, rgba(255, 255, 255, .12); color: #fff; }
.h-pill:active { transform: scale(.97); }
@media (hover: hover) {
  .h-pill:hover i { background: var(--h-teal); color: #fff; }
  .h-pill:hover i svg { transform: rotate(45deg); }
  .h-pill--solid:hover { background: #065e56; }
  .h-pill--solid:hover i { background: #fff; color: var(--h-teal); }
}
.h-dark .h-pill, .h-band .h-pill { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); color: #fff; box-shadow: none; }
.h-dark .h-pill i, .h-band .h-pill i { background: var(--hex-line-white) center / 100% 100% no-repeat; color: #fff; }
@media (hover: hover) { .h-dark .h-pill:hover i, .h-band .h-pill:hover i { background: #fff; color: var(--h-teal); } }

/* ---------- 등장 모션 (JS 가 있을 때만 숨김) ---------- */
.h-js [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--h-ease), transform .9s var(--h-ease), filter .9s var(--h-ease); transition-delay: calc(var(--d, 0) * 90ms); }
.h-js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.h-lines .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.h-lines .ln > span { display: inline-block; }
.h-js .h-lines .ln > span { transform: translateY(108%); transition: transform 1.15s var(--h-ease); }
.h-js .h-lines .ln:nth-child(2) > span { transition-delay: .09s; }
.h-js .h-lines .ln:nth-child(3) > span { transition-delay: .18s; }
.h-js .h-lines.is-in .ln > span { transform: none; }

/* ---------- 1. 히어로 ---------- */
.h-hero {
  position: relative; min-height: 100svh; padding: 150px 0 120px; display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(900px 640px at 76% 46%, rgba(25, 179, 163, .07), transparent 70%), #fbfcfc;
}
.h-gridlines {
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(15, 26, 28, .055) 0 1px, transparent 1px 120px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent);
}
.h-hero-in { position: relative; width: 100%; }
.h-hero-copy { max-width: 640px; }
.h-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--h-teal); }
.h-kicker-cube { width: 18px; height: 20px; flex: none; }
.h-display { margin: 26px 0 0; font-size: clamp(40px, 4.6vw, 66px); font-weight: 700; line-height: 1.13; letter-spacing: -0.05em; color: var(--h-ink); word-break: keep-all; }
.h-display b, .h-final-title b { font-weight: 700; background: linear-gradient(95deg, #087268 0%, #0b8576 45%, #2f8f3a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-lead { margin: 28px 0 0; max-width: 540px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.75; color: var(--h-muted); }
.h-lead span { display: block; }
.h-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.h-proof, .h-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 40px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; color: #3b4651; }
.h-proof li, .h-trust li { display: inline-flex; align-items: center; gap: 8px; }
.h-proof li::before, .h-trust li::before { content: ""; width: 20px; height: 20px; clip-path: var(--hex); background: rgba(25, 179, 163, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none' stroke='%23087268' stroke-width='2.2'%3E%3Cpath d='M1.5 5.5l2 2L8.5 2.5'/%3E%3C/svg%3E") center no-repeat; }

/* 히어로 그림: 등각 큐브 무리 + 가운데 3-Sight 큐브 + 작은 기호 — 세 겹이 마우스·스크롤에 따라 다른 깊이로 움직인다.
   그림은 오른쪽에 붙고(xMaxYMid meet) 그림틀 밖의 큐브도 그대로 그려 화면 끝까지 흘러나간다 */
.h-iso { position: absolute; inset: 0; pointer-events: none; }
.h-iso svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; will-change: transform; }
.h-iso-ol { fill: none; stroke: #087268; stroke-opacity: .3; stroke-width: 1.5; }
.h-ring-ghost { fill: none; stroke: #a9bcbf; stroke-width: 3; }
.h-iso-sym { color: #0f1a1c; }
.h-iso-sym .hs-hex, .h-iso-sym .hs-hexplus, .h-iso-sym .hs-chev { color: #087268; }
/* 스크롤하면 큐브들이 가운데에서 바깥으로 흩어진다 (--hp: 0→1, 데스크톱) · 마우스 가까이의 큐브는 떠오른다 (--lift) */
.hc { transform: translate(calc(var(--hp, 0) * var(--dx) * 1px), calc(var(--hp, 0) * var(--dy) * 1px)); }
.hl { transform: translateY(calc(var(--lift, 0) * -26px)); transition: transform .7s var(--h-ease); }
.h-ring, .cf, .hs { transform-box: fill-box; transform-origin: center; }
/* 등장: 가운데 테가 돌며 커지고, 사진의 세 면이 세 방향에서 모여 한 장이 된 뒤, 둘레 큐브가 물결처럼 내려앉는다 */
.h-js .hi { opacity: 0; transform: translateY(-46px); transition: opacity .8s var(--h-ease), transform 1.1s var(--h-ease); transition-delay: calc(var(--o) * 1ms); }
.h-js .h-ring { opacity: 0; transform: scale(.7) rotate(-60deg); transition: opacity .9s var(--h-ease) .05s, transform 1.6s var(--h-ease) .05s; }
.h-js .cf { opacity: 0; transition: opacity .7s var(--h-ease) .5s, transform 1.2s var(--h-ease) .5s; }
.h-js .cf-t { transform: translateY(-80px); }
.h-js .cf-l { transform: translate(-70px, 40px); transition-delay: .6s; }
.h-js .cf-r { transform: translate(70px, 40px); transition-delay: .7s; }
.h-js .h-core-photo { opacity: 0; transition: opacity .6s ease 1.55s; }  /* 세 조각이 맞춰진 뒤 이음새 없는 한 장으로 */
.h-js .hs { opacity: 0; transform: scale(.3) rotate(-90deg); transition: opacity .6s ease, transform .9s var(--h-ease); transition-delay: calc(var(--o) * 1ms); }
.h-js .h-hero.is-in :is(.hi, .h-ring, .cf, .hs) { opacity: 1; transform: none; }
.h-js .h-hero.is-in .h-core-photo { opacity: 1; }
/* ---------- 1-1. 배경 이미지 히어로 (지금 쓰는 첫 화면) ----------
   보내 주신 이미지 한 장을 화면에 깔고(오른쪽 기준으로 잘림) 글을 왼쪽 빈 곳에 띄운다. 바탕색은 이미지 왼쪽 색과 같게 */
.h-hero--bg { background: #eef0f6; }
.h-bg { position: absolute; inset: 0; overflow: hidden; }
.h-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.h-js .h-hero--bg .h-bg img { opacity: 0; transform: scale(1.05); transition: opacity 1.2s ease, transform 2.6s var(--h-ease); }
.h-js .h-hero--bg.is-in .h-bg img { opacity: 1; transform: none; }
/* 키가 낮은 노트북에서도 소개 줄까지 첫 화면에 들어오게 위아래 여백을 화면 높이에 맞춘다 */
.h-hero--bg { padding-top: clamp(96px, 15vh, 150px); padding-bottom: clamp(172px, 25vh, 230px); }
.h-hero--bg .h-scroll-cue { display: none; }
/* 이미지 안 아래쪽 소개 줄: 아이콘 + 굵은 제목 + 한 줄 설명, 세로선으로 나눈 세 칸 */
.h-feats-wrap { position: absolute; left: 0; right: 0; bottom: clamp(22px, 4.5vh, 44px); margin: 0 auto; }
.h-feats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; }
.h-feats li { display: grid; justify-items: center; gap: 6px; padding: 0 24px; text-align: center; }
.h-feats li + li { border-left: 1px solid rgba(15, 26, 28, .12); }
.h-feats .h-draw { width: 38px; height: 38px; margin-bottom: 6px; fill: none; stroke: var(--h-teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.h-feats b { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--h-ink); }
.h-feats span { font-size: 14.5px; color: var(--h-muted); }

.h-scroll-cue { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; display: grid; justify-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #6b7684; }
.h-scroll-cue i { position: relative; width: 1px; height: 44px; background: rgba(15, 26, 28, .14); overflow: hidden; }
.h-scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--h-teal); animation: hDrop 1.8s var(--h-ease) infinite; }

/* ---------- 2. 다섯 가지 원칙 (선이 그려지는 아이콘 기둥) ---------- */
.h-why { background: #fff; }
.h-pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--h-line); border-bottom: 1px solid var(--h-line); }
.h-pillar { display: grid; justify-items: center; align-content: start; gap: 10px; padding: 52px 26px 48px; border-right: 1px solid var(--h-line); text-align: center; transition: background .5s; }
.h-pillar:last-child { border-right: 0; }
@media (hover: hover) { .h-pillar:hover { background: linear-gradient(180deg, rgba(25, 179, 163, .07), transparent 70%); } }
.h-draw { width: 60px; height: 60px; margin-bottom: 14px; fill: none; stroke: var(--h-teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.h-js .h-draw * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--h-ease); transition-delay: calc(var(--d, 0) * 120ms + 250ms); }
.h-js .h-pillar.is-in .h-draw *, .h-js .h-feats li.is-in .h-draw * { stroke-dashoffset: 0; }
.h-pillar b { font-size: 15px; font-weight: 800; letter-spacing: .14em; color: var(--h-ink); }
.h-pillar strong { font-size: 18px; letter-spacing: -0.02em; color: var(--h-teal); }
.h-pillar p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.65; color: var(--h-muted); }

/* ---------- 3. 선언문 (스크롤에 따라 글자가 채워짐) ---------- */
.h-manifesto { position: relative; height: 180vh; background: #fff; }
.h-manifesto .container { width: 100%; }
.h-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.h-words { margin: 0; max-width: 1120px; font-size: clamp(26px, 3.6vw, 52px); font-weight: 600; line-height: 1.38; letter-spacing: -0.045em; color: var(--h-ink); word-break: keep-all; }
.h-js .h-words span { color: #868f9b; transition: color .35s; }
.h-js .h-words span.on { color: var(--h-ink); }
.h-js .h-words span.em.on { color: var(--h-teal); }

/* ---------- 4. 3-Sight 고정 스토리 ---------- */
.h-sight { position: relative; height: 330vh; background: linear-gradient(180deg, #fff 0%, #f2f8f7 100%); }
.h-sight-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; width: 100%; }
.h-sight-items { position: relative; margin-top: 44px; min-height: 290px; }
.h-sight-item h3 { margin: 12px 0 14px; font-size: clamp(26px, 2.6vw, 38px); font-weight: 700; letter-spacing: -0.04em; color: var(--h-ink); }
.h-sight-item p { margin: 0; max-width: 520px; font-size: 17px; line-height: 1.75; color: var(--h-muted); }
.h-sight-item ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.h-sight-item li { display: flex; gap: 10px; align-items: center; font-size: 15.5px; font-weight: 600; color: #3b4651; }
.h-sight-item li::before { content: ""; width: 8px; height: 8px; clip-path: var(--hex); background: currentColor; opacity: .5; }
.h-sight-tag { font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.h-sight-item[data-sight="insight"] .h-sight-tag { color: #087268; }
.h-sight-item[data-sight="outsight"] .h-sight-tag { color: #2459b8; }
.h-sight-item[data-sight="foresight"] .h-sight-tag { color: #3d7a1d; }
.h-js .h-sight-item { position: absolute; inset: 0 auto auto 0; opacity: 0; transform: translateY(26px); filter: blur(4px); transition: opacity .6s var(--h-ease), transform .6s var(--h-ease), filter .6s; pointer-events: none; }
.h-js .h-sight-item.on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.h-sight-nav { display: none; gap: 8px; margin-top: 36px; }
.h-js .h-sight-nav { display: flex; }
.h-sight-nav i { width: 44px; height: 3px; border-radius: 3px; background: rgba(15, 26, 28, .12); overflow: hidden; position: relative; }
.h-sight-nav i::after { content: ""; position: absolute; inset: 0; background: var(--h-teal); transform: scaleX(var(--f, 0)); transform-origin: left; }
.h-sight-art { display: grid; place-items: center; }
.h-sight-hexes { position: relative; width: min(520px, 100%); aspect-ratio: 1; }
.h-sight-hexes i {
  position: absolute; width: 40%; aspect-ratio: .866; display: grid; place-content: center; justify-items: center; gap: 4px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  font-style: normal; color: #fff; transition: transform 1s var(--h-ease), background-color .8s, color .8s;
}
.h-sight-hexes i[data-k="insight"] { left: 9%; top: 8.8%; background-color: #087268; }
.h-sight-hexes i[data-k="outsight"] { left: 51%; top: 8.8%; background-color: #2459b8; }
.h-sight-hexes i[data-k="foresight"] { left: 30%; top: 45.2%; background-color: #3d7a1d; }
.h-sight-hexes em { font-style: normal; font-size: 15px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.h-sight-hexes small { font-size: 14px; font-weight: 600; opacity: .9; }
.h-sight-core {
  position: absolute; left: 50%; top: 45%; translate: -50% -50%; z-index: 1; display: grid; place-items: center; width: 92px; aspect-ratio: 1;
  clip-path: var(--hex); background: var(--hex-line-ink) center / 100% 100% no-repeat, #fff; font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--h-ink);
}
/* 육각형 등장: 세 육각형이 세 방향에서 돌며 모여 맞물리고, 가운데 3-Sight 가 돌며 나타난 뒤, 바깥 테가 선으로 그려진다.
   등장 뒤에는 빛이 육각형을 차례로 훑고 바깥 점선 테가 천천히 돈다 (태블릿·모바일은 육각형이 은은하게 떠 있다) */
.h-js .h-sight-hexes[data-reveal] { opacity: 1; transform: none; filter: none; }
.h-sight-hexes i { transition: transform 1s var(--h-ease), background-color .8s, color .8s, translate 1.2s var(--h-ease) var(--dl, 0s), rotate 1.2s var(--h-ease) var(--dl, 0s), opacity .8s ease var(--dl, 0s); }
.h-sight-hexes i[data-k="outsight"] { --dl: .12s; }
.h-sight-hexes i[data-k="foresight"] { --dl: .24s; }
.h-js .h-sight-hexes:not(.is-in) i { opacity: 0; }
.h-js .h-sight-hexes:not(.is-in) i[data-k="insight"] { translate: -38% -24%; rotate: -60deg; }
.h-js .h-sight-hexes:not(.is-in) i[data-k="outsight"] { translate: 38% -24%; rotate: 60deg; }
.h-js .h-sight-hexes:not(.is-in) i[data-k="foresight"] { translate: 0 46%; rotate: 60deg; }
.h-sight-core { transition: opacity .6s ease .75s, scale .9s var(--h-ease) .75s, rotate .9s var(--h-ease) .75s; }
.h-js .h-sight-hexes:not(.is-in) .h-sight-core { opacity: 0; scale: .3; rotate: -120deg; }
.h-sight-hexes i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .34) 50%, transparent 62%); translate: -130% 0; pointer-events: none; }
.h-sight-hexes.is-in i::after { animation: hShine 7s ease-in-out 1.6s infinite; }
.h-sight-hexes.is-in i[data-k="outsight"]::after { animation-delay: 2.1s; }
.h-sight-hexes.is-in i[data-k="foresight"]::after { animation-delay: 2.6s; }
.h-sight-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.h-sight-ring polygon { fill: none; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.h-sight-ring .r1 { stroke: rgba(8, 114, 104, .32); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--h-ease) 1s; }
.h-sight-ring .r2 { stroke: rgba(36, 89, 184, .22); stroke-width: 1.2; stroke-dasharray: 2 7; opacity: 0; transform-origin: 50% 50%; transition: opacity 1s ease 1.6s; }
.h-sight-hexes.is-in .h-sight-ring .r1, .h-sight-hexes:not([data-reveal]) .h-sight-ring .r1 { stroke-dashoffset: 0; }
.h-sight-hexes.is-in .h-sight-ring .r2 { opacity: 1; animation: hSpin 60s linear 1.6s infinite; }
html:not(.h-js) .h-sight-ring .r1 { stroke-dashoffset: 0; }
html:not(.h-js) .h-sight-ring .r2 { opacity: 1; }
.h-js .h-sight[data-active] .h-sight-hexes i { transform: scale(.94); }
.h-js .h-sight[data-active] .h-sight-hexes i[data-k="insight"] { background-color: #d5ece8; color: #087268; }
.h-js .h-sight[data-active] .h-sight-hexes i[data-k="outsight"] { background-color: #dbe5f6; color: #2459b8; }
.h-js .h-sight[data-active] .h-sight-hexes i[data-k="foresight"] { background-color: #e0ecd6; color: #356b19; }
.h-js .h-sight[data-active="insight"] .h-sight-hexes i[data-k="insight"] { background-color: #087268; color: #fff; transform: scale(1.04); }
.h-js .h-sight[data-active="outsight"] .h-sight-hexes i[data-k="outsight"] { background-color: #2459b8; color: #fff; transform: scale(1.04); }
.h-js .h-sight[data-active="foresight"] .h-sight-hexes i[data-k="foresight"] { background-color: #3d7a1d; color: #fff; transform: scale(1.04); }

/* ---------- 5. 대상별 진입 (짙은 청록 면 + 사진이 있는 네 개의 열) ---------- */
.h-dark { color: #e8eef0; background: linear-gradient(180deg, #05302f 0%, #012829 50%, #002324 100%); overflow: hidden; }
.h-dark .h-title { color: #fff; }
.h-dark .h-sub { color: #a9b8bd; }
.h-dark .h-index { color: #6fd9cc; }
/* 2×2: 카드 안은 왼쪽 사진 + 오른쪽 글 (태블릿부터는 사진 위·글 아래) */
.h-gcards { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); }
.h-gcard {
  position: relative; display: flex; align-items: center; gap: 32px; padding: 44px 36px 44px 20px; color: #fff;
  border-left: 1px solid rgba(255, 255, 255, .07);
  background: linear-gradient(180deg, rgba(12, 74, 70, .5), rgba(0, 35, 36, 0) 62%);
  transition: background .6s var(--h-ease), opacity .9s var(--h-ease), transform .9s var(--h-ease), filter .9s var(--h-ease);
}
.h-gcard:nth-child(odd) { border-left: 0; }
.h-gcard:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .07); }
/* 사진: 육각형 틀 안에서 확대된다. 뒤에는 로고처럼 살짝 비켜 선 육각형 선, 위에는 포스터처럼 색을 입힌 한 면 */
.h-gcard-photo { position: relative; display: block; flex: 0 0 50%; aspect-ratio: 1 / 1; }
.h-gcard-hex { position: absolute; inset: 0; clip-path: var(--hex); overflow: hidden; }
.h-gcard-photo::before { content: ""; position: absolute; inset: 0; transform: translate(6%, 5%); background: var(--hex-line-white) center / 100% 100% no-repeat; opacity: .3; }
.h-gcard-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; clip-path: var(--facet); background: var(--facet-c); mix-blend-mode: screen; opacity: .5; pointer-events: none; }
.h-gcard[data-kind="org"] { --facet: polygon(93.3% 25%, 93.3% 75%, 50% 100%, 50% 50%); --facet-c: #19b3a3; }
.h-gcard[data-kind="leader"] { --facet: polygon(6.7% 25%, 50% 50%, 50% 100%, 6.7% 75%); --facet-c: #3d8bfd; }
.h-gcard[data-kind="employee"] { --facet: polygon(50% 0, 93.3% 25%, 50% 50%, 6.7% 25%); --facet-c: #8fd14f; }
.h-gcard[data-kind="individual"] { --facet: polygon(93.3% 25%, 93.3% 75%, 50% 100%, 50% 50%); --facet-c: #f2a07b; }
.h-gcard-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.h-gcard-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--h-ease); }
.h-js .h-gcard[data-reveal] .h-gcard-photo img { transform: scale(1.08); }
.h-js .h-gcard[data-reveal].is-in .h-gcard-photo img { transform: none; }
.h-gcard-en { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6fd9cc; }
.h-gcard b { font-size: clamp(26px, 2.2vw, 32px); font-weight: 700; letter-spacing: -0.04em; }
.h-gcard-p { min-height: 3.2em; font-size: 15.5px; line-height: 1.6; color: #b9c7cb; }
.h-gcard-list { display: grid; margin-top: 10px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.h-gcard-list span { padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 15px; font-weight: 600; color: #dfe7e9; }
.h-gcard .h-gcard-go { position: static; margin-top: 14px; width: 50px; height: 50px; }
@media (hover: hover) {
  .h-gcard:hover { background: linear-gradient(180deg, rgba(18, 96, 90, .6), rgba(0, 35, 36, 0) 70%); }
  .h-js .h-gcard[data-reveal].is-in:hover .h-gcard-photo img, .h-gcard:hover .h-gcard-photo img { transform: scale(1.04); }
  .h-gcard:hover .h-gcard-go { background: #fff; color: #023130; }
  .h-gcard:hover .h-gcard-go svg { transform: translateX(2px); }
}
.h-gcard-go svg { transition: transform .5s var(--h-ease); }
.h-gcard-go, .h-pcard-go, .h-tile-go { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 46px; height: 46px; clip-path: var(--hex); background: var(--hex-line-white) center / 100% 100% no-repeat; color: #fff; transition: background .3s, color .3s; }
@media (hover: hover) {
}

/* ---------- 6. Omni Method (스크롤에 따라 선이 차오름) ---------- */
.h-method { background: #fff; }
/* 옅은 벌집 무늬 배경 */
.h-method::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='69.28' height='120' fill='none' stroke='%230f1a1c' stroke-opacity='.07'%3E%3Cpath d='M34.64 0 69.28 20v40L34.64 80 0 60V20zM34.64 80v40'/%3E%3C/svg%3E") 0 0 / 69.28px 120px;
  -webkit-mask-image: radial-gradient(55% 60% at 75% 70%, #000, transparent 80%);
  mask-image: radial-gradient(55% 60% at 75% 70%, #000, transparent 80%);
}
.h-method .container { position: relative; }
/* 단계마다 색이 다른 육각형을 지그재그로 놓고 선으로 잇는다. 선은 스크롤에 따라 그려지고, 선이 닿은 단계에 색이 든다 */
.h-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.h-steps-line { position: absolute; left: 0; right: 0; top: 0; height: 220px; pointer-events: none; }
.h-steps-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.h-steps-path path { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.h-steps-path .track { stroke: rgba(15, 26, 28, .1); }
.h-steps-path .fill { stroke: url(#hStepGrad); stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--p, 1)); }
.h-steps-line > i { display: none; height: 100%; width: 100%; background: linear-gradient(180deg, #087268, #2459b8, #5b3fd0, #3d7a1d, #b4521f); border-radius: 2px; }
.h-step { position: relative; display: grid; gap: 8px; align-content: start; justify-items: center; padding: 0 12px; text-align: center; }
.h-step-dot { display: block; width: 120px; height: 120px; margin: calc(var(--y) * 100px) 0 calc((1 - var(--y)) * 100px + 10px); }
.h-node { display: block; width: 100%; height: 100%; overflow: visible; }
.h-node-hex { fill: #fff; stroke: #cfd8da; stroke-width: 3; stroke-linejoin: round; transition: stroke .5s, fill .5s; }
.h-node-spike { fill: none; stroke: #cfd8da; stroke-width: 3; stroke-linecap: round; transition: stroke .5s; }
.h-node-icon { fill: none; stroke: #9aa5ad; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s; }
.h-step.on .h-node-hex { stroke: var(--c); fill: color-mix(in srgb, var(--c) 7%, #fff); }
.h-step.on .h-node-spike, .h-step.on .h-node-icon { stroke: var(--c); }
.h-step small { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.h-step b { font-size: 22px; letter-spacing: -0.03em; color: var(--h-ink); }
.h-step p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--h-muted); }
.h-step em { margin-top: 8px; padding: 6px 10px; border-radius: 8px; background: #f2f6f5; font-style: normal; font-size: 13px; font-weight: 600; color: #3b4651; }
/* 선이 단계에 닿으면(.seen, 한 번만): 육각형이 튀어나오며 물결이 퍼지고, 가시·아이콘이 선으로 그려진 뒤, 글이 차례로 들어온다 */
.h-step-dot { position: relative; }
.h-step-dot::after { content: ""; position: absolute; inset: 12%; clip-path: var(--hex); background: var(--c); opacity: 0; pointer-events: none; }
.h-step.seen .h-step-dot::after { animation: hRipple 1.1s var(--h-ease) .1s; }
.h-node { transform-origin: 50% 50%; }
.h-step.seen .h-node { animation: hPop .7s cubic-bezier(.3, 1.5, .5, 1); }
.h-js .h-node-spike, .h-js .h-node-icon * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.h-js .h-node-spike { transition: stroke .5s, stroke-dashoffset .6s var(--h-ease) .35s; }
.h-js .h-node-icon * { transition: stroke-dashoffset 1s var(--h-ease) .25s; }
.h-step.seen .h-node-spike, .h-step.seen .h-node-icon * { stroke-dashoffset: 0; }
.h-js .h-step > :not(.h-step-dot):not(.h-steps-line) { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .7s var(--h-ease); }
.h-js .h-step.seen > :not(.h-step-dot) { opacity: 1; transform: none; }
.h-js .h-step.seen > small { transition-delay: .15s; }
.h-js .h-step.seen > b { transition-delay: .25s; }
.h-js .h-step.seen > p { transition-delay: .35s; }
.h-js .h-step.seen > em { transition-delay: .5s; }

/* ---------- 7. 리포트 (스크롤에 따라 커지며 드러남) ---------- */
.h-report { background: linear-gradient(180deg, #fff, #f3f8f7); padding-bottom: 120px; }
.h-report .h-head { margin-bottom: 64px; }
.h-report-fig {
  margin: 0 auto; width: calc(100% - 48px); max-width: 1440px; overflow: hidden; transform-origin: 50% 0;
  transform: scale(calc(.8 + .2 * var(--p2, 1))); border-radius: calc(56px - 28px * var(--p2, 1));
  background: linear-gradient(180deg, #eef4f3, #e2edeb); box-shadow: 0 60px 120px -60px rgba(6, 40, 40, .45);
}
.h-report-fig img { display: block; width: 100%; height: auto; }
.h-report-fig figcaption { padding: 18px 24px; text-align: center; font-size: 13.5px; color: #4e5968; background: rgba(255, 255, 255, .7); }
.h-report-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 48px; }

/* ---------- 8. 프로그램 (가로로 흐르는 고정 갤러리) ---------- */
.h-gallery { position: relative; background: #fbfcfc; }
.h-gallery .h-sticky { flex-direction: column; justify-content: center; gap: 48px; }
.h-gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; width: 100%; }
.h-gallery-side { display: grid; justify-items: end; gap: 22px; max-width: 420px; text-align: right; }
.h-gallery-side .h-sub { margin: 0; }
.h-track-wrap { width: 100%; overflow: hidden; }
.h-track { display: flex; gap: 20px; width: max-content; padding: 6px max(24px, calc((100vw - var(--h-max)) / 2 + 24px)); transform: translate3d(calc(var(--x, 0) * -1px), 0, 0); will-change: transform; }
.h-pcard {
  position: relative; flex: none; display: flex; flex-direction: column; gap: 10px; width: 360px; height: 392px; padding: 28px; overflow: hidden;
  border-radius: 28px; background: #fff; border: 1px solid var(--h-line); color: var(--h-ink);
  transition: transform .5s var(--h-ease), box-shadow .5s var(--h-ease), border-color .4s;
}
.h-pcard-head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 18px; margin-bottom: 4px; border-bottom: 1px solid var(--h-line); }
.h-pcard-n { font-size: 40px; font-weight: 200; line-height: 1; letter-spacing: -0.04em; color: var(--h-ink); font-variant-numeric: tabular-nums; }
.h-pcard-sight { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--h-teal); }
.h-pcard[data-sight="outsight"] .h-pcard-sight { color: #2459b8; }
.h-pcard[data-sight="foresight"] .h-pcard-sight { color: #3d7a1d; }
.h-pcard-top { display: flex; flex-wrap: wrap; gap: 6px; }
.h-chip { padding: 5px 10px; border-radius: 8px; background: #f2f6f5; font-size: 12.5px; font-weight: 700; color: var(--h-teal); }
.h-new { padding: 5px 10px; border-radius: 8px; background: #fff3e0; font-size: 12.5px; font-weight: 700; color: #8a4b00; }
.h-pcard b { margin-top: 4px; font-size: 22px; line-height: 1.35; letter-spacing: -0.035em; }
.h-pcard-sum { font-size: 15px; line-height: 1.6; color: var(--h-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.h-pcard-meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--h-line); font-size: 13.5px; font-weight: 600; color: #3b4651; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.h-pcard-go { top: 22px; right: 22px; background-image: var(--hex-line-teal); color: var(--h-teal); }
@media (hover: hover) {
  .h-pcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(6, 40, 40, .4); border-color: transparent; }
  .h-pcard:hover .h-pcard-go { background: var(--h-teal); color: #fff; }
  .h-pcard:hover .h-pcard-go svg { transform: rotate(45deg); }
}
.h-gallery-bar { height: 2px; background: var(--h-line); border-radius: 2px; overflow: hidden; }
.h-gallery-bar i { display: block; height: 100%; width: 100%; background: var(--h-teal); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* ---------- 9. 10초 추천 (기존 기능, 글래스 패널) ---------- */
.h-picker { overflow: hidden; background: #f3f7f6; }
.h-picker .diag { position: relative; }
.h-picker .diag-box { background: #fff; border: 1px solid var(--h-line); border-radius: 32px; box-shadow: 0 40px 80px -50px rgba(6, 40, 40, .4); }
.h-deeper { display: grid; gap: 8px; margin-top: 32px; }
.h-deeper a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid rgba(15, 26, 28, .08); font-size: 15.5px; color: #3b4651; transition: transform .3s var(--h-ease), background .3s; }
.h-deeper a b { color: var(--h-ink); }
.h-deeper a svg { color: var(--h-teal); transition: transform .5s var(--h-ease); flex: none; }
@media (hover: hover) { .h-deeper a:hover { background: #fff; } .h-deeper a:hover svg { transform: rotate(45deg); } }
.h-deeper a:active { transform: scale(.98); }

/* ---------- 10. 숫자 + 인사이트 (짙은 그린 밴드) ---------- */
.h-band { position: relative; overflow: hidden; color: #fff; background: linear-gradient(160deg, #0b4d45 0%, #073a35 55%, #062e2b 100%); }
.h-band .h-title { color: #fff; }
.h-band .h-index { color: #9fe6dc; }
.h-numbers { position: relative; list-style: none; margin: 0; padding: 0 0 56px; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid rgba(255, 255, 255, .16); }
.h-numbers li { display: grid; gap: 12px; padding: 0 28px; border-left: 1px solid rgba(255, 255, 255, .16); }
.h-numbers li:first-child { padding-left: 0; border-left: 0; }
.h-numbers b { font-size: clamp(56px, 6vw, 100px); font-weight: 300; line-height: 1; letter-spacing: -0.05em; background: linear-gradient(180deg, #fff 30%, #a8ece2); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.h-numbers li > span { font-size: 15.5px; font-weight: 600; color: #bfe0db; }
.h-numbers-note { position: relative; margin: 16px 0 0; font-size: 13px; color: #9cc7c1; }
.h-news { position: relative; display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; margin-top: 110px; }
.h-news-head { display: grid; align-content: start; gap: 0; }
.h-news-head .h-pill { margin-top: 40px; justify-self: start; }
.h-news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .55); }
.h-news-list a { position: relative; display: grid; gap: 8px; padding: 30px 72px 30px 8px; border-bottom: 1px solid rgba(255, 255, 255, .22); transition: padding .5s var(--h-ease), background .4s; }
.h-news-cat { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: #9fe6dc; }
.h-news-list b { font-size: clamp(17px, 1.4vw, 21px); font-weight: 600; line-height: 1.5; letter-spacing: -0.02em; }
.h-news-list time { font-size: 13px; color: #bfe0db; }
.h-news-list i { position: absolute; right: 8px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 46px; height: 46px; clip-path: var(--hex); background: var(--hex-line-white) center / 100% 100% no-repeat; transition: background .3s, color .3s; }
@media (hover: hover) {
  .h-news-list a:hover { padding-left: 22px; background: rgba(255, 255, 255, .04); }
  .h-news-list a:hover i { background: #fff; color: #0b4d45; }
  .h-news-list a:hover i svg { transform: rotate(45deg); }
}

/* ---------- 11. 회사 소개 타일 (호버 시 넓어짐) ---------- */
.h-about { background: #fff; }
.h-tiles { display: flex; height: 540px; border-radius: 6px; overflow: hidden; }
.h-tile { position: relative; flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 36px 32px; overflow: hidden; color: #fff; transition: flex-grow .9s var(--h-ease), opacity .9s var(--h-ease), transform .9s var(--h-ease), filter .9s var(--h-ease); }
.h-tile[data-tone="insight"] { background: #0c2f2c; }
.h-tile[data-tone="outsight"] { background: #0b1d30; }
.h-tile[data-tone="foresight"] { background: #17260f; }
.h-tile[data-tone="dark"] { background: #111518; }
.h-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(25, 179, 163, .28), transparent 70%); opacity: 0; transition: opacity .9s var(--h-ease); }
.h-tile[data-tone="outsight"]::before { background: linear-gradient(0deg, rgba(61, 139, 253, .28), transparent 70%); }
.h-tile[data-tone="foresight"]::before { background: linear-gradient(0deg, rgba(143, 209, 79, .24), transparent 70%); }
.h-tile[data-tone="dark"]::before { background: linear-gradient(0deg, rgba(255, 255, 255, .1), transparent 70%); }
.h-tile-v { position: absolute; top: 32px; left: 30px; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 13px; font-weight: 600; letter-spacing: .12em; color: rgba(255, 255, 255, .8); }
.h-tile b { position: relative; font-size: clamp(28px, 2.8vw, 42px); font-weight: 700; line-height: 1.2; letter-spacing: -0.04em; }
@media (hover: hover) {
  .h-tiles:hover .h-tile { flex-grow: .8; }
  .h-tiles .h-tile:hover { flex-grow: 1.7; }
  .h-tile:hover::before { opacity: 1; }
  .h-tile:hover .h-tile-go { background: #fff; color: #111; }
  .h-tile:hover .h-tile-go svg { transform: rotate(45deg); }
}

/* ---------- 12. 마지막 상담 유도 ---------- */
.h-final { position: relative; padding: 190px 0 170px; overflow: hidden; text-align: center; background: radial-gradient(900px 500px at 50% 120%, rgba(25, 179, 163, .14), transparent 70%), #fbfcfc; }
.h-final-in { position: relative; z-index: 1; display: grid; justify-items: center; }
.h-final-art { position: absolute; inset: 0; pointer-events: none; }
.h-final-art svg { position: absolute; height: auto; }
.h-final-art .fa { width: 300px; left: -40px; bottom: -70px; }
.h-final-art .fb { width: 270px; right: -30px; top: -60px; }
.h-final .h-index::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .5; }
.h-final-title { margin: 0; font-size: clamp(28px, 3.8vw, 54px); font-weight: 300; line-height: 1.14; letter-spacing: -0.05em; color: var(--h-ink); }
.h-final .h-sub { margin-left: auto; margin-right: auto; }
.h-final .h-cta, .h-final .h-trust { justify-content: center; }

/* ---------- 첫 방문 팝업 (프로그램 포스터, 누르면 해당 프로그램으로) ----------
   포스터마다 창 하나가 비스듬히 겹쳐 쌓인다(--x: 가운데 기준 몇 칸 밀지, --z: 쌓는 순서).
   창마다 위쪽 ×·아래 '닫기'는 이번 방문 동안, '오늘 하루 보지 않기'는 24시간 동안 그 창만 다시 띄우지 않는다 (js/home.js 0번) */
.os-pop { --step: 40px; position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 24px; }
.os-pop[hidden] { display: none; }
.os-pop-scrim { position: absolute; inset: 0; background: rgba(6, 28, 34, .5); }
.os-pop-stack { position: relative; display: grid; }
.os-pop-card { grid-area: 1 / 1; position: relative; z-index: var(--z); translate: calc(var(--x) * var(--step)) calc(var(--x) * var(--step)); display: flex; flex-direction: column; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .55), 0 0 0 1px rgba(15, 26, 28, .08); outline: 0; }
.os-pop-bar { display: flex; justify-content: flex-end; height: 40px; background: #e3f1ef; cursor: pointer; }
.os-pop-x { display: grid; place-items: center; width: 44px; height: 40px; padding: 0; border: 0; background: none; color: #0f1a1c; cursor: pointer; }
.os-pop-x:focus-visible { outline: 2px solid var(--h-teal); outline-offset: -4px; }
@media (hover: hover) { .os-pop-x:hover { background: rgba(8, 114, 104, .12); } }
.os-pop-item { display: block; overflow: hidden; }
.os-pop-item img { display: block; width: auto; height: min(calc(100svh - 48px - 88px - var(--step) * 2), 640px); transition: transform .5s var(--h-ease); }
.os-pop-item:focus-visible { outline: 3px solid var(--h-teal); outline-offset: -3px; }
@media (hover: hover) { .os-pop-item:hover img { transform: scale(1.02); } }
.os-pop-foot { display: flex; border-top: 1px solid var(--h-line); }
.os-pop-foot button { flex: 1; height: 48px; border: 0; background: #fff; font: inherit; font-size: 14.5px; font-weight: 600; color: #3b4651; cursor: pointer; }
.os-pop-foot button + button { border-left: 1px solid var(--h-line); }
.os-pop-foot button:focus-visible { outline: 2px solid var(--h-teal); outline-offset: -4px; }
@media (hover: hover) { .os-pop-foot button:hover { background: #f4f7f7; } }
.os-pop.is-open .os-pop-scrim { animation: popFade .35s ease both; }
/* 뒤 창부터 차례로 내려앉는다 */
.os-pop.is-open .os-pop-card { animation: popIn .55s var(--h-ease) both; animation-delay: calc(var(--k) * 110ms); }
.os-pop-card.is-out { opacity: 0; transform: scale(.96); transition: opacity .25s ease, transform .25s ease; }
@keyframes popFade { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(26px) scale(.97); } }

/* ---------- 키프레임 ---------- */
@keyframes hDrop { 0% { top: -40%; } 100% { top: 100%; } }
@keyframes hShine { 0% { translate: -130% 0; } 22%, 100% { translate: 130% 0; } }
@keyframes hSpin { to { transform: rotate(360deg); } }
@keyframes hPop { 0% { transform: scale(.7); } 60% { transform: scale(1.1); } 100% { transform: scale(1); } }
@keyframes hRipple { 0% { opacity: .35; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes hTip { 0%, 100% { transform: translate(-50%, 50%) scale(1); } 50% { transform: translate(-50%, 50%) scale(1.35); } }
@keyframes hBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------- 반응형 ---------- */
@media (max-width: 1080px) {
  .h-sec { padding: 110px 0; }
  /* 태블릿·모바일: 큐브 그림을 위쪽 띠로 두고 글은 그 아래에 — 가운데 큐브가 띠 한가운데 오도록 그림을 키워 자른다 */
  .h-hero { display: block; min-height: 0; padding: 72px 0 90px; }
  .h-iso { position: relative; inset: auto; height: 62vw; margin-bottom: 16px; overflow: hidden; --w: 170vw; -webkit-mask-image: linear-gradient(180deg, transparent, #000 9%, #000 80%, transparent); mask-image: linear-gradient(180deg, transparent, #000 9%, #000 80%, transparent); }
  .h-iso svg { inset: auto; width: var(--w); height: calc(var(--w) / 1.6); left: calc(50% - var(--w) * var(--cx)); top: calc(50% - var(--w) / 1.6 * var(--cy)); }
  .h-hero-copy { max-width: 640px; }
  .h-scroll-cue { display: none; }
  /* 배경 이미지: 위쪽 띠로 두고(상담 사진이 가운데 오게) 아래로 번지게 · 글은 그 아래 */
  .h-hero--bg { padding-top: 64px; }
  .h-bg { position: relative; inset: auto; height: 62vw; margin-bottom: 8px; -webkit-mask-image: linear-gradient(180deg, #000 76%, transparent); mask-image: linear-gradient(180deg, #000 76%, transparent); }
  /* 이미지를 1.5배 키워 육각형 상담 사진이 크게 보이게 — 오른쪽 끝에 맞춰 빈 틈이 생기지 않게 */
  .h-bg img { position: absolute; right: 0; top: 50%; width: auto; max-width: none; height: 150%; translate: 0 -55%; }
  .h-hero--bg { padding-bottom: 72px; }
  .h-feats-wrap { position: static; margin-top: 52px; }
  .h-pillars { grid-template-columns: repeat(3, 1fr); }
  .h-pillar:nth-child(3) { border-right: 0; }
  .h-pillar:nth-child(-n+3) { border-bottom: 1px solid var(--h-line); }
  .h-split { grid-template-columns: 1fr; gap: 20px; }
  /* 고정 스토리는 태블릿·모바일에서 펼쳐서 보여 준다 */
  /* 문장 구간은 고정하지 않고 스크롤하면 단어가 차오른다 (고정하면 문장 아래가 화면 반 이상 비어 보인다) */
  .h-manifesto { height: auto; padding: 120px 0 72px; }
  .h-manifesto .h-sticky { position: static; height: auto; overflow: visible; }
  .h-sight { height: auto; padding: 72px 0 110px; }
  .h-sight-hexes.is-in i { animation: hBob 5.5s ease-in-out 1.6s infinite; }
  .h-sight-hexes.is-in i[data-k="outsight"] { animation-delay: 2.3s; }
  .h-sight-hexes.is-in i[data-k="foresight"] { animation-delay: 3s; }
  .h-sight .h-sticky { position: static; height: auto; }
  .h-sight-in { grid-template-columns: 1fr; gap: 40px; }
  .h-sight-art { order: -1; }
  .h-sight-hexes { width: min(380px, 92%); }
  .h-sight-hexes em { font-size: 13px; }
  .h-sight-hexes small { font-size: 12.5px; }
  .h-sight-core { width: 72px; font-size: 11.5px; }
  .h-js .h-sight-item { position: static; opacity: 1; transform: none; filter: none; margin-bottom: 36px; }
  .h-js .h-sight-nav { display: none; }
  .h-js .h-sight[data-active] .h-sight-hexes i { transform: none; color: #fff; }
  .h-js .h-sight[data-active] .h-sight-hexes i[data-k="insight"] { background-color: #087268; color: #fff; }
  .h-js .h-sight[data-active] .h-sight-hexes i[data-k="outsight"] { background-color: #2459b8; color: #fff; }
  .h-js .h-sight[data-active] .h-sight-hexes i[data-k="foresight"] { background-color: #3d7a1d; color: #fff; }
  .h-gcards { row-gap: 56px; }
  .h-gcard { flex-direction: column; align-items: stretch; gap: 12px; padding: 0 28px 8px; }
  .h-gcard:nth-child(n+3) { border-top: 0; }
  .h-gcard-photo { flex: none; width: 78%; margin: 0 auto 12px; }
  .h-steps { grid-template-columns: 1fr; gap: 0; }
  .h-steps-line { left: 35px; right: auto; top: 36px; bottom: 36px; width: 2px; height: auto; background: var(--h-line); }
  .h-steps-path { display: none; }
  .h-steps-line > i { display: block; position: relative; height: calc(var(--p, 1) * 100%); }
  /* 세로선 끝에서 빛나는 점이 함께 내려간다 */
  .h-steps-line > i::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 14px; height: 15px; clip-path: var(--hex); background: radial-gradient(circle, #fff 0 22%, #19b3a3 24%); animation: hTip 1.4s ease-in-out infinite; }
  .h-js .h-step > :not(.h-step-dot):not(.h-steps-line) { transform: translateX(12px); }
  .h-step { grid-template-columns: 72px 1fr; column-gap: 20px; justify-items: start; padding: 0 0 36px; text-align: left; }
  .h-step > *:not(.h-step-dot) { grid-column: 2; }
  .h-step .h-step-dot { grid-row: 1 / span 5; width: 72px; height: 72px; margin: 0; }
  .h-node-spike { display: none; }
  /* 갤러리는 손가락으로 넘기는 가로 스크롤 */
  .h-gallery { height: auto !important; padding: 110px 0; }
  .h-gallery .h-sticky { position: static; height: auto; gap: 36px; }
  .h-gallery-head { flex-direction: column; align-items: flex-start; }
  .h-gallery-side { justify-items: start; text-align: left; }
  .h-track-wrap { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .h-track-wrap::-webkit-scrollbar { display: none; }
  .h-track { transform: none !important; padding: 6px 24px 10px; }
  .h-pcard { scroll-snap-align: start; width: 300px; height: 440px; }
  .h-gallery-bar { display: none; }
  .h-numbers { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .h-numbers li:nth-child(3) { padding-left: 0; border-left: 0; }
  .h-news { grid-template-columns: 1fr; gap: 40px; margin-top: 80px; }
  .h-tiles { flex-direction: column; height: auto; }
  .h-tile { min-height: 220px; }
  .h-tiles:hover .h-tile, .h-tiles .h-tile:hover { flex-grow: 1; }
}
@media (max-width: 640px) {
  .h-sec { padding: 88px 0; }
  .h-head { margin-bottom: 48px; }
  .h-display { font-size: clamp(32px, 9.4vw, 46px); }
  .h-cta { flex-direction: column; align-items: stretch; }
  .h-pill { justify-content: space-between; }
  .h-pillars { grid-template-columns: 1fr; border-bottom: 0; }
  .h-pillar { border-right: 0; border-bottom: 1px solid var(--h-line); padding: 36px 8px; }
  .h-manifesto { padding: 88px 0 40px; }
  .h-sight { padding-top: 40px; }
  .h-words br { display: none; }
  .h-gcards { grid-template-columns: 1fr; row-gap: 48px; }
  .h-gcard { border-left: 0; padding: 0; background: none; }
  .h-gcard-photo { width: min(300px, 84%); }
  .h-gcard-p { min-height: 0; }
  .h-report-fig { width: calc(100% - 32px); }
  .h-numbers { grid-template-columns: 1fr 1fr; }
  .h-numbers li { padding: 0 0 0 16px; }
  .h-numbers li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .h-news-list a { padding-right: 56px; }
  .h-final { padding: 120px 0; }
  .h-iso { height: 80vw; --w: 240vw; }
  .h-lead span { display: inline; }
  .h-final-art .fa { width: 170px; left: -50px; bottom: -60px; }
  .h-final-art .fb { width: 150px; right: -40px; top: -50px; }
  .h-scroll-cue { display: none; }
  .h-bg { height: 86vw; }
  /* 모바일: 창 폭을 화면에 맞추고 겹침 간격을 줄인다 */
  .os-pop { --step: 14px; padding: 16px; }
  .os-pop-item img { width: calc(100vw - 32px - var(--step) * 2); height: auto; max-height: calc(100svh - 32px - 88px - var(--step) * 2); object-fit: contain; }
  .h-feats { grid-template-columns: 1fr; gap: 18px; }
  .h-feats li { grid-template-columns: 44px 1fr; justify-items: start; column-gap: 14px; row-gap: 2px; padding: 0; text-align: left; }
  .h-feats li + li { border-left: 0; }
  .h-feats .h-draw { grid-row: span 2; width: 34px; height: 34px; margin: 2px 0 0; }
  .h-feats b { font-size: 16px; }
  .h-feats span { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .h-scroll-cue i::after { animation: none !important; }
  .h-iso * { transition: none !important; }
  .h-bg img { transition: none !important; transform: none !important; }
  .h-sight-hexes i, .h-sight-core { transition: none !important; }
  .h-sight-hexes i, .h-sight-hexes i::after, .h-sight-ring .r2 { animation: none !important; }
  .h-sight-ring .r1 { transition: none !important; stroke-dashoffset: 0 !important; }
  .h-step *, .h-step-dot::after, .h-steps-line > i::after { transition: none !important; animation: none !important; }
  .h-node-spike, .h-node-icon * { stroke-dashoffset: 0 !important; }
  .os-pop.is-open .os-pop-scrim, .os-pop.is-open .os-pop-card { animation: none; }
  .os-pop-card.is-out { transition: none; }
  .h-report-fig { transform: none !important; border-radius: 28px !important; }
}

/* 동작 줄이기 설정 등에서 갤러리를 일반 가로 스크롤로 */
.h-gallery.is-native { height: auto !important; padding: 110px 0; }
.h-gallery.is-native .h-sticky { position: static; height: auto; }
.h-gallery.is-native .h-track-wrap { overflow-x: auto; scroll-snap-type: x mandatory; }
.h-gallery.is-native .h-track { transform: none !important; }
.h-gallery.is-native .h-pcard { scroll-snap-align: start; }
.h-gallery.is-native .h-gallery-bar { display: none; }
