:root {
  --network-bg: #f4f7fb;
  --network-bg-2: #ffffff;
  --network-text: #191f28;
  --network-muted: #5b6472;
  --network-muted-2: #8b95a1;
  --network-line: rgba(49, 130, 246, 0.16);
  --network-line-active: rgba(49, 130, 246, 0.98);
  --network-blue: #3182f6;
  --network-blue-deep: #1f6fe5;
  --network-blue-soft: #eaf3ff;
  --network-surface: rgba(255, 255, 255, 0.72);
  --network-border: rgba(25, 31, 40, 0.08);
  --network-shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.12);
  --network-shadow-md: 0 18px 48px rgba(15, 23, 42, 0.08);
  --network-radius-xl: 36px;
  --network-radius-lg: 28px;
}

.network-story {
  --network-pin-top: 96px;
  --bg-progress: 0;

  position: relative;
  overflow: clip;
  padding: 120px 20px 140px;

  background:
    radial-gradient(circle at 15% 10%, rgba(49,130,246,0.10), transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(49,130,246,0.08), transparent 28%),
    linear-gradient(
      180deg,
      #edf4fb 0%,
      #f2f6fb calc(40% + var(--bg-progress) * 20%),
      #ffffff calc(100% - var(--bg-progress) * 25%)
    );

  color: var(--network-text);
}

.network-story__bg {
  position: absolute;
  border-radius: 999px;
  filter: blur(72px);
  pointer-events: none;
  opacity: 0.7;
}

.network-story__bg--top {
  top: -220px;
  left: -140px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(49,130,246,0.18) 0%, rgba(49,130,246,0) 70%);
}

.network-story__bg--bottom {
  right: -160px;
  bottom: -180px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(49,130,246,0.14) 0%, rgba(49,130,246,0) 72%);
}

.network-story__intro,
.network-story__outro {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
}

.network-story__intro {
  margin-bottom: 72px;
}

.network-story__intro-inner,
.network-story__outro-inner {
  max-width: 1040px;
}


.network-story__headline {
  margin: 22px 0 0;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.network-story__lead {
  max-width: 760px;
  margin: 28px 0 0;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.8;
  letter-spacing: -0.02em;
  color: var(--network-muted);
  word-break: keep-all;
}

.network-story__pin-area {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  min-height: 430vh;
}

.network-story__pin-wrap {
  position: relative;
  height: calc(100vh - var(--network-pin-top));
}

.network-story__pin-wrap.is-fixed {
  position: fixed;
  top: var(--network-pin-top);
  z-index: 30;
}

.network-story__pin-wrap.is-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}

.network-story__stage {
  display: grid;
  grid-template-columns: minmax(460px, 1.05fr) minmax(320px, 0.95fr);
  gap: 72px;
  align-items: center;
  min-height: calc(100vh - var(--network-pin-top));
}

.network-story__visual-column {
  position: relative;
  align-self: stretch;
}

.network-story__visual-shell {
  position: relative;
  padding: 14px;
  border-radius: 42px;
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.48));
  box-shadow: var(--network-shadow-lg);
  border: 1px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(18px);
}

.network-story__visual-card {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  border-radius: 32px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(246,249,253,0.92) 100%);
  border: 1px solid var(--network-border);
}

.network-story__visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 16%, rgba(49,130,246,0.08), transparent 26%),
    radial-gradient(circle at 78% 78%, rgba(49,130,246,0.06), transparent 24%);
  pointer-events: none;
}

.network-story__visual-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.network-story__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(49,130,246,0.08);
  border: 1px solid rgba(49,130,246,0.12);
}

.network-story__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #003893;
}

.network-story__status-text {
  margin: 0;
  color: #003893;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.network-story__metric {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
}

.network-story__metric-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--network-muted-2);
}

.network-story__metric-value {
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: var(--network-text);
}

.network-story__map-zone {
  position: relative;
  z-index: 2;
  margin-top: 32px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.network-story__map-glow {
  position: absolute;
  inset: 8% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49,130,246,0.10) 0%, rgba(49,130,246,0) 65%);
  filter: blur(24px);
  pointer-events: none;
}

.network-story__map-shell {
  position: relative;
  width: min(100%, 560px);
  margin: 0 auto;
  aspect-ratio: 1 / 1.28;
  transform-origin: 50% 45%;
  will-change: transform, filter;
}

.network-story__map-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.95;
}

.network-story__network-svg {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: visible;
}

.network-base-line {
  fill: none;
  stroke: rgba(49,130,246,0.14);
  stroke-width: 0.55;
  stroke-linecap: round;
  stroke-dasharray: 2.4 2.2;
}

.network-path {
  fill: none;
  stroke: var(--network-line-active);
  stroke-width: 0.72;
  stroke-linecap: round;
  opacity: 0.14;
  filter: drop-shadow(0 0 6px rgba(49,130,246,0.32));
  transition: opacity 0.3s ease;
}

.network-trace {
  fill: rgba(49,130,246,0.98);
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(49,130,246,0.6));
}

.network-story__pin {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, -50%) scale(0.76);
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.24;
  transition:
    transform 0.45s ease,
    opacity 0.35s ease,
    filter 0.35s ease;
}

.network-story__pin::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49,130,246,0.18) 0%, rgba(49,130,246,0) 68%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.network-story__pin-core {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(180deg, #8bc0ff 0%, #3182f6 100%);
  border: 3px solid rgba(255,255,255,0.96);
  box-shadow:
    0 0 0 9px rgba(49,130,246,0.12),
    0 8px 16px rgba(49,130,246,0.24);
}

.network-story__pin-core::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(49,130,246,0.24);
}

.network-story__pin-label {
  position: absolute;
  top: 50%;
  left: calc(100% + 12px);
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
  color: rgba(25,31,40,0.88);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.network-story__pin:hover,
.network-story__pin:focus-visible {
  outline: none;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.02);
}

.network-story__pin:hover::before,
.network-story__pin:focus-visible::before {
  opacity: 1;
}

.network-story__pin:hover .network-story__pin-label,
.network-story__pin:focus-visible .network-story__pin-label {
  opacity: 1;
}

.pin-seoul { top: 23%; left: 42%; }
.pin-gyeonggi { top: 33%; left: 42%; }
.pin-daejeon { top: 48%; left: 42%; }
.pin-daegu { top: 45%; left: 65%; }
.pin-jeonju { top: 60%; left: 41%; }
.pin-busan { top: 56%; left: 65%; }

.network-story__quick-panel {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(25,31,40,0.06);
  box-shadow: var(--network-shadow-md);
}

.network-story__quick-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.network-story__quick-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--network-muted-2);
}

.network-story__quick-value {
  font-size: 15px;
  font-weight: 800;
  color: var(--network-text);
  text-align: right;
}

.network-story__copy-column {
  position: relative;
  padding-right: 6px;
}

.network-story__progress {
  position: absolute;
  top: 0;
  left: -14px;
  width: 3px;
  height: 100%;
  border-radius: 999px;
  background: rgba(49,130,246,0.10);
  overflow: hidden;
}

.network-story__progress-bar {
  width: 100%;
  height: 0%;
  border-radius: inherit;
  background: linear-gradient(180deg, #3182f6 0%, #77b2ff 100%);
  box-shadow: 0 0 18px rgba(49,130,246,0.35);
}

.network-story__step {
  position: relative;
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0 40px 20px;
  opacity: 0.14;
  transform: translateY(34px) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 0.42s ease,
    transform 0.42s ease,
    filter 0.42s ease;
}

.network-story__step::before {
  display: none;
}

.network-story__step.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.network-story__step.is-active::before {
  display: none;
}

.network-story__step-index {
  display: block;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 800;
  color: #003893;
  letter-spacing: 0.05em;
}

.network-story__step-kicker {
  margin-bottom: 14px;
  color: #003893;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.network-story__step-title {
  margin: 0;
  font-size: clamp(30px, 3.3vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.network-story__step-text {
  max-width: 540px;
  margin: 20px 0 0;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.9;
  color: var(--network-muted);
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.network-story__step-text strong {
  color: var(--network-text);
  font-weight: 800;
}

.network-story__outro {
  margin-top: 60px;
}

.network-story__outro-lead {
  margin: 0 0 16px;
  color: #111827;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.network-story__outro-title {
  margin: 0;
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.22;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.network-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.22, 1, .36, 1);
}

.network-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* STEP STATES */
.network-story[data-step="1"] .pin-seoul,
.network-story[data-step="2"] .pin-seoul,
.network-story[data-step="2"] .pin-gyeonggi,
.network-story[data-step="3"] .pin-seoul,
.network-story[data-step="3"] .pin-gyeonggi,
.network-story[data-step="3"] .pin-daejeon,
.network-story[data-step="4"] .network-story__pin {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.network-story[data-step="1"] .pin-seoul::before,
.network-story[data-step="2"] .pin-gyeonggi::before,
.network-story[data-step="3"] .pin-daejeon::before,
.network-story[data-step="4"] .pin-daegu::before,
.network-story[data-step="4"] .pin-busan::before,
.network-story[data-step="4"] .pin-jeonju::before,
.network-story[data-step="4"] .pin-seoul::before,
.network-story[data-step="4"] .pin-gyeonggi::before {
  opacity: 1;
}

.network-story[data-step="1"] .pin-seoul .network-story__pin-label,
.network-story[data-step="2"] .pin-gyeonggi .network-story__pin-label,
.network-story[data-step="3"] .pin-daejeon .network-story__pin-label,
.network-story[data-step="4"] .network-story__pin .network-story__pin-label {
  opacity: 1;
}

.network-story[data-step="1"] .path-seoul-daejeon,
.network-story[data-step="1"] .path-seoul-gyeonggi {
  opacity: 0.62;
}

.network-story[data-step="2"] .path-seoul-gyeonggi,
.network-story[data-step="2"] .path-seoul-daejeon {
  opacity: 0.92;
}

.network-story[data-step="3"] .path-seoul-gyeonggi,
.network-story[data-step="3"] .path-seoul-daejeon,
.network-story[data-step="3"] .path-daejeon-daegu {
  opacity: 1;
}

.network-story[data-step="4"] .network-path {
  opacity: 1;
}

.network-story[data-step="4"] .network-story__map-shell {
  filter: saturate(1.04) contrast(1.02);
}



@media (min-width: 1181px) {
  .network-story__pin-area {
    min-height: 440vh;
  }

  .network-story__pin-wrap {
    height: calc(100vh - var(--network-pin-top) - 16px);
  }

  .network-story__stage {
    gap: 56px;
    min-height: calc(100vh - var(--network-pin-top) - 16px);
    align-items: center;
  }

  .network-story__visual-column {
    transform: none;
  }

  .network-story__visual-shell {
    max-width: 700px;
    margin: 0 auto;
  }

  .network-story__visual-card {
    min-height: 620px;
    padding: 24px 24px 22px;
  }

  .network-story__map-zone {
    min-height: 390px;
    margin-top: 22px;
  }

  .network-story__map-shell {
    width: min(100%, 420px);
  }

  .network-story__copy-column {
    min-height: 560px;
    padding-right: 18px;
  }

  .network-story__step {
    position: absolute;
    top: 50%;
    left: 20px;
    right: 0;
    min-height: 0;
    width: auto;
    padding: 0;
    justify-content: flex-start;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateY(34px) scale(0.985);
    filter: blur(8px);
  }

  .network-story__step.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) translateY(0) scale(1);
    filter: blur(0);
  }

  .network-story__step::before {
    display: none;
  }

  .network-story__step.is-active::before {
    display: none;
  }

  .network-story__outro {
    margin-top: 180px;
  }

  .network-story__outro-inner {
    max-width: 1200px;
    padding-top: 40px;
  }

  .network-story__outro-title {
    max-width: 1180px;
    line-height: 1.16;
  }
}

@media (max-width: 1180px) {
  .network-story {
    padding: 100px 18px 120px;
  }

  .network-story__pin-area {
    min-height: auto;
  }

  .network-story__pin-wrap,
  .network-story__pin-wrap.is-fixed,
  .network-story__pin-wrap.is-bottom {
    position: relative;
    inset: auto;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto !important;
    height: auto;
  }

  .network-story__stage {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: auto;
  }

  .network-story__visual-card {
    min-height: auto;
  }

  .network-story__map-zone {
    min-height: auto;
  }

  .network-story__copy-column {
    padding-right: 0;
  }

  .network-story__progress {
    display: none;
  }

  .network-story__step {
    min-height: auto;
    padding: 22px 0 54px 0;
    opacity: 0;
    transform: translateY(36px);
    filter: blur(8px);
    transition:
      opacity 0.8s ease,
      transform 0.8s cubic-bezier(.22, 1, .36, 1),
      filter 0.8s ease;
  }

  .network-story__step.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }

  .network-story__step::before {
    display: none;
  }
}

@media (max-width: 767px) {
  .network-story {
    padding: 84px 16px 96px;
  }

  .network-story__intro {
    margin-bottom: 42px;
  }

  .network-story__headline {
    font-size: 42px;
    line-height: 1.12;
  }

  .network-story__lead {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.78;
  }

  .network-story__visual-shell {
    padding: 10px;
    border-radius: 28px;
  }

  .network-story__visual-card {
    padding: 18px 16px 20px;
    border-radius: 24px;
  }

  .network-story__visual-top {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .network-story__metric {
    align-items: flex-start;
    text-align: left;
  }

  .network-story__metric-value {
    font-size: 24px;
  }

  .network-story__map-shell {
    width: min(100%, 330px);
    transform: none !important;
  }

  .network-story__pin {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  .network-story__pin::before {
    width: 56px;
    height: 56px;
    opacity: 0.7;
  }

  .network-story__pin-core {
    width: 16px;
    height: 16px;
    border-width: 2px;
    box-shadow:
      0 0 0 6px rgba(49,130,246,0.12),
      0 6px 12px rgba(49,130,246,0.18);
  }

  .network-story__pin-core::after {
    width: 24px;
    height: 24px;
  }

  .network-story__pin-label {
    display: none;
  }

  .network-story__quick-panel {
    margin-top: 20px;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
  }

  .network-story__quick-row {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  .network-story__quick-value {
    text-align: left;
    font-size: 14px;
  }

  /* 모바일: 스토리텔링 영역 전체 숨김 — progress bar + 01~04 step 모두 포함.
     인트로 → 지도 → 아웃트로 3단으로 섹션 축약. (PC/태블릿 구조는 미변경) */
  .network-story__copy-column {
    display: none;
  }

  .network-story__stage {
    gap: 0;
  }

  .network-story__outro {
    margin-top: 28px;
  }

  .network-story__outro-lead {
    font-size: 15px;
  }

  .network-story__outro-title {
    font-size: 30px;
    line-height: 1.28;
  }
}

@media (prefers-reduced-motion: reduce) {
  .network-story__status-dot,
  .network-reveal,
  .network-story__pin,
  .network-story__pin::before,
  .network-story__pin-label,
  .network-story__step,
  .network-story__progress-bar,
  .network-path,
  .network-trace,
  .network-story__map-shell {
    animation: none !important;
    transition: none !important;
  }
}