:root {
  --bg: #fafafa;
  --bg-deep: #f9f9f9;
  --bg-elevated: #ffffff;
  --ink: #18191b;
  --ink-soft: #555555;
  --muted: #687284;
  --line: rgba(24, 25, 27, 0.1);
  --accent: #e1b44f;
  --accent-soft: #f0c45a;
  --gold: #e1b44f;
  --gold-deep: #c99a3a;
  --charcoal: #18191b;
  --teal: #e1b44f;
  --navy: #18191b;
  --steel: #687284;
  --wechat: #07c160;
  --font-display: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-body: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --shell: min(1200px, calc(100% - 2.5rem));
  --header-h: 78px;
  --panel: #ffffff;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  background: var(--bg);
  overflow-x: hidden;
  max-width: 100%;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3, strong {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.9rem, 7.2vw, 5.2rem); margin: 0 0 1.15rem; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.65rem); margin: 0 0 0.8rem; }
h3 { font-size: 1.28rem; margin: 0 0 0.65rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.shell { width: var(--shell); margin-inline: auto; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.vignette {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 85;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(24, 25, 27, 0.04) 100%);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: var(--charcoal);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(225, 180, 79, 0.25);
  background: #18191b;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  display: block;
  height: 64px;
  width: auto;
  max-width: min(480px, 88vw);
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  border: 1.5px solid var(--gold);
  box-shadow: inset 0 0 0 6px rgba(225, 180, 79, 0.2);
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 2px;
  background: var(--accent);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1rem; color: #fff; }
.brand-text em {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  max-width: 15rem;
}

.nav { display: flex; align-items: center; gap: 0.95rem; flex-wrap: wrap; justify-content: flex-end; }
.nav a, .nav-cta {
  font-size: 0.95rem;
  color: #fff;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.nav a[aria-current="page"] { color: var(--gold); }
.nav a:hover { color: var(--gold); }

.nav-cta {
  padding: 0.5rem 1.05rem;
  border: 1px solid var(--gold);
  border-radius: 3px;
  background: var(--gold);
  color: #18191b !important;
  font-weight: 600;
}
.nav-cta:hover {
  background: #fff;
  border-color: #fff;
  color: #18191b !important;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  gap: 6px;
  flex-direction: column;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 2.4rem) 0 5.2rem;
  overflow: hidden;
}

.hero-plane {
  position: absolute;
  inset: 0;
  color: rgba(225, 180, 79, 0.55);
  background:
    linear-gradient(105deg, rgba(24, 25, 27, 0.78) 0%, rgba(24, 25, 27, 0.35) 46%, transparent 68%),
    radial-gradient(ellipse 65% 52% at 74% 48%, rgba(225, 180, 79, 0.18), transparent 64%);
}

.hero-glow {
  position: absolute;
  width: min(48vw, 620px);
  height: min(48vw, 620px);
  right: 6%;
  top: 14%;
  border-radius: 50%;
  background: rgba(225, 180, 79, 0.28);
  filter: blur(56px);
  animation: drift 14s ease-in-out infinite alternate;
  z-index: 1;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  opacity: 0.88;
  filter: saturate(1.05) contrast(1.05);
}

.hero-falloff {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(24, 25, 27, 0.88) 0%, rgba(24, 25, 27, 0.55) 38%, rgba(24, 25, 27, 0.15) 68%, rgba(24, 25, 27, 0.35) 100%),
    linear-gradient(180deg, transparent 45%, rgba(24, 25, 27, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-in 0.9s ease forwards;
}
.brand-hero { animation-delay: 0.08s; }
.hero-content h1 { animation-delay: 0.2s; }
.hero-lead { animation-delay: 0.34s; }
.hero-actions { animation-delay: 0.48s; }

.brand-hero {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 700;
  color: #fff;
}
.brand-hero span {
  margin-left: 0.55rem;
  color: var(--gold);
  letter-spacing: 0.02em;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 0.85em;
}

.hero-content h1 { color: #fff; }

.hero-lead {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.3rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--gold);
  color: #18191b;
  font-weight: 600;
}
.btn-primary:hover { background: var(--accent-soft); }

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(225, 180, 79, 0.1);
}

.btn-wechat {
  background: var(--wechat);
  color: #fff;
}
.btn-wechat:hover { filter: brightness(1.08); }

/* Sections */
.section { padding: clamp(4.6rem, 9vw, 7.2rem) 0; background: #fff; }
.section:nth-of-type(even) { background: #f9f9f9; }
.section.hero { background: transparent; }

.section-head {
  max-width: 620px;
  margin-bottom: clamp(2.2rem, 5vw, 3.2rem);
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  display: inline-block;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  display: none;
}
.section-head h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.55rem;
}
.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
}
.section-head.center h2 { display: inline-block; }
.section-head.center { text-align: center; }
.section-head.center h2::after { left: 50%; transform: translateX(-50%); width: 4.5rem; }

.section-desc { color: var(--muted); margin: 0; }

/* Services — editorial rows (pipeline: Bring-up → Tune) */
.service-rows { display: grid; gap: 0; }

.service-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.4fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  padding: clamp(1.8rem, 3.5vw, 2.6rem) 0;
  border-top: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row.accent { border-top-color: rgba(225, 180, 79, 0.45); }

.service-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ffffff;
  aspect-ratio: 4 / 3;
  box-shadow: 0 12px 28px rgba(24, 25, 27, 0.06);
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.05);
}
.service-row.accent .service-media img {
  object-position: center 40%;
}

.service-copy {
  display: grid;
  gap: 0.35rem;
}

.service-step {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.service-body p,
.service-body li { color: var(--ink-soft); }
.service-body li {
  position: relative;
  padding-left: 1rem;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}
.service-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 1.5px;
  background: var(--accent);
}

/* Industries */
.industry-stack { display: grid; gap: 0; }

.industry-panel {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 290px;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.industry-panel:last-child { border-bottom: 1px solid var(--line); }

.industry-panel.reverse { grid-template-columns: 1fr 1.05fr; }
.industry-panel.reverse .industry-visual { order: 2; }

.industry-visual {
  background: var(--bg-elevated);
  position: relative;
  min-height: 250px;
  overflow: hidden;
}
.industry-visual img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.industry-panel:hover .industry-visual img {
  transform: scale(1.03);
}

.industry-copy {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.industry-copy p:not(.eyebrow),
.industry-copy li { color: var(--ink-soft); }
.industry-copy li {
  position: relative;
  padding-left: 1rem;
  margin-top: 0.45rem;
  font-size: 0.95rem;
}
.industry-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 1.5px;
  background: var(--teal);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  color: var(--accent-soft);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease, gap 0.2s ease;
}
.text-link::after { content: "→"; }
.text-link:hover {
  color: var(--accent);
  gap: 0.55rem;
}

/* Industry detail pages */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 2.5rem) 0 2.5rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(0.95);
}
.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(24, 25, 27, 0.88) 0%, rgba(24, 25, 27, 0.7) 55%, rgba(24, 25, 27, 0.45) 100%),
    linear-gradient(180deg, transparent 40%, rgba(24, 25, 27, 0.88) 100%);
}
.page-hero .shell { position: relative; z-index: 1; }
.page-hero h1,
.page-hero .breadcrumb,
.page-hero .page-lead { color: #fff; }
.page-hero .breadcrumb { color: rgba(255, 255, 255, 0.7); }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero .page-lead { color: rgba(255, 255, 255, 0.78); }
.page-hero .eyebrow { color: var(--gold); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.breadcrumb a:hover { color: var(--accent-soft); }

.page-lead {
  max-width: 46rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.detail-aside {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  display: grid;
  gap: 1rem;
}

.side-nav {
  display: grid;
  border-top: 1px solid var(--line);
}
.side-nav a {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.side-nav a:hover,
.side-nav a.is-active { color: var(--accent-soft); }
.side-nav a.is-active { font-weight: 600; }

.detail-block {
  padding: 0 0 2.4rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.detail-block p { color: var(--ink-soft); }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}
.metric-grid h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.metric-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.check-list li,
.step-list li {
  position: relative;
  color: var(--ink-soft);
  padding-left: 1.1rem;
  margin-top: 0.65rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 1.5px;
  background: var(--accent);
}

.step-list {
  list-style: none;
  counter-reset: step;
}
.step-list li {
  counter-increment: step;
  padding-left: 2rem;
}
.step-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1em;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.detail-cta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  padding-top: 0.5rem;
}
.detail-cta h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  margin-bottom: 0.55rem;
}
.detail-cta p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 36rem;
}


/* Capability */
.capability {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
}
.capability-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.capability-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
  filter: grayscale(0.2) contrast(1.1);
}
.capability-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 340px at 18% 0%, rgba(225, 180, 79, 0.1), transparent 55%),
    linear-gradient(180deg, #ffffff, #f9f9f9);
}
.capability > .shell { position: relative; z-index: 1; }

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.cap-grid article {
  padding: 0;
  border-top: 0;
}

.cap-thumb {
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  background: #fff;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.cap-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cap-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.lab-strip {
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.lab-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}
.lab-head h3 {
  margin-bottom: 0.45rem;
}
.lab-head p:not(.eyebrow) {
  margin: 0;
  color: var(--ink-soft);
  max-width: 36rem;
  font-size: 0.95rem;
}

.lab-tool {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  background: #ffffff;
  white-space: nowrap;
}
.lab-tool img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #fff;
  padding: 0.2rem;
}
.lab-tool span {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.lab-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}
.lab-gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  background: #ffffff;
  overflow: hidden;
}
.lab-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: #f4f4f4;
  display: block;
}
.lab-gallery figcaption {
  padding: 0.65rem 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.detail-lab {
  margin-top: 1.4rem;
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: center;
}

.about-media {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ffffff;
  aspect-ratio: 16 / 11;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-content .section-head { margin-bottom: 1.1rem; }

.about-body p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Contact */
.contact {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.8rem, 4vw, 2.8rem) clamp(1.4rem, 3.5vw, 2.4rem);
  border: 1px solid var(--line);
  background:
    radial-gradient(520px 240px at 92% 12%, rgba(225, 180, 79, 0.12), transparent 60%),
    radial-gradient(420px 220px at 8% 88%, rgba(225, 180, 79, 0.12), transparent 58%),
    linear-gradient(160deg, #ffffff, #f9f9f9);
  box-shadow: 0 16px 40px rgba(24, 25, 27, 0.06);
}

.contact-copy h2 {
  max-width: 14ch;
  margin-bottom: 0.85rem;
}

.contact-copy p:not(.eyebrow) {
  max-width: 36rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.contact-actions {
  display: grid;
  gap: 0.85rem;
  justify-items: stretch;
}

.contact-actions .btn-wechat {
  width: 100%;
  justify-content: center;
  min-height: 3rem;
}

.contact-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.contact-links .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  padding-inline: 0.6rem;
  font-size: 0.86rem;
}
.contact-links .btn-ghost {
  border-color: rgba(24, 25, 27, 0.18);
  color: var(--ink);
  background: #fff;
}
.contact-links .btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  background: rgba(225, 180, 79, 0.08);
}

.contact-note {
  margin: 0.15rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
  text-align: center;
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 2px solid var(--gold);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  background: #18191b;
}
/* hotlinks */
.footer-inner .footer-hotlinks { flex: 1 1 100%; }
.footer-hotlinks {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
  padding-top: 0.85rem;
  margin-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
}
.footer-hotlinks-label {
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}
.footer-hotlinks-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
}
.footer-hotlinks-list a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}
.footer-hotlinks-list a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer .footer-brand strong { color: #fff; }
.site-footer p { color: rgba(255, 255, 255, 0.55); }

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: end;
}

.footer-brand { display: grid; gap: 0.2rem; }
.footer-brand strong { color: var(--ink); font-size: 1rem; }
.footer-brand span {
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-family: var(--font-display);
}

/* WeChat */
.wechat-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 60;
}

.wechat-fab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.05rem;
  border-radius: 999px;
  background: var(--wechat);
  color: #fff;
  box-shadow: 0 12px 32px rgba(7, 193, 96, 0.32);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.wechat-fab:hover { transform: translateY(-2px); filter: brightness(1.06); }
.wechat-fab span { font-size: 0.92rem; font-weight: 500; }

.wechat-modal[hidden] { display: none; }

.wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.wechat-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 25, 27, 0.42);
  backdrop-filter: blur(4px);
}

.wechat-modal-panel {
  position: relative;
  width: min(360px, 100%);
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid rgba(24, 25, 27, 0.12);
  text-align: center;
  box-shadow: 0 24px 60px rgba(24, 25, 27, 0.12);
}

.wechat-modal-close {
  position: absolute;
  top: 0.4rem;
  right: 0.7rem;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
}
.wechat-modal-close:hover { color: var(--ink); }

.wechat-modal-panel h3 {
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

.wechat-qr {
  width: 180px;
  height: 180px;
  margin: 0 auto 0.9rem;
  padding: 0.55rem;
  background: #fff;
}
.wechat-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wechat-tip {
  margin: 0 0 0.35rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.wechat-id {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.wechat-id strong { color: var(--ink); letter-spacing: 0.04em; }

.wechat-modal-panel .btn-primary { width: 100%; }

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-inview {
  opacity: 1;
  transform: none;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-18px, 22px, 0) scale(1.05); }
}
@keyframes optic-breathe {
  0%, 100% { transform: translateY(-48%) scale(1); }
  50% { transform: translateY(-48%) scale(1.025); }
}
@keyframes iris-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes hero-in {
  to { opacity: 1; transform: none; }
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Knowledge hub */
.kb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.kb-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.kb-card:hover {
  border-color: rgba(255, 122, 69, 0.45);
  transform: translateY(-3px);
}
.kb-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ffffff;
}
.kb-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.kb-card:hover .kb-card-media img { transform: scale(1.04); }
.kb-card-body { padding: 1.15rem 1.2rem 1.35rem; }
.kb-card-body p:not(.eyebrow) {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.94rem;
}

/* News ticker + list */
.news-preview { padding-top: 0.5rem; }
.news-preview-link { margin-top: 1.25rem; }
.news-ticker {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(225, 180, 79, 0.08), rgba(255, 255, 255, 0.95) 18%, rgba(255, 255, 255, 0.95) 82%, rgba(225, 180, 79, 0.08));
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.news-ticker-lg { margin-bottom: 2rem; }
.news-ticker-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  max-width: none;
  gap: 2.5rem;
  padding: 0.95rem 0;
  animation: ticker-scroll 42s linear infinite;
  will-change: transform;
}
.news-ticker:hover .news-ticker-track { animation-play-state: paused; }
.news-ticker-track a,
.news-ticker-track span {
  display: inline-flex;
  flex-shrink: 0;
  align-items: baseline;
  gap: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  white-space: nowrap;
}
.news-ticker-track a:hover { color: var(--accent-soft); }
.news-ticker-track time {
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.news-list { display: grid; gap: 1.5rem; }
.news-item {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 1.35rem;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.news-item-media {
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: #ffffff;
}
.news-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-item-body time {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}
.news-item-body h2 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  margin-bottom: 0.55rem;
}
.news-item-body p {
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 980px) {
  .service-row,
  .cap-grid,
  .about-layout,
  .industry-panel,
  .industry-panel.reverse,
  .detail-layout,
  .metric-grid,
  .kb-grid,
  .news-item { grid-template-columns: 1fr; }
  .lab-gallery { grid-template-columns: 1fr 1fr; }
  .industry-panel.reverse .industry-visual { order: 0; }
  .contact-panel,
  .detail-cta,
  .lab-head { flex-direction: column; align-items: start; }
  .contact-panel { grid-template-columns: 1fr; }
  .contact-links { grid-template-columns: 1fr; }
  .contact-note { text-align: left; }
  .detail-aside { position: static; }
  .kb-grid { grid-template-columns: 1fr 1fr; }
  .lab-tool {
    max-width: 100%;
    white-space: normal;
    flex-wrap: wrap;
  }
  .lab-tool span { white-space: normal; }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 1.75rem, 1100px);
    --header-h: 64px;
  }

  body {
    padding-bottom: 5.5rem;
    font-size: 15px;
  }

  .header-inner {
    gap: 0.65rem;
  }

  .brand {
    min-width: 0;
    flex: 1;
  }

  .brand-logo {
    height: 54px;
    max-width: min(380px, 82vw);
  }

  .brand-text {
    min-width: 0;
  }

  .brand-text strong {
    font-size: 0.95rem;
  }

  .brand-text em {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.62rem;
  }

  .nav-toggle { display: grid; flex-shrink: 0; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: #18191b;
    border-bottom: 1px solid rgba(225, 180, 79, 0.25);
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    z-index: 55;
  }
  .nav.is-open { display: flex; }
  .nav a, .nav-cta {
    padding: 0.9rem 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    white-space: normal;
    font-size: 0.95rem;
    color: #fff;
  }
  .nav-cta { margin-top: 0.5rem; text-align: center; }

  .hero {
    align-items: center;
    min-height: 100svh;
    padding: calc(var(--header-h) + 1.2rem) 0 4rem;
  }
  .hero-content { max-width: 100%; }
  .hero-content h1 { font-size: clamp(2.2rem, 12vw, 3.2rem); }
  .brand-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    font-size: 1rem;
  }
  .brand-hero span {
    margin-left: 0;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
  }
  .hero-lead { font-size: 0.98rem; max-width: 100%; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; min-width: 0; }

  .section { padding: clamp(3.2rem, 10vw, 4.8rem) 0; }
  .section-head h2 { font-size: clamp(1.55rem, 7vw, 2.1rem); }

  .service-row,
  .industry-panel,
  .industry-panel.reverse {
    gap: 1.1rem;
    padding: 1.5rem 0;
  }

  .page-hero {
    padding: calc(var(--header-h) + 1.4rem) 0 1.8rem;
  }
  .page-hero h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .page-lead { font-size: 0.98rem; }

  .lab-gallery,
  .detail-lab { grid-template-columns: 1fr; }

  .kb-grid { grid-template-columns: 1fr; }

  .contact-panel {
    padding: 1.35rem 1.1rem;
  }

  .contact-copy h2 {
    max-width: none;
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .about-media { aspect-ratio: 16 / 12; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .wechat-float {
    right: 0.85rem;
    bottom: 0.95rem;
  }
  .wechat-fab span { display: none; }
  .wechat-fab { padding: 0.95rem; }

  /* Mobile news ticker: vertical list, no marquee wrap mess */
  .news-ticker {
    mask-image: none;
    -webkit-mask-image: none;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }
  .news-ticker-track {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 0;
    padding: 0.35rem 0.9rem;
    animation: none;
    transform: none;
  }
  .news-ticker-track > *:nth-child(n + 11) {
    display: none;
  }
  .news-ticker-track a,
  .news-ticker-track span {
    display: block;
    white-space: normal;
    line-height: 1.45;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
  }
  .news-ticker-track a:last-child,
  .news-ticker-track span:last-child,
  .news-ticker-track > *:nth-child(10) {
    border-bottom: 0;
  }
  .news-ticker-track time {
    display: inline-block;
    margin-right: 0.45rem;
    margin-bottom: 0.15rem;
  }

  .news-item {
    gap: 0.85rem;
    padding-bottom: 1.2rem;
  }
  .news-item-body h2 {
    font-size: 1.12rem;
  }

  .cap-grid article,
  .kb-card-body { min-width: 0; }

  .side-nav a {
    padding: 0.55rem 0;
  }

  .wechat-modal-panel {
    width: min(100%, 360px);
    max-height: min(90svh, 640px);
    overflow-y: auto;
  }
}

@media (max-width: 1100px) and (min-width: 761px) {
  .nav { gap: 0.7rem; }
  .nav a, .nav-cta { font-size: 0.8rem; }
}

/* Product center */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.product-card {
  display: block;
  padding: 1.6rem 1.5rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.product-card:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  background: color-mix(in srgb, var(--panel) 96%, var(--accent) 4%);
}
.product-card.accent {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}
.product-chip {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 0.75rem;
}
.product-card h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0 0 0.5rem;
}
.product-card p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.product-card .text-link {
  font-size: 0.9rem;
}

.spec-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.spec-table th,
.spec-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}
.spec-table th {
  width: 28%;
  color: var(--ink-soft);
  font-weight: 500;
  background: color-mix(in srgb, var(--panel) 70%, transparent);
}
.spec-table td {
  color: var(--ink);
}

.partner-strip {
  margin-top: 2.5rem;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: color-mix(in srgb, var(--panel) 85%, transparent);
}
.partner-strip h2 {
  font-size: 1.25rem;
  margin: 0.35rem 0 0.5rem;
}
.partner-strip p {
  margin: 0;
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .partner-strip {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-content > *,
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .news-ticker-track {
    animation: none !important;
  }
}

/* SEO-GEO-FAQ */
.seo-faq { padding-block: clamp(3rem, 6vw, 5rem); }
.seo-faq-list { max-width: 720px; margin: 0 auto; display: grid; gap: 0.75rem; }
.seo-faq-item {
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  background: color-mix(in srgb, currentColor 3%, transparent);
}
.seo-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.seo-faq-item summary::-webkit-details-marker { display: none; }
.seo-faq-item p {
  margin: 0.65rem 0 0;
  opacity: 0.85;
  line-height: 1.65;
  font-size: 0.95rem;
}

/* ===== 技术资讯：列表可点进详情 ===== */
a.news-item-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
a.news-item-link:hover .news-item-body h2,
a.news-item-link:hover .news-more {
  color: var(--brand, var(--accent, #099dfd));
}
.news-more {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--teal, var(--brand, #099dfd));
}
.news-article-inner {
  max-width: 820px;
}
.news-article-cover {
  margin: 0 0 1.5rem;
  overflow: hidden;
  border-radius: var(--radius, 12px);
  border: 1px solid var(--line, rgba(0,0,0,.08));
}
.news-article-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.news-article-lead {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink-soft, var(--muted, #445));
  margin: 0 0 1.75rem;
}
.news-back { margin-top: 2rem; }
.page-hero-compact { padding-bottom: 1.5rem; }
.page-hero { padding: 7.5rem 0 2.5rem; }
.page-lead { max-width: 46rem; color: var(--ink-soft, var(--muted, #445)); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; font-size: .9rem; opacity: .85; }
.news-page { padding-top: 0.5rem; padding-bottom: 4rem; }
.news-list { display: grid; gap: 1.5rem; }
.news-item {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 1.35rem;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line, rgba(0,0,0,.1));
}
.news-item-media {
  overflow: hidden;
  border: 1px solid var(--line, rgba(0,0,0,.1));
  aspect-ratio: 16 / 10;
  background: #0b0d10;
  border-radius: 10px;
}
.news-item-media img { width: 100%; height: 100%; object-fit: cover; }
.news-item-body time {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--teal, var(--brand, #099dfd));
  font-size: 0.85rem;
}
.news-item-body h2 { margin: 0 0 0.55rem; font-size: 1.25rem; line-height: 1.4; }
.news-item-body p { margin: 0; color: var(--ink-soft, var(--muted, #445)); line-height: 1.75; }
.news-ticker {
  overflow: hidden;
  border: 1px solid var(--line, rgba(0,0,0,.1));
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  margin-bottom: 1.75rem;
}
.news-ticker-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 0.7rem 1rem;
  animation: news-marquee 42s linear infinite;
}
.news-ticker:hover .news-ticker-track { animation-play-state: paused; }
.news-ticker-track a, .news-ticker-track span {
  white-space: nowrap;
  font-size: 0.92rem;
  opacity: 0.9;
}
.news-ticker-track time { margin-right: 0.55rem; color: var(--brand, #099dfd); }
@keyframes news-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.detail-block { margin-bottom: 1.4rem; }
.detail-block h2 { margin: 0 0 0.55rem; font-size: 1.15rem; }
.detail-block p { margin: 0; color: var(--ink-soft, var(--muted, #445)); line-height: 1.85; }
.detail-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line, rgba(0,0,0,.1));
  border-radius: var(--radius, 12px);
  background: rgba(255,255,255,.5);
}
.detail-cta h2 { margin: 0 0 0.35rem; font-size: 1.1rem; }
.detail-cta p { margin: 0; color: var(--muted, #556); }
@media (max-width: 860px) {
  .news-item { grid-template-columns: 1fr; }
}
/* news-figure-rich */

.news-figure {
  margin: 0.85rem 0 1.6rem;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line, rgba(0,0,0,.1));
  background: #0b0d10;
}
.news-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.news-figure figcaption {
  padding: 0.55rem 0.85rem 0.75rem;
  font-size: 0.88rem;
  color: var(--muted, #667);
  background: rgba(255,255,255,.72);
}

/* news pagination */
.news-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line, rgba(0,0,0,.1));
}
.news-pager-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.news-pager-pages a,
.news-pager .pager-prev,
.news-pager .pager-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.7rem;
  border: 1px solid var(--line, rgba(0,0,0,.12));
  border-radius: 8px;
  font-size: 0.92rem;
  text-decoration: none;
  color: inherit;
}
.news-pager-pages a.is-active {
  background: var(--brand, #099dfd);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
}
.news-pager .is-disabled {
  opacity: 0.4;
  pointer-events: none;
}
.news-pager-meta {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  color: var(--muted, #667);
}

/* ===== page-hero contrast (news without hero image) ===== */
.page-hero {
  background: #14161a !important;
  border-bottom-color: rgba(255,255,255,.08) !important;
}
.page-hero h1 {
  color: #ffffff !important;
}
.page-hero .page-lead {
  color: rgba(255, 255, 255, 0.82) !important;
}
.page-hero .breadcrumb,
.page-hero .breadcrumb a,
.page-hero .breadcrumb span {
  color: rgba(255, 255, 255, 0.72) !important;
}
.page-hero .eyebrow {
  color: var(--gold, var(--accent, #d4a017)) !important;
}
