:root {
  --ink: #132b28;
  --ink-2: #193632;
  --paper: #f5f4ef;
  --white: #fff;
  --lime: #d8ff4f;
  --line: #d8ddd8;
  --muted: #63716f;
  --font: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  letter-spacing: 0;
}
button,
a,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
.nav-shell {
  position: fixed;
  z-index: 50;
  top: 0;
  width: 100%;
  background: rgba(245, 244, 239, 0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(19, 43, 40, 0.1);
}
.nav {
  height: 76px;
  max-width: 1240px;
  margin: auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--lime);
  font-weight: 800;
  font-size: 14px;
}
.brand strong,
.brand small {
  display: block;
}
.brand strong {
  font-size: 15px;
}
.brand small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 38px;
  font-size: 14px;
}
.nav-links a {
  position: relative;
}
.nav-links a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--ink);
  transition: 0.2s;
}
.nav-links a:hover:after {
  width: 100%;
}
.button {
  border: 0;
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
}
.button svg {
  width: 17px;
}
.button-dark {
  background: var(--ink);
  color: white;
}
.button-accent {
  background: var(--lime);
  color: var(--ink);
}
.button:hover {
  filter: brightness(0.94);
}
.menu-button,
.mobile-menu {
  display: none;
}
.hero {
  min-height: 760px;
  height: 92vh;
  max-height: 920px;
  position: relative;
  color: white;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background: url("assets/hero-shiyi-cn.jpg") right center / cover no-repeat;
  transform: scale(1.01);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(7, 24, 22, 0.9) 0%,
      rgba(7, 24, 22, 0.67) 42%,
      rgba(7, 24, 22, 0.08) 73%
    ),
    linear-gradient(0deg, rgba(7, 24, 22, 0.72), transparent 44%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: auto;
  padding: 180px 32px 130px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.eyebrow span {
  width: 26px;
  height: 2px;
  background: var(--ink);
}
.eyebrow.light {
  color: rgba(255, 255, 255, 0.72);
}
.eyebrow.light span {
  background: var(--lime);
}
.hero h1 {
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1;
  margin: 28px 0 20px;
  font-weight: 700;
  letter-spacing: 0;
  max-width: 740px;
}
.hero h1 span {
  font-size: 0.48em;
  color: var(--lime);
  font-weight: 600;
  margin-left: 10px;
}
.hero-project-title {
  max-width: 720px;
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(48px, 5.5vw, 78px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}
.hero-content > p {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
  max-width: 580px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 35px;
}
.text-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.text-link svg {
  width: 16px;
}
.hero-stats {
  position: absolute;
  z-index: 3;
  right: max(32px, calc((100vw - 1176px) / 2));
  bottom: 0;
  display: flex;
  background: rgba(13, 41, 37, 0.9);
  backdrop-filter: blur(8px);
}
.hero-stats div {
  width: 178px;
  height: 126px;
  padding: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-stats strong {
  display: block;
  font-size: 34px;
  color: var(--lime);
}
.hero-stats sup {
  font-size: 13px;
  margin-left: 2px;
}
.hero-stats span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
}
.trust-strip {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: auto;
  padding: 20px 32px;
  border-bottom: 1px solid var(--line);
}
.trust-strip p {
  font-size: 12px;
  color: var(--muted);
}
.trust-strip div {
  display: flex;
  gap: 52px;
  font-weight: 700;
  color: #6a7775;
}
.section {
  max-width: 1240px;
  margin: auto;
  padding: 112px 32px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 56px;
}
.section-heading h2,
.cooperation h2,
.final-cta h2 {
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 1.12;
  margin: 17px 0 0;
  letter-spacing: 0;
}
.section-heading > p {
  max-width: 380px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.project-card {
  min-height: 465px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  transition: 0.25s;
}
.project-card:last-child {
  border: 0;
}
.project-card:hover {
  background: white;
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(19, 43, 40, 0.08);
}
.project-card.featured {
  background: var(--ink);
  color: white;
}
.project-top {
  display: flex;
  justify-content: space-between;
}
.tag {
  font-size: 11px;
  background: #e2e6e1;
  padding: 7px 10px;
  color: var(--ink);
  font-weight: 700;
}
.tag.urgent {
  background: var(--lime);
}
.code {
  font-size: 11px;
  color: #899491;
}
.project-card > div:nth-child(2) {
  margin-top: auto;
}
.industry {
  font-size: 12px;
  color: #71807d;
  margin: 0 0 12px;
}
.featured .industry,
.featured .code {
  color: rgba(255, 255, 255, 0.55);
}
.project-card h3 {
  font-size: 28px;
  margin: 0 0 28px;
}
.project-meta {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.featured .project-meta {
  border-color: rgba(255, 255, 255, 0.16);
}
.project-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.project-meta svg {
  width: 15px;
}
.project-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  min-height: 45px;
}
.featured .project-note {
  color: rgba(255, 255, 255, 0.64);
}
.project-action,
.text-button {
  border: 0;
  background: transparent;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: inherit;
}
.project-action svg,
.text-button svg {
  width: 18px;
}
.project-foot {
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.project-foot > span {
  display: flex;
  gap: 7px;
  color: var(--muted);
}
.project-foot svg {
  width: 16px;
}
.text-button {
  gap: 15px;
}
.cases {
  background: var(--ink);
  color: white;
}
.cases-inner {
  padding-top: 105px;
  padding-bottom: 105px;
}
.section-heading.inverse > p {
  color: rgba(255, 255, 255, 0.55);
}
.case-list {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.case-row {
  min-height: 170px;
  display: grid;
  grid-template-columns: 60px 2fr 0.8fr 1.2fr auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: 0.2s;
}
.case-row:hover {
  background: rgba(255, 255, 255, 0.035);
  padding: 0 18px;
}
.case-number {
  font-size: 12px;
  color: var(--lime);
}
.case-title span {
  font-size: 10px;
  color: var(--lime);
  font-weight: 700;
}
.case-title h3 {
  font-size: 23px;
  margin: 7px 0;
}
.case-title p,
.case-detail p {
  margin: 5px 0;
  color: rgba(255, 255, 255, 0.53);
  font-size: 12px;
}
.case-result strong {
  font-size: 42px;
  color: var(--lime);
  display: block;
}
.case-result span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}
.case-badge {
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 14px;
  font-size: 12px;
}
.cooperation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 105px;
}
.cooperation-intro > p {
  max-width: 470px;
  color: var(--muted);
  line-height: 1.8;
  margin: 25px 0 35px;
}
.cooperation-steps {
  border-top: 1px solid var(--line);
}
.cooperation-steps article {
  min-height: 160px;
  display: grid;
  grid-template-columns: 30px 52px 1fr;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.cooperation-steps article > span {
  font-size: 11px;
  color: #84918e;
}
.cooperation-steps svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.4;
}
.cooperation-steps h3 {
  margin: 0 0 9px;
  font-size: 18px;
}
.cooperation-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.profile-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  background: #25413d;
  color: white;
}
.profile-image {
  background: url("assets/profile.jpg")
    center/cover no-repeat;
}
.profile-copy {
  padding: 100px clamp(40px, 8vw, 125px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.profile-copy blockquote {
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.35;
  margin: 28px 0;
}
.profile-copy > p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.9;
  font-size: 14px;
}
.signature {
  margin-top: 30px;
  font-weight: 700;
  letter-spacing: 2px;
}
.signature span {
  letter-spacing: 0;
  font-weight: 400;
  color: var(--lime);
  margin-left: 9px;
}
.final-cta {
  max-width: 1240px;
  margin: auto;
  padding: 100px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.circle-cta {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 0;
  background: var(--lime);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  transition: 0.25s;
}
.circle-cta:hover {
  transform: rotate(5deg) scale(1.04);
}
.circle-cta svg {
  width: 28px;
  height: 28px;
}
footer {
  background: #0d211f;
  color: white;
  min-height: 250px;
  padding: 60px max(32px, calc((100vw - 1176px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: start;
  gap: 30px;
}
footer p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-links {
  display: flex;
  gap: 22px;
  font-size: 13px;
}
.footer-links button {
  border: 0;
  background: transparent;
  color: white;
  padding: 0;
}
footer > small {
  grid-column: 1/-1;
  color: rgba(255, 255, 255, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}
.contact-modal {
  width: min(560px, calc(100% - 30px));
  border: 0;
  padding: 42px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
}
.contact-modal::backdrop {
  background: rgba(6, 24, 21, 0.72);
  backdrop-filter: blur(5px);
}
.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  background: #e5e6e1;
}
.modal-close svg {
  width: 18px;
}
.contact-modal h2 {
  font-size: 34px;
  margin: 18px 0 8px;
}
.contact-modal > p {
  color: var(--muted);
  font-size: 13px;
}
.contact-modal form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  margin-top: 28px;
}
.contact-modal label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
}
.contact-modal label:nth-child(3),
.contact-modal label:nth-child(4),
.contact-modal label:nth-child(5),
.contact-modal form button {
  grid-column: 1/-1;
}
.contact-modal input,
.contact-modal select {
  height: 46px;
  border: 1px solid #cfd5d0;
  background: white;
  padding: 0 12px;
  color: var(--ink);
  border-radius: 0;
}
.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 30px);
  background: var(--lime);
  color: var(--ink);
  padding: 14px 22px;
  font-weight: 700;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .menu-button {
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
  }
  .mobile-menu.open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 24px 32px;
    flex-direction: column;
    gap: 22px;
    border-bottom: 1px solid var(--line);
  }
  .hero {
    height: auto;
    min-height: 760px;
  }
  .hero-content {
    padding-top: 155px;
  }
  .hero-stats {
    left: 24px;
    right: 24px;
  }
  .hero-stats div {
    width: 33.333%;
    height: 105px;
    padding: 20px;
  }
  .trust-strip {
    align-items: flex-start;
    gap: 20px;
    flex-direction: column;
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .trust-strip div {
    gap: 20px;
    flex-wrap: wrap;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-card {
    min-height: 400px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .case-row {
    grid-template-columns: 38px 1.7fr 0.7fr;
  }
  .case-detail {
    display: none;
  }
  .cooperation {
    grid-template-columns: 1fr;
    gap: 70px;
  }
  .profile-section {
    grid-template-columns: 1fr;
  }
  .profile-image {
    min-height: 500px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .nav {
    height: 68px;
    padding: 0 20px;
  }
  .mobile-menu.open {
    top: 68px;
    padding: 22px 20px;
  }
  .hero {
    min-height: 730px;
  }
  .hero-photo {
    background-position: 61% 20%;
  }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 24, 22, 0.9), rgba(7, 24, 22, 0.35)),
      linear-gradient(0deg, rgba(7, 24, 22, 0.85), transparent 60%);
  }
  .hero-content {
    padding: 135px 20px 220px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero-project-title {
    font-size: 42px;
    line-height: 1.13;
  }
  .hero-content > p {
    font-size: 15px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .hero-stats {
    left: 0;
    right: 0;
  }
  .hero-stats div {
    padding: 18px 12px;
  }
  .hero-stats strong {
    font-size: 27px;
  }
  .section {
    padding: 78px 20px;
  }
  .section-heading h2,
  .cooperation h2,
  .final-cta h2 {
    font-size: 38px;
  }
  .section-heading > p {
    margin: 0;
  }
  .project-card {
    padding: 24px;
    min-height: 420px;
  }
  .project-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .case-row {
    min-height: 150px;
    grid-template-columns: 28px 1fr auto;
    gap: 12px;
  }
  .case-row:hover {
    padding: 0;
  }
  .case-title h3 {
    font-size: 18px;
  }
  .case-result strong {
    font-size: 30px;
  }
  .case-badge {
    display: none;
  }
  .cooperation {
    gap: 60px;
  }
  .cooperation-steps article {
    grid-template-columns: 25px 38px 1fr;
    gap: 12px;
  }
  .profile-image {
    min-height: 390px;
  }
  .profile-copy {
    padding: 70px 24px;
  }
  .final-cta {
    padding: 75px 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 40px;
  }
  .circle-cta {
    width: 130px;
    height: 130px;
  }
  footer {
    grid-template-columns: 1fr;
    padding: 50px 20px;
  }
  footer > small {
    grid-column: 1;
  }
  .contact-modal {
    padding: 34px 22px;
  }
  .contact-modal form {
    grid-template-columns: 1fr;
  }
  .contact-modal label {
    grid-column: 1 !important;
  }
}
