@font-face { font-family: 'Galmuri11'; src: url(../assets/fonts/galmuri/Galmuri11.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Galmuri11'; src: url(../assets/fonts/galmuri/Galmuri11-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }

/* Case page (shared by home.html and the Lens detail). All rules scoped to .case. */
.case {
  --tile: #f2f2f0; --gap: clamp(12px, 1.4vw, 20px); --edge: clamp(16px, 2.2vw, 32px);
  --accent: #ff4a1c; --gray: #8a8a86; --ink: #0e0e0e;
  font-size: 14px; line-height: 1.5; word-break: keep-all;
  /* Type scale for the scene-based cases (ShinHan, Gongganji), after the dayroom Behance case:
     few steps, title about twice the body, English set one step under the Korean it follows. */
  --fs-display: clamp(44px, 7.4vw, 124px); /* fair title */
  --fs-h1: clamp(34px, 4vw, 60px);         /* part title (A, B) */
  --fs-h2: clamp(24px, 2.2vw, 32px);       /* scene title */
  --fs-h3: clamp(18px, 1.5vw, 22px);       /* fact values, card titles */
  --fs-body: 16px;                         /* Korean body */
  --fs-sub: 14px;                          /* English line */
  --fs-meta: 12px;                         /* mono labels, kickers */
  --fs-cap: 11px;                          /* image captions */
}
@media (max-width: 760px) {
  .case { --fs-display: 34px; --fs-h1: 26px; --fs-h2: 19px; --fs-h3: 15px; --fs-body: 14px; --fs-sub: 12px; --fs-meta: 10px; --fs-cap: 10px; }
}
.case a { color: inherit; text-decoration: none; }
.case img { display: block; max-width: 100%; }
.case .mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
/* Case page */
/* Opening: inset hero + four-column info row (layout reference: order.design project pages) */
.case { --case-pad: clamp(16px, 8vw, 120px); --edge: var(--case-pad); --en: 'Fragment Mono', 'Pretendard Variable', Pretendard, sans-serif; }
.case .case-hero {
  width: var(--hero-w, calc(100% - var(--case-pad) * 2));
  height: var(--hero-h, auto); aspect-ratio: 3 / 2; max-height: 66vh;
  margin: 8px auto 0; overflow: hidden; background: var(--tile);
}
.case .case-hero picture { display: block; width: 100%; height: 100%; }
.case .case-hero img { width: 100%; height: 100%; object-fit: cover; }
.case .case-hero.contain img { object-fit: contain; padding: 4%; }
/* Hero motion (src/hero-motion.js): backdrop canvas (game bg re-laid out wide) under the stage
   canvas (Shiba + receipts). All motion is drawn on the single rAF clock — no CSS animation here. */
.case .hero-motion { position: relative; }
.case .hero-motion canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.case .hero-motion .hm-stage { image-rendering: pixelated; }
/* Static Shiba only if the pose art failed to load (old composition: 82% box on the bottom edge). */
.case .case-hero .hm-fallback {
  display: none; position: absolute; left: 50%; top: calc(100% - 82% * 0.97);
  width: auto; height: 82%; aspect-ratio: 1; padding: 0; object-fit: contain; transform: translateX(-50%);
}
.case .hero-motion.hm-failed .hm-fallback { display: block; }
.case .hm-toggle {
  position: absolute; right: 10px; bottom: 10px; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(20, 20, 20, 0.55); color: #fff; opacity: 0.55; transition: opacity .2s;
  display: grid; place-items: center;
}
.case .hm-toggle[hidden] { display: none; }
.case .hm-toggle:hover, .case .hm-toggle:focus-visible { opacity: 1; }
.case .hm-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.case .hm-toggle::before { content: ''; width: 8px; height: 10px; border-left: 3px solid; border-right: 3px solid; box-sizing: border-box; }
.case .hm-toggle[data-paused="true"]::before { width: 0; height: 0; border: 0; border-left: 9px solid; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 2px; }
.case .case-info {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  padding: 36px var(--case-pad) clamp(56px, 10vh, 120px);
  font-family: var(--en); font-size: 13px; line-height: 1.4; letter-spacing: -0.01em;
}
.case .case-info h1 { margin: 0; font: inherit; }
.case .case-info h1 .ko { display: block; color: var(--gray); margin-top: 2px; }
.case .toc { display: grid; justify-items: start; gap: 8px; align-content: start; }
.case .toc button { font: inherit; color: var(--gray); border-bottom: 1px solid currentColor; padding: 0 0 1px; transition: color .25s; }
.case .toc button:hover { color: var(--ink); }
/* Korean runs in Pretendard: the mono font's wide space makes Hangul look loose. */
.case .case-info .desc, .case .case-info h1 .ko { font-family: var(--sans, 'Pretendard Variable', Pretendard, sans-serif); letter-spacing: -0.015em; }
.case .case-info .desc { margin: 0; color: var(--ink); line-height: 1.6; font-size: 14px; }
.case .case-info .desc .draft { font-family: var(--en); }
.case .facts { margin: 0; display: grid; gap: 14px; align-content: start; }
.case .facts dt { color: var(--gray); }
.case .facts dd { margin: 2px 0 0; }

.case .sec { padding: 0 var(--edge); margin-bottom: var(--gap); }
.case .sec-text {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap);
  margin: clamp(32px, 6vh, 64px) 0;
}
.case .sec-text p { grid-column: 4 / span 6; margin: 0; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; letter-spacing: -0.02em; }
.case .draft { color: var(--accent); font-family: var(--mono); font-size: 10px; letter-spacing: .06em; margin-right: 6px; vertical-align: 2px; }

.case .chapter {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap);
  padding: 18px 0 0; margin: clamp(72px, 12vh, 140px) 0 clamp(28px, 4vh, 44px);
  border-top: 1.5px solid var(--ink);
}
.case .chapter .no { grid-column: 1 / span 1; color: var(--gray); padding-top: 8px; }
.case .chapter .head { grid-column: 2 / span 6; }
.case .chapter h3 { margin: 0; font-size: clamp(22px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.case .chapter .ko { color: var(--gray); margin-top: 6px; letter-spacing: -0.015em; }
.case .chapter p { grid-column: 9 / -1; margin: 6px 0 0; color: #3a3a38; line-height: 1.6; letter-spacing: -0.015em; }
.case .chapter .tag { display: inline-block; margin-top: 10px; color: var(--accent); }

.case .media { background: var(--tile); overflow: hidden; }
.case .media img { width: 100%; height: 100%; object-fit: cover; }
.case .media picture { display: contents; }
@media (max-width: 760px) { .case .media.has-m { aspect-ratio: var(--rm) !important; } }
.case .film { position: relative; }
.case .film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.case .hero-film { position: relative; }
.case .hero-film .film { position: absolute; inset: 0; }
.case .hero-film .hf-m { display: none; }
@media (max-width: 760px) { .case .hero-film .hf-d { display: none; } .case .hero-film .hf-m { display: block; } }
.case .media.contain img { object-fit: contain; padding: 10%; }
.case .c-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.case .c-pair .media { aspect-ratio: 4 / 5; }
.case .c-row { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: var(--gap); }
.case .c-row .media { aspect-ratio: 1; }
.case .embargo {
  display: grid; place-items: center; text-align: center; gap: 6px;
  background: #ECEAF0; color: #2C2A3A; padding: 24px;
}

/* Editorial case */
.case[data-theme="editorial"], .detail:has(.case[data-theme="editorial"]) {
  --bg: #fff; --ink: #161616; --gray: #625e58; --tile: #fff;
  background: var(--bg); color: var(--ink);
}
.detail:has(.case[data-theme="editorial"]) .detail-bar {
  padding-inline: clamp(16px, 8vw, 120px);
}
.detail:has(.case[data-theme="editorial"]) .detail-bar .back {
  font: 400 12px / 1.45 var(--mono);
  letter-spacing: normal;
  text-transform: lowercase;
}
.case[data-theme="editorial"] :is(.case-info, .chapter, .sec-text) {
  font: 400 12px / 1.45 var(--en);
  letter-spacing: normal;
}
.case[data-theme="editorial"] .chapter { border-top: 0; padding-top: 0; }
.case[data-theme="editorial"] .chapter h3 { font: italic 400 12px / 1.45 var(--en); letter-spacing: normal; }
.case[data-theme="editorial"] .chapter .no { padding-top: 0; letter-spacing: normal; }
.case[data-theme="editorial"] :is(.case-info .desc, .chapter p, .sec-text p) {
  font: 400 13px / 1.55 var(--en);
  letter-spacing: normal;
}
.case[data-theme="editorial"] .chapter p { margin-top: 0; color: var(--gray); }
.case[data-theme="editorial"] .sec[id] { scroll-margin-top: 124px; }
.case[data-theme="editorial"] .c-pair { grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 7vw, 110px); align-items: start; }
.case[data-theme="editorial"] .c-pair .media:nth-child(2) { margin-top: clamp(16px, 6vw, 96px); }
.case[data-theme="editorial"] .c-pair[data-layout="social-preview"] {
  width: min(100%, 980px);
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: clamp(18px, 6vw, 72px);
  align-items: center;
  margin: clamp(24px, 4vw, 64px) auto var(--gap);
}
.case[data-theme="editorial"] .c-pair[data-layout="social-preview"] .media:nth-child(2) { aspect-ratio: 2 / 3; }
.case .sec-inset { margin-top: clamp(24px, 6vw, 90px); }
.case .sec-inset .media { width: min(64%, 780px); }
.case .sec-right .media { margin-left: auto; }

@media (min-width: 761px) {
  .detail:has(.case[data-theme="editorial"]) .detail-bar { height: 104px; }
  .case[data-theme="editorial"] .c-pair:is([data-layout="feature"], [data-layout="wordmark-detail"]) {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  }
  .case[data-theme="editorial"] .c-pair[data-layout="equal"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap);
  }
  .case[data-theme="editorial"] .c-pair[data-layout] .media:nth-child(2) { margin-top: 0; }
}
@media (max-width: 760px) {
  .detail:has(.case[data-theme="editorial"]) .detail-bar { padding-inline: 16px; }
  .case[data-theme="editorial"] .sec[id] { scroll-margin-top: 68px; }
  .case[data-theme="editorial"] .c-pair { grid-template-columns: 1fr; gap: var(--gap); }
  .case[data-theme="editorial"] .c-pair .media:nth-child(2) { margin-top: 0; }
  .case[data-theme="editorial"] .c-pair[data-layout="wordmark-detail"] .media:nth-child(2) { display: none; }
  .case[data-theme="editorial"] .c-pair[data-layout="equal"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case .sec-inset .media { width: 100%; }
}

/* Brand color pairs and editorial type specimen */
.case .bx-color-system, .case .bx-type-editorial { margin-block: clamp(72px, 12vw, 168px); }
.case .bx-color-system > h4 { margin: 0 0 16px; color: var(--gray); font-weight: 400; }
.case .color-pairs {
  display: grid; grid-template-columns: repeat(2, 14%);
  justify-content: center; align-content: space-between; column-gap: 14%;
  aspect-ratio: 16 / 9; padding-block: 12.2%;
  background: #efeee7;
}
.case .color-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case .color-chip { aspect-ratio: 1; background: var(--swatch); }
.case .color-key {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 20px;
  max-width: 720px; margin: 20px 0 0;
  font: 400 11px / 1.4 var(--mono);
}
.case .color-key > div {
  display: grid; grid-template-columns: 10px minmax(0, 1fr); column-gap: 8px;
}
.case .color-key > div::before {
  content: ''; width: 10px; height: 10px; margin-top: 2px; background: var(--swatch);
  border: 1px solid rgb(22 22 22 / .13);
}
.case .color-key dd { grid-column: 2; margin: 2px 0 0; color: var(--gray); }
.case .bx-color-system > p {
  max-width: 440px; margin: 18px 0 0; color: var(--gray);
  font: 400 13px / 1.55 var(--en);
}
.case .bx-type.bx-type-editorial { -webkit-font-smoothing: antialiased; }
.case .bx-type-editorial .bx-type-hero { gap: 28px; padding-top: 0; border-color: #dedbd5; }
.case .bx-type-editorial .bx-type-hero b {
  font-size: clamp(35px, 10.2vw, 154px); line-height: .9; letter-spacing: -.062em;
}
.case .bx-type-editorial .bx-type-hero b span { display: block; }
.case .bx-type-editorial .bx-type-ladder > div, .case .bx-type-editorial .bx-type-set > div { border-color: #dedbd5; }
.case .bx-type-editorial .bx-note { color: var(--gray); }
@media (max-width: 760px) {
  .case .color-key { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case .bx-type-editorial .bx-type-hero b { font-size: clamp(29px, 10.2vw, 72px); }
}

/* Game */
.case .game {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap);
  background: var(--tile); padding: clamp(32px, 6vh, 64px) var(--edge);
  margin: 0 calc(var(--edge) * -1);
}
.case .game .about { grid-column: 2 / span 4; align-self: center; }
.case .game .about h3 { margin: 0 0 10px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.03em; }
.case .game .about p { margin: 0 0 18px; color: #3a3a38; line-height: 1.65; }
.case .game .about a { border-bottom: 1px solid var(--ink); }
.case .phone {
  /* Fixed size at the game's own 393×852 ratio: never squeezed by the column or viewport height. */
  grid-column: 7 / span 5; justify-self: center;
  width: 375px; height: auto; aspect-ratio: 393 / 852; flex: none;
  border-radius: 28px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 8px #111, 0 24px 60px rgba(0, 0, 0, .18);
  position: relative;
}
.case .phone iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.case .phone .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case .phone button {
  position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%);
  font: 600 15px/1 var(--sans); color: #fff; background: var(--ink);
  border: 0; border-radius: 999px; padding: 14px 26px; cursor: pointer;
}

/* Next: the other projects as a row of app icons (same art as the home strip) */
.case .next { display: block; padding: clamp(80px, 14vh, 160px) var(--edge) clamp(40px, 8vh, 96px); }
.case .next .mono { color: var(--gray); }
.case .n-apps { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: clamp(20px, 2.6vw, 40px); }
.case .n-app { display: flex; flex-direction: column; align-items: center; width: clamp(84px, 7.5vw, 112px); text-align: center; color: inherit; text-decoration: none; }
.case .n-icon { display: block; width: 100%; aspect-ratio: 1; border-radius: 22.5%; overflow: hidden; background: var(--tile); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.case .n-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case .n-name { margin-top: 12px; font-size: 13px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.case .n-ko { margin-top: 3px; font-size: 11px; line-height: 1.3; color: var(--gray); }
.case .n-app:hover .n-icon, .case .n-app:focus-visible .n-icon { transform: translateY(-4px) scale(1.04); }
.case .n-app:focus-visible { outline: none; }
.case .n-app:focus-visible .n-icon { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .case .n-icon { transition: none; } }


@media (max-width: 760px) {
  .case { --case-pad: 16px; }
  .case .case-hero { aspect-ratio: 4 / 3; max-height: none; }
  .case .case-info { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; padding-top: 24px; }
  .case .case-info .desc { grid-column: 1 / -1; grid-row: 2; }
  .case .sec-text p { grid-column: 1 / -1; }
  .case .chapter .no { grid-column: 1 / span 2; }
  .case .chapter .head { grid-column: 3 / -1; }
  .case .chapter p { grid-column: 3 / -1; }
  .case .c-pair { grid-template-columns: 1fr; }
  .case .c-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case .game .about, .case .phone { grid-column: 1 / -1; }
  .case .game .about { margin-bottom: 24px; }
  .case .phone { width: 320px; }
  .case .n-apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .case .n-app { width: auto; }
  .case .n-name { font-size: 12px; }
}


/* ---------- Brand-system sections (logo, type, color, objects) ---------- */
.case .bx-logo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; }
.case .bx-logo .media { grid-column: 1 / span 8; }
.case .bx-logo .media img { object-fit: contain; }
/* Logo motion: white field, logo centred; layers absolutely placed so nothing shifts while animating */
.case .logo-motion { position: relative; display: grid; place-items: center; background: #fff; cursor: pointer; outline: none; }
.case .logo-motion:focus-visible { box-shadow: inset 0 0 0 2px var(--ink); }
.case .lm-stage { position: relative; width: 74%; }
.case .lm-float { position: absolute; inset: 0; }
.case .lm-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; image-rendering: pixelated; }
.case .lm-l { position: absolute; will-change: transform; }
.case .lm-l img { width: 100%; height: 100%; display: block; object-fit: fill; user-select: none; -webkit-user-drag: none; }
.case .lm-l[data-k="wolgeup"], .case .lm-l[data-k="bangeojeon"] { transform-origin: 50% 85%; }
.case .lm-l[data-k="bubble"] { transform-origin: 17% 100%; }
.case .lm-slice { opacity: 0; pointer-events: none; }
.case .lm-slice[data-k="slice-1"] { clip-path: inset(30% 0 58% 0); }
.case .lm-slice[data-k="slice-2"] { clip-path: inset(66% 0 20% 0); }
.case .lm-pre .lm-l { opacity: 0; }
.case .bx-notes { grid-column: 9 / -1; list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.case .bx-notes li { display: grid; gap: 4px; line-height: 1.55; letter-spacing: -0.015em; color: #3a3a38; }
.case .bx-notes .mono { color: var(--gray); }

.case .bx-type { font-family: var(--face); -webkit-font-smoothing: none; font-smooth: never; }
.case .bx-type .mono { font-family: var(--mono); -webkit-font-smoothing: antialiased; color: var(--gray); }
.case .bx-type-hero { display: grid; gap: 10px; padding: clamp(28px, 5vh, 56px) 0; border-bottom: 1px solid var(--rule, #e6e6e3); }
.case .bx-type-hero b { font-size: clamp(44px, 7.6vw, 110px); font-weight: 700; line-height: 1.1; letter-spacing: 0; }
.case .bx-type-ladder > div, .case .bx-type-set > div {
  display: grid; grid-template-columns: 80px 1fr; gap: 16px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--rule, #e6e6e3);
}
.case .bx-type p { margin: 0; letter-spacing: 0; line-height: 1.4; }
.case .bx-type-set p { font-size: 22px; word-break: break-all; }
.case .bx-note { font-family: var(--sans); -webkit-font-smoothing: antialiased; color: #3a3a38; margin-top: 18px !important; max-width: 640px; line-height: 1.6; letter-spacing: -0.015em; }

.case { --px: 'Galmuri11', monospace; }

/* Palette board: heading row, then Primary (main + 3) | Secondary (3 stacked) */
.case .pl-head { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(24px, 3vw, 48px); margin-bottom: clamp(48px, 8vh, 96px); }
.case .pl-head h4 { margin: 0; font-size: clamp(24px, 2.6vw, 38px); font-weight: 500; line-height: 1.1; letter-spacing: -0.035em; }
.case .pl-head p { margin: 0; font-size: 13px; line-height: 1.65; letter-spacing: -0.015em; color: #3a3a38; }
.case .pl-board { display: grid; grid-template-columns: 3fr 1fr; }
.case .pl-col h5 { margin: 0 0 18px; font-size: clamp(20px, 2vw, 30px); font-weight: 500; letter-spacing: -0.03em; }
.case .pl-col:last-child h5 { padding-left: clamp(12px, 1.4vw, 20px); }
.case .pl-primary, .case .pl-secondary { height: clamp(420px, 40vw, 600px); display: grid; }
.case .pl-primary { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 2fr 1fr; }
.case .pl-primary .main { grid-column: 1 / -1; }
.case .pl-secondary { grid-template-rows: repeat(3, minmax(0, 1fr)); }
.case .pl-sw {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 1px; min-height: 0; overflow: hidden;
  padding: clamp(10px, 1.2vw, 18px); font: 400 11px/1.5 var(--sans, 'Pretendard Variable', Pretendard, sans-serif);
  letter-spacing: 0; font-variant-numeric: tabular-nums;
  box-shadow: inset 0 0 0 .5px rgba(17,17,17,.08);
}
.case .pl-sw b { font: 500 13px/1.3 var(--sans, 'Pretendard Variable', Pretendard, sans-serif); letter-spacing: -0.01em; margin-bottom: 1px; }
.case .pl-sw.main b { font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -0.03em; margin-bottom: 4px; }

/* Object board: one grey field; groups split by space and a small title, no lines or cells */
.case .sp-board { background: #F3F4F2; padding: clamp(32px, 5vw, 72px) clamp(20px, 5vw, 80px); display: grid; gap: clamp(48px, 6vw, 88px); }
.case .sp-pair { display: grid; grid-template-columns: 5fr 3fr; gap: clamp(32px, 5vw, 88px); }
.case .sp-group h6 { display: flex; align-items: center; gap: 7px; margin: 0 0 24px; font-size: 12px; font-weight: 500; color: var(--gray); letter-spacing: -0.005em; }
.case .sp-group h6 i { width: 6px; height: 6px; border-radius: 50%; background: var(--dot); }
.case .sp-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px clamp(28px, 4vw, 56px); }
.case .sp-chars .sp-row { column-gap: clamp(40px, 7vw, 112px); }
.case .sp-row figure { margin: 0; display: grid; justify-items: start; gap: 12px; }
.case .sp-img { height: clamp(40px, 4.2vw, 60px); display: flex; align-items: flex-end; }
.case .sp-chars .sp-img { height: clamp(130px, 14.6vw, 210px); }
.case .sp-img img { height: var(--h, 100%); width: auto; object-fit: contain; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.case .sp-row figcaption { font-size: 11px; color: var(--gray); opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s; }
.case .sp-row figure:hover img { transform: translateY(-6px); }
.case .sp-row figure:hover figcaption { opacity: 1; transform: none; }
@media (hover: none) { .case .sp-row figcaption { opacity: 1; transform: none; } }

/* Mid widths: heading on its own line, the two paragraphs side by side */
@media (min-width: 761px) and (max-width: 1100px) {
  .case .pl-head { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .case .pl-head h4 { grid-column: 1 / -1; }
  .case .pl-col h5 { font-size: clamp(16px, 2.1vw, 22px); white-space: nowrap; }
  .case .game .about { grid-column: 1 / span 6; }
  .case .phone { grid-column: 7 / -1; }
}

@media (max-width: 760px) {
  .case .bx-logo .media, .case .bx-notes { grid-column: 1 / -1; }
  .case .lm-stage { width: 84%; }
  .case .pl-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 48px; }
  .case .pl-head h4 { margin-bottom: 8px; }
  .case .pl-board { grid-template-columns: 1fr; gap: 40px; }
  .case .pl-col:last-child h5 { padding-left: 0; }
  .case .pl-primary { height: auto; grid-template-rows: 200px 120px; }
  .case .pl-secondary { height: 120px; grid-template-rows: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .case .sp-board { padding: 28px 16px; gap: 40px; }
  .case .sp-pair { grid-template-columns: 1fr; gap: 40px; }
  .case .sp-row { gap: 20px 18px; }
  .case .sp-chars .sp-row { column-gap: 22px; }
  .case .sp-chars .sp-img { height: 110px; }
  .case .sp-row figcaption { opacity: 1; transform: none; font-size: 10px; }
  .case .bx-type-ladder p[style*="44px"] { font-size: 33px !important; }
  .case .bx-type-ladder > div, .case .bx-type-set > div { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- Order theme (layout reference: order.design/project/knoll) ----------
   White page (chosen on purpose; Order itself is near-black), every text run 12px mono (Hangul falls back to Pretendard), one 12-column
   grid: 112px margins and 28px gutters at 1440. Rows come from `grid` sections (case-view.js). */
.case[data-theme="order"], .detail:has(.case[data-theme="order"]) {
  --bg: #fff; --ink: #161616; --gray: #787878; --tile: #fff;
  background: var(--bg); color: var(--ink);
}
.case[data-theme="order"] {
  --case-pad: clamp(16px, 7.78vw, 112px); --edge: var(--case-pad); --g: clamp(12px, 1.95vw, 28px);
  font: 400 12px / 1.45 var(--en); letter-spacing: normal; -webkit-font-smoothing: antialiased;
}
.detail:has(.case[data-theme="order"]) .detail-bar { padding-inline: var(--case-pad, clamp(16px, 7.78vw, 112px)); }
.detail:has(.case[data-theme="order"]) .detail-bar .back { font: 400 12px / 1.45 var(--mono); letter-spacing: normal; text-transform: lowercase; color: var(--gray); }
.case[data-theme="order"] .media { background: var(--tile); }

/* Opening row: title | chapter links | intro | facts on columns 1 · 4 · 7 · 10 */
.case[data-theme="order"] .case-info {
  grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: 28px;
  padding: 36px var(--case-pad) clamp(120px, 22vh, 220px); font: inherit;
}
.case[data-theme="order"] .case-info h1 { grid-column: 1 / span 3; }
.case[data-theme="order"] .case-info .toc { grid-column: 4 / span 3; gap: 6px; }
.case[data-theme="order"] .case-info .toc button { font: inherit; color: var(--gray); }
.case[data-theme="order"] .case-info .toc button:hover { color: var(--ink); }
.case[data-theme="order"] .case-info .desc { grid-column: 7 / span 3; max-width: 230px; font: inherit; color: var(--ink); line-height: 1.6; }
.case[data-theme="order"] .case-info .facts { grid-column: 10 / span 3; gap: 12px; }
.case[data-theme="order"] .case-info h1 .ko { font: inherit; }

/* Chapter: "Title: subtitle" in italics on column 1, body on columns 5–8 */
.case[data-theme="order"] .chapter {
  border: 0; padding: 0; margin: clamp(140px, 24vh, 260px) 0 clamp(48px, 8vh, 80px);
  column-gap: var(--g); font: inherit;
}
.case[data-theme="order"] .chapter .no { display: none; }
.case[data-theme="order"] .chapter .head { grid-column: 1 / span 4; display: flex; flex-wrap: wrap; gap: 0 .5em; }
.case[data-theme="order"] .chapter h3 { font: italic 400 12px / 1.45 var(--en); letter-spacing: normal; }
.case[data-theme="order"] .chapter h3::after { content: ':'; }
.case[data-theme="order"] .chapter .ko { margin: 0; font-style: italic; color: var(--ink); }
.case[data-theme="order"] .chapter p { grid-column: 5 / span 4; max-width: 400px; margin: 0; color: var(--ink); font: inherit; line-height: 1.6; }

/* Grid rows */
.case .og {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); row-gap: var(--g);
  align-items: start; padding: 0 var(--case-pad); margin: 0 0 var(--g);
}
.case .og > * { grid-column: var(--c) / span var(--s); min-width: 0; }
.case .og-l { margin-top: clamp(100px, 16vh, 180px); }
.case .og-m { margin-top: clamp(48px, 8vh, 96px); }
.case .og .media { width: 100%; }
.case .og .media.contain img { object-fit: contain; padding: 0; }
/* Swatch sheet (niu color chapter) after Order's Salt Lick palette, set on the page grid: no box, dots left-aligned
   on the same quarter columns as the flow (3 per row from column 4), caps name, HEX · RGB under each. */
.case .sw-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--g); row-gap: clamp(40px, 4.5vw, 64px); }
.case .sw-dot { display: flex; flex-direction: column; align-items: flex-start; }
.case .sw-dot i { width: clamp(28px, 3.9vw, 56px); aspect-ratio: 1; border-radius: 50%; }
.case .sw-dot i.pale { box-shadow: inset 0 0 0 1px #D6D6D6; }
.case .sw-dot b { margin-top: clamp(12px, 1.4vw, 20px); font: 500 clamp(9px, .84vw, 12px) / 1 'Helvetica Neue', Helvetica, Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.case .sw-dot span { margin-top: 6px; font: 400 clamp(9px, .76vw, 11px) / 1 var(--mono); color: var(--gray); }
.case .og-cap { margin: 0; max-width: 220px; font: 400 12px / 1.6 var(--en); color: var(--ink); }
/* One large statement line (Senevre opening question): set in the brand's Helvetica, not the mono. */
.case .og-statement { margin: 0; font: 500 clamp(30px, 4vw, 64px) / 1.12 'Helvetica Neue', Helvetica, Arial, 'Apple SD Gothic Neo', Pretendard, sans-serif; letter-spacing: -0.025em; color: var(--ink); word-break: keep-all; }
.case .og-cap em { display: block; margin-bottom: .8em; font-style: italic; color: var(--gray); }
.case .og-cap:has(em) { margin-bottom: 20px; }
.case .og-under { margin-top: 16px; }

/* Closing credits: label | rows | note */
.case .og-credits { margin-top: clamp(140px, 24vh, 260px); }
.case .og-credits dl { display: grid; gap: 12px; margin: 0; font: 400 12px / 1.6 var(--en); }
.case .og-credits dt { color: var(--gray); }
.case .og-credits dd { margin: 2px 0 0; }

/* Palette and type specimen */
.case[data-theme="order"] .bx-color-system { padding: 0 var(--case-pad); margin-block: clamp(100px, 16vh, 180px) var(--g); }
.case[data-theme="order"] .bx-color-system > h4 { display: none; }
.case[data-theme="order"] .color-key { max-width: none; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--g); margin-top: 28px; font: inherit; }
.case[data-theme="order"] .bx-color-system > p { max-width: 400px; margin-top: 28px; font: inherit; color: var(--ink); line-height: 1.6; }
.case[data-theme="order"] .bx-type-editorial { margin-block: clamp(100px, 16vh, 180px) 0; }
.case[data-theme="order"] .bx-type-editorial .bx-type-hero { border-color: #e4e2dd; }
.case[data-theme="order"] .bx-type-editorial .bx-type-hero .mono { font: inherit; text-transform: none; letter-spacing: normal; color: var(--gray); }
.case[data-theme="order"] .bx-type-editorial :is(.bx-type-ladder, .bx-type-set) > div { border-color: #e4e2dd; }
.case[data-theme="order"] .bx-type-editorial :is(.bx-type-ladder, .bx-type-set) .mono { font: inherit; text-transform: none; letter-spacing: normal; color: var(--gray); }
.case[data-theme="order"] .bx-type-editorial .bx-note { font: inherit; color: var(--ink); max-width: 400px; }

/* Next: the app-icon row in the same 12px mono */
.case[data-theme="order"] .next { padding-top: clamp(140px, 24vh, 260px); }
.case[data-theme="order"] .next .mono { font: inherit; text-transform: none; letter-spacing: normal; color: var(--gray); }
.case[data-theme="order"] .n-name { font: inherit; }

@media (max-width: 760px) {
  .case[data-theme="order"] { --g: 10px; --case-pad: 16px; }
  .detail:has(.case[data-theme="order"]) .detail-bar { padding-inline: 16px; }
  .case[data-theme="order"] .case-info { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; padding-bottom: 96px; }
  .case[data-theme="order"] .case-info :is(h1, .toc, .facts) { grid-column: auto; }
  .case[data-theme="order"] .case-info .desc { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .case[data-theme="order"] .chapter { grid-template-columns: 1fr; row-gap: 16px; margin: 112px 0 48px; }
  .case[data-theme="order"] .chapter :is(.head, p) { grid-column: 1; }
  .case .og { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case .og > * { grid-column: auto / span var(--ms); }
  .case .og-cap { max-width: none; margin-bottom: 8px; }
  .case .og-l { margin-top: 64px; }
  .case[data-theme="order"] .color-key { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Spec sheet (Niu web build) */
.case .og-spec .spec-sheet { grid-column: 1 / -1; font: 400 12px / 1.6 var(--en); border-top: 1px solid var(--ink); }
.case .spec-r { display: grid; grid-template-columns: 2fr 3fr 6fr 1fr; gap: var(--g); padding: 14px 0; border-bottom: 1px solid #e4e1db; }
.case .spec-h { color: var(--gray); padding: 10px 0; }
.case .spec-r span:first-child { color: var(--ink); }
.case .spec-tag { font-style: normal; border: 1px dashed currentColor; padding: 1px 6px; color: #B9741E; white-space: nowrap; }
@media (max-width: 760px) {
  .case .spec-r { grid-template-columns: 1fr 1.4fr; row-gap: 4px; }
  .case .spec-r span:nth-child(3) { grid-column: 1 / -1; color: #55524c; }
  .case .spec-h span:nth-child(3), .case .spec-h span:nth-child(4) { display: none; }
}

/* BX flow (Niu): logo on its own at the left; the timeline starts at stage A and links the three stages */
.case .og-flow .flow { grid-column: 1 / -1; --lw: clamp(140px, 15vw, 230px); --base: calc(var(--lw) * 150 / 1376); }
.case .fl-track { position: relative; height: calc(var(--lw) * 171 / 1376); }
.case .fl-logo { display: block; width: var(--lw); height: auto; clip-path: inset(0 100% 0 0); }
.case .fl-line { position: absolute; left: calc((100% + var(--g)) * var(--l0, 1) / var(--cols, 4)); right: 0; top: var(--base); height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.case .fl-node { position: absolute; top: var(--base); left: calc((100% + var(--g)) * var(--k) / var(--cols, 4)); width: 8px; height: 8px; margin: -3.5px 0 0 -4px; border-radius: 50%; background: var(--ink); transform: scale(0); }
.case .fl-cols { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); column-gap: var(--g); margin-top: 40px; font: 400 12px / 1.6 var(--en); }
.case .fl-col > * { opacity: 0; transform: translateY(12px); }
.case .fl-k { color: var(--gray); }
.case .fl-col h4 { margin: 10px 0 2px; font: 500 clamp(20px, 1.9vw, 28px) / 1.15 'Inter', 'Helvetica Neue', Arial, sans-serif; letter-spacing: -.01em; }
.case .fl-ko { color: var(--gray); }
.case .fl-col p { margin: 18px 0 0; max-width: 260px; word-break: keep-all; }
.case .fl-col ul { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--ink); max-width: 280px; }
.case .fl-col li { padding: 9px 0; border-bottom: 1px solid #e4e1db; }
.case .fl-intro p { margin-top: 10px; }
.case .fl-node-m { display: none; }
.case .flow.no-logo .fl-track { height: 8px; --base: 4px; }
.case .flow.no-logo .fl-node { margin-left: 0; }
.case .flow.no-logo .fl-cols { margin-top: 28px; }
.case .flow.on .fl-logo { clip-path: inset(0 0 0 0); transition: clip-path .9s cubic-bezier(.45, 0, .25, 1); }
.case .flow.on .fl-line { transform: scaleX(1); transition: transform 1.6s cubic-bezier(.3, 0, .2, 1) .8s; }
.case .flow.on .fl-node { transform: scale(1); transition: transform .35s cubic-bezier(.2, 1.6, .4, 1) var(--d); }
.case .flow.on .fl-col > * { opacity: 1; transform: none; transition: opacity .7s ease var(--t), transform .9s cubic-bezier(.2, .7, .2, 1) var(--t); }
@media (max-width: 760px) {
  .case .fl-line, .case .fl-node { display: none; }
  .case .fl-cols { grid-template-columns: 1fr; row-gap: 36px; margin-top: 28px; }
  .case .fl-col:not(.fl-intro) { position: relative; padding-left: 22px; }
  /* the line starts at the dot's centre, so nothing pokes out above the dot */
  .case .fl-col:not(.fl-intro)::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 0; width: 1px; background: var(--ink); }
  .case .fl-node-m { display: block; position: absolute; left: -3.5px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); opacity: 1 !important; transform: none !important; }
  .case .fl-col p, .case .fl-col ul { max-width: none; }
}

/* Brand definition (Niu) */
.case .og-define .df { grid-column: 1 / -1; font: 400 12px / 1.6 var(--en); }
.case .df-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--g); }
.case .df-k { color: var(--gray); }
.case .df-cell, .case .df-p { border-top: 1px solid var(--ink); padding-top: 10px; }
.case .df-v { margin-top: 22px; font: 500 clamp(18px, 1.8vw, 26px) / 1.2 'Inter', 'Helvetica Neue', Arial, sans-serif; letter-spacing: -.01em; }
.case .df-sub { margin-top: 8px; color: var(--gray); }
.case .df-list { margin-top: 10px; }
.case .df-list div { padding: 9px 0; border-bottom: 1px solid #e4e1db; font: 400 clamp(13px, 1.1vw, 16px) / 1.5 'Inter', 'Pretendard Variable', sans-serif; }
.case .df-pl { display: block; margin: clamp(64px, 9vw, 120px) 0 10px; }
.case .df-w { margin-top: 26px; font: 500 clamp(30px, 3.4vw, 50px) / 1 'Inter', 'Helvetica Neue', Arial, sans-serif; letter-spacing: -.025em; }
.case .df-w span { margin-left: 10px; font: 400 12px var(--en); letter-spacing: 0; color: var(--gray); }
.case .df-p p { margin: 16px 0 0; max-width: 300px; word-break: keep-all; }
/* Logotype meaning (Niu) */
.case .og-lm .lm { grid-column: 1 / -1; font: 400 12px / 1.6 var(--en); }
.case .lm-r { display: grid; grid-template-columns: 1fr 2fr 1.1fr; column-gap: var(--g); padding: 30px 0 32px; border-bottom: 1px solid #e4e1db; align-items: start; }
.case .lm-h { padding: 0 0 10px; border-bottom-color: var(--ink); color: var(--gray); }
.case .lm-r:last-child { border-bottom-color: var(--ink); }
.case .lm-kw { font: 500 clamp(18px, 1.6vw, 24px) / 1.2 'Inter', 'Helvetica Neue', Arial, sans-serif; }
.case .lm-kw small { display: block; margin-top: 6px; font: 400 12px var(--en); color: var(--gray); }
.case .lm-dec b { display: block; font: 500 clamp(15px, 1.3vw, 19px) / 1.3 'Inter', 'Pretendard Variable', sans-serif; }
.case .lm-dec p { margin: 8px 0 0; max-width: 460px; word-break: keep-all; }
.case .lm-logo { position: relative; width: clamp(140px, 13vw, 200px); aspect-ratio: 1376 / 171; margin-top: 6px; }
.case .lm-logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.case .lm-base { opacity: .16; }
.case .lm-sp { width: clamp(140px, 13vw, 200px); margin-top: 8px; font: 400 9px 'Inter', sans-serif; letter-spacing: .42em; padding-left: .42em; text-align: center; }
@media (max-width: 760px) {
  .case .df-3 { grid-template-columns: 1fr; row-gap: 28px; }
  .case .lm-r { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .case .lm-h span:nth-child(2) { display: none; }
  .case .lm-r .lm-dec { grid-column: 1 / -1; grid-row: 2; }
}

/* Shop cards (Niu): same look and hover as the live shop */
.case .og-shop .shop { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); border-top: 1px solid #ececec; border-left: 1px solid #ececec; }
.case .shop-card { border-right: 1px solid #ececec; border-bottom: 1px solid #ececec; background: #fff; transition: background .3s; }
.case .shop-card:hover { background: #fafaf7; }
.case .shop-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #f5f5f3; }
.case .shop-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case .shop-a { transition: transform .6s ease, opacity .4s ease; }
.case .shop-b { opacity: 0; transition: opacity .5s ease; }
.case .shop-card:hover .shop-a, .case .shop-card.alt .shop-a { opacity: 0; transform: scale(1.04); }
.case .shop-card:hover .shop-b, .case .shop-card.alt .shop-b { opacity: 1; }
.case .shop-info { display: flex; flex-direction: column; gap: 3px; padding: 12px 12px 16px; border-top: 1px solid #ececec; font-family: 'Inter', 'Pretendard Variable', sans-serif; }
.case .shop-cat { margin-bottom: 4px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #999; }
.case .shop-name { font-size: 12px; font-weight: 500; }
.case .shop-ko { font-size: 11px; color: #999; }
@media (max-width: 760px) { .case .og-shop .shop { grid-template-columns: repeat(2, minmax(0, 1fr)); } .case .shop-info { padding: 10px 10px 14px; } .case .shop-cat { font-size: 9px; } }

/* Signature system (Niu) */
.case .og-sig .sig { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--g); font: 400 12px / 1.6 var(--en); }
.case .sig-c { border-top: 1px solid var(--ink); padding-top: 10px; }
.case .sig-k { color: var(--gray); }
.case .sig-stage { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; aspect-ratio: 16 / 10; margin-top: 10px; background: #f7f4ee; }
.case .sig-logo { width: 46%; height: auto; }
.case .sig-logo.sm { width: 40%; }
.case .sig-caps { font: 500 clamp(8px, .75vw, 11px) 'Inter', 'Helvetica Neue', Arial, sans-serif; letter-spacing: .42em; padding-left: .42em; }
.case .sig-capsimg { width: 42%; height: auto; }
.case .sig-capsimg.sm { width: 24%; }
.case .sig-capsbig { font: 500 clamp(15px, 1.5vw, 22px) 'Inter', 'Helvetica Neue', Arial, sans-serif; letter-spacing: .01em; }
.case .sig-name { margin-top: 14px; font: 500 clamp(16px, 1.4vw, 20px) / 1.2 'Inter', 'Helvetica Neue', Arial, sans-serif; }
.case .sig-ko { margin-top: 2px; color: var(--gray); }
.case .sig-use { margin-top: 12px; padding-top: 10px; border-top: 1px solid #e4e1db; }
.case .sig-use p { margin: 4px 0 0; max-width: 340px; word-break: keep-all; }
@media (max-width: 760px) { .case .og-sig .sig { grid-template-columns: 1fr; row-gap: 32px; } .case .sig-caps { font-size: 10px; } }

/* ---------- Niu: logo system + readable chapter heads (scoped to this case) ---------- */
/* Cover mark (niu): the hero box changes ratio with the viewport, so the logo is placed in
   the cover image's own coordinates. --iw = rendered image width under object-fit: cover;
   --wall = visible wall left of the window frame (frame edge sits 13.94% of image width
   left of centre). Logo is centred on that wall; its long stroke sits 2.1% of image height
   below centre, level with the far ridge. */
.case .case-hero.has-mark { position: relative; container-type: size; }
.case .case-hero.has-mark > img.cover-mark {
  --iw: max(100cqw, 100cqh * 1.7778);
  --wall: calc(50cqw - var(--iw) * 0.1394);
  --lw: min(calc(var(--iw) * 0.2), calc(var(--wall) * 0.72));
  position: absolute; width: var(--lw); height: auto; object-fit: initial; pointer-events: none;
  left: calc(var(--wall) / 2 - var(--lw) / 2);
  /* image is shifted by object-position y = --py: its centre moves by (image height − box height)·(.5 − py) */
  top: calc(50cqh + (var(--iw) / 1.7778 - 100cqh) * (.5 - var(--py, .5)) + var(--iw) * 0.01165 - var(--lw) * 0.10174);
}
.case[data-case="niu"] .case-hero.has-mark { --py: .95; }
.case[data-case="niu"] .chapter { row-gap: 10px; }
.case[data-case="niu"] .chapter .no { display: block; grid-column: 1 / -1; font: 400 12px / 1.45 var(--mono); color: var(--gray); }
.case[data-case="niu"] .chapter .head { grid-column: 1 / span 3; display: block; }
.case[data-case="niu"] .chapter h3 { margin: 0; font: 500 20px / 1.2 'Helvetica Neue', Helvetica, Arial, sans-serif; letter-spacing: -.01em; }
.case[data-case="niu"] .chapter h3::after { content: none; }
.case[data-case="niu"] .chapter .ko { margin-top: 4px; font: 400 13px / 1.4 'Pretendard Variable', Pretendard, sans-serif; font-style: normal; color: var(--gray); }
.case[data-case="niu"] .chapter p { grid-column: 4 / span 4; max-width: none; margin-top: 4px; font: 400 14px / 1.7 'Pretendard Variable', Pretendard, sans-serif; color: #2a2a2a; }
.case .lsys { padding-inline: var(--case-pad); }
.case .ls-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); }
.case .ls-s1 { grid-column: 4 / span 3; } .case .ls-s2 { grid-column: 7 / span 6; }
.case .ls-vis { height: clamp(56px, 6vw, 84px); display: flex; align-items: flex-end; padding-bottom: 6px; }
.case .ls-vis img { width: min(100%, 340px); display: block; } .case .ls-vis img.wm { width: min(100%, 190px); }
.case .ls-cap { margin-top: 22px; font: 400 13px / 1.6 'Pretendard Variable', Pretendard, sans-serif; }
.case .ls-k { font: 400 12px / 1.45 var(--mono); color: var(--gray); }
.case .ls-cap b { display: block; margin: 8px 0 4px; font-weight: 500; }
.case .ls-cap p { margin: 0; color: #3a3a3a; }
.case .ls-feat { margin-top: clamp(64px, 7vw, 104px); }
.case .ls-feat > div:nth-child(1) { grid-column: 4 / span 3; } .case .ls-feat > div:nth-child(2) { grid-column: 7 / span 3; } .case .ls-feat > div:nth-child(3) { grid-column: 10 / span 3; }
.case .ls-crop { position: relative; width: 72%; aspect-ratio: 2 / 1; overflow: hidden; }
.case .ls-crop img { position: absolute; top: 50%; width: calc(100% / var(--f)); max-width: none; left: calc(-100% * var(--a) / var(--f)); transform: translateY(-50%); }
@media (max-width: 760px) {
  .case[data-case="niu"] .chapter .head, .case[data-case="niu"] .chapter p { grid-column: 1 / -1; }
  .case[data-case="niu"] .chapter p { margin-top: 16px; }
  .case .ls-row { display: block; } .case .ls-s2 { margin-top: 44px; } .case .ls-feat > div + div { margin-top: 32px; } .case .ls-crop { width: 60%; }
}
/* No orphaned last words in Korean copy on the niu page */
.case[data-case="niu"] :is(.chapter p, .ls-cap p, .og-cap, .df-sub, .fl-ko) { text-wrap: pretty; }

/* Spinning mockups (niu): two-sided (same face front and back), tilted, each piece out of phase.
   --u = row unit (outbox label width); pieces size by --w × --u and their own ratio --r. */
.case .spinrow { --u: clamp(84px, 8.6vw, 150px); padding-inline: var(--case-pad); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); }
.case .spinrow + .spinrow { margin-top: clamp(48px, 6vw, 96px); }
.case .spin-wrap { grid-column: 4 / -1; }
.case .spin-list { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px calc(var(--u) * .5); padding-block: 16px; }
.case .spin-list figure { margin: 0; perspective: 1000px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.08)); }   /* shadow on the figure: a filter on the card would flatten the 3D faces */
.case .spin-card { position: relative; width: calc(var(--u) * var(--w)); aspect-ratio: var(--r); transform-style: preserve-3d;
  animation: niu-spin 12s linear infinite; animation-delay: calc(var(--i) * -3s); }
.case .spin-card > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.case .spin-card > .spin-b { transform: rotateY(180deg); }
.case .spin-list figcaption, .case .spin-cap { margin: 14px 0 0; font: 400 11px / 1.4 var(--mono); color: var(--gray); }
.case .spin-list figcaption { margin-top: calc(14px + var(--u) * var(--w) * .12); }   /* wide pieces swing lower when tilted: keep the caption clear */
@keyframes niu-spin { from { transform: rotateZ(-7deg) rotateX(8deg) rotateY(0deg); } to { transform: rotateZ(-7deg) rotateX(8deg) rotateY(360deg); } }
@media (prefers-reduced-motion: reduce) { .case .spin-card { animation: none; transform: rotateZ(-7deg); } }
@media (max-width: 760px) {
  .case .spinrow { --u: 15vw; }
  .case .spin-wrap { grid-column: 1 / -1; }
  .case .spin-list { gap: 16px calc(var(--u) * .4); justify-content: center; }
  .case .spin-list figure { display: flex; flex-direction: column; align-items: center; }
  .case .spin-list figcaption, .case .spin-cap { text-align: center; }
}

/* Typography block (niu): on the page grid like the other chapters — starts at column 4, quieter sizes */
.case[data-case="niu"] .bx-type { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); padding-inline: var(--case-pad); margin-block: clamp(40px, 5vw, 72px) 0; }
.case[data-case="niu"] .bx-type > * { grid-column: 4 / -1; }
.case[data-case="niu"] .bx-type-editorial .bx-type-hero { gap: 14px; padding-bottom: clamp(20px, 2.4vw, 32px); }
.case[data-case="niu"] .bx-type-editorial .bx-type-hero b { font-size: clamp(30px, 3.9vw, 60px); line-height: 1; letter-spacing: -.035em; font-weight: 600; }
.case[data-case="niu"] .bx-type-ladder > div, .case[data-case="niu"] .bx-type-set > div { padding: 12px 0; }
.case[data-case="niu"] .bx-type-set p { font-size: 18px; }
.case[data-case="niu"] .bx-type-ladder p[style*="40px"] { font-size: clamp(24px, 2.8vw, 40px) !important; }
@media (max-width: 760px) {
  .case[data-case="niu"] .bx-type > * { grid-column: 1 / -1; }
  .case[data-case="niu"] .bx-type-ladder p[style*="40px"] { font-size: 24px !important; }
  .case[data-case="niu"] .bx-type-ladder p[style*="24px"] { font-size: 18px !important; }
}

/* Gongganji "day" section (deck p.2): headline, five steps in a row, five photos in a strip with one caption over them */
.case .gday { padding-inline: var(--case-pad); }
.case .gd-title { margin: 0 0 clamp(36px, 4vw, 60px); font: 500 clamp(16px, 1.3vw, 19px) / 1.5 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.01em; }   /* subtitle */
.case .gd-steps { list-style: none; margin: 0 0 clamp(28px, 3vw, 44px); padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--g); }
.case .gd-k { display: inline-block; padding-bottom: 4px; border-bottom: 1px solid #cfcfcc; font: 400 11px / 1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.case .gd-steps b { display: block; margin: 14px 0 8px; font: 500 15px / 1.45 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.01em; text-wrap: pretty; }
.case .gd-steps p { margin: 0; font: 400 13px / 1.7 'Pretendard Variable', Pretendard, sans-serif; color: #6b6b6b; text-wrap: pretty; }
.case .gd-strip { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.case .gd-strip img { display: block; width: 100%; aspect-ratio: 384 / 560; object-fit: cover; }
.case .gd-cap { grid-column: 1 / -1; margin: 16px 0 0; max-width: 46em; font: 400 14px / 1.7 'Pretendard Variable', Pretendard, sans-serif; color: #555; text-wrap: pretty; }
@media (max-width: 760px) {
  .case .gd-steps { grid-template-columns: 1fr; row-gap: 26px; }
}

/* ── Gongganji: Metalab Uber-style layout on the white page ──────────────── */
.case[data-case="gongganji"] .og + .og { margin-top: var(--g); }

/* statement: small label | large line */
.case .gst { padding-inline: var(--case-pad); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); margin-block: clamp(96px, 12vw, 200px) clamp(40px, 5vw, 80px); }
.case .gst-k { grid-column: 1 / span 3; padding-top: .9em; font: 400 12px / 1.45 var(--mono); color: var(--gray); }
.case .gst-t { grid-column: 4 / span 8; }
.case .gst-t p { margin: 0; font: 500 clamp(22px, 2.3vw, 34px) / 1.35 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.025em; text-wrap: balance; }
.case .gst-t .gst-sub { margin-top: 20px; max-width: 34em; font: 400 15px / 1.75 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.01em; color: var(--gray); text-wrap: pretty; }

/* phones: real screens in plain frames on a dark panel */
.case .gph { padding-inline: var(--case-pad); margin-top: var(--g); }
.case .gph-row { display: flex; justify-content: center; gap: clamp(16px, 3vw, 48px); padding: clamp(48px, 7vw, 112px) clamp(16px, 3vw, 48px); background: #F2F3F4; overflow-x: auto; }
.case .gph figure { margin: 0; flex: none; width: clamp(150px, 16vw, 250px); }
.case .gph-dev { padding: 1.6%; border-radius: 12% / 5.6%; background: #0B0C0D; box-shadow: 0 18px 40px rgba(0,0,0,.14); }
.case .gph-dev img { display: block; width: 100%; aspect-ratio: 1125 / 2436; object-fit: cover; object-position: top; border-radius: 10.5% / 4.9%; }
.case .gph figcaption { margin-top: 16px; text-align: center; font: 400 11px / 1.4 var(--mono); color: var(--gray); }

@media (max-width: 760px) {
  .case .gst { grid-template-columns: 1fr; row-gap: 12px; }
  .case .gst-k, .case .gst-t { grid-column: 1; padding-top: 0; }
  .case .gph-row { justify-content: flex-start; gap: 14px; padding: 32px 20px; }
  .case .gph figure { width: 42vw; }
}

/* Gongganji gap row: one dotted route through five steps. Existing services = small grey rings; TODAY · ORDER = map pins
   joined by an accent route. Grey route draws first, then the two pins drop (plays on .on, see mountCase). */
.case .ggap { padding-inline: var(--case-pad); margin-top: clamp(80px, 9vw, 150px); }
.case .gg-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--g); }
.case .gg-row li { position: relative; }
.case .gg-mark { display: flex; align-items: flex-start; height: 40px; margin-bottom: 18px; }
.case .gg-ring { display: block; width: 11px; height: 11px; margin: 9.5px 0 0 1px; border: 1.5px solid #B9C3CA; border-radius: 50%; background: #fff; }
.case .gg-row .gd-pin { margin: 0 0 0 -8px; height: 40px; }
.case .gg-row li::after { content: ''; position: absolute; top: 15px; left: 26px; right: calc(10px - var(--g)); height: 1.5px;
  background: repeating-linear-gradient(to right, #C9D1D7 0 3px, transparent 3px 9px); transform-origin: left; }
.case .gg-row li.on::after { left: 33px; }
.case .gg-row li.link::after { background: repeating-linear-gradient(to right, #6A879A 0 4px, transparent 4px 9px); height: 2px; right: calc(16px - var(--g)); }
.case .gg-row li:last-child::after { right: 0; }
.case .gg-row b { display: block; font: 500 11px / 1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #A8B4BC; }
.case .gg-ko { display: block; margin-top: 8px; font: 400 14px / 1.5 'Pretendard Variable', Pretendard, sans-serif; color: #9AA3A9; }
.case .gg-row li.on b { color: #6A879A; }
.case .gg-row li.on .gg-ko { margin-top: 6px; font: 600 clamp(18px, 1.6vw, 22px) / 1.35 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.015em; color: #1A2430; }
.case .gg-note { display: block; margin-top: 18px; font: 400 13px / 1.4 'Pretendard Variable', Pretendard, sans-serif; font-style: normal; color: #6A879A; }
/* motion */
.case .gg-mark, .case .gg-row b, .case .gg-ko { transition: opacity .5s ease calc(var(--i) * .3s + .1s), transform .5s cubic-bezier(.3, 1.5, .5, 1) calc(var(--i) * .3s + .1s); }
.case .gg-row li::after { transition: transform .45s ease calc(var(--i) * .3s + .25s); }
.case .gg-row li.on .gg-mark { transition-delay: calc(var(--i) * .3s + .5s); }
.case .gg-note { transition: opacity .6s ease 2.8s; }
.case .ggap:not(.on) :is(.gg-mark, .gg-row b, .gg-ko, .gg-note) { opacity: 0; transition-delay: 0s; transition-duration: .2s; }
.case .ggap:not(.on) .gg-row li.on .gg-mark { transform: translateY(-14px) scale(.6); }
.case .ggap:not(.on) .gg-row li::after { transform: scaleX(0); transition-delay: 0s; transition-duration: .2s; }
@media (max-width: 760px) {
  .case .gg-row { grid-template-columns: 1fr; row-gap: 22px; }
  .case .gg-row li { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
  .case .gg-mark { grid-row: 1 / span 3; height: 34px; margin: 0; justify-content: center; align-items: center; }
  .case .gg-row .gd-pin { height: 34px; margin: 0; }
  .case .gg-ring { margin: 0; }
  .case .gg-row li > :not(.gg-mark) { grid-column: 2; }
  .case .gg-row b { margin-top: 2px; }
  .case .gg-note { margin-top: 8px; }
  .case .gg-row li::after { top: 34px; bottom: -22px; left: 16px; right: auto; width: 1.5px; height: auto;
    background: repeating-linear-gradient(to bottom, #C9D1D7 0 3px, transparent 3px 9px); transform-origin: top; }
  .case .gg-row li.on::after { top: 38px; left: 16px; }
  .case .gg-row li.link::after { width: 2px; height: auto; right: auto; background: repeating-linear-gradient(to bottom, #6A879A 0 4px, transparent 4px 9px); }
  .case .gg-row li:last-child::after { display: none; }
  .case .ggap:not(.on) .gg-row li::after { transform: scaleY(0); }
}

/* Gongganji states: three columns on the text grid, each a label and the real screen */
.case .gstates { padding-inline: var(--case-pad); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); }
.case .gstates figure { margin: 0; grid-column: span 3; }
.case .gstates figure:first-child { grid-column: 4 / span 3; }
.case .gs-k { display: block; font: 400 12px / 1.45 var(--mono); color: var(--gray); }
.case .gstates b { display: block; margin-top: 10px; font: 500 17px / 1.4 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.01em; }
.case .gs-tab { display: block; margin: 2px 0 20px; font: 400 13px / 1.5 'Pretendard Variable', Pretendard, sans-serif; color: var(--gray); }
.case .gstates .gph-dev { width: min(100%, 230px); }
@media (max-width: 760px) {
  .case .gstates { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 10px; }
  .case .gstates figure, .case .gstates figure:first-child { grid-column: auto; }
  .case .gstates b { font-size: 14px; }
}

/* Day steps: an app route pin by each step, joined by a dotted route; plays in when the block comes into view (.on, see mountCase) */
.case .gd-steps { position: relative; }
.case .gd-pin { display: block; width: auto; height: 40px; aspect-ratio: 40 / 49; margin: 0 0 16px -8px; position: relative; z-index: 1; overflow: visible;
  transition: opacity .35s ease calc(var(--i) * .28s + .1s), transform .5s cubic-bezier(.3, 1.6, .5, 1) calc(var(--i) * .28s + .1s); }
.case .gd-steps li > :not(.gd-pin) { transition: opacity .6s ease calc(var(--i) * .28s + .25s), transform .6s ease calc(var(--i) * .28s + .25s); }
/* photos come in one by one with their pin; the caption and its shade last */
.case .gd-strip img { transition: opacity .7s ease calc(var(--i) * .2s), transform .7s ease calc(var(--i) * .2s); }
.case .gd-cap { transition: opacity .8s ease 1.4s; }
.case .gday:not(.on) .gd-pin { opacity: 0; transform: translateY(-14px) scale(.6); transition-delay: 0s; transition-duration: .2s; }
.case .gday:not(.on) .gd-steps li > :not(.gd-pin) { opacity: 0; transform: translateX(-10px); transition-delay: 0s; transition-duration: .2s; }
.case .gday:not(.on) .gd-strip img { opacity: 0; transform: translateY(18px); transition-delay: 0s; transition-duration: .2s; }
.case .gday:not(.on) .gd-cap { opacity: 0; transition-delay: 0s; transition-duration: .2s; }
@media (max-width: 760px) {
  .case .gd-steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; }
  .case .gd-steps li .gd-pin { grid-row: 1 / span 3; margin: 0; }
  .case .gd-steps li > :not(.gd-pin) { grid-column: 2; }
  .case .gd-steps li b { margin-top: 6px; }
}

/* Step copy: titles keep a two-line slot on wide screens so every description starts on the same line */
@media (min-width: 761px) {
  /* each step is a subgrid of the row, so pin / label / title / description line up across all five, whatever wraps */
  .case .gd-steps { grid-template-rows: repeat(4, auto); }
  .case .gd-steps li { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .case .gd-steps li .gd-k { justify-self: start; }
}

/* Route segments: one dotted segment per step, starting a little after its pin and stopping a little before the next;
   the last runs to the end of its column. Pins sit centred over the step number (margin-left -7px). */
.case .gd-steps li { position: relative; }
.case .gd-steps li::after { content: ''; position: absolute; top: 15px; left: 33px; right: calc(16px - var(--g)); height: 1.5px;
  background: repeating-linear-gradient(to right, #9fb1be 0 3px, transparent 3px 9px);
  transform-origin: left; transition: transform .5s ease calc(var(--i) * .28s + .3s); }
.case .gd-steps li:last-child::after { right: 0; }
.case .gday:not(.on) .gd-steps li::after { transform: scaleX(0); transition-delay: 0s; transition-duration: .2s; }
@media (max-width: 760px) {
  .case .gd-pin { margin-left: 0; }
  .case .gd-steps li::after { top: 50px; bottom: -16px; left: 15px; right: auto; width: 1.5px; height: auto;
    background: repeating-linear-gradient(to bottom, #9fb1be 0 3px, transparent 3px 9px); transform-origin: top; }
  .case .gd-steps li:last-child::after { display: none; }
  .case .gday:not(.on) .gd-steps li::after { transform: scaleY(0); }
}

/* Gongganji — discovery map (largest scene) + "지금 볼 수 있는 전시" */
.case .gmap { padding-inline: var(--case-pad); }
.case .gm-wide { overflow: hidden; aspect-ratio: 16 / 9; background: #F2F3F4; }
.case .gm-wide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.case .gm-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: end; margin-top: clamp(32px, 4vw, 60px); }
.case .gm-phone { grid-column: 1 / span 3; width: min(100%, 230px); }
.case .gm-phone img { display: block; width: 100%; aspect-ratio: 1170 / 2532; object-fit: cover; border-radius: 10.5% / 4.9%; }
.case .gm-stat { grid-column: 5 / span 8; padding-bottom: 8px; }
.case .gm-row.solo .gm-stat { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: end; padding-bottom: 0; }
.case .gm-row.solo .gm-n, .case .gm-row.solo .gm-l { grid-column: 1 / span 4; }
.case .gm-row.solo .gm-l { grid-row: 2; }
.case .gm-row.solo .gm-leg { grid-column: 5 / span 8; grid-row: 1 / span 2; align-self: end; margin: 0; padding: 0 0 4px; border: 0; }
.case .gm-n { margin: 0; font: 500 clamp(64px, 8vw, 128px) / 1 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.04em; }
.case .gm-n .gm-u { margin-left: .08em; font-size: .32em; letter-spacing: -.01em; }
.case .gm-l { margin: 14px 0 0; font: 400 15px / 1.6 'Pretendard Variable', Pretendard, sans-serif; color: var(--gray); }
.case .gm-leg { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 36px 0 0; padding: 26px 0 0; list-style: none; border-top: 1px solid #E4E6E8; }
.case .gm-leg li { display: flex; align-items: center; gap: 8px; font: 500 15px / 1 'Pretendard Variable', Pretendard, sans-serif; }
.case .gm-leg svg { height: 24px; aspect-ratio: 40 / 49; }
.case .gm-leg span { font-weight: 400; color: var(--gray); font-variant-numeric: tabular-nums; }
.case .gsee { padding-inline: var(--case-pad); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); margin-block: clamp(96px, 11vw, 180px); }
.case .gs-txt { grid-column: 1 / span 3; }
.case .gs-txt h3 { margin: 0; font: 500 19px / 1.4 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.015em; }
.case .gs-txt p { margin: 12px 0 0; font: 400 15px / 1.7 'Pretendard Variable', Pretendard, sans-serif; color: var(--gray); text-wrap: pretty; }
.case .gsee figure { margin: 0; grid-column: span 3; }
.case .gsee figure:nth-of-type(1) { grid-column: 5 / span 3; }
.case .gsee .gph-dev { width: min(100%, 260px); }
.case .gsee .gph-dev img { aspect-ratio: 1170 / 2532; }
.case .gsee figcaption { margin-top: 14px; font: 400 12px / 1.4 var(--mono); color: var(--gray); }
@media (max-width: 760px) {
  .case .gm-wide { aspect-ratio: 4 / 5; }
  .case .gm-row { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .case .gm-phone { grid-column: 1; }
  .case .gm-stat { grid-column: 2; }
  .case .gm-row.solo .gm-stat { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .case .gm-row.solo .gm-n, .case .gm-row.solo .gm-l, .case .gm-row.solo .gm-leg { grid-column: 1; grid-row: auto; }
  .case .gm-row.solo .gm-leg { flex-direction: row; gap: 10px 22px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #E4E6E8; }
  .case .gm-leg { flex-direction: column; gap: 12px; margin-top: 20px; padding-top: 18px; }
  .case .gsee { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; row-gap: 24px; }
  .case .gs-txt { grid-column: 1 / -1; }
  .case .gsee figure, .case .gsee figure:nth-of-type(1) { grid-column: auto; }
}

/* Day section on phones: each step carries its own photo, large; the 5-up strip is desktop only */
.case .gd-ph { display: none; }
@media (max-width: 760px) {
  .case .gd-steps li .gd-ph { display: block; grid-column: 2; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-top: 16px; }
  .case .gd-steps { row-gap: 40px; }
  .case .gd-strip img { display: none; }
  .case .gd-cap { margin-top: 0; }
}
.case .gm-wide picture { display: block; height: 100%; }
.case .gsee figcaption { max-width: 260px; text-align: center; }
.case .gsee figcaption { font: 400 13px / 1.5 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.01em; }

/* Gongganji — evidence rows (Build & Launch, Operation) */
.case .gnotes { padding-inline: var(--case-pad); margin-top: clamp(28px, 3vw, 48px); }
.case .gn-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); padding: 22px 0; border-top: 1px solid #E4E6E8; }
.case .gn-row:last-child { border-bottom: 1px solid #E4E6E8; }
.case .gn-k { grid-column: 1 / span 3; font: 400 12px / 1.6 var(--mono); color: var(--gray); }
.case .gn-row b { grid-column: 4 / span 3; font: 500 15px / 1.6 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.01em; }
.case .gn-row p { grid-column: 7 / span 6; margin: 0; max-width: 40em; font: 400 14px / 1.7 'Pretendard Variable', Pretendard, sans-serif; color: #555; text-wrap: pretty; }
@media (max-width: 760px) {
  .case .gn-row { grid-template-columns: 1fr; row-gap: 6px; padding: 18px 0; }
  .case .gn-k, .case .gn-row b, .case .gn-row p { grid-column: 1; }
}

/* Gongganji — brand colours shown as map pins */
.case .gpc { padding-inline: var(--case-pad); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); margin-top: var(--g); }
.case .gpc-t { grid-column: 1 / span 3; margin: 0; font: 400 14px / 1.7 'Pretendard Variable', Pretendard, sans-serif; color: #555; text-wrap: pretty; }
.case .gpc-row { grid-column: 5 / span 8; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: var(--g); margin: 0; padding: 0; list-style: none; }
.case .gpc-sw { position: relative; aspect-ratio: 3 / 4; display: grid; place-items: center; }
.case .gpc-sw svg { width: 34%; aspect-ratio: 40 / 49; filter: drop-shadow(0 6px 10px rgba(0,0,0,.12)); }
.case .gpc li:not(.flat) .gpc-sw { background: #F2F3F4 !important; }
.case .gpc b { display: block; margin-top: 12px; font: 500 14px / 1.4 'Pretendard Variable', Pretendard, sans-serif; }
.case .gpc span { font: 400 12px / 1.6 var(--mono); color: var(--gray); }
@media (max-width: 760px) {
  .case .gpc { grid-template-columns: 1fr; row-gap: 20px; }
  .case .gpc-t, .case .gpc-row { grid-column: 1; }
  .case .gpc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
.case .gn-a { color: var(--ink); white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.case .gst-t .gst-sub { word-break: keep-all; }

/* Gongganji — map motion: the plain map, then it greys down a little, then the pins drop in one by one (replays on view) */
.case .gm-wide { position: relative; isolation: isolate; container-type: inline-size; }
.case .gm-wide img { transition: filter .6s ease .45s; }
.case .gm-wide.on img { filter: grayscale(.85) brightness(.93) contrast(.95); }
.case .gm-wide:not(.on) img { transition-delay: 0s; transition-duration: .4s; }
.case .gm-pins span { position: absolute; z-index: 1; width: calc(4.4cqw * 40 / 49); height: 4.4cqw; transform: translate(-50%, -96%); }
.case .gm-pins svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 2px 3px rgba(0,0,0,.22)); transform-origin: 50% 100%;
  transition: opacity .2s ease calc(1.1s + var(--i) * .1s), transform .45s cubic-bezier(.3, 1.7, .5, 1) calc(1.1s + var(--i) * .1s); }
.case .gm-wide:not(.on) .gm-pins svg { opacity: 0; transform: translateY(-60%) scale(.5); transition-delay: 0s; transition-duration: .2s; }
.case .gm-pins.m { display: none; }
@media (max-width: 760px) {
  .case .gm-pins { display: none; }
  .case .gm-pins.m { display: block; }
  .case .gm-pins.m span { width: calc(11cqw * 40 / 49); height: 11cqw; }
}
@media (prefers-reduced-motion: reduce) { .case .gm-wide img, .case .gm-pins svg { transition: none; } }

@media (min-width: 761px) { .case .gm-wide.has-pins { aspect-ratio: 16 / 10; } }

/* Replays (.rep): keep text and photos on screen; only pins, dots and lines run again */
.case .flow.rep .fl-col > *, .case .flow.rep .fl-logo { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
.case .gday.rep .gd-steps li > :not(.gd-pin), .case .gday.rep .gd-strip img, .case .gday.rep .gd-cap { opacity: 1 !important; transform: none !important; transition: none !important; }
/* Map reset: pins fade out first, then snap back up for the next drop; the map returns to colour in step */
.case .gm-wide:not(.on) .gm-pins svg { transition: opacity .35s ease 0s, transform 0s linear .4s !important; }

/* Gongganji — map info strip: 142 + label left, legend right, one short band close under the map */
.case .gm-row.solo { margin-top: clamp(20px, 2vw, 28px); }
.case .gm-row.solo .gm-stat { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.case .gm-row.solo .gm-n { font-size: clamp(44px, 5.3vw, 84px); }
.case .gm-row.solo .gm-l { margin: 0; }
.case .gm-row.solo .gm-leg { margin: 0 0 0 auto; padding: 0; border: 0; align-self: baseline; }

/* "지금 볼 수 있는 전시": title on top; phone (pin chosen, sheet open) left, enlarged sheet info right */
.case .gsee.zoom { margin-top: clamp(80px, 6.5vw, 100px); row-gap: clamp(32px, 3.5vw, 52px); align-items: center; }
.case .gsee.zoom .gs-txt { grid-column: 1 / span 6; }
.case .gsee.zoom .gz-ph { grid-column: 1 / span 4; }
.case .gsee.zoom .gz-ph .gph-dev { width: min(100%, 320px); }
.case .gsee.zoom .gz-in { grid-column: 6 / span 7; margin: 0; padding: clamp(8px, 1vw, 16px) 0; background: #fff; border-radius: 20px; box-shadow: 0 0 0 1px #E4E6E8, 0 24px 48px rgba(17, 24, 32, .08); overflow: hidden; }
.case .gsee.zoom .gz-in img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) {
  .case .gm-row.solo .gm-stat { gap: 6px 12px; }
  .case .gm-row.solo .gm-n { font-size: 48px; }
  .case .gm-row.solo .gm-l { flex: 1 0 auto; }
  .case .gm-row.solo .gm-leg { flex-direction: row; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid #E4E6E8; width: 100%; gap: 10px 22px; }
  .case .gsee.zoom { margin-top: 72px; }
  .case .gsee.zoom .gs-txt, .case .gsee.zoom .gz-ph, .case .gsee.zoom .gz-in { grid-column: 1 / -1; }
  .case .gsee.zoom .gz-ph .gph-dev { width: min(72%, 280px); margin-inline: auto; }
  .case .gsee.zoom .gz-in { border-radius: 14px; }
}

/* Phone mockup: user-supplied iPhone frame (transparent screen) over the app screen + iOS status bar */
.case .gph-dev.gph-mk { position: relative; padding: 0; border-radius: 0; background: none; box-shadow: none; aspect-ratio: 629 / 1288; filter: drop-shadow(0 18px 28px rgba(17, 24, 32, .12)); }
.case .gph-mk::after { content: ''; position: absolute; inset: 0; background: url(../assets/works/gongganji/phone-frame.webp) center / 100% 100% no-repeat; pointer-events: none; }
.case .gph-mk .gph-scr { position: absolute; left: 5.4%; top: 2.1%; width: 89.5%; height: 95.6%; overflow: hidden; border-radius: 13% / 6%; background: #fff; container-type: inline-size; }
.case .gph-mk .gph-scr img { display: block; width: 100%; height: auto; aspect-ratio: 1170 / 2419; border-radius: 0; object-fit: cover; }
.case .gsb { display: flex; justify-content: space-between; align-items: center; height: 12.05cqw; padding-top: 4.3cqw; box-sizing: border-box; color: #000; }
.case .gsb > span { width: 33.5%; display: flex; justify-content: center; align-items: center; }
.case .gsb-t { font: 600 4.3cqw / 1 -apple-system, 'SF Pro Text', 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.01em; }
.case .gsb-i { gap: 1.4cqw; }
.case .gsb-i svg { height: 2.9cqw; width: auto; fill: currentColor; }

/* "공간을 누르면, 지금 하는 전시까지": one phone as the subject, short text beside it */
.case .gsee.one { margin-top: clamp(80px, 6.5vw, 100px); align-items: center; }
.case .gsee.one .gs-txt { grid-column: 1 / span 4; }
.case .gsee.one .gs-txt h3 { font-size: clamp(19px, 1.6vw, 24px); }
.case .gsee.one .g1-ph { grid-column: 6 / span 4; margin: 0; }
.case .gsee.one .g1-ph .gph-dev { width: min(100%, 360px); margin-inline: auto; }
@media (max-width: 760px) {
  .case .gsee.one { margin-top: 72px; row-gap: 28px; }
  .case .gsee.one .gs-txt, .case .gsee.one .g1-ph { grid-column: 1 / -1; }
  .case .gsee.one .g1-ph .gph-dev { width: min(78%, 300px); }
}
/* one-phone section: same rhythm as the 마이루트 section below — text top-aligned, phone from col 5 */
.case .gsee.one { align-items: start; }
.case .gsee.one .gs-txt h3 { font-size: 19px; }
.case .gsee.one .gs-txt p { margin-top: 16px; }
.case .gsee.one .g1-ph { grid-column: 5 / span 4; }
.case .gsee.one .g1-ph .gph-dev { margin-inline: 0; }
@media (max-width: 760px) { .case .gsee.one .g1-ph .gph-dev { margin-inline: auto; } }

/* one-phone scene v2: big two-line line + one phone sized to fit the viewport.
   .side = text left / phone centred at ~70%; .stack = text above, phone centred below */
.case .gsee.one { margin-top: clamp(120px, 11vw, 180px); }
.case .gsee.one .gs-txt h3 { font: 500 clamp(30px, 3.2vw, 48px) / 1.25 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.03em; }
.case .gsee.one .gs-txt p { margin-top: 20px; font-size: 15px; }
.case .gsee.one .g1-ph .gph-dev { width: min(100%, 380px, calc((100vh - 140px) * 629 / 1288)); }
.case .gsee.one.side { align-items: center; }
.case .gsee.one.side .gs-txt { grid-column: 1 / span 5; }
.case .gsee.one.side .g1-ph { grid-column: 6 / -1; }
.case .gsee.one.side .g1-ph .gph-dev { margin-inline: auto; }
.case .gsee.one.stack { row-gap: clamp(48px, 5vw, 80px); }
.case .gsee.one.stack .gs-txt { grid-column: 1 / -1; text-align: center; }
.case .gsee.one.stack .g1-ph { grid-column: 1 / -1; }
.case .gsee.one.stack .g1-ph .gph-dev { margin-inline: auto; }
@media (max-width: 760px) {
  .case .gsee.one { margin-top: 96px; }
  .case .gsee.one.side .gs-txt, .case .gsee.one.side .g1-ph { grid-column: 1 / -1; }
  .case .gsee.one .gs-txt h3 { font-size: 28px; }
  .case .gsee.one .g1-ph .gph-dev { width: min(80%, 300px); }
}

/* One-phone motion: map → tap on 국제갤러리 → pin turns active → detail sheet slides up → long hold */
.case .g1-stage { position: relative; aspect-ratio: 1170 / 2391; overflow: hidden; }
.case .gph-mk .g1-stage img { position: absolute; left: 0; width: 100%; height: auto; aspect-ratio: auto; }
.case .g1-stage .l-base { top: 0; }
.case .g1-stage .l-sel { top: 0; transition: opacity .2s ease .75s; }
.case .g1-stage .l-sheet { top: 34.13%; border-radius: 5.2cqw 5.2cqw 0 0; box-shadow: 0 -2cqw 6cqw rgba(0,0,0,.08); transition: transform .65s cubic-bezier(.2,.8,.2,1) .95s; }
.case .g1-stage .l-tab { top: 89.5%; z-index: 2; }
.case .g1-stage .l-tap { position: absolute; z-index: 1; width: 14cqw; height: 14cqw; margin: -7cqw 0 0 -7cqw; border-radius: 50%; background: rgba(31, 42, 51, .22); opacity: 0; transform: scale(.2); pointer-events: none; }
.case .gsee.mo.on .l-tap { animation: g1tap .7s ease-out .35s both; }
@keyframes g1tap { 0% { opacity: 0; transform: scale(.2); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.4); } }
.case .gsee.mo:not(.on) .l-sel { opacity: 0; transition: opacity .3s ease 0s; }
.case .gsee.mo:not(.on) .l-sheet { transform: translateY(105%); transition: transform .4s ease-in 0s; }
@media (prefers-reduced-motion: reduce) {
  .case .gsee.mo .l-sel { opacity: 1 !important; transition: none !important; }
  .case .gsee.mo .l-sheet { transform: none !important; transition: none !important; }
  .case .gsee.mo .l-tap { display: none; }
}

/* 142 · digit roll: numbers spin up in place and land on 142 (~0.75s); text, pins, legend stay put */
.case .gm-roll { display: inline-flex; }
.case .gm-roll .rc { position: relative; display: inline-block; overflow-y: clip; overflow-x: visible; overflow-clip-margin: .06em; }
.case .gm-roll .rw { visibility: hidden; }
.case .gm-roll .rs { position: absolute; left: 50%; top: 0; display: flex; flex-direction: column; align-items: center; translate: -50% 0; }
.case .gm-roll .rs span { display: block; height: 1lh; }
.case .gm-n.roll.on .rs { animation: gmroll calc(.55s + var(--i) * .1s) cubic-bezier(.25, .7, .2, 1) calc(var(--i) * .03s) both; }
@keyframes gmroll { 0% { transform: translateY(0); filter: blur(0); } 25% { filter: blur(.035em); } 80% { filter: blur(0); } 100% { transform: translateY(calc(var(--k) * -1lh)); } }
@media (prefers-reduced-motion: reduce) { .case .gm-n.roll.on .rs { animation: none; } }

/* Same scene format with two phones (마이루트 · 다녀왔어요) */
.case .gsee.one .g1-two { display: flex; justify-content: center; gap: clamp(20px, 2.4vw, 40px); }
.case .gsee.one .g1-two figure { margin: 0; flex: 0 1 auto; }
.case .gsee.one .g1-two .gph-dev { width: min(30vw, 300px, calc((100vh - 200px) * 629 / 1288)); }
.case .gsee.one .g1-two figcaption { max-width: none; margin-top: 16px; text-align: center; }
@media (max-width: 760px) {
  .case .gsee.one .g1-two { gap: 12px; }
  .case .gsee.one .g1-two figure { flex: 1 1 0; }
  .case .gsee.one .g1-two .gph-dev { width: 100%; }
  .case .gsee.one .g1-two figcaption { font-size: 12px; }
}
/* two-phone scene on phones: stacked, each screen gets its own short lead above it (caption hidden) */
.case .g1-lead { display: none; }
@media (max-width: 760px) {
  .case .gsee.one .g1-two { flex-direction: column; align-items: center; gap: 56px; }
  .case .gsee.one .g1-two figure { flex: none; width: 100%; }
  .case .gsee.one .g1-two .gph-dev { width: min(80%, 300px); margin-inline: auto; }
  .case .gsee.one .g1-two figcaption { display: none; }
  .case .g1-lead { display: block; margin: 0 0 20px; font: 500 17px / 1.4 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.015em; }
}
@media (max-width: 760px) { .case .gsee.one .g1-two { padding-top: 24px; } }

/* Full-page pass: day title joins the big two-line scene titles; Brand blocks get room between them */
.case .gday .gd-title { font: 500 clamp(30px, 3.2vw, 48px) / 1.25 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.03em; margin-bottom: clamp(48px, 5vw, 80px); }
.case[data-case="gongganji"] .og + .og, .case[data-case="gongganji"] .og + .gpc { margin-top: 72px; }
@media (max-width: 760px) {
  .case .gday .gd-title { font-size: 28px; margin-bottom: 40px; }
  .case[data-case="gongganji"] .og + .og, .case[data-case="gongganji"] .og + .gpc { margin-top: 48px; }
}
.case .gday .gd-title span { display: block; }
/* mobile: the three scene titles step down together */
@media (max-width: 760px) {
  .case .gsee.one .gs-txt h3, .case .gday .gd-title { font-size: 24px; line-height: 1.3; letter-spacing: -.025em; }
}
/* mobile per-phone lead: same look as the day steps (mono label over a hairline, then one short line), on the phone's own width */
@media (max-width: 760px) {
  .case .g1-lead { width: min(80%, 300px); margin: 0 auto 18px; font: 500 15px / 1.45 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.01em; }
  .case .g1-lead span { display: block; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid #cfcfcc; font: 400 11px / 1.4 var(--mono); letter-spacing: .14em; color: var(--gray); }
}

/* Scene titles after the dayroom reference: small English label, moderate charcoal Korean title,
   light-grey English line under it, then the grey Korean body */
.case .sc-k { margin: 0 0 14px; font: 400 12px / 1.4 var(--mono); letter-spacing: .08em; color: #8C8F93; }
.case .gsee.one .gs-txt h3, .case .gday .gd-title { font: 500 clamp(24px, 2.2vw, 32px) / 1.45 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.025em; color: #2B2D30; }
.case .sc-en { margin: 10px 0 0; font: 400 13px / 1.5 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: 0; color: #B3B6BA; }
.case .gsee.one .gs-txt p:not(.sc-k):not(.sc-en) { margin-top: 28px; color: #8C8F93; }
.case .gday .gd-title.has-en { margin-bottom: 0; }
.case .gday .gd-en { margin-bottom: clamp(48px, 5vw, 80px); }
@media (max-width: 760px) {
  .case .gsee.one .gs-txt h3, .case .gday .gd-title { font-size: 21px; line-height: 1.45; letter-spacing: -.02em; }
  .case .sc-k { margin-bottom: 10px; font-size: 11px; }
  .case .sc-en { font-size: 12px; }
  .case .gsee.one .gs-txt p:not(.sc-k):not(.sc-en) { margin-top: 20px; }
  .case .gday .gd-en { margin-bottom: 40px; }
  .case .g1-lead small { display: block; margin-top: 4px; font: 400 12px / 1.4 'Pretendard Variable', Pretendard, sans-serif; color: #B3B6BA; }
  .case .g1-lead { color: #2B2D30; }
}
.case .gsee.one .gs-txt p.sc-k { margin: 0 0 14px; font: 400 12px / 1.4 var(--mono); letter-spacing: .08em; color: #8C8F93; }
.case .gsee.one .gs-txt p.sc-en { margin: 10px 0 0; font: 400 13px / 1.5 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: 0; color: #B3B6BA; }
@media (max-width: 760px) {
  .case .gsee.one .gs-txt p.sc-k { margin-bottom: 10px; font-size: 11px; }
  .case .gsee.one .gs-txt p.sc-en { font-size: 12px; }
}

/* Gongganji opens with a chapter: the info block's own bottom padding (198px) is the gap, like Niu/Senevre */
.case[data-case="gongganji"] .case-info + .sec > .chapter:first-child { margin-top: 0; }

/* Gongganji BI — symbol construction, lockups, in use */
.case .bisym { padding-inline: var(--case-pad); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: center; margin-top: clamp(32px, 4vw, 64px); }
.case .bs-txt { grid-column: 1 / span 3; }
.case .bs-txt h3 { margin: 0; font: 500 clamp(20px, 1.7vw, 24px) / 1.45 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.02em; color: #2B2D30; }
.case .bs-txt > p:not(.sc-k) { margin: 16px 0 0; font: 400 15px / 1.75 'Pretendard Variable', Pretendard, sans-serif; color: #8C8F93; text-wrap: pretty; }
.case .bs-fig { grid-column: 5 / span 8; margin: 0; background: #F4F5F6; aspect-ratio: 3 / 2; display: grid; place-items: center; }
.case .bs-svg { height: 86%; width: auto; overflow: visible; }
.case .bs-g { fill: none; stroke: #C9CED3; stroke-width: 2; stroke-dasharray: 6 9; }
.case .bs-r { fill: none; stroke: #AAB2BA; stroke-width: 2; }
.case .bs-c { fill: none; stroke: #8C959E; stroke-width: 2; }
.case .bs-t { font: 400 22px var(--mono); fill: #8C8F93; letter-spacing: .04em; }
.case .bs-m { fill: none; stroke: #708A9E; stroke-width: 15; stroke-linecap: round; }
.case .bs-d { fill: #708A9E; }
.case .bilock, .case .biuse { padding-inline: var(--case-pad); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); margin-top: 72px; }
.case .bl-t { grid-column: 1 / span 3; margin: 0; font: 400 15px / 1.75 'Pretendard Variable', Pretendard, sans-serif; color: #8C8F93; text-wrap: pretty; }
.case .bl-row { grid-column: 5 / span 8; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.case .bl-tile { aspect-ratio: 1; background: #F4F5F6; display: grid; place-items: center; }
.case .bl-row li.w .bl-tile { aspect-ratio: auto; height: 100%; }
.case .bl-row li { display: flex; flex-direction: column; }
.case .bl-row li.w .bl-tile { flex: 1; }
.case .bl-tile img { width: 52%; height: auto; }
.case .bl-row li.w .bl-tile img { width: 58%; }
.case .bl-row span { margin-top: 10px; font: 400 11px / 1.4 var(--mono); letter-spacing: .06em; color: #8C8F93; }
.case .bu-row { grid-column: 5 / span 8; display: flex; align-items: flex-end; justify-content: center; gap: clamp(32px, 5vw, 80px); background: #F4F5F6; padding: clamp(40px, 5vw, 72px) 24px; }
.case .bu-row figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.case .biuse .gph-dev { width: clamp(180px, 17vw, 250px); }
.case .biuse .gph-mk .gph-scr img.bu-raw { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: top; }
.case .bu-card { width: clamp(200px, 20vw, 300px); box-shadow: 0 18px 40px rgba(17, 24, 32, .1); }
.case .bu-card img { display: block; width: 100%; height: auto; }
.case .bu-row figcaption { margin-top: 16px; font: 400 11px / 1.4 var(--mono); letter-spacing: .06em; color: #8C8F93; }
@media (max-width: 760px) {
  .case .bisym, .case .bilock, .case .biuse { grid-template-columns: 1fr; row-gap: 24px; }
  .case .bs-txt, .case .bs-fig, .case .bl-t, .case .bl-row, .case .bu-row { grid-column: 1 / -1; }
  .case .bs-fig { aspect-ratio: 1; }
  .case .bl-row { grid-template-columns: 1fr 1fr 1fr; }
  .case .bl-row li.w { grid-column: 1 / -1; }
  .case .bl-row li.w .bl-tile { aspect-ratio: 16 / 9; }
  .case .bu-row { gap: 16px; padding: 32px 12px; }
  .case .biuse .gph-dev { width: 42vw; }
  .case .bu-card { width: 44vw; }
}

.case .bs-fig { position: relative; }
.case .bs-svg { position: absolute; inset: 7% 0; height: 86%; width: 100%; }
.case .bilock + .gpc, .case .gpc + .biuse { margin-top: 72px; }
@media (max-width: 760px) { .case .gpc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .case .bilock + .gpc, .case .gpc + .biuse { margin-top: 48px; } .case .bilock, .case .biuse { margin-top: 48px; } }
@media (max-width: 760px) { .case .gpc-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .case .gpc-sw { aspect-ratio: 1; } .case .gpc-sw svg { width: 30%; } }

/* BI: no grey panels — the marks sit on the page; pin swatches keep a hairline so they still read as tiles */
.case .bs-fig, .case .bl-tile, .case .bu-row { background: none; }
.case .bu-row { padding-inline: 0; }
.case .bl-tile { box-shadow: inset 0 0 0 1px #ECEEF0; }
.case .gpc li:not(.flat) .gpc-sw { background: #fff !important; box-shadow: inset 0 0 0 1px #E4E6E8; }

/* Symbol motion: guides → radii → outer arc → inner arc → the dot drops onto the inner path → hold */
.case .bisym .bs-g, .case .bisym .bs-c, .case .bisym .bs-t { transition: opacity .5s ease; }
.case .bisym .bs-g.i, .case .bisym .bs-c + .bs-c { transition-delay: .15s; }
.case .bisym .bs-r { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .5s ease .35s; }
.case .bisym .bs-r.i { transition-delay: .5s; }
.case .bisym .bs-t { transition-delay: .7s; }
.case .bisym .bs-m { stroke-dasharray: 1 1.02; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s cubic-bezier(.45,.05,.25,1) .9s; }
.case .bisym .bs-m.i { transition-delay: 1.35s; }
.case .bisym .bs-d { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .5s cubic-bezier(.3,1.6,.5,1) 2.45s, opacity .15s ease 2.45s; }
.case .bisym:not(.on) .bs-g, .case .bisym:not(.on) .bs-c, .case .bisym:not(.on) .bs-t { opacity: 0; transition-delay: 0s; transition-duration: .3s; }
.case .bisym:not(.on) .bs-r { stroke-dashoffset: 1; transition: stroke-dashoffset .3s ease 0s; }
.case .bisym:not(.on) .bs-m { stroke-dashoffset: 1.02; transition: stroke-dashoffset .4s ease 0s; }
.case .bisym:not(.on) .bs-d { opacity: 0; transform: translateY(-260%) scale(.6); transition: opacity .25s ease 0s, transform 0s linear .3s; }
@media (prefers-reduced-motion: reduce) { .case .bisym * { transition: none !important; } .case .bisym:not(.on) .bs-g, .case .bisym:not(.on) .bs-c, .case .bisym:not(.on) .bs-t, .case .bisym:not(.on) .bs-d { opacity: 1; transform: none; } .case .bisym:not(.on) .bs-r, .case .bisym:not(.on) .bs-m { stroke-dashoffset: 0; } }

/* BI origin: wordmark with only G · g · . kept, then each glyph next to the part it becomes */
.case .biorigin { padding-inline: var(--case-pad); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: start; margin-top: clamp(32px, 4vw, 64px); }
.case .biorigin .bs-txt { grid-column: 1 / span 3; }
.case .bo-fig { grid-column: 5 / span 8; }
.case .bo-wm { display: block; width: 78%; height: auto; margin: 12px auto 0; }
.case .bo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); margin: clamp(56px, 6vw, 88px) 0 0; padding: 0; list-style: none; }
.case .bo-pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 28px 0; border-top: 1px solid #E4E6E8; }
.case .bo-gl { display: grid; place-items: center; height: 100%; }
.case .bo-gl img { height: clamp(48px, 5vw, 72px); width: auto; }
.case .bo-row li:nth-child(3) .bo-gl img { height: clamp(12px, 1.3vw, 19px); align-self: end; margin-bottom: 18%; }
.case .bo-ar { font: 400 14px var(--mono); color: #B3B6BA; }
.case .bo-part { width: 100%; height: auto; }
.case .bo-part .bs-m { stroke-width: 22; }
.case .bo-gh { fill: none; stroke: #E4E6E8; stroke-width: 22; stroke-linecap: round; }
.case .bo-ghd { fill: #E4E6E8; }
.case .bo-l { display: block; font: 400 12px / 1.4 var(--mono); letter-spacing: .04em; color: #8C8F93; }
.case .biorigin + .bisym { margin-top: clamp(64px, 7vw, 112px); }
@media (max-width: 760px) {
  .case .biorigin { grid-template-columns: 1fr; row-gap: 28px; }
  .case .biorigin .bs-txt, .case .bo-fig { grid-column: 1 / -1; }
  .case .bo-wm { width: 100%; }
  .case .bo-row { grid-template-columns: 1fr; gap: 0; margin-top: 36px; }
  .case .bo-pair { grid-template-columns: 1fr auto 1fr; padding: 18px 0; }
  .case .bo-part { width: 64%; justify-self: center; }
}

/* Origin motion: full wordmark → other letters fade back → each glyph appears → its part is drawn (arc) or dropped (dot) */
.case .bo-wmw { position: relative; width: 78%; margin: 12px auto 0; }
.case .bo-wmw .bo-wm { width: 100%; margin: 0; }
.case .bo-wm.full { position: absolute; inset: 0; transition: opacity .6s ease .7s; }
.case .biorigin.on .bo-wm.full { opacity: 0; }
.case .bo-gl img, .case .bo-ar { transition: opacity .4s ease calc(1.4s + var(--i) * .35s), transform .5s cubic-bezier(.2,.8,.2,1) calc(1.4s + var(--i) * .35s); }
.case .bo-gh, .case .bo-ghd { transition: opacity .4s ease calc(1.7s + var(--i) * .35s); }
.case .bo-part .bs-m { stroke-dasharray: 1 1.02; transition: stroke-dashoffset .8s cubic-bezier(.45,.05,.25,1) calc(1.9s + var(--i) * .35s); }
.case .bo-part .bs-d { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .45s cubic-bezier(.3,1.6,.5,1) calc(1.9s + var(--i) * .35s), opacity .15s ease calc(1.9s + var(--i) * .35s); }
.case .biorigin:not(.on) .bo-wm.full { opacity: 1; transition: opacity .3s ease 0s; }
.case .biorigin:not(.on) .bo-gl img { opacity: 0; transform: translateY(12px); transition: opacity .3s ease 0s, transform 0s linear .3s; }
.case .biorigin:not(.on) .bo-ar, .case .biorigin:not(.on) .bo-gh, .case .biorigin:not(.on) .bo-ghd { opacity: 0; transition: opacity .3s ease 0s; }
.case .biorigin:not(.on) .bo-part .bs-m { stroke-dashoffset: 1.02; transition: stroke-dashoffset .3s ease 0s; }
.case .biorigin:not(.on) .bo-part .bs-d { opacity: 0; transform: translateY(-300%) scale(.6); transition: opacity .2s ease 0s, transform 0s linear .3s; }
@media (prefers-reduced-motion: reduce) { .case .biorigin * { transition: none !important; } .case .biorigin .bo-wm.full { display: none; } .case .biorigin:not(.on) .bo-gl img, .case .biorigin:not(.on) .bo-ar, .case .biorigin:not(.on) .bo-gh, .case .biorigin:not(.on) .bo-ghd, .case .biorigin:not(.on) .bo-part .bs-d { opacity: 1; transform: none; } .case .biorigin:not(.on) .bo-part .bs-m { stroke-dashoffset: 0; } }
@media (max-width: 760px) { .case .bo-wmw { width: 100%; } }

/* Gongganji colour chart — share bar (measured), large colour fields with mono specs, token strips */
.case .gcolor { padding-inline: var(--case-pad); margin-top: clamp(96px, 10vw, 160px); }
.case .gc-head { max-width: 640px; }
.case .gc-head h3 { margin: 0; font: 500 clamp(24px, 2.2vw, 32px) / 1.45 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.025em; color: #2B2D30; }
.case .gc-body { margin: 20px 0 0; font: 400 15px / 1.75 'Pretendard Variable', Pretendard, sans-serif; color: #8C8F93; text-wrap: pretty; }
.case .gc-bar { display: flex; height: clamp(96px, 11vw, 160px); margin-top: clamp(40px, 4vw, 64px); box-shadow: inset 0 0 0 1px #E4E6E8; }
.case .gc-bar span { min-width: 3px; }
.case .gc-leg { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0 var(--g); margin: 18px 0 0; padding: 0; list-style: none; }
.case .gc-leg li { display: grid; grid-template-columns: 10px 1fr; column-gap: 8px; row-gap: 2px; align-items: center; }
.case .gc-leg i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.case .gc-leg b { font: 500 13px / 1.3 'Pretendard Variable', Pretendard, sans-serif; color: #2B2D30; }
.case .gc-leg span, .case .gc-leg em { grid-column: 2; font: 400 11px / 1.4 var(--mono); font-style: normal; color: #8C8F93; letter-spacing: .02em; }
.case .gc-leg em { color: #2B2D30; }
.case .gc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); margin-top: clamp(80px, 8vw, 128px); }
.case .gc-card { position: relative; height: min(72vh, 640px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; }
.case .gc-sub { position: absolute; left: 0; right: 0; top: 0; height: 22%; display: flex; justify-content: space-between; align-items: flex-start; padding: 22px 28px; font: 400 11px / 1.4 var(--mono); letter-spacing: .04em; color: rgba(255,255,255,.85); }
.case .gc-info { padding: 28px; }
.case .gc-info b { display: block; font: 500 clamp(28px, 3vw, 44px) / 1.1 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.02em; }
.case .gc-info dl { display: grid; grid-template-columns: 56px 1fr; gap: 6px 12px; margin: 28px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.35); font: 400 12px / 1.5 var(--mono); letter-spacing: .03em; }
.case .gc-info dt { color: rgba(255,255,255,.6); }
.case .gc-info dd { margin: 0; }
.case .gc-rows { margin-top: clamp(56px, 6vw, 96px); }
.case .gc-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); padding: 28px 0; border-top: 1px solid #E4E6E8; }
.case .gc-row:last-child { border-bottom: 1px solid #E4E6E8; }
.case .gc-k { grid-column: 1 / span 3; font: 400 12px / 1.4 var(--mono); letter-spacing: .08em; color: #8C8F93; }
.case .gc-row ul { grid-column: 5 / span 8; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); margin: 0; padding: 0; list-style: none; }
.case .gc-chip { height: 56px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); display: grid; place-items: center; }
.case .gc-row.pins .gc-chip { box-shadow: inset 0 0 0 1px #E4E6E8; }
.case .gc-chip svg { height: 34px; width: auto; filter: drop-shadow(0 4px 6px rgba(0,0,0,.12)); }
.case .gc-row b { display: block; margin-top: 10px; font: 500 13px / 1.3 'Pretendard Variable', Pretendard, sans-serif; color: #2B2D30; }
.case .gc-row li span { font: 400 11px / 1.6 var(--mono); color: #8C8F93; }
@media (max-width: 760px) {
  .case .gcolor { margin-top: 96px; }
  .case .gc-bar { height: 72px; }
  .case .gc-leg { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .case .gc-cards { grid-template-columns: 1fr; gap: 12px; margin-top: 56px; }
  .case .gc-card { height: 420px; }
  .case .gc-info { padding: 22px; }
  .case .gc-sub { padding: 18px 22px; }
  .case .gc-row { grid-template-columns: 1fr; row-gap: 14px; padding: 22px 0; }
  .case .gc-k, .case .gc-row ul { grid-column: 1; }
  .case .gc-row ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .case .gc-chip { height: 44px; }
}
.case .gc-bar { box-shadow: none; outline: 1px solid #DDE0E3; outline-offset: -1px; } .case .gc-bar span + span { box-shadow: -1px 0 0 rgba(0,0,0,.06); }

/* Colour in context: phone + leader lines to the spots each token is used */
.case .gcuse { padding-inline: var(--case-pad); margin-top: clamp(80px, 8vw, 128px); }
.case .gu-head h3 { margin: 0; font: 500 clamp(20px, 1.7vw, 24px) / 1.45 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.02em; color: #2B2D30; }
.case .gu-head p { margin: 14px 0 0; max-width: 560px; font: 400 15px / 1.75 'Pretendard Variable', Pretendard, sans-serif; color: #8C8F93; }
.case .gu-fig { position: relative; aspect-ratio: 1000 / 680; margin: clamp(32px, 4vw, 56px) 0 0; }
.case .gu-ph { position: absolute; left: 35%; top: 4.85%; width: 30%; }
.case .gu-ph .gph-dev { width: 100%; }
.case .gu-ph .gph-scr img { display: block; width: 100%; height: auto; aspect-ratio: 1170 / 2391; }
.case .gu-ln { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.case .gu-ln line { stroke: #2B2D30; stroke-width: 1; vector-effect: non-scaling-stroke; }
.case .gu-ln circle { fill: #fff; stroke: #2B2D30; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.case .gu-lb { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.case .gu-lb li { position: absolute; display: flex; align-items: center; gap: 8px; transform: translateY(-50%); white-space: nowrap; }
.case .gu-lb li.l { right: calc(70% + 12px); flex-direction: row-reverse; }
.case .gu-lb li.r { left: calc(70% + 12px); }
.case .gu-lb i, .case .gu-list i { flex: none; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.case .gu-lb span, .case .gu-list span { font: 400 11px / 1.4 var(--mono); letter-spacing: .03em; color: #8C8F93; }
.case .gu-lb b, .case .gu-list b { font: 500 13px / 1.4 'Pretendard Variable', Pretendard, sans-serif; color: #2B2D30; }
.case .gu-list { display: none; }
@media (max-width: 760px) {
  .case .gcuse { margin-top: 72px; }
  .case .gu-fig { aspect-ratio: auto; }
  .case .gu-ph { position: static; width: min(78%, 300px); margin: 0 auto; }
  .case .gu-ln, .case .gu-lb { display: none; }
  .case .gu-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid #E4E6E8; }
  .case .gu-list li { display: grid; grid-template-columns: 12px 64px 1fr; gap: 10px; align-items: center; }
}
/* colour chart trimmed to share bar + map pins; callout figure has its own phone-size geometry */
.case .gc-row, .case .gc-row:last-child { border: 0; }
.case .gc-rows { margin-top: clamp(48px, 5vw, 80px); }
.case .gu-fig { aspect-ratio: auto; }
.case .gu-fig.m { display: none; }
.case .gu-lb li.l, .case .gu-lb li.r { right: auto; left: auto; }
@media (max-width: 760px) {
  .case .gu-fig.d { display: none; }
  .case .gu-fig.m { display: block; margin-top: 28px; }
  .case .gu-fig.m .gu-ph { position: absolute; width: auto; margin: 0; }
  .case .gu-fig.m .gu-ln, .case .gu-fig.m .gu-lb { display: block; }
  .case .gu-fig.m .gu-lb li { flex-direction: column; align-items: flex-start; gap: 1px; }
  .case .gu-fig.m .gu-lb li.l { align-items: flex-end; text-align: right; }
  .case .gu-fig.m .gu-lb i { display: none; }
  .case .gu-fig.m .gu-lb span { font-size: 9px; }
  .case .gu-fig.m .gu-lb b { font-size: 10.5px; line-height: 1.3; white-space: normal; max-width: 72px; }
  .case .gu-list { display: none; }
}
.case .gu-ln polyline { fill: none; stroke: #2B2D30; stroke-width: 1; vector-effect: non-scaling-stroke; }
/* map pin row: no boxes, centred labels */
.case .gc-row.pins .gc-chip { box-shadow: none; height: 64px; }
.case .gc-row.pins li { text-align: center; }

/* Typography: two large specimens, then the detail sheet's scale at 2× */
.case .gtype-sp { padding-inline: var(--case-pad); margin-top: clamp(96px, 10vw, 160px); }
.case .gt-faces { display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); }
.case .gt-face { border-top: 1px solid #2B2D30; padding-top: 20px; }
.case .gt-big { margin: 0; font-size: clamp(120px, 14vw, 220px); line-height: 1; letter-spacing: -.03em; color: #2B2D30; }
.case .gt-meta { display: grid; gap: 4px; margin-top: 28px; }
.case .gt-meta b { font: 500 15px / 1.4 'Pretendard Variable', Pretendard, sans-serif; color: #2B2D30; }
.case .gt-meta span { font: 400 11px / 1.5 var(--mono); letter-spacing: .03em; color: #8C8F93; }
.case .gt-sample { margin: 24px 0 0; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.4; color: #2B2D30; }
.case .gt-scale { margin: clamp(72px, 7vw, 112px) 0 0; padding: 0; list-style: none; }
.case .gt-scale li { display: grid; grid-template-columns: 1fr 1fr 2fr 8fr; column-gap: var(--g); align-items: baseline; padding: 18px 0; border-top: 1px solid #ECEEF0; }
.case .gt-scale li:last-child { border-bottom: 1px solid #ECEEF0; }
.case .gt-scale li > span:not(.gt-s) { font: 400 11px / 1.5 var(--mono); letter-spacing: .03em; color: #8C8F93; }
.case .gt-scale .gt-h { border-top: 0; padding-bottom: 8px; }
.case .gt-s { font-family: 'Inter', 'Pretendard Variable', Pretendard, sans-serif; line-height: 1.25; color: #2B2D30; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case .gtype-sp + .gcuse { margin-top: clamp(80px, 8vw, 128px); }
.case .gcuse .gu-head .sc-k { margin: 0 0 14px; }
@media (max-width: 760px) {
  .case .gt-faces { grid-template-columns: 1fr; gap: 48px; }
  .case .gt-big { font-size: 112px; }
  .case .gt-scale li { grid-template-columns: 48px 36px 1fr; row-gap: 6px; }
  .case .gt-scale .gt-s { grid-column: 1 / -1; }
  .case .gt-scale .gt-h span:last-child { display: none; }
}
.case .gtype-sp .gt-faces { margin-top: clamp(48px, 5vw, 80px); }
@media (max-width: 760px) {
  .case .gcuse.gtype .gu-fig.m .gu-lb span { white-space: normal; max-width: 70px; line-height: 1.3; }
  .case .gcuse.gtype .gu-fig.m .gu-lb li.l span { text-align: right; }
}
@media (max-width: 760px) {
  .case .gcuse.gtype .gu-fig.m .gu-lb span { white-space: nowrap; max-width: none; font-size: 8.5px; letter-spacing: 0; }
  .case .gcuse.gtype .gu-fig.m .gu-lb b { max-width: none; white-space: nowrap; }
}

/* Typography, cleaned: two calm specimens side by side, then the scale */
.case .gt-faces { gap: clamp(32px, 4vw, 72px); }
.case .gt-face { border-top: 1px solid #E4E6E8; padding-top: 24px; display: grid; grid-template-rows: auto auto 1fr auto; }
.case .gt-face .gt-meta { order: -1; margin: 0 0 28px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.case .gt-face .gt-meta span:first-of-type { display: none; }
.case .gt-big { font-size: clamp(72px, 7.5vw, 112px); color: #2B2D30; }
.case .gt-sample { margin-top: 28px; font-size: 17px; color: #68788A; }
.case .gt-scale { margin-top: clamp(64px, 6vw, 96px); }
.case .gt-scale li { padding: 14px 0; border-top-color: #F0F1F3; }
.case .gt-scale li:last-child { border-bottom-color: #F0F1F3; }
@media (max-width: 760px) {
  .case .gt-big { font-size: 72px; }
  .case .gt-faces { gap: 40px; }
}
@media (max-width: 760px) { .case .gt-s { white-space: normal; overflow: visible; } }

/* Service flow (no logo): same reveal as before, but it starts right away — line from .1s, stages every .3s */
.case .flow.no-logo.on .fl-line { transition: transform 1.2s cubic-bezier(.3, 0, .2, 1) .1s; }

/* Build & Launch: data, map connection, then the released mini app. */
.case .build-launch { padding-inline: var(--case-pad); margin-top: clamp(40px, 5vw, 72px); }
.case .bl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); list-style: none; padding: 0; margin: 0; }
.case .bl-item { border-top: 1px solid #DDE0E3; padding-top: 20px; min-width: 0; }
.case .bl-visual { height: 260px; display: flex; align-items: center; margin-block: 20px 32px; }
.case .bl-data { width: 100%; }
.case .bl-data > strong { font: 500 clamp(64px, 7vw, 104px)/1 Inter, sans-serif; letter-spacing: -.065em; }
.case .bl-data > strong span { font: 400 20px/1 'Pretendard Variable', sans-serif; margin-left: 8px; letter-spacing: 0; }
.case .bl-data > p { margin: 12px 0 24px; color: #68788A; font-size: 14px; }
.case .bl-data ul { display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 0; list-style: none; font-size: 13px; }
.case .bl-data li b { font-weight: 500; margin-left: 6px; }
.case .bl-map { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.case .bl-map strong { font: 500 clamp(24px, 2.5vw, 36px)/1.2 Inter, sans-serif; letter-spacing: -.03em; }
.case .bl-place { font-size: 14px; color: #68788A; }
.case .bl-path { color: #708A9E; font-size: 22px; }
.case .bl-toss { display: flex; flex-direction: column; gap: 10px; }
.case .bl-toss img { width: 88px; height: 88px; border-radius: 20px; margin-bottom: 12px; }
.case .bl-toss strong { font-size: 24px; font-weight: 500; }
.case .bl-toss > span { font: 400 12px/1.4 var(--mono); color: #68788A; }
.case .bl-item h3 { font: 500 20px/1.4 'Pretendard Variable', sans-serif; margin: 0 0 14px; letter-spacing: -.02em; }
.case .bl-body { font: 400 15px/1.8 'Pretendard Variable', sans-serif; margin: 0; color: #68788A; max-width: 36em; }
.case .bl-open { display: inline-block; margin-top: 24px; padding-bottom: 5px; border-bottom: 1px solid currentColor; color: var(--ink); font-size: 14px; text-decoration: none; }
.case .bl-open:focus-visible { outline: 2px solid #708A9E; outline-offset: 5px; }
@media (max-width: 760px) {
  .case .bl-grid { grid-template-columns: 1fr; gap: 48px; }
  .case .bl-visual { height: auto; min-height: 180px; margin-block: 24px; }
  .case .bl-data > strong { font-size: 80px; }
}

/* Build & Launch — data record, status bar, launch timeline (scene typography shared with the one-phone scenes) */
.case .gdata, .case .gtl { padding-inline: var(--case-pad); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); margin-top: clamp(64px, 7vw, 112px); }
.case .gdata .gs-txt, .case .gtl .gs-txt { grid-column: 1 / span 4; }
.case .gdata .gs-txt h3, .case .gtl .gs-txt h3 { margin: 0; font: 500 clamp(24px, 2.2vw, 32px) / 1.45 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.025em; color: #2B2D30; }
.case .gdata .gs-txt > p:not(.sc-k) { margin: 24px 0 0; font: 400 15px / 1.75 'Pretendard Variable', Pretendard, sans-serif; color: #8C8F93; text-wrap: pretty; }
.case .gd-rec { grid-column: 6 / span 7; margin: 0; border-top: 1px solid #2B2D30; }
.case .gd-rec dl { display: grid; grid-template-columns: 120px 1fr; margin: 0; }
.case .gd-rec dt, .case .gd-rec dd { margin: 0; padding: 13px 0; border-bottom: 1px solid #ECEEF0; }
.case .gd-rec dt { font: 400 11px / 1.6 'IBM Plex Mono', var(--mono); letter-spacing: .06em; color: #8C8F93; }
.case .gd-rec dd { font: 500 15px / 1.45 'Inter', 'Pretendard Variable', Pretendard, sans-serif; color: #2B2D30; }
.case .gd-st { grid-column: 1 / -1; margin-top: clamp(64px, 6vw, 96px); }
.case .gd-stl { display: flex; justify-content: space-between; margin: 0 0 14px; font: 400 11px / 1.4 var(--mono); letter-spacing: .04em; color: #8C8F93; }
.case .gd-bar { display: flex; height: clamp(56px, 6vw, 88px); gap: 2px; }
.case .gd-st ul { display: flex; gap: clamp(20px, 3vw, 48px); margin: 16px 0 0; padding: 0; list-style: none; flex-wrap: wrap; }
.case .gd-st li { display: flex; align-items: baseline; gap: 8px; }
.case .gd-st i { width: 10px; height: 10px; border-radius: 50%; align-self: center; }
.case .gd-st b { font: 500 13px / 1.4 'Pretendard Variable', Pretendard, sans-serif; color: #2B2D30; }
.case .gd-st em { font: 400 12px / 1.4 var(--mono); font-style: normal; color: #8C8F93; }
.case .gtl .gtl-row { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); margin: 0; padding: 0; list-style: none; border-top: 1px solid #2B2D30; }
.case .gtl-row li { position: relative; padding-top: 22px; }
.case .gtl-row li::before { content: ''; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; background: #2B2D30; }
.case .gtl-d { display: block; font: 400 11px / 1.4 var(--mono); letter-spacing: .04em; color: #8C8F93; }
.case .gtl-row b { display: block; margin-top: 10px; font: 500 15px / 1.4 'Pretendard Variable', Pretendard, sans-serif; color: #2B2D30; }
.case .gtl-row p { margin: 8px 0 0; font: 400 13px / 1.65 'Pretendard Variable', Pretendard, sans-serif; color: #8C8F93; text-wrap: pretty; }
.case .gtl-a { display: inline-block; margin-top: 24px; font: 500 14px / 1.4 'Pretendard Variable', Pretendard, sans-serif; color: #2B2D30; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .case .gdata, .case .gtl { grid-template-columns: 1fr; row-gap: 32px; margin-top: 72px; }
  .case .gdata .gs-txt, .case .gtl .gs-txt, .case .gd-rec, .case .gd-st, .case .gtl .gtl-row { grid-column: 1 / -1; }
  .case .gdata .gs-txt h3, .case .gtl .gs-txt h3 { font-size: 21px; }
  .case .gd-rec dl { grid-template-columns: 92px 1fr; }
  .case .gd-rec dd { font-size: 14px; }
  .case .gd-st { margin-top: 24px; }
  .case .gd-st ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .case .gtl .gtl-row { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid #2B2D30; gap: 28px; padding-left: 20px; }
  .case .gtl-row li { padding-top: 0; }
  .case .gtl-row li::before { left: -25px; top: 3px; }
}

/* English line under every scene title — one style everywhere */
.case .sec p.sc-en { margin: 10px 0 0 !important; font: 400 var(--fs-sub) / 1.5 'Pretendard Variable', Pretendard, sans-serif !important; letter-spacing: 0 !important; color: #B3B6BA !important; }
.case .gu-head p:not(.sc-en):not(.sc-k), .case .bs-txt > p:not(.sc-k):not(.sc-en) { margin-top: 20px; }

/* Data record: one block — no row rules, tight leading */
.case .gd-rec { border-top: 0; padding: 28px 32px; background: none; box-shadow: inset 0 0 0 1px #E4E6E8; }
.case .gd-rec dt, .case .gd-rec dd { padding: 5px 0; border-bottom: 0; }
.case .gd-rec dt { line-height: 1.9; }
.case .gd-rec dd { line-height: 1.6; }
@media (max-width: 760px) { .case .gd-rec { padding: 20px; } }

/* Spacing pass (gongganji): chapter → first block 72 · related blocks 120 · scene to scene 158 (mobile 48 / 72 / 96) */
.case[data-case="gongganji"] .biorigin + .bisym, .case[data-case="gongganji"] .bisym + .og { margin-top: clamp(72px, 8.4vw, 120px); }
.case[data-case="gongganji"] .bilock + .gcolor, .case[data-case="gongganji"] .gcolor + .gcuse, .case[data-case="gongganji"] .gcuse + .gtype-sp, .case[data-case="gongganji"] .gtype-sp + .biuse, .case[data-case="gongganji"] .gdata + .gsee { margin-top: clamp(96px, 11vw, 158px); }
.case[data-case="gongganji"] .gdata { margin-top: clamp(48px, 5vw, 72px); }
@media (max-width: 760px) {
  .case[data-case="gongganji"] .biorigin + .bisym, .case[data-case="gongganji"] .bisym + .og { margin-top: 72px; }
  .case[data-case="gongganji"] .bilock + .gcolor, .case[data-case="gongganji"] .gcolor + .gcuse, .case[data-case="gongganji"] .gcuse + .gtype-sp, .case[data-case="gongganji"] .gtype-sp + .biuse, .case[data-case="gongganji"] .gdata + .gsee { margin-top: 96px; }
  .case[data-case="gongganji"] .gdata { margin-top: 48px; }
}

/* Case header: brand symbol before the title; platform logo in the facts */
.case .case-info .ci-mark { display: block; width: 44px; height: 44px; margin-bottom: 18px; }
.case .facts .f-logo { display: block; height: 15px; width: auto; margin-top: 5px; }
.case .facts .f-logo-t { display: block; margin-top: 6px; color: var(--gray); font-size: .92em; }

/* Launch: the Toss link as a clear button, apps in toss logo under it */
.case .gtl .gtl-a { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; padding: 14px 22px; border-radius: 999px; background: #1A2430; color: #fff; text-decoration: none; font: 600 15px / 1 'Pretendard Variable', Pretendard, sans-serif; transition: background .2s ease; }
.case .gtl .gtl-a:hover { background: #2C3D4E; }
.case .gtl-logo { display: block; height: 18px; width: auto; margin-top: 24px; }
.case .gst-t p.sc-en { margin-top: 12px !important; }

/* ShinHan scene heading (shead): same type as the Gongganji scenes, set on the 12-col grid, images follow in .og rows */
.case .shead { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); padding: 0 var(--case-pad); margin: clamp(100px, 16vh, 180px) 0 clamp(40px, 5vw, 64px); }
.case .shead .sh-txt { grid-column: 1 / span 7; }
.case .shead h3 { margin: 0; font: 500 clamp(24px, 2.2vw, 32px) / 1.45 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.025em; color: #2B2D30; word-break: keep-all; }
.case .shead .sh-body { margin: 28px 0 0; max-width: 420px; font: 400 15px / 1.75 'Pretendard Variable', Pretendard, sans-serif; color: #8C8F93; word-break: keep-all; }
@media (max-width: 760px) {
  .case .shead { grid-template-columns: 1fr; margin: 96px 0 32px; }
  .case .shead .sh-txt { grid-column: 1; }
  .case .shead h3 { font-size: 21px; letter-spacing: -.02em; }
  .case .shead .sh-body { margin-top: 20px; font-size: 14px; }
}

/* ShinHan parts: divider, KV size board, poster wall, shelf */
.case .spart { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); align-items: baseline; padding: 20px var(--case-pad) 0; margin: clamp(140px, 22vh, 260px) var(--case-pad) 0; padding-inline: 0; border-top: 1px solid #2B2D30; }
.case .spart .sp-no { grid-column: 1 / span 1; font: 400 12px / 1.4 var(--mono); letter-spacing: .08em; color: #8C8F93; }
.case .spart h3 { grid-column: 2 / span 7; margin: 0; font: 500 clamp(34px, 4vw, 60px) / 1.1 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.035em; color: #2B2D30; }
.case .spart .sp-en { grid-column: 10 / span 3; justify-self: end; font: 400 12px / 1.4 var(--mono); letter-spacing: .08em; color: #8C8F93; }
.case .spart + .shead { margin-top: clamp(56px, 8vh, 96px); }

.case .kvs { margin: 0 var(--case-pad) var(--g); padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 80px) clamp(28px, 4vw, 56px); }
.case .kvs-row { display: flex; align-items: flex-end; gap: clamp(14px, 2.2vw, 36px); }
.case .kvs figure { margin: 0; min-width: 0; }
.case .kvs img { display: block; width: 100%; height: auto; box-shadow: 0 18px 40px -22px rgba(60, 30, 20, .45); }
.case .kvs figcaption { margin-top: 14px; font: 400 11px / 1.4 var(--mono); letter-spacing: .06em; color: #8E7468; }

.case .pwall { margin: 0 0 var(--g); padding: clamp(56px, 8vw, 128px) var(--case-pad) clamp(40px, 5vw, 72px); background: #141414; }
.case .pw-row { display: flex; align-items: flex-end; justify-content: center; gap: clamp(20px, 4vw, 72px); max-width: 1180px; margin: 0 auto; }
.case .pwall figure { margin: 0; min-width: 0; }
.case .pwall img { display: block; width: 100%; height: auto; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .04); }
.case .pwall figcaption { margin-top: 18px; font: 400 11px / 1.4 var(--mono); letter-spacing: .06em; color: #7A7D81; }


@media (max-width: 760px) {
  .case .spart { grid-template-columns: auto 1fr; row-gap: 8px; margin-top: 120px; }
  .case .spart h3 { grid-column: 1 / -1; grid-row: 2; font-size: 32px; }
  .case .spart .sp-en { grid-column: 2; grid-row: 1; }
  .case .kvs { margin-inline: 0; padding: 36px 16px 24px; }
  .case .kvs-row { flex-wrap: wrap; align-items: flex-end; }
  .case .kvs figure { flex-basis: calc(50% - 8px) !important; }
  .case .pwall { padding: 48px 16px 32px; }
  .case .pw-row { gap: 12px; }
  .case .pwall figcaption { font-size: 9px; margin-top: 10px; }
}

/* Independent Creativeworld 2026 3D section — movable as one cases.js entry. */
.case .booth3d { --b3-red: #ed1234; --b3-bg: #dcdad6; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); padding-inline: var(--case-pad); margin-block: clamp(100px, 16vh, 180px) var(--g); }
.case .b3-head, .case .b3-panel { grid-column: 1 / -1; min-width: 0; }
.case .b3-head { margin-bottom: 20px; }
.case .b3-head p { margin: 0 0 14px; font: 12px var(--en); color: #666; }
.case .b3-head h3 { margin: 0; font-size: clamp(21px, 2.2vw, 32px); font-weight: 500; }
.case .b3-panel { padding: clamp(16px, 2.6vw, 36px); background: var(--b3-bg); }
.case .b3-stage { position: relative; height: clamp(480px, 64vw, 800px); overflow: hidden; isolation: isolate; }
.case .b3-stage model-viewer { position: absolute; inset: 0; width: 100%; height: 100%; }
.case .b3-stage model-viewer { --poster-color: var(--b3-bg); --min-hotspot-opacity: .3; touch-action: pan-y; }
/* Match the original invitation loading screen; no photo fallback. */
.case .b3-loading { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; background: #0a0a0a; }
.case .b3-loading-inner { width: min(220px, calc(100% - 48px)); }
.case .b3-loading-title { margin: 0 0 16px; color: #f5f3f0; font: 600 14px / 1.5 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.02em; }
.case .b3-progress { display: block; width: 100%; height: 2px; appearance: none; -webkit-appearance: none; border: 0; background: #454545; }
.case .b3-progress::-webkit-progress-bar { background: #454545; }
.case .b3-progress::-webkit-progress-value { background: var(--b3-red); }
.case .b3-progress::-moz-progress-bar { background: var(--b3-red); }
.case .b3-loading-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; color: #8a8a8a; font: 10px / 1.5 var(--mono); letter-spacing: .03em; }
.case .b3-loading-error { margin: 0; color: #aaa; font-size: 12px; line-height: 1.7; word-break: keep-all; }
.case .b3-loading .b3-start { margin-top: 16px; padding: 9px 14px; border-color: var(--b3-red); background: transparent; color: #f5f3f0; font-size: 12px; }
.case .booth3d:not([data-state="ready"]) .b3-controls, .case .booth3d:not([data-state="ready"]) .b3-status { visibility: hidden; }
.case .booth3d button { min-height: 44px; border: 1px solid #aaa; background: #f5f3f0; color: #111; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.case .booth3d button:focus-visible { outline: 2px solid var(--b3-red); outline-offset: 4px; }
.case .booth3d button:disabled { opacity: .4; cursor: default; }
.case .booth3d [hidden] { display: none; }
.case .b3-controls { position: absolute; top: 0; right: 0; z-index: 4; display: flex; gap: 8px; }
.case .b3-controls button { width: 52px; height: 52px; padding: 0; font: 500 28px / 1 Arial, sans-serif; }
.case .b3-controls button[data-action="reset"] { width: auto; padding-inline: 18px; font-size: 16px; font-weight: 600; }
.case .b3-status { margin: 16px 0 24px; font: 500 13px / 1.6 'Pretendard Variable', Pretendard, sans-serif; color: #62605d; }
.case .b3-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; padding: clamp(16px, 2.6vw, 32px); background: #fff; border: 1px solid #111; }
.case .b3-key { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0; border: 0 !important; background: transparent !important; text-align: left; font: 600 clamp(13px, 1.7vw, 22px) / 1.3 'Pretendard Variable', Pretendard, sans-serif !important; }
.case .b3-badge { flex: 0 0 40px; display: grid; place-items: center; width: 40px; height: 40px; background: var(--b3-red); color: #fff; font: 700 22px / 1 Arial, sans-serif; }
.case .b3-key[aria-pressed="true"] .b3-badge { background: #a50d24; }
.case .b3-key[aria-pressed="true"] > span:last-child { text-decoration: underline; text-underline-offset: 4px; }
.case .booth3d .b3-pin { position: relative; display: grid; place-items: center; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; transform: translateY(-22px); }
.case .b3-pin-label { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #fff; background: var(--b3-red); color: #fff; font: 700 21px / 1 Arial, sans-serif; box-shadow: 0 2px 4px #0003; pointer-events: none; }
.case .b3-pin-label::after { content: ''; position: absolute; top: 100%; left: 50%; height: 18px; width: 1px; background: #fff; }
.case .b3-pin[aria-pressed="true"] .b3-pin-label { background: #a50d24; }
.case .b3-pin[data-hotspot="F"] { transform: translateY(16px); }
.case .b3-pin[data-hotspot="F"] .b3-pin-label::after { top: auto; bottom: 100%; }
@media (max-width: 760px) {
  .case .b3-stage { height: clamp(360px, 110vw, 520px); }
  .case .b3-controls { gap: 4px; }
  .case .b3-controls button { width: 44px; height: 44px; font-size: 24px; }
  .case .b3-controls button[data-action="reset"] { padding-inline: 12px; font-size: 13px; }
  .case .b3-status { margin: 12px 0 20px; font-size: 12px; }
  .case .b3-legend { gap: 12px; }
  .case .b3-key { gap: 8px; }
  .case .b3-badge { flex-basis: 28px; width: 28px; height: 32px; font-size: 17px; }
  .case .b3-pin-label { width: 32px; height: 32px; font-size: 17px; }
}

/* Desktop booth: compact stage with an editorial guide alongside it. */
.case .b3-visual, .case .b3-sidebar { display: contents; }
.case .b3-info { display: none; }
@media (min-width: 1024px) {
  .case .b3-panel { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: clamp(28px, 3.4vw, 48px); align-items: start; padding: 0; background: transparent; }
  .case .b3-visual { display: block; min-width: 0; padding: clamp(20px, 2vw, 28px); background: var(--b3-bg); }
  .case .b3-stage { height: clamp(460px, 40vw, 560px); }
  .case .b3-controls { gap: 6px; }
  .case .b3-controls button { width: 44px; height: 44px; font-size: 24px; }
  .case .b3-controls button[data-action="reset"] { padding-inline: 14px; font-size: 14px; }
  .case .b3-status { min-height: 42px; margin: 14px 0 0; font-size: 12px; }
  .case .b3-sidebar { display: block; min-width: 0; padding-top: 28px; }
  .case .b3-info { display: block; margin-bottom: 28px; }
  .case .b3-info .b3-kicker { margin: 0 0 16px; color: #8c8f93; font: 11px / 1.4 var(--mono); letter-spacing: .08em; }
  .case .b3-info h4 { margin: 0 0 18px; font: 500 clamp(22px, 2vw, 28px) / 1.4 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.025em; color: #2b2d30; }
  .case .b3-info > p:not(.b3-kicker) { margin: 0; font-size: 14px; line-height: 1.8; color: #777b80; word-break: keep-all; }
  .case .b3-info > p.b3-info-hint { margin-top: 16px; font-size: 12px; color: #8c8f93; }
  .case .b3-legend { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; border: 0; border-top: 1px solid #dcdad6; background: transparent; }
  .case .b3-key { gap: 12px; min-height: 58px; padding-block: 12px; border-bottom: 1px solid #e8e6e2 !important; font-size: 15px !important; }
  .case .b3-badge { flex-basis: 26px; width: 26px; height: 26px; font-size: 15px; }
}

/* ShinHan fair facts (the banner's text, set as type) */
.case .fair { margin: clamp(56px, 8vw, 112px) var(--case-pad) 0; }
.case .fair .fa-t { margin: 0; font: 500 clamp(44px, 7.4vw, 124px) / .98 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.045em; color: #2B2D30; }
.case .fair dl { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); margin: clamp(36px, 5vw, 72px) 0 0; padding-top: 18px; border-top: 1px solid #D8D6D2; }
.case .fair dl > div { grid-column: span 4; }
.case .fair dt { font: 400 11px / 1.4 var(--mono); letter-spacing: .08em; color: #8C8F93; }
.case .fair dd { margin: 10px 0 0; font: 500 clamp(16px, 1.35vw, 20px) / 1.45 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.01em; color: #2B2D30; word-break: keep-all; }
.case .fair .ac dd { color: #E0742A; }

/* ShinHan photo strip: swipe / drag / dots; equal height, mixed ratios */
.case .slides { --h: clamp(380px, 64vh, 680px); margin: 0 0 var(--g); outline: none; }
.case .sl-track { position: relative; display: flex; align-items: center; gap: clamp(12px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 35vw; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
.case .sl-track::-webkit-scrollbar { display: none; }
.case .sl-track.drag { cursor: grabbing; scroll-snap-type: none; }
.case .sl-item { flex: none; margin: 0; height: min(var(--h), calc(86vw / var(--r))); aspect-ratio: var(--r); scroll-snap-align: center; opacity: .35; transition: opacity .5s ease; background: #EDEBE7; }
.case .sl-item.on { opacity: 1; }
.case .sl-item img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.case .sl-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 22px var(--case-pad) 0; }
.case .sl-cap { margin: 0; font: 400 11px / 1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #8C8F93; }
.case .sl-n { margin: 0; justify-self: end; font-size: 11px; letter-spacing: .08em; color: #8C8F93; }
.case .sl-dots { display: flex; gap: 6px; }
.case .sl-dots button { position: relative; width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.case .sl-dots button::before { content: ''; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-radius: 4px; background: #C9C7C3; transform: translate(-50%, -50%); transition: width .3s ease, background .3s ease; }
.case .sl-dots button[aria-current="true"]::before { width: 26px; background: #ED1234; }
.case .slides:focus-visible .sl-track { outline: 2px solid #ED1234; outline-offset: 6px; }
@media (max-width: 760px) {
  .case .fair dl { grid-template-columns: 1fr; row-gap: 18px; }
  .case .fair dl > div { grid-column: 1; }
  .case .slides { --h: 62vh; }
  .case .sl-track { padding: 0 7vw; }
  .case .sl-foot { grid-template-columns: 1fr auto; row-gap: 6px; }
  .case .sl-cap { grid-column: 1 / -1; grid-row: 2; }
  .case .sl-dots { grid-row: 1; margin-left: -10px; }
}

/* Posters on the page background, no dark wall */
.case .pwall { background: none; padding-top: clamp(16px, 3vw, 40px); }
.case .pwall img { box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .35); }
.case .pwall figcaption { color: #8C8F93; }

/* ShinHan chapter 01 spacing pass: tighter scene rhythm, one heading style for every scene */
.case .shead { margin: clamp(72px, 10vh, 120px) 0 clamp(24px, 3vw, 40px); }
.case .shead .sh-body { margin-top: 16px; }
.case .spart { margin-top: clamp(96px, 14vh, 160px); }
.case .spart + .shead, .case .spart + .booth3d { margin-top: clamp(40px, 6vh, 64px); }
.case .fair { margin-top: clamp(40px, 5vw, 72px); }
.case .fair dl { margin-top: clamp(28px, 3.5vw, 48px); }
.case .booth3d { margin-block: clamp(72px, 10vh, 120px) var(--g); }
.case .b3-head { margin-bottom: clamp(8px, 1.5vw, 20px); }
.case .b3-head p.sc-k { margin: 0 0 14px; font: 400 12px / 1.4 var(--mono); letter-spacing: .08em; color: #8C8F93; }
.case .b3-head p.sc-en { margin: 10px 0 0; font: 400 13px / 1.5 'Pretendard Variable', Pretendard, sans-serif; color: #B3B6BA; }
.case .b3-head h3 { font: 500 clamp(24px, 2.2vw, 32px) / 1.45 'Pretendard Variable', Pretendard, sans-serif; letter-spacing: -.025em; word-spacing: normal; color: #2B2D30; }
/* Slides: one fixed height for every photo so a landscape shot never floats in empty space */
.case .sl-track { align-items: flex-start; }
.case .sl-item { height: min(var(--h), 64vw); }
@media (max-width: 760px) {
  .case .shead { margin: 64px 0 24px; }
  .case .spart { margin-top: 88px; }
  .case .spart + .shead, .case .spart + .booth3d { margin-top: 32px; }
  .case .booth3d { margin-top: 64px; }
  .case .b3-head h3 { font-size: 21px; letter-spacing: -.02em; }
  .case .b3-head p.sc-k { margin-bottom: 10px; font-size: 11px; }
  .case .slides { --h: 64vw; }
  .case .sl-foot { padding-top: 16px; }
}

/* Slides footer: caption right under the photo, small centred dots, no counter */
.case .sl-foot { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 14px var(--case-pad) 0; }
.case .sl-cap { text-align: center; }
.case .sl-dots { gap: 0; margin: 0; }
.case .sl-dots button { width: 18px; height: 24px; }
.case .sl-dots button::before { width: 5px; height: 5px; border-radius: 3px; }
.case .sl-dots button[aria-current="true"]::before { width: 16px; }
.case .sl-dots button[aria-current="true"] { width: 28px; }

/* Fair block sits on the .sec padding like every other section (no double indent) */
.case .fair { margin-inline: 0; }

/* Chapter index: left-aligned, wrapped titles stay readable */
.case[data-theme="order"] .case-info .toc button { text-align: left; }

@media (max-width: 760px) {
  .case .sl-foot { display: flex; padding-top: 12px; gap: 10px; }
  .case .sl-dots { grid-row: auto; margin-left: 0; }
  .case .fair { margin-top: 8px; }
  .case .fair .fa-t { font-size: 40px; }
  .case .fair dl { margin-top: 24px; row-gap: 14px; }
  .case .fair dd { margin-top: 6px; font-size: 16px; }
  .case[data-theme="order"] .case-info .toc { grid-column: 1 / -1; grid-row: 3; }
}

/* Site photos follow the 3D booth closely, so scrolling past the model lands on the real booth */
.case .booth3d + .shead { margin-top: clamp(40px, 5vh, 64px); }
@media (max-width: 760px) { .case .booth3d + .shead { margin-top: 40px; } }

/* Type scale applied: every scene element takes its size from one token (see .case at the top) */
/* Rhythm from dayroom: clear air between kicker, title and body; Korean body dark, English lighter under it */
.case .shead .sc-k, .case .b3-head p.sc-k { margin-bottom: 20px; }
.case .shead .sh-body { margin-top: 28px; line-height: 1.7; color: #55585C; }
.case .sec p.sc-en, .case .b3-head p.sc-en { margin-top: 8px !important; line-height: 1.55 !important; }
@media (max-width: 760px) {
  .case .shead .sc-k, .case .b3-head p.sc-k { margin-bottom: 12px; }
  .case .shead .sh-body { margin-top: 20px; }
}
.case .fair .fa-t { font-size: var(--fs-display); }
.case .spart h3 { font-size: var(--fs-h1); }
.case .shead h3, .case .b3-head h3 { font-size: var(--fs-h2); }
.case .fair dd { font-size: var(--fs-h3); }
.case .shead .sh-body { font-size: var(--fs-body); }
.case .b3-head p.sc-en { font-size: var(--fs-sub); }
.case :is(.sc-k, .b3-head p.sc-k, .spart .sp-no, .spart .sp-en, .fair dt) { font-size: var(--fs-meta); letter-spacing: .06em; }
.case :is(.sl-cap, .pwall figcaption, .sec figcaption) { font: 400 var(--fs-cap) / 1.4 var(--mono); letter-spacing: .04em; text-transform: none; color: #8C8F93; }

/* ShinHan spacing system: four gaps only, no rule lines between parts.
   part  — before a part title (A, B)
   lead  — part title to its first scene
   scene — between scenes inside a part
   head  — scene heading to its images */
.case { --sp-part: clamp(80px, 11vh, 120px); --sp-lead: 32px; --sp-scene: clamp(64px, 8vh, 96px); --sp-head: 24px; }
@media (max-width: 760px) { .case { --sp-part: 64px; --sp-lead: 20px; --sp-scene: 52px; --sp-head: 16px; } }
.case .spart { border-top: 0; padding-top: 0; margin-top: var(--sp-part); }
.case .spart + .shead, .case .spart + .booth3d { margin-top: var(--sp-lead); }
.case .shead, .case .booth3d, .case .booth3d + .shead { margin-top: var(--sp-scene); margin-bottom: var(--sp-head); }
.case .booth3d { margin-bottom: var(--g); }
.case .b3-head { margin-bottom: var(--sp-head); }
.case .pwall { padding-top: 0; }
.case .fair dl { padding-bottom: 0; }

/* Poster wall: posters open full screen on tap */
.case .pw-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.case .pw-open img { transition: opacity .3s ease; }
@media (hover: hover) { .case .pw-open:hover img { opacity: .88; } }
.case .pw-open:focus-visible { outline: 2px solid #ED1234; outline-offset: 4px; }
html.pv-lock, html.pv-lock .detail { overflow: hidden; }
.pview { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 20, 20, .96); color: #f2f1ee; }
.pview::backdrop { background: rgba(20, 20, 20, .96); }
.pview .pv-stage { position: absolute; inset: 0 0 56px; display: grid; place-items: center; overflow: auto; padding: 56px 72px 8px; overscroll-behavior: contain; }
.pview .pv-stage img { display: block; max-width: 100%; max-height: calc(100dvh - 120px); width: auto; height: auto; object-fit: contain; user-select: none; }
.pview .pv-stage.tall { place-items: start center; }
.pview .pv-stage.tall img { max-height: none; width: min(100%, 640px); }
.pview .pv-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 56px; display: flex; align-items: center; justify-content: center; gap: 16px; font: 400 11px / 1.4 'Fragment Mono', ui-monospace, monospace; letter-spacing: .04em; color: #A4A6A9; }
.pview .pv-cap { margin: 0; }
.pview button { position: absolute; padding: 0; border: 0; background: none; color: #f2f1ee; cursor: pointer; font: 400 12px / 1 'Fragment Mono', ui-monospace, monospace; letter-spacing: .04em; }
.pview .pv-x { top: 20px; right: 24px; padding: 6px 0; }
.pview .pv-prev, .pview .pv-next { top: 50%; width: 48px; height: 48px; margin-top: -24px; font-size: 18px; }
.pview .pv-prev { left: 12px; }
.pview .pv-next { right: 12px; }
.pview button:focus-visible { outline: 1px solid #f2f1ee; outline-offset: 2px; }
@media (max-width: 760px) {
  .pview .pv-stage { padding: 52px 16px 8px; }
  .pview .pv-stage img { max-height: calc(100dvh - 116px); }
  .pview .pv-prev, .pview .pv-next { display: none; }
  .pview .pv-x { top: 14px; right: 16px; }
}


/* Posters: no drop shadow; they sit flat on a quiet paper-grey ground, like prints laid on a table */
.case .pwall { margin-inline: var(--edge); padding: clamp(40px, 6vw, 96px) clamp(24px, 6vw, 112px) clamp(24px, 3vw, 40px); background: #EFEEEB; }
.case .pwall img { box-shadow: none; }
.case .pwall figcaption { margin-top: 14px; }
@media (max-width: 760px) { .case .pwall { margin-inline: 0; padding: 32px 16px 20px; } }
.case .pwall .pw-row { max-width: 880px; gap: clamp(20px, 3vw, 48px); }

/* Booth Posters as pairs: the poster on the booth wall, then the flat artwork; no ground, no shadow */
.case .pwall.pw-pairs { display: grid; gap: clamp(32px, 4vw, 56px); margin-inline: 0; padding: 0 var(--edge); background: none; }
.case .pw-pairs .pw-row { max-width: 1080px; margin: 0; align-items: flex-start; justify-content: flex-start; gap: var(--g); }
.case .pw-pairs figure { margin: 0; min-width: 0; }
.case .pw-pairs img { display: block; width: 100%; height: auto; box-shadow: none; }
.case .pw-pairs .pw-flat img { outline: 1px solid rgba(0, 0, 0, .08); outline-offset: -1px; }
.case .pw-pairs figcaption { margin-top: 12px; }
@media (max-width: 760px) {
  .case .pwall.pw-pairs { padding: 0 16px; gap: 36px; }
  .case .pw-pairs .pw-row { gap: 8px; }
}

/* Selected booth posters share the existing full-screen poster viewer. */
.case .b3-poster { margin: 24px 0 0; max-width: 240px; }
.case .booth3d .b3-poster-open { display: block; width: 100%; min-height: 0; padding: 0; border: 1px solid rgba(0,0,0,.08); background: transparent; box-shadow: none; }
.case .b3-poster img { width: 100%; height: auto; }
.case .b3-poster figcaption { margin-top: 10px; color: #777b80; font-size: var(--fs-cap); line-height: 1.6; }
.case .b3-poster figcaption span { display: block; margin-top: 4px; font-size: var(--fs-meta); }
@media (max-width: 1023px) {
  .case .b3-sidebar { display: flex; flex-direction: column; min-width: 0; }
  .case .b3-info { order: 2; }
  .case .b3-has-poster .b3-info { display: block; }
  .case .b3-info > p, .case .b3-info > h4 { display: none; }
  .case .b3-poster { margin: 24px auto 0; }
}

/* Full-screen gallery arrows follow the selected booth group. */
.pview button[hidden] { display: none; }

/* Booth display overview: compact images with their own descriptions. */
.pview .pv-catalog { display: none; }
.pview.pv-catalog-mode { width: min(1000px, calc(100vw - 48px)); height: min(820px, calc(100dvh - 64px)); margin: auto; background: #0a0a0a; border-top: 3px solid #ed1234; overflow: hidden; box-shadow: none; }
.pview.pv-catalog-mode::backdrop { background: rgba(0,0,0,.65); }
.pview.pv-catalog-mode .pv-stage, .pview.pv-catalog-mode .pv-bar { display: none; }
.pview.pv-catalog-mode .pv-catalog { display: block; height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.pv-catalog-head { position: sticky; top: 0; z-index: 1; background: #0a0a0a; padding: 32px 88px 28px 40px; border-bottom: 1px solid #292929; }
.pv-catalog-head .pv-zone { margin: 0 0 12px; color: #ed1234; font-size: var(--fs-meta); letter-spacing: .16em; }
.pv-catalog-head h2 { margin: 0 0 12px; font-size: var(--fs-h2); font-weight: 500; }
.pv-catalog-head > p:last-child { margin: 0; color: #a4a6a9; font-size: var(--fs-meta); }
.pv-catalog-rows { padding-inline: 40px; }
.pv-display { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 48px; align-items: center; margin: 0; padding-block: 32px; border-bottom: 1px solid #292929; }
.pv-display:last-child { border-bottom: 0; }
.pv-display > img { display: block; width: 100%; height: 280px; object-fit: contain; box-shadow: none; }
.pv-display h3 { margin: 0 0 16px; font-size: var(--fs-h3); font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.pv-display p { margin: 0; color: #a4a6a9; font-size: var(--fs-body); line-height: 1.8; word-break: keep-all; overflow-wrap: anywhere; }
.pview.pv-catalog-mode .pv-x { z-index: 2; top: 24px; right: 24px; width: 44px; height: 44px; padding: 0; border: 1px solid #444; background: #0a0a0a; font-size: var(--fs-meta); }
@media (max-width: 760px) {
  .pview.pv-catalog-mode { width: calc(100vw - 24px); height: calc(100dvh - 48px); }
  .pv-catalog-head { padding: 24px 72px 24px 20px; }
  .pv-catalog-rows { padding-inline: 20px; }
  .pv-display { grid-template-columns: 100px minmax(0,1fr); gap: 20px; padding-block: 24px; }
  .pv-display > img { height: 240px; }
  .pview.pv-catalog-mode .pv-x { top: 16px; right: 16px; }
}

/* Fortune banner: clip the empty bottom while retaining the original image. */
.case .b3-poster[data-crop-ratio]:not([data-crop-ratio=""]) .b3-poster-open { aspect-ratio: var(--b3-crop-ratio); overflow: hidden; }
.pview .pv-frame { display: contents; }
.pview .pv-stage.cropped .pv-frame { display: block; width: min(800px, calc(100vw - 144px), calc((100dvh - 120px) * var(--pv-crop-ratio))); aspect-ratio: var(--pv-crop-ratio); overflow: hidden; }
.pview .pv-stage.cropped img { width: 100%; height: auto; max-height: none; max-width: none; }
@media (max-width: 760px) {
  .pview .pv-stage.cropped .pv-frame { width: min(800px, calc(100vw - 32px), calc((100dvh - 116px) * var(--pv-crop-ratio))); }
}

/* Interview table with a compact business card. */
.pview.pv-interview { width: min(560px, calc(100vw - 32px)); height: fit-content; max-height: calc(100dvh - 48px); box-sizing: border-box; margin: auto; padding: 32px 32px 16px; overflow-y: auto; border-top: 3px solid #ed1234; background: #0a0a0a; box-shadow: none; }
.pview.pv-interview::backdrop { background: rgba(0,0,0,.65); }
.pv-interview .iv-zone { margin: 0 60px 28px 0; font-size: var(--fs-meta); letter-spacing: .1em; color: #ed1234; }
.pv-interview h2 { margin: 0 0 16px; font-size: var(--fs-h2); font-weight: 500; line-height: 1.4; }
.pv-interview .iv-intro { margin: 0 0 20px; font-size: var(--fs-body); line-height: 1.8; color: #a4a6a9; }
.pv-interview .iv-card { padding: 24px 0 0; border: 0; border-top: 1px solid #292929; background: #0a0a0a; color: #f2f1ee; box-shadow: none; }
.pv-interview .iv-name { margin: 0; font-size: var(--fs-h2); line-height: 1.4; letter-spacing: -.025em; }
.pv-interview dl { margin: 16px 0 0; }
.pv-interview dl > div { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 12px; align-items: center; min-height: 44px; }
.pv-interview dt { margin: 0; color: #a4a6a9; font-size: var(--fs-meta); letter-spacing: .04em; }
.pv-interview dd { display: grid; grid-template-columns: minmax(0,1fr) 32px; align-items: center; gap: 12px; margin: 0; font-size: var(--fs-body); }
.pv-interview .iv-mail { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1fr) 32px; align-items: center; gap: 12px; min-height: 44px; color: inherit; text-decoration: none; }
.pv-interview .iv-mail > span:first-child { overflow-wrap: anywhere; }
.pv-interview .iv-mail > span:last-child { text-align: center; }
.pv-interview .iv-mail:hover > span:first-child { text-decoration: underline; text-underline-offset: 4px; }
.pv-interview .iv-copy { position: static; width: 32px; min-height: 44px; padding: 0; border: 0; color: #a4a6a9; background: transparent; font-size: var(--fs-meta); line-height: 1.4; }
.pv-interview .iv-copy:hover { color: #f2f1ee; }
.pv-interview .iv-card :is(a,button):focus-visible { outline: 1px solid #f2f1ee; outline-offset: 3px; }
.pv-interview .iv-status { min-height: 1.8em; margin: 12px 0 0; font-size: var(--fs-meta); color: #a4a6a9; }
@media (max-width: 760px) {
  .pview.pv-interview { padding: 32px 20px 16px; }
  .pv-interview .iv-card { padding: 20px 0 0; }
  .pv-interview dl { margin-top: 12px; }
  .pv-interview dl > div { grid-template-columns: 32px minmax(0,1fr); gap: 10px; }
  .pv-interview dd, .pv-interview .iv-mail { gap: 6px; grid-template-columns: minmax(0,1fr) 28px; }
  .pv-interview .iv-copy { width: 28px; }
}

/* Booth guide copy lives in the single status line. */
.case .b3-info { margin-bottom: 0; }
.case .b3-has-poster .b3-info { margin-bottom: 24px; }

/* Scene heading set like a chapter heading (e.g. "30th Postcard Art Contest / 30주년 엽서 공모전"):
   English line, then Korean line, both small italic, so scenes never outrank chapters */
.case .shead .sc-k, .case .shead h3 { margin: 0; font: italic 400 12px / 1.45 var(--en); letter-spacing: normal; text-transform: none; color: var(--ink); }
.case .shead .sh-body { margin-top: 16px; }
.case .b3-head p.sc-k { margin: 0; font: italic 400 12px / 1.45 var(--en); letter-spacing: normal; text-transform: none; color: var(--ink); }

/* Before / after compare (PWC banners): the "before" layer is clipped at --x; a hidden range input over the frame drives it */
.case .cmp-box { position: relative; overflow: hidden; background: #F2F2F0; user-select: none; }
.case .cmp-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.case .cmp-b { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.case .cmp-h { position: absolute; top: 0; bottom: 0; left: var(--x); width: 0; pointer-events: none; }
.case .cmp-h::before { content: ''; position: absolute; top: 0; bottom: 0; left: -.5px; width: 1px; background: #fff; }
.case .cmp-h i { position: absolute; top: 50%; left: 0; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: #fff; }
.case .cmp-h i::before, .case .cmp-h i::after { content: ''; position: absolute; top: 50%; margin-top: -4px; border: 4px solid transparent; }
.case .cmp-h i::before { left: 7px; border-right: 5px solid #161616; border-left: 0; }
.case .cmp-h i::after { right: 7px; border-left: 5px solid #161616; border-right: 0; }
.case .cmp-l { position: absolute; top: 14px; padding: 4px 8px; font: 400 var(--fs-cap) / 1.4 var(--mono); letter-spacing: .04em; color: #fff; background: rgba(22, 22, 22, .72); pointer-events: none; }
.case .cmp-lb { left: 14px; }
.case .cmp-la { right: 14px; }
.case .cmp-r { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.case .cmp:has(.cmp-r:focus-visible) .cmp-h i { outline: 2px solid #ED1234; outline-offset: 2px; }

/* PWC prints: flat, no ground, no shadow; a hairline keeps light paper off the white page */
.case .pwall:not(.pw-pairs) { margin-inline: 0; padding: 0 var(--edge); background: none; }
.case .pwall:not(.pw-pairs) .pw-row { max-width: none; justify-content: flex-start; gap: var(--g); }
.case .pwall:not(.pw-pairs) img { box-shadow: none; outline: 1px solid rgba(0, 0, 0, .08); outline-offset: -1px; }

/* Instagram captures in the Gongganji iPhone frame, without the frame's drop shadow */
.case .iph { display: flex; justify-content: center; gap: clamp(24px, 6vw, 96px); }
.case .iph figure { margin: 0; width: min(36vw, 300px); }
.case .iph .gph-dev.gph-mk { filter: none; }
.case .iph .gph-scr img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: top; }
.case .iph figcaption { margin-top: 14px; text-align: center; }
@media (max-width: 760px) {
  .case .cmp-l { top: 8px; padding: 3px 6px; }
  .case .cmp-lb { left: 8px; }
  .case .cmp-la { right: 8px; }
  .case .cmp-h i { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
  .case .cmp-h i::before { left: 5px; }
  .case .cmp-h i::after { right: 5px; }
  .case .pwall:not(.pw-pairs) { padding: 0 16px; }
  .case .pwall:not(.pw-pairs) .pw-row { gap: 8px; }
  .case .iph { gap: 12px; padding: 0 16px; }
  .case .iph figure { width: calc(50% - 6px); }
}
.case .cmp-h::before { background: #161616; }
.case .cmp-h i { box-sizing: border-box; border: 1px solid #161616; }

/* PWC web banners: each at its own width, a hairline so white banners don't melt into the page */
.case .bnr { display: grid; gap: clamp(28px, 3vw, 44px); justify-items: start; }
.case .bnr figure { margin: 0; width: 100%; }
.case .bnr img { display: block; width: 100%; height: auto; outline: 1px solid rgba(0, 0, 0, .08); outline-offset: -1px; }
.case .bnr figcaption { margin-top: 12px; }
@media (max-width: 760px) { .case .bnr figure[style*="max-width"] { max-width: 60% !important; } }

/* ShinHan chapters read as parts, set like the Niu chapters: number, sans title + grey Korean line, body beside */
.case[data-case="shinhan"] .chapter { row-gap: 10px; }
.case[data-case="shinhan"] .chapter .no { display: block; grid-column: 1 / -1; font: 400 12px / 1.45 var(--mono); color: var(--gray); }
.case[data-case="shinhan"] .chapter .head { grid-column: 1 / span 3; display: block; }
.case[data-case="shinhan"] .chapter h3 { margin: 0; font: 500 20px / 1.2 'Helvetica Neue', Helvetica, Arial, sans-serif; letter-spacing: -.01em; font-style: normal; }
.case[data-case="shinhan"] .chapter h3::after { content: none; }
.case[data-case="shinhan"] .chapter .ko { margin-top: 4px; font: 400 13px / 1.4 'Pretendard Variable', Pretendard, sans-serif; font-style: normal; color: var(--gray); }
.case[data-case="shinhan"] .chapter p { grid-column: 4 / span 4; max-width: none; margin-top: 4px; font: 400 14px / 1.7 'Pretendard Variable', Pretendard, sans-serif; color: #2a2a2a; }
@media (max-width: 760px) {
  .case[data-case="shinhan"] .chapter .head, .case[data-case="shinhan"] .chapter p { grid-column: 1 / -1; }
  .case[data-case="shinhan"] .chapter p { margin-top: 16px; }
}

/* Postcard 30th — logo mark + what each digit is made of, then KR/EN lockups */
.case .pcl figure { margin: 0; }
.case .pcl-locks { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.case .pcl-box { display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 6%; }
.case .pcl-box img { display: block; width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.case .pcl-locks figure:nth-child(2) .pcl-box img { width: 80%; }
.case .pcl-locks figcaption { margin-top: 12px; }
@media (max-width: 760px) {
  .case .pcl-locks { grid-template-columns: 1fr; }
}
.case .bnr figure.bare img { outline: none; }

/* Postcard 30th — construction of the 30 mark, looping while in view: strokes ①②③ draw in order, then labels and the artwork appear, hold, reset */
.case .pcb { display: grid; gap: var(--sp-scene); --guide: #2563eb; --loop: 9s; }
.case .pcb-fig { margin: 0 auto; width: min(100%, 820px); }
.case .pcb-stage { position: relative; background: #fff; }
.case .pcb-stage img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .12; }
.case .pcb-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--guide); stroke-width: 1.5; }
.case .pcb-stage svg * { vector-effect: non-scaling-stroke; }
.case .pcb-stage svg .dash { stroke-dasharray: 5 5; }
.case .pcb-stage svg .stroke { stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.case .pcb-stage svg .arr { fill: var(--guide); stroke: none; opacity: 0; }
.case .pcb-stage svg .dot { fill: #fff; stroke-width: 2; opacity: 0; }
.case .pcb-tag { opacity: 0; position: absolute; padding: 2px 6px; background: #fff; color: var(--guide); font: 400 var(--fs-cap) / 1.3 var(--mono); letter-spacing: .02em; white-space: nowrap; }
.case .pcb-tag.c { transform: translate(-50%, -50%); }
.case .pcb-fig figcaption { margin-top: 12px; }
.case .pcb-fig.is-in .pcb-stage img { animation: pcb-img var(--loop) linear infinite; }
.case .pcb-fig.is-in svg .s1 { animation: pcb-s1 var(--loop) linear infinite; }
.case .pcb-fig.is-in svg .s2 { animation: pcb-s2 var(--loop) linear infinite; }
.case .pcb-fig.is-in svg .s3 { animation: pcb-s3 var(--loop) linear infinite; }
.case .pcb-fig.is-in :is(svg .arr, svg .dot, .pcb-tag) { animation: pcb-on var(--loop) linear infinite; }
@keyframes pcb-s1 { 0% { stroke-dashoffset: 1; opacity: 1; } 10%, 88% { stroke-dashoffset: 0; opacity: 1; } 96% { stroke-dashoffset: 0; opacity: 0; } 100% { stroke-dashoffset: 1; opacity: 0; } }
@keyframes pcb-s2 { 0%, 11% { stroke-dashoffset: 1; opacity: 1; } 21%, 88% { stroke-dashoffset: 0; opacity: 1; } 96% { stroke-dashoffset: 0; opacity: 0; } 100% { stroke-dashoffset: 1; opacity: 0; } }
@keyframes pcb-s3 { 0%, 22% { stroke-dashoffset: 1; opacity: 1; } 38%, 88% { stroke-dashoffset: 0; opacity: 1; } 96% { stroke-dashoffset: 0; opacity: 0; } 100% { stroke-dashoffset: 1; opacity: 0; } }
@keyframes pcb-on { 0%, 38% { opacity: 0; } 43%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes pcb-img { 0%, 40% { opacity: .12; } 52%, 86% { opacity: 1; } 96%, 100% { opacity: .12; } }
@media (prefers-reduced-motion: reduce) {
  .case .pcb-fig .pcb-stage img, .case .pcb-fig :is(svg .arr, svg .dot, .pcb-tag) { animation: none !important; opacity: 1; }
  .case .pcb-fig svg .stroke { animation: none !important; stroke-dashoffset: 0; }
}
@media (max-width: 760px) { .case .pcb-tag { font-size: 9px; padding: 1px 4px; } .case .pcb-tag.c { white-space: normal; width: 34%; text-align: center; } }
@media (max-width: 760px) { .case .bnr figure[style="max-width:820px"] { max-width: 100% !important; } }
.case .pwall .pw-flat:only-child { flex-grow: 1 !important; }

/* ShinHan hierarchy pass — scene body sits under the chapter body (same 14px, quieter colour), close to its heading; the QR stamp reads as a detail of the poster above it */
.case .shead .sh-body { margin-top: 12px; max-width: 400px; font-size: 14px; line-height: 1.7; color: #55585C; }
.case .pwall + .bnr { margin-top: -4px; }
@media (max-width: 760px) {
  .case .shead .sh-body { margin-top: 10px; font-size: 13px; }
  .case .pwall + .bnr { margin-top: 6px; }
}

/* FLEUR — phone film, storyboard → film cuts */
.case .iph .gph-scr video { display: block; width: 100%; height: 100%; object-fit: cover; }
.case .pgr { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(8px, 1vw, 16px); }
.case .pgr figure { margin: 0; }
.case .pgr img { display: block; width: 100%; height: auto; object-fit: cover; }
.case .pgr figcaption { margin-top: 8px; font-size: 10px; line-height: 1.35; }
@media (max-width: 760px) {
  .case .pgr { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; }
  .case .iph figure:only-child { width: 62%; }
}

/* Selected — long detail pages scroll slowly inside the phone */
.case .iph .gph-mk .gph-scr.scroll { container-type: size; }
.case .iph .gph-scr.scroll img { height: auto; aspect-ratio: auto; object-fit: initial; animation: iph-scroll var(--dur, 24s) ease-in-out infinite alternate; }
@keyframes iph-scroll { 0%, 6% { transform: translateY(0); } 94%, 100% { transform: translateY(calc(-100% + 100cqh)); } }
@media (prefers-reduced-motion: reduce) { .case .iph .gph-scr.scroll img { animation: none; } }

/* Selected — product images with their detail page scrolling in a phone beside them */
.case .rph { display: flex; align-items: flex-end; gap: clamp(20px, 3vw, 48px); max-width: 960px; }
.case .rph-imgs { flex: 1 1 0; min-width: 0; display: grid; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); }
.case .rph-imgs figure, .case .rph-ph { margin: 0; }
.case .rph-imgs img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; outline: 1px solid rgba(0, 0, 0, .08); outline-offset: -1px; }
.case .rph-ph { flex: 0 0 clamp(150px, 22vw, 250px); }
.case .rph-ph .gph-dev.gph-mk { filter: none; }
.case .rph .gph-mk .gph-scr.scroll { container-type: size; }
.case .rph .gph-scr.scroll img { width: 100%; height: auto; aspect-ratio: auto; object-fit: initial; animation: iph-scroll var(--dur, 24s) ease-in-out infinite alternate; }
.case .rph figcaption { margin-top: 10px; }
.case .rph-ph figcaption { text-align: center; }
@media (prefers-reduced-motion: reduce) { .case .rph .gph-scr.scroll img { animation: none; } }
@media (max-width: 760px) { .case .rph { gap: 12px; padding: 0 16px; } .case .rph-ph { flex-basis: 36%; } }

.case .rph-imgs img { outline: none; }
.case .rph-big { max-width: 1120px; }

.case .pwall .pw-flat.bare img { outline: none; }

/* ShinHan hero — one film for every width, black veil and the logo centred on it */
.case .hero-film .hf-one { display: block; }
.case .hero-film .hf-one video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.case .hero-film .hf-ov { position: absolute; inset: 0; pointer-events: none; }
.case .hero-film .hf-logo { position: absolute; left: 50%; top: 50%; width: clamp(168px, 24vw, 360px); height: auto; transform: translate(-50%, -50%); pointer-events: none; }
.case .hero-film .hf-one .hm-toggle { z-index: 2; }
@media (max-width: 760px) { .case .hero-film .hf-logo { width: 34%; } }
.case[data-case="shinhan"] .case-info + .sec > .chapter:first-child { margin-top: 0; }

@media (max-width: 760px) { .case .bnr figure[style="max-width:960px"] { max-width: 100% !important; } }
/* 3D booth hint sits at the bottom of the grey panel instead of floating above it */
@media (min-width: 1024px) {
  .case .b3-visual { padding-bottom: 18px; }
  .case .b3-status { min-height: 0; margin: 22px 0 0; }
}
