/* ============================================================
   showcase.css — 프로젝트 쇼케이스 상세 (Shuffle / CookieRun)
   참고 쇼케이스 HTML 포팅. 사이트 토큰(base.css) 기반,
   화이트 + 블루(--gold) 톤. 모든 클래스는 .showcase 스코프.
   ============================================================ */

/* 쇼케이스 본문은 기존 넓은 중앙 트랙을 유지하고, 정보 패널만 충분한 화면에서 우측 여백으로 분리한다. */
.article--showcase { --wide: 72rem; }
.article--showcase > .showcase-detail-layout { grid-column: 1 / -1; min-width: 0; display: block; }
.article--showcase > .showcase-detail-layout > #showcaseBody { min-width: 0; }
.article--showcase > .article__back {
  grid-column: 1 / -1; display: block; width: 100%; max-width: 1080px;
  margin: 0 auto 2rem; padding: 0 28px; box-sizing: border-box;
  font-size: 1rem; font-weight: 600;
}
.project-info-panel { display: none; position: sticky; top: 88px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-raised); box-shadow: 0 10px 28px rgba(0, 0, 0, .16); }
.project-info-panel__section + .project-info-panel__section { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.project-info-panel__section h2 { margin: 0 0 12px; color: var(--text); font-size: 14px; font-weight: 800; }
.project-info-panel dl { margin: 0; }
.project-info-panel dl > div + div { margin-top: 10px; }
.project-info-panel dt { color: var(--text-soft); font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.project-info-panel dd { margin: 2px 0 0; color: var(--text); font-size: 12px; line-height: 1.55; word-break: keep-all; }
.project-info-panel__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.project-info-panel__chips span { padding: 5px 8px; border: 1px solid #cbd5e1; border-radius: 999px; background: transparent; color: var(--text); font-size: 11px; font-weight: 700; }
.project-info-panel__links { display: grid; gap: 8px; }
.project-info-panel__links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 38px; padding: 8px 10px; border: 1px solid #bfd2ff; border-radius: 9px; background: #eef4ff; color: #1d4ed8; font-size: 12px; font-weight: 800; text-decoration: none; }
.project-info-panel__links a:hover { background: #e3edff; border-color: #93b4ff; }
.project-info-panel__links .project-info-link--pdf { border-color: #ffd0a8; background: #fff4e9; color: #c2410c; }
.project-info-panel__links .project-info-link--pdf:hover { background: #ffead8; border-color: #fdba74; }
.project-info-panel__links .project-info-link--youtube { border-color: #fda4af; background: #fff1f3; color: #c70026; }
.project-info-panel__links .project-info-link--youtube:hover { background: #ffe4e9; border-color: #fb7185; }
.project-info-panel__links .project-info-link--github { border-color: #d1d5db; background: #f3f4f6; color: #374151; }
.project-info-panel__links .project-info-link--github:hover { background: #e5e7eb; border-color: #9ca3af; }
.project-info-panel__links svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; flex: 0 0 auto; }
.project-info-trigger { grid-column: 2; justify-self: end; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; margin: 0 0 18px; padding: 0 14px; border: 1px solid var(--gold); border-radius: 10px; background: var(--bg-raised); color: var(--gold); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.project-info-trigger:hover { background: var(--sc-blue-mist); }
.project-info-dialog { display: none; }


.showcase {
  --sc-blue: var(--gold);              /* #2563eb */
  --sc-blue-mist: #e8effe;
  --sc-card-bg: #f8f9fc;
  line-height: 1.6;
}
.showcase .sc-wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.showcase section { padding: 72px 0; }
.showcase .sc-alt {
  background: var(--sc-card-bg);
  box-shadow: 0 0 0 100vmax var(--sc-card-bg);
  clip-path: inset(0 -100vmax);
}

/* ---- image/video placeholder ---- */
.showcase .ph {
  background: repeating-linear-gradient(45deg, var(--sc-blue-mist) 0 12px, var(--sc-card-bg) 12px 24px);
  border: 1.5px dashed #c2ccf0;
  border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #7a86b8; text-align: center; padding: 24px; gap: 6px;
  font-size: 13px;
  width: 100%; height: 100%;
}
.showcase .ph .ico { font-size: 22px; opacity: .7; }
.showcase .ph .cap { font-weight: 700; color: #4c5aa8; font-size: 13.5px; }
.showcase .ph .hint { font-size: 11.5px; color: #9aa2c7; }

/* ---- media slot (실제 미디어 로드 성공 시 placeholder 대체) ---- */
.showcase .mslot { position: relative; width: 100%; overflow: hidden; border-radius: 14px; }
.showcase .mslot > img,
.showcase .mslot > video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 14px;
}
.showcase .mslot > iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; border: 0; border-radius: 14px;
}
.showcase .mslot--contain > img { object-fit: contain; background: var(--sc-card-bg); }
.showcase .mslot > .ph { position: absolute; inset: 0; }

/* ---- multi-image slider ---- */
.showcase .sc-slider { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 14px; background: var(--sc-card-bg); }
.showcase .sc-slider__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .25s ease; }
.showcase .sc-slider__slide.is-active { opacity: 1; visibility: visible; }
.showcase .sc-slider__slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.showcase .sc-slider__nav {
  position: absolute; top: 50%; z-index: 2; display: grid; place-items: center;
  width: 38px; height: 38px; padding: 0;
  border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(18,20,28,.68);
  color: #fff; cursor: pointer; transform: translateY(-50%);
}
.showcase .sc-slider__nav svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.showcase .sc-slider__nav:hover { background: rgba(18,20,28,.88); }
.showcase .sc-slider__nav:focus-visible { outline: 3px solid var(--sc-blue); outline-offset: 2px; }
.showcase .sc-slider__prev { left: 12px; }
.showcase .sc-slider__next { right: 12px; }
.showcase .sc-slider__count {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 5px 9px;
  border-radius: 999px; background: rgba(18,20,28,.72); color: #fff; font-size: 11px; font-weight: 700;
}

/* ---- hero ---- */
.showcase .sc-hero { padding: 72px 0 40px; text-align: center; }
.showcase .sc-hero h1 { font-size: clamp(34px, 5.5vw, 58px); font-weight: 900; letter-spacing: -.03em; line-height: 1.15; }
.showcase .sc-hero h1 span { color: var(--sc-blue); }
.showcase .sc-hero h1 .sc-title-num { color: inherit; font-family: "Paperlogy", var(--font-body); font-weight: 900; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.showcase .sc-lede { margin: 20px auto 0; font-size: 17px; color: var(--text-soft); max-width: 560px; }
.showcase .sc-meta {
  max-width: 560px; margin: 18px auto 0; color: var(--text-soft); font-size: 13px;
}
.showcase .sc-meta p + p { margin-top: 4px; }
.showcase .sc-meta b { color: var(--text); margin-right: 6px; }
.showcase .sc-meta span[aria-hidden] { margin: 0 5px; color: var(--line); }
.showcase .sc-hero-shot { margin-top: 48px; }
.showcase .sc-core-loop-media { margin: 32px 0 36px; }
.showcase .sc-core-loop-media .mslot { border: 1px solid var(--line); background: #101827; }
.showcase .sc-core-loop-media .mslot > video { object-fit: contain; background: #101827; }

/* ---- buttons ---- */
.showcase .sc-btn {
  padding: 13px 24px; border-radius: 10px; font-size: 14px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease;
}
.showcase .sc-btn-primary { background: var(--sc-blue); color: #fff; }
.showcase .sc-btn-youtube { background: #ff0033; color: #fff; }
.showcase .sc-btn-youtube:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(255, 0, 51, .5); }
.showcase .sc-btn-pdf { background: #f97316; color: #fff; }
.showcase .sc-btn-pdf:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(249, 115, 22, .5); }
.showcase .sc-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(37, 99, 235, .55); }

/* ---- section head ---- */
.showcase .sc-head { margin-bottom: 36px; }
.showcase .sc-head--center { text-align: center; }
.showcase .sc-num { font-family: "Paperlogy", var(--font-body); font-size: 12.5px; color: var(--sc-blue); font-weight: 700; letter-spacing: .06em; margin-bottom: 10px; }
.showcase .sc-head h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 900; letter-spacing: -.02em; }
.showcase .sc-paperlogy-num { font-family: "Paperlogy", sans-serif; font-weight: 800; }
.showcase .sc-body-num { font-family: "Paperlogy", var(--font-body); }
.showcase .sc-head p { margin-top: 10px; color: var(--text-soft); font-size: 15px; max-width: none; }
.showcase .sc-head--center p { margin-left: auto; margin-right: auto; }

/* ---- flow (3 step) ---- */
.showcase .sc-flow-step { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 48px; align-items: center; margin-bottom: 56px; }
.showcase .sc-flow-step:nth-child(even) .sc-flow-text { order: 2; }
.showcase .sc-flow-step:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .showcase .sc-flow-step { grid-template-columns: 1fr; gap: 20px; }
  .showcase .sc-flow-step:nth-child(even) .sc-flow-text { order: 0; }
}
.showcase .sc-flow-badge {
  font-size: 13px; font-weight: 700; color: var(--sc-blue); background: var(--sc-blue-mist);
  width: fit-content; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.showcase .sc-flow-text h3 { font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.showcase .sc-flow-text p { max-width: 600px; margin-top: 10px; color: var(--text-soft); font-size: 15px; line-height: 1.75; }
.showcase .sc-flow-points { font-size: 13.5px !important; }
.showcase .sc-flow-points b { color: var(--text); }
.showcase .sc-flow-media .mslot,
.showcase .sc-flow-media .mslot > img,
.showcase .sc-flow-media .mslot > video { border-radius: 14px; }
/* ---- Terra solution journey ---- */
.showcase .terra-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.showcase .terra-solution-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 26px 22px 24px;
  border: 1px solid #d7dfef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px -28px rgba(15, 45, 100, .55);
}
.showcase .terra-solution-card:not(:last-child)::after {
  content: "›";
  position: absolute;
  z-index: 2;
  top: 43%;
  right: -30px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--sc-blue);
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
  filter: drop-shadow(0 2px 5px rgba(37, 99, 235, .2));
}
.showcase .terra-solution-card__head {
  min-height: 120px;
  text-align: center;
}
.showcase .terra-solution-card__head .sc-flow-badge { margin: 0 auto 20px; }
.showcase .terra-solution-card__head h3 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.35;
  transform: translateY(5px);
}
.showcase .terra-solution-media {
  aspect-ratio: 3 / 2;
  margin-top: 2px;
  border: 1px solid #e6ebf5;
  border-radius: 13px;
  background: #f8fbff;
}
.showcase .terra-solution-media > img { border-radius: 12px; }
.showcase .terra-solution-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 8px;
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
.showcase .terra-solution-card > p {
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}
.showcase .terra-solution-card--signal .sc-flow-badge {
  background: #e8f7eb;
  color: #3d9654;
}
.showcase .terra-solution-card--exploration .sc-flow-badge {
  background: #f0ebff;
  color: #6d52be;
}
.showcase .terra-solution-points {
  display: grid;
  gap: 7px;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid #e7edf7;
  list-style: none;
}
.showcase .terra-solution-points li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}
.showcase .terra-solution-points svg {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  fill: none;
  stroke: var(--sc-blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.showcase .terra-solution-card--signal .terra-solution-points svg { stroke: #4aa660; }
.showcase .terra-solution-card--exploration .terra-solution-points svg { stroke: #7659c9; }
.showcase .terra-solution-lede { margin-top: 12px; color: var(--text-soft); font-size: 15px; line-height: 1.72; }
.showcase .terra-solution-lede p { margin: 0; }
.showcase .terra-solution-lede p + p { margin-top: 4px; }
.showcase .terra-solution-lede strong { color: var(--text); }
.showcase .terra-solution-journey {
  display: grid;
  gap: 20px;
  margin: 30px 0 0;
  padding: 26px 28px 28px;
  overflow: hidden;
  border: 1px solid #cbd9fa;
  border-radius: 18px;
  background: linear-gradient(115deg, #f5f8ff 0%, #fff 55%, #f7fbff 100%);
  box-shadow: 0 14px 34px -30px rgba(15, 45, 100, .5);
}
.showcase .terra-solution-journey figcaption { max-width: 740px; margin: 0 auto; text-align: center; }
.showcase .terra-solution-journey .sc-num { margin-bottom: 8px; }
.showcase .terra-solution-journey h3 { font-size: clamp(20px, 2.1vw, 26px); font-weight: 900; letter-spacing: -.03em; line-height: 1.32; }
.showcase .terra-solution-journey figcaption p { margin-top: 10px; color: var(--text-soft); font-size: 14px; line-height: 1.65; }
.showcase .terra-solution-journey__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px;
  margin: 0;
  list-style: none;
}
.showcase .terra-solution-journey__steps li {
  position: relative;
  display: grid;
  min-height: 82px;
  padding: 12px 10px;
  place-items: center;
  align-content: center;
  gap: 7px;
  border: 1px solid #dce6fa;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}
.showcase .terra-solution-journey__steps li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -23px;
  color: var(--sc-blue);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
}
.showcase .terra-solution-journey__steps li:nth-child(-n+2)::after { content: "+"; }
.showcase .terra-solution-journey__steps li:nth-child(3)::after,
.showcase .terra-solution-journey__steps li:nth-child(4)::after { content: "→"; }
.showcase .terra-solution-journey__icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 10px; background: var(--sc-blue-mist); color: var(--sc-blue); }
.showcase .terra-solution-journey__icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.showcase .terra-solution-journey__growth { border-color: #b8cdfc !important; background: #f5f8ff !important; }
.showcase .terra-solution-journey__route { border-color: var(--sc-blue) !important; background: var(--sc-blue) !important; color: #fff !important; }
.showcase .terra-solution-journey__route .terra-solution-journey__icon { background: rgba(255,255,255,.16); color: #fff; }
@media (max-width: 900px) {
  .showcase .terra-solution-grid { grid-template-columns: 1fr; gap: 22px; }
  .showcase .terra-solution-card { padding: 24px; }
  .showcase .terra-solution-card:not(:last-child)::after {
    content: "⌄";
    top: auto;
    right: 50%;
    bottom: -31px;
    width: 28px;
    height: 38px;
    transform: translateX(50%);
    font-size: 34px;
  }
  .showcase .terra-solution-card__head { min-height: 0; }
  .showcase .terra-solution-media { margin-top: 6px; }
  .showcase .terra-solution-journey { padding: 24px; }
  .showcase .terra-solution-journey__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .showcase .terra-solution-journey__steps li::after { display: none; }
}
@media (max-width: 520px) {
  .showcase .terra-solution-journey { padding: 20px; }
  .showcase .terra-solution-journey__steps { grid-template-columns: 1fr; }
}
/* ---- Terra why: problem and solution cards ---- */
.showcase .sc-detail-grid.sc-why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.showcase .sc-why-grid .sc-detail-card { height: 100%; display: flex; }
.showcase .sc-why-grid .sc-detail-body { display: flex; flex: 1; flex-direction: column; padding: 20px 20px 22px; }
.showcase .terra-problem-label { display: flex; align-items: center; gap: 9px; min-height: 30px; }
.showcase .terra-problem-number { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--sc-blue); color: #fff; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.showcase .terra-problem-label .tag { margin: 0; }
.showcase .sc-why-grid .sc-detail-body h3 { margin-top: 13px; font-size: 17px; line-height: 1.4; text-align: center; }
.showcase .terra-problem-media { width: 100%; aspect-ratio: 16 / 10; margin-top: 16px; border-radius: 12px; background: var(--sc-card-bg); }
.showcase .terra-problem-media > img { border-radius: 12px; }
.showcase .sc-why-grid .sc-detail-body p { margin-top: 14px; font-size: 13px; line-height: 1.75; }
.showcase .terra-problem-callout { display: grid; grid-template-columns: 70px minmax(280px, .95fr) minmax(360px, 1.05fr); gap: 20px; align-items: center; margin-top: 24px; padding: 20px 28px; border: 1px solid #bfd2ff; border-radius: 14px; background: linear-gradient(100deg, #f7faff, #fff); }
.showcase .terra-problem-callout__icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: var(--sc-blue); color: #fff; }
.showcase .terra-problem-callout__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.showcase .terra-problem-callout p { font-family: "Paperlogy", var(--font-body); font-size: 17px; font-weight: 700; line-height: 1.55; }
.showcase .terra-problem-callout p strong { color: var(--sc-blue); }
.showcase .terra-problem-callout__flow { display: flex; align-items: center; justify-content: flex-end; gap: 12px; color: var(--sc-blue); font-size: 13px; font-weight: 700; white-space: nowrap; }
.showcase .terra-problem-callout__flow span { display: grid; min-width: 70px; min-height: 38px; place-items: center; padding: 7px 8px; border-radius: 999px; background: var(--sc-blue-mist); text-align: center; }
.showcase .terra-problem-callout__flow i { font-style: normal; font-size: 21px; }
@media (max-width: 1100px) {
  .showcase .sc-detail-grid.sc-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase .terra-problem-callout { grid-template-columns: 58px 1fr; }
  .showcase .terra-problem-callout__flow { grid-column: 1 / -1; justify-content: center; }
}
.showcase .sc-why-list { display: grid; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; }
.showcase .sc-why-list li { display: grid; gap: 3px; padding-top: 14px; border-top: 1px solid var(--line); }
.showcase .sc-why-list li:first-child { padding-top: 0; border-top: 0; }
.showcase .sc-why-list b { color: var(--text); font-size: 13px; }
.showcase .sc-why-list span { color: var(--text-soft); font-size: 13px; line-height: 1.55; }
.showcase .sc-why-list--solution b { color: var(--sc-blue); }
@media (max-width: 760px) { .showcase .sc-detail-grid.sc-why-grid { grid-template-columns: 1fr; gap: 16px; } }

/* ---- result (board + doc fan) ---- */
.showcase .sc-result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; align-items: start; }
@media (max-width: 760px) { .showcase .sc-result-grid { grid-template-columns: 1fr; gap: 48px; } }
.showcase .sc-result-label { font-size: 13px; font-weight: 700; letter-spacing: .06em; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; min-height: 24px; }
.showcase .sc-result-col > .mslot, .showcase .sc-result-col > .sc-doc-preview { aspect-ratio: 16 / 9; }
.showcase .sc-pages-badge { background: var(--sc-blue); color: #fff; font-size: 10.5px; padding: 3px 10px; border-radius: 999px; letter-spacing: .08em; }
.showcase .sc-doc-preview {
  position: relative; width: 100%; aspect-ratio: 16/9; padding: 0;
  border: 0; background: transparent; cursor: pointer; isolation: isolate;
}
.showcase .sc-doc-preview img {
  position: absolute; inset: 0; width: 92%; height: 92%; object-fit: cover;
  border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 18px 36px -18px rgba(18, 20, 28, .32);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s ease, opacity .3s ease;
}
.showcase .sc-doc-preview__inside { left: 8%; top: 8%; z-index: 1; transform: rotate(1.5deg); }
.showcase .sc-doc-preview__cover { z-index: 2; transform-origin: left center; }
.showcase .sc-doc-preview__hint {
  position: absolute; left: 14px; bottom: 14px; z-index: 3;
  padding: 6px 10px; border-radius: 999px; background: rgba(18, 20, 28, .78);
  color: #fff; font-size: 11px; font-weight: 700; pointer-events: none;
  transition: opacity .2s ease;
}
.showcase .sc-doc-preview:hover .sc-doc-preview__cover,
.showcase .sc-doc-preview:focus-visible .sc-doc-preview__cover,
.showcase .sc-doc-preview.is-open .sc-doc-preview__cover { opacity: 0; transform: translateX(-10%) rotate(-3deg); box-shadow: 0 22px 42px -18px rgba(18, 20, 28, .4); }
.showcase .sc-doc-preview:hover .sc-doc-preview__inside,
.showcase .sc-doc-preview:focus-visible .sc-doc-preview__inside,
.showcase .sc-doc-preview.is-open .sc-doc-preview__inside { transform: translateX(8%) rotate(0); }
.showcase .sc-doc-preview:hover .sc-doc-preview__hint,
.showcase .sc-doc-preview:focus-visible .sc-doc-preview__hint,
.showcase .sc-doc-preview.is-open .sc-doc-preview__hint { opacity: 0; }
.showcase .sc-doc-preview:focus-visible { outline: 3px solid var(--sc-blue); outline-offset: 4px; border-radius: 12px; }
.showcase .sc-result-caption { margin-top: 18px; font-size: 14px; color: var(--text-soft); }
.showcase--muryudang .sc-result-caption { font-size: 12px; }
.showcase .sc-result-caption b { color: var(--text); }

/* ---- playable levels ---- */
.showcase .sc-level-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .showcase .sc-level-grid { grid-template-columns: 1fr; } }
.showcase .sc-level-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.showcase .sc-level-card > .mslot { border-radius: 0; }
.showcase .sc-level-card > .mslot > img,
.showcase .sc-level-card > .mslot > video { border-radius: 0; }
.showcase .sc-level-card > .mslot .ph { border: 0; border-radius: 0; border-bottom: 1px dashed #c2ccf0; }
.showcase .sc-level-body { padding: 22px 24px; }
.showcase .sc-level-body h3 { font-size: 17px; font-weight: 900; }
.showcase .sc-level-body p { margin-top: 8px; color: var(--text-soft); font-size: 13.5px; }
/* ---- detail showcase grid ---- */
.showcase .sc-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .showcase .sc-detail-grid { grid-template-columns: 1fr; } }
.showcase .sc-detail-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.showcase .sc-detail-card .mslot { border-radius: 0; }
.showcase .sc-detail-card .mslot > img,
.showcase .sc-detail-card .mslot > video { border-radius: 0; }
.showcase .sc-detail-card .ph { border: none; border-radius: 0; border-bottom: 1px dashed #c2ccf0; }
/* 한 줄에 나란히(랭킹이 더 넓게), 이미지는 꽉 채우고(cover), 아래 설명 열도
   같은 비율을 써서 각 이미지 바로 아래에 맞는 설명이 오도록 맞춘다. */
.showcase .sc-immersion-media-grid,
.showcase .sc-immersion-copy-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.showcase .sc-immersion-media-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(220px, .68fr); gap: 20px; align-items: start; }
.showcase .sc-immersion-photo { min-width: 0; }
.showcase .sc-immersion-photo .mslot { height: auto; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #101827; }
.showcase .sc-immersion-photo--ranking .mslot { aspect-ratio: 1148 / 685; }
.showcase .sc-immersion-photo--market .mslot { aspect-ratio: 317 / 521; }
.showcase .sc-immersion-photo .mslot > img { border-radius: 14px; object-fit: contain; }
@media (min-width: 761px) {
  .showcase .sc-immersion-media-grid { align-items: stretch; }
  .showcase .sc-immersion-photo { display: flex; }
  .showcase .sc-immersion-photo .mslot { height: 100%; }
  .showcase .sc-immersion-photo--ranking .mslot { height: auto; }
  .showcase .sc-immersion-photo--market .mslot { aspect-ratio: auto; }
}
.showcase .sc-immersion-copy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 24px 0 52px; }
.showcase .sc-immersion-copy { min-width: 0; }
.showcase .sc-immersion-copy,
.showcase .sc-immersion-grid .sc-detail-card { min-height: 196px; }
.showcase .sc-immersion-copy .tag { display: inline-block; color: var(--sc-blue); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.showcase .sc-immersion-copy h3 { margin-top: 10px; font-size: 22px; line-height: 1.4; }
.showcase .sc-immersion-copy p { margin-top: 12px; color: var(--text-soft); font-size: 15px; line-height: 1.8; }
.showcase .sc-immersion-grid { margin-top: 8px; }
.showcase .sc-ux-improvement-grid { margin-bottom: 52px; }
.showcase .sc-ux-improvement-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.showcase .sc-ux-improvement-card { position: relative; overflow: visible; }
.showcase .sc-ux-improvement-icon {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px;
  border-radius: 50%; background: var(--sc-blue-mist); color: var(--sc-blue); font-size: 24px; font-weight: 800;
}
.showcase .sc-ux-improvement-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.showcase .sc-ux-improvement-card .tag { display: block; }
.showcase .sc-ux-improvement-card h3 { margin-top: 8px; }
.showcase .sc-step-viewer {
  overflow: hidden; margin-top: 8px; border: 1px solid var(--line); border-radius: 18px; background: #fff;
  box-shadow: 0 18px 40px -34px rgba(24, 59, 129, .4);
}
.showcase .sc-step-viewer__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 26px 28px 22px;
  border-bottom: 1px solid var(--line);
}
.showcase .sc-step-viewer__head .tag { display: block; color: var(--sc-blue); font-size: 11px; font-weight: 700; letter-spacing: .05em; }
.showcase .sc-step-viewer__head h3 { margin-top: 8px; font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.showcase .sc-step-viewer__head p { margin-top: 7px; color: var(--text-soft); font-size: 14px; line-height: 1.7; }
.showcase .sc-step-viewer__count { flex: 0 0 auto; color: var(--sc-blue); font-family: "Paperlogy", var(--font-body); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.showcase .sc-step-viewer__body { display: block; padding: 26px 28px; }
.showcase .sc-step-stage { min-width: 0; }
.showcase .sc-step-panel { display: none; grid-template-columns: minmax(190px, .42fr) minmax(0, 1.58fr); gap: 30px; align-items: center; min-width: 0; }
.showcase .sc-step-panel.is-active { display: grid; animation: sc-step-fade .2s ease both; }
@keyframes sc-step-fade { from { opacity: .35; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.showcase .sc-step-copy { min-width: 0; }
.showcase .sc-step-copy h4 { font-size: 23px; font-weight: 900; letter-spacing: -.03em; line-height: 1.35; }
.showcase .sc-step-copy p { margin-top: 11px; color: var(--text-soft); font-size: 14px; line-height: 1.8; }
.showcase .sc-step-panel > .mslot { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #101827; }
.showcase .sc-step-panel > .mslot > img { display: block; width: 100%; height: 100%; border-radius: 14px; object-fit: contain; }
.showcase .sc-step-viewer__controls { display: flex; justify-content: flex-end; gap: 10px; padding: 18px 28px; border-top: 1px solid var(--line); background: #fbfcff; }
.showcase .sc-step-control { min-width: 104px; min-height: 44px; padding: 10px 16px; border: 1px solid #cbd5e8; border-radius: 9px; background: #fff; color: var(--text); cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; transition: border-color .18s ease, background .18s ease, color .18s ease; }
.showcase .sc-step-control:hover { border-color: var(--sc-blue); color: var(--sc-blue); }
.showcase .sc-step-control--primary { border-color: var(--sc-blue); background: var(--sc-blue); color: #fff; }
.showcase .sc-step-control--primary:hover { background: #1d4ed8; color: #fff; }
.showcase #chip-result .sc-narrative { margin-top: 40px; }
.showcase--chip-tycoon .sc-foot-actions { margin-top: 0; }

/* 튜토리얼 단계 이미지는 약 1900px짜리 전체 화면 스크린샷이라, 2단 배치에서는 375px까지
   줄어들어 UI 글씨를 읽을 수 없었다. 설명을 위로 올리고 이미지를 한 줄 전체로 쓴다. */
.showcase--chip-tycoon .sc-flow-step { grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.showcase--chip-tycoon .sc-flow-step .sc-flow-text,
.showcase--chip-tycoon .sc-flow-step:nth-child(even) .sc-flow-text { order: 0; }
.showcase--chip-tycoon .sc-flow-step .sc-flow-media { order: 1; }
.showcase--chip-tycoon .sc-flow-text p { max-width: 760px; }
.showcase .sc-ux-flow-intro { margin-bottom: 28px; }
.showcase .sc-ux-flow-intro h3 { font-size: 20px; font-weight: 900; }
.showcase .sc-ux-flow-intro p { margin-top: 6px; color: var(--text-soft); font-size: 14px; }
@media (max-width: 760px) {
  .showcase .sc-immersion-media-grid,
  .showcase .sc-immersion-copy-grid { grid-template-columns: 1fr; }
  .showcase .sc-immersion-media-grid { gap: 16px; }
  .showcase .sc-immersion-photo .mslot { height: auto; }
  .showcase .sc-immersion-photo--ranking .mslot { aspect-ratio: 1148 / 685; }
  .showcase .sc-immersion-photo--market .mslot { width: min(100%, 250px); aspect-ratio: 317 / 521; }
  .showcase .sc-immersion-copy-grid { gap: 28px; margin: 20px 2px 42px; }
  .showcase .sc-immersion-copy,
  .showcase .sc-immersion-grid .sc-detail-card { min-height: 0; }
  .showcase .sc-immersion-copy h3 { font-size: 21px; }
  .showcase .sc-ux-improvement-grid { margin-bottom: 38px; }
  .showcase .sc-ux-improvement-grid { grid-template-columns: 1fr; }
  .showcase .sc-step-viewer__head { padding: 22px 20px 18px; }
  .showcase .sc-step-viewer__head h3 { font-size: 20px; }
  .showcase .sc-step-viewer__body { padding: 20px; }
  .showcase .sc-step-panel { grid-template-columns: 1fr; gap: 18px; }
  .showcase .sc-step-copy h4 { font-size: 21px; }
  .showcase .sc-step-viewer__controls { padding: 14px 20px; }
}
.showcase .terra-systems-grid .sc-detail-card { display: flex; flex-direction: column; }
.showcase .terra-systems-grid .sc-detail-media { flex: 0 0 auto; border-bottom: 1px solid var(--line); border-radius: 0; }
.showcase .terra-systems-grid .sc-detail-body { flex: 1; padding: 22px 24px 24px; }
.showcase .terra-systems-grid .sc-detail-body h3 { font-size: 19px; line-height: 1.4; }
.showcase .terra-systems-grid .sc-detail-body p { margin-top: 10px; font-size: 13.5px; line-height: 1.7; }
.showcase .terra-world-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 28px; }
.showcase .terra-world-card { position: relative; overflow: visible; }
.showcase .terra-world-card:not(:last-child)::after { content: '→'; position: absolute; z-index: 1; top: 50%; right: -31px; width: 24px; height: 24px; border: 1px solid var(--sc-blue); border-radius: 50%; background: #fff; color: var(--sc-blue); font-size: 17px; line-height: 21px; text-align: center; transform: translateY(-50%); }
.showcase .terra-world-card .sc-detail-body { padding: 20px 20px 22px; }
.showcase .terra-world-card__head { position: relative; min-height: 74px; padding-right: 54px; }
.showcase .terra-world-card__step { display: block; color: var(--sc-blue); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.showcase .terra-world-card__planet { display: block; margin-top: 8px; color: var(--sc-blue); font-family: "Paperlogy", var(--font-body); font-size: 19px; font-weight: 700; letter-spacing: .02em; }
.showcase .terra-world-card__orb { position: absolute; top: 0; right: 2px; width: 48px; height: 48px; border-radius: 50%; background: radial-gradient(ellipse at 30% 38%, #73af6c 0 14%, transparent 15%), radial-gradient(ellipse at 68% 60%, #4b9360 0 13%, transparent 14%), radial-gradient(ellipse at 58% 23%, #87bd70 0 8%, transparent 9%), radial-gradient(ellipse at 27% 25%, rgba(255, 255, 255, .7) 0 7%, transparent 8%), linear-gradient(145deg, #a8d9e8, #246897); box-shadow: inset -7px -6px 12px rgba(16, 63, 106, .24), 0 5px 16px rgba(38, 102, 157, .2); }
.showcase .terra-world-card__orb::before { content: ''; position: absolute; top: 15px; left: -8px; width: 64px; height: 20px; border: 1px solid rgba(36, 105, 236, .28); border-radius: 50%; transform: rotate(-16deg); }
.showcase .terra-world-card__orb::after { content: ''; position: absolute; top: 10px; left: -4px; width: 56px; height: 28px; border: 1px solid rgba(36, 105, 236, .16); border-radius: 50%; transform: rotate(-16deg); }
.showcase .terra-world-card__planet--luna + .terra-world-card__orb { background: radial-gradient(circle at 35% 30%, #fff 0 8%, transparent 9%), radial-gradient(circle at 68% 58%, rgba(120, 126, 143, .2) 0 12%, transparent 13%), linear-gradient(145deg, #f4f5f8, #c4cad8); box-shadow: 0 5px 16px rgba(103, 111, 132, .12); }
.showcase .terra-world-card__planet--sol + .terra-world-card__orb { background: radial-gradient(circle at 35% 30%, #fff4c8 0 8%, transparent 9%), linear-gradient(145deg, #ffe9a5, #f3b94f); box-shadow: 0 5px 18px rgba(237, 177, 52, .25); }
.showcase .terra-world-card__rule { display: block; margin-top: 2px; color: var(--sc-blue); font-size: 22px; line-height: 1; }
.showcase .terra-world-card h3 { margin-top: 12px; font-size: 16px; line-height: 1.45; }
.showcase .terra-world-card p { margin-top: 12px; font-size: 13px; line-height: 1.75; }
.showcase .terra-overview-layout { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr); gap: 44px; align-items: stretch; margin-top: 30px; }
.showcase .terra-overview-list { display: flex; flex-direction: column; justify-content: center; }
.showcase .terra-overview-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.showcase .terra-overview-item:first-child { padding-top: 0; }
.showcase .terra-overview-item:last-child { padding-bottom: 0; border-bottom: 0; }
.showcase .terra-overview-item p { color: var(--text-soft); font-size: 13.5px; line-height: 1.65; }
.showcase .terra-overview-item strong { color: var(--text); }
.showcase .terra-overview-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 12px; background: var(--sc-blue-mist); color: var(--sc-blue); }
.showcase .terra-overview-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.showcase .terra-overview-journey { min-width: 0; padding: 24px 22px 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 12px 28px rgba(15, 23, 42, .06); }
.showcase .terra-overview-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.showcase .terra-overview-step { position: relative; min-width: 0; text-align: center; }
.showcase .terra-overview-step:not(:last-child)::after { content: '›'; position: absolute; top: 9px; right: -5px; color: var(--text); font-size: 24px; font-weight: 300; }
.showcase .terra-overview-step__icon { display: grid; width: 38px; height: 38px; margin: 0 auto; place-items: center; border-radius: 50%; background: var(--sc-blue-mist); color: var(--sc-blue); font-size: 21px; font-weight: 700; line-height: 1; }
.showcase .terra-overview-step h3 { margin-top: 9px; font-size: 13.5px; line-height: 1.35; }
.showcase .terra-overview-step p { margin-top: 6px; color: var(--text-soft); font-size: 10.5px; line-height: 1.5; }
.showcase .terra-overview-route { display: grid; grid-template-columns: auto minmax(54px, 1fr) auto; gap: 14px; align-items: center; margin-top: 25px; }
.showcase .terra-overview-planet { display: flex; min-width: 88px; flex-direction: column; align-items: center; text-align: center; }
.showcase .terra-overview-planet__orb { position: relative; display: block; width: 76px; height: 76px; overflow: visible; border-radius: 50%; background: radial-gradient(ellipse at 29% 38%, #73af6c 0 14%, transparent 15%), radial-gradient(ellipse at 68% 60%, #4b9360 0 13%, transparent 14%), radial-gradient(ellipse at 58% 23%, #87bd70 0 8%, transparent 9%), radial-gradient(ellipse at 27% 25%, rgba(255, 255, 255, .72) 0 7%, transparent 8%), linear-gradient(145deg, #a8d9e8, #246897); box-shadow: inset -10px -8px 18px rgba(16, 63, 106, .24), 0 8px 18px rgba(38, 99, 157, .2); }
.showcase .terra-overview-planet__orb::before { content: ''; position: absolute; top: 27px; left: -10px; width: 96px; height: 24px; border: 1px solid rgba(36, 105, 236, .44); border-radius: 50%; transform: rotate(-9deg); }
.showcase .terra-overview-planet--luna .terra-overview-planet__orb { background: radial-gradient(circle at 35% 27%, #fff 0 7%, transparent 8%), radial-gradient(circle at 62% 58%, rgba(120, 126, 143, .2) 0 14%, transparent 15%), linear-gradient(145deg, #f1f2f5, #bdc5d3); box-shadow: inset -9px -8px 16px rgba(91, 101, 119, .18), 0 8px 18px rgba(103, 111, 132, .12); }
.showcase .terra-overview-planet strong { margin-top: 9px; font-family: "Paperlogy", var(--font-body); font-size: 15px; }
.showcase .terra-overview-planet small { margin-top: 2px; color: var(--sc-blue); font-size: 10.5px; }
.showcase .terra-overview-route__line { display: flex; min-width: 0; align-items: center; gap: 7px; color: var(--sc-blue); }
.showcase .terra-overview-route__line span { flex: 0 0 16px; height: 16px; border: 1px solid var(--sc-blue); border-radius: 50%; background: var(--sc-blue-mist); }
.showcase .terra-overview-route__line i { flex: 1 1 auto; min-width: 10px; border-top: 1px dashed var(--sc-blue); }
.showcase .terra-overview-route__line b { flex: 0 0 12px; width: 12px; height: 12px; border-top: 2px solid var(--sc-blue); border-right: 2px solid var(--sc-blue); transform: rotate(45deg); }
.showcase .terra-overview-callout { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 15px 20px; border: 1px solid #bfd2ff; border-left: 5px solid var(--sc-blue); border-radius: 9px; background: linear-gradient(90deg, #f7faff, #fff); color: var(--sc-blue); }
.showcase .terra-overview-callout > span { font-size: 23px; line-height: 1; }
.showcase .terra-overview-callout strong { font-size: 15px; line-height: 1.5; }
.showcase .sc-compare { position: relative; aspect-ratio: 2/1; overflow: hidden; background: var(--sc-card-bg); }
.showcase .sc-compare__layer { position: absolute; inset: 0; }
.showcase .sc-compare__layer .mslot { height: 100%; }
.showcase .sc-compare__before { z-index: 2; clip-path: inset(0 calc(100% - var(--compare)) 0 0); }
.showcase .sc-compare__before .ph { background: repeating-linear-gradient(45deg, #eef1ff 0 12px, #f8f9ff 12px 24px); }
.showcase .sc-compare__after .ph { background: repeating-linear-gradient(135deg, #e8effe 0 12px, #f8f9fc 12px 24px); }
.showcase .sc-compare__divider {
  position: absolute; top: 0; bottom: 0; left: var(--compare); z-index: 3;
  width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none;
  box-shadow: 0 0 0 1px rgba(18, 20, 28, .12);
}
.showcase .sc-compare__divider span {
  position: absolute; left: 50%; top: 50%; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%; background: var(--sc-blue); color: #fff;
  font-size: 17px; font-weight: 700; transform: translate(-50%, -50%); box-shadow: 0 8px 20px rgba(37, 99, 235, .28);
}
.showcase .sc-compare__label {
  position: absolute; top: 12px; z-index: 3; padding: 5px 9px; border-radius: 999px;
  background: rgba(18, 20, 28, .72); color: #fff; font-size: 10.5px; font-weight: 700;
  pointer-events: none;
}
.showcase .sc-compare__label--before { left: 12px; }
.showcase .sc-compare__label--after { right: 12px; }
.showcase .sc-compare__range {
  position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; touch-action: pan-y;
}
.showcase .sc-compare:focus-within .sc-compare__divider span { outline: 3px solid #fff; outline-offset: 2px; }
.showcase .sc-detail-body { padding: 20px 22px; }
.showcase .sc-detail-body h3 { font-size: 16px; font-weight: 700; }
.showcase .sc-detail-body p { margin-top: 6px; font-size: 13.5px; color: var(--text-soft); }
.showcase .sc-detail-body .tag { display: inline-block; font-size: 11px; color: var(--sc-blue); font-weight: 700; margin-bottom: 8px; letter-spacing: .04em; }
.showcase .sc-detail-extra { margin-top: 24px; font-size: 13.5px; color: var(--text-soft); text-align: center; }

/* ---- Planner's Desk showcase ---- */
.showcase .sc-narrative { max-width: 900px; }
.showcase .sc-narrative p { color: var(--text-soft); font-size: 16px; }
.showcase .sc-narrative p + p { margin-top: 26px; }
.showcase .sc-rich-copy { max-width: 900px; color: var(--text-soft); font-size: 16px; line-height: 1.85; }
.showcase .sc-rich-copy p + p { margin-top: 22px; }
.showcase .sc-rich-copy strong { color: var(--text); }
.showcase #terra-solution .sc-head { margin-bottom: 22px; }
.showcase #terra-solution .sc-narrative p + p { margin-top: 16px; }
.showcase .sc-result-summary-grid { margin-top: 4px; }
.showcase .terra-result-learning { grid-column: 1 / -1; }
.showcase .sc-result-cycle { margin-top: 16px !important; color: var(--text) !important; font-size: 17px !important; font-weight: 700; line-height: 1.7; }
.showcase .sc-result-next { max-width: 900px; margin: 32px auto 0; padding-top: 22px; border-top: 1px solid var(--line); }
.showcase .sc-result-next .tag { display: inline-block; margin-bottom: 8px; color: var(--sc-blue); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.showcase .sc-result-next h3 { font-size: 20px; font-weight: 700; }
.showcase .sc-result-next p { color: var(--text-soft); font-size: 14px; line-height: 1.8; }
.showcase .sc-result-next p b { color: var(--text); }
.showcase .sc-concept-grid { margin-top: 24px; }
.showcase .sc-concept-chatbot { grid-column: 1 / -1; }
.showcase .sc-site-operation { margin-top: 28px; }
.showcase .sc-timeline { max-width: 900px; margin: 0; padding: 0; list-style: none; }
.showcase .sc-timeline li { position: relative; display: grid; grid-template-columns: 88px 1fr; gap: 24px; padding: 0 0 30px 22px; border-left: 2px solid var(--line); }
.showcase .sc-timeline li::before { content: ''; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--sc-blue); box-shadow: 0 0 0 4px var(--sc-blue-mist); }
.showcase .sc-timeline li:last-child { padding-bottom: 0; }
.showcase .sc-timeline-day { font-family: "Paperlogy", var(--font-body); color: var(--sc-blue); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.showcase .sc-timeline h3 { font-size: 17px; font-weight: 900; }
.showcase .sc-timeline p { margin-top: 6px; color: var(--text-soft); font-size: 13.5px; }
.showcase .sc-workflow-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 76px; max-width: 1100px; margin: 6px auto 0; padding: 0; list-style: none; }
.showcase .sc-workflow-card { position: relative; display: grid; grid-template-columns: 68px 1fr; gap: 20px; align-items: start; min-height: 152px; padding: 28px 30px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 10px 24px rgba(15, 23, 42, .05); }
.showcase .sc-workflow-card:nth-child(1)::after,
.showcase .sc-workflow-card:nth-child(3)::after { content: '→'; position: absolute; top: 50%; right: -54px; color: var(--sc-blue); font-size: 38px; font-weight: 300; line-height: 1; transform: translateY(-58%); }
.showcase .sc-workflow-card:nth-child(2)::after { content: '↙'; position: absolute; left: -48px; bottom: -40px; color: var(--sc-blue); font-size: 38px; font-weight: 300; line-height: 1; }
.showcase .sc-workflow-number { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: var(--sc-blue); color: #fff; font-family: "Paperlogy", var(--font-body); font-size: 22px; font-weight: 800; }
.showcase .sc-workflow-card h3 { font-size: clamp(16px, 1.45vw, 20px); font-weight: 900; line-height: 1.35; }
.showcase .sc-workflow-card p { margin-top: 12px; color: var(--text-soft); font-size: 14px; line-height: 1.75; }
.showcase .sc-workflow-rolebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; max-width: 1100px; margin: 40px auto 0; padding: 24px 34px; border: 1px solid var(--line); border-radius: 18px; background: var(--sc-blue-mist); }
.showcase .sc-workflow-role { display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: center; padding: 0 28px; }
.showcase .sc-workflow-role + .sc-workflow-role { border-left: 1px solid var(--line); }
.showcase .sc-workflow-role-icon { display: grid; width: 56px; height: 56px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--sc-blue); }
.showcase .sc-workflow-role-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }
.showcase .sc-workflow-role h3 { font-size: 18px; font-weight: 900; }
.showcase .sc-workflow-role p { margin-top: 6px; color: var(--text-soft); font-size: 14px; line-height: 1.6; }
@media (max-width: 760px) {
  .showcase .terra-overview-layout { grid-template-columns: 1fr; gap: 22px; }
  .showcase .terra-overview-journey { padding: 20px 14px; }
  .showcase .terra-overview-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; }
  .showcase .terra-overview-step:not(:last-child)::after { display: none; }
  .showcase .terra-overview-route { gap: 8px; }
  .showcase .terra-overview-planet { min-width: 76px; }
  .showcase .terra-overview-planet__orb { width: 62px; height: 62px; }
  .showcase .terra-overview-planet__orb::before { top: 22px; left: -8px; width: 78px; height: 20px; }
  .showcase .terra-overview-callout { align-items: flex-start; padding: 14px 16px; }
  .showcase .terra-overview-callout strong { font-size: 13px; }
  .showcase .terra-world-grid { grid-template-columns: 1fr; gap: 18px; }
  .showcase .terra-world-card:not(:last-child)::after { top: auto; right: auto; bottom: -22px; left: 50%; content: '↓'; transform: translateX(-50%); }
  .showcase .sc-workflow-grid { grid-template-columns: 1fr; gap: 20px; }
  .showcase .sc-workflow-card::after { display: none; }
  .showcase .sc-workflow-rolebar { grid-template-columns: 1fr; gap: 22px; padding: 24px; }
  .showcase .sc-workflow-role { padding: 0; }
  .showcase .sc-workflow-role + .sc-workflow-role { padding-top: 22px; border-top: 1px solid var(--line); border-left: 0; }
}
.showcase .sc-site-compare { max-width: 820px; margin-top: 40px; }
.showcase .sc-foot-lede b { color: var(--text); }
@media (max-width: 560px) {
  .showcase .sc-timeline li { grid-template-columns: 1fr; gap: 6px; padding-left: 18px; }
}

/* ---- validation strip ---- */
.showcase .sc-valid-strip { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.showcase .sc-valid-badge { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 22px; text-align: center; min-width: 150px; }
.showcase .sc-valid-badge .n { font-size: 24px; font-weight: 700; color: var(--sc-blue); }
.showcase .sc-valid-badge .l { font-size: 12.5px; color: var(--text-soft); margin-top: 2px; }
.showcase .sc-valid-line { max-width: 760px; margin: 24px auto 0; padding: 16px 22px; border: 1px solid color-mix(in srgb, var(--sc-blue) 24%, var(--line)); border-left: 4px solid var(--sc-blue); border-radius: 12px; background: color-mix(in srgb, var(--sc-blue) 8%, var(--bg-soft)); color: var(--text-soft); font-size: 15px; line-height: 1.75; text-align: center; word-break: keep-all; }
.showcase .sc-valid-line b { color: var(--text); }

/* ---- footer cta ---- */
.showcase .sc-foot { padding: 72px 0 96px; text-align: center; }
.showcase .sc-foot h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 900; }
.showcase .sc-foot p { color: var(--text-soft); margin-top: 10px; }
.showcase .sc-foot-actions { display: flex; justify-content: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
/* ---- scroll reveal ---- */
.showcase .reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.showcase .reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .showcase .reveal { opacity: 1; transform: none; transition: none; }
  .showcase .sc-doc-preview img { transition: none; }
  .showcase .sc-slider__slide { transition: none; }
}

@media (min-width: 1024px) {
  .article--showcase > .project-info-trigger { display: none; }
  .article--showcase > .showcase-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 0; align-items: start; }
  .article--showcase > .showcase-detail-layout > #showcaseBody { grid-column: 1; }
  .article--showcase > .showcase-detail-layout > .project-info-panel { display: block; grid-column: 2; width: 180px; }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .article--showcase { --wide: min(48rem, calc(100vw - 376px)); }
  .article--showcase > .showcase-detail-layout > .project-info-panel { width: 164px; margin-left: 16px; }
}

@media (min-width: 1280px) and (max-width: 1839px) {
  .article--showcase { --wide: 48rem; }
  .article--showcase > .showcase-detail-layout > .project-info-panel { margin-left: 72px; }
}

@media (min-width: 1840px) {
  .article--showcase { --wide: 72rem; }
  .article--showcase > .showcase-detail-layout > .project-info-panel { margin-left: 160px; }
}

@media (max-width: 1023px) {
  .article--showcase > .project-info-trigger { grid-column: 1 / -1; justify-self: stretch; width: calc(100% - 56px); max-width: 1160px; min-height: 44px; margin: 0 auto 18px; padding: 0 16px; font-size: 14px; }
  .project-info-dialog { width: min(100%, 680px); max-width: none; max-height: min(82vh, 680px); margin: auto auto 0; padding: 0; border: 0; border-radius: 20px 20px 0 0; background: transparent; }
  .project-info-dialog[open] { display: block; }
  .project-info-dialog::backdrop { background: rgba(15, 23, 42, .42); }
  .project-info-dialog__sheet { max-height: inherit; overflow: auto; padding: 18px 20px 28px; border-radius: 20px 20px 0 0; background: var(--bg-raised); }
  .project-info-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
  .project-info-dialog__head h2 { margin: 0; font-size: 18px; font-weight: 900; }
  .project-info-dialog__head button { width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--bg-raised); color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; }
  .project-info-panel--dialog { position: static; padding: 0; border: 0; box-shadow: none; }
  .project-info-panel--dialog .project-info-panel__links a { min-height: 44px; font-size: 13px; }
}

@media (max-width: 600px) {
  .article--showcase > .article__back { margin-bottom: 1rem; padding: 0 20px; }
  .article--showcase > .project-info-trigger { width: calc(100% - 40px); margin-bottom: 10px; }
  .showcase .sc-wrap { padding: 0 20px; }
}
