.service-stage-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--reference-foreground);
  background: var(--reference-background);
}

.service-stage-section .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.service-stage-section .service-stage-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: clamp(36px, 4vw, 64px);
  align-items: end;
  background: none;
}

.service-stage-intro > div { min-width: 0; }
.service-stage-section .service-stage-intro h2 {
  margin: 0;
  color: var(--reference-primary-deep);
  font-family: var(--serif);
  font-size: var(--type-section);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: .005em;
}
.service-stage-section .service-stage-intro > p {
  max-width: 540px;
  margin: 0 0 5px;
  color: var(--reference-muted-foreground);
  font-size: var(--type-body);
  line-height: 2;
}
.service-stage-section .service-intro__compact,
.scene-copy__compact,
.scene-copy__compact-title,
.scene-details__brief,
.service-switcher button .service-tab__compact-label { display: none; }

.service-console {
  overflow: hidden;
  border: 1px solid var(--reference-border);
  background: var(--reference-card);
}
.service-switcher {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--reference-border);
  background: var(--reference-card);
}
.service-switcher button {
  appearance: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 80px;
  padding: 16px clamp(12px, 1.5vw, 24px);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  color: var(--reference-muted-foreground);
  background: transparent;
  text-align: center;
  cursor: pointer;
  transition: color .3s ease, background-color .3s ease;
}
.service-switcher button + button::before {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 1px;
  background: var(--reference-border);
  content: "";
}
.service-switcher button:hover { color: var(--reference-primary); }
.service-switcher button:focus-visible {
  z-index: 2;
  outline: 2px solid var(--reference-primary);
  outline-offset: -3px;
}
.service-switcher button.is-active { color: var(--reference-primary); }
.service-switcher button span {
  display: block;
  font-family: var(--serif);
  font-size: var(--type-body);
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.55;
}
.tab-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--reference-primary);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
}
.service-switcher button.is-active .tab-progress { opacity: 1; }
.service-stage { position: relative; isolation: isolate; }
.service-stage__viewport { position: relative; display: grid; overflow: hidden; }
.service-scene {
  position: relative;
  isolation: isolate;
  z-index: 0;
  grid-area: 1 / 1;
  display: none;
  grid-template-columns: minmax(390px, 48%) minmax(0, 52%);
  min-height: 620px;
  visibility: hidden;
  background: var(--v13-surface, #fffefa);
  transform: translate3d(105%, 0, 0);
  will-change: transform;
}
.service-scene.is-active {
  display: grid;
  z-index: 2;
  visibility: visible;
  transform: translate3d(0, 0, 0);
}
.service-scene.is-entering,
.service-scene.is-leaving { display: grid; visibility: visible; }
.service-scene.is-entering { z-index: 3; }
.service-scene.is-leaving { z-index: 2; }

.service-stage-section .scene-copy {
  position: relative;
  z-index: 4;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 4vw, 60px) clamp(32px, 3.7vw, 58px);
  background: transparent;
  will-change: transform, opacity;
}
.service-stage-section .scene-copy::after { content: none; }
.scene-copy__eyebrow {
  margin: 0 0 18px;
  color: var(--reference-gold-text);
  font-size: var(--type-ui);
  letter-spacing: .2em;
}
.service-scene--platform .scene-copy__eyebrow { display: none; }
.scene-copy h3 {
  margin: 0 0 22px;
  color: var(--reference-primary-deep);
  font-family: var(--serif);
  font-size: var(--type-feature);
  font-weight: 500;
  line-height: 1.36;
  letter-spacing: .005em;
}
.scene-copy__summary {
  max-width: 570px;
  margin: 0;
  color: var(--reference-muted-foreground);
  font-size: var(--type-body);
  line-height: 1.92;
}
.scene-details { order: 2; }
.scene-details > summary { display: none; }
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  margin: 24px 0 20px;
  padding: 0;
  list-style: none;
}
.service-list li {
  position: relative;
  padding: 10px 0 10px 12px;
  border-bottom: 1px solid rgba(10, 42, 107, .1);
  color: var(--reference-muted-foreground);
  font-size: 14px;
  line-height: 1.65;
}
.service-list li::before {
  position: absolute;
  top: 20px;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--reference-gold);
  content: "";
}
.scene-copy__scope {
  margin: 0;
  color: var(--reference-muted-foreground);
  font-size: 14px;
  line-height: 1.8;
}
.scene-copy__scope--ict { max-width: 520px; margin-top: 26px; }

/* The artwork belongs to the whole scene, not a separate right-hand card. */
.scene-evidence { position: relative; min-width: 0; overflow: hidden; }
.service-scene--platform .scene-evidence {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 24%;
}
.scene-evidence::before {
  position: absolute;
  z-index: 3;
  inset: 0;
  background: linear-gradient(90deg, #fffefa 0%, rgba(255, 254, 250, .98) 18%, rgba(255, 254, 250, .78) 35%, rgba(255, 254, 250, .14) 65%, rgba(255, 254, 250, 0) 100%);
  content: "";
  pointer-events: none;
}
.evidence-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}
.evidence-tint { display: none; }
.scene-evidence--fupin {
  background:
    radial-gradient(900px 480px at 80% -10%, #3b82f661, #0000 60%),
    radial-gradient(700px 380px at 10% 0, #10b98124, #0000 55%),
    linear-gradient(160deg, #0b1f4d 0%, #123078 52%, #1d4ed8 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 42%);
  mask-image: linear-gradient(90deg, transparent, #000 42%);
}
.scene-evidence--fupin .evidence-media { top: auto; height: 32%; object-fit: fill; }
.scene-evidence--shuzhi .evidence-media { object-position: 78% center; }
.scene-evidence--hangli .evidence-media { object-position: 50% center; }

.service-stage-section .project-brand {
  position: static;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  margin: 0 0 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--reference-primary-deep);
  background: transparent;
  box-shadow: none;
}
.service-stage-section .project-brand > img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.project-brand strong {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 650;
  line-height: 1.4;
}
.project-brand__symbol {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #fff;
  background: #416985;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}
.service-stage-section .result-caption {
  position: static;
  order: 3;
  align-self: flex-start;
  margin: 24px 0 0;
  padding: 0;
  border: 0;
  text-align: left;
}
.service-stage-section .result-caption a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
  min-height: 44px;
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  color: var(--reference-primary);
  background: transparent;
  box-shadow: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  text-shadow: none;
  text-decoration: none;
}
.service-stage-section .result-caption a:hover,
.service-stage-section .result-caption a:active,
.service-stage-section .result-caption a:focus-visible {
  color: var(--reference-primary-deep);
  background: transparent;
  box-shadow: none;
  border-color: currentColor;
}
.service-stage-section .result-caption a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.service-stage-section .result-caption__icon {
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 0;
  color: currentColor;
  background: transparent;
}
.result-caption__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scene-evidence--brief { display: grid; place-items: center; padding: clamp(32px, 3.7vw, 58px); }
.scene-evidence--brief::before { content: none; }
.delivery-brief { width: 100%; box-sizing: border-box; }
.delivery-brief > header {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  align-items: baseline;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(10, 42, 107, .16);
}
.delivery-brief > header p {
  margin: 0;
  color: var(--reference-gold-text);
  font-size: var(--type-ui);
  letter-spacing: .14em;
}
.delivery-brief > header h4 {
  margin: 0;
  color: var(--reference-primary-deep);
  font-family: var(--serif);
  font-size: var(--type-card);
  font-weight: 500;
  line-height: 1.45;
}
.delivery-brief__columns { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding-top: 30px; }
.delivery-brief__columns h5 {
  margin: 0 0 16px;
  color: var(--reference-primary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .12em;
}
.delivery-brief__columns :is(ul, ol) { margin: 0; padding: 0; list-style: none; }
.delivery-brief__columns li { display: flex; align-items: center; min-height: 46px; border-bottom: 1px solid rgba(10, 42, 107, .1); }
.delivery-brief__columns li span { color: var(--reference-primary-deep); font-size: 14px; }
.delivery-brief__step-index { display: none; }

@media (min-width: 821px) {
  #service-stage-panel-ict {
    --ict-title-size: clamp(36px, 3.2vw, 48px);
    --ict-body-size: 18px;
    --ict-direction-size: clamp(18px, 1.4vw, 22px);
    --ict-step-size: clamp(15px, 1.2vw, 18px);
    grid-template-columns: minmax(350px, 44%) minmax(0, 56%);
  }
  #service-stage-panel-ict .scene-copy__eyebrow {
    margin-bottom: 20px;
    font-size: 14px;
  }
  #service-stage-panel-ict .scene-copy__poetic {
    margin-bottom: 28px;
    font-size: var(--ict-title-size);
    line-height: 1.3;
    letter-spacing: -.02em;
  }
  #service-stage-panel-ict .scene-copy__summary {
    font-size: var(--ict-body-size);
    line-height: 1.85;
    text-wrap: pretty;
  }
  #service-stage-panel-ict .scene-copy__scope {
    margin-top: 28px;
    font-size: 16px;
    line-height: 1.8;
  }
  .service-stage-section #service-stage-panel-ict .result-caption { margin-top: 32px; }
  .service-stage-section #service-stage-panel-ict .result-caption a {
    min-height: 48px;
    font-size: 18px;
  }
  #service-stage-panel-ict .delivery-brief > header {
    display: block;
    padding-bottom: 24px;
  }
  #service-stage-panel-ict .delivery-brief > header p {
    margin-bottom: 12px;
    font-size: 14px;
  }
  #service-stage-panel-ict .delivery-brief > header h4 {
    font-size: clamp(24px, 1.8vw, 28px);
    line-height: 1.4;
  }
  #service-stage-panel-ict .delivery-brief__columns {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 28px;
  }
  #service-stage-panel-ict .delivery-brief__columns h5 {
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .06em;
  }
  #service-stage-panel-ict .delivery-brief__capabilities ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
  }
  #service-stage-panel-ict .delivery-brief__capabilities li { min-height: 64px; }
  #service-stage-panel-ict .delivery-brief__capabilities li span {
    font-size: var(--ict-direction-size);
    line-height: 1.5;
  }
  #service-stage-panel-ict .delivery-brief__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
  #service-stage-panel-ict .delivery-brief__steps li {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    min-height: 80px;
    border: 0;
  }
  #service-stage-panel-ict .delivery-brief__steps li::after {
    position: absolute;
    top: 8px;
    right: 0;
    left: 34px;
    height: 1px;
    background: var(--reference-border);
    content: "";
  }
  #service-stage-panel-ict .delivery-brief__steps li:last-child::after { content: none; }
  #service-stage-panel-ict .delivery-brief__steps .delivery-brief__step-index {
    display: block;
    color: var(--reference-gold-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    font-variant-numeric: tabular-nums;
  }
  #service-stage-panel-ict .delivery-brief__steps li > span:last-child {
    font-size: var(--ict-step-size);
    line-height: 1.65;
  }
}

@media (min-width: 821px) and (max-width: 1100px) {
  #service-stage-panel-ict { --ict-body-size: 17px; }
  #service-stage-panel-ict .scene-copy__scope { font-size: 15px; }
  #service-stage-panel-ict .delivery-brief__capabilities li { min-height: 56px; }
  #service-stage-panel-ict .delivery-brief__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 28px;
  }
  #service-stage-panel-ict .delivery-brief__steps li { min-height: 64px; }
  #service-stage-panel-ict .delivery-brief__steps li:nth-child(2)::after { content: none; }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .service-scene { grid-template-columns: minmax(350px, 50%) minmax(0, 50%); }
  .service-stage-section .scene-copy { padding-inline: 32px; }
  .delivery-brief > header { grid-template-columns: 1fr; gap: 10px; }
  .delivery-brief__columns { gap: 24px; }
}

@media (max-width: 820px) {
  .service-stage-section {
    --service-gutter: 20px;
    --service-left-gutter: max(var(--service-gutter), env(safe-area-inset-left));
    --service-right-gutter: max(var(--service-gutter), env(safe-area-inset-right));
  }
  .service-stage-section > .wrap,
  .service-stage-section .service-stage-intro {
    width: calc(100% - var(--service-left-gutter) - var(--service-right-gutter));
    margin-left: var(--service-left-gutter);
    margin-right: var(--service-right-gutter);
  }
  .service-stage-section .service-console { margin-inline: 0; box-shadow: none; }
  .service-stage-section .service-stage-intro { display: block; padding-top: 0; }
  .service-stage-section .service-stage-intro h2 { font-size: clamp(28px, 5.6vw, 36px); white-space: normal; }
  .service-stage-intro .section-kicker,
  .service-heading__tail,
  .service-stage-section .service-stage-intro > .v9-section-heading__lead,
  .service-switcher button .service-tab__full-label { display: none; }
  .service-stage-section .service-stage-intro > .service-intro__compact {
    display: block;
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.8;
  }
  .service-stage-section .services__intro { margin-bottom: 28px; }
  .service-switcher { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-switcher button { min-height: 60px; padding: 10px 8px; }
  .service-switcher button .service-tab__compact-label { display: block; font-family: var(--sans); font-size: 14px; }
  .service-switcher button:nth-child(odd)::before { display: none; }
  .service-switcher button:nth-child(n + 3) { border-top: 1px solid var(--reference-border); }
  .tab-progress { display: none; }
  .service-stage__viewport { height: auto; min-height: 0; }
  .service-scene { align-self: start; grid-template-columns: 1fr; min-height: 0; }
  .service-stage-section .scene-copy { min-height: 300px; justify-content: flex-start; padding: 28px 24px 20px; }
  .scene-copy__poetic,
  .scene-copy__eyebrow { display: none; }
  .service-stage-section .project-brand { margin-bottom: 14px; }
  .project-brand strong { font-size: 26px; }
  .scene-copy .scene-copy__compact-title { display: block; margin: 0 0 14px; font-family: var(--sans); font-size: 24px; font-weight: 600; }
  .scene-copy__compact { display: block; max-width: 440px; margin: 0; color: var(--reference-primary-deep); font-size: 16px; line-height: 1.8; }
  .service-stage-section .result-caption { order: 1; margin-top: 14px; }
  .service-stage-section .result-caption a { font-size: 16px; padding-inline: 0; }
  .scene-details { margin-top: 20px; border-top: 1px solid var(--reference-border); }
  .scene-details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    gap: 16px;
    color: var(--reference-primary);
    font-size: 14px;
    list-style: none;
    cursor: pointer;
  }
  .scene-details > summary::-webkit-details-marker { display: none; }
  .scene-details > summary::after { flex: 0 0 7px; width: 7px; height: 7px; margin-right: 3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; content: ""; transform: rotate(45deg); }
  .scene-details[open] > summary::after { transform: rotate(225deg); }
  .scene-details > summary:focus-visible { outline: 2px solid var(--reference-primary); outline-offset: 3px; }
  .scene-details__content { padding: 12px 0 4px; }
  .scene-copy__summary { font-size: 16px; line-height: 1.85; }
  .service-list { grid-template-columns: 1fr; margin: 18px 0; }
  .scene-copy__scope { font-size: 14px; }
  .scene-copy__scope--ict { margin-top: 18px; }
  .service-scene--platform .scene-evidence { inset: 0; opacity: .16; }
  .service-scene--platform .scene-evidence::before { background: linear-gradient(90deg, #fffefa 0%, rgba(255, 254, 250, .85) 38%, rgba(255, 254, 250, .1) 100%); }
  .service-stage-section[data-service-enhanced="true"] .scene-evidence--brief { display: none; }
  .scene-evidence--brief { padding: 24px; }
  .scene-details__brief { display: block; margin-top: 28px; }
  .delivery-brief > header { grid-template-columns: 1fr; gap: 8px; padding-bottom: 18px; }
  .delivery-brief > header h4 { font-size: 18px; }
  .delivery-brief__columns { gap: 18px; padding-top: 22px; }
  .delivery-brief__columns h5 { margin-bottom: 10px; font-size: 14px; }
}
@media (max-width: 359px) {
  .service-stage-section { --service-gutter: 16px; }
  .service-stage-section .scene-copy { padding-inline: 20px; }
  .service-switcher button .service-tab__compact-label { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .tab-progress { display: none; }
  .service-switcher button,
  .service-stage-section .result-caption a,
  .service-stage-section .result-caption__icon { transition: none; }
}
