/* M189: reference-faithful Noomo opening. The original phoenix and feather
   models are used for the visual sequence; the surrounding site structure
   remains the reviewed iPullRank-based homepage. */
@font-face {
  font-family: 'Zhuima Serif CN';
  src: url('/fonts/Zhuima-Serif-CN-Regular.woff2?v=m189-font-b') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Zhuima Serif CN';
  src: url('/fonts/Zhuima-Serif-CN-Medium.woff2?v=m189-font-b') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

#m187-story-entrance {
  height: 155svh;
  min-height: 1120px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, .92), transparent 20%),
    radial-gradient(circle at 15% 22%, rgba(255, 149, 199, .58), transparent 44%),
    radial-gradient(circle at 86% 80%, rgba(255, 129, 74, .42), transparent 46%),
    linear-gradient(125deg, #c7b8f2 0%, #f1d8e8 48%, #f7c7c5 100%);
  transition: background .35s linear;
}
#m187-story-entrance[data-m189-state="feather"],
#m187-story-entrance[data-m189-state="narrative"],
#m187-story-entrance[data-m189-state="handoff"] {
  background:
    radial-gradient(circle at 50% 46%, rgba(46, 41, 166, .85), transparent 23%),
    radial-gradient(circle at 50% 80%, rgba(255, 86, 86, .2), transparent 45%),
    linear-gradient(145deg, #17153f 0%, #04091e 72%, #070514 100%);
}

/* Remove the earlier horse interpretation from both the entrance and the
   handoff hero. The original platform icon layer is restored below. */
#m187-story-entrance .m187-herd-layer,
#m187-story-entrance .m187-story-line,
#m187-story-entrance .m188-opening-lockup,
#m187-story-entrance .m188-side-horse,
#m187-story-entrance .m188-runner-stage { display: none !important; }
#m187-story-entrance .m187-story-copy,
#m187-story-entrance .m187-audio-control,
#m187-story-entrance .m187-music-control,
#m187-story-entrance .m187-sound-control,
#m187-story-entrance .m187-color-control,
#m187-story-entrance .m187-scene-control,
#m187-story-entrance [class*="music"],
#m187-story-entrance [class*="audio"],
#m187-story-entrance [class*="sound"],
#m187-story-entrance [class*="color"] { display: none !important; }
#m174-business .m187-herd-ambient { display: none !important; }
#m174-business .hero-platform-network { opacity: 1 !important; visibility: visible !important; }

/* During the reference sequence the Shenzhen site chrome yields to a quiet,
   Noomo-like frame. It returns automatically when the handoff reaches the
   existing business hero below. */
body:has(#m187-story-entrance[data-m189-state="opening"]) .site-header,
body:has(#m187-story-entrance[data-m189-state="wordmark"]) .site-header,
body:has(#m187-story-entrance[data-m189-state="feather"]) .site-header,
body:has(#m187-story-entrance[data-m189-state="narrative"]) .site-header {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#m187-story-entrance::before,
#m187-story-entrance::after {
  position: absolute;
  z-index: 12;
  top: 36px;
  color: rgba(40, 31, 70, .9);
  pointer-events: none;
  transition: opacity .22s linear, color .22s linear;
}
#m187-story-entrance::before {
  left: clamp(28px, 5vw, 76px);
  content: '深圳追马网';
  font-family: 'Zhuima Serif CN', 'Noto Serif SC', serif;
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 500;
  letter-spacing: .12em;
}
#m187-story-entrance::after {
  right: clamp(28px, 5vw, 76px);
  content: '服务    案例    联系我们';
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(13px, 1.2vw, 17px);
  letter-spacing: .08em;
}
#m187-story-entrance[data-m189-state="handoff"]::before,
#m187-story-entrance[data-m189-state="handoff"]::after {
  opacity: 0;
}

.m189-noomo-canvas {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 1;
  mix-blend-mode: normal;
  transition: opacity .2s linear;
}

.m189-noomo-scene,
.m189-reference {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.m189-noomo-scene { z-index: 3; overflow: hidden; }
.m189-reference {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: opacity .12s linear, transform .12s linear;
  opacity: 0 !important;
}
.m189-reference-emerge {
  background-image: url('/noomo/noomo-emerge-clean.png');
  opacity: var(--m189-phoenix, 1);
  transform: scale(calc(1.02 + (1 - var(--m189-phoenix, 1)) * .08));
  filter: saturate(1.5) hue-rotate(-10deg) contrast(1.08);
}
.m189-reference-feather {
  background-image: url('/noomo/noomo-feather-clean.png');
  opacity: var(--m189-feather, 0);
  transform: translateY(calc((1 - var(--m189-feather, 0)) * 2%));
  filter: saturate(1.35) hue-rotate(-8deg) contrast(1.06);
}

.m189-noomo-copy,
.m189-wordmark {
  position: absolute;
  z-index: 9;
  left: 50%;
  pointer-events: none;
  text-align: center;
  transform: translate3d(-50%, -50%, 0);
}

.m189-noomo-copy {
  top: 46%;
  color: rgba(31, 28, 59, .84);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(34px, 4.5vw, 70px);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .96;
  text-shadow: 0 6px 20px rgba(255, 255, 255, .16);
  opacity: var(--m189-open-copy, 0);
}
.m189-noomo-copy { display: none; }
.m189-no-webgl .m189-reference-emerge { opacity: var(--m189-phoenix, 1) !important; }
.m189-no-webgl .m189-reference-feather { opacity: var(--m189-feather, 0) !important; }
.m189-noomo-copy span { display: block; }
.m189-noomo-copy em {
  display: block;
  margin-top: .06em;
  font-family: 'Zhuima Serif CN', serif;
  font-size: 1.18em;
  font-style: italic;
  letter-spacing: -.1em;
}

.m189-wordmark {
  top: 48%;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .13em;
  width: min(92vw, 920px);
  color: #fff;
  opacity: var(--m189-wordmark, 0);
  filter: blur(calc((1 - var(--m189-wordmark, 0)) * 11px));
  transform: translate3d(-50%, -50%, 0) scale(calc(.94 + var(--m189-wordmark, 0) * .06));
  transition: opacity .16s linear, filter .16s linear, transform .16s linear;
  text-shadow: 0 5px 28px rgba(255, 255, 255, .22);
  will-change: opacity, filter, transform;
}
.m189-wordmark span {
  display: inline;
  margin: 0;
  font-family: 'Zhuima Sans SC', 'Noto Sans SC', sans-serif;
  font-size: clamp(42px, 7.2vw, 108px);
  font-weight: 400;
  letter-spacing: -.075em;
  line-height: 1;
}
.m189-wordmark strong {
  display: inline;
  margin: 0;
  font-family: 'Zhuima Sans SC', 'Noto Sans SC', sans-serif;
  font-size: clamp(42px, 7.2vw, 108px);
  font-weight: 400;
  letter-spacing: -.075em;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 7px 26px rgba(161, 111, 151, .16);
}

.m189-noomo-vignette {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .75), transparent 20%),
    radial-gradient(circle at 12% 10%, rgba(255, 125, 187, .42), transparent 34%),
    radial-gradient(circle at 88% 90%, rgba(255, 128, 72, .34), transparent 38%);
  mix-blend-mode: screen;
  opacity: var(--m189-vignette, 1);
}

#m187-story-entrance .m187-story-copy { display: none !important; }

#m187-story-entrance[data-m189-state="opening"] .m189-reference-feather,
#m187-story-entrance[data-m189-state="wordmark"] .m189-reference-feather { opacity: 0 !important; }
#m187-story-entrance[data-m189-state="feather"] .m189-reference-emerge,
#m187-story-entrance[data-m189-state="narrative"] .m189-reference-emerge,
#m187-story-entrance[data-m189-state="handoff"] .m189-reference-emerge { opacity: 0 !important; }

body:has(#m187-story-entrance[data-m189-state="opening"]) .site-header,
body:has(#m187-story-entrance[data-m189-state="wordmark"]) .site-header {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
body:has(#m187-story-entrance[data-m189-state="opening"]) .site-header .brand strong,
body:has(#m187-story-entrance[data-m189-state="opening"]) .site-header .brand small,
body:has(#m187-story-entrance[data-m189-state="opening"]) .site-header .mega-nav a,
body:has(#m187-story-entrance[data-m189-state="opening"]) .site-header .mega-nav summary,
body:has(#m187-story-entrance[data-m189-state="opening"]) .site-header .nav-direct,
body:has(#m187-story-entrance[data-m189-state="wordmark"]) .site-header .brand strong,
body:has(#m187-story-entrance[data-m189-state="wordmark"]) .site-header .brand small,
body:has(#m187-story-entrance[data-m189-state="wordmark"]) .site-header .mega-nav a,
body:has(#m187-story-entrance[data-m189-state="wordmark"]) .site-header .mega-nav summary,
body:has(#m187-story-entrance[data-m189-state="wordmark"]) .site-header .nav-direct { color: #26243a; }
body:has(#m187-story-entrance[data-m189-state="opening"]) .site-header .nav-contact-direct,
body:has(#m187-story-entrance[data-m189-state="wordmark"]) .site-header .nav-contact-direct {
  border-color: rgba(38, 36, 58, .42);
}

/* Direct state hook for browsers that do not reevaluate :has() after a script-driven attribute change. */
body.m189-opening-shell .site-header {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}@media (max-width: 720px) {
  #m187-story-entrance { min-height: 1160px; }
  .m189-noomo-copy { top: 44%; font-size: clamp(32px, 10vw, 52px); }
  .m189-wordmark { top: 46%; }
  .m189-wordmark strong { font-size: clamp(66px, 18vw, 112px); }
}

@media (prefers-reduced-motion: reduce) {
  .m189-noomo-canvas { opacity: .94; }
}
/* Keep Shenzhen Zhuima's own navigation frame above the Noomo-inspired scene. */
body.m189-opening-shell .site-header {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
#m187-story-entrance::before,
#m187-story-entrance::after { content: none !important; }