/* Studio23 홈페이지 v3 (2026-11-06)
   흰 바탕, 검은 글자. 빨강(#FF2E1F)은 로고와, 로고의 막대를 커서로 쓰는 움직이는 도표에만 쓴다.
   제목 위 영문 라벨, 아이콘, 알약 버튼, 링크 뒤 화살표, 카드 격자, 'A · B · C' 줄은 쓰지 않는다.
   구분은 여백과 글자 크기로 하고, 이미지는 연회색(#F4F4F1) 바탕 위에 올린다.
   움직임은 html.motion(움직임 줄이기 설정이 아닐 때)에서만 켜고, 도표는 화면에 보일 때만 돈다(site.js). */
:root {
  --bg: #FFFFFF;
  --ink: #111111;
  --ink-2: #34342F;
  --muted: #707069;
  --line: #E4E4DF;
  --tint: #F4F4F1;
  --red: #FF2E1F;
  --l9: #BDB092;  /* 서울 지하철 9호선 */
  --l2: #00A84D;  /* 2호선 */
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --latin: "Archivo", "Pretendard Variable", Pretendard, sans-serif;
  --pad: clamp(20px, 4.5vw, 64px);
  --max: 1360px;
  --head: 68px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 24px); }
/* 줄바꿈: 한국어는 어절 단위(keep-all), 마지막 줄에 한 단어만 남지 않게(pretty). 중국어·일본어는 아래 lang 규칙과 src/linebreak.py */
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.75 var(--sans); word-break: keep-all; overflow-wrap: break-word; text-wrap: pretty; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0 0 14px; }
ul, ol, dl { margin: 0; padding: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- 머리 ---------- */
.hd { position: sticky; top: 0; z-index: 40; background: var(--bg); }
.hd .wrap { display: flex; align-items: center; gap: 32px; height: var(--head); }
.hd .brand { display: block; flex: none; line-height: 0; }
.hd .brand img { height: 15px; width: auto; }
@media (max-width: 700px) { .hd .brand img { height: 14px; } }
.gnb { display: flex; gap: clamp(16px, 1.7vw, 30px); margin-left: auto; }
.gnb a { font: 500 15px/1.4 var(--latin); color: var(--ink-2); text-decoration: none; padding: 4px 0; white-space: nowrap; }
.gnb a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.gnb a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.menu-btn { display: none; appearance: none; border: 0; background: none; font: 600 15px/1 var(--latin); color: var(--ink); padding: 10px 0; margin-left: auto; cursor: pointer; }
@media (max-width: 1260px) {
  .gnb { display: none; position: fixed; left: 0; right: 0; top: var(--head); bottom: 0; background: var(--bg); flex-direction: column; gap: 0; padding: 8px var(--pad) 40px; overflow: auto; margin: 0; }
  .gnb.open { display: flex; }
  .gnb a { font-size: 28px; font-weight: 700; padding: 12px 0; color: var(--ink); }
  .menu-btn { display: inline-block; }
}

/* ---------- 글자 ---------- */
.head { padding: clamp(56px, 9vw, 136px) 0 clamp(36px, 5vw, 72px); }
.title { font: 800 clamp(48px, 8vw, 128px)/1.03 var(--sans); letter-spacing: -.05em; }
.title:lang(en) { font-family: var(--latin); font-weight: 700; letter-spacing: -.035em; }
/* 큰 제목: 로고처럼 타이핑하고 끝에 로고의 빨간 막대가 커서로 깜박인다 (site.js) */
.title { position: relative; }
.title .tc { display: inline-block; width: .46em; height: .72em; margin-left: .1em; background: var(--red); vertical-align: baseline; }
.title .tt-gh { color: transparent; }
.title .tt-gh .tc { visibility: hidden; }
.title .tt-live { position: absolute; left: 0; top: 0; right: 0; }
.motion .title[data-tt]:not(.typing) { color: transparent; animation: s23-ink 0s 2.5s forwards; }
.motion .title[data-tt]:not(.typing) .tc { visibility: hidden; animation: s23-show 0s 2.5s forwards; }
@keyframes s23-ink { to { color: var(--ink); } }
.motion .title .tt-live .tc { animation: s23-blink 1.06s steps(1) infinite; }
.motion .title.typing-now .tt-live .tc { animation: none; }
.lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.65; color: var(--ink-2); max-width: 34em; margin: 0; }
.head .lead { margin-top: clamp(24px, 3vw, 40px); }
/* 머리 소개 글의 강제 줄바꿈(build.py lead_html)은 한국어, 영어 기준. 중국어, 일본어는 앞 절이 한 줄을 조금 넘어 짧은 줄이 생겨서 숨긴다 */
html:lang(zh) .lead br, html:lang(ja) .lead br { display: none; }
.toc { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 36px; font-size: 15px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.h2 { font: 700 clamp(28px, 3vw, 42px)/1.25 var(--sans); letter-spacing: -.035em; margin-bottom: 20px; }
/* 영어로만 된 소제목과 목차(About의 Vision, Strategy, Growth Roadmap)는 메뉴·큰 제목과 같은 Archivo */
.h2[lang="en"] { font-family: var(--latin); letter-spacing: -.03em; }
.toc a[lang="en"] { font-family: var(--latin); font-weight: 500; }
.en { display: block; font: 500 15px/1.4 var(--latin); letter-spacing: 0; color: var(--muted); margin-top: 8px; }
.h3 { font: 700 19px/1.4 var(--sans); letter-spacing: -.02em; margin-bottom: 6px; }
.text { max-width: 36em; color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: 14.5px; line-height: 1.6; }
.tl { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.tl:hover { color: var(--red); }
.go { display: inline-block; margin-top: 28px; font-weight: 600; }

/* ---------- 구역 ---------- */
.sec { padding: clamp(56px, 7vw, 112px) 0; }
.lc { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 20px clamp(32px, 5vw, 96px); align-items: start; }
.lc > :first-child .h2 { margin-bottom: 0; }
@media (max-width: 900px) { .lc { grid-template-columns: 1fr; } }
.cols { display: grid; gap: clamp(20px, 2.5vw, 40px); align-items: start; }
.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wide { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 1000px) { .c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .c2, .c3, .c4, .wide { grid-template-columns: 1fr; } .c2.keep { grid-template-columns: repeat(2, minmax(0, 1fr)); } br.d { display: none; } }
.block { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- 이미지 ---------- */
.mat { margin: 0; }
.mat .pic { background: var(--tint); padding: clamp(14px, 2.2vw, 36px); }
.mat img { width: 100%; }
.mat figcaption { margin-top: 12px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.mat figcaption b { color: var(--ink); font-weight: 600; }
.r169 { aspect-ratio: 16 / 9; object-fit: cover; }
.top-left { object-position: left top; }
.gray { background: var(--tint); display: grid; place-items: center; color: var(--muted); font-size: 14px; text-align: center; padding: 24px; }

/* ---------- 목록 ---------- */
.plain { list-style: none; display: grid; gap: 4px; }
.items { list-style: none; display: grid; gap: 20px; }
.items b { display: block; font-weight: 700; }
.items span { color: var(--muted); font-size: 15.5px; }
.col-t { font: 700 22px/1.2 var(--latin); letter-spacing: -.01em; margin-bottom: 18px; }
.seq { --g: clamp(20px, 2.5vw, 40px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); list-style: none; }
.seq > li { position: relative; padding-top: 22px; }
.seq .n { font: 500 14px/1 var(--latin); color: var(--muted); font-variant-numeric: tabular-nums; }
.seq .e { font: 700 clamp(19px, 1.7vw, 24px)/1.2 var(--latin); letter-spacing: -.01em; margin: 12px 0 4px; }
.seq .k { font-weight: 700; margin: 0 0 10px; }
.seq .plain { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) { .seq { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .seq { grid-template-columns: 1fr; } }

/* ---------- 움직이는 도표: 흐름 (정거장을 따라 로고의 빨간 막대가 지나간다) ---------- */
.flow { position: relative; }
.stop { position: absolute; left: 0; top: 1px; width: 0; height: 0; }
.stop::before { content: ""; position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; box-sizing: border-box; border: 2px solid var(--ink); border-radius: 50%; background: var(--ink); }
.seq > li::before, .seq > li::after, .road > div::before, .road > div::after { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 2px; background: var(--ink); }
.seq > li:not(:last-child)::before, .seq > li:not(:last-child)::after { right: calc(-1 * var(--g)); }
.fork .seq > li[data-t="2"]::before, .fork .seq > li[data-t="2"]::after { right: 0; }
@media (max-width: 900px) { .seq > li::before, .seq > li::after { right: 0 !important; } }
.flow .cur { display: none; }
.anim.flow .cur { display: block; position: absolute; left: 0; top: 0; z-index: 2; width: 9px; height: 15px; margin: -25px 0 0 -4.5px; background: var(--red); transition: transform .6s cubic-bezier(.65, 0, .35, 1); }
.anim.flow .cur.jump { transition: none; }
.anim.flow .cur.blink { animation: s23-blink 1.06s steps(1) infinite; }
@keyframes s23-blink { 50% { opacity: 0; } }
.anim.flow .stop::before { background: #fff; transition: background-color .25s; }
.anim.flow .on > .stop::before { background: var(--ink); }
.anim.flow .seq > li::before, .anim.road > div::before, .anim.flow .sl > li::before { background: var(--line); }
.anim.flow .seq > li::after, .anim.road > div::after, .anim.flow .sl > li::after { transform: scaleX(0); transform-origin: left center; transition: transform .6s linear; }
.anim.flow .past::after { transform: scaleX(1) !important; }
.anim.flow.reset .past::after, .anim.flow.reset .on > .stop::before { transition: none; }

/* 10단계 공정 노선 */
.sl { list-style: none; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); margin-top: 40px; }
.sl > li { position: relative; padding: 24px 12px 0 0; }
.sl > li::before, .sl > li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--ink); }
.sl > li:last-child::before, .sl > li:last-child::after { display: none; }
.sl .stop::before { background: #fff; }
.sl .hitl > .stop::before, .anim.flow .sl .hitl > .stop::before { left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 0; background: var(--ink); }
.sl .n { display: block; font: 500 14px/1 var(--latin); color: var(--muted); font-variant-numeric: tabular-nums; }
.sl .nm { display: block; margin-top: 10px; font-weight: 700; line-height: 1.35; }
.sl .old { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.sl .ok { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 700; }
.sl .ok[lang="en"] { font: 600 clamp(10.5px, .95vw, 12.5px)/1.3 var(--latin); letter-spacing: -.005em; white-space: nowrap; }  /* Human-in-the-Loop(2026-11-10, 전에는 '사람 승인') */
.anim.flow .sl .ok { color: var(--muted); transition: color .25s; }
.anim.flow .sl .on .ok { color: var(--ink); }
@media (max-width: 1080px) {
  .sl { grid-template-columns: 1fr; }
  .sl > li { padding: 0 0 26px 34px; }
  .sl > li::before, .sl > li::after { left: 0; right: auto; top: 10px; bottom: -10px; width: 2px; height: auto; }
  .sl .stop { left: 1px; top: 10px; }
  .sl .n { display: inline-block; width: 28px; }
  .sl .nm { display: inline; margin: 0; }
  .sl .old, .sl .ok { margin-left: 28px; }
  .sl .ok { display: block; margin-top: 4px; }
  .anim.flow .sl > li::after { transform: scaleY(0); transform-origin: center top; }
  .anim.line10 .cur { margin: -7.5px 0 0 10px; }
}

/* ---------- 로드맵 ---------- */
.road { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 40px); align-items: start; }
.road { position: relative; }
.road > div { position: relative; padding-top: 22px; }
.road > div:nth-child(1) { margin-top: 120px; }
.road > div:nth-child(2) { margin-top: 60px; }
.road .k { font: 500 14px/1 var(--latin); color: var(--muted); }
.road .t { font: 700 clamp(24px, 2.4vw, 34px)/1.15 var(--latin); letter-spacing: -.02em; margin: 10px 0 4px; }
.road .s { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
@media (max-width: 900px) { .road { grid-template-columns: 1fr; } .road > div { margin-top: 0 !important; } }

/* ---------- 표 ---------- */
.kv { display: grid; grid-template-columns: 160px minmax(0, 1fr); max-width: 880px; }
.kv dt, .kv dd { margin: 0; padding: 13px 0; border-top: 1px solid var(--line); }
.kv dt { color: var(--muted); }
@media (max-width: 560px) { .kv { grid-template-columns: 104px minmax(0, 1fr); } }

/* ---------- 파트너·팀 ---------- */
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 4vw, 56px) clamp(36px, 5vw, 80px); }
.logo-row img { height: clamp(22px, 2.3vw, 32px); width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .78; }
/* People(시안 D): 두 칸에 두 사람씩. 작은 사진과 이름을 머리에 두고, 경력은 굵은 줄 아래 표처럼 한 줄씩 */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px clamp(40px, 6vw, 112px); }
.team header { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; }
.team header img { width: 88px; height: auto; flex: none; }
.team h3 { font: 800 32px/1.1 var(--sans); letter-spacing: -.03em; margin: 0; }
.team header p { margin: 6px 0 0; font-size: 15.5px; }
.team header p b { font-weight: 700; margin-right: 10px; }
.team header p span { color: var(--muted); }
.team .plain { border-top: 2px solid var(--ink); }
.team .plain li { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.people a { text-decoration: none; }
.people img { width: 96px; height: 96px; object-fit: contain; margin-bottom: 12px; }
.people b { display: block; }
.people span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 1000px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .team { grid-template-columns: 1fr; gap: 56px; } }

/* ---------- 홈: 로고와 설명만 ---------- */
body.home { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body.home main { flex: 1 0 auto; display: flex; align-items: center; }
body.home .hero { width: 100%; padding: clamp(40px, 7vh, 96px) 0; }
/* 최종 로고 D-1의 영문 줄: Archivo Bold, 자간 -0.03em, 막대 0.46×0.72em(간격 0.1em) */
.logo-xl { margin: 0; font-size: clamp(56px, min(14vw, 24vh), 212px); color: var(--ink); font-weight: 700; }
.logo-xl .ln { position: relative; display: block; }
.logo-xl .gh, .logo-xl .tp { display: flex; align-items: baseline; gap: .1em; white-space: pre; }
.logo-xl .gh { visibility: hidden; }
.logo-xl .tp { position: absolute; left: 0; top: 0; }
.logo-xl .l-en { font: 700 1em/1 var(--latin); letter-spacing: -.03em; }
.logo-xl i { display: inline-block; flex: none; width: .46em; height: .72em; background: var(--red); }
.motion .logo-xl[data-type]:not(.typing) .tp { visibility: hidden; animation: s23-show 0s 2.5s forwards; }
@keyframes s23-show { to { visibility: visible; } }
.home-say { font: 600 clamp(20px, 2.2vw, 32px)/1.45 var(--latin); letter-spacing: -.02em; color: var(--ink); margin: clamp(28px, 4vw, 56px) 0 0; max-width: 30em; }

/* ---------- 양식 ---------- */
.form { display: grid; gap: 18px; max-width: 640px; }
.form label { display: grid; gap: 6px; font-size: 14.5px; color: var(--ink-2); }
.form input, .form select, .form textarea { font: inherit; font-size: 17px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #BDBDB6; border-radius: 0; padding: 10px 0; width: 100%; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--ink); }
.submit { appearance: none; border: 0; background: var(--ink); color: #fff; font: 600 16px/1 var(--sans); padding: 16px 28px; cursor: pointer; justify-self: start; }
.submit:hover { background: #333; }
.form-note { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- 바닥 ---------- */
.ft { padding: 40px 0 56px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); }
.ft p { margin: 0 0 4px; }
.ft a { color: var(--muted); }
.ft a:hover { color: var(--ink); }
body.home .ft { padding: 20px 0 28px; }

/* ---------- 회사 소개 ---------- */
.vision { font: 700 clamp(30px, 4.2vw, 64px)/1.06 var(--latin); letter-spacing: -.035em; margin: 0 0 24px; }
@media (min-width: 701px) { .vision span { white-space: nowrap; } }
.kv.wide-dt { grid-template-columns: 300px minmax(0, 1fr); }
@media (max-width: 700px) { .kv.wide-dt { grid-template-columns: 1fr; } .kv.wide-dt dd { border-top: 0; padding-top: 0; } }
.sw { list-style: none; display: grid; gap: 10px; margin-top: 24px; }
.sw li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.sw i { width: 28px; height: 28px; border: 1px solid var(--line); flex: none; }

/* ---------- 오시는 길 지도 (src/make_map.py가 그린 SVG) ---------- */
.map { margin: 0; }
.map-svg { display: block; width: 100%; height: auto; }
.map-tall { display: none; }
@media (max-width: 700px) { .map-wide { display: none; } .map-tall { display: block; } }
.map-svg .bg { fill: var(--tint); }
.map-svg .area { fill: #E9E9E3; }
.map-svg .area.lot { fill: #EDEDE8; }
.map-svg .rd { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; }
.map-svg .rail-c { fill: none; stroke: #fff; stroke-linecap: round; }
.map-svg .rail { fill: none; stroke-linecap: round; }
.map-svg .rail.l9, .map-svg .l9 .st, .map-svg .train.l9 { stroke: var(--l9); }
.map-svg .rail.l2, .map-svg .l2 .st, .map-svg .train.l2 { stroke: var(--l2); }
.map-svg .l9 .bd { fill: var(--l9); }
.map-svg .l2 .bd { fill: var(--l2); }
.map-svg .bn { fill: #fff; font-family: var(--latin); font-weight: 700; }
.map-svg text { font-family: var(--sans); }
.map-svg .rn { fill: var(--muted); font-weight: 500; }
.map-svg .lm { fill: #9C9C94; font-weight: 600; }
.map-svg .way { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; }
.map-svg .wmask { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.map-svg .st { fill: #fff; }
.map-svg .sn, .map-svg .hl, .map-svg .hl2 { paint-order: stroke; stroke: var(--tint); stroke-linejoin: round; stroke-width: 6px; }
.map-tall .sn, .map-tall .hl, .map-tall .hl2 { stroke-width: 10px; }
.map-svg .sn { fill: var(--ink); font-weight: 700; }
.map-svg .ex rect { fill: var(--ink); }
.map-svg .ex text { fill: #fff; font-family: var(--latin); font-weight: 700; }
.map-svg .bar { fill: var(--red); }
.map-svg .hl { fill: var(--ink); font-family: var(--latin); font-weight: 700; letter-spacing: -.03em; }
.map-svg .hl2 { fill: var(--ink-2); font-weight: 600; }
.map-svg .sb path { fill: none; stroke: var(--ink-2); }
.map-svg .sb text { fill: var(--ink-2); font-family: var(--latin); font-weight: 500; }
.map-svg .osm { fill: #8E8E86; font-family: var(--latin); font-weight: 500; paint-order: stroke; stroke: var(--tint); stroke-width: 4px; stroke-linejoin: round; }
.map-svg .train { fill: #fff; }
.map { margin-top: 28px; }
.map figcaption { margin-top: 18px; }
.ways { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; }
.ways li { border-top: 2px solid var(--ink); padding-top: 10px; transition: border-color .3s; }
.motion .ways li { border-top-color: var(--line); }
.motion .ways li.now { border-top-color: var(--ink); }
.ways b { display: block; font-weight: 700; }
.lb { display: inline-grid; place-items: center; width: 1.35em; height: 1.35em; margin-right: .45em; border-radius: 50%; color: #fff; font: 700 .78em/1 var(--latin); font-style: normal; vertical-align: .12em; }
.lb.l9 { background: var(--l9); }
.lb.l2 { background: var(--l2); }
.ways span { color: var(--muted); font-size: 15px; }
@media (max-width: 700px) { .ways { grid-template-columns: 1fr; } }
.maplinks { margin: 24px 0 10px; font-weight: 600; }
/* Contact 주소 오른쪽 지도 바로가기: 회사 아이콘만 둔 작은 버튼, 크기는 글자에 맞춘다 */
.mapbtns { display: inline-flex; gap: 6px; margin-left: 14px; vertical-align: middle; position: relative; top: -2px; }
.mapbtn { display: grid; place-items: center; width: 1.5em; height: 1.5em; border: 1px solid var(--line); border-radius: 5px; background: #fff; transition: border-color .15s; }
.mapbtn:hover, .mapbtn:focus-visible { border-color: var(--ink); }
.mapbtn img { display: block; width: auto; height: .95em; }
.anim .here .bar { animation: s23-blink 1.06s steps(1) infinite; }
.map-svg .walker { fill: var(--ink); }

/* ---------- AI 제작 엔진 구성: 지식 그래프 ---------- */
.kg { margin: 0; }
.kg-svg { display: block; width: 100%; height: auto; }
.kg-tall { display: none; }
@media (max-width: 700px) { .kg-wide { display: none; } .kg-tall { display: block; } }
.kg figcaption { margin-top: 12px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.kg figcaption b { color: var(--ink); font-weight: 600; }
/* AI Engine: 지식 그래프와 10단계 공정을 한 그림으로(2026-11-10, 회사소개서 10쪽처럼). 그래프의 세로선이 공정 위 가로선에 닿고,
   가로선에서 단계마다 짧은 선이 내려간다. 빨간 막대가 머무는 단계의 선은 검게. 공정이 세로 목록이 되는 1080px 이하에서는 가로선과 짧은 선을 뺀다 */
.eng .line10 { display: flow-root; }  /* 안 목록의 위 여백(40px)이 밖으로 빠지지 않게: 가로선은 그래프 바로 아래, 공정 줄은 그 40px 아래 */
.eng .line10::before { content: ""; position: absolute; left: 0; width: 90%; top: 0; border-top: 1.4px solid var(--ink); }
.eng .sl .stop::after { content: ""; position: absolute; left: -.6px; top: -40px; height: 33px; border-left: 1.2px solid #C4C4BC; }
.eng .anim.flow .sl > li.on:not(.past) > .stop::after { left: -1px; border-left: 2px solid var(--ink); }
.eng figcaption { margin-top: 28px; }
@media (max-width: 1080px) { .eng .line10::before, .eng .sl .stop::after { display: none; } .eng .line10 { margin-top: 24px; } }
.kg-svg .ed { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.kg-svg .ex2 { fill: none; stroke: #C4C4BC; stroke-width: 1.2; stroke-dasharray: 4 6; }
.kg-svg .tick { fill: none; stroke: var(--ink); stroke-width: 2; }
.kg-svg .sats line { stroke: #D2D2CB; stroke-width: 1.2; }
.kg-svg .sats circle { fill: #C4C4BC; }
.kg-svg .nd { fill: #fff; stroke: var(--ink); stroke-width: 1.6; }
.kg-svg .ring { fill: #fff; stroke: var(--ink); stroke-width: 2; transition: stroke-width .25s ease-out; }
.kg-svg .ring.hit { stroke-width: 5; }
.kg-svg text { font-family: var(--sans); fill: var(--ink); }
.kg-svg .ko { font-weight: 700; }
.kg-svg .en2, .kg-svg .c1 { font-family: var(--latin); font-weight: 500; fill: var(--muted); }
.kg-svg .c2 { font-family: var(--latin); font-weight: 700; letter-spacing: -.02em; }
.kg-svg .pl { font-family: var(--latin); font-weight: 600; letter-spacing: -.01em; }
.kg-svg .pulse { fill: var(--ink); }
.anim.kg-svg .ed { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s ease calc(var(--i) * 90ms + 200ms); }
.anim.kg-svg.in .ed { stroke-dashoffset: 0; }
.anim.kg-svg .nd-g, .anim.kg-svg .sats, .anim.kg-svg .ex2 { opacity: 0; transition: opacity .6s ease calc(var(--i, 6) * 90ms + 500ms); }
.anim.kg-svg.in .nd-g, .anim.kg-svg.in .sats, .anim.kg-svg.in .ex2 { opacity: 1; }

/* ---------- 장면 하나가 만들어지는 과정 (src/engine_demo.py scene_flow) ----------
   위 줄은 10단계, 빨간 막대가 지금 단계 위에 선다. 왼쪽 재료(큐시트, 대사, 인물, 장소)가 가운데 영상 틀로 모이고,
   틀에서 오른쪽 결과(생성 단위, 편집, 업스케일)로 나간다. 지금 단계가 아닌 칸은 흐리게 둔다. */
.scn { --lw: 30px; margin: 36px 0 0; }
html:lang(en) .scn { --lw: 58px; }
html:lang(zh) .scn { --lw: 36px; }
html:lang(ja) .scn { --lw: 50px; }
.scn-rail { list-style: none; position: relative; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); border-top: 1px solid var(--ink); padding-top: 12px; }
.scn-rail li { padding-right: 10px; font-size: 13.5px; line-height: 1.35; color: var(--ink); }
.scn-rail .n { display: block; margin-bottom: 4px; font: 600 12px/1.2 var(--latin); color: var(--muted); }
.scn-rail .t { font-weight: 600; }
.scn-cur { display: none; position: absolute; top: -3px; left: 0; width: 10%; height: 5px; background: var(--red); transform: translateX(calc(var(--s, 0) * 100%)); transition: transform .5s cubic-bezier(.6, 0, .2, 1); }
.scn.anim .scn-cur { display: block; }
.scn.anim .scn-rail li { color: #B5B5AE; transition: color .3s; }
.scn.anim .scn-rail li.on { color: var(--ink); }
.scn.anim .scn-rail li.on .n { color: var(--ink); }
.scn-board { position: relative; display: grid; grid-template-columns: minmax(0, 26fr) minmax(0, 48fr) minmax(0, 26fr); gap: 0 clamp(28px, 4.2vw, 64px); margin-top: 34px; align-items: start; }
.scn-col { position: relative; z-index: 1; display: grid; gap: 26px; }
.scn-mid { position: relative; z-index: 1; align-self: center; }
.scn-out { align-self: center; }
.scn-wire { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.scn-wire path { fill: none; stroke: #DCDCD5; stroke-width: 1.4; transition: stroke .4s; }
.scn-wire path.on { stroke: var(--ink); }
.scn-wire circle { fill: var(--red); }
.sb { background: var(--bg); transition: opacity .5s; }
.sb-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.sb-h b { position: relative; color: var(--ink); font-size: 14.5px; font-weight: 700; }
.sb-h b::before { content: ""; position: absolute; left: -13px; top: .22em; width: 6px; height: .95em; background: var(--red); opacity: 0; }
.scn.anim .sb:not(.on) { opacity: .2; }
.scn.anim .sb.now .sb-h b::before { opacity: 1; }
.cue { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 16px; margin: 0; font-size: 14px; }
.cue dt { color: var(--muted); }
.cue dd { margin: 0; font-weight: 600; }
.sb-line .ko { margin: 0 0 4px; font-size: 13.5px; color: var(--muted); }
.sb-line .zh, .cs [lang="zh-Hans"] { font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", var(--sans); }
.sb-line .zh { margin: 0 0 8px; font-size: 17px; font-weight: 600; line-height: 1.5; }
.sb-f { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 0; font-size: 13px; }
.voice { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.voice[aria-pressed="true"] { color: var(--red); }
.sb-f .ok { color: var(--muted); }
.sheet { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 6px; }
.sheet figure, .loc, .eye figure { margin: 0; }
.sheet img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #F2F2F0; }
.sheet figure:not(:first-child) img { object-fit: contain; }
.sheet figcaption, .eye figcaption { margin-top: 4px; font-size: 12px; color: var(--muted); }
.loc img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sb .en { margin: 8px 0 0; font: 400 12.5px/1.5 var(--latin); color: var(--ink-2); }
.scn-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tint); }
.scn-frame .lay { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s, transform 2.6s cubic-bezier(.4, 0, .2, 1); }
.scn-frame .lay.on { opacity: 1; }
.scn-frame .l-key { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s cubic-bezier(.6, 0, .2, 1), opacity .2s, transform 2.6s cubic-bezier(.4, 0, .2, 1); }
.scn-frame .l-key.on { clip-path: inset(0 0 0 0); }
.scn-frame.zoom .l-key { transform: scale(3.4); transform-origin: 65% 28%; transition: transform 3.2s cubic-bezier(.4, 0, .2, 1); }
.scn-board { transition: opacity .6s; }
.scn.out .scn-board { opacity: 0; }
.slate { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; transition: opacity .4s; }
.slate b { display: block; font: 700 clamp(34px, 4.6vw, 64px)/1 var(--latin); letter-spacing: -.02em; }
.slate span { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); }
.scn-frame:not(.blank) .slate { opacity: 0; }
.tag { position: absolute; bottom: 12px; padding: 5px 10px 5px 22px; background: var(--bg); font-size: 13px; font-weight: 600; opacity: 0; transition: opacity .3s; }
.tag::before { content: ""; position: absolute; left: 10px; top: 50%; width: 6px; height: 12px; margin-top: -6px; background: var(--red); }
.tag.on { opacity: 1; }
.t-ok { left: 12px; }
.t-fr { right: 12px; font-weight: 500; }
.t-fr b { font: 700 14px var(--latin); }
.scn-cap { list-style: none; margin-top: 14px; font-size: 15px; line-height: 1.65; }
.scn-cap li + li { margin-top: 8px; }
.scn.anim .scn-cap li { display: none; }
.scn.anim .scn-cap li.now { display: block; animation: s23-fade .4s both; }
@keyframes s23-fade { from { opacity: 0; transform: translateY(4px); } }
.bar { position: relative; display: flex; gap: 2px; height: 30px; }
.bar i, .tr p i { font-style: normal; }
.bar i { background: var(--tint); }
.bar i span { display: block; padding-left: 6px; font: 600 11px/30px var(--latin); color: var(--muted); }
.bar i.me { background: var(--ink); }
.bar i.me span { color: #fff; }
.ph { position: absolute; top: -4px; bottom: -4px; left: 0; width: 2px; background: var(--red); opacity: 0; }
.scn.anim .sb-unit.now .bar .ph, .scn.anim .sb-edit.now .ph { opacity: 1; }
.takes { list-style: none; display: grid; gap: 5px; margin-top: 12px; transition: opacity .4s; }
.scn.anim .takes:not(.on) { opacity: 0; }
.takes li { display: grid; grid-template-columns: var(--lw) minmax(0, 1fr) max-content; align-items: center; gap: 8px; font: 600 12px var(--latin); color: var(--muted); }
.takes i { height: 8px; background: var(--tint); }
.takes li.pick i { background: var(--ink); }
.takes li b { font: 700 12px var(--sans); color: var(--red); }
.scn.anim .takes li.pick i, .scn.anim .takes li b { transition: background .3s .9s, opacity .3s .9s; }
.scn.anim .takes:not(.on) li.pick i { background: var(--tint); }
.scn.anim .takes:not(.on) li b { opacity: 0; }
.tracks { position: relative; display: grid; gap: 4px; }
.tr { display: grid; grid-template-columns: var(--lw) minmax(0, 1fr); align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.tr p { position: relative; display: flex; gap: 2px; height: 18px; margin: 0; }
.tr p i { background: var(--tint); }
.tr p i span { display: block; padding-left: 4px; font: 600 10px/18px var(--latin); color: var(--muted); }
.tr-v p i, .tr-m p i { position: absolute; top: 3px; bottom: 3px; background: var(--ink-2); }
.tr-m p i { background: #BDBDB5; }
.tracks .ph { left: calc(var(--lw) + 8px); }
.eye { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.eye img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.scn.anim .sb-up .eye .hi img { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s .6s cubic-bezier(.6, 0, .2, 1); }
.scn.anim .sb-up.on .eye .hi img { clip-path: inset(0 0 0 0); }
.fps { display: grid; gap: 4px; margin-top: 12px; }
.fps p { display: grid; grid-template-columns: var(--lw) repeat(5, minmax(0, 1fr)); align-items: center; gap: 3px; margin: 0; font: 600 11px var(--latin); color: var(--muted); }
.fps span { white-space: nowrap; }
.fps i { aspect-ratio: 16 / 9; background: var(--tint) center / cover no-repeat; }
.fps p:first-child i:last-child { grid-column: 6; }
.scn.anim .fps p:last-child i:nth-child(n+3):nth-child(-n+5) { opacity: 0; transition: opacity .3s; }
.scn.anim .sb-up.on .fps p:last-child i:nth-child(3) { opacity: 1; transition-delay: 1.9s; }
.scn.anim .sb-up.on .fps p:last-child i:nth-child(4) { opacity: 1; transition-delay: 2.2s; }
.scn.anim .sb-up.on .fps p:last-child i:nth-child(5) { opacity: 1; transition-delay: 2.5s; }
.scn-src { margin-top: 28px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.scn:not(.anim) .slate { display: none; }
.scn:not(.anim) .l-key { opacity: 1; clip-path: none; }
@media (max-width: 1080px) {
  .scn-rail { grid-template-columns: repeat(10, 104px); overflow-x: auto; scrollbar-width: none; }
  .scn-rail::-webkit-scrollbar { display: none; }
  .scn-cur { width: 104px; }
  .scn-board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .scn-mid { grid-column: 1 / -1; order: -1; }
  .scn-wire { display: none; }
  .sb-h b::before { display: none; }
}
@media (max-width: 620px) { .scn-board { grid-template-columns: 1fr; } }

/* ---------- 실제 제작 콘솔 (src/engine_demo.py console_demo) ----------
   실제 콘솔처럼 맨 위 제목, 탭 15개, 지금 탭 아래 빨간 줄. 탭이 저절로 넘어가며 탭마다 작은 화면이 움직이고,
   생성 탭에서는 아래 줄(콘솔, 공유 데이터베이스, 작업용 PC)로 요청서가 가고 결과가 돌아온다. */
.cs { margin: 44px 0 0; }
.cs-win { border: 1px solid var(--ink); background: var(--bg); }
.cs-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; padding: 16px 22px 12px; border-bottom: 1px solid var(--line); }
.cs-title { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.cs-work { margin: 0; font-size: 13px; color: var(--muted); }
.cs-tabs { position: relative; display: flex; flex-wrap: wrap; padding: 2px 12px 0; border-bottom: 1px solid var(--line); }
.cs-tabs button { padding: 12px 10px 13px; border: 0; background: none; font: 500 14px/1.1 var(--sans); color: var(--muted); white-space: nowrap; cursor: pointer; }
.cs-tabs button[aria-selected="true"] { color: var(--ink); font-weight: 700; }
.cs-tabs button:hover { color: var(--ink); }
.cs-cur { position: absolute; left: 0; top: 0; width: 0; height: 3px; background: var(--red); transition: transform .45s cubic-bezier(.6, 0, .2, 1), width .45s cubic-bezier(.6, 0, .2, 1); }
.cs-body { display: grid; }
.cs-body > .cs-p { grid-area: 1 / 1; }
.cs-body > .cs-p[hidden] { display: grid !important; visibility: hidden; }
.cs-p { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 36px; padding: 28px 26px 32px; }
.cs-k { margin: 0 0 6px; font: 600 12px var(--latin); color: var(--muted); }
.cs-d h3 { margin: 0 0 10px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.cs-d p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.65; }
.cs-d ul { list-style: none; display: grid; gap: 6px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.cs-d li { position: relative; padding-left: 14px; }
.cs-d li::before { content: ""; position: absolute; left: 0; top: .78em; width: 6px; height: 1px; background: var(--ink); }
.cs-v { position: relative; min-width: 0; font-size: 14px; }
.v-stamp { display: inline-block; margin: 14px 0 0; padding: 5px 10px 5px 22px; position: relative; border: 1px solid var(--ink); font-size: 13px; font-weight: 700; }
.v-stamp::before { content: ""; position: absolute; left: 9px; top: 50%; width: 6px; height: 12px; margin-top: -6px; background: var(--red); }
.motion .cs-p.go .v-stamp { animation: s23-stamp .3s 2.2s both; }
@keyframes s23-stamp { from { opacity: 0; transform: scale(1.12); } }
@keyframes s23-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes s23-op { from { opacity: 0; } }
/* 각본 */
.v-script { padding: 18px 20px; background: var(--tint); font-size: 15px; line-height: 1.7; min-height: 150px; }
.v-script p { margin: 0; }
.v-script .sc { font-weight: 700; margin-bottom: 4px; }
.v-dots { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 16px; font-size: 12px; color: var(--muted); }
.v-dots i { display: block; height: 6px; margin-bottom: 6px; background: var(--ink); }
.motion .cs-p.go .v-dots i { animation: s23-fill .3s calc(1.8s + var(--i) * .22s) both; }
@keyframes s23-fill { from { background: var(--line); } }
/* 개요 */
.v-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.v-stats p { margin: 0; padding-left: 14px; border-left: 3px solid var(--ink); }
.v-stats b { display: block; font: 700 34px/1.1 var(--latin); letter-spacing: -.02em; }
.v-stats em { font-style: normal; }
.v-stats span { font-size: 13px; color: var(--muted); }
.v-flow { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 22px 0 0; font-size: 13px; }
.v-flow span { position: relative; padding: 0 16px 0 0; }
.v-flow span:not(:last-child)::after { content: ""; position: absolute; right: 5px; top: 50%; width: 6px; height: 1px; background: var(--muted); }
.motion .cs-p.go .v-flow span { animation: s23-lit .3s calc(.3s + var(--i) * .28s) both; }
@keyframes s23-lit { from { color: #C4C4BC; } }
/* 큐시트 */
.v-cue { width: 100%; border-collapse: collapse; font-size: 13px; }
.v-cue th { text-align: left; font-weight: 600; color: var(--muted); padding: 0 8px 6px 0; border-bottom: 1px solid var(--ink); }
.v-cue td { padding: 7px 8px 7px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.v-cue td:first-child { font: 700 12.5px var(--latin); }
.motion .cs-p.go .v-cue tbody tr { animation: s23-in .35s calc(.2s + var(--i) * .2s) both; }
.v-band { display: flex; gap: 2px; margin: 12px 0 0; height: 22px; }
.v-band i { background: var(--ink); color: #fff; font: 600 10.5px/22px var(--latin); font-style: normal; padding-left: 5px; }
.motion .cs-p.go .v-band i { animation: s23-fill .3s 1.4s both; }
/* 중국어 대사 */
.v-zh { list-style: none; display: grid; gap: 10px; }
.v-zh li { display: grid; grid-template-columns: 40px minmax(0, 1fr) 110px; grid-template-areas: "c ko s" "c zh fit"; gap: 2px 12px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.v-zh .c { grid-area: c; font: 700 12.5px var(--latin); align-self: start; }
.v-zh .ko { grid-area: ko; font-size: 13px; color: var(--muted); }
.v-zh .zh { grid-area: zh; font-size: 16px; font-weight: 600; }
.v-zh .s { grid-area: s; font: 500 11.5px var(--latin); color: var(--muted); text-align: right; }
.v-zh .fit { grid-area: fit; height: 6px; background: var(--line); }
.v-zh .fit i { display: block; height: 100%; width: calc(var(--f) * 100%); background: var(--ink); }
.motion .cs-p.go .v-zh li { animation: s23-in .35s calc(.2s + var(--i) * .25s) both; }
.motion .cs-p.go .v-zh .fit i { animation: s23-grow .6s calc(.5s + var(--i) * .25s) both; }
@keyframes s23-grow { from { width: 0; } }
/* 캐릭터 시트 */
.v-sheet { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 8px; align-items: start; }
.v-sheet figure { position: relative; margin: 0; }
.v-sheet img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #F2F2F0; }
.v-sheet .b img, .v-sheet .k img { object-fit: contain; }
.v-sheet figcaption { margin-top: 4px; font-size: 12px; color: var(--muted); }
.v-sheet .try { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 3 / 4; display: grid; }
.v-sheet .try i { grid-area: 1 / 1; background: #E2E2DC; opacity: 0; }
.motion .cs-p.go .v-sheet .try i { animation: s23-flick .3s calc(.2s + var(--n, 0) * .3s) both; }
.v-sheet .try i:nth-child(2) { --n: 1; background: #D6D6CF; }
.v-sheet .try i:nth-child(3) { --n: 2; background: #E8E8E2; }
@keyframes s23-flick { 0% { opacity: 0; } 30%, 80% { opacity: 1; } 100% { opacity: 0; } }
.motion .cs-p.go .v-sheet .f img { animation: s23-op .3s 1.1s both; }
.motion .cs-p.go .v-sheet .b img { animation: s23-op .3s 1.6s both; }
.motion .cs-p.go .v-sheet .k img { animation: s23-op .3s 2.1s both; }
.v-check { list-style: none; display: grid; gap: 5px; font-size: 12.5px; }
.v-check li { position: relative; padding-left: 14px; }
.v-check li::before { content: ""; position: absolute; left: 0; top: .45em; width: 6px; height: 10px; background: var(--red); }
.motion .cs-p.go .v-check li { animation: s23-in .25s calc(.3s + var(--i) * .2s) both; }
/* 장소 */
.v-place { display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px; }
.v-place figure { margin: 0; }
.v-place img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.v-place figcaption { margin-top: 4px; font-size: 12px; color: var(--muted); }
.motion .cs-p.go .v-place figure { animation: s23-op .4s both; }
.motion .cs-p.go .v-place figure + figure { animation-delay: .4s; }
.v-env { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; margin: 14px 0 0; font-size: 13px; }
.v-env dt { color: var(--muted); }
.v-env dd { margin: 0; font-family: var(--latin); font-size: 12.5px; }
/* 목소리 */
.v-say { display: flex; gap: 14px; margin: 0 0 14px; font-size: 15px; }
.v-say span:first-child { color: var(--muted); }
.v-wave { list-style: none; display: grid; gap: 8px; }
.v-wave li { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.v-wave p { display: flex; align-items: center; gap: 3px; height: 34px; margin: 0; }
.v-wave p i { flex: 1; height: calc(var(--h) * 3px); background: #C9C9C2; }
.v-wave li.pick { color: var(--ink); font-weight: 700; }
.v-wave li.pick p i { background: var(--ink); }
.motion .cs-p.go .v-wave li p i { animation: s23-eq .32s calc(.3s + var(--i) * 1s) 3 alternate both; }
.motion .cs-p.go .v-wave li.pick p i { animation: s23-eq .32s calc(.3s + var(--i) * 1s) 3 alternate both, s23-pickw .3s 3.4s both; }
@keyframes s23-eq { from { height: 3px; } }
@keyframes s23-pickw { from { background: #C9C9C2; } }
/* 카메라 */
.v-cam { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.v-cam li { padding: 8px 10px; background: var(--tint); }
.v-cam b { display: block; font-size: 13.5px; }
.v-cam span { font: 400 11.5px var(--latin); color: var(--muted); }
.motion .cs-p.go .v-cam li { animation: s23-scan .5s calc(.2s + var(--i) * .18s) both; }
.motion .cs-p.go .v-cam li:nth-child(4) { animation: s23-scan .5s calc(.2s + 3 * .18s) both, s23-pick .3s 2.7s both; }
.v-cam li:nth-child(4) { background: var(--ink); color: #fff; }
.v-cam li:nth-child(4) span { color: #CFCFC8; }
@keyframes s23-scan { 0% { opacity: 0; } 40% { opacity: 1; box-shadow: inset 3px 0 0 var(--red); } 100% { box-shadow: inset 3px 0 0 transparent; } }
@keyframes s23-pick { from { background: var(--tint); color: var(--ink); } }
/* 프리비즈 */
.v-pvz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.v-pvz figure { margin: 0; padding: 8px; border: 1px solid var(--line); }
.v-pvz figure.pick { border-color: var(--ink); }
.v-pvz svg { display: block; width: 100%; height: auto; }
.v-pvz .wall { fill: var(--tint); }
.v-pvz .fov { fill: rgba(17, 17, 17, .08); stroke: var(--ink); stroke-width: 1; }
.v-pvz .pp { fill: #8A8A84; }
.v-pvz .pp.dim { fill: #B9B9B2; }
.v-pvz .cam { fill: var(--ink); }
.v-pvz .pick .cam { fill: var(--red); }
.v-pvz figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; margin-top: 6px; font: 600 12.5px var(--sans); }
.v-pvz figcaption b { color: var(--red); }
.motion .cs-p.go .v-pvz figure { animation: s23-in .35s calc(.2s + var(--i) * .35s) both; }
.motion .cs-p.go .v-pvz figure.pick { animation: s23-in .35s .2s both, s23-pickb .3s 1.8s both; }
@keyframes s23-pickb { from { border-color: var(--line); } }
.motion .cs-p.go .v-pvz figcaption b { animation: s23-op .3s 1.8s both; }
.v-why { margin: 14px 0 0; font-size: 14px; }
.v-why span { display: inline-block; margin-right: 10px; font-weight: 700; }
.motion .cs-p.go .v-why { animation: s23-in .35s 2s both; }
/* 시작 이미지 */
.v-key { margin: 0; }
.v-key img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.v-key figcaption { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.motion .cs-p.go .v-key img { animation: s23-wipe 1.3s .3s cubic-bezier(.6, 0, .2, 1) both; }
@keyframes s23-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
/* 생성 단위 */
.v-gate .lk { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; margin: 0 0 10px; font-weight: 700; }
.v-gate .lk b { font-size: 13px; color: var(--red); transition: color .3s; }
.v-gate .lk b.done { color: var(--ink); }
.v-gate ul { list-style: none; display: grid; gap: 4px; }
.v-gate li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.v-gate li i { grid-area: 1 / 2; font-style: normal; font-size: 12px; color: var(--muted); }
.v-gate li i.y { color: var(--ink); font-weight: 700; padding-left: 12px; position: relative; }
.v-gate li i.y::before { content: ""; position: absolute; left: 0; top: .25em; width: 5px; height: .95em; background: var(--red); }
html:not(.motion) .v-gate li i:not(.y) { display: none; }
.motion .cs-p.go .v-gate li i:not(.y) { animation: s23-out .2s calc(.5s + var(--i) * .4s) both; }
.motion .cs-p.go .v-gate li i.y { animation: s23-op .2s calc(.5s + var(--i) * .4s) both; }
@keyframes s23-out { to { opacity: 0; } }
.v-gate .go { display: flex; align-items: center; gap: 14px; margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.btn { display: inline-block; padding: 7px 16px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 700; }
.motion .cs-p.go .v-gate .btn { animation: s23-unlock .3s 2.6s both, s23-press .25s 3s; }
@keyframes s23-unlock { from { background: #D0D0C9; color: #8A8A84; } }
@keyframes s23-press { 50% { transform: scale(.94); } }
.v-gate .res { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.v-gate .res li { display: flex; justify-content: space-between; padding: 8px 10px; border: 1px solid var(--line); font: 600 13px var(--sans); }
.v-gate .res li.pick { border-color: var(--ink); }
.v-gate .res b { color: var(--red); }
.motion .cs-p.go .v-gate .res li { animation: s23-in .35s 5.2s both; }
.motion .cs-p.go .v-gate .res li + li { animation-delay: 5.5s; }
.motion .cs-p.go .v-gate .res b { animation: s23-op .3s 6.2s both; }
/* 배경음악 */
.v-music .tr { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 10px; margin: 0 0 6px; font-size: 12.5px; color: var(--muted); }
.v-music .tr b { position: relative; display: flex; gap: 2px; height: 26px; }
.v-music .tr b i { background: var(--tint); font: 600 10.5px/26px var(--latin); font-style: normal; color: var(--muted); padding-left: 5px; }
.v-music .tr.m b i { position: absolute; top: 4px; bottom: 4px; padding: 0; background: var(--ink); }
.v-music .tr.m b em { position: absolute; top: 0; bottom: 0; font-style: normal; font-size: 11.5px; line-height: 26px; text-align: center; color: var(--red); border-left: 1px dashed var(--red); border-right: 1px dashed var(--red); }
.motion .cs-p.go .v-music .tr.m b i { animation: s23-grow .7s .4s both; }
.motion .cs-p.go .v-music .tr.m b i + em + i { animation-delay: 1.2s; }
.motion .cs-p.go .v-music .tr.m b em { animation: s23-op .3s 1s both; }
.gauge { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 18px 0 0; font-size: 12.5px; color: var(--muted); }
.gauge b { position: relative; height: 10px; background: var(--line); }
.gauge .band { position: absolute; left: 55%; width: 15%; top: 0; bottom: 0; background: #BDBDB5; }
.gauge .pt { position: absolute; left: 62%; top: -5px; width: 3px; height: 20px; background: var(--red); }
.motion .cs-p.go .gauge .pt { animation: s23-gauge 1.2s 1.6s cubic-bezier(.3, 0, .2, 1) both; }
@keyframes s23-gauge { from { left: 0; } }
/* 편집·자막 */
.v-sub { position: relative; margin: 0; }
.v-sub img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.v-sub p { position: absolute; left: 0; right: 0; bottom: 10%; margin: 0; text-align: center; color: #fff; font-size: clamp(14px, 1.6vw, 20px); font-weight: 600; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.motion .cs-p.go .v-sub p { animation: s23-op .2s 1.6s both; }
.v-tl { position: relative; display: flex; gap: 2px; height: 24px; margin: 10px 0 0; }
.v-tl i { background: var(--tint); font: 600 10.5px/24px var(--latin); font-style: normal; color: var(--muted); padding-left: 5px; }
.v-tl i.me { background: var(--ink); color: #fff; }
.v-tl .ph { opacity: 1; }
.motion .cs-p.go .v-tl .ph { animation: s23-play 3.4s .2s linear both; }
@keyframes s23-play { from { left: 0; } to { left: 100%; } }
/* 규칙·심의 */
.v-rule { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; font-size: 14px; }
.v-rule li { position: relative; padding: 8px 0 8px 16px; border-bottom: 1px solid var(--line); }
.v-rule li::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 12px; margin-top: -6px; background: var(--red); }
.motion .cs-p.go .v-rule li { animation: s23-in .3s calc(.2s + var(--i) * .22s) both; }
/* 저장소 */
.v-store { list-style: none; display: grid; gap: 6px; }
.v-store li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 9px 12px; background: var(--tint); font-size: 13px; }
.v-store b { font: 600 12.5px var(--latin); }
.v-store span { color: var(--muted); }
.motion .cs-p.go .v-store li { animation: s23-in .3s calc(.2s + var(--i) * .25s) both; }
.motion .cs-p.go .v-store li.x { animation: s23-in .3s .7s both, s23-gone .5s 3.1s both; }
@keyframes s23-gone { to { opacity: .25; text-decoration: line-through; } }
.v-del { display: flex; gap: 10px; margin: 14px 0 0; }
.v-del .n2 { background: var(--red); }
.motion .cs-p.go .v-del .btn { animation: s23-press .25s 1.6s; }
.motion .cs-p.go .v-del .n2 { animation: s23-op .2s 1.9s both, s23-press .25s 2.6s; }
/* 콘솔, 공유 데이터베이스, 작업용 PC */
.cs-arch { display: grid; grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr) 112px minmax(0, 1.35fr); margin-top: 16px; }
.cs-arch .an { margin: 0; padding: 12px 14px; border: 1px solid var(--line); font-size: 12.5px; line-height: 1.5; color: var(--muted); transition: border-color .3s; }
.cs-arch .an b { display: block; margin-bottom: 2px; font-size: 14px; color: var(--ink); }
.cs-arch .al { position: relative; margin: 0; }
.cs-arch .al::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); }
.pk { position: absolute; top: 50%; left: 0; margin-top: -11px; padding: 2px 6px; background: var(--bg); border: 1px solid var(--ink); font: 600 11px/16px var(--sans); font-style: normal; white-space: nowrap; opacity: 0; }
.pk.r { background: var(--ink); color: #fff; }
.cs-arch.send .al:nth-child(2) .q { animation: s23-pkr .8s 1.1s both; }
.cs-arch.send .al:nth-child(4) .q { animation: s23-pkr .8s 1.9s both; }
.cs-arch.send .pc { animation: s23-busy 1.2s 2.7s both; }
.cs-arch.send .al:nth-child(4) .r { animation: s23-pkl .8s 3.9s both; }
.cs-arch.send .al:nth-child(2) .r { animation: s23-pkl .8s 4.7s both; }
@keyframes s23-pkr { 0% { left: 0; transform: translateX(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: 100%; transform: translateX(-100%); opacity: 0; } }
@keyframes s23-pkl { 0% { left: 100%; transform: translateX(-100%); opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: 0; transform: translateX(0); opacity: 0; } }
@keyframes s23-busy { 0%, 100% { border-color: var(--line); } 20%, 80% { border-color: var(--ink); box-shadow: inset 3px 0 0 var(--red); } }
.cs-cap { margin-top: 16px; font-size: 13px; line-height: 1.6; color: var(--muted); }
@media (max-width: 900px) {
  .cs-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .cs-tabs::-webkit-scrollbar { display: none; }
  .cs-p { grid-template-columns: 1fr; gap: 22px; padding: 22px 18px 24px; }
  .cs-arch { grid-template-columns: 1fr; }
  .cs-arch .al { height: 34px; }
  .cs-arch .al::before { left: 24px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .pk { display: none; }
}
@media (max-width: 560px) {
  .v-cam, .v-rule { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-sheet { grid-template-columns: 1.6fr 1fr 1fr; }
  .v-check { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-zh li { grid-template-columns: 36px minmax(0, 1fr) 84px; }
}

/* ---------- 회사 소개 CI: 흰 바탕 ---------- */
.ci-logo { margin: 0; padding: clamp(32px, 6vw, 88px) clamp(24px, 5vw, 72px); background: #FFFFFF; border: 1px solid var(--line); }
.ci-logo img { width: min(100%, 520px); }

/* ---------- 언어 선택(머리 오른쪽 위)과 중국어·일본어 페이지 글꼴 ---------- */
.lang { display: flex; align-items: center; gap: 13px; margin-left: 30px; }
.lang a { padding: 6px 0; font: 500 13px/1 var(--latin); color: var(--muted); text-decoration: none; white-space: nowrap; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { color: var(--ink); font-weight: 700; }
.lang a:lang(zh) { font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", var(--latin); }
.lang a:lang(ja) { font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, var(--latin); }
@media (max-width: 1260px) { .lang { margin-left: auto; } .menu-btn { margin-left: 22px; } }
@media (max-width: 380px) { .lang { gap: 10px; } .menu-btn { margin-left: 16px; } }
html:lang(zh) { --sans: "Pretendard Variable", Pretendard, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
html:lang(ja) { --sans: "Pretendard Variable", Pretendard, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; }
/* 중국어·일본어: 빌드 때 src/linebreak.py 가 단어(구) 경계에 넣은 <wbr>, 공백, 문장부호에서만 줄을 바꾼다. 들어갈 자리가 없을 때만 아무 곳에서나(anywhere) */
:lang(zh), :lang(ja) { word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
/* 영어 페이지: 한글 제목 옆에 두던 영문 부제와 지식 그래프의 한글 줄은 번역하면 같은 말이 되므로 숨긴다 */
html:lang(en) .h2 .en { display: none; }
html:lang(en) .kg-svg .ko { display: none; }
html:lang(en) .kg-svg .en2 { transform: translateY(-1em); font-weight: 700; fill: var(--ink); }
/* 번역하면 같은 말이 두 번 나오는 곳: 영어의 카메라 영문 이름, 중국어의 한국어 대사 줄 */
html:lang(en) .v-cam li span { display: none; }
html:lang(zh) .v-zh .ko, html:lang(zh) .sb-line .ko { display: none; }

/* ---------- CEO Message(시안 A): 왼쪽 인사말(소제목 세 묶음), 오른쪽 자르지 않은 대표 사진과 직함, 서명 ---------- */
.msg { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.msg-t { max-width: 44em; container-type: inline-size; }
.msg-t p { margin: 0 0 20px; font-size: 17.5px; line-height: 1.95; color: var(--ink-2); }
.msg-t > p:last-child { margin-bottom: 0; }
/* 글자 배치는 좌우 폭에 맞춘다(2026-11-13 사용자 요청: "글자 배치는 좌우 폭에 맞게"). 양쪽 정렬이라 문단 마지막 줄은 왼쪽에 붙는다.
   글 칸이 600px 보다 좁으면(휴대폰, 좁은 창, 두 칸 배치의 1250px 아래) 왼쪽에 맞춘다. 칸이 좁으면 한 줄에 열아홉~삼십 글자라
   양쪽을 맞출 때 한국어·영어는 낱말 사이가 평소의 2.5~15배로 벌어지고(Safari), 일본어는 어떤 줄은 글자 사이가 글자 폭의 절반까지 벌어졌다.
   휴대폰까지 맞추려면 아래 600px 를 낮추면 되지만 그 폭에서는 줄마다 벌어짐이 들쭉날쭉하다. 칸이 600px 이상이면 모든 언어, 브라우저에서 이상 없음을 확인했다 */
@container (min-width: 600px) { .msg-t > p { text-align: justify; } }
/* 한국어는 남는 폭을 낱말 사이가 아니라 글자 사이로 나눠 준다(Chrome, Edge, Firefox): 글자당 평균 1px 안팎이라 거의 티가 안 난다. Safari 는 이 속성이 없어 낱말 사이로 나눈다 */
html:lang(ko) .msg-t > p { text-justify: inter-character; }
/* 맺는 문장은 굵게(2026-11-13 사용자 요청: "마지막 문장은 볼드로"). 소제목과 같은 진한 글자색.
   줄을 직접 나눈 문장이라 양쪽 정렬에서 뺀다(맞추면 첫 줄이 길게 늘어난다) */
.msg-t > p:last-child { font-weight: 700; color: var(--ink); text-align: left; }
/* 맺는 문장: 한국어는 '시대,' 뒤에서 줄을 바꾼다(build.py CEO_BODY 의 \n). 그대로 흘리면 화면 폭에 따라 마지막 줄에 '열어가겠습니다.'만 남았다.
   번역문에는 \n 이 없어 다른 언어는 그대로 흐른다(중국어·일본어는 \n 이 휴대폰에서 빈칸으로 보여 넣지 않았다).
   영어는 두 줄 길이를 맞춘다(일본어는 길이를 맞추면 '創作の / 新しい時代'로 갈라져 그대로 둔다) */
.msg-t > p:last-child { white-space: pre-line; }
html:lang(en) .msg-t > p:last-child { text-wrap: balance; }
/* 소제목(2026-11-13 사용자 요청: 세 줄을 굵게, 소제목처럼 따로 빼서). 본문보다 조금 크고 진하게, 묶음 사이는 넓게 띄운다 */
.msg-t .msg-h { margin: 56px 0 16px; font: 700 clamp(20px, 1.75vw, 23px)/1.5 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.msg-t .msg-h:first-child { margin-top: 0; }
/* 영어 소제목은 영문 글꼴로. :lang 이라 한국어 페이지의 영어 줄(lang="en")과 영어 페이지의 세 줄 모두에 걸린다 */
.msg-t .msg-h:lang(en) { font-family: var(--latin); letter-spacing: -.015em; }
.msg-p { margin: 0; }
/* 글이 사진보다 훨씬 길어서, 두 칸 배치에서는 사진과 서명이 글을 읽는 동안 화면 위쪽에 붙어 따라온다(사진과 서명은 가장 클 때 약 624px 라, 그만큼 들어가지 않는 낮은 화면에서는 따라오지 않는다) */
@media (min-width: 901px) and (min-height: 740px) { .msg-p { position: sticky; top: calc(var(--head) + 32px); } }
/* 직함과 이름: 사진 아래 오른쪽 끝에 맞춘다(글 끝에 있던 것을 2026-11-13 사용자 요청으로 옮김) */
.msg-p .sign { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; margin-top: 20px; color: var(--ink); }
.msg-p .sign span { font-size: 14.5px; color: var(--muted); }
.msg-p .sign b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }  /* 서명 그림이 없을 때의 이름 글자 */
/* 이름은 영어 필기체 서명 그림(ceo-sign.png). 사진 폭의 56%, 오른쪽 끝을 축으로 조금 올려 쓴 것처럼 기울인다 */
/* 기울이면 왼쪽 끝이 그림 상자 아래로 14~20px 내려가므로 아래 여백을 그만큼 둔다(휴대폰에서는 바로 아래에 글이 온다) */
.msg-p .sign .hand { display: block; width: 56%; max-width: 280px; height: auto; margin: 8px 2px 16px 0; transform: rotate(-4deg); transform-origin: 100% 50%; }
.msg-p img { width: 100%; height: auto; border-radius: 22px; }
@media (max-width: 900px) { .msg { grid-template-columns: 1fr; } .msg-p { order: -1; max-width: 420px; } }
/* 휴대폰 머리글: 로고는 줄이지 않고(flex: none) 칸 사이 간격을 좁혀 한 줄에 둔다 */
@media (max-width: 700px) { .hd .wrap { gap: 16px; } .lang { gap: 10px; } .menu-btn { margin-left: 14px; } }
@media (max-width: 360px) { .lang a:lang(ja) { letter-spacing: -.02em; } .hd .wrap { gap: 12px; } .lang { gap: 8px; } }
/* ---------- Virtual Human: 캐릭터마다 모델 포트폴리오처럼 360도 형체 | 동작 영상 | 얼굴, 전신 ---------- */
/* 형체는 빨간 빛줄기가 아래부터 실루엣만 점으로 찍고 360도 돈다(시안 A, site.js). 영상은 큰 화면에서 4K, 휴대폰에서 1440 */
.vh { padding-top: clamp(24px, 2.6vw, 36px); border-top: 1px solid var(--ink); }
.vh + .vh { margin-top: clamp(64px, 8vw, 120px); }
.vh-h { display: flex; align-items: baseline; gap: 16px; margin: 0 0 clamp(20px, 2.4vw, 32px); font: 800 clamp(30px, 3.6vw, 52px)/1.1 var(--sans); letter-spacing: -.04em; }
.vh-h .no { font: 600 15px var(--latin); letter-spacing: 0; color: var(--muted); }
/* 칸 너비 9:16:9. 영상(2:3)이 높이를 정하고, 형체 칸과 오른쪽 열이 같은 높이로 늘어난다 */
.vh-book { display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 16fr) minmax(0, 9fr); gap: 10px; }
.vh-book figure { margin: 0; }
.vh-holo { position: relative; border: 1px solid var(--line); }
.vh-holo canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.vh-hud { position: absolute; left: 14px; right: 14px; top: 10px; display: flex; justify-content: space-between; margin: 0; font: 600 12.5px/1.4 var(--latin); }
.vh-hud span:first-child::before { content: ""; display: inline-block; width: 5px; height: 11px; margin-right: 7px; vertical-align: -1px; background: var(--red); }
.vh-film video { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; background: var(--tint); }
/* 오른쪽 열: 얼굴은 정사각형, 전신은 남은 높이를 채운다(그림은 칸에 맞춰 양옆만 잘림) */
.vh-side { display: flex; flex-direction: column; gap: 10px; }
.vh-face img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center top; background: var(--tint); }
.vh-body { position: relative; flex: 1; min-height: 0; }
.vh-body img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; background: var(--tint); }
@media (max-width: 1000px) {
  .vh-book { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .vh-film { grid-column: 1 / -1; order: -1; }
  .vh-body { flex: none; aspect-ratio: 3 / 5; }
}
}

/* ---------- 사업 소개 궤도 도표 (src/biz_orbit.py, 사용자가 고른 시안 D, 2026-11-08) ----------
   사업마다 원과 궤도로 그린다. 링이 돌고, 막대가 다리를 넘고, 점이 고리 안팎을 드나든다.
   움직임은 SVG 애니메이션(SMIL)이고 site.js 가 화면에 보일 때만 돌린다. 빨강은 움직이는 막대와 커서, 지금 켜진 항목 표시에만. */
.orbit { margin: clamp(40px, 4.6vw, 64px) 0 0; }
.orbit-svg { display: block; width: 100%; height: auto; overflow: visible; }
.orbit-svg text { font-family: var(--sans); fill: var(--ink); }
.orbit-sub { margin-top: clamp(48px, 6vw, 88px); }
.orbit-sub .orbit { margin-top: 20px; }
.orbit-links { margin: 36px 0 0; font-weight: 600; }
.orbit-in { position: relative; }
@media (max-width: 760px) {
  .orbit { overflow-x: auto; margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); padding: 0 var(--pad) 8px; }
  .orbit > .orbit-svg, .orbit-in { min-width: 760px; }
}
.orbit-svg .orb { fill: none; stroke: #CFCFC8; stroke-width: 1.5; }
.orbit-svg .nil { fill: none; stroke: none; }
.orbit-svg .nd { fill: #fff; stroke: var(--ink); stroke-width: 2.2; }
.orbit-svg .core { fill: var(--ink); }
.orbit-svg .axis { fill: none; stroke: #D9D9D3; stroke-width: 1; stroke-dasharray: 3 5; }
.orbit-svg .rhd, .orbit-svg .cursor { fill: var(--red); }
.orbit-svg .arc2 { fill: none; stroke-width: 6; }
.orbit-svg .fence { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.orbit-svg .trail { fill: none; stroke: #DCDCD6; stroke-width: 1.5; }
.orbit-svg .link { fill: none; stroke: #CFCFC8; stroke-width: 1.5; stroke-dasharray: 5 6; }
.orbit-svg .pt rect { fill: var(--ink); }
.orbit-svg .pt2 { fill: #9C9C95; }
.orbit-svg .bump { fill: none; stroke: var(--ink); stroke-width: 2; }
.orbit-svg .chord { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 1 1; }
.orbit-svg .work { fill: var(--ink); }
.orbit-svg .shelf { fill: none; stroke: #CFCFC8; stroke-width: 1.5; }
.orbit-svg .halo { paint-order: stroke; stroke: #fff; stroke-width: 6px; stroke-linejoin: round; }
.orbit-svg .t-ring { font: 600 13px var(--latin); fill: var(--muted); letter-spacing: .02em; }
.orbit-svg .t-nd { font: 600 14px var(--latin); fill: var(--muted); }
.orbit-svg .t-core { font: 700 16px var(--latin); fill: #fff; }
.orbit-svg .t-core2 { font-size: 12.5px; fill: #CFCFC8; }
.orbit-svg .t-ko { font-size: 14px; fill: var(--muted); }
.orbit-svg .t-it { font-size: 14px; fill: var(--muted); }
.orbit-svg .t-st { font-size: 14.5px; font-weight: 600; fill: var(--muted); }
.orbit-svg .t-b { font-size: 16px; font-weight: 700; }
.orbit-svg .t-en2 { font: 600 14.5px var(--latin); fill: var(--muted); }
.orbit-svg .t-hub { font: 700 17px var(--latin); }
.orbit-svg .t-tag { font: 700 13px var(--latin); fill: var(--muted); }
.orbit-svg .t-who { font-size: 20px; font-weight: 700; }
.orbit-svg .t-line { font: 700 20px var(--latin); }
.orbit-in .orbit-holo { position: absolute; left: 36.4%; top: 26%; width: 18.2%; height: 55%; border: 0; }
.orbit-in .orbit-holo .vh-hud { top: auto; bottom: -4px; justify-content: center; gap: 12px; font-size: 11.5px; color: var(--muted); }
/* AI 콘텐츠 제작: 왼쪽 궤도, 오른쪽 지금 서비스(이름, 설명, 예시 영상), 아래 서비스 열두 개.
   궤도가 돌다 서비스가 맨 위 빨간 막대 아래에 오면 멈추고 예시를 보인다(site.js). 목록을 누르면 그 서비스로 간다 */
.orbit-prod { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.op-orbit { align-self: center; }
.op-orbit .orbit-svg { max-width: 560px; margin: 0 auto; }
.op-g { margin: 0; font: 600 14px/1.3 var(--latin); color: var(--muted); }
.op-n { margin: 6px 0 0; font: 700 clamp(26px, 2.5vw, 34px)/1.15 var(--latin); letter-spacing: -.02em; }
.op-d { margin: 8px 0 18px; color: var(--ink-2); }
.op-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tint); }
.op-media video { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.op-pair .a { clip-path: inset(0 0 0 100%); }
.op-ex.run .op-pair .a { animation: op-wipe 6s cubic-bezier(.65, 0, .35, 1) both; }
.op-line { position: absolute; top: 0; bottom: 0; left: 100%; width: 4px; margin-left: -2px; background: var(--red); opacity: 0; }
.op-ex.run .op-line { animation: op-line 6s cubic-bezier(.65, 0, .35, 1) both; }
html:not(.motion) .op-pair .a { clip-path: inset(0 0 0 50%); }
html:not(.motion) .op-line { left: 50%; opacity: 1; }
@keyframes op-wipe { 0%, 22% { clip-path: inset(0 0 0 100%); } 60%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes op-line { 0% { left: 100%; opacity: 0; } 4%, 22% { left: 100%; opacity: 1; } 60% { left: 0; opacity: 1; } 64%, 100% { left: 0; opacity: 0; } }
.op-tag { position: absolute; top: 12px; padding: 4px 10px; background: rgba(255, 255, 255, .92); font-size: 13px; font-weight: 700; line-height: 1.4; }
.op-tag.l { left: 12px; }
.op-tag.r { right: 12px; }
.op-multi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 4px; background: var(--bg); }
.op-multi figure { position: relative; margin: 0; overflow: hidden; background: var(--tint); }
.op-multi figure:first-child { grid-row: 1 / 3; }
.op-multi figcaption { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; background: rgba(255, 255, 255, .92); font-size: 12.5px; line-height: 1.4; }
.op-multi figcaption b { margin-right: 6px; font-family: var(--latin); }
.op-chips { position: absolute; left: 12px; top: 12px; display: flex; gap: 4px; margin: 0; }
.op-chips span { padding: 3px 9px; background: rgba(255, 255, 255, .8); font: 700 12px/1.4 var(--latin); color: var(--muted); }
.op-lines { position: absolute; left: 0; right: 0; bottom: 0; top: 0; margin: 0; pointer-events: none; }
.op-lines span { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; color: #fff; font-size: clamp(14px, 1.4vw, 18px); font-weight: 600; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); opacity: 0; }
.op-copy .op-lines span { left: 6%; right: auto; top: 50%; bottom: auto; transform: translateY(-50%); max-width: 32%; text-align: left; color: var(--ink); font-size: clamp(18px, 2vw, 28px); font-weight: 800; letter-spacing: -.02em; line-height: 1.3; text-shadow: none; }
.op-lines span:first-child, .op-chips span:first-child { opacity: 1; }
.op-chips span:first-child { background: var(--ink); color: #fff; }
.motion .op-lines span:first-child { opacity: 0; }
.motion .op-chips span:first-child { background: rgba(255, 255, 255, .8); color: var(--muted); }
.op-ex.run .op-lines span { animation: op-cyc-t 6s steps(1) infinite; animation-delay: calc(var(--k) * 1.5s); }
.op-ex.run .op-chips span { animation: op-cyc-c 6s steps(1) infinite; animation-delay: calc(var(--k) * 1.5s); }
@keyframes op-cyc-t { 0% { opacity: 1; } 25%, 100% { opacity: 0; } }
@keyframes op-cyc-c { 0% { background: var(--ink); color: #fff; } 25%, 100% { background: rgba(255, 255, 255, .8); color: var(--muted); } }
.op-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 24px; margin: 26px 0 0; }
.op-list > li > p { margin: 0 0 6px; font: 700 15px/1.3 var(--latin); }
.op-list ul { list-style: none; display: grid; gap: 1px; }
.op-list button { position: relative; display: block; width: 100%; padding: 3px 0 3px 14px; border: 0; background: none; font: 500 14px/1.4 var(--latin); color: var(--muted); text-align: left; cursor: pointer; }
.op-list button:hover { color: var(--ink); }
.op-list button[aria-current="true"] { color: var(--ink); font-weight: 700; }
.op-list button[aria-current="true"]::before { content: ""; position: absolute; left: 0; top: .42em; width: 5px; height: 1em; background: var(--red); }
@media (max-width: 900px) {
  .orbit-prod { grid-template-columns: 1fr; }
  .op-orbit .orbit-svg { max-width: 400px; }
}
@media (max-width: 760px) { .orbit.orbit-prod { overflow: visible; margin-left: 0; margin-right: 0; padding: 0; } }
@media (max-width: 560px) { .op-list { grid-template-columns: 1fr; } }
/* 함께 일하는 방식: 원 하나 위에서 6초마다 방식이 바뀐다(biz_orbit.modes). 오른쪽 목록을 누르면 그 방식으로 */
.orbit-svg .md-arc, .orbit-svg .md-arc2 { fill: none; stroke: var(--ink); stroke-width: 6; stroke-dasharray: 1 2; }
.orbit-svg .md-arc2 { stroke: #9C9C95; }
.orbit-svg .md-st { fill: #fff; stroke: var(--ink); stroke-width: 2.6; }
.orbit-svg .md-mk rect, .orbit-svg .md-on { fill: var(--red); }
.orbit-svg .md-mk2 rect, .orbit-svg .md-hollow { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.orbit-svg .md-row { cursor: pointer; outline: none; }
.orbit-svg .md-hit { fill: transparent; }
.orbit-svg .md-row:focus-visible .md-hit { stroke: var(--ink); stroke-width: 2; }
.orbit-svg .t-stg { font-size: 15px; font-weight: 600; }
.orbit-svg .t-mode4 { font-size: 20px; font-weight: 700; }
.orbit-svg .t-core5 { font: 700 16px var(--latin); }
.orbit-svg .t-sm { font-size: 13px; fill: var(--muted); }
/* K-콘텐츠 유통·리메이크: 국내 권리자와 해외 바이어 사이의 STUDIO 23 다리(biz_orbit.kcontent, 시안 1, 2026-11-09) */
.orbit-svg .kc-hang { fill: none; stroke: #CFCFC8; stroke-width: 1; }
.orbit-svg .kc-ink, .orbit-svg .kc-ink2, .orbit-svg .kc-hk { fill: none; stroke: var(--ink); stroke-dasharray: 1 2; }
.orbit-svg .kc-ink { stroke-width: 3; }
.orbit-svg .kc-ink2 { stroke-width: 2; }
.orbit-svg .kc-hk { stroke-width: 1.5; }
.orbit-svg .kc-up { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 3 5; }
.orbit-svg .kc-pn { fill: var(--ink); }
.orbit-svg .kc-bar rect { fill: var(--red); }
.orbit-svg .kc-req rect { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.orbit-svg .t-kst { font-size: 17px; font-weight: 700; fill: var(--muted); }
.orbit-svg .t-ken { font: 600 13px var(--latin); fill: var(--muted); }
/* 영어 페이지에서는 단계 이름이 이미 영어라 같은 줄이 두 번 나오지 않게 뺀다 */
html:lang(en) .orbit-svg .t-ken { display: none; }
/* Creator Platform: 겹치는 원(biz_orbit.creator, 사용자가 고른 시안 5, 2026-11-10). 크리에이터 원 둘이 회색 판 안에서 겹치고 겹친 부분이 작품 */
.orbit-svg .cp-band { fill: #F4F4F1; }
.orbit-svg .cp-plat { font: 700 15px var(--latin); fill: var(--ink); }
.orbit-svg .cp-plat-ko { font-size: 13px; fill: var(--muted); }
.orbit-svg .cp-en { font: 700 17px var(--latin); }
.orbit-svg .cp-ko { font-size: 14px; }
.orbit-svg .cp-base { fill: none; stroke: #CFCFC8; stroke-width: 1.5; }
.orbit-svg .cp-ink { fill: none; stroke: var(--ink); stroke-width: 2.2; }
.orbit-svg .cp-nd { fill: #fff; stroke: var(--ink); stroke-width: 2.2; }
.orbit-svg .cp-sq { fill: var(--ink); }
.orbit-svg .cp-red { fill: var(--red); }
.orbit-svg .cp-ring { fill: none; stroke: var(--ink); stroke-width: 2; }
.orbit-svg .cp-ghost { fill: none; stroke: #CFCFC8; stroke-width: 1.5; stroke-dasharray: 4 4; }
/* ---------- 사업 소개: 첫머리 네 갈래(회사소개서 최종본 5쪽)와 왼쪽 트리 (2026-11-09 사용자 요청) ----------
   네 갈래를 누르면 같은 페이지의 그 사업으로 내려간다. 트리는 페이지 구성과 지금 읽는 곳을 보이고, 빨간 막대가 읽는 곳을 따라간다.
   1600px 이상은 본문 왼쪽 여백에 있고, 그보다 좁으면 머리 아래 한 줄(지금 읽는 곳과 '목차')로 접힌다. 움직임은 site.js [data-btree] */
html.motion:has(.btree) { scroll-behavior: smooth; }
.biz-main .wrap { max-width: none; padding: 0; }
.biz-main > .sec:first-child { padding-top: clamp(32px, 4vw, 56px); }
/* 왼쪽에 트리가 있으니 사업마다 제목과 소개는 왼쪽 칸에 두지 않고 위아래로 둔다(긴 제목이 세 줄로 꺾이지 않게) */
.biz-main .lc { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.biz-main .lc .text { max-width: 44em; }
.nw { white-space: nowrap; }
/* Virtual IP Business 아래 Virtual Human(2026-11-10, 전에는 따로 있던 페이지). 사업 제목(h2)보다 작게 */
.biz-main .vh-sub > .h3 { font: 700 clamp(26px, 2.6vw, 36px)/1.2 var(--latin); letter-spacing: -.025em; margin-bottom: 14px; }
.biz-main .vh-sub > .text { max-width: 44em; }
.biz-main .vh-sub .vhs { margin-top: clamp(32px, 4vw, 48px); }
.biz-main .vh-h { font-size: clamp(22px, 2.2vw, 30px); }
.bp { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bp > li { border-top: 1px solid var(--line); }
.bp > li:nth-child(odd) { border-right: 1px solid var(--line); }
.bp > li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.bp-i { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n n" "t t" "g f"; column-gap: 24px; height: 100%; padding: clamp(24px, 2.8vw, 40px) clamp(20px, 2.4vw, 36px) clamp(28px, 3.2vw, 44px); color: var(--ink); text-decoration: none; }
.bp > li:nth-child(odd) .bp-i { padding-left: 0; }
.bp-n { grid-area: n; display: block; font: 500 14px/1 var(--latin); color: var(--muted); font-variant-numeric: tabular-nums; }
.bp-t { grid-area: t; display: block; margin: 16px 0 12px; font: 700 clamp(24px, 2.5vw, 36px)/1.12 var(--latin); letter-spacing: -.025em; }
.bp-t::after { content: ""; display: inline-block; width: .3em; height: .62em; margin-left: .14em; background: var(--red); opacity: 0; }
.bp-i:hover .bp-t::after, .bp-i:focus-visible .bp-t::after { opacity: 1; }
.bp-tags { grid-area: g; align-self: start; list-style: none; margin: 0; padding: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.bp-tags li { display: inline; }
.bp-tags li + li::before { content: ", "; }
html:lang(zh) .bp-tags li + li::before, html:lang(ja) .bp-tags li + li::before { content: "、"; }
/* 칸마다 오른쪽 위의 작은 도표(src/biz_mini.py): 아래 사업 구역의 큰 도표를 줄인 모양. 높이를 같게 두고 너비는 그림마다 다르다 */
.bp-f { grid-area: f; justify-self: end; align-self: end; }
.bp-svg { display: block; width: auto; height: clamp(56px, 4.6vw, 76px); overflow: visible; }
/* 좁은 화면은 태그 옆 자리가 모자라 번호 줄 오른쪽에 둔다 */
@media (max-width: 760px) { .bp-i { grid-template-areas: "n f" "t t" "g g"; } .bp-n { align-self: end; } .bp-f { margin-bottom: 4px; } }
.bp-svg .bm-g { fill: none; stroke: #CFCFC8; stroke-width: 1.3; }
.bp-svg .bm-l { fill: none; stroke: #D9D9D3; stroke-width: 1.1; }
.bp-svg .bm-ax { stroke: #D9D9D3; stroke-width: 1; stroke-dasharray: 2 3; }
.bp-svg .bm-nd { stroke: var(--ink); stroke-width: 1.4; }
.bp-svg .bm-k, .bp-svg .bm-pt rect { fill: var(--ink); }
.bp-svg .bm-k-line { fill: none; stroke: var(--ink); stroke-width: 1.8; }
.bp-svg .bm-ring { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.bp-svg .bm-r { fill: var(--red); }
.bp-svg .bm-plat { fill: var(--tint); }
.bp-svg .bm-c { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.bp-svg .bm-lens { fill: #4A4A45; }
@media (max-width: 760px) {
  .bp { grid-template-columns: 1fr; }
  .bp > li:nth-child(odd) { border-right: 0; }
  .bp > li:nth-last-child(2) { border-bottom: 0; }
  .bp-i { padding-left: 0; padding-right: 0; }
}
.btree { position: relative; }
.btree-list, .btree-list ol { list-style: none; margin: 0; padding: 0; }
.btree-list { margin-left: 3px; border-left: 1px solid var(--line); }
.btree-list ol { margin: 0 0 6px 18px; border-left: 1px solid var(--line); }
.btree-list a { display: block; padding: 6px 0 6px 17px; font-size: 14px; line-height: 1.35; color: var(--muted); text-decoration: none; }
.btree-list a[lang="en"] { font-family: var(--latin); font-weight: 500; }
.btree-list ol a { padding-left: 15px; font-size: 13.5px; }
.btree-list a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.btree-list a[aria-current] { color: var(--ink); font-weight: 600; }
.btree-cur { position: absolute; left: 0; top: 0; width: 5px; height: 0; background: var(--red); pointer-events: none; }
.motion .btree-cur { transition: transform .35s cubic-bezier(.4, 0, .2, 1), height .35s cubic-bezier(.4, 0, .2, 1); }
/* 넓은 화면(1600px 이상): 트리는 본문 왼쪽 빈 여백에 둔다. 본문은 Business 제목과 같은 자리에서 시작해 밀리지 않는다(2026-11-09 사용자 요청).
   폭 0인 첫 칸에 두고 왼쪽으로 내보낸다. 트리 너비 = 왼쪽 여백 - 화면 끝 16px - 본문과 사이 32px(최대 264px), 좁으면 긴 이름은 두 줄로.
   글자는 2026-11-13 사용자 요청("좌측 트리 크기 조금 더 키워줘")으로 키웠다: 사업 14→16px, 아래 묶음 13.5→15px, 줄 간격과 최대 너비(232→264px)도 함께.
   화면이 넓을수록 커져 1728px 부터 다 커진다. 1600px 에서는 트리 칸이 136px 뿐이라 전과 같은 크기(키우면 이름 여섯 개가 두 줄로 꺾였다) */
@media (min-width: 1600px) {
  .biz { display: grid; grid-template-columns: 0 minmax(0, 1fr); }
  .biz-main { grid-column: 2; grid-row: 1; }
  .btree-list a { padding: 7px 0 7px 18px; font-size: clamp(14px, calc(14px + (100vw - 1600px) / 64), 16px); }
  .btree-list ol { margin: 0 0 8px 19px; }
  .btree-list ol a { padding-left: 16px; font-size: clamp(13.5px, calc(13.5px + (100vw - 1600px) * 1.5 / 128), 15px); }
  .btree { --tw: min(264px, calc((100vw - var(--max)) / 2 + var(--pad) - 48px)); grid-column: 1; grid-row: 1; align-self: start;
           position: sticky; top: max(calc(var(--head) + 24px), calc(50vh - var(--bth, 50vh) / 2)); width: var(--tw); margin: clamp(32px, 4vw, 56px) 0 0 calc(-1 * var(--tw) - 32px); }
  .btree-btn { display: none; }
}
/* 그보다 좁으면 왼쪽 여백이 모자라 머리 아래 한 줄(지금 읽는 곳과 '목차')로 접는다 */
@media (max-width: 1599px) {
  html:has(.btree) { scroll-padding-top: calc(var(--head) + 76px); }
  .btree { position: sticky; top: var(--head); z-index: 30; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); background: var(--bg); border-bottom: 1px solid var(--line); }
  .btree-btn { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; height: 52px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
  .btree-now { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 15px/1.3 var(--sans); }
  .btree-now[lang="en"] { font-family: var(--latin); }
  .btree-more { flex: none; font-size: 14px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }
  .btree-list { display: none; margin-bottom: 18px; }
  .btree.open .btree-list { display: block; }
  .btree-cur { display: none; }
  .btree-list a[aria-current] { box-shadow: inset 4px 0 0 var(--red); }
}
