/* ==========================================================================
   06 HOW WE WORK: DELIVERY LIFECYCLE PIPELINE (Sec06.png ~98% Parity)
   ========================================================================== */
#how {
  position: relative;
  height: 240vh;
  border-bottom: 1px solid var(--dv2-line-strong);
  background: transparent;
  /* clip 保留視覺裁切，同時避免建立會攔截 sticky 的捲動容器。 */
  overflow: clip;
}
.how-pin {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0 28px;
  z-index: 10;
}
.how-container {
  position: relative;
}

/* Marginal Technical HUD Watermarks */
.how-watermark-left-top {
  position: absolute;
  top: 84px;
  left: 28px;
  font-family: var(--font-hud, 'Rajdhani', sans-serif);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  color: #64748b;
  pointer-events: none;
  z-index: 2;
}
.how-watermark-left-bottom {
  position: absolute;
  bottom: 24px;
  left: 28px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  color: #64748b;
  pointer-events: none;
  z-index: 2;
}
.how-watermark-right-mid {
  position: absolute;
  top: 38%;
  right: 28px;
  font-family: var(--font-hud, 'Rajdhani', sans-serif);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  color: #64748b;
  text-align: right;
  pointer-events: none;
  z-index: 2;
}
.how-watermark-right-bottom {
  position: absolute;
  bottom: 24px;
  right: 28px;
  font-family: var(--font-hud, 'Rajdhani', sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  color: #64748b;
  text-align: right;
  pointer-events: none;
  z-index: 2;
}
.how-watermark-right-bottom .wm-right-dash {
  color: #0077ff;
  font-size: 14px;
  margin-top: 4px;
}

.how-watermark-left-top,
.how-watermark-left-bottom,
.how-watermark-right-mid,
.how-watermark-right-bottom {
  opacity: var(--sec06-t, 0);
  will-change: opacity;
}

/* Section Header Row */
.how-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 26px;
}
.how-eyebrow-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.how-title {
  margin: 0 0 6px;
}
.how-subhead {
  font-family: var(--font-hud, 'Rajdhani', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

/* Telemetry Stages Indicator */
.how-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.how-stages-status {
  font-family: var(--font-hud, 'Rajdhani', sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #0077ff;
}
.how-progress-track {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 148px;
  gap: 7px;
}
.track-line {
  position: static;
  width: 100%;
  height: 1px;
  background: rgba(0, 140, 255, 0.35);
  transform: none;
}
.track-diamonds {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
}
.track-diamond {
  font-size: 11px;
  line-height: 1;
  color: #cbd5e1;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.track-diamond.lit {
  color: #0099ff;
  text-shadow: 0 0 6px rgba(0, 150, 255, 0.7);
}

/* 5 Pipeline Stage Cards */
.how-staggered-path {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
  margin-top: 10px;
}
.how-stage-card {
  border-width: 1px;
  border-style: solid;
  padding: 18px 16px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    opacity 0.3s ease-out,
    transform 0.62s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out);
  cursor: pointer;
  position: relative;
}
.how-stage-card[data-arrived="0"] {
  opacity: 0;
  transform: translate3d(180px, 0, 0) scale(0.97);
  pointer-events: none;
}
.how-stage-card[data-arrived="1"] {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}
.how-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.how-step-num {
  font-family: var(--font-hud, 'Rajdhani', sans-serif);
  font-size: 11px;
  font-weight: 700;
  color: #08172e;
  letter-spacing: 0.12em;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.how-step-tag {
  font-family: var(--font-hud, 'Rajdhani', sans-serif);
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.12em;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Graphic Badges */
.how-card-badge {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0 14px;
  position: relative;
}
.badge-diamond-box {
  width: 58px;
  height: 58px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, rgba(235, 245, 255, 0.9), rgba(215, 235, 255, 0.6));
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border: 1px solid rgba(0, 140, 255, 0.35);
  box-shadow: 0 4px 16px rgba(0, 100, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  transition:
    background-size 0.35s var(--ease-out),
    border-color 0.3s ease,
    border-radius 0.35s var(--ease-out),
    box-shadow 0.3s ease;
}
.badge-icon-svg {
  --badge-hover-scale: 2.1;
  width: 32px;
  height: 32px;
  transform: rotate(-45deg) scale(1);
  transform-origin: center;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}
.badge-poc-svg {
  --badge-hover-scale: 1.72;
  width: 44px;
  height: 44px;
}
.how-stage-card[data-arrived="1"]:where(:hover, :focus-visible) .badge-diamond-box {
  background-size: 0 0;
  border-color: transparent;
  border-radius: 50%;
  box-shadow: none;
}
.how-stage-card[data-arrived="1"]:where(:hover, :focus-visible) .badge-icon-svg {
  transform: rotate(-45deg) scale(var(--badge-hover-scale));
  filter: drop-shadow(0 6px 14px rgba(0, 120, 255, 0.35));
}

.how-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.how-stage-title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: #08172e;
  margin: 0 0 8px;
  line-height: 1.35;
}
.how-stage-body {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}
.how-card-divider {
  height: 1px;
  background: rgba(203, 213, 225, 0.6);
  margin: 14px 0 10px;
  transition: background-color 0.3s ease;
}
.how-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.how-stage-out {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: var(--dv2-font-weight-supporting, 500);
  color: #64748b;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.how-stage-idx {
  font-family: var(--font-hud, 'Rajdhani', sans-serif);
  font-size: 13px;
  font-weight: 700;
  color: #94a3b8;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.how-stage-card[data-arrived="1"]:where(:hover, :focus-visible) .how-step-num,
.how-stage-card[data-arrived="1"]:where(:hover, :focus-visible) .how-step-tag,
.how-stage-card[data-arrived="1"]:where(:hover, :focus-visible) .how-stage-out,
.how-stage-card[data-arrived="1"]:where(:hover, :focus-visible) .how-stage-idx {
  color: #0077ff;
  text-shadow: 0 0 12px rgba(0, 119, 255, 0.18);
}
.how-stage-card[data-arrived="1"]:where(:hover, :focus-visible) .how-stage-out {
  font-weight: 700;
}
.how-stage-card[data-arrived="1"]:where(:hover, :focus-visible) .how-card-divider {
  background: rgba(0, 150, 255, 0.3);
}

/* Bottom Clarification Strip */
.how-bottom-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  color: #64748b;
}
.how-bottom-left, .how-bottom-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.strip-diamond {
  color: #0088ff;
  font-size: 12px;
}
.strip-line {
  display: inline-block;
  width: 32px;
  height: 1.5px;
  background: #0088ff;
}
