:root {
  --ink: #10131a;
  --paper: #f7f3ea;
  --white: #fffdf8;
  --red: #e6412f;
  --blue: #1f46ff;
  --yellow: #f3be2f;
  --green: #147c67;
  --line: #141821;
  --muted: #505460;
  --border: 1.5px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(160deg, #f8f6f0 0%, #f4efe4 100%);
}

h1,
h2,
h3,
.eyebrow,
.brand-en,
.tag {
  font-family: "Syne", "Noto Sans SC", sans-serif;
}

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

.scene {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.shape {
  position: absolute;
  display: block;
  opacity: 0.78;
  filter: drop-shadow(0 10px 16px rgba(16, 19, 26, 0.12));
}

.shape-circle {
  width: 20rem;
  aspect-ratio: 1;
  background: var(--red);
  border-radius: 50%;
  top: -8rem;
  right: -5rem;
  animation: drift 11s ease-in-out infinite alternate;
}

.shape-square {
  width: 11rem;
  aspect-ratio: 1;
  background: var(--blue);
  left: -3rem;
  top: 30%;
  transform: rotate(18deg);
  animation: drift 13s ease-in-out infinite alternate;
}

.shape-line {
  width: 36rem;
  height: 0.55rem;
  background: var(--ink);
  bottom: 20%;
  left: 16%;
  transform: rotate(-16deg);
  animation: drift 14s ease-in-out infinite alternate;
}

.shape-bar {
  width: 9rem;
  height: 16rem;
  background: var(--yellow);
  right: 12%;
  bottom: -6rem;
  transform: rotate(-10deg);
  animation: drift 10s ease-in-out infinite alternate;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 253, 248, 0.9);
  border: var(--border) solid var(--line);
  backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  max-width: 34rem;
}

.brand-en {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.1;
}

.brand-cn {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.main-nav a {
  padding: 0.35rem 0.45rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  border-color: var(--blue);
  outline: none;
}

.hero {
  padding: 5.2rem 0 2.4rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.16rem;
  font-weight: 800;
}

.hero h1 {
  margin: 0.9rem 0 1rem;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.1;
  max-width: 14ch;
}

.hero-copy {
  margin: 0;
  max-width: 42ch;
  font-size: 1rem;
  line-height: 1.65;
  color: #20242e;
}

.section-copy {
  margin: 0 0 1rem;
  max-width: 56ch;
  font-size: 0.96rem;
  line-height: 1.6;
  color: #262b35;
}

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

.metric {
  padding: 1rem;
  border: var(--border) solid var(--line);
  background: var(--white);
  min-height: 8.6rem;
  display: grid;
  align-content: space-between;
}

.metric h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
}

.metric p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.section {
  padding: 2.3rem 0;
}

.section-title {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-bottom: 0.95rem;
}

.section-title p {
  margin: 0;
  font-family: "Syne", "Noto Sans SC", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  color: var(--muted);
}

.section-title h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

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

.panel {
  border: var(--border) solid var(--line);
  padding: 1rem;
  background: var(--white);
}

.panel h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.panel p {
  margin: 0;
  line-height: 1.55;
}

.panel.accent {
  background: linear-gradient(120deg, var(--yellow) 0%, #f8d365 100%);
}

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

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

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

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

.culture-note {
  border-left: 3px solid var(--blue);
  padding-left: 0.95rem;
}

.culture-tags {
  margin-top: 0.72rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.culture-pill {
  display: inline-block;
  padding: 0.22rem 0.5rem;
  border: var(--border) solid var(--line);
  background: #f5efe1;
  font-size: 0.76rem;
  font-weight: 700;
}

.card {
  border: var(--border) solid var(--line);
  background: var(--white);
  padding: 1rem;
}

.card h3 {
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  line-height: 1.55;
}

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

.product-item {
  border: var(--border) solid var(--line);
  background: var(--white);
  padding: 1rem;
}

.product-item:nth-child(1) {
  grid-column: span 3;
}

.product-item:nth-child(2) {
  grid-column: span 2;
  background: #eef1ff;
}

.product-item:nth-child(3) {
  grid-column: span 1;
  background: #fef3d1;
}

.tag {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08rem;
  color: var(--blue);
}

.product-item h3 {
  margin: 0 0 0.45rem;
}

.product-item p {
  margin: 0;
  line-height: 1.5;
}

.leaders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.leader {
  border: var(--border) solid var(--line);
  background: var(--white);
  padding: 1rem;
}

.leader-frame {
  background: linear-gradient(160deg, #fffdf8 0%, #f6f0e3 100%);
}

.leader-role {
  margin: 0 0 0.4rem;
  font-size: 0.76rem;
  letter-spacing: 0.06rem;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
}

.leader-focus {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: #303643;
}

.leader h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.leader p {
  margin: 0;
  line-height: 1.55;
}

.contact-wrap {
  border: var(--border) solid var(--line);
  background: linear-gradient(145deg, var(--green) 0%, #0f6f5c 100%);
  color: #f3fff9;
  padding: clamp(1.25rem, 1.8vw, 2rem);
}

.contact-wrap h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
}

.contact-wrap p {
  margin: 0;
  max-width: 52ch;
  line-height: 1.6;
}

.detail-link {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.48rem 0.72rem;
  border: var(--border) solid var(--line);
  font-size: 0.86rem;
  font-weight: 700;
}

.detail-link:hover,
.detail-link:focus-visible {
  background: var(--line);
  color: var(--white);
  outline: none;
}

.contact-btn {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.56rem 0.88rem;
  border: var(--border) solid #f3fff9;
  font-weight: 700;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.contact-actions .contact-btn {
  margin-top: 0.8rem;
}

.contact-btn.ghost {
  border-color: rgba(243, 255, 249, 0.7);
  color: rgba(243, 255, 249, 0.92);
}

.contact-btn:hover,
.contact-btn:focus-visible {
  background: #f3fff9;
  color: #0f6f5c;
  outline: none;
}

.site-footer {
  padding: 1.4rem 0 1.8rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  from {
    transform: translateY(0) rotate(0deg);
  }
  to {
    transform: translateY(-20px) rotate(5deg);
  }
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-grid,
  .panel-grid,
  .cards,
  .leaders,
  .capability-grid,
  .business-quick,
  .culture-grid {
    grid-template-columns: 1fr;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-item:nth-child(1),
  .product-item:nth-child(2),
  .product-item:nth-child(3) {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .shape-circle {
    width: 16rem;
  }

  .shape-square {
    width: 8rem;
    top: 42%;
  }

  .shape-line {
    width: 18rem;
  }

  .shape-bar {
    width: 8rem;
    height: 13rem;
  }

  .main-nav {
    gap: 0.45rem;
  }

  .main-nav a {
    padding-inline: 0.25rem;
    font-size: 0.85rem;
  }
}
