/* 방향 C «지도 먼저» — Dairy Block(dairyblock.com) × Impact Hub(impacthub.net)
   기준 캡처: 시안/reference/strips/dairy-pc-0.jpg · dairy-pc-1.jpg · dairy-mo-01.jpg · hub-pc-0.jpg · hub-s67.jpg (2026-11-17 수집)
   서체(팀장 11/17 지시 · 레퍼런스/폰트/2026.11.17_조합표_폰트_v1.md 1안):
     제목·숫자 = Pretendard Variable 200 ↔ 900 (tabular-nums) · 영문 눈썹 = Instrument Sans 폭 75% 600 +0.16em
     부제·사례 제목 = Instrument Serif(라틴·숫자) + MaruBuri(한글) — MaruBuri 는 400 하나뿐 → 굵기 합성 끔, 크기로 위계
     Hahmlet 은 C 에서 쓰지 않는다.
   색: 흑백 + 코랄 하나(Bentway 식). A 의 주황·초록 · B 의 겨자 없음.
   대비(WCAG 2.x, 계산식 상대휘도 — scratchpad cr.js 로 잼):
     흰 #FFFFFF / 먹 #15171A ............ 17.96
     먹 #15171A / 종이 #EEEDE8 .......... 15.32
     코랄 #E8573C / 먹 #15171A .......... 5.01  (먹 면 위 숫자 원 · 선 · 상태 점 — 글자에 써도 4.5 넘음)
     먹 #15171A / 코랄 #E8573C .......... 5.01  (코랄 원 안 먹 숫자 · 코랄 버튼 위 먹 글자)
     코랄 #E8573C / 흰 #FFFFFF .......... 3.58  ← 4.5 미만: 흰 바탕 글자에 코랄 금지
     진한 코랄 #B8381F / 흰 .............. 5.80  (흰 바탕 위 작은 코랄 글자)
     진한 코랄 #B8381F / 종이 ............ 4.94
     보조 회 #5B5F66 / 흰 ................ 6.42 · / 종이 5.47
     밝은 회 #B4B8BE / 먹 ................ 9.01  (먹 면 위 보조 글자)
     지도 선 #8C9097 / 먹 ................ 5.60  (비글자 3:1 넘음)
     곡선 면 #1F2226 / 먹 ................ 1.12  (장식 면 — 글자 아님)
     코랄 #E8573C / 곡선 면 #1F2226 ...... 4.46  (원 · 선만 걸침, 글자 없음) */

:root {
  --ink: #15171A;
  --white: #ffffff;
  --paper: #EEEDE8;
  --coral: #E8573C;
  --coral-ink: #B8381F;
  --muted: #5B5F66;
  --muted-on-ink: #B4B8BE;
  --flow-on-ink: #1F2226;
  --accent: #B8381F;            /* base·sub 의 작은 라벨 글자(흰 5.80 · 종이 4.94) */
  --accent-on-dark: #E8573C;
  --blob-1: #E8573C;            /* base·sub 의 선 · 점 · 초점 테두리 */
  --blob-2: #EEEDE8;            /* sub 의 곡선 면 → 흰 바탕 위 종이색 */
  --band: #15171A;
  --btn-pale: transparent;
  --line: #15171A;
  --map-fill: #15171A; --map-on: #1F2226; --map-stroke: #8C9097;

  --f-display: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", sans-serif;
  --f-serif: "Instrument Serif", "MaruBuri", serif;
  --f-eye: "Instrument Sans", "Pretendard Variable", sans-serif;
}
html { font-synthesis: none; }   /* MaruBuri · Instrument Serif 400 하나 — 가짜 굵게 금지 */

/* ---------- 공통 조각 ---------- */
.eb { font: 600 14px/1.2 var(--f-eye); font-stretch: 75%; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.nw { white-space: nowrap; }
.btn { font-weight: 400; font-size: 20px; }
.btn--coral { background: var(--coral); border-color: var(--coral); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn--coral:hover { background: var(--white); border-color: var(--white); color: var(--ink); } }
.exval { white-space: nowrap; }

/* 머리글: 먹 면과 한 몸, 오른쪽 코랄 테두리 «문의하기» */
.hd { background: var(--ink); }
.hd__mark { font-weight: 800; }
.hd .hd__cta { background: transparent; border-color: var(--coral); color: var(--white); }
@media (hover: hover) and (pointer: fine) { .hd .hd__cta:hover { background: var(--coral); color: var(--ink); } }
.hd__nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--coral); }

/* 바닥글 · 떠 있는 버튼: A 마크업 그대로, 얼굴만 */
.ft h4 { font-family: var(--f-eye); font-stretch: 75%; font-weight: 600; letter-spacing: 0.02em; }
.ft .flow { color: var(--coral); }
.fab i { background: var(--coral); }

@media (max-width: 760px) {
  .hd__mark { font-size: 19px; }
  .btn { font-size: 18px; }
}

/* ================= 하위 페이지 C 얼굴 (sub.css 클래스 이름에 맞춤) ================= */
/* 사례 머리(.ch): 사진 위 제목 · 코랄 선 · Pretendard 200/900. 마지막 줄 바닥이 사진 아래 경계에 닿는 방식은 _tpl 이 data-sit 로 처리 */
.dir-c .ch__title { letter-spacing: -0.01em; line-height: 1.16; }
.dir-c .ch__title .thin { font-weight: 200; }
.dir-c .ch__title .bold { font-weight: 900; }
.dir-c .ch__line { background: var(--coral); }
.dir-c .ch__line::after { border-color: var(--coral); }
.dir-c.page-case .ch__crumb { font-family: var(--f-eye); font-stretch: 75%; font-weight: 600; letter-spacing: 0.02em; }
.dir-c.page-case .ch__sub { font-weight: 400; font-size: 40px; line-height: 1.32; letter-spacing: 0; }
.dir-c.page-case .sum dt, .dir-c.page-case .proc time { font-family: var(--f-eye); font-stretch: 75%; font-weight: 600; letter-spacing: 0.02em; }
.dir-c.page-case .sum dd { font-weight: 400; font-size: 23px; }
.dir-c.page-case .step-h h2 { font-weight: 200; line-height: 1.16; }
.dir-c.page-case .step-h h2 b { font-weight: 900; }
.dir-c.page-case .step-h h2 small { font-weight: 200; color: var(--coral-ink); }
.dir-c.page-case .res .step-h h2 small { color: var(--coral); }
.dir-c.page-case .proc h3, .dir-c.page-case .press h2, .dir-c.page-case .more__grid h3 { font-weight: 400; letter-spacing: 0; }
.dir-c.page-case .proc h3 { font-size: 34px; }
.dir-c.page-case .bars i { background: var(--ink); }
.dir-c.page-case .bars i.lo { background: var(--coral); }
.dir-c.page-case .res__nums b { font-weight: 900; }
.dir-c.page-case .res__nums b small { font-weight: 200; }
.dir-c.page-case .res__nums span { font-weight: 400; font-size: 22px; }
.dir-c.page-case .res__nums em, .dir-c.page-case .res__src { color: var(--muted-on-ink); }
.dir-c.page-case .more h2 { font-weight: 200; } .dir-c.page-case .more h2 b { font-weight: 900; }
.dir-c.page-case .sum .flow { color: #ffffff; }

/* 문의 머리(.ct__head): 먹 면 + 흰 200/900 제목 + 코랄 선. 머리 띠는 화면 끝까지 */
.dir-c.page-contact .ct { background: var(--white); padding-top: 0; }
.dir-c.page-contact .ct .flow { color: var(--paper); top: 520px; }
.dir-c.page-contact .ct__head { background: var(--ink); color: var(--white); padding: 96px 0 92px; box-shadow: 0 0 0 100vmax var(--ink); clip-path: inset(0 -100vmax); }
.dir-c.page-contact .ct__head h1 { font-weight: 200; line-height: 1.16; letter-spacing: -0.01em; }
.dir-c.page-contact .ct__head h1 b { font-weight: 900; }
.dir-c.page-contact .ct__head h1::before { background: var(--coral); }
.dir-c.page-contact .ct__head h1::after { border-color: var(--coral); }
.dir-c.page-contact .ct__head p { font-weight: 400; font-size: 34px; color: #E4E5E7; letter-spacing: 0; }
.dir-c.page-contact .ct form { background: transparent; padding: 0; }
.dir-c.page-contact .ct legend b, .dir-c.page-contact .field label b { color: var(--coral-ink); }
.dir-c.page-contact .ct aside h2 { font-family: var(--f-eye); font-stretch: 75%; font-weight: 600; letter-spacing: 0.02em; }
.dir-c.page-contact .ct aside .big { font-weight: 400; font-size: 28px; }
.dir-c.page-contact .ct__done { border-left-color: var(--coral); }
@media (max-width: 760px) {
  .dir-c.page-case .ch__sub { font-size: 26px; }
  .dir-c.page-case .proc h3 { font-size: 26px; }
  .dir-c.page-contact .ct__head { padding: 56px 0 52px; }
  .dir-c.page-contact .ct__head p { font-size: 23px; }
  .dir-c.page-contact .ct form { margin: 0; padding: 0; }
}

/* 비교 1라운드 고침(팀장): Dairy THE HAPPENINGS 처럼 «지난 현장» 머리를 화면 끝까지 닿는 먹 띠 위에 올리고, 시간 띠 카드는 그 아래 흰 바탕에. */
.dir-c .hp { padding-top: 0; border-top: 0; }
.dir-c .hp__head { position: relative; background: var(--ink, #15171A); color: #fff; padding: 64px 0 56px; margin-bottom: 64px; box-shadow: 0 0 0 100vmax var(--ink, #15171A); clip-path: inset(0 -100vmax); }
.dir-c .hp__head .hp__hint, .dir-c .hp__head .hp__hint small { color: #d6d3cd; }
.dir-c .hp__head .eb { color: var(--coral, #E8573C); }
.dir-c .hp__head .slider__btn { color: #fff; }
@media (max-width: 760px) { .dir-c .hp__head { padding: 44px 0 36px; margin-bottom: 40px; } }

/* SNS 속 커낼워크(팀장 추가): 먹 면 위 휴대폰 화면 — 흰 글자, 코랄 없음 */
.dir-c .reels { --reels-bg: #15171A; color: #fff; }
.dir-c .reels h2 { font-weight: 200; } .dir-c .reels h2 b { font-weight: 900; }
.dir-c .reels__head p, .dir-c .phone figcaption small { color: #c9c6c0; }
.dir-c .phone__frame { background: #2a2d31; } .dir-c .phone__frame::before { background: #2a2d31; }

/* 검수: 거대 숫자 76 의 줄 상자가 위 줄 «인천의 거리에서»를 덮는 것으로 잡혀 위층으로 올림(잉크는 겹치지 않음) */
.dir-c .hm h1 .t1 { position: relative; z-index: 2; }
@media (min-width: 761px) { .dir-c .hm h1 .t1 { margin-bottom: .32em; } }

/* 검수 2회차 (나): 시간 띠 카드 폭을 번갈아 */
.dir-c .tl:nth-child(3n+2) { --cw: 420px; } .dir-c .tl:nth-child(3n) { --cw: 320px; }
@media (max-width: 760px) { .dir-c .tl:nth-child(n) { --cw: 84vw; } }

/* 대표 11/17(코디네이터 전달): 지도 구 이름이 원과 겹침 → 중구는 서쪽 위로 비키고, 미추홀구 이름은 원 왼쪽 아래로 */
/* 같은 지적: 오른쪽 아래 릴스 띠의 위쪽 자막이 제목 영역과 부딪침 → 띠를 줄이고 위쪽 자막 자리를 먹으로 눌러 가림 */
.dir-c .hm__band { margin-left: calc(var(--bl) + 4%); }
.dir-c .hm__vid { position: relative; aspect-ratio: 21 / 8; }
.dir-c .hm__vid::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 46%; background: linear-gradient(to bottom, #15171A 0%, rgb(21 23 26 / .85) 45%, rgb(21 23 26 / 0) 100%); pointer-events: none; z-index: 1; }
@media (max-width: 760px) { .dir-c .hm__band { margin-left: 0; } .dir-c .hm__vid { aspect-ratio: 4 / 3; } }

/* 11/17 연출 점검(«스크롤할 때 애매하게 잘림»): 숫자 띠 + 함께한 기관 묶음이 한 화면에 들어오게 PC 숫자 크기 · 간격을 줄임, 첫 화면 버튼이 접힘선에 걸리지 않게 */
@media (min-width: 761px) {
  .dir-c .nb__a b { font-size: 112px; } .dir-c .nb__b b { font-size: 140px; } .dir-c .nb__d b { font-size: 96px; } .dir-c .nb__c b { font-size: 188px; }
  .dir-c .nb__b { margin-top: 72px; } .dir-c .nb__c { margin-top: 24px; } .dir-c .nb__note { margin-bottom: 20px; }
  .dir-c .wt { padding-bottom: 32px; }
  .dir-c .hm__ink { padding-top: 14px; }
}

/* 카피 수정(11/17): 마지막 화면 «사업 문의» 한 줄, 크게 */
.dir-c .en__t { font-size: clamp(72px, 13vw, 200px); line-height: 1.04; }
.dir-c .en__t span { display: inline; }
.dir-c .en__t .thin { margin-right: .2em; }
@media (max-width: 760px) { .dir-c .en__t { font-size: 22vw; } }

/* ===== 첫 화면 연출(대표 11/17 «지도가 하나씩 날아오거나») — c-intro.js 가 상태 class 를 붙인다 ===== */
.dir-c .reelseq { display: grid; grid-template-columns: repeat(3, 1fr); height: 100%; }
.dir-c .reelseq video { width: 100%; height: 100%; object-fit: cover; filter: brightness(.42) saturate(.7); transition: filter 700ms cubic-bezier(0.165, 0.84, 0.44, 1); }
.dir-c .reelseq video.is-on { filter: none; }
@media (max-width: 760px) {
  .dir-c .reelseq { display: block; position: relative; }
  .dir-c .reelseq video { position: absolute; inset: 0; filter: none; opacity: 0; transition: opacity 700ms cubic-bezier(0.165, 0.84, 0.44, 1); }
  .dir-c .reelseq video.is-on { opacity: 1; }
}
/* ① 윤곽 */
.hm.is-intro .map svg path.gu { fill-opacity: 0; stroke-opacity: 0; }
.hm.is-intro.is-map .map svg path.gu { fill-opacity: 1; stroke-opacity: 1; transition: fill-opacity 600ms cubic-bezier(0.165, 0.84, 0.44, 1) 850ms, stroke-opacity 600ms cubic-bezier(0.165, 0.84, 0.44, 1) 850ms; }
/* ② 원이 위에서 작게 떨어져 넘침 1회로 앉음 — 안착 곡선은 새 값 cubic-bezier(.34, 1.56, .64, 1) */
.hm.is-intro .map .pin { opacity: 0; translate: 0 -150px; scale: .35; }
.hm.is-intro .map .pin.in { opacity: 1; translate: 0 0; scale: 1; transition: translate 650ms cubic-bezier(.34, 1.56, .64, 1), scale 650ms cubic-bezier(.34, 1.56, .64, 1), opacity 180ms linear; }
.hm.is-intro .map .pin em { opacity: 0; }
.hm.is-intro .map .pin.in em { opacity: 1; transition: opacity 300ms cubic-bezier(0.165, 0.84, 0.44, 1) 480ms; }
/* ④ «번의 현장을» 뒤따름 */
.hm.is-intro .t2 .rest { opacity: 0; }
.hm.is-intro .t2 .rest.on { opacity: 1; transition: opacity 500ms cubic-bezier(0.165, 0.84, 0.44, 1); }
/* ⑤ 코랄 선 → 띠 열림 */
.hm.is-intro .map .pin--hot::after { transform: scaleY(0); transform-origin: top; }
.hm.is-intro.is-line .map .pin--hot::after { transform: scaleY(1); transition: transform 500ms cubic-bezier(0.165, 0.84, 0.44, 1); }
.hm.is-intro .map .pin--hot::before { opacity: 0; }
.hm.is-intro.is-band .map .pin--hot::before { opacity: 1; transition: opacity 200ms linear; }
.hm.is-intro .hm__band { clip-path: inset(0 100% 0 0); }
.hm.is-intro.is-band .hm__band { clip-path: inset(0 0 0 0); transition: clip-path 850ms cubic-bezier(0.165, 0.84, 0.44, 1); }
/* 그 뒤: 연수구 파동 링 4초 · 마우스 올림 확대 + 말풍선 */
.map .pin-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--coral); pointer-events: none; opacity: 0; }
.hm.is-live .map .pin-ring { animation: pinRing 4s cubic-bezier(0.25, 0.1, 0.25, 1) infinite; }
@keyframes pinRing { 0% { transform: scale(1); opacity: .75; } 70% { transform: scale(1.9); opacity: 0; } 100% { transform: scale(1.9); opacity: 0; } }
.hm.is-live .map .pin { cursor: default; transition: scale 240ms cubic-bezier(0.165, 0.84, 0.44, 1); }
.hm.is-live .map .pin.is-hover { scale: 1.14; z-index: 4; }
.map .pin:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.map .pin-tip { position: absolute; z-index: 6; transform: translate(-50%, calc(-100% - 46px)); background: #fff; color: #15171A; padding: 8px 12px 9px; border-radius: 4px; font: 500 14px/1.45 var(--f-body); white-space: nowrap; pointer-events: none; box-shadow: 0 6px 18px rgb(0 0 0 / .3); }
.map .pin-tip b { display: block; font-weight: 800; font-size: 15px; }
.rm .map .pin-ring { display: none; }
@media (prefers-reduced-motion: reduce) { .map .pin-ring { display: none; } }

/* ===== 화면 크기 연동(대표 11/17 «한 번에 들어오지 않네») — PC 첫 화면이 보이는 높이 안에 들어오게 =====
   띠 높이를 폭에 끝없이 비례시키지 않고 상한(넓고 낮은 화면에서 커지지 않게), 띠 시작을 가운데 정렬 내용 폭에 맞춤, 큰 숫자 · 위 여백 줄임 */
@media (min-width: 761px) {
  .dir-c .hm { --bl: calc(max(24px, calc((100cqw - 1200px) / 2)) + 576px); --bandh: min(calc((100cqw - var(--bl)) * .3), 230px); --half: calc(var(--bandh) / 2); --mw: 470px; --hot: 100px; }
  .dir-c .hm__ink { padding-top: 14px; }
  .dir-c .hm__band { margin-left: calc(var(--bl) + 2%); margin-right: max(0px, calc(var(--side) - 120px)); }
  .dir-c .hm__vid { aspect-ratio: auto; height: var(--bandh); }
  .dir-c .hm h1 { margin-top: 26px; }
  .dir-c .hm h1 .n76 { font-size: 262px; }
  .dir-c .hm h1 .t1 { font-size: 68px; }
  .dir-c .hm h1 .rest { font-size: 64px; }
  .dir-c .hm__sub { font-size: 33px; top: calc(100% - 128px); }
  .dir-c .hm__cta { top: calc(100% + 26px); }
  .dir-c .hm { --g: 44px; }
}

/* M2(레드팀): 제목을 한 문장으로 닫음 «인천의 거리에서 올해 76번, 현장을 열었습니다.» · M1: 부제를 먹 면 안으로 올림(흰 띠에 걸쳐 잘리지 않게) */
.hm h1 .t3 { display: block; font-size: 64px; font-weight: 200; line-height: 1.16; margin-top: 10px; }
.hm h1 .t3 b { font-weight: 900; }
.hm h1 .rest { align-self: flex-end; }
.hm.is-intro .t3 { opacity: 0; }
.hm.is-intro .t3.on { opacity: 1; transition: opacity 500ms cubic-bezier(0.165, 0.84, 0.44, 1); }
@media (min-width: 761px) {
  .dir-c .hm h1 .n76 { font-size: 232px; }
  .dir-c .hm h1 .t3 { font-size: 58px; }
  .dir-c .hm__sub { position: static; width: auto; margin-top: 20px; font-size: 25px; line-height: 1.38; }
  .dir-c .hm__ink { padding-bottom: calc(var(--half) + 8px); }
  .dir-c .hm__sub span { display: inline; }
}
@media (max-width: 760px) { .hm h1 .t3 { font-size: 30px; margin-top: 6px; } }

/* M3(레드팀): 폰에서 «사업 분야» 제목이 보이지 않던 것 — 칸 맨 위 일반 흐름으로 */
@media (max-width: 760px) {
  .dir-c .bz__h { position: static; height: auto; padding: 0 20px 18px; }
  .dir-c .bz__h h2 { font-size: 44px; }
}
@media (max-width: 760px) { .dir-c .map .pin:not(.pin--hot) b { font-size: max(13px, calc(var(--s) * .72 * .46)); } .dir-c .map .pin:not(.pin--hot) { min-width: 28px; min-height: 28px; } }

/* 서울 칸: 마지막에 오른쪽에서 미끄러져 들어옴 · 지도가 세로로 길어져(11개 구 · 군) 폭을 줄임 */
.hm.is-intro .map .seoul { opacity: 0; translate: 40px 0; }
.hm.is-intro .map .seoul.in { opacity: 1; translate: 0 0; transition: translate 650ms cubic-bezier(.34, 1.56, .64, 1), opacity 250ms linear; }
@media (min-width: 761px) { .dir-c .hm { --mw: 400px; --hot: 72px; } }

/* 지도가 촘촘한 곳(미추홀구 · 제물포구)은 숫자만, 이름은 마우스 올림 말풍선으로 */
.dir-c .map .pin--nolab em { display: none; }
