:root {
  color-scheme: light;
  --ink: #132220;
  --muted: #61706d;
  --soft: #eef2ed;
  --paper: #f6f8f4;
  --white: #ffffff;
  --line: #dce3dd;
  --coal: #071315;
  --forest: #0c403a;
  --sea: #1d6b73;
  --brass: #c79b4b;
  --brass-deep: #9d7130;
  --shadow: 0 24px 80px rgba(7, 19, 21, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

body::selection {
  color: var(--coal);
  background: var(--brass);
}

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

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
  letter-spacing: 0;
}

strong,
dd,
li,
time {
  overflow-wrap: anywhere;
}

h1 {
  margin-bottom: 6px;
  font-size: 96px;
  line-height: 0.96;
}

h2 {
  margin-bottom: 0;
  font-size: 46px;
  line-height: 1.08;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.28;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  min-height: 72px;
  padding: 0 56px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 19, 21, 0.72);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 820;
}

.brand-logo {
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: var(--white);
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text > span {
  font-size: 18px;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 680;
}

.nav a {
  color: rgba(255, 255, 255, 0.76);
}

.nav a:hover {
  color: var(--white);
}

.language-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.lang-button {
  min-width: 48px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  cursor: pointer;
}

.lang-button.active {
  color: var(--coal);
  background: var(--brass);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--coal);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 19, 21, 0.95) 0%, rgba(7, 19, 21, 0.76) 43%, rgba(7, 19, 21, 0.24) 100%),
    linear-gradient(180deg, rgba(7, 19, 21, 0.2) 0%, rgba(7, 19, 21, 0.78) 100%);
}

.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: end;
  gap: 68px;
  width: min(1220px, calc(100% - 64px));
  margin: 0 auto;
  padding-top: 92px;
}

.hero-content {
  max-width: 770px;
}

.eyebrow,
.section-label,
.project-kicker {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-latin {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 22px;
  font-weight: 760;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 23px;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.credential-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 720px;
  margin-top: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.credential-row div {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px 20px;
  background: rgba(7, 19, 21, 0.46);
  backdrop-filter: blur(12px);
}

.credential-row span {
  color: var(--brass);
  font-size: 12px;
  font-weight: 850;
}

.credential-row strong {
  color: var(--white);
  font-size: 17px;
  line-height: 1.35;
}

.credential-row small {
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.45;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 7px;
  font-size: 15px;
  font-weight: 760;
  cursor: pointer;
}

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

.button.primary:hover {
  background: #d6ab5d;
}

.button.primary.dark {
  border-color: var(--forest);
  color: var(--white);
  background: var(--forest);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.copy-button {
  color: var(--forest);
  border-color: var(--line);
  background: var(--white);
}

.hero-panel {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.18);
}

.panel-mark {
  margin: 0;
  padding: 16px 24px;
  color: rgba(255, 255, 255, 0.58);
  background: rgba(7, 19, 21, 0.76);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.hero-panel div {
  padding: 24px;
  background: rgba(7, 19, 21, 0.62);
}

.hero-panel span {
  display: block;
  margin-bottom: 12px;
  color: var(--brass);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  color: var(--white);
  font-size: 19px;
  line-height: 1.45;
}

.section {
  padding: 108px 32px;
}

.section-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 78px;
}

.section-intro {
  display: grid;
  align-content: start;
  gap: 4px;
}

.text-flow {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.86;
}

.text-flow p {
  margin-bottom: 22px;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, 100%);
  margin: 56px auto 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.facts-grid div {
  min-height: 128px;
  padding: 22px;
  background: var(--white);
}

.facts-grid,
.featured-project,
.links-grid,
.content-list {
  box-shadow: var(--shadow);
}

.facts-grid dt {
  margin-bottom: 12px;
  color: var(--sea);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.facts-grid dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.58;
}

.dark-band {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(7, 19, 21, 0.96), rgba(12, 64, 58, 0.96)),
    var(--coal);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.76;
}

.dark-band .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.14);
}

.expertise-grid article {
  min-height: 310px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.055);
}

.expertise-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--brass);
  font-weight: 850;
}

.expertise-grid h3 {
  color: var(--white);
}

.expertise-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.timeline li {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 56px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.timeline time {
  color: var(--brass-deep);
  font-weight: 850;
}

.timeline p {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.75;
}

.project-section {
  background: var(--white);
}

.featured-project {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) 360px;
  gap: 44px;
  align-items: stretch;
  margin-bottom: 26px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(12, 64, 58, 0.08), rgba(199, 155, 75, 0.12)),
    var(--paper);
}

.featured-project h3 {
  margin-bottom: 18px;
  font-size: 34px;
}

.featured-project p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

.mini-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  border-radius: 8px;
  color: var(--white);
  background: var(--coal);
}

.mini-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.mini-card-head > div {
  display: grid;
  gap: 8px;
}

.mini-card span {
  color: var(--brass);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.mini-card strong {
  font-size: 24px;
}

.mini-code {
  width: min(100%, 260px);
  aspect-ratio: 1;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: var(--white);
  object-fit: contain;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.22);
}

.wechat-line {
  display: grid;
  gap: 7px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.wechat-line strong {
  font-size: 20px;
}

.mini-card p {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
  font-size: 14px;
  line-height: 1.55;
}

.mini-card small {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-list {
  border-top: 1px solid var(--line);
}

.project-item {
  display: grid;
  grid-template-columns: minmax(220px, 0.58fr) minmax(0, 1.42fr);
  gap: 60px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.project-item h3 {
  margin-bottom: 0;
}

.project-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.76;
}

.content-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--line);
}

.content-list li {
  min-height: 98px;
  display: flex;
  align-items: center;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.55;
}

.content-list a {
  border-bottom: 1px solid rgba(199, 155, 75, 0.58);
  color: var(--forest);
  font-weight: 780;
}

.content-list a:hover {
  color: var(--brass-deep);
}

.links-section {
  background: var(--soft);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.link-card {
  position: relative;
  min-height: 230px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: 26px;
  background: var(--white);
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.link-card::after {
  content: "↗";
  position: absolute;
  right: 24px;
  bottom: 22px;
  color: var(--brass-deep);
  font-size: 18px;
  font-weight: 850;
}

.link-card:hover {
  color: var(--white);
  background: var(--coal);
  transform: translateY(-2px);
}

.link-card span {
  color: var(--brass-deep);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.link-card:hover span {
  color: var(--brass);
}

.link-card strong {
  display: block;
  color: inherit;
  font-size: 20px;
  line-height: 1.42;
}

.link-card small {
  color: var(--muted);
  font-weight: 760;
}

.link-card:hover small {
  color: rgba(255, 255, 255, 0.64);
}

.link-card:hover::after {
  color: var(--brass);
}

.contact-section {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 19, 21, 0.98), rgba(12, 64, 58, 0.94)),
    var(--coal);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 72px;
}

.contact-inner p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 21px;
  line-height: 1.82;
}

.contact-tagline {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 1080px) {
  h1 {
    font-size: 78px;
  }

  .site-header {
    padding: 0 28px;
  }

  .nav {
    gap: 18px;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 56px;
  }

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

  .panel-mark {
    grid-column: 1 / -1;
  }

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

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

  .expertise-grid article {
    min-height: 250px;
  }

  .featured-project {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 20px;
  }

  .site-header {
    display: flex;
    justify-content: flex-start;
    min-height: 64px;
    padding: 0 20px;
    gap: 14px;
  }

  .nav {
    display: none;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-text small {
    display: none;
  }

  .language-switch {
    flex: 0 0 auto;
    margin-left: 8px;
  }

  .lang-button {
    min-width: 42px;
  }

  .hero {
    min-height: 90vh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 19, 21, 0.94), rgba(7, 19, 21, 0.8)),
      linear-gradient(180deg, rgba(7, 19, 21, 0.2) 0%, rgba(7, 19, 21, 0.76) 100%);
  }

  .hero-stage {
    width: calc(100% - 40px);
    padding-top: 88px;
  }

  .hero-content {
    max-width: 350px;
  }

  .hero-panel {
    width: 100%;
    max-width: 350px;
  }

  .credential-row {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin-top: 28px;
  }

  .credential-row div {
    min-height: auto;
  }

  .hero-copy,
  .text-flow,
  .contact-inner p {
    font-size: 18px;
  }

  .hero-latin {
    font-size: 18px;
  }

  .hero-panel,
  .two-column,
  .section-heading,
  .timeline li,
  .project-item,
  .contact-inner,
  .content-list,
  .links-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    padding: 20px;
  }

  .section {
    padding: 76px 20px;
  }

  .two-column,
  .section-heading,
  .contact-inner {
    gap: 28px;
  }

  .facts-grid,
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .facts-grid div {
    min-height: auto;
  }

  .expertise-grid article {
    min-height: auto;
  }

  .expertise-grid span {
    margin-bottom: 24px;
  }

  .timeline li {
    gap: 10px;
  }

  .featured-project {
    padding: 24px;
  }

  .featured-project h3 {
    font-size: 28px;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 48px;
  }

  .hero-stage {
    width: calc(100% - 32px);
  }

  .hero-copy {
    font-size: 17px;
  }

  .language-switch {
    transform: scale(0.94);
    transform-origin: right center;
  }
}
