/* Dalent 홈페이지 — "투자 보고서" 결: 종이색 바탕, 제목·숫자의 영문·숫자는 Hahmlet, 한글은 Pretendard(본문과 같음). 홈페이지1팀 2026-10 */
:root {
  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --card: #fbfaf6;
  --ink: #0f1115;
  --ink-2: #2a2e36;
  --muted: #5b6170;
  --rule: #d6d0c3;
  --blue: #1f4f8f;
  --blue-2: #2f6fd6;
  --amber: #8a5a00;
  --wrap: 1240px;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --display: "Hahmlet Latin", "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); background: var(--paper); color: var(--ink); line-height: 1.65; word-break: keep-all; overflow-wrap: break-word; font-feature-settings: "tnum" 0; }
/* 일본어·중국어: Pretendard는 가나가 없고 한자는 한국식 모양이라 빼고 각 나라 기본 글꼴로. keep-all은 한·중·일 줄바꿈을 막아 풀어 준다 */
:root:lang(ja) { --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  --display: "Hahmlet Latin", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, "Noto Sans JP", "Noto Sans CJK JP", sans-serif; }
:root:lang(zh) { --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --display: "Hahmlet Latin", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif; }
:root:lang(zh-Hant) { --sans: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", "Source Han Sans TC", sans-serif;
  --display: "Hahmlet Latin", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", "Source Han Sans TC", sans-serif; }
/* 라틴 글자 언어(베트남·인니·스페인·프랑스·독일·포르투갈): Pretendard는 é·ü·ã·ệ 같은 글자가 없어 기기 기본 글꼴로. 제목·숫자는 Hahmlet(라틴·베트남 글자 있음) */
:root:is(:lang(vi), :lang(id), :lang(es), :lang(fr), :lang(de), :lang(pt)) { --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Hahmlet Latin", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
:root:lang(th) { --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Thonburi, "Leelawadee UI", "Noto Sans Thai", Tahoma, sans-serif;
  --display: "Hahmlet Latin", -apple-system, BlinkMacSystemFont, "Segoe UI", Thonburi, "Leelawadee UI", "Noto Sans Thai", Tahoma, sans-serif; }
:root:is(:lang(ja), :lang(zh), :lang(th)) body { word-break: normal; line-break: strict; }
:root:lang(de) :is(h1, h2, h3) { hyphens: auto; } /* 독일어 긴 낱말이 폰 화면을 넘지 않게 */
:root:lang(ja) :is(h1, h2, h3) { word-break: auto-phrase; } /* 일본어 제목을 낱말 덩어리에서 끊는다(크롬). 안 되는 브라우저는 그냥 normal */
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin: 0 auto; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.pill { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 4px 11px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.pill.core { color: #fff; background: var(--blue); border-color: var(--blue); }
.pill.dev { color: var(--amber); }
.pill.gov { color: var(--blue); padding: 2px 9px; font-size: 11px; }

/* 머리 */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(244, 241, 234, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo img { height: 22px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 14.5px; font-weight: 500; }
.nav a { position: relative; }
.nav a:not(.cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: var(--ink); transition: right .25s; }
.nav a:not(.cta):hover::after { right: 0; }
.nav .cta { padding: 9px 16px; background: var(--ink); color: #fff; border-radius: 999px; font-weight: 600; }
.nav .cta:hover { background: var(--blue); }
/* 언어 고르기: 펼침 메뉴(details). 열두 언어라 줄 대신 목록으로 */
.lang { position: relative; font-size: 13px; font-weight: 600; }
.lang summary { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-2); cursor: pointer; list-style: none; white-space: nowrap; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 5px; height: 5px; margin-left: 1px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.lang[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.lang summary:hover, .lang[open] summary { border-color: var(--ink); color: var(--ink); }
.lang .globe { flex: none; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 200px; padding: 6px; display: grid; background: var(--card); border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 14px 36px rgba(15, 17, 21, .12); }
.nav .lang ul a { display: block; padding: 8px 12px; border-radius: 7px; color: var(--ink-2); font-weight: 500; white-space: nowrap; }
.nav .lang ul a::after { display: none; }
.nav .lang ul a:hover { background: var(--paper-2); color: var(--ink); }
.nav .lang ul a[aria-current] { color: var(--blue); font-weight: 700; }
.menu-btn { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.menu-btn span, .menu-btn::before, .menu-btn::after { content: ""; position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-btn::before { top: 14px; } .menu-btn span { top: 20px; } .menu-btn::after { top: 26px; }
.menu-open .menu-btn::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span { opacity: 0; }
.menu-open .menu-btn::after { transform: translateY(-6px) rotate(-45deg); }

/* 첫 화면 */
.hero { padding: 72px 0 0; }
.hero-meta { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.hero h1 { margin-top: clamp(48px, 7vw, 96px); font-family: var(--display); font-weight: 750; font-size: clamp(40px, 7.4vw, 104px); line-height: 1.08; letter-spacing: -.025em; }
.hero h1 em { font-style: normal; color: var(--blue); }
.caret { display: inline-block; width: .08em; height: .82em; margin-left: .08em; background: var(--blue-2); vertical-align: -.04em; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-foot { margin-top: 40px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.hero .lead { max-width: 620px; font-size: clamp(16px, 1.5vw, 18.5px); color: var(--ink-2); }
.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; font-weight: 600; font-size: 15px; border: 1px solid var(--ink); border-radius: 999px; transition: background .2s, color .2s, border-color .2s; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: var(--blue); border-color: var(--blue); }
.btn.line:hover { background: var(--ink); color: #fff; }

/* 숫자 넷 */
.ledger { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.ledger li { padding: 22px 24px 30px; border-left: 1px solid var(--rule); display: flex; flex-direction: column; }
.ledger li:first-child { border-left: 0; padding-left: 0; }
.ledger .k { font-size: 13px; font-weight: 600; color: var(--muted); order: -1; }
.ledger b { margin-top: 14px; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.03em; }
.ledger b small { font-size: .42em; font-weight: 600; letter-spacing: 0; margin-left: .06em; }
.ledger .s { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* 칸 공통: 왼쪽에 칸 번호·제목, 오른쪽에 내용 */
.sec { padding: clamp(80px, 10vw, 136px) 0; }
.sec.alt { background: var(--paper-2); }
.grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; }
.sec-head { align-self: start; position: sticky; top: 108px; }
.sec-no { font-family: var(--display); font-size: 15px; color: var(--blue); }
.sec-head h2 { margin-top: 8px; font-family: var(--display); font-weight: 700; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.15; letter-spacing: -.02em; }
.sec-head p { margin-top: 16px; color: var(--muted); font-size: 15px; max-width: 280px; }

/* 사업 */
.biz { border-top: 1px solid var(--ink); }
.biz-item { display: grid; grid-template-columns: 1fr 260px; gap: 40px; padding: 36px 0 40px; border-bottom: 1px solid var(--rule); }
.biz-item .top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.biz-item h3 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.2; letter-spacing: -.02em; }
.biz-item .en { margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--muted); }
.biz-item p { margin-top: 16px; color: var(--ink-2); max-width: 560px; }
.biz-item .points { margin-top: 18px; display: grid; gap: 8px; }
.biz-item .points li { padding-left: 22px; position: relative; font-size: 15px; color: var(--ink-2); }
.biz-item .points li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 1px; background: var(--blue); }
.biz-item .proof { display: grid; gap: 18px; align-content: start; padding-left: 28px; border-left: 1px solid var(--rule); }
.biz-item .proof b { display: block; font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1; letter-spacing: -.03em; }
.biz-item .proof b small { font-size: .42em; font-weight: 600; letter-spacing: 0; margin-left: .06em; }
.biz-item .proof span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.biz-item.core { position: relative; }
.biz-item.core::before { content: ""; position: absolute; left: -28px; top: 36px; bottom: 40px; width: 3px; background: var(--blue); }
.biz-item.core h3 { font-size: clamp(30px, 3.4vw, 44px); }

/* 주요 고객사 */
.logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--rule); }
.logos li { height: 132px; display: grid; place-items: center; padding: 18px; background: var(--card); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.logos img { max-height: 42px; width: auto; }
.logos .wordmark { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; color: var(--ink-2);  overflow-wrap: anywhere; text-align: center; }

/* 연혁 */
.history { border-top: 1px solid var(--ink); }
.history > li { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.history .y { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.1; letter-spacing: -.02em; }
.history > li.now .y { color: var(--blue); }
.history ul { display: grid; gap: 10px; padding-top: 8px; }
.history ul li { display: flex; align-items: baseline; gap: 10px; font-size: 16px; color: var(--ink-2); }
.history ul li .pill { flex: none; }

/* 조직: 팀 구조 + 작은 따옴표 문장 */
.org { border-top: 1px solid var(--ink); padding-top: 40px; }
.org .node { background: var(--card); border: 1px solid var(--rule); padding: 18px 20px; position: relative; }
.org .node .role { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--muted); }
.org .node b { display: block; margin-top: 6px; font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.3; letter-spacing: -.01em; }
.org .node .sub { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ink-2); }
.org-top { display: flex; justify-content: center; position: relative; padding-bottom: 36px; }
.org-top .node { min-width: 260px; text-align: center; background: var(--ink); border-color: var(--ink); color: #f4f1ea; }
.org-top .node .role { color: #aab1bc; }
.org-top .node .sub { color: #c9ced6; }
.org-top::after { content: ""; position: absolute; left: 50%; bottom: 0; height: 36px; width: 1px; background: var(--ink); }
.org-teams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; padding-top: 28px; }
.org-teams::before { content: ""; position: absolute; top: 0; left: calc(100% / 6); right: calc(100% / 6); height: 1px; background: var(--ink); }
.org-teams .node::before { content: ""; position: absolute; left: 50%; top: -29px; height: 28px; width: 1px; background: var(--ink); }
.org-teams .node { text-align: center; }
.org-quote { margin-top: 32px; text-align: center; font-size: 15px; color: var(--muted); }
.org-quote q { quotes: "“" "”"; color: var(--ink-2); font-weight: 500; }

/* 투자·제휴 문의 */
.contact { background: var(--ink); color: #f4f1ea; padding: clamp(88px, 11vw, 152px) 0; }
.contact .eyebrow { color: #9aa1ad; }
.contact h2 { margin-top: 18px; font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6.4vw, 92px); line-height: 1.08; letter-spacing: -.025em; }
.contact .row { margin-top: 48px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; padding-top: 28px; border-top: 1px solid #3a3f49; }
.contact p.lead { color: #b9bfc9; max-width: 520px; }
.contact .mail { font-family: var(--display); font-size: clamp(22px, 2.6vw, 34px); border-bottom: 1px solid #f4f1ea; padding-bottom: 4px; }
.contact .mail:hover { color: #9cc0ff; border-color: #9cc0ff; }
.contact .btn { margin-top: 24px; border-color: #f4f1ea; background: #f4f1ea; color: var(--ink); }
.contact .btn:hover { background: #9cc0ff; border-color: #9cc0ff; }
.contact .right { text-align: right; }

/* 바닥: 주소·전화·메일만 작게 */
.site-footer { background: var(--ink); color: #8a909b; padding: 0 0 36px; font-size: 13px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid #2a2e36; }
.site-footer .info { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-footer .info b { color: #c9ced6; font-weight: 600; }
.site-footer a:hover { color: #f4f1ea; }
.site-footer .nowrap { white-space: nowrap; }

/* 없는 쪽(404) */
.nf-title { margin-top: 48px; font-family: var(--display); font-weight: 600; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.02em; }
.nf-sub { margin-top: 12px; color: var(--muted); }
.nf-btns { margin-top: 28px; }

/* 태블릿 */
@media (max-width: 1080px) {
  .grid { grid-template-columns: 1fr; gap: 32px; }
  .sec-head { position: static; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline; }
  .sec-head h2 { margin-top: 0; }
  .sec-head p { grid-column: 1 / -1; max-width: 560px; }
  .biz-item.core::before { left: -16px; }
  .nav { gap: 18px; font-size: 13.5px; }
  .nav .cta { padding: 8px 13px; }
}
/* 폰 */
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px 24px 22px; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
  .nav a:not(.cta)::after { display: none; }
  .nav .cta { margin-top: 14px; text-align: center; border-bottom: 0; }
  .nav .lang { margin-top: 12px; align-self: stretch; }
  .nav .lang summary { justify-content: center; width: 100%; padding: 10px 14px; font-size: 14px; }
  .nav .lang ul { position: static; margin-top: 8px; grid-template-columns: 1fr 1fr; box-shadow: none; }
  .nav .lang ul a { padding: 10px 12px; border-bottom: 0; font-size: 15px; }
  .menu-open .nav { display: flex; }
  .hero { padding-top: 40px; }
  .hero-meta { font-size: 11px; }
  .hero-foot { grid-template-columns: 1fr; }
  .ledger { grid-template-columns: 1fr 1fr; }
  .ledger li { padding: 18px 0 22px 16px; }
  .ledger li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .ledger li:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .biz-item { grid-template-columns: 1fr; gap: 22px; }
  .biz-item .proof { grid-auto-flow: column; justify-content: start; gap: 36px; padding-left: 0; border-left: 0; padding-top: 18px; border-top: 1px solid var(--rule); }
  .biz-item.core::before { left: -14px; width: 2px; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos .wordmark { font-size: 17px; }
  .logos li { height: 96px; }
  .history > li { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .history .y { font-size: 28px; }
  .history ul li { flex-direction: column; gap: 4px; }
  .org { padding-top: 28px; }
  .org-top { justify-content: flex-start; padding-bottom: 0; }
  .org-top::after { display: none; }
  .org-top .node { min-width: 0; width: 100%; text-align: left; }
  .org-teams { grid-template-columns: 1fr; gap: 10px; padding: 14px 0 0 22px; border-left: 1px solid var(--ink); margin-left: 12px; }
  .org-teams::before { display: none; }
  .org-teams .node { text-align: left; }
  .org-teams .node::before { left: -22px; top: 50%; width: 22px; height: 1px; }
  .org-quote { text-align: left; font-size: 14px; }
  .contact .row { grid-template-columns: 1fr; }
  .contact .right { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
