/* =========================================================
   (주)현대HD적산 리뉴얼 시안 v2
   방향: 사진과 큰 글씨가 이끄는 화면, 여백으로 구분 (표·테두리 최소화)
   - 한글: Pretendard / 영문·숫자: Jost (Futura 계열, 건축 분야 전통 서체)
   - 색: 흰 바탕 + 검정 글씨, 로고 청색은 행동 유도(견적 의뢰)에만
   - 움직임: 실적 공사명 흐름(marquee) 한 곳
   ========================================================= */

:root {
  --paper: #FFFFFF;
  --mist: #EEF0F2;
  --graphite: #1D2126;
  --black: #000000;
  --text: #2A2E33;
  --muted: #868C94;
  --line: #DADDE1;
  --blue: #0066C0;

  --ko: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --en: "Jost", "Pretendard Variable", sans-serif;

  --edge: max(clamp(20px, 4vw, 48px), calc((100vw - 1360px) / 2));
  --header-h: 76px;

  --fs-sm: .875rem;                          /* 14 */
  --fs-md: 1rem;                             /* 16 */
  --fs-lg: clamp(1.0625rem, 1.15vw, 1.1875rem); /* 17–19 */
  --fs-xl: clamp(1.25rem, 1.6vw, 1.5rem);    /* 20–24 */
  --fs-2xl: clamp(1.625rem, 2.4vw, 2.25rem); /* 26–36 */
  --fs-3xl: clamp(2.25rem, 4.2vw, 4rem);     /* 36–64 */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--ko); font-size: var(--fs-md); line-height: 1.7;
  color: var(--text); background: var(--paper);
  word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: #000; color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }
.edge { padding-left: var(--edge); padding-right: var(--edge); }
.en { font-family: var(--en); font-weight: 400; letter-spacing: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 24px; border-radius: 999px;
  font-size: var(--fs-sm); font-weight: 600; border: 1px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #0057A5; }
.btn-black { background: #000; color: #fff; }
.btn-black:hover { background: #333; }
.btn-ghost { border-color: currentColor; }
.btn-ghost:hover { background: rgba(127,127,127,.12); }

.more {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--fs-sm); font-weight: 600;
}
.more i {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor;
  display: grid; place-items: center; transition: background-color .2s, color .2s;
}
.more i svg { width: 16px; height: 16px; }
.more:hover i { background: #000; color: #fff; border-color: #000; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; gap: 40px;
  padding: 0 var(--edge);
  background: rgba(255,255,255,.96); color: #000;
  border-bottom: 1px solid var(--line);
}
.logo img { height: 42px; width: auto; }
/* 주 메뉴: 현재 메뉴 표시는 헤더 아래 경계선 위에 얹히는 막대(.tabs-nav 와 같은 방식).
   마우스를 올리면 글자만 진해지고, 막대는 현재 메뉴에만 */
.gnb { margin-left: auto; align-self: stretch; margin-bottom: -1px; } /* 헤더 아래 경계선까지 내려와 막대가 선 위에 얹히도록 */
.gnb ul { display: flex; gap: clamp(20px, 3vw, 52px); height: 100%; }
.gnb li { display: flex; }
.gnb a { display: flex; align-items: center; font-size: var(--fs-md); font-weight: 600; color: var(--text); opacity: .62; position: relative; transition: opacity .2s; }
.gnb a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.gnb a:hover, .gnb a:focus-visible, .gnb a[aria-current="page"] { opacity: 1; }
.gnb a[aria-current="page"] { color: #000; }
.gnb a[aria-current="page"]::after { transform: scaleX(1); }
.home .gnb a { color: inherit; opacity: 1; } /* 메인은 사진 위라 흐리게 하지 않음(현재 메뉴도 없음) */
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { min-height: 44px; padding: 0 20px; }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; border-radius: 50%; }
.menu-btn span, .menu-btn span::before { display: block; width: 24px; height: 2px; background: currentColor; position: relative; }
.menu-btn span::before { content: ""; position: absolute; top: 7px; width: 16px; right: 0; }
.menu-btn span { transform: translateY(-3px); }

/* 메인: 사진 위 투명 헤더 → 스크롤하면 흰 헤더 (스크롤 연동 애니메이션, CSS만) */
/* 메인은 헤더·히어로를 더 넓게 써서 로고·문구가 왼쪽에서 시작 (다른 페이지는 1360px 기준 그대로) */
.home .header, .home .hero { --edge: max(clamp(20px, 4vw, 48px), calc((100vw - 1680px) / 2)); }
.home .header { background: transparent; color: #fff; border-bottom-color: transparent; }
.home .header .logo img { filter: brightness(0) invert(1); }
.home .header .btn-blue { background: #fff; color: #000; }
@supports (animation-timeline: scroll()) {
  .home .header { animation: header-solid linear both; animation-timeline: scroll(root); animation-range: 40vh 60vh; }
  .home .header .logo img { animation: logo-color linear both; animation-timeline: scroll(root); animation-range: 40vh 60vh; }
  .home .header .btn-blue { animation: cta-color linear both; animation-timeline: scroll(root); animation-range: 40vh 60vh; }
}
@supports not (animation-timeline: scroll()) {
  .home .header { position: absolute; }
}
@keyframes header-solid { to { background: rgba(255,255,255,.96); color: #000; border-bottom-color: var(--line); } }
@keyframes logo-color { to { filter: none; } }
@keyframes cta-color { to { background: var(--blue); color: #fff; } }

/* 전체 메뉴 (체크박스) */
.menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.sitemap {
  position: fixed; inset: 0; z-index: 150; background: var(--graphite); color: #fff;
  display: flex; flex-direction: column;
  visibility: hidden; opacity: 0; transition: opacity .3s, visibility 0s .3s;
  overflow-y: auto;
}
.menu-toggle:checked ~ .sitemap { visibility: visible; opacity: 1; transition: opacity .3s; }
.sitemap-top { display: flex; justify-content: space-between; align-items: center; height: var(--header-h); padding: 0 var(--edge); flex: none; }
.sitemap-top img { height: 38px; width: auto; filter: brightness(0) invert(1); }
.sitemap-close { width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; position: relative; }
.sitemap-close::before, .sitemap-close::after { content: ""; position: absolute; width: 26px; height: 2px; background: #fff; transform: rotate(45deg); }
.sitemap-close::after { transform: rotate(-45deg); }
.sitemap-body { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; padding: 6vh var(--edge) 40px; align-content: start; }
.sitemap h2 { font-size: var(--fs-xl); font-weight: 600; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.2); }
.sitemap h2 .en { display: block; font-size: var(--fs-sm); color: rgba(255,255,255,.5); margin-bottom: 4px; }
.sitemap li a { display: block; padding: 5px 0; color: rgba(255,255,255,.75); font-size: var(--fs-md); }
.sitemap li a:hover { color: #fff; }
.sitemap-foot { display: flex; gap: 32px; flex-wrap: wrap; padding: 28px var(--edge) 40px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.6); font-size: var(--fs-sm); }
.sitemap-foot b { color: #fff; font-weight: 500; margin-left: 8px; }
body:has(.menu-toggle:checked) { overflow: hidden; }

/* ---------- Hero (메인) ---------- */
.hero {
  position: relative; min-height: min(88svh, 820px); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: #16202b;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.7) 100%); }
.hero > * { position: relative; }
.hero-copy { padding: 0 var(--edge) 7vh; }
.hero-copy .en { font-size: var(--fs-lg); font-weight: 300; opacity: .85; }
.hero h1 { font-size: var(--fs-3xl); font-weight: 650; line-height: 1.12; letter-spacing: -.035em; margin-top: 18px; }
.hero-fields { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.3); }
.hero-fields a { display: flex; justify-content: space-between; align-items: center; padding: 18px 28px; font-weight: 500; transition: background-color .2s; }
.hero-fields a + a { border-left: 1px solid rgba(255,255,255,.3); }
.hero-fields a:hover { background: rgba(255,255,255,.1); }
.hero-fields .en { font-size: var(--fs-sm); opacity: .6; }

/* ---------- Statement (가운데 정렬 큰 문장) ---------- */
.statement { padding: clamp(72px, 11vh, 120px) var(--edge); text-align: center; }
.statement h2 { font-size: var(--fs-2xl); font-weight: 600; line-height: 1.4; letter-spacing: -.03em; color: #000; }
.statement p { max-width: 36em; margin: 20px auto 0; color: var(--muted); }
@media (min-width: 1280px) { .statement p.one-line { max-width: none; white-space: nowrap; } } /* 넓은 화면에서 둘째 줄을 한 줄로 */
.statement .more { margin-top: 28px; color: #000; }

/* ---------- 실적 패널 (시그니처) ---------- */
.record {
  margin: 0 var(--edge); border-radius: 24px; background: var(--graphite); color: #fff;
  overflow: hidden; padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 4.5vw, 56px);
}
.record-head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; padding: 0 clamp(24px, 5vw, 72px); }
.record-num { font-family: var(--en); font-weight: 300; font-size: clamp(4rem, 11vw, 10rem); line-height: .85; letter-spacing: -.04em; }
.record-num small { font-size: .22em; font-weight: 400; letter-spacing: 0; margin-left: .2em; }
.record-head p { font-size: var(--fs-md); color: rgba(255,255,255,.7); margin-top: 20px; }
.record-years { display: grid; grid-template-columns: auto auto; gap: 10px 32px; font-size: var(--fs-sm); color: rgba(255,255,255,.6); }
.record-years dd { font-family: var(--en); color: #fff; font-size: var(--fs-lg); text-align: right; }

.marquee { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 12px; }
.marquee-row { display: flex; width: max-content; animation: flow 70s linear infinite; }
.marquee-row.reverse { animation-direction: reverse; animation-duration: 90s; }
.marquee:hover .marquee-row { animation-play-state: paused; }
.marquee-row span { font-size: clamp(1.375rem, 2.3vw, 2.25rem); font-weight: 600; letter-spacing: -.03em; white-space: nowrap; padding-right: .9em; }
.marquee-row span em { font-family: var(--en); font-style: normal; font-weight: 300; font-size: .5em; color: rgba(255,255,255,.5); margin-left: .5em; vertical-align: .55em; letter-spacing: 0; }
.marquee-row.reverse span { color: rgba(255,255,255,.3); font-weight: 400; }
.marquee-row.reverse span em { color: rgba(255,255,255,.3); }
@keyframes flow { to { transform: translateX(-50%); } }
.record-foot { padding: clamp(36px, 4vw, 52px) clamp(24px, 5vw, 72px) 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.record-foot p { color: rgba(255,255,255,.6); font-size: var(--fs-sm); }
.record-foot .more i { border-color: rgba(255,255,255,.5); }
.record-foot .more:hover i { background: #fff; color: #000; border-color: #fff; }

/* ---------- Section 공통 ---------- */
.section { padding: clamp(64px, 10vh, 112px) var(--edge); }
.section-title { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; margin-bottom: clamp(32px, 4vw, 56px); align-items: end; }
.section-title h2 { font-size: var(--fs-2xl); font-weight: 600; line-height: 1.3; letter-spacing: -.03em; color: #000; }
.section-title h2 .en { display: block; font-size: var(--fs-lg); font-weight: 300; color: var(--muted); letter-spacing: 0; margin-bottom: 8px; }
.section-title h2 .sign { display: block; margin-top: 16px; font-size: var(--fs-md); font-weight: 400; color: var(--muted); letter-spacing: 0; }
.section-title p { color: var(--muted); max-width: 34em; }
.section-title p.one-line { max-width: none; }
@media (min-width: 1440px) { .section-title p.one-line { white-space: nowrap; } } /* 넓은 화면에서는 한 줄, 좁으면 자연스럽게 줄바꿈 */
@media (min-width: 1200px) { .section-title h2 .one-line { white-space: nowrap; } } /* 휴대폰 등 좁은 화면에선 넘치지 않게 줄바꿈 허용 */

/* 사업분야 아코디언 */
.fields { border-top: 1px solid #000; }
.field { border-bottom: 1px solid var(--line); }
.field summary {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 44px; gap: 48px; align-items: center;
  padding: clamp(20px, 2.2vw, 28px) 0;
}
.field summary h3 { font-size: var(--fs-2xl); font-weight: 600; letter-spacing: -.03em; color: #000; line-height: 1.2; }
.field summary h3 .en { font-size: var(--fs-lg); color: var(--muted); font-weight: 300; margin-left: 14px; letter-spacing: 0; }
.field summary p { color: var(--muted); }
.field summary i { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: background-color .2s, border-color .2s, transform .3s; }
.field summary i::before, .field summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; background: #000; transform: translate(-50%, -50%); }
.field summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.field summary:hover i { border-color: #000; }
.field[open] summary i { background: #000; border-color: #000; }
.field[open] summary i::before { background: #fff; }
.field[open] summary i::after { transform: translate(-50%, -50%) rotate(0); background: #fff; }
.field-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 44px; gap: 48px; padding-bottom: 36px; }
.field-body .deliver { font-size: var(--fs-sm); color: var(--muted); }
.field-body .deliver b { display: block; color: #000; font-weight: 600; margin-bottom: 8px; }
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.scope.single { grid-template-columns: 1fr; }
.scope h4 { font-size: var(--fs-sm); color: var(--blue); font-weight: 600; margin-bottom: 10px; }
.scope li { padding: 4px 0 4px 18px; position: relative; font-size: var(--fs-sm); }
.scope li::before { content: ""; position: absolute; left: 0; top: 15px; width: 6px; height: 1px; background: #000; }

/* 이미지 밴드 + 인용 */
.band {
  position: relative; min-height: min(56vh, 520px); display: flex; align-items: center;
  background: #DCE6EF url("../img/band-ceo.jpg") 70% 40% / cover no-repeat;
  padding: 0 var(--edge);
}
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.75) 38%, rgba(255,255,255,0) 72%); }
.band blockquote { position: relative; }
.band blockquote { max-width: none; font-size: var(--fs-xl); font-weight: 600; line-height: 1.45; letter-spacing: -.03em; color: #0A1A2A; }
.band cite { display: block; margin-top: 28px; font-style: normal; font-size: var(--fs-md); font-weight: 500; color: #31475C; letter-spacing: 0; }

/* 작업 절차 (실제 순서) */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid #000; padding-top: 18px; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--en); font-weight: 300; font-size: var(--fs-xl); line-height: 1; color: #000; display: block; margin-bottom: 16px; }
.steps h3 { font-size: var(--fs-md); font-weight: 600; color: #000; }
.steps p { font-size: var(--fs-sm); color: var(--muted); margin-top: 8px; }

/* 사람들 */
.people { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.people figure { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; max-height: 440px; background: var(--mist); }
.people figure img { width: 100%; height: 100%; object-fit: cover; }
.people h2 { font-size: var(--fs-2xl); font-weight: 600; line-height: 1.3; letter-spacing: -.03em; color: #000; }
.people p { color: var(--muted); margin-top: 16px; max-width: 26em; }
@media (min-width: 1440px) { /* 넓은 화면: 사진 칸을 조금 줄여 문단 첫 줄이 한 줄에 들어가게 */
  .people { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .people p { max-width: none; }
  .people p .one-line { white-space: nowrap; }
}
.people .teams { display: flex; gap: 28px; margin-top: 28px; }
.people .teams b { display: block; font-family: var(--en); font-weight: 300; font-size: var(--fs-2xl); line-height: 1; color: #000; }
.people .teams span { font-size: var(--fs-sm); color: var(--muted); }
.people .more { margin-top: 28px; color: #000; }

/* 발주처 */
.clients { background: var(--mist); }
.client-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border-radius: 20px; overflow: hidden; }
.client-list li { background: var(--paper); padding: 24px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; }
.client-list b { font-size: var(--fs-xl); font-weight: 600; color: #000; letter-spacing: -.02em; }
.client-list span { color: var(--muted); font-size: var(--fs-sm); }

/* 소식 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 40px); }
.news-card figure { border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--mist); }
.news-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover img { transform: scale(1.04); }
.news-card h3 { font-size: var(--fs-md); font-weight: 600; color: #000; margin-top: 14px; line-height: 1.45; }
.news-card time { font-family: var(--en); font-size: var(--fs-sm); color: var(--muted); }

/* 문의 */
.contact {
  position: relative; padding: clamp(64px, 10vh, 104px) var(--edge);
  background: #10202E url("../img/main2.jpg") center / cover no-repeat; color: #fff;
}
.contact::before { content: ""; position: absolute; inset: 0; background: rgba(8, 18, 30, .62); }
.contact > * { position: relative; }
.contact h2 { font-size: var(--fs-2xl); font-weight: 600; line-height: 1.35; letter-spacing: -.03em; }
.contact > p { margin-top: 20px; color: rgba(255,255,255,.75); max-width: 34em; }
.contact > .contact-mail { margin-top: 8px; color: #fff; }
.contact-mail a { font-family: var(--en); text-decoration: underline; text-underline-offset: 3px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
.contact-cards a {
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  min-height: 168px; gap: 32px; padding: 26px; border-radius: 18px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  transition: background-color .2s;
}
.contact-cards a:hover { background: rgba(255,255,255,.18); }
.contact-cards a.primary { background: var(--blue); border-color: var(--blue); }
.contact-cards a.primary:hover { background: #0057A5; }
.contact-cards h3 { font-size: var(--fs-xl); font-weight: 600; }
.contact-cards p { color: rgba(255,255,255,.75); font-size: var(--fs-sm); margin-top: 6px; }
.contact-cards .big { font-family: var(--en); font-size: var(--fs-xl); font-weight: 400; }
.contact-cards svg { width: 28px; height: 28px; }

/* ---------- Footer ---------- */
.footer { background: var(--graphite); color: rgba(255,255,255,.6); font-size: var(--fs-sm); padding: 56px var(--edge) 32px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.footer-logo { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.footer-top > div:first-child p { margin-top: 20px; }
.footer h3 { color: #fff; font-size: var(--fs-md); font-weight: 600; margin-bottom: 14px; }
.footer dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 12px; }
.footer dt { color: rgba(255,255,255,.4); }
.footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8125rem; }
.footer-bottom ul { display: flex; gap: 24px; }

.dock { display: none; }

/* ---------- Sub pages ---------- */
.page-head { padding: calc(var(--header-h) + clamp(44px, 7vh, 72px)) var(--edge) clamp(32px, 4vw, 48px); }
.crumb { display: flex; gap: 10px; font-size: var(--fs-sm); color: var(--muted); }
.crumb li + li::before { content: "/"; margin-right: 10px; color: var(--line); }
.page-head h1 { font-size: var(--fs-2xl); font-weight: 650; letter-spacing: -.035em; line-height: 1.1; color: #000; margin-top: 12px; }
.page-head p { font-size: var(--fs-md); color: var(--muted); margin-top: 14px; max-width: 44em; }
.page-visual { margin: 0 var(--edge); border-radius: 20px; overflow: hidden; height: clamp(180px, 22vw, 320px); background: var(--mist); }
.page-visual img { width: 100%; height: 100%; object-fit: cover; }

.tabs-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); padding: 0 var(--edge); }
.tabs-nav ul { display: flex; gap: 36px; overflow-x: auto; scrollbar-width: none; }
.tabs-nav ul::-webkit-scrollbar { display: none; }
.tabs-nav a { display: block; padding: 18px 0 15px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs-nav a:hover { color: #000; }
.tabs-nav a[aria-current] { color: #000; border-color: #000; }

.chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 80px); padding: clamp(56px, 8vh, 88px) var(--edge); border-bottom: 1px solid var(--line); }
.chapter:last-of-type { border-bottom: 0; }
.chapter > h2 { font-size: var(--fs-2xl); font-weight: 600; letter-spacing: -.03em; line-height: 1.25; color: #000; position: sticky; top: calc(var(--header-h) + 100px); align-self: start; }
.chapter > h2 .en { display: block; font-size: var(--fs-lg); font-weight: 300; color: var(--muted); letter-spacing: 0; margin-bottom: 12px; }

.greeting .lead { font-size: var(--fs-lg); font-weight: 600; line-height: 1.55; letter-spacing: -.02em; color: #000; }
.greeting .body { margin-top: 24px; display: grid; gap: 14px; font-size: var(--fs-sm); max-width: 38em; }
.greeting .body strong { font-weight: 700; }
.nw { white-space: nowrap; }
.greeting .sign { margin-top: 17px; font-size: var(--fs-md); color: var(--muted); }
.greeting .sign b { color: #000; font-size: var(--fs-xl); font-weight: 600; margin-left: 12px; letter-spacing: .2em; }

.history li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.history li:last-child { border-bottom: 1px solid var(--line); }
.history time { font-family: var(--en); font-weight: 300; font-size: var(--fs-lg); line-height: 1.2; color: #000; }
.history p { font-size: var(--fs-md); color: #000; font-weight: 500; }
.history p small { display: block; font-size: var(--fs-sm); color: var(--muted); font-weight: 400; margin-top: 4px; }

.figure-wide { margin-top: 24px; border-radius: 16px; overflow: hidden; aspect-ratio: 21 / 9; }
.figure-wide img { width: 100%; height: 100%; object-fit: cover; }
.caption { font-size: var(--fs-sm); color: var(--muted); margin-top: 14px; }
/* 조직 및 인원: 총원 → 근무지 비율 막대 → 부서별 구성(PPT 지명원요약본 6쪽 기준). 둥근 카드형 */
.staff { --s0: #000; --s1: var(--blue); --s2: #A9AFB6; --r: 24px; }
.staff .s0 { --c: var(--s0); } .staff .s1 { --c: var(--s1); } .staff .s2 { --c: var(--s2); }
.staff-total { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: end; padding: 32px; background: var(--mist); border-radius: var(--r); }
.staff-num { font-size: var(--fs-md); color: #000; font-weight: 500; line-height: 1; white-space: nowrap; }
.staff-num b { font-family: var(--en); font-weight: 300; font-size: clamp(3.5rem, 7vw, 5.5rem); letter-spacing: -.04em; margin-right: 4px; }
.staff-num span { display: block; margin-top: 12px; font-size: var(--fs-sm); color: var(--muted); font-weight: 400; }
.staff-bar { display: flex; gap: 4px; height: 16px; margin-bottom: 30px; }
.staff-bar span { background: var(--c); border-radius: 999px; min-width: 16px; }
.staff-sites { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.staff-sites li { display: flex; gap: 14px; align-items: center; padding: 18px 20px; background: var(--paper); border-radius: 16px; }
.staff-sites b { font-family: var(--en); font-weight: 400; font-size: var(--fs-xl); color: #000; line-height: 1; position: relative; padding-left: 18px; flex: none; min-width: calc(18px + 2ch); font-variant-numeric: tabular-nums; }
.staff-sites b::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -6px; border-radius: 50%; background: var(--c); }
.staff-sites span { font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }
.staff-sites strong { display: block; color: #000; font-weight: 600; }
.staff-teams { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 16px; font-size: var(--fs-sm); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.staff-teams thead th { text-align: left; font-weight: 500; color: var(--muted); padding: 16px 12px 14px 0; border-bottom: 1px solid var(--line); }
.staff-teams thead th:first-child, .staff-teams td:first-child { padding-left: 28px; }
.staff-teams thead th:last-child, .staff-teams td:last-child { padding-right: 28px; }
.staff-teams thead th:last-child { text-align: right; }
.staff-teams td, .staff-teams tbody th { padding: 18px 12px 18px 0; border-bottom: 1px solid var(--line); vertical-align: middle; text-align: left; }
.staff-teams tbody tr:last-child > * { border-bottom: 0; }
/* 같은 근무지 묶음: 근무지 칸은 하나(rowspan)로, 묶음 안쪽 구분선은 옅게 */
.staff-teams .site-cell { vertical-align: middle; }
.staff-teams .g-start > :not(.site-cell), .staff-teams .g-cont:not(.g-end) > * { border-bottom-color: #EEF0F2; }
.staff-teams tbody th { font-size: var(--fs-md); font-weight: 600; color: #000; white-space: nowrap; }
.staff-teams .site { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--mist); color: var(--text); white-space: nowrap; font-size: .8125rem; }
.staff-teams .site::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.ranks { display: flex; flex-wrap: wrap; gap: 6px; }
.ranks li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--text); font-size: .8125rem; line-height: 1.4; }
.ranks i { font-style: normal; font-family: var(--en); font-weight: 500; font-size: .75rem; color: #fff; background: #000; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; display: inline-grid; place-items: center; margin-right: -6px; }
.staff-teams td.n { width: 190px; white-space: nowrap; color: var(--muted); }
.staff-teams td.n > div { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.staff-teams td.n b { font-family: var(--en); font-weight: 400; font-size: var(--fs-xl); color: #000; margin-right: 2px; }
.staff-teams .meter { flex: 0 0 96px; height: 8px; background: var(--mist); border-radius: 999px; overflow: hidden; }
.staff-teams .meter::before { content: ""; display: block; height: 100%; width: var(--w); background: var(--c, #000); border-radius: 999px; }
.staff-teams .num { min-width: 3.2em; text-align: right; }
.staff .figure-wide { margin-top: 16px; border-radius: var(--r); }

.offices { display: grid; gap: 40px; }
.office { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.office iframe { width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: 20px; background: var(--mist); }
.office h3 { font-size: var(--fs-xl); font-weight: 600; color: #000; }
.office dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 16px; margin-top: 24px; }
.office dt { color: var(--muted); }
.office dd a { font-weight: 600; color: #000; border-bottom: 1px solid currentColor; }
.office .btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.office .btns .btn { min-height: 44px; padding: 0 20px; }

.deliver-list li { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.deliver-list li:last-child { border-bottom: 1px solid var(--line); }
.deliver-list h3 { font-size: var(--fs-lg); color: #000; }
.deliver-list p { color: var(--muted); }
.notes { margin-top: 40px; padding: 32px; background: var(--mist); border-radius: 20px; font-size: var(--fs-sm); }
.notes h3 { font-size: var(--fs-md); color: #000; margin-bottom: 12px; }
.notes ol { list-style: decimal; padding-left: 20px; display: grid; gap: 8px; color: var(--text); }

/* 실적 목록 */
.toolbar { display: flex; gap: 20px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 24px; }
.list-filter > input { position: absolute; opacity: 0; pointer-events: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips label, .chips a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 500; cursor: pointer; background: #fff; transition: border-color .2s; }
.chips label:hover, .chips a:hover { border-color: #000; }
.chips a[aria-current] { background: #000; border-color: #000; color: #fff; }
#f-all:checked ~ .toolbar label[for="f-all"],
#f-2026:checked ~ .toolbar label[for="f-2026"],
#f-2025:checked ~ .toolbar label[for="f-2025"],
#f-2024:checked ~ .toolbar label[for="f-2024"],
#f-2023:checked ~ .toolbar label[for="f-2023"] { background: #000; border-color: #000; color: #fff; }
#f-2026:checked ~ .project-list li:not([data-y="2026"]),
#f-2025:checked ~ .project-list li:not([data-y="2025"]),
#f-2024:checked ~ .project-list li:not([data-y="2024"]),
#f-2023:checked ~ .project-list li:not([data-y="2023"]) { display: none; }
.list-filter > input:focus-visible ~ .toolbar .chips { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 999px; }

.search { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #000; min-width: min(360px, 100%); }
.search input { flex: 1; border: 0; padding: 12px 0; background: transparent; min-width: 0; }
.search input:focus { outline: none; }
.search button { border: 0; background: none; padding: 8px; cursor: pointer; }
.search svg { width: 20px; height: 20px; }

.project-list { border-top: 1px solid #000; }
.project-list li a { display: grid; grid-template-columns: 80px 1fr auto 36px; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); transition: padding .25s; }
.project-list li a:hover { padding-left: 12px; }
.project-list .y { font-family: var(--en); color: var(--muted); }
.project-list .t { font-size: var(--fs-md); font-weight: 500; color: #000; }
.project-list .a { font-family: var(--en); font-size: var(--fs-md); color: #000; text-align: right; white-space: nowrap; }
.project-list .a small { font-family: var(--ko); font-size: .7em; color: var(--muted); margin-left: 2px; }
.project-list .go { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.project-list li a:hover .go { background: #000; color: #fff; }
.project-list .go svg { width: 16px; height: 16px; }
.project-list .tag { display: inline-block; font-size: .8125rem; color: var(--blue); font-weight: 600; margin-right: 10px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 56px; font-family: var(--en); }
.pager a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.pager a:hover { background: var(--mist); }
.pager a[aria-current] { background: #000; color: #fff; }

/* 문의 폼 */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 72px); padding: 0 var(--edge) clamp(64px, 10vh, 112px); align-items: start; }
.fieldset { border: 0; margin: 0 0 36px; padding: 0; }
.fieldset legend { font-size: var(--fs-xl); font-weight: 600; color: #000; padding: 0; margin-bottom: 8px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }
.f { display: flex; flex-direction: column; padding-top: 16px; }
.f.full { grid-column: 1 / -1; }
.f > label, .f > .label { font-size: var(--fs-sm); font-weight: 600; color: #000; }
.f .req { color: var(--blue); margin-left: 3px; }
.f input, .f textarea, .f select { border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; background: transparent; border-radius: 0; transition: border-color .2s; }
.f textarea { min-height: 120px; resize: vertical; }
.f input:focus, .f textarea:focus { outline: none; border-color: #000; }
.f .hint { font-size: .8125rem; color: var(--muted); margin-top: 8px; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pick label { position: relative; }
.pick input { position: absolute; opacity: 0; }
.pick span { display: inline-block; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 500; cursor: pointer; transition: border-color .2s, background-color .2s; }
.pick span:hover { border-color: #000; }
.pick input:checked + span { background: #000; color: #fff; border-color: #000; }
.pick input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.drop { margin-top: 12px; border: 1px dashed #B5BBC2; border-radius: 14px; padding: 24px; text-align: center; color: var(--muted); font-size: var(--fs-sm); }
.drop b { color: #000; display: block; font-size: var(--fs-md); margin-bottom: 4px; }
.drop input { margin-top: 16px; font-size: .8125rem; }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); color: var(--muted); }
.agree input { width: 20px; height: 20px; margin-top: 3px; accent-color: #000; flex: none; }
.submit { margin-top: 32px; }

.aside { position: sticky; top: calc(var(--header-h) + 24px); background: var(--graphite); color: #fff; border-radius: 20px; padding: 30px 28px; }
.aside h2 { font-size: var(--fs-lg); font-weight: 600; }
.aside .tel { display: block; font-family: var(--en); font-size: var(--fs-xl); font-weight: 300; margin-top: 12px; line-height: 1.2; }
.aside p { color: rgba(255,255,255,.6); font-size: var(--fs-sm); margin-top: 4px; }
.aside hr { border: 0; border-top: 1px solid rgba(255,255,255,.15); margin: 22px 0; }
.aside ol { counter-reset: s; display: grid; gap: 14px; margin-top: 16px; font-size: var(--fs-sm); color: rgba(255,255,255,.8); }
.aside ol li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; }
.aside ol li::before { content: counter(s, decimal-leading-zero); font-family: var(--en); color: rgba(255,255,255,.45); }
.aside ol.flow { gap: 18px; }
.aside ol.flow li { grid-template-columns: 22px 1fr; row-gap: 6px; }
.aside ol.flow li::before { content: counter(s); grid-row: span 2; font-size: var(--fs-md); color: #fff; line-height: 1.4; }
.aside ol.flow b { font-size: var(--fs-md); font-weight: 600; color: #fff; line-height: 1.4; }
.aside ol.flow span { border-left: 2px solid rgba(255,255,255,.2); padding-left: 10px; line-height: 1.55; }

/* 회사동정 */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; padding: 0 var(--edge) clamp(64px, 10vh, 112px); }

/* 회사동정 사진 */
.news-event > h2 small { display: block; margin-top: 12px; font-size: var(--fs-sm); font-weight: 400; color: var(--muted); letter-spacing: 0; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.photo-grid a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.photo-grid a:hover img { transform: scale(1.04); }

/* 기술자료 */
.cat { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .gnb { display: none; }
  .header-actions { margin-left: auto; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 56px; }
  .client-list { grid-template-columns: repeat(3, 1fr); }
  .sitemap-body { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .logo img, .sitemap-top img { height: 38px; }
  .header-actions .btn { display: none; }
  .hero-fields { grid-template-columns: 1fr 1fr; }
  .hero-fields a:nth-child(3) { border-left: 0; }
  .hero-fields a:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.3); }
  .hero-fields a { padding: 18px var(--edge); }
  .record-head { grid-template-columns: 1fr; }
  .section-title { grid-template-columns: 1fr; gap: 20px; }
  .field summary { grid-template-columns: 1fr 44px; gap: 16px; }
  .field summary p { display: none; }
  .field summary i { width: 44px; height: 44px; }
  .field summary h3 .en { display: block; margin: 6px 0 0; }
  .field-body { grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; }
  .field-body > span { display: none; }
  .band { min-height: 56vh; align-items: flex-end; padding-bottom: 48px; background-position: 62% 30%; }
  .band::before { background: linear-gradient(0deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.7) 50%, rgba(255,255,255,0) 85%); }
  .people { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-grid .news-card:nth-child(3) { display: none; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-cards a { min-height: 0; gap: 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .sitemap-body { grid-template-columns: 1fr 1fr; }
  .chapter { grid-template-columns: 1fr; }
  .chapter > h2 { position: static; }
  .staff { --r: 20px; }
  .staff-total { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; }
  .staff-bar { margin-bottom: 8px; }
  .staff-sites { grid-template-columns: 1fr; }
  .staff-sites li { padding: 14px 16px; }
  .staff-teams thead { display: none; }
  .staff-teams tbody, .staff-teams tr { display: block; }
  .staff-teams tr { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .staff-teams tbody tr:last-child { border-bottom: 0; }
  .staff-teams td, .staff-teams tbody th, .staff-teams td:first-child, .staff-teams td:last-child { padding: 0; border: 0; }
  .staff-teams tr > td:first-child { grid-column: 1 / -1; }
  .staff-teams tbody th { grid-row: 2; }
  .staff-teams td.n { grid-row: 2; grid-column: 2; width: auto; }
  .staff-teams .meter { flex-basis: 64px; }
  .staff-teams td:nth-child(3) { grid-column: 1 / -1; }
  .staff-teams .g-cont th { grid-row: 1; }
  .staff-teams .g-cont td.n { grid-row: 1; grid-column: 2; }
  .staff-teams .g-cont td:nth-child(2) { grid-column: 1 / -1; }
  .staff-teams .g-start, .staff-teams .g-cont:not(.g-end) { border-bottom-color: #EEF0F2; }
  .office { grid-template-columns: 1fr; gap: 24px; }
  .form-wrap { grid-template-columns: 1fr; }
  .aside { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; }

  .dock {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90;
    padding: 6px; border-radius: 999px; background: rgba(20, 24, 28, .9); backdrop-filter: blur(10px);
  }
  .dock a { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; color: #fff; font-size: var(--fs-sm); font-weight: 600; }
  .dock a.primary { background: var(--blue); }
  .dock svg { width: 18px; height: 18px; }
  body { padding-bottom: 84px; }
}

@media (max-width: 600px) {
  .band br, .hero-sub br { display: none; }
  .scope { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .client-list { grid-template-columns: 1fr 1fr; }
  .client-list li { min-height: 150px; }
  .client-list li:last-child { grid-column: 1 / -1; }
  .news-grid, .gallery { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .news-grid .news-card:nth-child(3) { display: block; }
  .people .teams { gap: 20px; }
  .sitemap-body { grid-template-columns: 1fr; gap: 8px; padding-top: 24px; }
  .sitemap h2 { margin-bottom: 8px; padding-bottom: 12px; }
  .history li { grid-template-columns: 1fr; gap: 6px; }
  .deliver-list li { grid-template-columns: 1fr; gap: 8px; }
  .grid-2 { grid-template-columns: 1fr; }
  .project-list li a { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .project-list .y { grid-column: 1 / -1; font-size: var(--fs-sm); }
  .project-list .go { display: none; }
  .record-years { grid-template-columns: auto auto auto auto; gap: 4px 16px; }
  .toolbar { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-row { animation: none; flex-wrap: wrap; width: auto; padding: 0 clamp(24px, 6vw, 96px); }
  .marquee-row .dup { display: none; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
.section[data-flush] { padding-top: 0; }
.section-title p:has(.more) { justify-self: end; } .section-title p .more { color: #000; }
.tabs-nav[data-gap] { margin-top: clamp(32px, 4vw, 48px); }
.steps.cols-3 { grid-template-columns: repeat(3, 1fr); row-gap: 56px; }
.client-list.cols-2 { grid-template-columns: 1fr 1fr; }
.client-list.cols-2 li:last-child { grid-column: auto; }
@media (max-width: 600px) {
  .steps.cols-3 { grid-template-columns: 1fr 1fr; }
  .client-list.cols-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(1.75rem, 8.4vw, 2.5rem); }
  .hero-fields .en { display: none; }
  .hero-copy { padding-bottom: 6vh; }
  .page-head h1 { font-size: clamp(2.25rem, 11vw, 3rem); }
}
.hero-sub { margin-top: 18px; font-size: var(--fs-lg); color: rgba(255,255,255,.85); max-width: 50em; }

/* ---------- 메인 슬라이드 (시안) ---------- */
.hero { overflow: hidden; }
.hero::before { z-index: 1; }
.hero > .hs { position: absolute; inset: 0; z-index: 0; }
.hero > .hero-copy, .hero > .hero-fields, .hero > .hs-bar, .hero > .hs-info { z-index: 2; }
.hs-slide { position: absolute; inset: 0; visibility: hidden; will-change: clip-path; }
.hs-slide.is-on, .hs-slide.is-in { visibility: visible; }
.hs-slide.is-in { z-index: 2; }
.hs-slide.is-on { z-index: 1; }
.hs-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06); }
/* 등장~퇴장(약 9.5초) 내내 같은 속도로 줌아웃: 중간에 멈추거나 되돌아가지 않게 linear, 10초 */
.hs-slide.is-move img { animation: hs-zoom 10s linear forwards; }
@keyframes hs-zoom { from { transform: scale(1.06) } to { transform: scale(1) } }
/* 나가는 장면: 줌아웃은 그대로 이어가고 밝기만 낮춘다 (img 애니메이션을 바꾸면 크기가 처음으로 튐) */
.hs-slide.is-out { filter: brightness(.45); transition: filter 1.5s cubic-bezier(.65,0,.35,1); }
/* 들어오는 띠의 경계선 */
.hs-edge { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hs-edge i { position: absolute; top: 0; height: 2px; background: #3d9bff; box-shadow: 0 0 12px rgba(61,155,255,.8); opacity: 0; }

/* 하단 우측: 공사명 + 번호 + 진행 막대 */
.hs-bar { position: relative; display: flex; align-items: flex-end; justify-content: flex-end; gap: 32px; padding: 0 var(--edge) 28px; }
/* 공사명: 오른쪽 위 (헤더 아래) */
.hero > .hs-info { position: absolute; top: calc(var(--header-h) + 28px); right: var(--edge); max-width: min(46%, 520px); text-align: right; min-height: 3.4em; text-shadow: 0 1px 6px rgba(0,0,0,.3); }
/* 줄마다 따로 가림(.m) → 위아래 줄이 서로 겹치지 않음. 그림자가 잘리지 않게 여백을 줬다가 되돌림 */
.hs-info .m { display: block; overflow: hidden; padding: 4px 14px 6px; margin: -4px -14px -6px; }
/* 부가 정보라 작고 옅게 */
.hs-info small { display: block; font-size: 12px; color: rgba(255,255,255,.5); letter-spacing: .02em; }
.hs-info b { display: block; font-weight: 400; font-size: 14px; color: rgba(255,255,255,.68); margin-top: 2px; }
/* 들어올 때: 아래에서 위로 천천히 */
.hs-info .ln { transform: translateY(100%); opacity: 0; transition: transform .8s cubic-bezier(.16,1,.3,1), opacity .6s ease-out; }
.hs-info.show .ln { transform: none; opacity: 1; }
.hs-info.show .m + .m .ln { transition-delay: .09s; }
/* 나갈 때: 위로 빠르게 빠지며 흐려짐 */
.hs-info.leave .ln { transform: translateY(-100%); opacity: 0; transition: transform .45s cubic-bezier(.7,0,.84,0), opacity .4s ease-in; }
.hs-info.leave .m + .m .ln { transition-delay: .05s; }
.hs-ctrl { display: flex; align-items: center; gap: 18px; flex: none; font-family: Jost, sans-serif; }
.hs-num { font-size: var(--fs-sm); letter-spacing: .08em; white-space: nowrap; }
.hs-num b { font-weight: 500; font-size: 1.35em; }
.hs-prog { width: clamp(80px, 14vw, 220px); height: 2px; background: rgba(255,255,255,.25); position: relative; }
.hs-prog i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.hs-ctrl button { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: none; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, border-color .2s; }
.hs-ctrl button:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.hs-ctrl svg { width: 16px; height: 16px; }
.hero-copy { margin-bottom: auto; padding-top: calc(var(--header-h) + 5vh); padding-bottom: 4vh; text-shadow: 0 1px 18px rgba(0,0,0,.35); }
.hs-bar { text-shadow: 0 1px 10px rgba(0,0,0,.4); }
@media (max-width: 760px) {
  .hs-bar { padding-bottom: 20px; }
  .hero-copy { padding-top: calc(var(--header-h) + 6vh); }
  .hero > .hs-info { top: calc(var(--header-h) + 16px); max-width: 70%; }
  .hs-info small { font-size: 11px; }
  .hs-info b { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-slide.is-move img { animation: none; transform: none; }
  .hs-slide.is-out { filter: none; }
  .hs-info .ln { transition: none; }
}


.tabs-nav .num { font-family: var(--en); font-weight: 400; color: var(--muted); margin-left: 4px; }

/* 주요 거래처 A: 명판 벽
   판 = 둥근 패널(사이트 공통 24px), 칸 = 흰 줄눈으로 나눈 외벽 판넬
   색 = 판은 옅게(건설사 하늘빛 / 설계사 무채색), 로고 파랑은 영문·숫자·마우스 올림에만 */
:root { --logo-blue: #0064C1; }
.lw-part { --tint: #EEF3F9; --ink: #1B2A41; --accent: var(--logo-blue); --seam: var(--paper); --hover: var(--logo-blue); padding: clamp(40px, 5vw, 64px) var(--edge) 0; }
.lw-part + .lw-part { --tint: #F3F4F6; }
.lw-part .lw-head h2 .en, .lw-part .lw-head p { color: var(--accent); opacity: 1; }
.lw-part .lw-head p { color: #4B5563; opacity: 1; }
.lw-part .lw-head p b { color: var(--accent); }
.lw-part:last-of-type { padding-bottom: clamp(64px, 10vh, 112px); }
.lw-panel { border-radius: 24px; overflow: hidden; background: var(--tint); }
.lw-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: clamp(32px, 4vw, 52px) clamp(24px, 4vw, 56px) clamp(24px, 3vw, 36px); }
.lw-head h2 { font-size: var(--fs-2xl); font-weight: 650; letter-spacing: -.035em; line-height: 1.2; color: var(--ink); }
.lw-head h2 .en { display: block; font-size: var(--fs-lg); font-weight: 300; letter-spacing: 0; color: var(--ink); opacity: .55; margin-bottom: 10px; }
.lw-head p { font-size: var(--fs-lg); color: var(--ink); opacity: .7; white-space: nowrap; }
.lw-head p b { font-family: var(--en); font-size: var(--fs-2xl); font-weight: 500; line-height: 1; letter-spacing: -.02em; margin-right: 2px; }

.logo-wall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 -2px -2px 0; border-top: 2px solid var(--seam); }
.logo-wall li { position: relative; display: grid; place-items: center; text-align: center; aspect-ratio: 2.2 / 1; padding: 12px 18px; border-right: 2px solid var(--seam); border-bottom: 2px solid var(--seam); font-size: var(--fs-lg); font-weight: 600; letter-spacing: -.025em; line-height: 1.35; color: var(--ink); transition: background .2s, color .2s; }
.logo-wall .nw { white-space: nowrap; }
.logo-wall li:hover { background: var(--hover); color: #fff; }
#architects .logo-wall { grid-template-columns: repeat(6, minmax(0, 1fr)); }
#architects .logo-wall li { font-size: var(--fs-md); }
@media (max-width: 1180px) { .logo-wall, #architects .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .lw-panel { border-radius: 18px; }
  .lw-head p b { font-size: var(--fs-xl); }
  .logo-wall, #architects .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-wall li, #architects .logo-wall li { aspect-ratio: auto; min-height: 68px; font-size: var(--fs-md); }
}

@media (prefers-reduced-motion: reduce) { .logo-wall li { transition: none; } }
