/* 더드림벤처스 회사 사이트 v3 — 미니멀 기본판
   레이아웃: 왼쪽에 섹션 이름, 오른쪽에 내용. 상자 대신 가는 선과 여백으로 나눈다.
   색은 명함 블루 하나만 강조에 쓰고, 나머지는 먹색·회색. 푸터만 네이비. */

@font-face { font-family: "Pretendard Variable"; src: url(fonts/PretendardVariable.woff2) format("woff2"); font-weight: 45 920; font-display: swap; }
@font-face { font-family: "Paperlogy"; src: url(fonts/Paperlogy-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Paperlogy"; src: url(fonts/Paperlogy-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
/* 푸터 워드마크 전용: Paperlogy 9 Black, THE DREAMVENTURES 글자만 남긴 파일 (SIL OFL) */
@font-face { font-family: "Paperlogy Black WM"; src: url(fonts/Paperlogy-900-wordmark.woff2) format("woff2"); font-weight: 900; font-display: block; }

:root {
  --ink: #0E1828;        /* 본문 글자 */
  --ink-2: #4A5566;      /* 보조 글자 */
  --ink-3: #7A8494;      /* 캡션 */
  --line: #E2E5EA;       /* 구분선 */
  --paper: #FFFFFF;
  --tint: #F5F6F8;       /* 아주 옅은 면 — 표 머리 정도에만 */
  --blue: #3158E6;       /* 명함 블루 — 강조 하나 */
  --blue-ink: #2546C8;   /* 흰 바탕 위 작은 파란 글자 */
  --blue-soft: #9DB2F5;  /* 옅은 블루 — 모션 보조색 */
  --navy: #0B2347;       /* 푸터 */
  --on-navy: #E9EEF7;
  --on-navy-2: #9FB0C9;

  --sans: "Pretendard Variable", Pretendard, system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --display: "Paperlogy", "Pretendard Variable", Pretendard, sans-serif;

  --wrap: 1120px;
  --gut: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
  --sec: 88px;           /* 섹션 위아래 */
  --hdr: 64px;
  color-scheme: light;
}
@media (max-width: 760px) { :root { --sec: 56px; --hdr: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--hdr) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.7 var(--sans); word-break: keep-all; overflow-wrap: break-word; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; text-wrap: balance; }
p, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { top: 8px; }

.wrap { max-width: calc(var(--wrap) + var(--gut) + var(--gut-r)); margin-inline: auto; padding-left: var(--gut); padding-right: var(--gut-r); }

/* ── 헤더 ─────────────────────────────── */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.97);   /* 흐림 없음: Safari 스크롤이 무거워진다 */ border-bottom: 1px solid var(--line); }
.hdr__in { height: var(--hdr); display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 28px; height: 28px; color: var(--ink); }
.brand b { display: block; font: 800 31px/1 var(--display); letter-spacing: -.02em; }   /* 한글 글자 높이(약 0.9em)가 로고 높이 28px과 같도록 */
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > a:not(.btn), .nav__btn { font: 600 15px/1 var(--sans); color: var(--ink-2); text-decoration: none; padding: 10px 12px; border-radius: 6px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav > a:not(.btn):hover, .nav__btn:hover, .nav > a[aria-current="page"], .nav__drop.is-current .nav__btn { color: var(--ink); }
.nav > a[aria-current="page"], .nav__drop.is-current .nav__btn { box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.nav__btn svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__drop { position: relative; }
.nav__menu { position: absolute; top: calc(100% + 10px); left: -12px; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px; box-shadow: 0 12px 32px rgba(14,24,40,.08); }
.nav__menu a { display: grid; grid-template-columns: 26px 1fr; gap: 2px 8px; padding: 10px 12px; border-radius: 6px; text-decoration: none; }
.nav__menu a:hover { background: var(--tint); }
.nav__menu span { font: 600 12px/1.6 var(--sans); color: var(--blue-ink); font-variant-numeric: tabular-nums; }
.nav__menu b { font-weight: 600; font-size: 15px; }
.nav__drop[data-open] .nav__btn svg { transform: rotate(180deg); }
.nav__cta { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn i { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .2s, top .2s; }
.menu-btn i:first-child { top: 15px; } .menu-btn i:last-child { top: 23px; }
.menu-btn[aria-expanded="true"] i:first-child { top: 19px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { top: 19px; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: var(--hdr); background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut-r) 16px var(--gut); max-height: calc(100dvh - var(--hdr)); overflow-y: auto; }
  .nav[data-open] { display: flex; }
  .nav > a:not(.btn), .nav__btn { padding: 14px 0; font-size: 16px; width: 100%; justify-content: space-between; }
  .nav > a[aria-current="page"], .nav__drop.is-current .nav__btn { box-shadow: none; color: var(--blue-ink); }
  .nav__menu { position: static; box-shadow: none; border: 0; padding: 0 0 8px; min-width: 0; }
  .nav__menu a { padding: 10px 0; }
  .nav__cta { margin: 8px 0 0; justify-content: center; }
}

/* ── 공통 요소 ─────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--sans); padding: 13px 20px; border-radius: 8px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-ink); }
.btn--line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--ink-3); }
.btn--sm { padding: 10px 14px; font-size: 14px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--blue-ink); text-decoration: none; }
.more::after { content: "→"; transition: transform .15s; }
.more:hover::after { transform: translateX(3px); }
.tag { display: inline-block; font: 600 12px/1 var(--sans); color: var(--blue-ink); border: 1px solid currentColor; border-radius: 99px; padding: 4px 8px; vertical-align: 2px; margin-left: 6px; }
.note { font-size: 13.5px; color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; }

/* ── 페이지 머리 ───────────────────────── */
.phead { padding-block: 72px 56px; border-bottom: 1px solid var(--line); }
.phead__k { font-weight: 600; font-size: 14px; color: var(--blue-ink); margin-bottom: 12px; }
.phead h1 { font: 800 clamp(32px, 4.6vw, 52px)/1.2 var(--display); letter-spacing: -.02em; }
.phead p { margin-top: 18px; max-width: 40em; font-size: clamp(16px, 1.3vw, 18px); color: var(--ink-2); }
.toc { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 28px; font-size: 14.5px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--blue-ink); }
.toc span { color: var(--ink-3); margin-right: 4px; font-variant-numeric: tabular-nums; }

/* ── 섹션: 왼쪽 이름 / 오른쪽 내용 ─────────── */
.sec { padding-block: var(--sec); border-top: 1px solid var(--line); }
.sec:first-of-type { border-top: 0; }
.sec__in { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px 64px; }
.sec__label { font-weight: 700; font-size: 15px; color: var(--ink); position: sticky; top: calc(var(--hdr) + 32px); align-self: start; }
.sec__label span { display: block; font: 600 13px/1 var(--sans); color: var(--blue-ink); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.sec__body { min-width: 0; display: grid; gap: 32px; }
.sec h2 { font: 800 clamp(24px, 2.6vw, 34px)/1.3 var(--display); letter-spacing: -.015em; }
.sec h2 + p, .lead { font-size: clamp(16px, 1.25vw, 18px); color: var(--ink-2); max-width: 42em; margin-top: -12px; }
.sec h3 { font-size: 19px; font-weight: 700; }
@media (max-width: 860px) {
  .sec__in { grid-template-columns: 1fr; gap: 20px; }
  .sec__label { position: static; }
}

/* 줄 목록: 상자 없이 선으로 */
.rows { border-top: 1px solid var(--ink); }
.rows > li, .rows > div { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rows__n { font: 600 14px/1.9 var(--sans); color: var(--blue-ink); font-variant-numeric: tabular-nums; }
.rows h3, .rows b { font-size: 18px; font-weight: 700; }
.rows p { color: var(--ink-2); margin-top: 4px; }
.rows a.rows__link { text-decoration: none; display: contents; }
.rows a.rows__link:hover h3 { color: var(--blue-ink); }
@media (max-width: 640px) { .rows > li, .rows > div { grid-template-columns: 40px minmax(0, 1fr); } }

/* 정의 목록 (회사 정보 등) */
.facts { display: grid; grid-template-columns: 140px minmax(0, 1fr); border-top: 1px solid var(--ink); }
.facts dt, .facts dd { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-3); font-size: 15px; }
.facts dd { margin: 0; }
@media (max-width: 560px) { .facts { grid-template-columns: 96px minmax(0, 1fr); } }

/* 숫자 한 줄 */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.stats div { padding: 20px 16px 4px 0; }
.stats dt { font: 800 clamp(28px, 3vw, 40px)/1.1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.stats dd { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 단계 흐름 (가로) */
.flow { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); border-top: 1px solid var(--ink); counter-reset: f; }
.flow li { padding: 16px 14px 0 0; position: relative; }
.flow li + li { padding-left: 14px; border-left: 1px solid var(--line); }
.flow small { display: block; font: 600 12.5px/1 var(--sans); color: var(--blue-ink); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.flow b { display: block; font-size: 16px; }
.flow p { font-size: 14.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.6; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; }
  .flow li, .flow li + li { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; }
  .flow small { grid-row: span 2; margin: 3px 0 0; }
  .flow p { grid-column: 2; margin-top: 2px; }
}

/* 계층 도식 (기술 구조) */
.stack { border-top: 1px solid var(--ink); }
.stack li { display: grid; grid-template-columns: 40px minmax(0, 260px) minmax(0, 1fr); gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.stack li:first-child b { color: var(--blue-ink); }
.stack small { font: 600 13px/1 var(--sans); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.stack b { font-weight: 700; }
.stack span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 640px) { .stack li { grid-template-columns: 32px minmax(0, 1fr); } .stack span { grid-column: 2; } }

/* 두 열 문단 */
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.cols h3 { font-size: 17px; margin-bottom: 8px; }
.cols p, .cols li { color: var(--ink-2); font-size: 15.5px; overflow-wrap: anywhere; }
.cols li { padding-left: 14px; position: relative; }
.cols li + li { margin-top: 4px; }
.cols li::before { content: ""; position: absolute; left: 0; top: .78em; width: 5px; height: 1px; background: var(--ink-3); }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr; gap: 24px; } }

/* 표 */
.tbl { overflow-x: auto; border-top: 1px solid var(--ink); }
.tbl table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); line-height: 1.55; }
.tbl thead th { font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.tbl tbody th { font-weight: 600; white-space: nowrap; }
.tbl td { color: var(--ink-2); }
.tbl .us { color: var(--ink); font-weight: 600; }
.tbl thead .us { color: var(--blue-ink); }

/* 사람 */
.people { border-top: 1px solid var(--ink); }
.person { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 8px 48px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.person h3 { font-size: 20px; }
.person h3 small { font-size: 14px; font-weight: 600; color: var(--ink-3); margin-left: 6px; }
.person__role { color: var(--blue-ink); font-weight: 600; font-size: 14.5px; margin-top: 6px; }
.person__q { color: var(--ink-3); font-size: 14px; margin-top: 8px; }
.person ul li { color: var(--ink-2); padding-left: 14px; position: relative; font-size: 15.5px; overflow-wrap: anywhere; }
.person ul li + li { margin-top: 4px; }
.person ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: 5px; height: 1px; background: var(--ink-3); }
@media (max-width: 760px) { .person { grid-template-columns: 1fr; } }

/* 이름 목록 (협력사) */
.names { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--ink-2); font-size: 15.5px; }
.names li { white-space: nowrap; }

/* 사업 블록 */
.biz { padding-block: var(--sec); border-top: 1px solid var(--line); }
.biz__head { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px 64px; margin-bottom: 40px; }
.biz__no { font: 800 64px/1 var(--display); color: var(--blue); font-variant-numeric: tabular-nums; }
.biz__head h2 { font: 800 clamp(26px, 3vw, 38px)/1.25 var(--display); letter-spacing: -.015em; }
.biz__head .lead { margin-top: 14px; }
.biz__body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 36px 64px; }
.biz__body > h3 { font-size: 15px; font-weight: 700; padding-top: 2px; }
.biz__body > div { min-width: 0; }
.biz__foot { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 860px) { .biz__head, .biz__body { grid-template-columns: 1fr; gap: 12px; } .biz__no { font-size: 44px; } .biz__body > h3 { color: var(--ink-3); margin-top: 16px; } }

/* 첫 화면 */
.hero { padding-block: 96px 72px; }
.hero__k { font-weight: 600; font-size: 15px; color: var(--blue-ink); margin-bottom: 20px; }
.hero h1 { font: 800 clamp(36px, 5.6vw, 68px)/1.18 var(--display); letter-spacing: -.025em; max-width: 14em; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero p { margin-top: 24px; max-width: 38em; font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); }
.hero__biz { margin-top: 56px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.hero__biz a { display: block; padding: 14px 12px 0 0; text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.45; }
.hero__biz a + a { padding-left: 12px; border-left: 1px solid var(--line); }
.hero__biz a span { display: block; font-size: 12.5px; color: var(--blue-ink); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.hero__biz a:hover { color: var(--blue-ink); }
@media (max-width: 900px) { .hero { padding-block: 56px 48px; } .hero__biz { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero__biz a, .hero__biz a + a { padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--line); } .hero__biz a:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); } }

/* 인용형 문장 (비전·미션) */
.statement { font: 800 clamp(24px, 3vw, 36px)/1.4 var(--display); letter-spacing: -.015em; max-width: 22em; }
.statement em { font-style: normal; color: var(--blue); }

/* 연혁 */
.timeline { border-top: 1px solid var(--ink); }
.timeline > li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline time, .timeline .y { font-weight: 700; font-variant-numeric: tabular-nums; }
.timeline ul li { color: var(--ink-2); }
.timeline ul li b { color: var(--ink); font-weight: 600; }

/* FAQ */
.faq-group + .faq-group { margin-top: 40px; }
.faq-group h3 { font-size: 15px; color: var(--ink-3); font-weight: 600; margin-bottom: 8px; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 22px; font-weight: 400; color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 20px 0; color: var(--ink-2); }

/* 문의 폼 */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14.5px; }
.field label small { color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea { font: 400 16px/1.5 var(--sans); color: var(--ink); padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--blue); }
.check { grid-column: 1 / -1; display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 14px; color: var(--ink-2); }
.check input { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; margin: 3px 0 0; border: 1.5px solid var(--ink-3); border-radius: 4px; background: #fff; cursor: pointer; display: grid; place-items: center; transition: border-color .15s, background .15s; }
.check input:hover { border-color: var(--ink); }
.check input:checked { border-color: var(--blue); background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.check input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.form__act { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__msg { font-size: 14.5px; }
.form__msg.is-err { color: #B42318; }
.form__msg.is-ok { color: #0F7B4A; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* 문의 띠 */
.cta { padding-block: 72px; border-top: 1px solid var(--line); }
.cta__in { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.cta h2 { font: 800 clamp(24px, 2.8vw, 34px)/1.3 var(--display); }
.cta p { color: var(--ink-2); margin-top: 10px; }
.cta__act { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── 푸터: 블루 면 전체 + 위에 얇고 작은 정보 + 바닥에 THE DREAMVENTURES 한 줄 ───── */
.ftr { background: var(--blue); color: #fff; overflow: hidden; padding-bottom: env(safe-area-inset-bottom, 0px); display: flex; flex-direction: column; min-height: calc(100vw / 2.2); }   /* 레퍼런스 비율 가로:세로 ≈ 2.2:1 */
.ftr a { color: inherit; text-decoration: none; }
.ftr__in { max-width: calc(var(--wrap) + var(--gut) + var(--gut-r)); margin-inline: auto; padding: 56px var(--gut-r) 0 var(--gut); }
.ftr__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 28px 32px; font-size: 13px; font-weight: 400; line-height: 1.75; }
.ftr__k { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: rgba(255,255,255,.6); margin-bottom: 10px; }
.ftr__cols li { color: rgba(255,255,255,.92); }
.ftr__cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr__cta p:not(.ftr__k) { color: rgba(255,255,255,.92); }
.ftr__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding-bottom: 3px; border-bottom: 1px solid rgba(255,255,255,.7); font-size: 13px; font-weight: 600; }
.ftr__go svg { width: 14px; height: 14px; transition: transform .15s; }
.ftr__go:hover svg { transform: translate(2px, -2px); }
.has-accent .ftr__go:hover { color: var(--accent); border-color: var(--accent); }
.ftr__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 40px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.25); font-size: 11.5px; color: rgba(255,255,255,.7); }
/* 워드마크: 화면 폭 가득, 바닥에 붙어 아래가 살짝 잘린다 */
.ftr__mark { display: block; margin-top: auto; padding: clamp(40px, 7vw, 110px) clamp(6px, .5vw, 10px) 0; }
.wm { display: block; width: 100%; height: auto; overflow: visible; fill: #05070D; }
.wm__t { font-family: "Paperlogy Black WM", var(--display); font-weight: 900; font-size: 200px; letter-spacing: -.035em; }   /* Paperlogy 9 Black, 자간을 바짝 붙임 */
@media (max-width: 900px) { .ftr__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr__cta { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ftr__cols { grid-template-columns: 1fr 1fr; gap: 24px 20px; } .ftr__in { padding-top: 40px; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* 목록형 두 열은 문단 두 열보다 촘촘하게 */
ul.cols { gap: 8px 48px; }
ul.cols li + li { margin-top: 0; }

/* 모션 시안 비교 페이지 */
.mlab { padding-block: 64px; border-top: 1px solid var(--line); }
.mlab__k { font-weight: 700; font-size: 15px; margin-bottom: 24px; display: flex; gap: 10px; align-items: center; }
.mlab__k span { font: 800 14px/1 var(--display); color: #fff; background: var(--blue); width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; }
.mlab__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 56px; align-items: center; }
.mlab__h { font: 800 clamp(30px, 3.6vw, 48px)/1.2 var(--display); letter-spacing: -.02em; }
.mlab__h em { font-style: normal; color: var(--blue); }
.mlab__d { margin-top: 20px; color: var(--ink-2); max-width: 32em; }
.mlab__cv { width: 100%; aspect-ratio: 7 / 5; display: block; touch-action: pan-y; }
@media (max-width: 860px) { .mlab__grid { grid-template-columns: 1fr; } .mlab__cv { aspect-ratio: 1 / 1; } }

/* 포인트 컬러(일렉트릭 옐로) — 흰 바탕의 글자에는 쓰지 않는다. 블루·먹색 위, 또는 먹색 글자와 짝지은 면·형광펜 밑줄에만 */
:root { --accent: #E8FF2E; --on-accent: var(--ink); }
.has-accent ::selection { background: var(--accent); color: var(--on-accent); }
.has-accent .hero h1 em, .has-accent .mlab__h em, .has-accent .statement em {
  background: linear-gradient(transparent 60%, var(--accent) 60%, var(--accent) 94%, transparent 94%);
  padding: 0 .06em; margin: 0 -.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.has-accent .nav__cta { background: var(--accent); color: var(--on-accent); }
.has-accent .nav__cta:hover { background: var(--accent); filter: brightness(.94); }
.has-accent .stats dt::after { content: ""; display: inline-block; width: .22em; height: .22em; margin-left: .08em; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 1px var(--ink); vertical-align: .55em; }

/* ── 첫 화면 v2: 포스터식 배치 ─────────────────
   화면 전체에 디더링 캔버스, 작은 정보는 위 두 귀퉁이, 제목 두 줄은 좌우로 엇갈려 화면 폭을 채운다 */
.hero2 { position: relative; min-height: clamp(600px, calc(100svh - var(--hdr)), 920px); display: grid; grid-template-rows: auto 1fr auto auto; padding: 28px max(var(--gut-r), calc((100% - var(--wrap)) / 2)) 36px max(var(--gut), calc((100% - var(--wrap)) / 2)); overflow: hidden; }
.hero2 > :not(canvas) { position: relative; z-index: 1; }
.hero2__facts { display: flex; gap: 28px; text-align: right; }
.hero2__facts dt { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.hero2__facts dd { margin: 2px 0 0; font: 800 18px/1.2 var(--display); font-variant-numeric: tabular-nums; }
.hero2__h { grid-row: 3; font: 800 clamp(34px, 6vw, 84px)/1.08 var(--display); letter-spacing: -.035em; display: grid; gap: .04em; margin: 0 -.02em; }
.hero2__h span:last-child { justify-self: end; text-align: right; }
.hero2__h em { font-style: normal; color: var(--blue); }
.hero2__foot { grid-row: 4; margin-top: 28px; display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; }
.hero2__foot p { max-width: 34em; color: var(--ink-2); font-size: 15.5px; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; padding: 14px 20px 14px 24px; border-radius: 999px; }
.pill svg { width: 18px; height: 18px; transition: transform .15s; }
.pill:hover svg { transform: translate(2px, -2px); }
.has-accent .pill { background: var(--accent); color: var(--on-accent); }
@media (max-width: 760px) {
  .hero2 { min-height: 0; grid-template-rows: auto auto auto auto; padding-top: 20px; }
  .hero2__facts { text-align: left; gap: 18px; flex-wrap: wrap; }
  .hero2__h { font-size: clamp(30px, 8.6vw, 44px); }
  .hero2__h span:last-child { justify-self: start; text-align: left; }
}

/* ── 첫 화면 v3: 제목 + 에이전트 모션 ───────────────── */
.hero3 { padding-block: 40px 72px; }
.hero3__h { margin: clamp(32px, 5vw, 64px) 0 clamp(24px, 3vw, 40px); display: grid; gap: .04em; }
.hero3__h span:last-child { justify-self: end; text-align: right; }
.hero3__h em { font-style: normal; color: var(--blue); }
.hero3__film .film { border-radius: 20px; }
.hero3__film .t-caption { margin-top: 10px; color: var(--ink-3); }
@media (max-width: 767px) { .hero3__film .film { border-radius: 12px; } }

/* ── 섹션 머리: 영문 라벨 → 짧은 제목(15자 이내) → 설명(두 줄 이내) ───── */
.sec__in { display: block; }
.shead { max-width: 46em; }
.shead__k { display: flex; align-items: center; gap: 10px; color: var(--blue-ink); text-transform: uppercase; letter-spacing: .14em !important; }
.shead__k::before { content: ""; width: 3px; height: 14px; border-radius: 2px; background: var(--blue); flex: none; }
.shead__h { margin-top: 14px; }
.shead__p { margin-top: 14px; color: var(--ink-2); }
.sec .sec__body { margin-top: 36px; }
.sec .shead__h + .shead__p { margin-top: 14px; max-width: none; }
.phead__k { text-transform: uppercase; letter-spacing: .14em !important; }
.biz__head .shead { max-width: none; }

/* 비전 문장 — 커서 타이핑 + 형광펜 (site.js). 안 쓴 글자는 자리만 차지해 줄바꿈이 흔들리지 않는다 */
.statement[data-ink] .ch { visibility: hidden; }
.statement[data-ink] .ch.on { visibility: visible; }
.statement .caret { display: inline-block; width: 0; height: 1em; position: relative; vertical-align: -.12em; }
.statement .caret::after { content: ""; position: absolute; left: .04em; top: 0; width: 3px; height: 100%; background: var(--blue); animation: caret 1s steps(1) infinite; }
.statement .caret.is-off::after { animation: none; opacity: 0; transition: opacity .3s; }
@keyframes caret { 50% { opacity: 0; } }
.statement[data-ink] em, .has-accent .statement[data-ink] em {
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 88% / 0% 36%;
  padding: 0 .08em; margin: 0 -.08em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .9s cubic-bezier(.65, 0, .35, 1);
}
.statement[data-ink].is-hl em { background-size: 100% 36%; }
.mv__vals { margin-top: 56px; scroll-margin-top: 96px; }

/* 협력 네트워크 로고 흐름 (회사소개) */
.ns { margin-top: 48px; display: flex; flex-direction: column; gap: 28px; }
.ns__row { display: grid; gap: 12px; }
.ns__label { display: flex; align-items: baseline; gap: 8px; font: 600 13px/1.4 var(--sans); color: var(--ink); }
.ns__label span { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ns__win { overflow: hidden; margin-inline: calc(50% - 50vw); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ns__track { display: flex; align-items: center; gap: 56px; width: max-content; margin: 0; padding: 8px 0; list-style: none; animation: nsflow 60s linear infinite; }
.ns__row[data-dir="back"] .ns__track { animation-direction: reverse; }
.ns__row:hover .ns__track, .ns__track:focus-within { animation-play-state: paused; }
@keyframes nsflow { to { transform: translateX(-50%); } }
.np { display: flex; align-items: center; height: 48px; flex: none; white-space: nowrap; font: 600 16px/1 var(--sans); letter-spacing: -.01em; color: var(--ink-3); transition: color .25s; }
.np:hover { color: var(--ink); }
.np a { display: flex; align-items: center; justify-content: center; height: 100%; width: 100%; color: inherit; text-decoration: none; }
.np a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
.np--logo { width: 150px; justify-content: center; }
.np img { width: 100%; height: 34px; object-fit: contain; transform: scale(var(--k, 1)); filter: brightness(0); opacity: .42; transition: opacity .25s; }   /* 원본 로고가 흰 글자용이라 검은 실루엣으로 맞춘다 */
.np:hover img { opacity: .9; }
@media (max-width: 767px) { .ns__track { gap: 32px; } .np { height: 40px; font-size: 14px; } .np--logo { width: 112px; } }
@media (prefers-reduced-motion: reduce) { .ns__win { overflow-x: auto; } .ns__track { animation: none; } }

/* 페이지 머리 설명: 넓은 화면에서는 한 줄 */
@media (min-width: 1200px) { .phead p { max-width: none; } }

/* 사업영역 메뉴: 마우스를 올리면 열리고, 항목에 올리면 오른쪽에 이름·설명을 크게 보여 준다 */
@media (min-width: 901px) {
  .nav__menu { display: grid; grid-template-columns: 280px 300px; padding: 8px; min-width: 0; left: 50%; transform: translateX(-50%); }
  .nav__menu[hidden] { display: none; }
  .nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }   /* 버튼과 메뉴 사이 틈에서 닫히지 않게 */
  .nav__list a.is-on { background: var(--tint); }
  .nav__list a.is-on b { color: var(--blue-ink); }
  .nav__pv { margin: 0 0 0 8px; padding: 22px 24px; border-radius: 8px; background: var(--blue); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; }
  .nav__pv-k { font: 600 11.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
  .nav__pv-h { margin-top: 10px; font: 800 24px/1.3 var(--display); letter-spacing: -.015em; }
  .nav__pv-p { margin-top: 10px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .82); }
  .nav__pv.is-swap > * { animation: pvIn .28s cubic-bezier(.2, .7, .3, 1); }
  @keyframes pvIn { from { opacity: 0; transform: translateY(6px); } }
}
@media (max-width: 900px) { .nav__pv { display: none; } }
@media (prefers-reduced-motion: reduce) { .nav__pv.is-swap > * { animation: none; } }

/* 넓은 화면: 본문 폭을 넓혀 좌우 빈 곳을 줄인다 */
@media (min-width: 1440px) { :root { --wrap: min(88vw, 2000px); } }   /* 화면 폭을 따라 늘어나 좌우 여백이 6%로 유지된다 */

/* 인증·확인서 (회사소개) */
.certs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cert { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: start; padding: 24px; border-radius: 18px; background: var(--tint, #F5F6F8); }
.cert__btn { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; cursor: zoom-in; }
.cert__btn img { display: block; width: 100%; height: auto; }
.cert__btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.cert__zoom { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 7px 11px; border-radius: 99px; background: var(--ink); color: #fff; font: 600 12.5px/1 var(--sans); }
.cert__zoom svg { width: 14px; height: 14px; }
.cert__btn:hover .cert__zoom { background: var(--blue); }
.cert__cap h3 { margin: 4px 0 18px; font-family: var(--display); font-size: 22px; }
.cert__cap dl { display: grid; gap: 14px; margin: 0; }
.cert__cap dt { font-size: 13px; color: var(--ink-3); }
.cert__cap dd { margin: 2px 0 0; font-size: 16px; font-weight: 600; }
.lb { border: 0; padding: 0; background: none; max-width: min(92vw, 820px); max-height: 92vh; overflow: visible; }
.lb::backdrop { background: rgba(14, 24, 40, .78); }
.lb img { display: block; max-width: 100%; max-height: 88vh; width: auto; height: auto; border-radius: 6px; background: #fff; }
.lb__x { position: absolute; top: -44px; right: 0; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
@media (max-width: 1023px) { .certs { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cert { grid-template-columns: 1fr; } .cert__btn { max-width: 260px; } }

/* 자주 묻는 질문 10개 */
.faq--10 summary { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: baseline; padding: 22px 48px 22px 0; }
.faq__n { font: 600 13px/1 var(--sans); color: var(--blue-ink); font-variant-numeric: tabular-nums; }
.faq__q { font-size: 18px; font-weight: 700; line-height: 1.45; }
.faq__q small { display: block; margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.faq--10 summary::after { top: 20px; }
.faq__a { padding: 0 48px 24px 40px; max-width: 52em; }
.faq__a p { padding: 0 !important; color: var(--ink-2); line-height: 1.75; }
.faq__a p + p { margin-top: 12px; }
.faq__a a { color: var(--blue-ink); }
@media (max-width: 767px) { .faq--10 summary { grid-template-columns: 30px minmax(0, 1fr); padding-right: 36px; } .faq__q { font-size: 16.5px; } .faq__a { padding: 0 0 20px 30px; } }

/* 문의 보내기 버튼은 오른쪽, 안내 문구는 왼쪽 */
.form__act { grid-column: 1 / -1; display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.form__act .btn { min-width: 160px; }
@media (max-width: 640px) { .form__act .btn { width: 100%; } }

/* 큰 강조 문장(비전·미션·기술 변화): 위 섹션 제목과 구분되게 얇은 본문 글꼴로 */
.sec .statement { font-family: var(--sans); font-weight: 300; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.55; letter-spacing: -.02em; color: var(--ink); }
.sec .statement em { font-weight: 600; }

/* 목록 번호(01·02…, 6·5…) 없이 항목 이름과 설명만 */
.rows__n, .stack small { display: none; }
.rows > li, .rows > div { grid-template-columns: minmax(0, 1fr); }
.stack li { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 4px 32px; }
@media (max-width: 640px) { .stack li { grid-template-columns: 1fr; } .stack span { grid-column: auto; } }

/* 첫 화면 제목: 가운데 정렬 (두 줄 모두 가운데) */
.hero3__h { width: fit-content; max-width: 100%; margin-inline: auto; text-align: center; justify-items: center; }
.hero3__h span:last-child { justify-self: center; text-align: center; padding-left: 0; }

/* 대표·창업팀: 대표 카드(위) + 4명 카드(아래), 누르면 이력 모달 */
.pcard { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 18px; background: var(--tint, #F5F6F8); border: 1px solid transparent; transition: border-color .2s, background .2s, transform .2s; text-align: left; }
.pcard:hover { border-color: var(--ink-3); background: #fff; }
.pcard:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.pcard__role { font: 600 13px/1.4 var(--sans); color: var(--blue-ink); }
.pcard__name { font: 800 24px/1.25 var(--display); color: var(--ink); }
.pcard__name small { margin-left: 8px; font: 600 14px/1 var(--sans); color: var(--ink-3); }
.pcard__q { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.pcard__pts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pcard__pts i { font: 500 13.5px/1.4 var(--sans); font-style: normal; padding: 7px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.pcard__go { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font: 600 14px/1 var(--sans); color: var(--ink); }
.pcard__go svg { width: 16px; height: 16px; transition: transform .2s; }
.pcard:hover .pcard__go svg { transform: rotate(90deg); }
.pcard--lead { width: 100%; padding: 36px 40px; min-height: 0; }
.pcard--lead .pcard__name { font-size: 34px; }
.pcard--lead .pcard__q { font-size: 17px; }
.pgrid { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pgrid .pcard { padding: 24px; }
.pm { border: 0; padding: 0; border-radius: 20px; width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); box-shadow: 0 24px 60px rgba(14, 24, 40, .25); }
.pm::backdrop { background: rgba(14, 24, 40, .6); }
.pm[open] { animation: pmIn .25s cubic-bezier(.2, .7, .3, 1); }
@keyframes pmIn { from { opacity: 0; transform: translateY(12px); } }
.pm__in { position: relative; padding: 40px; }
.pm__x { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--tint, #F5F6F8); font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }
.pm__x:hover { background: var(--line); }
.pm__h { margin-top: 8px; font: 800 30px/1.25 var(--display); }
.pm__h small { margin-left: 8px; font: 600 15px/1 var(--sans); color: var(--ink-3); }
.pm__q { margin-top: 10px; color: var(--ink-2); }
.pm__list { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.pm__list li { position: relative; padding-left: 16px; color: var(--ink-2); line-height: 1.65; }
.pm__list li + li { margin-top: 8px; }
.pm__list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
@media (max-width: 1023px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pgrid { grid-template-columns: 1fr; } .pgrid .pcard { aspect-ratio: auto; } .pcard--lead { padding: 28px; } .pcard--lead .pcard__name { font-size: 28px; } .pm__in { padding: 32px 24px; } }
@media (prefers-reduced-motion: reduce) { .pm[open] { animation: none; } .pcard, .pcard__go svg { transition: none; } }

/* 보유기술: DREAM-AX 6계층 + 플랫폼 구성을 한 표로 */
.stack__out { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 4px 32px; padding: 16px 20px; margin-bottom: 16px; border-radius: 12px; background: var(--blue); color: #fff; }
.stack__out b { font-weight: 700; }
.stack__out span { color: rgba(255, 255, 255, .88); }
@media (max-width: 860px) { .stack__out { grid-template-columns: 1fr; } }
/* 회사소개 연혁 아래 특허 한 줄 */

/* 사이트는 밝은 화면 전용: 기기가 다크 모드여도 모달·입력칸이 어둡게 바뀌지 않게 */
:root { color-scheme: light; }
.pm, .lb { color-scheme: light; background: #fff; color: var(--ink); }
.lb { background: transparent; }
.pm__x:focus { outline: none; }
.pm__x:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.pm__in:focus { outline: none; }
.pcard__sum { display: grid; gap: 6px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.pcard__sum i { font-style: normal; font-size: 14px; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pgrid .pcard .pcard__go { padding-top: 10px; }
.sec .pm__h { font: 800 30px/1.25 var(--display); letter-spacing: -.015em; }
.sec .pm__h small { font: 600 15px/1 var(--sans); }

/* 스크롤 등장 — site.js 가 .rv 를 붙인다(JS 없으면 그냥 보인다). 끝나면 클래스를 떼서 원래 호버·전환을 돌려준다 */
.rv { opacity: 0; }
.rv.is-in { animation: rv-in .7s cubic-bezier(.22, 1, .36, 1) var(--rvd, 0ms) both; }
@keyframes rv-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; } .rv.is-in { animation: none; } }

/* 페이지 머리 오른쪽 버튼 (회사소개: 회사소개서) — 넓은 화면은 제목 옆 오른쪽, 좁으면 설명 아래 */
.phead__act { margin-top: 28px; padding: 16px 24px; font-size: 16px; }
@media (min-width: 900px) {
  .phead--act .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: center; }
  .phead--act .wrap > :not(.phead__act) { grid-column: 1; }
  .phead--act .phead__act { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
}

/* 언어 전환 (EN ↔ KO) */
.nav > a.nav__lang { margin-left: 4px; padding: 6px 8px; font: 600 13px/1 var(--sans); letter-spacing: .04em; color: var(--ink-3); border: 1px solid var(--line); border-radius: 6px; }
.nav > a.nav__lang:hover { color: var(--ink); border-color: var(--ink-3); }
@media (max-width: 900px) { .nav > a.nav__lang { width: auto; align-self: flex-start; margin: 8px 0 0; padding: 8px 10px; } }

/* 영문 로고 글자: 한 줄 유지, 좁은 화면에서는 줄인다 */
.brand b { white-space: nowrap; }
html[lang="en"] .brand b { font-size: 28px; }
@media (max-width: 420px) { html[lang="en"] .brand b { font-size: 22px; } }

/* 회사소개서 — 가로로 밀어 넘기는 슬라이드 + 목차 (site.js 「회사소개서」) */
.bro-sec { border-top: 0; padding-top: 48px; }
.bro__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.bro__count { font-size: 15px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.bro__count b { color: var(--ink); font-weight: 700; }
.bro__count span { margin-left: 14px; color: var(--ink); font-weight: 600; }
.bro__nav { display: flex; gap: 8px; }
.bro__nav button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; transition: border-color .15s, opacity .15s; }
.bro__nav button:hover:not(:disabled) { border-color: var(--ink); }
.bro__nav button:disabled { opacity: .35; cursor: default; }
.bro__nav svg { width: 20px; height: 20px; }
.bro__track { display: flex; gap: 16px; margin-top: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; scroll-behavior: smooth; }
.bro__track::-webkit-scrollbar { display: none; }
.bro__track:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.bro__slide { flex: 0 0 100%; scroll-snap-align: start; }
.bro__img { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--tint); cursor: zoom-in; }
.bro__img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.bro__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px 12px; margin-top: 32px; }
.bro__thumbs a { display: block; text-decoration: none; color: var(--ink-2); font-size: 13px; line-height: 1.4; }
.bro__thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 6px; transition: border-color .15s, box-shadow .15s; }
.bro__thumbs span { display: block; margin-top: 8px; }
.bro__thumbs b { margin-right: 6px; color: var(--ink-3); font-weight: 600; font-variant-numeric: tabular-nums; }
.bro__thumbs a:hover img { border-color: var(--ink-3); }
.bro__thumbs a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.bro__thumbs a[aria-current="true"] img { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.bro__thumbs a[aria-current="true"] b { color: var(--blue-ink); }
.lb--wide { max-width: min(96vw, 1600px); }
@media (max-width: 600px) { .bro__count span { display: none; } .bro__thumbs { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .bro__track { scroll-behavior: auto; } }

/* 홈 사업영역: 왼쪽 목록 · 오른쪽 모션 (site.js 「홈 사업영역」, 모션은 biz-motion.js) */
.bizx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.bizx__list > li { position: relative; grid-template-columns: minmax(0, 1fr); padding: 18px 0 18px 20px; transition: background .2s; }
.bizx__list > li::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; background: transparent; transition: background .2s; }
.bizx__list > li.is-on::before { background: var(--blue); }
.bizx__list > li.is-on h3 { color: var(--blue-ink); }
.bizx__list p { font-size: 15px; }
.bizx__stage { position: sticky; top: calc(var(--hdr) + 32px); background: var(--tint); border-radius: 20px; padding: 16px; }
.bizx__m { display: none; }
.bizx__m.is-on { display: block; animation: bizx-in .35s ease-out; }
.bizx__m svg { display: block; width: 100%; height: auto; }
.bizx .bm { transform-box: fill-box; will-change: transform, opacity; }
@keyframes bizx-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 900px) {
  .bizx { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .bizx__stage { position: relative; top: 0; order: -1; padding: 10px; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) { .bizx__m.is-on { animation: none; } }

/* 마우스 커서 — 반투명 검은 동그라미 하나, 누를 수 있는 곳에서 커지고 진해진다 (cursor.js 가 마우스 화면에서만 켠다: html.has-cur) */
html.has-cur, html.has-cur a, html.has-cur button, html.has-cur summary, html.has-cur label, html.has-cur select, html.has-cur [role="button"] { cursor: none; }
html.has-cur input, html.has-cur textarea { cursor: text; }
.cur { position: fixed; left: -11px; top: -11px; z-index: 9999; width: 22px; height: 22px; border-radius: 50%; pointer-events: none;
  background: rgba(14, 24, 40, .2); transition: background .25s, opacity .15s; will-change: transform; }
.cur.is-link { background: rgba(14, 24, 40, .5); }
.cur.is-hide { opacity: 0; }
/* 모달(dialog)은 맨 위층에 떠서 동그라미가 가려진다 — 열린 동안은 기본 커서 */
html.has-cur:has(dialog[open]), html.has-cur:has(dialog[open]) * { cursor: auto; }
html.has-cur:has(dialog[open]) dialog :is(a, button) { cursor: pointer; }
html:has(dialog[open]) .cur { display: none; }

/* 회사소개 · 회사 개요: 흐름 → 숫자 → 회사 정보 (가볍게) */
.ov-flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; margin-top: 8px; }
.ov-flow::before { content: ""; position: absolute; left: 5px; right: 5px; top: 5px; height: 1px; background: var(--line); }
.ov-flow li { position: relative; padding-top: 22px; padding-right: 12px; }
.ov-flow li::before { content: ""; position: absolute; left: 0; top: 0; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 1.5px solid var(--blue); box-sizing: border-box; }
.ov-flow span { display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ov-flow b { display: block; margin-top: 2px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.ov-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.ov-stats li { padding: 22px 20px 4px 0; }
.ov-stats li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.ov-stats b { display: block; font: 800 clamp(26px, 2.6vw, 34px)/1 var(--display); letter-spacing: -.02em; }
.ov-stats span { display: block; margin-top: 10px; font-size: 15px; font-weight: 600; }
.ov-stats small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-3); }
.ov-card { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.ov-card dt { font-size: 13px; color: var(--ink-3); }
.ov-card dd { margin: 4px 0 0; font-size: 15px; line-height: 1.5; }
.ov-card dd small { display: block; font-size: 13px; color: var(--ink-3); }
@media (max-width: 900px) {
  .ov-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
  .ov-flow::before { display: none; }
  .ov-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .ov-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .ov-card { grid-template-columns: minmax(0, 1fr); } .ov-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── 문서처럼 보이던 곳 개편 (2026-10-26) ───────────────── */
/* 회사소개 · 강점 2열 */
.dif { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--ink); }
.dif li { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-content: start; gap: 2px 8px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.dif span { grid-row: span 2; font-size: 13px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; padding-top: 3px; }
.dif b { font-size: 16px; font-weight: 700; }
.dif p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
/* 비교표: 우리 열만 옅은 블루 + 체크 */
.tbl--cmp th.us, .tbl--cmp td.us { background: rgba(49, 88, 230, .06); }
.tbl--cmp thead th.us { background: var(--blue); color: #fff; border-radius: 10px 10px 0 0; padding-left: 34px; }
.tbl--cmp td.us { font-weight: 600; color: var(--ink); padding-left: 34px; position: relative; }
.tbl--cmp td.us::before { content: ""; position: absolute; left: 14px; top: 1.15em; width: 10px; height: 5px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.tbl--cmp td:not(.us) { color: var(--ink-3); }
/* 연혁: 가로 타임라인 */
.htl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.htl::before { content: ""; position: absolute; left: 5px; right: 0; top: 5px; height: 1px; background: var(--line); }
.htl > li { position: relative; padding: 24px 20px 0 0; }
.htl > li::before { content: ""; position: absolute; left: 0; top: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--blue); }
.htl time { display: block; font: 800 22px/1 var(--display); letter-spacing: -.01em; }
.htl ul { margin-top: 12px; display: grid; gap: 8px; }
.htl li li { font-size: 14px; color: var(--ink-2); line-height: 1.55; padding-left: 0; }
.htl li li::before { display: none; }
.htl li li b { color: var(--ink); }
.htl .more { font-size: 13px; }
/* 로드맵 4칸: 목표 숫자 크게 */
.rmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.rmap > li { padding: 22px 20px 0; border-left: 1px solid var(--line); }
.rmap > li:first-child { padding-left: 0; border-left: 0; }
.rmap__y { display: block; font-size: 13px; font-weight: 600; color: var(--blue-ink); }
.rmap__t { display: block; margin-top: 4px; font-size: 16px; font-weight: 700; }
.rmap__n { margin-top: 18px; font: 800 clamp(26px, 2.4vw, 32px)/1 var(--display); letter-spacing: -.02em; }
.rmap__n small { display: block; margin-top: 6px; font: 500 13px/1.4 var(--sans); color: var(--ink-3); letter-spacing: 0; }
.rmap__d { margin-top: 14px; font-size: 13px; line-height: 1.6; color: var(--ink-2); }
/* 보유기술 · 층 그림 (위로 갈수록 진하게) */
.layers { display: grid; gap: 6px; }
.layers > li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 4px 24px; align-items: center; padding: 16px 22px; border-radius: 12px; }
.layers b { font-size: 15px; font-weight: 700; }
.layers span { font-size: 14px; }
.layers em { font-style: normal; font-size: 13px; opacity: .8; }
.layers > li:nth-child(1) { background: var(--blue); color: #fff; }
.layers > li:nth-child(2) { background: #4A6CEA; color: #fff; }
.layers > li:nth-child(3) { background: #6F8DF0; color: #fff; }
.layers > li:nth-child(4) { background: #B9C8F8; color: var(--ink); }
.layers > li:nth-child(5) { background: #DCE4FC; color: var(--ink); }
.layers > li:nth-child(6) { background: var(--tint); color: var(--ink); }
/* 핵심 기술 4×2 카드 */
.tcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tcards li { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
.tcards span { font-size: 12px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tcards b { margin-top: 10px; font-size: 16px; font-weight: 700; line-height: 1.35; }
.tcards p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--ink); }
.tcards small { margin-top: auto; padding-top: 14px; font-size: 12px; line-height: 1.5; color: var(--ink-3); }
/* 특허: 분야 4개 × 2건 */
.pgroups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pgroups > li { padding: 24px; border-radius: 16px; background: var(--tint); }
.pgroups h3 { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 700; color: var(--blue-ink); }
.pgroups h3 span { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.pgroups ul { margin-top: 12px; display: grid; gap: 14px; }
.pgroups li li { padding-left: 0; }
.pgroups li li::before { display: none; }
.pgroups li li b { display: block; font-size: 15px; font-weight: 700; line-height: 1.45; }
.pgroups li li p { margin-top: 4px; font-size: 13px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 900px) {
  .dif, .pgroups { grid-template-columns: minmax(0, 1fr); }
  .htl, .rmap, .tcards { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .htl::before { display: none; }
  .rmap > li:nth-child(3) { padding-left: 0; border-left: 0; }
  .layers > li { grid-template-columns: minmax(0, 1fr); padding: 14px 16px; }
}
@media (max-width: 520px) { .htl, .rmap, .tcards { grid-template-columns: minmax(0, 1fr); } .rmap > li { padding-left: 0; border-left: 0; } }
/* 층 그림 위 '사용자가 받는 것'은 층이 아니라 결과 — 흰 바탕·파란 테두리로 구분 */
.sec .stack__out { background: #fff; color: var(--ink); border: 1.5px solid var(--blue); margin-bottom: -14px; }
.sec .stack__out b { color: var(--blue-ink); }
.sec .stack__out span { color: var(--ink-2); opacity: 1; }

/* ── 2순위 개편: 짧은 목록 → 가로 칸 (2026-10-27) ── */
.four { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.four > li { padding: 22px 24px 4px; border-left: 1px solid var(--line); }
.four > li:first-child { padding-left: 0; border-left: 0; }
.four > li::before { display: none; }
.four b { display: block; font: 800 clamp(19px, 1.7vw, 22px)/1.3 var(--display); letter-spacing: -.01em; color: var(--ink); }
.four p { margin-top: 10px; font-size: 14px; line-height: 1.65; color: var(--ink-2); }
.four--check b { position: relative; padding-top: 30px; font: 700 16px/1.45 var(--sans); }
.four--check b::before { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.htl--plan > li::before { background: #fff; border: 2px solid var(--blue); box-sizing: border-box; }
.htl--plan > li:first-child::before { background: var(--blue); }
.htl--plan li li b { font-size: 15px; }
@media (max-width: 900px) {
  .four { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
  .four > li:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) { .four { grid-template-columns: minmax(0, 1fr); } .four > li { padding-left: 0; border-left: 0; } }

/* 페이지 스크롤바 숨김 — 스크롤은 그대로 */
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
.statement + .htl { margin-top: 20px; }

/* ── 글자 체계 정렬 (2026-10-27) ─────────────────────────────
   최근 섹션에서 단계 밖 크기(22·17·15·14·12·11px)와 굵기가 섞였다. 역할별로 type.css 단계에 다시 붙인다.
   큰 숫자·이름 = T3 · 항목 제목 = T4 · 설명 = T6 · 본문 안 강조 = T6 + 600 · 번호·태그 = T8 · 보조 설명 = T9 */
.ov-stats b, .rmap__n, .pcard__name, .pm__h { font-family: var(--display); font-weight: 700; font-size: var(--t3-size); line-height: 1.15; letter-spacing: var(--t3-ls); }
.four b, .htl time, .dif b, .rmap__t, .be__t, .faq__q, .tcards b, .pgroups h3 { font-family: var(--sans); font-weight: 600; font-size: var(--t4-size); line-height: var(--t4-lh); letter-spacing: var(--t4-ls); }
.four--check b { font-size: var(--t6-size); font-weight: 600; line-height: var(--t6-lh); }
.four p, .dif p, .htl li li, .rmap__d, .tcards p, .pgroups li li p, .layers span, .ov-card dd, .pcard__q, .bf__pts span, .be__list span, .ov-flow b, .ov-stats span { font-size: var(--t6-size); line-height: var(--t6-lh); font-weight: 400; }
.ov-flow b, .ov-stats span, .layers b, .pgroups li li b, .htl--plan li li b, .htl li li b, .tbl th[scope="row"], .tbl--cmp td.us, .cols li b, .np span, .certs dd, .stack__out b { font-weight: 600; font-size: var(--t6-size); }
.dif span, .tcards span, .be__how span, .ov-flow span, .pcard__role, .pcard__name small, .faq__q small, .rmap__y, .pgroups h3 span { font-family: var(--sans); font-weight: 600; font-size: var(--t8-size); line-height: var(--t8-lh); letter-spacing: var(--t8-ls); }
.rmap__n small, .ov-stats small, .tcards small, .be__tags, .pcard__pts i, .check span, .field label small, .layers em { font-family: var(--sans); font-weight: 400; font-size: var(--t9-size); line-height: var(--t9-lh); letter-spacing: 0; }
.pcard__go { font-size: var(--t7-size); font-weight: 600; }
.bro__count { font-size: var(--t6-size); }
.bro__count b { font-weight: 600; }
.sec .pm__h { font-weight: 700; font-size: var(--t3-size); }
.pcard--lead .pcard__q { font-size: var(--t5-size); line-height: var(--t5-lh); }

/* 짝수 크기 정리 (2026-10-27): 라벨·번호 → T8 12px, 설명·링크 → T9/T7 14px. 영상·모션 그림 속 글자는 예외 */
.ns__label, .faq__n, .bro__thumbs b, .ov-card dt, .nav__pv-k, .cert__zoom { font-size: var(--t8-size); }
.ns__label span { font-size: var(--t8-size); }
.ov-card dd small, .bro__thumbs a, .htl .more, .ftr__cols a, .ftr__cols li { font-size: var(--t9-size); }
.pm__h small, .sec .pm__h small, .pcard__name small { font-size: var(--t7-size); }
.cert__cap dt { font-size: var(--t8-size); }

/* 대표 카드: 위 검은 줄 없음, 평소엔 바탕 없이 글자만 — 마우스를 올리면 옅은 회색 판이 생긴다.
   판이 생겨도 글자 위치는 섹션 글자 줄에 맞도록 안쪽 여백만큼 바깥으로 넓힌다 */
.people { border-top: 0; }
/* 바탕색이 칸 밖으로 번지는 폭. 좌우 여백(--gut)보다 넓으면 화면 밖으로 나가 가로 스크롤이 생긴다 */
.pcard.pcard--lead { --bleed: min(28px, calc(var(--gut) - 4px + max(0px, (100vw - var(--wrap) - var(--gut) - var(--gut-r)) / 2))); background: transparent; border-color: transparent; padding: 28px var(--bleed); margin-inline: calc(-1 * var(--bleed)); width: calc(100% + 2 * var(--bleed)); transition: background .25s ease, border-color .25s ease; }
.pcard.pcard--lead:hover { background: var(--tint); border-color: transparent; }
@media (max-width: 560px) { .pcard.pcard--lead { padding-block: 20px; } }
/* 대표 사진: 이력 모달 안 왼쪽 사각 (회사소개서 2장에서 잘라 씀 — 원본을 받으면 assets/people/ceo.webp 만 바꾼다) */
.pm__in:has(.pm__photo) { display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 28px; align-items: start; }
.pm__in:has(.pm__photo) > :not(.pm__photo):not(.pm__x) { grid-column: 2; }
.pm__photo { grid-column: 1; grid-row: 1 / span 4; width: 150px; height: 200px; object-fit: cover; border-radius: 10px; background: var(--tint); }
@media (max-width: 560px) { .pm__in:has(.pm__photo) { grid-template-columns: minmax(0, 1fr); } .pm__in:has(.pm__photo) > * { grid-column: 1 !important; } .pm__photo { grid-row: auto; width: 120px; height: 160px; margin-bottom: 16px; } }

/* 로고 흐름: 칸 폭 대신 로고마다 계산한 크기(--w·--h, 보이는 면적이 같게) + 같은 간격 */
.ns__track { gap: 64px; }
.np--logo { width: auto; }
.np img { width: var(--w, 120px); height: var(--h, 28px); object-fit: contain; transform: none; }
.np > span, .np a > span { font-size: var(--t6-size); font-weight: 600; }
@media (max-width: 767px) { .ns__track { gap: 40px; } .np--logo { width: auto; } .np img { width: calc(var(--w, 120px) * .8); height: calc(var(--h, 28px) * .8); } }
