:root {
  --bg: #f7fbff;
  --surface: rgba(255, 255, 255, 0.82);
  --text: #0d1b4c;
  --muted: #5f6c85;
  --line: rgba(64, 99, 154, 0.16);
  --blue: #246bfe;
  --indigo: #6047ff;
  --teal: #09a7a0;
  --purple: #7c3ff2;
  --shadow: 0 18px 45px rgba(31, 56, 111, 0.12);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(52, 128, 255, 0.10), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(116, 75, 255, 0.09), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 55%, #ffffff 100%);
}

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

.page { width: min(1320px, 92vw); margin: 0 auto; }

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  min-height: 520px;
  gap: 56px;
  padding: 54px 0 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  color: #315af5;
  background: rgba(49, 90, 245, .09);
  font-weight: 800;
  margin-bottom: 20px;
}

h1 {
  margin: 0;
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.08em;
  background: linear-gradient(100deg, #06154f 5%, #315af5 82%);
  -webkit-background-clip: text;
  color: transparent;
}

.headline {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.32;
  letter-spacing: -0.045em;
  font-weight: 850;
  margin: 24px 0 14px;
  max-width: 620px;
}

.summary {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  max-width: 560px;
  margin: 0;
}

.hero-art {
  border-radius: 34px;
  overflow: hidden;
  background: rgba(255,255,255,.52);
  filter: drop-shadow(0 18px 50px rgba(36, 107, 254, .10));
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
}

.projects { padding: 28px 0 18px; }
.section-heading { margin: 18px 0 24px; }
.section-heading p {
  color: var(--blue);
  font-weight: 900;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
}
.section-heading h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 70px rgba(31, 56, 111, .18);
  border-color: rgba(36, 107, 254, .32);
}
.project-card h3 {
  margin: auto 0 8px;
  font-size: 27px;
  letter-spacing: -0.05em;
  line-height: 1.2;
}
.project-card .url {
  margin: 0 0 18px;
  font-weight: 900;
}
.project-card .desc {
  margin: 0;
  padding-top: 18px;
  padding-right: 58px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.65;
}
.patent h3, .patent .url { color: #008b84; }
.apt h3, .apt .url { color: #075cc4; }
.lab h3, .lab .url { color: #7432db; }
.arrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 26px;
  background: rgba(255,255,255,.74);
}

.project-visual {
  position: relative;
  height: 170px;
  margin-bottom: 20px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,.75), rgba(255,255,255,.30));
}
.icon {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 12px 26px rgba(31, 56, 111, .10);
}

.paper {
  position: absolute;
  left: 92px;
  top: 42px;
  width: 106px;
  height: 92px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(245,251,255,.85));
  color: #1b2e63;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: .05em;
  transform: rotate(-11deg);
}
.glass {
  position: absolute;
  left: 94px;
  top: 84px;
  width: 74px;
  height: 74px;
  border: 8px solid rgba(9,167,160,.55);
  border-radius: 50%;
}
.glass::after {
  content: "";
  position: absolute;
  width: 54px;
  height: 10px;
  border-radius: 999px;
  background: rgba(9,167,160,.65);
  right: -36px;
  bottom: 4px;
  transform: rotate(32deg);
}
.nodes i {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #10bcb5;
  border-radius: 50%;
}
.nodes i:nth-child(1) { top: 54px; right: 84px; }
.nodes i:nth-child(2) { top: 92px; right: 124px; }
.nodes i:nth-child(3) { top: 106px; right: 60px; }
.nodes i:nth-child(4) { top: 42px; right: 26px; }
.nodes::before,
.nodes::after {
  content: "";
  position: absolute;
  right: 76px;
  top: 66px;
  width: 110px;
  height: 1px;
  background: rgba(16,188,181,.42);
  transform: rotate(-12deg);
}
.nodes::after {
  width: 88px;
  top: 103px;
  right: 66px;
  transform: rotate(23deg);
}

.building {
  position: absolute;
  bottom: 24px;
  width: 58px;
  border-radius: 10px 10px 6px 6px;
  background: linear-gradient(180deg, #53a9ff, #1766db);
  box-shadow: 0 18px 28px rgba(36,107,254,.18);
}
.b1 { left: 102px; height: 84px; }
.b2 { left: 168px; height: 112px; }
.b3 { left: 236px; height: 92px; }
.building::after {
  content: "";
  position: absolute;
  inset: 12px 12px auto;
  height: calc(100% - 24px);
  background: repeating-linear-gradient(
    180deg,
    rgba(255,255,255,.82) 0 5px,
    transparent 5px 12px
  );
}
.map-pin {
  position: absolute;
  width: 18px;
  height: 18px;
  background: rgba(36,107,254,.18);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.map-pin::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #2d7cff;
}
.p1 { top: 44px; right: 56px; }
.p2 { top: 72px; right: 116px; }

.robot {
  position: absolute;
  top: 68px;
  left: 154px;
  width: 86px;
  height: 56px;
  border-radius: 28px;
  background: linear-gradient(135deg, #ffffff, rgba(182, 151, 255, .42));
  box-shadow: 0 12px 28px rgba(124,63,242,.20);
}
.robot::before,
.robot::after {
  content: "";
  position: absolute;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0c2679;
}
.robot::before { left: 24px; }
.robot::after { right: 24px; }
.robot span {
  position: absolute;
  width: 18px;
  height: 4px;
  border-radius: 999px;
  background: rgba(124,63,242,.7);
  left: 34px;
  top: -10px;
}
.code {
  position: absolute;
  right: 32px;
  top: 92px;
  padding: 10px 16px;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, #a26cff, #6f49ff);
  font-weight: 900;
}
.flask {
  position: absolute;
  left: 76px;
  top: 54px;
  width: 56px;
  height: 86px;
}
.flask::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  width: 12px;
  height: 28px;
  background: #9964ff;
  border-radius: 8px 8px 0 0;
}
.flask::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 18px;
  width: 40px;
  height: 58px;
  border: 6px solid #9964ff;
  border-top: none;
  border-radius: 0 0 20px 20px;
}

.footer {
  width: min(1320px, 92vw);
  margin: 42px auto 28px;
  padding-top: 10px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: #5b6782;
  font-size: 15px;
}
.footer p { margin: 0; }
.footer-left { justify-self: start; }
.footer-center { justify-self: center; }
.footer-right { justify-self: end; text-align: right; }
.footer-right a { color: inherit; }

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 34px;
  }
  .project-grid { grid-template-columns: 1fr; }
  .footer {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-left,
  .footer-center,
  .footer-right {
    justify-self: center;
    text-align: center;
  }
}
