@charset "utf-8";
/* 호강이엔씨 테마 — 메인페이지 */

.hk-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.hk-main.is-index { overflow: hidden; }

/* ---------- HERO ---------- */
.hk-hero { position: relative; height: 100svh; min-height: 620px; max-height: 1080px; background: var(--ink); color: #fff; overflow: hidden; }
.hk-hero__bg { position: absolute; inset: -6% 0 0 0; will-change: transform; }
.hk-hero__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #2a2d31; }
.hk-hero__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, rgba(16, 18, 21, .82) 0%, rgba(16, 18, 21, .5) 42%, rgba(16, 18, 21, .12) 75%), linear-gradient(0deg, rgba(16, 18, 21, .6) 0%, rgba(16, 18, 21, 0) 30%); }
.hk-hero__in { position: relative; height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: flex; flex-direction: column; justify-content: center; pointer-events: none; }
.hk-hero__copy { position: relative; }

.hk-hs { display: none; }
.hk-hs.is-active { display: block; }
.hk-hs__eb { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .22em; color: #fff; }
.hk-hs__eb span { width: 28px; height: 2px; background: var(--red); flex: none; }
.hk-hs__title { margin: clamp(20px, 2.2vw, 32px) 0 0; font-weight: 700; font-size: clamp(38px, 5vw, 80px); line-height: 1.16; letter-spacing: -.035em; }
.hk-hs__desc { margin: clamp(20px, 2vw, 30px) 0 0; max-width: 32em; font-size: clamp(15px, 1.2vw, 19px); line-height: 1.7; color: rgba(255, 255, 255, .84); text-wrap: pretty; }
.hk-hs__cta { margin-top: clamp(32px, 3.4vw, 52px); display: flex; gap: 10px; flex-wrap: wrap; pointer-events: auto; }
.hk-hs__b1, .hk-hs__b2 { height: 54px; padding: 0 28px; display: inline-flex; align-items: center; gap: 14px; font-size: 15px; transition: background .3s, color .3s; }
.hk-hs__b1 { background: var(--red); color: #fff; font-weight: 700; }
.hk-hs__b1:hover { background: var(--red-h); color: #fff; }
.hk-hs__b2 { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .4); color: #fff; font-weight: 600; backdrop-filter: blur(6px); }
.hk-hs__b2:hover { background: #fff; color: var(--ink); }

/* 슬라이드 전환: 아이브로우 → 제목 → 설명·버튼 순서로 아래에서 위로 */
@keyframes hkUp { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes hkEb { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: none; } }
.hk-hs.is-active .hk-hs__eb { animation: hkEb 1s var(--ease) .1s both; }
.hk-hs.is-active .hk-hs__title { animation: hkUp 1.1s var(--ease) .25s both; }
.hk-hs.is-active .hk-hs__desc { animation: hkUp 1.1s var(--ease) .45s both; }
.hk-hs.is-active .hk-hs__cta { animation: hkUp 1.1s var(--ease) .45s both; }

/* 3D H 심볼 */
.hk-lg { position: absolute; top: 50%; right: clamp(40px, 5vw, 96px); width: min(34vw, 500px); aspect-ratio: 1 / 1; transform: translateY(-46%); perspective: 1400px; pointer-events: none; }
.hk-lg__tilt { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.hk-lg__layer, .hk-lg__glint { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hk-lg__layer { opacity: 0; transition: opacity 2.4s ease; }
.hk-lg__layer path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.hk-lg__l0 path { stroke-width: 1.6; } .hk-lg__l1 path { stroke-width: 1; } .hk-lg__l2 path { stroke-width: .8; }
.hk-lg.is-draw .lg-h { stroke-dashoffset: 0; transition: stroke-dashoffset 2.6s var(--ease) .2s; }
.hk-lg.is-draw .lg-s { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease) .9s; }
.hk-lg.is-draw .l0 { opacity: .95; } .hk-lg.is-draw .l1 { opacity: .45; } .hk-lg.is-draw .l2 { opacity: .25; }
.hk-lg.is-settle .l0 { opacity: .55; } .hk-lg.is-settle .l1 { opacity: .22; } .hk-lg.is-settle .l2 { opacity: .1; }
.hk-lg__glint { opacity: 0; transition: opacity 1.2s ease; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .85)); }
.hk-lg.is-settle .hk-lg__glint { opacity: .9; }

.hk-hero__bottom { position: absolute; left: 0; right: 0; bottom: 0; }
.hk-hero__bin { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(24px, 3vw, 40px); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hk-hi-wrap { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); flex: 1; max-width: 620px; }
.hk-hi { flex: 1; min-width: 0; background: none; border: 0; padding: 12px 0 0; cursor: pointer; text-align: left; color: #fff; display: flex; flex-direction: column; gap: 12px; }
.hk-hi__bar { display: block; position: relative; height: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.hk-hi__bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #fff; }
.hk-hi.is-active .hk-hi__bar span { width: 100%; transition: width 7s linear; }
.hk-hi.is-static .hk-hi__bar span { transition: none; }
.hk-hi__lb { display: flex; gap: 10px; font-size: 13px; font-weight: 600; opacity: .55; transition: opacity .4s; }
.hk-hi.is-active .hk-hi__lb { opacity: 1; }
.hk-hi__lb i { font-style: normal; color: var(--red-d); }
.hk-hi__lb em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hk-scroll { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: .24em; color: rgba(255, 255, 255, .75); }
.hk-scroll:hover { color: #fff; }
.hk-scroll span { position: relative; width: 1px; height: 48px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.hk-scroll i { position: absolute; left: 0; top: 0; width: 1px; height: 16px; background: #fff; }

@media (max-width: 1023px) {
  .hk-hero__in { justify-content: flex-end; padding-bottom: 128px; }
  .hk-lg { top: max(84px, 11svh); right: 18px; width: min(64vw, 340px); transform: none; opacity: .55; }
  .hk-lg__l0 path { stroke-width: 2.2; } .hk-lg__l1 path { stroke-width: 1.4; } .hk-lg__l2 path { stroke-width: 1; }
  .hk-lg.is-settle .l0 { opacity: .8; } .hk-lg.is-settle .l1 { opacity: .35; } .hk-lg.is-settle .l2 { opacity: .18; }
  .hk-scroll { display: none; }
}

/* ---------- ABOUT ---------- */
.hk-about { position: relative; padding: clamp(96px, 11vw, 180px) 0 clamp(88px, 10vw, 160px); background: #fff; overflow: hidden; }
.hk-about__wm { position: absolute; right: -4vw; top: clamp(40px, 6vw, 90px); font-size: clamp(90px, 15vw, 240px); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--soft); pointer-events: none; user-select: none; white-space: nowrap; }
.hk-about__in { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(48px, 7vw, 120px); align-items: center; }
.hk-about__img { position: relative; aspect-ratio: 4 / 5; max-height: 720px; overflow: hidden; background: #e8e9eb; }
.hk-about__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; display: block; }
.hk-about__txt { display: flex; flex-direction: column; }
.hk-about__p { margin: 32px 0 0; max-width: 30em; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.85; color: var(--body); text-wrap: pretty; }
.hk-about__more { margin-top: 44px; align-self: flex-start; display: inline-flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 700; color: var(--ink); }
.hk-about__more span { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #d5d7da; display: grid; place-items: center; }
.hk-about__more:hover { color: var(--red); }

/* ---------- BUSINESS ---------- */
.hk-biz-sec { padding: clamp(88px, 10vw, 160px) 0; background: var(--ink); color: #fff; }
.hk-sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 56px); }
.hk-biz-sec .hk-sechead { margin-bottom: clamp(40px, 4.5vw, 64px); }
.hk-biz-sec .hk-sechead p { margin: 0; max-width: 27em; font-size: 16px; line-height: 1.8; color: rgba(255, 255, 255, .7); text-wrap: pretty; }
.hk-bz-list { display: flex; flex-direction: row; gap: clamp(12px, 1.4vw, 20px); height: 600px; }
.hk-bz { position: relative; flex: 1 1 0; overflow: hidden; color: #fff; background: #2a2d31; transition: flex .8s var(--ease); }
.hk-bz:hover { color: #fff; }
.hk-bz.is-on { flex: 1.55 1 0; }
.hk-bz__img { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.hk-bz.is-on .hk-bz__img { transform: scale(1.04); }
.hk-bz__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hk-bz__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(16, 18, 21, .92) 0%, rgba(16, 18, 21, .35) 55%, rgba(16, 18, 21, .15) 100%); }
.hk-bz__in { position: absolute; inset: 0; padding: clamp(28px, 3vw, 48px); display: flex; flex-direction: column; justify-content: space-between; }
.hk-bz__top { display: flex; justify-content: space-between; align-items: flex-start; }
.hk-bz__no { font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--red-d); }
.hk-bz__arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); display: grid; place-items: center; transition: background .4s; }
.hk-bz.is-on .hk-bz__arrow { background: var(--red); }
.hk-bz__bot { display: flex; flex-direction: column; gap: 14px; }
.hk-bz__en { font-size: 12px; font-weight: 600; letter-spacing: .24em; color: rgba(255, 255, 255, .7); }
.hk-bz h3 { margin: 0; font-weight: 700; font-size: clamp(28px, 2.8vw, 44px); letter-spacing: -.03em; }
.hk-bz__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .8s var(--ease), opacity .6s ease; }
.hk-bz__more > div { overflow: hidden; }
.hk-bz.is-on .hk-bz__more { grid-template-rows: 1fr; opacity: 1; }
.hk-bz__more p { margin: 4px 0 0; max-width: 30em; font-size: 15.5px; line-height: 1.75; color: rgba(255, 255, 255, .8); text-wrap: pretty; }
.hk-bz__tags { margin-top: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.hk-bz__tags span { height: 34px; padding: 0 14px; display: inline-flex; align-items: center; border: 1px solid rgba(255, 255, 255, .3); font-size: 13.5px; color: #fff; }
@media (max-width: 1023px) {
  .hk-bz-list { flex-direction: column; height: auto; }
  .hk-bz { flex: 1 1 auto; min-height: 440px; }
  .hk-bz.is-on, .hk-bz { flex: 1 1 auto; }
  .hk-bz__more { grid-template-rows: 1fr; opacity: 1; }
  .hk-bz__arrow { background: var(--red); }
}

/* ---------- PROJECTS (latest 스킨 포함) ---------- */
.hk-proj-sec { padding: clamp(88px, 10vw, 160px) 0; background: #fff; }
.hk-lt-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 56px); }
.hk-lt-tools { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); flex-wrap: wrap; }
.hk-lt-tabs { display: flex; gap: 4px; padding: 4px; background: var(--soft); border-radius: 999px; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.hk-lt-tabs::-webkit-scrollbar { display: none; }
.hk-lt-tabs button { flex: none; height: 42px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; color: #7a7e85; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .3s; }
.hk-lt-tabs button.is-on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.hk-lt-all { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--ink); }
.hk-lt-all span { font-size: 20px; font-weight: 400; line-height: 1; }
.hk-lt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 24px); }
.hk-lt-grid[hidden] { display: none; }
.hk-lt-card { display: flex; flex-direction: column; gap: 20px; color: var(--ink); }
.hk-lt-card:hover { color: var(--ink); }
.hk-lt-card__img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #e8e9eb; }
.hk-lt-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.hk-lt-card:hover .hk-lt-card__img img { transform: scale(1.06); }
.hk-lt-card__img b { position: absolute; left: 16px; top: 16px; height: 28px; padding: 0 12px; display: inline-flex; align-items: center; background: #fff; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.hk-lt-card__noimg { width: 100%; height: 100%; display: grid; place-items: center; color: #b9bcc0; font-size: 14px; }
.hk-lt-card__meta { display: flex; flex-direction: column; gap: 8px; }
.hk-lt-card__meta span { font-size: 13px; font-weight: 600; color: var(--muted); }
.hk-lt-card__meta h3 { margin: 0; font-weight: 700; font-size: 18px; line-height: 1.5; letter-spacing: -.02em; text-wrap: pretty; }
.hk-lt-card:hover h3 { color: var(--red); }
.hk-lt-grid.is-in .hk-lt-card { animation: hkUp .8s var(--ease) both; }
.hk-lt-grid.is-in .hk-lt-card:nth-child(2) { animation-delay: .12s; }
.hk-lt-grid.is-in .hk-lt-card:nth-child(3) { animation-delay: .24s; }
.hk-lt-grid.is-in .hk-lt-card:nth-child(4) { animation-delay: .36s; }
.hk-lt-empty { padding: 64px 0; text-align: center; color: var(--muted); border-bottom: 1px solid var(--line); }
.hk-lt-mobile-all { display: none; }
@media (max-width: 1023px) {
  .hk-lt-all { display: none; }
  .hk-lt-grid { grid-template-columns: repeat(4, minmax(260px, 40%)); overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px; scrollbar-width: none; }
  .hk-lt-grid::-webkit-scrollbar { display: none; }
  .hk-lt-card { scroll-snap-align: start; }
  .hk-lt-mobile-all { margin-top: 36px; height: 54px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--ink); font-size: 15px; font-weight: 700; color: var(--ink); }
}
@media (max-width: 599px) { .hk-lt-grid { grid-template-columns: repeat(4, 76%); } }
/* 서브페이지(주요업무)에서 탭 없이 쓰는 경우 */
.hk-main .hk-sec .hk-lt-grid { margin: 0; padding: 0; }

/* ---------- TRACK RECORD ---------- */
.hk-rec-sec { padding: clamp(88px, 9vw, 140px) 0 0; background: var(--soft); overflow: hidden; }
.hk-rec { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(36px, 6vw, 110px); }
.hk-rec__l { display: flex; flex-direction: column; align-items: flex-start; }
.hk-rec__l p { margin: 24px 0 0; max-width: 26em; font-size: 16px; line-height: 1.8; color: var(--body); text-wrap: pretty; }
.hk-rec__l .hk-btn { margin-top: 36px; }
.hk-rec__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); align-self: start; }
.hk-rec__list li { border-bottom: 1px solid var(--line-g); }
.hk-rec__list a { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 22px 0; color: var(--ink); }
.hk-rec__list a:hover { color: var(--red); }
.hk-rec__list b { font-size: 14px; font-weight: 700; color: var(--red); }
.hk-rec__list span { font-size: clamp(15px, 1.15vw, 17px); font-weight: 500; line-height: 1.55; letter-spacing: -.01em; text-wrap: pretty; }
.hk-rec__list em { font-style: normal; font-size: 13px; color: var(--muted); white-space: nowrap; }

.hk-mq { margin-top: clamp(72px, 8vw, 120px); padding: clamp(22px, 2.4vw, 34px) 0; border-top: 1px solid var(--line-g); overflow: hidden; }
.hk-mq__track { display: flex; width: max-content; animation: hkMq 110s linear infinite; will-change: transform; }
.hk-mq__track span { display: flex; align-items: center; gap: clamp(28px, 3vw, 48px); padding-right: clamp(28px, 3vw, 48px); font-size: clamp(22px, 2.4vw, 38px); font-weight: 700; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.hk-mq__track span.is-g { color: #b9bcc0; }
.hk-mq__track i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
@keyframes hkMq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hk-mq__track { animation: none; } }

/* ---------- CONTACT CTA ---------- */
.hk-cta { position: relative; padding: clamp(96px, 10vw, 160px) 0; background: #e9ecef; overflow: hidden; }
.hk-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.hk-cta__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .6) 60%, rgba(255, 255, 255, .2) 100%); }
.hk-cta__in { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(40px, 6vw, 100px); align-items: end; }
.hk-cta__in p { margin: 24px 0 0; max-width: 26em; font-size: 16px; line-height: 1.8; color: var(--body); text-wrap: pretty; }
.hk-cta__r { display: flex; flex-direction: column; gap: clamp(20px, 2vw, 28px); }
.hk-cta__tel { display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
.hk-cta__tel:hover { color: var(--ink); }
.hk-cta__tel span { font-size: 13px; font-weight: 700; color: var(--muted); }
.hk-cta__tel strong { font-size: clamp(40px, 4.6vw, 72px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }

/* ---------- LOCATION STRIP ---------- */
.hk-loc { background: #fff; border-bottom: 1px solid var(--line); }
.hk-loc__in { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }
.hk-loc__in a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 3vw, 40px) clamp(0px, 2vw, 32px) clamp(28px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.hk-loc__in a:last-child { border-bottom: 0; }
.hk-loc__in a:hover { color: var(--red); }
.hk-loc__in div { display: flex; flex-direction: column; gap: 8px; }
.hk-loc__in b { font-size: 13px; font-weight: 700; color: var(--red); }
.hk-loc__in span { font-size: clamp(15px, 1.2vw, 17px); line-height: 1.6; font-weight: 600; letter-spacing: -.01em; }
.hk-loc__in em { flex: none; font-style: normal; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
@media (min-width: 840px) { .hk-loc__in a:nth-last-child(2) { border-bottom: 0; } }
