@charset "UTF-8";

:root {
  --navy: #0b2546;
  --blue: #102f5e;
  --blue-light: #255f96;
  --cyan: #2c8ca3;
  --ink: #172838;
  --text: #425363;
  --muted: #6c7b88;
  --paper: #ffffff;
  --soft: #f3f6f8;
  --line: #d8e0e6;
  --line-dark: rgba(255, 255, 255, 0.17);
  --container: 1200px;
  --header-height: 82px;

  /* ---------- Type scale ----------
     大 Large  : --fs-h1 (首页主标题) / --fs-h1-sub (子页标题) / --fs-h2 (板块标题) / --fs-stat (强调数字)
     中 Medium : --fs-h3 (卡片/条目标题) / --fs-lead (导语) / --fs-body (正文)
     小 Small  : --fs-small (辅助说明文字) / --fs-label (标签、面包屑、角标) */
  --fs-h1: clamp(34px, 3.6vw, 46px);
  --fs-h1-sub: clamp(28px, 3.1vw, 38px);
  --fs-h2: clamp(26px, 2.6vw, 34px);
  --fs-stat: 28px;
  --fs-h3: 19px;
  --fs-lead: 17px;
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-label: 13px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans CJK SC",
    "Microsoft YaHei", system-ui, sans-serif;
  font-size: var(--fs-body);
  font-variant-numeric: tabular-nums;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
dl,
dd,
ol,
ul {
  margin-top: 0;
}

figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--soft);
}

.section-deep {
  color: #fff;
  background: var(--navy);
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--navy);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

/* Not rendered for visitors; keeps the image at its real, full-resolution
   dimensions so search engine crawlers can still read and index it. */
.crawler-only {
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.crawler-only img {
  display: block;
  width: 645px;
  height: 400px;
  max-width: none;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255);
}

.site-header.is-scrolled {
  box-shadow: 0 2px 10px rgba(11, 37, 70, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 198px;
  flex-shrink: 0;
  font-size: 32px;
  font-weight: 500;
}

.brand img {
  width: 20%;
  height: auto;
  margin-right: 2%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: var(--fs-small);
  font-weight: 550;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.site-nav > a:not(.nav-cta):hover,
.site-nav > a:not(.nav-cta):focus-visible,
.site-nav > a.is-active {
  border-bottom-color: var(--blue);
}

.nav-cta {
  padding: 11px 20px;
  color: #fff;
  background: var(--blue);
}

.nav-cta:hover {
  background: var(--blue-light);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 25px;
  height: 2px;
  margin: 7px auto;
  background: currentColor;
}

/* ---------- Breadcrumb ---------- */

.breadcrumb {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: var(--fs-label);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb a {
  color: var(--blue-light);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb li:not(:last-child)::after {
  margin-left: 6px;
  content: "/";
  color: var(--line);
}

/* ---------- Page hero (sub-pages) ---------- */

.overline {
  display: block;
  margin-bottom: 14px;
  color: var(--blue-light);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-hero {
  padding: calc(var(--header-height) + 48px) 0 48px;
  color: #fff;
  background: var(--navy);
  border-bottom: 3px solid var(--blue-light);
}

.page-hero .breadcrumb {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.48);
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.82);
}

.page-hero .breadcrumb li:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.28);
}

.page-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.page-hero-text {
  flex: 1 1 480px;
  min-width: 0;
}

.page-hero h1 {
  max-width: 720px;
  margin-bottom: 14px;
  color: #fff;
  font-size: var(--fs-h1-sub);
  font-weight: 650;
  line-height: 1.35;
}

.page-hero .lead {
  max-width: 640px;
  margin: 0;
  color: #c2d2e0;
  font-size: var(--fs-body);
}

.page-hero-stats {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  gap: 30px;
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.page-hero-stats > div {
  min-width: 88px;
}

.page-hero-stats strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: var(--fs-stat);
  font-weight: 700;
}

.page-hero-stats span {
  color: #9db3c6;
  font-size: var(--fs-label);
}

/* ---------- Home hero ---------- */

.hero {
  padding: calc(var(--header-height) + 64px) 0 72px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
}

.hero h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: var(--fs-h1);
  font-weight: 650;
  line-height: 1.35;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--text);
  font-size: var(--fs-lead);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--blue);
  font-size: var(--fs-body);
  font-weight: 600;
}

.button-primary {
  color: #fff;
  background: var(--blue);
}

.button-primary:hover {
  background: var(--blue-light);
}

.button-secondary:hover {
  color: #fff;
  background: var(--blue);
}

.hero-focus {
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  background: #fff;
}

.focus-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.focus-head strong {
  font-size: var(--fs-body);
  font-weight: 650;
}

.focus-head span {
  color: var(--muted);
  font-size: var(--fs-small);
}

.hero-focus ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-focus li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

.hero-focus li:last-child {
  border-bottom: 0;
}

.hero-focus li > span {
  color: var(--blue-light);
  font-size: var(--fs-small);
  font-weight: 700;
}

.hero-focus strong {
  display: block;
  margin-bottom: 3px;
  font-size: var(--fs-body);
  font-weight: 620;
}

.hero-focus p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-small);
}

/* ---------- Facts strip ---------- */

.facts {
  color: #fff;
  background: var(--blue);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.facts-grid > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-height: 100px;
  padding: 22px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.facts-grid > div:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.facts-grid strong {
  font-size: var(--fs-stat);
  font-weight: 650;
}

.facts-grid span {
  color: #cbd9e6;
  font-size: var(--fs-small);
}

/* ---------- Section heading ---------- */

.section-title > p {
  margin-bottom: 14px;
  color: var(--blue-light);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.section-title h2 {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 650;
  line-height: 1.4;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.65fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 48px;
}

.section-heading > p {
  margin: 0;
  color: var(--text);
  font-size: var(--fs-body);
}

.section-heading-light .section-title > p {
  color: #6ec4d4;
}

.section-heading-light > p {
  color: #bccbd8;
}

/* ---------- Home section teasers ---------- */

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.teaser-grid > article {
  padding: 32px 28px;
  background: #fff;
}

.teaser-grid h3 {
  margin-bottom: 10px;
  font-size: var(--fs-h3);
  font-weight: 650;
}

.teaser-grid p {
  margin-bottom: 16px;
  color: var(--text);
  font-size: var(--fs-small);
}

.teaser-link {
  color: var(--blue);
  font-size: var(--fs-small);
  font-weight: 650;
  border-bottom: 1px solid var(--blue);
}

.teaser-link:hover {
  color: var(--blue-light);
  border-bottom-color: var(--blue-light);
}

/* ---------- Intro / about ---------- */

.intro-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  align-items: center;
  gap: 40px 48px;
}

.lead {
  color: var(--text);
  font-size: var(--fs-lead);
  line-height: 1.8;
}

.intro-content .lead {
  margin-bottom: 22px;
  color: var(--ink);
}

.intro-content > p:not(.lead) {
  color: var(--text);
  font-size: var(--fs-body);
}

.intro-values {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: var(--line);
  list-style: none;
}

.intro-values li {
  min-height: 130px;
  padding: 22px;
  background: #fff;
}

.intro-values strong,
.intro-values span {
  display: block;
}

.intro-values strong {
  margin-bottom: 12px;
  font-size: var(--fs-body);
  font-weight: 650;
}

.intro-values span {
  color: var(--muted);
  font-size: var(--fs-small);
}

.intro-image {
  position: relative;
  margin: 0;
}

.intro-image img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: var(--fs-small);
}

/* ---------- Research ---------- */

.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.research-grid article {
  padding: 36px;
  background: #fff;
}

.research-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 26px;
  color: var(--blue);
  background: var(--soft);
  border: 1px solid var(--line);
}

.research-icon svg {
  width: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.research-grid h3 {
  margin-bottom: 12px;
  font-size: var(--fs-h3);
  font-weight: 650;
}

.research-grid article > p {
  max-width: 480px;
  color: var(--text);
}

.research-grid ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.research-grid li {
  position: relative;
  padding-left: 12px;
  color: var(--muted);
  font-size: var(--fs-small);
}

.research-grid li::before {
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--blue-light);
  content: "";
}

/* ---------- System / process ---------- */

.system-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 70px;
}

.system-copy > p {
  margin: 26px 0;
  color: var(--text);
  font-size: var(--fs-body);
}

.process {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.process span {
  color: var(--blue-light);
  font-size: var(--fs-small);
  font-weight: 700;
}

.process strong {
  font-size: var(--fs-small);
  font-weight: 600;
}

.system-figure {
  max-width: 520px;
  margin: 0 0 0 auto;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.system-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---------- Achievements ---------- */

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.achievement-card {
  min-width: 0;
  padding: 28px 26px;
  background: #fff;
}

.achievement-cert {
  display: block;
  width: 64px;
  margin-bottom: 22px;
}

.achievement-cert img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 128 / 173;
  object-fit: cover;
  border: 1px solid var(--line);
}

.achievement-cert span {
  display: block;
  margin-top: 8px;
  color: var(--blue-light);
  font-size: var(--fs-label);
  font-weight: 650;
}

.achievement-card h3 {
  overflow: hidden;
  margin-bottom: 10px;
  font-size: var(--fs-h3);
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.achievement-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: var(--fs-label);
}

.achievement-meta span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.achievement-meta strong {
  color: var(--blue-light);
  font-weight: 650;
}

.achievement-card > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--text);
  font-size: var(--fs-small);
  line-height: 1.6;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.cert-lightbox {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background: rgba(8, 20, 38, 0.86);
}

.cert-lightbox.is-open {
  display: flex;
}

.cert-lightbox-frame {
  position: relative;
  max-width: min(560px, 90vw);
  margin: 0;
  text-align: center;
}

.cert-lightbox-frame img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cert-lightbox-frame figcaption {
  margin-top: 14px;
  color: #fff;
  font-size: var(--fs-small);
}

.cert-lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 36px;
  height: 36px;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.cert-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

body.lightbox-open {
  overflow: hidden;
}

/* ---------- Projects ---------- */

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-grid article {
  background: #fff;
  border: 1px solid var(--line);
}

.case-grid figure {
  aspect-ratio: 16 / 9;
  margin-bottom: 0;
  overflow: hidden;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.case-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-grid > article > div {
  padding: 30px 32px;
}

.project-type {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-light);
  font-size: var(--fs-label);
  font-weight: 700;
}

.case-grid h3 {
  margin-bottom: 14px;
  font-size: var(--fs-h3);
  font-weight: 650;
  line-height: 1.4;
}

.case-features {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.case-features li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 8px;
  color: var(--text);
  font-size: var(--fs-small);
  line-height: 1.7;
}

.case-features li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--blue-light);
  content: "";
}

.case-highlight {
  margin: 16px 0 0;
  padding: 12px 14px;
  background: var(--soft);
  color: var(--text);
  font-size: var(--fs-small);
}

.case-highlight strong {
  color: var(--blue);
  font-weight: 650;
}

/* ---------- Team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.team-grid article {
  min-height: 300px;
  padding: 28px 26px;
  background: #fff;
}

.member-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  color: var(--blue);
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: var(--fs-h3);
  font-weight: 650;
}

.team-grid h3 {
  margin-bottom: 4px;
  font-size: var(--fs-h3);
  font-weight: 650;
}

.member-role {
  margin-bottom: 16px;
  color: var(--blue-light);
  font-size: var(--fs-small);
  font-weight: 620;
}

.team-grid article > p:last-child {
  margin-bottom: 0;
  color: var(--text);
  font-size: var(--fs-small);
}

.team-capabilities {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.team-capabilities strong {
  margin-right: 10px;
  font-weight: 650;
}

.team-capabilities span {
  padding: 5px 12px;
  color: var(--text);
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: var(--fs-label);
}

/* ---------- Info table ---------- */

.info-table {
  margin: 0;
  border-top: 1px solid var(--line);
}

.info-table > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info-table dt {
  color: var(--muted);
}

.info-table dd {
  margin: 0;
}

/* ---------- Recruit ---------- */

.job-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.job-card {
  padding: 30px 32px;
  background: #fff;
}

.job-card h3 {
  margin-bottom: 10px;
  font-size: var(--fs-h3);
  font-weight: 650;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.job-tags span {
  padding: 4px 11px;
  border: 1px solid var(--line);
  color: var(--blue-light);
  font-size: var(--fs-label);
  font-weight: 650;
}

.job-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 20px;
}

.job-columns h4 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 650;
}

.job-columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.job-columns li {
  position: relative;
  padding: 0 0 8px 14px;
  color: var(--text);
  font-size: var(--fs-small);
  line-height: 1.7;
}

.job-columns li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--blue-light);
  content: "";
}

.apply-link {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--blue);
  color: var(--blue);
  font-size: var(--fs-small);
  font-weight: 650;
}

.apply-link:hover {
  color: var(--blue-light);
  border-bottom-color: var(--blue-light);
}

/* ---------- Form ---------- */

.form-card {
  max-width: 720px;
  padding: 34px 38px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  background: #fff;
}

.form-row {
  margin-bottom: 22px;
}

.form-row label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 650;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: var(--fs-body);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue-light);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 32px;
  border: 1px solid var(--blue);
  color: #fff;
  background: var(--blue);
  font-size: var(--fs-body);
  font-weight: 650;
  cursor: pointer;
}

.form-submit:hover {
  background: var(--blue-light);
}

.form-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: var(--fs-label);
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  background: var(--soft);
  color: var(--text);
  font-size: var(--fs-small);
}

.form-success.is-visible {
  display: block;
}

/* ---------- Contact ---------- */

.contact {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  align-items: start;
  gap: 24px;
}

.contact-card {
  padding: 32px 34px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  background: #fff;
}

.contact-email {
  display: inline-block;
  margin-top: 16px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--blue);
  color: var(--blue);
  font-size: var(--fs-h3);
  font-weight: 650;
}

.contact-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.qrcode-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.qrcode {
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.qrcode img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qrcode-card figcaption {
  margin: 12px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: var(--fs-label);
}

/* ---------- Scope / business list ---------- */

.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.scope-card {
  padding: 30px 32px;
  border: 1px solid var(--line);
  background: #fff;
}

.scope-card h3 {
  margin-bottom: 14px;
  font-size: var(--fs-h3);
  font-weight: 650;
}

.scope-card p {
  margin: 0;
  color: var(--text);
  font-size: var(--fs-small);
  line-height: 1.85;
}

.business-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.business-list li {
  position: relative;
  padding: 9px 0 9px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: var(--fs-small);
}

.business-list li:last-child {
  border-bottom: 0;
}

.business-list li::before {
  position: absolute;
  top: 1.15em;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--blue-light);
  content: "";
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 50px 0 24px;
  color: #fff;
  background: #07182e;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  width: 210px;
}

.footer-brand img {
  width: 100%;
  height: auto;
}

.footer-statement {
  text-align: right;
}

.footer-statement strong {
  font-size: var(--fs-body);
  font-weight: 650;
}

.footer-statement p {
  margin: 6px 0 0;
  color: #8da0b2;
  font-size: var(--fs-small);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #8194a6;
  font-size: var(--fs-label);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) and (min-width: 821px) {
  .site-nav a:nth-child(5),
  .site-nav a:nth-child(6),
  .site-nav a:nth-child(7) {
    display: none;
  }
}

@media (max-width: 1080px) {
  :root {
    --fs-h1: clamp(30px, 4vw, 40px);
    --fs-h1-sub: clamp(26px, 3.4vw, 32px);
    --fs-h2: clamp(23px, 3vw, 29px);
    --fs-stat: 25px;
    --fs-h3: 18px;
    --fs-lead: 16px;
    --fs-body: 15.5px;
    --fs-small: 13.5px;
    --fs-label: 12.5px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: calc(var(--header-height) + 48px) 0 56px;
  }

  .page-hero {
    padding: calc(var(--header-height) + 38px) 0 38px;
  }

  .site-nav {
    gap: 18px;
  }

  .hero-layout {
    gap: 40px;
  }
  .section-heading {
    gap: 36px;
  }

  .facts-grid > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    padding: 20px 22px;
  }

  .page-hero-stats {
    gap: 24px;
  }

  .teaser-grid > article {
    padding: 26px 22px;
  }

  .intro-grid {
    gap: 32px 36px;
  }

  .intro-values li {
    min-height: 110px;
    padding: 18px;
  }

  .research-grid article {
    padding: 28px;
  }

  .research-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
  }

  .system-grid {
    gap: 44px;
  }

  .system-figure {
    padding: 14px;
  }

  .team-grid,
  .achievement-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid article {
    min-height: 260px;
    padding: 24px 20px;
  }

  .achievement-card {
    padding: 24px 20px;
  }

  .achievement-cert {
    width: 56px;
  }

  .team-capabilities {
    padding: 18px 20px;
  }

  .case-grid {
    gap: 20px;
  }

  .case-grid > article > div {
    padding: 26px 24px;
  }

  .job-card {
    padding: 26px 24px;
  }

  .form-card {
    padding: 28px 30px;
  }

  .contact-card,
  .scope-card {
    padding: 26px 28px;
  }

  .qrcode {
    width: 200px;
  }

  .footer-brand {
    width: 190px;
  }

  .site-footer {
    padding: 40px 0 20px;
  }

  .footer-bottom {
    margin-top: 32px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 72px;
    --fs-h1: clamp(26px, 6.5vw, 33px);
    --fs-h1-sub: clamp(23px, 6vw, 27px);
    --fs-h2: clamp(20px, 5.5vw, 24px);
    --fs-stat: 22px;
    --fs-h3: 16.5px;
    --fs-lead: 15px;
    --fs-body: 15px;
    --fs-small: 13px;
    --fs-label: 12px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 52px 0;
  }

  .page-hero {
    padding: calc(var(--header-height) + 24px) 0 24px;
  }

  .page-hero-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .page-hero-text {
    flex: none;
    width: 100%;
  }

  .page-hero-stats {
    flex: none;
    width: 100%;
    gap: 18px;
    padding-left: 0;
    border-left: 0;
  }

  .brand {
    width: 160px;
    font-size: 26px;
  }

  .nav-toggle {
    position: relative;
    z-index: 102;
    display: block;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-of-type(2) {
    transform: translateY(4.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] > span:nth-of-type(3) {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    padding: 84px 30px 36px;
    color: #fff;
    background: var(--navy);
    visibility: hidden;
    opacity: 0;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 16px;
  }

  .site-nav .nav-cta {
    margin-top: 16px;
    padding: 13px 18px;
    color: var(--navy);
    text-align: center;
    background: #fff;
    border: 0;
    font-size: 15px;
  }

  .nav-open .brand,
  .nav-open .brand img {
    position: relative;
    z-index: 102;
    opacity: 0;
  }

  .nav-open .nav-toggle {
    color: #fff;
  }

  .hero {
    padding: calc(var(--header-height) + 32px) 0 36px;
  }
  .hero-layout,
  .section-heading,
  .intro-grid,
  .system-grid,
  .case-grid,
  .contact-grid,
  .teaser-grid {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 28px;
  }

  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  .facts-grid > div {
    min-height: 84px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .section-heading {
    align-items: start;
    gap: 18px;
    margin-bottom: 30px;
  }

  .teaser-grid > article {
    padding: 22px 20px;
  }

  .intro-grid {
    gap: 24px 28px;
  }

  .intro-values li {
    min-height: 96px;
    padding: 16px;
  }

  .research-grid article {
    padding: 22px;
  }

  .research-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
  }

  .research-icon svg {
    width: 24px;
  }

  .system-grid {
    gap: 28px;
  }

  .system-figure {
    padding: 12px;
  }

  .team-grid article {
    min-height: 220px;
    padding: 20px 18px;
  }

  .member-mark {
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
  }

  .achievement-card {
    padding: 20px 18px;
  }

  .achievement-cert {
    width: 52px;
    margin-bottom: 16px;
  }

  .team-capabilities {
    padding: 16px 18px;
  }

  .case-grid {
    gap: 18px;
  }

  .case-grid > article > div {
    padding: 22px 20px;
  }

  .job-card {
    padding: 22px 20px;
  }

  .job-columns {
    gap: 18px;
  }

  .form-card {
    padding: 24px 22px;
  }

  .form-row {
    margin-bottom: 18px;
  }

  .form-row input,
  .form-row select,
  .form-row textarea {
    padding: 11px 12px;
    font-size: 16px;
  }

  .contact-card,
  .scope-card {
    padding: 22px 20px;
  }

  .qrcode {
    width: 170px;
  }

  .qrcode-card {
    padding: 18px;
  }

  .scope-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-brand {
    width: 160px;
  }

  .site-footer {
    padding: 32px 0 18px;
  }

  .footer-bottom {
    margin-top: 26px;
  }
}

@media (max-width: 600px) {
  :root {
    --fs-h1: clamp(24px, 7.5vw, 29px);
    --fs-stat: 20px;
    --fs-h3: 16px;
    --fs-body: 14.5px;
    --fs-small: 12.5px;
    --fs-label: 11.5px;
  }

  .section {
    padding: 40px 0;
  }

  .hero {
    padding: calc(var(--header-height) + 24px) 0 28px;
  }
  .brand {
    width: 138px;
    font-size: 23px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
    min-height: 44px;
  }

  .facts-grid > div {
    padding: 16px 16px;
  }

  .intro-values,
  .research-grid,
  .team-grid,
  .achievement-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .intro-values li {
    min-height: auto;
  }

  .achievement-card {
    padding: 18px 16px;
  }

  .achievement-cert {
    width: 48px;
  }

  .job-card {
    padding: 20px 18px;
  }

  .job-columns {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .info-table > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }

  .case-grid > article > div {
    padding: 18px 16px;
  }

  .contact-card,
  .scope-card,
  .form-card {
    padding: 18px;
  }

  .qrcode {
    width: 130px;
  }

  .footer-main,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .footer-brand {
    width: 140px;
  }

  .footer-statement {
    text-align: left;
  }

  .footer-bottom nav {
    flex-wrap: wrap;
    gap: 14px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
