/* ==========================================================================
   이램 LAMB & FRESH — 브랜드 아이덴티티 케이스
   강디자인

   읽는 사람 — 의뢰를 검토하는 사업주다. 이야기로 쓴다.
   실측 층(색 수치·물성)은 CASE_NOTES 에만 둔다.

   설계 근거
   - 지면 #C41C24 은 BS-05 색상규정의 「이램 RED」 실측값이다. 주요색 셋 중 하나다.
     ΔE2000 최근접이 왕대박 #ED1C24 로 8.8 — 이 팔레트에서 유일하게 벌어진다.
     ORANGE #F47014 는 동일종합방재와 1.2, YELLOW #F8B808 은 윤슬초와 4.1 로 막힌다.
     (CIE76 으로는 RED 16.5 «통과»로 보이지만 2000 으로 재야 실제 구별이 보인다.)
   - 물성은 **인주(印朱) 도장 자국**이다. 마크가 전각 도장이라서다.
     잉크 농담 + 종이 올 + 눌렀다 떼는 되튐(ζ 0.62 · 8%).
     SP 아크릴(0.30)·창조 코팅PE(0.45)·금광 파나플렉스(0.80)·KCTC 강판(0)과 갈린다.
   - 모션의 색은 새로 칠하지 않았다. 06 색상활용 블록의 자기 바탕과의 차이만 얹는다.
   - 뺀 것: BS-01 컨셉설명(**매장·음식 사진**), BS-04 시그니춰블록(**농업회사법인 별빛농장 주소·전화**),
     AS-01 명함(**실명·전화**), AS-02 대소봉투(주소·전화), AS-03 현판류(**전화번호가 사인 안에 있다**),
     간판 목업 둘(유럽 거리 스톡 장면에 마크를 얹은 것).
   ========================================================================== */

body[data-ir-project='true'] { background: #c41c24; }
body[data-ir-project='true'] .case__study__slices { display: block; width: 100%; max-width: none; padding: 0; gap: 0; }
body[data-ir-project='true'] .case__study__info { display: none; }
.ir-site-host { width: 100%; }

.ir-case {
  --ir-red: #c41c24; --ir-or: #f47014; --ir-ye: #f8b808;
  --ir-g10: #4c4c54; --ir-g11: #bcc0c4; --ir-k: #201c20;
  --ir-ink: #2a1113; --ir-paper: #fdf7f5;
  background: var(--ir-red); color: #fdeceb;
  font-family: 'Helvetica Neue', Helvetica, -apple-system, 'Apple SD Gothic Neo', sans-serif;
  line-height: 1.62; -webkit-font-smoothing: antialiased;
}
.ir-case * { box-sizing: border-box; }
/* img 에 width/height 속성이 박혀 있어 폭만 줄면 세로로 늘어난다. 바닥 규칙. */
.ir-case img, .ir-case video { display: block; max-width: 100%; height: auto; }
.ir-case h1, .ir-case h2, .ir-case h3, .ir-case p,
.ir-case figcaption, .ir-case li { word-break: keep-all; }
.ir-wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }

.ir-hero { padding: clamp(80px, 13vw, 168px) 0 clamp(48px, 7vw, 92px); }
.ir-hero__eyebrow { font-size: clamp(11px, 1.1vw, 13px); letter-spacing: .26em; text-transform: uppercase;
  color: #f5c3c0; margin: 0 0 clamp(20px, 3vw, 34px); }
.ir-hero__title { font-size: clamp(29px, 4.9vw, 72px); line-height: 1.16; letter-spacing: -.02em;
  font-weight: 700; margin: 0 0 clamp(22px, 3vw, 36px); color: #fff; }
.ir-hero__title em { font-style: normal; box-shadow: inset 0 -.16em 0 rgba(248, 184, 8, .8); }
.ir-hero__lede { font-size: clamp(16px, 1.7vw, 21px); max-width: 46em; margin: 0; color: #fbe3e1; }
.ir-hero__meta { display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 44px);
  margin-top: clamp(34px, 5vw, 58px); padding-top: clamp(18px, 2.4vw, 26px);
  border-top: 1px solid rgba(255, 255, 255, .32);
  font-size: clamp(12px, 1.15vw, 14px); letter-spacing: .06em; color: #f5c3c0; }

.ir-sec { padding: clamp(52px, 8vw, 108px) 0; border-top: 1px solid rgba(255, 255, 255, .28); }
.ir-sec--paper { background: #fff; border-top: none; }
.ir-sec--pale { background: var(--ir-paper); border-top: none; }
.ir-sec--ink { background: var(--ir-k); border-top: none; }
.ir-kicker { font-size: clamp(11px, 1.05vw, 13px); letter-spacing: .24em; text-transform: uppercase;
  color: #f5c3c0; margin: 0 0 clamp(12px, 1.6vw, 18px); }
.ir-sec--paper .ir-kicker, .ir-sec--pale .ir-kicker { color: rgb(124, 108, 106); }
.ir-sec--ink .ir-kicker { color: #b0a6a5; }
.ir-h { font-size: clamp(24px, 3.5vw, 44px); line-height: 1.22; letter-spacing: -.015em;
  font-weight: 700; margin: 0 0 clamp(16px, 2.2vw, 26px); color: #fff; }
.ir-sec--paper .ir-h, .ir-sec--pale .ir-h { color: var(--ir-ink); }
.ir-p { font-size: clamp(15px, 1.5vw, 18px); max-width: 44em; margin: 0 0 1.1em; color: #fbe3e1; }
.ir-sec--paper .ir-p, .ir-sec--pale .ir-p { color: #4a3b39; }
.ir-sec--ink .ir-p { color: #ded6d5; }
.ir-p b { font-weight: 700; color: #fff; }
.ir-sec--paper .ir-p b, .ir-sec--pale .ir-p b { color: var(--ir-ink); }
.ir-note { font-size: clamp(12.5px, 1.2vw, 14.5px); max-width: 46em;
  margin: clamp(14px, 2vw, 22px) 0 0; color: #f0b9b6; }
.ir-sec--paper .ir-note, .ir-sec--pale .ir-note { color: rgb(124, 108, 106); }
.ir-sec--ink .ir-note { color: #b0a6a5; }

.ir-mark { margin: clamp(28px, 4.4vw, 56px) 0 0; text-align: center;
  padding: clamp(30px, 5vw, 64px) 20px; background: #fff; border: 1px solid rgba(42, 17, 19, .1); }
.ir-sec--paper .ir-mark { background: var(--ir-paper); }
.ir-mark img { margin: 0 auto; width: min(400px, 78%); }
.ir-mark figcaption { margin-top: clamp(18px, 2.4vw, 28px); font-size: clamp(13px, 1.3vw, 15.5px); color: rgb(124, 108, 106); }

.ir-colours { list-style: none; padding: 0; margin: clamp(24px, 3.4vw, 38px) 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.ir-colours li { background: #fff; border: 1px solid rgba(42, 17, 19, .12); padding-bottom: 14px; }
.ir-chip { display: block; height: clamp(72px, 8.6vw, 112px); }
.ir-colours strong { display: block; margin: 12px 12px 3px; font-size: clamp(11.5px, 1.05vw, 13px); color: var(--ir-ink); }
.ir-colours code { display: block; margin: 0 12px; font-size: 10.5px; letter-spacing: .05em; color: #8a7c7a; }
.ir-colours em { display: block; margin: 3px 12px 0; font-style: normal; font-size: 11px; color: rgb(126, 116, 114); }

.ir-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.6vw, 34px); margin-top: clamp(24px, 3.4vw, 38px); }
.ir-grid2 figure { margin: 0; }
.ir-grid2 img { width: 100%; background: #fff; border: 1px solid rgba(42, 17, 19, .14); }
.ir-grid2 figcaption { margin-top: 11px; font-size: clamp(11.5px, 1.1vw, 13.5px); color: #f0b9b6; }
.ir-sec--paper .ir-grid2 figcaption, .ir-sec--pale .ir-grid2 figcaption { color: rgb(124, 108, 106); }
.ir-sec--ink .ir-grid2 figcaption { color: #b0a6a5; }

.ir-plate { margin: clamp(24px, 3.4vw, 40px) 0 0; }
.ir-plate img { width: 100%; background: #fff; border: 1px solid rgba(42, 17, 19, .14); }
.ir-plate figcaption { margin-top: 12px; font-size: clamp(12px, 1.15vw, 14px); color: #f0b9b6; }
.ir-sec--paper .ir-plate figcaption, .ir-sec--pale .ir-plate figcaption { color: rgb(124, 108, 106); }
.ir-sec--ink .ir-plate figcaption { color: #b0a6a5; }

.ir-motion { margin: clamp(28px, 4vw, 52px) 0 0; }
.ir-motion video { width: 100%; background: var(--ir-red); }
.ir-motion figcaption { margin-top: 12px; font-size: clamp(12px, 1.15vw, 14px); color: #f0b9b6; }
.ir-sec--paper .ir-motion figcaption, .ir-sec--pale .ir-motion figcaption { color: rgb(124, 108, 106); }
.ir-sec--ink .ir-motion figcaption { color: #b0a6a5; }

.ir-forbid { list-style: none; padding: 0; margin: clamp(20px, 2.6vw, 30px) 0 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(18px, 2.4vw, 32px); }
.ir-forbid li { padding: 9px 0 9px 26px; border-bottom: 1px solid rgba(42, 17, 19, .16);
  position: relative; font-size: clamp(12.5px, 1.25vw, 15px); color: #574745; }
.ir-forbid li::before { content: '\00D7'; position: absolute; left: 4px; color: #c0392b; font-weight: 700; }

.ir-list { list-style: none; padding: 0; margin: clamp(18px, 2.4vw, 26px) 0 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(18px, 2.4vw, 32px); }
.ir-list li { padding: 9px 0 9px 22px; border-bottom: 1px solid rgba(255, 255, 255, .26);
  position: relative; font-size: clamp(12.5px, 1.25vw, 15px); color: #fbe3e1; }
.ir-list li::before { content: '—'; position: absolute; left: 0; color: var(--ir-ye); }
.ir-list li[data-out='true'] { color: #e8a9a6; }
.ir-list li[data-out='true']::before { color: #d99a97; }

.ir-case [data-reveal] { opacity: 0; transform: translateY(18px);
  transition: opacity .72s cubic-bezier(.16, 1, .3, 1), transform .72s cubic-bezier(.16, 1, .3, 1); }
.ir-case [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ir-case [data-reveal] { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 860px) {
  .ir-grid2, .ir-list, .ir-forbid, .ir-colours { grid-template-columns: 1fr; }
  .ir-mark img { width: 88%; }
}

/* === 그림 자리 예약 (CLS) — 자동 생성. 없으면 지연 로딩 때 아래가 밀린다 === */
img[src$="/leaderin-case-assets-v2/symbol-final.svg"] { aspect-ratio: 37/24; }
img[src$="/ir-case-assets/mark-approved.png"] { aspect-ratio: 666/391; }
img[src$="/ir-case-assets/plate-grid.png"] { aspect-ratio: 1496/807; }
img[src$="/ir-case-assets/plate-negative.png"] { aspect-ratio: 1397/767; }
img[src$="/ir-case-assets/plate-basic.png"] { aspect-ratio: 1500/1033; }
img[src$="/ir-case-assets/mockup-emboss-r2.jpg"] { aspect-ratio: 509/297; }
img[src$="/ir-case-assets/plate-colour.png"] { aspect-ratio: 375/146; }
img[src$="/ir-case-assets/plate-coloruse.png"] { aspect-ratio: 300/133; }
img[src$="/ir-case-assets/plate-character.png"] { aspect-ratio: 375/181; }
img[src$="/ir-case-assets/plate-forbidden.png"] { aspect-ratio: 125/44; }
img[src$="/ir-case-assets/plate-type.png"] { aspect-ratio: 300/83; }
