:root {
  --ink: #020710;
  --ink-2: #07111d;
  --midnight: #0b1b2b;
  --blue: #13314e;
  --blue-soft: #1c3d5c;
  --gold: #d8b266;
  --gold-bright: #f3db9d;
  --gold-deep: #9d7436;
  --ivory: #f4ead8;
  --muted: #aeb9c5;
  --line: rgba(216, 178, 102, .28);
  --glass: rgba(5, 12, 22, .72);
  --shadow: 0 28px 70px rgba(0, 0, 0, .42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ivory);
  background:
    radial-gradient(circle at 50% 0%, rgba(28, 61, 92, .55), transparent 36rem),
    linear-gradient(180deg, var(--ink) 0%, #030912 45%, #01050b 100%);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  min-height: 76px;
  padding: 0 clamp(18px, 4vw, 70px);
  color: var(--ivory);
  background: linear-gradient(180deg, rgba(0, 6, 14, .96), rgba(0, 6, 14, .62) 72%, transparent);
  border-bottom: 1px solid rgba(216, 178, 102, .08);
  transition: background .25s ease, min-height .25s ease;
}

.site-header.scrolled {
  min-height: 64px;
  background: rgba(1, 7, 15, .92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #06101b;
  background: linear-gradient(135deg, #ffe4a8, #b6823c);
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(216, 178, 102, .28);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(17px, 2.4vw, 38px);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(15px, 1.15vw, 20px);
  white-space: nowrap;
}

.main-nav a {
  opacity: .9;
  transition: color .2s ease, opacity .2s ease;
}

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

.main-nav i {
  width: 1px;
  height: 18px;
  background: rgba(244, 234, 216, .45);
}

.menu-button {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(2, 7, 16, .62);
  color: var(--ivory);
}

.menu-button span {
  display: block;
  height: 1px;
  margin: 6px 0;
  background: var(--gold-bright);
}

.hero-section {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: 120px 24px 7.5vh;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 156px;
  background: linear-gradient(180deg, #010712 0%, #010712 48%, rgba(1, 7, 18, .88) 72%, rgba(1, 7, 18, 0) 100%);
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 48%;
  background:
    linear-gradient(180deg, rgba(1, 5, 11, 0) 0%, rgba(1, 5, 11, .82) 24%, rgba(1, 5, 11, .97) 54%, #01050b 100%),
    radial-gradient(ellipse at 50% 47%, rgba(1, 5, 11, .98) 0%, rgba(1, 5, 11, .92) 42%, rgba(1, 5, 11, .62) 68%, rgba(1, 5, 11, 0) 100%);
  pointer-events: none;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -3;
  background-image: url("assets/hero-shenzhen.jpg");
  background-size: cover;
  background-position: center top;
  transform: scale(1.012);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0, 7, 16, .18) 0%, rgba(1, 5, 11, .28) 38%, rgba(1, 5, 11, .92) 86%, var(--ink) 100%),
    linear-gradient(90deg, rgba(1, 5, 11, .58), transparent 18%, transparent 82%, rgba(1, 5, 11, .66));
}

.network-lines {
  position: absolute;
  inset: 18% 18% auto;
  height: 180px;
  z-index: -1;
  opacity: .55;
  pointer-events: none;
}

.dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 16px rgba(243, 219, 157, .85);
}

.d1 { left: 5%; top: 35%; }
.d2 { left: 28%; top: 9%; }
.d3 { right: 26%; top: 42%; }
.d4 { right: 8%; top: 11%; }

.line {
  position: absolute;
  height: 1px;
  transform-origin: left;
  background: linear-gradient(90deg, transparent, rgba(244, 234, 216, .55), transparent);
}

.l1 { left: 5%; top: 39%; width: 29%; transform: rotate(-20deg); }
.l2 { left: 28%; top: 12%; width: 47%; transform: rotate(22deg); }
.l3 { right: 8%; top: 15%; width: 32%; transform: rotate(137deg); }

.hero-content {
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0;
  color: var(--ivory);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(42px, 6.1vw, 92px);
  font-weight: 900;
  line-height: 1.08;
}

.hero-subtitle {
  margin: 24px 0 42px;
  color: var(--gold-bright);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(20px, 2.2vw, 34px);
  letter-spacing: .22em;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 40px);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  min-width: min(100%, 270px);
  padding: 0 30px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  color: var(--ivory);
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #100b04;
  background: linear-gradient(180deg, #fee2a0 0%, #d6a85c 51%, #a67937 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.62), 0 14px 34px rgba(166, 121, 55, .24);
}

.btn-ghost {
  background: rgba(2, 7, 16, .62);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  color: var(--gold-bright);
  font-family: "Noto Serif SC", serif;
  font-size: 17px;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
}

.section {
  position: relative;
  padding: clamp(72px, 9vw, 128px) 24px;
}

.section::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

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

.intro-band {
  padding-top: 62px;
  padding-bottom: 62px;
  background: linear-gradient(180deg, rgba(8, 19, 31, .92), rgba(4, 10, 18, .92));
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 42px;
  align-items: center;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  color: var(--ivory);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 800;
  line-height: 1.28;
}

h3 {
  margin: 0 0 16px;
  color: var(--gold-bright);
  font-family: "Noto Serif SC", serif;
  font-size: 24px;
  line-height: 1.25;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.intro-grid p {
  margin: 0;
}

.intro-stats {
  display: grid;
  grid-template-columns: auto auto;
  gap: 6px 14px;
  min-width: 205px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(2, 7, 16, .48);
}

.intro-stats strong {
  color: var(--gold-bright);
  font-family: "Noto Serif SC", serif;
  font-size: 30px;
}

.intro-stats span {
  align-self: center;
  color: var(--muted);
}

.section-heading {
  width: min(820px, 100%);
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tier-card,
.ecosystem-grid article,
.pmo-steps article,
.city-board,
.apply-form,
.contact-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255,255,255,.035), transparent 38%),
    rgba(5, 13, 23, .72);
  box-shadow: var(--shadow);
}

.tier-card {
  min-height: 390px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.tier-card.featured {
  background:
    linear-gradient(180deg, rgba(216, 178, 102, .16), rgba(5, 13, 23, .86)),
    rgba(5, 13, 23, .86);
  transform: translateY(-14px);
}

.tier-label {
  color: var(--gold);
  font-family: "Noto Serif SC", serif;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.tier-card p {
  margin: 0 0 24px;
}

ul {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
}

li {
  position: relative;
  padding: 12px 0 12px 20px;
  color: #d5dde6;
  border-top: 1px solid rgba(216, 178, 102, .16);
}

li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

.dark-panel {
  background:
    radial-gradient(circle at 18% 35%, rgba(216, 178, 102, .11), transparent 24rem),
    linear-gradient(110deg, #030913 0%, #071827 52%, #020711 100%);
}

.pmo-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(34px, 5vw, 74px);
  align-items: start;
}

.pmo-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.pmo-steps article {
  min-height: 230px;
  padding: 28px;
}

.pmo-steps b {
  display: block;
  margin-bottom: 34px;
  color: rgba(243, 219, 157, .36);
  font-family: "Noto Serif SC", serif;
  font-size: 52px;
  line-height: .8;
}

.pmo-steps p,
.ecosystem-grid p {
  margin-bottom: 0;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ecosystem-grid article {
  min-height: 260px;
  padding: 28px;
}

.ecosystem-grid article:nth-child(even) {
  margin-top: 38px;
}

.city-section {
  background:
    linear-gradient(rgba(2, 7, 16, .88), rgba(2, 7, 16, .9)),
    url("assets/hero-shenzhen.jpg") center/cover fixed;
}

.city-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.city-layout > div:first-child p {
  width: min(620px, 100%);
}

.city-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  padding: 1px;
  background-color: var(--line);
}

.city-board div {
  min-height: 150px;
  padding: 28px;
  background: rgba(4, 12, 22, .92);
}

.city-board strong {
  display: block;
  margin-bottom: 14px;
  color: var(--gold-bright);
  font-family: "Noto Serif SC", serif;
  font-size: 24px;
}

.city-board span {
  color: var(--muted);
  line-height: 1.7;
}

.diagnosis {
  background: linear-gradient(180deg, rgba(8, 18, 29, .72), rgba(2, 7, 16, .98));
}

.diagnosis-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  align-items: center;
}

.diagnosis-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.diagnosis-list span {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 0 22px;
  color: var(--gold-bright);
  border: 1px solid var(--line);
  background: rgba(4, 12, 22, .72);
  box-shadow: 0 16px 34px rgba(0,0,0,.24);
}

.apply-section {
  padding-bottom: 86px;
}

.apply-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 44px;
  align-items: start;
}

.apply-copy {
  position: sticky;
  top: 92px;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 18px;
  margin-top: 34px;
  padding: 26px;
}

.contact-card span {
  color: var(--muted);
}

.contact-card strong {
  color: var(--gold-bright);
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
}

.apply-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
}

.apply-form label {
  display: grid;
  gap: 10px;
  color: var(--gold-bright);
  font-size: 15px;
}

.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  color: var(--ivory);
  border: 1px solid rgba(216, 178, 102, .32);
  background: rgba(0, 5, 12, .68);
  border-radius: 6px;
  padding: 12px 14px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(216, 178, 102, .14);
}

select option {
  background: #06111e;
}

.form-note {
  grid-column: 1 / -1;
  min-height: 28px;
  margin: 0;
  color: var(--gold-bright);
}

.site-footer {
  padding: 34px 24px;
  border-top: 1px solid var(--line);
  background: #01050b;
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-inner strong {
  color: var(--gold-bright);
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
}

.footer-inner p {
  margin: 6px 0 0;
  font-size: 14px;
}

.footer-inner a {
  color: var(--gold-bright);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 68px;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    background: rgba(1, 7, 15, .96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 14px 12px;
    text-align: center;
  }

  .main-nav i {
    width: 100%;
    height: 1px;
    background: rgba(216, 178, 102, .18);
  }

  .intro-grid,
  .pmo-layout,
  .city-layout,
  .diagnosis-layout,
  .apply-layout {
    grid-template-columns: 1fr;
  }

  .tier-grid,
  .ecosystem-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tier-card.featured,
  .ecosystem-grid article:nth-child(even) {
    transform: none;
    margin-top: 0;
  }

  .apply-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  .hero-section {
    min-height: 760px;
    padding: 110px 18px 54px;
    align-items: end;
  }

  .hero-bg {
    background-position: center top;
  }

  .eyebrow,
  .section-kicker {
    font-size: 12px;
    letter-spacing: .18em;
  }

  .hero-content h1 {
    font-size: clamp(38px, 11vw, 56px);
  }

  .hero-subtitle {
    font-size: 20px;
    letter-spacing: .12em;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .tier-grid,
  .ecosystem-grid,
  .pmo-steps,
  .city-board,
  .apply-form {
    grid-template-columns: 1fr;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .intro-stats {
    grid-template-columns: auto 1fr;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: block;
  }
}
