/* ==========================================================================
   나렛 NRG&C (Green Chem Leader) — 브랜드 아이덴티티 케이스
   강디자인

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

   설계 근거
   - 지면 #2056AE 는 BS-04 색상규정의 「NRG&C Blue 1」 실측값이다.
     실제 선언된 바탕 31개 중 가장 가까운 #3871C1(KCTC)과 ΔE 13.0 으로 벌어진다.
     같은 규정의 Blue 2 #0995DD 는 한국교정 #0B8ED8 과 ΔE 3.3,
     Gray #A7A5A6 는 렌탈코리아와 9.9, Black 은 금누리와 2.3 이라 쓸 수 없었다.
   - 마크가 지면 바탕과 같은 색 계열이라 마크 도판은 흰 판 위에 올린다.
     needlework · carrie · dy 와 같은 방식이다.
   - 마크의 형태·비례·색은 건드리지 않았다. 모션 01 은 승인 원본을 통째로 올리고
     마지막에 한 번 더 덮어 끝 프레임을 승인 조합에 고정한다.
   - 뺀 것: 명함(대표 실명·주소·전화·URL), 대봉투·중봉투·소봉투(주소·전화),
     사원증(인물 얼굴 사진), 컨셉 지면의 스톡 사진, 방문증 우측 카드(주소·전화).
   - 지면은 A4 세로 실치수라 크롭마크가 없다. 잉크 bbox 로만 잘랐다.
   ========================================================================== */

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

.nr-case {
  --nr-blue1: #2056ae; --nr-blue2: #0995dd;
  --nr-grey: #a7a5a6; --nr-ink: #231f20; --nr-paper: #f2f6fb;
  background: var(--nr-blue1); color: #e7eefb;
  font-family: 'Helvetica Neue', Helvetica, -apple-system, 'Apple SD Gothic Neo', sans-serif;
  line-height: 1.62; -webkit-font-smoothing: antialiased;
}
.nr-case * { box-sizing: border-box; }
/* img 에 width/height 속성이 박혀 있어 폭만 줄면 세로로 늘어난다. 바닥 규칙. */
.nr-case img, .nr-case video { display: block; max-width: 100%; height: auto; }
.nr-case h1, .nr-case h2, .nr-case h3, .nr-case p,
.nr-case figcaption, .nr-case li { word-break: keep-all; }
.nr-wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }

/* 표제 */
.nr-hero { padding: clamp(80px, 13vw, 168px) 0 clamp(48px, 7vw, 92px); }
.nr-hero__eyebrow {
  font-size: clamp(11px, 1.1vw, 13px); letter-spacing: .26em; text-transform: uppercase;
  color: rgb(194, 212, 239); margin: 0 0 clamp(20px, 3vw, 34px);
}
.nr-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;
}
.nr-hero__title em { font-style: normal; box-shadow: inset 0 -.16em 0 rgba(9, 149, 221, .9); }
.nr-hero__lede { font-size: clamp(16px, 1.7vw, 21px); max-width: 46em; margin: 0; color: #cfdcf3; }
.nr-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, .3);
  font-size: clamp(12px, 1.15vw, 14px); letter-spacing: .06em; color: rgb(194, 212, 239);
}

/* 구획 */
.nr-sec { padding: clamp(52px, 8vw, 108px) 0; border-top: 1px solid rgba(255, 255, 255, .24); }
.nr-sec--paper { background: #fff; border-top: none; }
.nr-sec--pale { background: var(--nr-paper); border-top: none; }
.nr-sec--navy { background: var(--nr-blue1); border-top: none; }
.nr-kicker {
  font-size: clamp(11px, 1.05vw, 13px); letter-spacing: .24em; text-transform: uppercase;
  color: rgb(194, 212, 239); margin: 0 0 clamp(12px, 1.6vw, 18px);
}
.nr-sec--paper .nr-kicker, .nr-sec--pale .nr-kicker { color: rgb(87, 116, 112); }
.nr-sec--navy .nr-kicker { color: #9fb6d6; }
.nr-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;
}
.nr-sec--paper .nr-h, .nr-sec--pale .nr-h { color: var(--nr-blue1); }
.nr-sec--navy .nr-h { color: #fff; }
.nr-p { font-size: clamp(15px, 1.5vw, 18px); max-width: 44em; margin: 0 0 1.1em; color: #cfdcf3; }
.nr-sec--paper .nr-p { color: #37424a; }
.nr-sec--pale .nr-p { color: #33474a; }
.nr-sec--navy .nr-p { color: #cfdcee; }
.nr-p b { font-weight: 700; color: #fff; }
.nr-sec--paper .nr-p b, .nr-sec--pale .nr-p b { color: var(--nr-blue1); }
.nr-sec--navy .nr-p b { color: var(--nr-blue2); }
.nr-note {
  font-size: clamp(12.5px, 1.2vw, 14.5px); max-width: 46em;
  margin: clamp(14px, 2vw, 22px) 0 0; color: rgb(194, 212, 239);
}
.nr-sec--paper .nr-note, .nr-sec--pale .nr-note { color: rgb(87, 116, 112); }
.nr-sec--navy .nr-note { color: #9fb6d6; }

/* 마크 */
.nr-mark {
  margin: clamp(28px, 4.4vw, 56px) 0 0; text-align: center;
  padding: clamp(30px, 5vw, 64px) 20px; background: #fff; border: 1px solid rgba(25, 52, 116, .1);
}
.nr-sec--paper .nr-mark { background: var(--nr-paper); }
.nr-sec--navy .nr-mark { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .2); }
.nr-mark img { margin: 0 auto; width: min(400px, 74%); }
.nr-mark figcaption {
  margin-top: clamp(18px, 2.4vw, 28px); font-size: clamp(13px, 1.3vw, 15.5px); color: rgb(87, 116, 112);
}
.nr-sec--navy .nr-mark figcaption { color: #9fb6d6; }

/* 색 */
.nr-colours {
  list-style: none; padding: 0; margin: clamp(24px, 3.4vw, 38px) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 18px);
}
.nr-colours li { background: #fff; border: 1px solid rgba(25, 52, 116, .12); padding-bottom: 14px; }
.nr-chip { display: block; height: clamp(70px, 8.6vw, 110px); }
.nr-tints { display: grid; grid-template-columns: repeat(4, 1fr); height: 20px; }
.nr-tints i { display: block; height: 100%; }
.nr-colours strong { display: block; margin: 12px 10px 3px; font-size: clamp(11px, 1vw, 12.5px); color: var(--nr-blue1); }
.nr-colours code { margin: 0 10px; font-size: 10.5px; letter-spacing: .05em; color: #8b8480; }

/* 격자 — 이 케이스의 지면은 세로다 */
.nr-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.6vw, 34px); margin-top: clamp(24px, 3.4vw, 38px); }
.nr-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.2vw, 26px); margin-top: clamp(24px, 3.4vw, 38px); }
.nr-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.8vw, 22px); margin-top: clamp(24px, 3.4vw, 38px); }
.nr-grid2 figure, .nr-grid3 figure, .nr-grid4 figure { margin: 0; }
.nr-grid2 img, .nr-grid3 img, .nr-grid4 img { width: 100%; background: #fff; border: 1px solid rgba(25, 52, 116, .14); }
.nr-sec--navy .nr-grid2 img, .nr-sec--navy .nr-grid3 img, .nr-sec--navy .nr-grid4 img { border-color: rgba(255, 255, 255, .2); }
.nr-grid2 figcaption, .nr-grid3 figcaption, .nr-grid4 figcaption {
  margin-top: 11px; font-size: clamp(11.5px, 1.1vw, 13.5px); color: rgb(194, 212, 239);
}
.nr-sec--paper .nr-grid2 figcaption, .nr-sec--paper .nr-grid3 figcaption, .nr-sec--paper .nr-grid4 figcaption,
.nr-sec--pale .nr-grid2 figcaption, .nr-sec--pale .nr-grid3 figcaption, .nr-sec--pale .nr-grid4 figcaption { color: rgb(87, 116, 112); }
.nr-sec--navy .nr-grid2 figcaption, .nr-sec--navy .nr-grid3 figcaption, .nr-sec--navy .nr-grid4 figcaption { color: #9fb6d6; }

/* 모션 */
.nr-motion { margin: clamp(28px, 4vw, 52px) 0 0; }
.nr-motion video { width: 100%; background: #fff; }
.nr-motion figcaption { margin-top: 12px; font-size: clamp(12px, 1.15vw, 14px); color: rgb(194, 212, 239); }
.nr-sec--paper .nr-motion figcaption, .nr-sec--pale .nr-motion figcaption { color: rgb(87, 116, 112); }
.nr-sec--navy .nr-motion figcaption { color: #9fb6d6; }

/* 목록 */
.nr-list { list-style: none; padding: 0; margin: clamp(18px, 2.4vw, 26px) 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(18px, 2.4vw, 32px); }
.nr-list li {
  padding: 9px 0 9px 22px; border-bottom: 1px solid rgba(255, 255, 255, .16);
  position: relative; font-size: clamp(12.5px, 1.25vw, 15px); color: #cfdcee;
}
.nr-list li::before { content: '—'; position: absolute; left: 0; color: var(--nr-blue2); }
.nr-list li[data-out='true'] { color: #7c8fae; }
.nr-list li[data-out='true']::before { color: #5d6f8c; }

/* 등장 */
.nr-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);
}
.nr-case [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .nr-case [data-reveal] { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1000px) {
  .nr-list { grid-template-columns: repeat(2, 1fr); }
  .nr-colours { grid-template-columns: repeat(2, 1fr); }
  .nr-grid4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nr-colours { grid-template-columns: repeat(2, 1fr); }
  .nr-grid2, .nr-grid3, .nr-list { grid-template-columns: 1fr; }
  .nr-mark img { width: 88%; }
}

/* === 그림 자리 예약 (CLS) — 자동 생성. 없으면 지연 로딩 때 아래가 밀린다 === */
img[src$="/leaderin-case-assets-v2/symbol-final.svg"] { aspect-ratio: 37/24; }
img[src$="/nr-case-assets/mark.png"] { aspect-ratio: 1200/289; }
img[src$="/nr-case-assets/spec-concept.jpg"] { aspect-ratio: 120/79; }
img[src$="/nr-case-assets/spec-reverse.jpg"] { aspect-ratio: 1200/1553; }
img[src$="/nr-case-assets/spec-grid.jpg"] { aspect-ratio: 80/111; }

/* 남은 그림의 자리 예약 — 다섯만 걸려 있었다.
   상자가 0 이면 loading="lazy" 가 영영 안 터진다(spec-forbidden·spec-type 이 434×2 였다). */
img[src$="/nr-case-assets/spec-colour.jpg"] { aspect-ratio: 1200 / 1449; }
img[src$="/nr-case-assets/spec-coloruse.jpg"] { aspect-ratio: 1200 / 1253; }
img[src$="/nr-case-assets/use-folder-r2.jpg"] { aspect-ratio: 494 / 718; }
img[src$="/nr-case-assets/use-folder2-r2.jpg"] { aspect-ratio: 494 / 593; }
img[src$="/nr-case-assets/use-approval-r2.jpg"] { aspect-ratio: 494 / 718; }
img[src$="/nr-case-assets/use-award-r2.jpg"] { aspect-ratio: 494 / 648; }
img[src$="/nr-case-assets/use-memo.jpg"] { aspect-ratio: 1200 / 1483; }
img[src$="/nr-case-assets/use-nameplate.jpg"] { aspect-ratio: 1200 / 1240; }
img[src$="/nr-case-assets/use-infosign-r2.jpg"] { aspect-ratio: 494 / 684; }
img[src$="/nr-case-assets/use-deptsign-r2.jpg"] { aspect-ratio: 494 / 598; }
img[src$="/nr-case-assets/use-doorplate-r2.jpg"] { aspect-ratio: 494 / 654; }
img[src$="/nr-case-assets/use-visitor-r2a.jpg"] { aspect-ratio: 494 / 918; }
img[src$="/nr-case-assets/spec-forbidden.jpg"] { aspect-ratio: 1200 / 1788; }
img[src$="/nr-case-assets/spec-type.jpg"] { aspect-ratio: 1200 / 1366; }
