/* 首屏视觉来自对参考站的现场观察；实现与项目示意均为本站自有内容。 */
body {
  position: relative;
}
.page-frame {
  position: relative;
  max-width: none;
  border: 0;
  margin: 0;
}
.page-frame > main > .section-block,
.page-frame > main > .focus-strip,
.page-frame > main > .contact-section,
.page-frame > .site-footer {
  max-width: 1180px;
  margin-inline: auto;
}
::selection {
  background: #aecbf1;
  color: #080e1b;
}
.site-header {
  height: 106px;
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: 36px;
  border: 0;
  position: relative;
  z-index: 5;
}
.wordmark {
  font-size: 18px;
  font-weight: 620;
  letter-spacing: 0.2px;
  color: #aabfdf;
}
.brand-dot {
  color: #768bad;
  padding-inline: 2px;
}
.header-emblem {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 39px;
  height: 39px;
  transform: translate(-50%, -50%);
  color: #7489ab;
}
.header-emblem svg {
  width: 100%;
  height: 100%;
}
.site-nav {
  font-size: 12px;
  gap: 23px;
  color: #9fb2d1;
}
.site-nav a:hover {
  color: #d0e3ff;
}
.site-nav .nav-social {
  padding: 10px 15px;
  border: 1px solid #869fcb28;
  border-radius: 22px;
  background: linear-gradient(180deg, #c1d5ff0b, #afc5f905);
  box-shadow: inset 0 1px #cfe2ff08;
}
.nav-social-arrow {
  display: none;
}
.site-nav .nav-social .icon {
  width: 14px;
  height: 14px;
}
/* 光场覆盖首屏：三个低饱和光锥 + 很淡的环境光，不使用磨砂玻璃。 */
.hero-scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1210px;
  overflow: hidden;
  pointer-events: none;
  background: #05060f;
  mask-image: linear-gradient(#000 85%, transparent);
}
.ambient-halo {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 45% 50% at 50% 40%,
    #27427176,
    transparent 78%
  );
  opacity: 0.72;
  animation: ambient-pulse 6s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.light-volume {
  position: absolute;
  inset: 0;
  mask-image: radial-gradient(
    ellipse 65% 90% at 50% 3%,
    #000 30%,
    transparent 83%
  );
}
.light-beam {
  --angle: 0deg;
  position: absolute;
  top: 82px;
  left: 50%;
  width: 560px;
  height: 940px;
  margin-left: -280px;
  transform-origin: 50% 0;
  background: conic-gradient(
    from 153deg at 50% 0%,
    transparent 0deg,
    rgba(136, 165, 214, 0.035) 9deg,
    rgba(151, 181, 231, 0.2) 23deg,
    rgba(165, 193, 238, 0.34) 27deg,
    rgba(151, 181, 231, 0.2) 31deg,
    rgba(136, 165, 214, 0.035) 45deg,
    transparent 54deg
  );
  filter: blur(12px);
  transform: rotate(var(--angle));
  opacity: 0.7;
  animation: light-breathe 8s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.beam-left {
  --angle: 22deg;
  height: 880px;
  animation-duration: 6.8s;
  animation-delay: -4s;
}
.beam-right {
  --angle: -22deg;
  height: 880px;
  animation-duration: 10.5s;
  animation-delay: -7s;
}
.beam-center {
  width: 430px;
  margin-left: -215px;
  opacity: 0.78;
  animation-delay: -2.1s;
}
#hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero {
  position: relative;
  display: block;
  padding: 58px 0 54px;
  min-height: 0;
  isolation: isolate;
}
.hero-copy {
  position: relative;
  text-align: center;
}
.hero-introduction {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #a6bde0;
  font-size: 13px;
  line-height: 24px;
  margin-bottom: 25px;
}
.hero-introduction > span {
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, #aac9ef4f);
}
.hero-introduction > span:last-child {
  transform: rotate(180deg);
}
.hero-title-frame {
  width: 600px;
  position: relative;
  margin: 0 auto;
  border-block: 1px solid #b6cffa1b;
}
.hero-title-frame::before,
.hero-title-frame::after {
  content: "";
  width: 3px;
  height: 3px;
  background: #c3d8f8;
  box-shadow: 0 0 5px #a1c7ff40;
  position: absolute;
  bottom: -2px;
}
.hero-title-frame::before {
  left: -1px;
}
.hero-title-frame::after {
  right: -1px;
}
.hero h1 {
  position: relative;
  margin: 0;
  text-align: center;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 57px;
  letter-spacing: -2.4px;
  padding-right: 8px;
  line-height: 1.28;
  font-weight: 600;
  color: #b2d0fd;
  background: linear-gradient(
    105deg,
    #9bbef4 18%,
    #bed8fa 36%,
    #f0f7ff 48%,
    #bed8fa 58%,
    #d4e4fb 82%
  );
  background-size: 235% 100%;
  background-position: 0% 0;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 65px #abc9f21b;
}
.hero h1 span {
  display: block;
}
.hero-tagline-frame {
  width: 600px;
  margin: 0 auto;
  padding: 16px 15px;
  position: relative;
  border-bottom: 1px solid #b6cffa1b;
}
.hero-tagline-frame::before {
  content: "";
  position: absolute;
  left: calc((600px - 100vw) / 2);
  width: 100vw;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b6cffa0c, transparent);
  pointer-events: none;
}
.hero-tagline {
  color: #b2c9ed;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.1px;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}
.hero .button {
  border-radius: 30px;
  min-height: 42px;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 400;
  gap: 18px;
}
.hero .button-primary {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0, #90b3e42e, transparent 80%), #111827;
  border-color: #8caad14a;
  color: #c9ddfa;
  box-shadow:
    inset 0 1px #c5deff21,
    0 0 20px #8fb7ff0a;
}
.hero .button-primary::before,
.stage-button::before {
  content: "";
  position: absolute;
  top: -55%;
  bottom: -55%;
  left: -42%;
  width: 34%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, #d6e8ff2b, transparent);
  pointer-events: none;
  opacity: 0;
}
.hero .button-primary::after,
.stage-button::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b9d8ff, transparent);
  box-shadow: 0 0 13px #8fbaff66;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.hero .button-primary:hover::after,
.stage-button:hover::after {
  opacity: 0.75;
}
.hero .button-primary:hover {
  background-color: #1c2940;
  border-color: #adcdf494;
  box-shadow:
    inset 0 1px #d7e8ff40,
    0 0 25px #8fb7ff18;
}
.hero .button-secondary {
  background: #91b2eb07;
  border-color: #a0b9e221;
  color: #9eb5d8;
}
.hero .button-secondary:hover {
  background: #8fb9ff14;
  border-color: #a5c1ee66;
  color: #d9e8ff;
}
.hero .button .icon {
  width: 14px;
  height: 14px;
}
/* 三张错层项目卡片保持真实链接；卡片里的对话/曲线只作界面示意。 */
.project-stage {
  --stage-center-x: 0px;
  --stage-center-y: 0px;
  --stage-side-x: 0px;
  --stage-side-y: 0px;
  width: min(100% - 48px, 960px);
  height: 484px;
  margin: 42px auto 0;
  position: relative;
  perspective: 1000px;
}
/* 光晕限制在舞台宽度内，避免窄屏出现装饰层导致的横向滚动。 */
.project-stage::before {
  content: "";
  position: absolute;
  inset: 70px 0 -50px;
  background: radial-gradient(ellipse, #47669e13, transparent 67%);
  z-index: -1;
}
.stage-card {
  position: absolute;
  width: 330px;
  border-radius: 17px;
  background: linear-gradient(155deg, #161d30ed, #0a0d19fa 48%, #0e1320f7);
  border: 1px solid #8aa9d637;
  color: #b5c9e7;
  box-shadow:
    inset 0 1px #d1e3ff0d,
    0 25px 70px #0005;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s ease;
  will-change: transform;
}
.stage-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 15px;
  right: 15px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b1d0fc66, transparent);
}
.stage-card::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--card-sweep),
    transparent 0deg 260deg,
    #82a8dd12 282deg,
    #d5e8ff9e 306deg,
    #779ed747 324deg,
    transparent 346deg
  );
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.55;
}
.stage-card-left {
  left: 0;
  top: 30px;
  transform: translate3d(
      var(--stage-side-x),
      var(--stage-side-y),
      -50px
    )
    rotateY(10deg) rotateZ(-1.4deg);
  transform-origin: right center;
}
.stage-card-right {
  right: 0;
  top: 30px;
  transform: translate3d(
      var(--stage-side-x),
      var(--stage-side-y),
      -50px
    )
    rotateY(-10deg) rotateZ(1.4deg);
  transform-origin: left center;
}
.stage-card-featured {
  width: 410px;
  left: 50%;
  top: 0;
  transform: translate3d(
    calc(-50% + var(--stage-center-x)),
    calc(var(--stage-center-y) + var(--featured-float)),
    0
  );
  z-index: 2;
  border-color: #abc6ec57;
  background:
    radial-gradient(ellipse at 50% -25%, #4b648232, transparent 62%),
    linear-gradient(145deg, #151c2ef5, #090d1bf7 65%, #101523f7);
  box-shadow:
    0 0 48px #769ddb0c,
    0 28px 70px #0006,
    inset 0 1px #e4efff15;
}
.stage-card-content {
  padding: 29px 29px 22px;
  text-align: center;
}
.stage-card-featured .stage-card-content {
  padding: 29px 30px 22px;
}
.card-pin {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #b2cdeb;
  box-shadow: 0 0 3px #b1cdff35;
}
.pin-tl {
  top: 15px;
  left: 15px;
}
.pin-tr {
  top: 15px;
  right: 15px;
}
.pin-bl {
  bottom: 15px;
  left: 15px;
}
.pin-br {
  bottom: 15px;
  right: 15px;
}
.stage-mark {
  height: 44px;
  width: 44px;
  margin: 0 auto 13px;
  display: grid;
  place-items: center;
  color: #7f98bd;
}
.retec-mark {
  position: relative;
  border: 1px solid #a6c6f744;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    #9abaf721 0deg 2deg,
    transparent 2deg 9deg
  );
  width: 46px;
  height: 46px;
}
.retec-mark::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid #97b9e937;
  border-radius: 50%;
  background: #141b2b;
}
.retec-mark > span {
  z-index: 1;
  font-size: 31px;
  font-family: Georgia, serif;
  font-style: italic;
  color: #b3cced;
  line-height: 1;
  margin-top: -5px;
}
.knowledge-mark .icon {
  width: 30px;
  height: 30px;
  stroke-width: 1;
  transform: rotate(-7deg);
}
.engineering-mark svg {
  width: 35px;
  height: 35px;
}
.stage-overline {
  font-size: 7px;
  letter-spacing: 1.2px;
  color: #7185a8;
  margin-bottom: 10px;
}
.stage-card h2 {
  font-size: 20px;
  letter-spacing: -0.3px;
  font-weight: 500;
  color: #d3dff1;
  line-height: 1.4;
}
.stage-description {
  font-size: 12px;
  line-height: 1.8;
  color: #91a5c6;
  margin-top: 8px;
}
.stage-card-featured .stage-description {
  font-size: 13px;
}
.stage-conversation {
  text-align: left;
  margin: 24px 0 20px;
}
.stage-question {
  border: 1px solid #98b6e127;
  border-radius: 7px;
  padding: 12px 13px;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #aebfdc;
  background: #aec9f109;
}
.stage-question > span {
  color: #6983ac;
  font-size: 14px;
}
.stage-answer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 21px 0 16px;
  padding-inline: 2px;
}
.answer-avatar {
  display: grid;
  place-items: center;
  border: 1px solid #91b7e73a;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  color: #9bbce7;
  font-family: Georgia, serif;
  font-style: italic;
  background: #729ee612;
}
.stage-answer strong {
  font-size: 11px;
  color: #b4cae9;
  font-weight: 400;
}
.stage-answer p {
  font-size: 10px;
  line-height: 1.9;
  margin-top: 7px;
  color: #879abb;
}
.stage-context {
  display: flex;
  gap: 7px;
  padding-left: 37px;
}
.stage-context > span {
  font-size: 8px;
  border: 1px solid #8aaadc25;
  padding: 4px 7px;
  border-radius: 4px;
  color: #99afd1;
}
.stage-button {
  position: relative;
  overflow: hidden;
  border: 1px solid #97b3db30;
  border-radius: 22px;
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  font-size: 11px;
  color: #a7bfdf;
  background: #8eaadd05;
  box-shadow: inset 0 1px #e0ecff06;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.stage-button:hover {
  border-color: #b6d0ef80;
  background: #8eaadd14;
  color: #d9e8ff;
}
.stage-button-featured {
  border-color: #9cbeed4f;
  background: linear-gradient(180deg, #8fabd416, #819dcc06);
  min-height: 39px;
}
.stage-button .icon {
  width: 15px;
  height: 15px;
}
.stage-footnote {
  color: #6f83a3;
  font-size: 9px;
  margin-top: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.stage-live-dot {
  height: 4px;
  width: 4px;
  border-radius: 50%;
  background: #9ebcab;
}

@property --card-sweep {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@property --featured-float {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

/* 动效只在统一运行状态下启用，暂停、后台、离屏与减少动态共用同一开关。 */
@keyframes title-reveal {
  from {
    opacity: 0;
    translate: 0 10px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes title-glint {
  0%,
  22% {
    background-position: 0% 0;
  }
  52%,
  76% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0% 0;
  }
}
@keyframes ambient-pulse {
  0% {
    opacity: 0.54;
    transform: scale(0.96);
  }
  48% {
    opacity: 0.86;
    transform: scale(1.04);
  }
  100% {
    opacity: 0.66;
    transform: scale(1.01);
  }
}
@keyframes card-left-enter {
  from {
    opacity: 0;
    translate: 150px 22px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes card-right-enter {
  from {
    opacity: 0;
    translate: -150px 22px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes card-center-enter {
  from {
    opacity: 0;
    translate: 0 30px;
    scale: 0.94;
  }
  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}
@keyframes card-edge-tour {
  to {
    --card-sweep: 360deg;
  }
}
@keyframes card-breathe {
  0%,
  100% {
    opacity: 0.48;
  }
  50% {
    opacity: 0.9;
  }
}
@keyframes featured-float {
  0%,
  100% {
    --featured-float: -4px;
  }
  50% {
    --featured-float: 6px;
  }
}
@keyframes button-sweep {
  0%,
  15% {
    left: -42%;
    opacity: 0;
  }
  19% {
    opacity: 0.75;
  }
  34% {
    left: 112%;
    opacity: 0;
  }
  100% {
    left: 112%;
    opacity: 0;
  }
}
@keyframes detail-pulse {
  0%,
  18%,
  100% {
    opacity: 0.52;
    filter: brightness(0.85);
  }
  25%,
  44% {
    opacity: 1;
    filter: brightness(1.28) drop-shadow(0 0 5px #9abfff33);
  }
  54% {
    opacity: 0.72;
    filter: brightness(1);
  }
}

html[data-motion="running"] .hero-introduction,
html[data-motion="running"] .hero-title-frame,
html[data-motion="running"] .hero-tagline-frame,
html[data-motion="running"] .hero-actions {
  animation: title-reveal 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
html[data-motion="running"] .hero-title-frame {
  animation-delay: 0.12s;
}
html[data-motion="running"] .hero-tagline-frame {
  animation-delay: 0.24s;
}
html[data-motion="running"] .hero-actions {
  animation-delay: 0.38s;
}
html[data-motion="running"] .hero h1 {
  animation: title-glint 8.5s ease-in-out 0.7s infinite;
}
html[data-motion="running"] .ambient-halo {
  animation-play-state: running;
}
html[data-motion="running"] .stage-card-left {
  animation: card-left-enter 1.45s cubic-bezier(0.16, 1, 0.3, 1) 0.58s both;
}
html[data-motion="running"] .stage-card-right {
  animation: card-right-enter 1.45s cubic-bezier(0.16, 1, 0.3, 1) 0.66s both;
}
html[data-motion="running"] .stage-card-featured {
  animation:
    card-center-enter 1.25s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both,
    featured-float 6s ease-in-out 1.8s infinite;
}
html[data-motion="running"] .stage-card::after {
  animation:
    card-edge-tour 12s linear infinite,
    card-breathe 3s ease-in-out infinite;
}
html[data-motion="running"] .hero .button-primary::before,
html[data-motion="running"] .stage-button::before {
  animation: button-sweep 16s ease-in-out infinite;
}
html[data-motion="running"] .stage-card-left .stage-mark,
html[data-motion="running"] .stage-card-left .stage-pipeline > *,
html[data-motion="running"] .stage-card-right .stage-mark,
html[data-motion="running"] .stage-card-right .stage-chart path,
html[data-motion="running"] .stage-card-featured .stage-mark,
html[data-motion="running"] .stage-card-featured .stage-answer,
html[data-motion="running"] .stage-card-featured .stage-context {
  animation: detail-pulse 8.4s ease-in-out infinite;
}
html[data-motion="running"] .stage-pipeline > :nth-child(2),
html[data-motion="running"] .stage-card-right .stage-chart path:nth-child(2),
html[data-motion="running"] .stage-card-featured .stage-answer {
  animation-delay: 1.2s;
}
html[data-motion="running"] .stage-pipeline > :nth-child(3),
html[data-motion="running"] .stage-card-right .stage-chart path:nth-child(3),
html[data-motion="running"] .stage-card-featured .stage-context {
  animation-delay: 2.4s;
}
html[data-motion="running"] .stage-pipeline > :nth-child(4) {
  animation-delay: 3.6s;
}
html[data-motion="running"] .stage-pipeline > :nth-child(5) {
  animation-delay: 4.8s;
}
.stage-pipeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 25px 0 21px;
}
.stage-pipeline span {
  border: 1px solid #92b5df30;
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 9px;
  background: #748db30a;
}
.stage-pipeline i {
  width: 20px;
  height: 1px;
  background: #8ca8cf45;
}
.stage-search {
  margin-bottom: 22px;
  text-align: left;
  border: 1px solid #8aa5ca1a;
  border-radius: 5px;
  padding: 12px;
}
.stage-search > span {
  font-size: 6px;
  letter-spacing: 0.7px;
  color: #7f93b3;
}
.stage-search > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
}
.stage-search i {
  height: 3px;
  width: 76%;
  background: #6b8ab259;
}
.stage-search > div:nth-child(3) i {
  width: 63%;
  background: #6b8ab242;
}
.stage-search > div:nth-child(4) i {
  width: 48%;
  background: #6b8ab230;
}
.stage-search b {
  font: 6px var(--mono);
  color: #6881a3;
}
.stage-chart {
  text-align: left;
  margin-top: 23px;
  margin-bottom: 19px;
}
.stage-chart > span {
  display: block;
  font-size: 6px;
  color: #7c8eac;
  letter-spacing: 1px;
  margin-bottom: 11px;
}
.stage-chart svg {
  width: 100%;
  height: 111px;
}
.stage-chart-legend {
  display: flex;
  justify-content: center;
  gap: 23px;
  color: #7d92b0;
  font-size: 5px;
  margin-top: 6px;
}
.hero-closing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 35px;
}
.availability {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #91a7c7;
  font-size: 10px;
  background: transparent;
  border: 0;
}
.status-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #91b9a4;
  box-shadow: 0 0 7px #91b9a44a;
}
.closing-divider {
  height: 12px;
  width: 1px;
  background: #97b7e333;
}
.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: #879fbe;
  font-size: 10px;
  padding: 12px 4px;
  min-height: 40px;
}
.motion-toggle[hidden] {
  display: none;
}
.motion-toggle:hover {
  color: #c2daf8;
}
.motion-icon {
  display: block;
  width: 10px;
  color: #93acce;
  font-size: 11px;
}
.motion-toggle[aria-pressed="true"] .motion-icon {
  font-size: 0;
}
.motion-toggle[aria-pressed="true"] .motion-icon::after {
  content: "▷";
  font-size: 11px;
}
/* 用户暂停、后台和离屏都冻结同一光场；没有 JS 时保留完整静态照明。 */
@keyframes light-breathe {
  from {
    opacity: 0.38;
    transform: rotate(calc(var(--angle) - 6deg)) scaleX(0.86);
  }
  to {
    opacity: 0.94;
    transform: rotate(calc(var(--angle) + 6deg)) scaleX(1.2);
  }
}
html[data-motion="running"] .light-beam {
  animation-play-state: running;
}
html[data-motion="paused"] .light-beam {
  animation-play-state: paused;
}
html[data-motion="paused"] .ambient-halo {
  animation-play-state: paused;
}
.focus-strip {
  background: #080d19;
  border-color: #a9c9f31b;
  color: #a1b7d7;
}
.project-card {
  background: #0c101c;
  border-color: #a0bce02b;
}
.project-content {
  border-top-color: #a0bce021;
}
.project-link {
  background: #94afd10a;
  border-color: #97b4dc30;
  color: #acc4e5;
}
.project-link:hover {
  background: #7fabe622;
  border-color: #a9c9f370;
}
.tech-tags > span {
  background: #88a8dc09;
  border-color: #91acd21d;
  color: #a3b6d3;
}
.contact-section {
  background: #090e19;
}
@media (min-width: 1600px) {
  .page-frame {
    margin: 0;
    border: 0;
  }
}
@media (max-width: 1100px) {
  .site-header {
    max-width: 950px;
    padding-inline: 30px;
  }
  .site-nav {
    gap: 20px;
  }
  .header-emblem {
    left: 44%;
  }
  .project-stage {
    width: calc(100% - 48px);
    max-width: 850px;
  }
  .stage-card {
    width: 300px;
  }
  .stage-card-featured {
    width: 370px;
  }
  .stage-card-content {
    padding-inline: 23px;
  }
}
@media (max-width: 800px) {
  .header-emblem {
    left: 39%;
  }
  .site-nav {
    gap: 16px;
  }
  .site-nav .nav-social {
    padding-inline: 12px;
  }
  .site-nav .nav-social .icon {
    display: none;
  }
  .hero-title-frame,
  .hero-tagline-frame {
    width: calc(100% - 124px);
  }
  .hero-tagline-frame::before {
    left: -62px;
  }
  .hero h1 {
    font-size: clamp(40px, 7vw, 52px);
    letter-spacing: -1.8px;
    line-height: 1.3;
  }
  .project-stage {
    width: calc(100% - 40px);
    max-width: 730px;
  }
  .stage-card {
    width: 255px;
  }
  .stage-card-content {
    padding-inline: 20px;
  }
  .stage-card-featured {
    width: 340px;
  }
  .stage-card-featured .stage-card-content {
    padding-inline: 25px;
  }
  .stage-card h2 {
    font-size: 17px;
  }
  .stage-card-featured h2 {
    font-size: 20px;
  }
  .stage-pipeline span {
    padding-inline: 7px;
  }
  .stage-pipeline i {
    width: 16px;
  }
  /* 窄平板聚焦主卡，避免侧卡文字被遮挡；完整列表仍保留全部项目。 */
  .stage-card-left,
  .stage-card-right {
    display: none;
  }
  .stage-card-featured {
    width: 410px;
  }
}
@media (max-width: 600px) {
  .site-header {
    height: 86px;
    padding-inline: 22px;
    background: transparent;
    border: 0;
  }
  .wordmark {
    font-size: 23px;
  }
  .header-emblem {
    left: 50%;
    width: 34px;
    height: 34px;
  }
  .js .menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #718fbc09;
    border-color: #a6c3ed2e;
  }
  .menu-toggle > span {
    width: 15px;
    background: #b4c9e7;
  }
  .js .site-nav {
    top: 85px;
    margin: 0 14px;
    padding: 13px 17px;
    border: 1px solid #9db8da45;
    border-radius: 12px;
    background: #0c1120;
    box-shadow: 0 20px 45px #0009;
  }
  .js .site-nav .nav-social {
    border-radius: 0;
    border-top-color: #849cbd26;
    border-right: 0;
    border-bottom: 0;
    padding: 17px 10px 12px;
    background: transparent;
    box-shadow: none;
  }
  .js .nav-social .icon {
    display: block;
  }
  .hero {
    padding: 49px 0 33px;
  }
  .hero-scene {
    height: 1070px;
  }
  .light-beam {
    top: 65px;
    width: 350px;
    height: 850px;
    margin-left: -175px;
    filter: blur(13px);
  }
  .beam-center {
    width: 310px;
    margin-left: -155px;
  }
  .beam-left {
    --angle: 15deg;
  }
  .beam-right {
    --angle: -15deg;
  }
  .ambient-halo {
    background: radial-gradient(
      ellipse 85% 60% at 50% 40%,
      #20345948,
      transparent 80%
    );
  }
  .hero-introduction {
    gap: 17px;
    font-size: 11px;
    margin-bottom: 21px;
    line-height: 24px;
  }
  .hero-introduction > span {
    width: 39px;
  }
  .hero-title-frame,
  .hero-tagline-frame {
    width: calc(100% - 36px);
  }
  .hero h1 {
    font-size: clamp(31px, 9vw, 40px);
    letter-spacing: -1px;
    padding-right: 6px;
    line-height: 1.34;
  }
  .hero-tagline-frame {
    padding: 23px 14px 23px;
  }
  .hero-tagline-frame::before {
    left: -18px;
  }
  .hero-tagline {
    font-size: 12px;
    line-height: 1.8;
  }
  .hero-actions {
    gap: 9px;
    margin-top: 23px;
  }
  .hero .button {
    padding: 10px 15px;
    min-height: 42px;
    font-size: 11px;
    gap: 12px;
  }
  .hero .button .icon {
    width: 13px;
    height: 13px;
  }
  .project-stage {
    margin-top: 42px;
    width: calc(100% - 42px);
    height: auto;
    perspective: none;
  }
  .stage-card-left,
  .stage-card-right {
    display: none;
  }
  .stage-card-featured {
    position: relative;
    width: 100%;
    max-width: 410px;
    margin: 0 auto;
    left: auto;
    top: auto;
    transform: none;
    border-radius: 15px;
  }
  .stage-card-featured .stage-card-content {
    padding: 25px 25px 22px;
  }
  .stage-overline {
    font-size: 6px;
  }
  .stage-card-featured h2 {
    font-size: 21px;
  }
  .stage-card-featured .stage-description {
    font-size: 12px;
  }
  .stage-conversation {
    margin-top: 21px;
  }
  .stage-question {
    font-size: 10px;
  }
  .stage-answer strong {
    font-size: 10px;
  }
  .stage-answer p {
    font-size: 10px;
  }
  .stage-button-featured {
    min-height: 44px;
  }
  .hero-closing {
    gap: 12px;
    margin-top: 20px;
  }
  .availability {
    font-size: 8px;
    gap: 6px;
  }
  .motion-toggle {
    font-size: 9px;
    padding-block: 10px;
    min-height: 44px;
  }
  .closing-divider {
    height: 10px;
  }
  html:not(.js) .header-emblem {
    display: none;
  }
  html:not(.js) .site-header {
    padding-block: 20px;
    height: auto;
  }
  html:not(.js) .site-nav {
    width: 100%;
    gap: 12px;
  }
  html:not(.js) .site-nav .nav-social {
    border: 0;
    background: none;
    padding-inline: 0;
  }
}
@media (max-width: 360px) {
  .hero h1 {
    font-size: 30px;
  }
  .hero-tagline {
    font-size: 11px;
  }
  .hero .button {
    gap: 8px;
    padding-inline: 13px;
  }
  .stage-card-featured .stage-card-content {
    padding-inline: 21px;
  }
  .stage-question {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  /* 默认冻结；保留动画时间轴，显式播放后再暂停也不会跳回初始照明。 */
  .light-beam {
    animation: light-breathe 11s ease-in-out infinite alternate paused !important;
  }
  .beam-left {
    animation-duration: 9s !important;
    animation-delay: -4s !important;
  }
  .beam-right {
    animation-duration: 13s !important;
    animation-delay: -7s !important;
  }
  .beam-center {
    animation-delay: -3s !important;
  }
  html[data-motion="running"] .light-beam {
    animation-play-state: running !important;
  }
}
