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

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

   설계 근거
   - 지면 #6CCCF4 은 BS-05 색상규정의 「SP ENERGY BLUE 2」 실측값이다(Process C58 M0 Y0 K0).
     보조색이 아니라 전용색 둘 중 하나다. ΔE2000 최근접이 수정음료 9.7 · 다보 10.2 로 넉넉하다.
     (BLUE 1 #1C60B4 은 나렛과 3.7 로 막힌다.)
   - 물성은 **아크릴 사인면**이다. 응용 17항 중 여섯이 사인판이라서다.
     한 방향 연마 자국 + 넓은 내부 글로우 + 좁고 날카로운 모서리 빛 + 가볍게 세 번 튕김(ζ 0.30).
     창조 코팅 PE(ζ 0.45)·금광 파나플렉스(ζ 0.80)·KCTC 강판(0)과 겹치지 않는다.
   - 모션의 색은 새로 칠하지 않았다. 07 색상활용 B · 05 색상규정 블록의
     자기 바탕과의 차이만 얹는다.
   - **원본 PDF 는 60지면인데 본편은 p1~p30 뿐이다.**
     p40~p42 는 시안 셋(제품 사진 포함), p47 은 **HS ENC · 서울산전주식회사 로고**,
     p48~p51 은 네이밍 시안, p49 는 **연락처가 든 안내문**이다. 그 구간은 열지도 쓰지도 않았다.
   - 뺀 것: AS-01 명함 · AS-02 대봉투 · AS-03 소봉투 · AS-04 레터지 · AS-05 팩스서식 ·
     AS-06 메모지 · AS-07 서류철커버(주소·전화·이메일·성명),
     BS-01 기본디자인 지면(**제품 사진**이 함께 놓여 있다),
     폴더의 `명함박덕산…` `명함인쇄조영범ok` 등 **실명이 든 파일**,
     `hsenc대봉투인쇄ok.ai`(다른 브랜드).
   ========================================================================== */

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

.sp-case {
  --sp-b1: #1c60b4; --sp-b2: #6cccf4; --sp-dk: #505458; --sp-lt: #bcb8b4; --sp-k: #201c20;
  --sp-ink: #0f2540; --sp-paper: #f5fbfe;
  background: var(--sp-b2); color: #123049;
  font-family: 'Helvetica Neue', Helvetica, -apple-system, 'Apple SD Gothic Neo', sans-serif;
  line-height: 1.62; -webkit-font-smoothing: antialiased;
}
.sp-case * { box-sizing: border-box; }
/* img 에 width/height 속성이 박혀 있어 폭만 줄면 세로로 늘어난다. 바닥 규칙. */
.sp-case img, .sp-case video { display: block; max-width: 100%; height: auto; }
.sp-case h1, .sp-case h2, .sp-case h3, .sp-case p,
.sp-case figcaption, .sp-case li { word-break: keep-all; }
.sp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }

/* 표제 */
.sp-hero { padding: clamp(80px, 13vw, 168px) 0 clamp(48px, 7vw, 92px); }
.sp-hero__eyebrow {
  font-size: clamp(11px, 1.1vw, 13px); letter-spacing: .26em; text-transform: uppercase;
  color: rgb(25, 81, 116); margin: 0 0 clamp(20px, 3vw, 34px);
}
.sp-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: #0b2b46;
}
.sp-hero__title em { font-style: normal; box-shadow: inset 0 -.16em 0 rgba(28, 96, 180, .55); }
.sp-hero__lede { font-size: clamp(16px, 1.7vw, 21px); max-width: 46em; margin: 0; color: #123049; }
.sp-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(11, 43, 70, .28);
  font-size: clamp(12px, 1.15vw, 14px); letter-spacing: .06em; color: rgb(25, 81, 116);
}

/* 구획 */
.sp-sec { padding: clamp(52px, 8vw, 108px) 0; border-top: 1px solid rgba(11, 43, 70, .22); }
.sp-sec--paper { background: #fff; border-top: none; }
.sp-sec--pale { background: var(--sp-paper); border-top: none; }
.sp-sec--blue { background: var(--sp-b1); border-top: none; }
.sp-kicker {
  font-size: clamp(11px, 1.05vw, 13px); letter-spacing: .24em; text-transform: uppercase;
  color: rgb(25, 81, 116); margin: 0 0 clamp(12px, 1.6vw, 18px);
}
.sp-sec--paper .sp-kicker, .sp-sec--pale .sp-kicker { color: rgb(103, 115, 124); }
.sp-sec--blue .sp-kicker { color: #a8cbef; }
.sp-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: #0b2b46;
}
.sp-sec--blue .sp-h { color: #fff; }
.sp-p { font-size: clamp(15px, 1.5vw, 18px); max-width: 44em; margin: 0 0 1.1em; color: #123049; }
.sp-sec--paper .sp-p, .sp-sec--pale .sp-p { color: #3f4b56; }
.sp-sec--blue .sp-p { color: #dbe8f8; }
.sp-p b { font-weight: 700; color: #0b2b46; }
.sp-sec--blue .sp-p b { color: #fff; }
.sp-note {
  font-size: clamp(12.5px, 1.2vw, 14.5px); max-width: 46em;
  margin: clamp(14px, 2vw, 22px) 0 0; color: rgb(25, 81, 116);
}
.sp-sec--paper .sp-note, .sp-sec--pale .sp-note { color: rgb(103, 115, 124); }
.sp-sec--blue .sp-note { color: #a8cbef; }

/* 마크 */
.sp-mark {
  margin: clamp(28px, 4.4vw, 56px) 0 0; text-align: center;
  padding: clamp(30px, 5vw, 64px) 20px; background: #fff; border: 1px solid rgba(11, 43, 70, .1);
}
.sp-sec--paper .sp-mark { background: var(--sp-paper); }
.sp-mark img { margin: 0 auto; width: min(560px, 86%); }
.sp-mark figcaption {
  margin-top: clamp(18px, 2.4vw, 28px); font-size: clamp(13px, 1.3vw, 15.5px); color: rgb(103, 115, 124);
}

/* 색 */
.sp-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);
}
.sp-colours li { background: #fff; border: 1px solid rgba(11, 43, 70, .12); padding-bottom: 14px; }
.sp-chip { display: block; height: clamp(72px, 8.6vw, 112px); }
.sp-tints { display: grid; grid-template-columns: repeat(4, 1fr); height: 20px; }
.sp-tints i { display: block; height: 100%; }
.sp-colours strong { display: block; margin: 12px 12px 3px; font-size: clamp(11.5px, 1.05vw, 13px); color: var(--sp-ink); }
.sp-colours code { display: block; margin: 0 12px; font-size: 10.5px; letter-spacing: .05em; color: #8a929a; }
.sp-colours em { display: block; margin: 3px 12px 0; font-style: normal; font-size: 11px; color: #a3abb3; }

/* 격자 */
.sp-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.6vw, 34px); margin-top: clamp(24px, 3.4vw, 38px); }
.sp-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.2vw, 26px); margin-top: clamp(24px, 3.4vw, 38px); }
.sp-grid2 figure, .sp-grid3 figure { margin: 0; }
.sp-grid2 img, .sp-grid3 img { width: 100%; background: #fff; border: 1px solid rgba(11, 43, 70, .14); }
.sp-grid2 figcaption, .sp-grid3 figcaption { margin-top: 11px; font-size: clamp(11.5px, 1.1vw, 13.5px); color: rgb(25, 81, 116); }
.sp-sec--paper .sp-grid2 figcaption, .sp-sec--paper .sp-grid3 figcaption,
.sp-sec--pale .sp-grid2 figcaption, .sp-sec--pale .sp-grid3 figcaption { color: rgb(103, 115, 124); }
.sp-sec--blue .sp-grid2 figcaption, .sp-sec--blue .sp-grid3 figcaption { color: #a8cbef; }

/* 한 장짜리 지면 */
.sp-plate { margin: clamp(24px, 3.4vw, 40px) 0 0; }
.sp-plate img { width: 100%; background: #fff; border: 1px solid rgba(11, 43, 70, .14); }
.sp-plate figcaption { margin-top: 12px; font-size: clamp(12px, 1.15vw, 14px); color: rgb(25, 81, 116); }
.sp-sec--paper .sp-plate figcaption, .sp-sec--pale .sp-plate figcaption { color: rgb(103, 115, 124); }
.sp-sec--blue .sp-plate figcaption { color: #a8cbef; }

/* 모션 */
.sp-motion { margin: clamp(28px, 4vw, 52px) 0 0; }
.sp-motion video { width: 100%; background: var(--sp-b2); }
.sp-motion figcaption { margin-top: 12px; font-size: clamp(12px, 1.15vw, 14px); color: rgb(25, 81, 116); }
.sp-sec--paper .sp-motion figcaption, .sp-sec--pale .sp-motion figcaption { color: rgb(103, 115, 124); }
.sp-sec--blue .sp-motion figcaption { color: #a8cbef; }

/* 금지 여덟 */
.sp-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); }
.sp-forbid li {
  padding: 9px 0 9px 26px; border-bottom: 1px solid rgba(11, 43, 70, .16);
  position: relative; font-size: clamp(12.5px, 1.25vw, 15px); color: #4a5661;
}
.sp-forbid li::before { content: '\00D7'; position: absolute; left: 4px; color: #c0392b; font-weight: 700; }

/* 목록 */
.sp-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); }
.sp-list li {
  padding: 9px 0 9px 22px; border-bottom: 1px solid rgba(11, 43, 70, .22);
  position: relative; font-size: clamp(12.5px, 1.25vw, 15px); color: #123049;
}
.sp-list li::before { content: '—'; position: absolute; left: 0; color: var(--sp-b1); }
/* 재료·공법 인용은 문장이 길어 두 칸으로 — 세 칸이면 인용부호가 줄바꿈에 걸린다 */
.sp-list--pair { grid-template-columns: repeat(2, 1fr); }
.sp-list li[data-out='true'] { color: rgb(63, 79, 92); }
.sp-list li[data-out='true']::before { color: #7d93a6; }

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

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

/* === 그림 자리 예약 (CLS) — 자동 생성. 없으면 지연 로딩 때 아래가 밀린다 === */
img[src$="/leaderin-case-assets-v2/symbol-final.svg"] { aspect-ratio: 37/24; }
img[src$="/sp-case-assets/mark-approved.png"] { aspect-ratio: 1190/219; }
img[src$="/sp-case-assets/plate-grid.png"] { aspect-ratio: 187/101; }
img[src$="/sp-case-assets/plate-negative.png"] { aspect-ratio: 1397/767; }
img[src$="/sp-case-assets/plate-space.png"] { aspect-ratio: 150/143; }
img[src$="/sp-case-assets/plate-signature.png"] { aspect-ratio: 750/451; }
img[src$="/sp-case-assets/plate-colour.png"] { aspect-ratio: 1500/461; }
img[src$="/sp-case-assets/plate-coloruse-b.png"] { aspect-ratio: 750/151; }
img[src$="/sp-case-assets/plate-coloruse-a.png"] { aspect-ratio: 750/347; }
img[src$="/sp-case-assets/use-sign-r2.png"] { aspect-ratio: 333/160; }
img[src$="/sp-case-assets/use-plaque-r2.png"] { aspect-ratio: 666/275; }
img[src$="/sp-case-assets/use-guide-r2.png"] { aspect-ratio: 666/353; }
img[src$="/sp-case-assets/use-board-r2.png"] { aspect-ratio: 333/280; }
img[src$="/sp-case-assets/use-badge-r2.png"] { aspect-ratio: 222/109; }
img[src$="/sp-case-assets/use-idflag-r2.png"] { aspect-ratio: 333/275; }
img[src$="/sp-case-assets/use-pop-r2.png"] { aspect-ratio: 111/62; }
img[src$="/sp-case-assets/use-folder-r2.png"] { aspect-ratio: 333/176; }
img[src$="/sp-case-assets/use-diary-r2.png"] { aspect-ratio: 666/359; }
img[src$="/sp-case-assets/use-holder.png"] { aspect-ratio: 500/307; }
img[src$="/sp-case-assets/plate-forbidden.png"] { aspect-ratio: 1500/527; }
