:root {
  --black: #06080d;
  --navy: #071526;
  --steel: #182536;
  --ink: #111827;
  --muted: #6f7885;
  --line: rgba(18, 28, 42, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);
  --white: #ffffff;
  --paper: #f5f6f8;
  --platinum: #d8dde4;
  --gold: #c8a45d;
  --ice: #8fc7dd;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Avenir Next", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

.loading,
.maintenance {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 40px;
  color: var(--white);
  background: radial-gradient(circle at 80% 20%, rgba(143, 199, 221, 0.22), transparent 32%), var(--black);
  text-align: center;
}

.loading.error {
  color: #ffd6d6;
}

.maintenance {
  align-content: center;
  gap: 16px;
}

.maintenance h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(40px, 8vw, 88px);
  font-weight: 500;
}

.maintenance p:last-child {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.8;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  height: 84px;
  padding: 0 58px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(247, 248, 250, 0.92);
  border-color: rgba(18, 28, 42, 0.12);
  backdrop-filter: blur(18px);
}

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

.brand-logo,
.brand-mark {
  width: 48px;
  height: 48px;
}

.brand-logo {
  object-fit: contain;
}

.brand-mark {
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 14px;
}

.brand-text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.brand strong {
  display: block;
  width: 176px;
  color: currentColor;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 17px;
  font-weight: 700;
  text-align: justify;
  text-align-last: justify;
  white-space: nowrap;
}

.brand small {
  display: block;
  width: 176px;
  color: currentColor;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 10px;
  letter-spacing: 0;
  opacity: 0.64;
  text-align: justify;
  text-align-last: justify;
  text-transform: uppercase;
}

.desktop-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 30px;
  color: currentColor;
  font-size: 13px;
}

.desktop-nav a {
  opacity: 0.76;
}

.desktop-nav a:hover {
  opacity: 1;
  color: var(--gold);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.site-header.scrolled .menu-button {
  border-color: rgba(18, 28, 42, 0.18);
}

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

.mobile-nav {
  position: fixed;
  inset: 88px 16px auto;
  z-index: 19;
  display: none;
  padding: 8px 18px;
  color: var(--white);
  background: rgba(6, 8, 13, 0.96);
  border: 1px solid var(--line-dark);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line-dark);
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.82), rgba(7, 21, 37, 0.62) 48%, rgba(7, 21, 37, 0.2)),
    var(--image) center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.58fr);
  align-items: end;
  gap: 70px;
  min-height: 100svh;
  padding: 154px 58px 56px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-weight: 500;
}

h1 {
  max-width: 720px;
  font-size: clamp(42px, 5.8vw, 82px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(36px, 4.6vw, 70px);
  line-height: 1.08;
}

h1 span,
h2 span {
  display: block;
  width: auto;
  text-align: left;
  text-align-last: auto;
}

.title-inline h1 span,
.title-inline h2 span {
  display: inline;
}

.title-inline h1 span + span::before,
.title-inline h2 span + span::before {
  content: " ";
}

.hero-copy > p:not(.eyebrow) {
  max-width: 760px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 20px;
  line-height: 1.86;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
}

.button.primary {
  color: var(--black);
  background: var(--gold);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}

.hero-index {
  display: grid;
  border-top: 1px solid var(--line-dark);
}

.hero-index article {
  display: grid;
  grid-template-columns: 58px minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
}

.hero-index span {
  color: var(--gold);
  font-family: Georgia, serif;
}

.hero-index strong {
  font-size: 17px;
}

.hero-index p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.65;
}

.section {
  padding: 118px 58px;
}

.section-kicker {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 38px;
}

.section-kicker span {
  height: 1px;
  background: var(--line);
}

.position {
  background: var(--paper);
}

.position-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: 76px;
}

.lead {
  margin: 0;
  color: #3d4652;
  font-size: 20px;
  line-height: 1.95;
}

.wordmark-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 54px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.wordmark-row span {
  padding: 22px 12px;
  border-right: 1px solid var(--line);
  color: var(--steel);
  font-family: Georgia, serif;
  font-size: 18px;
  text-align: center;
}

.wordmark-row span:last-child {
  border-right: 0;
}

.dark-section {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(143, 199, 221, 0.05), transparent 42%),
    var(--black);
}

.section-top {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 0.8fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 58px;
}

.section-top > p,
.editorial > p,
.industry-copy > p,
.contact-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.86;
}

.dark-section .section-top > p {
  color: rgba(255, 255, 255, 0.62);
}

.service-matrix {
  display: grid;
  border-top: 1px solid var(--line-dark);
}

.service-row {
  display: grid;
  grid-template-columns: 78px minmax(260px, 0.85fr) minmax(200px, 0.6fr) 220px minmax(220px, 0.7fr);
  gap: 28px;
  align-items: center;
  min-height: 238px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-dark);
}

.service-num {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 22px;
}

.service-title h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
}

.service-title p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.72;
}

.service-meta {
  display: grid;
  gap: 10px;
}

.service-meta span {
  padding-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  line-height: 1.5;
}

.service-image {
  height: 148px;
  overflow: hidden;
}

.service-image img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.05);
}

.service-row ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.55;
}

.enterprise {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.1fr);
  gap: 80px;
  background: #ffffff;
}

.editorial {
  position: sticky;
  top: 116px;
  align-self: start;
}

.enterprise-list {
  display: grid;
}

.enterprise-list article {
  display: grid;
  grid-template-columns: 68px minmax(180px, 0.55fr) minmax(0, 1fr);
  gap: 26px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.enterprise-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.enterprise-list span {
  color: var(--gold);
  font-family: Georgia, serif;
}

.enterprise-list h3 {
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.24;
}

.enterprise-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.industry {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.66fr);
  gap: 82px;
  min-height: 840px;
  padding: 118px 58px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 21, 38, 0.93), rgba(7, 21, 38, 0.62), rgba(7, 21, 38, 0.18)),
    var(--image) center/cover no-repeat;
}

.industry-copy {
  align-self: end;
  max-width: 820px;
}

.industry-copy > p {
  color: rgba(255, 255, 255, 0.72);
}

.industry-stack {
  align-self: end;
  display: grid;
  border-top: 1px solid var(--line-dark);
}

.industry-stack article {
  padding: 24px 0;
  border-bottom: 1px solid var(--line-dark);
}

.industry-stack strong {
  font-size: 20px;
}

.industry-stack p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.72;
}

.method {
  background: var(--paper);
}

.method-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: #ffffff;
}

.method-line article {
  min-height: 290px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.method-line article:last-child {
  border-right: 0;
}

.method-line span {
  color: var(--gold);
  font-family: Georgia, serif;
}

.method-line strong {
  display: block;
  margin-top: 78px;
  font-size: 24px;
}

.method-line p {
  color: var(--muted);
  line-height: 1.72;
}

.ecosystem {
  color: var(--white);
  background: var(--navy);
}

.ecosystem .section-top > p {
  color: rgba(255, 255, 255, 0.62);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
}

.ecosystem figure {
  position: relative;
  min-height: 372px;
  margin: 0;
  overflow: hidden;
  background: var(--steel);
}

.ecosystem img {
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  filter: saturate(0.72) contrast(1.05);
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.ecosystem figure:hover img {
  opacity: 0.82;
  transform: scale(1.035);
}

.ecosystem figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 68px 28px 28px;
  background: linear-gradient(0deg, rgba(6, 8, 13, 0.92), rgba(6, 8, 13, 0));
}

.ecosystem strong,
.ecosystem span {
  display: block;
}

.ecosystem strong {
  font-size: 22px;
}

.ecosystem span {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.62;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 0.72fr);
  gap: 82px;
  background: #ffffff;
}

.contact-note {
  display: grid;
  gap: 8px;
  margin-top: 34px;
  padding: 22px 24px;
  border-left: 3px solid var(--gold);
  background: #f3f4f6;
}

.contact-note span {
  color: var(--muted);
  line-height: 1.7;
}

.contact-copy > p {
  margin-top: 18px;
  line-height: 2.05;
}

.company-card {
  display: grid;
  gap: 22px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.company-card h3 {
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 25px;
  font-weight: 500;
}

.company-lines {
  display: grid;
  gap: 12px;
}

.company-lines p {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.company-lines strong {
  color: var(--ink);
}

.company-lines span {
  overflow-wrap: anywhere;
}

.qr-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.qr-grid div {
  display: grid;
  gap: 10px;
  width: 132px;
}

.qr-grid img,
.qr-placeholder {
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--white);
}

.qr-placeholder {
  display: grid;
  place-items: center;
  padding: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.qr-grid span {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.consult-form {
  display: grid;
  gap: 16px;
  padding: 34px;
  color: var(--ink);
  background: #f7f8fa;
  border: 1px solid var(--line);
}

.consult-form label {
  display: grid;
  gap: 8px;
  color: #364151;
  font-size: 14px;
}

.consult-form input,
.consult-form select,
.consult-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(18, 28, 42, 0.16);
  padding: 0 14px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.consult-form textarea {
  min-height: 116px;
  padding-top: 14px;
  resize: vertical;
}

.consult-form button {
  min-height: 54px;
  border: 0;
  color: var(--black);
  background: var(--gold);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.form-tip {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 38px 58px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--black);
  border-top: 1px solid var(--line-dark);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.footer-brand > div {
  width: 210px;
  min-width: 0;
}

.footer-brand img,
.footer-brand > span {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
}

.footer-brand > span {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--gold);
  font-family: Georgia, serif;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 17px;
  text-align: justify;
  text-align-last: justify;
}

.footer-brand p {
  margin: 5px 0 0;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 11px;
  letter-spacing: 0;
  text-align: justify;
  text-align-last: justify;
  text-transform: uppercase;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
  line-height: 1.7;
}

.footer-info a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1220px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .hero-grid,
  .position-layout,
  .section-top,
  .enterprise,
  .industry,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 48px;
  }

  .service-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .service-meta,
  .service-image,
  .service-row ul {
    grid-column: 2;
  }

  .service-image {
    width: min(420px, 100%);
  }

  .editorial {
    position: static;
  }

  .method-line,
  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 72px;
    padding: 0 18px;
  }

  .brand-logo,
  .brand-mark {
    width: 40px;
    height: 40px;
  }

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

  .brand small {
    display: none;
  }

  .mobile-nav {
    inset: 76px 12px auto;
  }

  .hero-grid {
    min-height: auto;
    padding: 122px 20px 38px;
  }

  h1 {
    font-size: 42px;
    line-height: 1.06;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 32px;
    line-height: 1.18;
  }

  .hero-copy > p:not(.eyebrow),
  .lead {
    font-size: 17px;
    line-height: 1.76;
  }

  .hero-actions {
    display: grid;
  }

  .hero-index article {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .hero-index p {
    grid-column: 2;
  }

  .section {
    padding: 76px 20px;
  }

  .wordmark-row,
  .method-line,
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .wordmark-row span,
  .method-line article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-row,
  .enterprise-list article {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-meta,
  .service-image,
  .service-row ul {
    grid-column: auto;
  }

  .service-title h3 {
    font-size: 27px;
  }

  .enterprise-list h3 {
    font-size: 24px;
  }

  .industry {
    min-height: auto;
    padding: 76px 20px;
  }

  .method-line strong {
    margin-top: 42px;
  }

  .ecosystem figure {
    min-height: 320px;
  }

  .contact {
    gap: 42px;
  }

  .company-lines p {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .consult-form {
    padding: 24px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }
}
