/* NEXORA 메인 — 기업 소개형 템플릿
   색 · 글꼴 · 간격은 모두 :root 변수에 모았습니다. 브랜드를 바꿀 때는 여기만 고치면 됩니다.
   영문 대제목은 좁고 높은 Big Shoulders Display, 국문은 Pretendard 입니다. */
:root {
  --ink: #0b0f14;
  --ink-2: #141a22;
  --paper: #ffffff;
  --mist: #f3f4f1;
  --line: #e1e3df;
  --line-dark: rgba(255, 255, 255, 0.16);
  --sub: #58606b;
  --dim: #8a929c;
  --accent: #12c29a;
  --accent-ink: #0a9677;
  --kr: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --en: 'Big Shoulders Display', 'Pretendard', sans-serif;
  --gut: clamp(20px, 4vw, 72px);
  --sec: clamp(96px, 12vw, 180px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.18, 1);
  --ease-in: cubic-bezier(0.6, 0, 0.9, 0.4);
  --head-h: 88px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--kr); color: var(--ink); background: var(--paper); line-height: 1.65; word-break: keep-all; overflow-x: clip; -webkit-font-smoothing: antialiased; }

/* 한글 줄바꿈 — keep-all 이 어절을 지키고, 아래 두 줄이 줄 길이를 고르게 맞춥니다.
   없으면 브라우저가 폭에만 맞춰 끊어 「개발 / 회사입니다」처럼 한 덩어리가 갈라집니다.
   모르는 브라우저는 두 줄을 무시합니다 — 지금과 같게 보입니다. */
h1, h2, h3, h4, h5, .greet-lead, .intro-scrub, .sec-lead, .member-lead { text-wrap: balance; }
p, li, dd, figcaption, blockquote { text-wrap: pretty; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, figure, address { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 999; padding: 10px 16px; background: var(--accent); color: #fff; font-weight: 700; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 var(--gut); }

/* ---------- 공통 조각 ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-family: var(--en); font-size: 17px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.eyebrow::before { content: ''; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.eyebrow-light { color: var(--accent); }

.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px var(--gut); margin-bottom: clamp(48px, 6vw, 96px); }
.sec-title { font-size: clamp(32px, 4.2vw, 68px); font-weight: 800; line-height: 1.16; letter-spacing: -0.045em; }
.sec-title .ln + .ln > span { color: var(--dim); font-weight: 300; }
.sec-lead { max-width: 30em; font-size: clamp(16px, 1.1vw, 18px); line-height: 1.85; color: var(--sub); }

.ln { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.08em; }
.ln > span { display: block; }

/* a.btn 까지 적은 이유: 그누보드 css/default.css:262 의 `a.btn,.btn` 이 같은 자리를 잡는데
   선택자 무게가 더 나가(0,1,1 > 0,1,0) 링크 단추의 여백·테두리·글자 크기를 눌러 버립니다.
   같은 무게로 맞추면 나중에 실리는 이 파일이 이깁니다(head.sub.php 가 순서를 정합니다). */
a.btn, .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 32px; border: 1px solid transparent; border-radius: 999px; font-size: 16px; font-weight: 700; line-height: 1.2; transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #fff; transform: translateY(-2px); }

.more { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; }
.more i { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid currentColor; transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.45s var(--ease); }
.more i::before { content: ''; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translate(-65%, -50%) rotate(45deg); }
.more:hover i { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: translateX(6px); }
.more-light { color: #fff; }

/* ---------- 헤더 ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; transition: transform 0.5s var(--ease), background 0.4s, color 0.4s, box-shadow 0.4s; }
.hd-in { position: relative; z-index: 2; display: flex; align-items: center; height: var(--head-h); padding: 0 var(--gut); max-width: 1760px; margin: 0 auto; }
.hd.is-solid, .hd.is-mega { background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.hd.is-hidden:not(.is-mega) { transform: translateY(-100%); }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--en); font-size: 30px; font-weight: 900; letter-spacing: 0.04em; line-height: 1; }
/* 가로형 로고입니다(심볼 + allweb + 올웹 · ALL WEB). 높이만 정하고 가로는 비율대로 둡니다.
   원본 규칙상 가로형은 높이 32px 아래로 줄이지 않습니다 — 그보다 작으면 보조 줄이 안 읽힙니다. */
.logo svg { display: block; height: 36px; width: auto; }
/* 올린 로고 그림입니다. 세로를 맞추고 가로는 비율대로 둡니다 — 어떤 크기를 올리셔도
   헤더가 안 무너집니다. 콘솔 > 디자인에서 올립니다. */
.logo-img { display: block; height: 34px; width: auto; max-width: 240px; object-fit: contain; }

.gnb { margin-left: auto; margin-right: auto; }
.gnb > ul { display: flex; }
.gnb > ul > li { position: relative; }
.gnb > ul > li > a { display: flex; align-items: center; height: var(--head-h); padding: 0 clamp(18px, 2vw, 34px); font-size: 17px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
/* nowrap — 1차 일곱 개에 「템플릿 보기」가 더해져 1280~1330px 에서 「홈페이지 개발」 등이 두 줄로 꺾였습니다(2026-11-09 실측). 꺾지 않아도 글자 사이 26px 이상 남습니다. */
.gnb > ul > li > a::after { content: ''; position: absolute; left: 50%; bottom: 22px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); transform: translateX(-50%) scale(0); transition: transform 0.35s var(--ease); }
.gnb > ul > li:hover > a::after, .gnb > ul > li:focus-within > a::after { transform: translateX(-50%) scale(1); }
/* 메뉴에 올라가면 모든 하위 메뉴가 한 번에 내려오는 전체 드롭다운 */
/* 모든 열이 흰 패널 끝까지 차도록, 가장 긴 열의 높이(--mega-h)를 스크립트가 재서 함께 씁니다 */
/* 열 때는 흰 패널이 먼저 내려오고 글자가 0.12s 뒤에 뜹니다. 닫을 때는 반대로 글자부터 지웁니다 —
   거꾸로면 배경 없는 글자가 비주얼 위에 떠 보입니다. duration 만으로는 안 됩니다(--ease 는 앞이 가파릅니다). */
.gnb-sub { position: absolute; top: 100%; left: 50%; min-width: 100%; min-height: var(--mega-h, 300px); display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 30px 0; transform: translate(-50%, -8px); opacity: 0; visibility: hidden; transition: opacity 0.14s, transform 0.45s var(--ease), visibility 0.14s; }
.gnb-sub a { padding: 5px 0; font-size: 15px; color: var(--sub); white-space: nowrap; transition: color 0.2s; }
.gnb-sub a:hover { color: var(--accent-ink); }
.hd.is-mega .gnb-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity 0.3s 0.12s, transform 0.45s var(--ease), visibility 0.3s 0.12s; }
.gnb-panel { position: absolute; left: 0; right: 0; top: 100%; height: var(--mega-h, 300px); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(11, 15, 20, 0.25); transform: scaleY(0); transform-origin: 0 0; transition: transform 0.32s var(--ease-in); }
.hd.is-mega .gnb-panel { transform: scaleY(1); transition: transform 0.45s var(--ease); }

.hd-util { display: flex; align-items: center; gap: 20px; }

/* 로그인 영역 — 넓은 화면은 머리글 오른쪽(전체 메뉴 단추 앞), 좁은 화면은 전체 메뉴 안입니다.
   마크업은 같고 바깥 이름표만 다릅니다(_header.php 가 allweb_theme_auth_html() 을 두 번 부릅니다).
   어느 쪽을 보일지는 맨 아래 반응형이 정합니다 — 한 화면에 둘이 같이 나오지 않습니다.
   색은 currentColor 라 비주얼 위(흰 글자)와 서브페이지(검은 글자) 양쪽에서 읽힙니다. */
.hd-auth, .sm-auth { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.sm-auth { display: none; }
.hd-auth a, .sm-auth a { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border: 1px solid transparent; border-radius: 999px; white-space: nowrap; transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s, opacity 0.3s; }
.auth-in, .auth-out, .auth-me { opacity: 0.72; }
.auth-in:hover, .auth-out:hover, .auth-me:hover { opacity: 1; }
/* 바로 위 공통 규칙(.hd-auth a)이 테두리를 투명하게 두므로 **같은 무게로** 되돌립니다. */
.hd-auth .auth-join, .sm-auth .auth-join { border-color: currentColor; }
.hd-auth .auth-join:hover, .sm-auth .auth-join:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.auth-me span { margin-left: 1px; font-weight: 500; }
/* 「템플릿 보기」 — 넓은 화면은 머리글, 좁은 화면은 전체 메뉴 안입니다(로그인 영역과 같은 방식). */
.hd-shop, .sm-shop { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 15px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; transition: background 0.3s var(--ease), color 0.3s; }
.hd-shop:hover, .sm-shop:hover { background: #fff; color: var(--ink); }
.hd.is-solid .hd-shop:hover, .hd.is-mega .hd-shop:hover { background: var(--ink); color: #fff; }
.sm-shop { display: none; }
.lang { display: flex; gap: 12px; font-family: var(--en); font-size: 16px; font-weight: 800; letter-spacing: 0.06em; }
.lang a { opacity: 0.45; }
.lang a[aria-current='true'] { opacity: 1; }
.menu-btn { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-content: center; gap: 5px; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease), opacity 0.3s; }
.menu-btn span:nth-child(2) { width: 12px; margin-left: auto; }
.menu-btn:hover span:nth-child(2) { width: 18px; }
.menu-btn[aria-expanded='true'] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.hd.is-open { background: transparent; color: #fff; box-shadow: none; transform: none; }

/* ---------- 전체 메뉴 ---------- */
.sitemap { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff; overflow-y: auto; animation: sitemap-in 0.6s var(--ease-io); }
@keyframes sitemap-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
.sitemap-in { position: relative; min-height: 100%; display: flex; flex-direction: column; padding: calc(var(--head-h) + 48px) var(--gut) 40px; max-width: 1760px; margin: 0 auto; }
.sitemap-mark { position: absolute; right: var(--gut); bottom: 20px; font-family: var(--en); font-size: clamp(120px, 22vw, 380px); font-weight: 900; line-height: 0.8; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08); pointer-events: none; }
.sitemap-nav { display: grid; grid-template-columns: repeat(6, 1fr); gap: 40px 24px; }
.sitemap-nav details { border-top: 1px solid var(--line-dark); padding-top: 22px; }
.sitemap-nav summary { list-style: none; font-size: clamp(22px, 1.8vw, 28px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 18px; cursor: default; }
.sitemap-nav summary::-webkit-details-marker { display: none; }
.sitemap-nav .gnb-sub { min-height: 0; position: static; transform: none; opacity: 1; visibility: visible; align-items: flex-start; padding: 0; }
.sitemap-nav .gnb-sub a { color: rgba(255, 255, 255, 0.6); font-size: 16px; }
.sitemap-nav .gnb-sub a:hover { color: var(--accent); }
.sitemap-foot { position: relative; margin-top: auto; padding-top: 64px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; color: rgba(255, 255, 255, 0.6); }
.is-motion .sitemap-nav details { opacity: 0; transform: translateY(30px); animation: rise 0.8s var(--ease) forwards; animation-delay: calc(0.25s + var(--i, 0) * 0.06s); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- 1. 첫 화면 ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--ink); color: #fff; }
.hero-media, .hero-slide { position: absolute; inset: 0; }
.hero-slide { visibility: hidden; overflow: hidden; }
.hero-slide.is-on { visibility: visible; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
/* 새 사진은 오른쪽에서 커튼처럼 열리고, 안의 사진은 크게 시작해 제자리로 줄어듭니다.
   빠르게 줄어드는 등장(1.3 → 1.08, 처음 20%)과 천천히 줄어드는 흐름(1.08 → 1)을 한 애니메이션으로 이어,
   중간에 효과를 바꿔 끼우며 배율이 뚝 끊기는 일이 없게 합니다. 길이 = 등장 1.8s + 슬라이드 머무는 시간 */
.hero-slide.is-on img, .hero-slide.is-on .hero-video { animation: hero-zoom calc(var(--dur, 7s) + 1.8s) linear both; }
/* 유튜브 영상은 재생이 시작된 뒤에야 사진 위로 드러나고, 16:9 영상을 슬라이드 크기에 맞춰 가득 채웁니다.
   클릭을 막아 방문자가 소리를 켜거나 유튜브로 넘어가지 않게 합니다 */
.hero-slide { container-type: size; }
.hero-video { position: absolute; inset: 0; overflow: hidden; opacity: 0; pointer-events: none; transition: opacity 1s; }
.hero-video.is-playing { opacity: 1; }
.hero-video iframe { position: absolute; left: 50%; top: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); border: 0; transform: translate(-50%, -50%) scale(1.2); }
/* 영상 슬라이드의 진행 막대는 시간 대신 영상 재생 위치(--vp)를 따라갑니다 */
/* 영상 슬라이드의 진행 막대: 재생이 시작되기 전에는 대기 시간(--dur)만큼 차오르고,
   재생이 시작되면(is-video-on) 영상 재생 위치(--vp)를 따라갑니다 */
.hero-dots [data-video-dot].is-video-on[aria-current='true'] i::after { animation: none; transform: scaleX(var(--vp, 0)); }
.hero.is-paused .hero-slide img, .hero.is-paused .hero-video { animation-play-state: paused; }
.hero-slide.is-enter { z-index: 2; animation: curtain 1.4s var(--ease-io) both; }
@keyframes curtain { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
@keyframes hero-zoom {
  0% { transform: scale(1.3); animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
  20% { transform: scale(1.08); animation-timing-function: linear; }
  100% { transform: scale(1); }
}
.hero-shade { position: absolute; inset: 0; z-index: 3; background: linear-gradient(180deg, rgba(8, 11, 15, 0.52), transparent 26%), linear-gradient(90deg, rgba(8, 11, 15, 0.72) 0%, rgba(8, 11, 15, 0.25) 60%, rgba(8, 11, 15, 0.1)), linear-gradient(0deg, rgba(8, 11, 15, 0.7), transparent 45%); }

.hero-body { position: relative; z-index: 4; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(56px, 9vh, 110px); }
.hero-copies { display: grid; }
.hero-copy { grid-area: 1 / 1; visibility: hidden; }
.hero-copy.is-on, .hero-copy.is-out { visibility: visible; }
.hero-tag { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; font-family: var(--en); font-size: 18px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.hero-tag::before { content: ''; width: 40px; height: 1px; background: currentColor; }
.hero-word { font-family: var(--en); font-size: clamp(72px, 12.5vw, 232px); font-weight: 900; line-height: 0.84; letter-spacing: -0.01em; text-transform: uppercase; }
.hero-word .ln { padding-bottom: 0.04em; margin-bottom: 0; }
.hero-word .ln > span { white-space: nowrap; }
.hero-word .ln:nth-child(2) { padding-left: clamp(0px, 8vw, 180px); }
.hero-word em { font-style: normal; color: var(--accent); }
.hero-word .ch { display: inline-block; font-style: normal; }
.hero-lead { margin-top: clamp(24px, 3vw, 40px); font-size: clamp(17px, 1.5vw, 24px); font-weight: 500; line-height: 1.6; letter-spacing: -0.02em; }
.hero-lead .ll { display: block; overflow: hidden; }
.hero-lead .ll > span { display: block; }

/* 글자가 아래에서 하나씩 올라오고, 나갈 때는 위로 빠집니다 */
.is-motion .hero-copy .ch, .is-motion .hero-copy .ll > span, .is-motion .hero-tag { transform: translateY(110%); opacity: 0; }
.is-motion .hero-copy.is-on .ch { transform: none; opacity: 1; transition: transform 1s var(--ease), opacity 0.6s; transition-delay: calc(var(--i) * 32ms + var(--row, 0) * 120ms); }
.is-motion .hero-copy.is-on .ll > span { transform: none; opacity: 1; transition: transform 1s var(--ease), opacity 0.6s; transition-delay: calc(0.45s + var(--i) * 90ms); }
.is-motion .hero-copy.is-on .hero-tag { transform: none; opacity: 1; transition: transform 0.9s var(--ease), opacity 0.6s; }
.is-motion .hero-copy.is-out .ch, .is-motion .hero-copy.is-out .ll > span, .is-motion .hero-copy.is-out .hero-tag { transform: translateY(-110%); opacity: 0; transition: transform 0.6s var(--ease-io), opacity 0.5s; transition-delay: calc(var(--i, 0) * 12ms); }

.hero-ctrl { position: absolute; right: var(--gut); bottom: clamp(56px, 9vh, 110px); display: flex; align-items: center; gap: 24px; }
.hero-count { font-family: var(--en); font-size: 20px; font-weight: 800; letter-spacing: 0.08em; }
.hero-count b { font-size: 34px; color: #fff; }
.hero-count span { opacity: 0.5; margin-left: 6px; }
/* 슬라이드를 몇 장 쓰든 한 줄에 들어갑니다 — 장수가 늘면 막대가 줄어듭니다.
   폭 상한이 없으면 .hero-ctrl 이 왼쪽으로 자라 큰 글씨를 덮습니다. */
.hero-dots { display: flex; gap: 8px; max-width: min(42vw, 520px); }
.hero-dots button { display: block; flex: 0 1 56px; min-width: 10px; padding: 14px 0; }
.hero-dots i { position: relative; display: block; height: 2px; background: rgba(255, 255, 255, 0.28); overflow: hidden; }
.hero-dots i::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.hero-dots [aria-current='true'] i::after { animation: fill var(--dur, 7s) linear forwards; }
.hero.is-paused .hero-dots [aria-current='true'] i::after { animation: none; transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }
.hero-pause { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); display: grid; place-items: center; }
.hero-pause span { width: 10px; height: 12px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.hero.is-paused .hero-pause span { width: 0; height: 0; border: 0; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }

.hero-scroll { position: absolute; z-index: 4; left: 50%; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; transform: translateX(-50%); font-family: var(--en); font-size: 13px; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; }
.hero-scroll i { position: relative; width: 1px; height: 64px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.hero-scroll i::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: #fff; animation: drop 2.2s var(--ease-io) infinite; }
@keyframes drop { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* ---------- 2. 회사 한 줄 · 숫자 ---------- */
.intro { padding: var(--sec) 0; }
.intro-scrub { max-width: 30em; font-size: clamp(24px, 3vw, 48px); font-weight: 700; line-height: 1.45; letter-spacing: -0.04em; }
.intro-scrub .w { transition: color 0.3s; }
.intro-stage { margin-top: clamp(64px, 8vw, 120px); }
/* 스크롤에 따라 --p 가 0 → 1 로 바뀌며, 좁게 잘린 사진이 화면 너비로 펼쳐집니다 */
.intro-media { --p: 1; position: relative; height: clamp(420px, 88vh, 860px); overflow: hidden; clip-path: inset(0 calc((1 - var(--p)) * var(--gut-x, 18%)) round calc((1 - var(--p)) * 28px)); }
.intro-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.2 - var(--p) * 0.2)); }
.intro-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 11, 15, 0.7), transparent 60%); }
.intro-cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; padding: clamp(28px, 4vw, 64px) calc(var(--gut) + (1 - var(--p)) * 18%); color: #fff; }
.intro-since { font-family: var(--en); font-size: clamp(56px, 9vw, 160px); font-weight: 900; line-height: 0.85; text-transform: uppercase; }
.intro-motto { font-size: clamp(16px, 1.5vw, 22px); font-weight: 600; line-height: 1.5; text-align: right; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 8vw, 120px); border-top: 1px solid var(--ink); }
.stats li { padding: 32px 24px 0 0; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-n { font-family: var(--en); font-size: clamp(56px, 6vw, 104px); font-weight: 800; line-height: 1; letter-spacing: -0.01em; }
.stat-n sup { margin-left: 4px; font-family: var(--kr); font-size: 0.24em; font-weight: 700; vertical-align: 1.8em; color: var(--accent-ink); }
.stat-t { margin-top: 12px; font-size: 16px; color: var(--sub); }

/* ---------- 3. 사업분야 ---------- */
.biz { padding: 0 0 var(--sec); }
.biz-panels { display: flex; gap: 12px; height: clamp(520px, 70vh, 720px); }
.biz-panel { position: relative; flex: 1; min-width: 0; overflow: hidden; border-radius: 20px; color: #fff; background: var(--ink); transition: flex 0.9s var(--ease); }
.biz-panel.is-on { flex: 3.4; }
.biz-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transform: scale(1.12); transition: opacity 0.8s, transform 1.4s var(--ease); }
.biz-panel.is-on img { opacity: 0.85; transform: scale(1); }
.biz-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 11, 15, 0.85), rgba(8, 11, 15, 0.1) 60%); pointer-events: none; }
.biz-hit { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; padding: 32px; text-align: left; }
.biz-no { font-family: var(--en); font-size: 20px; font-weight: 800; color: var(--accent); }
.biz-en { margin-top: auto; font-family: var(--en); font-size: 18px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }
.biz-t { margin-top: 6px; font-size: clamp(24px, 2.2vw, 36px); font-weight: 800; letter-spacing: -0.04em; white-space: nowrap; }
.biz-panel.is-on .biz-hit { bottom: 150px; }
.biz-body { position: absolute; z-index: 3; left: 32px; right: 32px; bottom: 32px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; opacity: 0; transform: translateY(20px); transition: opacity 0.4s, transform 0.6s var(--ease); pointer-events: none; }
.biz-body p { max-width: 30em; font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, 0.82); }
.biz-body .more { color: #fff; }
.biz-panel.is-on .biz-body { opacity: 1; transform: none; transition-delay: 0.35s; pointer-events: auto; }

/* ---------- 4. 제품소개 ---------- */
.prod { position: relative; background: var(--mist); }
.prod-stick { overflow: hidden; }
.prod-track { display: flex; gap: clamp(20px, 2vw, 32px); padding: var(--sec) var(--gut); will-change: transform; }
.prod-intro { flex: none; width: clamp(280px, 30vw, 520px); display: flex; flex-direction: column; padding-right: clamp(0px, 3vw, 60px); }
.prod-h { font-family: var(--en); font-size: clamp(72px, 9vw, 160px); font-weight: 900; line-height: 0.84; text-transform: uppercase; }
.prod-h span { display: block; }
.prod-h span + span { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.prod-lead { margin-top: 28px; font-size: 17px; line-height: 1.8; color: var(--sub); }
.prod-progress { margin-top: auto; height: 2px; background: var(--line); }
.prod-progress i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.card { flex: none; width: clamp(280px, 26vw, 420px); }
.card a { display: block; }
.card-fig { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; background: var(--ink); }
.card-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity 0.5s; }
.card a:hover .card-fig img { transform: scale(1.07); opacity: 0.85; }
.card-no { margin-top: 24px; font-family: var(--en); font-size: 16px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.card-t { margin-top: 6px; font-size: clamp(22px, 1.7vw, 28px); font-weight: 800; letter-spacing: -0.04em; }
.card-t::after { content: ''; display: inline-block; width: 10px; height: 10px; margin-left: 12px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg) translate(-4px, 2px); opacity: 0; transition: opacity 0.3s, transform 0.5s var(--ease); }
.card a:hover .card-t::after { opacity: 1; transform: rotate(45deg) translate(0, -2px); }
.card-d { margin-top: 8px; font-size: 15.5px; color: var(--sub); }

/* ---------- 5. 서비스 ---------- */
.svc { position: relative; overflow: hidden; padding: var(--sec) 0; background: var(--ink); color: #fff; }
.svc-bg { position: absolute; inset: 0; }
.svc-bg img { width: 100%; height: 120%; margin-top: -10%; object-fit: cover; opacity: 0.35; }
.svc-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 20%, rgba(11, 15, 20, 0.6)); }
.svc-grid { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: var(--gut); align-items: start; }
.svc-head { position: sticky; top: calc(var(--head-h) + 40px); }
.svc .sec-title .ln + .ln > span { color: rgba(255, 255, 255, 0.5); }
.svc .sec-lead { margin-top: 28px; color: rgba(255, 255, 255, 0.7); }
.svc-list { border-top: 1px solid var(--line-dark); }
.svc-list li { border-bottom: 1px solid var(--line-dark); }
.svc-list button { display: flex; align-items: center; gap: clamp(16px, 3vw, 48px); width: 100%; padding: clamp(24px, 3vw, 40px) 0; text-align: left; }
.svc-no { font-family: var(--en); font-size: 22px; font-weight: 800; color: rgba(255, 255, 255, 0.4); transition: color 0.4s; }
.svc-t { flex: 1; font-size: clamp(24px, 3vw, 48px); font-weight: 800; letter-spacing: -0.045em; color: rgba(255, 255, 255, 0.45); transition: color 0.4s, transform 0.6s var(--ease); }
.svc-list button:hover .svc-t { color: #fff; }
.svc-list button i { position: relative; width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1px solid var(--line-dark); transition: background 0.4s, border-color 0.4s, transform 0.6s var(--ease); }
.svc-list button i::before, .svc-list button i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.svc-list button i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.5s var(--ease); }
.svc-list .is-on .svc-no { color: var(--accent); }
.svc-list .is-on .svc-t { color: #fff; transform: translateX(8px); }
.svc-list .is-on button i { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: rotate(180deg); }
.svc-list .is-on button i::after { transform: translate(-50%, -50%) rotate(0deg); }
.svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.svc-body > div { overflow: hidden; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; padding-left: calc(22px + clamp(16px, 3vw, 48px)); }
.svc-body p { max-width: 28em; font-size: 16.5px; line-height: 1.8; color: rgba(255, 255, 255, 0.72); }
.svc-list .is-on .svc-body { grid-template-rows: 1fr; }
.svc-list .is-on .svc-body > div { padding-bottom: clamp(24px, 3vw, 40px); }

/* ---------- 6. 연구개발 ---------- */
.rnd { padding: var(--sec) 0; }
.rnd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 140px); align-items: center; }
.rnd-media { position: relative; aspect-ratio: 4 / 5; }
.rnd-media > img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.rnd-sub { position: absolute; right: -8%; bottom: -8%; width: 46%; aspect-ratio: 1; overflow: hidden; border-radius: 16px; border: 8px solid #fff; }
.rnd-sub img { width: 100%; height: 100%; object-fit: cover; }
.rnd-body .sec-lead { margin-top: 28px; }
.rnd-list { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; margin-top: clamp(40px, 5vw, 72px); }
.rnd-list li { padding-top: 24px; border-top: 1px solid var(--line); }
.rnd-list svg { width: 40px; height: 40px; margin-bottom: 18px; fill: none; stroke: var(--accent-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rnd-list b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -0.03em; }
.rnd-list span { display: block; margin-top: 4px; font-size: 15px; color: var(--sub); }

/* ---------- 7. 강점 ---------- */
.merit { padding: 0 0 var(--sec); overflow: hidden; }
.marquee { padding: clamp(20px, 3vw, 40px) 0; margin-bottom: clamp(72px, 9vw, 140px); border-block: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; animation: flow 32s linear infinite; }
.marquee span { display: inline-flex; align-items: center; padding-right: 0.5em; font-family: var(--en); font-size: clamp(72px, 12vw, 220px); font-weight: 900; line-height: 0.9; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px var(--ink); white-space: nowrap; }
.marquee span::after { content: ''; width: 0.2em; height: 0.2em; margin-left: 0.5em; border-radius: 50%; background: var(--accent); }
.marquee span:nth-child(odd) { color: var(--ink); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes flow { to { transform: translateX(-50%); } }
.merit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.merit-grid li { position: relative; display: flex; flex-direction: column; min-height: 320px; padding: 32px; border-radius: 20px; background: var(--mist); overflow: hidden; transition: color 0.5s; }
.merit-grid li::before { content: ''; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform 0.7s var(--ease); }
.merit-grid li > * { position: relative; }
.merit-grid li:hover { color: #fff; }
.merit-grid li:hover::before { transform: none; }
.merit-no { font-family: var(--en); font-size: 60px; font-weight: 900; line-height: 1; color: var(--accent); }
.merit-grid b { margin-top: auto; font-size: 22px; font-weight: 800; letter-spacing: -0.04em; }
.merit-grid p { margin-top: 10px; font-size: 15.5px; line-height: 1.75; color: var(--sub); transition: color 0.5s; }
.merit-grid li:hover p { color: rgba(255, 255, 255, 0.7); }

/* ---------- 8. 홍보센터 ---------- */
.news { padding: 0 0 var(--sec); }
.news-grid { display: grid; grid-template-columns: 4fr 8fr; gap: var(--gut); }
.news-tabs { display: inline-flex; margin-top: 40px; padding: 5px; border-radius: 999px; background: var(--mist); }
.news-tabs button { padding: 12px 24px; border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--sub); transition: background 0.3s, color 0.3s; }
.news-tabs [aria-selected='true'] { background: var(--ink); color: #fff; }
.news-panels { display: flex; flex-direction: column; align-items: flex-end; gap: 32px; }
.news-list { width: 100%; border-top: 1px solid var(--ink); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { position: relative; display: flex; align-items: center; gap: 24px; padding: 28px 8px; transition: padding 0.5s var(--ease); }
.news-list a::before { content: ''; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transform: translateY(-50%) scale(0); transition: transform 0.4s var(--ease); }
.news-list a:hover { padding-left: 28px; }
.news-list a:hover::before { transform: translateY(-50%) scale(1); }
.news-cat { flex: none; min-width: 52px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; text-align: center; color: var(--sub); }
.news-list b { flex: 1; font-size: clamp(16px, 1.3vw, 20px); font-weight: 700; letter-spacing: -0.03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-list time { flex: none; font-family: var(--en); font-size: 17px; font-weight: 600; letter-spacing: 0.04em; color: var(--dim); }
.is-motion .news-list:not([hidden]) li { animation: rise-in 0.7s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } }

/* ---------- 9. 채용 · 카탈로그 ---------- */
.duo { padding: 0 0 var(--sec); }
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo-card { position: relative; display: block; height: clamp(360px, 36vw, 520px); overflow: hidden; border-radius: 20px; background: var(--ink); color: #fff; isolation: isolate; }
.duo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: transform 1.2s var(--ease), opacity 0.6s; }
.duo-card:hover img { transform: scale(1.06); opacity: 0.45; }
.duo-accent::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(135deg, var(--accent-ink), transparent 70%); mix-blend-mode: multiply; }
.duo-body { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; padding: clamp(28px, 3.5vw, 52px); }
.duo-en { font-family: var(--en); font-size: clamp(48px, 5vw, 88px); font-weight: 900; line-height: 0.9; text-transform: uppercase; }
.duo-body b { margin-top: 14px; font-size: clamp(17px, 1.4vw, 21px); font-weight: 600; }
.duo-go { margin-top: auto; display: inline-flex; align-items: center; gap: 14px; font-weight: 700; }
.duo-go i { position: relative; width: 52px; height: 52px; border-radius: 50%; background: #fff; transition: transform 0.5s var(--ease), background 0.3s; }
.duo-go i::before { content: ''; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: translate(-65%, -50%) rotate(45deg); }
.duo-card:hover .duo-go i { background: var(--accent); transform: translateX(8px); }

/* ---------- 10. 문의 ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(120px, 16vw, 240px) 0; background: var(--ink); color: #fff; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 130%; margin-top: -15%; object-fit: cover; opacity: 0.55; }
.cta-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 15, 20, 0.85), rgba(11, 15, 20, 0.2)); }
.cta-in { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px; }
.cta-h { font-family: var(--en); font-size: clamp(72px, 11vw, 200px); font-weight: 900; line-height: 0.86; text-transform: uppercase; }
.cta-h em { font-style: normal; color: var(--accent); }
.cta-h .ln { padding-bottom: 0.04em; }
.cta-side { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.cta-side p { font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, 0.8); }
.cta-tel { font-family: var(--en); font-size: 34px; font-weight: 800; letter-spacing: 0.04em; }

/* ---------- 푸터 ---------- */
.ft { position: relative; padding: 72px 0 48px; background: #070a0d; color: rgba(255, 255, 255, 0.6); font-size: 14.5px; }
.ft-top { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line-dark); }
.logo-light { color: #fff; }
.ft-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-right: auto; }
.ft-links a[aria-current='page'] { color: #fff; font-weight: 700; }
.ft-family { min-width: 200px; height: 48px; padding: 0 16px; border: 1px solid var(--line-dark); border-radius: 999px; background: transparent; color: #fff; font: inherit; }
.ft-family option { color: var(--ink); }
.ft-info { line-height: 2; }
.ft-info span { margin-right: 20px; }
.ft-copy { margin-top: 24px; font-family: var(--en); font-size: 15px; font-weight: 600; letter-spacing: 0.06em; }
/* ---------- 퀵메뉴 · 위로가기: 화면 오른쪽 가운데에 붙습니다 ---------- */
.quick { position: fixed; right: 20px; top: 50%; z-index: 80; display: flex; flex-direction: column; align-items: center; gap: 10px; transform: translate(24px, -50%); opacity: 0; visibility: hidden; transition: opacity 0.4s, transform 0.6s var(--ease), visibility 0.4s; }
.quick.is-on { transform: translate(0, -50%); opacity: 1; visibility: visible; }
.quick-list { display: flex; flex-direction: column; padding: 6px; border-radius: 999px; background: #fff; box-shadow: 0 16px 40px -16px rgba(11, 15, 20, 0.35), 0 0 0 1px rgba(11, 15, 20, 0.06); }
.quick-list a { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--ink); transition: background 0.3s, color 0.3s; }
.quick-list svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.quick-list a:hover, .quick-list a:focus-visible { background: var(--ink); color: #fff; }
/* 이름표는 마우스를 올리면 왼쪽으로 나옵니다 */
.quick-list span { position: absolute; right: calc(100% + 12px); top: 50%; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; transform: translate(8px, -50%); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.4s var(--ease); }
.quick-list a:hover span, .quick-list a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
.to-top { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--ink); box-shadow: 0 12px 30px -12px rgba(11, 15, 20, 0.45); transition: transform 0.4s var(--ease), background 0.3s; }
.to-top:hover { transform: translateY(-4px); background: var(--ink); color: #fff; }
.to-top i { width: 9px; height: 9px; margin-top: 4px; border-top: 2px solid currentColor; border-left: 2px solid currentColor; transform: rotate(45deg); }
.to-top span { font-family: var(--en); font-size: 13px; font-weight: 800; letter-spacing: 0.1em; }

/* ---------- 등장 연출 ---------- */
.is-motion [data-reveal='rise'] { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.is-motion [data-reveal='rise'].is-in { opacity: 1; transform: none; }
.is-motion [data-reveal='lines'] .ln > span { transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-motion [data-reveal='lines'] .ln + .ln > span { transition-delay: 0.12s; }
.is-motion [data-reveal='lines'].is-in .ln > span { transform: none; }
.is-motion [data-reveal='mask'] { clip-path: inset(100% 0 0 0 round 20px); transition: clip-path 1.3s var(--ease-io); transition-delay: var(--d, 0ms); }
.is-motion [data-reveal='mask'].is-in { clip-path: inset(0 0 0 0 round 20px); }
/* rnd-media 는 겹친 작은 사진이 밖으로 나가야 하므로 가림막을 풀어 둡니다 */
.is-motion .rnd-media[data-reveal='mask'].is-in { clip-path: none; }

/* =========================================================
   서브페이지 공통
   ========================================================= */
/* 서브 상단을 검은 막으로 덮으므로 헤더 글자는 .hd 기본값(흰색) 그대로 둡니다.
   스크롤해서 .hd.is-solid 가 붙으면 흰 바탕 + 어두운 글자로 알아서 바뀝니다 */
.page-sub .gnb > ul > li.is-current > a::after { transform: translateX(-50%) scale(1); }

.sv { position: relative; overflow: hidden; height: clamp(440px, 64vh, 660px); padding-top: var(--head-h); background: var(--ink); }
.sv-media { position: absolute; inset: 0; }
.sv-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; }
.is-motion .sv-media img { animation: sv-zoom 2.4s var(--ease) both; }
@keyframes sv-zoom { from { transform: scale(1.18); } }
/* 사진을 그대로 보여 주고 검은 막만 덮습니다. 흰 그라데이션은 사진을 날려 버립니다 */
.sv-media::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); }
/* 제목은 가운데, 브레드크럼은 오른쪽 아래입니다.
   브레드크럼은 position:absolute 라 가운데 정렬 계산에서 빠집니다 — 흐름에 남겨 두면
   제목이 브레드크럼 높이만큼 위로 밀려 가운데가 아니게 됩니다 */
.sv-in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding-bottom: clamp(40px, 6vw, 80px); }
.sv-en { position: absolute; right: var(--gut); bottom: -0.12em; font-family: var(--en); font-size: clamp(96px, 17vw, 300px); font-weight: 900; line-height: 0.8; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(11, 15, 20, 0.18); pointer-events: none; }
.is-motion .sv-en { animation: sv-en 1.6s var(--ease) 0.2s both; }
@keyframes sv-en { from { opacity: 0; transform: translateX(8%); } }
.sv-title { font-size: clamp(44px, 6vw, 96px); font-weight: 800; line-height: 1.1; letter-spacing: -0.05em; color: #fff; }
.sv-desc { margin-top: clamp(14px, 1.6vw, 22px); font-size: clamp(15px, 1.2vw, 18px); font-weight: 500; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.86); }
.crumb { position: absolute; left: var(--gut); bottom: clamp(24px, 3vw, 40px); margin-top: 0; }
.crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 15px; color: rgba(255, 255, 255, 0.82); }
.crumb li { display: flex; align-items: center; gap: 6px; }
.crumb li + li::before { content: ''; width: 6px; height: 6px; margin: 0 6px; border-top: 1.5px solid rgba(255, 255, 255, 0.6); border-right: 1.5px solid rgba(255, 255, 255, 0.6); transform: rotate(45deg); }
.crumb a { display: flex; align-items: center; transition: color 0.2s; }
.crumb a:hover, .crumb [aria-current='page'] { color: #fff; font-weight: 700; }
.crumb svg { width: 18px; height: 18px; fill: currentColor; }

/* 같은 메뉴의 하위 페이지 탭 — 헤더가 보일 때는 헤더 밑에, 숨으면 화면 맨 위에 붙습니다 */
.snb { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: top 0.5s var(--ease); }
.hd:not(.is-hidden) ~ main .snb { top: var(--head-h); }
/* 가로로만 넘기게 합니다. 세로까지 스크롤 상자가 되면 탭 위에서 휠을 굴려도 페이지가 내려가지 않습니다 */
.snb ul { display: flex; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.snb ul::-webkit-scrollbar { display: none; }
.snb a { position: relative; display: flex; align-items: center; height: 68px; padding: 0 clamp(16px, 2vw, 32px); font-size: 16px; font-weight: 600; color: var(--sub); white-space: nowrap; transition: color 0.2s; }
.snb li:first-child a { padding-left: 0; }
.snb a::after { content: ''; position: absolute; left: clamp(16px, 2vw, 32px); right: clamp(16px, 2vw, 32px); bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.5s var(--ease); }
.snb li:first-child a::after { left: 0; }
.snb a:hover { color: var(--ink); }
.snb a[aria-current='page'] { color: var(--ink); font-weight: 800; }
.snb a[aria-current='page']::after, .snb a:hover::after { transform: scaleX(1); }

/* ---------- CEO 인사말 ---------- */
.greet-head { padding: var(--sec) 0 clamp(56px, 7vw, 104px); }
.greet-quote { font-size: clamp(34px, 5vw, 80px); font-weight: 800; line-height: 1.2; letter-spacing: -0.05em; }
.greet-quote .ln:nth-child(2) > span { color: var(--dim); font-weight: 300; }
.greet-quote .ln:nth-child(3) > span { transition-delay: 0.24s; }
.greet-quote em { font-style: normal; color: var(--accent-ink); }

.greet { padding-bottom: var(--sec); }
.greet-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 140px); align-items: start; }
.greet-photo { position: sticky; top: calc(var(--head-h) + 68px + 40px); }
.greet-photo-in { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px; background: var(--mist); }
.greet-photo-in img { width: 100%; height: 115%; margin-top: -7%; object-fit: cover; object-position: 55% 30%; }
.greet-lead { font-size: clamp(22px, 2.2vw, 34px); font-weight: 700; line-height: 1.5; letter-spacing: -0.04em; }
.greet-lead .w { transition: color 0.3s; }
.greet-text { margin-top: clamp(32px, 4vw, 56px); padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.greet-text p { max-width: 32em; font-size: clamp(16px, 1.15vw, 18px); line-height: 2; color: var(--sub); }
.greet-text p + p { margin-top: 1.4em; }
.greet-text strong { color: var(--ink); font-weight: 700; background: linear-gradient(transparent 62%, rgba(18, 194, 154, 0.25) 62%); }

.creed { position: relative; overflow: hidden; padding: var(--sec) 0; background: var(--ink); color: #fff; }
.creed-bg { position: absolute; inset: 0; }
.creed-bg img { width: 100%; height: 125%; margin-top: -12%; object-fit: cover; opacity: 0.16; }
.creed .wrap { position: relative; }
.creed .sec-title .ln + .ln > span { color: rgba(255, 255, 255, 0.5); }
.creed-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: creed; }
.creed-list li { position: relative; display: flex; flex-direction: column; min-height: 360px; padding: clamp(28px, 3vw, 44px); border: 1px solid var(--line-dark); border-radius: 20px; background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(6px); transition: background 0.5s, border-color 0.5s, transform 0.6s var(--ease); counter-increment: creed; }
.creed-list li::before { content: '0' counter(creed); font-family: var(--en); font-size: 20px; font-weight: 800; color: var(--accent); }
.creed-list li:hover { background: rgba(18, 194, 154, 0.12); border-color: var(--accent); transform: translateY(-8px); }
.creed-en { margin-top: auto; font-family: var(--en); font-size: clamp(40px, 4vw, 68px); font-weight: 900; line-height: 0.9; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.55); }
.creed-list b { margin-top: 18px; font-size: 24px; font-weight: 800; letter-spacing: -0.04em; }
.creed-list p { margin-top: 10px; font-size: 15.5px; line-height: 1.8; color: rgba(255, 255, 255, 0.7); }

/* ---------- 비전 · 핵심가치 ---------- */
.vis-head { position: relative; overflow: hidden; padding: var(--sec) 0; }
.vis-drift { font-family: var(--en); font-size: clamp(96px, 16vw, 280px); font-weight: 900; line-height: 0.82; text-transform: uppercase; white-space: nowrap; }
.vis-drift p { will-change: transform; }
.vis-drift p:first-child { padding-left: 4vw; }
.vis-drift p:last-child { padding-left: 22vw; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.vis-drift span::after { content: '.'; color: var(--accent); -webkit-text-stroke: 0; }
.vis-state { display: grid; grid-template-columns: 7fr 5fr; gap: 32px var(--gut); align-items: end; margin-top: clamp(56px, 7vw, 104px); }
.vis-state .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.vis-title { font-size: clamp(30px, 3.8vw, 60px); font-weight: 800; line-height: 1.2; letter-spacing: -0.05em; }
.vis-title .ln + .ln > span { color: var(--accent-ink); }

.vis-goal { position: relative; overflow: hidden; padding: var(--sec) 0; background: var(--ink); color: #fff; }
.vis-goal-bg { position: absolute; inset: 0; }
.vis-goal-bg img { width: 100%; height: 125%; margin-top: -12%; object-fit: cover; opacity: 0.4; }
.vis-goal-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 15, 20, 0.92), rgba(11, 15, 20, 0.5)); }
.vis-goal .wrap { position: relative; }
.vis-goal .sec-title .ln + .ln > span { color: rgba(255, 255, 255, 0.5); }
.goal-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.goal-list li { display: flex; flex-direction: column; padding: 36px 32px 0 0; }
.goal-list li + li { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.goal-n { font-family: var(--en); font-size: clamp(72px, 8vw, 140px); font-weight: 900; line-height: 0.9; }
.goal-n sup { margin-left: 6px; font-family: var(--kr); font-size: 0.2em; font-weight: 700; vertical-align: 2.6em; color: var(--accent); }
.goal-list b { margin-top: 20px; font-size: 20px; font-weight: 800; }
.goal-list li > span { margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, 0.65); }

.values { padding: var(--sec) 0 0; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-grid li { position: relative; display: flex; flex-direction: column; min-height: 400px; padding: 32px; overflow: hidden; border-radius: 20px; background: var(--mist); isolation: isolate; transition: color 0.5s; }
.value-grid li::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--accent); clip-path: circle(0 at 100% 0); transition: clip-path 0.8s var(--ease); }
.value-grid li:hover::before { clip-path: circle(150% at 100% 0); }
.value-mark { position: absolute; right: -0.06em; top: -0.18em; font-family: var(--en); font-size: 260px; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(11, 15, 20, 0.12); transition: transform 0.8s var(--ease), -webkit-text-stroke-color 0.5s; }
.value-grid li:hover .value-mark { transform: translate(-8px, 8px) scale(1.05); -webkit-text-stroke-color: rgba(11, 15, 20, 0.3); }
.value-en { margin-top: auto; font-family: var(--en); font-size: 17px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); transition: color 0.5s; }
.value-grid li:hover .value-en { color: var(--ink); }
.value-grid b { margin-top: 6px; font-size: 30px; font-weight: 800; letter-spacing: -0.04em; }
.value-grid p { margin-top: 12px; font-size: 15.5px; line-height: 1.75; color: var(--sub); transition: color 0.5s; }
.value-grid li:hover p { color: var(--ink); }

.strategy { padding: var(--sec) 0; }
.strat-list { border-top: 1px solid var(--ink); }
.strat-list li { display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: center; padding: clamp(28px, 3vw, 44px) 0; border-bottom: 1px solid var(--line); transition: padding 0.5s var(--ease), background 0.5s; }
.strat-list li:hover { padding-left: 24px; padding-right: 24px; background: var(--mist); }
.strat-no { font-family: var(--en); font-size: 56px; font-weight: 900; line-height: 1; color: var(--accent); }
.strat-list b { font-size: clamp(22px, 2vw, 30px); font-weight: 800; letter-spacing: -0.04em; }
.strat-list p { margin-top: 6px; max-width: 36em; font-size: 16px; color: var(--sub); }
.strat-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.strat-tags em { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-style: normal; font-weight: 600; background: #fff; }

/* ---------- 연혁 ---------- */
.hist { padding: var(--sec) 0; }
.hist-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.hist-side { position: sticky; top: calc(var(--head-h) + 68px + 32px); }
.hist-now { font-family: var(--en); font-size: clamp(110px, 13vw, 230px); font-weight: 900; line-height: 0.82; letter-spacing: -0.01em; }
.hist-now.is-flip { animation: flip 0.7s var(--ease); }
@keyframes flip { from { opacity: 0; transform: translateY(30%); } }
.hist-figs { position: relative; margin-top: 32px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 20px; background: var(--ink); }
.hist-fig { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s; }
.hist-fig.is-on { opacity: 1; }
.hist-fig img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.6s var(--ease); }
.hist-fig.is-on img { transform: none; }
.hist-fig::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 11, 15, 0.8), transparent 60%); }
.hist-fig figcaption { position: absolute; z-index: 1; left: 24px; bottom: 20px; color: #fff; }
.hist-fig figcaption span { display: block; font-family: var(--en); font-size: 17px; font-weight: 800; letter-spacing: 0.1em; color: var(--accent); }
.hist-fig figcaption b { font-size: 20px; font-weight: 700; }
/* 첫 연도가 잡히기 전에도 첫 사진은 보이게 둡니다 */
.hist-figs:not(:has(.is-on)) .hist-fig:first-child { opacity: 1; }
.hist-list { position: relative; }
.hist-list::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 0; width: 1px; background: var(--line); }
.hist-era { position: relative; padding: 0 0 20px 40px; margin-top: 56px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.hist-era:first-child { margin-top: 0; }
.hist-era span { display: block; font-family: var(--en); font-size: 16px; font-weight: 800; letter-spacing: 0.1em; color: var(--accent-ink); }
.hist-era::before { content: ''; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--ink); }
.hist-year { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 28px 0 28px 40px; border-top: 1px solid var(--line); }
.hist-year::before { content: ''; position: absolute; left: 3px; top: 38px; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 1.5px solid var(--dim); transition: background 0.4s, border-color 0.4s, transform 0.4s var(--ease); }
.hist-year.is-on::before { background: var(--accent); border-color: var(--accent); transform: scale(1.5); }
.hist-year h3 { font-family: var(--en); font-size: 40px; font-weight: 800; line-height: 1; color: var(--dim); transition: color 0.4s; }
.hist-year.is-on h3 { color: var(--ink); }
.hist-year li { display: flex; gap: 16px; }
.hist-year li + li { margin-top: 10px; }
.hist-year time { flex: none; width: 28px; font-family: var(--en); font-size: 18px; font-weight: 800; color: var(--accent-ink); }
.hist-year p { font-size: 16.5px; line-height: 1.6; }

/* ---------- 조직도 ---------- */
.org-sec { padding: var(--sec) 0 clamp(72px, 8vw, 120px); }
.org { --lc: var(--line); --gap: 44px; display: flex; flex-direction: column; align-items: center; }
.org-node { position: relative; display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 12px 24px; border-radius: 14px; background: var(--mist); font-size: 17px; font-weight: 800; letter-spacing: -0.03em; text-align: center; }
.org-ceo { flex-direction: column; min-width: 220px; min-height: 96px; background: var(--ink); color: #fff; font-size: 22px; }
.org-ceo small { font-family: var(--en); font-size: 15px; font-weight: 800; letter-spacing: 0.14em; color: var(--accent); }
.org-top { position: relative; padding-bottom: var(--gap); }
.org-top::after { content: ''; position: absolute; left: 50%; bottom: 0; height: var(--gap); border-left: 1px solid var(--lc); }
/* 스태프 조직은 줄기 양옆에 붙습니다 */
.org-staff { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 120px; padding-bottom: var(--gap); }
.org-staff::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px solid var(--lc); }
.org-staff::after { content: ''; position: absolute; left: 25%; right: 25%; top: 32px; border-top: 1px dashed var(--lc); }
.org-side { z-index: 1; min-width: 200px; background: #fff; border: 1px solid var(--line); font-weight: 700; }
.org-divs { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); width: 100%; }
.org-divs > li { position: relative; display: flex; flex-direction: column; align-items: center; padding: var(--gap) 8px 0; }
.org-divs > li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; border-top: 1px solid var(--lc); }
.org-divs > li:first-child::before { left: 50%; }
.org-divs > li:last-child::before { right: 50%; }
.org-divs > li::after { content: ''; position: absolute; top: 0; left: 50%; height: var(--gap); border-left: 1px solid var(--lc); }
.org-divs .org-node { width: 100%; background: var(--accent); color: var(--ink); }
.org-divs > li:last-child .org-node { background: var(--ink); color: #fff; }
.org-teams { width: 100%; margin-top: 12px; }
.org-teams li { padding: 12px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--sub); text-align: center; transition: color 0.3s, background 0.3s; }
.org-teams li:hover { color: var(--ink); background: var(--mist); }

.dept { padding-bottom: var(--sec); }
.dept-title { margin-bottom: 24px; font-size: clamp(22px, 2vw, 30px); font-weight: 800; letter-spacing: -0.04em; }
.table-wrap { overflow-x: auto; }
.dept-table { width: 100%; min-width: 620px; border-collapse: collapse; border-top: 2px solid var(--ink); font-size: 16px; }
.dept-table th, .dept-table td { padding: 20px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.dept-table thead th { font-size: 14px; font-weight: 700; color: var(--dim); background: var(--mist); }
.dept-table tbody th { font-weight: 800; white-space: nowrap; }
.dept-table td { color: var(--sub); }
.dept-table td a { font-family: var(--en); font-size: 18px; font-weight: 700; letter-spacing: 0.03em; color: var(--ink); white-space: nowrap; }
.dept-table tbody tr { transition: background 0.3s; }
.dept-table tbody tr:hover { background: var(--mist); }

/* ---------- 윤리경영 ---------- */
.eth-head { padding: var(--sec) 0; }
.eth-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 32px var(--gut); align-items: end; }
.stake { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(56px, 7vw, 104px); }
.stake li { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border: 1px solid var(--line); border-radius: 20px; transition: border-color 0.4s, transform 0.6s var(--ease); }
.stake li:hover { border-color: var(--accent); transform: translateY(-6px); }
.stake svg { width: 48px; height: 48px; fill: none; stroke: var(--accent-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.stake-en { margin-top: 48px; font-family: var(--en); font-size: 16px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.stake b { margin-top: 4px; font-size: 24px; font-weight: 800; letter-spacing: -0.04em; }

.code { padding: 0 0 var(--sec); }
.code-grid { display: grid; grid-template-columns: 4fr 8fr; gap: var(--gut); align-items: start; }
.code-head { position: sticky; top: calc(var(--head-h) + 68px + 32px); }
.code-list { border-top: 1px solid var(--ink); }
.code-list details { border-bottom: 1px solid var(--line); }
.code-list summary { display: flex; align-items: center; gap: 24px; padding: 28px 0; list-style: none; cursor: pointer; }
.code-list summary::-webkit-details-marker { display: none; }
.code-no { flex: none; width: 64px; font-size: 15px; font-weight: 700; color: var(--accent-ink); }
.code-list b { flex: 1; font-size: clamp(19px, 1.6vw, 24px); font-weight: 800; letter-spacing: -0.03em; }
.code-list summary i { position: relative; width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line); transition: background 0.3s, border-color 0.3s, transform 0.5s var(--ease); }
.code-list summary i::before, .code-list summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.code-list summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s var(--ease); }
.code-list details[open] summary i { background: var(--ink); border-color: var(--ink); color: #fff; transform: rotate(180deg); }
.code-list details[open] summary i::after { transform: translate(-50%, -50%); }
.code-list details p { padding: 0 64px 28px 88px; font-size: 16.5px; line-height: 1.85; color: var(--sub); }
.is-motion .code-list details[open] p { animation: rise-in 0.5s var(--ease); }

.report { padding: var(--sec) 0; background: var(--ink); color: #fff; }
.report .sec-title .ln + .ln > span { color: rgba(255, 255, 255, 0.5); }
.report .sec-lead { color: rgba(255, 255, 255, 0.7); }
.report-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; overflow: hidden; }
/* 점을 잇는 점선은 **줄마다** 그립니다. 예전에는 상자에 한 번만 그려서, 항목이 6개라
   두 줄이 되면 둘째 줄(04·05·06)에 선이 없었습니다(2026-10-15 지적).
   마지막 칸의 선은 사이 간격(16px)만큼 넘치고, 위의 overflow 가 상자 끝에서 잘라 줍니다. */
.report-steps li { position: relative; }
.report-steps li::before { content: ''; position: absolute; left: 0; right: -16px; top: 27px; border-top: 1px dashed var(--line-dark); }
.report-steps span { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--ink); font-family: var(--en); font-size: 20px; font-weight: 900; }
.report-steps b { display: block; margin-top: 24px; font-size: 21px; font-weight: 800; }
.report-steps p { margin-top: 4px; font-size: 15px; color: rgba(255, 255, 255, 0.6); }
.report-box { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-top: clamp(56px, 6vw, 88px); padding: clamp(28px, 3vw, 44px); border: 1px solid var(--line-dark); border-radius: 20px; }
.report-box dl { display: flex; flex-wrap: wrap; gap: 16px 48px; }
.report-box dt { font-size: 14px; color: rgba(255, 255, 255, 0.5); }
.report-box dd { margin: 4px 0 0; font-size: 18px; font-weight: 700; }

/* ---------- 오시는 길 ---------- */
.loc { padding: var(--sec) 0; }
.loc-tabs { margin-top: 0; }
.loc-panel { display: grid; grid-template-columns: 8fr 4fr; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; }
.is-motion .loc-panel:not([hidden]) { animation: rise-in 0.6s var(--ease); }
/* 카카오맵이 이 칸 안에 그려집니다. 키를 아직 안 넣으셨으면 「카카오맵에서 보기」
   단추가 대신 들어옵니다 — 그때도 칸이 비어 보이지 않게 가운데로 모읍니다. */
.loc-map { display: flex; align-items: center; justify-content: center; min-height: 520px; background: var(--mist); }
.loc-map > * { flex: none; }
.loc-map-foot { margin-top: 16px; text-align: right; }
/* 카카오 키가 없을 때의 지도(카카오맵 페이지 iframe). 왼쪽 검색 패널(약 420px)을 잘라 냅니다 — 판매 템플릿 .biz-map__frame 과 같습니다(2026-11-25). */
.loc-map.has-frame { position: relative; overflow: hidden; display: block; }
.loc-map__frame { position: absolute; left: -420px; top: 0; width: calc(100% + 420px); max-width: none; height: 100%; border: 0; }
.loc-map-go { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 22px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; background: #fff; transition: border-color 0.3s, color 0.3s; }
.loc-map-go::after { content: '↗'; font-size: 13px; }
.loc-map-go:hover { border-color: var(--accent); color: var(--accent); }
.loc-info { padding: clamp(28px, 3vw, 44px); }
.loc-info h3 { font-size: 28px; font-weight: 800; letter-spacing: -0.04em; }
.loc-info dl { margin-top: 24px; border-top: 1px solid var(--ink); }
.loc-info dl div { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.loc-info dt { font-size: 14px; font-weight: 700; color: var(--dim); }
.loc-info dd { margin: 0; font-size: 16px; font-weight: 600; }
.loc-ways { margin-top: 28px; }
.loc-ways li { display: flex; gap: 14px; }
.loc-ways li + li { margin-top: 20px; }
.loc-ways svg { flex: none; width: 36px; height: 36px; padding: 6px; border-radius: 10px; background: var(--mist); fill: none; stroke: var(--accent-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.loc-ways b { font-size: 15px; font-weight: 800; }
.loc-ways p { margin-top: 2px; font-size: 14.5px; line-height: 1.6; color: var(--sub); }
.loc-note { margin-top: 16px; font-size: 14px; color: var(--dim); }

/* =========================================================
   사업분야 · 제품 · 연구개발 · 홍보센터 · 고객지원 · 약관
   ========================================================= */
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); color: var(--ink); transform: translateY(-2px); }
a.btn-line-dark, .btn-line-dark { border: 1px solid var(--ink); color: var(--ink); }
.btn-line-dark:hover { background: var(--ink); color: #fff; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 700; transition: background 0.3s, border-color 0.3s, color 0.3s; }
.pills a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.bz-related { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 48px; }
.bz-related > p { font-family: var(--en); font-size: 16px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--mist); font-size: 13px; font-weight: 700; color: var(--sub); white-space: nowrap; }
.badge-on { background: var(--accent); color: var(--ink); }
/* 거르기 버튼은 탭과 같은 알약 모양을 씁니다 */
.news-tabs [aria-pressed='true'] { background: var(--ink); color: #fff; }
.filter { margin-top: 0; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: 32px; z-index: 200; max-width: calc(100% - 40px); padding: 14px 24px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.4); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.5s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 사업분야 ---------- */
.bz-intro { padding: var(--sec) 0; }
.bz-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 120px); align-items: center; }
.bz-text .sec-lead { margin-top: 32px; }
.bz-fig { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px; background: var(--ink); }
.bz-fig > img { width: 100%; height: 115%; margin-top: -7%; object-fit: cover; }
.bz-stat { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; flex-direction: column; padding: 24px 28px; border-radius: 16px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); }
.bz-stat b { font-family: var(--en); font-size: clamp(48px, 5vw, 80px); font-weight: 900; line-height: 1; }
.bz-stat sup { margin-left: 4px; font-family: var(--kr); font-size: 0.3em; vertical-align: 1.6em; color: var(--accent-ink); }
.bz-stat > span { margin-top: 6px; font-size: 15px; color: var(--sub); }
.bz-scope { padding: 0 0 var(--sec); }
.bz-ref { padding: var(--sec) 0; }
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2vw, 32px); }
.ref-grid figure { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: var(--ink); }
.ref-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ref-grid li:hover img { transform: scale(1.06); }
.ref-meta { display: flex; gap: 10px; margin-top: 20px; font-size: 14px; color: var(--sub); }
.ref-meta span { font-family: var(--en); font-size: 16px; font-weight: 800; color: var(--accent-ink); }
.ref-grid b { display: block; margin-top: 6px; font-size: clamp(19px, 1.5vw, 23px); font-weight: 800; letter-spacing: -0.04em; }
.ref-d { margin-top: 8px; font-size: 15px; line-height: 1.7; color: var(--sub); }

/* ---------- 제품 ---------- */
.pd-hero { padding: var(--sec) 0 clamp(72px, 8vw, 120px); }
.pd-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 120px); align-items: center; }
.pd-fig { aspect-ratio: 5 / 4; overflow: hidden; border-radius: 20px; background: var(--ink); }
.pd-fig img { width: 100%; height: 112%; margin-top: -6%; object-fit: cover; }
.pd-name { font-size: clamp(32px, 3.6vw, 56px); font-weight: 800; line-height: 1.2; letter-spacing: -0.05em; }
.pd-sum { margin-top: 24px; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.85; color: var(--sub); }
.pd-keys { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--ink); }
.pd-keys li { display: flex; flex-direction: column; padding: 20px 12px 0 0; }
.pd-keys li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.pd-keys b { font-family: var(--en); font-size: clamp(34px, 3vw, 48px); font-weight: 900; line-height: 1; white-space: nowrap; }
.pd-keys sup { margin-left: 2px; font-family: var(--kr); font-size: 0.34em; vertical-align: 1.3em; color: var(--accent-ink); }
.pd-keys span { margin-top: 8px; font-size: 14px; color: var(--sub); }
.pd-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.pd-feat { padding: 0 0 clamp(72px, 8vw, 120px); }
.pd-feat-list { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.pd-spec { padding: clamp(72px, 8vw, 120px) 0; background: var(--mist); }
.pd-spec-grid { display: grid; grid-template-columns: 4fr 8fr; gap: var(--gut); align-items: start; }
.pd-note { max-width: 24em; font-size: 15px; line-height: 1.7; color: var(--sub); }
.spec-table { min-width: 0; background: #fff; }
.spec-table tbody th { width: 34%; background: var(--mist); }
/* ---------- 연구개발 ---------- */
.rc-centers { padding: var(--sec) 0 0; }
.center-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.center-card { height: clamp(420px, 38vw, 560px); }
.center-d { margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, 0.75); }
.rc-cert { padding: var(--sec) 0; }
.cert-stats { margin: 0 0 clamp(48px, 5vw, 72px); }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.cert-grid li { display: flex; flex-direction: column; }
.cert-doc { position: relative; aspect-ratio: 3 / 4; padding: 18% 16%; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(160deg, #fff, var(--mist)); box-shadow: 0 20px 40px -28px rgba(11, 15, 20, 0.4); transition: transform 0.6s var(--ease), box-shadow 0.6s; }
.cert-doc::before { content: ''; position: absolute; inset: 10px; border: 1px solid var(--line); border-radius: 6px; }
.cert-doc i { display: block; height: 6px; margin-top: 14px; border-radius: 3px; background: var(--line); }
.cert-doc i:nth-child(3) { width: 70%; }
.cert-doc i:nth-child(4) { width: 45%; }
.cert-seal { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 28px; border-radius: 50%; background: var(--accent); }
.cert-seal svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cert-grid li:hover .cert-doc { transform: translateY(-8px) rotate(-1.5deg); box-shadow: 0 30px 50px -26px rgba(11, 15, 20, 0.5); }
.cert-type { margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--accent-ink); }
.cert-grid b { margin-top: 4px; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.cert-grid p { margin-top: 2px; font-size: 14.5px; color: var(--sub); }
.board-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.board-top .dept-title { margin-bottom: 0; }
.achieve-table tbody th { white-space: normal; }
.t-year { font-family: var(--en); font-size: 18px; font-weight: 800; color: var(--ink) !important; }

/* ---------- 게시판 ---------- */
.board { padding: var(--sec) 0; }
.board-total { font-size: 15px; color: var(--sub); }
.board-total b { color: var(--ink); }
.board-search { display: flex; align-items: center; height: 52px; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; transition: border-color 0.3s; }
.board-search:focus-within { border-color: var(--ink); }
.board-search select { height: 100%; padding: 0 12px 0 20px; border: 0; background: transparent; font: inherit; font-size: 15px; }
.board-search input { width: 220px; height: 100%; padding: 0 12px; border: 0; background: transparent; font: inherit; font-size: 15px; }
.board-search input:focus { outline: none; }
.board-search button, .board-search > svg { display: grid; place-items: center; width: 52px; height: 100%; }
.board-search svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.board-search > svg { width: 52px; padding: 0 16px; }
.board-list { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); font-size: 16px; }
.board-list th, .board-list td { padding: 20px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.board-list thead th { font-size: 14px; font-weight: 700; color: var(--dim); }
.board-list .t-title { text-align: left; }
.board-list .t-title a { font-weight: 600; transition: color 0.2s; }
.board-list .t-title a:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; }
.board-list .t-num, .board-list .t-hit { width: 80px; font-family: var(--en); font-size: 17px; font-weight: 600; color: var(--dim); }
.board-list .t-cat { width: 100px; }
.board-list .t-date { width: 130px; font-family: var(--en); font-size: 17px; font-weight: 600; color: var(--dim); }
.board-list .t-file { width: 90px; }
.board-list tbody tr { transition: background 0.2s; }
.board-list tbody tr:hover, .board-list .is-pin { background: var(--mist); }
.board-list .is-pin .t-title a { font-weight: 800; }
.file-ext { display: inline-block; padding: 3px 8px; border-radius: 6px; background: var(--ink); color: #fff; font-family: var(--en); font-size: 14px; font-weight: 800; letter-spacing: 0.06em; }
.paging { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.paging a { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 50%; font-family: var(--en); font-size: 17px; font-weight: 700; transition: background 0.2s, color 0.2s; }
.paging a:hover { background: var(--mist); }
.paging a[aria-current='page'] { background: var(--ink); color: #fff; }
.paging-arrow { font-size: 22px !important; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px clamp(20px, 2vw, 32px); }
.gallery a, .vd-card { display: block; width: 100%; text-align: left; }
.gallery figure { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; background: var(--ink); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity 0.4s; }
.gallery li:hover img { transform: scale(1.06); opacity: 0.85; }
.gallery time { display: block; margin-top: 18px; font-family: var(--en); font-size: 16px; font-weight: 700; color: var(--accent-ink); }
.gallery b { display: block; margin-top: 6px; font-size: clamp(18px, 1.4vw, 21px); font-weight: 800; line-height: 1.45; letter-spacing: -0.03em; }
.view { border-top: 2px solid var(--ink); }
.view-head { padding: 36px 0 28px; border-bottom: 1px solid var(--line); }
.view-title { margin-top: 14px; font-size: clamp(24px, 2.4vw, 38px); font-weight: 800; line-height: 1.35; letter-spacing: -0.04em; }
.view-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 16px; font-size: 15px; color: var(--dim); }
.view-body { padding: 48px 0 64px; font-size: 17px; line-height: 1.95; color: #2b323c; }
.view-body > * + * { margin-top: 1.2em; }
.view-body h3 { margin-top: 2em; font-size: 20px; font-weight: 800; color: var(--ink); }
.view-body ul { padding-left: 1.2em; list-style: disc; }
.view-fig { overflow: hidden; border-radius: 16px; }
.view-files { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 20px 24px; border-radius: 14px; background: var(--mist); font-size: 15px; }
.view-files li { display: flex; gap: 10px; }
.view-files a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.view-files span { color: var(--dim); }
.view-nav { margin-top: 48px; border-top: 1px solid var(--ink); }
.view-nav li { display: flex; align-items: center; gap: 24px; padding: 20px 8px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.view-nav li > span { flex: none; width: 60px; font-weight: 700; color: var(--dim); }
.view-nav a { flex: 1; font-weight: 600; }
.view-nav a:hover { color: var(--accent-ink); }
.view-nav em { font-style: normal; color: var(--dim); }
.view-nav time { font-family: var(--en); font-size: 16px; font-weight: 600; color: var(--dim); }
.view-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 48px; }
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dl-grid li { display: flex; flex-direction: column; padding: 16px; border: 1px solid var(--line); border-radius: 20px; transition: border-color 0.4s, transform 0.6s var(--ease); }
.dl-grid li:hover { border-color: var(--ink); transform: translateY(-6px); }
.dl-cover { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 4 / 3; padding: 24px; overflow: hidden; border-radius: 12px; background: var(--ink); color: #fff; isolation: isolate; }
.dl-cover img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; transition: transform 1s var(--ease); }
.dl-grid li:hover .dl-cover img { transform: scale(1.06); }
.dl-brand { font-family: var(--en); font-size: 18px; font-weight: 900; letter-spacing: 0.08em; }
.dl-cover b { font-size: 24px; font-weight: 800; letter-spacing: -0.04em; }
.dl-info { padding: 20px 8px 8px; }
.dl-info p { font-size: 15.5px; font-weight: 600; }
.dl-info span { font-family: var(--en); font-size: 15px; font-weight: 600; color: var(--dim); }
.dl-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; margin-top: 12px; border-radius: 12px; background: var(--mist); font-weight: 700; transition: background 0.3s, color 0.3s; }
.dl-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dl-btn:hover { background: var(--accent); }
.vd-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); transform: translate(-50%, -50%); transition: transform 0.5s var(--ease), background 0.3s; }
.vd-play::after { content: ''; position: absolute; left: 54%; top: 50%; border-left: 18px solid var(--ink); border-top: 11px solid transparent; border-bottom: 11px solid transparent; transform: translate(-50%, -50%); }
.vd-card:hover .vd-play { background: var(--accent); transform: translate(-50%, -50%) scale(1.12); }
.vd-time { position: absolute; right: 14px; bottom: 14px; padding: 4px 10px; border-radius: 6px; background: rgba(11, 15, 20, 0.75); color: #fff; font-family: var(--en); font-size: 15px; font-weight: 700; }
.vd-dialog { width: min(1100px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 20px; background: var(--ink); color: #fff; overflow: visible; }
.vd-dialog::backdrop { background: rgba(8, 11, 15, 0.8); backdrop-filter: blur(4px); }
.vd-frame { display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px 20px 0 0; background: #000; }
.vd-frame iframe { width: 100%; height: 100%; border: 0; }
.vd-empty { max-width: 28em; padding: 24px; font-size: 16px; line-height: 1.7; text-align: center; color: rgba(255, 255, 255, 0.75); }
.vd-title { padding: 20px 24px; font-size: 18px; font-weight: 700; }
.vd-close { position: absolute; right: 0; top: -60px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5); }
.vd-close::before, .vd-close::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; background: #fff; transform: translate(-50%, -50%) rotate(45deg); }
.vd-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- 고객지원 ---------- */
.inq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: var(--gut); align-items: start; }
.inq-side { position: sticky; top: calc(var(--head-h) + 68px + 32px); }
.inq-side .sec-head { margin-bottom: 40px; }
.inq-contact { border-top: 1px solid var(--ink); }
.inq-contact div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.inq-contact dt { font-size: 14px; color: var(--dim); }
.inq-contact dd { margin: 4px 0 0; font-size: 18px; font-weight: 700; }
.form { display: flex; flex-direction: column; gap: 24px; padding: clamp(24px, 3vw, 48px); border: 1px solid var(--line); border-radius: 24px; }
.form-row { margin: 0; padding: 0; border: 0; }
.form-row legend, .field > span { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 700; }
.form em { font-style: normal; color: #e0452f; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: block; padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
.field input, .field textarea { width: 100%; padding: 15px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { resize: vertical; line-height: 1.7; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(18, 194, 154, 0.18); }
.form.is-checked :is(input, textarea):invalid { border-color: #e0452f; }
.field-file input { padding: 12px; background: var(--mist); }
.agree { padding: 20px 24px; border-radius: 14px; background: var(--mist); }
.agree summary { font-size: 15px; font-weight: 700; cursor: pointer; }
.agree details p { margin-top: 10px; font-size: 14.5px; line-height: 1.75; color: var(--sub); }
.agree details a { text-decoration: underline; }
.check { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 15.5px; font-weight: 600; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--accent-ink); }
.form-msg { font-size: 15px; font-weight: 700; }
.form-msg:empty { display: none; }
.form-msg.is-error { color: #e0452f; }
.form-msg.is-ok { color: var(--accent-ink); }
.form-submit { align-self: flex-start; min-width: 200px; }
.faq-search input { width: 260px; padding-left: 22px; }
.faq-list details p { padding-left: 88px; }
.faq-list .code-no { width: auto; min-width: 64px; padding: 4px 10px; border-radius: 999px; background: var(--mist); font-size: 13px; text-align: center; }
.faq-empty { padding: 48px 0; text-align: center; color: var(--sub); }
.faq-empty a { font-weight: 700; text-decoration: underline; }
.perks { margin-top: 0; grid-template-columns: repeat(3, 1fr); }
.perks p { margin-top: 8px; font-size: 15px; line-height: 1.7; color: var(--sub); }
.perks .stake-en { margin-top: 32px; }
.jobs { border-top: 1px solid var(--ink); }
.job { border-bottom: 1px solid var(--line); }
.job summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 26px 0; list-style: none; cursor: pointer; }
.job summary::-webkit-details-marker { display: none; }
.job-type { font-size: 14px; font-weight: 700; color: var(--dim); }
.job b { flex: 1; min-width: 12em; font-size: clamp(18px, 1.5vw, 22px); font-weight: 800; letter-spacing: -0.03em; }
.job-where, .job-due { font-size: 15px; color: var(--sub); }
.job-due { min-width: 8em; font-weight: 700; text-align: right; }
.job[data-closed] b, .job[data-closed] .job-due { color: var(--dim); }
.job summary i { position: relative; width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line); transition: transform 0.5s var(--ease), background 0.3s; }
.job summary i::before { content: ''; position: absolute; left: 50%; top: 45%; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.job[open] summary i { transform: rotate(180deg); background: var(--mist); }
.job dl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; padding: 0 0 20px; }
.job dt { font-size: 14px; font-weight: 700; color: var(--dim); }
.job dd { margin: 6px 0 0; font-size: 16px; line-height: 1.7; }
.job .btn { margin-bottom: 28px; }
.is-motion .job[open] dl { animation: rise-in 0.5s var(--ease); }

/* ---------- 약관 · 정책 ---------- */
.doc { display: grid; grid-template-columns: 4fr 8fr; gap: var(--gut); align-items: start; }
.doc-toc { position: sticky; top: calc(var(--head-h) + 68px + 32px); }
.doc-date { font-size: 15px; color: var(--dim); }
.doc-toc ol { margin-top: 28px; border-top: 1px solid var(--ink); counter-reset: toc; }
.doc-toc li { counter-increment: toc; border-bottom: 1px solid var(--line); }
.doc-toc a { display: flex; gap: 12px; padding: 14px 0; font-size: 15.5px; font-weight: 600; color: var(--sub); transition: color 0.2s, padding 0.4s var(--ease); }
.doc-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--en); font-weight: 800; color: var(--accent-ink); }
.doc-toc a:hover { color: var(--ink); padding-left: 8px; }
.doc-lead { padding: 24px 28px; border-radius: 14px; background: var(--mist); font-size: 16px; line-height: 1.8; color: var(--sub); }
.doc-art { padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--head-h) + 68px + 24px); }
.doc-art h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.doc-art p, .doc-art li { font-size: 16.5px; line-height: 1.9; color: #2b323c; }
.doc-art > * + * { margin-top: 12px; }
.doc-art ul { padding-left: 1.2em; list-style: disc; }

/* ---------- 반응형 ---------- */
@media (max-width: 1279px) {
  .gnb, .lang { display: none; }
  .hd-util { margin-left: auto; }
  .sitemap-nav { grid-template-columns: repeat(3, 1fr); }
  .merit-grid { grid-template-columns: repeat(2, 1fr); }
  .merit-grid li { min-height: 260px; }
}

@media (max-width: 1023px) {
  :root { --head-h: 72px; }
  .hero-scroll { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats li:nth-child(n+3) { margin-top: 32px; border-top: 1px solid var(--line); }

  .biz-panels { flex-direction: column; height: auto; }
  .biz-panel { flex: none; height: 96px; transition: height 0.8s var(--ease); }
  .biz-panel.is-on { flex: none; height: 440px; }
  .biz-hit { flex-direction: row; align-items: center; gap: 16px; padding: 0 24px; height: 96px; bottom: auto; }
  .biz-panel.is-on .biz-hit { bottom: auto; }
  .biz-en { display: none; }
  .biz-t { margin: 0; font-size: 22px; }
  .biz-body { left: 24px; right: 24px; bottom: 24px; }

  /* 좁은 화면: 가로로 밀어 넘기는 카드 */
  .prod-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; flex-wrap: nowrap; }
  .prod-track::-webkit-scrollbar { display: none; }
  .prod-intro { width: 78vw; }
  .prod-progress { display: none; }
  .card { width: 72vw; max-width: 380px; scroll-snap-align: start; }

  .svc-grid, .rnd-grid, .news-grid { grid-template-columns: 1fr; }
  .svc-head { position: static; margin-bottom: 40px; }
  .greet-grid { grid-template-columns: 1fr; }
  .bz-grid, .pd-grid, .pd-spec-grid, .inq-grid, .doc { grid-template-columns: 1fr; }
  .bz-fig { max-width: 560px; aspect-ratio: 4 / 3; }
  .ref-grid, .gallery, .dl-grid, .center-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-feat-list, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .inq-side, .doc-toc { position: static; }
  .board-list .t-hit, .board-list .t-cat { display: none; }
  .vis-state, .eth-grid, .code-grid, .hist-grid { grid-template-columns: 1fr; }
  .goal-list { grid-template-columns: 1fr; }
  .goal-list li, .goal-list li + li { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .value-grid, .stake { grid-template-columns: repeat(2, 1fr); }
  .strat-list li { grid-template-columns: 72px 1fr; }
  .strat-tags { grid-column: 2; }
  .strat-no { font-size: 40px; }
  .hist-side { position: static; }
  .hist-figs { display: none; }
  .hist-now { position: sticky; top: calc(var(--head-h) + 60px); }
  .code-head { position: static; }
  .report-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .report-steps::before { display: none; }
  .loc-panel { grid-template-columns: 1fr; }
  .loc-map { min-height: 360px; }
  /* 조직도: 좁은 화면에서는 가지를 접고 세로 목록으로 보입니다 */
  .org-staff { grid-template-columns: 1fr; gap: 12px; width: 100%; max-width: 420px; }
  .org-staff::after { display: none; }
  .org-divs { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; padding-top: 0; }
  .org-divs > li { padding-top: 0; }
  .org-divs > li::before, .org-divs > li::after { display: none; }
  .greet-photo { position: static; max-width: 520px; }
  .creed-list { grid-template-columns: 1fr; }
  .creed-list li { min-height: 260px; }
  .rnd-media { width: 88%; }
  .rnd-body { margin-top: 40px; }
  .news-tabs { margin-top: 28px; }
}

@media (max-width: 767px) {
  /* 회원 화면 — 두 칸을 한 칸으로, 가운데 카드는 여백을 줄입니다. */
  .member-solo { padding: 32px var(--gut); }
  .member-solo .member-narrow { border-radius: 22px; }
  .form-2 { grid-template-columns: 1fr; }
  .member-addr-zip { flex-wrap: wrap; }
  .member-addr-zip input { max-width: none; }
  .sub-consents { padding-left: 0; }

  /* 머리글에 로고·로그인·메뉴 단추를 한 줄에 넣으면 좁습니다. 로그인은 전체 메뉴 안으로 보냅니다. */
  .hd-auth { display: none; }
  .hd-shop { display: none; }
  .sm-shop { display: flex; position: relative; z-index: 2; margin-top: 8px; height: 54px; background: #fff; font-size: 16px; }
  .sm-shop:hover { background: var(--accent); }
  .sm-auth { display: flex; position: relative; z-index: 2; margin-top: auto; padding-top: 40px; gap: 8px; }
  .sm-auth a { flex: 1; justify-content: center; height: 54px; border-color: var(--line-dark); font-size: 16px; opacity: 1; }
  .sm-auth .auth-join { background: var(--accent); border-color: var(--accent); color: var(--ink); }
  .sm-auth .auth-me { flex: 1.2; }

  .sitemap-nav { grid-template-columns: 1fr; gap: 0; }
  .sitemap-nav details { padding: 18px 0; }
  .sitemap-nav summary { position: relative; margin: 0; cursor: pointer; }
  .sitemap-nav summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform 0.3s; }
  .sitemap-nav details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
  .sitemap-nav .gnb-sub { padding-top: 14px; }

  /* 가장 긴 단어(11자)가 한 줄에 들어가도록 화면 폭에 맞춥니다 */
  .hero-word { font-size: 15vw; }
  .hero-word .ln:nth-child(2) { padding-left: 0; }
  .hero-ctrl { left: var(--gut); right: auto; bottom: 28px; gap: 16px; }
  .hero-count b { font-size: 26px; }
  .hero-dots { max-width: 56vw; }
  .hero-dots button { flex-basis: 36px; }
  .hero-body { padding-bottom: 110px; }

  .intro-media { --gut-x: 6%; height: 70vh; }
  .intro-cap { flex-direction: column; align-items: flex-start; padding-inline: var(--gut); }
  .intro-motto { text-align: left; }
  .stats li { padding-right: 12px; }
  .stats li + li { padding-left: 12px; }

  .merit-grid, .duo-grid { grid-template-columns: 1fr; }
  .merit-grid li { min-height: 220px; padding: 26px; }
  .rnd-list { grid-template-columns: 1fr; gap: 28px; }
  .news-list a { flex-wrap: wrap; gap: 8px 12px; padding: 22px 4px; }
  .news-list b { flex-basis: 100%; order: 2; white-space: normal; }
  .news-list time { margin-left: auto; font-size: 15px; }
  .svc-body > div { padding-left: 0; }
  .ft-info span { display: block; margin: 0; }
  .ft-info br { display: none; }
  .quick { right: 10px; gap: 8px; }
  .quick-list { padding: 4px; }
  .quick-list a { width: 42px; height: 42px; }
  .quick-list svg { width: 19px; height: 19px; }
  .to-top { width: 50px; height: 50px; }
  .to-top span { font-size: 11px; }
  .sv { height: 380px; }
  .ref-grid, .gallery, .dl-grid, .center-grid, .pd-feat-list, .perks, .form-2, .job dl { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .pd-keys b { font-size: 28px; }
  .board-top { flex-direction: column; align-items: stretch; }
  .board-search input { width: 100%; flex: 1; }
  .faq-search input { width: 100%; }
  /* 좁은 화면 게시판: 번호 · 분류 · 조회는 숨기고 제목 아래에 날짜를 둡니다 */
  .board-list thead { display: none; }
  .board-list tr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
  .board-list td { padding: 0; border: 0; }
  .board-list .t-num, .board-list .t-file { display: none; }
  .board-list .t-title { flex-basis: 100%; }
  .board-list .t-date { width: auto; font-size: 15px; }
  .view-nav time { display: none; }
  .job-due { text-align: left; }
  .faq-list details p { padding-left: 0; }
  .center-card { height: 380px; }
  .value-grid, .stake, .org-divs { grid-template-columns: 1fr; }
  .value-grid li { min-height: 280px; }
  .value-mark { font-size: 200px; }
  .hist-year { grid-template-columns: 1fr; gap: 12px; padding-left: 32px; }
  .hist-era { padding-left: 32px; }
  .hist-now { font-size: 88px; }
  .strat-list li { grid-template-columns: 1fr; gap: 12px; }
  .strat-tags { grid-column: auto; }
  .code-list summary { gap: 14px; }
  .code-no { width: auto; }
  .code-list details p { padding: 0 0 24px; }
  .report-steps { grid-template-columns: 1fr; }
  .snb a { height: 56px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* =========================================================
   서브페이지 레이아웃 (skin/content/*)
   제목·설명·배경은 서브 상단(.sv)이 이미 그렸습니다. 여기는 본문 영역입니다.
   ========================================================= */
.ctt { width:100%; max-width:1100px; margin:0 auto; padding:clamp(56px,7vw,110px) var(--gut); }
.ctt-body { font-size:17px; line-height:1.9; color:var(--sub); }
.ctt-body h2, .ctt-body h3 { margin:1.8em 0 .6em; color:var(--ink); letter-spacing:-0.03em; }
.ctt-body h2 { font-size:clamp(24px,2.6vw,34px); font-weight:800; }
.ctt-body h3 { font-size:clamp(19px,2vw,24px); font-weight:700; }
.ctt-body p { margin:0 0 1.1em; }
.ctt-body img { max-width:100%; height:auto; border-radius:12px; }
.ctt-body strong, .ctt-body b { color:var(--ink); font-weight:700; }
.ctt-lead { max-width:40em; margin-bottom:clamp(40px,5vw,72px); }

/* 소개형 — 사진 옆에 글 */
.ctt-intro { display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:clamp(28px,4vw,64px);
             align-items:start; max-width:1240px; }
.ctt-intro.is-wide { display:block; max-width:860px; }
.ctt-photo { margin:0; }
.ctt-photo img { width:100%; aspect-ratio:3/4; object-fit:cover; border-radius:14px; }
.ctt-sign { margin-top:2.4em; text-align:right; }
.ctt-sign span { display:block; font-size:14.5px; color:var(--dim); }
.ctt-sign b { font-size:clamp(20px,2vw,26px); font-weight:800; color:var(--ink); letter-spacing:-0.03em; }
@media (max-width:860px) { .ctt-intro { grid-template-columns:1fr; } .ctt-photo img { aspect-ratio:4/3; } }

/* 카드 나열형 */
.ctt-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:clamp(16px,2vw,28px); }
.ctt-card { padding:clamp(24px,2.6vw,36px); border:1px solid var(--line); border-radius:14px;
            background:var(--paper); transition:border-color .3s, transform .5s var(--ease); }
.ctt-card:hover { border-color:var(--ink); transform:translateY(-4px); }
.ctt-no { font-family:var(--en); font-size:15px; font-weight:800; color:var(--accent-ink); }
.ctt-card b { display:block; margin:10px 0 8px; font-size:19px; font-weight:800; letter-spacing:-0.03em; }
.ctt-card p { margin:0; font-size:15.5px; line-height:1.75; color:var(--sub); }

/* 연혁형 — **반드시 `.ctt` 안으로 가둡니다.**
   퍼블리싱의 연혁 페이지도 같은 `.hist-year` 이름을 씁니다(:575-583). 여기서 가두지 않으면
   이 블록이 뒤에 있어서 퍼블리싱 쪽을 덮어씁니다 — 연도 글자가 40px/800 이 아니라
   64px/900 이 되고 왼쪽 칸이 120px 이 아니라 3fr 로 벌어집니다(2026-10-15 실측). */
.ctt .hist-year { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,9fr); gap:clamp(16px,3vw,48px);
             padding:clamp(28px,3vw,44px) 0; border-top:1px solid var(--line); }
.ctt .hist-year h3 { margin:0; font-family:var(--en); font-size:clamp(34px,5vw,64px); font-weight:900;
                line-height:1; letter-spacing:-0.03em; color:var(--ink); }
.ctt .hist-year ul { margin:0; padding:0; list-style:none; }
.ctt .hist-year li { display:flex; gap:16px; padding:9px 0; }
.ctt .hist-year li span { flex:none; width:3.2em; font-size:14.5px; font-weight:700; color:var(--accent-ink); }
.ctt .hist-year li p { margin:0; font-size:16px; line-height:1.7; color:var(--sub); }
@media (max-width:760px) { .ctt .hist-year { grid-template-columns:1fr; gap:12px; } }

/* 오시는 길형 */
.map-pic { margin:0 0 clamp(28px,3vw,48px); }
.map-pic img { width:100%; border-radius:14px; }
.map-info { border-top:1px solid var(--line); }
.map-line { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,10fr); gap:16px;
            padding:18px 0; border-bottom:1px solid var(--line); }
.map-line span { font-size:15px; font-weight:700; color:var(--ink); }
.map-line p { margin:0; font-size:16px; line-height:1.7; color:var(--sub); }
.map-line a { color:var(--accent-ink); text-decoration:underline; text-underline-offset:3px; }
.ctt-map .ctt-body { margin-top:clamp(32px,4vw,56px); }
@media (max-width:640px) { .map-line { grid-template-columns:1fr; gap:4px; } }

/* ── 마지막 줄에 빈칸을 남기지 않습니다 (2026-10-15) ───────────────────────────
   기본 칸 수는 4칸인데 항목이 3개면 넷째 칸이 비고, 6개면 둘째 줄이 반만 찹니다.
   항목 수를 보고 칸 수를 정해 가로를 꽉 채웁니다.

   :has() 를 모르는 옛 브라우저는 위의 기본 칸 수를 그대로 씁니다 — 깨지지 않습니다.
   좁은 화면 규칙(위 @media max-width)보다 셈이 세므로, 각 격자가 줄어들기 시작하는
   너비 **위에서만** 켭니다. 그래서 휴대폰·태블릿 배치는 그대로입니다. */
@media (min-width: 1024px) {
  .value-grid:has(> :nth-child(2):last-child),
  .stake:has(> :nth-child(2):last-child),
  .report-steps:has(> :nth-child(2):last-child),
  .pd-feat-list:has(> :nth-child(2):last-child),
  .cert-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }

  .value-grid:has(> :nth-child(3):last-child),
  .value-grid:has(> :nth-child(6):last-child),
  .stake:has(> :nth-child(3):last-child),
  .stake:has(> :nth-child(6):last-child),
  .report-steps:has(> :nth-child(3):last-child),
  .report-steps:has(> :nth-child(6):last-child),
  .pd-feat-list:has(> :nth-child(3):last-child),
  .pd-feat-list:has(> :nth-child(6):last-child),
  .cert-grid:has(> :nth-child(3):last-child),
  .cert-grid:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
  .merit-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
  .merit-grid:has(> :nth-child(3):last-child),
  .merit-grid:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, 1fr); }
}

/* 어두운 구역으로 끝나는 페이지가 검은 푸터와 맞붙어 보이던 것을 막는 **흰 마무리 구역**입니다
   (대표님 지적 2026-10-16). 여백만 넣지 않고 내용을 함께 담습니다. */
.page-end { padding: var(--sec) 0; background: var(--paper); }
.page-end-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px var(--gut); }
.page-end-in > div:first-child { max-width: 760px; }
.page-end-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(40px, 5vw, 72px); }
.page-end-in .page-end-act { margin-top: 0; }

/* =========================================================
   그누보드 게시판 스킨 (skin/board/allweb)
   목록·보기 모양은 위의 .board-* · .view-* 가 그대로 씁니다.
   여기에는 그누보드가 내는 마크업과 이어 붙이는 것만 둡니다.
   ========================================================= */
/* 그누보드 화면 래퍼(.allweb-gnu, css/gnu.css)가 기준 글자를 0.875rem 으로 줄입니다.
   게시판 스킨은 템플릿 마크업이라 템플릿 기준으로 되돌립니다. */
.board-skin { font-size: 1rem; }
.board-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.board-acts .btn { min-height: 52px; padding: 0 26px; font-size: 15px; }
.board-cate ul { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.board-cate a { display: inline-block; padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--sub); transition: background 0.2s, border-color 0.2s, color 0.2s; }
.board-cate a:hover, .board-cate #bo_cate_on { background: var(--ink); border-color: var(--ink); color: #fff; }
.board-list .t-cmt { margin-left: 6px; font-family: var(--en); font-size: 15px; font-weight: 700; color: var(--accent-ink); }
.board-list .t-title .badge { margin-left: 8px; }
/* 글쓰기 — 폼 모양은 .form · .field 가 냅니다. 고르기 칸만 여기서 맞춥니다. */
.board-skin .field select { width: 100%; padding: 15px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 16px; }
.board-skin .field select:focus { outline: none; border-color: var(--ink); }
.form-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
/* 자동등록방지 — 마크업은 그누보드 플러그인이 냅니다(fieldset#captcha). 줄만 맞춥니다. */
/* 자동등록방지 칸은 그누보드 기본 모양 그대로 둡니다 — 마크업도 CSS(css/default.css:229-244)도
   코어 것이고, 아이디 선택자로 짜여 있어 덮으면 깨지기 쉽습니다. 테두리 칸만 벗겨 냅니다.
   칸 이름(「자동등록방지」)은 스킨이 .field 의 이름줄로 냅니다 — 코어는 legend 를 숨깁니다. */
.board-skin #captcha { padding: 0; border: 0; }
/* =========================================================
   그누보드 회원 스킨 (skin/member/allweb)
   로그인 · 회원가입 · 비밀번호 찾기 화면입니다. 폼 모양은 위의 .form · .field 가
   그대로 쓰고, 여기에는 그 화면만의 짜임(가운데 카드 · 약관 상자 · 동의 칸)만 둡니다.
   ========================================================= */
/* 게시판과 같은 이유로 기준 글자를 템플릿 쪽으로 되돌립니다(.allweb-gnu 가 0.875rem 으로 줄입니다). */
.member-skin { font-size: 1rem; }

/* 로그인·비밀번호 확인은 **테마 머리글이 없는 화면**입니다(bbs/_head.sub.php 를 씁니다).
   로고 줄 아래로 화면을 채우고 그 가운데에 카드를 둡니다. */
.member-solo { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 72px); padding: 64px var(--gut); background: var(--mist); }
.member-solo .member-narrow { padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: #fff; box-shadow: 0 40px 60px -40px rgba(11, 15, 20, 0.28); }
.member-solo .form { padding: 0; border: 0; }

.member-narrow { width: 100%; max-width: 520px; margin: 0 auto; }
/* 좁은 카드 안에서는 보내기 단추가 칸과 같은 너비일 때 가장 읽기 쉽습니다. */
.member-narrow .form-submit { align-self: stretch; width: 100%; min-height: 58px; }
.member-wide { width: 100%; max-width: 860px; margin: 0 auto; }

.member-head { margin-bottom: 28px; text-align: center; }
.member-title { margin-top: 10px; font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.25; }
.member-title strong { color: var(--accent-ink); }
.member-lead { margin-top: 12px; font-size: 16px; line-height: 1.75; color: var(--sub); }
.member-lead em { font-style: normal; color: #e0452f; }

/* 한 줄짜리 보조 안내 — 칸 아래에 붙습니다. */
.member-hint { display: block; margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--dim); }

/* 아이디처럼 고치지 못하는 값은 칸 대신 글자로 보여 줍니다. */
.member-who b { display: block; padding: 15px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--mist); font-size: 16px; font-weight: 700; }

/* 체크 한 줄 — 네모는 CSS 로 그립니다(코어 .selec_chk 를 쓰지 않습니다). */
.member-check { display: inline-flex; align-items: flex-start; gap: 10px; font-size: 15.5px; font-weight: 600; line-height: 1.5; cursor: pointer; }
.member-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.member-check > span { position: relative; padding-left: 30px; }
.member-check > span::before { content: ''; position: absolute; left: 0; top: 50%; width: 20px; height: 20px; margin-top: -10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; transition: background 0.2s, border-color 0.2s; }
.member-check > span::after { content: ''; position: absolute; left: 7px; top: 50%; width: 5px; height: 9px; margin-top: -6px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg) scale(0); transition: transform 0.2s var(--ease); }
.member-check input:checked + span::before { background: var(--ink); border-color: var(--ink); }
.member-check input:checked + span::after { transform: rotate(45deg) scale(1); }
.member-check input:focus-visible + span::before { outline: 2px solid var(--accent); outline-offset: 3px; }

/* 로그인 칸 아래 줄 — 자동로그인과 찾기 링크 */
.member-opt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.member-opt > a { font-size: 15px; font-weight: 600; color: var(--sub); text-decoration: underline; text-underline-offset: 4px; }
.member-opt > a:hover { color: var(--ink); }

.member-alt { margin-top: 24px; text-align: center; font-size: 15.5px; color: var(--sub); }
.member-alt a { margin-left: 4px; font-weight: 700; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; }
.member-back { margin-top: 10px; text-align: center; font-size: 14.5px; color: var(--dim); }
.member-back a:hover { color: var(--ink); }

/* 약관 상자 */
.member-term + .member-term { margin-top: 28px; }
.member-term h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; }
.member-term h3 em { font-style: normal; font-size: 15px; color: #e0452f; }
.member-term-box { margin: 12px 0 14px; max-height: 240px; padding: 20px 22px; overflow-y: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--mist); font-size: 15px; line-height: 1.8; color: var(--sub); white-space: pre-line; }
/* 표가 든 상자는 글 상자와 다릅니다 — pre-line 이면 마크업 줄바꿈이 빈 줄로 보입니다. */
.member-term-box.is-table { max-height: none; padding: 0; overflow: visible; white-space: normal; }
.member-term-tbl { width: 100%; border-collapse: collapse; }
.member-term-tbl th, .member-term-tbl td { padding: 10px 12px; border: 1px solid var(--line); font-size: 14.5px; text-align: left; vertical-align: top; }
.member-term-tbl th { background: #fff; font-weight: 700; color: var(--ink); }
.member-check-all { margin-top: 24px; padding: 18px 22px; width: 100%; border: 1px solid var(--ink); border-radius: 16px; font-size: 16px; font-weight: 700; }
.member-term + .member-check-all { margin-top: 28px; }
.member-check-all + .form-act { margin-top: 32px; }

/* 가입 폼 — 묶음마다 제목을 답니다. */
.member-sec + .member-sec { margin-top: 12px; padding-top: 36px; border-top: 1px solid var(--line); }
.member-sec-t { margin-bottom: 20px; font-size: 19px; font-weight: 800; letter-spacing: -0.03em; }
.member-sec-t small { font-size: 15px; font-weight: 600; color: var(--dim); }
/* 칸을 <label class="field"> 로 쓰므로 블록으로 세웁니다 — 안 그러면 줄 사이가 들쭉날쭉합니다. */
.member-skin .field { display: block; }
.member-sec .field + .field, .member-sec .field + .form-2, .member-sec .form-2 + .field { margin-top: 20px; }
/* 두 칸 격자 안에서는 격자가 간격을 주므로 위 여백을 지웁니다. */
.member-sec .form-2 .field + .field { margin-top: 0; }

/* 본인확인 단추 묶음 */
.member-cert { margin-bottom: 20px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--mist); }
.member-cert-t { font-size: 15px; font-weight: 700; }
.member-cert-t em { font-style: normal; color: #e0452f; }
.member-cert-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.member-cert-btns .btn { min-height: 48px; padding: 0 22px; font-size: 15px; }
.member-cert-ok { margin-top: 12px; font-size: 15px; color: var(--accent-ink); }

/* 주소 칸 — 우편번호와 찾기 단추가 한 줄입니다. */
.member-addr input + input { margin-top: 10px; }
.member-addr-zip { display: flex; gap: 10px; }
.member-addr-zip input { max-width: 200px; }
.member-addr-zip .btn { flex: none; min-height: 52px; padding: 0 22px; font-size: 15px; }

/* 올려 둔 사진 미리보기 */
.member-file-now { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.member-file-now img { max-height: 56px; border-radius: 10px; }

/* 수신설정 */
.member-consent + .member-consent { margin-top: 16px; }
.consent-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.member-more { font-size: 14px; font-weight: 600; color: var(--sub); text-decoration: underline; text-underline-offset: 4px; }
.member-more:hover { color: var(--ink); }
.consent-date { margin-top: 6px; font-size: 14px; color: var(--dim); }
.sub-consents { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 12px; padding-left: 30px; }

/* 자동등록방지 — 코어 마크업(fieldset#captcha)의 테두리만 벗깁니다. */
.member-skin #captcha { padding: 0; border: 0; }

/* 가입 완료 */
.member-done { text-align: center; }
.member-note { margin: 24px 0; padding: 24px 26px; border-radius: 20px; background: var(--mist); text-align: left; font-size: 15.5px; line-height: 1.8; color: var(--sub); }
.member-note b { color: var(--ink); }
.member-sum { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 16px 0; }
.member-sum dt { font-weight: 700; color: var(--ink); }
.member-sum dd { margin: 0; }
.member-note-sub { font-size: 14.5px; color: var(--dim); }
.member-done .form-act { margin-top: 28px; }
.member-done .member-title { font-size: clamp(26px, 3.2vw, 34px); }

/* 페이징 마크업은 그누보드 코어(get_paging)가 냅니다 — .paging 과 같은 모양으로 맞춥니다. */
.board-skin .pg_wrap { display: flex; justify-content: center; float: none; margin-top: 48px; }   /* default.css 의 float:left 를 풀어야 아래 여백 안에 들어옵니다 */
.board-skin .pg { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.board-skin .pg_page,
.board-skin .pg_current { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; font-family: var(--en); font-size: 17px; font-weight: 700; color: var(--sub); transition: background 0.2s, color 0.2s; }
.board-skin .pg_page:hover { background: var(--mist); }
.board-skin .pg_current { background: var(--ink); color: #fff; }

/* 답변 글 표시(2026-11-10): 그누보드 기본 아이콘 대신 ㄴ 자 선 */
.board-list .t-re { display: inline-block; width: 10px; height: 10px; margin: 0 8px 4px 0; border-left: 2px solid var(--sub); border-bottom: 2px solid var(--sub); vertical-align: middle; }

/* 메인 최신글 NEW(2026-11-10): 제목 바로 뒤에 붙이고 날짜는 오른쪽 끝에 둡니다 */
.news-list b { flex: 0 1 auto; }
.news-list .badge-on { flex: none; }
.news-list time { margin-left: auto; }
