/* ==========================================================================
   KCTC — 브랜드 아이덴티티 케이스
   강디자인

   설계 근거
   - 이 케이스만 가진 것은 「선언과 납품이 어긋난 기록」이다. 2023-06-18 개선보고는
     "심볼마크와 워드마크로 분리된 기존 두 이미지를 워드마크로 단일적/함축적으로 통합함"
     이라고 못박았고, 그 방향으로 25페이지 시스템이 7월에 완성됐다. 그런데 12월에 납품된
     52페이지는 정반대다 — 심볼과 워드마크가 38px 떨어져 따로 선다.
     서로 배타적인 두 개의 완결된 시스템이 문서로 남아 있는 유일한 케이스다.
   - 지면 #3871c1 은 15 색상활용이 규정한 Blue2 (PANTONE 285 C) 바탕 실측값이고,
     그 위에서 마크는 흰색으로 반전된다. 내가 정한 조합이 아니다.
   - 물성은 두 겹 도장 강판이다. 윗칠이 얇게 지나간 자리에 아랫칠이 배어 나온다 —
     지운 게 아니라 덮은 것이다. 이 케이스의 주제가 그것이다.
   - 착지는 열일곱 물성 중 가장 빠르고 오버슛이 0이다. 강판은 튀지 않는다.
   - 마크의 형태·비례·색은 건드리지 않았다.
   ========================================================================== */

body[data-kctc-project='true'] { background: #3871c1; }

body[data-kctc-project='true'] .case__study__slices {
  display: block; width: 100%; max-width: none; padding: 0; gap: 0;
}
body[data-kctc-project='true'] .case__study__info { display: none; }

.kctc-site-host { grid-column: 1 / -1; width: 100%; margin: 0; padding: 0; }

/* img 에 width/height 속성이 박혀 있어 폭만 줄면 세로로 늘어난다.
   컨테이너별 규칙(.sheet img 등)이 못 덮는 자리를 위한 바닥 규칙. 2026-08-09 */
.kctc-case img { max-width: 100%; height: auto; }

.kctc-case {
  /* 14 색상규정 — 이름·PANTONE·CMYK 는 가이드북이 적은 그대로다 */
  --blue1: #272f6f;   /* PANTONE 288 C · C100 M96 Y21 K15 · KCTC BLUE 1 */
  --kblack: #221e20;  /* C0 M0 Y0 K100 · KCTC BLACK */
  --blue2: #3871c1;   /* PANTONE 285 C · C85 M50 Y0 K0 · 이 케이스의 지면 */
  --blue3: #1f3f8d;   /* C100 M80 Y0 K15 */
  --blue4: #1c63b7;   /* C100 M60 Y0 K0 */
  --gray1: #747272;   /* PANTONE 424 C · K63 */
  --gold: #927f3b;    /* PANTONE 872 C */
  --silver: #898a8e;  /* PANTONE 877 C */
  --plate: #ffffff;

  --on-b: rgba(255, 255, 255, 0.96);
  --on-b-dim: rgba(255, 255, 255, 0.74);
  --on-b-faint: rgba(255, 255, 255, 0.46);
  --ink-72: rgba(34, 30, 32, 0.72);
  --ink-63: rgba(34, 30, 32, 0.63);
  --ink-26: rgba(34, 30, 32, 0.26);
  --rule: rgba(34, 30, 32, 0.14);
  --rule-b: rgba(255, 255, 255, 0.3);

  --gutter: clamp(20px, 5.4vw, 112px);
  --stack: clamp(58px, 8.2vw, 148px);

  --sans: 'Pretendard', 'Pretendard Variable', -apple-system, BlinkMacSystemFont,
          'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;

  font-family: var(--sans);
  display: block; width: 100%;
  background: var(--blue2); color: var(--kblack);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  word-break: keep-all;
}

.kctc-case *, .kctc-case *::before, .kctc-case *::after { box-sizing: border-box; }
.kctc-case img, .kctc-case video { display: block; max-width: 100%; }
.kctc-case .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── 장면 ──────────────────────────────────────────────────── */
.kctc-case .scene {
  position: relative; padding: var(--stack) var(--gutter);
  background: var(--plate); color: var(--kblack); overflow: hidden;
}
.kctc-case .scene.on-steel { background: var(--blue2); color: var(--on-b); }
/* 도장 강판 — 윗칠이 얇은 자리로 아랫칠이 배어 나온다. 줄무늬가 아니라 배어 나오는 정도다. */
.kctc-case .scene.on-steel::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(39,47,111,.16) 0 6%, rgba(39,47,111,0) 13% 27%,
                    rgba(39,47,111,.11) 34% 38%, rgba(39,47,111,0) 46% 62%,
                    rgba(39,47,111,.14) 69% 74%, rgba(39,47,111,0) 82% 100%),
    radial-gradient(120% 90% at 30% -18%, rgba(255,255,255,.16), rgba(255,255,255,0) 62%),
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(0,0,0,.05));
}
.kctc-case .scene-shell { position: relative; width: 100%; max-width: 1520px; margin: 0 auto; z-index: 1; }

.kctc-case .scene-index {
  position: absolute; top: clamp(20px, 3vw, 46px); left: var(--gutter);
  font-family: var(--mono); font-size: clamp(10px, 0.86vw, 13px);
  letter-spacing: 0.2em; color: var(--ink-26); font-variant-numeric: tabular-nums; z-index: 2;
}
.kctc-case .scene.on-steel .scene-index { color: var(--on-b-faint); }

.kctc-case .section-head { max-width: 62ch; margin: 0 0 clamp(34px, 4.4vw, 76px); }
.kctc-case .eyebrow {
  display: inline-block; font-family: var(--mono);
  font-size: clamp(11px, 0.82vw, 12px); letter-spacing: 0.24em; text-transform: uppercase;
  color: #1f5aa8; margin-bottom: clamp(14px, 1.5vw, 24px);
}
.kctc-case .scene.on-steel .eyebrow { color: rgba(255,255,255,0.82); }
.kctc-case h2 {
  margin: 0; font-size: clamp(28px, 3.7vw, 62px); line-height: 1.16;
  letter-spacing: -0.022em; font-weight: 700;
}
.kctc-case .lead {
  margin: clamp(18px, 2vw, 32px) 0 0; font-size: clamp(15px, 1.16vw, 19px);
  line-height: 1.78; color: var(--ink-72); max-width: 58ch;
}
.kctc-case .scene.on-steel .lead { color: var(--on-b-dim); }
.kctc-case .lead b { font-weight: 650; color: var(--kblack); }
.kctc-case .scene.on-steel .lead b { color: var(--on-b); }
.kctc-case .lead q { font-style: normal; }

/* ── 히어로 ────────────────────────────────────────────────── */
.kctc-case .scene-hero {
  min-height: clamp(560px, 82vh, 940px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: clamp(20px, 2.4vw, 40px);
}
.kctc-case .hero-mark { width: min(42%, 520px); height: auto; position: relative; z-index: 1; }
.kctc-case .hero-thesis {
  margin: 0; font-size: clamp(26px, 3.5vw, 58px); line-height: 1.22;
  letter-spacing: -0.024em; font-weight: 700; color: var(--on-b); position: relative; z-index: 1;
}
.kctc-case .hero-thesis em { font-style: normal; color: var(--blue1); }
.kctc-case .hero-sub {
  margin: 0; font-size: clamp(14px, 1.1vw, 18px); line-height: 1.7;
  color: var(--on-b-faint); max-width: 52ch; position: relative; z-index: 1;
}
.kctc-case .hero-sub b { color: var(--on-b-dim); font-weight: 600; }
.kctc-case .hero-meta {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(8px, 1vw, 14px); margin-top: clamp(6px, 1vw, 16px); position: relative; z-index: 1;
}
.kctc-case .hero-meta span {
  font-family: var(--mono); font-size: clamp(11px, 0.76vw, 12px); letter-spacing: 0.14em;
  color: var(--on-b-dim); border: 1px solid var(--rule-b);
  padding: 0.5em 0.9em; border-radius: 999px;
}

/* ── 선언 세 줄 ────────────────────────────────────────────── */
.kctc-case .decl { margin-top: clamp(26px, 3vw, 48px); border-top: 1px solid var(--rule); }
.kctc-case .decl-row {
  display: grid; grid-template-columns: 2.6em minmax(0, 1fr) auto;
  align-items: start; gap: clamp(10px, 1.5vw, 26px);
  padding: clamp(16px, 2vw, 30px) 0; border-bottom: 1px solid var(--rule);
}
.kctc-case .decl-row .no {
  font-family: var(--mono); font-size: clamp(13px, 1.1vw, 17px);
  color: var(--blue2); font-weight: 600; padding-top: 0.15em;
}
.kctc-case .decl-row .said {
  font-size: clamp(14px, 1.1vw, 18px); line-height: 1.62; color: var(--kblack);
  border-left: 3px solid var(--blue2); padding-left: clamp(10px, 1.1vw, 18px);
}
.kctc-case .decl-row .said q { font-style: normal; }
.kctc-case .decl-row .fate {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  padding: 0.32em 0.72em; white-space: nowrap;
}
.kctc-case .decl-row.kept .fate { background: var(--blue1); color: #fff; }
.kctc-case .decl-row.gone .fate { background: transparent; color: var(--ink-63); box-shadow: inset 0 0 0 1px var(--rule); }

/* ── 두 문장 ───────────────────────────────────────────────── */
.kctc-case .versus {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
  margin-top: clamp(26px, 3vw, 48px);
}
.kctc-case .versus > div { background: var(--plate); padding: clamp(20px, 2.4vw, 40px); }
.kctc-case .versus .when {
  display: block; font-family: var(--mono); font-size: clamp(11px, 0.78vw, 12px);
  letter-spacing: 0.16em; color: var(--ink-26); margin-bottom: clamp(10px, 1.2vw, 18px);
}
.kctc-case .versus p {
  margin: 0; font-size: clamp(14px, 1.08vw, 17px); line-height: 1.74; color: var(--ink-72);
}
.kctc-case .versus p b { color: var(--kblack); font-weight: 650; }
.kctc-case .versus img { width: 100%; height: auto; margin-top: clamp(16px, 2vw, 30px); }
.kctc-case .versus .tagx {
  display: inline-block; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; padding: 0.3em 0.7em; margin-top: clamp(12px, 1.4vw, 20px);
}
.kctc-case .versus .tagx.no { background: transparent; color: var(--ink-63); box-shadow: inset 0 0 0 1px var(--rule); }
.kctc-case .versus .tagx.yes { background: var(--blue1); color: #fff; }

/* ── 수치 ──────────────────────────────────────────────────── */
.kctc-case .measure {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px; background: var(--rule); border: 1px solid var(--rule);
  margin-top: clamp(26px, 3vw, 48px);
}
.kctc-case .measure > div { background: var(--plate); padding: clamp(20px, 2.2vw, 36px) clamp(16px, 1.8vw, 28px); }
.kctc-case .measure b {
  display: block; font-size: clamp(26px, 2.8vw, 46px); line-height: 1;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.kctc-case .measure span {
  display: block; margin-top: clamp(8px, 0.9vw, 14px);
  font-size: clamp(11px, 0.86vw, 13px); line-height: 1.55; color: var(--ink-63);
}

/* ── 색 ────────────────────────────────────────────────────── */
.kctc-case .swatches {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
  margin-top: clamp(26px, 3vw, 48px);
}
.kctc-case .swatches > div { position: relative; padding-top: clamp(80px, 8.6vw, 142px); }
.kctc-case .swatches span {
  position: absolute; left: 0.7em; bottom: 0.55em;
  font-family: var(--mono); font-size: clamp(9px, 0.72vw, 11px); line-height: 1.4;
}
.kctc-case .swatches .role {
  position: absolute; right: 0.55em; top: 0.55em; left: auto; bottom: auto;
  font-size: 11px; letter-spacing: 0.1em;
  background: rgba(0,0,0,0.42); color: #fff; padding: 0.18em 0.5em;
}

/* ── 바탕별 마크 ───────────────────────────────────────────── */
.kctc-case .grounds { margin-top: clamp(26px, 3vw, 48px); border-top: 1px solid var(--rule); }
.kctc-case .ground-row {
  display: grid; grid-template-columns: 9.4em 3.6em 1fr auto;
  align-items: center; gap: clamp(10px, 1.4vw, 24px);
  padding: clamp(12px, 1.4vw, 20px) 0; border-bottom: 1px solid var(--rule);
}
.kctc-case .ground-row b { font-family: var(--mono); font-size: clamp(11px, 0.86vw, 13px); font-weight: 500; }
.kctc-case .ground-row .chip { height: clamp(20px, 2vw, 30px); border: 1px solid var(--rule); }
.kctc-case .ground-row span { font-size: clamp(11px, 0.86vw, 13px); color: var(--ink-63); line-height: 1.55; }
.kctc-case .ground-row span b { font-family: var(--sans); font-weight: 650; color: var(--kblack); }
.kctc-case .ground-row em {
  font-style: normal; font-family: var(--mono); font-size: clamp(11px, 0.78vw, 12px);
  letter-spacing: 0.1em; padding: 0.3em 0.72em; white-space: nowrap;
}
.kctc-case .ground-row.rev em { background: var(--blue1); color: #fff; }
.kctc-case .ground-row.dark em { background: var(--gold); color: #fff; }

/* ── 지면 ──────────────────────────────────────────────────── */
.kctc-case .plates {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(16px, 2vw, 40px); margin-top: clamp(26px, 3vw, 48px);
}
.kctc-case .plates.one { grid-template-columns: 1fr; max-width: 1080px; }
.kctc-case figure { margin: 0; }
.kctc-case .sheet {
  background: var(--plate); border: 1px solid var(--rule);
  padding: clamp(12px, 1.4vw, 24px); overflow: hidden;
}
.kctc-case .scene.on-steel .sheet { border-color: var(--rule-b); }
.kctc-case .sheet img { width: 100%; height: auto; object-fit: contain; }
.kctc-case figcaption {
  margin-top: clamp(10px, 1.2vw, 18px);
  font-size: clamp(11px, 0.9vw, 14px); line-height: 1.6; color: var(--ink-63);
}
.kctc-case .scene.on-steel figcaption { color: var(--on-b-dim); }
.kctc-case figcaption .tag {
  display: inline-block; font-family: var(--mono); font-size: max(11px, 0.86em);
  letter-spacing: 0.12em; color: #1f5aa8; margin-right: 0.7em;
}
.kctc-case figcaption .drop {
  display: inline-block; font-family: var(--mono); font-size: max(11px, 0.82em);
  letter-spacing: 0.1em; color: #fff; background: var(--gray1);
  padding: 0.18em 0.6em; margin-right: 0.7em;
}

/* ── 모션 ──────────────────────────────────────────────────── */
.kctc-case .motion-stage {
  position: relative; width: 100%; max-width: 1520px; margin: 0 auto;
  aspect-ratio: 1440 / 900; background: var(--blue2); overflow: hidden; z-index: 1;
}
.kctc-case .motion-stage video { width: 100%; height: 100%; object-fit: cover; }
.kctc-case .motion-note {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: clamp(10px, 1.4vw, 26px);
  max-width: 1520px; margin: clamp(16px, 1.8vw, 28px) auto 0; position: relative; z-index: 1;
}
.kctc-case .motion-note strong {
  font-size: clamp(15px, 1.24vw, 21px); font-weight: 650; letter-spacing: -0.012em; color: var(--on-b);
}
.kctc-case .motion-note span {
  font-size: clamp(12px, 0.94vw, 15px); color: var(--on-b-dim); line-height: 1.62; max-width: 62ch;
}

/* ── 목록 ──────────────────────────────────────────────────── */
.kctc-case .notes {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(18px, 2.2vw, 44px); margin-top: clamp(26px, 3vw, 48px);
}
.kctc-case .notes > div { border-top: 1px solid var(--rule); padding-top: clamp(16px, 1.8vw, 28px); }
.kctc-case .notes h3 { margin: 0 0 clamp(10px, 1.2vw, 18px); font-size: clamp(13px, 1vw, 16px); font-weight: 650; }
.kctc-case .notes ul { margin: 0; padding: 0; list-style: none; }
.kctc-case .notes li {
  position: relative; padding-left: 1.2em; margin-bottom: 0.62em;
  font-size: clamp(12px, 0.92vw, 14px); line-height: 1.66; color: var(--ink-63);
}
.kctc-case .notes li::before {
  content: ''; position: absolute; left: 0; top: 0.56em;
  width: 0.58em; height: 0.58em; border-radius: 999px; background: var(--blue2);
}

/* ── 마침 ──────────────────────────────────────────────────── */
.kctc-case .scene-end {
  text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: clamp(18px, 2.2vw, 38px);
  padding-block: clamp(80px, 11vw, 190px);
}
.kctc-case .scene-end img { width: min(34%, 420px); position: relative; z-index: 1; }
.kctc-case .scene-end p {
  margin: 0; font-size: clamp(15px, 1.2vw, 20px); line-height: 1.72;
  color: var(--on-b-dim); max-width: 52ch; position: relative; z-index: 1;
}
.kctc-case .credit {
  font-family: var(--mono); font-size: clamp(11px, 0.82vw, 12px);
  letter-spacing: 0.2em; color: var(--on-b-faint); position: relative; z-index: 1;
}

/* ── 등장 ──────────────────────────────────────────────────── */
.kctc-case [data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.72s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.72s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.kctc-case [data-reveal].is-in { opacity: 1; transform: none; }
.kctc-case [data-reveal][data-delay='1'] { transition-delay: 0.09s; }
.kctc-case [data-reveal][data-delay='2'] { transition-delay: 0.18s; }
.kctc-case [data-reveal][data-delay='3'] { transition-delay: 0.27s; }

@media (prefers-reduced-motion: reduce) {
  .kctc-case [data-reveal] { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
  .kctc-case .plates { grid-template-columns: 1fr; }
  .kctc-case .swatches { grid-template-columns: repeat(2, 1fr); }
  .kctc-case .versus { grid-template-columns: 1fr; }
  .kctc-case .motion-stage { aspect-ratio: 1440 / 900; }  /* 모션은 1440×900 이다. 4/3 으로 덮으면 object-fit:cover 가 좌우를 각 120열(폭의 16.7%) 잘라낸다 */
  .kctc-case .hero-mark { width: min(74%, 340px); }
  .kctc-case .decl-row { grid-template-columns: 2.2em 1fr; }
  .kctc-case .decl-row .fate { grid-column: 2; justify-self: start; }
  .kctc-case .ground-row { grid-template-columns: 1fr auto; }
  .kctc-case .ground-row .chip { grid-column: 1 / -1; }
}

/* === 그림 자리 예약 (CLS) — 자동 생성. 없으면 지연 로딩 때 아래가 밀린다 === */
img[src$="/kctc-case-assets/report-direction.jpg"],
img[src$="/kctc-case-assets/bs-signature.jpg"],
img[src$="/kctc-case-assets/bs-space.jpg"],
img[src$="/kctc-case-assets/bs-color.jpg"],
img[src$="/kctc-case-assets/bs-color-use.jpg"],
img[src$="/kctc-case-assets/bs-concept.jpg"],
img[src$="/kctc-case-assets/bs-symbol.jpg"],
img[src$="/kctc-case-assets/bs-logotype.jpg"],
img[src$="/kctc-case-assets/bs-motif1.jpg"],
img[src$="/kctc-case-assets/bs-pattern.jpg"],
img[src$="/kctc-case-assets/bs-type.jpg"],
img[src$="/kctc-case-assets/bs-forbidden.jpg"] { aspect-ratio: 1000/707; }
img[src$="/leaderin-case-assets-v2/symbol-final.svg"] { aspect-ratio: 37/24; }
img[src$="/kctc-case-assets/prev-integrated.png"] { aspect-ratio: 1075/348; }
img[src$="/kctc-case-assets/mark-lockup.png"] { aspect-ratio: 1181/211; }
img[src$="/kctc-case-assets/prev-concept-r2.jpg"] { aspect-ratio: 75/53; }
