:root {
  --ink: #0b1523;
  --night: #07111f;
  --night-2: #0d1d2d;
  --paper: #f5f3ed;
  --white: #ffffff;
  --muted: #667182;
  --line: rgba(10, 25, 42, .14);
  --blue: #4ec7ff;
  --green: #84f0ba;
  --lime: #d6f06d;
  --accent: #44d7a2;
  --font-sans: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: .75rem 1rem;
  color: var(--night);
  background: var(--lime);
  border-radius: .4rem;
}
.skip-link:focus { top: 1rem; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 128px 0; }
.section-dark { color: var(--white); background: var(--night); }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  padding: 0 max(32px, calc((100vw - 1320px) / 2));
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: background .35s, height .35s, box-shadow .35s;
}
.site-header.scrolled {
  height: 68px;
  color: var(--ink);
  background: rgba(245,243,237,.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgba(7,17,31,.08);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; letter-spacing: .04em; }
.brand > span:last-child { display: flex; flex-direction: column; }
.brand strong { font-size: 15px; font-weight: 800; line-height: 1.15; }
.brand small { margin-top: 4px; font-size: 8px; letter-spacing: .22em; opacity: .66; }
.brand-mark { position: relative; display: block; width: 34px; height: 34px; }
.brand-mark i { position: absolute; display: block; border-radius: 50%; }
.brand-mark i:nth-child(1) { width: 22px; height: 22px; top: 1px; left: 1px; border: 2px solid var(--green); }
.brand-mark i:nth-child(2) { width: 17px; height: 17px; right: 0; bottom: 1px; background: var(--blue); mix-blend-mode: screen; }
.brand-mark i:nth-child(3) { width: 8px; height: 8px; right: 4px; top: 2px; background: var(--lime); }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 600; }
.main-nav a { position: relative; padding: 10px 0; }
.main-nav a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width .25s;
}
.main-nav a:hover::after { width: 100%; }
.nav-contact { padding: 10px 18px !important; border: 1px solid currentColor; border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: none; }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 80% 28%, rgba(68,215,162,.19), transparent 26%),
    radial-gradient(circle at 60% 72%, rgba(78,199,255,.11), transparent 33%),
    linear-gradient(135deg, #06101c 0%, #091a2a 52%, #0a2231 100%);
}
.hero::before {
  content: "";
  position: absolute;
  width: 52vw;
  height: 52vw;
  right: -20vw;
  bottom: -28vw;
  border: 1px solid rgba(214,240,109,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 9vw rgba(255,255,255,.012), 0 0 0 18vw rgba(255,255,255,.008);
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, #000, transparent 72%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .85; }
.hero-content { position: relative; z-index: 2; padding: 140px 0 72px; }
.eyebrow { color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .25em; }
.hero h1 { max-width: 900px; margin: 28px 0 30px; font-size: clamp(48px, 7.3vw, 102px); font-weight: 800; line-height: 1.02; letter-spacing: -.06em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px rgba(255,255,255,.68); }
.hero-lead { max-width: 700px; margin: 0; color: rgba(255,255,255,.72); font-size: clamp(16px, 1.6vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 50px; padding: 0 24px; border-radius: 3px; font-size: 13px; font-weight: 700; transition: transform .25s, background .25s, color .25s; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--night); background: var(--lime); }
.button-ghost { color: #fff; border: 1px solid rgba(255,255,255,.36); }
.button-light { color: var(--night); background: #fff; }
.hero-facts { display: flex; gap: clamp(30px, 6vw, 90px); margin-top: 76px; }
.hero-facts div { display: flex; align-items: baseline; gap: 12px; }
.hero-facts strong { font-size: 28px; font-weight: 700; }
.hero-facts span { color: rgba(255,255,255,.48); font-size: 11px; letter-spacing: .08em; }
.scroll-cue { position: absolute; right: 36px; bottom: 32px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.4); font-size: 8px; letter-spacing: .22em; transform: rotate(90deg); transform-origin: right bottom; }
.scroll-cue span { width: 44px; height: 1px; background: rgba(255,255,255,.35); }

.section-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; color: #5f6d77; font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.section-kicker span { color: var(--ink); }
.section-kicker.light { color: rgba(255,255,255,.52); }
.section-kicker.light span { color: var(--green); }
.section-title { margin: 0; font-size: clamp(38px, 5vw, 68px); font-weight: 800; line-height: 1.12; letter-spacing: -.05em; }
.section-head { margin-bottom: 62px; }
.section-head > p { max-width: 620px; margin: 22px 0 0; color: var(--muted); font-size: 16px; }
.section-dark .section-head > p { color: rgba(255,255,255,.58); }
.section-head.split { display: grid; grid-template-columns: 1.45fr .55fr; align-items: end; gap: 48px; }
.section-head.split > p { margin: 0 0 4px; }

.intro-layout { display: grid; grid-template-columns: .34fr 1fr; gap: 64px; }
.intro-copy .section-title { max-width: 850px; }
.intro-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; max-width: 900px; margin-top: 48px; color: #56616d; }
.intro-columns p { margin: 0; }

.research { position: relative; overflow: hidden; }
.research::after { content: "R&D"; position: absolute; right: -20px; top: 35px; color: rgba(255,255,255,.025); font-size: 240px; font-weight: 900; letter-spacing: -.08em; }
.research-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.14); border-left: 1px solid rgba(255,255,255,.14); }
.research-card { min-height: 380px; padding: 34px; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); transition: background .3s, transform .3s; }
.research-card:hover { background: rgba(255,255,255,.045); }
.research-index { color: rgba(255,255,255,.36); font-size: 10px; letter-spacing: .15em; }
.research-icon { width: 68px; height: 68px; margin: 50px 0 34px; color: var(--green); }
.research-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; }
.research-card h3 { margin: 0 0 14px; font-size: 25px; }
.research-card p { max-width: 460px; margin: 0; color: rgba(255,255,255,.58); }
.research-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.research-tags span { padding: 5px 10px; color: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; font-size: 9px; letter-spacing: .06em; }

.people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.person-card { display: grid; grid-template-columns: .9fr 1.15fr; overflow: hidden; background: #fff; border: 1px solid rgba(11,21,35,.08); }
.person-photo { position: relative; min-height: 470px; overflow: hidden; background: #dfe5e3; }
.person-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(transparent, rgba(7,17,31,.65)); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.03); transition: transform .55s, filter .55s; }
.person-card:hover .person-photo img { transform: scale(1.025); filter: saturate(1); }
.person-photo > span { position: absolute; z-index: 1; left: 20px; bottom: 18px; color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.person-info { display: flex; flex-direction: column; padding: 34px 30px; }
.person-role { color: #71808c; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.person-info h3 { margin: 20px 0 5px; font-size: 31px; line-height: 1.2; }
.person-info h3 small { display: block; margin-top: 6px; color: #8b959e; font-size: 10px; font-weight: 600; letter-spacing: .1em; }
.person-title { margin: 0 0 24px !important; color: var(--ink) !important; font-size: 13px !important; font-weight: 700; }
.person-info p { margin: 0; color: #626d77; font-size: 13px; }
.person-links { display: flex; flex-direction: column; gap: 9px; margin-top: auto; padding-top: 28px; font-size: 11px; font-weight: 700; }
.person-links a:last-child { color: #67757f; }
.person-links a:hover { color: #098d6a; }
.source-note { margin: 18px 0 0; color: #85909a; font-size: 10px; }

.publications { background: #fff; }
.publication-list { border-top: 1px solid var(--line); }
.publication { display: grid; grid-template-columns: 90px 1fr 32px; align-items: center; gap: 22px; min-height: 104px; border-bottom: 1px solid var(--line); transition: background .25s, padding .25s; }
.publication:hover { padding: 0 14px; background: #f5f8f6; }
.pub-year { color: #67737e; font-size: 11px; font-weight: 700; }
.pub-main { display: flex; flex-direction: column; gap: 8px; }
.pub-main strong { font-size: 15px; line-height: 1.42; }
.pub-main small { color: #77828c; font-size: 10px; letter-spacing: .06em; }
.pub-arrow { color: #779188; font-size: 20px; transition: transform .25s; }
.publication:hover .pub-arrow { transform: translate(3px, -3px); }

.contact { color: #fff; background: #0c765e; }
.contact-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 100px; align-items: center; }
.contact-copy h2 { margin: 0; font-size: clamp(42px, 5.4vw, 72px); line-height: 1.1; letter-spacing: -.05em; }
.contact-copy > p { max-width: 620px; margin: 30px 0 34px; color: rgba(255,255,255,.72); }
.contact-panel { border-top: 1px solid rgba(255,255,255,.3); }
.contact-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 12px; padding: 23px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.contact-row > span { grid-row: span 2; color: rgba(255,255,255,.53); font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.contact-row strong { font-size: 14px; }
.contact-row a, .contact-row p { margin: 0; color: rgba(255,255,255,.7); font-size: 11px; }

.site-footer { padding: 54px 0; color: rgba(255,255,255,.8); background: var(--night); }
.footer-layout { display: grid; grid-template-columns: 1.25fr 1fr auto; align-items: center; gap: 32px; }
.footer-brand small { max-width: 330px; }
.footer-links { display: flex; flex-direction: column; gap: 7px; font-size: 10px; }
.site-footer p { margin: 0; color: rgba(255,255,255,.38); font-size: 9px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-header { height: 70px; padding: 0 24px; }
  .menu-toggle { position: relative; z-index: 2; display: block; width: 38px; height: 38px; color: inherit; }
  .menu-toggle span { position: absolute; left: 7px; width: 24px; height: 1px; background: currentColor; transition: transform .25s, top .25s; }
  .menu-toggle span:first-child { top: 14px; }
  .menu-toggle span:last-child { top: 23px; }
  .menu-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 15px; padding: 90px 10vw; color: #fff; background: rgba(7,17,31,.98); transform: translateY(-105%); transition: transform .35s ease; }
  .main-nav.open { transform: none; }
  .main-nav a { font-size: 25px; }
  .nav-contact { margin-top: 14px; font-size: 14px !important; }
  .intro-layout { grid-template-columns: 1fr; gap: 28px; }
  .section-head.split { grid-template-columns: 1fr; gap: 24px; }
  .people-grid { grid-template-columns: 1fr; }
  .person-card { grid-template-columns: .75fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 64px; }
  .footer-layout { grid-template-columns: 1fr 1fr; }
  .site-footer p { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 32px, 1180px); }
  .section { padding: 90px 0; }
  .hero { min-height: 820px; }
  .hero-content { padding-top: 130px; }
  .hero h1 { font-size: clamp(46px, 14vw, 66px); }
  .hero-lead { font-size: 15px; }
  .hero-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 58px; }
  .hero-facts div { align-items: flex-start; flex-direction: column; gap: 1px; }
  .hero-facts strong { font-size: 23px; }
  .scroll-cue { display: none; }
  .intro-columns { grid-template-columns: 1fr; gap: 18px; margin-top: 34px; }
  .research-grid { grid-template-columns: 1fr; }
  .research-card { min-height: 340px; padding: 27px 23px; }
  .research-icon { margin: 38px 0 26px; }
  .person-card { grid-template-columns: 1fr; }
  .person-photo { min-height: 390px; }
  .person-info { min-height: 370px; }
  .publication { grid-template-columns: 48px 1fr 20px; gap: 12px; padding: 20px 0; }
  .publication:hover { padding: 20px 8px; }
  .pub-main strong { font-size: 13px; }
  .contact-row { grid-template-columns: 1fr; }
  .contact-row > span { grid-row: auto; }
  .footer-layout { grid-template-columns: 1fr; }
  .site-footer p { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
