:root {
  color-scheme: light;
  --ink: #163248;
  --ink-strong: #0d2436;
  --muted: #526b82;
  --paper: #f3f8f9;
  --surface: #ffffff;
  --surface-tint: #eef6f8;
  --line: #d7e5ec;
  --navy: #14394f;
  --teal: #106b64;
  --blue: #2370a7;
  --green: #17846e;
  --orange: #d97921;
  --purple: #7560ad;
  --shadow: 0 18px 44px rgba(22, 50, 72, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
}

img,
canvas {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 68px;
  padding: 0 clamp(18px, 4vw, 52px);
  color: #f8fbfd;
  background: rgba(13, 36, 54, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 15px;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 8px;
}

.nav-links {
  justify-content: center;
  gap: 24px;
  color: rgba(248, 251, 253, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.header-link:hover {
  color: #fff;
}

.header-link {
  min-width: 76px;
  padding: 9px 14px;
  color: #fff;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: calc(100svh - 126px);
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.hero-canvas,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 36, 54, 0.95), rgba(16, 107, 100, 0.78) 56%, rgba(13, 36, 54, 0.32)),
    radial-gradient(circle at 80% 26%, rgba(217, 121, 33, 0.26), transparent 28%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 56px;
  width: min(1420px, calc(100% - 96px));
  min-height: calc(100svh - 126px);
  margin: 0 auto;
  padding: 72px 0 58px;
}

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

.kicker {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 880;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .kicker {
  color: #9ee3df;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 1060px;
  font-size: 62px;
  font-weight: 900;
}

h2 {
  font-size: 38px;
  font-weight: 860;
}

h3 {
  font-size: 23px;
  font-weight: 840;
}

.hero-subtitle {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.45;
}

.hero-lede {
  max-width: 960px;
  margin: 26px 0 0;
  padding: 24px 28px;
  color: #f8fbfd;
  background: linear-gradient(135deg, rgba(20, 57, 79, 0.92), rgba(16, 107, 100, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.65;
}

.hero-actions,
.contact-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--orange);
}

.button.primary:hover {
  background: #b85e13;
}

.button.secondary {
  color: var(--ink-strong);
  background: #fff;
  border-color: var(--line);
}

.button.secondary:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
}

.button.ghost.dark {
  color: var(--ink);
  background: #eef6f8;
  border-color: var(--line);
}

.profile-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-panel img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(22, 50, 72, 0.2);
}

.profile-name {
  margin: 0;
  color: var(--ink-strong);
  font-size: 30px;
  font-weight: 900;
}

.profile-role {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.profile-facts {
  display: grid;
  gap: 14px;
  margin: 0;
}

.profile-facts div {
  display: grid;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.profile-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.profile-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.45;
}

.positioning {
  position: relative;
  z-index: 2;
  width: min(1420px, calc(100% - 96px));
  margin: -34px auto 0;
  padding: 24px 32px;
  color: #fff;
  background: linear-gradient(135deg, #14394f, #126f67);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.positioning p {
  margin: 0;
  font-size: 22px;
  font-weight: 880;
  line-height: 1.55;
}

.section {
  width: min(1420px, calc(100% - 96px));
  margin: 0 auto;
  padding: 90px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 46px;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
}

.section-heading h2 {
  max-width: 850px;
}

.capability-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.capability-card {
  position: relative;
  min-height: 280px;
  padding: 26px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.capability-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -26px;
  width: 22px;
  height: 12px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, #9cafc2 72%, transparent 72%);
  clip-path: polygon(0 24%, 72% 24%, 72% 0, 100% 50%, 72% 100%, 72% 76%, 0 76%);
}

.capability-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 16px;
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
}

.capability-tag.blue {
  background: var(--blue);
}

.capability-tag.green {
  background: var(--green);
}

.capability-tag.orange {
  background: var(--orange);
}

.capability-tag.purple {
  background: var(--purple);
}

.capability-card h3 {
  margin-top: 16px;
}

.capability-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 760;
  line-height: 1.45;
  list-style: none;
}

.workflow-section {
  padding-top: 28px;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 38px;
  margin: 24px 0 0;
  padding: 34px 38px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  list-style: none;
}

.workflow-list li {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 0 16px;
  color: var(--ink);
  background: #f3f8fb;
  border: 1px solid #c9dbe7;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 850;
  text-align: center;
}

.workflow-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -30px;
  width: 26px;
  height: 12px;
  transform: translateY(-50%);
  background: #8ea2b6;
  clip-path: polygon(0 25%, 62% 25%, 62% 0, 100% 50%, 62% 100%, 62% 75%, 0 75%);
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.domain-card {
  min-height: 112px;
  padding: 22px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.domain-card h3 {
  font-size: 20px;
}

.domain-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.domain-card.blue {
  background: #edf7fc;
  border-color: #c8e3f3;
}

.domain-card.green {
  background: #f0f8f4;
  border-color: #cde8d8;
}

.domain-card.orange {
  background: #fff5ea;
  border-color: #f4d9bd;
}

.domain-card.purple {
  background: #f5f1ff;
  border-color: #ddd3f4;
}

.visual-section {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  align-items: center;
  gap: 46px;
  width: 100%;
  max-width: none;
  padding: 88px max(48px, calc((100vw - 1420px) / 2));
  background: #e8f1f2;
}

.visual-copy p:not(.kicker) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.skill-image {
  margin: 0;
}

.skill-image img {
  width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.research-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 34px;
}

.timeline,
.publication-list {
  display: grid;
  gap: 14px;
}

.timeline article,
.publication-card {
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(22, 50, 72, 0.07);
}

.timeline span,
.publication-card span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.timeline h3,
.publication-card h3 {
  margin-top: 9px;
  font-size: 19px;
  line-height: 1.35;
}

.timeline p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.publication-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 850;
  border-bottom: 2px solid rgba(35, 112, 167, 0.24);
}

.publication-card a:hover {
  border-bottom-color: var(--blue);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 72px;
  padding: 62px 70px;
  color: #fff;
  background: linear-gradient(135deg, #14394f, #106b64);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-section .kicker {
  color: #9ee3df;
}

.contact-copy {
  max-width: 840px;
}

.contact-copy p:not(.kicker) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.7;
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(18px, 4vw, 52px) 34px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .hero-inner {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .profile-panel {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .profile-facts {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .capability-flow,
  .domain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-card:not(:last-child)::after {
    display: none;
  }

  .workflow-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .workflow-list li::after {
    display: none;
  }

  .visual-section,
  .research-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 62px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: calc(100svh - 110px);
  }

  .hero-inner,
  .positioning,
  .section {
    width: calc(100% - 32px);
  }

  .hero-inner {
    padding: 42px 0 50px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 29px;
  }

  h3 {
    font-size: 20px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-lede,
  .positioning p {
    padding: 18px;
    font-size: 17px;
  }

  .positioning {
    padding: 0;
  }

  .profile-panel,
  .profile-facts,
  .capability-flow,
  .workflow-list,
  .domain-grid {
    grid-template-columns: 1fr;
  }

  .profile-panel {
    gap: 14px;
  }

  .profile-panel img {
    width: 86px;
    height: 86px;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .capability-card {
    min-height: auto;
    padding: 22px;
  }

  .workflow-section {
    padding-top: 18px;
  }

  .workflow-list {
    padding: 22px;
  }

  .visual-section {
    padding: 64px 16px;
  }

  .contact-section {
    padding: 42px 24px;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 520px) {
  .brand span:last-child {
    display: none;
  }

  .header-link {
    min-width: 68px;
    padding: 8px 10px;
  }

  h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .reveal {
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}
