/* ==========================================================================
   금누리쥬얼리 GEUMNURI JEWELRY — 브랜드 아이덴티티 케이스
   강디자인

   설계 근거
   - 승인 컨셉 원문: "보석의 완전 구조인 육각형을 심볼 디자인의 핵심모티브로 … 그 중심에
     GOLD를 상징하는 'G'를 적용". 그래서 지면이 주얼리가 실제로 놓이는 면 — 벨벳이다.
   - 바탕 #1e1e1e 는 승인 마크 벡터의 먹 실측값이다. 지어낸 검정이 아니다.
   - 어두운 지면에는 가이드북이 어두운 바탕용으로 만들어 둔 Negative 를 쓴다.
     기본형의 국문 워드마크는 #231F20 먹이라 이 지면 위에서 사라진다.
   - 색 수치는 전부 실측값이다. 규정의 원본은 CMYK 이고 RGB 는 렌더 실측값임을 밝힌다.
   - 마크를 기울이거나 돌리지 않는다. 08 사용금지 06 「각도를 변형하여 사용한 경우」.
     규정이 정한 90도 세로형만 예외이며, 모션에는 회전을 쓰지 않았다.
   ========================================================================== */

body[data-geumnuri-project='true'] { background: #1e1e1e; }

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

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

.geumnuri-case {
  /* 승인 색상규정 05면 · 마크 벡터 실측 */
  --gold: #e2a330;    /* 규정 GOLD C10 M35 Y85 K0 · 마크의 60.5% */
  --gray: #a7a6a6;    /* 규정 GRAY C0 M0 Y0 K30 */
  --ink:  #231f20;    /* 규정 BLACK C0 M0 Y0 K100 · 국문 워드마크 */
  --velvet: #1e1e1e;  /* 마크 벡터 먹 실측 — 이 케이스의 지면 */
  --gem: #cfcfcf;     /* 다이아몬드 계조의 중간값 */
  --plate: #ffffff;

  --on-v: rgba(255, 255, 255, 0.92);
  --on-v-dim: rgba(255, 255, 255, 0.58);
  --on-v-faint: rgba(255, 255, 255, 0.3);
  --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-v: rgba(255, 255, 255, 0.18);

  --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(--velvet); color: var(--ink);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  word-break: keep-all;
}

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

/* ── 장면 ──────────────────────────────────────────────────── */
.geumnuri-case .scene {
  position: relative; padding: var(--stack) var(--gutter);
  background: var(--plate); color: var(--ink); overflow: hidden;
}
.geumnuri-case .scene.on-velvet { background: var(--velvet); color: var(--on-v); }
.geumnuri-case .scene-shell { position: relative; width: 100%; max-width: 1520px; margin: 0 auto; }

.geumnuri-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;
}
.geumnuri-case .scene.on-velvet .scene-index { color: var(--on-v-faint); }

.geumnuri-case .section-head { max-width: 62ch; margin: 0 0 clamp(34px, 4.4vw, 76px); }
.geumnuri-case .eyebrow {
  display: inline-block; font-family: var(--mono);
  font-size: clamp(11px, 0.82vw, 12px); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: clamp(14px, 1.5vw, 24px);
}
.geumnuri-case h2 {
  margin: 0; font-size: clamp(28px, 3.7vw, 62px); line-height: 1.16;
  letter-spacing: -0.022em; font-weight: 700;
}
.geumnuri-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;
}
.geumnuri-case .scene.on-velvet .lead { color: var(--on-v-dim); }
.geumnuri-case .lead b { font-weight: 650; color: var(--ink); }
.geumnuri-case .scene.on-velvet .lead b { color: var(--on-v); }
.geumnuri-case .lead q { font-style: normal; }

/* ── 히어로 ────────────────────────────────────────────────── */
.geumnuri-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);
}
.geumnuri-case .hero-mark { width: min(56%, 620px); height: auto; }
.geumnuri-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-v);
}
.geumnuri-case .hero-thesis em { font-style: normal; color: var(--gold); }
.geumnuri-case .hero-sub {
  margin: 0; font-size: clamp(14px, 1.1vw, 18px); line-height: 1.7;
  color: var(--on-v-faint); max-width: 48ch;
}
.geumnuri-case .hero-meta {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(8px, 1vw, 14px); margin-top: clamp(6px, 1vw, 16px);
}
.geumnuri-case .hero-meta span {
  font-family: var(--mono); font-size: clamp(11px, 0.76vw, 12px); letter-spacing: 0.14em;
  color: var(--on-v-dim); border: 1px solid var(--rule-v);
  padding: 0.5em 0.9em; border-radius: 999px;
}

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

/* ── 색 ────────────────────────────────────────────────────── */
.geumnuri-case .chips {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(12px, 1.4vw, 22px); margin-top: clamp(26px, 3vw, 48px);
}
.geumnuri-case .chip { display: flex; flex-direction: column; gap: 0.5em; }
.geumnuri-case .chip i { display: block; height: clamp(70px, 7.4vw, 124px); border: 1px solid var(--rule); }
.geumnuri-case .chip b { font-size: clamp(12px, 0.94vw, 15px); font-weight: 650; }
.geumnuri-case .chip code { font-family: var(--mono); font-size: clamp(10px, 0.84vw, 13px); color: var(--ink-72); }
.geumnuri-case .chip em { font-style: normal; font-size: clamp(11px, 0.8vw, 12px); color: var(--ink-62); line-height: 1.5; }

/* ── 화소 인구조사 ─────────────────────────────────────────── */
/* 이 케이스의 고유 장치. 마크의 어느 부분이 어느 색인지 넓이로 보여 준다. */
.geumnuri-case .census { margin-top: clamp(26px, 3vw, 48px); border-top: 1px solid var(--rule); }
.geumnuri-case .census-row {
  display: grid; grid-template-columns: 9em 1fr auto; align-items: center;
  gap: clamp(10px, 1.4vw, 24px); padding: clamp(12px, 1.4vw, 20px) 0;
  border-bottom: 1px solid var(--rule);
}
.geumnuri-case .census-row b { font-size: clamp(12px, 0.96vw, 15px); font-weight: 650; }
.geumnuri-case .census-bar { height: clamp(14px, 1.5vw, 22px); }
.geumnuri-case .census-row em {
  font-style: normal; font-family: var(--mono); font-size: clamp(11px, 0.88vw, 14px);
  color: var(--ink-72); font-variant-numeric: tabular-nums;
}
.geumnuri-case .census-row span {
  grid-column: 1 / -1; font-size: clamp(11px, 0.86vw, 13px); color: var(--ink-62); margin-top: -0.4em;
}

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

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

/* ── 목록 ──────────────────────────────────────────────────── */
.geumnuri-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);
}
.geumnuri-case .notes > div { border-top: 1px solid var(--rule); padding-top: clamp(16px, 1.8vw, 28px); }
.geumnuri-case .notes h3 { margin: 0 0 clamp(10px, 1.2vw, 18px); font-size: clamp(13px, 1vw, 16px); font-weight: 650; }
.geumnuri-case .notes ul { margin: 0; padding: 0; list-style: none; }
.geumnuri-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);
}
/* 표식은 마크의 육각이다 */
.geumnuri-case .notes li::before {
  content: ''; position: absolute; left: 0; top: 0.5em;
  width: 0.56em; height: 0.64em; background: var(--gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* ── 마침 ──────────────────────────────────────────────────── */
.geumnuri-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);
}
.geumnuri-case .scene-end img { width: min(44%, 460px); }
.geumnuri-case .scene-end p {
  margin: 0; font-size: clamp(15px, 1.2vw, 20px); line-height: 1.72;
  color: var(--on-v-dim); max-width: 50ch;
}
.geumnuri-case .credit {
  font-family: var(--mono); font-size: clamp(11px, 0.82vw, 12px);
  letter-spacing: 0.2em; color: var(--on-v-faint);
}

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

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

@media (max-width: 900px) {
  .geumnuri-case .plates, .geumnuri-case .plates.four { grid-template-columns: 1fr; }
  .geumnuri-case .motion-stage { aspect-ratio: 1440 / 900; }  /* 모션은 1440×900 이다. 4/3 으로 덮으면 object-fit:cover 가 좌우를 각 120열(폭의 16.7%) 잘라낸다 */
  .geumnuri-case .census-row { grid-template-columns: 1fr auto; }
  .geumnuri-case .census-bar { grid-column: 1 / -1; }
}

/* === 그림 자리 예약 (CLS) — 자동 생성. 없으면 지연 로딩 때 아래가 밀린다 === */
img[src$="/geumnuri-case-assets/sian-1.jpg"],
img[src$="/geumnuri-case-assets/sian-2.jpg"],
img[src$="/geumnuri-case-assets/sian-3.jpg"],
img[src$="/geumnuri-case-assets/sian-4.jpg"],
img[src$="/geumnuri-case-assets/revision.jpg"],
img[src$="/geumnuri-case-assets/bs-concept.jpg"],
img[src$="/geumnuri-case-assets/bs-grid.jpg"],
img[src$="/geumnuri-case-assets/bs-signature.jpg"],
img[src$="/geumnuri-case-assets/bs-color.jpg"],
img[src$="/geumnuri-case-assets/bs-type.jpg"],
img[src$="/geumnuri-case-assets/bs-forbidden.jpg"],
img[src$="/geumnuri-case-assets/as-card.jpg"],
img[src$="/geumnuri-case-assets/as-envelope.jpg"] { aspect-ratio: 1999/1414; }
img[src$="/geumnuri-case-assets/iv-cover.jpg"],
img[src$="/geumnuri-case-assets/iv-1.jpg"] { aspect-ratio: 1414/1999; }
img[src$="/leaderin-case-assets-v2/symbol-final.svg"] { aspect-ratio: 37/24; }
img[src$="/geumnuri-case-assets/mark-negative.png"] { aspect-ratio: 1365/724; }
