/* Extracted from the accepted B baseline; scoped to production pages. */
/* B · 상영관 × Connecting the dots — 원칙은 저장소 루트의 DESIGN.md.
     광고 기획 순서(과제 · 타깃 · 맥락 → 인사이트 → 아이디어 → 크래프트)를 도형과 색으로 보이고, 흰 선 하나가 잇는다.
     점은 도형으로 크게, 선은 페이지 전체를 관통한다. 단계 색 말고 UI는 무채색. */
body.b-home {
    --bg: #0f0e0d;
    --surface: #1a1917;
    --ink: #f3efe8;
    --soft: #cbc5bb;
    --muted: #8a847b;
    --line: #2a2825;
    --wire: #ffffff; /* 생각 · 인사이트 · 아이디어 · 잇는 선 */
    --c1: #c6f432; /* 과제 · 원 */
    --c2: #4b6bff; /* 타깃 · 둥근 사각 */
    --c3: #ff5b3a; /* 맥락 · 둥근 삼각 */
    --c4: #ffc933; /* 크래프트 · 실행 · 링 */
    --gutter: clamp(20px, 6vw, 112px); /* 좌우 여백: 1440 화면에서 약 86px. 본문 폭을 줄여 줄 길이와 시선 이동을 줄인다 */
    /* 본문(.wrap, 최대 1440px)의 글자 시작선. 화면 전체 폭 요소의 좌우 여백으로 쓴다(%는 쓰는 자리의 폭 기준). */
    --edge: max(var(--gutter), calc((100% - 1440px) / 2 + var(--gutter)));
    --ease: cubic-bezier(.2, .7, .2, 1);
  }
.b-home * { box-sizing: border-box; margin: 0; }
body.b-home { margin: 0; box-sizing: border-box; background: var(--bg); color: var(--ink); font: 400 17px/1.65 Pretendard, system-ui, sans-serif; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-x: hidden; }
.b-home a { color: inherit; text-decoration: none; }
.b-home .wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.b-home .label { font-size: 14px; color: var(--muted); letter-spacing: .02em; }/* 키보드 초점: 바탕과 구분되는 노란 테두리(실행 색 — 누를 수 있는 것) */
.b-home a:focus-visible, .b-home button:focus-visible { outline: 2px solid var(--c4); outline-offset: 3px; border-radius: 4px; }
.b-home .site-header { position: fixed; inset: 0 0 auto; z-index: 30; display: flex; justify-content: space-between; align-items: center; height: 64px; padding: 0 var(--edge); font-size: 15px; background: rgba(15,14,13,.72); backdrop-filter: blur(12px); }
.b-home .wordmark { font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.b-home .site-header nav { display: flex; gap: 28px; align-items: center; }
.b-home .site-header nav a:not(.cta):hover { color: var(--c4); }
.b-home .cta { padding: 8px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; }/* ── 1. 첫 화면: 돋보기로 들어가 세 도형을 흰 선으로 잇고, 인사이트 → 아이디어 → 링을 지나 쇼릴이 열린다. ── */
.b-home .stage { position: relative; z-index: 3; height: 500vh; }/* 실보다 위: 선이 쇼릴 뒤에서 나온다 */
.b-home .pin { position: sticky; top: 0; height: 100svh; min-height: 600px; overflow: hidden; }
.b-home .pin video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: circle(0 at 50% 50%); }
.b-home #heroSvg, .b-home #heroLines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.b-home #heroSvg text { font-family: Pretendard, sans-serif; fill: var(--ink); }
.b-home #heroSvg text + text { fill: var(--soft); opacity: .7; }
.b-home .hero { position: absolute; inset: 64px var(--edge) 44px; display: grid; grid-template-rows: auto 1fr auto; pointer-events: none; }
.b-home .hero > * { pointer-events: auto; }
.b-home .hero .top { display: flex; justify-content: space-between; padding-top: 32px; }
.b-home .hero .lead { align-self: center; }
.b-home .hero h1 { font-size: clamp(52px, 8.4vw, 120px); line-height: 1.03; letter-spacing: -.055em; font-weight: 800; max-width: 9.5em; }
.b-home .hero h1 span { display: block; width: fit-content; }/* 돋보기 자리를 정할 때 줄 길이를 잰다 */
/* 타이틀 바로 아래 두 버튼: 작업 보기(채움) · 프로젝트 문의하기(테두리). 높이 52px로 누르기 쉽게. */
.b-home .hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3.4vw, 44px); }
.b-home .hero .btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; font-size: 16px; font-weight: 700; border: 1px solid var(--ink); transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.b-home .hero .btn.primary { background: var(--ink); color: var(--bg); }
.b-home .hero .btn.primary:hover { background: transparent; color: var(--ink); }
.b-home .hero .btn.ghost { border-color: rgba(243, 239, 232, .35); color: var(--ink); }
.b-home .hero .btn.ghost:hover { border-color: var(--ink); }/* 스크롤 안내: 화면 아래 가운데, 크게 · 옅게(최대 불투명도는 스크립트의 HINT_OPACITY) */
.b-home .scrollhint { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); font-size: clamp(17px, 1.4vw, 20px); font-weight: 500; color: var(--ink); white-space: nowrap; pointer-events: none; }/* 장면 자막: 화면 아래 가운데에 한 줄 */
.b-home .beat { position: absolute; left: 50%; bottom: 12vh; transform: translateX(-50%); font-size: clamp(22px, 2.4vw, 34px); font-weight: 700; letter-spacing: -.03em; white-space: nowrap; opacity: 0; pointer-events: none; }
.b-home.still .beat { display: none; }
.b-home .reel-cap { position: absolute; left: var(--edge); right: var(--edge); bottom: 28px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--ink); opacity: 0; }
.b-home .reel-cap span { background: rgba(15,14,13,.6); padding: 6px 12px; border-radius: 999px; }
.b-home .toggle { font: inherit; font-size: 14px; color: var(--ink); background: rgba(15,14,13,.6); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.b-home .reel-still { display: none; }/* ── 0. 로딩: 하얀 점들이 진행도만큼 퍼지고, 끝나면 첫 화면 입자 구름의 제자리로 날아가 그대로 구름이 된다. ── */
html.loading, html.loading body { overflow: hidden; }
.b-home #loader { position: fixed; inset: 0; z-index: 60; background-color: var(--bg); transition: background-color .7s var(--ease), opacity .35s var(--ease); }
.b-home #loader canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.b-home #loader.reveal { background-color: rgba(15, 14, 13, 0); pointer-events: none; }
.b-home #loader.done { opacity: 0; }
.b-home .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }/* ── 공통 노드: 도형. 선이 닿기 전엔 윤곽선, 닿으면 색이 차며 한 번 튄다. ── */
.b-home .node { --s: 56px; --c: var(--c1); position: relative; display: inline-grid; place-items: center; width: var(--s); height: var(--s); flex: none; z-index: 2; }
.b-home .node svg { width: 100%; height: 100%; overflow: visible; }
.b-home .node .shape { fill: var(--bg); stroke: var(--c); stroke-width: 3; vector-effect: non-scaling-stroke; transition: fill .35s var(--ease), transform .5s var(--ease); transform-origin: center; transform-box: fill-box; transform: scale(.82); }
.b-home .node.hit .shape { fill: var(--c); transform: scale(1); animation: snap .55s var(--ease); }
@keyframes snap {
0% { transform: scale(.82); }
45% { transform: scale(1.16); }
100% { transform: scale(1); } }
.b-home .n-task { --c: var(--c1); }
.b-home .n-aud { --c: var(--c2); }
.b-home .n-ctx { --c: var(--c3); }
.b-home .n-insight, .b-home .n-idea { --c: var(--wire); }
.b-home .n-craft { --c: var(--c4); }/* ── 2. 실: 이야기 영역 전체에 흰 선 하나. 스크롤을 따라 그어진다. ── */
.b-home .story { position: relative; }
.b-home #thread { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.b-home #thread .wire { fill: none; stroke: var(--wire); stroke-width: 3; stroke-linecap: round; }
.b-home #thread .ghost { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 1.5; stroke-dasharray: 2 8; }
.b-home #thread .head { fill: var(--wire); }
.b-home #thread .halo { fill: none; stroke: var(--wire); stroke-width: 1.5; opacity: .45; }
.b-home .story > * { position: relative; z-index: 2; }
.b-home .wp { position: absolute; width: 1px; height: 1px; }
.b-home section { padding-top: 140px; }
.b-home .head { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: last baseline; gap: 24px; padding-bottom: 20px; margin-bottom: 72px; }
.b-home .head h2 { font-size: clamp(30px, 3.4vw, 48px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.b-home .legend { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--soft); }
.b-home .legend span { display: inline-flex; align-items: center; gap: 8px; }
.b-home .legend em { font-style: normal; color: var(--muted); }
.b-home .legend .lg { width: 18px; height: 18px; display: inline-block; }
.b-home .legend .lg svg { width: 100%; height: 100%; display: block; }
.b-home .legend .lg .shape { fill: var(--c); stroke: none; }/* 쇼릴 아래: 쇼릴 뒤에서 나온 선이 크래프트 링 하나를 물고 대표 작업으로 내려간다. */
.b-home .reel-out { position: relative; display: grid; justify-items: center; padding-top: 120px; }
.b-home .reel-out .wp { left: 50%; top: -80px; }
.b-home .reel-out .node { --s: 76px; }/* 대표 작업 제목 · 범례: 가운데 정렬. 선이 그 뒤로 지나간다(바탕색 판이 가장자리에서 흐려지며 선을 가린다). */
.b-home #work { padding-top: 96px; }
.b-home #work .head { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.b-home #work .head h2, .b-home #work .legend span { background: var(--bg); box-shadow: 0 0 20px 14px var(--bg); }
.b-home #work .legend { justify-content: center; }/* 대표 작업: 화면 가운데 축을 선이 곧게 가르고, 그 축 위에 그 작업의 제작 단계(과제 → 인사이트 → 아이디어 → 실행)가 놓인다.
     글은 축 한쪽, 영상은 다른 쪽에 두고 작업마다 좌우를 바꾼다. 글은 축 쪽으로 붙여 정렬한다. */
.b-home .work { position: relative; display: grid; --axis: 96px; grid-template-columns: 1fr var(--axis) 1fr; column-gap: clamp(20px, 2.6vw, 44px); margin-bottom: 200px; }
.b-home .work > .wp.top { display: none; }/* 접힌 화면에서만: 왼쪽 축의 시작 */
.b-home .work-head { grid-column: 1; grid-row: 1; text-align: right; }
.b-home .work-head .no { font-size: 14px; color: var(--muted); }
.b-home .work-head h3 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.22; letter-spacing: -.035em; font-weight: 700; margin: 10px 0 12px; }
.b-home .roles { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin-top: 4px; }
.b-home .roles span { font-size: 14px; color: var(--soft); padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; }
.b-home .chain .draft { font-style: normal; font-size: 12px; color: var(--bg); background: var(--muted); border-radius: 4px; padding: 0 5px; margin-left: 4px; }
.b-home .chain { grid-column: 1 / -1; grid-row: 2; list-style: none; padding: 0; margin-top: 56px; display: grid; grid-template-columns: subgrid; row-gap: 44px; }
.b-home .chain li { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: start; }
.b-home .chain li > .node { grid-column: 2; grid-row: 1; justify-self: center; }
.b-home .chain li > div { grid-column: 1; grid-row: 1; justify-self: end; max-width: 440px; text-align: right; }
.b-home .chain .node { --s: 64px; }
.b-home .chain small { display: block; font-size: 13px; color: var(--muted); padding-top: 4px; }
.b-home .chain b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin: 2px 0 4px; color: var(--soft); transition: color .5s var(--ease); }
.b-home .chain p { font-size: 16px; color: var(--muted); transition: color .5s var(--ease); }/* 선이 닿기 전: 제목 --soft · 설명 --muted(바탕 대비 5:1 이상). 닿으면 한 단계씩 밝아진다. */
.b-home .chain li.on b { color: var(--ink); }
.b-home .chain li.on p { color: var(--soft); }/* 실행: 축 위의 노란 링. 선이 닿으면 옆 영상의 색이 켜진다. */
.b-home .work > .node { grid-column: 2; grid-row: 3; justify-self: center; align-self: center; margin-top: 56px; --s: 76px; }
.b-home .done-cap { grid-column: 1; grid-row: 3; align-self: center; justify-self: end; max-width: 440px; margin-top: 56px; text-align: right; font-size: 16px; }
.b-home .done-cap small { display: block; font-size: 13px; color: var(--muted); }
.b-home .done-cap b { display: block; color: var(--c4); font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin: 2px 0 4px; }
.b-home .done-cap span { color: var(--soft); }
.b-home .media { grid-column: 3; grid-row: 1 / 4; align-self: center; position: relative; display: block; border-radius: 6px; overflow: hidden; background: var(--surface); aspect-ratio: 16/9; }
.b-home .portrait .media { aspect-ratio: 4/5; width: min(100%, 400px); justify-self: start; }/* 좌우 바꿈: 글은 오른쪽(왼쪽 정렬), 영상은 왼쪽 */
.b-home .flip .work-head, .b-home .flip .chain li > div, .b-home .flip .done-cap { grid-column: 3; justify-self: start; text-align: left; }
.b-home .flip .roles { justify-content: flex-start; }
.b-home .flip .media { grid-column: 1; }
.b-home .flip.portrait .media { justify-self: end; }
.b-home .media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.45); transform: scale(1.06); transition: filter 1s var(--ease), transform 1.2s var(--ease); }
.b-home .lit .media img { filter: none; transform: scale(1); }
.b-home .lit .media:hover img { transform: scale(1.03); }
.b-home .media .play { position: absolute; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(15,14,13,.75); backdrop-filter: blur(8px); opacity: 0; transition: opacity .5s var(--ease) .4s; }
.b-home .lit .media .play { opacity: 1; }
.b-home .media .play::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--c4) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M11 9l9 5-9 5z' fill='%230f0e0d'/%3E%3C/svg%3E") center/100%; }/* Connecting the dots — 마지막 줄의 다섯 점을 실이 가로로 꿰고 지나간다. */
.b-home .ctd { padding: 120px 0 40px; overflow: hidden; }/* 큰 글자는 실 위에 떠 있다: 넓고 진한 그림자로 실이 글자 밑으로 지나가 보이게(바탕 위에서는 거의 안 보인다). */
.b-home .ctd .big { font-size: clamp(64px, 14vw, 230px); font-weight: 800; letter-spacing: -.06em; line-height: .95; white-space: nowrap; padding: 0 var(--edge); text-shadow: 0 .04em .14em rgba(0, 0, 0, .95), 0 .015em .04em rgba(0, 0, 0, .85), 0 .004em .008em rgba(0, 0, 0, .6); }
.b-home .ctd .l1 { transform: translateX(calc(-6vw + var(--c, .5) * 12vw)); }
.b-home .ctd .l2 { position: relative; display: flex; align-items: center; gap: .14em; justify-content: flex-end; transform: translateX(calc(6vw - var(--c, .5) * 12vw)); }/* 실이 들어오는 자리: ‘the dots’ 글자 왼쪽 끝, 점들과 같은 높이. 여기서부터 글자 밑을 가로로 지나 원 → 네모 … 순서로 꿴다. */
.b-home .ctd .l2 .dots-in { left: calc(var(--edge) + clamp(80px, 14vw, 260px)); top: 50%; }/* 왼쪽 여백에서 큰 1/4 원으로 휘어 들어올 자리 */
.b-home .ctd .l2 .dots { display: flex; align-items: center; gap: .14em; }
.b-home .ctd .l2 .node { --s: .46em; }
.b-home .ctd .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 72px; align-items: first baseline; }
.b-home .ctd h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.03em; }
.b-home .ctd p { color: var(--soft); }/* 이어진 작업들: 시리즈의 각 편이 흰 선 위의 노란 점. 한 편씩 이어 만든 흐름이 그대로 선이 된다. */
.b-home .row { margin-bottom: 64px; }
.b-home .row-head { display: flex; gap: 14px; align-items: baseline; margin-bottom: 16px; }
.b-home .row-head h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }/* 넘김 버튼: 넘칠 때만 보이고, 끝에 닿은 쪽은 꺼진다. */
.b-home .rail-nav { margin-left: auto; display: flex; gap: 8px; align-self: center; }
.b-home .rail-nav[hidden] { display: none; }
.b-home .rail-nav button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink); cursor: pointer; transition: border-color .3s var(--ease), opacity .3s var(--ease); }
.b-home .rail-nav button svg { width: 16px; height: 16px; }
.b-home .rail-nav button:hover:not(:disabled) { border-color: var(--soft); }
.b-home .rail-nav button:disabled { opacity: .3; cursor: default; }
.b-home .rail-x { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 3.4); gap: 20px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.b-home .rail-x::-webkit-scrollbar { display: none; }/* 더 볼 것이 있는 쪽 가장자리를 흐리게 — 잘린 카드가 ‘이어진다’로 읽힌다. */
.b-home .rail-x { -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fl, 0px), #000 calc(100% - var(--fr, 0px)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--fl, 0px), #000 calc(100% - var(--fr, 0px)), transparent); }
.b-home .rail-x.more-l { --fl: 48px; }
.b-home .rail-x.more-r { --fr: 140px; }
.b-home .card { scroll-snap-align: start; display: block; }
.b-home .card .tick { position: relative; height: 22px; margin-bottom: 12px; }
.b-home .card .tick::before { content: ""; position: absolute; left: 7px; right: -27px; top: 10px; height: 2px; background: var(--wire); transform-origin: left; transform: scaleX(0); transition: transform .6s var(--ease) calc(var(--i) * .12s); }
.b-home .card:last-child .tick::before { display: none; }
.b-home .card .tick::after { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--c4); transition: background .3s calc(var(--i) * .12s); }
.b-home .row.seen .tick::before { transform: scaleX(1); }
.b-home .row.seen .tick::after { background: var(--c4); }
.b-home .card .ep { position: absolute; left: 22px; top: 2px; padding: 0 6px; background: var(--bg); line-height: 16px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.b-home .card .frame { aspect-ratio: 16/9; border-radius: 4px; overflow: hidden; background: var(--surface); }
.b-home .card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.b-home .card:hover img { transform: scale(1.04); }
.b-home .card h4 { font-size: 16px; font-weight: 500; line-height: 1.4; margin-top: 12px; }
.b-home .card span { font-size: 14px; color: var(--muted); }/* 소개: 광고와 채널, 두 경력을 이은 점이 아랑곳. */
.b-home .about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); }
.b-home .about .name { font-size: clamp(56px, 7vw, 104px); font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.b-home .about .name small { display: block; font-size: 15px; letter-spacing: 0; font-weight: 500; color: var(--muted); margin-top: 16px; }
.b-home .about .lead { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.03em; line-height: 1.4; margin-bottom: 20px; }
.b-home .about p { color: var(--soft); }
.b-home .person { display: flex; gap: 18px; align-items: center; margin-top: 40px; }
.b-home .person img { width: 72px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; filter: grayscale(1); }
.b-home .person b { font-size: 19px; display: block; }
.b-home .person span { font-size: 15px; color: var(--muted); }
.b-home .career { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 44px; padding: 0; }
.b-home .career::before { content: ""; position: absolute; left: 10px; right: calc(100% / 3 - 10px); top: 9px; height: 2px; background: var(--wire); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.b-home .career.seen::before { transform: scaleX(1); }
.b-home .career li { list-style: none; position: relative; padding: 36px 16px 0 0; font-size: 15px; line-height: 1.55; }
.b-home .career li::before { content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 2px solid var(--wire); }
.b-home .career.seen li::before { background: var(--wire); transition: background .3s; }
.b-home .career li:last-child::before { border-color: var(--c4); }
.b-home .career.seen li:last-child::before { background: var(--c4); transition-delay: 1.1s; }
.b-home .career li:nth-child(2)::before { transition-delay: .6s; }
.b-home .career small { display: block; color: var(--muted); font-variant-numeric: tabular-nums; }
.b-home .career b { display: block; font-size: 17px; margin: 4px 0 2px; }
.b-home .career span { color: var(--soft); }/* 함께한 브랜드: 위 두 단(이름 · 소개)과 같은 단 나눔. 라벨은 ‘아랑곳’ 아래, 브랜드는 소개 글 아래에 선다. */
/* 함께한 브랜드: 두 줄 — 라벨, 그 아래 로고 한 줄이 폭 전체에 고르게 퍼진다(좁아지면 줄바꿈). */
.b-home .clients { display: grid; gap: 24px; margin-top: 80px; padding-top: 28px; border-top: 1px solid var(--line); }
.b-home .clients > .label { text-align: center; }/* 로고는 흰 실루엣 하나로(색은 단계에만 쓴다). 높이는 로고마다 --h로 맞추고, 파일이 없는 브랜드는 같은 톤의 이름 글자. */
.b-home .clients ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 32px; padding: 0; list-style: none; }
.b-home .clients li { display: flex; align-items: center; height: 36px; opacity: .62; transition: opacity .3s var(--ease); }
.b-home .clients li:hover { opacity: 1; }/* 화면이 좁아질수록 로고를 함께 줄여 한 줄을 지킨다(1440px에서 1배, 1024px에서 약 .79배). */
.b-home .clients { --lk: clamp(.6, calc(.25 + 100vw / 1900px), 1); }
.b-home .clients img { height: calc(var(--h, 24px) * var(--lk)); width: auto; filter: brightness(0) invert(1); }
.b-home .clients .word { font-size: calc(19px * var(--lk)); font-weight: 800; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }/* 문의: 실의 끝. 아직 비어 있는 다음 점 — 왼쪽 여백을 따라 내려온 선이 상자 왼쪽 가장자리의 점에 닿는다. */
.b-home .contact { position: relative; margin: 160px 0 0; padding: clamp(36px, 6vw, 88px); border-radius: 10px; background: var(--surface); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(24px, 4vw, 56px); }
.b-home .contact .node { position: absolute; left: 0; top: 50%; translate: -50% -50%; --s: clamp(40px, 6vw, 88px); }
.b-home .contact h2 { font-size: clamp(32px, 4.4vw, 64px); line-height: 1.1; letter-spacing: -.05em; font-weight: 800; }
.b-home .contact p { color: var(--muted); margin-top: 14px; }
.b-home .contact .btn { padding: 18px 28px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; white-space: nowrap; }
.b-home footer { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); padding: 40px 0; }/* 움직임 멈춤: 모든 점이 이어진 완성 상태로 고정. */
.b-home.still .stage { height: auto; }
.b-home.still .pin { position: relative; }
.b-home.still .pin video, .b-home.still .reel-cap, .b-home.still .scrollhint { display: none; }
.b-home.still .reel-still { display: block; aspect-ratio: 16/9; width: 100%; margin-top: 32px; }
.b-home.still .reel-still video { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.b-home.still .ctd .big { transform: none; }
.b-home.still .node .shape, .b-home.still .chain li, .b-home.still .media img, .b-home.still .tick::before, .b-home.still .tick::after { transition: none; }
.b-home.still .node.hit .shape { animation: none; }
@media (max-width: 820px) {
.b-home .site-header nav a:not(.cta) { display: none; }
.b-home .head { grid-template-columns: 1fr; gap: 16px; }
.b-home .hero .top span:last-child { display: none; }
.b-home .hero .lead { align-self: end; margin-bottom: 24px; }
.b-home .hero .btn { height: 48px; padding: 0 20px; font-size: 15px; }
.b-home .scrollhint { display: none; }/* 접힌 화면: 축은 왼쪽 단으로. 단계 점 · 실행 링이 그 위에 서고, 글과 영상은 오른쪽 단에 차례로. */
.b-home .work { --axis: 48px; grid-template-columns: var(--axis) 1fr; column-gap: 14px; margin-bottom: 140px; }
.b-home .work > .wp.top { display: block; left: calc(var(--axis) / 2); top: 0; }
.b-home .work-head, .b-home .flip .work-head, .b-home .chain li > div, .b-home .flip .chain li > div, .b-home .done-cap, .b-home .flip .done-cap { grid-column: 2; justify-self: start; text-align: left; }
.b-home .roles, .b-home .flip .roles { justify-content: flex-start; }
.b-home .chain { margin-top: 40px; row-gap: 32px; }
.b-home .chain li > .node { grid-column: 1; }
.b-home .chain .node { --s: 48px; }
.b-home .work > .node { grid-column: 1; margin-top: 40px; --s: 52px; }
.b-home .done-cap { margin-top: 40px; }
.b-home .media, .b-home .flip .media { grid-column: 2; grid-row: 4; margin-top: 20px; }
.b-home .portrait .media, .b-home .flip.portrait .media { justify-self: start; width: 80%; }
.b-home .ctd .wrap, .b-home .about { grid-template-columns: 1fr; }/* 좁은 화면: 한 줄에 다 못 들어가므로 줄바꿈해 폭을 고르게 채운다(로고를 칸에 맞춰 줄이면 글자형 로고가 안 읽힌다). */
.b-home .clients { --lk: .78; }
.b-home .clients ul { justify-content: flex-start; gap: 20px 28px; }
.b-home .clients li { height: 28px; }
.b-home .ctd .wrap { gap: 16px; }/* 좁은 화면: ‘the dots’ 아래 줄에 다섯 점을 왼쪽부터 꿴다(한 줄에 넣으면 글자가 잘린다). */
.b-home .ctd .l2 { flex-wrap: wrap; justify-content: flex-start; row-gap: .12em; }
.b-home .ctd .l2 .dots { flex-basis: 100%; gap: .22em; padding-left: 110px; }/* 왼쪽 여백에서 휘어 들어올 자리를 비운다 */
.b-home .ctd .l2 .dots-in { left: calc(var(--edge) + 72px); top: auto; bottom: .25em; }/* 접힌 화면: 점 줄(높이 .5em)의 가운데 */
.b-home .ctd .l2 .node { --s: .5em; }/* 시리즈 제목 줄: 제목 아래에 연도 · 편수, 오른쪽에 넘김 버튼 */
.b-home .row-head { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 2px; }
.b-home .row-head .label { grid-row: 2; }
.b-home .rail-nav { grid-row: 1 / 3; grid-column: 2; }
.b-home .rail-nav button { width: 44px; height: 44px; }
.b-home .rail-x.more-r { --fr: 56px; }
.b-home .rail-x.more-l { --fl: 24px; }
.b-home .contact { grid-template-columns: 1fr; padding-left: 40px; }
.b-home .contact .btn { justify-self: start; }
.b-home .rail-x { grid-auto-columns: 78%; }
.b-home .career { grid-template-columns: 1fr; gap: 24px; }/* 세로: 칸마다 자기 점에서 다음 점까지 선을 긋는다(칸 높이가 글 길이에 따라 달라서). */
.b-home .career::before { display: none; }
.b-home .career li { padding: 0 0 0 36px; }
.b-home .career li:not(:last-child)::after { content: ""; position: absolute; left: 9px; top: 10px; width: 2px; height: calc(100% + 24px); background: var(--wire); transform-origin: top; transform: scaleY(0); transition: transform .6s var(--ease); }
.b-home .career li:nth-child(2)::after { transition-delay: .6s; }
.b-home .career.seen li::after { transform: scaleY(1); }
  }

/* Production boundaries and progressive enhancement, without changing B's sequence. */
.b-home [hidden] { display: none !important; }
.b-home .skip-link { position: fixed; left: var(--gutter); top: -120px; z-index: 80; padding: 10px 18px; background: var(--ink); color: var(--bg); }
.b-home .skip-link:focus { top: 8px; }
.b-home .site-header a, .b-home .site-header button { min-height: 44px; display: inline-flex; align-items: center; }
.b-home .site-header .wordmark svg { flex-shrink: 0; }
.b-home .lang-toggle { display: inline-flex; align-items: center; gap: 0; }
.b-home .lang-toggle a { justify-content: center; min-width: 44px; color: var(--muted); }
.b-home .lang-toggle [aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.b-home .toggle:disabled { opacity: .65; cursor: default; }
.b-home .motion-toggle { white-space: nowrap; }
.b-home .series-section, .b-home #about { position: relative; }
.b-home .series-head { margin-bottom: 48px; }
.b-home .series-entry { left: calc(var(--gutter) * -.5); top: 50%; }
.b-home .about-waypoint { left: calc(var(--gutter) * -.5); bottom: 0; }
.b-home .all-work { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; }
.b-home .all-work:hover { border-color: var(--ink); }
/* The complete portfolio is a destination, not a footnote.
   Always visible, including without JS. Entering view adds finite emphasis. */
.b-home .all-work[data-work-cta] {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.6vw, 24px);
  width: clamp(260px, 32vw, 440px);
  max-width: 100%;
  min-height: clamp(56px, 6.5vw, 94px);
  margin-inline: auto;
  padding: 12px clamp(20px, 2.5vw, 36px);
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.045em;
  text-align: center;
  transform-origin: center;
  transition: transform .65s var(--ease);
}
.b-home .all-work[data-work-cta] > span { position: relative; z-index: 1; }
.b-home .all-work[data-work-cta]::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--bg); opacity: 0; pointer-events: none;
  transition: opacity .65s var(--ease);
}
.b-home .all-work[data-work-cta] .all-work-arrow { flex: none; font-weight: 400; transition: transform .65s var(--ease); }
.b-home .all-work[data-work-cta].cta-ready:not(.is-emphasized) { transform: translateY(16px) scale(.96); }
.b-home .all-work[data-work-cta].cta-ready:not(.is-emphasized)::before { opacity: .16; }
.b-home .all-work[data-work-cta].cta-ready:not(.is-emphasized) .all-work-arrow { transform: translate(-12px, 12px); }
@media (hover: hover) and (pointer: fine) {
  .b-home .all-work[data-work-cta]:hover .all-work-arrow { transform: translate(8px, -8px); }
}
.b-home .all-work[data-work-cta]:active { transform: scale(.99); }
.b-home .all-work[data-work-cta]:focus-visible { outline-width: 3px; outline-offset: 8px; border-radius: 999px; }
.b-home .all-work[data-work-cta]:focus-visible, .b-home .all-work[data-work-cta]:focus-visible .all-work-arrow { transform: none; transition: none; }
.b-home.still .all-work[data-work-cta], .b-home.still .all-work[data-work-cta] .all-work-arrow { transform: none; transition: none; }
.b-home.still .all-work[data-work-cta]::before { opacity: 0; transition: none; }
.b-home .load-status, .b-home .translation-note { font-size: 15px; line-height: 1.7; color: var(--soft); }
.b-home .load-status:not(:empty) { padding-top: 24px; }
.b-home .translation-note { max-width: 68ch; margin: 0 auto 48px; }
.b-home .hero-fallback { position: absolute; width: min(29vw, 360px); height: auto; top: 28%; right: 8%; }
.b-home.motion-ready .hero-fallback { display: none; }
.b-home:not(.motion-ready) #heroSvg, .b-home:not(.motion-ready) #heroLines { visibility: hidden; }
.b-home.still .node .shape { fill: var(--c); transform: scale(1); animation: none; }
/* Error recovery cannot rely on the aborted thread loop setting .lit/.on. */
.b-home.still .media img { filter: none; transform: scale(1); }
.b-home.still .media .play { opacity: 1; transition: none; }
.b-home.still .chain b { color: var(--ink); }
.b-home.still .chain p { color: var(--soft); }
.b-home.still .career::before, .b-home.still .career li::after, .b-home.still .tick::before { transform: scaleX(1); }
.b-home.still .career li::before, .b-home.still .tick::after { background: var(--wire); }
.b-home.still #wire { stroke-dashoffset: 0 !important; }
.b-home.still #head, .b-home.still #halo { opacity: 0 !important; }
.b-home .rail-x:focus-visible { outline: 2px solid var(--c4); outline-offset: 3px; }
.b-home #work, .b-home #approach, .b-home #about, .b-home #contact { scroll-margin-top: 100px; }
.b-home:lang(en) .hero h1 { font-size: clamp(44px, 6vw, 100px); }
@media (max-width: 1100px) {
  .b-home .site-header nav { gap: 10px; }
  .b-home .site-header a[href="#approach"], .b-home .site-header a[href="#about"] { display: none; }
  .b-home .motion-toggle { width: 44px; justify-content: center; padding: 0; font-size: 0; }
  .b-home .motion-toggle::before { content: "Ⅱ"; font-size: 18px; }
  .b-home .motion-toggle[aria-pressed="true"]::before { content: "▶"; font-size: 16px; }
}
@media (max-width: 820px) {
  .b-home .site-header { height: 112px; display: grid; grid-template-columns: 1fr; gap: 0; padding-block: 6px; }
  .b-home .site-header nav { justify-content: space-between; gap: 8px; }
  .b-home .site-header nav .lang-toggle a { display: inline-flex; }
  .b-home .hero { top: 112px; }
  .b-home .hero .top { padding-top: 24px; }
  .b-home .hero-fallback { width: min(45vw, 220px); top: 19%; right: 24%; }
  .b-home .legend { gap: 10px 16px; }
  .b-home .beat { white-space: normal; width: calc(100% - 40px); text-align: center; font-size: 22px; }
  .b-home.still .career li::after { transform: scaleY(1); }
  .b-home #work, .b-home #approach, .b-home #about, .b-home #contact { scroll-margin-top: 132px; }
}
@media (prefers-reduced-motion: reduce) {
  .b-home .all-work[data-work-cta], .b-home .all-work[data-work-cta] .all-work-arrow { transform: none !important; }
  .b-home .all-work[data-work-cta]::before { opacity: 0 !important; }
  .b-home *, .b-home *::before, .b-home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
