.hero.inquiry-nebula {
  --nebula-gold: #e8c87a;
  display: grid;
  place-items: center;
  place-content: center;
  grid-template-columns: minmax(0, 1fr);
  min-height: max(36rem, calc(100svh - 76px));
  padding: clamp(4rem, 12vh, 8rem) clamp(1rem, 5vw, 5rem);
  background: #060503;
  color: #f7efd9;
  text-align: center;
}

/* 静态星点和暖色云带在关闭画布时仍可见。 */
.hero.inquiry-nebula::before {
  background:
    radial-gradient(circle at 12% 64%, #d7a859 0 1px, transparent 2px),
    radial-gradient(circle at 25% 31%, #a47644 0 .8px, transparent 1.8px),
    radial-gradient(circle at 33% 73%, #d1a05b 0 .75px, transparent 1.8px),
    radial-gradient(circle at 67% 26%, #a78148 0 .7px, transparent 1.8px),
    radial-gradient(circle at 78% 60%, #f0bf7c 0 1px, transparent 2px),
    radial-gradient(circle at 84% 34%, #bd9359 0 1px, transparent 2px),
    radial-gradient(circle at 92% 47%, #cba57b 0 .8px, transparent 1.7px),
    radial-gradient(ellipse at 73% 34%, rgb(164 103 41 / .32), transparent 42%),
    radial-gradient(ellipse at 22% 63%, rgb(125 71 25 / .34), transparent 47%),
    radial-gradient(ellipse at 52% 59%, #211409, #080604 73%);
}

.hero.inquiry-nebula::after {
  z-index: -1;
  opacity: 1;
  mix-blend-mode: normal;
  background:
    radial-gradient(ellipse at 50% 49%, rgb(6 4 3 / .36), transparent 59%),
    linear-gradient(to bottom, rgb(5 4 3 / .66), transparent 25% 72%, #060503);
}

.hero.inquiry-nebula #cinema-dust { z-index: -2; visibility: hidden; }
.hero.inquiry-nebula[data-hero-live] #cinema-dust { visibility: visible; }

.hero.inquiry-nebula .hero-copy {
  max-width: 72rem;
  padding: 0;
  animation: none;
}

.hero.inquiry-nebula .nebula-title {
  display: grid;
  justify-items: center;
  row-gap: clamp(1rem, 2.25vw, 2rem);
  margin: 0;
  font-family: var(--inquiry-serif, Georgia), "Songti SC", "SimSun", serif;
  font-size: clamp(4.8rem, 13vw, 10rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 0 .46em rgb(246 188 99 / .21);
}

.inquiry-nebula .nebula-zh {
  display: flex;
  gap: .24em;
}

.inquiry-nebula .nebula-zh > span { display: block; }

.inquiry-nebula .nebula-english {
  padding-inline-start: .44em;
  color: var(--nebula-gold);
  font-size: clamp(1.2rem, 3.2vw, 2.7rem);
  font-weight: 400;
  letter-spacing: .44em;
  line-height: 1.2;
}

.inquiry-nebula .nebula-subtitle {
  margin: clamp(1.25rem, 2.6vw, 2.25rem) 0 clamp(1.8rem, 4vw, 3rem);
  color: #e9ddc7;
  font-size: clamp(.92rem, 1.65vw, 1.15rem);
  letter-spacing: .13em;
}

.inquiry-nebula .nebula-subtitle span {
  display: block;
  margin-top: .58rem;
  color: #ccaf7a;
  font-family: var(--inquiry-mono, ui-monospace, monospace);
  font-size: .7rem;
  letter-spacing: .18em;
}

.inquiry-nebula .hero-actions { justify-content: center; }

.hero.inquiry-nebula .hero-actions .button.primary {
  min-height: 3rem;
  padding: .85rem 1.25rem;
  border-color: rgb(232 200 122 / .63);
  background: rgb(17 11 5 / .66);
  color: #f2dba0;
  text-align: left;
}

.hero.inquiry-nebula .hero-actions .button.primary:is(:hover, :focus-visible) {
  background: var(--nebula-gold);
  color: #1b1207;
}

.inquiry-nebula .hero-actions .button small {
  font-family: var(--inquiry-mono, ui-monospace, monospace);
}

@media (prefers-reduced-motion: no-preference) {
  .inquiry-nebula[data-hero-intro] .nebula-zh > span {
    animation: inquiry-nebula-focus 860ms cubic-bezier(.2, .65, .25, 1) backwards;
    animation-delay: calc(90ms + var(--glyph-index, 0) * 115ms);
  }

  .inquiry-nebula[data-hero-intro] .nebula-english {
    animation: inquiry-nebula-focus 850ms cubic-bezier(.2, .65, .25, 1) 280ms backwards;
  }
}

/* 光环只提供视觉反馈，系统指针继续负责指示位置和链接状态。 */
.hero-pointer {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  pointer-events: none;
  visibility: hidden;
  color: var(--nebula-gold, #e8c87a);
}

.hero-pointer-label { display: none; }

@media (any-hover: hover) and (any-pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero[data-hero-live][data-hero-pointer] .hero-pointer { visibility: visible; }

  .hero-pointer::before,
  .hero-pointer::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    transition: scale 180ms ease, opacity 180ms ease;
  }

  .hero-pointer::before {
    border: 1px solid currentColor;
    box-shadow: 0 0 0 1px rgb(14 9 4 / .76);
    opacity: .8;
  }

  .hero-pointer::after {
    inset: -5px;
    border: 1px solid transparent;
    border-top-color: currentColor;
    border-bottom-color: currentColor;
    rotate: 45deg;
    opacity: .42;
  }

  .hero-pointer[data-cta]::before { scale: 1.19; opacity: .94; }
  .hero-pointer[data-cta]::after { scale: 1.19; opacity: .72; }

  .hero-pointer[data-cta] .hero-pointer-label {
    display: block;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    translate: -50% 0;
    padding: .18rem .4rem;
    border: 1px solid rgb(232 200 122 / .45);
    border-radius: 2px;
    background: #0d0905;
    color: #f1d896;
    font: .6rem/1.5 var(--inquiry-mono, ui-monospace, monospace);
    letter-spacing: .06em;
    white-space: nowrap;
  }

  .hero[data-hero-pointer] .hero-actions .button {
    transition-property: background-color, border-color, color;
  }

  .hero[data-hero-live][data-hero-pointer] .hero-actions .button:is(:hover, :active) {
    transform: none;
  }

  /* 磁吸只移动文字与箭头，链接的点击区域和焦点轮廓保持原位。 */
  .hero[data-hero-live] .hero-actions a.button > span {
    translate: var(--hero-magnet-x, 0px) var(--hero-magnet-y, 0px);
    transition: translate 180ms cubic-bezier(.2, .65, .25, 1), transform 240ms ease;
  }

  .hero[data-hero-live] .hero-actions a.button[data-hero-magnet] > span {
    transition-duration: 0ms, 240ms;
  }
}

:is(.reading, .no-motion, .reduced-motion) .hero[data-hero-live][data-hero-pointer] .hero-pointer {
  visibility: hidden;
}

@media (forced-colors: active), print {
  .hero-pointer { display: none; }
}

@keyframes inquiry-nebula-focus {
  from { opacity: .2; filter: blur(9px); transform: translateY(.14em); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@media (max-width: 650px) {
  .hero.inquiry-nebula { min-height: max(32rem, calc(100svh - 95px)); }
  .hero.inquiry-nebula .nebula-title { font-size: clamp(4.2rem, 20vw, 7.8rem); }
  .inquiry-nebula .nebula-english { letter-spacing: .32em; padding-inline-start: .32em; }
}

:is(.reading, .no-motion, .reduced-motion) .hero.inquiry-nebula #cinema-dust { visibility: hidden; }
