:root {
  --ink: #14212b;
  --ink-soft: #41505c;
  --muted: #74808a;
  --paper: #fbf8f2;
  --paper-strong: #fffdf8;
  --line: rgba(20, 33, 43, 0.14);
  --blue: #133a55;
  --blue-soft: #dbeaf0;
  --gold: #d9a94d;
  --rose: #e6b7ae;
  --green: #a7b89b;
  --shadow: 0 24px 80px rgba(20, 33, 43, 0.12);
  --radius: 8px;
  color-scheme: light;
  --font-body: "Avenir Next", "Inter", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", Arial, sans-serif;
  --font-display: "Songti SC", "STSong", "Noto Serif CJK SC",
    "Source Han Serif SC", "Source Han Serif CN", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  letter-spacing: 0;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 78px;
  padding: 0 clamp(20px, 4vw, 72px);
  color: #fff;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-solid,
.site-header.is-open,
.subpage-header {
  background: rgba(251, 248, 242, 0.94);
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(20, 33, 43, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 208px;
  min-width: 208px;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.brand-logo-dark {
  display: none;
}

.site-header.is-solid .brand-logo-dark,
.site-header.is-open .brand-logo-dark,
.subpage-header .brand-logo-dark {
  display: block;
}

.site-header.is-solid .brand-logo-light,
.site-header.is-open .brand-logo-light,
.subpage-header .brand-logo-light {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  color: inherit;
  font-size: 14px;
}

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-action {
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background: #111;
}

.hero picture,
.hero img,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(4, 12, 18, 0.82) 0%, rgba(4, 12, 18, 0.5) 42%, rgba(4, 12, 18, 0.1) 74%),
    linear-gradient(0deg, rgba(4, 12, 18, 0.62) 0%, rgba(4, 12, 18, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 92vh;
  max-width: 900px;
  flex-direction: column;
  justify-content: center;
  padding: 128px clamp(22px, 7vw, 112px) 88px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.3;
}

.hero h1,
.section h2,
.contact-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 1.12;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
}

.hero-copy {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 15px;
}

.button-primary {
  background: #fff;
  color: var(--ink);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

.intro-strip {
  position: relative;
  z-index: 2;
  margin-top: -40px;
  padding: 0 clamp(18px, 5vw, 72px);
}

.intro-strip-inner {
  display: flex;
  max-width: 1160px;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.intro-strip-inner span {
  flex: 1;
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  color: var(--blue);
  text-align: center;
  font-size: 15px;
  white-space: nowrap;
}

.intro-strip-inner span:last-child {
  border-right: 0;
}

.section {
  padding: clamp(84px, 10vw, 150px) clamp(20px, 5vw, 88px);
}

.section-grid {
  display: grid;
  max-width: 1200px;
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  margin: 0 auto;
}

.section-grid.reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.section-copy h2,
.section-heading h2,
.projects-content h2,
.mission-layout h2,
.contact-section h2 {
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.18;
}

.section-copy p,
.projects-content p,
.contact-section p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
}

.section-copy p:not(.eyebrow) {
  margin: 24px 0 0;
}

.image-panel {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-panel img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.business-section {
  background: #f4f0e8;
}

.section-heading {
  max-width: 1040px;
  margin: 0 auto clamp(36px, 5vw, 72px);
}

.business-list {
  display: grid;
  max-width: 1200px;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.business-item {
  min-height: 300px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--paper-strong);
}

.item-index {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 42px;
}

.business-item h3,
.project-list h3 {
  margin: 26px 0 14px;
  font-size: 22px;
  line-height: 1.35;
}

.business-item p,
.project-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.projects-section {
  display: grid;
  align-items: center;
  gap: clamp(36px, 6vw, 82px);
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  background: var(--blue);
  color: #fff;
}

.project-visual {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.28);
}

.project-visual img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.projects-content p {
  color: rgba(255, 255, 255, 0.78);
}

.project-list {
  display: grid;
  gap: 26px;
  margin-top: 40px;
}

.project-list article {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 22px;
}

.project-list h3 {
  margin-top: 0;
  color: #fff;
}

.philosophy-section {
  background: #fffdf8;
}

.statement {
  border-left: 3px solid var(--gold);
  padding-left: 18px;
  color: var(--blue) !important;
  font-weight: 700;
}

.values-section {
  background: #f0f6f6;
}

.mission-layout {
  display: grid;
  max-width: 1200px;
  gap: clamp(36px, 7vw, 96px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin: 0 auto;
}

.mission-copy {
  display: grid;
  gap: 32px;
}

.mission-copy article {
  border-top: 1px solid rgba(20, 33, 43, 0.2);
  padding-top: 24px;
}

.mission-copy span {
  color: var(--gold);
  font-size: 15px;
}

.mission-copy p {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.45;
}

.value-list {
  display: flex;
  max-width: 1200px;
  flex-wrap: wrap;
  gap: 12px;
  margin: 58px auto 0;
}

.value-list span {
  border: 1px solid rgba(19, 58, 85, 0.2);
  border-radius: 999px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--blue);
  font-size: 15px;
}

.contact-section {
  padding: clamp(84px, 10vw, 142px) clamp(20px, 5vw, 88px);
  background: var(--paper);
}

.contact-inner {
  display: grid;
  max-width: 1200px;
  align-items: start;
  gap: clamp(36px, 7vw, 96px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
  margin: 0 auto;
}

.contact-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 38px);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
  color: var(--ink-soft);
  font-style: normal;
  line-height: 1.75;
}

.contact-card strong {
  color: var(--ink);
  font-size: 20px;
}

.contact-card a {
  color: var(--blue);
}

.subpage {
  background:
    radial-gradient(circle at 15% 8%, rgba(217, 169, 77, 0.14), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(125, 174, 194, 0.18), transparent 26%),
    var(--paper);
}

.page-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 172px clamp(20px, 5vw, 88px) 84px;
}

.page-hero h1 {
  max-width: 980px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 500;
  line-height: 1.12;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.85;
}

.company-info-section {
  background: #f4f0e8;
}

.info-table {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.info-table div {
  display: grid;
  gap: 24px;
  grid-template-columns: 220px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.info-table dt {
  color: var(--muted);
  font-size: 15px;
}

.info-table dd {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.7;
}

.info-table a {
  color: var(--blue);
}

.projects-overview {
  padding-top: 0;
}

.wide-image {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.wide-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.product-detail-section {
  display: grid;
  max-width: 1200px;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-detail {
  min-height: 360px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--paper-strong);
}

.product-detail h2 {
  margin: 0 0 22px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 500;
  line-height: 1.2;
}

.product-detail p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

.site-footer {
  display: grid;
  gap: 22px;
  padding: 38px clamp(20px, 5vw, 88px);
  background: #111b22;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: #fff;
  font-size: 16px;
}

.site-footer span {
  margin-top: 8px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
}

.site-footer p {
  margin: 0;
}

.site-records {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.site-footer .site-records span {
  display: inline;
  margin-top: 0;
}

.beian-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.beian-link img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.legal-page {
  min-height: 100vh;
  background: var(--paper);
}

.legal-content {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(52px, 8vw, 96px) clamp(20px, 6vw, 72px);
}

.legal-back {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--blue);
  font-size: 15px;
}

.legal-content h1 {
  margin: 0 0 28px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 500;
}

.legal-content p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
}

.legal-content a {
  color: var(--blue);
}

.legal-meta {
  margin-bottom: 42px;
  color: var(--muted) !important;
  font-size: 15px !important;
}

.legal-content section {
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

.legal-content h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.35;
}

.legal-content h3 {
  margin: 28px 0 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
}

.legal-content ul {
  margin: 14px 0 0;
  padding-left: 1.2em;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
}

.legal-content li + li {
  margin-top: 6px;
}

@media (max-width: 900px) {
  .site-header {
    height: 68px;
  }

  .nav-toggle {
    position: relative;
    z-index: 30;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    background: transparent;
    color: inherit;
  }

  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
  }

  .nav-toggle span + span {
    margin-top: -14px;
  }

  .site-nav {
    position: fixed;
    inset: 68px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 253, 248, 0.98);
    color: var(--ink);
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .nav-action {
    border: 0;
    border-radius: 0;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    min-height: 88vh;
    padding-top: 110px;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(4, 12, 18, 0.76) 0%, rgba(4, 12, 18, 0.5) 100%),
      linear-gradient(0deg, rgba(4, 12, 18, 0.66) 0%, rgba(4, 12, 18, 0) 50%);
  }

  .intro-strip {
    margin-top: 0;
    padding: 0;
  }

  .intro-strip-inner {
    min-height: auto;
    flex-wrap: wrap;
    border-radius: 0;
  }

  .intro-strip-inner span {
    min-width: 33.33%;
    border-bottom: 1px solid var(--line);
  }

  .section-grid,
  .section-grid.reverse,
  .projects-section,
  .mission-layout,
  .contact-inner,
  .product-detail-section {
    grid-template-columns: 1fr;
  }

  .business-list {
    grid-template-columns: 1fr;
  }

  .business-item {
    min-height: auto;
  }

  .page-hero {
    padding-top: 132px;
  }

  .info-table div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .product-detail {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .brand {
    width: 156px;
    min-width: 156px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .intro-strip-inner span {
    min-width: 50%;
    font-size: 14px;
  }

  .section,
  .contact-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-copy h2,
  .section-heading h2,
  .projects-content h2,
  .mission-layout h2,
  .contact-section h2 {
    font-size: 31px;
  }
}
