:root {
  --ink: #0f2544;
  --muted: #5c6f86;
  --line: #d7e4f2;
  --blue: #0f62a8;
  --cyan: #2aa8d8;
  --green: #18a27a;
  --bg: #f6f9fc;
  --card: rgba(255, 255, 255, 0.88);
  --shadow: 0 24px 70px rgba(14, 54, 94, 0.14);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 8%, rgba(42, 168, 216, 0.14), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #ffffff 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  color: white;
  background: var(--blue);
  border-radius: 6px;
}

.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 3px solid rgba(42, 168, 216, 0.72);
  outline-offset: 3px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(215, 228, 242, 0.78);
  backdrop-filter: blur(16px);
}

.brand,
.nav nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 34%, #fff 0 13%, transparent 14%),
    radial-gradient(circle, var(--cyan), var(--blue));
  box-shadow: 0 0 0 6px rgba(42, 168, 216, 0.12);
}

.nav nav a {
  color: var(--muted);
  font-size: 15px;
}

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

.nav-cta {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
}

.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px) 42px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.04;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.lead {
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 30px rgba(15, 98, 168, 0.24);
}

.button.secondary {
  color: var(--blue);
  border: 1px solid var(--line);
  background: white;
}

.hero-visual {
  overflow: hidden;
  border: 1px solid rgba(215, 228, 242, 0.9);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-visual,
.image-panel,
.wide-visual {
  contain: paint;
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(20px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.strip div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
}

.strip strong,
.strip span {
  display: block;
}

.strip strong { margin-bottom: 8px; }
.strip span { color: var(--muted); }

.section {
  padding: clamp(70px, 9vw, 116px) clamp(20px, 5vw, 72px);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.capability-grid,
.application-grid,
.team-grid {
  display: grid;
  gap: 18px;
}

.capability-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 30px;
}

.capability-grid article,
.pub-card,
.application-grid article,
.person {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 12px 36px rgba(14, 54, 94, 0.06);
}

.capability-grid article {
  padding: 22px;
}

.image-panel,
.wide-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.image-panel img,
.wide-visual img {
  width: 100%;
  object-fit: cover;
}

.publication-rail {
  display: grid;
  grid-auto-columns: minmax(320px, 390px);
  grid-auto-flow: column;
  gap: 18px;
  margin-right: calc(clamp(20px, 5vw, 72px) * -1);
  padding: 4px clamp(20px, 5vw, 72px) 18px 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.pub-card {
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 160ms ease, border-color 160ms ease;
}

.pub-card:hover {
  transform: translateY(-3px);
  border-color: rgba(42, 168, 216, 0.52);
}

.pub-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 14px;
  background: #f3f7fb;
  border-bottom: 1px solid var(--line);
}

.pub-card span {
  display: inline-block;
  margin: 20px 22px 14px;
  padding: 6px 10px;
  color: #a9342d;
  font-size: 13px;
  font-weight: 800;
  background: #fff1ef;
  border-radius: 999px;
}

.pub-card h3,
.pub-card p {
  margin-left: 22px;
  margin-right: 22px;
}

.pub-card p {
  margin-bottom: 24px;
}

.application-grid {
  grid-template-columns: repeat(3, 1fr);
}

.application-grid article {
  min-height: 250px;
  padding: 28px;
}

.num {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: white;
  font-weight: 800;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.wide-visual {
  margin-top: 24px;
}

.team-section {
  margin-top: 30px;
}

.team-section > h3 {
  margin-bottom: 14px;
  color: var(--blue);
}

.team-grid {
  grid-template-columns: repeat(3, 1fr);
}

.team-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.team-grid.small {
  grid-template-columns: repeat(3, 1fr);
}

.person {
  overflow: hidden;
}

.person img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  object-position: center;
  padding: 8px;
  background: linear-gradient(180deg, #eef4fa, #f8fbfe);
}

.person h3,
.person p,
.person ul {
  margin-left: 18px;
  margin-right: 18px;
}

.person h3 {
  margin-top: 16px;
  font-size: 19px;
}

.person p {
  margin-bottom: 14px;
}

.person .role {
  color: var(--blue);
  font-weight: 700;
  line-height: 1.5;
}

.person ul {
  margin-top: 0;
  margin-bottom: 18px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.person.featured {
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: center;
  max-width: 980px;
}

.person.featured img {
  height: auto;
}

.person.detail {
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: start;
  padding: 16px;
}

.person.detail img {
  grid-row: 1 / span 3;
  border-radius: 8px;
  padding: 6px;
}

.person.detail h3,
.person.detail p,
.person.detail ul {
  grid-column: 2;
  margin-left: 18px;
  margin-right: 0;
}

.team-icon {
  grid-row: 1 / span 3;
  display: flex;
  width: 132px;
  aspect-ratio: 1 / 1;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 50px;
  font-weight: 900;
  border-radius: 8px;
  background: linear-gradient(180deg, #eef4fa, #f8fbfe);
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 clamp(20px, 5vw, 72px) 70px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 86% 20%, rgba(42, 168, 216, 0.14), transparent 18rem),
    white;
  box-shadow: var(--shadow);
}

.contact p {
  max-width: 780px;
  margin-bottom: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav nav {
    flex-wrap: wrap;
  }

  .hero,
  .two-col {
    grid-template-columns: 1fr;
  }

  .strip,
  .application-grid,
  .team-grid,
  .team-grid.two,
  .team-grid.small {
    grid-template-columns: 1fr;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .person.featured {
    grid-template-columns: 1fr;
  }

  .person.detail {
    grid-template-columns: 110px 1fr;
  }

  .team-icon {
    width: 110px;
  }

  .contact,
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .nav nav a {
    font-size: 14px;
  }

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .strip,
  .contact {
    margin-left: 16px;
    margin-right: 16px;
  }

  .publication-rail {
    grid-auto-columns: minmax(280px, 86vw);
  }

  .person.detail {
    grid-template-columns: 96px 1fr;
    padding: 12px;
  }

  .team-icon { width: 96px; }

  .person.detail h3,
  .person.detail p,
  .person.detail ul {
    margin-left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
