/* ㈜웰쉐어로지스 — 웰쉐어 공개 사이트 기준: 종이 바탕 · 명조 제목 · 로고 세 색 띠 하나 · 선으로 나눔 · 이모지 없음
   + MotionSites(모션사이트) · animate · frontend-design · emil-design-eng 스킬 반영 */
:root {
  --paper: #FBFAF7; --paper-2: #F2EFE9; --ink: #15171B; --ink-2: #3A3E46; --ink-3: #6A7079; --rule: #DAD5CB;
  --pu: #8C288C; --pk: #D8307B; --cy: #18A8D8; --cy-deep: #0E7FA8;
  --serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
body { overflow-x: clip; }  /* 첫 화면 띠(100vw)가 세로 스크롤 막대 폭만큼 넘치지 않게 */
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.75 var(--sans); word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
a { color: var(--cy-deep); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--pk); outline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 9; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.3; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 900; letter-spacing: -.01em; }
h2 { font-size: clamp(23px, 3.2vw, 31px); font-weight: 700; margin-top: 1.6em; }
h3 { font-size: 21px; font-weight: 700; }
.eye { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--ink-3); }
.lead { font-size: 19px; color: var(--ink-2); max-width: 62ch; }
.note { font-size: 13px; color: var(--ink-3); }
/* 회사의 자세(형 10-26 「팔지 않습니다. 함께 설계합니다.」) — 굵은 위 줄 아래 네 칸 · 공헌 한 줄은 분홍 줄로 강조 */
.promise { margin: 28px 0; padding: 22px 0 6px; border-top: 2px solid var(--ink); }
.promise h2 { font: 900 clamp(26px, 3.6vw, 36px)/1.25 var(--serif); margin: 0 0 10px; }
.promise-list { list-style: none; padding: 0; margin: 16px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.promise-list li { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 4px; min-width: 0; transition: background-color 200ms var(--ease-out), padding-left 200ms var(--ease-out); }
.promise-list li:hover { background: rgba(242,239,233,.6); }
.promise-list li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule); }
.promise-list b { font-size: 18px; } .promise-list span { color: var(--ink-2); }
.promise-give { border-left: 4px solid var(--pk); padding: 6px 0 6px 14px; font-weight: 700; margin: 16px 0 8px; }
.promise-start { color: var(--ink-2); margin: 0; }
@media (max-width: 760px) { .promise-list { grid-template-columns: 1fr; } .promise-list li:nth-child(even) { padding-left: 0; border-left: 0; } }
/* 세 색 띠 = 로고의 보라·핑크·시안 — 섞지 않는다 */
.tri { display: grid; grid-template-columns: 1fr 1fr 1fr; height: 4px; } .tri i:nth-child(1) { background: var(--pu); } .tri i:nth-child(2) { background: var(--pk); } .tri i:nth-child(3) { background: var(--cy); }
/* 머리 */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: rgba(251,250,247,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font: 900 19px var(--serif); color: var(--ink); text-decoration: none; white-space: nowrap; transition: transform 160ms var(--ease-out); }
.brand:active { transform: scale(0.97); }
.gnb { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; position: relative; }
.gnb a { position: relative; padding: 8px 10px; color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 600; border-radius: 6px; transition: color 180ms var(--ease-out), background-color 180ms var(--ease-out), transform 160ms var(--ease-out); z-index: 1; }
.gnb a:hover { color: var(--ink); background: var(--paper-2); }
.gnb a:active { transform: scale(0.97); }
/* 지금 보고 있는 쪽 — 형 10-21 「선택된 메뉴를 좀 더 확실하게」: 굵은 글자 · 옅은 시안 바탕 · 아래 로고 세 색 막대 */
.gnb a[aria-current] { color: var(--ink); font-weight: 800; background: rgba(24,168,216,.2); box-shadow: inset 0 0 0 1px rgba(14,127,168,.35); }
.gnb a[aria-current]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--pu), var(--pk), var(--cy)); }
.gnb .cta { background: var(--ink); color: #fff; margin-left: 6px; } .gnb .cta:hover, .gnb .cta[aria-current] { background: var(--ink-2); color: #fff; }
.menu-btn { display: none; margin-left: auto; font: 700 15px var(--sans); background: none; border: 1px solid var(--rule); border-radius: 6px; padding: 8px 12px; color: var(--ink); transition: transform 160ms var(--ease-out); }
.menu-btn:active { transform: scale(0.96); }
/* 1180 이하는 「메뉴」로 접는다 — 단추 셋을 같은 크기 그대로 두려면 한 줄에 다 안 들어간다(10-22) */
@media (max-width: 1180px) {
  .menu-btn { display: block; }
  .gnb { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--rule); flex-direction: column; align-items: stretch; padding: 8px 20px 16px; }
  .gnb.open { display: flex; } .gnb .cta { margin: 6px 0 0; text-align: center; }
  .gnb a[aria-current]::after { left: 0; right: auto; top: 8px; bottom: 8px; width: 4px; height: auto; background: linear-gradient(180deg, var(--pu), var(--pk), var(--cy)); }
}
main { padding-block: 28px 64px; }
.crumbs { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; } .crumbs a { color: var(--ink-3); } .crumbs span { margin: 0 4px; }
/* 첫 화면 */
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 8px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; border: 1px solid var(--ink); font-family: var(--sans); font-size: 16px; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(21,23,27,.14); }
.btn:active { transform: scale(0.97); }
.btn.ghost { background: transparent; color: var(--ink); }
.sec { padding-block: 44px; border-bottom: 1px solid var(--rule); }
.sec h2 { margin-top: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; } .two > * { min-width: 0; }
.two > div + div { border-left: 1px solid var(--rule); padding-left: 40px; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; gap: 24px; } .two > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 24px; } }
.svc { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.svc li { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--rule); min-width: 0; transition: background-color 200ms var(--ease-out); }
.svc li:nth-child(odd) { border-right: 1px solid var(--rule); } .svc li:nth-child(even) { padding-left: 24px; }
.svc .no { font: 700 13px var(--sans); color: var(--pk); letter-spacing: .08em; }
.svc h3 { margin: 6px 0 4px; } .svc .lead { font-size: 16px; margin: 0 0 8px; } .svc p { margin: 0; }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } .svc li:nth-child(odd) { border-right: 0; } .svc li:nth-child(even) { padding-left: 0; } }
.proof { list-style: none; margin: 16px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.proof li { padding: 18px 16px 18px 0; border-right: 1px solid var(--rule); display: flex; flex-direction: column; min-width: 0; transition: background-color 200ms var(--ease-out); }
.proof li:hover { background: rgba(242,239,233,.5); }
.proof li + li { padding-left: 16px; } .proof li:last-child { border-right: 0; }
.proof b { font: 900 clamp(32px, 4.4vw, 46px)/1 var(--serif); font-variant-numeric: tabular-nums; }
.proof span { font-weight: 700; margin-top: 6px; } .proof small { color: var(--ink-3); font-size: 13px; line-height: 1.5; margin-top: 4px; }
@media (max-width: 760px) { .proof { grid-template-columns: 1fr 1fr; } .proof li:nth-child(2) { border-right: 0; } .proof li:nth-child(3) { padding-left: 0; } .proof li:nth-child(n+3) { border-top: 1px solid var(--rule); } }
.vids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 16px 0; } .vids.big { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .vids, .vids.big { grid-template-columns: 1fr; } }
/* 인스타툰(형 10-25) — 목록 = 표지 격자 · 읽는 쪽 = 4:5 그림을 위에서 아래로 */
.toon-list { max-width: none; }
.toons { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; margin: 20px 0; }
.toon-card { display: flex; flex-direction: column; gap: 6px; color: inherit; text-decoration: none; transition: transform 220ms var(--ease-out); }
.toon-card:hover { transform: translateY(-3px); }
.toon-card:active { transform: scale(0.98); }
.toon-card img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; border: 1px solid var(--rule); transition: border-color 180ms var(--ease-out), box-shadow 220ms var(--ease-out); }
.toon-card:hover img, .toon-card:focus-visible img { border-color: var(--pk); box-shadow: 0 12px 28px rgba(21,23,27,.12); }
.toon-card .toon-no { font: 700 13px var(--sans); color: var(--pk); letter-spacing: .04em; }
.toon-pics { display: grid; gap: 14px; margin: 20px 0; max-width: 560px; }
.toon-pics img { width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--rule); }
.toon-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 20px 0; max-width: 560px; }
.yt { margin: 0; min-width: 0; } .yt a { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 6px; background: #111; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform 480ms var(--ease-out); }
.yt a:hover img { transform: scale(1.04); }
.yt a::after { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; margin: -22px 0 0 -32px; border-radius: 10px; background: rgba(21,23,27,.82) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l8 5-8 5z' fill='%23fff'/%3E%3C/svg%3E") center/26px no-repeat; transition: transform 200ms var(--ease-out), background-color 200ms var(--ease-out); }
.yt a:hover::after { transform: scale(1.08); background-color: var(--pk); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt figcaption { font-size: 15px; color: var(--ink-2); margin-top: 10px; }
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 4px; border-bottom: 1px solid var(--rule); transition: background-color 180ms var(--ease-out), padding-left 180ms var(--ease-out); }
.list li:hover { background: rgba(242,239,233,.65); padding-left: 10px; }
.list li a { color: var(--ink); text-decoration: none; font-weight: 600; min-width: 0; } .list li a:hover { text-decoration: underline; }
.list time { color: var(--ink-3); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.list em { font-style: normal; font-size: 12px; font-weight: 700; color: #fff; background: var(--pk); padding: 1px 6px; border-radius: 4px; margin-right: 4px; }
.partners { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; } .partners a { color: var(--ink-2); }
.cta-sec { border-bottom: 0; }
/* 글 */
.doc { max-width: 820px; } .doc p { max-width: 68ch; }
.doc figure { margin: 18px 0; } .doc figure img { border-radius: 4px; border: 1px solid var(--rule); }
.tw { overflow-x: auto; margin: 14px 0; }
table { border-collapse: collapse; width: 100%; font-size: 16px; } th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { border-bottom: 1px solid var(--ink); font-weight: 700; } tbody th { font-weight: 700; white-space: nowrap; color: var(--ink-2); width: 1%; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 14px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.steps li { counter-increment: s; padding: 14px 14px 14px 0; border-right: 1px solid var(--rule); display: flex; flex-direction: column; min-width: 0; }
.steps li + li { padding-left: 14px; } .steps li:last-child { border-right: 0; }
.steps li::before { content: "0" counter(s); font-weight: 700; font-size: 13px; color: var(--pk); }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } .steps li { border-right: 0; padding-left: 0 !important; border-bottom: 1px solid var(--rule); } }
.faq details { border-bottom: 1px solid var(--rule); padding: 12px 0; } .faq summary { cursor: pointer; font-weight: 700; } .faq p { margin: 8px 0 0; color: var(--ink-2); }
.files { padding-left: 18px; }
.kv th { width: 30%; }
.qna { display: grid; gap: 14px; max-width: 560px; margin-top: 10px; }
.qna label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; } .qna .chk { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.qna input, .qna textarea { font: 400 16px var(--sans); padding: 10px 12px; border: 1px solid var(--rule); border-radius: 6px; background: #fff; color: var(--ink); }
.qna .err { color: #B3261E; font-size: 14px; }
/* 꼬리 */
.foot { background: var(--paper-2); margin-top: 0; } .foot .wrap { padding-block: 28px 40px; }
.slogan { font: 700 20px var(--serif); margin: 0 0 12px; }
.foot address { font-style: normal; font-size: 14px; color: var(--ink-2); line-height: 1.8; } .foot a { color: var(--ink-2); }
.fl, .copy { font-size: 13px; color: var(--ink-3); }
/* 나타남 — Emil Kowalski 스태거 + 블러 해제 + 커스텀 이징 (스크립트가 붙었을 때만 숨긴다) */
html.ws-anim .rise {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(3px);
  transition: opacity .56s var(--ease-out), transform .56s var(--ease-out), filter .56s var(--ease-out);
  transition-delay: calc(var(--stagger-idx, 0) * 65ms);
}
html.ws-anim .rise.in { opacity: 1; transform: none; filter: blur(0); }
@media (prefers-reduced-motion: reduce) { html.ws-anim .rise { opacity: 1; transform: none; filter: none; transition: none; } }

.btn.light { background: #fff; color: #0B1222; border-color: #fff; } .btn.line { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--rule); }
.trust li { padding: 22px 18px 22px 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; transition: background-color 200ms var(--ease-out); } .trust li + li { border-left: 1px solid var(--rule); padding-left: 18px; }
.trust li:hover { background: rgba(242,239,233,.5); }
.trust b { font: 900 clamp(24px, 3vw, 32px)/1.1 var(--serif); font-variant-numeric: tabular-nums; } .trust span { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr 1fr; } .trust li:nth-child(3) { border-left: 0; padding-left: 0; } .trust li:nth-child(n+3) { border-top: 1px solid var(--rule); } }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; } .pillars > * { min-width: 0; }
.pillar { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; background: #fff; transition: box-shadow 240ms var(--ease-out), transform 240ms var(--ease-out); }
.pillar img { aspect-ratio: 16/9; object-fit: cover; width: 100%; } .pillar > div { padding: 22px 24px 26px; } .pillar h3 { font-size: 26px; margin: 0 0 8px; }
.pillar.dark { background: #0B1222; color: #EEF2FA; border-color: #0B1222; } .pillar.dark .eye { color: #9AA8C7; } .pillar.dark p { color: #C9D3EA; } .pillar.dark strong { color: #fff; }
.pillar .more { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--cy-deep); } .pillar.dark .more { color: #5FD3FF; }
.pillar:hover { box-shadow: 0 12px 30px rgba(21,23,27,.12); transform: translateY(-2px); }
.pillar:active { transform: scale(0.985); }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }
.bizgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--ink); margin-top: 14px; }
.biz { padding: 18px 18px 20px 0; border-bottom: 1px solid var(--rule); min-width: 0; } .biz h3 { font-size: 20px; margin: 0 0 8px; }
.biz ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .biz li { display: flex; flex-direction: column; } .biz li b { font-size: 15px; } .biz li span { font-size: 13px; color: var(--ink-3); }
.biz.pending { opacity: .62; } .soon { font: 700 11px var(--sans); font-style: normal; color: #fff; background: var(--ink-3); padding: 2px 7px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.area { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 32px; align-items: start; } .area img { border: 1px solid var(--rule); border-radius: 6px; background: #fff; }
@media (max-width: 760px) { .area { grid-template-columns: 1fr; } }
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; } .gal figure { margin: 0; min-width: 0; }
.gal img { aspect-ratio: 5/3; object-fit: cover; width: 100%; border-radius: 6px; } .gal figcaption { font-size: 14px; font-weight: 600; margin-top: 6px; }
@media (max-width: 760px) { .gal { grid-template-columns: 1fr 1fr; } }
.logos { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.logos a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 128px; padding: 18px 14px 14px; background: #fff; border: 1px solid var(--rule); border-radius: 8px; text-decoration: none; transition: border-color 180ms var(--ease-out), transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out); }
.logos img { width: 92%; max-height: 64px; object-fit: contain; }   /* 형 10-21 「알아볼 수 있게 조금만 더 크게」 — 여백 자른 로고 + 이름 글자 */
.logos span { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--ink-2); text-align: center; word-break: keep-all; }
.logos a:hover { border-color: var(--ink-3); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(21,23,27,.08); } .logos a:hover span { color: var(--ink); }
.logos a:active { transform: scale(0.97); }
@media (max-width: 600px) { .logos { grid-template-columns: 1fr 1fr; } }

/* ── 사업 분야 카드(링크) · 분야 페이지 ── */
a.biz { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; padding-right: 22px; }
a.biz:hover h3 { text-decoration: underline; } a.biz .more { margin-top: 10px; font-weight: 700; color: var(--cy-deep); font-size: 14px; }
.bizgrid { grid-template-columns: repeat(3, 1fr); } .bizgrid .biz:nth-child(3n+2), .bizgrid .biz:nth-child(3n) { padding-left: 22px; border-left: 1px solid var(--rule); }
@media (max-width: 860px) { .bizgrid { grid-template-columns: 1fr 1fr; } .bizgrid .biz { padding-left: 0 !important; border-left: 0 !important; } .bizgrid .biz:nth-child(even) { padding-left: 18px !important; border-left: 1px solid var(--rule) !important; } }
@media (max-width: 560px) { .bizgrid { grid-template-columns: 1fr; } .bizgrid .biz:nth-child(even) { padding-left: 0 !important; border-left: 0 !important; } }
.doc.wide { max-width: 1080px; } .cover { margin: 20px 0 0; } .cover img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 8px; }
.facts { padding-left: 18px; } .facts li { margin: 4px 0; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; } .chips a { display: inline-block; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; color: var(--ink-2); background: #fff; font-weight: 600; font-size: 15px; transition: transform 160ms var(--ease-out), border-color 180ms var(--ease-out); }
.chips a:active { transform: scale(0.97); }

/* ══ 사업부 띠 — 물류(남색·시안) · 전산(보라·네온·유리) · 청소(민트·흰·둥근) — 형 10-21 「확실히 디자인을 구분」 ══ */
.dv { position: relative; margin: 0 calc(50% - 50vw); overflow: hidden; }
.dv-in { position: relative; max-width: 1180px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) 20px; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.dv.flip .dv-in { grid-template-columns: minmax(0, 9fr) minmax(0, 11fr); } .dv.flip .dv-art { order: 2; }
@media (max-width: 860px) { .dv-in, .dv.flip .dv-in { grid-template-columns: 1fr; } .dv.flip .dv-art { order: 0; } }
.dv-art { margin: 0; position: relative; z-index: 1; } .dv-art img { width: 100%; height: auto; border-radius: 22px; }
.dv-art.ph { aspect-ratio: 4/3; border-radius: 22px; display: grid; place-items: center; font: 900 120px var(--serif); }
.dv-txt { position: relative; z-index: 1; min-width: 0; }
.dv-no { font: 800 13px var(--sans); letter-spacing: .14em; margin: 0 0 8px; }
.dv h2, .dv h1 { font-size: clamp(44px, 7vw, 80px); line-height: 1.05; margin: 0; }
.dv-sub { font-size: clamp(17px, 2vw, 21px); font-weight: 700; margin: 10px 0 16px; }
.dv .lead { max-width: 52ch; }
.dv-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.dv-list li { font-size: 15px; font-weight: 600; padding-left: 18px; position: relative; } .dv-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; }
@media (max-width: 560px) { .dv-list { grid-template-columns: 1fr; } }
.dv::after { content: attr(data-no); }
.dv-btn { border: 0; }
/* 01 물류 — 남색 · 시안 · 반듯한 사각 */
.dv-logi { background: linear-gradient(180deg, #0D1A35 0%, #0A1428 100%); color: #EAF2FF; }
.dv-logi .dv-no { color: #5FD3FF; } .dv-logi .dv-sub { color: #9FE3FF; } .dv-logi .lead { color: #C3D2EE; }
.dv-logi .dv-list li::before { background: #18A8D8; } .dv-logi .dv-btn { background: #18A8D8; color: #04121F; border-radius: 4px; }
.dv-logi .dv-art img { border-radius: 6px; box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.dv-logi::before { content: "01"; position: absolute; right: -2vw; bottom: -6vw; font: 900 30vw/1 var(--serif); color: rgba(95,211,255,.05); pointer-events: none; }
/* 02 전산 — 짙은 보라 · 네온 · 유리 카드 */
.dv-it { background: radial-gradient(ellipse 60% 70% at 25% 40%, #3A1563 0%, #170A2C 60%, #0E0720 100%); color: #F2EAFF; }
.dv-it .dv-txt { background: rgba(255,255,255,.06); border: 1px solid rgba(210,160,255,.28); border-radius: 22px; padding: clamp(22px, 3vw, 36px); backdrop-filter: blur(10px); box-shadow: 0 0 60px rgba(176,85,176,.25); }
.dv-it .dv-no { color: #D49BFF; font-family: ui-monospace, Consolas, monospace; } .dv-it .dv-sub { color: #E6C7FF; } .dv-it .lead { color: #D6CBEA; }
.dv-it .dv-list li::before { background: linear-gradient(135deg, #B055B0, #18A8D8); border-radius: 2px; box-shadow: 0 0 8px #B055B0; }
.dv-it .dv-btn { background: linear-gradient(90deg, #8C288C, #4B5BD7); color: #fff; border-radius: 999px; box-shadow: 0 0 24px rgba(176,85,176,.6); }
.dv-it .dv-art img { box-shadow: 0 0 80px rgba(176,85,176,.35); }
.dv-it::before { content: "02"; position: absolute; left: -2vw; bottom: -6vw; font: 900 30vw/1 ui-monospace, Consolas, monospace; color: rgba(210,160,255,.05); pointer-events: none; }
/* 03 청소 — 민트 · 흰 · 둥근 */
.dv-clean { background: linear-gradient(160deg, #F4FFFB 0%, #E3F7F1 60%, #FDEFF5 100%); color: #12302A; }
.dv-clean .dv-no { color: #12A383; } .dv-clean .dv-sub { color: #D8307B; } .dv-clean .lead { color: #35514B; }
.dv-clean .dv-list li { background: #fff; border-radius: 999px; padding: 6px 14px 6px 30px; box-shadow: 0 4px 14px rgba(18,163,131,.10); }
.dv-clean .dv-list li::before { left: 12px; top: 50%; margin-top: -4px; background: #12A383; border-radius: 50%; }
.dv-clean .dv-btn { background: #12A383; color: #fff; border-radius: 999px; }
.dv-clean .dv-art img { border-radius: 36px; box-shadow: 0 30px 60px rgba(18,163,131,.18); }
.dv-clean::before { content: "03"; position: absolute; right: -2vw; bottom: -6vw; font: 900 30vw/1 var(--serif); color: rgba(18,163,131,.07); pointer-events: none; }
/* 사업부 페이지 머리 */
.dv-head { margin-top: -28px; } .dv-head .dv-in { padding-block: clamp(40px, 6vw, 80px); }
.toc { margin-top: 18px; } .dv-logi .toc a, .dv-it .toc a { background: rgba(255,255,255,.08); color: inherit; border-color: rgba(255,255,255,.25); }
.area-blk { padding-block: 30px; border-bottom: 1px solid var(--rule); } .area-blk h2 { margin-top: 0; }
/* 사업부 카드(목록) */
.dvc { padding: 0 0 20px !important; border: 0 !important; } .dvc img { aspect-ratio: 4/3; object-fit: cover; width: 100%; border-radius: 14px; margin-bottom: 14px; }
.dvc-logi h3 { color: #0E5E86; } .dvc-it h3 { color: #6B1F8C; } .dvc-clean h3 { color: #0F8A6F; }
.bizgrid:has(.dvc) { border-top: 0; gap: 24px; }
.chip-logi { border-color: #18A8D8 !important; } .chip-it { border-color: #B055B0 !important; } .chip-clean { border-color: #12A383 !important; }

/* ══ 판타스틱 — 형 10-21 「애니메이션 느낌이야 · 멋진 · 판타스틱 · 미래 이미지」 ══ */
.dv-head { margin-top: 0; }
.dv-art { overflow: hidden; border-radius: 22px; }
.dv-logi .dv-art { border-radius: 6px; } .dv-clean .dv-art { border-radius: 36px; }
.dv-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  html.ws-anim .dv .dv-art { opacity: 0; transform: translateX(-40px) scale(.97); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); }
  html.ws-anim .dv.flip .dv-art { transform: translateX(40px) scale(.97); }
  html.ws-anim .dv.in .dv-art { opacity: 1; transform: none; }
  .dv.in .dv-art::after { animation: sweep 1.6s .7s var(--ease-out) 1 both; }
  @keyframes sweep { to { transform: translateX(120%); } }
  .dv-art img { transition: transform 1.2s var(--ease-out); } .dv-art:hover img { transform: scale(1.04); }
}

/* ══ 첫 화면 = 사례집 형식 — 형 10-21 비핸스 「GRIP TRIP」 형식 · 「컨셉은 동일하고 디자인은 다르게, 구성과 표현은 각 사업의 특징에 맞게」 ══
   같은 형식: 표지 → 소개 → 장마다 「장 제목(가는 큰 글씨) + 옆의 짧은 설명 → 큰 그림 → 받침 모듈」
   다른 디자인: 물류 = 밤 남색·직각·가로로 흐름 / 전산 = 보라 유리·화면 속 화면 / 건물위생 = 흰빛 민트·둥근 모양·여백 */
.cover-hero { position: relative; margin: -28px calc(50% - 50vw) 0; height: calc(100svh - 65px); min-height: 560px; background: #060A18 center / cover no-repeat; color: #fff; overflow: hidden; }
.cover-slides, .cover-slides img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-slides { z-index: 0; overflow: hidden; }
.cover-slides img { object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {   /* A 위에 C 가 9초마다 1.6초 동안 겹쳐 들고 난다 · 두 장 모두 아주 천천히 다가간다 */
  .cover-slides img { animation: coverDrift 18s ease-in-out infinite alternate; transform-origin: 35% 60%; }
  .cover-slides img:last-child { opacity: 0; transform-origin: 65% 45%; animation: coverDrift 18s ease-in-out infinite alternate, coverSwap 18s ease-in-out infinite; }
  @keyframes coverDrift { from { transform: scale(1); } to { transform: scale(1.07); } }
  @keyframes coverSwap { 0%, 41% { opacity: 0; } 50%, 91% { opacity: 1; } 100% { opacity: 0; } }
}
.cover-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6,10,24,.78) 0%, rgba(6,10,24,0) 40%, rgba(6,10,24,0) 52%, rgba(6,10,24,.88) 100%); }
.cover-in { position: absolute; inset: 0; z-index: 3; max-width: 1240px; margin: 0 auto; padding: clamp(28px, 6vh, 68px) 24px clamp(24px, 5vh, 52px); display: flex; flex-direction: column; justify-content: space-between; }
.cover-hero h1 { font: 200 clamp(32px, 6.2vw, 92px)/1.1 var(--sans); letter-spacing: .3em; margin: 0; color: #fff; }
.cover-sub { font: 300 clamp(14px, 1.7vw, 22px) var(--sans); letter-spacing: .5em; margin: 16px 0 0; color: #dfe7f7; }
.cover-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; font-size: 14px; color: #c9d3ea; }
.cover-foot p { margin: 0; max-width: 40ch; }
.cover-foot strong { display: block; font: 700 clamp(17px, 2vw, 22px)/1.45 var(--serif); color: #fff; margin-bottom: 6px; }
.cover-hint { color: #9fb2d9; }
@media (prefers-reduced-motion: no-preference) {   /* 하나뿐인 첫 움직임 — 넓게 퍼진 이름이 제자리로 모인다 */
  .cover-hero.docked h1 { animation: coverName 1.6s var(--ease-out) both; }   /* 로고가 배지 자리에 앉는 순간 이름이 모인다 */
  .cover-hero.docked .cover-sub, .cover-hero.docked .cover-foot, .cover-hero.docked .cover-dock { animation: coverFade 1.1s .6s var(--ease-out) both; }
  @keyframes coverName { from { letter-spacing: .7em; opacity: 0; } to { letter-spacing: .3em; opacity: 1; } }
  @keyframes coverFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
#stage.mini { position: absolute; inset: 0; z-index: 2; pointer-events: none; }   /* 첫 화면 전체 — 로고가 가운데서 모여 오른쪽 위 배지로 간다(hero3d.js) */
.cover-hero.intro .cover-in { opacity: 0; animation: coverSafe 0s 4.5s forwards; }   /* 임팩트 장면 동안 글을 감춘다 · 3D 가 늦어도 4.5초 뒤엔 보인다 */
@keyframes coverSafe { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cover-hero.intro .cover-in { opacity: 1; animation: none; } .cover-slides img:last-child { display: none; } }
#stage canvas { display: block; width: 100%; height: 100%; }
.intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); padding-block: clamp(56px, 9vw, 120px) clamp(40px, 6vw, 72px); align-items: start; }
.intro h2 { font: 300 clamp(40px, 6vw, 80px)/1.08 var(--sans); letter-spacing: -.03em; margin: 0; }
.intro-txt p { font-size: 15px; line-height: 1.85; color: var(--ink-2); margin: 0 0 14px; }
.intro-txt .slogan { font: 700 19px/1.5 var(--serif); color: var(--ink); }
/* 장 — 공통 뼈대 */
.ch { position: relative; margin: 0 calc(50% - 50vw); padding-block: clamp(64px, 10vw, 140px); }
.ch-in { max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
.ch-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
.ch-head h2 { font: 200 clamp(56px, 10vw, 140px)/1 var(--sans); letter-spacing: -.045em; margin: 0; }
.ch-sub { font-size: 16px; font-weight: 700; margin: 16px 0 0; }
.ch-head .lead { font-size: 15px; line-height: 1.85; margin: 0; }
.ch-bleed { margin: 0; } .ch-bleed img { display: block; width: 100%; object-fit: cover; }
.ch-more { margin: clamp(36px, 5vw, 56px) 0 0; }
.ch a:focus-visible, .ch [tabindex]:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
/* 01 물류 — 밤 남색 · 하늘색 · 반듯한 직각 · 가로로 흐른다 */
.ch-logi { background: #0A1428; color: #EAF2FF; }
.ch-logi .ch-sub { color: #5FD3FF; } .ch-logi .lead { color: #B9C8E6; }
.logi-items { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.logi-items li { font-size: 13px; font-weight: 600; padding: 4px 10px; border: 1px solid rgba(95,211,255,.4); color: #CFE6FF; }
.ch-logi .ch-bleed img { aspect-ratio: 21 / 9; object-position: 50% 62%; }
.route { display: flex; overflow: hidden; border-block: 1px solid rgba(95,211,255,.35); background: #08101F; padding-block: 14px; }
.route-track { display: flex; flex: none; gap: 2.4em; padding-right: 2.4em; white-space: nowrap; font: 300 clamp(18px, 2.2vw, 26px) var(--sans); color: #CFE6FF; }
.route-track span::before { content: ""; display: inline-block; width: 8px; height: 8px; background: #18A8D8; margin-right: .6em; vertical-align: .2em; }
@media (prefers-reduced-motion: no-preference) { .route-track { animation: route 70s linear infinite; } @keyframes route { to { transform: translateX(-100%); } } }
@media (prefers-reduced-motion: reduce) { .route { flex-wrap: wrap; } .route-track { white-space: normal; flex-wrap: wrap; padding-inline: 20px; } .route-track[aria-hidden] { display: none; } }
.logi-grid { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px clamp(28px, 5vw, 64px); margin-top: clamp(48px, 7vw, 96px); }
.logi-grid .lead { max-width: 40ch; margin: 0 0 6px; }
.logi-num { display: flex; gap: clamp(28px, 5vw, 64px); }
.logi-num p { margin: 0; } .logi-num b { display: block; font: 200 clamp(72px, 10vw, 136px)/1 var(--sans); letter-spacing: -.05em; color: #5FD3FF; font-variant-numeric: tabular-nums; }
.logi-num span { font-size: 14px; color: #9FB2D9; }
/* 3D 운송 지도(map3d.js) — 형 10-21 「지도 이미지 디자인 새롭게 해줘. 3D로」 */
.map3d { position: relative; height: clamp(560px, 58vw, 680px); margin-top: 28px; overflow: hidden; border-block: 1px solid rgba(95,211,255,.28); background: #0A1428; touch-action: pan-y; cursor: grab; }
.map3d:active { cursor: grabbing; }
.map3d canvas { display: block; width: 100%; height: 100%; }
.map3d > .logi-map { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.map3d.live > .logi-map { display: none; }
.map3d-tags { position: absolute; inset: 0; pointer-events: none; }
.map3d-tags span { position: absolute; left: 0; top: 0; font: 700 11.5px/1.3 var(--sans); color: #EAF6FF; background: rgba(10,20,40,.72); border: 1px solid rgba(95,211,255,.5); padding: 2px 7px; white-space: nowrap; opacity: 0; transition: opacity .5s; }
.map3d-tags .hq { background: #E0458A; border-color: #FF8CC0; color: #fff; }
.map3d-tags .cap { background: transparent; border: 0; color: #5FD3FF; font-size: 13px; letter-spacing: .02em; }
.map3d-tip { position: absolute; left: 0; top: 0; pointer-events: none; font: 700 13px var(--sans); color: #04121F; background: #5FD3FF; padding: 4px 9px; opacity: 0; transition: opacity .15s; }
.map3d-tip.on { opacity: 1; }
.dock { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 31%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: clamp(40px, 6vw, 72px); padding-bottom: 12px; scrollbar-color: #18A8D8 transparent; }
.dock figure { margin: 0; scroll-snap-align: start; } .dock img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 420ms var(--ease-out); }
.dock figure:hover img { transform: scale(1.03); }
.dock figcaption { font-size: 14px; font-weight: 600; color: #CFE6FF; margin-top: 10px; padding-top: 8px; border-top: 2px solid #18A8D8; }
.ch-logi .btn { background: #18A8D8; border-color: #18A8D8; color: #04121F; border-radius: 2px; }
/* 02 전산 — 짙은 보라 · 유리 · 빛나는 화면 · 화면 속 화면 */
.ch-it { background: radial-gradient(ellipse 80% 40% at 50% 0%, #3A1563 0%, #170A2C 60%, #0E0720 100%); color: #F2EAFF; }
.ch-it .ch-head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.ch-it .ch-head > div:first-child { order: 2; text-align: right; }
.ch-it .ch-sub { color: #D49BFF; } .ch-it .lead { color: #D6CBEA; }
.ch-it .ch-bleed img { aspect-ratio: 16 / 7; }
.screen { margin: 0; border: 1px solid rgba(210,160,255,.32); border-radius: 16px; background: rgba(255,255,255,.04); padding: 10px; box-shadow: 0 0 60px rgba(176,85,176,.22); transition: border-color 220ms var(--ease-out), transform 220ms var(--ease-out); }
.screen:hover { border-color: rgba(210,160,255,.65); transform: translateY(-2px); }
.screen-bar { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; color: #E6C7FF; padding: 2px 6px 10px; }
.screen video { display: block; width: 100%; aspect-ratio: 1920 / 900; object-fit: cover; border-radius: 9px; background: #0E0720; }
.it-film { margin-top: clamp(48px, 7vw, 96px); }
.yt-play { position: relative; display: block; border-radius: 9px; overflow: hidden; }
.yt-play img, .yt-play iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; object-fit: cover; transition: transform 480ms var(--ease-out); }
.yt-play:hover img { transform: scale(1.03); }
.yt-play .play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: rgba(140,40,140,.85); box-shadow: 0 0 40px rgba(176,85,176,.8); transition: transform 220ms var(--ease-out), background-color 220ms var(--ease-out); }
.yt-play:hover .play { transform: scale(1.08); background: #D8307B; }
.yt-play .play::after { content: ""; position: absolute; left: 34px; top: 26px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #fff; }
.it-loops { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.ch-it .btn { background: linear-gradient(90deg, #8C288C, #4B5BD7); border: 0; border-radius: 999px; color: #fff; }
/* 03 건물위생·소독방역 — 흰빛 · 민트 · 둥근 모양 · 넉넉한 여백 · 가운데 */
.ch-clean { background: linear-gradient(170deg, #F6FFFC 0%, #E6F8F2 60%, #FDF1F6 100%); color: #12302A; }
.ch-clean .ch-head { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; }
.ch-clean .ch-head h2 { font-weight: 300; } .ch-clean .ch-sub { color: #12A383; } .ch-clean .lead { color: #35514B; max-width: 50ch; margin-inline: auto; }
.clean-frame { margin: 0; } .clean-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 44px; box-shadow: 0 40px 80px rgba(18,163,131,.18); }
.clean-steps { list-style: none; padding: 0; margin: clamp(40px, 6vw, 72px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.clean-steps li { background: #fff; border-radius: 28px; padding: 22px 22px 24px; box-shadow: 0 10px 30px rgba(18,163,131,.10); transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
.clean-steps li:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(18,163,131,.16); }
.clean-steps b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #12A383; color: #fff; font-size: 15px; margin-bottom: 12px; }
.clean-steps h3 { font: 700 18px/1.4 var(--sans); margin: 0 0 6px; } .clean-steps p { font-size: 14px; line-height: 1.7; color: #35514B; margin: 0; }
.clean-pair { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 48px); align-items: center; margin-top: clamp(40px, 6vw, 72px); }
.clean-pair figure { margin: 0; text-align: center; } .clean-pair img { width: 100%; border-radius: 36px; }
.clean-pair img.round { aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.clean-pair figcaption { font-weight: 700; color: #12A383; margin-top: 12px; }
.clean-items { list-style: none; padding: 0; margin: clamp(32px, 5vw, 56px) 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.clean-items li { background: #fff; border-radius: 999px; padding: 6px 16px; font-size: 14px; font-weight: 600; box-shadow: 0 4px 14px rgba(18,163,131,.10); }
.ch-clean .ch-more { text-align: center; } .ch-clean .btn { background: #12A383; border-color: #12A383; color: #fff; border-radius: 999px; }
@media (max-width: 860px) { .clean-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .intro, .ch-head, .ch-it .ch-head, .logi-grid, .clean-pair { grid-template-columns: 1fr; }
  .ch-it .ch-head > div:first-child { order: 0; text-align: left; }
  .it-loops { grid-template-columns: 1fr; }
  .cover-foot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ch-logi .ch-bleed img { aspect-ratio: 4 / 3; } .ch-it .ch-bleed img { aspect-ratio: 4 / 3; }
  .dock { grid-auto-columns: 78%; }
}
@media (max-width: 520px) { .clean-steps { grid-template-columns: 1fr; } }

/* 사업부 오프닝 영상(opening/make.py) — 장에 들어서면 한 번 재생 · 끝 장면에 멈춤 · 다시 보기 (형 10-21 「각 사업마다 오프닝 영상」) */
.ch-open { position: relative; }
.ch-open video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.clean-frame.ch-open video { border-radius: 44px; box-shadow: 0 40px 80px rgba(18,163,131,.18); background: #E6F8F2; }
.replay { position: absolute; right: clamp(14px, 3vw, 36px); bottom: clamp(14px, 3vw, 32px); font: 700 14px var(--sans); padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.6); background: rgba(6,12,28,.6); color: #fff; cursor: pointer; transition: transform 160ms var(--ease-out); }
.replay:active { transform: scale(0.96); }
.clean-frame .replay { background: rgba(255,255,255,.9); color: #0F3D34; border-color: #12A383; }
.replay:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* 회사소개 3D — 본사 건물 실제 사진을 깊이로 세운 실시간 입체(intro3d.js) · 형 10-21 「회사 소개 페이지도 3D화면으로」 */
.about-hero { position: relative; margin: 6px calc(50% - 50vw) 0; height: min(86svh, 820px); min-height: 480px; background: #070B1A; color: #fff; overflow: hidden; }
.about-3d { position: absolute; inset: 0; }
.about-3d canvas { display: block; width: 100%; height: 100%; }
.about-3d > img { width: 100%; height: 100%; object-fit: cover; }
.about-3d.live > img { display: none; }
.about-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(7,11,26,.92) 0%, rgba(7,11,26,.62) 34%, rgba(7,11,26,0) 58%), linear-gradient(0deg, rgba(7,11,26,.75), rgba(7,11,26,0) 35%); }
.about-in { position: absolute; z-index: 1; left: max(20px, calc(50vw - 560px)); bottom: clamp(40px, 9vh, 96px); right: 20px; max-width: 760px; }
.about-in h1 { font: 800 clamp(34px, 4.4vw, 64px)/1.14 var(--sans); letter-spacing: -.035em; margin: 0; color: #fff; text-shadow: 0 0 40px rgba(95,211,255,.25); }
.about-addr { margin: 10px 0 0; font-size: 14px; color: #9fb2d9; }
@media (prefers-reduced-motion: no-preference) {
  .about-in h1 { animation: aboutRise 1.1s .2s var(--ease-out) both; }
  .about-in .hero-slogan, .about-in .about-addr, .about-in .hero-kicker { animation: aboutRise .9s .6s var(--ease-out) both; }
  @keyframes aboutRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
}
/* 미션 · 사훈 = 크게 쓴 글귀 판 */
.about-md :is(h5, h6) { font: 700 13px var(--sans); color: var(--ink-3); margin: 40px 0 8px; letter-spacing: .02em; }
.about-md :is(h5, h6) + p { font: 700 clamp(22px, 3vw, 34px)/1.4 var(--serif); color: var(--ink); margin: 0 0 8px; padding: 22px 26px; border-left: 4px solid var(--cy, #18A8D8); background: linear-gradient(90deg, rgba(24,168,216,.07), transparent); }
/* 사업부 카드 3D 기울기(site.js data-tilt) */
.dvc[data-tilt] { transform-style: preserve-3d; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); will-change: transform; }
.dvc[data-tilt]:hover { box-shadow: 0 30px 60px rgba(10,20,40,.18); }
.dvc[data-tilt]:active { transform: scale(0.98) !important; }
/* 제목 묶음 = 반투명 유리 판 — 뒤 간판 글자와 섞여 읽기 어려웠다(10-21) */
.about-in { padding: clamp(22px, 3vw, 36px) clamp(22px, 3vw, 40px); border-radius: 22px; background: rgba(7,11,26,.58); border: 1px solid rgba(95,211,255,.22); box-shadow: 0 30px 80px rgba(0,0,0,.35); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); max-width: 640px; }
.about-in .hero-slogan { font-size: clamp(16px, 1.8vw, 21px); margin-top: 14px; }
@media (max-width: 760px) { .about-in { left: 14px; right: 14px; bottom: 18px; border-radius: 16px; } }
@media (min-width: 761px) { .about-in { top: clamp(32px, 8vh, 84px); bottom: auto; max-width: 600px; } }   /* 왼쪽 위 — 가운데 아래 간판 글자·오른쪽 위 WS 로고를 가리지 않게 */

/* 오시는 길 3D — 본사 주변 실제 도로 + 경로 안내 모션(location3d.js) · 형 10-21 「찾아오기도 3D화면과 안내로 모션」 */
.loc-hero { margin: 6px calc(50% - 50vw) 0; background: #070B1A; color: #EEF2FA; padding-top: clamp(32px, 5vw, 60px); }
.loc-head { max-width: 1180px; margin: 0 auto; padding: 0 20px 20px; }
.loc-head h1 { font: 800 clamp(34px, 5vw, 60px)/1.1 var(--sans); letter-spacing: -.03em; color: #fff; margin: 0; }
.loc-head .lead { color: #B9C6E4; margin: 12px 0 0; } .loc-head .lead a { color: #5FD3FF; }
.loc-wrap { position: relative; height: clamp(560px, 60vw, 760px); border-top: 1px solid rgba(95,211,255,.2); }
.loc-3d { position: absolute; inset: 0; touch-action: pan-y; cursor: grab; }
.loc-3d canvas { display: block; width: 100%; height: 100%; }
.loc-guide { position: absolute; z-index: 2; right: max(16px, calc(50vw - 590px)); top: 22px; width: min(390px, calc(100% - 32px)); padding: 20px; border-radius: 18px;
  background: rgba(7,11,26,.74); border: 1px solid rgba(95,211,255,.25); box-shadow: 0 24px 60px rgba(0,0,0,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.loc-guide h2 { font: 800 20px var(--sans); color: #fff; margin: 0 0 12px; }
.loc-guide [role=tablist] { display: grid; gap: 8px; margin-bottom: 14px; }
.loc-guide [role=tab] { text-align: left; font: 700 16px var(--sans); color: #DDE6F7; background: rgba(255,255,255,.05); border: 1px solid rgba(95,211,255,.25); border-radius: 12px; padding: 10px 14px; cursor: pointer; transition: transform 160ms var(--ease-out), border-color 180ms var(--ease-out), background-color 180ms var(--ease-out); }
.loc-guide [role=tab]:active { transform: scale(0.97); }
.loc-guide [role=tab] small { display: block; font-weight: 500; font-size: 13px; color: #9FB2D9; margin-top: 2px; }
.loc-guide [role=tab][aria-selected=true] { background: linear-gradient(90deg, rgba(224,69,138,.28), rgba(24,168,216,.18)); border-color: #FF8CC0; color: #fff; }
.loc-guide [role=tab]:focus-visible { outline: 2px solid #5FD3FF; outline-offset: 2px; }
.loc-guide ol { list-style: none; counter-reset: st; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.loc-guide li { counter-increment: st; position: relative; padding: 6px 0 6px 34px; font-size: 15px; line-height: 1.5; color: #EEF2FA; }
.loc-guide li::before { content: counter(st); position: absolute; left: 0; top: 6px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 800 13px var(--sans); background: #E0458A; color: #fff; }
.loc-guide.live li { color: #6F7FA3; transition: color .35s; } .loc-guide.live li::before { background: #2A3557; transition: background .35s; }
.loc-guide.live li.on { color: #fff; } .loc-guide.live li.on::before { background: #E0458A; }
.loc-guide .btns { margin: 6px 0 8px; } .loc-guide .btn { font-size: 14px; padding: 9px 14px; } .loc-guide .btn.ghost { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; }
.loc-guide .credit { font-size: 11px; color: #6F7FA3; margin: 0; }
.map3d-tags .ic { background: rgba(24,168,216,.9); border-color: #5FD3FF; color: #04121F; }
.map3d-tags .road { background: transparent; border: 0; color: #9FB2D9; font-weight: 600; }
@media (max-width: 760px) {
  .loc-wrap { height: auto; }
  .loc-3d { position: relative; height: 440px; }
  .loc-guide { position: static; width: auto; margin: 0 14px 20px; }
}
.loc-guide ol[hidden] { display: none; }   /* 목록 칸 display:grid 가 숨김 표시를 덮어썼다(10-21) */

/* 홍보영상 3D 상영관(videos3d.js) — 형 10-21 「홍보영상 페이지도 3D로」 */
.vt { margin: 6px calc(50% - 50vw) 0; background: #070B1A; color: #EEF2FA; padding-top: clamp(32px, 5vw, 60px); }
.vt-head { max-width: 1180px; margin: 0 auto; padding: 0 20px 16px; }
.vt-head h1 { font: 800 clamp(34px, 5vw, 60px)/1.1 var(--sans); letter-spacing: -.03em; color: #fff; margin: 0; }
.vt-head .lead { color: #9FB2D9; margin: 12px 0 0; font-size: 15px; }
.vt-wrap { position: relative; height: clamp(520px, 52vw, 700px); border-top: 1px solid rgba(95,211,255,.2); }
.vt-3d { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; }
.vt-3d:active { cursor: grabbing; } .vt-3d canvas { display: block; width: 100%; height: 100%; }
.vt-info { position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); bottom: 18px; width: min(560px, calc(100% - 32px)); padding: 20px 22px; border-radius: 18px;
  background: rgba(7,11,26,.76); border: 1px solid rgba(95,211,255,.25); box-shadow: 0 24px 60px rgba(0,0,0,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.vt-kind { display: inline-block; margin: 0 0 8px; padding: 3px 10px; border-radius: 999px; font: 700 12px var(--sans); color: #04121F; background: #5FD3FF; }
.vt-info h2 { font: 800 clamp(20px, 2.2vw, 26px)/1.3 var(--sans); color: #fff; margin: 0 0 6px; }
.vt-desc { color: #C9D3EA; font-size: 15px; line-height: 1.6; margin: 0 0 6px; } .vt-meta { color: #7F8FB3; font-size: 13px; margin: 0 0 14px; }
.vt-ctrl { display: flex; align-items: center; gap: 8px; }
.vt-ctrl button { font: 700 15px var(--sans); color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(95,211,255,.35); border-radius: 10px; padding: 9px 14px; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 180ms var(--ease-out); }
.vt-ctrl button:active { transform: scale(0.96); }
.vt-ctrl .vt-playbtn { background: linear-gradient(90deg, #E0458A, #8C288C); border-color: #FF8CC0; padding-inline: 20px; }
.vt-ctrl button:focus-visible, .vt-close:focus-visible { outline: 2px solid #5FD3FF; outline-offset: 2px; }
.vt-count { margin-left: auto; font-size: 13px; color: #7F8FB3; font-variant-numeric: tabular-nums; }
.vt-dlg { width: min(1120px, 94vw); padding: 0; border: 0; border-radius: 14px; background: #000; overflow: visible; }
.vt-dlg::backdrop { background: rgba(3,6,16,.82); }
.vt-stage iframe, .vt-stage video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: #000; }
.vt-close { position: absolute; right: 0; top: -46px; font: 700 15px var(--sans); color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
@media (max-width: 760px) {
  .vt-wrap { height: auto; }
  .vt-3d { position: relative; height: 380px; }
  .vt-info { position: static; width: auto; margin: 0 14px 20px; }
}
@media (max-width: 760px) { .vt-info { transform: none; } }

/* 최근활동 3D 「시간의 길」(news3d.js) — 상영관(.vt) 틀을 같이 쓰고 안내판만 왼쪽 아래 · 형 10-21 「최근활동 페이지도 3D로」 */
.nt .vt-info { left: max(16px, calc(50vw - 590px)); transform: none; width: min(480px, calc(100% - 32px)); }
.nt .vt-kind { background: #FF8CC0; } .nt .nt-date { color: #5FD3FF; font-weight: 700; margin: 0 0 4px; }
.nt .vt-playbtn { text-decoration: none; display: inline-block; color: #fff; font: 700 15px var(--sans); padding: 9px 20px; border-radius: 10px; border: 1px solid #FF8CC0; }   /* 링크라 글자색이 빠졌다 */
.nb .vt-kind { background: #5FD3FF; } .nb .vt-kind.pin { background: #FF8CC0; }   /* 공지 3D 문서함 — 중요 공지 = 분홍 */

/* 제휴·상담 3D 「연결」(qna3d.js) — 형 10-21 「제휴·상담 페이지도 3D로」 · 양식 = 오른쪽 유리 판 */
.qa .vt-head .btns { margin-top: 16px; }
.qa-wrap { height: clamp(660px, 52vw, 760px); }
.qa-panel { position: absolute; z-index: 2; right: max(16px, calc(50vw - 590px)); top: 22px; width: min(430px, calc(100% - 32px)); max-height: calc(100% - 44px); overflow: auto; padding: 22px 24px; border-radius: 18px;
  background: rgba(7,11,26,.8); border: 1px solid rgba(95,211,255,.25); box-shadow: 0 24px 60px rgba(0,0,0,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.qa-panel h2 { font: 800 21px var(--sans); color: #fff; margin: 0 0 12px; }
.qa-panel label { color: #C9D3EA; font-size: 14px; font-weight: 600; }
.qa-panel input:not([type=checkbox]), .qa-panel textarea { background: rgba(255,255,255,.06); border: 1px solid rgba(95,211,255,.3); color: #fff; border-radius: 10px; }
.qa-panel input:focus, .qa-panel textarea:focus { outline: 2px solid #5FD3FF; outline-offset: 1px; }
.qa-panel .chk { color: #9FB2D9; font-weight: 500; }
.qa-panel .btn { background: linear-gradient(90deg, #E0458A, #8C288C); border-color: #FF8CC0; color: #fff; width: 100%; }
.qa-panel .note { color: #7F8FB3; font-size: 12px; } .qa-panel .err { color: #FF8CC0; }
.map3d-tags .road.on { color: #fff; background: rgba(224,69,138,.85); border: 1px solid #FF8CC0; }
@media (max-width: 760px) {
  .qa-wrap { height: auto; }
  .qa .vt-3d { position: relative; height: 300px; }
  .qa-panel { position: static; width: auto; max-height: none; margin: 0 14px 20px; }
}

/* 회사소개 아래 쪽 3D(형 10-21) — 사진 크게 보기 · 처방 카드 기울기 · 둘러보기 제목 */
.vt-stage img { display: block; width: 100%; max-height: 84vh; object-fit: contain; border-radius: 14px; background: #000; }
.vt-h2 { font: 800 clamp(26px, 3.6vw, 44px)/1.15 var(--sans); letter-spacing: -.03em; color: #fff; margin: 0; }
.svc li[data-tilt] { transform-style: preserve-3d; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); will-change: transform; background: #fff; }
.svc li[data-tilt]:hover { box-shadow: 0 24px 50px rgba(10,20,40,.14); position: relative; z-index: 1; }
.vt-dlg.is-img { width: min(760px, 94vw); }

/* 업무 프로그램 · 관제 시스템 배너(10-22) — 전산 사업부 3D 그림의 관제실 부분 · 글자는 어두운 왼쪽에(대비 4.5 이상) */
.ops { margin: 0 calc(50% - 50vw); color: #F2EAFF;
  background: linear-gradient(90deg, rgba(14,7,32,.95) 0%, rgba(14,7,32,.86) 40%, rgba(14,7,32,.3) 100%), var(--ops-bg, none) center / cover no-repeat, #0E0720; }
.ops-in { max-width: 1120px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) 20px; }
.ops h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); max-width: 16em; }
.ops p { max-width: 34em; margin: 0; color: #DCD2EE; }
.ops .btns { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 220px); gap: 10px; }
.ops .btns .btn { text-align: center; }   /* 두 단추 같은 폭(10-22 「버튼 크기를 동일하게」) */
.ops .ops-note { margin-top: 14px; font-size: 14px; color: #BFB0DA; }
@media (max-width: 700px) {
  .ops { background: linear-gradient(180deg, rgba(14,7,32,.55) 0%, rgba(14,7,32,.94) 52%), var(--ops-bg, none) center top / 180% auto no-repeat, #0E0720; }
  .ops-in { padding-top: 46vw; }
  .ops .btns { grid-template-columns: 1fr; }
}

/* 머리줄 단추 셋(10-22 형 「상단에 버튼도 함께」·「버튼 크기를 동일하게 안정감 있게」)
   제휴·상담하기 · 업무 프로그램 · 관제 시스템 = 같은 폭 · 같은 높이 · 같은 글자 · 메뉴와는 세로선으로 나눔 · 관제 = 시안 점 */
.gnb .tools { display: grid; grid-template-columns: repeat(3, 106px) 92px; gap: 6px; margin-left: 10px; padding-left: 14px; border-left: 1px solid var(--rule); }   /* 글자 83px + 양옆 11px — 머리줄 한 줄에 30px 남김(1440 실측) */
.gnb .tools a { display: flex; align-items: center; justify-content: center; height: 40px; margin: 0; padding: 0 6px; font-size: 15px; font-weight: 700; white-space: nowrap; border-radius: 8px; }
.gnb .tools a[aria-current]::after { content: none; }
.gnb .tool { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px #C9C2B6; }
.gnb .tool:hover { background: var(--paper-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-3); }
.gnb .tool-live::before { content: ""; flex: none; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--cy); box-shadow: 0 0 0 3px rgba(24,168,216,.22); }
/* 자료실 단추(형 10-26 「자료실 배너(아이콘)를 만들어서 바로 이동」) — 로고 보라→분홍 · 내려받기 화살표 · 머리줄 단추 넷째 칸 */
.gnb .tool-dl { gap: 6px; background: linear-gradient(135deg, var(--pu), var(--pk)); color: #fff; box-shadow: none; }
.gnb .tool-dl:hover, .gnb .tool-dl[aria-current] { background: linear-gradient(135deg, #6E1F6E, #B5265F); color: #fff; box-shadow: none; }
.gnb .tool-dl svg { flex: none; }
/* 머리줄만 1240 까지 넓혀 단추 넷을 한 줄에(1120 폭은 남는 폭 26px · 실측) · 1250~ = 「자료실」 글자까지 · 1181~1249 = 아이콘 네모 단추 */
@media (min-width: 1181px) { .top .wrap { max-width: 1240px; } }
@media (min-width: 1181px) and (max-width: 1249px) {
  .gnb .tools { grid-template-columns: repeat(3, 106px) 40px; }
  .gnb .tool-dl { padding: 0; } .gnb .tool-dl span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 1180px) {
  .gnb .tools { grid-template-columns: repeat(2, 1fr); margin: 10px 0 0; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .gnb .tools a { height: 48px; font-size: 14px; }
}
.gnb .tool { flex: 1 1 0; text-align: center; padding-block: 11px; }
/* 고객지원 — 갈 곳 넷을 선으로 나눈 목록(형 10-25 「고객지원의 자료실」) */
.support { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.support a { display: grid; grid-template-columns: 150px 1fr; gap: 4px 24px; align-items: baseline; padding: 18px 6px; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; transition: background-color 180ms var(--ease-out), padding-left 180ms var(--ease-out); }
.support a:hover { background: var(--paper-2); padding-left: 12px; }
.support b { font: 700 19px var(--serif); } .support span { color: var(--ink-2); }
@media (max-width: 560px) { .support a { grid-template-columns: 1fr; } }
/* 고객지원(10-25)이 메뉴에 더해져도 머리줄 한 줄 — 메뉴 칸 사이만 좁힌다(1440 실측: 전엔 30px 남던 줄에 고객지원 72px) */
@media (min-width: 1181px) {
  .top .wrap { gap: 12px; }
  .gnb { gap: 2px; }
  .gnb > a { padding-inline: 7px; }
  .gnb > a[aria-current]::after { left: 7px; right: 7px; }
}

/* ══ MotionSites + Emil Kowalski + animate 추가 요소 (2026-11-01) ══ */
/* 1. 상단 스크롤 진행 표시선 */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--pu), var(--pk), var(--cy));
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
  z-index: 6;
}

/* 2. 표지(Hero) 3대 사업부 빠른 이동 도크 (.cover-dock) */
.cover-dock {
  margin-top: clamp(20px, 3.5vh, 36px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 860px;
}
.cover-dock-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(6, 10, 24, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  text-decoration: none;
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out), background-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.cover-dock-card:hover {
  transform: translateY(-3px);
  background: rgba(12, 20, 44, 0.78);
}
.cover-dock-card:active {
  transform: scale(0.97);
}
.cover-dock-card .dock-no {
  font: 800 11px/1.2 var(--sans);
  letter-spacing: 0.14em;
  color: #9FB2D9;
}
.cover-dock-card.dock-logi .dock-no { color: #5FD3FF; }
.cover-dock-card.dock-it .dock-no { color: #D49BFF; }
.cover-dock-card.dock-clean .dock-no { color: #5BE3B8; }
.cover-dock-card.dock-logi:hover { border-color: rgba(95, 211, 255, 0.65); box-shadow: 0 14px 32px rgba(24, 168, 216, 0.22); }
.cover-dock-card.dock-it:hover { border-color: rgba(212, 155, 255, 0.65); box-shadow: 0 14px 32px rgba(140, 40, 140, 0.28); }
.cover-dock-card.dock-clean:hover { border-color: rgba(91, 227, 184, 0.65); box-shadow: 0 14px 32px rgba(18, 163, 131, 0.22); }
.cover-dock-card strong {
  font: 700 16px/1.3 var(--serif);
  color: #fff;
}
.cover-dock-card small {
  font-size: 12.5px;
  color: #C9D3EA;
  line-height: 1.4;
}
@media (max-width: 760px) {
  .cover-dock { grid-template-columns: 1fr; gap: 8px; margin-top: 14px; }
  .cover-dock-card { padding: 10px 14px; }
  .cover-dock-card small { display: none; }
}

/* 3. 01 물류 장 — 25개 수도권 운송 권역 인터랙티브 필터 (.logi-explorer) */
.logi-explorer {
  margin-top: 24px;
  padding: 18px 20px;
  background: rgba(8, 16, 31, 0.72);
  border: 1px solid rgba(95, 211, 255, 0.26);
  border-radius: 6px;
}
.logi-fbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.logi-fbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font: 700 13.5px var(--sans);
  color: #B9C8E6;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(95, 211, 255, 0.28);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 160ms var(--ease-out);
}
.logi-fbtn:hover { color: #fff; border-color: #5FD3FF; }
.logi-fbtn:active { transform: scale(0.97); }
.logi-fbtn.is-on {
  background: #18A8D8;
  color: #04121F;
  border-color: #5FD3FF;
}
.logi-fbtn em {
  font-style: normal;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  opacity: 0.85;
}
.logi-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.logi-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  font-size: 13px;
  font-weight: 600;
  color: #EAF2FF;
  background: rgba(24, 168, 216, 0.12);
  border: 1px solid rgba(95, 211, 255, 0.3);
  border-radius: 3px;
  transition: transform 160ms var(--ease-out), background-color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.logi-pill:hover {
  transform: translateY(-1px);
  background: rgba(24, 168, 216, 0.26);
  border-color: #5FD3FF;
}
.logi-pill b {
  font-size: 11px;
  color: #5FD3FF;
  font-weight: 700;
}
.logi-pill.is-seoul {
  background: rgba(216, 48, 123, 0.14);
  border-color: rgba(255, 140, 192, 0.38);
}
.logi-pill.is-seoul b { color: #FF8CC0; }
.logi-pill[hidden] { display: none !important; }

/* 4. 첫 화면 플로팅 챕터 네비게이션 필 (.ch-nav-pill) */
.ch-nav-pill {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(10, 16, 32, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 42px rgba(6, 10, 24, 0.36);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  max-width: calc(100vw - 24px);
  overflow-x: auto;
  scrollbar-width: none;
}
.ch-nav-pill::-webkit-scrollbar { display: none; }
.ch-nav-pill a {
  padding: 6px 12px;
  border-radius: 999px;
  font: 700 12.5px/1 var(--sans);
  color: #C9D3EA;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out), transform 160ms var(--ease-out);
}
.ch-nav-pill a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.ch-nav-pill a:active { transform: scale(0.96); }
.ch-nav-pill a.is-on {
  background: #5FD3FF;
  color: #04121F;
}
.ch-nav-pill[data-active-ch="it"] a.is-on {
  background: #D49BFF;
  color: #140626;
}
.ch-nav-pill[data-active-ch="cleaning"] a.is-on {
  background: #5BE3B8;
  color: #06261E;
}
.ch-nav-pill[data-active-ch="prescriptions"],
.ch-nav-pill[data-active-ch="videos-sec"] a.is-on {
  background: #FF8CC0;
  color: #1F0512;
}
@media (max-width: 760px) {
  .ch-nav-pill { bottom: 12px; padding: 5px 6px; }
  .ch-nav-pill a { padding: 6px 10px; font-size: 11.5px; }
}
