:root {
  color-scheme: light;
  --paper: #f6f1e7;
  --paper-strong: #fffaf0;
  --ink: #211f1c;
  --ink-soft: #524a41;
  --muted: #776c60;
  --line: rgba(48, 43, 37, 0.16);
  --brass: #a87943;
  --brass-dark: #6f4b2c;
  --moss: #596756;
  --coal: #181613;
  --soft-shadow: 0 16px 48px rgba(43, 35, 25, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f7f2e8 0%, #eee5d7 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  line-height: 1.68;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: #fff7e8;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  color: var(--ink);
  background: rgba(250, 246, 238, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-grid;
  gap: 2px;
  min-width: 148px;
  line-height: 1;
}

.brand-cn {
  font-size: 28px;
  font-weight: 900;
}

.brand-en {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 900;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 14px;
  font-weight: 750;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.65);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  opacity: 0.9;
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid currentColor;
  color: inherit;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 124px clamp(20px, 6vw, 92px) 9vh;
  color: #fff7e8;
}

.hero picture,
.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(16, 14, 12, 0.84) 0%, rgba(16, 14, 12, 0.6) 42%, rgba(16, 14, 12, 0.1) 78%),
    linear-gradient(180deg, rgba(16, 14, 12, 0.36) 0%, rgba(16, 14, 12, 0.12) 48%, rgba(16, 14, 12, 0.68) 100%);
}

.hero-content {
  position: relative;
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brass);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #d7b47c;
}

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

h1 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.12;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-kicker {
  margin-bottom: 14px;
  color: #fff7e8;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.25;
}

.hero-content p:not(.eyebrow):not(.hero-kicker) {
  max-width: 560px;
  margin-bottom: 28px;
  color: rgba(255, 247, 232, 0.86);
  font-size: clamp(16px, 1.8vw, 20px);
}

.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid currentColor;
  font-size: 14px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--brass);
  border-color: var(--brass);
  color: #fffaf0;
}

.button.ghost {
  background: rgba(255, 250, 240, 0.08);
  color: #fffaf0;
}

.intro-band {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: -34px clamp(20px, 5vw, 72px) 0;
  background: var(--line);
  box-shadow: var(--soft-shadow);
}

.intro-band div {
  min-height: 106px;
  padding: 24px;
  background: rgba(255, 250, 240, 0.97);
}

.intro-band span,
.line-name {
  display: block;
  margin-bottom: 8px;
  color: var(--brass-dark);
  font-size: 12px;
  font-weight: 800;
}

.intro-band strong {
  display: block;
  font-size: 18px;
  line-height: 1.45;
}

.section {
  padding: clamp(68px, 9vw, 116px) clamp(20px, 6vw, 92px);
  content-visibility: auto;
  contain-intrinsic-size: 680px;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 30px;
}

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

.section-heading p,
.showcase-copy p,
.manual-cta p,
.site-footer p,
.text-grid p,
.module-list p {
  color: var(--ink-soft);
  font-size: 17px;
}

.text-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.text-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.text-grid article {
  min-height: 260px;
  padding: clamp(24px, 4vw, 34px);
  background: rgba(255, 250, 240, 0.84);
}

.text-grid p:last-child,
.module-list p:last-child {
  margin-bottom: 0;
}

.tech-section {
  background: var(--coal);
  color: #f7ead4;
}

.tech-section .eyebrow {
  color: #d7b47c;
}

.tech-section .section-heading p {
  color: rgba(247, 234, 212, 0.72);
}

.module-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(247, 234, 212, 0.16);
}

.module-list article {
  min-height: 250px;
  padding: 30px 26px;
  background: #201d19;
}

.module-list span {
  display: block;
  margin-bottom: 38px;
  color: #d7b47c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
}

.module-list p {
  color: rgba(247, 234, 212, 0.72);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(32px, 7vw, 82px);
  align-items: center;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.flow-list li {
  padding: 12px 14px;
  background: rgba(89, 103, 86, 0.1);
  border: 1px solid rgba(89, 103, 86, 0.22);
  color: var(--moss);
  font-weight: 800;
}

.showcase-visual {
  margin: 0;
  overflow: hidden;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}

.showcase-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.manual-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: #e4ecdf;
}

.manual-cta > div {
  max-width: 760px;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 44px clamp(20px, 6vw, 92px);
  background: #181613;
  color: #f7ead4;
}

.footer-brand {
  margin: 0 0 14px;
  color: #f7ead4;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.footer-brand span {
  margin-left: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-style: italic;
}

.site-footer p {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(247, 234, 212, 0.74);
}

.footer-links {
  justify-content: flex-end;
  font-weight: 800;
}

.footer-links a {
  padding: 8px 0;
  color: rgba(247, 234, 212, 0.86);
}

@media (max-width: 920px) {
  .menu-button {
    position: relative;
    z-index: 22;
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 78px 22px 24px;
    background: rgba(250, 246, 238, 0.98);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .intro-band,
  .text-grid.three,
  .module-list,
  .showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand {
    min-width: 122px;
  }

  .brand-cn {
    font-size: 24px;
  }

  .brand-en {
    font-size: 15px;
  }

  .hero {
    min-height: 76vh;
    padding: 112px 20px 64px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(16, 14, 12, 0.52) 0%, rgba(16, 14, 12, 0.3) 34%, rgba(16, 14, 12, 0.78) 100%),
      linear-gradient(90deg, rgba(16, 14, 12, 0.7), rgba(16, 14, 12, 0.24));
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 31px;
  }

  .intro-band {
    margin: -24px 16px 0;
  }

  .section {
    padding: 58px 20px;
  }

  .text-grid article,
  .module-list article {
    min-height: auto;
    padding: 22px;
  }

  .flow-list {
    grid-template-columns: 1fr;
  }

  .manual-cta,
  .site-footer {
    display: grid;
  }

  .footer-links {
    justify-content: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
