:root {
  --ink: #202124;
  --muted: #62666c;
  --accent: #002fa7;
  --line: #e2e3e6;
  --surface: #f7f7f8;
  --header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", "Source Han Sans SC", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, summary { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin-top: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1001;
  padding: 8px 16px;
  color: #fff;
  background: var(--accent);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.container, .header-inner { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 40px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; }
.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  color: #fff;
  background: var(--accent);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  place-items: center;
}
.brand-name { font-size: 20px; font-weight: 600; }
.main-menu { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.main-menu a { padding-block: 12px; color: var(--muted); font-size: 14px; text-decoration: none; }
.main-menu a:hover, .main-menu a:focus-visible { color: var(--accent); }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 20px;
  color: #fff;
  background: var(--accent);
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
}
.header-cta:hover, .button-primary:hover { background: #002782; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }

.hero {
  position: relative;
  height: min(600px, calc(100svh - var(--header-height) - 100px));
  min-height: 450px;
  margin-top: var(--header-height);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #383838;
}
.hero-slides { position: absolute; inset: 0; z-index: -2; display: flex; }
.hero-slide { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity .4s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .48); }
.hero-inner { display: flex; align-items: center; height: 100%; padding-block: 40px 74px; }
.hero-copy { max-width: 650px; }
.hero h1 { margin-bottom: 20px; font-size: 64px; font-weight: 600; line-height: 1.25; }
.hero-tagline { margin-bottom: 22px; font-size: 28px; line-height: 1.5; }
.hero-lede { max-width: 530px; margin-bottom: 0; color: #fff; font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 24px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.button-primary { color: #fff; background: var(--accent); }
.text-link { padding-block: 10px; color: #fff; font-size: 15px; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: rgba(255, 255, 255, .65); }
.text-link:hover { text-decoration-color: #fff; }
.hero :focus-visible { outline-color: #fff; }
.hero-footer { position: absolute; inset: auto 0 24px; display: flex; justify-content: flex-end; }
.carousel-controls { display: flex; align-items: center; gap: 14px; }
.carousel-arrow { display: grid; width: 40px; height: 40px; padding: 0; color: #fff; background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .6); border-radius: 4px; place-items: center; }
.carousel-arrow img { filter: invert(1); }
.carousel-arrow:hover { background: rgba(0, 0, 0, .5); }
.carousel-count { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 66px; font-size: 13px; font-variant-numeric: tabular-nums; }
.count-divider { opacity: .65; }

.content-section { padding-block: 80px; }
h2 { margin-bottom: 24px; font-size: 32px; font-weight: 600; line-height: 1.4; }
.capabilities-intro, .careers-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 56px; margin-bottom: 44px; }
.capabilities-intro h2, .careers-heading h2 { margin: 0; }
.capabilities-intro p, .careers-heading p { max-width: 520px; margin: 0; color: var(--muted); font-size: 15px; }
.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.capability-card { padding: 30px 32px; border-right: 1px solid var(--line); }
.capability-card:first-child { padding-left: 0; }
.capability-card:last-child { padding-right: 0; border-right: 0; }
.capability-card h3 { margin-bottom: 12px; color: var(--accent); font-size: 20px; font-weight: 600; line-height: 1.5; }
.capability-card p { margin: 0; color: var(--muted); font-size: 15px; }
.capability-note { margin: 22px 0 0; color: var(--muted); font-size: 14px; }

.company-section { background: var(--surface); }
.company-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; }
.company-photo-wrap { overflow: hidden; aspect-ratio: 12 / 5; }
.company-photo-wrap img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.company-copy { color: var(--muted); font-size: 15px; line-height: 1.9; }
.company-copy p { margin-bottom: 16px; }
.company-copy p:last-child { margin-bottom: 0; }
.company-facts { display: grid; gap: 12px; padding-top: 24px; margin: 28px 0 0; border-top: 1px solid var(--line); font-size: 14px; }
.company-facts div { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 16px; }
.company-facts dt { color: var(--muted); }
.company-facts dd { margin: 0; }

.job-grid { border-top: 1px solid var(--line); }
.job-card { border-bottom: 1px solid var(--line); }
.job-card-body { display: grid; grid-template-columns: 72px 1fr; align-items: start; gap: 8px 24px; padding-block: 24px; }
.job-meta { grid-column: 1; grid-row: 1; color: var(--muted); font-size: 14px; line-height: 32px; }
.job-card h3 { grid-column: 2; grid-row: 1; margin: 0; padding-right: 178px; font-size: 20px; font-weight: 500; line-height: 1.6; }
.job-card details { grid-column: 2; grid-row: 1; align-self: start; min-width: 0; }
.job-card summary { display: flex; align-items: center; justify-content: flex-end; gap: 16px; min-height: 32px; margin-left: auto; width: 154px; color: var(--accent); cursor: pointer; font-size: 14px; list-style: none; }
.job-card summary::-webkit-details-marker { display: none; }
.job-card summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.job-card summary img { flex: 0 0 18px; margin: 4px; transition: transform .2s ease; }
.job-card details[open] summary img { transform: rotate(45deg); }
.job-details { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; padding-top: 28px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.job-details h4 { margin: 0; color: var(--ink); font-size: 15px; font-weight: 600; }
.job-details h4:first-of-type { grid-column: 1; grid-row: 1; }
.job-details ol:first-of-type { grid-column: 1; grid-row: 2; }
.job-details h4:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.job-details ol:nth-of-type(2) { grid-column: 2; grid-row: 2; }
.job-details ol { padding-left: 20px; margin: 0; }
.job-details li + li { margin-top: 8px; }

.site-footer { padding-block: 40px; background: var(--surface); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.3fr 1.4fr; gap: 40px; }
.footer-brand { margin-bottom: 14px; }
.footer-brand .brand-name { font-size: 18px; }
.footer-tagline { margin: 0; color: var(--muted); font-size: 13px; }
.footer-address > span { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 500; }
.footer-address address, .footer-legal { color: var(--muted); font-size: 13px; font-style: normal; line-height: 1.9; }
.footer-legal { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--accent); text-decoration: underline; }

@media (max-width: 980px) {
  .container, .header-inner { width: calc(100% - 48px); }
  .header-inner { gap: 24px; }
  .main-menu { gap: 24px; }
  .hero h1 { font-size: 56px; }
  .company-layout { gap: 32px; }
  .capabilities-intro, .careers-heading { gap: 32px; }
  .capability-card { padding-inline: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-legal { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --header-height: 68px; }
  .container, .header-inner { width: calc(100% - 40px); }
  .brand-name { font-size: 18px; }
  .header-cta { display: none; }
  .menu-toggle { display: grid; margin-left: auto; place-items: center; }
  .main-menu { position: absolute; top: var(--header-height); right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 8px 20px 16px; margin: 0; background: #fff; border-bottom: 1px solid var(--line); }
  .main-menu.is-open { display: flex; }
  .main-menu a { padding: 12px 0; font-size: 15px; }
  .hero { height: auto; min-height: 0; }
  .hero-inner { min-height: min(560px, calc(100svh - var(--header-height) - 88px)); padding-block: 48px 88px; }
  .hero h1 { margin-bottom: 18px; font-size: 44px; }
  .hero-tagline { max-width: 320px; margin-bottom: 18px; font-size: 22px; }
  .hero-lede { max-width: 420px; font-size: 15px; }
  .hero-actions { gap: 16px; margin-top: 26px; }
  .button { min-height: 46px; padding-inline: 18px; font-size: 14px; }
  .text-link { font-size: 14px; }
  .hero-footer { bottom: 18px; }
  .carousel-arrow { width: 36px; height: 36px; }
  .content-section { padding-block: 52px; }
  h2 { font-size: 28px; }
  .capabilities-intro, .careers-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 28px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card, .capability-card:first-child, .capability-card:last-child { padding: 22px 0; border-right: 0; }
  .capability-card + .capability-card { border-top: 1px solid var(--line); }
  .capability-card h3 { font-size: 19px; }
  .company-layout { grid-template-columns: 1fr; gap: 30px; }
  .company-photo-wrap { max-height: 400px; }
  .company-content h2 { margin-bottom: 18px; }
  .company-facts { margin-top: 24px; }
  .job-card-body { grid-template-columns: 1fr auto; gap: 6px 16px; padding-block: 20px; }
  .job-meta { grid-row: 1; font-size: 13px; line-height: 1.8; }
  .job-card h3 { grid-column: 1; grid-row: 2; padding: 0; font-size: 18px; }
  .job-card details { grid-column: 1 / -1; grid-row: 3; }
  .job-card summary { width: 100%; justify-content: space-between; min-height: 40px; margin-top: 6px; }
  .job-details { display: block; padding-top: 14px; }
  .job-details h4 { margin-bottom: 8px; }
  .job-details h4:not(:first-child) { margin-top: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-legal { grid-column: auto; }
}

@media (max-width: 360px) {
  .container, .header-inner { width: calc(100% - 32px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide, .job-card summary img { transition: none; }
}
