:root {
  --ink: #071b48;
  --navy: #073f83;
  --blue: #0b55d7;
  --cyan: #14c8ef;
  --violet: #623fff;
  --orange: #fe4b00;
  --paper: #f5f8fc;
  --line: #d8e4f0;
  --muted: #587096;
  --header-height: 66px;
  --side: clamp(28px, 3.7vw, 62px);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  height: var(--header-height);
  padding: 0 var(--side);
  display: grid;
  grid-template-columns: 320px 1fr auto;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(7, 27, 72, .09);
  box-shadow: 0 2px 15px rgba(29, 77, 124, .04);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; width: max-content; }
.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  background-image: url("./assets/brand-mark.v2.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.brand-name { font-weight: 700; font-size: 23px; letter-spacing: .08em; white-space: nowrap; }
.brand-latin { font-size: 22px; letter-spacing: .08em; font-weight: 600; white-space: nowrap; }
.brand-latin::before { content: ""; display: inline-block; height: 22px; margin-right: 12px; border-left: 1px solid #98a9bf; vertical-align: -4px; }

.main-nav { display: flex; align-self: stretch; align-items: center; justify-content: center; gap: clamp(26px, 3vw, 50px); }
.main-nav a { position: relative; height: 100%; display: grid; place-items: center; font-size: 16px; font-weight: 600; line-height: 1; letter-spacing: .01em; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 0; height: 3px; border-radius: 3px; background: var(--orange); transform: translateX(-50%); transition: width .2s ease; }
.main-nav a:hover::after, .main-nav a.is-active::after { width: 36px; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.search-button { width: 36px; height: 36px; padding: 7px; color: var(--navy); background: transparent; border: 0; border-left: 1px solid #a9b7ca; cursor: pointer; }
.search-button svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.contact-button { min-width: 138px; height: 44px; display: grid; place-items: center; padding: 0 24px; color: #fff; background: linear-gradient(135deg, #073f83, #0751aa); border-radius: 6px; font-size: 16px; font-weight: 600; box-shadow: 0 8px 20px rgba(7, 63, 131, .14); }
.nav-toggle { display: none; }

.hero { height: calc(100svh - var(--header-height)); min-height: 660px; display: grid; grid-template-columns: 40% 60%; overflow: hidden; background: #fff; }
.hero-copy { position: relative; z-index: 3; min-width: 0; padding: clamp(42px, 5.5vh, 62px) clamp(42px, 3.8vw, 64px) 30px var(--side); display: flex; flex-direction: column; background: linear-gradient(105deg, #fff 0%, #fff 86%, #f6f9fc 100%); container-type: inline-size; }
.eyebrow { margin: 0 0 clamp(18px, 2.7vh, 28px); display: flex; align-items: center; gap: 11px; color: #506e9d; font-size: 18px; letter-spacing: .015em; }
.eyebrow span { width: 1px; height: 18px; background: #92a5bf; }
h1 { margin: 0; color: #06183f; font-family: "Songti SC", "STSong", serif; font-size: clamp(38px, 2.75vw, 52px); font-size: clamp(38px, 9cqi, 52px); font-weight: 700; line-height: 1.36; letter-spacing: .02em; text-wrap: balance; }
.desktop-title { display: block; white-space: nowrap; }
.mobile-title { display: none; }
.lead, .description { max-width: 540px; font-size: clamp(15px, 1vw, 18px); line-height: 1.75; }
.lead { margin: clamp(24px, 3.5vh, 34px) 0 18px; color: #13336b; font-weight: 600; }
.description { margin: 0; color: #506e9d; }
.hero-actions { display: flex; width: min(100%, 430px); gap: 16px; margin-top: clamp(24px, 3.8vh, 36px); }
.button { min-width: 0; height: 52px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; border-radius: 5px; font-size: 16px; font-weight: 600; line-height: 1; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { flex: 1.16; color: #fff; background: linear-gradient(135deg, #06478f, #0758b5); box-shadow: 0 12px 26px rgba(7, 63, 131, .17); }
.button-secondary { flex: 1; color: var(--navy); border: 1.5px solid #0b61d8; background: #fff; }
.hero-note { margin-top: auto; padding-top: 26px; color: #60799c; font-size: 14px; line-height: 1.6; }
.hero-note p { margin: 18px 0 0; }
.note-line { display: block; width: 40px; height: 1px; background: #244d86; }

.hero-visual { position: relative; min-height: 0; overflow: hidden; background: #06172c; }
.hero-visual img { position: absolute; width: 151.8%; max-width: none; height: 107.5%; left: -51.8%; top: -7.5%; object-fit: fill; }
.visual-shade { position: absolute; inset: 0; box-shadow: inset 28px 0 45px rgba(1, 17, 35, .2); pointer-events: none; }

@media (max-width: 1280px) {
  .site-header { grid-template-columns: 270px 1fr auto; gap: 14px; }
  .brand-name { font-size: 20px; }
  .brand-latin { font-size: 18px; }
  .main-nav { gap: 23px; }
  .main-nav a { font-size: 14px; }
  .contact-button { min-width: 110px; padding-inline: 18px; }
  .hero { grid-template-columns: 40% 60%; }
  .hero-note { margin-top: auto; }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 18px; }
  .brand-latin { font-size: 16px; }
  .header-actions { display: none; }
  .nav-toggle { display: grid; width: 42px; height: 42px; padding: 10px 8px; gap: 5px; align-content: center; background: transparent; border: 1px solid var(--line); border-radius: 6px; }
  .nav-toggle span { height: 2px; background: var(--ink); }
  .main-nav { position: absolute; left: 0; right: 0; top: var(--header-height); display: none; padding: 18px var(--side) 28px; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 35px rgba(5, 34, 78, .1); }
  .main-nav.is-open { display: grid; }
  .main-nav a { height: 48px; justify-content: start; }
  .main-nav a::after { left: 0; bottom: 4px; transform: none; }
  .hero { height: auto; min-height: auto; grid-template-columns: 1fr; overflow: visible; }
  .hero-copy { padding-top: 70px; padding-bottom: 64px; }
  .hero-note { margin-top: 64px; }
  .hero-visual { min-height: 70vw; }
  .hero-visual img { width: 151.8%; left: -51.8%; }
}

@media (max-width: 600px) {
  :root { --side: 22px; --header-height: 60px; }
  .brand-latin::before { margin-right: 8px; }
  .brand { gap: 7px; }
  .brand-mark { width: 36px; height: 36px; flex-basis: 36px; background-size: 1505px 847px; background-position: -57px -11px; }
  .brand-name { font-size: 17px; letter-spacing: .04em; }
  .brand-latin { font-size: 15px; letter-spacing: .04em; }
  .hero-visual { min-height: 78vw; }
  .hero-copy { padding-top: 48px; padding-bottom: 52px; }
  .eyebrow { margin-bottom: 24px; gap: 8px; font-size: 13px; line-height: 1.5; white-space: nowrap; }
  .eyebrow span { height: 14px; }
  h1 { font-size: clamp(34px, 10.6vw, 40px); line-height: 1.42; letter-spacing: .015em; }
  .desktop-title { display: none; }
  .mobile-title { display: block; }
  .lead, .description { font-size: 15px; line-height: 1.9; }
  .lead { margin-top: 32px; }
  .description { margin-top: 20px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; flex: none; }
}

@media (min-width: 981px) and (max-height: 760px) {
  .hero { min-height: 600px; }
  .hero-copy { padding-top: 34px; padding-bottom: 24px; }
  .eyebrow { margin-bottom: 16px; font-size: 16px; }
  h1 { font-size: clamp(36px, 8.3cqi, 46px); }
  .lead, .description { font-size: 14px; line-height: 1.65; }
  .lead { margin-top: 20px; margin-bottom: 12px; }
  .hero-actions { margin-top: 20px; }
  .button { height: 46px; font-size: 15px; }
  .hero-note { padding-top: 18px; font-size: 13px; }
  .hero-note p { margin-top: 12px; }
}
