body[data-songbit-project='true'] .case__study__media__text__text2 { min-height: 215px; }
body[data-songbit-project='true'] .case__study__media__text__text__text2 p { max-width: 44em; }

.songbit-scene {
  --songbit-blue: #007ea5;
  --songbit-emerald: #00a290;
  --songbit-green: #a0ca12;
  --songbit-light: #e3e300;
  background: #f3f6f3;
  color: #11364b;
  font-family: sf-pro-display, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.songbit-scene img,
.songbit-scene video { display: block; }

.songbit-scene-head,
.songbit-hero-copy,
.songbit-place header{
  left: 4.2%;
  position: absolute;
  top: 6.5%;
  z-index: 5;
}

.songbit-scene-head > span,
.songbit-hero-copy > span,
.songbit-place header > span,
.songbit-library-copy > span {
  display: block;
  font-size: clamp(8px, .72vw, 13px);
  letter-spacing: .16em;
  margin-bottom: 14px;
}

.songbit-scene-head > strong,
.songbit-hero-copy > strong,
.songbit-place header > strong,
.songbit-library-copy > strong {
  display: block;
  font-size: clamp(24px, 3.05vw, 52px);
  font-weight: 420;
  letter-spacing: -.055em;
  line-height: 1.02;
}

.songbit-hero { background: #062f46; color: #f3f7f2; }
.songbit-primary-motion {
  background: #062f46;
  height: 100%;
  inset: 0;
  object-fit: contain;
  position: absolute;
  width: 100%;
  z-index: 12;
}
.songbit-hero-copy { z-index: 8; }
.songbit-hero-copy strong { font-size: clamp(29px, 4vw, 68px); }
.songbit-hero-stage {
  height: 83%;
  position: absolute;
  right: 5%;
  top: 9%;
  width: 48%;
  z-index: 2;
}
.songbit-vector-motion {
  height: 76%;
  left: 50%;
  position: absolute;
  top: 49%;
  transform: translate(-50%, -50%);
  width: 64%;
}
.songbit-vector-color {
  animation: songbitSymbolBuild 7.8s cubic-bezier(.45,0,.18,1) infinite;
  filter: drop-shadow(0 0 28px rgba(227,227,0,.18));
}
.songbit-channel-fill path,
.songbit-channel-fill ellipse {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.songbit-channel-fill path,
.songbit-channel-fill ellipse {
  filter: drop-shadow(0 0 4px rgba(255,255,255,.72));
  opacity: 1;
  stroke: #fffef0;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  stroke-width: 5.2;
}
.songbit-channel-fill .fill-trunk { animation: songbitFillTrunk 7.8s ease-in-out infinite; }
.songbit-channel-fill .fill-branch { animation: songbitFillBranch 7.8s ease-in-out infinite; }
.songbit-channel-fill .fill-second { animation: songbitFillSecond 7.8s ease-in-out infinite; }
.songbit-channel-fill .fill-upper { animation: songbitFillUpper 7.8s ease-in-out infinite; }
.songbit-channel-fill .fill-roof { animation: songbitFillRoof 7.8s ease-in-out infinite; }
.songbit-hero-sequence {
  align-items: center;
  bottom: 6.5%;
  display: flex;
  font-size: clamp(7px, .65vw, 11px);
  gap: 12px;
  left: 4.2%;
  letter-spacing: .14em;
  position: absolute;
  z-index: 8;
}
.songbit-hero-sequence i { background: currentColor; height: 1px; opacity: .42; width: 28px; }

.songbit-place > img,
.songbit-library > img{
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.songbit-place > img { object-position: center 52%; }
.songbit-place-shade{
  background: linear-gradient(90deg, rgba(1,24,37,.78) 0%, rgba(1,24,37,.28) 40%, rgba(1,24,37,0) 70%);
  inset: 0;
  position: absolute;
  z-index: 2;
}
.songbit-place header{ color: white; }
.songbit-place > p{
  bottom: 5%;
  color: white;
  font-size: clamp(7px, .65vw, 11px);
  left: 4.2%;
  letter-spacing: .14em;
  position: absolute;
  z-index: 5;
}

.songbit-directions { background: #efefe9; }
.songbit-directions .songbit-scene-head strong { max-width: 18em; }
.songbit-direction-grid {
  bottom: 5%;
  display: grid;
  gap: 1.2%;
  grid-template-columns: repeat(4, 1fr);
  left: 3.2%;
  position: absolute;
  right: 3.2%;
  top: 31%;
}
.songbit-direction-grid article {
  background: white;
  border: 1px solid rgba(17,54,75,.12);
  display: flex;
  flex-flow: column;
  overflow: hidden;
  position: relative;
}
.songbit-direction-grid article.selected { border-color: var(--songbit-blue); }
.songbit-direction-grid article.selected:after {
  background: var(--songbit-blue);
  color: white;
  content: "SELECTED PRINCIPLE";
  font-size: 7px;
  letter-spacing: .12em;
  padding: 7px 9px;
  position: absolute;
  right: 0;
  top: 0;
}
.songbit-direction-grid img { height: calc(100% - 41px); object-fit: contain; padding: 8%; width: 100%; }
.songbit-direction-grid span {
  border-top: 1px solid rgba(17,54,75,.12);
  font-size: clamp(7px, .65vw, 11px);
  letter-spacing: .12em;
  padding: 14px;
}

.songbit-values { background: #0a7d9a; color: white; }
.songbit-values .songbit-scene-head strong { max-width: 15em; }
.songbit-value-field { height: 67%; position: absolute; right: 2%; top: 19%; width: 49%; }
.songbit-values-symbol {
  bottom: 2%;
  height: 76%;
  overflow: visible;
  position: absolute;
  right: 8%;
  width: 56%;
}
.songbit-promise-ghost {
  fill: rgba(255,255,255,.13);
}
.songbit-promise-piece {
  filter: drop-shadow(0 10px 22px rgba(1,45,58,.18));
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.songbit-promise-piece.promise-path {
  animation: songbitPromisePath 8.4s cubic-bezier(.35,0,.16,1) infinite;
}
.songbit-promise-piece.promise-ascent {
  animation: songbitPromiseAscent 8.4s cubic-bezier(.35,0,.16,1) infinite;
}
.songbit-promise-piece.promise-light {
  animation: songbitPromiseLight 8.4s cubic-bezier(.35,0,.16,1) infinite;
}
.songbit-value-halo {
  animation: songbitPromiseHalo 8.4s ease-in-out infinite;
  background: radial-gradient(circle, rgba(227,227,0,.2), rgba(160,202,18,.08) 38%, transparent 70%);
  height: 82%;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 10%;
  width: 72%;
}
.songbit-value-list { bottom: 7%; left: 4.2%; position: absolute; width: 42%; z-index: 4; }
.songbit-value-list p { align-items: baseline; border-top: 1px solid rgba(255,255,255,.35); display: grid; gap: 10px; grid-template-columns: 34px 1fr 1.35fr; opacity: .48; padding: 14px 0; }
.songbit-value-list p:nth-child(1) { animation: songbitPromiseRowOne 8.4s ease-in-out infinite; }
.songbit-value-list p:nth-child(2) { animation: songbitPromiseRowTwo 8.4s ease-in-out infinite; }
.songbit-value-list p:nth-child(3) { animation: songbitPromiseRowThree 8.4s ease-in-out infinite; }
.songbit-value-list span { font-size: 9px; letter-spacing: .1em; }
.songbit-value-list strong { font-size: clamp(15px, 1.35vw, 23px); font-weight: 450; }
.songbit-value-list em { font-size: clamp(11px, .82vw, 14px); opacity: .7; }

.songbit-anatomy { background: #f5f7f4; }
.songbit-anatomy-stage { height: 69%; left: 33%; position: absolute; top: 22%; width: 62%; }
.songbit-anatomy-stage > img { height: 72%; left: 50%; object-fit: contain; position: absolute; top: 50%; transform: translate(-50%,-50%); width: 34%; z-index: 2; }
.songbit-anatomy-stage .note {
  color: #0b5872;
  font-size: 11px;
  letter-spacing: .11em;
  position: absolute;
  z-index: 4;
}
.songbit-anatomy-stage .note:after { background: currentColor; content: ""; height: 1px; position: absolute; top: 50%; width: 95px; }
.songbit-anatomy-stage .name { left: 2%; top: 24%; }
.songbit-anatomy-stage .name:after { left: calc(100% + 12px); }
.songbit-anatomy-stage .school { right: 0; top: 28%; }
.songbit-anatomy-stage .school:after { right: calc(100% + 12px); }
.songbit-anatomy-stage .path { bottom: 17%; left: 5%; }
.songbit-anatomy-stage .path:after { left: calc(100% + 12px); }
.songbit-anatomy-stage .light { bottom: 14%; right: 2%; }
.songbit-anatomy-stage .light:after { right: calc(100% + 12px); }

.songbit-palette { background: #f2f4ee; }
.songbit-palette > img { height: 56%; object-fit: contain; position: absolute; right: 8%; top: 25%; width: 29%; }
.songbit-swatches { bottom: 7%; display: grid; grid-template-columns: 1fr 1fr; left: 4.2%; position: absolute; width: 52%; }
.songbit-swatches article { color: white; display: flex; flex-flow: column; min-height: 118px; justify-content: space-between; padding: 15px; row-gap: 2px; }
.songbit-swatches article.blue { background: var(--songbit-blue); }
.songbit-swatches article.emerald { background: var(--songbit-emerald); }
.songbit-swatches article.green { background: var(--songbit-green); color: #193443; }
.songbit-swatches article.light { background: var(--songbit-light); color: #193443; }
.songbit-swatches span { font-size: 8px; letter-spacing: .11em; }
.songbit-swatches strong { font-size: clamp(14px, 1.45vw, 25px); font-weight: 430; line-height: 1.12; }
.songbit-swatches em { font-size: 8px; font-style: normal; letter-spacing: .04em; opacity: .82; }

.songbit-applications { background: #e9eeea; }
.songbit-applications .songbit-scene-head strong { max-width: 17em; }
.songbit-application-grid { bottom: 5%; display: grid; gap: 1.2%; grid-template-columns: 1.25fr .75fr; left: 3.2%; position: absolute; right: 3.2%; top: 28%; }
.songbit-application-grid figure { background: white; overflow: hidden; position: relative; }
.songbit-application-grid img { height: 100%; object-fit: cover; width: 100%; }
.songbit-application-grid .cards img { object-fit: contain; padding: 4%; }
.songbit-application-grid figcaption { background: rgba(255,255,255,.92); bottom: 0; font-size: 7px; left: 0; letter-spacing: .12em; padding: 10px 12px; position: absolute; }

.songbit-manual { background: #123b52; color: white; }
.songbit-manual .songbit-scene-head strong { max-width: 15em; }
.songbit-manual-rail { align-items: flex-end; bottom: 6%; display: grid; gap: 1.1%; grid-template-columns: repeat(5, 1fr); left: 3.2%; position: absolute; right: 3.2%; top: 30%; }
.songbit-manual-rail img { background: white; box-shadow: 0 22px 40px rgba(0,0,0,.18); height: 94%; object-fit: contain; width: 100%; }
.songbit-manual-rail img:nth-child(2) { height: 100%; }
.songbit-manual-rail img:nth-child(3) { height: 88%; }
.songbit-manual-rail img:nth-child(4) { height: 80%; }
.songbit-manual-rail img:nth-child(5) { height: 84%; }

.songbit-library { color: #12354a; }
.songbit-library > img { object-position: center; }
.songbit-library-copy { left: 4.2%; position: absolute; top: 7%; z-index: 5; }
.songbit-library-copy strong { max-width: 9em; }

.songbit-closing { align-items: center; background: #052f46; color: white; display: flex; flex-flow: column; justify-content: center; text-align: center; }
.songbit-closing > span { left: 4.2%; letter-spacing: .13em; position: absolute; top: 6%; }
.songbit-closing-mark { height: 30%; margin-top: 2%; position: relative; width: 66%; }
.songbit-closing-mark img { filter: brightness(0) invert(1); height: 100%; object-fit: contain; position: relative; width: 100%; z-index: 2; }
.songbit-closing-mark i { animation: songbitClosingGlow 5.8s ease-in-out infinite; background: radial-gradient(circle, rgba(227,227,0,.34), rgba(0,162,144,.14) 35%, transparent 68%); height: 210%; left: 50%; position: absolute; top: 44%; transform: translate(-50%,-50%); width: 75%; }
.songbit-closing > strong { font-size: clamp(20px, 2.7vw, 46px); font-weight: 420; letter-spacing: -.04em; margin-top: 3%; text-wrap: balance; word-break: keep-all; }
.songbit-closing > p { bottom: 6%; font-size: 8px; letter-spacing: .14em; position: absolute; }

body[data-songbit-project='true'] .case__study__info__left { display: grid; gap: var(--pd2); grid-column: 1 / 2; grid-template-columns: 1fr 1fr; }
body[data-songbit-project='true'] .case__study__info__project__information { grid-column: 1 / -1; }
body[data-songbit-project='true'] .case__study__info__right { display: flex; flex-flow: column; grid-column: 2 / -1; row-gap: var(--pd2); }
body[data-songbit-project='true'] .case__study__info h2 { color: var(--color-gray50); margin-bottom: 8px; }
body[data-songbit-project='true'] .case__study__info h2:not(:first-child) { margin-top: 32px; }
body[data-songbit-project='true'] .case__study__info p:not(:last-child) { margin-bottom: 12px; }

@keyframes songbitFillTrunk { 0%, 6% { opacity: 0; stroke-dashoffset: -1; } 7% { opacity: 1; stroke-dashoffset: -1; } 25%, 97% { opacity: 1; stroke-dashoffset: 0; } 99%, 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes songbitFillBranch { 0%, 22% { opacity: 0; stroke-dashoffset: -1; } 23% { opacity: 1; stroke-dashoffset: -1; } 48%, 97% { opacity: 1; stroke-dashoffset: 0; } 99%, 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes songbitFillSecond { 0%, 44% { opacity: 0; stroke-dashoffset: -1; } 45% { opacity: 1; stroke-dashoffset: -1; } 67%, 97% { opacity: 1; stroke-dashoffset: 0; } 99%, 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes songbitFillUpper { 0%, 61% { opacity: 0; stroke-dashoffset: -1; } 62% { opacity: 1; stroke-dashoffset: -1; } 80%, 97% { opacity: 1; stroke-dashoffset: 0; } 99%, 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes songbitFillRoof { 0%, 75% { opacity: 0; stroke-dashoffset: -1; } 76% { opacity: 1; stroke-dashoffset: -1; } 91%, 97% { opacity: 1; stroke-dashoffset: 0; } 99%, 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes songbitSourceNode { 0%, 4% { opacity: 0; } 7%, 18% { opacity: 1; } 26%, 97% { opacity: .35; } 99%, 100% { opacity: 0; } }
@keyframes songbitSymbolBuild {
  0%, 10% { opacity: .08; }
  38% { opacity: .32; }
  82%, 97% { opacity: 1; }
  99%, 100% { opacity: 0; }
}
@keyframes songbitPromisePath {
  0%, 5% { opacity: 0; transform: translateY(12px) scale(.97); }
  20%, 93% { opacity: 1; transform: translateY(0) scale(1); }
  98%, 100% { opacity: 0; transform: translateY(0) scale(1); }
}
@keyframes songbitPromiseAscent {
  0%, 22% { opacity: 0; transform: translateY(14px) scale(.98); }
  39%, 93% { opacity: 1; transform: translateY(0) scale(1); }
  98%, 100% { opacity: 0; transform: translateY(0) scale(1); }
}
@keyframes songbitPromiseLight {
  0%, 42% { opacity: 0; transform: scale(.94); }
  59%, 93% { opacity: 1; transform: scale(1); }
  98%, 100% { opacity: 0; transform: scale(1); }
}
@keyframes songbitPromiseHalo {
  0%, 51% { opacity: 0; transform: scale(.82); }
  66%, 90% { opacity: 1; transform: scale(1); }
  98%, 100% { opacity: 0; transform: scale(1.04); }
}
@keyframes songbitPromiseRowOne {
  0%, 5% { opacity: .48; transform: translateX(0); }
  8%, 20% { opacity: 1; transform: translateX(5px); }
  24%, 58% { opacity: .58; transform: translateX(0); }
  65%, 93% { opacity: 1; transform: translateX(0); }
  98%, 100% { opacity: .48; transform: translateX(0); }
}
@keyframes songbitPromiseRowTwo {
  0%, 23% { opacity: .48; transform: translateX(0); }
  26%, 39% { opacity: 1; transform: translateX(5px); }
  43%, 58% { opacity: .58; transform: translateX(0); }
  65%, 93% { opacity: 1; transform: translateX(0); }
  98%, 100% { opacity: .48; transform: translateX(0); }
}
@keyframes songbitPromiseRowThree {
  0%, 42% { opacity: .48; transform: translateX(0); }
  45%, 59% { opacity: 1; transform: translateX(5px); }
  65%, 93% { opacity: 1; transform: translateX(0); }
  98%, 100% { opacity: .48; transform: translateX(0); }
}
@keyframes songbitClosingGlow {
  0%, 100% { opacity: .2; transform: translate(-50%,-50%) scale(.8); }
  52% { opacity: .85; transform: translate(-50%,-50%) scale(1.12); }
}

@media (max-width: 1024px) {
  body[data-songbit-project='true'] .case__study__info__left,
  body[data-songbit-project='true'] .case__study__info__right { grid-column: 1 / -1; }
  .songbit-directions,
  .songbit-values,
  .songbit-anatomy,
  .songbit-palette,
  .songbit-applications,
  .songbit-manual { aspect-ratio: auto !important; min-height: 620px; }
}

@media (max-width: 656px) {
  body[data-songbit-project='true'] .case__study__media__text__text2 { min-height: 185px; }
  .songbit-hero,
  .songbit-place,
  .songbit-library,
  .songbit-closing { aspect-ratio: auto !important; min-height: 470px; }
  .songbit-scene-head,
  .songbit-hero-copy,
  .songbit-place header{ left: 7%; top: 8%; }
  .songbit-scene-head > span,
  .songbit-hero-copy > span,
  .songbit-place header > span,
  .songbit-library-copy > span { font-size: 7px; margin-bottom: 10px; }
  .songbit-scene-head > strong,
  .songbit-place header > strong,
  .songbit-library-copy > strong { font-size: 23px; }
  .songbit-hero-copy strong { font-size: 27px; }
  .songbit-hero-stage { height: 60%; right: -2%; top: 30%; width: 71%; }
  .songbit-vector-motion { width: 72%; }
  .songbit-hero-sequence { bottom: 7%; left: 7%; }
  .songbit-place > img { object-position: 60% center; }
  .songbit-place-shade{ background: linear-gradient(180deg, rgba(1,24,37,.78), rgba(1,24,37,.15) 62%, transparent); }
  .songbit-place > p{ left: 7%; }

  .songbit-directions { min-height: 820px; }
  .songbit-directions .songbit-scene-head strong { max-width: 12em; }
  .songbit-direction-grid { bottom: 4%; gap: 7px; grid-template-columns: 1fr 1fr; left: 4%; right: 4%; top: 25%; }
  .songbit-direction-grid img { height: calc(100% - 34px); padding: 5%; }
  .songbit-direction-grid span { padding: 10px; }

  .songbit-values { min-height: 760px; }
  .songbit-values .songbit-scene-head strong { max-width: 10em; }
  .songbit-value-field { height: 41%; left: 5%; right: 5%; top: 25%; width: 90%; }
  .songbit-values-symbol { bottom: 0; height: 83%; right: 4%; width: 51%; }
  .songbit-value-halo { height: 84%; right: -4%; top: 8%; width: 68%; }
  .songbit-value-list { bottom: 4%; left: 7%; width: 86%; }
  .songbit-value-list p { gap: 7px; grid-template-columns: 25px 1fr; padding: 10px 0; }
  .songbit-value-list em { grid-column: 2; }

  .songbit-anatomy { min-height: 540px; }
  .songbit-anatomy .songbit-scene-head strong { max-width: 10em; }
  .songbit-anatomy-stage { height: 57%; left: 5%; top: 35%; width: 90%; }
  .songbit-anatomy-stage > img { width: 52%; }
  .songbit-anatomy-stage .note { display: none; }
  .songbit-palette { min-height: 700px; }
  .songbit-palette .songbit-scene-head strong { max-width: 10em; }
  .songbit-palette > img { height: 29%; right: 9%; top: 28%; width: 39%; }
  .songbit-swatches { bottom: 4%; grid-template-columns: 1fr 1fr; left: 6%; width: 88%; }
  .songbit-swatches article { min-height: 98px; height: auto; padding: 11px; }

  .songbit-applications { min-height: 760px; }
  .songbit-applications .songbit-scene-head strong { max-width: 12em; }
  .songbit-application-grid { gap: 8px; grid-template-columns: 1fr; left: 4%; right: 4%; top: 26%; }
  .songbit-application-grid .cards img { padding: 2%; }

  .songbit-manual { min-height: 690px; }
  .songbit-manual .songbit-scene-head strong { max-width: 10em; }
  .songbit-manual-rail { gap: 7px; grid-template-columns: 1fr 1fr; left: 5%; right: 5%; top: 29%; }
  .songbit-manual-rail img { height: 100% !important; min-height: 0; }
  .songbit-manual-rail img:last-child { display: none; }

  .songbit-library-copy { left: 7%; top: 8%; }
  .songbit-library > img {
    height: 100%;
    inset: 0;
    object-position: 56% center;
    position: absolute;
    width: 100%;
  }
  .songbit-closing { min-height: 440px; }
  .songbit-closing > span { font-size: 6px; left: 7%; top: 7%; }
  .songbit-closing-mark { height: 22%; width: 82%; }
  .songbit-closing > strong { font-size: 20px; max-width: 12em; }
  .songbit-closing > p { font-size: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .songbit-primary-motion { object-fit: contain; }
  .songbit-vector-color,
  .songbit-vector-motion path,
  .songbit-vector-motion ellipse,
  .songbit-vector-motion circle,
  .songbit-promise-piece,
  .songbit-value-halo,
  .songbit-value-list p,
  .songbit-closing-mark i { animation: none !important; }
  .songbit-vector-color { opacity: 1; }
  .songbit-channel-fill { display: none; }
  .songbit-promise-piece,
  .songbit-value-list p { opacity: 1; transform: none; }
  .songbit-value-halo { opacity: .55; transform: none; }
}

/* === 그림 자리 예약 (CLS) — 자동 생성. 없으면 지연 로딩 때 아래가 밀린다 === */
img[src$="/songbit-case-assets/direction-01.jpg"],
img[src$="/songbit-case-assets/direction-02.jpg"],
img[src$="/songbit-case-assets/direction-03.jpg"],
img[src$="/songbit-case-assets/direction-04.jpg"] { aspect-ratio: 1/1; }
img[src$="/songbit-case-assets/manual-04.jpg"],
img[src$="/songbit-case-assets/manual-05.jpg"],
img[src$="/songbit-case-assets/manual-12.jpg"],
img[src$="/songbit-case-assets/manual-19-r2.jpg"] { aspect-ratio: 421/298; }
img[src$="/songbit-case-assets/songbit-symbol-vector.svg"] { aspect-ratio: 53/75; }
img[src$="/songbit-case-assets/songdo-r2.webp"] { aspect-ratio: 4272/2848; }
img[src$="/songbit-case-assets/class-sign-final.jpg"] { aspect-ratio: 217/200; }
img[src$="/songbit-case-assets/library-identity-r2.jpg"] { aspect-ratio: 3843/2102; }
img[src$="/songbit-case-assets/songbit-signature-exact-r2.png"] { aspect-ratio: 2821/749; }
