/* Brand, type, and first-screen refresh. Scoped to the production-facing site shell. */
:root {
  --font-sans: "MiSans", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --sans: var(--font-sans);
}

html,
body,
button,
input,
textarea,
select {
  font-family: var(--font-sans);
}

body { font-synthesis: none; text-rendering: optimizeLegibility; }

/* The supplied artwork is the source of truth for the header lockup. */
.site-v3 .header .brand {
  width: 218px;
  height: 48px;
  flex: 0 0 218px;
  background: url('/assets/brand/huaxiang-horizontal.png') left center / contain no-repeat;
}

.site-v3 .header .brand > * {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-v3 .footer-brand { filter: brightness(0) invert(1); }

.home-hero {
  min-height: max(720px, 92svh);
  background: #0e2f4f;
}

.home-hero__image { object-position: center center; }
.home-hero__shade {
  background:
    linear-gradient(90deg, rgba(5, 22, 43, .82) 0%, rgba(6, 28, 53, .52) 34%, rgba(5, 24, 45, .12) 76%, rgba(5, 24, 45, .16) 100%),
    linear-gradient(0deg, rgba(4, 19, 35, .36), transparent 50%);
}

.home-hero__content { padding-top: 72px; }
.home-hero .eyebrow { color: rgba(196, 232, 255, .88); }
.home-hero h1 { max-width: 760px; font-weight: 600; letter-spacing: .045em; }
.home-hero__areas { letter-spacing: .12em; }

.home-hero__twin {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: .9;
}

.home-hero__twin svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-hero__twin path { fill: none; stroke: rgba(120, 229, 255, .72); stroke-width: 1.25; stroke-dasharray: 9 15; animation: twin-route 14s linear infinite; }
.home-hero__twin path:nth-child(2) { stroke: rgba(159, 247, 255, .46); animation-duration: 18s; animation-delay: -4s; }
.home-hero__twin path:nth-child(3) { stroke: rgba(76, 204, 255, .54); animation-duration: 11s; animation-delay: -7s; }
.home-hero__twin circle { fill: #b8f7ff; filter: drop-shadow(0 0 8px rgba(109, 231, 255, .95)); animation: twin-node 3.8s ease-in-out infinite; }
.home-hero__twin circle:nth-of-type(2) { animation-delay: -1.4s; }
.home-hero__twin circle:nth-of-type(3) { animation-delay: -2.6s; }

.home-hero__signal {
  position: absolute;
  right: clamp(20px, 6vw, 92px);
  bottom: clamp(78px, 13vh, 132px);
  display: grid;
  gap: 4px;
  min-width: 194px;
  padding: 13px 17px 14px;
  border: 1px solid rgba(166, 239, 255, .34);
  border-radius: 14px;
  background: rgba(6, 36, 66, .38);
  box-shadow: 0 14px 40px rgba(3, 23, 45, .18), inset 0 0 30px rgba(65, 203, 255, .08);
  color: rgba(225, 250, 255, .82);
  backdrop-filter: blur(7px);
}

.home-hero__signal::before { content: ''; width: 32px; height: 2px; margin-bottom: 4px; background: #91edff; box-shadow: 0 0 12px rgba(145, 237, 255, .8); }
.home-hero__signal span { font-size: 10px; letter-spacing: .16em; }
.home-hero__signal b { font-size: 14px; font-weight: 500; letter-spacing: .06em; }

@keyframes twin-route { to { stroke-dashoffset: -280; } }
@keyframes twin-node { 0%, 100% { opacity: .45; transform: scale(.84); transform-origin: center; } 50% { opacity: 1; transform: scale(1.22); transform-origin: center; } }

@media (max-width: 880px) {
  .site-v3 .header .brand { width: 190px; flex-basis: 190px; }
  .home-hero__signal { right: 20px; bottom: 38px; }
}

@media (max-width: 640px) {
  .site-v3 .header .brand { width: 164px; height: 40px; flex-basis: 164px; }
  .home-hero__content { padding-top: 44px; padding-bottom: 104px; }
  .home-hero__signal { right: 16px; bottom: 26px; min-width: 170px; padding: 10px 12px; }
  .home-hero__signal b { font-size: 12px; }
  .home-hero__twin { opacity: .64; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__twin path,
  .home-hero__twin circle { animation: none; }
}

