:root {
  color-scheme: dark;
  --bg: #050807;
  --bg-soft: #0a100e;
  --bg-lift: #101816;
  --panel: rgba(13, 24, 21, 0.78);
  --panel-strong: rgba(18, 34, 30, 0.92);
  --line: rgba(157, 255, 224, 0.17);
  --line-warm: rgba(255, 185, 94, 0.24);
  --text: #f4fbf8;
  --muted: #9fb3ad;
  --subtle: #69847b;
  --cyan: #45e7ff;
  --green: #63f0b5;
  --amber: #ffb45e;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(2, 5, 4, 0) 0, var(--bg) 720px),
    radial-gradient(circle at 20% 0, rgba(69, 231, 255, 0.12), transparent 34rem),
    linear-gradient(120deg, #050807 0%, #08110d 45%, #100d08 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(157, 255, 224, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 255, 224, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-shell {
  overflow: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1.5rem;
  align-items: center;
  width: min(calc(100% - 2rem), 1240px);
  height: 76px;
  margin: 0 auto;
  padding: 0 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background: rgba(4, 9, 8, 0.72);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 0.7rem;
}

.brand img {
  width: 58px;
  height: 40px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-wordmark {
  display: grid;
  width: 5.25rem;
  min-width: 0;
  gap: 0.18rem;
  line-height: 1;
  transform: translateY(2px);
}

.brand-name-cn,
.brand-name-en {
  width: 100%;
  color: var(--white);
  font-weight: 820;
  white-space: nowrap;
}

.brand-name-cn {
  display: flex;
  justify-content: space-between;
  font-size: 1.02rem;
}

.brand-name-en {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  color: #d9e8e3;
  font-size: 0.94rem;
}

.main-nav a {
  position: relative;
  padding: 0.45rem 0;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.language-switcher {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  width: 86px;
  padding: 0.22rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.lang-button {
  width: 36px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.lang-button.active {
  color: #03100c;
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.section,
.hero-grid,
.contact-inner {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.section {
  padding: 6.5rem 0;
}

.section-full {
  position: relative;
}

.hero {
  min-height: 88vh;
  padding: 9.5rem 0 5rem;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 6, 5, 0.96) 0%, rgba(2, 6, 5, 0.82) 30%, rgba(2, 6, 5, 0.18) 72%, rgba(2, 6, 5, 0.76) 100%),
    linear-gradient(180deg, rgba(2, 6, 5, 0.2) 0%, var(--bg) 100%),
    url("assets/hero-robot-lab.webp") center / cover no-repeat;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 28%, rgba(99, 240, 181, 0.16) 28.1% 28.28%, transparent 28.4% 100%),
    linear-gradient(115deg, transparent 0 42%, rgba(69, 231, 255, 0.12) 42.1% 42.25%, transparent 42.35% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 14px);
  mix-blend-mode: screen;
  opacity: 0.6;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.44fr);
  gap: 2.2rem;
  align-items: end;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: 4.8rem;
  line-height: 1.02;
  font-weight: 800;
}

h2 {
  margin-bottom: 1rem;
  font-size: 2.45rem;
  line-height: 1.18;
  font-weight: 760;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
  line-height: 1.3;
}

.hero-subtitle {
  max-width: 660px;
  margin-bottom: 2rem;
  color: #d6e3df;
  font-size: 1.22rem;
}

.hero-actions,
.format-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 0.55rem;
  padding: 0.78rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 760;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: #03100c;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 14px 36px rgba(69, 231, 255, 0.22);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(99, 240, 181, 0.55);
}

.button-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.16);
  line-height: 1;
}

.hero-panel {
  display: grid;
  gap: 0.75rem;
  max-width: 320px;
  justify-self: end;
}

.metric,
.insight,
.pipeline article,
.scene-card,
.delivery-stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.metric {
  padding: 1rem;
  backdrop-filter: blur(14px);
}

.metric strong {
  display: block;
  color: var(--white);
  font-size: 2rem;
  line-height: 1.05;
}

.metric span {
  color: var(--muted);
  font-size: 0.92rem;
}

.intro-band {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(99, 240, 181, 0.09), rgba(255, 180, 94, 0.09), rgba(69, 231, 255, 0.08));
}

.intro-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
  gap: 0.55rem;
  padding: 1rem 0;
}

.intro-line span,
.format-tags span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  color: #e4f2ed;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 2.2rem;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading.compact {
  max-width: 680px;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.insight {
  position: relative;
  min-height: 230px;
  padding: 1.3rem;
  overflow: hidden;
}

.insight::after {
  position: absolute;
  right: -4rem;
  bottom: -4rem;
  width: 9rem;
  height: 9rem;
  border: 1px solid rgba(99, 240, 181, 0.2);
  content: "";
  transform: rotate(35deg);
}

.insight-index {
  display: inline-flex;
  margin-bottom: 1.35rem;
  color: var(--amber);
  font-weight: 800;
}

.insight p,
.pipeline p,
.scene-card p,
.proof-list,
.delivery-copy p,
.contact-section p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: center;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 6.5rem 0;
}

.split-media {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 112px);
  gap: 0.75rem;
}

.split-media img {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.split-media img:nth-child(1) {
  grid-column: 1 / 5;
  grid-row: 1 / 4;
}

.split-media img:nth-child(2) {
  grid-column: 4 / 7;
  grid-row: 2 / 5;
}

.split-media img:nth-child(3) {
  grid-column: 1 / 4;
  grid-row: 4 / 5;
}

.capability-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.capability-list div {
  display: grid;
  gap: 0.15rem;
  padding-left: 1rem;
  border-left: 2px solid var(--green);
}

.capability-list strong {
  color: var(--white);
}

.capability-list span {
  color: var(--muted);
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.pipeline article {
  min-height: 252px;
  padding: 1.15rem;
}

.pipeline article span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 1.3rem;
  border-radius: 50%;
  color: #06100d;
  background: var(--green);
  font-weight: 800;
}

.muted {
  position: relative;
}

.muted::before {
  position: absolute;
  inset: 0 calc((100vw - min(calc(100vw - 2rem), var(--max))) / -2);
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.scene-card {
  overflow: hidden;
  background: rgba(10, 18, 16, 0.92);
}

.scene-card img {
  width: 100%;
  height: 246px;
  object-fit: cover;
}

.scene-card div {
  padding: 1.2rem;
}

.gallery-section {
  padding-top: 4.5rem;
}

.ego-section {
  position: relative;
}

.ego-heading-row {
  margin-bottom: 2.2rem;
}

.ego-heading-row .section-heading {
  margin-bottom: 0;
}

.ego-feature-card,
.ego-marquee {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.ego-showcase {
  display: grid;
  grid-template-columns: minmax(300px, 0.46fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1.1rem;
}

.ego-feature-card {
  overflow: hidden;
}

.ego-feature-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ego-feature-card div {
  padding: 1.15rem;
}

.ego-feature-card span {
  display: inline-flex;
  margin-bottom: 0.55rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 760;
}

.ego-feature-card h3 {
  margin-bottom: 0.55rem;
}

.ego-feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.ego-marquee {
  position: relative;
  display: grid;
  align-content: center;
  min-width: 0;
  gap: 0.85rem;
  overflow: hidden;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(69, 231, 255, 0.07), rgba(99, 240, 181, 0.035)),
    rgba(4, 10, 8, 0.78);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.ego-marquee-track {
  display: flex;
  width: max-content;
  gap: 0.85rem;
  animation: ego-marquee 46s linear infinite;
}

.ego-marquee-track.reverse {
  animation-direction: reverse;
  animation-duration: 52s;
}

.ego-marquee:hover .ego-marquee-track {
  animation-play-state: paused;
}

.ego-marquee-card {
  position: relative;
  flex: 0 0 260px;
  height: 154px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: var(--bg-lift);
}

.ego-marquee-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
}

.ego-marquee-card figcaption {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 760;
}

.ego-marquee-card figcaption span {
  padding: 0.26rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(2, 6, 5, 0.76);
  backdrop-filter: blur(10px);
}

.third-person-section {
  position: relative;
  padding-top: 5rem;
}

.third-person-section::before {
  position: absolute;
  inset: 2rem calc((100vw - min(calc(100vw - 2rem), var(--max))) / -2) 2rem;
  z-index: -1;
  content: "";
  background:
    linear-gradient(140deg, rgba(69, 231, 255, 0.055), rgba(99, 240, 181, 0.028) 45%, rgba(255, 180, 94, 0.045)),
    rgba(255, 255, 255, 0.012);
  border-block: 1px solid rgba(255, 255, 255, 0.055);
}

.third-person-heading-row {
  margin-bottom: 2.2rem;
}

.third-person-heading-row .section-heading {
  margin-bottom: 0;
}

.third-person-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 86px;
  gap: 0.85rem;
}

.third-person-card {
  position: relative;
  grid-column: span 3;
  grid-row: span 2;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--bg-lift);
}

.third-person-card.is-hero {
  grid-column: span 6;
  grid-row: span 4;
}

.third-person-card.is-wide {
  grid-column: span 5;
  grid-row: span 2;
}

.third-person-card.is-tall {
  grid-column: span 3;
  grid-row: span 4;
}

.third-person-card.is-square {
  grid-column: span 3;
  grid-row: span 3;
}

.third-person-card.is-small {
  grid-column: span 3;
  grid-row: span 2;
}

.third-person-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
  transition: transform 220ms ease;
}

.third-person-card:hover img,
.third-person-card:focus-within img {
  transform: scale(1.035);
}

.task-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.task-gallery figure {
  position: relative;
  min-height: 340px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: var(--bg-lift);
}

.task-gallery img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03);
}

.task-gallery figcaption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  max-width: calc(100% - 1.6rem);
  padding: 0.36rem 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(2, 6, 5, 0.74);
  color: var(--text);
  font-weight: 760;
  backdrop-filter: blur(10px);
}

.delivery {
  padding-top: 5rem;
}

.delivery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.66fr);
  gap: 2rem;
  align-items: center;
}

.schema-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  min-height: 440px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(69, 231, 255, 0.08), rgba(255, 180, 94, 0.04)),
    rgba(4, 10, 8, 0.82);
  box-shadow: var(--shadow);
}

.schema-board::before {
  position: absolute;
  inset: 1.2rem;
  content: "";
  border: 1px dashed rgba(99, 240, 181, 0.26);
  border-radius: 6px;
}

.schema-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 104px;
  border: 1px solid rgba(157, 255, 224, 0.2);
  border-radius: var(--radius);
  color: #dff8ef;
  background: rgba(13, 24, 21, 0.78);
  font-weight: 760;
  text-align: center;
}

.primary-node {
  grid-column: 1 / 4;
  min-height: 128px;
  color: #03100c;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  font-size: 2.15rem;
}

.delivery-copy {
  display: grid;
  gap: 0.8rem;
}

.delivery-stat {
  padding: 1rem;
}

.delivery-stat strong {
  display: block;
  color: var(--white);
  font-size: 1.65rem;
  line-height: 1.1;
}

.delivery-stat span {
  color: var(--muted);
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 6.5rem 0;
}

.proof-image img {
  width: 100%;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.proof-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  position: relative;
  padding: 0.95rem 1rem 0.95rem 2.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.proof-list li::before {
  position: absolute;
  top: 1.15rem;
  left: 0.92rem;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  content: "";
  background: var(--amber);
}

.contact-section {
  padding: 5.5rem 0;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(99, 240, 181, 0.13), rgba(255, 180, 94, 0.09)),
    url("assets/warehouse-space.webp") center / cover no-repeat;
}

@keyframes ego-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 0.425rem));
  }
}

.contact-section::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(3, 8, 7, 0.82);
}

.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.contact-actions {
  display: grid;
  justify-items: end;
  gap: 0.55rem;
}

.contact-email-feedback {
  min-height: 1.3rem;
  color: #d7e6e1;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 180ms ease;
}

.contact-email-feedback.visible {
  opacity: 1;
}

.contact-inner h2 {
  max-width: 760px;
}

.contact-inner p {
  max-width: 720px;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  gap: 1rem;
  padding: 2.2rem 0;
  color: var(--muted);
}

.footer-brand {
  display: grid;
  justify-items: center;
  gap: 0.22rem;
  color: var(--text);
  text-align: center;
}

.footer-company-cn {
  font-weight: 760;
}

.footer-company-en {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: auto;
    min-height: 72px;
    padding: 0.8rem;
    gap: 1rem;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 8rem;
  }

  .hero-grid,
    .split-section,
    .ego-showcase,
    .delivery-layout,
    .proof-section,
    .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    justify-self: stretch;
  }

  h1 {
    font-size: 3.8rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .insight-grid,
  .scene-grid {
    grid-template-columns: 1fr;
  }

  .pipeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .task-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .third-person-mosaic {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-auto-rows: 82px;
  }

  .third-person-card.is-hero {
    grid-column: span 5;
    grid-row: span 4;
  }

  .third-person-card.is-wide {
    grid-column: span 4;
    grid-row: span 2;
  }

  .third-person-card.is-tall {
    grid-column: span 3;
    grid-row: span 4;
  }

  .third-person-card.is-square {
    grid-column: span 3;
    grid-row: span 3;
  }

  .third-person-card.is-small {
    grid-column: span 2;
    grid-row: span 2;
  }

  .contact-actions,
  .contact-inner .button {
    width: fit-content;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: calc(100% - 1rem);
    min-height: 66px;
    padding: 0.65rem 0.7rem;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand img {
    width: 50px;
    height: 34px;
  }

  .brand-wordmark {
    width: 4.9rem;
  }

  .brand-name-cn {
    font-size: 0.94rem;
  }

  .brand-name-en {
    font-size: 0.7rem;
  }

  .language-switcher {
    width: 80px;
  }

  .lang-button {
    width: 32px;
    height: 30px;
  }

  .section {
    padding: 4.5rem 0;
  }

  .hero {
    padding: 6.5rem 0 2rem;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1.04rem;
  }

  .hero-actions,
  .contact-actions,
  .contact-inner .button {
    width: 100%;
  }

  .contact-actions {
    justify-items: stretch;
  }

  .contact-email-feedback {
    text-align: center;
  }

  .button {
    width: 100%;
  }

  .pipeline,
  .task-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .third-person-mosaic {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 92px;
    gap: 0.65rem;
  }

  .third-person-card.is-hero,
  .third-person-card.is-wide {
    grid-column: span 4;
    grid-row: span 2;
  }

  .third-person-card.is-tall {
    grid-column: span 2;
    grid-row: span 3;
  }

  .third-person-card.is-square,
  .third-person-card.is-small {
    grid-column: span 2;
    grid-row: span 2;
  }

  .ego-marquee {
    padding: 0.75rem;
  }

  .ego-marquee-card {
    flex-basis: 220px;
    height: 132px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .metric {
    padding: 0.72rem 0.58rem;
  }

  .metric strong {
    font-size: 1.35rem;
  }

  .metric span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .split-media {
    grid-template-rows: repeat(4, 86px);
    gap: 0.55rem;
  }

  .schema-board {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .primary-node {
    grid-column: auto;
  }

  .scene-card img {
    height: 220px;
  }

  .proof-image img {
    height: 300px;
  }
}

@media (max-width: 420px) {
  .site-header {
    width: 100%;
    border-radius: 0;
  }

  .brand-wordmark {
    width: 4.7rem;
  }

  .brand-name-cn {
    font-size: 0.9rem;
  }

  .brand-name-en {
    font-size: 0.66rem;
  }

  h1 {
    font-size: 2.45rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .pipeline,
  .task-gallery {
    grid-template-columns: 1fr;
  }

  .third-person-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 112px;
    gap: 0.58rem;
  }

  .third-person-card.is-hero,
  .third-person-card.is-wide {
    grid-column: span 2;
    grid-row: span 2;
  }

  .third-person-card.is-tall {
    grid-column: span 1;
    grid-row: span 2;
  }

  .third-person-card.is-square,
  .third-person-card.is-small {
    grid-column: span 1;
    grid-row: span 1;
  }

  .intro-line {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ego-marquee-track {
    animation-play-state: paused;
  }

  .third-person-card img {
    transition: none;
  }
}
