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

   설계 근거
   - 이 케이스만 가진 것은 「확정 이후의 수정 지시서」다. 2011-04-19 자 1페이지 문서에
     지시 세 줄이 적혀 있고, 그 셋이 직전 시안(4-15)과 최종 가이드북(5-30) 사이에서
     실제로 실행됐는지를 화소로 대조할 수 있다. 앞의 열다섯 케이스에는 없던 문서다.
   - 지면 #f68313 은 07 색상규정의 HOTFINGER ORANGE (Pantone 144PC / C0 M52 Y100 K0)
     실측값이다. 08 색상활용이 이 색을 마크의 바탕으로 규정하고, 그 위에서 마크를
     흰색으로 반전시킨다 — 내가 정한 조합이 아니다.
   - 물성은 무광 사출 플라스틱이다. 스키 장비의 몸통이 그 재료다.
     08 색상활용이 주황 바탕 위의 마크를 흰색으로 규정하므로, 흰 마크에 흰 하이라이트를
     얹으면 아무것도 안 보인다. 그래서 이 물성은 어두운 쪽으로만 읽게 만들었다 —
     접촉 그림자 · 금형 분할선 · 오른아래 모서리의 그늘. 그늘이 모서리를 따라 흐르므로
     둥근 모서리와 각진 모서리가 갈린다. 이 케이스의 주제가 「모서리」이기 때문이다.
   - 마크의 형태·비례·색은 건드리지 않았다.
   ========================================================================== */

body[data-hotfinger-project='true'] { background: #f68313; }

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

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

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

.hotfinger-case {
  /* 07 색상규정 — 이름·PANTONE·CMYK 는 가이드북이 적은 그대로다 */
  --hf-black: #48494f;   /* Pantone 425 PC · C38 M28 Y21 K63 · HOTFINGER BLACK */
  --hf-orange: #f68313;  /* Pantone 144PC  · C0 M52 Y100 K0  · HOTFINGER ORANGE · 이 케이스의 지면 */
  --hf-pink: #f469b3;    /* Pantone 204PC  · C M59 Y5 K0     · HOTFINGER PINK — 원문에 C 값이 비어 있다 */
  --k100: #231f20;       /* C0 M0 Y0 K100  · HOTFINGER Black */
  --plate: #ffffff;

  --on-o: rgba(255, 255, 255, 0.96);
  --on-o-dim: rgba(255, 255, 255, 0.74);
  --on-o-faint: rgba(255, 255, 255, 0.46);
  --ink-72: rgba(35, 31, 32, 0.72);
  --ink-62: rgba(35, 31, 32, 0.62);
  --ink-26: rgba(35, 31, 32, 0.26);
  --rule: rgba(35, 31, 32, 0.14);
  --rule-o: 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(--hf-orange); color: var(--k100);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  word-break: keep-all;
}

.hotfinger-case *, .hotfinger-case *::before, .hotfinger-case *::after { box-sizing: border-box; }
.hotfinger-case img, .hotfinger-case video { display: block; max-width: 100%; }
.hotfinger-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;
}

/* ── 장면 ──────────────────────────────────────────────────── */
.hotfinger-case .scene {
  position: relative; padding: var(--stack) var(--gutter);
  background: var(--plate); color: var(--k100); overflow: hidden;
}
.hotfinger-case .scene.on-plastic { background: var(--hf-orange); color: var(--on-o); }
/* 사출면 — 넓고 부드러운 반사 하나, 위쪽 가장자리에만 가는 모서리 선 */
.hotfinger-case .scene.on-plastic::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 26% -14%, rgba(255,255,255,.20), rgba(255,255,255,0) 58%),
    radial-gradient(90% 70% at 88% 112%, rgba(35,31,32,.13), rgba(35,31,32,0) 62%),
    linear-gradient(180deg, rgba(255,255,255,.16) 0 1px, rgba(255,255,255,0) 1px);
}
.hotfinger-case .scene-shell { position: relative; width: 100%; max-width: 1520px; margin: 0 auto; z-index: 1; }

.hotfinger-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;
}
.hotfinger-case .scene.on-plastic .scene-index { color: var(--on-o-faint); }

.hotfinger-case .section-head { max-width: 62ch; margin: 0 0 clamp(34px, 4.4vw, 76px); }
.hotfinger-case .eyebrow {
  display: inline-block; font-family: var(--mono);
  font-size: clamp(11px, 0.82vw, 12px); letter-spacing: 0.24em; text-transform: uppercase;
  color: rgb(192, 84, 10); margin-bottom: clamp(14px, 1.5vw, 24px);
}
.hotfinger-case .scene.on-plastic .eyebrow { color: rgba(255,255,255,0.8); }
.hotfinger-case h2 {
  margin: 0; font-size: clamp(28px, 3.7vw, 62px); line-height: 1.16;
  letter-spacing: -0.022em; font-weight: 700;
}
.hotfinger-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;
}
.hotfinger-case .scene.on-plastic .lead { color: var(--on-o-dim); }
.hotfinger-case .lead b { font-weight: 650; color: var(--k100); }
.hotfinger-case .scene.on-plastic .lead b { color: var(--on-o); }

/* ── 히어로 ────────────────────────────────────────────────── */
.hotfinger-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);
}
.hotfinger-case .hero-mark { width: min(40%, 480px); height: auto; position: relative; z-index: 1; }
.hotfinger-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-o); position: relative; z-index: 1;
}
.hotfinger-case .hero-thesis em { font-style: normal; color: var(--k100); }
.hotfinger-case .hero-sub {
  margin: 0; font-size: clamp(14px, 1.1vw, 18px); line-height: 1.7;
  color: var(--on-o-faint); max-width: 50ch; position: relative; z-index: 1;
}
.hotfinger-case .hero-sub b { color: var(--on-o-dim); font-weight: 600; }
.hotfinger-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;
}
.hotfinger-case .hero-meta span {
  font-family: var(--mono); font-size: clamp(11px, 0.76vw, 12px); letter-spacing: 0.14em;
  color: var(--on-o-dim); border: 1px solid var(--rule-o);
  padding: 0.5em 0.9em; border-radius: 999px;
}

/* ── 지시 세 줄 ────────────────────────────────────────────── */
/* 이 케이스의 뼈대다. 왼쪽은 4-19 문서에 적힌 지시, 오른쪽은 최종본에서 확인되는 것. */
.hotfinger-case .orders { margin-top: clamp(26px, 3vw, 48px); border-top: 1px solid var(--rule); }
.hotfinger-case .order-row {
  display: grid; grid-template-columns: 2.6em minmax(0, 1fr) minmax(0, 1.1fr) auto;
  align-items: start; gap: clamp(10px, 1.5vw, 26px);
  padding: clamp(18px, 2.1vw, 32px) 0; border-bottom: 1px solid var(--rule);
}
.hotfinger-case .order-row .no {
  font-family: var(--mono); font-size: clamp(13px, 1.1vw, 17px);
  color: var(--hf-orange); font-weight: 600; padding-top: 0.15em;
}
.hotfinger-case .order-row .said {
  font-size: clamp(14px, 1.1vw, 18px); line-height: 1.6; color: var(--k100);
  border-left: 3px solid var(--hf-orange); padding-left: clamp(10px, 1.1vw, 18px);
}
.hotfinger-case .order-row .said q { font-style: normal; }
.hotfinger-case .order-row .got { font-size: clamp(13px, 1.02vw, 16px); line-height: 1.66; color: var(--ink-72); }
.hotfinger-case .order-row .got b { color: var(--k100); font-weight: 650; }
.hotfinger-case .order-row .done {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  background: var(--k100); color: #fff; padding: 0.3em 0.7em; white-space: nowrap;
}

/* ── 전후 대조 ─────────────────────────────────────────────── */
.hotfinger-case .beforeafter {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
  margin-top: clamp(26px, 3vw, 48px);
}
.hotfinger-case .beforeafter > figure { margin: 0; background: var(--plate); padding: clamp(16px, 2vw, 36px); }
.hotfinger-case .beforeafter img { width: 100%; height: auto; }
.hotfinger-case .beforeafter figcaption {
  margin-top: clamp(10px, 1.2vw, 18px); font-size: clamp(11px, 0.9vw, 14px);
  line-height: 1.6; color: var(--ink-62);
}
.hotfinger-case .beforeafter .when {
  display: inline-block; font-family: var(--mono); font-size: max(11px, 0.86em);
  letter-spacing: 0.12em; color: rgb(192, 84, 10); margin-right: 0.7em;
}

/* ── 수치 ──────────────────────────────────────────────────── */
.hotfinger-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);
}
.hotfinger-case .measure > div { background: var(--plate); padding: clamp(20px, 2.2vw, 36px) clamp(16px, 1.8vw, 28px); }
.hotfinger-case .measure b {
  display: block; font-size: clamp(26px, 2.8vw, 46px); line-height: 1;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.hotfinger-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-62);
}

/* ── 네 색 ─────────────────────────────────────────────────── */
.hotfinger-case .four {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
  margin-top: clamp(26px, 3vw, 48px);
}
.hotfinger-case .four > div { position: relative; padding-top: clamp(84px, 9vw, 148px); }
.hotfinger-case .four span {
  position: absolute; left: 0.7em; bottom: 0.55em;
  font-family: var(--mono); font-size: clamp(9px, 0.74vw, 11px); line-height: 1.4;
}

/* ── 바탕별 워드마크 ───────────────────────────────────────── */
.hotfinger-case .grounds { margin-top: clamp(26px, 3vw, 48px); border-top: 1px solid var(--rule); }
.hotfinger-case .ground-row {
  display: grid; grid-template-columns: 8.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);
}
.hotfinger-case .ground-row b { font-family: var(--mono); font-size: clamp(11px, 0.86vw, 13px); font-weight: 500; }
.hotfinger-case .ground-row .chip { height: clamp(20px, 2vw, 30px); border: 1px solid var(--rule); }
.hotfinger-case .ground-row span { font-size: clamp(11px, 0.86vw, 13px); color: var(--ink-62); line-height: 1.55; }
.hotfinger-case .ground-row span b { font-family: var(--sans); font-weight: 650; color: var(--k100); }
.hotfinger-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;
}
.hotfinger-case .ground-row.split em { background: var(--hf-orange); color: #fff; }
.hotfinger-case .ground-row.one em { background: transparent; color: var(--ink-62); box-shadow: inset 0 0 0 1px var(--rule); }

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

/* ── 모션 ──────────────────────────────────────────────────── */
.hotfinger-case .motion-stage {
  position: relative; width: 100%; max-width: 1520px; margin: 0 auto;
  aspect-ratio: 1440 / 900; background: var(--hf-orange); overflow: hidden; z-index: 1;
}
.hotfinger-case .motion-stage video { width: 100%; height: 100%; object-fit: cover; }
.hotfinger-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;
}
.hotfinger-case .motion-note strong {
  font-size: clamp(15px, 1.24vw, 21px); font-weight: 650; letter-spacing: -0.012em; color: var(--on-o);
}
.hotfinger-case .motion-note span {
  font-size: clamp(12px, 0.94vw, 15px); color: var(--on-o-dim); line-height: 1.62; max-width: 62ch;
}

/* ── 목록 ──────────────────────────────────────────────────── */
.hotfinger-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);
}
.hotfinger-case .notes > div { border-top: 1px solid var(--rule); padding-top: clamp(16px, 1.8vw, 28px); }
.hotfinger-case .notes h3 { margin: 0 0 clamp(10px, 1.2vw, 18px); font-size: clamp(13px, 1vw, 16px); font-weight: 650; }
.hotfinger-case .notes ul { margin: 0; padding: 0; list-style: none; }
.hotfinger-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-62);
}
.hotfinger-case .notes li::before {
  content: ''; position: absolute; left: 0; top: 0.56em;
  width: 0.58em; height: 0.58em; border-radius: 999px; background: var(--hf-orange);
}

/* ── 마침 ──────────────────────────────────────────────────── */
.hotfinger-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);
}
.hotfinger-case .scene-end img { width: min(32%, 400px); position: relative; z-index: 1; }
.hotfinger-case .scene-end p {
  margin: 0; font-size: clamp(15px, 1.2vw, 20px); line-height: 1.72;
  color: var(--on-o-dim); max-width: 52ch; position: relative; z-index: 1;
}
.hotfinger-case .credit {
  font-family: var(--mono); font-size: clamp(11px, 0.82vw, 12px);
  letter-spacing: 0.2em; color: var(--on-o-faint); position: relative; z-index: 1;
}

/* ── 등장 ──────────────────────────────────────────────────── */
.hotfinger-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);
}
.hotfinger-case [data-reveal].is-in { opacity: 1; transform: none; }
.hotfinger-case [data-reveal][data-delay='1'] { transition-delay: 0.09s; }
.hotfinger-case [data-reveal][data-delay='2'] { transition-delay: 0.18s; }
.hotfinger-case [data-reveal][data-delay='3'] { transition-delay: 0.27s; }

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

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

/* === 그림 자리 예약 (CLS) — 자동 생성. 없으면 지연 로딩 때 아래가 밀린다 === */
img[src$="/hotfinger-case-assets/bs-color.jpg"],
img[src$="/hotfinger-case-assets/bs-grid.jpg"],
img[src$="/hotfinger-case-assets/bs-color-use.jpg"],
img[src$="/hotfinger-case-assets/bs-concept.jpg"],
img[src$="/hotfinger-case-assets/bs-symbol.jpg"],
img[src$="/hotfinger-case-assets/bs-logotype.jpg"],
img[src$="/hotfinger-case-assets/bs-reverse.jpg"],
img[src$="/hotfinger-case-assets/bs-signature.jpg"],
img[src$="/hotfinger-case-assets/bs-forbidden.jpg"],
img[src$="/hotfinger-case-assets/bs-type.jpg"],
img[src$="/hotfinger-case-assets/as-pattern.jpg"],
img[src$="/hotfinger-case-assets/as-mainsign.jpg"],
img[src$="/hotfinger-case-assets/as-standsign.jpg"] { aspect-ratio: 283/400; }
img[src$="/leaderin-case-assets-v2/symbol-final.svg"] { aspect-ratio: 37/24; }
img[src$="/hotfinger-case-assets/rev-sheet-r2.jpg"] { aspect-ratio: 2060/2913; }
img[src$="/hotfinger-case-assets/prev-symbol.png"] { aspect-ratio: 400/379; }
img[src$="/hotfinger-case-assets/mark-symbol.png"] { aspect-ratio: 802/739; }
