:root {
  --blue: #0c4da2;
  --ink: #1c2434;
  --muted: #5c6578;
  --line: #e6e8ee;
  --nav: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: #fff;
}

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

.nav {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav);
  padding: 0 48px;
  color: #fff;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav nav {
  display: flex;
  gap: 36px;
  font-size: 15px;
}

.nav nav a:hover { opacity: 0.75; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 16, 38, 0.72) 0%, rgba(7, 16, 38, 0.28) 52%, rgba(7, 16, 38, 0.18) 100%),
    url("images/hero.jpg") center / cover no-repeat;
}

.hero-inner {
  width: min(1120px, calc(100% - 96px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 16px;
  letter-spacing: 0.22em;
  font-size: 14px;
}

.hero h1 {
  margin: 0;
  font-size: 68px;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: 0.04em;
}

.rule {
  display: block;
  width: 56px;
  height: 2px;
  margin: 22px 0;
  background: #fff;
}

.lead {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.04em;
}

.follow {
  width: min(1120px, calc(100% - 96px));
  margin: 0 auto;
  padding: 88px 0 96px;
}

.section-head h2,
.profile h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 650;
}

.en {
  margin: 8px 0 0;
  color: #8b93a7;
  letter-spacing: 0.16em;
  font-size: 13px;
}

.card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 40px rgba(20, 35, 70, 0.06);
}

.qr-frame {
  display: grid;
  place-items: center;
  height: 280px;
  background: #f4f6fa;
}

.qr-frame img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  background: #fff;
}

.qr-missing {
  display: none;
  margin: 0;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
}

.qr-frame.is-missing img { display: none; }
.qr-frame.is-missing .qr-missing { display: block; }

.card-body { padding: 22px 24px 26px; }

.card-body h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.profile {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 560px;
  color: #fff;
}

.profile-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08), transparent 42%),
    var(--blue);
}

.profile-copy .en { color: rgba(255, 255, 255, 0.72); }

.profile-copy h3 {
  margin: 28px 0 16px;
  font-size: 28px;
  font-weight: 650;
}

.profile-copy p:last-of-type {
  max-width: 460px;
  margin: 0;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.88);
}

.profile-btn {
  align-self: flex-start;
  margin-top: 32px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  letter-spacing: 0.08em;
}

.profile-btn:hover { background: rgba(255, 255, 255, 0.12); }

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.profile-grid article {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 40px 32px;
  background:
    linear-gradient(180deg, rgba(10, 24, 58, 0.15), rgba(10, 24, 58, 0.72)),
    url("images/hero.jpg") center / cover no-repeat;
}

.profile-grid article:last-child {
  background-position: 70% center;
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.18);
}

.profile-grid svg {
  width: 42px;
  height: 42px;
}

.profile-grid h3 {
  margin: 8px 0 0;
  font-size: 24px;
}

.profile-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.04em;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 48px;
  color: var(--muted);
  font-size: 13px;
}

footer a:hover { color: var(--blue); }

@media (max-width: 860px) {
  .nav { padding: 0 20px; }

  .nav-toggle { display: block; }

  .nav nav {
    display: none;
    position: absolute;
    top: var(--nav);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    background: rgba(10, 18, 36, 0.94);
  }

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

  .nav nav a { padding: 14px 20px; }

  .hero-inner,
  .follow { width: calc(100% - 40px); }

  .hero h1 { font-size: 42px; }

  .lead { font-size: 16px; }

  .card-row,
  .profile,
  .profile-grid { grid-template-columns: 1fr; }

  .profile-copy { padding: 48px 24px; }

  .profile-grid article { min-height: 240px; }

  footer {
    flex-direction: column;
    padding: 22px 20px 32px;
  }
}
